Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lea YourArt,a0 ; Load your art's address into a0.
- move.l #$40000000,($C00004).l ; Set VDP to VRAM write, to address $0000.
- bsr NemDec ; Decompress from Nemesis; load into VRAM.
- lea YourMaps,a0 ; Load your plane maps address into a0.
- lea ($FF0000).l,a1 ; Load the destination to decompress to.
- move.w #0,d0 ; Set the VRAM address you loaded the art to, divided by $20.
- bsr EniDec ; Decompress from Enigma; load into a1.
- lea ($FF0000).l,a1 ; Load the decompressed mappings.
- move.l #$60000003,d0 ; Set to write to Plane B's nametable (The BG).
- moveq #$3F,d1 ; Set to draw 64 tiles across (depending on your BG size. I'm drawing across the whole plane).
- moveq #$1F,d2 ; Set to draw 32 tiles down ('').
- bsr.w ShowVDPGraphics ; Draw onto the screen (NOTE - If you're using Git, it'll be PlaneMaptoVRAM).
Advertisement
Add Comment
Please, Sign In to add comment