Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Large CPM3.SYS bug

100 views
Skip to first unread message

pbetti

unread,
Apr 19, 2019, 6:26:52 AM4/19/19
to
Hello folks. There is a bug in standard CP/M3 loader that prevent loading of large CPM3.SYS files. This happen when you configure many or big drives for the required buffering and CPM3.SYS grow over 32Kb in size.
The bug has been fixed in cpmldr.asm that is downloadble here:
https://github.com/pbetti/ZDS/blob/master/CPM3/mycpm3/cpmldr.asm

Must be said that the loader operates in bank 0, so at some point there must be enough memory in the system to contain cpmldr + hldrbios + loaded cp/m image or the loader overwrites itself.
The best solution could be to implement a loader the relocates itself in bank 1 and then load the system in bank 0 so using really all the available memory.
Will see...

hper...@gmail.com

unread,
Apr 22, 2019, 4:25:01 AM4/22/19
to
On Friday, April 19, 2019 at 12:26:52 PM UTC+2, pbetti wrote:
> Hello folks. There is a bug in standard CP/M3 loader that prevent loading of large CPM3.SYS files. This happen when you configure many or big drives for the required buffering and CPM3.SYS grow over 32Kb in size.
> The bug has been fixed in cpmldr.asm that is downloadble here:
> https://github.com/pbetti/ZDS/blob/master/CPM3/mycpm3/cpmldr.asm

That's a well-known bug that was fixed by the CPMLDR distributed with ZPM3.

hper...@gmail.com

unread,
Apr 22, 2019, 4:28:37 AM4/22/19
to
On Friday, April 19, 2019 at 12:26:52 PM UTC+2, pbetti wrote:
> Must be said that the loader operates in bank 0, so at some point there must be enough memory in the system to contain cpmldr + hldrbios + loaded cp/m image or the loader overwrites itself.
> The best solution could be to implement a loader the relocates itself in bank 1 and then load the system in bank 0 so using really all the available memory.
> Will see...

Another possibility would be to load the system to bank 1 (avoids having to copy the loader), and then use a BIOS that uses the opposite meaning (swaps) for banks 0 and 1.
0 new messages