E. C. Masloch
E. C. Masloch
Oh I can see in your screenshots that it's the lDOS flavour. You don't need a FreeDOS loader for that, just use the lDOS loader.
Current lDOS seems to work fine after I `r word [0:413] = #128` (loaded using lDebug's lDOS loader).
I recently changed it so the initial relocation of SYSINIT + DOSCODE + DOSDATA is done using `movp` so it can overlap source and destination, and it's done by the...
This code seems to be the first problem: https://hg.pushbx.org/ecm/edrdos/file/6c174e5361fb/drbio/biosinit.nas#l245 ``` mov ax,[mem_size] ; get top of memory sub ax,MOVE_DOWN mov [mem_max],ax ; last available paragraph ``` The equate is defined...
https://hg.pushbx.org/ecm/edrdos/file/6c174e5361fb/drbio/biosinit.nas#l270 this seems to corrupt the drdos image already, with that image at A05h:0 length 8FE0h, the `rep movsb` copying from 70h:2080h length 2E40h to 991h:2080h length 2E40h. ``` -h...
Now with a patch: https://pushbx.org/ecm/test/20250330-edrdos-early-low-memory.diff ``` diff --git a/drbio/biosinit.nas b/drbio/biosinit.nas --- a/drbio/biosinit.nas +++ b/drbio/biosinit.nas @@ -260,6 +260,28 @@ jz biosinit30 ; if ROMed we have nothing to relocate mov [rcode_seg],ax...
`mem_max` is decreased in https://hg.pushbx.org/ecm/edrdos/file/6c174e5361fb/drbio/biosinit.nas#l456 for DPBs and in https://hg.pushbx.org/ecm/edrdos/file/6c174e5361fb/drbio/biosinit.nas#l402 for the initial DOS DS (pre-relocation).
You can pass `--disable-dj64` to default-configure. It isn't needed for dosemu2 itself, only fdpp (and comcom?). If you want to run another DOS kernel and shell you don't need it.