home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / utilities / intmod < prev    next >
ArcFS Archive  |  1995-10-01  |  17.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: ArcFS Archive (archive/arcFS).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 20 01 00 00 80 01 00 00 |Archive.| .......|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 49 6e 74 4d 6f 64 | 00 00 00 00 ff ff ff ff |.!IntMod|........|
|00000070| 44 fd ff ff e2 48 4a 61 | 00 00 00 00 ff ff ff ff |D....HJa|........|
|00000080| fc 00 00 80 82 21 42 6f | 6f 74 00 00 77 77 77 77 |.....!Bo|ot..wwww|
|00000090| 5d 00 00 00 43 eb ff ff | 07 a0 00 54 03 00 65 a1 |]...C...|...T..e.|
|000000a0| 5d 00 00 00 24 00 00 00 | 82 21 52 75 6e 00 00 00 |]...$...|.!Run...|
|000000b0| 77 77 77 77 55 00 00 00 | 43 eb ff ff 66 58 f8 98 |wwwwU...|C...fX..|
|000000c0| 03 00 d6 e0 55 00 00 00 | a5 00 00 00 82 21 53 70 |....U...|.....!Sp|
|000000d0| 72 69 74 65 73 00 77 77 | 8c 01 00 00 41 f9 ff ff |rites.ww|....A...|
|000000e0| 63 da 35 be 03 00 9f 03 | 8c 01 00 00 1e 01 00 00 |c.5.....|........|
|000000f0| 82 49 6e 74 4d 6f 64 75 | 6c 65 00 77 94 0a 00 00 |.IntModu|le.w....|
|00000100| 41 fa ff ff 6c 17 33 be | 03 00 2c 6c 94 0a 00 00 |A...l.3.|..,l....|
|00000110| ce 02 00 00 82 49 6e 74 | 53 72 63 00 77 77 77 77 |.....Int|Src.wwww|
|00000120| 01 35 00 00 41 fb ff ff | 36 93 04 ad 03 00 94 4d |.5..A...|6......M|
|00000130| 01 35 00 00 86 0d 00 00 | 00 00 00 01 17 00 00 00 |.5......|........|
|00000140| 77 77 77 77 77 77 77 77 | 77 77 77 11 77 77 77 07 |wwwwwwww|www.www.|
|00000150| 00 ff 0f ff ff 0f ff ff | 7f fe ff 0f 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 d4 01 00 00 |........|........|
|00000180| 46 69 6c 65 44 61 74 61 | 82 21 42 6f 6f 74 00 00 |FileData|.!Boot..|
|00000190| 77 77 77 77 5d 00 00 00 | 43 eb ff ff 07 a0 00 54 |wwww]...|C......T|
|000001a0| 03 00 65 a1 49 63 6f 6e | 53 70 72 69 74 65 73 20 |..e.Icon|Sprites |
|000001b0| 3c 4f 62 65 79 24 44 69 | 72 3e 2e 21 53 70 72 69 |<Obey$Di|r>.!Spri|
|000001c0| 74 65 73 0a 7c 20 54 68 | 69 73 20 66 69 6c 65 20 |tes.| Th|is file |
|000001d0| 68 61 73 20 62 65 65 6e | 20 69 6e 6e 6f 63 75 6c |has been| innocul|
|000001e0| 61 74 65 64 20 61 67 61 | 69 6e 73 74 20 74 68 65 |ated aga|inst the|
|000001f0| 20 45 78 74 65 6e 64 20 | 56 69 72 75 73 0a 7c 7c | Extend |Virus.|||
|00000200| ff 46 69 6c 65 44 61 74 | 61 82 21 52 75 6e 00 00 |.FileDat|a.!Run..|
|00000210| 00 77 77 77 77 55 00 00 | 00 43 eb ff ff 66 58 f8 |.wwwwU..|.C...fX.|
|00000220| 98 03 00 d6 e0 52 4d 45 | 6e 73 75 72 65 20 50 72 |.....RME|nsure Pr|
|00000230| 6f 67 20 31 2e 31 30 20 | 52 4d 4c 6f 61 64 20 3c |og 1.10 |RMLoad <|
|00000240| 4f 62 65 79 24 44 69 72 | 3e 2e 49 6e 74 4d 6f 64 |Obey$Dir|>.IntMod|
|00000250| 75 6c 65 0a 45 63 68 6f | 20 49 6e 74 65 72 72 75 |ule.Echo| Interru|
|00000260| 70 74 20 6d 6f 64 75 6c | 65 20 69 73 20 6e 6f 77 |pt modul|e is now|
|00000270| 20 69 6e 73 74 61 6c 6c | 65 64 46 69 6c 65 44 61 | install|edFileDa|
|00000280| 74 61 82 21 53 70 72 69 | 74 65 73 00 77 77 8c 01 |ta.!Spri|tes.ww..|
|00000290| 00 00 41 f9 ff ff 63 da | 35 be 03 00 9f 03 01 00 |..A...c.|5.......|
|000002a0| 00 00 10 00 00 00 90 01 | 00 00 80 01 00 00 21 69 |........|......!i|
|000002b0| 6e 74 6d 6f 64 00 00 00 | 00 00 04 00 00 00 10 00 |ntmod...|........|
|000002c0| 00 00 00 00 00 00 0f 00 | 00 00 2c 00 00 00 2c 00 |........|..,...,.|
|000002d0| 00 00 0c 00 00 00 99 99 | 99 99 b9 bb bb bb bb bb |........|........|
|000002e0| 9b 99 99 99 99 99 99 99 | 00 00 99 99 99 99 b9 bb |........|........|
|000002f0| bb bb bb bb 9b 99 99 99 | 99 99 99 99 00 00 99 99 |........|........|
|00000300| 99 99 b9 bb bb bb bb bb | 9b 99 99 99 99 99 99 99 |........|........|
|00000310| 00 00 99 99 99 99 b9 bb | bb bb bb bb 9b 99 99 99 |........|........|
|00000320| 99 99 99 99 00 00 99 99 | 99 99 b9 bb bb bb bb bb |........|........|
|00000330| 9b 99 99 99 99 79 99 99 | 00 00 99 99 99 99 99 bb |.....y..|........|
|00000340| bb bb bb bb 99 99 99 99 | 99 79 97 99 00 00 99 99 |........|.y......|
|00000350| 99 99 99 99 99 99 99 99 | 99 99 99 99 99 79 77 99 |........|.....yw.|
|00000360| 00 00 77 77 77 77 77 77 | 77 77 77 77 77 77 77 77 |..wwwwww|wwwwwwww|
|00000370| 77 77 77 97 00 00 77 77 | 77 77 77 77 77 77 77 77 |www...ww|wwwwwwww|
|00000380| 77 77 77 77 77 77 77 77 | 00 00 77 77 77 77 77 77 |wwwwwwww|..wwwwww|
|00000390| 77 77 77 77 77 77 77 77 | 77 77 77 97 00 00 99 99 |wwwwwwww|www.....|
|000003a0| 99 99 99 99 99 99 99 99 | 99 99 99 99 99 79 77 99 |........|.....yw.|
|000003b0| 00 00 99 99 99 99 99 bb | bb bb bb bb 99 99 99 99 |........|........|
|000003c0| 99 79 97 99 00 00 99 99 | 99 99 b9 bb bb bb bb bb |.y......|........|
|000003d0| 9b 99 99 99 99 79 99 99 | 00 00 99 99 99 99 b9 bb |.....y..|........|
|000003e0| bb bb bb bb 9b 99 99 99 | 99 99 99 99 00 00 99 99 |........|........|
|000003f0| 99 99 b9 bb bb bb bb bb | 9b 99 99 99 99 99 99 99 |........|........|
|00000400| 00 00 99 99 99 99 b9 bb | bb bb bb bb 9b 99 99 99 |........|........|
|00000410| 99 99 99 99 00 00 99 99 | 99 99 b9 bb bb bb bb bb |........|........|
|00000420| 9b 99 99 99 99 99 99 99 | 88 d4 46 69 6c 65 44 61 |........|..FileDa|
|00000430| 74 61 82 49 6e 74 4d 6f | 64 75 6c 65 00 77 94 0a |ta.IntMo|dule.w..|
|00000440| 00 00 41 fa ff ff 6c 17 | 33 be 03 00 2c 6c 00 00 |..A...l.|3...,l..|
|00000450| 00 00 b0 02 00 00 fc 02 | 00 00 84 02 00 00 4e 00 |........|......N.|
|00000460| 00 00 2c 00 00 00 58 00 | 00 00 00 00 00 00 00 00 |..,...X.|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 50 72 6f 67 20 69 |........|..Prog i|
|00000480| 6e 74 65 72 72 75 70 74 | 09 31 2e 31 30 20 28 32 |nterrupt|.1.10 (2|
|00000490| 31 20 4d 61 79 20 31 39 | 38 39 29 00 49 6e 74 4d |1 May 19|89).IntM|
|000004a0| 6f 64 75 6c 65 00 49 6e | 74 65 72 72 75 70 74 00 |odule.In|terrupt.|
|000004b0| 69 61 48 03 00 00 01 00 | ff 00 b7 01 00 00 90 00 |iaH.....|........|
|000004c0| 00 00 46 72 65 65 7a 65 | 00 20 3c 02 00 00 00 00 |..Freeze|. <.....|
|000004d0| 00 00 29 02 00 00 e4 01 | 00 00 00 00 00 00 2a 49 |..).....|......*I|
|000004e0| 6e 74 65 72 72 75 70 74 | 20 73 65 74 73 20 75 70 |nterrupt| sets up|
|000004f0| 20 61 20 72 6f 75 74 69 | 6e 65 20 74 6f 20 73 74 | a routi|ne to st|
|00000500| 6f 70 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |op an ap|plicatio|
|00000510| 6e 20 77 69 74 68 20 61 | 20 6b 65 79 20 70 72 65 |n with a| key pre|
|00000520| 73 73 20 61 6e 64 20 70 | 65 72 66 6f 72 6d 20 61 |ss and p|erform a|
|00000530| 20 73 70 65 63 69 66 69 | 65 64 20 2a 63 6f 6d 6d | specifi|ed *comm|
|00000540| 61 6e 64 0a 0d 49 66 20 | 6e 6f 20 63 6f 6d 6d 61 |and..If |no comma|
|00000550| 6e 64 20 69 73 20 67 69 | 76 65 6e 20 2a 63 6f 6d |nd is gi|ven *com|
|00000560| 6d 61 6e 64 73 20 63 61 | 6e 20 62 65 20 74 79 70 |mands ca|n be typ|
|00000570| 65 64 20 64 75 72 69 6e | 67 20 74 68 65 20 69 6e |ed durin|g the in|
|00000580| 74 65 72 72 75 70 74 69 | 6f 6e 0a 0d 2a 49 6e 74 |terrupti|on..*Int|
|00000590| 65 72 72 75 70 74 20 3c | 6b 65 79 3e 20 46 72 65 |errupt <|key> Fre|
|000005a0| 65 7a 65 20 2d 20 77 61 | 69 74 73 20 75 6e 74 69 |eze - wa|its unti|
|000005b0| 6c 20 74 68 65 20 73 70 | 61 63 65 20 62 61 72 20 |l the sp|ace bar |
|000005c0| 69 73 20 70 72 65 73 73 | 65 64 20 26 20 72 65 6c |is press|ed & rel|
|000005d0| 65 61 73 65 64 0a 0d 2a | 49 6e 74 65 72 72 75 70 |eased..*|Interrup|
|000005e0| 74 20 2d 31 20 64 69 73 | 61 62 6c 65 73 20 74 68 |t -1 dis|ables th|
|000005f0| 65 20 69 6e 74 65 72 72 | 75 70 74 20 72 6f 75 74 |e interr|upt rout|
|00000600| 69 6e 65 0a 0d 53 79 6e | 74 61 78 3a 20 2a 49 6e |ine..Syn|tax: *In|
|00000610| 74 65 72 72 75 70 74 20 | 3c 41 53 43 49 49 20 63 |terrupt |<ASCII c|
|00000620| 6f 64 65 3e 20 5b 3c 2a | 63 6f 6d 6d 61 6e 64 3e |ode> [<*|command>|
|00000630| 5d 00 2a 46 72 65 65 7a | 65 20 73 74 6f 70 73 20 |].*Freez|e stops |
|00000640| 70 72 6f 63 65 73 73 69 | 6e 67 20 75 6e 74 69 6c |processi|ng until|
|00000650| 20 74 68 65 20 73 70 61 | 63 65 62 61 72 20 69 73 | the spa|cebar is|
|00000660| 20 70 72 65 73 73 65 64 | 20 61 6e 64 20 72 65 6c | pressed| and rel|
|00000670| 65 61 73 65 64 0a 0d 53 | 79 6e 74 61 78 3a 20 2a |eased..S|yntax: *|
|00000680| 46 72 65 65 7a 65 00 20 | 20 45 0f 40 2d e9 81 00 |Freeze. | E.@-...|
|00000690| a0 e3 62 10 e0 e3 ff 20 | a0 e3 06 00 00 ef ff 00 |..b.... |........|
|000006a0| 51 e3 ff 00 52 03 f9 ff | ff 1a 62 10 e0 e3 ff 20 |Q...R...|..b.... |
|000006b0| a0 e3 06 00 00 ef ff 00 | 51 e3 ff 00 52 03 f9 ff |........|Q...R...|
|000006c0| ff 0a 15 00 a0 e3 00 10 | a0 e3 06 00 00 ef 0f 80 |........|........|
|000006d0| bd e8 27 00 51 e3 0e f0 | a0 11 07 40 2d e9 24 02 |..'.Q...|...@-.$.|
|000006e0| df e5 80 00 50 e3 80 00 | 40 22 18 02 cf e5 00 00 |....P...|@"......|
|000006f0| a0 e3 80 01 cf e5 7d 01 | cf e5 01 00 00 ea 07 40 |......}.|.......@|
|00000700| 2d e9 70 01 df e5 ff 00 | 50 e3 05 00 00 0a ff 00 |-.p.....|P.......|
|00000710| a0 e3 60 01 cf e5 10 00 | a0 e3 57 1f 8f e2 00 20 |..`.....|..W.... |
|00000720| a0 e3 1f 00 00 ef 4d 01 | df e5 ff 00 50 e3 00 80 |......M.|....P...|
|00000730| bd 08 ff 00 a0 e3 3d 01 | cf e5 0e 00 a0 e3 02 10 |......=.|........|
|00000740| a0 e3 06 00 00 ef 07 80 | bd e8 00 40 2d e9 25 01 |........|...@-.%.|
|00000750| df e5 ff 00 50 e3 04 00 | 00 1a 00 00 a0 e3 15 01 |....P...|........|
|00000760| cf e5 0d 00 a0 e3 02 10 | a0 e3 06 00 00 ef 04 01 |........|........|
|00000770| df e5 ff 00 50 e3 00 80 | bd 18 00 00 a0 e3 f4 00 |....P...|........|
|00000780| cf e5 10 00 a0 e3 f0 10 | 8f e2 00 20 a0 e3 20 00 |........|... .. .|
|00000790| 00 ef 00 80 bd e8 1f 40 | 2d e9 00 30 a0 e1 01 40 |.......@|-..0...@|
|000007a0| a0 e1 5a 0f 8f e2 01 10 | d3 e4 20 00 51 e3 0d 10 |..Z.....|.. .Q...|
|000007b0| a0 03 01 10 c0 e4 0d 00 | 51 e3 f9 ff ff 1a 53 0f |........|Q.....S.|
|000007c0| 8f e2 d2 1f 8f e2 3f 20 | a0 e3 2d 00 02 ef 02 00 |......? |..-.....|
|000007d0| 00 6a 00 00 51 e3 02 00 | 00 0a 6c 00 8f e2 3e 00 |.j..Q...|..l...>.|
|000007e0| bd e8 20 00 00 ea 01 0c | 52 e3 07 00 00 3a 01 00 |.. .....|R....:..|
|000007f0| 72 e3 f8 ff ff 1a 0c 11 | df e5 00 00 a0 e3 80 00 |r.......|........|
|00000800| 51 e3 80 00 a0 23 fc 00 | cf e5 1f 80 bd e8 f8 10 |Q....#..|........|
|00000810| 8f e2 00 20 c1 e5 ec 10 | df e5 80 10 01 e2 01 10 |... ....|........|
|00000820| 81 e2 01 00 54 e3 01 10 | 81 12 d8 10 cf e5 1f 80 |....T...|........|
|00000830| bd 08 03 00 a0 e1 75 1f | 8f e2 01 20 d0 e4 01 20 |......u.|... ... |
|00000840| c1 e4 0d 00 52 e3 fb ff | ff 1a 1f 80 bd e8 a1 08 |....R...|........|
|00000850| 01 00 42 61 64 20 6b 65 | 79 63 6f 64 65 20 70 61 |..Bad ke|ycode pa|
|00000860| 72 61 6d 65 74 65 72 00 | 39 20 0f 10 a0 e1 01 12 |rameter.|9 ......|
|00000870| 81 e3 00 f0 31 e3 00 80 | bd e8 00 00 00 62 80 40 |....1...|.....b.@|
|00000880| 2d e9 00 70 a0 e3 00 00 | 52 e3 16 70 4f 15 78 70 |-..p....|R..pO.xp|
|00000890| df e5 02 00 57 e1 80 80 | bd 18 68 70 df e5 01 00 |....W...|..hp....|
|000008a0| 57 e3 02 00 57 13 80 80 | bd 18 67 00 2d e9 0f 60 |W...W...|..g.-..`|
|000008b0| a0 e1 03 70 86 e3 00 f0 | 37 e3 00 00 a0 f1 00 40 |...p....|7......@|
|000008c0| 2d e9 00 00 52 e3 07 00 | 00 1a 56 50 5f e5 ff 00 |-...R...|..VP_...|
|000008d0| 55 e3 02 00 00 0a ff 50 | a0 e3 66 50 4f e5 05 00 |U......P|..fPO...|
|000008e0| 00 ea 00 50 a0 e3 72 50 | 4f e5 22 0e 8f e2 97 1f |...P..rP|O.".....|
|000008f0| 8f e2 15 00 00 ef 1b 00 | 00 ef 00 40 bd e8 00 f0 |........|...@....|
|00000900| 36 e3 00 00 a0 f1 e7 80 | bd e8 00 00 00 00 00 00 |6.......|........|
|00000910| 00 00 74 65 78 74 20 63 | 75 72 73 6f 72 0d 10 ea |..text c|ursor...|
|00000920| 26 20 20 20 45 51 55 42 | 20 31 37 20 20 5c 20 53 |& EQUB| 17 \ S|
|00000930| 65 6c 65 63 74 20 54 65 | 78 74 20 63 6f 6c 6f 75 |elect Te|xt colou|
|00000940| 72 20 31 0d 10 f4 0d 20 | 20 20 45 51 55 42 20 31 |r 1.... | EQUB 1|
|00000950| 0d 10 fe 2c 20 20 20 45 | 51 55 42 20 31 37 20 20 |..., E|QUB 17 |
|00000960| 5c 20 53 65 6c 65 63 74 | 20 62 61 63 6b 67 72 6f |\ Select| backgro|
|00000970| 75 6e 64 20 63 6f 6c 6f | 75 72 20 30 0d 11 08 0f |und colo|ur 0....|
|00000980| 20 20 20 45 51 55 42 20 | 31 32 38 0d 11 12 13 20 | EQUB |128.... |
|00000990| 20 20 45 51 55 42 20 31 | 32 20 20 5c 20 db 0d 11 | EQUB 1|2 \ ...|
|000009a0| 1c 0f 2e 54 65 72 6d 69 | 6e 61 74 6f 72 0d 11 26 |...Termi|nator..&|
|000009b0| 1a 20 20 20 53 54 4d 46 | 44 20 52 31 33 21 2c 7b |. STMF|D R13!,{|
|000009c0| 52 30 2c 52 31 34 7d 0d | 11 30 10 20 20 20 4d 4f |R0,R14}.|.0. MO|
|000009d0| 56 20 52 30 2c 23 38 0d | 11 3a 0d 2e 54 65 72 6d |V R0,#8.|.:..Term|
|000009e0| 4c 6f 6f 70 0d 11 44 0e | 20 20 20 53 57 49 20 32 |Loop..D.| SWI 2|
|000009f0| 35 36 0d 11 4e 14 20 20 | 20 53 55 42 53 20 52 30 |56..N. | SUBS R0|
|00000a00| 2c 52 30 2c 23 31 0d 11 | 58 13 20 20 20 42 4e 45 |,R0,#1..|X. BNE|
|00000a10| 20 54 65 72 6d 4c 6f 6f | 70 0d 11 62 19 20 20 20 | TermLoo|p..b. |
|00000a20| 4c 44 4d 46 44 20 52 31 | 33 21 2c 7b 52 30 2c 50 |LDMFD R1|3!,{R0,P|
|00000a30| 43 7d 0d 11 6c 04 0d 11 | 76 4a 2e 54 69 64 79 55 |C}..l...|vJ.TidyU|
|00000a40| 70 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 20 52 |p | \ R|
|00000a50| 65 73 65 74 73 20 61 70 | 70 6c 27 6e 20 ef 20 73 |esets ap|pl'n . s|
|00000a60| 65 74 75 70 20 61 6e 64 | 20 74 72 69 65 73 20 74 |etup and| tries t|
|00000a70| 6f 20 72 65 73 74 6f 72 | 65 20 73 63 72 65 65 6e |o restor|e screen|
|00000a80| 0d 11 80 15 20 20 20 41 | 44 52 20 52 33 2c 43 6f |.... A|DR R3,Co|
|00000a90| 6c 6f 75 72 73 0d 11 8a | 10 20 20 20 4d 4f 56 20 |lours...|. MOV |
|00000aa0| 52 31 2c 23 34 0d 11 94 | 11 20 20 20 4d 4f 56 20 |R1,#4...|. MOV |
|00000ab0| 52 32 2c 23 31 32 0d 11 | 9e 0b 2e 54 4c 6f 6f 70 |R2,#12..|...TLoop|
|00000ac0| 31 0d 11 a8 11 20 20 20 | 53 57 49 20 32 35 36 2b |1.... |SWI 256+|
|00000ad0| 31 39 0d 11 b2 17 20 20 | 20 4d 4f 56 20 52 30 2c |19.... | MOV R0,|
|00000ae0| 52 32 2c 4c 53 52 20 23 | 33 0d 11 bc 16 20 20 20 |R2,LSR #|3.... |
|00000af0| 53 57 49 20 22 4f 53 5f | 57 72 69 74 65 43 22 0d |SWI "OS_|WriteC".|
|00000b00| 11 c6 13 20 20 20 41 44 | 44 20 52 30 2c 52 33 2c |... AD|D R0,R3,|
|00000b10| 52 32 0d 11 d0 16 20 20 | 20 53 57 49 20 22 4f 53 |R2.... | SWI "OS|
|00000b20| 5f 57 72 69 74 65 4e 22 | 0d 11 da 14 20 20 20 53 |_WriteN"|.... S|
|00000b30| 55 42 53 20 52 32 2c 52 | 32 2c 23 34 0d 11 e4 11 |UBS R2,R|2,#4....|
|00000b40| 20 20 20 42 50 4c 20 54 | 4c 6f 6f 70 31 0d 11 ee | BPL T|Loop1...|
|00000b50| 10 20 50 02 5f e5 80 00 | 80 e2 58 02 4f e5 0f 10 |. P._...|..X.O...|
|00000b60| a0 e1 02 13 c1 e3 03 10 | 81 e3 00 f0 31 e3 01 10 |........|....1...|
|00000b70| a0 f1 81 00 50 e3 03 00 | 00 0a 17 0e 4f e2 05 00 |....P...|....O...|
|00000b80| 02 ef 07 01 02 6f c1 00 | 00 ea 75 00 a0 e3 06 00 |.....o..|..u.....|
|00000b90| 02 ef a0 11 cf e5 03 00 | a0 e3 54 10 a0 e3 06 00 |........|..T.....|
|00000ba0| 02 ef 93 11 cf e5 a5 00 | a0 e3 06 00 02 ef 85 11 |........|........|
|00000bb0| cf e5 82 21 cf e5 da 00 | a0 e3 00 10 a0 e3 00 20 |...!....|....... |
|00000bc0| a0 e3 06 00 02 ef 00 00 | a0 e3 10 10 a0 e3 2f 00 |........|....../.|
|00000bd0| 02 ef 1c 21 8f e5 1c 31 | 8f e5 01 00 a0 e3 2f 00 |...!...1|....../.|
|00000be0| 02 ef 14 21 8f e5 14 31 | 8f e5 d0 00 8f e2 11 1e |...!...1|........|
|00000bf0| 8f e2 31 00 02 ef 2c 01 | 9f e5 40 01 cf e5 28 01 |..1...,.|..@...(.|
|00000c00| 9f e5 37 01 cf e5 03 00 | a0 e3 59 10 8f e2 1e 00 |..7.....|..Y.....|
|00000c10| 02 ef 05 00 00 7a 00 00 | 90 e5 04 00 40 e2 ff 00 |.....z..|....@...|
|00000c20| 50 e3 01 00 00 1a 3c 00 | cf e5 01 00 00 ea 00 00 |P.....<.|........|
|00000c30| a0 e3 30 00 cf e5 01 00 | a0 e3 f0 30 9f e5 03 10 |..0.....|...0....|
|00000c40| a0 e1 41 00 02 ef 00 20 | a0 23 e4 20 8f e5 09 00 |..A.... |.#. ....|
|00000c50| 00 2a bc 10 9f e5 f0 0f | b1 e8 f0 0f a2 e8 20 30 |.*......|...... 0|
|00000c60| 53 e2 fb ff ff 8a 03 00 | 00 ea 00 57 69 6e 64 6f |S.......|...Windo|
|00000c70| 77 4d 61 6e 61 67 65 72 | 00 2c bc 00 8f e2 d1 10 |wManager|.,......|
|00000c80| 8f e2 00 10 41 e0 46 00 | 00 ef 01 00 00 ef 0d 0a |....A.F.|........|
|00000c90| 2a 00 e2 0f 4f e2 fe 10 | a0 e3 20 20 a0 e3 ff 30 |*...O...|.. ...0|
|00000ca0| a0 e3 0e 00 02 ef 86 00 | 00 2a 88 00 00 6a 00 00 |........|.*...j..|
|00000cb0| 51 e3 2e 00 00 0a 05 00 | 02 ef 84 00 00 6a f1 ff |Q.......|.....j..|
|00000cc0| ff ea 84 00 00 00 85 00 | 00 00 86 00 00 00 87 00 |........|........|
|00000cd0| 00 00 95 00 00 00 9b 00 | 00 00 9c 00 00 00 9f 00 |........|........|
|00000ce0| 00 00 a0 00 00 00 01 00 | 00 00 02 00 00 00 07 00 |........|........|
|00000cf0| 00 00 ff ff ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 06 1c |........|........|
|00000d40| 00 00 00 00 13 00 04 00 | 00 00 13 01 07 00 00 00 |........|........|
|00000d50| 0e 04 11 01 11 80 0c 53 | 57 49 01 40 2d e9 08 00 |.......S|WI.@-...|
|00000d60| a0 e3 00 01 00 ef 01 00 | 50 e2 fc ff ff 1a 01 80 |........|P.......|
|00000d70| bd e8 84 30 4f e2 04 10 | a0 e3 0c 20 a0 e3 13 01 |...0O...|... ....|
|00000d80| 00 ef a2 01 a0 e1 00 00 | 00 ef 02 00 83 e0 46 00 |........|......F.|
|00000d90| 00 ef 04 20 52 e2 f8 ff | ff 5a 04 20 a0 e3 84 30 |... R...|.Z. ...0|
|00000da0| 4f e2 17 01 00 ef 11 01 | 00 ef 22 01 a0 e1 00 00 |O.......|..".....|
|00000db0| 00 ef 02 00 93 e7 00 00 | 00 ef e6 ff ff eb 04 20 |........|....... |
|00000dc0| 52 e2 f6 ff ff 5a b4 00 | 5f e5 11 01 00 ef 00 00 |R....Z..|_.......|
|00000dd0| 00 ef bc 00 5f e5 80 00 | 80 e2 11 01 00 ef 00 00 |...._...|........|
|00000de0| 00 ef 1c 01 00 ef e8 10 | 4f e2 04 20 a0 e3 04 00 |........|O.. ....|
|00000df0| d1 e4 00 00 00 ef 01 20 | 52 e2 fb ff ff 1a 1f 01 |....... |R.......|
|00000e00| 00 ef cf 00 5f e5 00 00 | 00 ef d6 00 5f e5 00 00 |...._...|...._...|
|00000e10| 00 ef e0 30 5f e5 01 00 | 13 e3 02 01 00 1f 04 00 |...0_...|........|
|00000e20| 13 e3 0f 01 00 0f 20 00 | 13 e3 05 01 00 1f 80 00 |...... .|........|
|00000e30| 13 e3 15 01 00 1f 01 11 | 5f e5 03 00 a0 e3 06 00 |........|_.......|
|00000e40| 00 ef 14 11 1f e5 00 00 | 51 e3 07 00 00 0a 40 21 |........|Q.....@!|
|00000e50| 1f e5 28 31 1f e5 f0 0f | b1 e8 f0 0f a2 e8 20 30 |..(1....|...... 0|
|00000e60| 53 e2 fb ff ff 8a 00 00 | a0 e3 41 00 00 ef 0c 12 |S.......|..A.....|
|00000e70| 5f e5 00 00 51 e3 05 00 | 00 0a 00 00 e0 e3 00 10 |_...Q...|........|
|00000e80| a0 e3 00 20 a0 e3 09 3c | a0 e3 07 4c a0 e3 d1 00 |... ...<|...L....|
|00000e90| 06 ef 0f 00 a0 e1 02 03 | 80 e3 00 f0 30 e3 9c 05 |........|....0...|
|00000ea0| 5f e5 80 00 40 e2 a4 05 | 4f e5 3a ee 4f e2 ff 7f |_...@...|O.:.O...|
|00000eb0| de e8 3c e0 9e e5 0e f0 | b0 e1 11 00 00 00 45 73 |..<.....|......Es|
|00000ec0| 63 61 70 65 00 32 7c 00 | a0 e3 06 00 02 ef 1c 00 |cape.2|.|........|
|00000ed0| 4f e2 04 00 80 e2 03 00 | 00 ef 02 00 00 ef 69 ff |O.......|......i.|
|00000ee0| ff ea 46 69 6c 65 44 61 | 74 61 82 49 6e 74 53 72 |..FileDa|ta.IntSr|
|00000ef0| 63 00 77 77 77 77 01 35 | 00 00 41 fb ff ff 36 93 |c.wwww.5|..A...6.|
|00000f00| 04 ad 03 00 94 4d 0d 00 | 0a 10 f4 20 20 3e 24 2e |.....M..|... >$.|
|00000f10| 49 6e 74 53 72 63 0d 00 | 14 19 f4 20 20 41 75 74 |IntSrc..|... Aut|
|00000f20| 68 6f 72 20 53 74 65 76 | 65 20 48 6f 61 72 65 0d |hor Stev|e Hoare.|
|00000f30| 00 1e 12 f4 20 20 32 31 | 20 4d 61 79 20 31 39 38 |.... 21| May 198|
|00000f40| 39 0d 00 28 2d f4 20 20 | 53 6f 75 72 63 65 20 63 |9..(-. |Source c|
|00000f50| 6f 64 65 20 66 6f 72 20 | 49 6e 74 65 72 72 75 70 |ode for |Interrup|
|00000f60| 74 20 6d 6f 64 75 6c 65 | 20 56 31 2e 31 30 0d 00 |t module| V1.10..|
|00000f70| 32 04 0d 00 3c 11 de 20 | 53 70 61 63 65 20 26 31 |2...<.. |Space &1|
|00000f80| 30 30 30 0d 00 46 12 e3 | 20 49 25 3d 34 20 b8 20 |000..F..| I%=4 . |
|00000f90| 37 20 88 20 33 0d 00 50 | 11 50 25 3d 30 3a 4f 25 |7 . 3..P|.P%=0:O%|
|00000fa0| 3d 53 70 61 63 65 0d 00 | 5a 0b 5b 4f 50 54 20 49 |=Space..|Z.[OPT I|
|00000fb0| 25 0d 00 64 19 20 20 20 | 45 51 55 44 20 30 3b 20 |%..d. |EQUD 0; |
|00000fc0| 20 20 20 20 20 53 74 61 | 72 74 0d 00 6e 10 20 20 | Sta|rt..n. |
|00000fd0| 20 45 51 55 44 20 49 6e | 69 74 0d 00 78 11 20 20 | EQUD In|it..x. |
|00000fe0| 20 45 51 55 44 20 46 69 | 6e 61 6c 0d 00 82 13 20 | EQUD Fi|nal.... |
|00000ff0| 20 20 45 51 55 44 20 53 | 65 72 76 69 63 65 0d 00 | EQUD S|ervice..|
|00001000| 8c 11 20 20 20 45 51 55 | 44 20 54 69 74 6c 65 0d |.. EQU|D Title.|
|00001010| 00 96 10 20 20 20 45 51 | 55 44 20 48 65 6c 70 0d |... EQ|UD Help.|
|00001020| 00 a0 11 20 20 20 45 51 | 55 44 20 54 61 62 6c 65 |... EQ|UD Table|
|00001030| 0d 00 aa 2a 20 20 20 45 | 51 55 44 20 30 3b 20 20 |...* E|QUD 0; |
|00001040| 20 20 20 20 53 57 49 20 | 73 74 75 66 66 20 28 6e | SWI |stuff (n|
|00001050| 6f 74 20 6e 65 65 64 65 | 64 29 0d 00 b4 1d 20 20 |ot neede|d).... |
|00001060| 20 45 51 55 44 20 30 3b | 20 20 20 20 20 20 53 57 | EQUD 0;| SW|
|00001070| 49 20 73 74 75 66 66 0d | 00 be 1d 20 20 20 45 51 |I stuff.|... EQ|
|00001080| 55 44 20 30 3b 20 20 20 | 20 20 20 53 57 49 20 73 |UD 0; | SWI s|
|00001090| 74 75 66 66 0d 00 c8 1d | 20 20 20 45 51 55 44 20 |tuff....| EQUD |
|000010a0| 30 3b 20 20 20 20 20 20 | 53 57 49 20 73 74 75 66 |0; |SWI stuf|
|000010b0| 66 0d 00 d2 09 2e 48 65 | 6c 70 0d 00 dc 3d 20 20 |f.....He|lp...= |
|000010c0| 20 45 51 55 53 20 22 50 | 72 6f 67 20 69 6e 74 65 | EQUS "P|rog inte|
|000010d0| 72 72 75 70 74 22 3a 45 | 51 55 42 20 39 3a 45 51 |rrupt":E|QUB 9:EQ|
|000010e0| 55 53 20 22 31 2e 31 30 | 20 28 32 31 20 4d 61 79 |US "1.10| (21 May|
|000010f0| 20 31 39 38 39 29 22 0d | 00 e6 0d 20 20 20 45 51 | 1989)".|... EQ|
|00001100| 55 42 20 30 0d 00 f0 0a | 2e 54 69 74 6c 65 0d 00 |UB 0....|.Title..|
|00001110| fa 17 20 20 20 45 51 55 | 53 20 22 49 6e 74 4d 6f |.. EQU|S "IntMo|
|00001120| 64 75 6c 65 22 0d 01 04 | 0d 20 20 20 45 51 55 42 |dule"...|. EQUB|
|00001130| 20 30 0d 01 0e 0c 20 20 | 20 41 4c 49 47 4e 0d 01 | 0.... | ALIGN..|
|00001140| 18 0a 2e 54 61 62 6c 65 | 0d 01 22 17 20 20 20 45 |...Table|..". E|
|00001150| 51 55 53 20 22 49 6e 74 | 65 72 72 75 70 74 22 0d |QUS "Int|errupt".|
|00001160| 01 2c 0d 20 20 20 45 51 | 55 42 20 30 0d 01 36 0c |.,. EQ|UB 0..6.|
|00001170| 20 20 20 41 4c 49 47 4e | 0d 01 40 15 20 20 20 45 | ALIGN|..@. E|
|00001180| 51 55 44 20 49 6e 74 65 | 72 72 75 70 74 0d 01 4a |QUD Inte|rrupt..J|
|00001190| 4e 20 20 20 45 51 55 44 | 20 26 46 46 30 30 30 31 |N EQUD| &FF0001|
|000011a0| 20 20 20 20 20 20 20 20 | 20 3b 20 20 61 74 20 6c | | ; at l|
|000011b0| 65 61 73 74 20 31 20 70 | 61 72 61 6d 65 74 65 72 |east 1 p|arameter|
|000011c0| 2c 20 6e 6f 20 6d 61 78 | 69 6d 75 6d 2c 20 6e 6f |, no max|imum, no|
|000011d0| 74 20 47 53 54 72 61 6e | 73 65 64 0d 01 54 18 20 |t GSTran|sed..T. |
|000011e0| 20 20 45 51 55 44 20 49 | 6e 74 65 72 72 75 70 74 | EQUD I|nterrupt|
|000011f0| 53 79 6e 0d 01 5e 19 20 | 20 20 45 51 55 44 20 49 |Syn..^. | EQUD I|
|00001200| 6e 74 65 72 72 75 70 74 | 48 65 6c 70 0d 01 68 14 |nterrupt|Help..h.|
|00001210| 20 20 20 45 51 55 53 20 | 22 46 72 65 65 7a 65 22 | EQUS |"Freeze"|
|00001220| 0d 01 72 0d 20 20 20 45 | 51 55 42 20 30 0d 01 7c |..r. E|QUB 0..||
|00001230| 0c 20 20 20 41 4c 49 47 | 4e 0d 01 86 12 20 20 20 |. ALIG|N.... |
|00001240| 45 51 55 44 20 46 72 65 | 65 7a 65 0d 01 90 0d 20 |EQUD Fre|eze.... |
|00001250| 20 20 45 51 55 44 20 30 | 0d 01 9a 15 20 20 20 45 | EQUD 0|.... E|
|00001260| 51 55 44 20 46 72 65 65 | 7a 65 53 79 6e 0d 01 a4 |QUD Free|zeSyn...|
|00001270| 16 20 20 20 45 51 55 44 | 20 46 72 65 65 7a 65 48 |. EQUD| FreezeH|
|00001280| 65 6c 70 0d 01 ae 30 20 | 20 20 45 51 55 44 20 30 |elp...0 | EQUD 0|
|00001290| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 |; | E|
|000012a0| 6e 64 20 6f 66 20 63 6f | 6d 6d 61 6e 64 20 74 61 |nd of co|mmand ta|
|000012b0| 62 6c 65 0d 01 b8 04 0d | 01 c2 12 2e 49 6e 74 65 |ble.....|....Inte|
|000012c0| 72 72 75 70 74 48 65 6c | 70 0d 01 cc 7d 20 20 20 |rruptHel|p...} |
|000012d0| 45 51 55 53 20 22 2a 49 | 6e 74 65 72 72 75 70 74 |EQUS "*I|nterrupt|
|000012e0| 20 73 65 74 73 20 75 70 | 20 61 20 72 6f 75 74 69 | sets up| a routi|
|000012f0| 6e 65 20 74 6f 20 73 74 | 6f 70 20 61 6e 20 61 70 |ne to st|op an ap|
|00001300| 70 6c 69 63 61 74 69 6f | 6e 20 77 69 74 68 20 61 |plicatio|n with a|
|00001310| 20 6b 65 79 20 70 72 65 | 73 73 20 61 6e 64 20 70 | key pre|ss and p|
|00001320| 65 72 66 6f 72 6d 20 61 | 20 73 70 65 63 69 66 69 |erform a| specifi|
|00001330| 65 64 20 2a 63 6f 6d 6d | 61 6e 64 22 3a 45 51 55 |ed *comm|and":EQU|
|00001340| 57 20 26 44 30 41 0d 01 | d6 5d 20 20 20 45 51 55 |W &D0A..|.] EQU|
|00001350| 53 20 22 49 66 20 6e 6f | 20 63 6f 6d 6d 61 6e 64 |S "If no| command|
|00001360| 20 69 73 20 67 69 76 65 | 6e 20 2a 63 6f 6d 6d 61 | is give|n *comma|
|00001370| 6e 64 73 20 63 61 6e 20 | 62 65 20 74 79 70 65 64 |nds can |be typed|
|00001380| 20 64 75 72 69 6e 67 20 | 74 68 65 20 69 6e 74 65 | during |the inte|
|00001390| 72 72 75 70 74 69 6f 6e | 22 3a 45 51 55 57 20 26 |rruption|":EQUW &|
|000013a0| 44 30 41 0d 01 e0 61 20 | 20 20 45 51 55 53 20 22 |D0A...a | EQUS "|
|000013b0| 2a 49 6e 74 65 72 72 75 | 70 74 20 3c 6b 65 79 3e |*Interru|pt <key>|
|000013c0| 20 46 72 65 65 7a 65 20 | 2d 20 77 61 69 74 73 20 | Freeze |- waits |
|000013d0| 75 6e 74 69 6c 20 74 68 | 65 20 73 70 61 63 65 20 |until th|e space |
|000013e0| 62 61 72 20 69 73 20 70 | 72 65 73 73 65 64 20 26 |bar is p|ressed &|
|000013f0| 20 72 65 6c 65 61 73 65 | 64 22 3a 45 51 55 57 20 | release|d":EQUW |
|00001400| 26 44 30 41 0d 01 ea 44 | 20 20 20 45 51 55 53 20 |&D0A...D| EQUS |
|00001410| 22 2a 49 6e 74 65 72 72 | 75 70 74 20 2d 31 20 64 |"*Interr|upt -1 d|
|00001420| 69 73 61 62 6c 65 73 20 | 74 68 65 20 69 6e 74 65 |isables |the inte|
|00001430| 72 72 75 70 74 20 72 6f | 75 74 69 6e 65 22 3a 45 |rrupt ro|utine":E|
|00001440| 51 55 57 20 26 44 30 41 | 0d 01 f4 11 2e 49 6e 74 |QUW &D0A|.....Int|
|00001450| 65 72 72 75 70 74 53 79 | 6e 0d 01 fe 3a 20 20 20 |erruptSy|n...: |
|00001460| 45 51 55 53 20 22 53 79 | 6e 74 61 78 3a 20 2a 49 |EQUS "Sy|ntax: *I|
|00001470| 6e 74 65 72 72 75 70 74 | 20 3c 41 53 43 49 49 20 |nterrupt| <ASCII |
|00001480| 63 6f 64 65 3e 20 5b 3c | 2a 63 6f 6d 6d 61 6e 64 |code> [<|*command|
|00001490| 3e 5d 22 0d 02 08 0d 20 | 20 20 45 51 55 42 20 30 |>]".... | EQUB 0|
|000014a0| 0d 02 12 0c 20 20 20 41 | 4c 49 47 4e 0d 02 1c 04 |.... A|LIGN....|
|000014b0| 0d 02 26 0f 2e 46 72 65 | 65 7a 65 48 65 6c 70 0d |..&..Fre|ezeHelp.|
|000014c0| 02 30 5b 20 20 20 45 51 | 55 53 20 22 2a 46 72 65 |.0[ EQ|US "*Fre|
|000014d0| 65 7a 65 20 73 74 6f 70 | 73 20 70 72 6f 63 65 73 |eze stop|s proces|
|000014e0| 73 69 6e 67 20 75 6e 74 | 69 6c 20 74 68 65 20 73 |sing unt|il the s|
|000014f0| 70 61 63 65 62 61 72 20 | 69 73 20 70 72 65 73 73 |pacebar |is press|
|00001500| 65 64 20 61 6e 64 20 72 | 65 6c 65 61 73 65 64 22 |ed and r|eleased"|
|00001510| 3a 45 51 55 57 20 26 44 | 30 41 0d 02 3a 0e 2e 46 |:EQUW &D|0A..:..F|
|00001520| 72 65 65 7a 65 53 79 6e | 0d 02 44 24 20 20 20 45 |reezeSyn|..D$ E|
|00001530| 51 55 53 20 22 53 79 6e | 74 61 78 3a 20 2a 46 72 |QUS "Syn|tax: *Fr|
|00001540| 65 65 7a 65 22 3a 45 51 | 55 42 20 30 0d 02 4e 0c |eeze":EQ|UB 0..N.|
|00001550| 20 20 20 41 4c 49 47 4e | 0d 02 58 04 0d 02 62 0b | ALIGN|..X...b.|
|00001560| 2e 46 72 65 65 7a 65 0d | 02 6c 1d 20 20 20 53 54 |.Freeze.|.l. ST|
|00001570| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2d 52 33 2c |MFD R13!|,{R0-R3,|
|00001580| 52 31 34 7d 0d 02 76 12 | 20 20 20 4d 4f 56 20 52 |R14}..v.| MOV R|
|00001590| 30 2c 23 31 32 39 0d 02 | 80 10 2e 46 72 65 65 7a |0,#129..|...Freez|
|000015a0| 65 4c 6f 6f 70 31 0d 02 | 8a 11 20 20 20 4d 56 4e |eLoop1..|.. MVN|
|000015b0| 20 52 31 2c 23 39 38 0d | 02 94 12 20 20 20 4d 4f | R1,#98.|... MO|
|000015c0| 56 20 52 32 2c 23 32 35 | 35 0d 02 9e 14 20 20 20 |V R2,#25|5.... |
|000015d0| 53 57 49 20 22 4f 53 5f | 42 79 74 65 22 0d 02 a8 |SWI "OS_|Byte"...|
|000015e0| 12 20 20 20 43 4d 50 20 | 52 31 2c 23 32 35 35 0d |. CMP |R1,#255.|
|000015f0| 02 b2 14 20 20 20 43 4d | 50 45 51 20 52 32 2c 23 |... CM|PEQ R2,#|
|00001600| 32 35 35 0d 02 bc 16 20 | 20 20 42 4e 45 20 46 72 |255.... | BNE Fr|
|00001610| 65 65 7a 65 4c 6f 6f 70 | 31 0d 02 c6 10 2e 46 72 |eezeLoop|1.....Fr|
|00001620| 65 65 7a 65 4c 6f 6f 70 | 32 0d 02 d0 11 20 20 20 |eezeLoop|2.... |
|00001630| 4d 56 4e 20 52 31 2c 23 | 39 38 0d 02 da 12 20 20 |MVN R1,#|98.... |
|00001640| 20 4d 4f 56 20 52 32 2c | 23 32 35 35 0d 02 e4 14 | MOV R2,|#255....|
|00001650| 20 20 20 53 57 49 20 22 | 4f 53 5f 42 79 74 65 22 | SWI "|OS_Byte"|
|00001660| 0d 02 ee 12 20 20 20 43 | 4d 50 20 52 31 2c 23 32 |.... C|MP R1,#2|
|00001670| 35 35 0d 02 f8 14 20 20 | 20 43 4d 50 45 51 20 52 |55.... | CMPEQ R|
|00001680| 32 2c 23 32 35 35 0d 03 | 02 16 20 20 20 42 45 51 |2,#255..|.. BEQ|
|00001690| 20 46 72 65 65 7a 65 4c | 6f 6f 70 32 0d 03 0c 11 | FreezeL|oop2....|
|000016a0| 20 20 20 4d 4f 56 20 52 | 30 2c 23 32 31 0d 03 16 | MOV R|0,#21...|
|000016b0| 10 20 20 20 4d 4f 56 20 | 52 31 2c 23 30 0d 03 20 |. MOV |R1,#0.. |
|000016c0| 14 20 20 20 53 57 49 20 | 22 4f 53 5f 42 79 74 65 |. SWI |"OS_Byte|
|000016d0| 22 0d 03 2a 1c 20 20 20 | 4c 44 4d 46 44 20 52 31 |"..*. |LDMFD R1|
|000016e0| 33 21 2c 7b 52 30 2d 52 | 33 2c 50 43 7d 0d 03 34 |3!,{R0-R|3,PC}..4|
|000016f0| 04 0d 03 3e 0c 2e 53 65 | 72 76 69 63 65 0d 03 48 |...>..Se|rvice..H|
|00001700| 2c 20 20 20 43 4d 50 20 | 52 31 2c 23 26 32 37 20 |, CMP |R1,#&27 |
|00001710| 20 20 20 20 20 5c 20 49 | 73 20 74 68 69 73 20 70 | \ I|s this p|
|00001720| 6f 73 74 20 72 65 73 65 | 74 0d 03 52 27 20 20 20 |ost rese|t..R' |
|00001730| 4d 4f 56 4e 45 20 50 43 | 2c 52 31 34 20 20 20 20 |MOVNE PC|,R14 |
|00001740| 20 5c 20 52 65 74 75 72 | 6e 20 69 66 20 6e 6f 74 | \ Retur|n if not|
|00001750| 0d 03 5c 1d 20 20 20 53 | 54 4d 46 44 20 52 31 33 |..\. S|TMFD R13|
|00001760| 21 2c 7b 52 30 2d 52 32 | 2c 52 31 34 7d 0d 03 66 |!,{R0-R2|,R14}..f|
|00001770| 15 20 20 20 4c 44 52 42 | 20 52 30 2c 41 63 74 69 |. LDRB| R0,Acti|
|00001780| 76 65 0d 03 70 12 20 20 | 20 43 4d 50 20 52 30 2c |ve..p. | CMP R0,|
|00001790| 23 31 32 38 0d 03 7a 17 | 20 20 20 53 55 42 43 53 |#128..z.| SUBCS|
|000017a0| 20 52 30 2c 52 30 2c 23 | 31 32 38 0d 03 84 46 20 | R0,R0,#|128...F |
|000017b0| 20 20 53 54 52 42 20 52 | 30 2c 41 63 74 69 76 65 | STRB R|0,Active|
|000017c0| 20 20 5c 20 49 66 20 61 | 63 74 69 76 65 20 64 75 | \ If a|ctive du|
|000017d0| 72 69 6e 67 20 72 65 73 | 65 74 20 74 68 65 6e 20 |ring res|et then |
|000017e0| 63 6c 65 61 72 20 61 63 | 74 69 76 65 20 66 6c 61 |clear ac|tive fla|
|000017f0| 67 0d 03 8e 10 20 20 20 | 4d 4f 56 20 52 30 2c 23 |g.... |MOV R0,#|
|00001800| 30 0d 03 98 31 20 20 20 | 53 54 52 42 20 52 30 2c |0...1 |STRB R0,|
|00001810| 43 6c 61 69 6d 65 64 20 | 20 5c 20 52 65 73 65 74 |Claimed | \ Reset|
|00001820| 20 66 6c 61 67 73 20 74 | 6f 20 69 6e 64 69 63 61 | flags t|o indica|
|00001830| 74 65 0d 03 a2 29 20 20 | 20 53 54 52 42 20 52 30 |te...) | STRB R0|
|00001840| 2c 45 6e 61 62 6c 65 64 | 20 20 5c 20 6c 6f 73 73 |,Enabled| \ loss|
|00001850| 20 6f 66 20 63 6f 6e 74 | 72 6f 6c 0d 03 ac 39 20 | of cont|rol...9 |
|00001860| 20 20 42 20 43 68 65 63 | 6b 53 74 61 74 65 20 20 | B Chec|kState |
|00001870| 20 20 20 5c 20 52 65 63 | 6c 61 69 6d 20 76 65 63 | \ Rec|laim vec|
|00001880| 74 6f 72 20 61 6e 64 20 | 65 6e 61 62 6c 65 20 65 |tor and |enable e|
|00001890| 76 65 6e 74 0d 03 b6 04 | 0d 03 c0 09 2e 49 6e 69 |vent....|.....Ini|
|000018a0| 74 0d 03 ca 1d 20 20 20 | 53 54 4d 46 44 20 52 31 |t.... |STMFD R1|
|000018b0| 33 21 2c 7b 52 30 2d 52 | 32 2c 52 31 34 7d 0d 03 |3!,{R0-R|2,R14}..|
|000018c0| d4 16 20 20 20 4c 44 52 | 42 20 52 30 2c 43 6c 61 |.. LDR|B R0,Cla|
|000018d0| 69 6d 65 64 0d 03 de 0f | 2e 43 68 65 63 6b 53 74 |imed....|.CheckSt|
|000018e0| 61 74 65 0d 03 e8 12 20 | 20 20 43 4d 50 20 52 30 |ate.... | CMP R0|
|000018f0| 2c 23 32 35 35 0d 03 f2 | 2f 20 20 20 42 45 51 20 |,#255...|/ BEQ |
|00001900| 49 6e 69 74 31 20 20 20 | 20 20 20 20 5c 20 56 65 |Init1 | \ Ve|
|00001910| 63 74 6f 72 20 61 6c 72 | 65 61 64 79 20 63 6c 61 |ctor alr|eady cla|
|00001920| 69 6d 65 64 0d 03 fc 12 | 20 20 20 4d 4f 56 20 52 |imed....| MOV R|
|00001930| 30 2c 23 32 35 35 0d 04 | 06 16 20 20 20 53 54 52 |0,#255..|.. STR|
|00001940| 42 20 52 30 2c 43 6c 61 | 69 6d 65 64 0d 04 10 20 |B R0,Cla|imed... |
|00001950| 20 20 20 4d 4f 56 20 52 | 30 2c 23 31 36 20 5c 20 | MOV R|0,#16 \ |
|00001960| 45 76 65 6e 74 20 76 65 | 63 74 6f 72 0d 04 1a 18 |Event ve|ctor....|
|00001970| 20 20 20 41 44 52 20 52 | 31 2c 45 76 65 6e 74 45 | ADR R|1,EventE|
|00001980| 6e 74 72 79 0d 04 24 10 | 20 20 20 4d 4f 56 20 52 |ntry..$.| MOV R|
|00001990| 32 2c 23 30 0d 04 2e 15 | 20 20 20 53 57 49 20 22 |2,#0....| SWI "|
|000019a0| 4f 53 5f 43 6c 61 69 6d | 22 0d 04 38 0a 2e 49 6e |OS_Claim|"..8..In|
|000019b0| 69 74 31 0d 04 42 16 20 | 20 20 4c 44 52 42 20 52 |it1..B. | LDRB R|
|000019c0| 30 2c 45 6e 61 62 6c 65 | 64 0d 04 4c 12 20 20 20 |0,Enable|d..L. |
|000019d0| 43 4d 50 20 52 30 2c 23 | 32 35 35 0d 04 56 30 20 |CMP R0,#|255..V0 |
|000019e0| 20 20 4c 44 4d 45 51 46 | 44 20 52 31 33 21 2c 7b | LDMEQF|D R13!,{|
|000019f0| 50 43 7d 20 5c 20 45 76 | 65 6e 74 20 61 6c 72 65 |PC} \ Ev|ent alre|
|00001a00| 61 64 79 20 65 6e 61 62 | 6c 65 64 0d 04 60 12 20 |ady enab|led..`. |
|00001a10| 20 20 4d 4f 56 20 52 30 | 2c 23 32 35 35 0d 04 6a | MOV R0|,#255..j|
|00001a20| 16 20 20 20 53 54 52 42 | 20 52 30 2c 45 6e 61 62 |. STRB| R0,Enab|
|00001a30| 6c 65 64 0d 04 74 20 20 | 20 20 4d 4f 56 20 52 30 |led..t | MOV R0|
|00001a40| 2c 23 31 34 20 5c 20 45 | 6e 61 62 6c 65 20 65 76 |,#14 \ E|nable ev|
|00001a50| 65 6e 74 0d 04 7e 28 20 | 20 20 4d 4f 56 20 52 31 |ent..~( | MOV R1|
|00001a60| 2c 23 32 20 20 5c 20 4b | 65 79 62 6f 61 72 64 20 |,#2 \ K|eyboard |
|00001a70| 69 6e 70 75 74 20 65 76 | 65 6e 74 0d 04 88 14 20 |input ev|ent.... |
|00001a80| 20 20 53 57 49 20 22 4f | 53 5f 42 79 74 65 22 0d | SWI "O|S_Byte".|
|00001a90| 04 92 1c 20 20 20 4c 44 | 4d 46 44 20 52 31 33 21 |... LD|MFD R13!|
|00001aa0| 2c 7b 52 30 2d 52 32 2c | 50 43 7d 0d 04 9c 04 0d |,{R0-R2,|PC}.....|
|00001ab0| 04 a6 0a 2e 46 69 6e 61 | 6c 0d 04 b0 17 20 20 20 |....Fina|l.... |
|00001ac0| 53 54 4d 46 44 20 52 31 | 33 21 2c 7b 52 31 34 7d |STMFD R1|3!,{R14}|
|00001ad0| 0d 04 ba 16 20 20 20 4c | 44 52 42 20 52 30 2c 45 |.... L|DRB R0,E|
|00001ae0| 6e 61 62 6c 65 64 0d 04 | c4 12 20 20 20 43 4d 50 |nabled..|.. CMP|
|00001af0| 20 52 30 2c 23 32 35 35 | 0d 04 ce 26 20 20 20 42 | R0,#255|...& B|
|00001b00| 4e 45 20 46 69 6e 61 6c | 31 20 20 20 5c 20 41 6c |NE Final|1 \ Al|
|00001b10| 72 65 61 64 79 20 64 69 | 73 61 62 6c 65 64 0d 04 |ready di|sabled..|
|00001b20| d8 10 20 20 20 4d 4f 56 | 20 52 30 2c 23 30 0d 04 |.. MOV| R0,#0..|
|00001b30| e2 16 20 20 20 53 54 52 | 42 20 52 30 2c 45 6e 61 |.. STR|B R0,Ena|
|00001b40| 62 6c 65 64 0d 04 ec 21 | 20 20 20 4d 4f 56 20 52 |bled...!| MOV R|
|00001b50| 30 2c 23 31 33 20 5c 20 | 44 69 73 61 62 6c 65 20 |0,#13 \ |Disable |
|00001b60| 65 76 65 6e 74 0d 04 f6 | 28 20 20 20 4d 4f 56 20 |event...|( MOV |
|00001b70| 52 31 2c 23 32 20 20 5c | 20 4b 65 79 62 6f 61 72 |R1,#2 \| Keyboar|
|00001b80| 64 20 69 6e 70 75 74 20 | 65 76 65 6e 74 0d 05 00 |d input |event...|
|00001b90| 14 20 20 20 53 57 49 20 | 22 4f 53 5f 42 79 74 65 |. SWI |"OS_Byte|
|00001ba0| 22 0d 05 0a 0b 2e 46 69 | 6e 61 6c 31 0d 05 14 16 |".....Fi|nal1....|
|00001bb0| 20 20 20 4c 44 52 42 20 | 52 30 2c 43 6c 61 69 6d | LDRB |R0,Claim|
|00001bc0| 65 64 0d 05 1e 12 20 20 | 20 43 4d 50 20 52 30 2c |ed.... | CMP R0,|
|00001bd0| 23 32 35 35 0d 05 28 32 | 20 20 20 4c 44 4d 4e 45 |#255..(2| LDMNE|
|00001be0| 46 44 20 52 31 33 21 2c | 7b 50 43 7d 20 5c 20 56 |FD R13!,|{PC} \ V|
|00001bf0| 65 63 74 6f 72 20 61 6c | 72 65 61 64 79 20 72 65 |ector al|ready re|
|00001c00| 6c 65 61 73 65 64 0d 05 | 32 10 20 20 20 4d 4f 56 |leased..|2. MOV|
|00001c10| 20 52 30 2c 23 30 0d 05 | 3c 16 20 20 20 53 54 52 | R0,#0..|<. STR|
|00001c20| 42 20 52 30 2c 43 6c 61 | 69 6d 65 64 0d 05 46 20 |B R0,Cla|imed..F |
|00001c30| 20 20 20 4d 4f 56 20 52 | 30 2c 23 31 36 20 5c 20 | MOV R|0,#16 \ |
|00001c40| 45 76 65 6e 74 20 76 65 | 63 74 6f 72 0d 05 50 18 |Event ve|ctor..P.|
|00001c50| 20 20 20 41 44 52 20 52 | 31 2c 45 76 65 6e 74 45 | ADR R|1,EventE|
|00001c60| 6e 74 72 79 0d 05 5a 10 | 20 20 20 4d 4f 56 20 52 |ntry..Z.| MOV R|
|00001c70| 32 2c 23 30 0d 05 64 17 | 20 20 20 53 57 49 20 22 |2,#0..d.| SWI "|
|00001c80| 4f 53 5f 52 65 6c 65 61 | 73 65 22 0d 05 6e 16 20 |OS_Relea|se"..n. |
|00001c90| 20 20 4c 44 4d 46 44 20 | 52 31 33 21 2c 7b 50 43 | LDMFD |R13!,{PC|
|00001ca0| 7d 0d 05 78 04 0d 05 82 | 0e 2e 49 6e 74 65 72 72 |}..x....|..Interr|
|00001cb0| 75 70 74 0d 05 8c 1d 20 | 20 20 53 54 4d 46 44 20 |upt.... | STMFD |
|00001cc0| 52 31 33 21 2c 7b 52 30 | 2d 52 34 2c 52 31 34 7d |R13!,{R0|-R4,R14}|
|00001cd0| 0d 05 96 10 20 20 20 4d | 4f 56 20 52 33 2c 52 30 |.... M|OV R3,R0|
|00001ce0| 0d 05 a0 10 20 20 20 4d | 4f 56 20 52 34 2c 52 31 |.... M|OV R4,R1|
|00001cf0| 0d 05 aa 14 20 20 20 41 | 44 52 20 52 30 2c 42 75 |.... A|DR R0,Bu|
|00001d00| 66 66 65 72 0d 05 b4 09 | 2e 49 6e 74 31 0d 05 be |ffer....|.Int1...|
|00001d10| 31 20 20 20 4c 44 52 42 | 20 52 31 2c 5b 52 33 5d |1 LDRB| R1,[R3]|
|00001d20| 2c 23 31 20 5c 20 47 65 | 74 20 6e 65 78 74 20 62 |,#1 \ Ge|t next b|
|00001d30| 79 74 65 20 6f 66 20 63 | 6f 6d 6d 61 6e 64 0d 05 |yte of c|ommand..|
|00001d40| c8 27 20 20 20 43 4d 50 | 20 52 31 2c 23 33 32 20 |.' CMP| R1,#32 |
|00001d50| 20 20 20 20 20 5c 20 49 | 73 20 69 74 20 61 20 73 | \ I|s it a s|
|00001d60| 70 61 63 65 3f 0d 05 d2 | 29 20 20 20 ec 51 20 52 |pace?...|) .Q R|
|00001d70| 31 2c 23 31 33 20 20 20 | 20 5c 20 49 66 20 73 6f |1,#13 | \ If so|
|00001d80| 20 63 6f 6e 76 65 72 74 | 20 74 6f 20 43 52 0d 05 | convert| to CR..|
|00001d90| dc 28 20 20 20 53 54 52 | 42 20 52 31 2c 5b 52 30 |.( STR|B R1,[R0|
|00001da0| 5d 2c 23 31 20 5c 20 53 | 74 6f 72 65 20 69 6e 20 |],#1 \ S|tore in |
|00001db0| 62 75 66 66 65 72 0d 05 | e6 11 20 20 20 43 4d 50 |buffer..|.. CMP|
|00001dc0| 20 52 31 2c 23 31 33 0d | 05 f0 34 20 20 20 42 4e | R1,#13.|..4 BN|
|00001dd0| 45 20 49 6e 74 31 20 20 | 20 20 20 20 20 20 5c 20 |E Int1 | \ |
|00001de0| 4e 6f 74 20 61 74 20 65 | 6e 64 20 73 6f 20 67 65 |Not at e|nd so ge|
|00001df0| 74 20 6e 65 78 74 20 62 | 79 74 65 0d 05 fa 14 20 |t next b|yte.... |
|00001e00| 20 20 41 44 52 20 52 30 | 2c 42 75 66 66 65 72 0d | ADR R0|,Buffer.|
|00001e10| 06 04 16 20 20 20 41 44 | 52 20 52 31 2c 52 65 67 |... AD|R R1,Reg|
|00001e20| 53 74 6f 72 65 0d 06 0e | 11 20 20 20 4d 4f 56 20 |Store...|. MOV |
|00001e30| 52 32 2c 23 36 33 0d 06 | 18 23 20 20 20 53 57 49 |R2,#63..|.# SWI|
|00001e40| 20 22 58 4f 53 5f 45 76 | 61 6c 75 61 74 65 45 78 | "XOS_Ev|aluateEx|
|00001e50| 70 72 65 73 73 69 6f 6e | 22 0d 06 22 0f 20 20 20 |pression|"..". |
|00001e60| 42 56 53 20 49 6e 74 35 | 0d 06 2c 29 20 20 20 43 |BVS Int5|..,) C|
|00001e70| 4d 50 20 52 31 2c 23 30 | 20 20 20 20 20 20 5c 20 |MP R1,#0| \ |
|00001e80| 49 73 20 69 74 20 61 6e | 20 69 6e 74 65 67 65 72 |Is it an| integer|
|00001e90| 3f 0d 06 36 27 20 20 20 | 42 45 51 20 49 6e 74 32 |?..6' |BEQ Int2|
|00001ea0| 20 20 20 20 20 20 20 5c | 20 59 65 73 20 73 6f 20 | \| Yes so |
|00001eb0| 63 6f 6e 74 69 6e 75 65 | 0d 06 40 09 2e 49 6e 74 |continue|..@..Int|
|00001ec0| 33 0d 06 4a 15 20 20 20 | 41 44 52 20 52 30 2c 43 |3..J. |ADR R0,C|
|00001ed0| 6f 64 65 45 72 72 0d 06 | 54 09 2e 49 6e 74 35 0d |odeErr..|T..Int5.|
|00001ee0| 06 5e 19 20 20 20 4c 44 | 4d 46 44 20 52 31 33 21 |.^. LD|MFD R13!|
|00001ef0| 2c 7b 52 31 2d 52 35 7d | 0d 06 68 0e 20 20 20 42 |,{R1-R5}|..h. B|
|00001f00| 20 45 72 72 6f 72 0d 06 | 72 09 2e 49 6e 74 32 0d | Error..|r..Int2.|
|00001f10| 06 7c 12 20 20 20 43 4d | 50 20 52 32 2c 23 32 35 |.|. CM|P R2,#25|
|00001f20| 36 0d 06 86 28 20 20 20 | 42 43 43 20 49 6e 74 34 |6...( |BCC Int4|
|00001f30| 20 20 20 20 20 20 5c 20 | 56 61 6c 69 64 20 63 6f | \ |Valid co|
|00001f40| 64 65 20 6e 75 6d 62 65 | 72 0d 06 90 20 20 20 20 |de numbe|r... |
|00001f50| 43 4d 4e 20 52 32 2c 23 | 31 20 20 20 20 20 5c 20 |CMN R2,#|1 \ |
|00001f60| 49 73 20 69 74 20 2d 31 | 3f 0d 06 9a 30 20 20 20 |Is it -1|?...0 |
|00001f70| 42 4e 45 20 49 6e 74 33 | 20 20 20 20 20 20 5c 20 |BNE Int3| \ |
|00001f80| 4e 6f 20 73 6f 20 6e 6f | 74 20 76 61 6c 69 64 20 |No so no|t valid |
|00001f90| 70 61 72 61 6d 65 74 65 | 72 0d 06 a4 15 20 20 20 |paramete|r.... |
|00001fa0| 4c 44 52 42 20 52 31 2c | 41 63 74 69 76 65 0d 06 |LDRB R1,|Active..|
|00001fb0| ae 10 20 20 20 4d 4f 56 | 20 52 30 2c 23 30 0d 06 |.. MOV| R0,#0..|
|00001fc0| b8 12 20 20 20 43 4d 50 | 20 52 31 2c 23 31 32 38 |.. CMP| R1,#128|
|00001fd0| 0d 06 c2 14 20 20 20 4d | 4f 56 43 53 20 52 30 2c |.... M|OVCS R0,|
|00001fe0| 23 31 32 38 0d 06 cc 2e | 20 20 20 53 54 52 42 20 |#128....| STRB |
|00001ff0| 52 30 2c 41 63 74 69 76 | 65 20 20 5c 20 43 6c 65 |R0,Activ|e \ Cle|
|00002000| 61 72 20 74 68 65 20 61 | 63 74 69 76 65 20 66 6c |ar the a|ctive fl|
|00002010| 61 67 0d 06 d6 1c 20 20 | 20 4c 44 4d 46 44 20 52 |ag.... | LDMFD R|
|00002020| 31 33 21 2c 7b 52 30 2d | 52 34 2c 50 43 7d 0d 06 |13!,{R0-|R4,PC}..|
|00002030| e0 09 2e 49 6e 74 34 0d | 06 ea 12 20 20 20 41 44 |...Int4.|... AD|
|00002040| 52 20 52 31 2c 43 6f 64 | 65 0d 06 f4 32 20 20 20 |R R1,Cod|e...2 |
|00002050| 53 54 52 42 20 52 32 2c | 5b 52 31 5d 20 20 20 5c |STRB R2,|[R1] \|
|00002060| 20 53 74 6f 72 65 20 74 | 68 65 20 6b 65 79 63 6f | Store t|he keyco|
|00002070| 64 65 20 72 65 71 75 69 | 72 65 64 0d 06 fe 15 20 |de requi|red.... |
|00002080| 20 20 4c 44 52 42 20 52 | 31 2c 41 63 74 69 76 65 | LDRB R|1,Active|
|00002090| 0d 07 08 13 20 20 20 80 | 20 52 31 2c 52 31 2c 23 |.... .| R1,R1,#|
|000020a0| 31 32 38 0d 07 12 13 20 | 20 20 41 44 44 20 52 31 |128.... | ADD R1|
|000020b0| 2c 52 31 2c 23 31 0d 07 | 1c 2b 20 20 20 43 4d 50 |,R1,#1..|.+ CMP|
|000020c0| 20 52 34 2c 23 31 20 20 | 20 20 20 20 5c 20 4f 6e | R4,#1 | \ On|
|000020d0| 6c 79 20 6f 6e 65 20 70 | 61 72 61 6d 65 74 65 72 |ly one p|arameter|
|000020e0| 3f 0d 07 26 15 20 20 20 | 41 44 44 4e 45 20 52 31 |?..&. |ADDNE R1|
|000020f0| 2c 52 31 2c 23 31 0d 07 | 30 15 20 20 20 53 54 52 |,R1,#1..|0. STR|
|00002100| 42 20 52 31 2c 41 63 74 | 69 76 65 0d 07 3a 3b 20 |B R1,Act|ive..:; |
|00002110| 20 20 4c 44 4d 45 51 46 | 44 20 52 31 33 21 2c 7b | LDMEQF|D R13!,{|
|00002120| 52 30 2d 52 34 2c 50 43 | 7d 20 5c 20 49 66 20 6e |R0-R4,PC|} \ If n|
|00002130| 6f 20 6f 74 68 65 72 20 | 70 61 72 61 6d 20 74 68 |o other |param th|
|00002140| 65 6e 20 65 6e 64 0d 07 | 44 10 20 20 20 4d 4f 56 |en end..|D. MOV|
|00002150| 20 52 30 2c 52 33 0d 07 | 4e 15 20 20 20 41 44 52 | R0,R3..|N. ADR|
|00002160| 20 52 31 2c 43 6f 6d 6d | 61 6e 64 0d 07 58 0d 2e | R1,Comm|and..X..|
|00002170| 43 6f 6d 4d 6f 76 65 31 | 0d 07 62 16 20 20 20 4c |ComMove1|..b. L|
|00002180| 44 52 42 20 52 32 2c 5b | 52 30 5d 2c 23 31 0d 07 |DRB R2,[|R0],#1..|
|00002190| 6c 16 20 20 20 53 54 52 | 42 20 52 32 2c 5b 52 31 |l. STR|B R2,[R1|
|000021a0| 5d 2c 23 31 0d 07 76 11 | 20 20 20 43 4d 50 20 52 |],#1..v.| CMP R|
|000021b0| 32 2c 23 31 33 0d 07 80 | 13 20 20 20 42 4e 45 20 |2,#13...|. BNE |
|000021c0| 43 6f 6d 4d 6f 76 65 31 | 0d 07 8a 1c 20 20 20 4c |ComMove1|.... L|
|000021d0| 44 4d 46 44 20 52 31 33 | 21 2c 7b 52 30 2d 52 34 |DMFD R13|!,{R0-R4|
|000021e0| 2c 50 43 7d 0d 07 94 04 | 0d 07 9e 0c 2e 43 6f 64 |,PC}....|.....Cod|
|000021f0| 65 45 72 72 0d 07 a8 11 | 20 20 20 45 51 55 44 20 |eErr....| EQUD |
|00002200| 36 37 37 34 35 0d 07 b2 | 23 20 20 20 45 51 55 53 |67745...|# EQUS|
|00002210| 20 22 42 61 64 20 6b 65 | 79 63 6f 64 65 20 70 61 | "Bad ke|ycode pa|
|00002220| 72 61 6d 65 74 65 72 22 | 0d 07 bc 0d 20 20 20 45 |rameter"|.... E|
|00002230| 51 55 42 20 30 0d 07 c6 | 0c 20 20 20 41 4c 49 47 |QUB 0...|. ALIG|
|00002240| 4e 0d 07 d0 04 0d 07 da | 0a 2e 45 72 72 6f 72 0d |N.......|..Error.|
|00002250| 07 e4 10 20 20 20 4d 4f | 56 20 52 31 2c 50 43 0d |... MO|V R1,PC.|
|00002260| 07 ee 29 20 20 20 84 52 | 20 52 31 2c 52 31 2c 23 |..) .R| R1,R1,#|
|00002270| 31 3c 3c 32 38 20 5c 20 | 53 65 74 20 22 56 22 20 |1<<28 \ |Set "V" |
|00002280| 66 6c 61 67 20 62 69 74 | 0d 07 f8 11 20 20 20 54 |flag bit|.... T|
|00002290| 45 51 50 20 52 31 2c 23 | 30 0d 08 02 16 20 20 20 |EQP R1,#|0.... |
|000022a0| 4c 44 4d 46 44 20 52 31 | 33 21 2c 7b 50 43 7d 0d |LDMFD R1|3!,{PC}.|
|000022b0| 08 0c 04 0d 08 16 0c 2e | 43 6c 61 69 6d 65 64 0d |........|Claimed.|
|000022c0| 08 20 3f 20 20 20 45 51 | 55 42 20 30 20 5c 20 73 |. ? EQ|UB 0 \ s|
|000022d0| 65 74 20 74 6f 20 32 35 | 35 20 77 68 65 6e 20 6d |et to 25|5 when m|
|000022e0| 6f 64 75 6c 65 20 68 61 | 73 20 63 6c 61 69 6d 65 |odule ha|s claime|
|000022f0| 64 20 65 76 65 6e 74 20 | 76 65 63 74 6f 72 0d 08 |d event |vector..|
|00002300| 2a 0c 2e 45 6e 61 62 6c | 65 64 0d 08 34 38 20 20 |*..Enabl|ed..48 |
|00002310| 20 45 51 55 42 20 30 20 | 5c 20 73 65 74 20 74 6f | EQUB 0 |\ set to|
|00002320| 20 32 35 35 20 77 68 65 | 6e 20 6d 6f 64 75 6c 65 | 255 whe|n module|
|00002330| 20 68 61 73 20 65 6e 61 | 62 6c 65 64 20 65 76 65 | has ena|bled eve|
|00002340| 6e 74 0d 08 3e 0d 2e 4e | 75 6c 6c 43 6f 64 65 0d |nt..>..N|ullCode.|
|00002350| 08 48 46 20 20 20 45 51 | 55 42 20 30 20 5c 20 73 |.HF EQ|UB 0 \ s|
|00002360| 65 74 20 74 6f 20 32 35 | 35 20 77 68 65 6e 20 66 |et to 25|5 when f|
|00002370| 69 72 73 74 20 6e 75 6c | 6c 20 6f 66 20 74 77 6f |irst nul|l of two|
|00002380| 20 70 61 72 74 20 20 6e | 75 6c 6c 20 72 65 63 65 | part n|ull rece|
|00002390| 69 76 65 64 2e 0d 08 52 | 0c 20 20 20 41 4c 49 47 |ived...R|. ALIG|
|000023a0| 4e 0d 08 5c 04 0d 08 66 | 0f 2e 45 76 65 6e 74 45 |N..\...f|..EventE|
|000023b0| 6e 74 72 79 0d 08 70 1a | 20 20 20 53 54 4d 46 44 |ntry..p.| STMFD|
|000023c0| 20 52 31 33 21 2c 7b 52 | 37 2c 52 31 34 7d 0d 08 | R13!,{R|7,R14}..|
|000023d0| 7a 10 20 20 20 4d 4f 56 | 20 52 37 2c 23 30 0d 08 |z. MOV| R7,#0..|
|000023e0| 84 10 20 20 20 43 4d 50 | 20 52 32 2c 23 30 0d 08 |.. CMP| R2,#0..|
|000023f0| 8e 4c 20 20 20 53 54 52 | 4e 45 42 20 52 37 2c 4e |.L STR|NEB R7,N|
|00002400| 75 6c 6c 43 6f 64 65 20 | 20 20 20 5c 20 49 66 20 |ullCode | \ If |
|00002410| 63 6f 64 65 20 69 73 20 | 6e 6f 74 20 7a 65 72 6f |code is |not zero|
|00002420| 20 74 68 65 6e 20 63 6c | 65 61 72 20 6e 75 6c 6c | then cl|ear null|
|00002430| 20 63 6f 64 65 20 66 6c | 61 67 0d 08 98 13 20 20 | code fl|ag.... |
|00002440| 20 4c 44 52 42 20 52 37 | 2c 43 6f 64 65 0d 08 a2 | LDRB R7|,Code...|
|00002450| 10 20 20 20 43 4d 50 20 | 52 37 2c 52 32 0d 08 ac |. CMP |R7,R2...|
|00002460| 34 20 20 20 4c 44 4d 4e | 45 46 44 20 52 31 33 21 |4 LDMN|EFD R13!|
|00002470| 2c 7b 52 37 2c 50 43 7d | 20 5c 20 4e 6f 74 20 6f |,{R7,PC}| \ Not o|
|00002480| 75 72 20 6b 65 79 20 73 | 6f 20 70 61 73 73 20 6f |ur key s|o pass o|
|00002490| 6e 0d 08 b6 15 20 20 20 | 4c 44 52 42 20 52 37 2c |n.... |LDRB R7,|
|000024a0| 41 63 74 69 76 65 0d 08 | c0 2e 20 20 20 43 4d 50 |Active..|.. CMP|
|000024b0| 20 52 37 2c 23 31 20 20 | 20 20 20 20 20 20 20 20 | R7,#1 | |
|000024c0| 20 5c 20 41 72 65 20 77 | 65 20 61 63 74 69 76 65 | \ Are w|e active|
|000024d0| 20 61 6e 64 0d 08 ca 2e | 20 20 20 43 4d 50 4e 45 | and....| CMPNE|
|000024e0| 20 52 37 2c 23 32 20 20 | 20 20 20 20 20 20 20 5c | R7,#2 | \|
|000024f0| 20 6e 6f 74 20 62 75 73 | 79 20 61 6c 72 65 61 64 | not bus|y alread|
|00002500| 79 3f 0d 08 d4 2c 20 20 | 20 4c 44 4d 4e 45 46 44 |y?..., | LDMNEFD|
|00002510| 20 52 31 33 21 2c 7b 52 | 37 2c 50 43 7d 20 5c 20 | R13!,{R|7,PC} \ |
|00002520| 4e 6f 2c 20 73 6f 20 70 | 61 73 73 20 6f 6e 0d 08 |No, so p|ass on..|
|00002530| de 1f 20 20 20 53 54 4d | 46 44 20 52 31 33 21 2c |.. STM|FD R13!,|
|00002540| 7b 52 30 2d 52 32 2c 52 | 35 2c 52 36 7d 0d 08 e8 |{R0-R2,R|5,R6}...|
|00002550| 10 20 20 20 4d 4f 56 20 | 52 36 2c 50 43 0d 08 f2 |. MOV |R6,PC...|
|00002560| 12 20 20 20 84 52 20 52 | 37 2c 52 36 2c 23 33 0d |. .R R|7,R6,#3.|
|00002570| 08 fc 23 20 20 20 54 45 | 51 50 20 52 37 2c 23 30 |..# TE|QP R7,#0|
|00002580| 20 20 5c 20 45 6e 74 65 | 72 20 53 56 43 20 6d 6f | \ Ente|r SVC mo|
|00002590| 64 65 0d 09 06 12 20 20 | 20 4d 4f 56 4e 56 20 52 |de.... | MOVNV R|
|000025a0| 30 2c 52 30 0d 09 10 2d | 20 20 20 53 54 4d 46 44 |0,R0...-| STMFD|
|000025b0| 20 52 31 33 21 2c 7b 52 | 31 34 7d 20 5c 20 53 74 | R13!,{R|14} \ St|
|000025c0| 6f 72 65 20 53 56 43 20 | 6d 6f 64 65 20 6c 69 6e |ore SVC |mode lin|
|000025d0| 6b 0d 09 1a 10 20 20 20 | 43 4d 50 20 52 32 2c 23 |k.... |CMP R2,#|
|000025e0| 30 0d 09 24 12 20 20 20 | 42 4e 45 20 4e 6f 74 4e |0..$. |BNE NotN|
|000025f0| 75 6c 6c 0d 09 2e 2f 20 | 20 20 4c 44 52 42 20 52 |ull.../ | LDRB R|
|00002600| 35 2c 4e 75 6c 6c 43 6f | 64 65 20 20 20 20 5c 20 |5,NullCo|de \ |
|00002610| 47 65 74 20 6e 75 6c 6c | 20 63 6f 64 65 20 66 6c |Get null| code fl|
|00002620| 61 67 0d 09 38 12 20 20 | 20 43 4d 50 20 52 35 2c |ag..8. | CMP R5,|
|00002630| 23 32 35 35 0d 09 42 16 | 20 20 20 42 45 51 20 4e |#255..B.| BEQ N|
|00002640| 75 6c 6c 50 72 6f 63 65 | 73 73 0d 09 4c 3f 20 20 |ullProce|ss..L? |
|00002650| 20 4d 4f 56 20 52 35 2c | 23 32 35 35 20 20 20 20 | MOV R5,|#255 |
|00002660| 20 20 20 20 5c 20 53 65 | 74 20 6e 75 6c 6c 20 66 | \ Se|t null f|
|00002670| 6c 61 67 20 69 65 2e 20 | 6f 6e 65 20 7a 65 72 6f |lag ie. |one zero|
|00002680| 20 72 65 63 65 69 76 65 | 64 0d 09 56 17 20 20 20 | receive|d..V. |
|00002690| 53 54 52 42 20 52 35 2c | 4e 75 6c 6c 43 6f 64 65 |STRB R5,|NullCode|
|000026a0| 0d 09 60 31 20 20 20 42 | 20 45 76 65 6e 74 45 78 |..`1 B| EventEx|
|000026b0| 69 74 20 20 20 20 20 20 | 20 20 5c 20 52 65 74 75 |it | \ Retu|
|000026c0| 72 6e 20 74 6f 20 61 70 | 70 6c 69 63 61 74 69 6f |rn to ap|plicatio|
|000026d0| 6e 0d 09 6a 10 2e 4e 75 | 6c 6c 50 72 6f 63 65 73 |n..j..Nu|llProces|
|000026e0| 73 0d 09 74 10 20 20 20 | 4d 4f 56 20 52 35 2c 23 |s..t. |MOV R5,#|
|000026f0| 30 0d 09 7e 17 20 20 20 | 53 54 52 42 20 52 35 2c |0..~. |STRB R5,|
|00002700| 4e 75 6c 6c 43 6f 64 65 | 0d 09 88 0c 2e 4e 6f 74 |NullCode|.....Not|
|00002710| 4e 75 6c 6c 0d 09 92 16 | 20 20 20 41 44 52 20 52 |Null....| ADR R|
|00002720| 30 2c 52 65 67 53 74 6f | 72 65 0d 09 9c 14 20 20 |0,RegSto|re.... |
|00002730| 20 41 44 52 20 52 31 2c | 52 65 74 75 72 6e 0d 09 | ADR R1,|Return..|
|00002740| a6 18 20 20 20 53 57 49 | 20 22 4f 53 5f 43 61 6c |.. SWI| "OS_Cal|
|00002750| 6c 42 61 63 6b 22 0d 09 | b0 1b 20 20 20 53 57 49 |lBack"..|.. SWI|
|00002760| 20 22 4f 53 5f 53 65 74 | 43 61 6c 6c 42 61 63 6b | "OS_Set|CallBack|
|00002770| 22 0d 09 ba 0e 2e 45 76 | 65 6e 74 45 78 69 74 0d |".....Ev|entExit.|
|00002780| 09 c4 2f 20 20 20 4c 44 | 4d 46 44 20 52 31 33 21 |../ LD|MFD R13!|
|00002790| 2c 7b 52 31 34 7d 20 5c | 20 52 65 73 74 6f 72 65 |,{R14} \| Restore|
|000027a0| 20 53 56 43 20 6d 6f 64 | 65 20 6c 69 6e 6b 0d 09 | SVC mod|e link..|
|000027b0| ce 2f 20 20 20 54 45 51 | 50 20 52 36 2c 23 30 20 |./ TEQ|P R6,#0 |
|000027c0| 20 20 20 20 20 20 5c 20 | 52 65 73 74 6f 72 65 20 | \ |Restore |
|000027d0| 6f 72 69 67 69 6e 61 6c | 20 6d 6f 64 65 0d 09 d8 |original| mode...|
|000027e0| 12 20 20 20 4d 4f 56 4e | 56 20 52 30 2c 52 30 0d |. MOVN|V R0,R0.|
|000027f0| 09 e2 22 20 20 20 4c 44 | 4d 46 44 20 52 31 33 21 |.." LD|MFD R13!|
|00002800| 2c 7b 52 30 2d 52 32 2c | 52 35 2d 52 37 2c 50 43 |,{R0-R2,|R5-R7,PC|
|00002810| 7d 0d 09 ec 04 0d 09 f6 | 0b 2e 41 63 74 69 76 65 |}.......|..Active|
|00002820| 0d 0a 00 82 20 20 20 45 | 51 55 44 20 30 20 20 20 |.... E|QUD 0 |
|00002830| 5c 20 30 3d 4e 6f 74 20 | 61 63 74 69 76 65 2c 31 |\ 0=Not |active,1|
|00002840| 3d 65 6e 74 65 72 20 63 | 6f 6d 6d 61 6e 64 73 2c |=enter c|ommands,|
|00002850| 32 3d 65 78 65 63 75 74 | 65 20 73 70 65 63 69 66 |2=execut|e specif|
|00002860| 69 65 64 20 63 6f 6d 6d | 61 6e 64 20 2d 20 31 32 |ied comm|and - 12|
|00002870| 38 20 61 64 64 65 64 20 | 74 6f 20 63 75 72 72 65 |8 added |to curre|
|00002880| 6e 74 20 76 61 6c 75 65 | 20 77 68 69 6c 65 20 61 |nt value| while a|
|00002890| 63 74 75 61 6c 6c 79 20 | 70 72 6f 63 65 73 73 69 |ctually |processi|
|000028a0| 6e 67 0d 0a 0a 09 2e 43 | 6f 64 65 0d 0a 14 2e 20 |ng.....C|ode.... |
|000028b0| 20 20 45 51 55 44 20 30 | 20 20 20 5c 20 53 74 6f | EQUD 0| \ Sto|
|000028c0| 72 61 67 65 20 66 6f 72 | 20 6b 65 79 63 6f 64 65 |rage for| keycode|
|000028d0| 20 72 65 71 75 69 72 65 | 64 0d 0a 1e 04 0d 0a 28 | require|d......(|
|000028e0| 0b 2e 42 75 66 66 65 72 | 0d 0a 32 08 20 20 20 5d |..Buffer|..2. ]|
|000028f0| 0d 0a 3c 04 0d 0a 46 13 | 50 25 2b 3d 32 35 36 3a |..<...F.|P%+=256:|
|00002900| 4f 25 2b 3d 32 35 36 0d | 0a 50 0e 43 6f 6d 6d 61 |O%+=256.|.P.Comma|
|00002910| 6e 64 3d 50 25 0d 0a 5a | 13 50 25 2b 3d 32 35 36 |nd=P%..Z|.P%+=256|
|00002920| 3a 4f 25 2b 3d 32 35 36 | 0d 0a 64 0f 52 65 67 53 |:O%+=256|..d.RegS|
|00002930| 74 6f 72 65 3d 50 25 0d | 0a 6e 11 50 25 2b 3d 36 |tore=P%.|.n.P%+=6|
|00002940| 34 3a 4f 25 2b 3d 36 34 | 0d 0a 78 0b 5b 4f 50 54 |4:O%+=64|..x.[OPT|
|00002950| 20 49 25 0d 0a 82 0b 2e | 52 65 74 75 72 6e 0d 0a | I%.....|Return..|
|00002960| 8c 15 20 20 20 4c 44 52 | 42 20 52 30 2c 41 63 74 |.. LDR|B R0,Act|
|00002970| 69 76 65 0d 0a 96 15 20 | 20 20 41 44 44 20 52 30 |ive.... | ADD R0|
|00002980| 2c 52 30 2c 23 31 32 38 | 0d 0a a0 3d 20 20 20 53 |,R0,#128|...= S|
|00002990| 54 52 42 20 52 30 2c 41 | 63 74 69 76 65 20 20 20 |TRB R0,A|ctive |
|000029a0| 5c 20 43 68 61 6e 67 65 | 20 61 63 74 69 76 65 20 |\ Change| active |
|000029b0| 66 6c 61 67 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |flag to |indicate|
|000029c0| 20 62 75 73 79 0d 0a aa | 10 20 20 20 4d 4f 56 20 | busy...|. MOV |
|000029d0| 52 31 2c 50 43 0d 0a b4 | 2e 20 20 20 42 49 43 20 |R1,PC...|. BIC |
|000029e0| 52 31 2c 52 31 2c 23 31 | 3c 3c 32 37 20 5c 20 43 |R1,R1,#1|<<27 \ C|
|000029f0| 6c 65 61 72 20 69 6e 74 | 65 72 72 75 70 74 20 66 |lear int|errupt f|
|00002a00| 6c 61 67 0d 0a be 25 20 | 20 20 84 52 20 52 31 2c |lag...% | .R R1,|
|00002a10| 52 31 2c 23 33 20 20 20 | 20 20 5c 20 53 65 74 20 |R1,#3 | \ Set |
|00002a20| 53 56 43 20 6d 6f 64 65 | 0d 0a c8 28 20 20 20 54 |SVC mode|...( T|
|00002a30| 45 51 50 20 52 31 2c 23 | 30 20 20 20 20 20 20 20 |EQP R1,#|0 |
|00002a40| 5c 20 45 6e 74 65 72 20 | 53 56 43 20 6d 6f 64 65 |\ Enter |SVC mode|
|00002a50| 0d 0a d2 12 20 20 20 4d | 4f 56 4e 56 20 52 31 2c |.... M|OVNV R1,|
|00002a60| 52 31 0d 0a dc 12 20 20 | 20 43 4d 50 20 52 30 2c |R1.... | CMP R0,|
|00002a70| 23 31 32 39 0d 0a e6 31 | 20 20 20 42 45 51 20 45 |#129...1| BEQ E|
|00002a80| 6e 74 65 72 43 6f 6d 6d | 61 6e 64 20 5c 20 43 6f |nterComm|and \ Co|
|00002a90| 6d 6d 61 6e 64 73 20 74 | 6f 20 62 65 20 74 79 70 |mmands t|o be typ|
|00002aa0| 65 64 20 69 6e 0d 0a f0 | 37 20 20 20 41 44 52 20 |ed in...|7 ADR |
|00002ab0| 52 30 2c 43 6f 6d 6d 61 | 6e 64 20 20 20 5c 20 65 |R0,Comma|nd \ e|
|00002ac0| 6c 73 65 20 65 78 65 63 | 75 74 65 20 73 65 6c 65 |lse exec|ute sele|
|00002ad0| 63 74 65 64 20 63 6f 6d | 6d 61 6e 64 0d 0a fa 14 |cted com|mand....|
|00002ae0| 20 20 20 53 57 49 20 22 | 58 4f 53 5f 43 4c 49 22 | SWI "|XOS_CLI"|
|00002af0| 0d 0b 04 33 20 20 20 53 | 57 49 56 53 20 32 35 36 |...3 S|WIVS 256|
|00002b00| 2b 37 2b 28 31 3c 3c 31 | 37 29 20 5c 20 42 65 65 |+7+(1<<1|7) \ Bee|
|00002b10| 70 20 69 66 20 65 72 72 | 6f 72 20 6f 63 63 75 72 |p if err|or occur|
|00002b20| 72 65 64 0d 0b 0e 0f 20 | 20 20 42 20 46 69 6e 69 |red.... | B Fini|
|00002b30| 73 68 0d 0b 18 37 2e 45 | 6e 74 65 72 43 6f 6d 6d |sh...7.E|nterComm|
|00002b40| 61 6e 64 20 20 20 20 5c | 20 50 72 65 70 61 72 65 |and \| Prepare|
|00002b50| 20 73 63 72 65 65 6e 20 | 66 6f 72 20 63 6f 6d 6d | screen |for comm|
|00002b60| 61 6e 64 20 65 6e 74 72 | 79 0d 0b 22 12 20 20 20 |and entr|y..". |
|00002b70| 4d 4f 56 20 52 30 2c 23 | 31 31 37 0d 0b 2c 15 20 |MOV R0,#|117..,. |
|00002b80| 20 20 53 57 49 20 22 58 | 4f 53 5f 42 79 74 65 22 | SWI "X|OS_Byte"|
|00002b90| 0d 0b 36 18 20 20 20 53 | 54 52 42 20 52 31 2c 56 |..6. S|TRB R1,V|
|00002ba0| 64 75 53 74 61 74 75 73 | 0d 0b 40 10 20 20 20 4d |duStatus|..@. M|
|00002bb0| 4f 56 20 52 30 2c 23 33 | 0d 0b 4a 3a 20 20 20 4d |OV R0,#3|..J: M|
|00002bc0| 4f 56 20 52 31 2c 23 25 | 31 30 31 30 31 30 30 20 |OV R1,#%|1010100 |
|00002bd0| 5c 20 44 69 73 61 62 6c | 65 20 70 72 69 6e 74 65 |\ Disabl|e printe|
|00002be0| 72 2c 20 53 70 6f 6f 6c | 20 61 6e 64 20 52 53 34 |r, Spool| and RS4|
|00002bf0| 32 33 0d 0b 54 15 20 20 | 20 53 57 49 20 22 58 4f |23..T. | SWI "XO|
|00002c00| 53 5f 42 79 74 65 22 0d | 0b 5e 16 20 20 20 53 54 |S_Byte".|.^. ST|
|00002c10| 52 42 20 52 31 2c 53 74 | 72 65 61 6d 73 0d 0b 68 |RB R1,St|reams..h|
|00002c20| 12 20 20 20 4d 4f 56 20 | 52 30 2c 23 31 36 35 0d |. MOV |R0,#165.|
|00002c30| 0b 72 15 20 20 20 53 57 | 49 20 22 58 4f 53 5f 42 |.r. SW|I "XOS_B|
|00002c40| 79 74 65 22 0d 0b 7c 18 | 20 20 20 53 54 52 42 20 |yte"..|.| STRB |
|00002c50| 52 31 2c 43 75 72 73 6f | 72 50 6f 73 0d 0b 86 1a |R1,Curso|rPos....|
|00002c60| 20 20 20 53 54 52 42 20 | 52 32 2c 43 75 72 73 6f | STRB |R2,Curso|
|00002c70| 72 50 6f 73 2b 31 0d 0b | 90 12 20 20 20 4d 4f 56 |rPos+1..|.. MOV|
|00002c80| 20 52 30 2c 23 32 31 38 | 0d 0b 9a 10 20 20 20 4d | R0,#218|.... M|
|00002c90| 4f 56 20 52 31 2c 23 30 | 0d 0b a4 10 20 20 20 4d |OV R1,#0|.... M|
|00002ca0| 4f 56 20 52 32 2c 23 30 | 0d 0b ae 22 20 20 20 53 |OV R2,#0|..." S|
|00002cb0| 57 49 20 22 58 4f 53 5f | 42 79 74 65 22 20 20 5c |WI "XOS_|Byte" \|
|00002cc0| 20 43 6c 65 61 72 20 ef | 20 51 0d 0b b8 10 20 20 | Clear .| Q.... |
|00002cd0| 20 4d 4f 56 20 52 30 2c | 23 30 0d 0b c2 11 20 20 | MOV R0,|#0.... |
|00002ce0| 20 4d 4f 56 20 52 31 2c | 23 31 36 0d 0b cc 1c 20 | MOV R1,|#16.... |
|00002cf0| 20 20 53 57 49 20 22 58 | 4f 53 5f 52 65 61 64 50 | SWI "X|OS_ReadP|
|00002d00| 61 6c 65 74 74 65 22 0d | 0b d6 15 20 20 20 53 54 |alette".|... ST|
|00002d10| 52 20 52 32 2c 43 6f 6c | 6f 75 72 73 0d 0b e0 17 |R R2,Col|ours....|
|00002d20| 20 20 20 53 54 52 20 52 | 33 2c 43 6f 6c 6f 75 72 | STR R|3,Colour|
|00002d30| 73 2b 34 0d 0b ea 10 20 | 20 20 4d 4f 56 20 52 30 |s+4.... | MOV R0|
|00002d40| 2c 23 31 0d 0b f4 1c 20 | 20 20 53 57 49 20 22 58 |,#1.... | SWI "X|
|00002d50| 4f 53 5f 52 65 61 64 50 | 61 6c 65 74 74 65 22 0d |OS_ReadP|alette".|
|00002d60| 0b fe 17 20 20 20 53 54 | 52 20 52 32 2c 43 6f 6c |... ST|R R2,Col|
|00002d70| 6f 75 72 73 2b 38 0d 0c | 08 18 20 20 20 53 54 52 |ours+8..|.. STR|
|00002d80| 20 52 33 2c 43 6f 6c 6f | 75 72 73 2b 31 32 0d 0c | R3,Colo|urs+12..|
|00002d90| 12 16 20 20 20 41 44 52 | 20 52 30 2c 56 64 75 42 |.. ADR| R0,VduB|
|00002da0| 6c 6f 63 6b 0d 0c 1c 14 | 20 20 20 41 44 52 20 52 |lock....| ADR R|
|00002db0| 31 2c 57 69 6e 64 6f 77 | 0d 0c 26 21 20 20 20 53 |1,Window|..&! S|
|00002dc0| 57 49 20 22 58 4f 53 5f | 52 65 61 64 56 64 75 56 |WI "XOS_|ReadVduV|
|00002dd0| 61 72 69 61 62 6c 65 73 | 22 0d 0c 30 19 20 20 20 |ariables|"..0. |
|00002de0| 4c 44 52 20 52 30 2c 53 | 63 72 65 65 6e 57 69 64 |LDR R0,S|creenWid|
|00002df0| 74 68 0d 0c 3a 1c 20 20 | 20 53 54 52 42 20 52 30 |th..:. | STRB R0|
|00002e00| 2c 4e 65 77 53 65 74 74 | 69 6e 67 73 2b 34 0d 0c |,NewSett|ings+4..|
|00002e10| 44 1a 20 20 20 4c 44 52 | 20 52 30 2c 53 63 72 65 |D. LDR| R0,Scre|
|00002e20| 65 6e 48 65 69 67 68 74 | 0d 0c 4e 1c 20 20 20 53 |enHeight|..N. S|
|00002e30| 54 52 42 20 52 30 2c 4e | 65 77 53 65 74 74 69 6e |TRB R0,N|ewSettin|
|00002e40| 67 73 2b 33 0d 0c 58 10 | 20 20 20 4d 4f 56 20 52 |gs+3..X.| MOV R|
|00002e50| 30 2c 23 33 0d 0c 62 18 | 20 20 20 41 44 52 20 52 |0,#3..b.| ADR R|
|00002e60| 31 2c 57 69 6d 70 46 6c | 61 67 2b 31 0d 0c 6c 3f |1,WimpFl|ag+1..l?|
|00002e70| 20 20 20 53 57 49 20 22 | 58 4f 53 5f 4d 6f 64 75 | SWI "|XOS_Modu|
|00002e80| 6c 65 22 20 20 20 5c 20 | 20 54 72 79 20 74 6f 20 |le" \ | Try to |
|00002e90| 72 65 69 6e 69 74 20 57 | 69 6e 64 6f 77 4d 61 6e |reinit W|indowMan|
|00002ea0| 61 67 65 72 20 4d 6f 64 | 75 6c 65 0d 0c 76 41 20 |ager Mod|ule..vA |
|00002eb0| 20 20 42 56 43 20 43 6c | 61 69 6d 53 63 72 4d 65 | BVC Cl|aimScrMe|
|00002ec0| 6d 20 20 20 20 5c 20 20 | 4e 6f 20 65 72 72 6f 72 |m \ |No error|
|00002ed0| 20 6f 63 63 75 72 72 65 | 64 20 2d 20 77 69 6d 70 | occurre|d - wimp|
|00002ee0| 20 6e 6f 74 20 72 75 6e | 6e 69 6e 67 0d 0c 80 28 | not run|ning...(|
|00002ef0| 20 20 20 4c 44 52 20 52 | 30 2c 5b 52 30 5d 20 20 | LDR R|0,[R0] |
|00002f00| 20 5c 20 20 47 65 74 20 | 65 72 72 6f 72 20 6e 75 | \ Get |error nu|
|00002f10| 6d 62 65 72 0d 0c 8a 47 | 20 20 20 53 55 42 20 52 |mber...G| SUB R|
|00002f20| 30 2c 52 30 2c 23 34 20 | 20 5c 20 20 22 57 69 6d |0,R0,#4 | \ "Wim|
|00002f30| 70 20 6d 6f 64 75 6c 65 | 20 61 63 74 69 76 65 22 |p module| active"|
|00002f40| 20 2d 20 65 72 72 6f 72 | 20 32 35 39 2c 20 63 68 | - error| 259, ch|
|00002f50| 61 6e 67 65 20 74 6f 20 | 32 35 35 0d 0c 94 33 20 |ange to |255...3 |
|00002f60| 20 20 43 4d 50 20 52 30 | 2c 23 32 35 35 20 20 20 | CMP R0|,#255 |
|00002f70| 20 5c 20 49 73 20 6d 6f | 64 75 6c 65 20 63 75 72 | \ Is mo|dule cur|
|00002f80| 72 65 6e 74 6c 79 20 61 | 63 74 69 76 65 3f 0d 0c |rently a|ctive?..|
|00002f90| 9e 47 20 20 20 42 4e 45 | 20 43 6c 61 69 6d 53 63 |.G BNE| ClaimSc|
|00002fa0| 72 4d 65 6d 20 20 5c 20 | 20 41 6e 6f 74 68 65 72 |rMem \ | Another|
|00002fb0| 20 65 72 72 6f 72 20 73 | 6f 20 74 72 79 20 63 6c | error s|o try cl|
|00002fc0| 61 69 6d 69 6e 67 20 73 | 63 72 65 65 6e 20 6d 65 |aiming s|creen me|
|00002fd0| 6d 6f 72 79 2e 0d 0c a8 | 4c 20 20 20 53 54 52 42 |mory....|L STRB|
|00002fe0| 20 52 30 2c 57 69 6d 70 | 46 6c 61 67 20 5c 20 57 | R0,Wimp|Flag \ W|
|00002ff0| 69 6d 70 20 6f 6e 2c 20 | 73 65 74 20 66 6c 61 67 |imp on, |set flag|
|00003000| 20 74 6f 20 66 6f 72 63 | 65 20 57 69 6d 70 20 74 | to forc|e Wimp t|
|00003010| 6f 20 72 65 73 74 6f 72 | 65 20 73 63 72 65 65 6e |o restor|e screen|
|00003020| 2e 0d 0c b2 3f 20 20 20 | 42 20 53 63 72 65 65 6e |....? |B Screen|
|00003030| 20 20 20 20 20 20 20 20 | 20 5c 20 61 6e 64 20 74 | | \ and t|
|00003040| 72 79 20 74 6f 20 63 6c | 61 69 6d 20 73 63 72 65 |ry to cl|aim scre|
|00003050| 65 6e 20 6d 65 6d 6f 72 | 79 20 61 6e 79 77 61 79 |en memor|y anyway|
|00003060| 0d 0c bc 10 2e 43 6c 61 | 69 6d 53 63 72 4d 65 6d |.....Cla|imScrMem|
|00003070| 0d 0c c6 10 20 20 20 4d | 4f 56 20 52 30 2c 23 30 |.... M|OV R0,#0|
|00003080| 0d 0c d0 4a 20 20 20 53 | 54 52 42 20 52 30 2c 57 |...J S|TRB R0,W|
|00003090| 69 6d 70 46 6c 61 67 20 | 20 5c 20 20 57 69 6d 70 |impFlag | \ Wimp|
|000030a0| 20 6e 6f 74 20 61 63 74 | 69 76 65 20 73 6f 20 63 | not act|ive so c|
|000030b0| 61 6e 6e 6f 74 20 72 65 | 73 74 6f 72 65 20 73 63 |annot re|store sc|
|000030c0| 72 65 65 6e 20 6c 61 74 | 65 72 0d 0c da 0b 2e 53 |reen lat|er.....S|
|000030d0| 63 72 65 65 6e 0d 0c e4 | 36 20 20 20 4d 4f 56 20 |creen...|6 MOV |
|000030e0| 52 30 2c 23 31 20 20 20 | 20 20 20 20 20 20 5c 20 |R0,#1 | \ |
|000030f0| 20 54 72 79 20 63 6c 61 | 69 6d 69 6e 67 20 73 63 | Try cla|iming sc|
|00003100| 72 65 65 6e 20 6d 65 6d | 6f 72 79 0d 0c ee 18 20 |reen mem|ory.... |
|00003110| 20 20 4c 44 52 20 52 33 | 2c 53 63 72 65 65 6e 53 | LDR R3|,ScreenS|
|00003120| 69 7a 65 0d 0c f8 10 20 | 20 20 4d 4f 56 20 52 31 |ize.... | MOV R1|
|00003130| 2c 52 33 0d 0d 02 22 20 | 20 20 53 57 49 20 22 58 |,R3..." | SWI "X|
|00003140| 4f 53 5f 43 6c 61 69 6d | 53 63 72 65 65 6e 4d 65 |OS_Claim|ScreenMe|
|00003150| 6d 6f 72 79 22 0d 0d 0c | 12 20 20 20 4d 4f 56 43 |mory"...|. MOVC|
|00003160| 53 20 52 32 2c 23 30 0d | 0d 16 4c 20 20 20 53 54 |S R2,#0.|..L ST|
|00003170| 52 20 52 32 2c 53 63 72 | 65 65 6e 43 6c 61 69 6d |R R2,Scr|eenClaim|
|00003180| 65 64 20 20 20 20 5c 20 | 53 65 74 20 66 6c 61 67 |ed \ |Set flag|
|00003190| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 69 66 20 | to indi|cate if |
|000031a0| 73 63 72 65 65 6e 20 6d | 65 6d 6f 72 79 20 66 6f |screen m|emory fo|
|000031b0| 75 6e 64 0d 0d 20 16 20 | 20 20 42 43 53 20 56 64 |und.. . | BCS Vd|
|000031c0| 75 53 65 71 75 65 6e 63 | 65 0d 0d 2a 19 20 20 20 |uSequenc|e..*. |
|000031d0| 4c 44 52 20 52 31 2c 53 | 63 72 65 65 6e 53 74 61 |LDR R1,S|creenSta|
|000031e0| 72 74 0d 0d 34 10 2e 53 | 63 72 65 65 6e 4c 6f 6f |rt..4..S|creenLoo|
|000031f0| 70 31 0d 0d 3e 19 20 20 | 20 4c 44 4d 49 41 20 52 |p1..>. | LDMIA R|
|00003200| 31 21 2c 7b 52 34 2d 52 | 31 31 7d 0d 0d 48 19 20 |1!,{R4-R|11}..H. |
|00003210| 20 20 53 54 4d 49 41 20 | 52 32 21 2c 7b 52 34 2d | STMIA |R2!,{R4-|
|00003220| 52 31 31 7d 0d 0d 52 15 | 20 20 20 53 55 42 53 20 |R11}..R.| SUBS |
|00003230| 52 33 2c 52 33 2c 23 33 | 32 0d 0d 5c 16 20 20 20 |R3,R3,#3|2..\. |
|00003240| 42 48 49 20 53 63 72 65 | 65 6e 4c 6f 6f 70 31 0d |BHI Scre|enLoop1.|
|00003250| 0d 66 14 20 20 20 42 20 | 56 64 75 53 65 71 75 65 |.f. B |VduSeque|
|00003260| 6e 63 65 0d 0d 70 04 0d | 0d 7a 0d 2e 57 69 6d 70 |nce..p..|.z..Wimp|
|00003270| 46 6c 61 67 0d 0d 84 0d | 20 20 20 45 51 55 42 20 |Flag....| EQUB |
|00003280| 30 0d 0d 8e 1b 20 20 20 | 45 51 55 53 20 22 57 69 |0.... |EQUS "Wi|
|00003290| 6e 64 6f 77 4d 61 6e 61 | 67 65 72 22 0d 0d 98 0d |ndowMana|ger"....|
|000032a0| 20 20 20 45 51 55 42 20 | 30 0d 0d a2 0c 20 20 20 | EQUB |0.... |
|000032b0| 41 4c 49 47 4e 0d 0d ac | 04 0d 0d b6 10 2e 56 64 |ALIGN...|......Vd|
|000032c0| 75 53 65 71 75 65 6e 63 | 65 0d 0d c0 19 20 20 20 |uSequenc|e.... |
|000032d0| 41 44 52 20 52 30 2c 4e | 65 77 53 65 74 74 69 6e |ADR R0,N|ewSettin|
|000032e0| 67 73 0d 0d ca 18 20 20 | 20 41 44 52 20 52 31 2c |gs.... | ADR R1,|
|000032f0| 54 65 72 6d 69 6e 61 74 | 6f 72 0d 0d d4 13 20 20 |Terminat|or.... |
|00003300| 20 53 55 42 20 52 31 2c | 52 31 2c 52 30 0d 0d de | SUB R1,|R1,R0...|
|00003310| 16 20 20 20 53 57 49 20 | 22 4f 53 5f 57 72 69 74 |. SWI |"OS_Writ|
|00003320| 65 4e 22 0d 0d e8 04 0d | 0d f2 0b 2e 45 43 4c 6f |eN".....|....ECLo|
|00003330| 6f 70 0d 0d fc 16 20 20 | 20 53 57 49 20 22 4f 53 |op.... | SWI "OS|
|00003340| 5f 57 72 69 74 65 53 22 | 0d 0e 06 15 20 20 20 45 |_WriteS"|.... E|
|00003350| 51 55 44 20 26 30 30 32 | 41 30 41 30 44 0d 0e 10 |QUD &002|A0A0D...|
|00003360| 14 20 20 20 41 44 52 20 | 52 30 2c 42 75 66 66 65 |. ADR |R0,Buffe|
|00003370| 72 0d 0e 1a 12 20 20 20 | 4d 4f 56 20 52 31 2c 23 |r.... |MOV R1,#|
|00003380| 32 35 34 0d 0e 24 11 20 | 20 20 4d 4f 56 20 52 32 |254..$. | MOV R2|
|00003390| 2c 23 33 32 0d 0e 2e 12 | 20 20 20 4d 4f 56 20 52 |,#32....| MOV R|
|000033a0| 33 2c 23 32 35 35 0d 0e | 38 19 20 20 20 53 57 49 |3,#255..|8. SWI|
|000033b0| 20 22 58 4f 53 5f 52 65 | 61 64 4c 69 6e 65 22 0d | "XOS_Re|adLine".|
|000033c0| 0e 42 13 20 20 20 42 43 | 53 20 45 73 63 45 72 72 |.B. BC|S EscErr|
|000033d0| 6f 72 0d 0e 4c 15 20 20 | 20 42 56 53 20 50 72 69 |or..L. | BVS Pri|
|000033e0| 6e 74 45 72 72 6f 72 0d | 0e 56 10 20 20 20 43 4d |ntError.|.V. CM|
|000033f0| 50 20 52 31 2c 23 30 0d | 0e 60 11 20 20 20 42 45 |P R1,#0.|.`. BE|
|00003400| 51 20 54 69 64 79 55 70 | 0d 0e 6a 14 20 20 20 53 |Q TidyUp|..j. S|
|00003410| 57 49 20 22 58 4f 53 5f | 43 4c 49 22 0d 0e 74 15 |WI "XOS_|CLI"..t.|
|00003420| 20 20 20 42 56 53 20 50 | 72 69 6e 74 45 72 72 6f | BVS P|rintErro|
|00003430| 72 0d 0e 7e 0f 20 20 20 | 42 20 45 43 4c 6f 6f 70 |r..~. |B ECLoop|
|00003440| 0d 0e 88 42 2e 56 64 75 | 42 6c 6f 63 6b 20 20 20 |...B.Vdu|Block |
|00003450| 20 20 20 20 20 5c 20 55 | 73 65 64 20 61 73 20 69 | \ U|sed as i|
|00003460| 6e 70 75 74 20 62 6c 6f | 63 6b 20 66 6f 72 20 4f |nput blo|ck for O|
|00003470| 53 5f 52 65 61 64 56 64 | 75 56 61 72 69 61 62 6c |S_ReadVd|uVariabl|
|00003480| 65 73 0d 0e 92 0f 20 20 | 20 45 51 55 44 20 31 33 |es.... | EQUD 13|
|00003490| 32 0d 0e 9c 0f 20 20 20 | 45 51 55 44 20 31 33 33 |2.... |EQUD 133|
|000034a0| 0d 0e a6 0f 20 20 20 45 | 51 55 44 20 31 33 34 0d |.... E|QUD 134.|
|000034b0| 0e b0 0f 20 20 20 45 51 | 55 44 20 31 33 35 0d 0e |... EQ|UD 135..|
|000034c0| ba 0f 20 20 20 45 51 55 | 44 20 31 34 39 0d 0e c4 |.. EQU|D 149...|
|000034d0| 0f 20 20 20 45 51 55 44 | 20 31 35 35 0d 0e ce 0f |. EQUD| 155....|
|000034e0| 20 20 20 45 51 55 44 20 | 31 35 36 0d 0e d8 0f 20 | EQUD |156.... |
|000034f0| 20 20 45 51 55 44 20 31 | 35 39 0d 0e e2 0f 20 20 | EQUD 1|59.... |
|00003500| 20 45 51 55 44 20 31 36 | 30 0d 0e ec 0d 20 20 20 | EQUD 16|0.... |
|00003510| 45 51 55 44 20 31 0d 0e | f6 0d 20 20 20 45 51 55 |EQUD 1..|.. EQU|
|00003520| 44 20 32 0d 0f 00 0d 20 | 20 20 45 51 55 44 20 37 |D 2.... | EQUD 7|
|00003530| 0d 0f 0a 0e 20 20 20 45 | 51 55 44 20 2d 31 0d 0f |.... E|QUD -1..|
|00003540| 14 43 2e 43 6f 6c 6f 75 | 72 73 20 20 20 20 20 20 |.C.Colou|rs |
|00003550| 20 20 5c 20 55 73 65 64 | 20 74 6f 20 73 74 6f 72 | \ Used| to stor|
|00003560| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 ef 20 |e applic|ation . |
|00003570| 76 61 72 69 61 62 6c 65 | 20 73 65 74 74 69 6e 67 |variable| setting|
|00003580| 73 0d 0f 1e 0d 20 20 20 | 45 51 55 44 20 30 0d 0f |s.... |EQUD 0..|
|00003590| 28 0d 20 20 20 45 51 55 | 44 20 30 0d 0f 32 0d 20 |(. EQU|D 0..2. |
|000035a0| 20 20 45 51 55 44 20 30 | 0d 0f 3c 0d 20 20 20 45 | EQUD 0|..<. E|
|000035b0| 51 55 44 20 30 0d 0f 46 | 0b 2e 57 69 6e 64 6f 77 |QUD 0..F|..Window|
|000035c0| 0d 0f 50 0d 20 20 20 45 | 51 55 44 20 30 0d 0f 5a |..P. E|QUD 0..Z|
|000035d0| 0d 20 20 20 45 51 55 44 | 20 30 0d 0f 64 0d 20 20 |. EQUD| 0..d. |
|000035e0| 20 45 51 55 44 20 30 0d | 0f 6e 0d 20 20 20 45 51 | EQUD 0.|.n. EQ|
|000035f0| 55 44 20 30 0d 0f 78 10 | 2e 53 63 72 65 65 6e 53 |UD 0..x.|.ScreenS|
|00003600| 74 61 72 74 0d 0f 82 0d | 20 20 20 45 51 55 44 20 |tart....| EQUD |
|00003610| 30 0d 0f 8c 0c 2e 4c 6f | 67 43 6f 6c 73 0d 0f 96 |0.....Lo|gCols...|
|00003620| 0d 20 20 20 45 51 55 44 | 20 30 0d 0f a0 0d 20 20 |. EQUD| 0.... |
|00003630| 20 45 51 55 44 20 30 0d | 0f aa 0a 2e 54 69 6e 74 | EQUD 0.|....Tint|
|00003640| 73 0d 0f b4 0d 20 20 20 | 45 51 55 44 20 30 0d 0f |s.... |EQUD 0..|
|00003650| be 0d 20 20 20 45 51 55 | 44 20 30 0d 0f c8 10 2e |.. EQU|D 0.....|
|00003660| 53 63 72 65 65 6e 57 69 | 64 74 68 0d 0f d2 0d 20 |ScreenWi|dth.... |
|00003670| 20 20 45 51 55 44 20 30 | 0d 0f dc 11 2e 53 63 72 | EQUD 0|.....Scr|
|00003680| 65 65 6e 48 65 69 67 68 | 74 0d 0f e6 0d 20 20 20 |eenHeigh|t.... |
|00003690| 45 51 55 44 20 30 0d 0f | f0 0f 2e 53 63 72 65 65 |EQUD 0..|...Scree|
|000036a0| 6e 53 69 7a 65 0d 0f fa | 0d 20 20 20 45 51 55 44 |nSize...|. EQUD|
|000036b0| 20 30 0d 10 04 12 2e 53 | 63 72 65 65 6e 43 6c 61 | 0.....S|creenCla|
|000036c0| 69 6d 65 64 0d 10 0e 0d | 20 20 20 45 51 55 44 20 |imed....| EQUD |
|000036d0| 30 0d 10 18 0e 2e 56 64 | 75 53 74 61 74 75 73 0d |0.....Vd|uStatus.|
|000036e0| 10 22 0d 20 20 20 45 51 | 55 42 20 30 0d 10 2c 0e |.". EQ|UB 0..,.|
|000036f0| 2e 43 75 72 73 6f 72 50 | 6f 73 0d 10 36 0d 20 20 |.CursorP|os..6. |
|00003700| 20 45 51 55 57 20 30 0d | 10 40 0c 2e 53 74 72 65 | EQUW 0.|.@..Stre|
|00003710| 61 6d 73 0d 10 4a 0d 20 | 20 20 45 51 55 42 20 30 |ams..J. | EQUB 0|
|00003720| 0d 10 54 46 2e 4e 65 77 | 53 65 74 74 69 6e 67 73 |..TF.New|Settings|
|00003730| 20 20 20 20 5c 20 20 43 | 6f 6e 74 61 69 6e 73 20 | \ C|ontains |
|00003740| ef 20 63 6f 64 65 73 20 | 74 6f 20 73 65 74 20 75 |. codes |to set u|
|00003750| 70 20 63 6f 6d 6d 61 6e | 64 20 65 6e 74 72 79 20 |p comman|d entry |
|00003760| 73 63 72 65 65 6e 0d 10 | 5e 1d 20 20 20 45 51 55 |screen..|^. EQU|
|00003770| 42 20 36 20 20 20 5c 20 | 52 65 20 65 6e 61 62 6c |B 6 \ |Re enabl|
|00003780| 65 20 ef 0d 10 68 21 20 | 20 20 45 51 55 42 20 32 |e ...h! | EQUB 2|
|00003790| 38 20 20 5c 20 53 65 74 | 20 74 65 78 74 20 77 69 |8 \ Set| text wi|
|000037a0| 6e 64 6f 77 0d 10 72 0d | 20 20 20 45 51 55 42 20 |ndow..r.| EQUB |
|000037b0| 30 0d 10 7c 35 20 20 20 | 45 51 55 42 20 30 20 20 |0..|5 |EQUB 0 |
|000037c0| 20 5c 20 68 65 69 67 68 | 74 20 6f 66 20 73 63 72 | \ heigh|t of scr|
|000037d0| 65 65 6e 20 75 70 64 61 | 74 65 64 20 62 79 20 70 |een upda|ted by p|
|000037e0| 72 6f 67 72 61 6d 0d 10 | 86 34 20 20 20 45 51 55 |rogram..|.4 EQU|
|000037f0| 42 20 30 20 20 20 5c 20 | 77 69 64 74 68 20 6f 66 |B 0 \ |width of|
|00003800| 20 73 63 72 65 65 6e 20 | 75 70 64 61 74 65 64 20 | screen |updated |
|00003810| 62 79 20 70 72 6f 67 72 | 61 6d 0d 10 90 0d 20 20 |by progr|am.... |
|00003820| 20 45 51 55 42 20 30 0d | 10 9a 26 20 20 20 45 51 | EQUB 0.|..& EQ|
|00003830| 55 42 20 31 39 20 20 5c | 20 44 65 66 69 6e 65 20 |UB 19 \| Define |
|00003840| 63 6f 6c 20 30 20 61 73 | 20 62 6c 75 65 0d 10 a4 |col 0 as| blue...|
|00003850| 0d 20 20 20 45 51 55 42 | 20 30 0d 10 ae 0d 20 20 |. EQUB| 0.... |
|00003860| 20 45 51 55 44 20 34 0d | 10 b8 27 20 20 20 45 51 | EQUD 4.|..' EQ|
|00003870| 55 42 20 31 39 20 20 5c | 20 44 65 66 69 6e 65 20 |UB 19 \| Define |
|00003880| 63 6f 6c 20 31 20 61 73 | 20 77 68 69 74 65 0d 10 |col 1 as| white..|
|00003890| c2 0d 20 20 20 45 51 55 | 42 20 31 0d 10 cc 0d 20 |.. EQU|B 1.... |
|000038a0| 20 20 45 51 55 44 20 37 | 0d 10 d6 20 20 20 20 45 | EQUD 7|... E|
|000038b0| 51 55 42 20 31 34 20 20 | 5c 20 53 65 74 20 70 61 |QUB 14 |\ Set pa|
|000038c0| 67 65 64 20 6d 6f 64 65 | 0d 10 e0 21 20 20 20 45 |ged mode|...! E|
|000038d0| 51 55 42 20 34 20 20 20 | 5c 20 55 73 65 20 74 65 |QUB 4 |\ Use te|
|000038e0| 78 74 20 63 75 72 73 6f | 72 0d 10 ea 26 20 20 20 |xt curso|r...& |
|000038f0| 45 51 55 42 20 31 37 20 | 20 5c 20 53 65 6c 65 63 |EQUB 17 | \ Selec|
|00003900| 74 20 54 65 78 74 20 63 | 6f 6c 6f 75 72 20 31 0d |t Text c|olour 1.|
|00003910| 10 f4 0d 20 20 20 45 51 | 55 42 20 31 0d 10 fe 2c |... EQ|UB 1...,|
|00003920| 20 20 20 45 51 55 42 20 | 31 37 20 20 5c 20 53 65 | EQUB |17 \ Se|
|00003930| 6c 65 63 74 20 62 61 63 | 6b 67 72 6f 75 6e 64 20 |lect bac|kground |
|00003940| 63 6f 6c 6f 75 72 20 30 | 0d 11 08 0f 20 20 20 45 |colour 0|.... E|
|00003950| 51 55 42 20 31 32 38 0d | 11 12 13 20 20 20 45 51 |QUB 128.|... EQ|
|00003960| 55 42 20 31 32 20 20 5c | 20 db 0d 11 1c 0f 2e 54 |UB 12 \| ......T|
|00003970| 65 72 6d 69 6e 61 74 6f | 72 0d 11 26 1a 20 20 20 |erminato|r..&. |
|00003980| 53 54 4d 46 44 20 52 31 | 33 21 2c 7b 52 30 2c 52 |STMFD R1|3!,{R0,R|
|00003990| 31 34 7d 0d 11 30 10 20 | 20 20 4d 4f 56 20 52 30 |14}..0. | MOV R0|
|000039a0| 2c 23 38 0d 11 3a 0d 2e | 54 65 72 6d 4c 6f 6f 70 |,#8..:..|TermLoop|
|000039b0| 0d 11 44 0e 20 20 20 53 | 57 49 20 32 35 36 0d 11 |..D. S|WI 256..|
|000039c0| 4e 14 20 20 20 53 55 42 | 53 20 52 30 2c 52 30 2c |N. SUB|S R0,R0,|
|000039d0| 23 31 0d 11 58 13 20 20 | 20 42 4e 45 20 54 65 72 |#1..X. | BNE Ter|
|000039e0| 6d 4c 6f 6f 70 0d 11 62 | 19 20 20 20 4c 44 4d 46 |mLoop..b|. LDMF|
|000039f0| 44 20 52 31 33 21 2c 7b | 52 30 2c 50 43 7d 0d 11 |D R13!,{|R0,PC}..|
|00003a00| 6c 04 0d 11 76 4a 2e 54 | 69 64 79 55 70 20 20 20 |l...vJ.T|idyUp |
|00003a10| 20 20 20 20 20 20 20 20 | 20 5c 20 52 65 73 65 74 | | \ Reset|
|00003a20| 73 20 61 70 70 6c 27 6e | 20 ef 20 73 65 74 75 70 |s appl'n| . setup|
|00003a30| 20 61 6e 64 20 74 72 69 | 65 73 20 74 6f 20 72 65 | and tri|es to re|
|00003a40| 73 74 6f 72 65 20 73 63 | 72 65 65 6e 0d 11 80 15 |store sc|reen....|
|00003a50| 20 20 20 41 44 52 20 52 | 33 2c 43 6f 6c 6f 75 72 | ADR R|3,Colour|
|00003a60| 73 0d 11 8a 10 20 20 20 | 4d 4f 56 20 52 31 2c 23 |s.... |MOV R1,#|
|00003a70| 34 0d 11 94 11 20 20 20 | 4d 4f 56 20 52 32 2c 23 |4.... |MOV R2,#|
|00003a80| 31 32 0d 11 9e 0b 2e 54 | 4c 6f 6f 70 31 0d 11 a8 |12.....T|Loop1...|
|00003a90| 11 20 20 20 53 57 49 20 | 32 35 36 2b 31 39 0d 11 |. SWI |256+19..|
|00003aa0| b2 17 20 20 20 4d 4f 56 | 20 52 30 2c 52 32 2c 4c |.. MOV| R0,R2,L|
|00003ab0| 53 52 20 23 33 0d 11 bc | 16 20 20 20 53 57 49 20 |SR #3...|. SWI |
|00003ac0| 22 4f 53 5f 57 72 69 74 | 65 43 22 0d 11 c6 13 20 |"OS_Writ|eC".... |
|00003ad0| 20 20 41 44 44 20 52 30 | 2c 52 33 2c 52 32 0d 11 | ADD R0|,R3,R2..|
|00003ae0| d0 16 20 20 20 53 57 49 | 20 22 4f 53 5f 57 72 69 |.. SWI| "OS_Wri|
|00003af0| 74 65 4e 22 0d 11 da 14 | 20 20 20 53 55 42 53 20 |teN"....| SUBS |
|00003b00| 52 32 2c 52 32 2c 23 34 | 0d 11 e4 11 20 20 20 42 |R2,R2,#4|.... B|
|00003b10| 50 4c 20 54 4c 6f 6f 70 | 31 0d 11 ee 10 20 20 20 |PL TLoop|1.... |
|00003b20| 4d 4f 56 20 52 32 2c 23 | 34 0d 11 f8 13 20 20 20 |MOV R2,#|4.... |
|00003b30| 41 44 52 20 52 33 2c 54 | 69 6e 74 73 0d 12 02 0b |ADR R3,T|ints....|
|00003b40| 2e 54 4c 6f 6f 70 32 0d | 12 0c 11 20 20 20 53 57 |.TLoop2.|... SW|
|00003b50| 49 20 32 35 36 2b 32 33 | 0d 12 16 11 20 20 20 53 |I 256+23|.... S|
|00003b60| 57 49 20 32 35 36 2b 31 | 37 0d 12 20 17 20 20 20 |WI 256+1|7.. . |
|00003b70| 4d 4f 56 20 52 30 2c 52 | 32 2c 4c 53 52 20 23 32 |MOV R0,R|2,LSR #2|
|00003b80| 0d 12 2a 16 20 20 20 53 | 57 49 20 22 4f 53 5f 57 |..*. S|WI "OS_W|
|00003b90| 72 69 74 65 43 22 0d 12 | 34 15 20 20 20 4c 44 52 |riteC"..|4. LDR|
|00003ba0| 20 52 30 2c 5b 52 33 2c | 52 32 5d 0d 12 3e 16 20 | R0,[R3,|R2]..>. |
|00003bb0| 20 20 53 57 49 20 22 4f | 53 5f 57 72 69 74 65 43 | SWI "O|S_WriteC|
|00003bc0| 22 0d 12 48 14 20 20 20 | 42 4c 20 54 65 72 6d 69 |"..H. |BL Termi|
|00003bd0| 6e 61 74 6f 72 0d 12 52 | 14 20 20 20 53 55 42 53 |nator..R|. SUBS|
|00003be0| 20 52 32 2c 52 32 2c 23 | 34 0d 12 5c 11 20 20 20 | R2,R2,#|4..\. |
|00003bf0| 42 50 4c 20 54 4c 6f 6f | 70 32 0d 12 66 16 20 20 |BPL TLoo|p2..f. |
|00003c00| 20 4c 44 52 42 20 52 30 | 2c 4c 6f 67 43 6f 6c 73 | LDRB R0|,LogCols|
|00003c10| 0d 12 70 11 20 20 20 53 | 57 49 20 32 35 36 2b 31 |..p. S|WI 256+1|
|00003c20| 37 0d 12 7a 16 20 20 20 | 53 57 49 20 22 4f 53 5f |7..z. |SWI "OS_|
|00003c30| 57 72 69 74 65 43 22 0d | 12 84 18 20 20 20 4c 44 |WriteC".|... LD|
|00003c40| 52 42 20 52 30 2c 4c 6f | 67 43 6f 6c 73 2b 34 0d |RB R0,Lo|gCols+4.|
|00003c50| 12 8e 15 20 20 20 41 44 | 44 20 52 30 2c 52 30 2c |... AD|D R0,R0,|
|00003c60| 23 31 32 38 0d 12 98 11 | 20 20 20 53 57 49 20 32 |#128....| SWI 2|
|00003c70| 35 36 2b 31 37 0d 12 a2 | 16 20 20 20 53 57 49 20 |56+17...|. SWI |
|00003c80| 22 4f 53 5f 57 72 69 74 | 65 43 22 0d 12 ac 11 20 |"OS_Writ|eC".... |
|00003c90| 20 20 53 57 49 20 32 35 | 36 2b 32 38 0d 12 b6 14 | SWI 25|6+28....|
|00003ca0| 20 20 20 41 44 52 20 52 | 31 2c 57 69 6e 64 6f 77 | ADR R|1,Window|
|00003cb0| 0d 12 c0 10 20 20 20 4d | 4f 56 20 52 32 2c 23 34 |.... M|OV R2,#4|
|00003cc0| 0d 12 ca 0b 2e 54 4c 6f | 6f 70 33 0d 12 d4 16 20 |.....TLo|op3.... |
|00003cd0| 20 20 4c 44 52 42 20 52 | 30 2c 5b 52 31 5d 2c 23 | LDRB R|0,[R1],#|
|00003ce0| 34 0d 12 de 16 20 20 20 | 53 57 49 20 22 4f 53 5f |4.... |SWI "OS_|
|00003cf0| 57 72 69 74 65 43 22 0d | 12 e8 14 20 20 20 53 55 |WriteC".|... SU|
|00003d00| 42 53 20 52 32 2c 52 32 | 2c 23 31 0d 12 f2 11 20 |BS R2,R2|,#1.... |
|00003d10| 20 20 42 4e 45 20 54 4c | 6f 6f 70 33 0d 12 fc 11 | BNE TL|oop3....|
|00003d20| 20 20 20 53 57 49 20 32 | 35 36 2b 33 31 0d 13 06 | SWI 2|56+31...|
|00003d30| 18 20 20 20 4c 44 52 42 | 20 52 30 2c 43 75 72 73 |. LDRB| R0,Curs|
|00003d40| 6f 72 50 6f 73 0d 13 10 | 16 20 20 20 53 57 49 20 |orPos...|. SWI |
|00003d50| 22 4f 53 5f 57 72 69 74 | 65 43 22 0d 13 1a 1a 20 |"OS_Writ|eC".... |
|00003d60| 20 20 4c 44 52 42 20 52 | 30 2c 43 75 72 73 6f 72 | LDRB R|0,Cursor|
|00003d70| 50 6f 73 2b 31 0d 13 24 | 16 20 20 20 53 57 49 20 |Pos+1..$|. SWI |
|00003d80| 22 4f 53 5f 57 72 69 74 | 65 43 22 0d 13 2e 18 20 |"OS_Writ|eC".... |
|00003d90| 20 20 4c 44 52 42 20 52 | 33 2c 56 64 75 53 74 61 | LDRB R|3,VduSta|
|00003da0| 74 75 73 0d 13 38 27 20 | 20 20 54 53 54 20 52 33 |tus..8' | TST R3|
|00003db0| 2c 23 31 20 20 5c 20 50 | 72 69 6e 74 65 72 20 65 |,#1 \ P|rinter e|
|00003dc0| 6e 61 62 6c 65 64 20 62 | 69 74 0d 13 42 12 20 20 |nabled b|it..B. |
|00003dd0| 20 53 57 49 4e 45 20 32 | 35 36 2b 32 0d 13 4c 21 | SWINE 2|56+2..L!|
|00003de0| 20 20 20 54 53 54 20 52 | 33 2c 23 34 20 5c 20 50 | TST R|3,#4 \ P|
|00003df0| 61 67 65 64 20 6d 6f 64 | 65 20 62 69 74 0d 13 56 |aged mod|e bit..V|
|00003e00| 31 20 20 20 53 57 49 45 | 51 20 32 35 36 2b 31 35 |1 SWIE|Q 256+15|
|00003e10| 20 5c 20 4e 6f 74 20 73 | 65 74 20 73 6f 20 63 6c | \ Not s|et so cl|
|00003e20| 65 61 72 20 70 61 67 65 | 64 20 6d 6f 64 65 0d 13 |ear page|d mode..|
|00003e30| 60 1b 20 20 20 54 53 54 | 20 52 33 2c 23 33 32 20 |`. TST| R3,#32 |
|00003e40| 20 5c 20 ef 35 20 62 69 | 74 0d 13 6a 12 20 20 20 | \ .5 bi|t..j. |
|00003e50| 53 57 49 4e 45 20 32 35 | 36 2b 35 0d 13 74 29 20 |SWINE 25|6+5..t) |
|00003e60| 20 20 54 53 54 20 52 33 | 2c 23 31 32 38 20 5c 20 | TST R3|,#128 \ |
|00003e70| 44 69 73 61 62 6c 65 64 | 20 62 79 20 ef 20 32 31 |Disabled| by . 21|
|00003e80| 20 62 69 74 0d 13 7e 13 | 20 20 20 53 57 49 4e 45 | bit..~.| SWINE|
|00003e90| 20 32 35 36 2b 32 31 0d | 13 88 16 20 20 20 4c 44 | 256+21.|... LD|
|00003ea0| 52 42 20 52 31 2c 53 74 | 72 65 61 6d 73 0d 13 92 |RB R1,St|reams...|
|00003eb0| 10 20 20 20 4d 4f 56 20 | 52 30 2c 23 33 0d 13 9c |. MOV |R0,#3...|
|00003ec0| 14 20 20 20 53 57 49 20 | 22 4f 53 5f 42 79 74 65 |. SWI |"OS_Byte|
|00003ed0| 22 0d 13 a6 1b 20 20 20 | 4c 44 52 20 52 31 2c 53 |".... |LDR R1,S|
|00003ee0| 63 72 65 65 6e 43 6c 61 | 69 6d 65 64 0d 13 b0 10 |creenCla|imed....|
|00003ef0| 20 20 20 43 4d 50 20 52 | 31 2c 23 30 0d 13 ba 40 | CMP R|1,#0...@|
|00003f00| 20 20 20 42 45 51 20 57 | 69 6d 70 20 20 20 5c 20 | BEQ W|imp \ |
|00003f10| 20 53 63 72 65 65 6e 20 | 6e 6f 74 20 73 74 6f 72 | Screen |not stor|
|00003f20| 65 64 20 74 68 65 72 65 | 66 6f 72 65 20 74 72 79 |ed there|fore try|
|00003f30| 20 77 69 6d 70 20 72 65 | 64 72 61 77 0d 13 c4 19 | wimp re|draw....|
|00003f40| 20 20 20 4c 44 52 20 52 | 32 2c 53 63 72 65 65 6e | LDR R|2,Screen|
|00003f50| 53 74 61 72 74 0d 13 ce | 18 20 20 20 4c 44 52 20 |Start...|. LDR |
|00003f60| 52 33 2c 53 63 72 65 65 | 6e 53 69 7a 65 0d 13 d8 |R3,Scree|nSize...|
|00003f70| 0b 2e 54 4c 6f 6f 70 34 | 0d 13 e2 19 20 20 20 4c |..TLoop4|.... L|
|00003f80| 44 4d 49 41 20 52 31 21 | 2c 7b 52 34 2d 52 31 31 |DMIA R1!|,{R4-R11|
|00003f90| 7d 0d 13 ec 19 20 20 20 | 53 54 4d 49 41 20 52 32 |}.... |STMIA R2|
|00003fa0| 21 2c 7b 52 34 2d 52 31 | 31 7d 0d 13 f6 15 20 20 |!,{R4-R1|1}.... |
|00003fb0| 20 53 55 42 53 20 52 33 | 2c 52 33 2c 23 33 32 0d | SUBS R3|,R3,#32.|
|00003fc0| 14 00 11 20 20 20 42 48 | 49 20 54 4c 6f 6f 70 34 |... BH|I TLoop4|
|00003fd0| 0d 14 0a 10 20 20 20 4d | 4f 56 20 52 30 2c 23 30 |.... M|OV R0,#0|
|00003fe0| 0d 14 14 21 20 20 20 53 | 57 49 20 22 4f 53 5f 43 |...! S|WI "OS_C|
|00003ff0| 6c 61 69 6d 53 63 72 65 | 65 6e 4d 65 6d 6f 72 79 |laimScre|enMemory|
|00004000| 22 0d 14 1e 09 2e 57 69 | 6d 70 0d 14 28 47 20 20 |".....Wi|mp..(G |
|00004010| 20 4c 44 52 42 20 52 31 | 2c 57 69 6d 70 46 6c 61 | LDRB R1|,WimpFla|
|00004020| 67 20 20 5c 20 20 4c 6f | 61 64 20 66 6c 61 67 20 |g \ Lo|ad flag |
|00004030| 77 68 69 63 68 20 69 6e | 64 69 63 61 74 65 73 20 |which in|dicates |
|00004040| 69 66 20 77 69 6d 70 20 | 69 73 20 61 63 74 69 76 |if wimp |is activ|
|00004050| 65 0d 14 32 3b 20 20 20 | 43 4d 50 20 52 31 2c 23 |e..2; |CMP R1,#|
|00004060| 30 20 20 20 20 20 20 20 | 20 20 5c 20 20 49 66 20 |0 | \ If |
|00004070| 66 6c 61 67 20 69 73 20 | 7a 65 72 6f 20 74 68 65 |flag is |zero the|
|00004080| 6e 20 6e 6f 74 20 61 63 | 74 69 76 65 0d 14 3c 2d |n not ac|tive..<-|
|00004090| 20 20 20 42 45 51 20 46 | 69 6e 69 73 68 20 20 20 | BEQ F|inish |
|000040a0| 20 20 20 20 20 5c 20 20 | 73 6f 20 62 72 61 6e 63 | \ |so branc|
|000040b0| 68 20 74 6f 20 65 78 69 | 74 0d 14 46 42 20 20 20 |h to exi|t..FB |
|000040c0| 4d 56 4e 20 52 30 2c 23 | 30 20 20 20 20 20 20 20 |MVN R0,#|0 |
|000040d0| 20 20 5c 20 20 4f 74 68 | 65 72 77 69 73 65 20 6d | \ Oth|erwise m|
|000040e0| 61 72 6b 20 77 68 6f 6c | 65 20 73 63 72 65 65 6e |ark whol|e screen|
|000040f0| 20 61 73 20 69 6e 76 61 | 6c 69 64 0d 14 50 10 20 | as inva|lid..P. |
|00004100| 20 20 4d 4f 56 20 52 31 | 2c 23 30 0d 14 5a 10 20 | MOV R1|,#0..Z. |
|00004110| 20 20 4d 4f 56 20 52 32 | 2c 23 30 0d 14 64 13 20 | MOV R2|,#0..d. |
|00004120| 20 20 4d 4f 56 20 52 33 | 2c 23 32 33 30 34 0d 14 | MOV R3|,#2304..|
|00004130| 6e 13 20 20 20 4d 4f 56 | 20 52 34 2c 23 31 37 39 |n. MOV| R4,#179|
|00004140| 32 0d 14 78 48 20 20 20 | 53 57 49 20 22 58 57 69 |2..xH |SWI "XWi|
|00004150| 6d 70 5f 46 6f 72 63 65 | 52 65 64 72 61 77 22 20 |mp_Force|Redraw" |
|00004160| 20 5c 20 77 68 69 63 68 | 20 63 61 75 73 65 73 20 | \ which| causes |
|00004170| 77 69 6d 70 20 74 6f 20 | 72 65 64 72 61 77 20 74 |wimp to |redraw t|
|00004180| 68 65 20 73 63 72 65 65 | 6e 0d 14 82 0b 2e 46 69 |he scree|n.....Fi|
|00004190| 6e 69 73 68 0d 14 8c 10 | 20 20 20 4d 4f 56 20 52 |nish....| MOV R|
|000041a0| 30 2c 50 43 0d 14 96 2b | 20 20 20 84 52 20 52 30 |0,PC...+| .R R0|
|000041b0| 2c 52 30 2c 23 31 3c 3c | 32 37 20 5c 20 53 65 74 |,R0,#1<<|27 \ Set|
|000041c0| 20 69 6e 74 65 72 72 75 | 70 74 20 66 6c 61 67 0d | interru|pt flag.|
|000041d0| 14 a0 27 20 20 20 54 45 | 51 50 20 52 30 2c 23 30 |..' TE|QP R0,#0|
|000041e0| 20 20 20 20 20 20 20 5c | 20 57 72 69 74 65 20 74 | \| Write t|
|000041f0| 6f 20 66 6c 61 67 0d 14 | aa 15 20 20 20 4c 44 52 |o flag..|.. LDR|
|00004200| 42 20 52 30 2c 41 63 74 | 69 76 65 0d 14 b4 2c 20 |B R0,Act|ive..., |
|00004210| 20 20 53 55 42 20 52 30 | 2c 52 30 2c 23 31 32 38 | SUB R0|,R0,#128|
|00004220| 20 20 5c 20 52 65 73 74 | 6f 72 65 20 61 63 74 69 | \ Rest|ore acti|
|00004230| 76 65 20 66 6c 61 67 0d | 14 be 15 20 20 20 53 54 |ve flag.|... ST|
|00004240| 52 42 20 52 30 2c 41 63 | 74 69 76 65 0d 14 c8 17 |RB R0,Ac|tive....|
|00004250| 20 20 20 41 44 52 20 52 | 31 34 2c 52 65 67 53 74 | ADR R|14,RegSt|
|00004260| 6f 72 65 0d 14 d2 1a 20 | 20 20 4c 44 4d 49 41 20 |ore.... | LDMIA |
|00004270| 52 31 34 2c 7b 52 30 2d | 52 31 34 7d 5e 0d 14 dc |R14,{R0-|R14}^...|
|00004280| 1a 20 20 20 4c 44 52 20 | 52 31 34 2c 5b 52 31 34 |. LDR |R14,[R14|
|00004290| 2c 23 31 35 2a 34 5d 0d | 14 e6 12 20 20 20 4d 4f |,#15*4].|... MO|
|000042a0| 56 53 20 50 43 2c 52 31 | 34 0d 14 f0 04 0d 14 fa |VS PC,R1|4.......|
|000042b0| 0c 2e 45 73 63 61 70 65 | 53 0d 15 04 0e 20 20 20 |..Escape|S.... |
|000042c0| 45 51 55 44 20 31 37 0d | 15 0e 14 20 20 20 45 51 |EQUD 17.|... EQ|
|000042d0| 55 53 20 22 45 73 63 61 | 70 65 22 0d 15 18 0d 20 |US "Esca|pe".... |
|000042e0| 20 20 45 51 55 42 20 30 | 0d 15 22 0c 20 20 20 41 | EQUB 0|..". A|
|000042f0| 4c 49 47 4e 0d 15 2c 0d | 2e 45 73 63 45 72 72 6f |LIGN..,.|.EscErro|
|00004300| 72 0d 15 36 12 20 20 20 | 4d 4f 56 20 52 30 2c 23 |r..6. |MOV R0,#|
|00004310| 31 32 34 0d 15 40 2e 20 | 20 20 53 57 49 20 22 58 |124..@. | SWI "X|
|00004320| 4f 53 5f 42 79 74 65 22 | 20 5c 20 43 6c 65 61 72 |OS_Byte"| \ Clear|
|00004330| 20 45 73 63 61 70 65 20 | 63 6f 6e 64 69 74 69 6f | Escape |conditio|
|00004340| 6e 0d 15 4a 15 20 20 20 | 41 44 52 20 52 30 2c 45 |n..J. |ADR R0,E|
|00004350| 73 63 61 70 65 53 0d 15 | 54 0f 2e 50 72 69 6e 74 |scapeS..|T..Print|
|00004360| 45 72 72 6f 72 0d 15 5e | 13 20 20 20 41 44 44 20 |Error..^|. ADD |
|00004370| 52 30 2c 52 30 2c 23 34 | 0d 15 68 17 20 20 20 53 |R0,R0,#4|..h. S|
|00004380| 57 49 20 22 4f 53 5f 4e | 65 77 4c 69 6e 65 22 0d |WI "OS_N|ewLine".|
|00004390| 15 72 16 20 20 20 53 57 | 49 20 22 4f 53 5f 57 72 |.r. SW|I "OS_Wr|
|000043a0| 69 74 65 30 22 0d 15 7c | 0f 20 20 20 42 20 45 43 |ite0"..||. B EC|
|000043b0| 4c 6f 6f 70 0d 15 86 05 | 5d 0d 15 90 05 ed 0d 15 |Loop....|].......|
|000043c0| 9a 29 ff 28 22 53 41 56 | 45 20 49 6e 74 4d 6f 64 |.).("SAV|E IntMod|
|000043d0| 75 6c 65 20 22 2b c3 7e | 53 70 61 63 65 2b 22 2b |ule "+.~|Space+"+|
|000043e0| 22 2b c3 7e 50 25 29 0d | 15 a4 1e ff 28 22 53 45 |"+.~P%).|....("SE|
|000043f0| 54 54 59 50 45 20 49 6e | 74 4d 6f 64 75 6c 65 20 |TTYPE In|tModule |
|00004400| 46 46 41 22 29 0d ff | |FFA").. | |
+--------+-------------------------+-------------------------+--------+--------+