E. C. Masloch
E. C. Masloch
The memory layout of lDOS upon transfer from drkernpl to msbio currently looks like: ``` 00000h at 0 KiB IVT 00400h at 1 KiB BDA 00500h at 1.25 KiB largely...
> According to the FreeDOS FAT12 volume boot code, this by itself depends on more than 128K of RAM: https://github.com/FDOS/kernel/blob/5de2eb1aa01b0129b046cf06338453a233c6597b/boot/boot.asm#L32 Yes, the FreeDOS loaders unconditionally relocate first thing. lDOS loaders...
> PS. [@ecm-pushbx](https://github.com/ecm-pushbx) - what's the meaning of the "l" in lDOS, ldebug, etc.? You can read it as "lyn's" as in Evelyn (the "e" in "ecm"), if you like!...
> Squeezing the EDR kernel into 128K might be possible, but as there are some other components involved that had to be adjusted for this (at least the VBR), I...
Also, the lDOS boot loaders can be built with `-D_COMPAT_FREEDOS` to imitate the FreeDOS load protocol. They'll still use int 12h to determine the memory size rather than use the...
> Unfortunately you have to disable some of the other build options to produce a FreeDOS-compatible lDOS boot loader. This is because of the size of the loader not fitting...
> [@ecm-pushbx](https://github.com/ecm-pushbx), can I download latest lDOS flavour of EDR-DOS somewhere? https://pushbx.org/ecm/download/edrdos.zip - the kernel files are in the bin subdirectory. All of them are single-file kernels, that is you...
Oh, I forgot that you want to load the SvarDOS flavour kernel at 00700h to avoid the relocation needed otherwise (when loading at 00600h). Unfortunately, just building instsect's loaders with...
After `start:` you should also insert `mov dl, bl` in the wrapper I posted in my last comment. EDR-DOS load expects the load unit in DL, but FreeDOS load may...
> [@ecm-pushbx](https://github.com/ecm-pushbx), following [your instructions](https://github.com/SvarDOS/edrdos/issues/136#issuecomment-2687546192) I got a bootable image with uncompressed kernel and FreeDOS loader - result is 58K:  > > Boots at 176K. At 128K almost gets...