Data |
Prev: CC00 | Up: Map | Next: D400 |
Used by the routine at 8684.
The first 512 bytes are the attributes that define the layout of the cavern.
|
||||||||||||
D000 | DEFB $16,$00,$00,$16,$00,$00,$00,$00 | Attributes | ||||||||||
D008 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D010 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D018 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D020 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D028 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D030 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D038 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D040 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D048 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D050 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D058 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D060 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D068 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D070 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D078 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D080 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D088 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D090 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D098 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D0A0 | DEFB $16,$06,$06,$06,$06,$00,$00,$06 | |||||||||||
D0A8 | DEFB $06,$06,$00,$00,$06,$06,$06,$06 | |||||||||||
D0B0 | DEFB $06,$06,$06,$06,$00,$00,$06,$06 | |||||||||||
D0B8 | DEFB $06,$00,$00,$06,$06,$00,$00,$16 | |||||||||||
D0C0 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0C8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0D0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0D8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D0E0 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0E8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0F0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D0F8 | DEFB $00,$00,$00,$00,$00,$06,$06,$16 | |||||||||||
D100 | DEFB $16,$00,$00,$06,$06,$00,$00,$06 | |||||||||||
D108 | DEFB $06,$06,$00,$00,$04,$04,$04,$04 | |||||||||||
D110 | DEFB $04,$04,$04,$04,$00,$00,$00,$00 | |||||||||||
D118 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D120 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D128 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D130 | DEFB $00,$00,$00,$00,$00,$00,$06,$06 | |||||||||||
D138 | DEFB $06,$00,$00,$06,$06,$00,$00,$16 | |||||||||||
D140 | DEFB $16,$06,$06,$00,$00,$00,$00,$00 | |||||||||||
D148 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D150 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D158 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D160 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D168 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D170 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D178 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D180 | DEFB $16,$00,$00,$06,$06,$00,$00,$06 | |||||||||||
D188 | DEFB $06,$06,$00,$00,$06,$06,$06,$06 | |||||||||||
D190 | DEFB $06,$06,$06,$06,$00,$00,$06,$06 | |||||||||||
D198 | DEFB $06,$00,$00,$06,$06,$00,$00,$16 | |||||||||||
D1A0 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1A8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1B0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1B8 | DEFB $00,$00,$00,$00,$00,$06,$06,$16 | |||||||||||
D1C0 | DEFB $16,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1C8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1D0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
D1D8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
D1E0 | DEFB $16,$06,$06,$06,$06,$06,$06,$06 | |||||||||||
D1E8 | DEFB $06,$06,$06,$06,$06,$06,$06,$06 | |||||||||||
D1F0 | DEFB $06,$06,$06,$06,$06,$06,$06,$06 | |||||||||||
D1F8 | DEFB $06,$06,$06,$06,$06,$06,$06,$16 | |||||||||||
The next 32 bytes are copied to 8000 and specify the cavern name.
|
||||||||||||
D200 | DEFM " Wacky Amoebatrons " | 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.
|
||||||||||||
D220 | DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 | Background | ||||||||||
D229 | DEFB $06,$FF,$FF,$DB,$6E,$C5,$40,$00,$00 | Floor | ||||||||||
D232 | DEFB $42,$FF,$DB,$A5,$24,$52,$20,$08,$00 | Crumbling floor (unused) | ||||||||||
D23B | DEFB $16,$5A,$5A,$5A,$5A,$5A,$5A,$5A,$5A | Wall | ||||||||||
D244 | DEFB $04,$F0,$66,$F0,$66,$00,$00,$00,$00 | Conveyor | ||||||||||
D24D | DEFB $44,$44,$28,$94,$51,$35,$D6,$58,$10 | Nasty 1 (unused) | ||||||||||
D256 | DEFB $05,$7E,$3C,$1C,$18,$18,$08,$08,$08 | Nasty 2 (unused) | ||||||||||
D25F | 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.
|
||||||||||||
D268 | DEFB $D0 | Pixel y-coordinate * 2 (see 8068) | ||||||||||
D269 | DEFB $00 | Animation frame (see 8069) | ||||||||||
D26A | DEFB $00 | Direction and movement flags: facing right (see 806A) | ||||||||||
D26B | DEFB $00 | Airborne status indicator (see 806B) | ||||||||||
D26C | DEFW $5DA1 | Location in the attribute buffer at 5C00: (13,1) (see 806C) | ||||||||||
D26E | 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.
|
||||||||||||
D26F | DEFB $01 | Direction (right) | ||||||||||
D270 | DEFW $780C | Location in the screen buffer at 7000: (8,12) | ||||||||||
D272 | DEFB $08 | Length | ||||||||||
The next byte is copied to 8073 and specifies the border colour.
|
||||||||||||
D273 | DEFB $01 | Border colour | ||||||||||
The next byte is copied to 8074, but is not used.
|
||||||||||||
D274 | DEFB $00 | Unused | ||||||||||
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
|
||||||||||||
D275 | DEFB $03 | Item 1 at (1,16) | ||||||||||
D276 | DEFW $5C30 | |||||||||||
D278 | DEFB $60 | |||||||||||
D279 | DEFB $FF | |||||||||||
D27A | DEFB $FF,$FF,$FF,$FF,$FF | Item 2 (unused) | ||||||||||
D27F | DEFB $00,$FF,$FF,$FF,$FF | Item 3 (unused) | ||||||||||
D284 | DEFB $00,$FF,$FF,$FF,$FF | Item 4 (unused) | ||||||||||
D289 | DEFB $00,$FF,$FF,$FF,$FF | Item 5 (unused) | ||||||||||
D28E | DEFB $FF | Terminator | ||||||||||
The next 37 bytes are copied to 808F and define the portal graphic and its location.
|
||||||||||||
D28F | DEFB $0E | Attribute | ||||||||||
D290 | DEFB $FF,$FF,$80,$01,$81,$81,$82,$41 | Graphic data | ||||||||||
D298 | DEFB $84,$21,$88,$11,$90,$09,$A1,$85 | |||||||||||
D2A0 | DEFB $A1,$85,$90,$09,$88,$11,$84,$21 | |||||||||||
D2A8 | DEFB $82,$41,$81,$81,$80,$01,$FF,$FF | |||||||||||
D2B0 | DEFW $5C01 | Location in the attribute buffer at 5C00: (0,1) | ||||||||||
D2B2 | DEFW $6001 | Location in the screen buffer at 6000: (0,1) | ||||||||||
The next eight bytes are copied to 80B4 and define the item graphic.
|
||||||||||||
D2B4 | 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.
|
||||||||||||
D2BC | DEFB $3F | Air | ||||||||||
The next byte is copied to 80BD and initialises the game clock.
|
||||||||||||
D2BD | DEFB $80 | Game clock | ||||||||||
The next 28 bytes are copied to 80BE and define the horizontal guardians.
|
||||||||||||
D2BE | DEFB $44 | Horizontal guardian 1: y=3, initial x=12, 12<=x<=18, speed=normal | ||||||||||
D2BF | DEFW $5C6C | |||||||||||
D2C1 | DEFB $60 | |||||||||||
D2C2 | DEFB $00 | |||||||||||
D2C3 | DEFB $6C | |||||||||||
D2C4 | DEFB $72 | |||||||||||
D2C5 | DEFB $85 | Horizontal guardian 2: y=10, initial x=16, 12<=x<=18, speed=slow | ||||||||||
D2C6 | DEFW $5D50 | |||||||||||
D2C8 | DEFB $68 | |||||||||||
D2C9 | DEFB $00 | |||||||||||
D2CA | DEFB $4C | |||||||||||
D2CB | DEFB $52 | |||||||||||
D2CC | DEFB $00,$00,$00,$00,$00,$00,$00 | Horizontal guardian 3 (unused) | ||||||||||
D2D3 | DEFB $00,$00,$00,$00,$00,$00,$00 | Horizontal guardian 4 (unused) | ||||||||||
D2DA | DEFB $FF | Terminator | ||||||||||
D2DB | DEFB $00,$00 | Unused | ||||||||||
The next 28 bytes are copied to 80DD and define the vertical guardians.
|
||||||||||||
D2DD | DEFB $43 | Vertical guardian 1: x=5, initial y=8, 5<=y<100, initial y-increment=1 | ||||||||||
D2DE | DEFB $00 | |||||||||||
D2DF | DEFB $08 | |||||||||||
D2E0 | DEFB $05 | |||||||||||
D2E1 | DEFB $01 | |||||||||||
D2E2 | DEFB $05 | |||||||||||
D2E3 | DEFB $64 | |||||||||||
D2E4 | DEFB $04 | Vertical guardian 2: x=10, initial y=8, 5<=y<100, initial y-increment=2 | ||||||||||
D2E5 | DEFB $01 | |||||||||||
D2E6 | DEFB $08 | |||||||||||
D2E7 | DEFB $0A | |||||||||||
D2E8 | DEFB $02 | |||||||||||
D2E9 | DEFB $05 | |||||||||||
D2EA | DEFB $64 | |||||||||||
D2EB | DEFB $05 | Vertical guardian 3: x=20, initial y=8, 5<=y<100, initial y-increment=1 | ||||||||||
D2EC | DEFB $02 | |||||||||||
D2ED | DEFB $08 | |||||||||||
D2EE | DEFB $14 | |||||||||||
D2EF | DEFB $01 | |||||||||||
D2F0 | DEFB $05 | |||||||||||
D2F1 | DEFB $64 | |||||||||||
D2F2 | DEFB $42 | Vertical guardian 4: x=25, initial y=8, 5<=y<100, initial y-increment=2 | ||||||||||
D2F3 | DEFB $03 | |||||||||||
D2F4 | DEFB $08 | |||||||||||
D2F5 | DEFB $19 | |||||||||||
D2F6 | DEFB $02 | |||||||||||
D2F7 | DEFB $05 | |||||||||||
D2F8 | DEFB $64 | |||||||||||
D2F9 | DEFB $FF | Terminator | ||||||||||
The next 6 bytes are unused.
|
||||||||||||
D2FA | DEFB $00,$00,$00,$00,$00,$00 | Unused | ||||||||||
The next 256 bytes are copied to 8100 and define the guardian graphics.
|
||||||||||||
D300 | DEFB $0A,$20,$16,$68,$01,$50,$39,$62 | Guardian graphic data | ||||||||||
D308 | DEFB $65,$CE,$03,$D0,$FF,$EE,$87,$F1 | |||||||||||
D310 | DEFB $77,$E4,$C7,$FF,$8B,$F1,$32,$AC | |||||||||||
D318 | DEFB $64,$A6,$49,$A2,$12,$90,$36,$98 | |||||||||||
D320 | DEFB $00,$00,$05,$20,$03,$40,$31,$74 | |||||||||||
D328 | DEFB $1D,$CC,$03,$D0,$3F,$EC,$07,$F4 | |||||||||||
D330 | DEFB $3F,$E0,$67,$FC,$0B,$F2,$32,$AC | |||||||||||
D338 | DEFB $24,$A4,$0B,$90,$1A,$D8,$00,$C0 | |||||||||||
D340 | DEFB $00,$00,$00,$00,$02,$20,$09,$60 | |||||||||||
D348 | DEFB $05,$C8,$03,$D0,$1F,$E0,$07,$F8 | |||||||||||
D350 | DEFB $1F,$E0,$17,$F8,$0F,$F0,$12,$A8 | |||||||||||
D358 | DEFB $05,$A0,$0A,$B0,$00,$C0,$00,$00 | |||||||||||
D360 | DEFB $00,$00,$05,$20,$03,$40,$31,$74 | |||||||||||
D368 | DEFB $1D,$CC,$03,$D0,$3F,$EC,$07,$F4 | |||||||||||
D370 | DEFB $3F,$E0,$67,$FC,$0B,$F2,$32,$AC | |||||||||||
D378 | DEFB $24,$A4,$0B,$90,$1A,$D8,$00,$C0 | |||||||||||
D380 | DEFB $0C,$00,$0C,$00,$0C,$00,$0C,$00 | |||||||||||
D388 | DEFB $0C,$00,$0C,$00,$0C,$00,$0C,$00 | |||||||||||
D390 | DEFB $0C,$00,$0C,$00,$FF,$C0,$0C,$00 | |||||||||||
D398 | DEFB $61,$80,$D2,$C0,$B3,$40,$61,$80 | |||||||||||
D3A0 | DEFB $03,$00,$03,$00,$03,$00,$03,$00 | |||||||||||
D3A8 | DEFB $03,$00,$03,$00,$03,$00,$03,$00 | |||||||||||
D3B0 | DEFB $03,$00,$03,$00,$3F,$F0,$03,$00 | |||||||||||
D3B8 | DEFB $18,$60,$24,$D0,$3C,$D0,$18,$60 | |||||||||||
D3C0 | DEFB $00,$C0,$00,$C0,$00,$C0,$00,$C0 | |||||||||||
D3C8 | DEFB $00,$C0,$00,$C0,$00,$C0,$00,$C0 | |||||||||||
D3D0 | DEFB $00,$C0,$00,$C0,$0F,$FC,$00,$C0 | |||||||||||
D3D8 | DEFB $06,$18,$0B,$34,$0D,$2C,$06,$18 | |||||||||||
D3E0 | DEFB $00,$30,$00,$30,$00,$30,$00,$30 | |||||||||||
D3E8 | DEFB $00,$30,$00,$30,$00,$30,$00,$30 | |||||||||||
D3F0 | DEFB $00,$30,$00,$30,$03,$FF,$00,$30 | |||||||||||
D3F8 | DEFB $01,$86,$02,$4D,$03,$CD,$01,$86 |
Prev: CC00 | Up: Map | Next: D400 |