Peekcode or Readcode to read. Pokecode/Peekcode works great with table
because you don't need the address for each byte. But Pokecode can only
be used at program time. You can edit individual bytes during operation
with Writecode. Loading an Image file into the graphic LCD, as an
Code:
To Write:
DISABLE
'Introduction Image File
@ org 12C0h
Pokecode $00,$00,$00,$80,$C0,$E0,$E0,$F0, etc for 80 bytes
Pokecode $07,$3F,$7F,$FF,$F0,$E0,$C0,$C0, etc for 80 bytes
Pokecode $80,$F8,$FE,$FF,$1F,$07,$03,$01, etc for 80 bytes
Pokecode $00,$00,$00,$00,$01,$01,$01,$03, etc for 80 bytes
Etc......
To Read:
StrAddr = $12C0
for j = 0 to 3
CharAddr = StrAddr + (80*j) '80 for the example given
for k = 0 to 79
PeekCode CharAddr+k, x
Shiftout SDA, SCL, 1, [ x ]
next k
next j
Bookmarks