Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; How to install this:
  2.  
  3. ; Go to "Cred_ClrPallet:"
  4. ; Replace:
  5. ; "     move.b  #$8A,($FFFFD080).w ; load credits object"
  6. ; with:
  7. ; "     jsr Credits_MapLoad"
  8. ; Now, go to the "end of ROM", and put this above it:
  9.  
  10. ;       include  EniCredProg.asm
  11. ;       even
  12. ;EniCred_0: incbin  credeni\cred0.bin   ; Credits #0 mappings
  13. ;       even
  14. ;EniCred_1: incbin  credeni\cred1.bin   ; Credits #1 mappings
  15. ;       even
  16. ;EniCred_2: incbin  credeni\cred2.bin   ; Credits #2 mappings
  17. ;       even
  18. ;EniCred_3: incbin  credeni\cred3.bin   ; Credits #3 mappings
  19. ;       even
  20. ;EniCred_4: incbin  credeni\cred4.bin   ; Credits #4 mappings
  21. ;       even
  22. ;EniCred_5: incbin  credeni\cred5.bin   ; Credits #5 mappings
  23. ;       even
  24. ;EniCred_6: incbin  credeni\cred6.bin   ; Credits #6 mappings
  25. ;       even
  26. ;EniCred_7: incbin  credeni\cred7.bin   ; Credits #7 mappings
  27. ;       even
  28. ;EniCred_8: incbin  credeni\cred8.bin   ; Credits #8 mappings
  29. ;       even
  30. ;EniCred_9: incbin  credeni\cred9.bin   ; Credits #9 mappings
  31. ;       even
  32.  
  33. ; Then uncomment it
  34.  
  35. Credits_Mappings:
  36.         dc.l    EniCred_0   ; credit id = 0
  37.         dc.l    EniCred_1   ; credit id = 1
  38.         dc.l    EniCred_2   ; credit id = 2
  39.         dc.l    EniCred_3   ; credit id = 3
  40.         dc.l    EniCred_4   ; credit id = 4
  41.         dc.l    EniCred_5   ; credit id = 5
  42.         dc.l    EniCred_6   ; credit id = 6
  43.         dc.l    EniCred_7   ; credit id = 7
  44.         dc.l    EniCred_8   ; credit id = 8
  45.         dc.l    EniCred_9   ; credit id = 9
  46.  
  47. Credits_MapLoad:
  48.         move.w  ($FFFFFFF4).w,d0
  49.         add.w   d0,d0
  50.         add.w   d0,d0
  51.         movea.l Credits_Mappings(pc,d0.w),a0
  52.         lea ($FF0000).l,a1
  53.         moveq   #0,d0       ; location of art in VRAM
  54.         jsr EniDec
  55.         ;lea    ($FF0000).l,a1  ; EniDec doesn't change a1
  56.         move.l  #$40000003,d0
  57.         moveq   #40-1,d1     ; X size = 40
  58.         moveq   #28-1,d2     ; Y size = 28
  59.         jmp ShowVDPGraphics
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement