Dandaman955

Sam

Nov 9th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 lea     YourArt,a0               ; Load your art's address into a0.
  2.                 move.l  #$40000000,($C00004).l   ; Set VDP to VRAM write, to address $0000.
  3.                 bsr     NemDec                   ; Decompress from Nemesis; load into VRAM.
  4.                 lea     YourMaps,a0              ; Load your plane maps address into a0.
  5.                 lea     ($FF0000).l,a1           ; Load the destination to decompress to.
  6.                 move.w  #0,d0                    ; Set the VRAM address you loaded the art to, divided by $20.
  7.                 bsr     EniDec                   ; Decompress from Enigma; load into a1.
  8.         lea ($FF0000).l,a1           ; Load the decompressed mappings.
  9.         move.l  #$60000003,d0            ; Set to write to Plane B's nametable (The BG).
  10.         moveq   #$3F,d1                  ; Set to draw 64 tiles across (depending on your BG size. I'm drawing across the whole plane).
  11.         moveq   #$1F,d2                  ; Set to draw 32 tiles down ('').
  12.         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