Closed tsupplis closed 3 years ago
I changed it from
This program requires a Z80 processor.
to
This CP/M program requires a Z80 CPU.
which is one less character.
Maybe the issue I'm seeing is also related to some weird memory side-effect too.
'This CP/M program requires a Z80 CPU.' causes the problem vs the version I had which was 3 character less 'This CP/M program requires a Z80 CPU' without the dot worked. For the time being I just reduced it to 'CP/M program for Z80 CPU.' 😀
Stopping for this morning ... It was a fun night but I am getting flaky 😉 I will spend next week end trying to transform my tests into regressions. I think we need that.
I've just modified the x86 test code for detecting execution under MS-DOS. The ZAS optimisation was changing a JP to a JR instruction. Let me know if this fixes your issue running under zxcc in your branch.
Tony
[thierry@local]zxcc testver.com
CP/M BDOS Version (3.1)
Machine (MCS80/Z80)
BDOS Address (0xFE00)
BIOS Address (0xFF00)
TPA Size (63.2K)
[thierry@local]emu2 testver.com
This CP/M program requires a Z80 CPU.
works perfectly. all tests compiled properly and passed too.
I get a very weird problem with the new message, in one of my test scenarios, the c front end generates garbled content. if I reduce by one character (removing the dot at the end) everything goes fine....
I suppose it is a question of address access but where and how? no clues.
the issue appears when I try to compile:
I get this weird trace
rather than the expected:
No idea whatsoever ....