Data |
Prev: C400 | Up: Map | Next: CC00 |
Used by the routine at 8684.
The first 512 bytes are the attributes that define the layout of the cavern.
|
||||||||||||
C800 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | Attributes | ||||||||||
C808 | DEFB $00,$00,$00,$00,$00,$00,$4D,$4D | |||||||||||
C810 | DEFB $4D,$4D,$4D,$4D,$4D,$4D,$4D,$4D | |||||||||||
C818 | DEFB $4D,$4D,$4D,$4D,$4D,$4D,$4D,$4D | |||||||||||
C820 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C828 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C830 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C838 | DEFB $00,$00,$00,$00,$00,$00,$00,$4D | |||||||||||
C840 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C848 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C850 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C858 | DEFB $00,$00,$00,$00,$00,$00,$00,$4D | |||||||||||
C860 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C868 | DEFB $00,$00,$00,$00,$00,$00,$00,$46 | |||||||||||
C870 | DEFB $46,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C878 | DEFB $02,$02,$02,$02,$02,$02,$00,$4D | |||||||||||
C880 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C888 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C890 | DEFB $00,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C898 | DEFB $02,$02,$02,$02,$02,$02,$02,$4D | |||||||||||
C8A0 | DEFB $4D,$00,$00,$00,$00,$00,$00,$04 | |||||||||||
C8A8 | DEFB $04,$04,$04,$04,$00,$00,$46,$46 | |||||||||||
C8B0 | DEFB $46,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C8B8 | DEFB $02,$02,$02,$02,$16,$02,$02,$4D | |||||||||||
C8C0 | DEFB $4D,$46,$46,$46,$00,$00,$00,$00 | |||||||||||
C8C8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C8D0 | DEFB $00,$4D,$02,$02,$00,$02,$02,$02 | |||||||||||
C8D8 | DEFB $02,$02,$02,$02,$02,$02,$02,$4D | |||||||||||
C8E0 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C8E8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C8F0 | DEFB $00,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C8F8 | DEFB $02,$02,$02,$00,$02,$02,$02,$4D | |||||||||||
C900 | DEFB $4D,$46,$00,$00,$00,$00,$00,$00 | |||||||||||
C908 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C910 | DEFB $00,$4D,$02,$02,$02,$02,$02,$16 | |||||||||||
C918 | DEFB $02,$02,$02,$02,$02,$02,$02,$4D | |||||||||||
C920 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C928 | DEFB $00,$00,$00,$00,$00,$00,$46,$46 | |||||||||||
C930 | DEFB $46,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C938 | DEFB $02,$02,$02,$02,$02,$02,$02,$4D | |||||||||||
C940 | DEFB $4D,$46,$46,$46,$46,$46,$46,$46 | |||||||||||
C948 | DEFB $46,$46,$46,$46,$00,$00,$00,$00 | |||||||||||
C950 | DEFB $00,$4D,$02,$00,$02,$02,$02,$02 | |||||||||||
C958 | DEFB $02,$02,$02,$02,$16,$02,$02,$4D | |||||||||||
C960 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C968 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C970 | DEFB $00,$4D,$02,$02,$02,$02,$02,$02 | |||||||||||
C978 | DEFB $02,$02,$02,$02,$02,$02,$00,$4D | |||||||||||
C980 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C988 | DEFB $00,$00,$00,$00,$00,$00,$4D,$4D | |||||||||||
C990 | DEFB $4D,$4D,$02,$02,$02,$02,$02,$16 | |||||||||||
C998 | DEFB $02,$02,$02,$02,$02,$02,$02,$4D | |||||||||||
C9A0 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C9A8 | DEFB $00,$46,$46,$46,$00,$00,$4D,$00 | |||||||||||
C9B0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C9B8 | DEFB $00,$00,$00,$00,$00,$00,$00,$4D | |||||||||||
C9C0 | DEFB $4D,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C9C8 | DEFB $00,$00,$00,$00,$00,$00,$4D,$00 | |||||||||||
C9D0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
C9D8 | DEFB $00,$00,$00,$00,$00,$00,$00,$4D | |||||||||||
C9E0 | DEFB $4D,$46,$46,$46,$46,$46,$46,$46 | |||||||||||
C9E8 | DEFB $46,$46,$46,$46,$46,$46,$4D,$4D | |||||||||||
C9F0 | DEFB $4D,$4D,$4D,$4D,$4D,$4D,$4D,$4D | |||||||||||
C9F8 | DEFB $4D,$4D,$4D,$4D,$4D,$4D,$4D,$4D | |||||||||||
The next 32 bytes are copied to 8000 and specify the cavern name.
|
||||||||||||
CA00 | DEFM " The Vat " | Cavern name | ||||||||||
The next 72 bytes are copied to 8020 and contain the attributes and graphic data for the tiles used to build the cavern.
|
||||||||||||
CA20 | DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 | Background | ||||||||||
CA29 | DEFB $46,$FF,$FF,$DB,$6E,$C5,$40,$00,$00 | Floor | ||||||||||
CA32 | DEFB $02,$FF,$AA,$55,$AA,$55,$AA,$55,$AA | Crumbling floor | ||||||||||
CA3B | DEFB $4D,$22,$FF,$88,$FF,$22,$FF,$88,$FF | Wall | ||||||||||
CA44 | DEFB $04,$F4,$66,$F4,$00,$00,$00,$00,$00 | Conveyor | ||||||||||
CA4D | DEFB $15,$44,$28,$94,$51,$35,$D6,$58,$10 | Nasty 1 (unused) | ||||||||||
CA56 | DEFB $16,$A5,$42,$3C,$DB,$3C,$7E,$A5,$24 | Nasty 2 | ||||||||||
CA5F | DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 | Extra (unused) | ||||||||||
The next seven bytes are copied to 8068-806E and specify Miner Willy's initial location and appearance in the cavern.
|
||||||||||||
CA68 | DEFB $D0 | Pixel y-coordinate * 2 (see 8068) | ||||||||||
CA69 | DEFB $00 | Animation frame (see 8069) | ||||||||||
CA6A | DEFB $00 | Direction and movement flags: facing right (see 806A) | ||||||||||
CA6B | DEFB $00 | Airborne status indicator (see 806B) | ||||||||||
CA6C | DEFW $5DA2 | Location in the attribute buffer at 5C00: (13,2) (see 806C) | ||||||||||
CA6E | DEFB $00 | Jumping animation counter (see 806E) | ||||||||||
The next four bytes are copied to 806F and specify the direction, location and length of the conveyor.
|
||||||||||||
CA6F | DEFB $00 | Direction (left) | ||||||||||
CA70 | DEFW $70A7 | Location in the screen buffer at 7000: (5,7) | ||||||||||
CA72 | DEFB $05 | Length | ||||||||||
The next byte is copied to 8073 and specifies the border colour.
|
||||||||||||
CA73 | DEFB $04 | Border colour | ||||||||||
The next byte is copied to 8074, but is not used.
|
||||||||||||
CA74 | DEFB $00 | Unused | ||||||||||
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
|
||||||||||||
CA75 | DEFB $13 | Item 1 at (3,30) | ||||||||||
CA76 | DEFW $5C7E | |||||||||||
CA78 | DEFB $60 | |||||||||||
CA79 | DEFB $FF | |||||||||||
CA7A | DEFB $14 | Item 2 at (6,20) | ||||||||||
CA7B | DEFW $5CD4 | |||||||||||
CA7D | DEFB $60 | |||||||||||
CA7E | DEFB $FF | |||||||||||
CA7F | DEFB $15 | Item 3 at (7,27) | ||||||||||
CA80 | DEFW $5CFB | |||||||||||
CA82 | DEFB $60 | |||||||||||
CA83 | DEFB $FF | |||||||||||
CA84 | DEFB $16 | Item 4 at (10,19) | ||||||||||
CA85 | DEFW $5D53 | |||||||||||
CA87 | DEFB $68 | |||||||||||
CA88 | DEFB $FF | |||||||||||
CA89 | DEFB $13 | Item 5 at (11,30) | ||||||||||
CA8A | DEFW $5D7E | |||||||||||
CA8C | DEFB $68 | |||||||||||
CA8D | DEFB $FF | |||||||||||
CA8E | DEFB $FF | Terminator | ||||||||||
The next 37 bytes are copied to 808F and define the portal graphic and its location.
|
||||||||||||
CA8F | DEFB $0B | Attribute | ||||||||||
CA90 | DEFB $FF,$FF,$81,$81,$81,$81,$81,$81 | Graphic data | ||||||||||
CA98 | DEFB $81,$81,$81,$81,$81,$81,$FF,$FF | |||||||||||
CAA0 | DEFB $FF,$FF,$81,$81,$81,$81,$81,$81 | |||||||||||
CAA8 | DEFB $81,$81,$81,$81,$81,$81,$FF,$FF | |||||||||||
CAB0 | DEFW $5DAF | Location in the attribute buffer at 5C00: (13,15) | ||||||||||
CAB2 | DEFW $68AF | Location in the screen buffer at 6000: (13,15) | ||||||||||
The next eight bytes are copied to 80B4 and define the item graphic.
|
||||||||||||
CAB4 | DEFB $30,$48,$88,$90,$68,$04,$0A,$04 | Item graphic data | ||||||||||
The next byte is copied to 80BC and specifies the initial air supply in the cavern.
|
||||||||||||
CABC | DEFB $3F | Air | ||||||||||
The next byte is copied to 80BD and initialises the game clock.
|
||||||||||||
CABD | DEFB $80 | Game clock | ||||||||||
The next 28 bytes are copied to 80BE and define the horizontal guardians.
|
||||||||||||
CABE | DEFB $45 | Horizontal guardian 1: y=1, initial x=15, 15<=x<=29, speed=normal | ||||||||||
CABF | DEFW $5C2F | |||||||||||
CAC1 | DEFB $60 | |||||||||||
CAC2 | DEFB $00 | |||||||||||
CAC3 | DEFB $2F | |||||||||||
CAC4 | DEFB $3D | |||||||||||
CAC5 | DEFB $43 | Horizontal guardian 2: y=8, initial x=10, 2<=x<=10, speed=normal | ||||||||||
CAC6 | DEFW $5D0A | |||||||||||
CAC8 | DEFB $68 | |||||||||||
CAC9 | DEFB $07 | |||||||||||
CACA | DEFB $02 | |||||||||||
CACB | DEFB $0A | |||||||||||
CACC | DEFB $06 | Horizontal guardian 3: y=13, initial x=17, 17<=x<=29, speed=normal | ||||||||||
CACD | DEFW $5DB1 | |||||||||||
CACF | DEFB $68 | |||||||||||
CAD0 | DEFB $00 | |||||||||||
CAD1 | DEFB $B1 | |||||||||||
CAD2 | DEFB $BD | |||||||||||
CAD3 | DEFB $FF,$00,$00,$00,$00,$00,$00 | Horizontal guardian 4 (unused) | ||||||||||
CADA | DEFB $FF | Terminator | ||||||||||
CADB | DEFB $00,$00 | Unused | ||||||||||
The next 28 bytes are copied to 80DD and define the vertical guardians.
|
||||||||||||
CADD | DEFB $FF,$00,$00,$00,$00,$00,$00 | Vertical guardian 1 (unused) | ||||||||||
CAE4 | DEFB $00,$00,$00,$00,$00,$00,$00 | Vertical guardian 2 (unused) | ||||||||||
CAEB | DEFB $00,$00,$00,$00,$00,$00,$00 | Vertical guardian 3 (unused) | ||||||||||
CAF2 | DEFB $00,$00,$00,$00,$00,$00,$00 | Vertical guardian 4 (unused) | ||||||||||
The next 7 bytes are unused.
|
||||||||||||
CAF9 | DEFB $00,$00,$00,$00,$00,$00,$00 | Unused | ||||||||||
The next 256 bytes are copied to 8100 and define the guardian graphics.
|
||||||||||||
CB00 | DEFB $18,$00,$1C,$00,$0A,$80,$0F,$80 | Guardian graphic data | ||||||||||
CB08 | DEFB $0C,$00,$1C,$00,$1E,$00,$1D,$00 | |||||||||||
CB10 | DEFB $3C,$00,$3E,$00,$3E,$00,$6E,$00 | |||||||||||
CB18 | DEFB $44,$00,$42,$00,$81,$00,$00,$00 | |||||||||||
CB20 | DEFB $00,$00,$00,$00,$06,$00,$07,$00 | |||||||||||
CB28 | DEFB $02,$A0,$03,$E0,$03,$80,$07,$00 | |||||||||||
CB30 | DEFB $07,$80,$07,$40,$0F,$00,$0F,$80 | |||||||||||
CB38 | DEFB $0F,$80,$1B,$80,$33,$00,$40,$C0 | |||||||||||
CB40 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
CB48 | DEFB $01,$80,$01,$C0,$00,$A8,$00,$F8 | |||||||||||
CB50 | DEFB $00,$E0,$01,$C0,$01,$E0,$01,$D0 | |||||||||||
CB58 | DEFB $03,$C0,$03,$E0,$07,$E0,$3E,$F8 | |||||||||||
CB60 | DEFB $00,$00,$00,$00,$00,$60,$00,$70 | |||||||||||
CB68 | DEFB $00,$2A,$00,$3E,$00,$38,$00,$70 | |||||||||||
CB70 | DEFB $00,$78,$00,$74,$00,$F0,$00,$F8 | |||||||||||
CB78 | DEFB $01,$F8,$01,$B0,$03,$0C,$04,$00 | |||||||||||
CB80 | DEFB $00,$00,$00,$00,$06,$00,$0E,$00 | |||||||||||
CB88 | DEFB $54,$00,$7C,$00,$1C,$00,$0E,$00 | |||||||||||
CB90 | DEFB $1E,$00,$2E,$00,$0F,$00,$1F,$00 | |||||||||||
CB98 | DEFB $1F,$80,$0D,$80,$30,$C0,$00,$20 | |||||||||||
CBA0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
CBA8 | DEFB $01,$80,$03,$80,$15,$00,$1F,$00 | |||||||||||
CBB0 | DEFB $07,$00,$03,$80,$07,$80,$0B,$80 | |||||||||||
CBB8 | DEFB $03,$C0,$07,$C0,$07,$E0,$1F,$7C | |||||||||||
CBC0 | DEFB $00,$00,$00,$00,$00,$60,$00,$E0 | |||||||||||
CBC8 | DEFB $05,$40,$07,$C0,$01,$C0,$00,$E0 | |||||||||||
CBD0 | DEFB $01,$E0,$02,$E0,$00,$F0,$01,$F0 | |||||||||||
CBD8 | DEFB $01,$F0,$01,$D8,$00,$CC,$03,$02 | |||||||||||
CBE0 | DEFB $00,$18,$00,$38,$01,$50,$01,$F0 | |||||||||||
CBE8 | DEFB $00,$30,$00,$38,$00,$78,$00,$B8 | |||||||||||
CBF0 | DEFB $00,$3C,$00,$7C,$00,$7C,$00,$76 | |||||||||||
CBF8 | DEFB $00,$22,$00,$42,$00,$81,$00,$00 |
Prev: C400 | Up: Map | Next: CC00 |