Overlay swopping and segment macros (Announce)
> > Here linkers indeed might be unique but the hack is horrible ... the
> > overlay swapping overhead (XMS, EMS, disk) eats away cca 99% of the
> space
> > save achieved ... for a representative example, just check GV EDIT
> > (bloated, and 64 KiB limit)
>
> Let us both continue to believe what we want to believe!
I'm currently writing some simple swapping code (for RxCMD). It does its thing in about 2 KiB, where 256 byte are reserved for the swap method specific code (XMS, HMA, temp. file, %COMSPEC% file). This leaves at least 60 KiB in the same segment which could be swapped in and out if used for overlay management. (So, yes, I agree to Japheth.)
> > > So code similar to this one:
> > > mov ax,TEXT("string 1")
> > > mov bx,TEXT("string 2")
> > > where the macro TEXT will ensure that the strings are written into
> > their
> > > very own segment, cannot be done equally easily in FASM in "MZ-EXE"
> > mode.
> >
> > Maybe true, but I don't see any huge benefit
>
> Just wait and let grow your experience in assembly. Then, in a couple of
> years we might talk about this topic again.
Well, it makes many things easier, but I didn't yet get a case where I couldn't avoid it. (If you use OMF object file output it works with NASM multiline macros I think. Not sure about multi-section binary output.)
---
l
Complete thread:
- JWasm v1.8pre - Japheth, 17.06.2008, 11:04 (Announce)
- JWasm v1.8pre | killing MA$M now ??? - DOS386, 18.06.2008, 12:23
- JWasm v1.8pre | killing good MASM now ??? - Japheth, 18.06.2008, 14:34
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - ecm, 18.06.2008, 16:58
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Japheth, 18.06.2008, 19:17
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Rugxulo, 18.06.2008, 19:38
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Rugxulo, 19.06.2008, 23:43
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - ecm, 20.06.2008, 12:58
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Rugxulo, 19.06.2008, 23:43
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - ecm, 18.06.2008, 19:46
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Japheth, 18.06.2008, 19:55
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Rugxulo, 18.06.2008, 19:38
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - Japheth, 18.06.2008, 19:17
- JWasm v1.8pre | killing good MASM now ??? - DOS386, 19.06.2008, 08:33
- JWasm v1.8pre | killing good MASM now ??? - Japheth, 19.06.2008, 10:02
- rxdos + jwasm - Japheth, 20.06.2008, 07:47
- JWasm v1.8pre | WLINK | PO | M | VALX - DOS386, 20.06.2008, 09:33
- JWasm v1.8pre | killing good MASM now ??? - Japheth, 19.06.2008, 10:02
- JWasm v1.8pre | killing good MASM now ??? | Compiling RxDOS - ecm, 18.06.2008, 16:58
- JWasm v1.8pre | killing good MASM now ??? - Japheth, 18.06.2008, 14:34
- JWasm v1.8pre - Rugxulo, 07.08.2008, 07:09
- JWasm v1.9 available - Japheth, 07.08.2008, 10:04
- JWasm v1.8pre - Rugxulo, 20.08.2008, 22:29
- JWasm v1.8pre - rr, 21.08.2008, 14:37
- JWasm v1.8pre - Rugxulo, 21.08.2008, 22:04
- JWasm v1.8pre - rr, 21.08.2008, 22:36
- JWasm v1.8pre - Rugxulo, 21.08.2008, 22:04
- JWasm v1.8pre - rr, 21.08.2008, 14:37
- JWasm Forum - Japheth, 14.08.2008, 16:41
- JWasm Forum - Rugxulo, 17.08.2008, 00:25
- JWasm v1.91 - Japheth, 20.08.2008, 07:02
- JWasm v1.91 - DOS386, 20.08.2008, 07:52
- JWasm v1.91 - Japheth, 20.08.2008, 10:33
- JWasm v1.91 - DOS386, 20.08.2008, 07:52
- JWasm v1.92 is out - Japheth, 23.09.2008, 09:48
- JWasm v1.92 is out - DOS386, 23.09.2008, 16:06
- JWasm v1.92 is out - Japheth, 24.09.2008, 14:03
- JWasm v1.92 is out - Steve, 24.09.2008, 23:44
- JWasm v1.92 is out | fixed old bug | added new bug - DOS386, 25.09.2008, 15:55
- JWasm v1.92 is out | fixed old bug | added new bug - Japheth, 25.09.2008, 17:21
- JWasm v1.92 is out | many bugs found - DOS386, 04.10.2008, 04:39
- JWasm v1.92 is out | many bugs found - Japheth, 04.10.2008, 08:53
- JWasm v1.92 is out | many bugs found - Rugxulo, 04.10.2008, 20:28
- JWasm v1.92 is out | many bugs found - DOS386, 05.10.2008, 13:47
- JWasm v1.92 is out | many bugs found - Japheth, 04.10.2008, 08:53
- JWasm v1.92 is out | many bugs found - DOS386, 04.10.2008, 04:39
- JWasm v1.92 is out | fixed old bug | added new bug - Japheth, 25.09.2008, 17:21
- JWasm v1.92 is out - Japheth, 24.09.2008, 14:03
- JWasm v1.92 is out - DOS386, 23.09.2008, 16:06
- JWasm v1.93 is out - Japheth, 26.10.2008, 20:06
- JWasm v1.93 is out - DOS386, 29.10.2008, 09:46
- JWasm v1.93 is out - Japheth, 29.10.2008, 13:59
- JWasm v1.93 is out - ecm, 29.10.2008, 19:59
- WARNING: your answers made me dangerously smart :-D - DOS386, 11.11.2008, 15:02
- WARNING: your answers made me dangerously smart :-D - Japheth, 07.12.2008, 15:04
- minor bug: REP CMPSB - Rugxulo, 07.12.2008, 20:28
- minor bug: REP CMPSB - Japheth, 07.12.2008, 22:37
- minor bug: REP CMPSB - Rugxulo, 07.12.2008, 20:28
- WARNING: your answers made me dangerously smart :-D - Japheth, 07.12.2008, 15:04
- JWasm v1.93 is out - Japheth, 29.10.2008, 13:59
- JWasm v1.93 is out - DOS386, 29.10.2008, 09:46
- JWasm v1.94 - Japheth, 19.12.2008, 18:19
- JWasm v1.94a and b - Japheth, 21.12.2008, 15:05
- JWasm v1.94a and b - Rugxulo, 23.12.2008, 07:13
- JWasm v1.94a, b and c - Japheth, 24.12.2008, 12:50
- JWasm v1.94a, b and c and 1.95 pre - DOS386, 29.12.2008, 01:27
- Reason isn't easy to find ... - Japheth, 29.12.2008, 08:31
- JWasm and FASM are more robust than others - Rugxulo, 29.12.2008, 23:28
- FASM is inferior for DOS programming - Japheth, 30.12.2008, 08:10
- FASM can't understand OMF ".OBJ" files - Rugxulo, 30.12.2008, 20:14
- FASM can't understand OMF ".OBJ" files - Japheth, 01.01.2009, 19:33
- FASM can't understand OMF ".OBJ" files - Rugxulo, 02.01.2009, 04:45
- FASM can't brew (!) OMF ".OBJ" files OBJCONV port it away - DOS386, 02.01.2009, 10:39
- FASM can't brew (!) OMF ".OBJ" files OBJCONV port it away - Japheth, 02.01.2009, 11:14
- I like the bin format - ecm, 02.01.2009, 19:00
- FASM lacks OMF/OBJ support (16- / 32-bit) - Rugxulo, 02.01.2009, 19:59
- FASM lacks OMF/OBJ support (16- / 32-bit) - ecm, 02.01.2009, 22:36
- FASM lacks OMF/OBJ support (16- / 32-bit) - DOS386, 04.01.2009, 11:17
- FASM lacks OMF/OBJ support (16- / 32-bit) - Rugxulo, 04.01.2009, 21:26
- FASM lacks OMF/OBJ support (16- / 32-bit) - DOS386, 04.01.2009, 11:17
- FASM lacks OMF/OBJ support (16- / 32-bit) - ecm, 02.01.2009, 22:36
- FASM lacks OMF/OBJ support (16- / 32-bit) - Rugxulo, 02.01.2009, 19:59
- I like the bin format - ecm, 02.01.2009, 19:00
- FASM can't brew (!) OMF ".OBJ" files OBJCONV port it away - Japheth, 02.01.2009, 11:14
- FASM can't understand OMF ".OBJ" files - Japheth, 01.01.2009, 19:33
- FASM is superior for DOS programming - DOS386, 30.12.2008, 22:40
- FASM can't understand OMF ".OBJ" files - Rugxulo, 30.12.2008, 20:14
- FASM is inferior for DOS programming - Japheth, 30.12.2008, 08:10
- JWasm and FASM are more robust than others - Rugxulo, 29.12.2008, 23:28
- Reason isn't easy to find ... - Japheth, 29.12.2008, 08:31
- JWasm v1.94a, b and c and 1.95 pre - DOS386, 29.12.2008, 01:27
- JWasm v1.94a, b and c - Japheth, 24.12.2008, 12:50
- JWasm v1.94a and b - Rugxulo, 23.12.2008, 07:13
- JWasm v1.94a and b - Japheth, 21.12.2008, 15:05
- JWasm BANNED - DOS386, 22.03.2009, 05:10
- JWasm v1.8pre | killing MA$M now ??? - DOS386, 18.06.2008, 12:23