$0000 - $0200 #CK1Patch header $0239 - $0288 #Unknown, used to draw things? $0289 - $02C4 #Unknown, used when changing screens $02C5 - $0500 #Unknown, used to draw sprites $066A - $062A #Unknown, used in drawing graphics [Tiles? Load level?] $082B - $08B1 #Quit Y/N window $0C51 - $0D51 #Sound Y/N window $0D52 - $0DAF #Get an extra Keen $0DB0 - $0E39 #CTSpace cheat window and code $0E3A - $11EF #Status screen window $11F0 - $1260 #God mode window code $15EB - $1655 #Start of sprite spawning $1656 - $1712 #Decide what to spawn based on sprite numer $1713 - $1776 #Tank bot spawning code $1777 - $17D4 #Butler bot spawning code $17D5 - $1842 #Vorticon spawning code $1843 - $187F #Garg spawning code $1880 - $18E2 #Yorp spawning code $18E3 - $191F #Chain spawning code $1920 - $194E #Icecube spawning code $194F - $19D2 #Yorp movement, speed and behaviour [Walking and jumping] $19D3 - $1A2B #Yorp movement, speed and behaviour [Look for Keen\after stunned] $1A2C - $1A67 #Yorp stunned $1A68 - $1AA7 #Spawn dead Yorp $1AA8 - $1B50 #Garg movement, speed and behaviour, Walk $1B51 - $1BCD #Look for Keen, charge $1BCE - $1C0D #Spawn dead Garg $1C0E - $1CC7 #Vorticon movement, speed and behaviour [walk around] $1CC8 - $1D14 #Vorticon movement, speed and behaviour [jump] $1D15 - $1D6D #Vorticon movement, speed and behaviour [Land and slide along ground] $1D6E - $1DC6 #Spawn dead vorticon $1DC7 - $1E5D #Butler Bot movement, speed and behaviour [Initial movement] $1E5E - $1E93 #Buter Bot movement, speed and behaviour [Turning around without hitting wall] $1E94 - $1EA8 #Spawn 'dead' Butler Bot [Keep going] $1EA9 - $1F74 #Tank Bot movement, speed and behaviour [Walk] $1F75 - $1F8E #Tank Bot start $1F8F - $1FC0 #Tank Bot movement, speed and behaviour [Turn] $1FC1 - $2044 #Tank Bot movement, speed and behaviour [Shoot] $2045 - $2049 #Tank bot when shot (Ignore all collisions) $204A - $20CA #Ice cannon setup $20CB - $2147 #Properties of four icecubes $2148 - $2191 #Icecubette movement and behaviour $2192 - $22A5 #Icecube movement and behaviour, produces 4 different icecubes $22A6 - $22BA #Produce four icecubettes when icecube colides $22BB - $2368 #Chain dies, spawns zapzot, kills Vorts $2369 - $2384 #Set up falling block and block speed $2385 - $23D6 #Top left tiles $23D6 - $241D #Middle black tiles $241E - $243F #Top middle block tiles $2440 - $249D #Bottom middle block and right black tiles $249E - $24BF #Top right corner $24C0 - $24F3 #Remaining tiles and stop block $24F4 - $26E1 #Yorp messages windows setup $27F8 - $290D #Doors are opened code $2935 - $297D #Needed by Tank Bot when shooting and shootable sprites when spawned, also doors $297E - $29BC #Needed to produce falling block, also referenced by Vorticons, icecubes $2C2A - $2C6C #Sprite movement function $2C6D - $2C96 #Sprites stand on tiles function $3360 - $3364 #Dead sprites behaviour [Do nothing] $35B2 - $35C1 #Lights turn off $35C2 - $35D1 #Lights turn on $35D2 - $3907 #Animate bridge switches, includes Keen 2 game over switch stuff! $36B3 - $36F6 #Switches switched (Both light and bridge.) $3EC7 - $40EE #Keen pogoing $40EF - $41F7 #Keen exiting and exit tiles $42EA - $4416 #Unknown, involes tiles and background tiles(4387 start of list next) $4417 - $4445 #Item tiles properties $4446 - $4492 #Ship parts tile properties $4493 - $44AA #Raygun tile properties $44AB - $44C0 #Pogo tile properties $44CB - $4505 #Exit tile $4506 - $452A #Keycard tiles $452B - $458F #Message popup tiles $4590 - $45C3 #A list of references (Unknown use, references above) $45C4 - $469C #Yorp property (Makes this sprite stompable) $469D - $46B9 #Keen-sprite collision pointer list $46BA - $4748 #Keen's shot spawned $4749 - $47AC #Zap/zot 1 code (Not a spawned sprite, different) $47AD - $4807 #Zap/zot 2 code (Shots hitting walls) $4808 - $4848 #Zap/sot 3 code (Proper spawned sprite) $4849 - $488D #Zap/zot 4 code (Also a proper sprite, this one can be shot, how Keen's shot ends) $488E - $489C #Unknown behavior $489D - $48DD #Dead sprite behavior, calls $488E $48DE - $49FF #Tank bot bullet spawned (Includes location relative to Tank Bot and 2 zap/zots) $4A00 - $4A44 #Tank bot's shot is destroyed (Different from $48DE these can be shot) $4A8B - $4B68 #Unknown, mostly bridge building/removing ~4F43 - $4FA8 #Run when Keen exits a level, removes keycards, etc $4FA9 - $51F9 #Joystick configuration window and code $51FA - $53BF #Change keyboard commands key change code $53C0 - $55A2 #Change keyboard commands window $5C3A - $5C57 #Unknown, widely often used when windows opened $5F1E - $604D #Draw 'popup' text boxes $604E - $608B Window orientation for centered windows $611A - $614A #Draw windows expanding $62D2 - $6329 #Write instant text with a white background (See also $A5BC) $6C49 - $6C8C #Screen fade in (Incl black screen) $6C8D - $6CE5 #Screen fade out ~6FA0 #Wait a moment code $7913 - $7ABA #Location of text file names, check that these files are present $7C04 - $805D #Start a new game- places Keen on map and sets up game data, done markers $7C04 - $7EB0 #-> Done markers, check to see if levels are done, $805E - $8131 #Something to do with done markers $8132 - $814F #Unknown $8150 - $818B #Write lines of text, one letter at a time $818C - $8250 #Mars map and text for End sequence $8251 - $8530 #Flight to earth sequence $8531 - $88F0 #House sequence $88F1 - $8918 #Ending text $8919 - $8ADE #Game over (After winning game) $8ADF - $8CC0 #Check scores and (possibly) draw highscore window $8CC1 - $8E00 #Accept new score name $8E01 - $8F25 #Write score and goto high scores $95FD - $96A6 #Open menu window and write text $97A7 - $97E1 #Some window display code $96E2 - $9731 #Open Previews images and text $9732 - $97AA #Location of About ID window $97AB - $97D2 #Title and F1 bitmaps displayed $97D3 - $97E9 #After Apogee sign rises, switch to display other bitmaps $97F0 - $984B #About Id window setup and text display $974C - $986B #After About ID window set up and text displayed, do 'something' $986C - $9A23 #Set up High scores window, display bitmaps, parts and scores $9A24 - $9A58 #High score screen position $9A59 - $9AB3 #Something to do with High Scores display $9AB4 - $9C4D #Save games on map window setup and text, etc $9C4E - $9D72 #Load game from Menu, window setup and text, etc $9D73 - $9DB3 #Story text screen and window $9FB2 - $A1D3 #Unknown,referenced by Previews and storytext $A1D4 - $A1EA #Apogee sign rising $A1EB - $A261 #Presenting an APOGEE... sequence $A497 - $A565 #Write ordering info text $A5BC - $A615 #Write text with grey background (See also $62D2) $AA95 - $AE08 #Keen's behaviour on the map $AE09 - $AB00 #Keen must find these parts window $B735 - $B8D9 #Unknown, vital to drawing things $BEF3 - $BF01 #Play sounds $C05C - $C0AB #Randomize vorticon and Yorp jump heights. (Otherwise all are high) $C0CE - $C0E1 #Random number generator, used by sprites $C0E2 - $C103 #Unknown, needed to refresh screen, but not always vital $D15C - $D19C #Vital memory function $D30D - $D389 #Related to and referenced to below $D38A - $D3B0 #Vital for drawing tiles, loops to above $D411 - $D438 #Unknown, used by ->D439 $D439 - $D450 #Unknown, nonvital to ->5C3A $D49E - $D5CA #Vital memory function $D71A - $D752 #Vital memory function $D753 - $D776 #Vital memory function $E151 - $E188 #Needed when sprites spawn $E29B - #Changes screen somehow $E563 - $E579 #Needed to display colors, when disabled game is black and white; used also by bullets $130F8 - $14D9C #Tile info $14EF6 - $14F18 #God cheat text $14F19 - $1506D #CK1 extension, loading game text $1505E - $1507F #Sounds filename, misc settings $15080 - $1546B #Yorp messages $1546C - $155A8 #Misc controls and errors $155A9 - $15668 #Joystick configrue text $15669 - $157D0 #Keyboard configure text $157D1 - $1593E #Errors, some settings, filenames $1593F - $1597F #Default score names $15980 - $15B05 #BWB rocket ending movement $15940 - $1597F #Default score names $15B06 - $15C23 #High score text, disk errors $15C24 - $15E85 #Finale text $15E86 - $15F7F #Scores text, menu text, keens left box text $15F80 - $16137 #About Id text $16138 - $1617F #Saved game and previews filenames $16180 - $162D1 #Save game text $162D2 - $16304 #Incompatible file error text $16305 - $1632B #ESC to exit up/down to read text $1632C - $1659A #Ordering info text $1659B - $16601 #Missing parts and missing textfile error text $16602 - $16A6B #Unknown array $16A6C - $1804B #Storage for unknown in-game data $1804D - $18066 #Unknown data $18067 - $180FF #Storage for unknown in-game data $18100 - $18136 #Keyboard key commands