Data |
Prev: DC00 | Up: Map | Next: E400 |
Used by the routine at 8684.
The first 512 bytes are the attributes that define the layout of the cavern.
|
||||||||||||
E000 | DEFB $16,$16,$16,$16,$16,$16,$16,$16 | Attributes | ||||||||||
E008 | DEFB $16,$16,$16,$16,$16,$16,$16,$16 | |||||||||||
E010 | DEFB $16,$16,$16,$16,$16,$16,$16,$16 | |||||||||||
E018 | DEFB $16,$16,$16,$16,$16,$16,$16,$16 | |||||||||||
E020 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E028 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E030 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E038 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E040 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E048 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E050 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E058 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E060 | DEFB $16,$00,$00,$06,$00,$00,$00,$05 | |||||||||||
E068 | DEFB $05,$05,$05,$05,$05,$05,$05,$05 | |||||||||||
E070 | DEFB $05,$05,$05,$05,$05,$05,$05,$05 | |||||||||||
E078 | DEFB $05,$00,$00,$05,$05,$05,$05,$16 | |||||||||||
E080 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E088 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E090 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E098 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E0A0 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E0A8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E0B0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E0B8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E0C0 | DEFB $16,$00,$00,$06,$00,$00,$00,$05 | |||||||||||
E0C8 | DEFB $05,$00,$00,$05,$05,$05,$05,$00 | |||||||||||
E0D0 | DEFB $00,$05,$05,$05,$05,$05,$00,$00 | |||||||||||
E0D8 | DEFB $05,$05,$05,$05,$00,$00,$05,$16 | |||||||||||
E0E0 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E0E8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E0F0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E0F8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E100 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E108 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E110 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E118 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E120 | DEFB $16,$00,$00,$06,$00,$00,$00,$05 | |||||||||||
E128 | DEFB $05,$05,$05,$05,$00,$00,$05,$05 | |||||||||||
E130 | DEFB $05,$00,$00,$00,$05,$05,$05,$05 | |||||||||||
E138 | DEFB $05,$00,$00,$05,$05,$05,$05,$16 | |||||||||||
E140 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E148 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E150 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E158 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E160 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E168 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E170 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E178 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E180 | DEFB $16,$00,$00,$06,$00,$00,$00,$05 | |||||||||||
E188 | DEFB $05,$05,$00,$00,$05,$05,$05,$00 | |||||||||||
E190 | DEFB $00,$05,$05,$05,$05,$00,$00,$05 | |||||||||||
E198 | DEFB $05,$05,$05,$00,$00,$05,$05,$16 | |||||||||||
E1A0 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E1A8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E1B0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E1B8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E1C0 | DEFB $16,$00,$00,$06,$00,$00,$00,$00 | |||||||||||
E1C8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E1D0 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E1D8 | DEFB $00,$00,$00,$00,$00,$00,$00,$16 | |||||||||||
E1E0 | DEFB $16,$05,$05,$04,$04,$04,$04,$04 | |||||||||||
E1E8 | DEFB $04,$04,$04,$04,$04,$04,$04,$04 | |||||||||||
E1F0 | DEFB $04,$04,$04,$04,$04,$04,$04,$04 | |||||||||||
E1F8 | DEFB $04,$04,$04,$04,$04,$05,$05,$16 | |||||||||||
The next 32 bytes are copied to 8000 and specify the cavern name.
|
||||||||||||
E200 | DEFM " Ore Refinery " | 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.
|
||||||||||||
E220 | DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 | Background | ||||||||||
E229 | DEFB $05,$FF,$FF,$11,$22,$44,$88,$FF,$FF | Floor | ||||||||||
E232 | DEFB $42,$FF,$DB,$A5,$24,$52,$20,$08,$00 | Crumbling floor (unused) | ||||||||||
E23B | DEFB $16,$5A,$5A,$5A,$5A,$5A,$5A,$5A,$5A | Wall | ||||||||||
E244 | DEFB $04,$F0,$66,$F0,$66,$00,$00,$00,$00 | Conveyor | ||||||||||
E24D | DEFB $44,$44,$28,$94,$51,$35,$D6,$58,$10 | Nasty 1 (unused) | ||||||||||
E256 | DEFB $45,$7E,$3C,$1C,$18,$18,$08,$08,$08 | Nasty 2 (unused) | ||||||||||
E25F | DEFB $06,$FF,$81,$81,$81,$81,$81,$81,$81 | Extra | ||||||||||
The next seven bytes are copied to 8068-806E and specify Miner Willy's initial location and appearance in the cavern.
|
||||||||||||
E268 | DEFB $D0 | Pixel y-coordinate * 2 (see 8068) | ||||||||||
E269 | DEFB $00 | Animation frame (see 8069) | ||||||||||
E26A | DEFB $00 | Direction and movement flags: facing right (see 806A) | ||||||||||
E26B | DEFB $00 | Airborne status indicator (see 806B) | ||||||||||
E26C | DEFW $5DBD | Location in the attribute buffer at 5C00: (13,29) (see 806C) | ||||||||||
E26E | 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.
|
||||||||||||
E26F | DEFB $01 | Direction (right) | ||||||||||
E270 | DEFW $78E3 | Location in the screen buffer at 7000: (15,3) | ||||||||||
E272 | DEFB $1A | Length | ||||||||||
The next byte is copied to 8073 and specifies the border colour.
|
||||||||||||
E273 | DEFB $01 | Border colour | ||||||||||
The next byte is copied to 8074, but is not used.
|
||||||||||||
E274 | DEFB $00 | Unused | ||||||||||
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
|
||||||||||||
E275 | DEFB $03 | Item 1 at (3,26) | ||||||||||
E276 | DEFW $5C7A | |||||||||||
E278 | DEFB $60 | |||||||||||
E279 | DEFB $FF | |||||||||||
E27A | DEFB $04 | Item 2 at (6,10) | ||||||||||
E27B | DEFW $5CCA | |||||||||||
E27D | DEFB $60 | |||||||||||
E27E | DEFB $FF | |||||||||||
E27F | DEFB $05 | Item 3 at (9,19) | ||||||||||
E280 | DEFW $5D33 | |||||||||||
E282 | DEFB $68 | |||||||||||
E283 | DEFB $FF | |||||||||||
E284 | DEFB $06 | Item 4 at (9,26) | ||||||||||
E285 | DEFW $5D3A | |||||||||||
E287 | DEFB $68 | |||||||||||
E288 | DEFB $FF | |||||||||||
E289 | DEFB $03 | Item 5 at (12,11) | ||||||||||
E28A | DEFW $5D8B | |||||||||||
E28C | DEFB $68 | |||||||||||
E28D | DEFB $FF | |||||||||||
E28E | DEFB $FF | Terminator | ||||||||||
The next 37 bytes are copied to 808F and define the portal graphic and its location.
|
||||||||||||
E28F | DEFB $4F | Attribute | ||||||||||
E290 | DEFB $03,$C0,$07,$E0,$0F,$F0,$09,$90 | Graphic data | ||||||||||
E298 | DEFB $09,$90,$07,$E0,$05,$A0,$02,$40 | |||||||||||
E2A0 | DEFB $61,$86,$F8,$1F,$FE,$7F,$05,$E0 | |||||||||||
E2A8 | DEFB $07,$A0,$FE,$7F,$F8,$1F,$60,$06 | |||||||||||
E2B0 | DEFW $5DA1 | Location in the attribute buffer at 5C00: (13,1) | ||||||||||
E2B2 | DEFW $68A1 | Location in the screen buffer at 6000: (13,1) | ||||||||||
The next eight bytes are copied to 80B4 and define the item graphic.
|
||||||||||||
E2B4 | DEFB $18,$6E,$42,$DB,$C9,$62,$7E,$18 | Item graphic data | ||||||||||
The next byte is copied to 80BC and specifies the initial air supply in the cavern.
|
||||||||||||
E2BC | DEFB $3F | Air | ||||||||||
The next byte is copied to 80BD and initialises the game clock.
|
||||||||||||
E2BD | DEFB $FC | Game clock | ||||||||||
The next 28 bytes are copied to 80BE and define the horizontal guardians.
|
||||||||||||
E2BE | DEFB $43 | Horizontal guardian 1: y=1, initial x=7, 7<=x<=29, speed=normal | ||||||||||
E2BF | DEFW $5C27 | |||||||||||
E2C1 | DEFB $60 | |||||||||||
E2C2 | DEFB $00 | |||||||||||
E2C3 | DEFB $27 | |||||||||||
E2C4 | DEFB $3D | |||||||||||
E2C5 | DEFB $C4 | Horizontal guardian 2: y=4, initial x=16, 7<=x<=29, speed=slow | ||||||||||
E2C6 | DEFW $5C90 | |||||||||||
E2C8 | DEFB $60 | |||||||||||
E2C9 | DEFB $00 | |||||||||||
E2CA | DEFB $87 | |||||||||||
E2CB | DEFB $9D | |||||||||||
E2CC | DEFB $46 | Horizontal guardian 3: y=7, initial x=20, 10<=x<=26, speed=normal | ||||||||||
E2CD | DEFW $5CF4 | |||||||||||
E2CF | DEFB $60 | |||||||||||
E2D0 | DEFB $07 | |||||||||||
E2D1 | DEFB $EA | |||||||||||
E2D2 | DEFB $FA | |||||||||||
E2D3 | DEFB $C2 | Horizontal guardian 4: y=10, initial x=18, 7<=x<=29, speed=slow | ||||||||||
E2D4 | DEFW $5D52 | |||||||||||
E2D6 | DEFB $68 | |||||||||||
E2D7 | DEFB $00 | |||||||||||
E2D8 | DEFB $47 | |||||||||||
E2D9 | DEFB $5D | |||||||||||
E2DA | DEFB $FF | Terminator | ||||||||||
E2DB | DEFB $00,$00 | Unused | ||||||||||
The next 28 bytes are copied to 80DD and define the vertical guardians.
|
||||||||||||
E2DD | DEFB $47 | Vertical guardian 1: x=5, initial y=8, 8<=y<100, initial y-increment=2 | ||||||||||
E2DE | DEFB $00 | |||||||||||
E2DF | DEFB $08 | |||||||||||
E2E0 | DEFB $05 | |||||||||||
E2E1 | DEFB $02 | |||||||||||
E2E2 | DEFB $08 | |||||||||||
E2E3 | DEFB $64 | |||||||||||
E2E4 | DEFB $FF,$00,$00,$00,$00,$00,$00 | Vertical guardian 2 (unused) | ||||||||||
E2EB | DEFB $00,$00,$00,$00,$00,$00,$00 | Vertical guardian 3 (unused) | ||||||||||
E2F2 | DEFB $00,$00,$00,$00,$00,$00,$00 | Vertical guardian 4 (unused) | ||||||||||
The next 7 bytes are unused.
|
||||||||||||
E2F9 | DEFB $00,$00,$00,$00,$00,$00,$00 | Unused | ||||||||||
The next 256 bytes are copied to 8100 and define the guardian graphics.
|
||||||||||||
E300 | DEFB $00,$00,$00,$00,$00,$00,$03,$C0 | Guardian graphic data | ||||||||||
E308 | DEFB $0C,$30,$10,$08,$20,$04,$40,$02 | |||||||||||
E310 | DEFB $80,$01,$40,$02,$20,$04,$D0,$0B | |||||||||||
E318 | DEFB $2C,$34,$4B,$D2,$12,$48,$02,$40 | |||||||||||
E320 | DEFB $00,$00,$00,$00,$00,$00,$03,$C0 | |||||||||||
E328 | DEFB $0C,$30,$10,$08,$20,$04,$40,$02 | |||||||||||
E330 | DEFB $F8,$1F,$57,$EA,$2B,$D4,$12,$48 | |||||||||||
E338 | DEFB $0C,$30,$03,$C0,$00,$00,$00,$00 | |||||||||||
E340 | DEFB $04,$20,$04,$20,$12,$48,$4B,$D2 | |||||||||||
E348 | DEFB $2C,$34,$93,$C9,$A7,$E5,$46,$62 | |||||||||||
E350 | DEFB $86,$61,$47,$E2,$23,$C4,$10,$08 | |||||||||||
E358 | DEFB $0C,$30,$03,$C0,$00,$00,$00,$00 | |||||||||||
E360 | DEFB $00,$00,$00,$00,$00,$00,$03,$C0 | |||||||||||
E368 | DEFB $0C,$30,$12,$48,$2A,$54,$5F,$FA | |||||||||||
E370 | DEFB $F6,$7F,$47,$E2,$23,$C4,$10,$08 | |||||||||||
E378 | DEFB $0C,$30,$03,$C0,$00,$00,$00,$00 | |||||||||||
E380 | DEFB $61,$80,$B2,$40,$B3,$C0,$61,$80 | |||||||||||
E388 | DEFB $0C,$00,$FF,$C0,$52,$80,$12,$00 | |||||||||||
E390 | DEFB $12,$00,$1E,$00,$0C,$00,$0C,$00 | |||||||||||
E398 | DEFB $0C,$00,$0C,$00,$1E,$00,$3F,$00 | |||||||||||
E3A0 | DEFB $18,$60,$24,$D0,$3C,$D0,$18,$60 | |||||||||||
E3A8 | DEFB $03,$00,$3F,$F0,$14,$A0,$04,$80 | |||||||||||
E3B0 | DEFB $04,$80,$07,$80,$03,$00,$03,$00 | |||||||||||
E3B8 | DEFB $07,$80,$0F,$C0,$00,$00,$00,$00 | |||||||||||
E3C0 | DEFB $06,$18,$0D,$3C,$0D,$24,$06,$18 | |||||||||||
E3C8 | DEFB $00,$C0,$0F,$FC,$05,$28,$01,$20 | |||||||||||
E3D0 | DEFB $01,$20,$01,$E0,$01,$E0,$03,$F0 | |||||||||||
E3D8 | DEFB $00,$00,$00,$00,$00,$00,$00,$00 | |||||||||||
E3E0 | DEFB $01,$86,$03,$CB,$02,$4B,$01,$86 | |||||||||||
E3E8 | DEFB $00,$30,$03,$FF,$01,$4A,$00,$48 | |||||||||||
E3F0 | DEFB $00,$48,$00,$78,$00,$30,$00,$30 | |||||||||||
E3F8 | DEFB $00,$78,$00,$FC,$00,$00,$00,$00 |
Prev: DC00 | Up: Map | Next: E400 |