Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ===========================================================================
- ; ---------------------------------------------------------------------------
- ; Main Menu - Load Cues
- ; ---------------------------------------------------------------------------
- ; HEADER: Number of cues
- ; FORMAT: Data Type, Arguments (see below)
- ; ---------------------------------------------------------------------------
- ; DATA TYPES:
- ;
- ; #0 RAW DATA
- ; - Length, Offset, Destination/dmavram
- ; #2 1BPP TILES
- ; - Offset, Destination/dcvram, Pixel Mask/<<28, Size/*8-1
- ; #4 COMPRESSED MAPPINGS
- ; - Offset, Destination/dcvram, Row Factor
- ; #6 RAW MAPPINGS
- ; - Offset, Destination/dcvram, Width-1, Height-1
- ;
- ; ---------------------------------------------------------------------------
- Menu_LoadCues dc.w 9 ; number of items
- ; ===== Graphics ==================================================
- dc.w 2 ; 1bpp Menu BG
- dc.l Menu_BG ; - offset
- dcvram $27A0 ; - destination
- dc.l 1<<28 ; - pixel mask
- dc.w $8-1 ; - size
- dc.w 0 ; 4bpp 'Game Select' patterns
- dc.w $400 ; - length
- dc.l Menu_GameSelect ; - offset
- dmavram $2800 ; - destination
- dc.w 0 ; 4bpp Game Titles patterns
- dc.w $1E0 ; - length
- dc.l Menu_GameTitles ; - offset
- dmavram $2C00 ; - destination
- dc.w 0 ; 4bpp Menu Button Icons
- dc.w $40 ; - length
- dc.l Menu_Buttons ; - offset
- dmavram $2DE0 ; - destination
- dc.w 2 ; 1bpp Menu 'Play' label
- dc.l Menu_Controls ; - offset
- dcvram $2E20 ; - destination
- dc.l $D<<28 ; - pixel mask
- dc.w 3*8-1 ; - size
- dc.w 2 ; 1bpp Menu 'Credits' label
- dc.l Menu_Controls+8*3 ; - offset
- dcvram $2E80 ; - destination
- dc.l $F<<28 ; - pixel mask
- dc.w 6*8-1 ; - size
- dc.w 2 ; 1bpp Debug Numbers *
- dc.l DebugNumbers ; - offset
- dcvram $25A0 ; - destination
- dc.l 4<<28 ; - pixel mask
- dc.w $10*8-1 ; - size
- ; ===== Mappings ==================================================
- dc.w 4 ; Compressed 'Game Select' maps
- dc.l Map_GameSelect ; - offset
- dcvram $A410 ; - destination
- dc.w $100 ; - row factor
- dc.w 4 ; Compressed 'Sonic the hedgehog' maps
- dc.l Map_S1Title ; - offset
- dcvram $B508 ; - destination
- dc.w $100 ; - row factor
- dc.w 4 ; Compressed Controls maps
- dc.l Map_Controls ; - offset
- dcvram $B918 ; - destination
- dc.w $100 ; - row factor
Add Comment
Please, Sign In to add comment