![]()  | 
Data | 
| Prev: 56320 | Up: Map | Next: 58368 | 
| 
 
Used by the routine at 34436.
 
 
The first 512 bytes are the attributes that define the layout of the cavern.
 
 | 
||||||||||||
| 57344 | DEFB 22,22,22,22,22,22,22,22 | Attributes | ||||||||||
| 57352 | DEFB 22,22,22,22,22,22,22,22 | |||||||||||
| 57360 | DEFB 22,22,22,22,22,22,22,22 | |||||||||||
| 57368 | DEFB 22,22,22,22,22,22,22,22 | |||||||||||
| 57376 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57384 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57392 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57400 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57408 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57416 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57424 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57432 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57440 | DEFB 22,0,0,6,0,0,0,5 | |||||||||||
| 57448 | DEFB 5,5,5,5,5,5,5,5 | |||||||||||
| 57456 | DEFB 5,5,5,5,5,5,5,5 | |||||||||||
| 57464 | DEFB 5,0,0,5,5,5,5,22 | |||||||||||
| 57472 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57480 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57488 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57496 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57504 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57512 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57520 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57528 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57536 | DEFB 22,0,0,6,0,0,0,5 | |||||||||||
| 57544 | DEFB 5,0,0,5,5,5,5,0 | |||||||||||
| 57552 | DEFB 0,5,5,5,5,5,0,0 | |||||||||||
| 57560 | DEFB 5,5,5,5,0,0,5,22 | |||||||||||
| 57568 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57576 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57584 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57592 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57600 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57608 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57616 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57624 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57632 | DEFB 22,0,0,6,0,0,0,5 | |||||||||||
| 57640 | DEFB 5,5,5,5,0,0,5,5 | |||||||||||
| 57648 | DEFB 5,0,0,0,5,5,5,5 | |||||||||||
| 57656 | DEFB 5,0,0,5,5,5,5,22 | |||||||||||
| 57664 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57672 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57680 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57688 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57696 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57704 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57712 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57720 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57728 | DEFB 22,0,0,6,0,0,0,5 | |||||||||||
| 57736 | DEFB 5,5,0,0,5,5,5,0 | |||||||||||
| 57744 | DEFB 0,5,5,5,5,0,0,5 | |||||||||||
| 57752 | DEFB 5,5,5,0,0,5,5,22 | |||||||||||
| 57760 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57768 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57776 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57784 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57792 | DEFB 22,0,0,6,0,0,0,0 | |||||||||||
| 57800 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57808 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 57816 | DEFB 0,0,0,0,0,0,0,22 | |||||||||||
| 57824 | DEFB 22,5,5,4,4,4,4,4 | |||||||||||
| 57832 | DEFB 4,4,4,4,4,4,4,4 | |||||||||||
| 57840 | DEFB 4,4,4,4,4,4,4,4 | |||||||||||
| 57848 | DEFB 4,4,4,4,4,5,5,22 | |||||||||||
| 
 
The next 32 bytes are copied to 32768 and specify the cavern name.
 
 | 
||||||||||||
| 57856 | DEFM " Ore Refinery " | Cavern name | ||||||||||
| 
 
The next 72 bytes are copied to 32800 and contain the attributes and graphic data for the tiles used to build the cavern.
 
  | 
||||||||||||
| 57888 | DEFB 0,0,0,0,0,0,0,0,0 | Background | ||||||||||
| 57897 | DEFB 5,255,255,17,34,68,136,255,255 | Floor | ||||||||||
| 57906 | DEFB 66,255,219,165,36,82,32,8,0 | Crumbling floor (unused) | ||||||||||
| 57915 | DEFB 22,90,90,90,90,90,90,90,90 | Wall | ||||||||||
| 57924 | DEFB 4,240,102,240,102,0,0,0,0 | Conveyor | ||||||||||
| 57933 | DEFB 68,68,40,148,81,53,214,88,16 | Nasty 1 (unused) | ||||||||||
| 57942 | DEFB 69,126,60,28,24,24,8,8,8 | Nasty 2 (unused) | ||||||||||
| 57951 | DEFB 6,255,129,129,129,129,129,129,129 | Extra | ||||||||||
| 
 
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
 
 | 
||||||||||||
| 57960 | DEFB 208 | Pixel y-coordinate * 2 (see 32872) | ||||||||||
| 57961 | DEFB 0 | Animation frame (see 32873) | ||||||||||
| 57962 | DEFB 0 | Direction and movement flags: facing right (see 32874) | ||||||||||
| 57963 | DEFB 0 | Airborne status indicator (see 32875) | ||||||||||
| 57964 | DEFW 23997 | Location in the attribute buffer at 23552: (13,29) (see 32876) | ||||||||||
| 57966 | DEFB 0 | Jumping animation counter (see 32878) | ||||||||||
| 
 
The next four bytes are copied to 32879 and specify the direction, location and length of the conveyor.
 
 | 
||||||||||||
| 57967 | DEFB 1 | Direction (right) | ||||||||||
| 57968 | DEFW 30947 | Location in the screen buffer at 28672: (15,3) | ||||||||||
| 57970 | DEFB 26 | Length | ||||||||||
| 
 
The next byte is copied to 32883 and specifies the border colour.
 
 | 
||||||||||||
| 57971 | DEFB 1 | Border colour | ||||||||||
| 
 
The next byte is copied to 32884, but is not used.
 
 | 
||||||||||||
| 57972 | DEFB 0 | Unused | ||||||||||
| 
 
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
 
 | 
||||||||||||
| 57973 | DEFB 3 | Item 1 at (3,26) | ||||||||||
| 57974 | DEFW 23674 | |||||||||||
| 57976 | DEFB 96 | |||||||||||
| 57977 | DEFB 255 | |||||||||||
| 57978 | DEFB 4 | Item 2 at (6,10) | ||||||||||
| 57979 | DEFW 23754 | |||||||||||
| 57981 | DEFB 96 | |||||||||||
| 57982 | DEFB 255 | |||||||||||
| 57983 | DEFB 5 | Item 3 at (9,19) | ||||||||||
| 57984 | DEFW 23859 | |||||||||||
| 57986 | DEFB 104 | |||||||||||
| 57987 | DEFB 255 | |||||||||||
| 57988 | DEFB 6 | Item 4 at (9,26) | ||||||||||
| 57989 | DEFW 23866 | |||||||||||
| 57991 | DEFB 104 | |||||||||||
| 57992 | DEFB 255 | |||||||||||
| 57993 | DEFB 3 | Item 5 at (12,11) | ||||||||||
| 57994 | DEFW 23947 | |||||||||||
| 57996 | DEFB 104 | |||||||||||
| 57997 | DEFB 255 | |||||||||||
| 57998 | DEFB 255 | Terminator | ||||||||||
| 
 
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
 
  | 
||||||||||||
| 57999 | DEFB 79 | Attribute | ||||||||||
| 58000 | DEFB 3,192,7,224,15,240,9,144 | Graphic data | ||||||||||
| 58008 | DEFB 9,144,7,224,5,160,2,64 | |||||||||||
| 58016 | DEFB 97,134,248,31,254,127,5,224 | |||||||||||
| 58024 | DEFB 7,160,254,127,248,31,96,6 | |||||||||||
| 58032 | DEFW 23969 | Location in the attribute buffer at 23552: (13,1) | ||||||||||
| 58034 | DEFW 26785 | Location in the screen buffer at 24576: (13,1) | ||||||||||
| 
 
The next eight bytes are copied to 32948 and define the item graphic.
 
  | 
||||||||||||
| 58036 | DEFB 24,110,66,219,201,98,126,24 | Item graphic data | ||||||||||
| 
 
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
 
 | 
||||||||||||
| 58044 | DEFB 63 | Air | ||||||||||
| 
 
The next byte is copied to 32957 and initialises the game clock.
 
 | 
||||||||||||
| 58045 | DEFB 252 | Game clock | ||||||||||
| 
 
The next 28 bytes are copied to 32958 and define the horizontal guardians.
 
 | 
||||||||||||
| 58046 | DEFB 67 | Horizontal guardian 1: y=1, initial x=7, 7<=x<=29, speed=normal | ||||||||||
| 58047 | DEFW 23591 | |||||||||||
| 58049 | DEFB 96 | |||||||||||
| 58050 | DEFB 0 | |||||||||||
| 58051 | DEFB 39 | |||||||||||
| 58052 | DEFB 61 | |||||||||||
| 58053 | DEFB 196 | Horizontal guardian 2: y=4, initial x=16, 7<=x<=29, speed=slow | ||||||||||
| 58054 | DEFW 23696 | |||||||||||
| 58056 | DEFB 96 | |||||||||||
| 58057 | DEFB 0 | |||||||||||
| 58058 | DEFB 135 | |||||||||||
| 58059 | DEFB 157 | |||||||||||
| 58060 | DEFB 70 | Horizontal guardian 3: y=7, initial x=20, 10<=x<=26, speed=normal | ||||||||||
| 58061 | DEFW 23796 | |||||||||||
| 58063 | DEFB 96 | |||||||||||
| 58064 | DEFB 7 | |||||||||||
| 58065 | DEFB 234 | |||||||||||
| 58066 | DEFB 250 | |||||||||||
| 58067 | DEFB 194 | Horizontal guardian 4: y=10, initial x=18, 7<=x<=29, speed=slow | ||||||||||
| 58068 | DEFW 23890 | |||||||||||
| 58070 | DEFB 104 | |||||||||||
| 58071 | DEFB 0 | |||||||||||
| 58072 | DEFB 71 | |||||||||||
| 58073 | DEFB 93 | |||||||||||
| 58074 | DEFB 255 | Terminator | ||||||||||
| 58075 | DEFB 0,0 | Unused | ||||||||||
| 
 
The next 28 bytes are copied to 32989 and define the vertical guardians.
 
 | 
||||||||||||
| 58077 | DEFB 71 | Vertical guardian 1: x=5, initial y=8, 8<=y<100, initial y-increment=2 | ||||||||||
| 58078 | DEFB 0 | |||||||||||
| 58079 | DEFB 8 | |||||||||||
| 58080 | DEFB 5 | |||||||||||
| 58081 | DEFB 2 | |||||||||||
| 58082 | DEFB 8 | |||||||||||
| 58083 | DEFB 100 | |||||||||||
| 58084 | DEFB 255,0,0,0,0,0,0 | Vertical guardian 2 (unused) | ||||||||||
| 58091 | DEFB 0,0,0,0,0,0,0 | Vertical guardian 3 (unused) | ||||||||||
| 58098 | DEFB 0,0,0,0,0,0,0 | Vertical guardian 4 (unused) | ||||||||||
| 
 
The next 7 bytes are unused.
 
 | 
||||||||||||
| 58105 | DEFB 0,0,0,0,0,0,0 | Unused | ||||||||||
| 
 
The next 256 bytes are copied to 33024 and define the guardian graphics.
 
  | 
||||||||||||
| 58112 | DEFB 0,0,0,0,0,0,3,192 | Guardian graphic data | ||||||||||
| 58120 | DEFB 12,48,16,8,32,4,64,2 | |||||||||||
| 58128 | DEFB 128,1,64,2,32,4,208,11 | |||||||||||
| 58136 | DEFB 44,52,75,210,18,72,2,64 | |||||||||||
| 58144 | DEFB 0,0,0,0,0,0,3,192 | |||||||||||
| 58152 | DEFB 12,48,16,8,32,4,64,2 | |||||||||||
| 58160 | DEFB 248,31,87,234,43,212,18,72 | |||||||||||
| 58168 | DEFB 12,48,3,192,0,0,0,0 | |||||||||||
| 58176 | DEFB 4,32,4,32,18,72,75,210 | |||||||||||
| 58184 | DEFB 44,52,147,201,167,229,70,98 | |||||||||||
| 58192 | DEFB 134,97,71,226,35,196,16,8 | |||||||||||
| 58200 | DEFB 12,48,3,192,0,0,0,0 | |||||||||||
| 58208 | DEFB 0,0,0,0,0,0,3,192 | |||||||||||
| 58216 | DEFB 12,48,18,72,42,84,95,250 | |||||||||||
| 58224 | DEFB 246,127,71,226,35,196,16,8 | |||||||||||
| 58232 | DEFB 12,48,3,192,0,0,0,0 | |||||||||||
| 58240 | DEFB 97,128,178,64,179,192,97,128 | |||||||||||
| 58248 | DEFB 12,0,255,192,82,128,18,0 | |||||||||||
| 58256 | DEFB 18,0,30,0,12,0,12,0 | |||||||||||
| 58264 | DEFB 12,0,12,0,30,0,63,0 | |||||||||||
| 58272 | DEFB 24,96,36,208,60,208,24,96 | |||||||||||
| 58280 | DEFB 3,0,63,240,20,160,4,128 | |||||||||||
| 58288 | DEFB 4,128,7,128,3,0,3,0 | |||||||||||
| 58296 | DEFB 7,128,15,192,0,0,0,0 | |||||||||||
| 58304 | DEFB 6,24,13,60,13,36,6,24 | |||||||||||
| 58312 | DEFB 0,192,15,252,5,40,1,32 | |||||||||||
| 58320 | DEFB 1,32,1,224,1,224,3,240 | |||||||||||
| 58328 | DEFB 0,0,0,0,0,0,0,0 | |||||||||||
| 58336 | DEFB 1,134,3,203,2,75,1,134 | |||||||||||
| 58344 | DEFB 0,48,3,255,1,74,0,72 | |||||||||||
| 58352 | DEFB 0,72,0,120,0,48,0,48 | |||||||||||
| 58360 | DEFB 0,120,0,252,0,0,0,0 | |||||||||||
| Prev: 56320 | Up: Map | Next: 58368 |