CODE EXAMPLES
(WARNING: all instructions OUT 227,11xxxxxx must be in ZX ram only -
bit D7 connect DivIDE rom page to low 8kB and code can crash.
- OUT 227,00pppppp - set divide page / allram page + write disable
- OUT 227,01pppppp - set divide page + mapram / allram page + write
enable
- OUT 227,10pppppp - set divide page + active conmem(rom) / disable
allram mode
- OUT 227,11pppppp - change extra features +
disable allram page
Reset port 227 from DivIDE or ALLRAM mode (reset
mapram):
OUT 227,11010000 - disable switch JP2 (open) + set mode 0
OUT 227,11000000 - switch JP2 is disable than this out reset mapram +
set mode 0 + JP2=on
OUT 227,xx000000 - set new value of port 227 (xx can't be 11)
Reset port 227 from ALLRAM mode only (reset
mapram):
OUT 227,11000000 - switch JP2 is disable than this out reset mapram
+ set mode 0 + JP2=on
OUT 227,xx000000 - set new value of port 227 (xx can't be 11)
This is short version of previous code. Function
is same but work only if allram mode is active
|