Prev: E000 Up: Map Next: E800
E400: Skylab Landing Bay (teleport: 1346)
Used by the routine at 8684.
skylab_landing_bay
The first 512 bytes are the attributes that define the layout of the cavern.
E400 DEFB $68,$08,$08,$08,$08,$08,$08,$08 Attributes
E408 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E410 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E418 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E420 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E428 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E430 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E438 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E440 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E448 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E450 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E458 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E460 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E468 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E470 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E478 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E480 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E488 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E490 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E498 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E4A0 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E4A8 DEFB $08,$08,$08,$08,$08,$08,$08,$4C
E4B0 DEFB $0C,$08,$08,$08,$08,$08,$08,$08
E4B8 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E4C0 DEFB $68,$08,$08,$4C,$0C,$08,$08,$08
E4C8 DEFB $08,$08,$08,$4C,$0C,$08,$08,$08
E4D0 DEFB $08,$08,$08,$4C,$0C,$08,$08,$08
E4D8 DEFB $08,$08,$08,$4C,$0C,$08,$08,$68
E4E0 DEFB $68,$08,$08,$08,$08,$08,$08,$4C
E4E8 DEFB $0C,$08,$08,$08,$08,$08,$08,$08
E4F0 DEFB $08,$08,$08,$08,$08,$08,$08,$4C
E4F8 DEFB $0C,$08,$08,$08,$08,$08,$08,$68
E500 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E508 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E510 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E518 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E520 DEFB $68,$08,$08,$08,$08,$4C,$0C,$08
E528 DEFB $08,$08,$08,$08,$08,$4C,$0C,$08
E530 DEFB $08,$08,$08,$08,$08,$4C,$0C,$08
E538 DEFB $08,$08,$08,$08,$08,$4C,$0C,$68
E540 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E548 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E550 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E558 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E560 DEFB $68,$4C,$0C,$08,$08,$08,$08,$08
E568 DEFB $08,$4C,$0C,$08,$08,$08,$08,$4B
E570 DEFB $4B,$4B,$4B,$4B,$4B,$08,$08,$08
E578 DEFB $08,$4C,$0C,$08,$08,$08,$08,$68
E580 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E588 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E590 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E598 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E5A0 DEFB $68,$08,$08,$08,$08,$08,$08,$4C
E5A8 DEFB $0C,$08,$08,$08,$08,$08,$08,$08
E5B0 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E5B8 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E5C0 DEFB $68,$08,$08,$08,$08,$08,$08,$08
E5C8 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E5D0 DEFB $08,$08,$08,$08,$08,$08,$08,$08
E5D8 DEFB $08,$08,$08,$08,$08,$08,$08,$68
E5E0 DEFB $68,$68,$68,$68,$68,$68,$68,$68
E5E8 DEFB $68,$68,$68,$68,$68,$68,$68,$68
E5F0 DEFB $68,$68,$68,$68,$68,$68,$68,$68
E5F8 DEFB $68,$68,$68,$68,$68,$68,$68,$68
The next 32 bytes are copied to 8000 and specify the cavern name.
E600 DEFM " Skylab Landing Bay " 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.
background_13 floor_13 crumbling_floor_13 wall_13 conveyor_13 nasty1_13 nasty2_13 extra_13
The patterns of the two unused nasty tiles are hidden in these images because they have black INK and PAPER. Here are the patterns revealed using green INK:
nasty1_13_green nasty2_13_green
E620 DEFB $08,$00,$00,$00,$00,$00,$00,$00,$00 Background
E629 DEFB $4C,$FF,$FF,$62,$64,$78,$70,$60,$60 Floor
E632 DEFB $02,$FC,$FF,$FF,$87,$FF,$08,$08,$00 Crumbling floor (unused)
E63B DEFB $68,$01,$82,$C4,$E8,$E0,$D8,$BC,$7E Wall
E644 DEFB $4B,$F0,$66,$F0,$66,$00,$00,$00,$00 Conveyor
E64D DEFB $00,$44,$28,$94,$51,$35,$D6,$58,$10 Nasty 1 (unused)
E656 DEFB $00,$48,$B2,$5D,$12,$70,$AE,$A9,$47 Nasty 2 (unused)
E65F DEFB $0C,$FF,$FF,$46,$26,$1E,$0E,$06,$06 Extra
The next seven bytes are copied to 8068-806E and specify Miner Willy's initial location and appearance in the cavern.
E668 DEFB $D0 Pixel y-coordinate * 2 (see 8068)
E669 DEFB $00 Animation frame (see 8069)
E66A DEFB $00 Direction and movement flags: facing right (see 806A)
E66B DEFB $00 Airborne status indicator (see 806B)
E66C DEFW $5DBD Location in the attribute buffer at 5C00: (13,29) (see 806C)
E66E 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.
E66F DEFB $00 Direction (left)
E670 DEFW $786F Location in the screen buffer at 7000: (11,15)
E672 DEFB $06 Length
The next byte is copied to 8073 and specifies the border colour.
E673 DEFB $06 Border colour
The next byte is copied to 8074, but is not used.
E674 DEFB $00 Unused
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
E675 DEFB $0B Item 1 at (2,23)
E676 DEFW $5C57
E678 DEFB $60
E679 DEFB $FF
E67A DEFB $0C Item 2 at (8,3)
E67B DEFW $5D03
E67D DEFB $68
E67E DEFB $FF
E67F DEFB $0D Item 3 at (7,27)
E680 DEFW $5CFB
E682 DEFB $60
E683 DEFB $FF
E684 DEFB $0E Item 4 at (7,16)
E685 DEFW $5CF0
E687 DEFB $60
E688 DEFB $FF
E689 DEFB $00,$FF,$FF,$FF,$FF Item 5 (unused)
E68E DEFB $FF Terminator
The next 37 bytes are copied to 808F and define the portal graphic and its location.
portal13
E68F DEFB $1E Attribute
E690 DEFB $FF,$FF,$FF,$FF,$FC,$3F,$F8,$1F Graphic data
E698 DEFB $F0,$0F,$E0,$07,$C1,$83,$C2,$43
E6A0 DEFB $C2,$43,$C1,$83,$E0,$07,$F0,$0F
E6A8 DEFB $F8,$1F,$FC,$3F,$FF,$FF,$FF,$FF
E6B0 DEFW $5C0F Location in the attribute buffer at 5C00: (0,15)
E6B2 DEFW $600F Location in the screen buffer at 6000: (0,15)
The next eight bytes are copied to 80B4 and define the item graphic.
item13
E6B4 DEFB $AA,$AA,$FE,$FE,$FE,$FE,$AA,$AA Item graphic data
The next byte is copied to 80BC and specifies the initial air supply in the cavern.
E6BC DEFB $3F Air
The next byte is copied to 80BD and initialises the game clock.
E6BD DEFB $F8 Game clock
The next 28 bytes are copied to 80BE and define the horizontal guardians.
E6BE DEFB $FF Horizontal guardian 1: y=7, initial x=9, 9<=x<=14, speed=slow (unused)
E6BF DEFW $5CE9
E6C1 DEFB $60
E6C2 DEFB $00
E6C3 DEFB $E9
E6C4 DEFB $EE
E6C5 DEFB $C2 Horizontal guardian 2: y=10, initial x=12, 8<=x<=14, speed=slow (unused)
E6C6 DEFW $5D4C
E6C8 DEFB $68
E6C9 DEFB $00
E6CA DEFB $48
E6CB DEFB $4E
E6CC DEFB $43 Horizontal guardian 3: y=13, initial x=8, 4<=x<=26, speed=normal (unused)
E6CD DEFW $5DA8
E6CF DEFB $68
E6D0 DEFB $00
E6D1 DEFB $A4
E6D2 DEFB $BA
E6D3 DEFB $00,$00,$00,$00,$00,$00,$00 Horizontal guardian 4 (unused)
E6DA DEFB $FF Terminator
The next two bytes are copied to 80DB and 80DC but are not used.
E6DB DEFB $00,$00 Unused
The next 28 bytes are copied to 80DD and define the vertical guardians.
E6DD DEFB $0F Vertical guardian 1: x=1, initial y=0, 0<=y<=72, y-increment=4
E6DE DEFB $00
E6DF DEFB $00
E6E0 DEFB $01
E6E1 DEFB $04
E6E2 DEFB $00
E6E3 DEFB $48
E6E4 DEFB $0D Vertical guardian 2: x=11, initial y=0, 0<=y<=32, y-increment=1
E6E5 DEFB $00
E6E6 DEFB $00
E6E7 DEFB $0B
E6E8 DEFB $01
E6E9 DEFB $00
E6EA DEFB $20
E6EB DEFB $0E Vertical guardian 3: x=21, initial y=2, 2<=y<=56, y-increment=3
E6EC DEFB $00
E6ED DEFB $02
E6EE DEFB $15
E6EF DEFB $03
E6F0 DEFB $02
E6F1 DEFB $38
E6F2 DEFB $FF,$00,$00,$00,$00,$00,$00 Vertical guardian 4 (unused)
The next 7 bytes are unused.
E6F9 DEFB $00,$00,$00,$00,$00,$00,$00 Unused
The next 256 bytes are copied to 8100 and define the guardian graphics.
skylab_landing_bay_guardian0 skylab_landing_bay_guardian1 skylab_landing_bay_guardian2 skylab_landing_bay_guardian3 skylab_landing_bay_guardian4 skylab_landing_bay_guardian5 skylab_landing_bay_guardian6 skylab_landing_bay_guardian7
E700 DEFB $03,$C0,$FF,$FF,$AB,$D5,$FF,$FF Guardian graphic data
E708 DEFB $13,$C8,$29,$94,$15,$A8,$0B,$D0
E710 DEFB $05,$A0,$03,$C0,$03,$C0,$05,$A0
E718 DEFB $0A,$50,$14,$28,$28,$14,$10,$08
E720 DEFB $00,$00,$00,$00,$03,$C0,$FF,$FF
E728 DEFB $AB,$D5,$FF,$FF,$13,$C8,$29,$94
E730 DEFB $15,$A8,$0B,$D0,$05,$A0,$03,$C0
E738 DEFB $03,$C0,$25,$A0,$4A,$54,$14,$2A
E740 DEFB $00,$00,$00,$00,$00,$00,$00,$07
E748 DEFB $03,$FD,$FF,$D7,$AB,$F8,$FF,$C0
E750 DEFB $03,$C0,$01,$80,$15,$A4,$4B,$D2
E758 DEFB $05,$A4,$23,$C2,$0B,$D0,$25,$A8
E760 DEFB $00,$00,$00,$00,$00,$00,$00,$20
E768 DEFB $02,$02,$00,$15,$03,$CE,$0F,$D4
E770 DEFB $CB,$C8,$B7,$C2,$E3,$C8,$31,$81
E778 DEFB $07,$E4,$C3,$C8,$17,$C2,$23,$FC
E780 DEFB $00,$00,$01,$00,$00,$00,$08,$20
E788 DEFB $00,$00,$00,$00,$21,$02,$00,$11
E790 DEFB $03,$8A,$0E,$90,$4B,$C0,$37,$02
E798 DEFB $62,$C0,$31,$01,$05,$E2,$C3,$44
E7A0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
E7A8 DEFB $00,$00,$02,$00,$00,$00,$00,$20
E7B0 DEFB $10,$08,$0A,$84,$00,$20,$65,$00
E7B8 DEFB $22,$68,$08,$A0,$03,$D0,$17,$E0
E7C0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
E7C8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
E7D0 DEFB $02,$00,$00,$20,$10,$00,$00,$00
E7D8 DEFB $05,$10,$00,$68,$22,$A0,$0D,$D0
E7E0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
E7E8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
E7F0 DEFB $00,$00,$00,$00,$00,$00,$00,$80
E7F8 DEFB $00,$20,$08,$00,$02,$C0,$07,$60
Prev: E000 Up: Map Next: E800