maziac / DeZog

Visual Studio Code Debugger for Z80/ZX Spectrum.
MIT License
217 stars 34 forks source link

DZRP 2.0.0: missing port set function to fully support the sna file format #106

Open maziac opened 1 year ago

maziac commented 1 year ago

Currently (DeZog 3.1.0,DZRP2.0.0) loading of a 128k SNA file does not alter the 0x7FFD port at all. Bit 4 in there e.g. selects the used ROM (0 = 128k Editor, 1 = 48k Basic).

As DZRP 2.0.0 lacks the functionality to change a port a new version is required.

This would help loading a 128k SNA file into a real ZXNext or a CSpect emulator.

In MAME loading of 128k SNA is anyway not supported. In zsim setting the port is supported (3.1.1), ie. it works. In zesarux it is already supported as "load" is part of the zx spectrum emulation.

I'm not sure if that bug is so serious that it is worth to do a new release. I would have to update:

Maybe I wait to collect a few issues for DZRP.