SvarDOS / edrdos

Enhanced DR-DOS kernel and command interpreter ported to JWasm and OpenWatcom C
http://svardos.org/
Other
40 stars 4 forks source link

re-implement COMPBDOS #8

Closed boeckmann closed 10 months ago

boeckmann commented 10 months ago

complete as of 9a5db03.

ecm-pushbx commented 10 months ago

Any idea why using my round utility decreased the drdos.sys file size with the original compbdos? I understand that you do not add a trailing copyright message but that doesn't explain why round was needed.

(By the way, round probably should be used when building country.sys.)

boeckmann commented 10 months ago

Perhaps because the memory otherwise could contain garbage in the unused part of the last 128 byte block, encoding to a longer sequence than if it was filled with zero? For the last of your sentence I make a new issue to investigate.

boeckmann commented 10 months ago

The last zero-encoded bytes of DRDOS.SYS with the original COMPBDOS and ROUND are 0x26 zeroes. With my new tool its 0x1e zeroes. So if the last 0x26-0x1e bytes, instead of zero are garbage, the file will become larger.

ecm-pushbx commented 10 months ago

(By the way, round probably should be used when building country.sys.)

For the last of your sentence I make a new issue to investigate.

Links:

https://github.com/SvarDOS/edrdos/issues/37

https://github.com/SvarDOS/edrdos/issues/36