maziac / DeZog

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

Internal simulator works not as it expected. #124

Closed michael3m closed 7 months ago

michael3m commented 7 months ago

Describe the bug Program writes data into unexpected area.

To Reproduce Just run attached project file in internal simulator.

Expected behavior https://youtu.be/Nb9JCW7X6eg

Screenshots https://youtu.be/3N0D_kScFbc

Version etc. (please complete the following information):

Additional context VSCode project file: https://mega.nz/file/KEtAGZwS#oy_OEoI536vtmbVz8K37JQMa1zNBc4F3kioAD23T9Rw

maziac commented 7 months ago

From what I can see there is a mismatch of the assembled memory model in arrow.asm (ZXSPECTRUM48) and the one used for the simulator (ZX128K). If you change in launch.json to "ZX48K" it starts to work: Bildschirmfoto 2024-02-12 um 15 53 05

I would guess that it is because the wrong ROM is used or maybe a wrong bank.

michael3m commented 7 months ago

Sigh, I should've paid more attention to content of .vscode files, when copy it from one project to another one. Sorry.

maziac commented 7 months ago

No problem.