His 32k pack has RAM mapped in the address range 0x4000 - 0xFFFF. The range 0xC000 - 0xFFFF is a mirror of the first 16K RAM (0x4000 - 0x7FFF with display content out in M1 cycle giving the same as the standard 16k pack).
In the range 0x8000 - 0xBFFF is ROM selected out and replaced by other 16k RAM in read/write cycle (not in M1 cycle in my design).
The datasheet for 32k pack by Pokemon looks similar but he has not spotted a similar issue being mentioned with this.
OK, so what is the error...
You may need to enter POKE 16389,128: NEW, but that does not seem imperative.
Code: Select all
example 1:
10 POKE 32768,0
40 PRINT PEEK 32768
returns 0
example 2:
10 POKE 32768,0
20 FOR A=1 to 1
30 NEXT A
40 PRINT PEEK 32768
returns 211
example 3:
enter the direct commands:
POKE 32768,0
PRINT PEEK 32768
returns 211
example 4:
enter the direct commands:
POKE 32773,0
PRINT PEEK 32773
returns 0
Any ideas?