mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
Credit to Jose Luis for discovering this bug and bringing it to my attention. The fix is a small patch on top of the patches previously applied from Jon Saxton. See the ZPM3 directory in Sources for more information.
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
RESBDOS3.SPR and BNKBDOS3.SPR have been replaced
|
|
with versions from the Jon Saxton disassembly with
|
|
fixes distribution. The file called zpm3fix.txt
|
|
have been included and details the fixes.
|
|
|
|
ZPMLDR has also been updated with the version from
|
|
the Jon Saxton disassembly. However, it has additionally
|
|
been updated to correct an issue that was preventing
|
|
RomWBW from booting under ZPMLDR.
|
|
|
|
ZPMLDR has a slightly modified version of the rdSeq
|
|
procedure (compared to CPMLDR). It appears that this
|
|
causes deblocking to be bypassed on the initial disk
|
|
read of CPM3.SYS. As a result, the entire disk sector
|
|
(512 bytes) is read starting at 0x0080. This winds up
|
|
overlaying 0x180 bytes of the start of ZPMLDR.COM causing
|
|
it to fail catastrophically.
|
|
|
|
According to the documentation at the top of zpm3ldr.z80,
|
|
zpmldr is normally loaded from system tracks to address
|
|
0x0400. In that scenario, the read of the entire sector
|
|
would not overlay the start of the application. So, I
|
|
suspect this is why this (bug?) is not relevant to many
|
|
implementations.
|
|
|
|
The ZPM3LDR.REL file used here has been modified to
|
|
sync the rdSeq procedure back to the DIR CPMLDR version.
|
|
This seems to allow ZPMLDR to work with RomWBW now.
|
|
|
|
--WBW 4:22 PM 12/8/2021
|
|
|
|
Jose Luis reported that attempting to change to a different
|
|
DU by using a named directory was not working correctly.
|
|
It was working with the original ZPM3 distribution, but not
|
|
with the Jon Saxton patches. Refer to the RomWBW Issue
|
|
https://github.com/wwarthen/RomWBW/issues/324. I was able
|
|
to track down the issue and have applied an additional
|
|
patch to correct the Jon Saxton variant.
|
|
|
|
--WBW 8:46 PM 3/12/2023 |