home *** CD-ROM | disk | FTP | other *** search
/ AlchNews 32 / AlchNews32.tap / AN32.20 < prev    next >
Unknown  |  2000-01-01  |  15.1 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 09 3c 00 25 80 2c 00 fd | 89 28 00 35 91 24 00 c5 |.<.%.,..|.(.5.$..|
|00000010| 97 28 00 ad 9d 28 00 3d | a4 2c 00 cd aa 20 00 05 |.(...(.=|.,... ..|
|00000020| b2 20 00 45 b7 20 20 20 | 20 20 20 20 20 20 20 20 |. .E. | |
|00000030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 48 | | H|
|00000060| 4f 57 20 54 4f 20 48 41 | 43 4b 20 20 20 20 20 20 |OW TO HA|CK |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 20 20 54 68 65 20 | 70 65 6e 75 6c 74 69 6d | The |penultim|
|00000090| 61 74 65 20 70 61 72 74 | 20 20 20 20 20 20 20 20 |ate part| |
|000000a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 54 | 68 65 20 4c 44 20 48 4c | T|he LD HL|
|00000100| 2c 23 30 30 30 30 20 69 | 6e 73 74 72 75 63 74 69 |,#0000 i|nstructi|
|00000110| 6f 6e 20 69 73 20 20 69 | 6d 70 6f 72 74 61 6e 74 |on is i|mportant|
|00000120| 2c 62 65 63 61 75 73 65 | 20 69 74 27 73 20 74 68 |,because| it's th|
|00000130| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 77 65 |e instru|ction we|
|00000140| 20 20 6f 76 65 72 77 72 | 6f 74 65 77 69 74 68 20 | overwr|otewith |
|00000150| 6f 75 74 20 4a 50 20 62 | 61 63 6b 20 74 6f 20 74 |out JP b|ack to t|
|00000160| 68 65 20 20 68 61 63 6b | 2e 20 20 54 68 65 72 65 |he hack|. There|
|00000170| 66 6f 72 65 2c 77 65 27 | 76 65 20 67 6f 74 20 74 |fore,we'|ve got t|
|00000180| 6f 20 20 65 78 65 63 75 | 74 65 20 20 69 74 2c 20 |o execu|te it, |
|00000190| 20 6f 74 68 65 72 77 69 | 73 65 20 20 74 68 65 6c | otherwi|se thel|
|000001a0| 6f 61 64 69 6e 67 20 73 | 79 73 74 65 6d 20 6d 61 |oading s|ystem ma|
|000001b0| 79 20 63 72 61 73 68 2e | 20 54 68 65 6e 20 69 74 |y crash.| Then it|
|000001c0| 20 20 72 65 73 75 6d 65 | 73 6c 6f 61 64 69 6e 67 | resume|sloading|
|000001d0| 20 61 74 20 23 35 42 33 | 35 20 77 69 74 68 20 74 | at #5B3|5 with t|
|000001e0| 68 65 20 50 4f 4b 45 73 | 20 66 69 72 6d 6c 79 20 |he POKEs| firmly |
|000001f0| 20 69 6e 70 6c 61 63 65 | 2e 20 20 20 20 20 20 20 | inplace|. |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000240| 20 20 20 20 20 20 20 43 | 43 42 32 20 33 45 20 42 | C|CB2 3E B|
|00000250| 36 20 4c 44 20 41 2c 23 | 42 36 20 20 20 20 20 20 |6 LD A,#|B6 |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000270| 20 43 43 42 34 20 33 32 | 20 35 46 20 41 42 20 4c | CCB4 32| 5F AB L|
|00000280| 44 20 28 23 41 42 35 46 | 29 2c 41 20 20 20 20 20 |D (#AB5F|),A |
|00000290| 20 20 20 20 20 20 20 20 | 20 20 20 43 43 42 37 20 | | CCB7 |
|000002a0| 43 33 20 42 43 20 46 35 | 20 4a 50 20 23 46 35 42 |C3 BC F5| JP #F5B|
|000002b0| 43 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |C | |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | | T|
|000002f0| 68 69 73 20 69 73 20 74 | 68 65 20 68 61 63 6b 69 |his is t|he hacki|
|00000300| 6e 67 20 72 6f 75 74 69 | 6e 65 20 77 68 69 63 68 |ng routi|ne which|
|00000310| 20 77 69 6c 6c 20 20 62 | 65 63 6f 70 69 65 64 20 | will b|ecopied |
|00000320| 69 6e 74 6f 20 74 68 65 | 20 6c 6f 61 64 69 6e 67 |into the| loading|
|00000330| 20 73 79 73 74 65 6d 2e | 20 41 42 35 46 2c 42 36 | system.| AB5F,B6|
|00000340| 20 69 73 74 68 65 20 50 | 4f 4b 45 20 66 6f 72 20 | isthe P|OKE for |
|00000350| 69 6e 66 69 6e 69 74 65 | 20 6c 69 76 65 73 20 28 |infinite| lives (|
|00000360| 77 68 69 63 68 20 63 61 | 6e 20 20 62 65 77 6f 72 |which ca|n bewor|
|00000370| 6b 65 64 20 6f 75 74 20 | 62 79 20 61 20 66 6f 72 |ked out |by a for|
|00000380| 77 61 72 64 73 20 20 6f | 72 20 20 61 20 20 62 61 |wards o|r a ba|
|00000390| 63 6b 77 61 72 64 73 74 | 72 61 63 65 29 2c 20 61 |ckwardst|race), a|
|000003a0| 6e 64 20 4a 50 20 23 46 | 35 42 43 20 6a 75 6d 70 |nd JP #F|5BC jump|
|000003b0| 73 20 74 6f 20 74 68 65 | 20 67 61 6d 65 2e 20 20 |s to the| game. |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003e0| 20 20 20 20 20 20 20 20 | 20 20 20 41 6e 64 20 20 | | And |
|000003f0| 74 68 61 74 27 73 20 20 | 61 62 6f 75 74 20 20 20 |that's |about |
|00000400| 69 74 20 20 20 66 6f 72 | 20 20 20 42 6c 65 65 70 |it for| Bleep|
|00000410| 6c 6f 61 64 21 48 6f 70 | 65 66 75 6c 6c 79 2c 20 |load!Hop|efully, |
|00000420| 69 66 20 79 6f 75 20 77 | 65 72 65 20 68 61 63 6b |if you w|ere hack|
|00000430| 69 6e 67 20 61 20 64 69 | 66 66 65 72 65 6e 74 67 |ing a di|fferentg|
|00000440| 61 6d 65 2c 20 79 6f 75 | 20 73 74 69 6c 6c 20 6d |ame, you| still m|
|00000450| 61 6e 61 67 65 64 20 74 | 6f 20 64 6f 20 69 74 20 |anaged t|o do it |
|00000460| 20 28 74 68 65 79 27 72 | 65 61 6c 6c 20 76 69 72 | (they'r|eall vir|
|00000470| 74 75 61 6c 6c 79 20 69 | 64 65 6e 74 69 63 61 6c |tually i|dentical|
|00000480| 20 61 6e 79 77 61 79 29 | 2e 20 20 20 20 20 20 20 | anyway)|. |
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 55 4c 54 | | ULT|
|000004c0| 49 4d 41 54 45 20 4c 4f | 41 44 45 52 20 20 20 20 |IMATE LO|ADER |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000510| 20 52 65 6d 65 6d 62 65 | 72 20 55 6c 74 69 6d 61 | Remembe|r Ultima|
|00000520| 74 65 3f 20 54 68 65 79 | 20 77 65 72 65 20 20 6f |te? They| were o|
|00000530| 6e 65 20 20 6f 66 20 20 | 74 68 65 66 69 6e 65 73 |ne of |thefines|
|00000540| 74 20 73 6f 66 74 77 61 | 72 65 20 68 6f 75 73 65 |t softwa|re house|
|00000550| 73 20 6f 66 20 61 6c 6c | 20 20 74 69 6d 65 2e 20 |s of all| time. |
|00000560| 20 4d 6f 73 74 6f 66 20 | 74 68 65 69 72 20 67 61 | Mostof |their ga|
|00000570| 6d 65 73 20 66 72 6f 6d | 20 31 39 38 33 20 74 6f |mes from| 1983 to|
|00000580| 20 31 39 38 37 20 20 68 | 61 64 20 20 74 68 65 73 | 1987 h|ad thes|
|00000590| 61 6d 65 20 20 74 79 70 | 65 20 20 6f 66 20 20 6c |ame typ|e of l|
|000005a0| 6f 61 64 65 72 20 20 28 | 62 75 74 20 20 61 20 20 |oader (|but a |
|000005b0| 66 65 77 20 20 77 65 72 | 65 53 70 65 65 64 6c 6f |few wer|eSpeedlo|
|000005c0| 63 6b 65 64 20 2d 20 6d | 6f 72 65 20 61 62 6f 75 |cked - m|ore abou|
|000005d0| 74 20 74 68 65 6d 20 20 | 6c 61 74 65 72 29 2e 20 |t them |later). |
|000005e0| 20 4f 6e 74 68 65 20 66 | 61 63 65 20 6f 66 20 20 | Onthe f|ace of |
|000005f0| 69 74 2c 20 20 69 74 20 | 20 6a 75 73 74 20 20 6c |it, it | just l|
|00000600| 6f 6f 6b 73 20 20 6c 69 | 6b 65 20 20 61 74 6f 74 |ooks li|ke atot|
|00000610| 61 6c 6c 79 20 75 6e 70 | 72 6f 74 65 63 74 65 64 |ally unp|rotected|
|00000620| 20 42 41 53 49 43 20 6c | 6f 61 64 65 72 2c 20 62 | BASIC l|oader, b|
|00000630| 75 74 20 20 74 68 65 61 | 70 70 65 61 72 61 6e 63 |ut thea|ppearanc|
|00000640| 65 20 69 73 20 64 65 63 | 65 70 74 69 76 65 2e 20 |e is dec|eptive. |
|00000650| 54 68 65 20 20 66 69 76 | 65 20 20 62 6c 6f 63 6b |The fiv|e block|
|00000660| 73 69 74 20 6c 6f 61 64 | 73 20 61 72 65 20 74 68 |sit load|s are th|
|00000670| 65 20 6c 6f 61 64 69 6e | 67 20 73 63 72 65 65 6e |e loadin|g screen|
|00000680| 2c 20 74 68 65 20 20 67 | 61 6d 65 69 74 73 65 6c |, the g|ameitsel|
|00000690| 66 2c 20 61 20 64 65 63 | 72 79 70 74 65 72 20 61 |f, a dec|rypter a|
|000006a0| 74 20 23 35 42 38 30 2c | 20 61 6e 64 20 74 77 6f |t #5B80,| and two|
|000006b0| 20 76 65 72 79 73 68 6f | 72 74 20 20 62 6c 6f 63 | verysho|rt bloc|
|000006c0| 6b 73 20 20 6f 66 20 20 | 73 79 73 74 65 6d 20 20 |ks of |system |
|000006d0| 76 61 72 69 61 62 6c 65 | 73 2e 20 20 54 68 65 73 |variable|s. Thes|
|000006e0| 79 73 74 65 6d 20 76 61 | 72 69 61 62 6c 65 73 20 |ystem va|riables |
|000006f0| 61 72 65 2c 20 69 6e 20 | 61 63 74 75 61 6c 20 20 |are, in |actual |
|00000700| 66 61 63 74 20 20 74 68 | 65 42 41 53 49 43 20 63 |fact th|eBASIC c|
|00000710| 6c 6f 63 6b 2c 20 61 6e | 64 20 64 65 74 65 72 6d |lock, an|d determ|
|00000720| 69 6e 65 20 68 6f 77 20 | 6d 61 6e 79 20 20 35 30 |ine how |many 50|
|00000730| 74 68 73 6f 66 20 61 20 | 73 65 63 6f 6e 64 20 74 |thsof a |second t|
|00000740| 68 65 20 63 6f 6d 70 75 | 74 65 72 20 68 61 73 20 |he compu|ter has |
|00000750| 62 65 65 6e 20 73 77 69 | 74 63 68 65 64 6f 6e 20 |been swi|tchedon |
|00000760| 66 6f 72 2e 20 54 68 65 | 20 20 64 65 63 72 79 70 |for. The| decryp|
|00000770| 74 65 72 20 20 77 6f 72 | 6b 73 20 20 75 73 69 6e |ter wor|ks usin|
|00000780| 67 20 20 74 68 69 73 73 | 79 73 74 65 6d 20 76 61 |g thiss|ystem va|
|00000790| 72 69 61 62 6c 65 2e 20 | 54 68 65 20 75 70 73 68 |riable. |The upsh|
|000007a0| 6f 74 20 6f 66 20 61 6c | 6c 20 74 68 69 73 20 69 |ot of al|l this i|
|000007b0| 73 74 68 61 74 20 69 66 | 20 79 6f 75 20 20 73 74 |sthat if| you st|
|000007c0| 6f 70 20 20 74 68 65 20 | 20 70 72 6f 67 72 61 6d |op the | program|
|000007d0| 20 20 66 6f 72 20 20 65 | 76 65 6e 31 2f 35 30 74 | for e|ven1/50t|
|000007e0| 68 20 6f 66 20 61 20 73 | 65 63 6f 6e 64 2c 20 20 |h of a s|econd, |
|000007f0| 79 6f 75 27 6c 6c 20 20 | 6d 65 73 73 20 20 75 70 |you'll |mess up|
|00000800| 20 20 74 68 65 64 65 63 | 72 79 70 74 65 72 2e 20 | thedec|rypter. |
|00000810| 59 6f 75 20 63 61 6e 20 | 67 65 74 20 72 6f 75 6e |You can |get roun|
|00000820| 64 20 74 68 69 73 20 20 | 77 69 74 68 20 20 61 4d |d this |with aM|
|00000830| 75 6c 74 69 66 61 63 65 | 20 62 79 20 6c 6f 61 64 |ultiface| by load|
|00000840| 69 6e 67 20 69 6e 20 20 | 74 68 65 20 20 66 69 72 |ing in |the fir|
|00000850| 73 74 20 20 74 68 72 65 | 65 62 6c 6f 63 6b 73 20 |st thre|eblocks |
|00000860| 6f 66 20 63 6f 64 65 2c | 20 74 68 65 6e 20 72 65 |of code,| then re|
|00000870| 70 6c 61 63 69 6e 67 20 | 74 68 65 20 63 6f 64 65 |placing |the code|
|00000880| 20 61 74 23 35 42 38 30 | 20 77 69 74 68 20 23 46 | at#5B80| with #F|
|00000890| 33 2c 23 31 38 20 61 6e | 64 20 23 46 45 2e 20 54 |3,#18 an|d #FE. T|
|000008a0| 68 69 73 20 20 64 69 73 | 61 62 6c 65 73 69 6e 74 |his dis|ablesint|
|000008b0| 65 72 72 75 70 74 73 2c | 20 73 6f 20 74 68 65 20 |errupts,| so the |
|000008c0| 73 79 73 74 65 6d 20 76 | 61 72 69 61 62 6c 65 20 |system v|ariable |
|000008d0| 64 6f 65 73 6e 27 74 67 | 65 74 20 75 70 64 61 74 |doesn'tg|et updat|
|000008e0| 65 64 2c 20 61 6e 64 20 | 63 61 75 73 65 73 20 61 |ed, and |causes a|
|000008f0| 6e 20 20 65 6e 64 6c 65 | 73 73 20 20 6c 6f 6f 70 |n endle|ss loop|
|00000900| 2e 4c 6f 61 64 20 69 6e | 20 74 68 65 20 6c 61 73 |.Load in| the las|
|00000910| 74 20 74 77 6f 20 62 6c | 6f 63 6b 73 2c 20 61 63 |t two bl|ocks, ac|
|00000920| 74 69 76 61 74 65 20 20 | 74 68 65 4d 75 6c 74 69 |tivate |theMulti|
|00000930| 66 61 63 65 2c 20 61 6e | 64 20 66 69 6e 64 20 6f |face, an|d find o|
|00000940| 75 74 20 20 77 68 61 74 | 20 20 74 68 65 20 20 73 |ut what| the s|
|00000950| 79 73 74 65 6d 76 61 72 | 69 61 62 6c 65 20 73 68 |ystemvar|iable sh|
|00000960| 6f 75 6c 64 20 62 65 2e | 20 54 68 65 6e 20 79 6f |ould be.| Then yo|
|00000970| 75 20 63 61 6e 20 70 75 | 74 20 20 74 68 69 73 69 |u can pu|t thisi|
|00000980| 6e 74 6f 20 74 68 65 20 | 64 65 63 72 79 70 74 65 |nto the |decrypte|
|00000990| 72 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 2e |r automa|tically.|
|000009a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 49 4b | | MIK|
|00000a00| 52 4f 2d 47 45 4e 20 4c | 4f 41 44 45 52 20 20 20 |RO-GEN L|OADER |
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a50| 20 54 68 69 73 20 6c 6f | 61 64 69 6e 67 20 73 79 | This lo|ading sy|
|00000a60| 73 74 65 6d 20 61 70 70 | 65 61 72 65 64 20 6f 6e |stem app|eared on|
|00000a70| 20 6a 75 73 74 20 61 62 | 6f 75 74 65 76 65 72 79 | just ab|outevery|
|00000a80| 20 67 61 6d 65 20 72 65 | 6c 65 61 73 65 64 20 62 | game re|leased b|
|00000a90| 79 20 74 68 65 20 73 6f | 66 74 77 61 72 65 20 20 |y the so|ftware |
|00000aa0| 68 6f 75 73 65 4d 69 6b | 72 6f 2d 47 65 6e 20 20 |houseMik|ro-Gen |
|00000ab0| 28 6f 64 64 6c 79 20 20 | 65 6e 6f 75 67 68 21 29 |(oddly |enough!)|
|00000ac0| 20 20 20 66 72 6f 6d 20 | 20 20 61 62 6f 75 74 6d | from | aboutm|
|00000ad0| 69 64 2d 38 34 20 74 6f | 20 74 68 65 69 72 20 64 |id-84 to| their d|
|00000ae0| 65 6d 69 73 65 20 69 6e | 20 31 39 38 37 2e 20 54 |emise in| 1987. T|
|00000af0| 68 65 79 20 20 63 6f 6d | 65 69 6e 20 20 74 77 6f |hey com|ein two|
|00000b00| 20 20 76 61 72 69 65 74 | 69 65 73 2c 20 20 61 6e | variet|ies, an|
|00000b10| 64 20 20 79 6f 75 27 6c | 6c 20 20 6e 65 65 64 20 |d you'l|l need |
|00000b20| 20 20 61 4d 75 6c 74 69 | 66 61 63 65 20 74 6f 20 | aMulti|face to |
|00000b30| 68 61 63 6b 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |hack som|e of the|
|00000b40| 20 6c 61 74 65 72 20 20 | 6f 6e 65 73 2c 75 6e 66 | later |ones,unf|
|00000b50| 6f 72 74 75 6e 61 74 65 | 6c 79 2e 20 20 20 54 68 |ortunate|ly. Th|
|00000b60| 65 20 20 20 66 69 72 73 | 74 20 20 20 74 79 70 65 |e firs|t type|
|00000b70| 20 20 20 20 61 72 65 72 | 65 63 6f 67 6e 69 73 65 | arer|ecognise|
|00000b80| 64 20 20 62 79 20 20 62 | 6c 61 63 6b 20 20 61 6e |d by b|lack an|
|00000b90| 64 20 20 77 68 69 74 65 | 20 20 6c 6f 61 64 69 6e |d white| loadin|
|00000ba0| 67 73 74 72 69 70 65 73 | 2c 20 77 68 69 63 68 20 |gstripes|, which |
|00000bb0| 6c 6f 61 64 73 20 69 6e | 20 20 61 20 20 73 63 72 |loads in| a scr|
|00000bc0| 65 65 6e 20 20 62 6c 6f | 63 6b 2c 61 6e 64 20 74 |een blo|ck,and t|
|00000bd0| 68 65 6e 20 74 68 65 20 | 6d 61 69 6e 20 67 61 6d |hen the |main gam|
|00000be0| 65 20 20 62 6c 6f 63 6b | 20 20 73 65 70 61 72 61 |e block| separa|
|00000bf0| 74 65 6c 79 2e 49 27 6c | 6c 20 62 65 20 64 6f 69 |tely.I'l|l be doi|
|00000c00| 6e 67 20 50 79 6a 61 6d | 61 72 61 6d 61 20 20 61 |ng Pyjam|arama a|
|00000c10| 73 20 20 61 6e 20 20 65 | 78 61 6d 70 6c 65 2c 62 |s an e|xample,b|
|00000c20| 75 74 20 61 6e 79 20 4d | 69 6b 72 6f 20 20 47 65 |ut any M|ikro Ge|
|00000c30| 6e 20 20 67 61 6d 65 20 | 20 77 68 69 63 68 20 20 |n game | which |
|00000c40| 66 69 74 73 20 20 74 68 | 65 61 62 6f 76 65 20 64 |fits th|eabove d|
|00000c50| 65 73 63 72 69 70 74 69 | 6f 6e 20 77 69 6c 6c 20 |escripti|on will |
|00000c60| 64 6f 2e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |do. | |
|00000c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 6f 20 | | So |
|00000ca0| 74 68 65 20 66 69 72 73 | 74 20 74 68 69 6e 67 20 |the firs|t thing |
|00000cb0| 74 6f 20 64 6f 20 69 73 | 20 74 6f 20 20 2a 48 61 |to do is| to *Ha|
|00000cc0| 63 6b 20 20 74 68 65 42 | 41 53 49 43 20 6c 6f 61 |ck theB|ASIC loa|
|00000cd0| 64 65 72 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |der. | |
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d10| 20 20 20 20 20 20 20 20 | 20 20 20 50 59 4a 41 4d | | PYJAM|
|00000d20| 41 52 41 4d 41 20 4c 49 | 4e 45 20 30 20 4c 45 4e |ARAMA LI|NE 0 LEN|
|00000d30| 20 35 30 34 20 20 20 20 | 20 20 20 20 20 20 20 20 | 504 | |
|00000d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 30 | | 0|
|00000d70| 20 42 4f 52 44 45 52 20 | 37 3a 50 41 50 45 52 20 | BORDER |7:PAPER |
|00000d80| 37 3a 49 4e 4b 20 30 3a | 42 52 49 47 48 54 20 30 |7:INK 0:|BRIGHT 0|
|00000d90| 3a 46 4c 41 53 48 20 20 | 20 30 3a 43 4c 53 3a 50 |:FLASH | 0:CLS:P|
|00000da0| 52 49 4e 54 20 41 54 20 | 31 32 2c 31 32 3b 22 4c |RINT AT |12,12;"L|
|00000db0| 4f 41 44 49 4e 47 22 3a | 52 41 4e 44 4f 4d 49 5a |OADING":|RANDOMIZ|
|00000dc0| 45 20 20 55 53 52 20 28 | 50 45 45 4b 20 32 33 36 |E USR (|PEEK 236|
|00000dd0| 32 37 2b 32 35 36 2a 50 | 45 45 4b 20 32 33 36 32 |27+256*P|EEK 2362|
|00000de0| 38 2b 36 29 20 32 30 20 | 50 4f 4b 45 20 32 33 37 |8+6) 20 |POKE 237|
|00000df0| 35 36 2c 30 3a 50 4f 4b | 45 20 32 33 37 35 37 2c |56,0:POK|E 23757,|
|00000e00| 30 3a 53 41 56 45 20 22 | 50 59 4a 41 4d 41 52 41 |0:SAVE "|PYJAMARA|
|00000e10| 4d 41 22 20 20 20 20 4c | 49 4e 45 20 30 3a 52 41 |MA" L|INE 0:RA|
|00000e20| 4e 44 4f 4d 49 5a 45 20 | 55 53 52 20 33 33 30 34 |NDOMIZE |USR 3304|
|00000e30| 30 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0 | |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e60| 20 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 42 | | The B|
|00000e70| 41 53 49 43 20 6c 6f 61 | 64 65 72 20 20 61 63 74 |ASIC loa|der act|
|00000e80| 75 61 6c 6c 79 20 20 66 | 65 61 74 75 72 65 73 20 |ually f|eatures |
|00000e90| 20 6d 75 63 68 6d 6f 72 | 65 20 74 68 61 6e 20 77 | muchmor|e than w|
|00000ea0| 68 61 74 20 77 65 20 63 | 61 6e 20 6c 69 73 74 2e |hat we c|an list.|
|00000eb0| 20 49 66 20 79 6f 75 27 | 72 65 20 20 6f 6c 64 65 | If you'|re olde|
|00000ec0| 6e 6f 75 67 68 20 74 6f | 20 72 65 6d 65 6d 62 65 |nough to| remembe|
|00000ed0| 72 20 74 68 65 20 5a 58 | 38 31 2c 20 79 6f 75 27 |r the ZX|81, you'|
|00000ee0| 6c 6c 20 72 65 63 61 6c | 6c 74 68 61 74 20 74 68 |ll recal|lthat th|
|00000ef0| 65 20 62 65 73 74 20 70 | 6c 61 63 65 20 74 6f 20 |e best p|lace to |
|00000f00| 70 75 74 20 61 20 6d 61 | 63 68 69 6e 65 20 20 63 |put a ma|chine c|
|00000f10| 6f 64 65 70 72 6f 67 72 | 61 6d 20 69 73 20 69 6e |odeprogr|am is in|
|00000f20| 20 61 20 52 45 4d 20 73 | 74 61 74 65 6d 65 6e 74 | a REM s|tatement|
|00000f30| 2e 20 41 6e 64 20 20 74 | 68 61 74 27 73 61 6c 6d |. And t|hat'salm|
|00000f40| 6f 73 74 20 74 68 65 20 | 63 61 73 65 20 68 65 72 |ost the |case her|
|00000f50| 65 2c 20 65 78 63 65 70 | 74 20 20 74 68 65 20 20 |e, excep|t the |
|00000f60| 6d 61 63 68 69 6e 65 63 | 6f 64 65 20 20 63 6f 6d |machinec|ode com|
|00000f70| 65 73 20 20 61 66 74 65 | 72 20 20 74 68 65 20 20 |es afte|r the |
|00000f80| 41 53 43 49 49 20 20 63 | 6f 64 65 20 20 20 23 30 |ASCII c|ode #0|
|00000f90| 44 28 6e 65 77 6c 69 6e | 65 29 2c 20 73 6f 20 79 |D(newlin|e), so y|
|00000fa0| 6f 75 20 63 61 6e 27 74 | 20 6c 69 73 74 20 69 74 |ou can't| list it|
|00000fb0| 2e 20 42 75 74 20 20 69 | 74 27 73 74 68 65 72 65 |. But i|t'sthere|
|00000fc0| 2e 20 49 74 27 73 20 61 | 63 74 69 76 61 74 65 64 |. It's a|ctivated|
|00000fd0| 20 62 79 20 74 68 65 20 | 52 41 4e 44 4f 4d 49 5a | by the |RANDOMIZ|
|00000fe0| 45 20 55 53 52 63 6f 6d | 6d 61 6e 64 2e 20 54 79 |E USRcom|mand. Ty|
|00000ff0| 70 65 20 50 52 49 4e 54 | 20 20 28 50 45 45 4b 20 |pe PRINT| (PEEK |
|00001000| 20 32 33 36 32 37 2b 32 | 35 36 2a 50 45 45 4b 32 | 23627+2|56*PEEK2|
|00001010| 33 36 32 38 2b 36 29 20 | 61 6e 64 20 79 6f 75 27 |3628+6) |and you'|
|00001020| 6c 6c 20 20 66 69 6e 64 | 20 20 6f 75 74 20 20 74 |ll find| out t|
|00001030| 68 65 20 20 73 74 61 72 | 74 61 64 64 72 65 73 73 |he star|taddress|
|00001040| 20 6f 66 20 74 68 65 20 | 20 63 6f 64 65 2e 20 20 | of the | code. |
|00001050| 49 20 20 6d 61 64 65 20 | 20 69 74 20 20 32 33 39 |I made | it 239|
|00001060| 38 34 2c 77 68 69 63 68 | 20 69 73 20 35 44 42 30 |84,which| is 5DB0|
|00001070| 20 68 65 78 20 28 62 75 | 74 20 79 6f 75 20 6d 69 | hex (bu|t you mi|
|00001080| 67 68 74 20 20 66 69 6e | 64 20 20 69 74 74 6f 20 |ght fin|d itto |
|00001090| 62 65 20 73 6f 6d 65 74 | 68 69 6e 67 20 64 69 66 |be somet|hing dif|
|000010a0| 66 65 72 65 6e 74 29 2c | 20 73 6f 20 64 69 73 61 |ferent),| so disa|
|000010b0| 73 73 65 6d 62 6c 65 74 | 68 69 73 20 61 64 64 72 |ssemblet|his addr|
|000010c0| 65 73 73 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |ess. | |
|000010d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|00001160| 44 42 30 20 46 33 20 44 | 49 20 20 20 20 20 20 20 |DB0 F3 D|I |
|00001170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001180| 20 20 20 20 20 20 20 20 | 20 35 44 42 31 20 33 31 | | 5DB1 31|
|00001190| 20 30 30 20 30 30 20 4c | 44 20 53 50 2c 23 30 30 | 00 00 L|D SP,#00|
|000011a0| 30 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |00 | |
|000011b0| 20 20 20 35 44 42 34 20 | 32 41 20 34 42 20 35 43 | 5DB4 |2A 4B 5C|
|000011c0| 20 4c 44 20 48 4c 2c 28 | 23 35 43 34 42 29 20 20 | LD HL,(|#5C4B) |
|000011d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 44 42 | | 5DB|
|000011e0| 37 20 31 31 20 31 43 20 | 30 30 20 4c 44 20 44 45 |7 11 1C |00 LD DE|
|000011f0| 2c 23 30 30 31 43 20 20 | 20 20 20 20 20 20 20 20 |,#001C | |
|00001200| 20 20 20 20 20 20 20 35 | 44 42 41 20 31 39 20 41 | 5|DBA 19 A|
|00001210| 44 44 20 48 4c 2c 44 45 | 20 20 20 20 20 20 20 20 |DD HL,DE| |
|00001220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001230| 20 35 44 42 42 20 31 31 | 20 31 36 20 38 30 20 4c | 5DBB 11| 16 80 L|
|00001240| 44 20 44 45 2c 38 30 31 | 36 20 20 20 20 20 20 20 |D DE,801|6 |
|00001250| 20 20 20 20 20 20 20 20 | 20 20 20 35 44 42 45 20 | | 5DBE |
|00001260| 30 31 20 45 37 20 30 30 | 20 4c 44 20 42 43 2c 30 |01 E7 00| LD BC,0|
|00001270| 30 45 37 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0E7 | |
|00001280| 20 20 20 20 20 35 44 43 | 31 20 45 44 20 42 30 20 | 5DC|1 ED B0 |
|00001290| 4c 44 49 52 20 20 20 20 | 20 20 20 20 20 20 20 20 |LDIR | |
|000012a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|000012b0| 44 43 33 20 43 33 20 31 | 36 20 38 30 20 4a 50 20 |DC3 C3 1|6 80 JP |
|000012c0| 38 30 31 36 20 20 20 20 | 20 20 20 20 20 20 20 20 |8016 | |
|000012d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001300| 20 20 20 48 6f 70 65 66 | 75 6c 6c 79 20 20 74 68 | Hopef|ully th|
|00001310| 65 20 20 44 49 20 20 61 | 6e 64 20 20 74 68 65 20 |e DI a|nd the |
|00001320| 20 4c 44 20 20 53 50 2c | 23 30 30 30 30 73 68 6f | LD SP,|#0000sho|
|00001330| 75 6c 64 20 62 65 20 66 | 61 6d 69 6c 69 61 72 2e |uld be f|amiliar.|
|00001340| 20 54 68 65 20 6e 65 78 | 74 20 6c 69 6e 65 20 6c | The nex|t line l|
|00001350| 6f 61 64 73 20 48 4c 77 | 69 74 68 20 74 68 65 20 |oads HLw|ith the |
|00001360| 74 77 6f 20 62 79 74 65 | 20 76 61 6c 75 65 20 73 |two byte| value s|
|00001370| 74 61 72 74 69 6e 67 20 | 61 74 20 20 35 43 34 42 |tarting |at 5C4B|
|00001380| 2e 49 20 6d 61 64 65 20 | 69 74 20 35 44 41 41 2e |.I made |it 5DAA.|
|00001390| 20 54 68 69 73 20 20 74 | 68 65 6e 20 20 68 61 73 | This t|hen has|
|000013a0| 20 20 31 43 20 20 61 64 | 64 65 64 6f 6e 74 6f 20 | 1C ad|dedonto |
|000013b0| 69 74 2c 20 6d 61 6b 69 | 6e 67 20 69 74 20 35 44 |it, maki|ng it 5D|
|000013c0| 43 36 2e 20 54 68 65 20 | 72 65 73 74 20 20 6f 66 |C6. The |rest of|
|000013d0| 20 20 74 68 65 63 6f 64 | 65 20 69 73 20 61 20 73 | thecod|e is a s|
|000013e0| 69 6d 70 6c 65 20 4c 44 | 49 52 20 63 6f 6d 6d 61 |imple LD|IR comma|
|000013f0| 6e 64 2c 20 77 68 69 63 | 68 20 20 70 75 74 73 74 |nd, whic|h putst|
|00001400| 68 65 20 6c 6f 61 64 69 | 6e 67 20 73 79 73 74 65 |he loadi|ng syste|
|00001410| 6d 20 74 6f 20 77 68 65 | 72 65 20 69 74 20 73 68 |m to whe|re it sh|
|00001420| 6f 75 6c 64 20 20 62 65 | 2e 49 6e 20 20 6f 75 72 |ould be|.In our|
|00001430| 20 20 68 61 63 6b 2c 20 | 20 77 65 20 20 63 61 6e | hack, | we can|
|00001440| 20 20 20 73 69 6d 70 6c | 79 20 20 20 75 73 65 20 | simpl|y use |
|00001450| 20 20 61 68 65 61 64 65 | 72 6c 65 73 73 20 6c 6f | aheade|rless lo|
|00001460| 61 64 65 72 20 74 6f 20 | 6c 6f 61 64 20 20 74 68 |ader to |load th|
|00001470| 65 20 20 63 6f 64 65 20 | 20 69 6e 74 6f 70 6c 61 |e code | intopla|
|00001480| 63 65 2e 20 57 65 20 6b | 6e 6f 77 20 74 68 61 74 |ce. We k|now that|
|00001490| 20 20 35 44 43 36 20 20 | 67 6f 65 73 20 20 74 6f | 5DC6 |goes to|
|000014a0| 20 20 38 30 31 36 2e 42 | 41 53 49 43 20 61 6c 77 | 8016.B|ASIC alw|
|000014b0| 61 79 73 20 73 74 61 72 | 74 73 20 61 74 20 74 68 |ays star|ts at th|
|000014c0| 65 20 76 61 6c 75 65 20 | 69 6e 20 23 35 43 35 33 |e value |in #5C53|
|000014d0| 2c 77 68 69 63 68 20 69 | 73 20 23 35 43 43 42 20 |,which i|s #5CCB |
|000014e0| 69 6e 20 74 68 69 73 20 | 63 61 73 65 2e 20 57 65 |in this |case. We|
|000014f0| 20 6b 6e 6f 77 20 20 74 | 68 61 74 74 68 65 20 6c | know t|hatthe l|
|00001500| 65 6e 67 74 68 20 69 73 | 20 35 30 34 2c 20 6f 72 |ength is| 504, or|
|00001510| 20 23 31 46 38 20 68 65 | 78 20 62 79 74 65 73 20 | #1F8 he|x bytes |
|00001520| 6c 6f 6e 67 2c 61 6e 64 | 20 20 20 20 20 74 68 65 |long,and| the|
|00001530| 20 20 20 20 20 73 74 61 | 72 74 20 20 20 20 20 20 | sta|rt |
|00001540| 61 64 64 72 65 73 73 20 | 20 20 20 20 20 69 73 28 |address | is(|
|00001550| 23 35 43 43 42 2d 23 35 | 44 43 36 29 2b 38 30 31 |#5CCB-#5|DC6)+801|
|00001560| 36 20 3d 20 23 37 46 31 | 42 2e 20 20 53 6f 2c 20 |6 = #7F1|B. So, |
|00001570| 20 72 75 6e 20 20 74 68 | 65 66 6f 6c 6c 6f 77 69 | run th|efollowi|
|00001580| 6e 67 20 72 6f 75 74 69 | 6e 65 2e 20 20 20 20 20 |ng routi|ne. |
|00001590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 42 30 | | 5B0|
|000015d0| 30 20 44 44 20 32 31 20 | 31 42 20 37 46 20 4c 44 |0 DD 21 |1B 7F LD|
|000015e0| 20 49 58 2c 23 37 46 31 | 42 20 20 20 20 20 20 20 | IX,#7F1|B |
|000015f0| 20 20 20 20 20 20 20 35 | 42 30 34 20 31 31 20 46 | 5|B04 11 F|
|00001600| 38 20 30 31 20 4c 44 20 | 44 45 2c 23 30 31 46 38 |8 01 LD |DE,#01F8|
|00001610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001620| 20 35 42 30 37 20 33 45 | 20 46 46 20 4c 44 20 41 | 5B07 3E| FF LD A|
|00001630| 2c 23 46 46 20 20 20 20 | 20 20 20 20 20 20 20 20 |,#FF | |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 35 42 30 39 20 | | 5B09 |
|00001650| 33 37 20 53 43 46 20 20 | 20 20 20 20 20 20 20 20 |37 SCF | |
|00001660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001670| 20 20 20 20 20 35 42 30 | 41 20 43 44 20 35 36 20 | 5B0|A CD 56 |
|00001680| 30 35 20 43 41 4c 4c 20 | 23 30 35 35 36 20 20 20 |05 CALL |#0556 |
|00001690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|000016a0| 42 30 44 20 33 30 20 46 | 31 20 4a 52 20 4e 43 2c |B0D 30 F|1 JR NC,|
|000016b0| 23 35 42 30 30 20 20 20 | 20 20 20 20 20 20 20 20 |#5B00 | |
|000016c0| 20 20 20 20 20 20 20 20 | 20 35 42 30 46 20 43 39 | | 5B0F C9|
|000016d0| 20 52 45 54 20 20 20 20 | 20 20 20 20 20 20 20 20 | RET | |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017c0| 20 20 20 20 20 49 27 76 | 65 20 70 75 74 20 61 20 | I'v|e put a |
|000017d0| 4a 52 20 4e 43 2c 23 35 | 42 30 30 20 20 69 6e 2c |JR NC,#5|B00 in,|
|000017e0| 20 20 73 6f 20 20 74 68 | 61 74 20 20 74 68 65 63 | so th|at thec|
|000017f0| 6f 6d 70 75 74 65 72 20 | 69 67 6e 6f 72 65 73 20 |omputer |ignores |
|00001800| 20 74 68 65 20 20 42 41 | 53 49 43 20 20 68 65 61 | the BA|SIC hea|
|00001810| 64 65 72 2c 20 20 61 6e | 64 77 69 6c 6c 20 6f 6e |der, an|dwill on|
|00001820| 6c 79 20 72 65 74 75 72 | 6e 20 6f 6e 20 6c 6f 61 |ly retur|n on loa|
|00001830| 64 69 6e 67 20 74 68 65 | 20 6d 61 69 6e 20 42 41 |ding the| main BA|
|00001840| 53 49 43 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |SIC | |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 6c 6f | | blo|
|00001870| 63 6b 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 61 |ck. You |should a|
|00001880| 6c 73 6f 20 6e 6f 74 65 | 2c 20 74 68 61 74 20 20 |lso note|, that |
|00001890| 69 6e 20 20 74 68 65 66 | 69 6e 61 6c 20 68 61 63 |in thef|inal hac|
|000018a0| 6b 2c 20 77 65 27 6c 6c | 20 68 61 76 65 20 74 6f |k, we'll| have to|
|000018b0| 20 61 64 64 20 61 20 44 | 49 20 20 61 6e 64 20 20 | add a D|I and |
|000018c0| 61 4c 44 20 53 50 2c 23 | 30 30 30 30 20 73 6f 6d |aLD SP,#|0000 som|
|000018d0| 65 74 69 6d 65 2e 20 46 | 6f 72 20 6e 6f 77 2c 20 |etime. F|or now, |
|000018e0| 64 69 73 61 73 73 65 6d | 62 6c 65 20 20 20 20 20 |disassem|ble |
|000018f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001910| 20 20 20 20 20 23 38 30 | 31 36 20 20 20 20 20 20 | #80|16 |
|00001920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001960| 20 20 20 20 20 20 20 20 | 20 38 30 31 36 20 44 44 | | 8016 DD|
|00001970| 20 32 31 20 30 30 20 34 | 30 20 4c 44 20 49 58 2c | 21 00 4|0 LD IX,|
|00001980| 23 34 30 30 30 20 20 20 | 20 20 20 20 20 20 20 20 |#4000 | |
|00001990| 20 20 20 38 30 31 41 20 | 31 31 20 30 31 20 31 42 | 801A |11 01 1B|
|000019a0| 20 4c 44 20 44 45 2c 23 | 31 42 30 31 20 20 20 20 | LD DE,#|1B01 |
|000019b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 38 30 31 | | 801|
|000019c0| 44 20 43 44 20 34 46 20 | 38 30 20 43 41 4c 4c 20 |D CD 4F |80 CALL |
|000019d0| 23 38 30 34 46 20 20 20 | 20 20 20 20 20 20 20 20 |#804F | |
|000019e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a10| 20 54 68 69 73 20 63 6f | 64 65 20 61 63 74 69 76 | This co|de activ|
|00001a20| 61 74 65 73 20 74 68 65 | 20 74 75 72 62 6f 6c 6f |ates the| turbolo|
|00001a30| 61 64 65 72 2c 20 77 68 | 69 63 68 6c 6f 61 64 73 |ader, wh|ichloads|
|00001a40| 20 69 6e 20 74 68 65 20 | 74 69 74 6c 65 20 73 63 | in the |title sc|
|00001a50| 72 65 65 6e 2e 20 20 20 | 20 20 20 20 20 20 20 20 |reen. | |
|00001a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 38 | | 8|
|00001a90| 30 32 30 20 32 31 20 30 | 30 20 34 30 20 4c 44 20 |020 21 0|0 40 LD |
|00001aa0| 48 4c 2c 23 34 30 30 30 | 20 20 20 20 20 20 20 20 |HL,#4000| |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 38 30 32 33 20 30 31 | | 8023 01|
|00001ac0| 20 30 30 20 31 42 20 4c | 44 20 42 43 2c 23 31 42 | 00 1B L|D BC,#1B|
|00001ad0| 30 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |00 | |
|00001ae0| 20 20 20 38 30 32 36 20 | 43 44 20 33 46 20 38 30 | 8026 |CD 3F 80|
|00001af0| 20 43 41 4c 4c 20 23 38 | 30 33 46 20 20 20 20 20 | CALL #8|03F |
|00001b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b30| 20 20 20 20 20 20 20 54 | 68 69 73 20 63 6f 64 65 | T|his code|
|00001b40| 20 76 65 72 69 66 69 65 | 73 20 20 74 68 61 74 20 | verifie|s that |
|00001b50| 20 74 68 65 20 20 73 63 | 72 65 65 6e 20 20 68 61 | the sc|reen ha|
|00001b60| 73 6c 6f 61 64 65 64 20 | 69 6e 20 70 72 6f 70 65 |sloaded |in prope|
|00001b70| 72 6c 79 20 28 74 68 65 | 20 72 6f 75 74 69 6e 65 |rly (the| routine|
|00001b80| 20 20 61 74 20 20 23 38 | 30 33 46 61 64 64 73 20 | at #8|03Fadds |
|00001b90| 75 70 20 61 6c 6c 20 74 | 68 65 20 6d 65 6d 6f 72 |up all t|he memor|
|00001ba0| 79 20 77 69 74 68 20 73 | 74 61 72 74 20 20 48 4c |y with s|tart HL|
|00001bb0| 20 20 61 6e 64 6c 65 6e | 67 74 68 20 42 43 2c 20 | andlen|gth BC, |
|00001bc0| 61 6e 64 20 63 6f 6d 70 | 61 72 65 73 20 69 74 20 |and comp|ares it |
|00001bd0| 77 69 74 68 20 20 74 68 | 65 20 20 62 79 74 65 61 |with th|e bytea|
|00001be0| 66 74 65 72 20 74 68 69 | 73 20 62 6c 6f 63 6b 29 |fter thi|s block)|
|00001bf0| 2c 20 61 6e 64 20 72 65 | 73 65 74 73 20 74 68 65 |, and re|sets the|
|00001c00| 20 63 6f 6d 70 75 74 65 | 72 69 66 20 69 74 20 68 | compute|rif it h|
|00001c10| 61 73 6e 27 74 2e 20 20 | 20 20 20 20 20 20 20 20 |asn't. | |
|00001c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 38 30 32 | | 802|
|00001c60| 39 20 44 44 20 32 31 20 | 30 30 20 38 32 20 4c 44 |9 DD 21 |00 82 LD|
|00001c70| 20 49 58 2c 23 38 32 30 | 30 20 20 20 20 20 20 20 | IX,#820|0 |
|00001c80| 20 20 20 20 20 20 20 38 | 30 32 44 20 31 31 20 41 | 8|02D 11 A|
|00001c90| 30 20 37 41 20 4c 44 20 | 44 45 2c 23 37 41 41 30 |0 7A LD |DE,#7AA0|
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cb0| 20 38 30 33 30 20 43 44 | 20 34 46 20 38 30 20 43 | 8030 CD| 4F 80 C|
|00001cc0| 41 4c 4c 20 23 38 30 34 | 46 20 20 20 20 20 20 20 |ALL #804|F |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 38 30 33 33 20 | | 8033 |
|00001ce0| 32 31 20 30 30 20 38 32 | 20 4c 44 20 48 4c 2c 23 |21 00 82| LD HL,#|
|00001cf0| 38 32 30 30 20 20 20 20 | 20 20 20 20 20 20 20 20 |8200 | |
|00001d00| 20 20 20 20 20 38 30 33 | 36 20 30 31 20 39 46 20 | 803|6 01 9F |
|00001d10| 37 41 20 4c 44 20 42 43 | 2c 23 37 41 39 46 20 20 |7A LD BC|,#7A9F |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 38 | | 8|
|00001d30| 30 33 39 20 43 44 20 33 | 46 20 38 30 20 43 41 4c |039 CD 3|F 80 CAL|
|00001d40| 4c 20 23 38 30 33 46 20 | 20 20 20 20 20 20 20 20 |L #803F | |
|00001d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 69 | | Thi|
|00001db0| 73 20 69 73 20 20 65 78 | 61 63 74 6c 79 20 20 74 |s is ex|actly t|
|00001dc0| 68 65 20 20 73 61 6d 65 | 20 20 61 73 20 20 77 69 |he same| as wi|
|00001dd0| 74 68 20 20 74 68 65 70 | 72 65 76 69 6f 75 73 20 |th thep|revious |
|00001de0| 63 6f 64 65 2c 20 65 78 | 63 65 70 74 20 69 74 20 |code, ex|cept it |
|00001df0| 6c 6f 61 64 73 20 61 6e | 64 20 20 63 68 65 63 6b |loads an|d check|
|00001e00| 73 74 68 65 20 20 6d 61 | 69 6e 20 20 67 61 6d 65 |sthe ma|in game|
|00001e10| 20 20 69 6e 73 74 65 61 | 64 20 20 6f 66 20 20 74 | instea|d of t|
|00001e20| 68 65 20 20 6c 6f 61 64 | 69 6e 67 73 63 72 65 65 |he load|ingscree|
|00001e30| 6e 2e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 38 | | 8|
|00001e80| 30 33 43 20 43 33 20 38 | 39 20 46 43 20 4a 50 20 |03C C3 8|9 FC JP |
|00001e90| 23 46 43 38 39 20 20 20 | 20 20 20 20 20 20 20 20 |#FC89 | |
|00001ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ed0| 20 20 20 50 75 74 20 61 | 20 62 72 65 61 6b 70 6f | Put a| breakpo|
|00001ee0| 69 6e 74 20 20 6f 76 65 | 72 20 20 74 68 69 73 20 |int ove|r this |
|00001ef0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 2e 4e 6f 77 | instruc|tion.Now|
|00001f00| 20 50 4f 4b 45 20 23 38 | 30 31 32 20 77 69 74 68 | POKE #8|012 with|
|00001f10| 20 46 33 2c 20 20 23 38 | 30 31 33 20 20 77 69 74 | F3, #8|013 wit|
|00001f20| 68 20 20 23 33 31 2c 23 | 38 30 31 34 20 77 69 74 |h #31,#|8014 wit|
|00001f30| 68 20 23 30 30 20 61 6e | 64 20 23 38 30 31 35 20 |h #00 an|d #8015 |
|00001f40| 77 69 74 68 20 23 30 30 | 20 28 62 65 63 61 75 73 |with #00| (becaus|
|00001f50| 65 77 65 20 64 69 64 6e | 27 74 20 65 78 65 63 75 |ewe didn|'t execu|
|00001f60| 74 65 20 74 68 65 20 44 | 49 3a 4c 44 20 53 50 2c |te the D|I:LD SP,|
|00001f70| 23 30 30 30 30 20 20 66 | 72 6f 6d 74 68 65 20 42 |#0000 f|romthe B|
|00001f80| 41 53 49 43 20 6c 6f 61 | 64 65 72 2c 20 61 6e 64 |ASIC loa|der, and|
|00001f90| 20 74 68 65 20 20 67 61 | 6d 65 20 20 77 69 6c 6c | the ga|me will|
|00001fa0| 20 20 6e 6f 74 6c 6f 61 | 64 20 6f 74 68 65 72 77 | notloa|d otherw|
|00001fb0| 69 73 65 29 2c 20 4a 50 | 20 23 38 30 31 32 20 20 |ise), JP| #8012 |
|00001fc0| 61 6e 64 20 20 73 74 61 | 72 74 20 20 74 68 65 74 |and sta|rt thet|
|00001fd0| 61 70 65 2e 20 20 57 68 | 65 6e 20 20 74 68 65 20 |ape. Wh|en the |
|00001fe0| 20 20 6d 61 69 6e 20 20 | 20 67 61 6d 65 27 73 20 | main | game's |
|00001ff0| 20 20 6c 6f 61 64 65 64 | 2c 64 69 73 61 73 73 65 | loaded|,disasse|
|00002000| 6d 62 6c 65 20 23 46 43 | 38 39 2e 20 20 20 20 20 |mble #FC|89. |
|00002010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 46 43 38 | | FC8|
|00002050| 39 20 32 31 20 45 46 20 | 42 34 20 4c 44 20 48 4c |9 21 EF |B4 LD HL|
|00002060| 2c 23 42 34 45 46 20 20 | 20 20 20 20 20 20 20 20 |,#B4EF | |
|00002070| 20 20 20 20 20 20 20 46 | 43 38 43 20 31 31 20 30 | F|C8C 11 0|
|00002080| 30 20 34 30 20 4c 44 20 | 44 45 2c 23 34 30 30 30 |0 40 LD |DE,#4000|
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020a0| 20 46 43 38 46 20 30 31 | 20 30 30 20 31 42 20 4c | FC8F 01| 00 1B L|
|000020b0| 44 20 42 43 2c 23 31 42 | 30 30 20 20 20 20 20 20 |D BC,#1B|00 |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 46 43 39 32 20 | | FC92 |
|000020d0| 31 41 20 4c 44 20 41 2c | 28 44 45 29 20 20 20 20 |1A LD A,|(DE) |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020f0| 20 20 20 20 20 46 43 39 | 33 20 41 45 20 58 4f 52 | FC9|3 AE XOR|
|00002100| 20 28 48 4c 29 20 20 20 | 20 20 20 20 20 20 20 20 | (HL) | |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 46 | | F|
|00002120| 43 39 34 20 37 37 20 4c | 44 20 28 48 4c 29 2c 41 |C94 77 L|D (HL),A|
|00002130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002140| 20 20 20 20 20 20 20 20 | 20 46 43 39 35 20 32 33 | | FC95 23|
|00002150| 20 49 4e 43 20 48 4c 20 | 20 20 20 20 20 20 20 20 | INC HL | |
|00002160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002170| 20 20 20 46 43 39 36 20 | 31 33 20 49 4e 43 20 44 | FC96 |13 INC D|
|00002180| 45 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |E | |
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 46 43 39 | | FC9|
|000021a0| 37 20 30 42 20 44 45 43 | 20 42 43 20 20 20 20 20 |7 0B DEC| BC |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021c0| 20 20 20 20 20 20 20 46 | 43 39 38 20 37 38 20 4c | F|C98 78 L|
|000021d0| 44 20 41 2c 42 20 20 20 | 20 20 20 20 20 20 20 20 |D A,B | |
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021f0| 20 46 43 39 39 20 42 31 | 20 4f 52 20 43 20 20 20 | FC99 B1| OR C |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002210| 20 20 20 20 20 20 20 20 | 20 20 20 46 43 39 41 20 | | FC9A |
|00002220| 32 30 20 46 36 20 4a 52 | 20 4e 5a 2c 23 46 43 39 |20 F6 JR| NZ,#FC9|
|00002230| 32 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2 | |
|00002240| 20 20 20 20 20 46 43 39 | 43 20 43 33 20 45 41 20 | FC9|C C3 EA |
|00002250| 42 45 20 4a 50 20 23 42 | 45 45 41 20 20 20 20 20 |BE JP #B|EEA |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002290| 20 20 20 20 20 20 20 20 | 20 54 68 69 73 20 64 65 | | This de|
|000022a0| 63 72 79 70 74 65 72 20 | 75 73 65 73 20 76 61 6c |crypter |uses val|
|000022b0| 75 65 73 20 69 6e 20 20 | 74 68 65 20 20 73 63 72 |ues in |the scr|
|000022c0| 65 65 6e 6d 65 6d 6f 72 | 79 2c 20 73 6f 20 79 6f |eenmemor|y, so yo|
|000022d0| 75 27 6c 6c 20 68 61 76 | 65 20 74 6f 20 70 75 74 |u'll hav|e to put|
|000022e0| 20 61 20 62 72 65 61 6b | 70 6f 69 6e 74 61 74 20 | a break|pointat |
|000022f0| 46 43 39 43 2c 20 70 75 | 74 20 61 20 4a 50 20 23 |FC9C, pu|t a JP #|
|00002300| 46 43 38 39 20 61 74 20 | 20 23 38 30 32 39 2c 20 |FC89 at | #8029, |
|00002310| 20 4a 50 20 20 74 6f 23 | 38 30 31 32 20 61 6e 64 | JP to#|8012 and|
|00002320| 20 72 65 6c 6f 61 64 20 | 74 68 65 20 6c 6f 61 64 | reload |the load|
|00002330| 69 6e 67 20 73 63 72 65 | 65 6e 20 62 65 66 6f 72 |ing scre|en befor|
|00002340| 65 79 6f 75 20 63 61 6e | 20 72 75 6e 20 69 74 2e |eyou can| run it.|
|00002350| 20 54 68 65 6e 20 64 69 | 73 61 73 73 65 6d 62 6c | Then di|sassembl|
|00002360| 65 20 23 42 45 45 41 2e | 20 20 20 20 20 20 20 20 |e #BEEA.| |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 42 45 45 | | BEE|
|00002440| 41 20 33 31 20 30 30 20 | 30 30 20 4c 44 20 53 50 |A 31 00 |00 LD SP|
|00002450| 2c 23 30 30 30 30 20 20 | 20 20 20 20 20 20 20 20 |,#0000 | |
|00002460| 20 20 20 20 20 20 20 42 | 45 45 44 20 43 44 20 43 | B|EED CD C|
|00002470| 43 20 42 45 20 43 41 4c | 4c 20 23 42 45 43 43 20 |C BE CAL|L #BECC |
|00002480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002490| 20 42 45 46 30 20 43 33 | 20 30 30 20 38 32 20 4a | BEF0 C3| 00 82 J|
|000024a0| 50 20 23 38 32 30 30 20 | 20 20 20 20 20 20 20 20 |P #8200 | |
|000024b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024e0| 20 20 20 20 20 54 68 69 | 73 20 63 6f 64 65 20 70 | Thi|s code p|
|000024f0| 75 74 73 20 74 68 65 20 | 73 74 61 63 6b 20 70 6f |uts the |stack po|
|00002500| 69 6e 74 65 72 20 20 62 | 61 63 6b 20 20 61 74 23 |inter b|ack at#|
|00002510| 30 30 30 30 2c 20 43 41 | 4c 4c 73 20 61 6e 6f 74 |0000, CA|LLs anot|
|00002520| 68 65 72 20 64 65 63 72 | 79 70 74 65 72 2c 20 61 |her decr|ypter, a|
|00002530| 6e 64 20 4a 50 73 20 74 | 6f 23 38 32 30 30 2c 20 |nd JPs t|o#8200, |
|00002540| 77 68 69 63 68 20 69 73 | 20 74 68 65 20 20 73 74 |which is| the st|
|00002550| 61 72 74 20 20 6f 66 20 | 20 74 68 65 20 20 67 61 |art of | the ga|
|00002560| 6d 65 2e 43 68 61 6e 67 | 65 20 74 68 65 20 23 38 |me.Chang|e the #8|
|00002570| 32 30 30 20 74 6f 20 61 | 20 20 73 75 69 74 61 62 |200 to a| suitab|
|00002580| 6c 65 20 20 70 6c 61 63 | 65 20 20 74 6f 70 75 74 |le plac|e toput|
|00002590| 20 50 4f 4b 45 73 3b 20 | 66 69 6e 69 73 68 20 74 | POKEs; |finish t|
|000025a0| 68 65 6d 20 77 69 74 68 | 20 61 20 4a 50 20 23 38 |hem with| a JP #8|
|000025b0| 32 30 30 20 20 74 6f 73 | 74 61 72 74 20 74 68 65 |200 tos|tart the|
|000025c0| 20 67 61 6d 65 2e 20 20 | 20 20 20 20 20 20 20 20 | game. | |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002600| 20 20 20 20 20 20 20 20 | 20 20 20 48 65 72 65 27 | | Here'|
|00002610| 73 20 74 68 65 20 66 69 | 6e 61 6c 20 68 61 63 6b |s the fi|nal hack|
|00002620| 2c 20 61 6e 64 20 49 27 | 76 65 20 70 75 74 20 69 |, and I'|ve put i|
|00002630| 74 20 20 61 74 23 35 42 | 30 30 2c 20 62 65 63 61 |t at#5B|00, beca|
|00002640| 75 73 65 20 69 74 20 64 | 6f 65 73 6e 27 74 20 67 |use it d|oesn't g|
|00002650| 65 74 20 20 6f 76 65 72 | 6c 6f 61 64 65 64 2c 61 |et over|loaded,a|
|00002660| 70 61 72 74 20 66 72 6f | 6d 20 74 68 65 20 62 79 |part fro|m the by|
|00002670| 74 65 20 61 74 20 23 35 | 42 30 30 20 69 74 73 65 |te at #5|B00 itse|
|00002680| 6c 66 2c 20 77 68 69 63 | 68 69 73 20 6e 6f 20 6c |lf, whic|his no l|
|00002690| 6f 6e 67 65 72 20 6e 65 | 65 64 65 64 20 62 79 20 |onger ne|eded by |
|000026a0| 20 74 68 61 74 20 20 74 | 69 6d 65 2e 20 20 41 6c | that t|ime. Al|
|000026b0| 73 6f 2c 49 27 76 65 20 | 65 78 65 63 75 74 65 64 |so,I've |executed|
|000026c0| 20 74 68 65 20 44 49 3a | 4c 44 20 53 50 2c 23 30 | the DI:|LD SP,#0|
|000026d0| 30 30 30 20 64 69 72 65 | 63 74 6c 79 2c 61 73 20 |000 dire|ctly,as |
|000026e0| 77 65 6c 6c 20 61 73 20 | 74 68 65 20 63 6f 64 65 |well as |the code|
|000026f0| 20 66 72 6f 6d 20 42 45 | 45 41 20 74 6f 20 42 45 | from BE|EA to BE|
|00002700| 46 32 2e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |F2. | |
|00002710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002730| 20 35 42 30 30 20 44 44 | 20 32 31 20 31 42 20 37 | 5B00 DD| 21 1B 7|
|00002740| 46 20 4c 44 20 49 58 2c | 23 37 46 31 42 20 20 20 |F LD IX,|#7F1B |
|00002750| 20 20 20 20 20 20 20 20 | 20 20 20 35 42 30 34 20 | | 5B04 |
|00002760| 31 31 20 46 38 20 30 31 | 20 4c 44 20 44 45 2c 23 |11 F8 01| LD DE,#|
|00002770| 30 31 46 38 20 20 20 20 | 20 20 20 20 20 20 20 20 |01F8 | |
|00002780| 20 20 20 20 20 35 42 30 | 37 20 33 45 20 46 46 20 | 5B0|7 3E FF |
|00002790| 4c 44 20 41 2c 23 46 46 | 20 20 20 20 20 20 20 20 |LD A,#FF| |
|000027a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|000027b0| 42 30 39 20 33 37 20 53 | 43 46 20 20 20 20 20 20 |B09 37 S|CF |
|000027c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027d0| 20 20 20 20 20 20 20 20 | 20 35 42 30 41 20 43 44 | | 5B0A CD|
|000027e0| 20 35 36 20 30 35 20 43 | 41 4c 4c 20 23 30 35 35 | 56 05 C|ALL #055|
|000027f0| 36 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |6 | |
|00002800| 20 20 20 35 42 30 44 20 | 33 30 20 46 31 20 4a 52 | 5B0D |30 F1 JR|
|00002810| 20 4e 43 2c 23 35 42 30 | 30 20 20 20 20 20 20 20 | NC,#5B0|0 |
|00002820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 42 30 | | 5B0|
|00002830| 46 20 32 31 20 31 43 20 | 35 42 20 4c 44 20 48 4c |F 21 1C |5B LD HL|
|00002840| 2c 23 35 42 31 43 20 20 | 20 20 20 20 20 20 20 20 |,#5B1C | |
|00002850| 20 20 20 20 20 20 20 35 | 42 31 32 20 32 32 20 33 | 5|B12 22 3|
|00002860| 44 20 38 30 20 4c 44 20 | 28 23 38 30 33 44 29 2c |D 80 LD |(#803D),|
|00002870| 48 4c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |HL | |
|00002880| 20 35 42 31 35 20 46 33 | 20 44 49 20 20 20 20 20 | 5B15 F3| DI |
|00002890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 20 35 42 31 36 20 | | 5B16 |
|000028b0| 33 31 20 30 30 20 30 30 | 20 4c 44 20 53 50 2c 23 |31 00 00| LD SP,#|
|000028c0| 30 30 30 30 20 20 20 20 | 20 20 20 20 20 20 20 20 |0000 | |
|000028d0| 20 20 20 20 20 35 42 31 | 39 20 43 33 20 31 36 20 | 5B1|9 C3 16 |
|000028e0| 38 30 20 4a 50 20 23 38 | 30 31 36 20 20 20 20 20 |80 JP #8|016 |
|000028f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|00002900| 42 31 43 20 32 31 20 32 | 35 20 35 42 20 4c 44 20 |B1C 21 2|5 5B LD |
|00002910| 48 4c 2c 23 35 42 32 35 | 20 20 20 20 20 20 20 20 |HL,#5B25| |
|00002920| 20 20 20 20 20 20 20 20 | 20 35 42 31 46 20 32 32 | | 5B1F 22|
|00002930| 20 39 44 20 46 43 20 4c | 44 20 28 23 46 43 39 44 | 9D FC L|D (#FC9D|
|00002940| 29 2c 48 4c 20 20 20 20 | 20 20 20 20 20 20 20 20 |),HL | |
|00002950| 20 20 20 35 42 32 32 20 | 43 33 20 38 39 20 46 43 | 5B22 |C3 89 FC|
|00002960| 20 4a 50 20 23 46 43 38 | 39 20 20 20 20 20 20 20 | JP #FC8|9 |
|00002970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 42 32 | | 5B2|
|00002980| 35 20 33 31 20 30 30 20 | 30 30 20 4c 44 20 53 50 |5 31 00 |00 LD SP|
|00002990| 2c 23 30 30 30 30 20 20 | 20 20 20 20 20 20 20 20 |,#0000 | |
|000029a0| 20 20 20 20 20 20 20 35 | 42 32 38 20 43 44 20 43 | 5|B28 CD C|
|000029b0| 43 20 42 45 20 43 41 4c | 4c 20 23 42 45 43 43 20 |C BE CAL|L #BECC |
|000029c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029d0| 20 35 42 32 42 20 41 46 | 20 58 4f 52 20 41 20 20 | 5B2B AF| XOR A |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 35 42 32 43 20 | | 5B2C |
|00002a00| 33 32 20 3f 3f 20 3f 3f | 20 4c 44 20 28 3f 3f 3f |32 ?? ??| LD (???|
|00002a10| 3f 29 2c 41 20 20 20 20 | 20 20 20 20 20 20 20 20 |?),A | |
|00002a20| 20 20 20 20 20 35 42 32 | 46 20 43 33 20 30 30 20 | 5B2|F C3 00 |
|00002a30| 38 32 20 4a 50 20 23 38 | 32 30 30 20 20 20 20 20 |82 JP #8|200 |
|00002a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 65 | | The|
|00002ad0| 20 6f 74 68 65 72 20 74 | 79 70 65 20 20 6f 66 20 | other t|ype of |
|00002ae0| 20 4d 69 6b 72 6f 20 20 | 47 65 6e 20 20 6c 6f 61 | Mikro |Gen loa|
|00002af0| 64 65 72 20 20 69 73 61 | 6c 6d 6f 73 74 20 69 64 |der isa|lmost id|
|00002b00| 65 6e 74 69 63 61 6c 2c | 20 65 78 63 65 70 74 20 |entical,| except |
|00002b10| 20 74 68 65 20 20 77 68 | 6f 6c 65 20 20 67 61 6d | the wh|ole gam|
|00002b20| 65 6c 6f 61 64 73 20 69 | 6e 20 6f 6e 65 20 6c 6f |eloads i|n one lo|
|00002b30| 6e 67 20 62 6c 6f 63 6b | 2e 20 54 68 65 6e 20 65 |ng block|. Then e|
|00002b40| 6e 64 20 20 6f 66 20 20 | 74 68 65 42 41 53 49 43 |nd of |theBASIC|
|00002b50| 20 6c 6f 61 64 69 6e 67 | 20 73 79 73 74 65 6d 20 | loading| system |
|00002b60| 69 73 20 6d 69 73 73 69 | 6e 67 20 20 74 6f 20 20 |is missi|ng to |
|00002b70| 73 74 61 72 74 77 69 74 | 68 2c 20 61 6e 64 20 69 |startwit|h, and i|
|00002b80| 73 20 6f 6e 6c 79 20 6c | 6f 61 64 65 64 20 72 69 |s only l|oaded ri|
|00002b90| 67 68 74 20 61 74 20 74 | 68 65 20 20 65 6e 64 6f |ght at t|he endo|
|00002ba0| 66 20 74 68 65 20 6d 61 | 69 6e 20 68 65 61 64 65 |f the ma|in heade|
|00002bb0| 72 6c 65 73 73 20 62 6c | 6f 63 6b 2e 20 59 6f 75 |rless bl|ock. You|
|00002bc0| 20 63 61 6e 20 66 69 6e | 64 6f 75 74 20 74 68 65 | can fin|dout the|
|00002bd0| 20 6d 69 73 73 69 6e 67 | 20 63 6f 64 65 20 62 79 | missing| code by|
|00002be0| 20 6c 6f 61 64 69 6e 67 | 20 20 74 68 65 20 20 67 | loading| the g|
|00002bf0| 61 6d 65 61 73 20 20 6e | 6f 72 6d 61 6c 2c 20 20 |ameas n|ormal, |
|00002c00| 74 68 65 6e 20 20 73 74 | 6f 70 70 69 6e 67 20 20 |then st|opping |
|00002c10| 69 74 20 20 20 77 69 74 | 68 20 20 20 61 4d 75 6c |it wit|h aMul|
|00002c20| 74 69 66 61 63 65 20 69 | 6e 20 74 68 65 20 70 61 |tiface i|n the pa|
|00002c30| 75 73 65 20 20 62 65 74 | 77 65 65 6e 20 20 74 68 |use bet|ween th|
|00002c40| 65 20 20 67 61 6d 65 6c | 6f 61 64 69 6e 67 2c 20 |e gamel|oading, |
|00002c50| 61 6e 64 20 74 68 65 20 | 67 61 6d 65 20 73 74 61 |and the |game sta|
|00002c60| 72 74 69 6e 67 20 28 61 | 70 70 72 6f 78 2e 20 20 |rting (a|pprox. |
|00002c70| 33 73 65 63 6f 6e 64 73 | 29 2c 20 61 6e 64 20 68 |3seconds|), and h|
|00002c80| 61 63 6b 20 69 74 20 69 | 6e 20 74 68 65 20 73 61 |ack it i|n the sa|
|00002c90| 6d 65 20 20 77 61 79 20 | 20 61 73 50 79 6a 61 6d |me way | asPyjam|
|00002ca0| 61 72 61 6d 61 2e 20 20 | 20 20 20 20 20 20 20 20 |arama. | |
|00002cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 50 | | P|
|00002cf0| 4f 57 45 52 4c 4f 41 44 | 20 20 20 20 20 20 20 20 |OWERLOAD| |
|00002d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d40| 20 20 20 54 68 69 73 20 | 20 70 72 6f 74 65 63 74 | This | protect|
|00002d50| 69 6f 6e 20 20 73 79 73 | 74 65 6d 20 20 61 70 70 |ion sys|tem app|
|00002d60| 65 61 72 65 64 20 20 20 | 66 69 72 73 74 61 72 6f |eared |firstaro|
|00002d70| 75 6e 64 20 74 68 65 20 | 73 74 61 72 74 20 6f 66 |und the |start of|
|00002d80| 20 31 39 38 34 2c 20 61 | 6e 64 20 77 61 73 20 20 | 1984, a|nd was |
|00002d90| 77 72 69 74 74 65 6e 62 | 79 20 22 54 61 67 22 20 |writtenb|y "Tag" |
|00002da0| 20 28 50 68 69 6c 20 20 | 54 61 67 6c 69 6f 6e 65 | (Phil |Taglione|
|00002db0| 29 20 20 66 6f 72 20 20 | 49 6e 63 65 6e 74 69 76 |) for |Incentiv|
|00002dc0| 65 53 6f 66 74 77 61 72 | 65 2e 20 48 6f 77 65 76 |eSoftwar|e. Howev|
|00002dd0| 65 72 2c 20 69 74 27 73 | 20 62 65 65 6e 20 75 73 |er, it's| been us|
|00002de0| 65 64 20 62 79 20 71 75 | 69 74 65 61 20 6c 6f 74 |ed by qu|itea lot|
|00002df0| 20 6f 66 20 6f 74 68 65 | 72 20 73 6f 66 74 77 61 | of othe|r softwa|
|00002e00| 72 65 20 63 6f 6d 70 61 | 6e 69 65 73 20 61 73 20 |re compa|nies as |
|00002e10| 77 65 6c 6c 2c 69 6e 63 | 6c 75 64 69 6e 67 20 42 |well,inc|luding B|
|00002e20| 65 79 6f 6e 64 2c 20 20 | 4d 69 72 72 6f 72 73 6f |eyond, |Mirrorso|
|00002e30| 66 74 2c 20 20 50 72 69 | 73 6d 20 20 61 6e 64 41 |ft, Pri|sm andA|
|00002e40| 72 69 6f 6c 61 73 6f 66 | 74 2e 20 49 74 20 63 61 |riolasof|t. It ca|
|00002e50| 6e 20 62 65 20 20 72 65 | 63 6f 67 6e 69 73 65 64 |n be re|cognised|
|00002e60| 20 20 62 79 20 20 74 68 | 65 73 63 72 65 65 6e 20 | by th|escreen |
|00002e70| 74 75 72 6e 69 6e 67 20 | 62 6c 61 63 6b 2c 20 61 |turning |black, a|
|00002e80| 63 63 6f 6d 70 6e 69 65 | 64 20 62 79 20 61 20 20 |ccompnie|d by a |
|00002e90| 66 65 77 61 73 63 65 6e | 64 69 6e 67 20 62 65 65 |fewascen|ding bee|
|00002ea0| 70 73 2e 20 49 74 20 74 | 68 65 6e 20 6c 6f 61 64 |ps. It t|hen load|
|00002eb0| 73 20 20 6f 6e 65 20 20 | 73 68 6f 72 74 68 65 61 |s one |shorthea|
|00002ec0| 64 65 72 6c 65 73 73 20 | 20 62 6c 6f 63 6b 2c 20 |derless | block, |
|00002ed0| 20 61 6e 64 20 20 74 68 | 65 6e 20 20 20 61 20 20 | and th|en a |
|00002ee0| 20 6c 6f 6e 67 65 72 68 | 65 61 64 65 72 6c 65 73 | longerh|eaderles|
|00002ef0| 73 20 20 62 6c 6f 63 6b | 2c 20 20 77 68 69 63 68 |s block|, which|
|00002f00| 20 20 20 69 6e 63 6c 75 | 64 65 73 20 20 20 74 68 | inclu|des th|
|00002f10| 65 61 74 74 72 69 62 75 | 74 65 20 66 69 6c 65 20 |eattribu|te file |
|00002f20| 20 66 6f 72 20 20 74 68 | 65 20 20 67 61 6d 65 20 | for th|e game |
|00002f30| 20 63 6f 6d 69 6e 67 20 | 20 75 70 22 62 61 63 6b | coming | up"back|
|00002f40| 77 61 72 64 73 22 20 69 | 65 3a 20 72 69 67 68 74 |wards" i|e: right|
|00002f50| 20 20 74 6f 20 20 6c 65 | 66 74 2c 20 20 73 74 61 | to le|ft, sta|
|00002f60| 72 74 69 6e 67 66 72 6f | 6d 20 20 74 68 65 20 20 |rtingfro|m the |
|00002f70| 62 6f 74 74 6f 6d 2e 20 | 20 54 68 65 20 20 67 61 |bottom. | The ga|
|00002f80| 6d 65 20 20 61 6c 73 6f | 20 20 73 74 6f 70 73 6c |me also| stopsl|
|00002f90| 6f 61 64 69 6e 67 20 6a | 75 73 74 20 62 65 66 6f |oading j|ust befo|
|00002fa0| 72 65 20 74 68 65 20 65 | 6e 64 20 20 6f 66 20 20 |re the e|nd of |
|00002fb0| 74 68 65 20 20 6c 6f 6e | 67 68 65 61 64 65 72 6c |the lon|gheaderl|
|00002fc0| 65 73 73 20 62 6c 6f 63 | 6b 2e 20 54 68 65 20 6f |ess bloc|k. The o|
|00002fd0| 6e 6c 79 20 74 68 69 6e | 67 20 49 20 6b 6e 6f 77 |nly thin|g I know|
|00002fe0| 20 6f 66 74 68 61 74 20 | 59 53 20 68 61 76 65 20 | ofthat |YS have |
|00002ff0| 70 75 74 20 6f 6e 20 74 | 68 65 20 63 6f 76 65 72 |put on t|he cover|
|00003000| 74 61 70 65 20 74 68 61 | 74 20 68 61 73 50 6f 77 |tape tha|t hasPow|
|00003010| 65 72 6c 6f 61 64 20 20 | 20 69 73 20 20 20 74 68 |erload | is th|
|00003020| 65 20 20 20 47 72 61 70 | 68 69 63 20 20 20 41 64 |e Grap|hic Ad|
|00003030| 76 65 6e 74 75 72 65 43 | 72 65 61 74 6f 72 2c 20 |ventureC|reator, |
|00003040| 62 75 74 20 74 68 61 74 | 27 73 20 70 6f 69 6e 74 |but that|'s point|
|00003050| 6c 65 73 73 20 68 61 63 | 6b 69 6e 67 2c 20 20 73 |less hac|king, s|
|00003060| 6f 69 6e 73 74 65 61 64 | 20 49 27 6c 6c 20 62 65 |oinstead| I'll be|
|00003070| 20 68 61 63 6b 69 6e 67 | 20 44 79 6e 61 6d 69 74 | hacking| Dynamit|
|00003080| 65 20 20 44 61 6e 2e 20 | 20 4f 66 63 6f 75 72 73 |e Dan. | Ofcours|
|00003090| 65 2c 20 6d 6f 73 74 20 | 20 6f 74 68 65 72 20 20 |e, most | other |
|000030a0| 50 6f 77 65 72 6c 6f 61 | 64 20 20 67 61 6d 65 73 |Powerloa|d games|
|000030b0| 20 20 61 72 65 69 64 65 | 6e 74 69 63 61 6c 20 61 | areide|ntical a|
|000030c0| 70 61 72 74 20 66 72 6f | 6d 20 73 6f 6d 65 20 61 |part fro|m some a|
|000030d0| 64 64 72 65 73 73 65 73 | 2c 20 20 61 6e 64 2c 69 |ddresses|, and,i|
|000030e0| 6e 20 20 66 61 63 74 2c | 20 20 74 68 65 20 20 42 |n fact,| the B|
|000030f0| 41 53 49 43 20 20 6c 6f | 61 64 65 72 73 20 20 20 |ASIC lo|aders |
|00003100| 61 72 65 20 20 20 61 6c | 6c 69 64 65 6e 74 69 63 |are al|lidentic|
|00003110| 61 6c 2e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |al. | |
|00003120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003200| 20 20 20 20 20 42 65 66 | 6f 72 65 20 77 65 20 20 | Bef|ore we |
|00003210| 73 74 61 72 74 2c 20 20 | 49 20 20 6e 65 65 64 20 |start, |I need |
|00003220| 20 74 6f 20 20 65 78 70 | 6c 61 69 6e 20 20 61 6c | to exp|lain al|
|00003230| 69 74 74 6c 65 20 20 6d | 6f 72 65 20 20 61 62 6f |ittle m|ore abo|
|00003240| 75 74 20 20 74 68 65 20 | 20 73 74 61 63 6b 2c 20 |ut the | stack, |
|00003250| 20 20 62 65 63 61 75 73 | 65 50 6f 77 65 72 6c 6f | becaus|ePowerlo|
|00003260| 61 64 20 75 73 65 73 20 | 69 74 20 61 20 6c 6f 74 |ad uses |it a lot|
|00003270| 2e 20 20 54 68 65 72 65 | 20 20 61 72 65 20 20 66 |. There| are f|
|00003280| 6f 75 72 63 6f 6d 6d 61 | 6e 64 73 20 77 68 69 63 |ourcomma|nds whic|
|00003290| 68 20 75 73 65 20 20 74 | 68 65 20 20 73 74 61 63 |h use t|he stac|
|000032a0| 6b 2c 20 20 61 6e 64 20 | 20 74 68 65 79 61 72 65 |k, and | theyare|
|000032b0| 3a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |: | |
|000032c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003300| 20 50 55 53 48 20 58 20 | 28 77 68 65 72 65 20 58 | PUSH X |(where X|
|00003310| 20 69 73 20 61 6e 79 20 | 20 72 65 67 69 73 74 65 | is any | registe|
|00003320| 72 29 20 20 2d 20 20 74 | 68 69 73 74 61 6b 65 73 |r) - t|histakes|
|00003330| 20 74 68 65 20 76 61 6c | 75 65 20 69 6e 20 61 20 | the val|ue in a |
|00003340| 72 65 67 69 73 74 65 72 | 2c 20 61 6e 64 20 70 75 |register|, and pu|
|00003350| 74 73 20 69 74 6f 6e 74 | 6f 20 74 68 65 20 73 74 |ts itont|o the st|
|00003360| 61 63 6b 2e 20 20 54 68 | 65 20 20 73 74 61 63 6b |ack. Th|e stack|
|00003370| 20 20 70 6f 69 6e 74 65 | 72 20 20 74 68 65 6e 64 | pointe|r thend|
|00003380| 65 63 72 65 61 73 65 73 | 20 62 79 20 74 77 6f 20 |ecreases| by two |
|00003390| 28 74 6f 20 62 65 20 69 | 6e 20 74 68 65 20 72 69 |(to be i|n the ri|
|000033a0| 67 68 74 20 70 6c 61 63 | 65 74 6f 20 73 74 6f 72 |ght plac|eto stor|
|000033b0| 65 20 61 6e 6f 74 68 65 | 72 20 76 61 6c 75 65 29 |e anothe|r value)|
|000033c0| 2e 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000033d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 4f 50 | | POP|
|00003400| 20 58 20 2d 20 74 68 69 | 73 20 74 61 6b 65 73 20 | X - thi|s takes |
|00003410| 74 68 65 20 74 77 6f 20 | 62 79 74 65 20 20 76 61 |the two |byte va|
|00003420| 6c 75 65 20 20 61 74 74 | 68 65 20 73 74 61 63 6b |lue att|he stack|
|00003430| 20 70 6f 69 6e 74 65 72 | 20 20 28 69 65 3a 20 20 | pointer| (ie: |
|00003440| 74 68 65 20 20 74 6f 70 | 20 20 6f 66 20 20 74 68 |the top| of th|
|00003450| 65 73 74 61 63 6b 29 2c | 20 61 6e 64 20 70 75 74 |estack),| and put|
|00003460| 73 20 74 68 65 6d 20 69 | 6e 20 61 20 72 65 67 69 |s them i|n a regi|
|00003470| 73 74 65 72 2e 20 20 54 | 68 69 73 61 6c 73 6f 20 |ster. T|hisalso |
|00003480| 69 6e 63 72 65 61 73 65 | 73 20 74 68 65 20 73 74 |increase|s the st|
|00003490| 61 63 6b 20 70 6f 69 6e | 74 65 72 20 20 62 79 20 |ack poin|ter by |
|000034a0| 20 74 77 6f 2e 20 20 20 | 20 20 20 20 20 20 20 20 | two. | |
|000034b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|000034d0| 41 4c 4c 20 58 58 58 58 | 20 2d 20 77 68 65 6e 20 |ALL XXXX| - when |
|000034e0| 79 6f 75 20 20 43 41 4c | 4c 20 20 61 20 20 73 75 |you CAL|L a su|
|000034f0| 62 72 6f 75 74 69 6e 65 | 2c 74 68 65 20 72 65 74 |broutine|,the ret|
|00003500| 75 72 6e 20 61 64 64 72 | 65 73 73 20 28 69 65 3a |urn addr|ess (ie:|
|00003510| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 20 61 66 | the add|ress af|
|00003520| 74 65 72 74 68 65 20 63 | 61 6c 6c 29 20 69 73 20 |terthe c|all) is |
|00003530| 50 55 53 48 65 64 20 6f | 6e 74 6f 20 20 74 68 65 |PUSHed o|nto the|
|00003540| 20 20 73 74 61 63 6b 2c | 20 20 61 6e 64 74 68 65 | stack,| andthe|
|00003550| 20 20 73 75 62 72 6f 75 | 74 69 6e 65 20 20 69 73 | subrou|tine is|
|00003560| 20 20 4a 50 65 64 20 20 | 74 6f 2e 20 20 54 68 65 | JPed |to. The|
|00003570| 20 20 73 74 61 63 6b 70 | 6f 69 6e 74 65 72 20 61 | stackp|ointer a|
|00003580| 6c 73 6f 20 64 65 63 72 | 65 61 73 65 73 20 62 79 |lso decr|eases by|
|00003590| 20 74 77 6f 2e 20 20 20 | 20 20 20 20 20 20 20 20 | two. | |
|000035a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000035b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000035c0| 20 20 20 20 20 20 20 20 | 20 20 20 52 45 54 20 2d | | RET -|
|000035d0| 20 77 68 65 6e 20 61 20 | 52 45 54 20 69 6e 73 74 | when a |RET inst|
|000035e0| 72 75 63 74 69 6f 6e 20 | 20 6f 63 63 75 72 73 2c |ruction | occurs,|
|000035f0| 20 20 74 68 65 63 6f 6d | 70 75 74 65 72 20 74 61 | thecom|puter ta|
|00003600| 6b 65 73 20 74 68 65 20 | 76 61 6c 75 65 20 6f 6e |kes the |value on|
|00003610| 20 74 68 65 20 74 6f 70 | 20 6f 66 20 74 68 65 73 | the top| of thes|
|00003620| 74 61 63 6b 2c 20 61 6e | 64 20 4a 50 73 20 74 6f |tack, an|d JPs to|
|00003630| 20 69 74 2e 20 20 54 68 | 65 20 20 73 74 61 63 6b | it. Th|e stack|
|00003640| 20 20 70 6f 69 6e 74 65 | 72 69 6e 63 72 65 61 73 | pointe|rincreas|
|00003650| 65 73 20 62 79 20 74 77 | 6f 2e 20 20 20 20 20 20 |es by tw|o. |
|00003660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4e 6f 77 | | Now|
|000036a0| 20 77 65 27 76 65 20 63 | 6c 65 61 72 65 64 20 20 | we've c|leared |
|000036b0| 74 68 61 74 20 20 75 70 | 2c 20 20 6c 65 74 27 73 |that up|, let's|
|000036c0| 20 20 73 74 61 72 74 68 | 61 63 6b 69 6e 67 2e 20 | starth|acking. |
|000036d0| 2a 48 61 63 6b 20 74 68 | 65 20 42 41 53 49 43 20 |*Hack th|e BASIC |
|000036e0| 61 73 20 75 73 75 61 6c | 2e 20 20 20 20 20 20 20 |as usual|. |
|000036f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003740| 20 20 20 20 20 44 2e 44 | 2e 20 4c 49 4e 45 20 30 | D.D|. LINE 0|
|00003750| 20 4c 45 4e 20 34 39 36 | 20 20 20 20 20 20 20 20 | LEN 496| |
|00003760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003790| 20 20 20 20 20 20 20 20 | 20 31 20 52 45 4d 20 20 | | 1 REM |
|000037a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000037c0| 20 20 20 31 30 20 43 4c | 45 41 52 20 35 39 39 39 | 10 CL|EAR 5999|
|000037d0| 39 3a 50 4f 4b 45 20 32 | 33 36 39 33 2c 30 3a 50 |9:POKE 2|3693,0:P|
|000037e0| 4f 4b 45 20 20 20 20 20 | 20 20 20 20 20 32 33 36 |OKE | 236|
|000037f0| 32 34 2c 30 3a 50 4f 4b | 45 20 32 33 36 39 37 2c |24,0:POK|E 23697,|
|00003800| 30 3a 43 4c 53 3a 50 4f | 4b 45 20 32 33 36 35 39 |0:CLS:PO|KE 23659|
|00003810| 2c 30 3a 46 4f 52 20 4e | 3d 33 30 20 54 4f 20 33 |,0:FOR N|=30 TO 3|
|00003820| 36 3a 42 45 45 50 20 2e | 30 37 35 2c 4e 3a 4e 45 |6:BEEP .|075,N:NE|
|00003830| 58 54 20 4e 3a 52 41 4e | 44 4f 4d 49 5a 45 20 20 |XT N:RAN|DOMIZE |
|00003840| 20 55 53 52 20 32 34 31 | 34 36 3a 52 41 4e 44 4f | USR 241|46:RANDO|
|00003850| 4d 49 5a 45 20 55 53 52 | 20 30 20 20 20 20 20 20 |MIZE USR| 0 |
|00003860| 20 20 20 20 20 20 20 20 | 20 20 20 31 30 30 20 52 | | 100 R|
|00003870| 45 4d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |EM | |
|00003880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000038a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000038b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | | T|
|000038c0| 68 65 20 50 4f 4b 45 73 | 20 69 6e 20 6c 69 6e 65 |he POKEs| in line|
|000038d0| 20 31 30 20 6a 75 73 74 | 20 6d 61 6b 65 20 74 68 | 10 just| make th|
|000038e0| 65 20 20 73 63 72 65 65 | 6e 62 6c 61 63 6b 20 61 |e scree|nblack a|
|000038f0| 6e 64 20 70 72 65 76 65 | 6e 74 20 79 6f 75 20 66 |nd preve|nt you f|
|00003900| 72 6f 6d 20 70 72 65 73 | 73 69 6e 67 20 62 72 65 |rom pres|sing bre|
|00003910| 61 6b 2e 32 34 31 34 36 | 20 69 73 20 23 35 45 35 |ak.24146| is #5E5|
|00003920| 32 20 68 65 78 3b 20 62 | 75 74 20 20 61 20 20 62 |2 hex; b|ut a b|
|00003930| 72 65 61 6b 70 6f 69 6e | 74 20 20 61 74 23 35 45 |reakpoin|t at#5E|
|00003940| 35 32 20 61 6e 64 20 47 | 4f 54 4f 20 20 30 2e 20 |52 and G|OTO 0. |
|00003950| 20 54 68 69 73 20 20 69 | 73 20 20 62 65 63 61 75 | This i|s becau|
|00003960| 73 65 20 20 74 68 65 73 | 74 61 63 6b 20 69 73 20 |se thes|tack is |
|00003970| 73 65 74 20 75 70 20 69 | 6e 20 61 20 73 70 65 63 |set up i|n a spec|
|00003980| 69 66 69 63 20 77 61 79 | 20 20 62 79 20 20 74 68 |ific way| by th|
|00003990| 65 42 41 53 49 43 20 63 | 6f 6d 6d 61 6e 64 73 2e |eBASIC c|ommands.|
|000039a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039e0| 20 20 20 20 20 35 45 35 | 32 20 46 33 20 44 49 20 | 5E5|2 F3 DI |
|000039f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|00003a10| 45 35 33 20 32 31 20 30 | 30 20 30 30 20 4c 44 20 |E53 21 0|0 00 LD |
|00003a20| 48 4c 2c 23 30 30 30 30 | 20 20 20 20 20 20 20 20 |HL,#0000| |
|00003a30| 20 20 20 20 20 20 20 20 | 20 35 45 35 36 20 33 39 | | 5E56 39|
|00003a40| 20 41 44 44 20 48 4c 2c | 53 50 20 20 20 20 20 20 | ADD HL,|SP |
|00003a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a60| 20 20 20 35 45 35 37 20 | 32 32 20 46 32 20 35 44 | 5E57 |22 F2 5D|
|00003a70| 20 4c 44 20 28 23 35 44 | 46 32 29 2c 48 4c 20 20 | LD (#5D|F2),HL |
|00003a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ab0| 20 20 20 20 20 20 20 54 | 68 69 73 20 63 6f 64 65 | T|his code|
|00003ac0| 20 73 69 6d 70 6c 79 20 | 70 75 74 73 20 20 74 68 | simply |puts th|
|00003ad0| 65 20 20 76 61 6c 75 65 | 20 20 6f 66 20 20 74 68 |e value| of th|
|00003ae0| 65 73 74 61 63 6b 20 70 | 6f 69 6e 74 65 72 20 69 |estack p|ointer i|
|00003af0| 6e 74 6f 20 61 64 64 72 | 65 73 73 20 20 23 35 44 |nto addr|ess #5D|
|00003b00| 46 32 2c 20 20 73 6f 20 | 20 69 74 63 61 6e 20 62 |F2, so | itcan b|
|00003b10| 65 20 72 65 74 72 65 69 | 76 65 64 20 6c 61 74 65 |e retrei|ved late|
|00003b20| 72 2e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r. | |
|00003b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 35 | | 5|
|00003b60| 45 35 41 20 33 31 20 39 | 35 20 35 45 20 4c 44 20 |E5A 31 9|5 5E LD |
|00003b70| 53 50 2c 23 35 45 39 35 | 20 20 20 20 20 20 20 20 |SP,#5E95| |
|00003b80| 20 20 20 20 20 20 20 20 | 20 35 45 35 44 20 32 36 | | 5E5D 26|
|00003b90| 20 35 45 20 4c 44 20 48 | 2c 23 35 45 20 20 20 20 | 5E LD H|,#5E |
|00003ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003bb0| 20 20 20 35 45 35 46 20 | 45 35 20 50 55 53 48 20 | 5E5F |E5 PUSH |
|00003bc0| 48 4c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |HL | |
|00003bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 35 45 36 | | 5E6|
|00003be0| 30 20 32 31 20 36 38 20 | 35 45 20 4c 44 20 48 4c |0 21 68 |5E LD HL|
|00003bf0| 2c 23 35 45 36 38 20 20 | 20 20 20 20 20 20 20 20 |,#5E68 | |
|00003c00| 20 20 20 20 20 20 20 35 | 45 36 33 20 45 39 20 4a | 5|E63 E9 J|
|00003c10| 50 20 28 48 4c 29 20 20 | 20 20 20 20 20 20 20 20 |P (HL) | |
|00003c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c80| 20 20 20 20 20 | | | |
+--------+-------------------------+-------------------------+--------+--------+