A snapshot which is created in 'device zxspectrum128' mode has broken BASIC channels info (system variables). For example, when printing to chan #2 via RST 16 we actually print to chan #0. You can see this in attached example.
In attached archive:
code.a80 - example of such a code
sysv_bas - clean dump of system variables without TR-DOS vars (#5C00-#5CCA)
sysv_trdos - clean dump of system variables with TR-DOS vars (#5C00-#5D3A)
Also, I propose the idea to make _sysvbas by default in both 48k sna and 128k sna, and to have an option to choose _sysvtrdos or nothing at all.
A snapshot which is created in 'device zxspectrum128' mode has broken BASIC channels info (system variables). For example, when printing to chan
#2
via RST 16 we actually print to chan#0
. You can see this in attached example.In attached archive:
Also, I propose the idea to make _sysvbas by default in both 48k sna and 128k sna, and to have an option to choose _sysvtrdos or nothing at all.
UUencoded archive: