also find this excellent thread started by Melanie
"Making Program Code Space your playground"
also find this excellent thread started by Melanie
"Making Program Code Space your playground"
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Hi yasser,
What precisely are you trying to do? PBP does not use RAM to create lookup tables except for the index & result variables.
Hi and thanks for your replies. I visited above links. I want to save data on program memory space and send them to LEDs byte by bytes. This is a part of my program:
Send:
StrAddr = $370
for j = 0 to 2
CharAddr = StrAddr + (80*j)
for k = 0 to 79
PeekCode CharAddr+k, x
GOSUB DISPLAY
next k
next j
RETURN
Send_Back:
StrAddr = $460
for j = 2 to 0 step -1
CharAddr = StrAddr + (80*j)
for k = 79 to 0 STEP -1
PeekCode CharAddr+k, x
GOSUB DISPLAY
next k
next j
RETURN
'************************************************* ****************
' Introduction of Image *
'************************************************* ****************
@ org 370h
Pokecode $00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$0 1,$01,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00, $00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$0 1,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00, $00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$01,$0 1,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00, $00,$01,$01,$01,$03
Pokecode $00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$0 1,$01,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00, $00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$0 1,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00, $00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$01,$0 1,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00, $00,$01,$01,$01,$03
Pokecode $00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$0 1,$01,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00, $00,$00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$0 1,$01,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00, $00,$00,$01,$01,$01,$03,$00,$00,$00,$00,$01,$01,$0 1,$03,$00,$00,$00,$00,$01,$01,$01,$03,$00,$00,$00, $00,$01,$01,$01,$03
-------------------------------------------
It doesn't work. Why?
Can you tell me about DB usage? How can I use it? I used ASM code (as I said above). Why didn't it work correct?
Thanks alot
Bookmarks