You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SCREEN SCROLL custom instruction shows promise, but we need to load the new data in the screen somehow (reading from resource address does not work)
We could copy the current and the next room to RAM and that way we could copy from RAM to VRAM.
Not sure how to find out unused RAM from basic, or maybe create an array and just use it using POKE?
The text was updated successfully, but these errors were encountered:
This code does it, screen scroll uses the joystick direction, then we add the new line.
FOR I=0 TO 20
SCREEN SCROLL 1
CMD RAMTOVRAM AR+&H20*I, &H1800, &H20
NEXT I
We should delete the last row first to not scroll into the item area, or do some other trick (it will break on side scroll as well)
We might need to write it by hand
12310 FOR I=0 TO 20
12320 FOR J=19 TO 0 STEP -1
12330 FOR K=0 TO 3
12340 T=VPEEK(&H1800+J*32+K):VPOKE &H1800+(J+1)*32+K, T
12350 CMD RAMTOVRAM AR+&H20*I, &H1800, &H20
12360 NEXT K
12370 NEXT J
12380 NEXT I
SCREEN SCROLL custom instruction shows promise, but we need to load the new data in the screen somehow (reading from resource address does not work)
We could copy the current and the next room to RAM and that way we could copy from RAM to VRAM.
Not sure how to find out unused RAM from basic, or maybe create an array and just use it using POKE?
The text was updated successfully, but these errors were encountered: