Date : Mon, 22 Nov 2010 16:22:55 +0000
From : jgh@... (J.G.Harston)
Subject: Extracting / Encoding sprites
J.G.Harston wrote:
> The following BASIC code will copy such a sprite to (nonshadow) screen:
> sprite%=&2000 :REM Location of sprite
> screen%=&3000 :REM Destination in screen
> FOR A%=0 TO 63 STEP 4:screen%!A%=sprite%!A%:NEXT
> FOR A%=0 TO 63 STEP 4:screen%!(A%+640)=sprite%!(A%+64):NEXT
Doh! Or, of course, you could just load the ROM image straight into
screen memory and see if anything looks familiar:
MODE &82:*LOAD MONST-M FFFE3000
16x16 sprites will be split top half and bottom half. I can see what
looks like a running figure, some monsters, some brick walls, and
some blobs and numbers.
BTW, it doesn't look like a ROM image, it looks like plain machine code.
--
J.G.Harston - jgh@...