Re: Possibly hundreds (?) of new games for the MTX
Posted: 30 Dec 2019 12:59
Attached is a bug fix to my implementation of the Z-Machine for MTX CP/M.
Also included is a version (M576ZVM.COM) for machines with an additional 512K of RAM, which can load the entire story file into memory. Note this RAM is accessed directly, any RAM disk will be trashed.
To obtain a measure of relative speed, I counted the number of Z80 instructions needed to get from JP START: to CALL ZXINP The results are:
Initial port: 104,440,799
CPMZVM.COM: 28,074,923
M576ZVM.COM: 21,529,545
So the extra RAM only provides a 25% improvement over my revised virtual memory implementation.
It should be noted that the above results are using MEMU, for which disk sectors are available immediately on request. Real hardware will be worse, but should improve the advantage of the extra RAM version.
None of these versions are fast enough to be enjoyable to play
I don't see any obvious further speed improvements.
Also included is a version (M576ZVM.COM) for machines with an additional 512K of RAM, which can load the entire story file into memory. Note this RAM is accessed directly, any RAM disk will be trashed.
To obtain a measure of relative speed, I counted the number of Z80 instructions needed to get from JP START: to CALL ZXINP The results are:
Initial port: 104,440,799
CPMZVM.COM: 28,074,923
M576ZVM.COM: 21,529,545
So the extra RAM only provides a 25% improvement over my revised virtual memory implementation.
It should be noted that the above results are using MEMU, for which disk sectors are available immediately on request. Real hardware will be worse, but should improve the advantage of the extra RAM version.
None of these versions are fast enough to be enjoyable to play
