home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / _intmod < prev    next >
ArcFS Archive  |  1994-09-26  |  16.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: _intmod

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| 45 fd ff ff b4 1a 69 9b | 00 00 00 00 ff ff ff ff |E.....i.|........|
|00000080| fc 00 00 80 82 21 42 6f | 6f 74 00 00 fe ff ff ff |.....!Bo|ot......|
|00000090| 1f 00 00 00 44 eb ff ff | 4b 0d 55 77 03 00 2e 80 |....D...|K.Uw....|
|000000a0| 1f 00 00 00 24 00 00 00 | 82 21 52 75 6e 00 04 00 |....$...|.!Run...|
|000000b0| fe ff ff ff 55 00 00 00 | 43 eb ff ff 66 58 f8 98 |....U...|C...fX..|
|000000c0| 03 00 d6 e0 55 00 00 00 | 67 00 00 00 82 21 53 70 |....U...|g....!Sp|
|000000d0| 72 69 74 65 73 00 ff ff | 8c 01 00 00 41 f9 ff ff |rites...|....A...|
|000000e0| 63 da 35 be 03 00 9f 03 | 8c 01 00 00 e0 00 00 00 |c.5.....|........|
|000000f0| 82 49 6e 74 4d 6f 64 75 | 6c 65 00 ff 94 0a 00 00 |.IntModu|le......|
|00000100| 41 fa ff ff 6c 17 33 be | 03 00 2c 6c 94 0a 00 00 |A...l.3.|..,l....|
|00000110| 90 02 00 00 82 49 6e 74 | 53 72 63 00 fe ff ff ff |.....Int|Src.....|
|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 48 0d 00 00 | 00 54 6d 70 00 00 04 00 |.5..H...|.Tmp....|
|00000140| fe ff ff ff 71 00 00 00 | 44 eb ff ff a2 dc 42 cf |....q...|D.....B.|
|00000150| 03 00 0c 53 71 00 00 00 | 6c 00 00 00 00 00 00 00 |...Sq...|l.......|
|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| fe ff ff ff 1f 00 00 00 | 44 eb ff ff 4b 0d 55 77 |........|D...K.Uw|
|000001a0| 03 00 2e 80 49 63 6f 6e | 53 70 72 69 74 65 73 20 |....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 46 69 6c 65 44 | 61 74 61 82 21 52 75 6e |tesFileD|ata.!Run|
|000001d0| 00 04 00 fe ff ff ff 55 | 00 00 00 43 eb ff ff 66 |.......U|...C...f|
|000001e0| 58 f8 98 03 00 d6 e0 52 | 4d 45 6e 73 75 72 65 20 |X......R|MEnsure |
|000001f0| 50 72 6f 67 20 31 2e 31 | 30 20 52 4d 4c 6f 61 64 |Prog 1.1|0 RMLoad|
|00000200| 20 3c 4f 62 65 79 24 44 | 69 72 3e 2e 49 6e 74 4d | <Obey$D|ir>.IntM|
|00000210| 6f 64 75 6c 65 0a 45 63 | 68 6f 20 49 6e 74 65 72 |odule.Ec|ho Inter|
|00000220| 72 75 70 74 20 6d 6f 64 | 75 6c 65 20 69 73 20 6e |rupt mod|ule is n|
|00000230| 6f 77 20 69 6e 73 74 61 | 6c 6c 65 64 46 69 6c 65 |ow insta|lledFile|
|00000240| 44 61 74 61 82 21 53 70 | 72 69 74 65 73 00 ff ff |Data.!Sp|rites...|
|00000250| 8c 01 00 00 41 f9 ff ff | 63 da 35 be 03 00 9f 03 |....A...|c.5.....|
|00000260| 01 00 00 00 10 00 00 00 | 90 01 00 00 80 01 00 00 |........|........|
|00000270| 21 69 6e 74 6d 6f 64 00 | 00 00 00 00 04 00 00 00 |!intmod.|........|
|00000280| 10 00 00 00 00 00 00 00 | 0f 00 00 00 2c 00 00 00 |........|....,...|
|00000290| 2c 00 00 00 0c 00 00 00 | 99 99 99 99 b9 bb bb bb |,.......|........|
|000002a0| bb bb 9b 99 99 99 99 99 | 99 99 00 00 99 99 99 99 |........|........|
|000002b0| b9 bb bb bb bb bb 9b 99 | 99 99 99 99 99 99 00 00 |........|........|
|000002c0| 99 99 99 99 b9 bb bb bb | bb bb 9b 99 99 99 99 99 |........|........|
|000002d0| 99 99 00 00 99 99 99 99 | b9 bb bb bb bb bb 9b 99 |........|........|
|000002e0| 99 99 99 99 99 99 00 00 | 99 99 99 99 b9 bb bb bb |........|........|
|000002f0| bb bb 9b 99 99 99 99 79 | 99 99 00 00 99 99 99 99 |.......y|........|
|00000300| 99 bb bb bb bb bb 99 99 | 99 99 99 79 97 99 00 00 |........|...y....|
|00000310| 99 99 99 99 99 99 99 99 | 99 99 99 99 99 99 99 79 |........|.......y|
|00000320| 77 99 00 00 77 77 77 77 | 77 77 77 77 77 77 77 77 |w...wwww|wwwwwwww|
|00000330| 77 77 77 77 77 97 00 00 | 77 77 77 77 77 77 77 77 |wwwww...|wwwwwwww|
|00000340| 77 77 77 77 77 77 77 77 | 77 77 00 00 77 77 77 77 |wwwwwwww|ww..wwww|
|00000350| 77 77 77 77 77 77 77 77 | 77 77 77 77 77 97 00 00 |wwwwwwww|wwwww...|
|00000360| 99 99 99 99 99 99 99 99 | 99 99 99 99 99 99 99 79 |........|.......y|
|00000370| 77 99 00 00 99 99 99 99 | 99 bb bb bb bb bb 99 99 |w.......|........|
|00000380| 99 99 99 79 97 99 00 00 | 99 99 99 99 b9 bb bb bb |...y....|........|
|00000390| bb bb 9b 99 99 99 99 79 | 99 99 00 00 99 99 99 99 |.......y|........|
|000003a0| b9 bb bb bb bb bb 9b 99 | 99 99 99 99 99 99 00 00 |........|........|
|000003b0| 99 99 99 99 b9 bb bb bb | bb bb 9b 99 99 99 99 99 |........|........|
|000003c0| 99 99 00 00 99 99 99 99 | b9 bb bb bb bb bb 9b 99 |........|........|
|000003d0| 99 99 99 99 99 99 00 00 | 99 99 99 99 b9 bb bb bb |........|........|
|000003e0| bb bb 9b 99 99 99 99 99 | 99 99 88 d4 46 69 6c 65 |........|....File|
|000003f0| 44 61 74 61 82 49 6e 74 | 4d 6f 64 75 6c 65 00 ff |Data.Int|Module..|
|00000400| 94 0a 00 00 41 fa ff ff | 6c 17 33 be 03 00 2c 6c |....A...|l.3...,l|
|00000410| 00 00 00 00 b0 02 00 00 | fc 02 00 00 84 02 00 00 |........|........|
|00000420| 4e 00 00 00 2c 00 00 00 | 58 00 00 00 00 00 00 00 |N...,...|X.......|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 50 72 6f 67 |........|....Prog|
|00000440| 20 69 6e 74 65 72 72 75 | 70 74 09 31 2e 31 30 20 | interru|pt.1.10 |
|00000450| 28 32 31 20 4d 61 79 20 | 31 39 38 39 29 00 49 6e |(21 May |1989).In|
|00000460| 74 4d 6f 64 75 6c 65 00 | 49 6e 74 65 72 72 75 70 |tModule.|Interrup|
|00000470| 74 00 69 61 48 03 00 00 | 01 00 ff 00 b7 01 00 00 |t.iaH...|........|
|00000480| 90 00 00 00 46 72 65 65 | 7a 65 00 20 3c 02 00 00 |....Free|ze. <...|
|00000490| 00 00 00 00 29 02 00 00 | e4 01 00 00 00 00 00 00 |....)...|........|
|000004a0| 2a 49 6e 74 65 72 72 75 | 70 74 20 73 65 74 73 20 |*Interru|pt sets |
|000004b0| 75 70 20 61 20 72 6f 75 | 74 69 6e 65 20 74 6f 20 |up a rou|tine to |
|000004c0| 73 74 6f 70 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |stop an |applicat|
|000004d0| 69 6f 6e 20 77 69 74 68 | 20 61 20 6b 65 79 20 70 |ion with| a key p|
|000004e0| 72 65 73 73 20 61 6e 64 | 20 70 65 72 66 6f 72 6d |ress and| perform|
|000004f0| 20 61 20 73 70 65 63 69 | 66 69 65 64 20 2a 63 6f | a speci|fied *co|
|00000500| 6d 6d 61 6e 64 0a 0d 49 | 66 20 6e 6f 20 63 6f 6d |mmand..I|f no com|
|00000510| 6d 61 6e 64 20 69 73 20 | 67 69 76 65 6e 20 2a 63 |mand is |given *c|
|00000520| 6f 6d 6d 61 6e 64 73 20 | 63 61 6e 20 62 65 20 74 |ommands |can be t|
|00000530| 79 70 65 64 20 64 75 72 | 69 6e 67 20 74 68 65 20 |yped dur|ing the |
|00000540| 69 6e 74 65 72 72 75 70 | 74 69 6f 6e 0a 0d 2a 49 |interrup|tion..*I|
|00000550| 6e 74 65 72 72 75 70 74 | 20 3c 6b 65 79 3e 20 46 |nterrupt| <key> F|
|00000560| 72 65 65 7a 65 20 2d 20 | 77 61 69 74 73 20 75 6e |reeze - |waits un|
|00000570| 74 69 6c 20 74 68 65 20 | 73 70 61 63 65 20 62 61 |til the |space ba|
|00000580| 72 20 69 73 20 70 72 65 | 73 73 65 64 20 26 20 72 |r is pre|ssed & r|
|00000590| 65 6c 65 61 73 65 64 0a | 0d 2a 49 6e 74 65 72 72 |eleased.|.*Interr|
|000005a0| 75 70 74 20 2d 31 20 64 | 69 73 61 62 6c 65 73 20 |upt -1 d|isables |
|000005b0| 74 68 65 20 69 6e 74 65 | 72 72 75 70 74 20 72 6f |the inte|rrupt ro|
|000005c0| 75 74 69 6e 65 0a 0d 53 | 79 6e 74 61 78 3a 20 2a |utine..S|yntax: *|
|000005d0| 49 6e 74 65 72 72 75 70 | 74 20 3c 41 53 43 49 49 |Interrup|t <ASCII|
|000005e0| 20 63 6f 64 65 3e 20 5b | 3c 2a 63 6f 6d 6d 61 6e | code> [|<*comman|
|000005f0| 64 3e 5d 00 2a 46 72 65 | 65 7a 65 20 73 74 6f 70 |d>].*Fre|eze stop|
|00000600| 73 20 70 72 6f 63 65 73 | 73 69 6e 67 20 75 6e 74 |s proces|sing unt|
|00000610| 69 6c 20 74 68 65 20 73 | 70 61 63 65 62 61 72 20 |il the s|pacebar |
|00000620| 69 73 20 70 72 65 73 73 | 65 64 20 61 6e 64 20 72 |is press|ed and r|
|00000630| 65 6c 65 61 73 65 64 0a | 0d 53 79 6e 74 61 78 3a |eleased.|.Syntax:|
|00000640| 20 2a 46 72 65 65 7a 65 | 00 20 20 45 0f 40 2d e9 | *Freeze|. E.@-.|
|00000650| 81 00 a0 e3 62 10 e0 e3 | ff 20 a0 e3 06 00 00 ef |....b...|. ......|
|00000660| ff 00 51 e3 ff 00 52 03 | f9 ff ff 1a 62 10 e0 e3 |..Q...R.|....b...|
|00000670| ff 20 a0 e3 06 00 00 ef | ff 00 51 e3 ff 00 52 03 |. ......|..Q...R.|
|00000680| f9 ff ff 0a 15 00 a0 e3 | 00 10 a0 e3 06 00 00 ef |........|........|
|00000690| 0f 80 bd e8 27 00 51 e3 | 0e f0 a0 11 07 40 2d e9 |....'.Q.|.....@-.|
|000006a0| 24 02 df e5 80 00 50 e3 | 80 00 40 22 18 02 cf e5 |$.....P.|..@"....|
|000006b0| 00 00 a0 e3 80 01 cf e5 | 7d 01 cf e5 01 00 00 ea |........|}.......|
|000006c0| 07 40 2d e9 70 01 df e5 | ff 00 50 e3 05 00 00 0a |.@-.p...|..P.....|
|000006d0| ff 00 a0 e3 60 01 cf e5 | 10 00 a0 e3 57 1f 8f e2 |....`...|....W...|
|000006e0| 00 20 a0 e3 1f 00 00 ef | 4d 01 df e5 ff 00 50 e3 |. ......|M.....P.|
|000006f0| 00 80 bd 08 ff 00 a0 e3 | 3d 01 cf e5 0e 00 a0 e3 |........|=.......|
|00000700| 02 10 a0 e3 06 00 00 ef | 07 80 bd e8 00 40 2d e9 |........|.....@-.|
|00000710| 25 01 df e5 ff 00 50 e3 | 04 00 00 1a 00 00 a0 e3 |%.....P.|........|
|00000720| 15 01 cf e5 0d 00 a0 e3 | 02 10 a0 e3 06 00 00 ef |........|........|
|00000730| 04 01 df e5 ff 00 50 e3 | 00 80 bd 18 00 00 a0 e3 |......P.|........|
|00000740| f4 00 cf e5 10 00 a0 e3 | f0 10 8f e2 00 20 a0 e3 |........|..... ..|
|00000750| 20 00 00 ef 00 80 bd e8 | 1f 40 2d e9 00 30 a0 e1 | .......|.@-..0..|
|00000760| 01 40 a0 e1 5a 0f 8f e2 | 01 10 d3 e4 20 00 51 e3 |.@..Z...|.... .Q.|
|00000770| 0d 10 a0 03 01 10 c0 e4 | 0d 00 51 e3 f9 ff ff 1a |........|..Q.....|
|00000780| 53 0f 8f e2 d2 1f 8f e2 | 3f 20 a0 e3 2d 00 02 ef |S.......|? ..-...|
|00000790| 02 00 00 6a 00 00 51 e3 | 02 00 00 0a 6c 00 8f e2 |...j..Q.|....l...|
|000007a0| 3e 00 bd e8 20 00 00 ea | 01 0c 52 e3 07 00 00 3a |>... ...|..R....:|
|000007b0| 01 00 72 e3 f8 ff ff 1a | 0c 11 df e5 00 00 a0 e3 |..r.....|........|
|000007c0| 80 00 51 e3 80 00 a0 23 | fc 00 cf e5 1f 80 bd e8 |..Q....#|........|
|000007d0| f8 10 8f e2 00 20 c1 e5 | ec 10 df e5 80 10 01 e2 |..... ..|........|
|000007e0| 01 10 81 e2 01 00 54 e3 | 01 10 81 12 d8 10 cf e5 |......T.|........|
|000007f0| 1f 80 bd 08 03 00 a0 e1 | 75 1f 8f e2 01 20 d0 e4 |........|u.... ..|
|00000800| 01 20 c1 e4 0d 00 52 e3 | fb ff ff 1a 1f 80 bd e8 |. ....R.|........|
|00000810| a1 08 01 00 42 61 64 20 | 6b 65 79 63 6f 64 65 20 |....Bad |keycode |
|00000820| 70 61 72 61 6d 65 74 65 | 72 00 39 20 0f 10 a0 e1 |paramete|r.9 ....|
|00000830| 01 12 81 e3 00 f0 31 e3 | 00 80 bd e8 00 00 00 62 |......1.|.......b|
|00000840| 80 40 2d e9 00 70 a0 e3 | 00 00 52 e3 16 70 4f 15 |.@-..p..|..R..pO.|
|00000850| 78 70 df e5 02 00 57 e1 | 80 80 bd 18 68 70 df e5 |xp....W.|....hp..|
|00000860| 01 00 57 e3 02 00 57 13 | 80 80 bd 18 67 00 2d e9 |..W...W.|....g.-.|
|00000870| 0f 60 a0 e1 03 70 86 e3 | 00 f0 37 e3 00 00 a0 f1 |.`...p..|..7.....|
|00000880| 00 40 2d e9 00 00 52 e3 | 07 00 00 1a 56 50 5f e5 |.@-...R.|....VP_.|
|00000890| ff 00 55 e3 02 00 00 0a | ff 50 a0 e3 66 50 4f e5 |..U.....|.P..fPO.|
|000008a0| 05 00 00 ea 00 50 a0 e3 | 72 50 4f e5 22 0e 8f e2 |.....P..|rPO."...|
|000008b0| 97 1f 8f e2 15 00 00 ef | 1b 00 00 ef 00 40 bd e8 |........|.....@..|
|000008c0| 00 f0 36 e3 00 00 a0 f1 | e7 80 bd e8 00 00 00 00 |..6.....|........|
|000008d0| 00 00 00 00 74 65 78 74 | 20 63 75 72 73 6f 72 0d |....text| cursor.|
|000008e0| 10 ea 26 20 20 20 45 51 | 55 42 20 31 37 20 20 5c |..& EQ|UB 17 \|
|000008f0| 20 53 65 6c 65 63 74 20 | 54 65 78 74 20 63 6f 6c | Select |Text col|
|00000900| 6f 75 72 20 31 0d 10 f4 | 0d 20 20 20 45 51 55 42 |our 1...|. EQUB|
|00000910| 20 31 0d 10 fe 2c 20 20 | 20 45 51 55 42 20 31 37 | 1..., | EQUB 17|
|00000920| 20 20 5c 20 53 65 6c 65 | 63 74 20 62 61 63 6b 67 | \ Sele|ct backg|
|00000930| 72 6f 75 6e 64 20 63 6f | 6c 6f 75 72 20 30 0d 11 |round co|lour 0..|
|00000940| 08 0f 20 20 20 45 51 55 | 42 20 31 32 38 0d 11 12 |.. EQU|B 128...|
|00000950| 13 20 20 20 45 51 55 42 | 20 31 32 20 20 5c 20 db |. EQUB| 12 \ .|
|00000960| 0d 11 1c 0f 2e 54 65 72 | 6d 69 6e 61 74 6f 72 0d |.....Ter|minator.|
|00000970| 11 26 1a 20 20 20 53 54 | 4d 46 44 20 52 31 33 21 |.&. ST|MFD R13!|
|00000980| 2c 7b 52 30 2c 52 31 34 | 7d 0d 11 30 10 20 20 20 |,{R0,R14|}..0. |
|00000990| 4d 4f 56 20 52 30 2c 23 | 38 0d 11 3a 0d 2e 54 65 |MOV R0,#|8..:..Te|
|000009a0| 72 6d 4c 6f 6f 70 0d 11 | 44 0e 20 20 20 53 57 49 |rmLoop..|D. SWI|
|000009b0| 20 32 35 36 0d 11 4e 14 | 20 20 20 53 55 42 53 20 | 256..N.| SUBS |
|000009c0| 52 30 2c 52 30 2c 23 31 | 0d 11 58 13 20 20 20 42 |R0,R0,#1|..X. B|
|000009d0| 4e 45 20 54 65 72 6d 4c | 6f 6f 70 0d 11 62 19 20 |NE TermL|oop..b. |
|000009e0| 20 20 4c 44 4d 46 44 20 | 52 31 33 21 2c 7b 52 30 | LDMFD |R13!,{R0|
|000009f0| 2c 50 43 7d 0d 11 6c 04 | 0d 11 76 4a 2e 54 69 64 |,PC}..l.|..vJ.Tid|
|00000a00| 79 55 70 20 20 20 20 20 | 20 20 20 20 20 20 20 5c |yUp | \|
|00000a10| 20 52 65 73 65 74 73 20 | 61 70 70 6c 27 6e 20 ef | Resets |appl'n .|
|00000a20| 20 73 65 74 75 70 20 61 | 6e 64 20 74 72 69 65 73 | setup a|nd tries|
|00000a30| 20 74 6f 20 72 65 73 74 | 6f 72 65 20 73 63 72 65 | to rest|ore scre|
|00000a40| 65 6e 0d 11 80 15 20 20 | 20 41 44 52 20 52 33 2c |en.... | ADR R3,|
|00000a50| 43 6f 6c 6f 75 72 73 0d | 11 8a 10 20 20 20 4d 4f |Colours.|... MO|
|00000a60| 56 20 52 31 2c 23 34 0d | 11 94 11 20 20 20 4d 4f |V R1,#4.|... MO|
|00000a70| 56 20 52 32 2c 23 31 32 | 0d 11 9e 0b 2e 54 4c 6f |V R2,#12|.....TLo|
|00000a80| 6f 70 31 0d 11 a8 11 20 | 20 20 53 57 49 20 32 35 |op1.... | SWI 25|
|00000a90| 36 2b 31 39 0d 11 b2 17 | 20 20 20 4d 4f 56 20 52 |6+19....| MOV R|
|00000aa0| 30 2c 52 32 2c 4c 53 52 | 20 23 33 0d 11 bc 16 20 |0,R2,LSR| #3.... |
|00000ab0| 20 20 53 57 49 20 22 4f | 53 5f 57 72 69 74 65 43 | SWI "O|S_WriteC|
|00000ac0| 22 0d 11 c6 13 20 20 20 | 41 44 44 20 52 30 2c 52 |".... |ADD R0,R|
|00000ad0| 33 2c 52 32 0d 11 d0 16 | 20 20 20 53 57 49 20 22 |3,R2....| SWI "|
|00000ae0| 4f 53 5f 57 72 69 74 65 | 4e 22 0d 11 da 14 20 20 |OS_Write|N".... |
|00000af0| 20 53 55 42 53 20 52 32 | 2c 52 32 2c 23 34 0d 11 | SUBS R2|,R2,#4..|
|00000b00| e4 11 20 20 20 42 50 4c | 20 54 4c 6f 6f 70 31 0d |.. BPL| TLoop1.|
|00000b10| 11 ee 10 20 50 02 5f e5 | 80 00 80 e2 58 02 4f e5 |... P._.|....X.O.|
|00000b20| 0f 10 a0 e1 02 13 c1 e3 | 03 10 81 e3 00 f0 31 e3 |........|......1.|
|00000b30| 01 10 a0 f1 81 00 50 e3 | 03 00 00 0a 17 0e 4f e2 |......P.|......O.|
|00000b40| 05 00 02 ef 07 01 02 6f | c1 00 00 ea 75 00 a0 e3 |.......o|....u...|
|00000b50| 06 00 02 ef a0 11 cf e5 | 03 00 a0 e3 54 10 a0 e3 |........|....T...|
|00000b60| 06 00 02 ef 93 11 cf e5 | a5 00 a0 e3 06 00 02 ef |........|........|
|00000b70| 85 11 cf e5 82 21 cf e5 | da 00 a0 e3 00 10 a0 e3 |.....!..|........|
|00000b80| 00 20 a0 e3 06 00 02 ef | 00 00 a0 e3 10 10 a0 e3 |. ......|........|
|00000b90| 2f 00 02 ef 1c 21 8f e5 | 1c 31 8f e5 01 00 a0 e3 |/....!..|.1......|
|00000ba0| 2f 00 02 ef 14 21 8f e5 | 14 31 8f e5 d0 00 8f e2 |/....!..|.1......|
|00000bb0| 11 1e 8f e2 31 00 02 ef | 2c 01 9f e5 40 01 cf e5 |....1...|,...@...|
|00000bc0| 28 01 9f e5 37 01 cf e5 | 03 00 a0 e3 59 10 8f e2 |(...7...|....Y...|
|00000bd0| 1e 00 02 ef 05 00 00 7a | 00 00 90 e5 04 00 40 e2 |.......z|......@.|
|00000be0| ff 00 50 e3 01 00 00 1a | 3c 00 cf e5 01 00 00 ea |..P.....|<.......|
|00000bf0| 00 00 a0 e3 30 00 cf e5 | 01 00 a0 e3 f0 30 9f e5 |....0...|.....0..|
|00000c00| 03 10 a0 e1 41 00 02 ef | 00 20 a0 23 e4 20 8f e5 |....A...|. .#. ..|
|00000c10| 09 00 00 2a bc 10 9f e5 | f0 0f b1 e8 f0 0f a2 e8 |...*....|........|
|00000c20| 20 30 53 e2 fb ff ff 8a | 03 00 00 ea 00 57 69 6e | 0S.....|.....Win|
|00000c30| 64 6f 77 4d 61 6e 61 67 | 65 72 00 2c bc 00 8f e2 |dowManag|er.,....|
|00000c40| d1 10 8f e2 00 10 41 e0 | 46 00 00 ef 01 00 00 ef |......A.|F.......|
|00000c50| 0d 0a 2a 00 e2 0f 4f e2 | fe 10 a0 e3 20 20 a0 e3 |..*...O.|.... ..|
|00000c60| ff 30 a0 e3 0e 00 02 ef | 86 00 00 2a 88 00 00 6a |.0......|...*...j|
|00000c70| 00 00 51 e3 2e 00 00 0a | 05 00 02 ef 84 00 00 6a |..Q.....|.......j|
|00000c80| f1 ff ff ea 84 00 00 00 | 85 00 00 00 86 00 00 00 |........|........|
|00000c90| 87 00 00 00 95 00 00 00 | 9b 00 00 00 9c 00 00 00 |........|........|
|00000ca0| 9f 00 00 00 a0 00 00 00 | 01 00 00 00 02 00 00 00 |........|........|
|00000cb0| 07 00 00 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 06 1c 00 00 00 00 13 00 | 04 00 00 00 13 01 07 00 |........|........|
|00000d10| 00 00 0e 04 11 01 11 80 | 0c 53 57 49 01 40 2d e9 |........|.SWI.@-.|
|00000d20| 08 00 a0 e3 00 01 00 ef | 01 00 50 e2 fc ff ff 1a |........|..P.....|
|00000d30| 01 80 bd e8 84 30 4f e2 | 04 10 a0 e3 0c 20 a0 e3 |.....0O.|..... ..|
|00000d40| 13 01 00 ef a2 01 a0 e1 | 00 00 00 ef 02 00 83 e0 |........|........|
|00000d50| 46 00 00 ef 04 20 52 e2 | f8 ff ff 5a 04 20 a0 e3 |F.... R.|...Z. ..|
|00000d60| 84 30 4f e2 17 01 00 ef | 11 01 00 ef 22 01 a0 e1 |.0O.....|...."...|
|00000d70| 00 00 00 ef 02 00 93 e7 | 00 00 00 ef e6 ff ff eb |........|........|
|00000d80| 04 20 52 e2 f6 ff ff 5a | b4 00 5f e5 11 01 00 ef |. R....Z|.._.....|
|00000d90| 00 00 00 ef bc 00 5f e5 | 80 00 80 e2 11 01 00 ef |......_.|........|
|00000da0| 00 00 00 ef 1c 01 00 ef | e8 10 4f e2 04 20 a0 e3 |........|..O.. ..|
|00000db0| 04 00 d1 e4 00 00 00 ef | 01 20 52 e2 fb ff ff 1a |........|. R.....|
|00000dc0| 1f 01 00 ef cf 00 5f e5 | 00 00 00 ef d6 00 5f e5 |......_.|......_.|
|00000dd0| 00 00 00 ef e0 30 5f e5 | 01 00 13 e3 02 01 00 1f |.....0_.|........|
|00000de0| 04 00 13 e3 0f 01 00 0f | 20 00 13 e3 05 01 00 1f |........| .......|
|00000df0| 80 00 13 e3 15 01 00 1f | 01 11 5f e5 03 00 a0 e3 |........|.._.....|
|00000e00| 06 00 00 ef 14 11 1f e5 | 00 00 51 e3 07 00 00 0a |........|..Q.....|
|00000e10| 40 21 1f e5 28 31 1f e5 | f0 0f b1 e8 f0 0f a2 e8 |@!..(1..|........|
|00000e20| 20 30 53 e2 fb ff ff 8a | 00 00 a0 e3 41 00 00 ef | 0S.....|....A...|
|00000e30| 0c 12 5f e5 00 00 51 e3 | 05 00 00 0a 00 00 e0 e3 |.._...Q.|........|
|00000e40| 00 10 a0 e3 00 20 a0 e3 | 09 3c a0 e3 07 4c a0 e3 |..... ..|.<...L..|
|00000e50| d1 00 06 ef 0f 00 a0 e1 | 02 03 80 e3 00 f0 30 e3 |........|......0.|
|00000e60| 9c 05 5f e5 80 00 40 e2 | a4 05 4f e5 3a ee 4f e2 |.._...@.|..O.:.O.|
|00000e70| ff 7f de e8 3c e0 9e e5 | 0e f0 b0 e1 11 00 00 00 |....<...|........|
|00000e80| 45 73 63 61 70 65 00 32 | 7c 00 a0 e3 06 00 02 ef |Escape.2||.......|
|00000e90| 1c 00 4f e2 04 00 80 e2 | 03 00 00 ef 02 00 00 ef |..O.....|........|
|00000ea0| 69 ff ff ea 46 69 6c 65 | 44 61 74 61 82 49 6e 74 |i...File|Data.Int|
|00000eb0| 53 72 63 00 fe ff ff ff | 01 35 00 00 41 fb ff ff |Src.....|.5..A...|
|00000ec0| 36 93 04 ad 03 00 94 4d | 0d 00 0a 10 f4 20 20 3e |6......M|..... >|
|00000ed0| 24 2e 49 6e 74 53 72 63 | 0d 00 14 19 f4 20 20 41 |$.IntSrc|..... A|
|00000ee0| 75 74 68 6f 72 20 53 74 | 65 76 65 20 48 6f 61 72 |uthor St|eve Hoar|
|00000ef0| 65 0d 00 1e 12 f4 20 20 | 32 31 20 4d 61 79 20 31 |e..... |21 May 1|
|00000f00| 39 38 39 0d 00 28 2d f4 | 20 20 53 6f 75 72 63 65 |989..(-.| Source|
|00000f10| 20 63 6f 64 65 20 66 6f | 72 20 49 6e 74 65 72 72 | code fo|r Interr|
|00000f20| 75 70 74 20 6d 6f 64 75 | 6c 65 20 56 31 2e 31 30 |upt modu|le V1.10|
|00000f30| 0d 00 32 04 0d 00 3c 11 | de 20 53 70 61 63 65 20 |..2...<.|. Space |
|00000f40| 26 31 30 30 30 0d 00 46 | 12 e3 20 49 25 3d 34 20 |&1000..F|.. I%=4 |
|00000f50| b8 20 37 20 88 20 33 0d | 00 50 11 50 25 3d 30 3a |. 7 . 3.|.P.P%=0:|
|00000f60| 4f 25 3d 53 70 61 63 65 | 0d 00 5a 0b 5b 4f 50 54 |O%=Space|..Z.[OPT|
|00000f70| 20 49 25 0d 00 64 19 20 | 20 20 45 51 55 44 20 30 | I%..d. | EQUD 0|
|00000f80| 3b 20 20 20 20 20 20 53 | 74 61 72 74 0d 00 6e 10 |; S|tart..n.|
|00000f90| 20 20 20 45 51 55 44 20 | 49 6e 69 74 0d 00 78 11 | EQUD |Init..x.|
|00000fa0| 20 20 20 45 51 55 44 20 | 46 69 6e 61 6c 0d 00 82 | EQUD |Final...|
|00000fb0| 13 20 20 20 45 51 55 44 | 20 53 65 72 76 69 63 65 |. EQUD| Service|
|00000fc0| 0d 00 8c 11 20 20 20 45 | 51 55 44 20 54 69 74 6c |.... E|QUD Titl|
|00000fd0| 65 0d 00 96 10 20 20 20 | 45 51 55 44 20 48 65 6c |e.... |EQUD Hel|
|00000fe0| 70 0d 00 a0 11 20 20 20 | 45 51 55 44 20 54 61 62 |p.... |EQUD Tab|
|00000ff0| 6c 65 0d 00 aa 2a 20 20 | 20 45 51 55 44 20 30 3b |le...* | EQUD 0;|
|00001000| 20 20 20 20 20 20 53 57 | 49 20 73 74 75 66 66 20 | SW|I stuff |
|00001010| 28 6e 6f 74 20 6e 65 65 | 64 65 64 29 0d 00 b4 1d |(not nee|ded)....|
|00001020| 20 20 20 45 51 55 44 20 | 30 3b 20 20 20 20 20 20 | EQUD |0; |
|00001030| 53 57 49 20 73 74 75 66 | 66 0d 00 be 1d 20 20 20 |SWI stuf|f.... |
|00001040| 45 51 55 44 20 30 3b 20 | 20 20 20 20 20 53 57 49 |EQUD 0; | SWI|
|00001050| 20 73 74 75 66 66 0d 00 | c8 1d 20 20 20 45 51 55 | stuff..|.. EQU|
|00001060| 44 20 30 3b 20 20 20 20 | 20 20 53 57 49 20 73 74 |D 0; | SWI st|
|00001070| 75 66 66 0d 00 d2 09 2e | 48 65 6c 70 0d 00 dc 3d |uff.....|Help...=|
|00001080| 20 20 20 45 51 55 53 20 | 22 50 72 6f 67 20 69 6e | EQUS |"Prog in|
|00001090| 74 65 72 72 75 70 74 22 | 3a 45 51 55 42 20 39 3a |terrupt"|:EQUB 9:|
|000010a0| 45 51 55 53 20 22 31 2e | 31 30 20 28 32 31 20 4d |EQUS "1.|10 (21 M|
|000010b0| 61 79 20 31 39 38 39 29 | 22 0d 00 e6 0d 20 20 20 |ay 1989)|".... |
|000010c0| 45 51 55 42 20 30 0d 00 | f0 0a 2e 54 69 74 6c 65 |EQUB 0..|...Title|
|000010d0| 0d 00 fa 17 20 20 20 45 | 51 55 53 20 22 49 6e 74 |.... E|QUS "Int|
|000010e0| 4d 6f 64 75 6c 65 22 0d | 01 04 0d 20 20 20 45 51 |Module".|... EQ|
|000010f0| 55 42 20 30 0d 01 0e 0c | 20 20 20 41 4c 49 47 4e |UB 0....| ALIGN|
|00001100| 0d 01 18 0a 2e 54 61 62 | 6c 65 0d 01 22 17 20 20 |.....Tab|le..". |
|00001110| 20 45 51 55 53 20 22 49 | 6e 74 65 72 72 75 70 74 | EQUS "I|nterrupt|
|00001120| 22 0d 01 2c 0d 20 20 20 | 45 51 55 42 20 30 0d 01 |"..,. |EQUB 0..|
|00001130| 36 0c 20 20 20 41 4c 49 | 47 4e 0d 01 40 15 20 20 |6. ALI|GN..@. |
|00001140| 20 45 51 55 44 20 49 6e | 74 65 72 72 75 70 74 0d | EQUD In|terrupt.|
|00001150| 01 4a 4e 20 20 20 45 51 | 55 44 20 26 46 46 30 30 |.JN EQ|UD &FF00|
|00001160| 30 31 20 20 20 20 20 20 | 20 20 20 3b 20 20 61 74 |01 | ; at|
|00001170| 20 6c 65 61 73 74 20 31 | 20 70 61 72 61 6d 65 74 | least 1| paramet|
|00001180| 65 72 2c 20 6e 6f 20 6d | 61 78 69 6d 75 6d 2c 20 |er, no m|aximum, |
|00001190| 6e 6f 74 20 47 53 54 72 | 61 6e 73 65 64 0d 01 54 |not GSTr|ansed..T|
|000011a0| 18 20 20 20 45 51 55 44 | 20 49 6e 74 65 72 72 75 |. EQUD| Interru|
|000011b0| 70 74 53 79 6e 0d 01 5e | 19 20 20 20 45 51 55 44 |ptSyn..^|. EQUD|
|000011c0| 20 49 6e 74 65 72 72 75 | 70 74 48 65 6c 70 0d 01 | Interru|ptHelp..|
|000011d0| 68 14 20 20 20 45 51 55 | 53 20 22 46 72 65 65 7a |h. EQU|S "Freez|
|000011e0| 65 22 0d 01 72 0d 20 20 | 20 45 51 55 42 20 30 0d |e"..r. | EQUB 0.|
|000011f0| 01 7c 0c 20 20 20 41 4c | 49 47 4e 0d 01 86 12 20 |.|. AL|IGN.... |
|00001200| 20 20 45 51 55 44 20 46 | 72 65 65 7a 65 0d 01 90 | EQUD F|reeze...|
|00001210| 0d 20 20 20 45 51 55 44 | 20 30 0d 01 9a 15 20 20 |. EQUD| 0.... |
|00001220| 20 45 51 55 44 20 46 72 | 65 65 7a 65 53 79 6e 0d | EQUD Fr|eezeSyn.|
|00001230| 01 a4 16 20 20 20 45 51 | 55 44 20 46 72 65 65 7a |... EQ|UD Freez|
|00001240| 65 48 65 6c 70 0d 01 ae | 30 20 20 20 45 51 55 44 |eHelp...|0 EQUD|
|00001250| 20 30 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | 0; | |
|00001260| 20 45 6e 64 20 6f 66 20 | 63 6f 6d 6d 61 6e 64 20 | End of |command |
|00001270| 74 61 62 6c 65 0d 01 b8 | 04 0d 01 c2 12 2e 49 6e |table...|......In|
|00001280| 74 65 72 72 75 70 74 48 | 65 6c 70 0d 01 cc 7d 20 |terruptH|elp...} |
|00001290| 20 20 45 51 55 53 20 22 | 2a 49 6e 74 65 72 72 75 | EQUS "|*Interru|
|000012a0| 70 74 20 73 65 74 73 20 | 75 70 20 61 20 72 6f 75 |pt sets |up a rou|
|000012b0| 74 69 6e 65 20 74 6f 20 | 73 74 6f 70 20 61 6e 20 |tine to |stop an |
|000012c0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 69 74 68 |applicat|ion with|
|000012d0| 20 61 20 6b 65 79 20 70 | 72 65 73 73 20 61 6e 64 | a key p|ress and|
|000012e0| 20 70 65 72 66 6f 72 6d | 20 61 20 73 70 65 63 69 | perform| a speci|
|000012f0| 66 69 65 64 20 2a 63 6f | 6d 6d 61 6e 64 22 3a 45 |fied *co|mmand":E|
|00001300| 51 55 57 20 26 44 30 41 | 0d 01 d6 5d 20 20 20 45 |QUW &D0A|...] E|
|00001310| 51 55 53 20 22 49 66 20 | 6e 6f 20 63 6f 6d 6d 61 |QUS "If |no comma|
|00001320| 6e 64 20 69 73 20 67 69 | 76 65 6e 20 2a 63 6f 6d |nd is gi|ven *com|
|00001330| 6d 61 6e 64 73 20 63 61 | 6e 20 62 65 20 74 79 70 |mands ca|n be typ|
|00001340| 65 64 20 64 75 72 69 6e | 67 20 74 68 65 20 69 6e |ed durin|g the in|
|00001350| 74 65 72 72 75 70 74 69 | 6f 6e 22 3a 45 51 55 57 |terrupti|on":EQUW|
|00001360| 20 26 44 30 41 0d 01 e0 | 61 20 20 20 45 51 55 53 | &D0A...|a EQUS|
|00001370| 20 22 2a 49 6e 74 65 72 | 72 75 70 74 20 3c 6b 65 | "*Inter|rupt <ke|
|00001380| 79 3e 20 46 72 65 65 7a | 65 20 2d 20 77 61 69 74 |y> Freez|e - wait|
|00001390| 73 20 75 6e 74 69 6c 20 | 74 68 65 20 73 70 61 63 |s until |the spac|
|000013a0| 65 20 62 61 72 20 69 73 | 20 70 72 65 73 73 65 64 |e bar is| pressed|
|000013b0| 20 26 20 72 65 6c 65 61 | 73 65 64 22 3a 45 51 55 | & relea|sed":EQU|
|000013c0| 57 20 26 44 30 41 0d 01 | ea 44 20 20 20 45 51 55 |W &D0A..|.D EQU|
|000013d0| 53 20 22 2a 49 6e 74 65 | 72 72 75 70 74 20 2d 31 |S "*Inte|rrupt -1|
|000013e0| 20 64 69 73 61 62 6c 65 | 73 20 74 68 65 20 69 6e | disable|s the in|
|000013f0| 74 65 72 72 75 70 74 20 | 72 6f 75 74 69 6e 65 22 |terrupt |routine"|
|00001400| 3a 45 51 55 57 20 26 44 | 30 41 0d 01 f4 11 2e 49 |:EQUW &D|0A.....I|
|00001410| 6e 74 65 72 72 75 70 74 | 53 79 6e 0d 01 fe 3a 20 |nterrupt|Syn...: |
|00001420| 20 20 45 51 55 53 20 22 | 53 79 6e 74 61 78 3a 20 | EQUS "|Syntax: |
|00001430| 2a 49 6e 74 65 72 72 75 | 70 74 20 3c 41 53 43 49 |*Interru|pt <ASCI|
|00001440| 49 20 63 6f 64 65 3e 20 | 5b 3c 2a 63 6f 6d 6d 61 |I code> |[<*comma|
|00001450| 6e 64 3e 5d 22 0d 02 08 | 0d 20 20 20 45 51 55 42 |nd>]"...|. EQUB|
|00001460| 20 30 0d 02 12 0c 20 20 | 20 41 4c 49 47 4e 0d 02 | 0.... | ALIGN..|
|00001470| 1c 04 0d 02 26 0f 2e 46 | 72 65 65 7a 65 48 65 6c |....&..F|reezeHel|
|00001480| 70 0d 02 30 5b 20 20 20 | 45 51 55 53 20 22 2a 46 |p..0[ |EQUS "*F|
|00001490| 72 65 65 7a 65 20 73 74 | 6f 70 73 20 70 72 6f 63 |reeze st|ops proc|
|000014a0| 65 73 73 69 6e 67 20 75 | 6e 74 69 6c 20 74 68 65 |essing u|ntil the|
|000014b0| 20 73 70 61 63 65 62 61 | 72 20 69 73 20 70 72 65 | spaceba|r is pre|
|000014c0| 73 73 65 64 20 61 6e 64 | 20 72 65 6c 65 61 73 65 |ssed and| release|
|000014d0| 64 22 3a 45 51 55 57 20 | 26 44 30 41 0d 02 3a 0e |d":EQUW |&D0A..:.|
|000014e0| 2e 46 72 65 65 7a 65 53 | 79 6e 0d 02 44 24 20 20 |.FreezeS|yn..D$ |
|000014f0| 20 45 51 55 53 20 22 53 | 79 6e 74 61 78 3a 20 2a | EQUS "S|yntax: *|
|00001500| 46 72 65 65 7a 65 22 3a | 45 51 55 42 20 30 0d 02 |Freeze":|EQUB 0..|
|00001510| 4e 0c 20 20 20 41 4c 49 | 47 4e 0d 02 58 04 0d 02 |N. ALI|GN..X...|
|00001520| 62 0b 2e 46 72 65 65 7a | 65 0d 02 6c 1d 20 20 20 |b..Freez|e..l. |
|00001530| 53 54 4d 46 44 20 52 31 | 33 21 2c 7b 52 30 2d 52 |STMFD R1|3!,{R0-R|
|00001540| 33 2c 52 31 34 7d 0d 02 | 76 12 20 20 20 4d 4f 56 |3,R14}..|v. MOV|
|00001550| 20 52 30 2c 23 31 32 39 | 0d 02 80 10 2e 46 72 65 | R0,#129|.....Fre|
|00001560| 65 7a 65 4c 6f 6f 70 31 | 0d 02 8a 11 20 20 20 4d |ezeLoop1|.... M|
|00001570| 56 4e 20 52 31 2c 23 39 | 38 0d 02 94 12 20 20 20 |VN R1,#9|8.... |
|00001580| 4d 4f 56 20 52 32 2c 23 | 32 35 35 0d 02 9e 14 20 |MOV R2,#|255.... |
|00001590| 20 20 53 57 49 20 22 4f | 53 5f 42 79 74 65 22 0d | SWI "O|S_Byte".|
|000015a0| 02 a8 12 20 20 20 43 4d | 50 20 52 31 2c 23 32 35 |... CM|P R1,#25|
|000015b0| 35 0d 02 b2 14 20 20 20 | 43 4d 50 45 51 20 52 32 |5.... |CMPEQ R2|
|000015c0| 2c 23 32 35 35 0d 02 bc | 16 20 20 20 42 4e 45 20 |,#255...|. BNE |
|000015d0| 46 72 65 65 7a 65 4c 6f | 6f 70 31 0d 02 c6 10 2e |FreezeLo|op1.....|
|000015e0| 46 72 65 65 7a 65 4c 6f | 6f 70 32 0d 02 d0 11 20 |FreezeLo|op2.... |
|000015f0| 20 20 4d 56 4e 20 52 31 | 2c 23 39 38 0d 02 da 12 | MVN R1|,#98....|
|00001600| 20 20 20 4d 4f 56 20 52 | 32 2c 23 32 35 35 0d 02 | MOV R|2,#255..|
|00001610| e4 14 20 20 20 53 57 49 | 20 22 4f 53 5f 42 79 74 |.. SWI| "OS_Byt|
|00001620| 65 22 0d 02 ee 12 20 20 | 20 43 4d 50 20 52 31 2c |e".... | CMP R1,|
|00001630| 23 32 35 35 0d 02 f8 14 | 20 20 20 43 4d 50 45 51 |#255....| CMPEQ|
|00001640| 20 52 32 2c 23 32 35 35 | 0d 03 02 16 20 20 20 42 | R2,#255|.... B|
|00001650| 45 51 20 46 72 65 65 7a | 65 4c 6f 6f 70 32 0d 03 |EQ Freez|eLoop2..|
|00001660| 0c 11 20 20 20 4d 4f 56 | 20 52 30 2c 23 32 31 0d |.. MOV| R0,#21.|
|00001670| 03 16 10 20 20 20 4d 4f | 56 20 52 31 2c 23 30 0d |... MO|V R1,#0.|
|00001680| 03 20 14 20 20 20 53 57 | 49 20 22 4f 53 5f 42 79 |. . SW|I "OS_By|
|00001690| 74 65 22 0d 03 2a 1c 20 | 20 20 4c 44 4d 46 44 20 |te"..*. | LDMFD |
|000016a0| 52 31 33 21 2c 7b 52 30 | 2d 52 33 2c 50 43 7d 0d |R13!,{R0|-R3,PC}.|
|000016b0| 03 34 04 0d 03 3e 0c 2e | 53 65 72 76 69 63 65 0d |.4...>..|Service.|
|000016c0| 03 48 2c 20 20 20 43 4d | 50 20 52 31 2c 23 26 32 |.H, CM|P R1,#&2|
|000016d0| 37 20 20 20 20 20 20 5c | 20 49 73 20 74 68 69 73 |7 \| Is this|
|000016e0| 20 70 6f 73 74 20 72 65 | 73 65 74 0d 03 52 27 20 | post re|set..R' |
|000016f0| 20 20 4d 4f 56 4e 45 20 | 50 43 2c 52 31 34 20 20 | MOVNE |PC,R14 |
|00001700| 20 20 20 5c 20 52 65 74 | 75 72 6e 20 69 66 20 6e | \ Ret|urn if n|
|00001710| 6f 74 0d 03 5c 1d 20 20 | 20 53 54 4d 46 44 20 52 |ot..\. | STMFD R|
|00001720| 31 33 21 2c 7b 52 30 2d | 52 32 2c 52 31 34 7d 0d |13!,{R0-|R2,R14}.|
|00001730| 03 66 15 20 20 20 4c 44 | 52 42 20 52 30 2c 41 63 |.f. LD|RB R0,Ac|
|00001740| 74 69 76 65 0d 03 70 12 | 20 20 20 43 4d 50 20 52 |tive..p.| CMP R|
|00001750| 30 2c 23 31 32 38 0d 03 | 7a 17 20 20 20 53 55 42 |0,#128..|z. SUB|
|00001760| 43 53 20 52 30 2c 52 30 | 2c 23 31 32 38 0d 03 84 |CS R0,R0|,#128...|
|00001770| 46 20 20 20 53 54 52 42 | 20 52 30 2c 41 63 74 69 |F STRB| R0,Acti|
|00001780| 76 65 20 20 5c 20 49 66 | 20 61 63 74 69 76 65 20 |ve \ If| active |
|00001790| 64 75 72 69 6e 67 20 72 | 65 73 65 74 20 74 68 65 |during r|eset the|
|000017a0| 6e 20 63 6c 65 61 72 20 | 61 63 74 69 76 65 20 66 |n clear |active f|
|000017b0| 6c 61 67 0d 03 8e 10 20 | 20 20 4d 4f 56 20 52 30 |lag.... | MOV R0|
|000017c0| 2c 23 30 0d 03 98 31 20 | 20 20 53 54 52 42 20 52 |,#0...1 | STRB R|
|000017d0| 30 2c 43 6c 61 69 6d 65 | 64 20 20 5c 20 52 65 73 |0,Claime|d \ Res|
|000017e0| 65 74 20 66 6c 61 67 73 | 20 74 6f 20 69 6e 64 69 |et flags| to indi|
|000017f0| 63 61 74 65 0d 03 a2 29 | 20 20 20 53 54 52 42 20 |cate...)| STRB |
|00001800| 52 30 2c 45 6e 61 62 6c | 65 64 20 20 5c 20 6c 6f |R0,Enabl|ed \ lo|
|00001810| 73 73 20 6f 66 20 63 6f | 6e 74 72 6f 6c 0d 03 ac |ss of co|ntrol...|
|00001820| 39 20 20 20 42 20 43 68 | 65 63 6b 53 74 61 74 65 |9 B Ch|eckState|
|00001830| 20 20 20 20 20 5c 20 52 | 65 63 6c 61 69 6d 20 76 | \ R|eclaim v|
|00001840| 65 63 74 6f 72 20 61 6e | 64 20 65 6e 61 62 6c 65 |ector an|d enable|
|00001850| 20 65 76 65 6e 74 0d 03 | b6 04 0d 03 c0 09 2e 49 | event..|.......I|
|00001860| 6e 69 74 0d 03 ca 1d 20 | 20 20 53 54 4d 46 44 20 |nit.... | STMFD |
|00001870| 52 31 33 21 2c 7b 52 30 | 2d 52 32 2c 52 31 34 7d |R13!,{R0|-R2,R14}|
|00001880| 0d 03 d4 16 20 20 20 4c | 44 52 42 20 52 30 2c 43 |.... L|DRB R0,C|
|00001890| 6c 61 69 6d 65 64 0d 03 | de 0f 2e 43 68 65 63 6b |laimed..|...Check|
|000018a0| 53 74 61 74 65 0d 03 e8 | 12 20 20 20 43 4d 50 20 |State...|. CMP |
|000018b0| 52 30 2c 23 32 35 35 0d | 03 f2 2f 20 20 20 42 45 |R0,#255.|../ BE|
|000018c0| 51 20 49 6e 69 74 31 20 | 20 20 20 20 20 20 5c 20 |Q Init1 | \ |
|000018d0| 56 65 63 74 6f 72 20 61 | 6c 72 65 61 64 79 20 63 |Vector a|lready c|
|000018e0| 6c 61 69 6d 65 64 0d 03 | fc 12 20 20 20 4d 4f 56 |laimed..|.. MOV|
|000018f0| 20 52 30 2c 23 32 35 35 | 0d 04 06 16 20 20 20 53 | R0,#255|.... S|
|00001900| 54 52 42 20 52 30 2c 43 | 6c 61 69 6d 65 64 0d 04 |TRB R0,C|laimed..|
|00001910| 10 20 20 20 20 4d 4f 56 | 20 52 30 2c 23 31 36 20 |. MOV| R0,#16 |
|00001920| 5c 20 45 76 65 6e 74 20 | 76 65 63 74 6f 72 0d 04 |\ Event |vector..|
|00001930| 1a 18 20 20 20 41 44 52 | 20 52 31 2c 45 76 65 6e |.. ADR| R1,Even|
|00001940| 74 45 6e 74 72 79 0d 04 | 24 10 20 20 20 4d 4f 56 |tEntry..|$. MOV|
|00001950| 20 52 32 2c 23 30 0d 04 | 2e 15 20 20 20 53 57 49 | R2,#0..|.. SWI|
|00001960| 20 22 4f 53 5f 43 6c 61 | 69 6d 22 0d 04 38 0a 2e | "OS_Cla|im"..8..|
|00001970| 49 6e 69 74 31 0d 04 42 | 16 20 20 20 4c 44 52 42 |Init1..B|. LDRB|
|00001980| 20 52 30 2c 45 6e 61 62 | 6c 65 64 0d 04 4c 12 20 | R0,Enab|led..L. |
|00001990| 20 20 43 4d 50 20 52 30 | 2c 23 32 35 35 0d 04 56 | CMP R0|,#255..V|
|000019a0| 30 20 20 20 4c 44 4d 45 | 51 46 44 20 52 31 33 21 |0 LDME|QFD R13!|
|000019b0| 2c 7b 50 43 7d 20 5c 20 | 45 76 65 6e 74 20 61 6c |,{PC} \ |Event al|
|000019c0| 72 65 61 64 79 20 65 6e | 61 62 6c 65 64 0d 04 60 |ready en|abled..`|
|000019d0| 12 20 20 20 4d 4f 56 20 | 52 30 2c 23 32 35 35 0d |. MOV |R0,#255.|
|000019e0| 04 6a 16 20 20 20 53 54 | 52 42 20 52 30 2c 45 6e |.j. ST|RB R0,En|
|000019f0| 61 62 6c 65 64 0d 04 74 | 20 20 20 20 4d 4f 56 20 |abled..t| MOV |
|00001a00| 52 30 2c 23 31 34 20 5c | 20 45 6e 61 62 6c 65 20 |R0,#14 \| Enable |
|00001a10| 65 76 65 6e 74 0d 04 7e | 28 20 20 20 4d 4f 56 20 |event..~|( MOV |
|00001a20| 52 31 2c 23 32 20 20 5c | 20 4b 65 79 62 6f 61 72 |R1,#2 \| Keyboar|
|00001a30| 64 20 69 6e 70 75 74 20 | 65 76 65 6e 74 0d 04 88 |d input |event...|
|00001a40| 14 20 20 20 53 57 49 20 | 22 4f 53 5f 42 79 74 65 |. SWI |"OS_Byte|
|00001a50| 22 0d 04 92 1c 20 20 20 | 4c 44 4d 46 44 20 52 31 |".... |LDMFD R1|
|00001a60| 33 21 2c 7b 52 30 2d 52 | 32 2c 50 43 7d 0d 04 9c |3!,{R0-R|2,PC}...|
|00001a70| 04 0d 04 a6 0a 2e 46 69 | 6e 61 6c 0d 04 b0 17 20 |......Fi|nal.... |
|00001a80| 20 20 53 54 4d 46 44 20 | 52 31 33 21 2c 7b 52 31 | STMFD |R13!,{R1|
|00001a90| 34 7d 0d 04 ba 16 20 20 | 20 4c 44 52 42 20 52 30 |4}.... | LDRB R0|
|00001aa0| 2c 45 6e 61 62 6c 65 64 | 0d 04 c4 12 20 20 20 43 |,Enabled|.... C|
|00001ab0| 4d 50 20 52 30 2c 23 32 | 35 35 0d 04 ce 26 20 20 |MP R0,#2|55...& |
|00001ac0| 20 42 4e 45 20 46 69 6e | 61 6c 31 20 20 20 5c 20 | BNE Fin|al1 \ |
|00001ad0| 41 6c 72 65 61 64 79 20 | 64 69 73 61 62 6c 65 64 |Already |disabled|
|00001ae0| 0d 04 d8 10 20 20 20 4d | 4f 56 20 52 30 2c 23 30 |.... M|OV R0,#0|
|00001af0| 0d 04 e2 16 20 20 20 53 | 54 52 42 20 52 30 2c 45 |.... S|TRB R0,E|
|00001b00| 6e 61 62 6c 65 64 0d 04 | ec 21 20 20 20 4d 4f 56 |nabled..|.! MOV|
|00001b10| 20 52 30 2c 23 31 33 20 | 5c 20 44 69 73 61 62 6c | R0,#13 |\ Disabl|
|00001b20| 65 20 65 76 65 6e 74 0d | 04 f6 28 20 20 20 4d 4f |e event.|..( MO|
|00001b30| 56 20 52 31 2c 23 32 20 | 20 5c 20 4b 65 79 62 6f |V R1,#2 | \ Keybo|
|00001b40| 61 72 64 20 69 6e 70 75 | 74 20 65 76 65 6e 74 0d |ard inpu|t event.|
|00001b50| 05 00 14 20 20 20 53 57 | 49 20 22 4f 53 5f 42 79 |... SW|I "OS_By|
|00001b60| 74 65 22 0d 05 0a 0b 2e | 46 69 6e 61 6c 31 0d 05 |te".....|Final1..|
|00001b70| 14 16 20 20 20 4c 44 52 | 42 20 52 30 2c 43 6c 61 |.. LDR|B R0,Cla|
|00001b80| 69 6d 65 64 0d 05 1e 12 | 20 20 20 43 4d 50 20 52 |imed....| CMP R|
|00001b90| 30 2c 23 32 35 35 0d 05 | 28 32 20 20 20 4c 44 4d |0,#255..|(2 LDM|
|00001ba0| 4e 45 46 44 20 52 31 33 | 21 2c 7b 50 43 7d 20 5c |NEFD R13|!,{PC} \|
|00001bb0| 20 56 65 63 74 6f 72 20 | 61 6c 72 65 61 64 79 20 | Vector |already |
|00001bc0| 72 65 6c 65 61 73 65 64 | 0d 05 32 10 20 20 20 4d |released|..2. M|
|00001bd0| 4f 56 20 52 30 2c 23 30 | 0d 05 3c 16 20 20 20 53 |OV R0,#0|..<. S|
|00001be0| 54 52 42 20 52 30 2c 43 | 6c 61 69 6d 65 64 0d 05 |TRB R0,C|laimed..|
|00001bf0| 46 20 20 20 20 4d 4f 56 | 20 52 30 2c 23 31 36 20 |F MOV| R0,#16 |
|00001c00| 5c 20 45 76 65 6e 74 20 | 76 65 63 74 6f 72 0d 05 |\ Event |vector..|
|00001c10| 50 18 20 20 20 41 44 52 | 20 52 31 2c 45 76 65 6e |P. ADR| R1,Even|
|00001c20| 74 45 6e 74 72 79 0d 05 | 5a 10 20 20 20 4d 4f 56 |tEntry..|Z. MOV|
|00001c30| 20 52 32 2c 23 30 0d 05 | 64 17 20 20 20 53 57 49 | R2,#0..|d. SWI|
|00001c40| 20 22 4f 53 5f 52 65 6c | 65 61 73 65 22 0d 05 6e | "OS_Rel|ease"..n|
|00001c50| 16 20 20 20 4c 44 4d 46 | 44 20 52 31 33 21 2c 7b |. LDMF|D R13!,{|
|00001c60| 50 43 7d 0d 05 78 04 0d | 05 82 0e 2e 49 6e 74 65 |PC}..x..|....Inte|
|00001c70| 72 72 75 70 74 0d 05 8c | 1d 20 20 20 53 54 4d 46 |rrupt...|. STMF|
|00001c80| 44 20 52 31 33 21 2c 7b | 52 30 2d 52 34 2c 52 31 |D R13!,{|R0-R4,R1|
|00001c90| 34 7d 0d 05 96 10 20 20 | 20 4d 4f 56 20 52 33 2c |4}.... | MOV R3,|
|00001ca0| 52 30 0d 05 a0 10 20 20 | 20 4d 4f 56 20 52 34 2c |R0.... | MOV R4,|
|00001cb0| 52 31 0d 05 aa 14 20 20 | 20 41 44 52 20 52 30 2c |R1.... | ADR R0,|
|00001cc0| 42 75 66 66 65 72 0d 05 | b4 09 2e 49 6e 74 31 0d |Buffer..|...Int1.|
|00001cd0| 05 be 31 20 20 20 4c 44 | 52 42 20 52 31 2c 5b 52 |..1 LD|RB R1,[R|
|00001ce0| 33 5d 2c 23 31 20 5c 20 | 47 65 74 20 6e 65 78 74 |3],#1 \ |Get next|
|00001cf0| 20 62 79 74 65 20 6f 66 | 20 63 6f 6d 6d 61 6e 64 | byte of| command|
|00001d00| 0d 05 c8 27 20 20 20 43 | 4d 50 20 52 31 2c 23 33 |...' C|MP R1,#3|
|00001d10| 32 20 20 20 20 20 20 5c | 20 49 73 20 69 74 20 61 |2 \| Is it a|
|00001d20| 20 73 70 61 63 65 3f 0d | 05 d2 29 20 20 20 ec 51 | space?.|..) .Q|
|00001d30| 20 52 31 2c 23 31 33 20 | 20 20 20 5c 20 49 66 20 | R1,#13 | \ If |
|00001d40| 73 6f 20 63 6f 6e 76 65 | 72 74 20 74 6f 20 43 52 |so conve|rt to CR|
|00001d50| 0d 05 dc 28 20 20 20 53 | 54 52 42 20 52 31 2c 5b |...( S|TRB R1,[|
|00001d60| 52 30 5d 2c 23 31 20 5c | 20 53 74 6f 72 65 20 69 |R0],#1 \| Store i|
|00001d70| 6e 20 62 75 66 66 65 72 | 0d 05 e6 11 20 20 20 43 |n buffer|.... C|
|00001d80| 4d 50 20 52 31 2c 23 31 | 33 0d 05 f0 34 20 20 20 |MP R1,#1|3...4 |
|00001d90| 42 4e 45 20 49 6e 74 31 | 20 20 20 20 20 20 20 20 |BNE Int1| |
|00001da0| 5c 20 4e 6f 74 20 61 74 | 20 65 6e 64 20 73 6f 20 |\ Not at| end so |
|00001db0| 67 65 74 20 6e 65 78 74 | 20 62 79 74 65 0d 05 fa |get next| byte...|
|00001dc0| 14 20 20 20 41 44 52 20 | 52 30 2c 42 75 66 66 65 |. ADR |R0,Buffe|
|00001dd0| 72 0d 06 04 16 20 20 20 | 41 44 52 20 52 31 2c 52 |r.... |ADR R1,R|
|00001de0| 65 67 53 74 6f 72 65 0d | 06 0e 11 20 20 20 4d 4f |egStore.|... MO|
|00001df0| 56 20 52 32 2c 23 36 33 | 0d 06 18 23 20 20 20 53 |V R2,#63|...# S|
|00001e00| 57 49 20 22 58 4f 53 5f | 45 76 61 6c 75 61 74 65 |WI "XOS_|Evaluate|
|00001e10| 45 78 70 72 65 73 73 69 | 6f 6e 22 0d 06 22 0f 20 |Expressi|on"..". |
|00001e20| 20 20 42 56 53 20 49 6e | 74 35 0d 06 2c 29 20 20 | BVS In|t5..,) |
|00001e30| 20 43 4d 50 20 52 31 2c | 23 30 20 20 20 20 20 20 | CMP R1,|#0 |
|00001e40| 5c 20 49 73 20 69 74 20 | 61 6e 20 69 6e 74 65 67 |\ Is it |an integ|
|00001e50| 65 72 3f 0d 06 36 27 20 | 20 20 42 45 51 20 49 6e |er?..6' | BEQ In|
|00001e60| 74 32 20 20 20 20 20 20 | 20 5c 20 59 65 73 20 73 |t2 | \ Yes s|
|00001e70| 6f 20 63 6f 6e 74 69 6e | 75 65 0d 06 40 09 2e 49 |o contin|ue..@..I|
|00001e80| 6e 74 33 0d 06 4a 15 20 | 20 20 41 44 52 20 52 30 |nt3..J. | ADR R0|
|00001e90| 2c 43 6f 64 65 45 72 72 | 0d 06 54 09 2e 49 6e 74 |,CodeErr|..T..Int|
|00001ea0| 35 0d 06 5e 19 20 20 20 | 4c 44 4d 46 44 20 52 31 |5..^. |LDMFD R1|
|00001eb0| 33 21 2c 7b 52 31 2d 52 | 35 7d 0d 06 68 0e 20 20 |3!,{R1-R|5}..h. |
|00001ec0| 20 42 20 45 72 72 6f 72 | 0d 06 72 09 2e 49 6e 74 | B Error|..r..Int|
|00001ed0| 32 0d 06 7c 12 20 20 20 | 43 4d 50 20 52 32 2c 23 |2..|. |CMP R2,#|
|00001ee0| 32 35 36 0d 06 86 28 20 | 20 20 42 43 43 20 49 6e |256...( | BCC In|
|00001ef0| 74 34 20 20 20 20 20 20 | 5c 20 56 61 6c 69 64 20 |t4 |\ Valid |
|00001f00| 63 6f 64 65 20 6e 75 6d | 62 65 72 0d 06 90 20 20 |code num|ber... |
|00001f10| 20 20 43 4d 4e 20 52 32 | 2c 23 31 20 20 20 20 20 | CMN R2|,#1 |
|00001f20| 5c 20 49 73 20 69 74 20 | 2d 31 3f 0d 06 9a 30 20 |\ Is it |-1?...0 |
|00001f30| 20 20 42 4e 45 20 49 6e | 74 33 20 20 20 20 20 20 | BNE In|t3 |
|00001f40| 5c 20 4e 6f 20 73 6f 20 | 6e 6f 74 20 76 61 6c 69 |\ No so |not vali|
|00001f50| 64 20 70 61 72 61 6d 65 | 74 65 72 0d 06 a4 15 20 |d parame|ter.... |
|00001f60| 20 20 4c 44 52 42 20 52 | 31 2c 41 63 74 69 76 65 | LDRB R|1,Active|
|00001f70| 0d 06 ae 10 20 20 20 4d | 4f 56 20 52 30 2c 23 30 |.... M|OV R0,#0|
|00001f80| 0d 06 b8 12 20 20 20 43 | 4d 50 20 52 31 2c 23 31 |.... C|MP R1,#1|
|00001f90| 32 38 0d 06 c2 14 20 20 | 20 4d 4f 56 43 53 20 52 |28.... | MOVCS R|
|00001fa0| 30 2c 23 31 32 38 0d 06 | cc 2e 20 20 20 53 54 52 |0,#128..|.. STR|
|00001fb0| 42 20 52 30 2c 41 63 74 | 69 76 65 20 20 5c 20 43 |B R0,Act|ive \ C|
|00001fc0| 6c 65 61 72 20 74 68 65 | 20 61 63 74 69 76 65 20 |lear the| active |
|00001fd0| 66 6c 61 67 0d 06 d6 1c | 20 20 20 4c 44 4d 46 44 |flag....| LDMFD|
|00001fe0| 20 52 31 33 21 2c 7b 52 | 30 2d 52 34 2c 50 43 7d | R13!,{R|0-R4,PC}|
|00001ff0| 0d 06 e0 09 2e 49 6e 74 | 34 0d 06 ea 12 20 20 20 |.....Int|4.... |
|00002000| 41 44 52 20 52 31 2c 43 | 6f 64 65 0d 06 f4 32 20 |ADR R1,C|ode...2 |
|00002010| 20 20 53 54 52 42 20 52 | 32 2c 5b 52 31 5d 20 20 | STRB R|2,[R1] |
|00002020| 20 5c 20 53 74 6f 72 65 | 20 74 68 65 20 6b 65 79 | \ Store| the key|
|00002030| 63 6f 64 65 20 72 65 71 | 75 69 72 65 64 0d 06 fe |code req|uired...|
|00002040| 15 20 20 20 4c 44 52 42 | 20 52 31 2c 41 63 74 69 |. LDRB| R1,Acti|
|00002050| 76 65 0d 07 08 13 20 20 | 20 80 20 52 31 2c 52 31 |ve.... | . R1,R1|
|00002060| 2c 23 31 32 38 0d 07 12 | 13 20 20 20 41 44 44 20 |,#128...|. ADD |
|00002070| 52 31 2c 52 31 2c 23 31 | 0d 07 1c 2b 20 20 20 43 |R1,R1,#1|...+ C|
|00002080| 4d 50 20 52 34 2c 23 31 | 20 20 20 20 20 20 5c 20 |MP R4,#1| \ |
|00002090| 4f 6e 6c 79 20 6f 6e 65 | 20 70 61 72 61 6d 65 74 |Only one| paramet|
|000020a0| 65 72 3f 0d 07 26 15 20 | 20 20 41 44 44 4e 45 20 |er?..&. | ADDNE |
|000020b0| 52 31 2c 52 31 2c 23 31 | 0d 07 30 15 20 20 20 53 |R1,R1,#1|..0. S|
|000020c0| 54 52 42 20 52 31 2c 41 | 63 74 69 76 65 0d 07 3a |TRB R1,A|ctive..:|
|000020d0| 3b 20 20 20 4c 44 4d 45 | 51 46 44 20 52 31 33 21 |; LDME|QFD R13!|
|000020e0| 2c 7b 52 30 2d 52 34 2c | 50 43 7d 20 5c 20 49 66 |,{R0-R4,|PC} \ If|
|000020f0| 20 6e 6f 20 6f 74 68 65 | 72 20 70 61 72 61 6d 20 | no othe|r param |
|00002100| 74 68 65 6e 20 65 6e 64 | 0d 07 44 10 20 20 20 4d |then end|..D. M|
|00002110| 4f 56 20 52 30 2c 52 33 | 0d 07 4e 15 20 20 20 41 |OV R0,R3|..N. A|
|00002120| 44 52 20 52 31 2c 43 6f | 6d 6d 61 6e 64 0d 07 58 |DR R1,Co|mmand..X|
|00002130| 0d 2e 43 6f 6d 4d 6f 76 | 65 31 0d 07 62 16 20 20 |..ComMov|e1..b. |
|00002140| 20 4c 44 52 42 20 52 32 | 2c 5b 52 30 5d 2c 23 31 | LDRB R2|,[R0],#1|
|00002150| 0d 07 6c 16 20 20 20 53 | 54 52 42 20 52 32 2c 5b |..l. S|TRB R2,[|
|00002160| 52 31 5d 2c 23 31 0d 07 | 76 11 20 20 20 43 4d 50 |R1],#1..|v. CMP|
|00002170| 20 52 32 2c 23 31 33 0d | 07 80 13 20 20 20 42 4e | R2,#13.|... BN|
|00002180| 45 20 43 6f 6d 4d 6f 76 | 65 31 0d 07 8a 1c 20 20 |E ComMov|e1.... |
|00002190| 20 4c 44 4d 46 44 20 52 | 31 33 21 2c 7b 52 30 2d | LDMFD R|13!,{R0-|
|000021a0| 52 34 2c 50 43 7d 0d 07 | 94 04 0d 07 9e 0c 2e 43 |R4,PC}..|.......C|
|000021b0| 6f 64 65 45 72 72 0d 07 | a8 11 20 20 20 45 51 55 |odeErr..|.. EQU|
|000021c0| 44 20 36 37 37 34 35 0d | 07 b2 23 20 20 20 45 51 |D 67745.|..# EQ|
|000021d0| 55 53 20 22 42 61 64 20 | 6b 65 79 63 6f 64 65 20 |US "Bad |keycode |
|000021e0| 70 61 72 61 6d 65 74 65 | 72 22 0d 07 bc 0d 20 20 |paramete|r".... |
|000021f0| 20 45 51 55 42 20 30 0d | 07 c6 0c 20 20 20 41 4c | EQUB 0.|... AL|
|00002200| 49 47 4e 0d 07 d0 04 0d | 07 da 0a 2e 45 72 72 6f |IGN.....|....Erro|
|00002210| 72 0d 07 e4 10 20 20 20 | 4d 4f 56 20 52 31 2c 50 |r.... |MOV R1,P|
|00002220| 43 0d 07 ee 29 20 20 20 | 84 52 20 52 31 2c 52 31 |C...) |.R R1,R1|
|00002230| 2c 23 31 3c 3c 32 38 20 | 5c 20 53 65 74 20 22 56 |,#1<<28 |\ Set "V|
|00002240| 22 20 66 6c 61 67 20 62 | 69 74 0d 07 f8 11 20 20 |" flag b|it.... |
|00002250| 20 54 45 51 50 20 52 31 | 2c 23 30 0d 08 02 16 20 | TEQP R1|,#0.... |
|00002260| 20 20 4c 44 4d 46 44 20 | 52 31 33 21 2c 7b 50 43 | LDMFD |R13!,{PC|
|00002270| 7d 0d 08 0c 04 0d 08 16 | 0c 2e 43 6c 61 69 6d 65 |}.......|..Claime|
|00002280| 64 0d 08 20 3f 20 20 20 | 45 51 55 42 20 30 20 5c |d.. ? |EQUB 0 \|
|00002290| 20 73 65 74 20 74 6f 20 | 32 35 35 20 77 68 65 6e | set to |255 when|
|000022a0| 20 6d 6f 64 75 6c 65 20 | 68 61 73 20 63 6c 61 69 | module |has clai|
|000022b0| 6d 65 64 20 65 76 65 6e | 74 20 76 65 63 74 6f 72 |med even|t vector|
|000022c0| 0d 08 2a 0c 2e 45 6e 61 | 62 6c 65 64 0d 08 34 38 |..*..Ena|bled..48|
|000022d0| 20 20 20 45 51 55 42 20 | 30 20 5c 20 73 65 74 20 | EQUB |0 \ set |
|000022e0| 74 6f 20 32 35 35 20 77 | 68 65 6e 20 6d 6f 64 75 |to 255 w|hen modu|
|000022f0| 6c 65 20 68 61 73 20 65 | 6e 61 62 6c 65 64 20 65 |le has e|nabled e|
|00002300| 76 65 6e 74 0d 08 3e 0d | 2e 4e 75 6c 6c 43 6f 64 |vent..>.|.NullCod|
|00002310| 65 0d 08 48 46 20 20 20 | 45 51 55 42 20 30 20 5c |e..HF |EQUB 0 \|
|00002320| 20 73 65 74 20 74 6f 20 | 32 35 35 20 77 68 65 6e | set to |255 when|
|00002330| 20 66 69 72 73 74 20 6e | 75 6c 6c 20 6f 66 20 74 | first n|ull of t|
|00002340| 77 6f 20 70 61 72 74 20 | 20 6e 75 6c 6c 20 72 65 |wo part | null re|
|00002350| 63 65 69 76 65 64 2e 0d | 08 52 0c 20 20 20 41 4c |ceived..|.R. AL|
|00002360| 49 47 4e 0d 08 5c 04 0d | 08 66 0f 2e 45 76 65 6e |IGN..\..|.f..Even|
|00002370| 74 45 6e 74 72 79 0d 08 | 70 1a 20 20 20 53 54 4d |tEntry..|p. STM|
|00002380| 46 44 20 52 31 33 21 2c | 7b 52 37 2c 52 31 34 7d |FD R13!,|{R7,R14}|
|00002390| 0d 08 7a 10 20 20 20 4d | 4f 56 20 52 37 2c 23 30 |..z. M|OV R7,#0|
|000023a0| 0d 08 84 10 20 20 20 43 | 4d 50 20 52 32 2c 23 30 |.... C|MP R2,#0|
|000023b0| 0d 08 8e 4c 20 20 20 53 | 54 52 4e 45 42 20 52 37 |...L S|TRNEB R7|
|000023c0| 2c 4e 75 6c 6c 43 6f 64 | 65 20 20 20 20 5c 20 49 |,NullCod|e \ I|
|000023d0| 66 20 63 6f 64 65 20 69 | 73 20 6e 6f 74 20 7a 65 |f code i|s not ze|
|000023e0| 72 6f 20 74 68 65 6e 20 | 63 6c 65 61 72 20 6e 75 |ro then |clear nu|
|000023f0| 6c 6c 20 63 6f 64 65 20 | 66 6c 61 67 0d 08 98 13 |ll code |flag....|
|00002400| 20 20 20 4c 44 52 42 20 | 52 37 2c 43 6f 64 65 0d | LDRB |R7,Code.|
|00002410| 08 a2 10 20 20 20 43 4d | 50 20 52 37 2c 52 32 0d |... CM|P R7,R2.|
|00002420| 08 ac 34 20 20 20 4c 44 | 4d 4e 45 46 44 20 52 31 |..4 LD|MNEFD R1|
|00002430| 33 21 2c 7b 52 37 2c 50 | 43 7d 20 5c 20 4e 6f 74 |3!,{R7,P|C} \ Not|
|00002440| 20 6f 75 72 20 6b 65 79 | 20 73 6f 20 70 61 73 73 | our key| so pass|
|00002450| 20 6f 6e 0d 08 b6 15 20 | 20 20 4c 44 52 42 20 52 | on.... | LDRB R|
|00002460| 37 2c 41 63 74 69 76 65 | 0d 08 c0 2e 20 20 20 43 |7,Active|.... C|
|00002470| 4d 50 20 52 37 2c 23 31 | 20 20 20 20 20 20 20 20 |MP R7,#1| |
|00002480| 20 20 20 5c 20 41 72 65 | 20 77 65 20 61 63 74 69 | \ Are| we acti|
|00002490| 76 65 20 61 6e 64 0d 08 | ca 2e 20 20 20 43 4d 50 |ve and..|.. CMP|
|000024a0| 4e 45 20 52 37 2c 23 32 | 20 20 20 20 20 20 20 20 |NE R7,#2| |
|000024b0| 20 5c 20 6e 6f 74 20 62 | 75 73 79 20 61 6c 72 65 | \ not b|usy alre|
|000024c0| 61 64 79 3f 0d 08 d4 2c | 20 20 20 4c 44 4d 4e 45 |ady?...,| LDMNE|
|000024d0| 46 44 20 52 31 33 21 2c | 7b 52 37 2c 50 43 7d 20 |FD R13!,|{R7,PC} |
|000024e0| 5c 20 4e 6f 2c 20 73 6f | 20 70 61 73 73 20 6f 6e |\ No, so| pass on|
|000024f0| 0d 08 de 1f 20 20 20 53 | 54 4d 46 44 20 52 31 33 |.... S|TMFD R13|
|00002500| 21 2c 7b 52 30 2d 52 32 | 2c 52 35 2c 52 36 7d 0d |!,{R0-R2|,R5,R6}.|
|00002510| 08 e8 10 20 20 20 4d 4f | 56 20 52 36 2c 50 43 0d |... MO|V R6,PC.|
|00002520| 08 f2 12 20 20 20 84 52 | 20 52 37 2c 52 36 2c 23 |... .R| R7,R6,#|
|00002530| 33 0d 08 fc 23 20 20 20 | 54 45 51 50 20 52 37 2c |3...# |TEQP R7,|
|00002540| 23 30 20 20 5c 20 45 6e | 74 65 72 20 53 56 43 20 |#0 \ En|ter SVC |
|00002550| 6d 6f 64 65 0d 09 06 12 | 20 20 20 4d 4f 56 4e 56 |mode....| MOVNV|
|00002560| 20 52 30 2c 52 30 0d 09 | 10 2d 20 20 20 53 54 4d | R0,R0..|.- STM|
|00002570| 46 44 20 52 31 33 21 2c | 7b 52 31 34 7d 20 5c 20 |FD R13!,|{R14} \ |
|00002580| 53 74 6f 72 65 20 53 56 | 43 20 6d 6f 64 65 20 6c |Store SV|C mode l|
|00002590| 69 6e 6b 0d 09 1a 10 20 | 20 20 43 4d 50 20 52 32 |ink.... | CMP R2|
|000025a0| 2c 23 30 0d 09 24 12 20 | 20 20 42 4e 45 20 4e 6f |,#0..$. | BNE No|
|000025b0| 74 4e 75 6c 6c 0d 09 2e | 2f 20 20 20 4c 44 52 42 |tNull...|/ LDRB|
|000025c0| 20 52 35 2c 4e 75 6c 6c | 43 6f 64 65 20 20 20 20 | R5,Null|Code |
|000025d0| 5c 20 47 65 74 20 6e 75 | 6c 6c 20 63 6f 64 65 20 |\ Get nu|ll code |
|000025e0| 66 6c 61 67 0d 09 38 12 | 20 20 20 43 4d 50 20 52 |flag..8.| CMP R|
|000025f0| 35 2c 23 32 35 35 0d 09 | 42 16 20 20 20 42 45 51 |5,#255..|B. BEQ|
|00002600| 20 4e 75 6c 6c 50 72 6f | 63 65 73 73 0d 09 4c 3f | NullPro|cess..L?|
|00002610| 20 20 20 4d 4f 56 20 52 | 35 2c 23 32 35 35 20 20 | MOV R|5,#255 |
|00002620| 20 20 20 20 20 20 5c 20 | 53 65 74 20 6e 75 6c 6c | \ |Set null|
|00002630| 20 66 6c 61 67 20 69 65 | 2e 20 6f 6e 65 20 7a 65 | flag ie|. one ze|
|00002640| 72 6f 20 72 65 63 65 69 | 76 65 64 0d 09 56 17 20 |ro recei|ved..V. |
|00002650| 20 20 53 54 52 42 20 52 | 35 2c 4e 75 6c 6c 43 6f | STRB R|5,NullCo|
|00002660| 64 65 0d 09 60 31 20 20 | 20 42 20 45 76 65 6e 74 |de..`1 | B Event|
|00002670| 45 78 69 74 20 20 20 20 | 20 20 20 20 5c 20 52 65 |Exit | \ Re|
|00002680| 74 75 72 6e 20 74 6f 20 | 61 70 70 6c 69 63 61 74 |turn to |applicat|
|00002690| 69 6f 6e 0d 09 6a 10 2e | 4e 75 6c 6c 50 72 6f 63 |ion..j..|NullProc|
|000026a0| 65 73 73 0d 09 74 10 20 | 20 20 4d 4f 56 20 52 35 |ess..t. | MOV R5|
|000026b0| 2c 23 30 0d 09 7e 17 20 | 20 20 53 54 52 42 20 52 |,#0..~. | STRB R|
|000026c0| 35 2c 4e 75 6c 6c 43 6f | 64 65 0d 09 88 0c 2e 4e |5,NullCo|de.....N|
|000026d0| 6f 74 4e 75 6c 6c 0d 09 | 92 16 20 20 20 41 44 52 |otNull..|.. ADR|
|000026e0| 20 52 30 2c 52 65 67 53 | 74 6f 72 65 0d 09 9c 14 | R0,RegS|tore....|
|000026f0| 20 20 20 41 44 52 20 52 | 31 2c 52 65 74 75 72 6e | ADR R|1,Return|
|00002700| 0d 09 a6 18 20 20 20 53 | 57 49 20 22 4f 53 5f 43 |.... S|WI "OS_C|
|00002710| 61 6c 6c 42 61 63 6b 22 | 0d 09 b0 1b 20 20 20 53 |allBack"|.... S|
|00002720| 57 49 20 22 4f 53 5f 53 | 65 74 43 61 6c 6c 42 61 |WI "OS_S|etCallBa|
|00002730| 63 6b 22 0d 09 ba 0e 2e | 45 76 65 6e 74 45 78 69 |ck".....|EventExi|
|00002740| 74 0d 09 c4 2f 20 20 20 | 4c 44 4d 46 44 20 52 31 |t.../ |LDMFD R1|
|00002750| 33 21 2c 7b 52 31 34 7d | 20 5c 20 52 65 73 74 6f |3!,{R14}| \ Resto|
|00002760| 72 65 20 53 56 43 20 6d | 6f 64 65 20 6c 69 6e 6b |re SVC m|ode link|
|00002770| 0d 09 ce 2f 20 20 20 54 | 45 51 50 20 52 36 2c 23 |.../ T|EQP R6,#|
|00002780| 30 20 20 20 20 20 20 20 | 5c 20 52 65 73 74 6f 72 |0 |\ Restor|
|00002790| 65 20 6f 72 69 67 69 6e | 61 6c 20 6d 6f 64 65 0d |e origin|al mode.|
|000027a0| 09 d8 12 20 20 20 4d 4f | 56 4e 56 20 52 30 2c 52 |... MO|VNV R0,R|
|000027b0| 30 0d 09 e2 22 20 20 20 | 4c 44 4d 46 44 20 52 31 |0..." |LDMFD R1|
|000027c0| 33 21 2c 7b 52 30 2d 52 | 32 2c 52 35 2d 52 37 2c |3!,{R0-R|2,R5-R7,|
|000027d0| 50 43 7d 0d 09 ec 04 0d | 09 f6 0b 2e 41 63 74 69 |PC}.....|....Acti|
|000027e0| 76 65 0d 0a 00 82 20 20 | 20 45 51 55 44 20 30 20 |ve.... | EQUD 0 |
|000027f0| 20 20 5c 20 30 3d 4e 6f | 74 20 61 63 74 69 76 65 | \ 0=No|t active|
|00002800| 2c 31 3d 65 6e 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |,1=enter| command|
|00002810| 73 2c 32 3d 65 78 65 63 | 75 74 65 20 73 70 65 63 |s,2=exec|ute spec|
|00002820| 69 66 69 65 64 20 63 6f | 6d 6d 61 6e 64 20 2d 20 |ified co|mmand - |
|00002830| 31 32 38 20 61 64 64 65 | 64 20 74 6f 20 63 75 72 |128 adde|d to cur|
|00002840| 72 65 6e 74 20 76 61 6c | 75 65 20 77 68 69 6c 65 |rent val|ue while|
|00002850| 20 61 63 74 75 61 6c 6c | 79 20 70 72 6f 63 65 73 | actuall|y proces|
|00002860| 73 69 6e 67 0d 0a 0a 09 | 2e 43 6f 64 65 0d 0a 14 |sing....|.Code...|
|00002870| 2e 20 20 20 45 51 55 44 | 20 30 20 20 20 5c 20 53 |. EQUD| 0 \ S|
|00002880| 74 6f 72 61 67 65 20 66 | 6f 72 20 6b 65 79 63 6f |torage f|or keyco|
|00002890| 64 65 20 72 65 71 75 69 | 72 65 64 0d 0a 1e 04 0d |de requi|red.....|
|000028a0| 0a 28 0b 2e 42 75 66 66 | 65 72 0d 0a 32 08 20 20 |.(..Buff|er..2. |
|000028b0| 20 5d 0d 0a 3c 04 0d 0a | 46 13 50 25 2b 3d 32 35 | ]..<...|F.P%+=25|
|000028c0| 36 3a 4f 25 2b 3d 32 35 | 36 0d 0a 50 0e 43 6f 6d |6:O%+=25|6..P.Com|
|000028d0| 6d 61 6e 64 3d 50 25 0d | 0a 5a 13 50 25 2b 3d 32 |mand=P%.|.Z.P%+=2|
|000028e0| 35 36 3a 4f 25 2b 3d 32 | 35 36 0d 0a 64 0f 52 65 |56:O%+=2|56..d.Re|
|000028f0| 67 53 74 6f 72 65 3d 50 | 25 0d 0a 6e 11 50 25 2b |gStore=P|%..n.P%+|
|00002900| 3d 36 34 3a 4f 25 2b 3d | 36 34 0d 0a 78 0b 5b 4f |=64:O%+=|64..x.[O|
|00002910| 50 54 20 49 25 0d 0a 82 | 0b 2e 52 65 74 75 72 6e |PT I%...|..Return|
|00002920| 0d 0a 8c 15 20 20 20 4c | 44 52 42 20 52 30 2c 41 |.... L|DRB R0,A|
|00002930| 63 74 69 76 65 0d 0a 96 | 15 20 20 20 41 44 44 20 |ctive...|. ADD |
|00002940| 52 30 2c 52 30 2c 23 31 | 32 38 0d 0a a0 3d 20 20 |R0,R0,#1|28...= |
|00002950| 20 53 54 52 42 20 52 30 | 2c 41 63 74 69 76 65 20 | STRB R0|,Active |
|00002960| 20 20 5c 20 43 68 61 6e | 67 65 20 61 63 74 69 76 | \ Chan|ge activ|
|00002970| 65 20 66 6c 61 67 20 74 | 6f 20 69 6e 64 69 63 61 |e flag t|o indica|
|00002980| 74 65 20 62 75 73 79 0d | 0a aa 10 20 20 20 4d 4f |te busy.|... MO|
|00002990| 56 20 52 31 2c 50 43 0d | 0a b4 2e 20 20 20 42 49 |V R1,PC.|... BI|
|000029a0| 43 20 52 31 2c 52 31 2c | 23 31 3c 3c 32 37 20 5c |C R1,R1,|#1<<27 \|
|000029b0| 20 43 6c 65 61 72 20 69 | 6e 74 65 72 72 75 70 74 | Clear i|nterrupt|
|000029c0| 20 66 6c 61 67 0d 0a be | 25 20 20 20 84 52 20 52 | flag...|% .R R|
|000029d0| 31 2c 52 31 2c 23 33 20 | 20 20 20 20 5c 20 53 65 |1,R1,#3 | \ Se|
|000029e0| 74 20 53 56 43 20 6d 6f | 64 65 0d 0a c8 28 20 20 |t SVC mo|de...( |
|000029f0| 20 54 45 51 50 20 52 31 | 2c 23 30 20 20 20 20 20 | TEQP R1|,#0 |
|00002a00| 20 20 5c 20 45 6e 74 65 | 72 20 53 56 43 20 6d 6f | \ Ente|r SVC mo|
|00002a10| 64 65 0d 0a d2 12 20 20 | 20 4d 4f 56 4e 56 20 52 |de.... | MOVNV R|
|00002a20| 31 2c 52 31 0d 0a dc 12 | 20 20 20 43 4d 50 20 52 |1,R1....| CMP R|
|00002a30| 30 2c 23 31 32 39 0d 0a | e6 31 20 20 20 42 45 51 |0,#129..|.1 BEQ|
|00002a40| 20 45 6e 74 65 72 43 6f | 6d 6d 61 6e 64 20 5c 20 | EnterCo|mmand \ |
|00002a50| 43 6f 6d 6d 61 6e 64 73 | 20 74 6f 20 62 65 20 74 |Commands| to be t|
|00002a60| 79 70 65 64 20 69 6e 0d | 0a f0 37 20 20 20 41 44 |yped in.|..7 AD|
|00002a70| 52 20 52 30 2c 43 6f 6d | 6d 61 6e 64 20 20 20 5c |R R0,Com|mand \|
|00002a80| 20 65 6c 73 65 20 65 78 | 65 63 75 74 65 20 73 65 | else ex|ecute se|
|00002a90| 6c 65 63 74 65 64 20 63 | 6f 6d 6d 61 6e 64 0d 0a |lected c|ommand..|
|00002aa0| fa 14 20 20 20 53 57 49 | 20 22 58 4f 53 5f 43 4c |.. SWI| "XOS_CL|
|00002ab0| 49 22 0d 0b 04 33 20 20 | 20 53 57 49 56 53 20 32 |I"...3 | SWIVS 2|
|00002ac0| 35 36 2b 37 2b 28 31 3c | 3c 31 37 29 20 5c 20 42 |56+7+(1<|<17) \ B|
|00002ad0| 65 65 70 20 69 66 20 65 | 72 72 6f 72 20 6f 63 63 |eep if e|rror occ|
|00002ae0| 75 72 72 65 64 0d 0b 0e | 0f 20 20 20 42 20 46 69 |urred...|. B Fi|
|00002af0| 6e 69 73 68 0d 0b 18 37 | 2e 45 6e 74 65 72 43 6f |nish...7|.EnterCo|
|00002b00| 6d 6d 61 6e 64 20 20 20 | 20 5c 20 50 72 65 70 61 |mmand | \ Prepa|
|00002b10| 72 65 20 73 63 72 65 65 | 6e 20 66 6f 72 20 63 6f |re scree|n for co|
|00002b20| 6d 6d 61 6e 64 20 65 6e | 74 72 79 0d 0b 22 12 20 |mmand en|try..". |
|00002b30| 20 20 4d 4f 56 20 52 30 | 2c 23 31 31 37 0d 0b 2c | MOV R0|,#117..,|
|00002b40| 15 20 20 20 53 57 49 20 | 22 58 4f 53 5f 42 79 74 |. SWI |"XOS_Byt|
|00002b50| 65 22 0d 0b 36 18 20 20 | 20 53 54 52 42 20 52 31 |e"..6. | STRB R1|
|00002b60| 2c 56 64 75 53 74 61 74 | 75 73 0d 0b 40 10 20 20 |,VduStat|us..@. |
|00002b70| 20 4d 4f 56 20 52 30 2c | 23 33 0d 0b 4a 3a 20 20 | MOV R0,|#3..J: |
|00002b80| 20 4d 4f 56 20 52 31 2c | 23 25 31 30 31 30 31 30 | MOV R1,|#%101010|
|00002b90| 30 20 5c 20 44 69 73 61 | 62 6c 65 20 70 72 69 6e |0 \ Disa|ble prin|
|00002ba0| 74 65 72 2c 20 53 70 6f | 6f 6c 20 61 6e 64 20 52 |ter, Spo|ol and R|
|00002bb0| 53 34 32 33 0d 0b 54 15 | 20 20 20 53 57 49 20 22 |S423..T.| SWI "|
|00002bc0| 58 4f 53 5f 42 79 74 65 | 22 0d 0b 5e 16 20 20 20 |XOS_Byte|"..^. |
|00002bd0| 53 54 52 42 20 52 31 2c | 53 74 72 65 61 6d 73 0d |STRB R1,|Streams.|
|00002be0| 0b 68 12 20 20 20 4d 4f | 56 20 52 30 2c 23 31 36 |.h. MO|V R0,#16|
|00002bf0| 35 0d 0b 72 15 20 20 20 | 53 57 49 20 22 58 4f 53 |5..r. |SWI "XOS|
|00002c00| 5f 42 79 74 65 22 0d 0b | 7c 18 20 20 20 53 54 52 |_Byte"..||. STR|
|00002c10| 42 20 52 31 2c 43 75 72 | 73 6f 72 50 6f 73 0d 0b |B R1,Cur|sorPos..|
|00002c20| 86 1a 20 20 20 53 54 52 | 42 20 52 32 2c 43 75 72 |.. STR|B R2,Cur|
|00002c30| 73 6f 72 50 6f 73 2b 31 | 0d 0b 90 12 20 20 20 4d |sorPos+1|.... M|
|00002c40| 4f 56 20 52 30 2c 23 32 | 31 38 0d 0b 9a 10 20 20 |OV R0,#2|18.... |
|00002c50| 20 4d 4f 56 20 52 31 2c | 23 30 0d 0b a4 10 20 20 | MOV R1,|#0.... |
|00002c60| 20 4d 4f 56 20 52 32 2c | 23 30 0d 0b ae 22 20 20 | MOV R2,|#0..." |
|00002c70| 20 53 57 49 20 22 58 4f | 53 5f 42 79 74 65 22 20 | SWI "XO|S_Byte" |
|00002c80| 20 5c 20 43 6c 65 61 72 | 20 ef 20 51 0d 0b b8 10 | \ Clear| . Q....|
|00002c90| 20 20 20 4d 4f 56 20 52 | 30 2c 23 30 0d 0b c2 11 | MOV R|0,#0....|
|00002ca0| 20 20 20 4d 4f 56 20 52 | 31 2c 23 31 36 0d 0b cc | MOV R|1,#16...|
|00002cb0| 1c 20 20 20 53 57 49 20 | 22 58 4f 53 5f 52 65 61 |. SWI |"XOS_Rea|
|00002cc0| 64 50 61 6c 65 74 74 65 | 22 0d 0b d6 15 20 20 20 |dPalette|".... |
|00002cd0| 53 54 52 20 52 32 2c 43 | 6f 6c 6f 75 72 73 0d 0b |STR R2,C|olours..|
|00002ce0| e0 17 20 20 20 53 54 52 | 20 52 33 2c 43 6f 6c 6f |.. STR| R3,Colo|
|00002cf0| 75 72 73 2b 34 0d 0b ea | 10 20 20 20 4d 4f 56 20 |urs+4...|. MOV |
|00002d00| 52 30 2c 23 31 0d 0b f4 | 1c 20 20 20 53 57 49 20 |R0,#1...|. SWI |
|00002d10| 22 58 4f 53 5f 52 65 61 | 64 50 61 6c 65 74 74 65 |"XOS_Rea|dPalette|
|00002d20| 22 0d 0b fe 17 20 20 20 | 53 54 52 20 52 32 2c 43 |".... |STR R2,C|
|00002d30| 6f 6c 6f 75 72 73 2b 38 | 0d 0c 08 18 20 20 20 53 |olours+8|.... S|
|00002d40| 54 52 20 52 33 2c 43 6f | 6c 6f 75 72 73 2b 31 32 |TR R3,Co|lours+12|
|00002d50| 0d 0c 12 16 20 20 20 41 | 44 52 20 52 30 2c 56 64 |.... A|DR R0,Vd|
|00002d60| 75 42 6c 6f 63 6b 0d 0c | 1c 14 20 20 20 41 44 52 |uBlock..|.. ADR|
|00002d70| 20 52 31 2c 57 69 6e 64 | 6f 77 0d 0c 26 21 20 20 | R1,Wind|ow..&! |
|00002d80| 20 53 57 49 20 22 58 4f | 53 5f 52 65 61 64 56 64 | SWI "XO|S_ReadVd|
|00002d90| 75 56 61 72 69 61 62 6c | 65 73 22 0d 0c 30 19 20 |uVariabl|es"..0. |
|00002da0| 20 20 4c 44 52 20 52 30 | 2c 53 63 72 65 65 6e 57 | LDR R0|,ScreenW|
|00002db0| 69 64 74 68 0d 0c 3a 1c | 20 20 20 53 54 52 42 20 |idth..:.| STRB |
|00002dc0| 52 30 2c 4e 65 77 53 65 | 74 74 69 6e 67 73 2b 34 |R0,NewSe|ttings+4|
|00002dd0| 0d 0c 44 1a 20 20 20 4c | 44 52 20 52 30 2c 53 63 |..D. L|DR R0,Sc|
|00002de0| 72 65 65 6e 48 65 69 67 | 68 74 0d 0c 4e 1c 20 20 |reenHeig|ht..N. |
|00002df0| 20 53 54 52 42 20 52 30 | 2c 4e 65 77 53 65 74 74 | STRB R0|,NewSett|
|00002e00| 69 6e 67 73 2b 33 0d 0c | 58 10 20 20 20 4d 4f 56 |ings+3..|X. MOV|
|00002e10| 20 52 30 2c 23 33 0d 0c | 62 18 20 20 20 41 44 52 | R0,#3..|b. ADR|
|00002e20| 20 52 31 2c 57 69 6d 70 | 46 6c 61 67 2b 31 0d 0c | R1,Wimp|Flag+1..|
|00002e30| 6c 3f 20 20 20 53 57 49 | 20 22 58 4f 53 5f 4d 6f |l? SWI| "XOS_Mo|
|00002e40| 64 75 6c 65 22 20 20 20 | 5c 20 20 54 72 79 20 74 |dule" |\ Try t|
|00002e50| 6f 20 72 65 69 6e 69 74 | 20 57 69 6e 64 6f 77 4d |o reinit| WindowM|
|00002e60| 61 6e 61 67 65 72 20 4d | 6f 64 75 6c 65 0d 0c 76 |anager M|odule..v|
|00002e70| 41 20 20 20 42 56 43 20 | 43 6c 61 69 6d 53 63 72 |A BVC |ClaimScr|
|00002e80| 4d 65 6d 20 20 20 20 5c | 20 20 4e 6f 20 65 72 72 |Mem \| No err|
|00002e90| 6f 72 20 6f 63 63 75 72 | 72 65 64 20 2d 20 77 69 |or occur|red - wi|
|00002ea0| 6d 70 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 0d 0c |mp not r|unning..|
|00002eb0| 80 28 20 20 20 4c 44 52 | 20 52 30 2c 5b 52 30 5d |.( LDR| R0,[R0]|
|00002ec0| 20 20 20 5c 20 20 47 65 | 74 20 65 72 72 6f 72 20 | \ Ge|t error |
|00002ed0| 6e 75 6d 62 65 72 0d 0c | 8a 47 20 20 20 53 55 42 |number..|.G SUB|
|00002ee0| 20 52 30 2c 52 30 2c 23 | 34 20 20 5c 20 20 22 57 | R0,R0,#|4 \ "W|
|00002ef0| 69 6d 70 20 6d 6f 64 75 | 6c 65 20 61 63 74 69 76 |imp modu|le activ|
|00002f00| 65 22 20 2d 20 65 72 72 | 6f 72 20 32 35 39 2c 20 |e" - err|or 259, |
|00002f10| 63 68 61 6e 67 65 20 74 | 6f 20 32 35 35 0d 0c 94 |change t|o 255...|
|00002f20| 33 20 20 20 43 4d 50 20 | 52 30 2c 23 32 35 35 20 |3 CMP |R0,#255 |
|00002f30| 20 20 20 5c 20 49 73 20 | 6d 6f 64 75 6c 65 20 63 | \ Is |module c|
|00002f40| 75 72 72 65 6e 74 6c 79 | 20 61 63 74 69 76 65 3f |urrently| active?|
|00002f50| 0d 0c 9e 47 20 20 20 42 | 4e 45 20 43 6c 61 69 6d |...G B|NE Claim|
|00002f60| 53 63 72 4d 65 6d 20 20 | 5c 20 20 41 6e 6f 74 68 |ScrMem |\ Anoth|
|00002f70| 65 72 20 65 72 72 6f 72 | 20 73 6f 20 74 72 79 20 |er error| so try |
|00002f80| 63 6c 61 69 6d 69 6e 67 | 20 73 63 72 65 65 6e 20 |claiming| screen |
|00002f90| 6d 65 6d 6f 72 79 2e 0d | 0c a8 4c 20 20 20 53 54 |memory..|..L ST|
|00002fa0| 52 42 20 52 30 2c 57 69 | 6d 70 46 6c 61 67 20 5c |RB R0,Wi|mpFlag \|
|00002fb0| 20 57 69 6d 70 20 6f 6e | 2c 20 73 65 74 20 66 6c | Wimp on|, set fl|
|00002fc0| 61 67 20 74 6f 20 66 6f | 72 63 65 20 57 69 6d 70 |ag to fo|rce Wimp|
|00002fd0| 20 74 6f 20 72 65 73 74 | 6f 72 65 20 73 63 72 65 | to rest|ore scre|
|00002fe0| 65 6e 2e 0d 0c b2 3f 20 | 20 20 42 20 53 63 72 65 |en....? | B Scre|
|00002ff0| 65 6e 20 20 20 20 20 20 | 20 20 20 5c 20 61 6e 64 |en | \ and|
|00003000| 20 74 72 79 20 74 6f 20 | 63 6c 61 69 6d 20 73 63 | try to |claim sc|
|00003010| 72 65 65 6e 20 6d 65 6d | 6f 72 79 20 61 6e 79 77 |reen mem|ory anyw|
|00003020| 61 79 0d 0c bc 10 2e 43 | 6c 61 69 6d 53 63 72 4d |ay.....C|laimScrM|
|00003030| 65 6d 0d 0c c6 10 20 20 | 20 4d 4f 56 20 52 30 2c |em.... | MOV R0,|
|00003040| 23 30 0d 0c d0 4a 20 20 | 20 53 54 52 42 20 52 30 |#0...J | STRB R0|
|00003050| 2c 57 69 6d 70 46 6c 61 | 67 20 20 5c 20 20 57 69 |,WimpFla|g \ Wi|
|00003060| 6d 70 20 6e 6f 74 20 61 | 63 74 69 76 65 20 73 6f |mp not a|ctive so|
|00003070| 20 63 61 6e 6e 6f 74 20 | 72 65 73 74 6f 72 65 20 | cannot |restore |
|00003080| 73 63 72 65 65 6e 20 6c | 61 74 65 72 0d 0c da 0b |screen l|ater....|
|00003090| 2e 53 63 72 65 65 6e 0d | 0c e4 36 20 20 20 4d 4f |.Screen.|..6 MO|
|000030a0| 56 20 52 30 2c 23 31 20 | 20 20 20 20 20 20 20 20 |V R0,#1 | |
|000030b0| 5c 20 20 54 72 79 20 63 | 6c 61 69 6d 69 6e 67 20 |\ Try c|laiming |
|000030c0| 73 63 72 65 65 6e 20 6d | 65 6d 6f 72 79 0d 0c ee |screen m|emory...|
|000030d0| 18 20 20 20 4c 44 52 20 | 52 33 2c 53 63 72 65 65 |. LDR |R3,Scree|
|000030e0| 6e 53 69 7a 65 0d 0c f8 | 10 20 20 20 4d 4f 56 20 |nSize...|. MOV |
|000030f0| 52 31 2c 52 33 0d 0d 02 | 22 20 20 20 53 57 49 20 |R1,R3...|" SWI |
|00003100| 22 58 4f 53 5f 43 6c 61 | 69 6d 53 63 72 65 65 6e |"XOS_Cla|imScreen|
|00003110| 4d 65 6d 6f 72 79 22 0d | 0d 0c 12 20 20 20 4d 4f |Memory".|... MO|
|00003120| 56 43 53 20 52 32 2c 23 | 30 0d 0d 16 4c 20 20 20 |VCS R2,#|0...L |
|00003130| 53 54 52 20 52 32 2c 53 | 63 72 65 65 6e 43 6c 61 |STR R2,S|creenCla|
|00003140| 69 6d 65 64 20 20 20 20 | 5c 20 53 65 74 20 66 6c |imed |\ Set fl|
|00003150| 61 67 20 74 6f 20 69 6e | 64 69 63 61 74 65 20 69 |ag to in|dicate i|
|00003160| 66 20 73 63 72 65 65 6e | 20 6d 65 6d 6f 72 79 20 |f screen| memory |
|00003170| 66 6f 75 6e 64 0d 0d 20 | 16 20 20 20 42 43 53 20 |found.. |. BCS |
|00003180| 56 64 75 53 65 71 75 65 | 6e 63 65 0d 0d 2a 19 20 |VduSeque|nce..*. |
|00003190| 20 20 4c 44 52 20 52 31 | 2c 53 63 72 65 65 6e 53 | LDR R1|,ScreenS|
|000031a0| 74 61 72 74 0d 0d 34 10 | 2e 53 63 72 65 65 6e 4c |tart..4.|.ScreenL|
|000031b0| 6f 6f 70 31 0d 0d 3e 19 | 20 20 20 4c 44 4d 49 41 |oop1..>.| LDMIA|
|000031c0| 20 52 31 21 2c 7b 52 34 | 2d 52 31 31 7d 0d 0d 48 | R1!,{R4|-R11}..H|
|000031d0| 19 20 20 20 53 54 4d 49 | 41 20 52 32 21 2c 7b 52 |. STMI|A R2!,{R|
|000031e0| 34 2d 52 31 31 7d 0d 0d | 52 15 20 20 20 53 55 42 |4-R11}..|R. SUB|
|000031f0| 53 20 52 33 2c 52 33 2c | 23 33 32 0d 0d 5c 16 20 |S R3,R3,|#32..\. |
|00003200| 20 20 42 48 49 20 53 63 | 72 65 65 6e 4c 6f 6f 70 | BHI Sc|reenLoop|
|00003210| 31 0d 0d 66 14 20 20 20 | 42 20 56 64 75 53 65 71 |1..f. |B VduSeq|
|00003220| 75 65 6e 63 65 0d 0d 70 | 04 0d 0d 7a 0d 2e 57 69 |uence..p|...z..Wi|
|00003230| 6d 70 46 6c 61 67 0d 0d | 84 0d 20 20 20 45 51 55 |mpFlag..|.. EQU|
|00003240| 42 20 30 0d 0d 8e 1b 20 | 20 20 45 51 55 53 20 22 |B 0.... | EQUS "|
|00003250| 57 69 6e 64 6f 77 4d 61 | 6e 61 67 65 72 22 0d 0d |WindowMa|nager"..|
|00003260| 98 0d 20 20 20 45 51 55 | 42 20 30 0d 0d a2 0c 20 |.. EQU|B 0.... |
|00003270| 20 20 41 4c 49 47 4e 0d | 0d ac 04 0d 0d b6 10 2e | ALIGN.|........|
|00003280| 56 64 75 53 65 71 75 65 | 6e 63 65 0d 0d c0 19 20 |VduSeque|nce.... |
|00003290| 20 20 41 44 52 20 52 30 | 2c 4e 65 77 53 65 74 74 | ADR R0|,NewSett|
|000032a0| 69 6e 67 73 0d 0d ca 18 | 20 20 20 41 44 52 20 52 |ings....| ADR R|
|000032b0| 31 2c 54 65 72 6d 69 6e | 61 74 6f 72 0d 0d d4 13 |1,Termin|ator....|
|000032c0| 20 20 20 53 55 42 20 52 | 31 2c 52 31 2c 52 30 0d | SUB R|1,R1,R0.|
|000032d0| 0d de 16 20 20 20 53 57 | 49 20 22 4f 53 5f 57 72 |... SW|I "OS_Wr|
|000032e0| 69 74 65 4e 22 0d 0d e8 | 04 0d 0d f2 0b 2e 45 43 |iteN"...|......EC|
|000032f0| 4c 6f 6f 70 0d 0d fc 16 | 20 20 20 53 57 49 20 22 |Loop....| SWI "|
|00003300| 4f 53 5f 57 72 69 74 65 | 53 22 0d 0e 06 15 20 20 |OS_Write|S".... |
|00003310| 20 45 51 55 44 20 26 30 | 30 32 41 30 41 30 44 0d | EQUD &0|02A0A0D.|
|00003320| 0e 10 14 20 20 20 41 44 | 52 20 52 30 2c 42 75 66 |... AD|R R0,Buf|
|00003330| 66 65 72 0d 0e 1a 12 20 | 20 20 4d 4f 56 20 52 31 |fer.... | MOV R1|
|00003340| 2c 23 32 35 34 0d 0e 24 | 11 20 20 20 4d 4f 56 20 |,#254..$|. MOV |
|00003350| 52 32 2c 23 33 32 0d 0e | 2e 12 20 20 20 4d 4f 56 |R2,#32..|.. MOV|
|00003360| 20 52 33 2c 23 32 35 35 | 0d 0e 38 19 20 20 20 53 | R3,#255|..8. S|
|00003370| 57 49 20 22 58 4f 53 5f | 52 65 61 64 4c 69 6e 65 |WI "XOS_|ReadLine|
|00003380| 22 0d 0e 42 13 20 20 20 | 42 43 53 20 45 73 63 45 |"..B. |BCS EscE|
|00003390| 72 72 6f 72 0d 0e 4c 15 | 20 20 20 42 56 53 20 50 |rror..L.| BVS P|
|000033a0| 72 69 6e 74 45 72 72 6f | 72 0d 0e 56 10 20 20 20 |rintErro|r..V. |
|000033b0| 43 4d 50 20 52 31 2c 23 | 30 0d 0e 60 11 20 20 20 |CMP R1,#|0..`. |
|000033c0| 42 45 51 20 54 69 64 79 | 55 70 0d 0e 6a 14 20 20 |BEQ Tidy|Up..j. |
|000033d0| 20 53 57 49 20 22 58 4f | 53 5f 43 4c 49 22 0d 0e | SWI "XO|S_CLI"..|
|000033e0| 74 15 20 20 20 42 56 53 | 20 50 72 69 6e 74 45 72 |t. BVS| PrintEr|
|000033f0| 72 6f 72 0d 0e 7e 0f 20 | 20 20 42 20 45 43 4c 6f |ror..~. | B ECLo|
|00003400| 6f 70 0d 0e 88 42 2e 56 | 64 75 42 6c 6f 63 6b 20 |op...B.V|duBlock |
|00003410| 20 20 20 20 20 20 20 5c | 20 55 73 65 64 20 61 73 | \| Used as|
|00003420| 20 69 6e 70 75 74 20 62 | 6c 6f 63 6b 20 66 6f 72 | input b|lock for|
|00003430| 20 4f 53 5f 52 65 61 64 | 56 64 75 56 61 72 69 61 | OS_Read|VduVaria|
|00003440| 62 6c 65 73 0d 0e 92 0f | 20 20 20 45 51 55 44 20 |bles....| EQUD |
|00003450| 31 33 32 0d 0e 9c 0f 20 | 20 20 45 51 55 44 20 31 |132.... | EQUD 1|
|00003460| 33 33 0d 0e a6 0f 20 20 | 20 45 51 55 44 20 31 33 |33.... | EQUD 13|
|00003470| 34 0d 0e b0 0f 20 20 20 | 45 51 55 44 20 31 33 35 |4.... |EQUD 135|
|00003480| 0d 0e ba 0f 20 20 20 45 | 51 55 44 20 31 34 39 0d |.... E|QUD 149.|
|00003490| 0e c4 0f 20 20 20 45 51 | 55 44 20 31 35 35 0d 0e |... EQ|UD 155..|
|000034a0| ce 0f 20 20 20 45 51 55 | 44 20 31 35 36 0d 0e d8 |.. EQU|D 156...|
|000034b0| 0f 20 20 20 45 51 55 44 | 20 31 35 39 0d 0e e2 0f |. EQUD| 159....|
|000034c0| 20 20 20 45 51 55 44 20 | 31 36 30 0d 0e ec 0d 20 | EQUD |160.... |
|000034d0| 20 20 45 51 55 44 20 31 | 0d 0e f6 0d 20 20 20 45 | EQUD 1|.... E|
|000034e0| 51 55 44 20 32 0d 0f 00 | 0d 20 20 20 45 51 55 44 |QUD 2...|. EQUD|
|000034f0| 20 37 0d 0f 0a 0e 20 20 | 20 45 51 55 44 20 2d 31 | 7.... | EQUD -1|
|00003500| 0d 0f 14 43 2e 43 6f 6c | 6f 75 72 73 20 20 20 20 |...C.Col|ours |
|00003510| 20 20 20 20 5c 20 55 73 | 65 64 20 74 6f 20 73 74 | \ Us|ed to st|
|00003520| 6f 72 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ore appl|ication |
|00003530| ef 20 76 61 72 69 61 62 | 6c 65 20 73 65 74 74 69 |. variab|le setti|
|00003540| 6e 67 73 0d 0f 1e 0d 20 | 20 20 45 51 55 44 20 30 |ngs.... | EQUD 0|
|00003550| 0d 0f 28 0d 20 20 20 45 | 51 55 44 20 30 0d 0f 32 |..(. E|QUD 0..2|
|00003560| 0d 20 20 20 45 51 55 44 | 20 30 0d 0f 3c 0d 20 20 |. EQUD| 0..<. |
|00003570| 20 45 51 55 44 20 30 0d | 0f 46 0b 2e 57 69 6e 64 | EQUD 0.|.F..Wind|
|00003580| 6f 77 0d 0f 50 0d 20 20 | 20 45 51 55 44 20 30 0d |ow..P. | EQUD 0.|
|00003590| 0f 5a 0d 20 20 20 45 51 | 55 44 20 30 0d 0f 64 0d |.Z. EQ|UD 0..d.|
|000035a0| 20 20 20 45 51 55 44 20 | 30 0d 0f 6e 0d 20 20 20 | EQUD |0..n. |
|000035b0| 45 51 55 44 20 30 0d 0f | 78 10 2e 53 63 72 65 65 |EQUD 0..|x..Scree|
|000035c0| 6e 53 74 61 72 74 0d 0f | 82 0d 20 20 20 45 51 55 |nStart..|.. EQU|
|000035d0| 44 20 30 0d 0f 8c 0c 2e | 4c 6f 67 43 6f 6c 73 0d |D 0.....|LogCols.|
|000035e0| 0f 96 0d 20 20 20 45 51 | 55 44 20 30 0d 0f a0 0d |... EQ|UD 0....|
|000035f0| 20 20 20 45 51 55 44 20 | 30 0d 0f aa 0a 2e 54 69 | EQUD |0.....Ti|
|00003600| 6e 74 73 0d 0f b4 0d 20 | 20 20 45 51 55 44 20 30 |nts.... | EQUD 0|
|00003610| 0d 0f be 0d 20 20 20 45 | 51 55 44 20 30 0d 0f c8 |.... E|QUD 0...|
|00003620| 10 2e 53 63 72 65 65 6e | 57 69 64 74 68 0d 0f d2 |..Screen|Width...|
|00003630| 0d 20 20 20 45 51 55 44 | 20 30 0d 0f dc 11 2e 53 |. EQUD| 0.....S|
|00003640| 63 72 65 65 6e 48 65 69 | 67 68 74 0d 0f e6 0d 20 |creenHei|ght.... |
|00003650| 20 20 45 51 55 44 20 30 | 0d 0f f0 0f 2e 53 63 72 | EQUD 0|.....Scr|
|00003660| 65 65 6e 53 69 7a 65 0d | 0f fa 0d 20 20 20 45 51 |eenSize.|... EQ|
|00003670| 55 44 20 30 0d 10 04 12 | 2e 53 63 72 65 65 6e 43 |UD 0....|.ScreenC|
|00003680| 6c 61 69 6d 65 64 0d 10 | 0e 0d 20 20 20 45 51 55 |laimed..|.. EQU|
|00003690| 44 20 30 0d 10 18 0e 2e | 56 64 75 53 74 61 74 75 |D 0.....|VduStatu|
|000036a0| 73 0d 10 22 0d 20 20 20 | 45 51 55 42 20 30 0d 10 |s..". |EQUB 0..|
|000036b0| 2c 0e 2e 43 75 72 73 6f | 72 50 6f 73 0d 10 36 0d |,..Curso|rPos..6.|
|000036c0| 20 20 20 45 51 55 57 20 | 30 0d 10 40 0c 2e 53 74 | EQUW |0..@..St|
|000036d0| 72 65 61 6d 73 0d 10 4a | 0d 20 20 20 45 51 55 42 |reams..J|. EQUB|
|000036e0| 20 30 0d 10 54 46 2e 4e | 65 77 53 65 74 74 69 6e | 0..TF.N|ewSettin|
|000036f0| 67 73 20 20 20 20 5c 20 | 20 43 6f 6e 74 61 69 6e |gs \ | Contain|
|00003700| 73 20 ef 20 63 6f 64 65 | 73 20 74 6f 20 73 65 74 |s . code|s to set|
|00003710| 20 75 70 20 63 6f 6d 6d | 61 6e 64 20 65 6e 74 72 | up comm|and entr|
|00003720| 79 20 73 63 72 65 65 6e | 0d 10 5e 1d 20 20 20 45 |y screen|..^. E|
|00003730| 51 55 42 20 36 20 20 20 | 5c 20 52 65 20 65 6e 61 |QUB 6 |\ Re ena|
|00003740| 62 6c 65 20 ef 0d 10 68 | 21 20 20 20 45 51 55 42 |ble ...h|! EQUB|
|00003750| 20 32 38 20 20 5c 20 53 | 65 74 20 74 65 78 74 20 | 28 \ S|et text |
|00003760| 77 69 6e 64 6f 77 0d 10 | 72 0d 20 20 20 45 51 55 |window..|r. EQU|
|00003770| 42 20 30 0d 10 7c 35 20 | 20 20 45 51 55 42 20 30 |B 0..|5 | EQUB 0|
|00003780| 20 20 20 5c 20 68 65 69 | 67 68 74 20 6f 66 20 73 | \ hei|ght of s|
|00003790| 63 72 65 65 6e 20 75 70 | 64 61 74 65 64 20 62 79 |creen up|dated by|
|000037a0| 20 70 72 6f 67 72 61 6d | 0d 10 86 34 20 20 20 45 | program|...4 E|
|000037b0| 51 55 42 20 30 20 20 20 | 5c 20 77 69 64 74 68 20 |QUB 0 |\ width |
|000037c0| 6f 66 20 73 63 72 65 65 | 6e 20 75 70 64 61 74 65 |of scree|n update|
|000037d0| 64 20 62 79 20 70 72 6f | 67 72 61 6d 0d 10 90 0d |d by pro|gram....|
|000037e0| 20 20 20 45 51 55 42 20 | 30 0d 10 9a 26 20 20 20 | EQUB |0...& |
|000037f0| 45 51 55 42 20 31 39 20 | 20 5c 20 44 65 66 69 6e |EQUB 19 | \ Defin|
|00003800| 65 20 63 6f 6c 20 30 20 | 61 73 20 62 6c 75 65 0d |e col 0 |as blue.|
|00003810| 10 a4 0d 20 20 20 45 51 | 55 42 20 30 0d 10 ae 0d |... EQ|UB 0....|
|00003820| 20 20 20 45 51 55 44 20 | 34 0d 10 b8 27 20 20 20 | EQUD |4...' |
|00003830| 45 51 55 42 20 31 39 20 | 20 5c 20 44 65 66 69 6e |EQUB 19 | \ Defin|
|00003840| 65 20 63 6f 6c 20 31 20 | 61 73 20 77 68 69 74 65 |e col 1 |as white|
|00003850| 0d 10 c2 0d 20 20 20 45 | 51 55 42 20 31 0d 10 cc |.... E|QUB 1...|
|00003860| 0d 20 20 20 45 51 55 44 | 20 37 0d 10 d6 20 20 20 |. EQUD| 7... |
|00003870| 20 45 51 55 42 20 31 34 | 20 20 5c 20 53 65 74 20 | EQUB 14| \ Set |
|00003880| 70 61 67 65 64 20 6d 6f | 64 65 0d 10 e0 21 20 20 |paged mo|de...! |
|00003890| 20 45 51 55 42 20 34 20 | 20 20 5c 20 55 73 65 20 | EQUB 4 | \ Use |
|000038a0| 74 65 78 74 20 63 75 72 | 73 6f 72 0d 10 ea 26 20 |text cur|sor...& |
|000038b0| 20 20 45 51 55 42 20 31 | 37 20 20 5c 20 53 65 6c | EQUB 1|7 \ Sel|
|000038c0| 65 63 74 20 54 65 78 74 | 20 63 6f 6c 6f 75 72 20 |ect Text| colour |
|000038d0| 31 0d 10 f4 0d 20 20 20 | 45 51 55 42 20 31 0d 10 |1.... |EQUB 1..|
|000038e0| fe 2c 20 20 20 45 51 55 | 42 20 31 37 20 20 5c 20 |., EQU|B 17 \ |
|000038f0| 53 65 6c 65 63 74 20 62 | 61 63 6b 67 72 6f 75 6e |Select b|ackgroun|
|00003900| 64 20 63 6f 6c 6f 75 72 | 20 30 0d 11 08 0f 20 20 |d colour| 0.... |
|00003910| 20 45 51 55 42 20 31 32 | 38 0d 11 12 13 20 20 20 | EQUB 12|8.... |
|00003920| 45 51 55 42 20 31 32 20 | 20 5c 20 db 0d 11 1c 0f |EQUB 12 | \ .....|
|00003930| 2e 54 65 72 6d 69 6e 61 | 74 6f 72 0d 11 26 1a 20 |.Termina|tor..&. |
|00003940| 20 20 53 54 4d 46 44 20 | 52 31 33 21 2c 7b 52 30 | STMFD |R13!,{R0|
|00003950| 2c 52 31 34 7d 0d 11 30 | 10 20 20 20 4d 4f 56 20 |,R14}..0|. MOV |
|00003960| 52 30 2c 23 38 0d 11 3a | 0d 2e 54 65 72 6d 4c 6f |R0,#8..:|..TermLo|
|00003970| 6f 70 0d 11 44 0e 20 20 | 20 53 57 49 20 32 35 36 |op..D. | SWI 256|
|00003980| 0d 11 4e 14 20 20 20 53 | 55 42 53 20 52 30 2c 52 |..N. S|UBS R0,R|
|00003990| 30 2c 23 31 0d 11 58 13 | 20 20 20 42 4e 45 20 54 |0,#1..X.| BNE T|
|000039a0| 65 72 6d 4c 6f 6f 70 0d | 11 62 19 20 20 20 4c 44 |ermLoop.|.b. LD|
|000039b0| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2c 50 43 7d |MFD R13!|,{R0,PC}|
|000039c0| 0d 11 6c 04 0d 11 76 4a | 2e 54 69 64 79 55 70 20 |..l...vJ|.TidyUp |
|000039d0| 20 20 20 20 20 20 20 20 | 20 20 20 5c 20 52 65 73 | | \ Res|
|000039e0| 65 74 73 20 61 70 70 6c | 27 6e 20 ef 20 73 65 74 |ets appl|'n . set|
|000039f0| 75 70 20 61 6e 64 20 74 | 72 69 65 73 20 74 6f 20 |up and t|ries to |
|00003a00| 72 65 73 74 6f 72 65 20 | 73 63 72 65 65 6e 0d 11 |restore |screen..|
|00003a10| 80 15 20 20 20 41 44 52 | 20 52 33 2c 43 6f 6c 6f |.. ADR| R3,Colo|
|00003a20| 75 72 73 0d 11 8a 10 20 | 20 20 4d 4f 56 20 52 31 |urs.... | MOV R1|
|00003a30| 2c 23 34 0d 11 94 11 20 | 20 20 4d 4f 56 20 52 32 |,#4.... | MOV R2|
|00003a40| 2c 23 31 32 0d 11 9e 0b | 2e 54 4c 6f 6f 70 31 0d |,#12....|.TLoop1.|
|00003a50| 11 a8 11 20 20 20 53 57 | 49 20 32 35 36 2b 31 39 |... SW|I 256+19|
|00003a60| 0d 11 b2 17 20 20 20 4d | 4f 56 20 52 30 2c 52 32 |.... M|OV R0,R2|
|00003a70| 2c 4c 53 52 20 23 33 0d | 11 bc 16 20 20 20 53 57 |,LSR #3.|... SW|
|00003a80| 49 20 22 4f 53 5f 57 72 | 69 74 65 43 22 0d 11 c6 |I "OS_Wr|iteC"...|
|00003a90| 13 20 20 20 41 44 44 20 | 52 30 2c 52 33 2c 52 32 |. ADD |R0,R3,R2|
|00003aa0| 0d 11 d0 16 20 20 20 53 | 57 49 20 22 4f 53 5f 57 |.... S|WI "OS_W|
|00003ab0| 72 69 74 65 4e 22 0d 11 | da 14 20 20 20 53 55 42 |riteN"..|.. SUB|
|00003ac0| 53 20 52 32 2c 52 32 2c | 23 34 0d 11 e4 11 20 20 |S R2,R2,|#4.... |
|00003ad0| 20 42 50 4c 20 54 4c 6f | 6f 70 31 0d 11 ee 10 20 | BPL TLo|op1.... |
|00003ae0| 20 20 4d 4f 56 20 52 32 | 2c 23 34 0d 11 f8 13 20 | MOV R2|,#4.... |
|00003af0| 20 20 41 44 52 20 52 33 | 2c 54 69 6e 74 73 0d 12 | ADR R3|,Tints..|
|00003b00| 02 0b 2e 54 4c 6f 6f 70 | 32 0d 12 0c 11 20 20 20 |...TLoop|2.... |
|00003b10| 53 57 49 20 32 35 36 2b | 32 33 0d 12 16 11 20 20 |SWI 256+|23.... |
|00003b20| 20 53 57 49 20 32 35 36 | 2b 31 37 0d 12 20 17 20 | SWI 256|+17.. . |
|00003b30| 20 20 4d 4f 56 20 52 30 | 2c 52 32 2c 4c 53 52 20 | MOV R0|,R2,LSR |
|00003b40| 23 32 0d 12 2a 16 20 20 | 20 53 57 49 20 22 4f 53 |#2..*. | SWI "OS|
|00003b50| 5f 57 72 69 74 65 43 22 | 0d 12 34 15 20 20 20 4c |_WriteC"|..4. L|
|00003b60| 44 52 20 52 30 2c 5b 52 | 33 2c 52 32 5d 0d 12 3e |DR R0,[R|3,R2]..>|
|00003b70| 16 20 20 20 53 57 49 20 | 22 4f 53 5f 57 72 69 74 |. SWI |"OS_Writ|
|00003b80| 65 43 22 0d 12 48 14 20 | 20 20 42 4c 20 54 65 72 |eC"..H. | BL Ter|
|00003b90| 6d 69 6e 61 74 6f 72 0d | 12 52 14 20 20 20 53 55 |minator.|.R. SU|
|00003ba0| 42 53 20 52 32 2c 52 32 | 2c 23 34 0d 12 5c 11 20 |BS R2,R2|,#4..\. |
|00003bb0| 20 20 42 50 4c 20 54 4c | 6f 6f 70 32 0d 12 66 16 | BPL TL|oop2..f.|
|00003bc0| 20 20 20 4c 44 52 42 20 | 52 30 2c 4c 6f 67 43 6f | LDRB |R0,LogCo|
|00003bd0| 6c 73 0d 12 70 11 20 20 | 20 53 57 49 20 32 35 36 |ls..p. | SWI 256|
|00003be0| 2b 31 37 0d 12 7a 16 20 | 20 20 53 57 49 20 22 4f |+17..z. | SWI "O|
|00003bf0| 53 5f 57 72 69 74 65 43 | 22 0d 12 84 18 20 20 20 |S_WriteC|".... |
|00003c00| 4c 44 52 42 20 52 30 2c | 4c 6f 67 43 6f 6c 73 2b |LDRB R0,|LogCols+|
|00003c10| 34 0d 12 8e 15 20 20 20 | 41 44 44 20 52 30 2c 52 |4.... |ADD R0,R|
|00003c20| 30 2c 23 31 32 38 0d 12 | 98 11 20 20 20 53 57 49 |0,#128..|.. SWI|
|00003c30| 20 32 35 36 2b 31 37 0d | 12 a2 16 20 20 20 53 57 | 256+17.|... SW|
|00003c40| 49 20 22 4f 53 5f 57 72 | 69 74 65 43 22 0d 12 ac |I "OS_Wr|iteC"...|
|00003c50| 11 20 20 20 53 57 49 20 | 32 35 36 2b 32 38 0d 12 |. SWI |256+28..|
|00003c60| b6 14 20 20 20 41 44 52 | 20 52 31 2c 57 69 6e 64 |.. ADR| R1,Wind|
|00003c70| 6f 77 0d 12 c0 10 20 20 | 20 4d 4f 56 20 52 32 2c |ow.... | MOV R2,|
|00003c80| 23 34 0d 12 ca 0b 2e 54 | 4c 6f 6f 70 33 0d 12 d4 |#4.....T|Loop3...|
|00003c90| 16 20 20 20 4c 44 52 42 | 20 52 30 2c 5b 52 31 5d |. LDRB| R0,[R1]|
|00003ca0| 2c 23 34 0d 12 de 16 20 | 20 20 53 57 49 20 22 4f |,#4.... | SWI "O|
|00003cb0| 53 5f 57 72 69 74 65 43 | 22 0d 12 e8 14 20 20 20 |S_WriteC|".... |
|00003cc0| 53 55 42 53 20 52 32 2c | 52 32 2c 23 31 0d 12 f2 |SUBS R2,|R2,#1...|
|00003cd0| 11 20 20 20 42 4e 45 20 | 54 4c 6f 6f 70 33 0d 12 |. BNE |TLoop3..|
|00003ce0| fc 11 20 20 20 53 57 49 | 20 32 35 36 2b 33 31 0d |.. SWI| 256+31.|
|00003cf0| 13 06 18 20 20 20 4c 44 | 52 42 20 52 30 2c 43 75 |... LD|RB R0,Cu|
|00003d00| 72 73 6f 72 50 6f 73 0d | 13 10 16 20 20 20 53 57 |rsorPos.|... SW|
|00003d10| 49 20 22 4f 53 5f 57 72 | 69 74 65 43 22 0d 13 1a |I "OS_Wr|iteC"...|
|00003d20| 1a 20 20 20 4c 44 52 42 | 20 52 30 2c 43 75 72 73 |. LDRB| R0,Curs|
|00003d30| 6f 72 50 6f 73 2b 31 0d | 13 24 16 20 20 20 53 57 |orPos+1.|.$. SW|
|00003d40| 49 20 22 4f 53 5f 57 72 | 69 74 65 43 22 0d 13 2e |I "OS_Wr|iteC"...|
|00003d50| 18 20 20 20 4c 44 52 42 | 20 52 33 2c 56 64 75 53 |. LDRB| R3,VduS|
|00003d60| 74 61 74 75 73 0d 13 38 | 27 20 20 20 54 53 54 20 |tatus..8|' TST |
|00003d70| 52 33 2c 23 31 20 20 5c | 20 50 72 69 6e 74 65 72 |R3,#1 \| Printer|
|00003d80| 20 65 6e 61 62 6c 65 64 | 20 62 69 74 0d 13 42 12 | enabled| bit..B.|
|00003d90| 20 20 20 53 57 49 4e 45 | 20 32 35 36 2b 32 0d 13 | SWINE| 256+2..|
|00003da0| 4c 21 20 20 20 54 53 54 | 20 52 33 2c 23 34 20 5c |L! TST| R3,#4 \|
|00003db0| 20 50 61 67 65 64 20 6d | 6f 64 65 20 62 69 74 0d | Paged m|ode bit.|
|00003dc0| 13 56 31 20 20 20 53 57 | 49 45 51 20 32 35 36 2b |.V1 SW|IEQ 256+|
|00003dd0| 31 35 20 5c 20 4e 6f 74 | 20 73 65 74 20 73 6f 20 |15 \ Not| set so |
|00003de0| 63 6c 65 61 72 20 70 61 | 67 65 64 20 6d 6f 64 65 |clear pa|ged mode|
|00003df0| 0d 13 60 1b 20 20 20 54 | 53 54 20 52 33 2c 23 33 |..`. T|ST R3,#3|
|00003e00| 32 20 20 5c 20 ef 35 20 | 62 69 74 0d 13 6a 12 20 |2 \ .5 |bit..j. |
|00003e10| 20 20 53 57 49 4e 45 20 | 32 35 36 2b 35 0d 13 74 | SWINE |256+5..t|
|00003e20| 29 20 20 20 54 53 54 20 | 52 33 2c 23 31 32 38 20 |) TST |R3,#128 |
|00003e30| 5c 20 44 69 73 61 62 6c | 65 64 20 62 79 20 ef 20 |\ Disabl|ed by . |
|00003e40| 32 31 20 62 69 74 0d 13 | 7e 13 20 20 20 53 57 49 |21 bit..|~. SWI|
|00003e50| 4e 45 20 32 35 36 2b 32 | 31 0d 13 88 16 20 20 20 |NE 256+2|1.... |
|00003e60| 4c 44 52 42 20 52 31 2c | 53 74 72 65 61 6d 73 0d |LDRB R1,|Streams.|
|00003e70| 13 92 10 20 20 20 4d 4f | 56 20 52 30 2c 23 33 0d |... MO|V R0,#3.|
|00003e80| 13 9c 14 20 20 20 53 57 | 49 20 22 4f 53 5f 42 79 |... SW|I "OS_By|
|00003e90| 74 65 22 0d 13 a6 1b 20 | 20 20 4c 44 52 20 52 31 |te".... | LDR R1|
|00003ea0| 2c 53 63 72 65 65 6e 43 | 6c 61 69 6d 65 64 0d 13 |,ScreenC|laimed..|
|00003eb0| b0 10 20 20 20 43 4d 50 | 20 52 31 2c 23 30 0d 13 |.. CMP| R1,#0..|
|00003ec0| ba 40 20 20 20 42 45 51 | 20 57 69 6d 70 20 20 20 |.@ BEQ| Wimp |
|00003ed0| 5c 20 20 53 63 72 65 65 | 6e 20 6e 6f 74 20 73 74 |\ Scree|n not st|
|00003ee0| 6f 72 65 64 20 74 68 65 | 72 65 66 6f 72 65 20 74 |ored the|refore t|
|00003ef0| 72 79 20 77 69 6d 70 20 | 72 65 64 72 61 77 0d 13 |ry wimp |redraw..|
|00003f00| c4 19 20 20 20 4c 44 52 | 20 52 32 2c 53 63 72 65 |.. LDR| R2,Scre|
|00003f10| 65 6e 53 74 61 72 74 0d | 13 ce 18 20 20 20 4c 44 |enStart.|... LD|
|00003f20| 52 20 52 33 2c 53 63 72 | 65 65 6e 53 69 7a 65 0d |R R3,Scr|eenSize.|
|00003f30| 13 d8 0b 2e 54 4c 6f 6f | 70 34 0d 13 e2 19 20 20 |....TLoo|p4.... |
|00003f40| 20 4c 44 4d 49 41 20 52 | 31 21 2c 7b 52 34 2d 52 | LDMIA R|1!,{R4-R|
|00003f50| 31 31 7d 0d 13 ec 19 20 | 20 20 53 54 4d 49 41 20 |11}.... | STMIA |
|00003f60| 52 32 21 2c 7b 52 34 2d | 52 31 31 7d 0d 13 f6 15 |R2!,{R4-|R11}....|
|00003f70| 20 20 20 53 55 42 53 20 | 52 33 2c 52 33 2c 23 33 | SUBS |R3,R3,#3|
|00003f80| 32 0d 14 00 11 20 20 20 | 42 48 49 20 54 4c 6f 6f |2.... |BHI TLoo|
|00003f90| 70 34 0d 14 0a 10 20 20 | 20 4d 4f 56 20 52 30 2c |p4.... | MOV R0,|
|00003fa0| 23 30 0d 14 14 21 20 20 | 20 53 57 49 20 22 4f 53 |#0...! | SWI "OS|
|00003fb0| 5f 43 6c 61 69 6d 53 63 | 72 65 65 6e 4d 65 6d 6f |_ClaimSc|reenMemo|
|00003fc0| 72 79 22 0d 14 1e 09 2e | 57 69 6d 70 0d 14 28 47 |ry".....|Wimp..(G|
|00003fd0| 20 20 20 4c 44 52 42 20 | 52 31 2c 57 69 6d 70 46 | LDRB |R1,WimpF|
|00003fe0| 6c 61 67 20 20 5c 20 20 | 4c 6f 61 64 20 66 6c 61 |lag \ |Load fla|
|00003ff0| 67 20 77 68 69 63 68 20 | 69 6e 64 69 63 61 74 65 |g which |indicate|
|00004000| 73 20 69 66 20 77 69 6d | 70 20 69 73 20 61 63 74 |s if wim|p is act|
|00004010| 69 76 65 0d 14 32 3b 20 | 20 20 43 4d 50 20 52 31 |ive..2; | CMP R1|
|00004020| 2c 23 30 20 20 20 20 20 | 20 20 20 20 5c 20 20 49 |,#0 | \ I|
|00004030| 66 20 66 6c 61 67 20 69 | 73 20 7a 65 72 6f 20 74 |f flag i|s zero t|
|00004040| 68 65 6e 20 6e 6f 74 20 | 61 63 74 69 76 65 0d 14 |hen not |active..|
|00004050| 3c 2d 20 20 20 42 45 51 | 20 46 69 6e 69 73 68 20 |<- BEQ| Finish |
|00004060| 20 20 20 20 20 20 20 5c | 20 20 73 6f 20 62 72 61 | \| so bra|
|00004070| 6e 63 68 20 74 6f 20 65 | 78 69 74 0d 14 46 42 20 |nch to e|xit..FB |
|00004080| 20 20 4d 56 4e 20 52 30 | 2c 23 30 20 20 20 20 20 | MVN R0|,#0 |
|00004090| 20 20 20 20 5c 20 20 4f | 74 68 65 72 77 69 73 65 | \ O|therwise|
|000040a0| 20 6d 61 72 6b 20 77 68 | 6f 6c 65 20 73 63 72 65 | mark wh|ole scre|
|000040b0| 65 6e 20 61 73 20 69 6e | 76 61 6c 69 64 0d 14 50 |en as in|valid..P|
|000040c0| 10 20 20 20 4d 4f 56 20 | 52 31 2c 23 30 0d 14 5a |. MOV |R1,#0..Z|
|000040d0| 10 20 20 20 4d 4f 56 20 | 52 32 2c 23 30 0d 14 64 |. MOV |R2,#0..d|
|000040e0| 13 20 20 20 4d 4f 56 20 | 52 33 2c 23 32 33 30 34 |. MOV |R3,#2304|
|000040f0| 0d 14 6e 13 20 20 20 4d | 4f 56 20 52 34 2c 23 31 |..n. M|OV R4,#1|
|00004100| 37 39 32 0d 14 78 48 20 | 20 20 53 57 49 20 22 58 |792..xH | SWI "X|
|00004110| 57 69 6d 70 5f 46 6f 72 | 63 65 52 65 64 72 61 77 |Wimp_For|ceRedraw|
|00004120| 22 20 20 5c 20 77 68 69 | 63 68 20 63 61 75 73 65 |" \ whi|ch cause|
|00004130| 73 20 77 69 6d 70 20 74 | 6f 20 72 65 64 72 61 77 |s wimp t|o redraw|
|00004140| 20 74 68 65 20 73 63 72 | 65 65 6e 0d 14 82 0b 2e | the scr|een.....|
|00004150| 46 69 6e 69 73 68 0d 14 | 8c 10 20 20 20 4d 4f 56 |Finish..|.. MOV|
|00004160| 20 52 30 2c 50 43 0d 14 | 96 2b 20 20 20 84 52 20 | R0,PC..|.+ .R |
|00004170| 52 30 2c 52 30 2c 23 31 | 3c 3c 32 37 20 5c 20 53 |R0,R0,#1|<<27 \ S|
|00004180| 65 74 20 69 6e 74 65 72 | 72 75 70 74 20 66 6c 61 |et inter|rupt fla|
|00004190| 67 0d 14 a0 27 20 20 20 | 54 45 51 50 20 52 30 2c |g...' |TEQP R0,|
|000041a0| 23 30 20 20 20 20 20 20 | 20 5c 20 57 72 69 74 65 |#0 | \ Write|
|000041b0| 20 74 6f 20 66 6c 61 67 | 0d 14 aa 15 20 20 20 4c | to flag|.... L|
|000041c0| 44 52 42 20 52 30 2c 41 | 63 74 69 76 65 0d 14 b4 |DRB R0,A|ctive...|
|000041d0| 2c 20 20 20 53 55 42 20 | 52 30 2c 52 30 2c 23 31 |, SUB |R0,R0,#1|
|000041e0| 32 38 20 20 5c 20 52 65 | 73 74 6f 72 65 20 61 63 |28 \ Re|store ac|
|000041f0| 74 69 76 65 20 66 6c 61 | 67 0d 14 be 15 20 20 20 |tive fla|g.... |
|00004200| 53 54 52 42 20 52 30 2c | 41 63 74 69 76 65 0d 14 |STRB R0,|Active..|
|00004210| c8 17 20 20 20 41 44 52 | 20 52 31 34 2c 52 65 67 |.. ADR| R14,Reg|
|00004220| 53 74 6f 72 65 0d 14 d2 | 1a 20 20 20 4c 44 4d 49 |Store...|. LDMI|
|00004230| 41 20 52 31 34 2c 7b 52 | 30 2d 52 31 34 7d 5e 0d |A R14,{R|0-R14}^.|
|00004240| 14 dc 1a 20 20 20 4c 44 | 52 20 52 31 34 2c 5b 52 |... LD|R R14,[R|
|00004250| 31 34 2c 23 31 35 2a 34 | 5d 0d 14 e6 12 20 20 20 |14,#15*4|].... |
|00004260| 4d 4f 56 53 20 50 43 2c | 52 31 34 0d 14 f0 04 0d |MOVS PC,|R14.....|
|00004270| 14 fa 0c 2e 45 73 63 61 | 70 65 53 0d 15 04 0e 20 |....Esca|peS.... |
|00004280| 20 20 45 51 55 44 20 31 | 37 0d 15 0e 14 20 20 20 | EQUD 1|7.... |
|00004290| 45 51 55 53 20 22 45 73 | 63 61 70 65 22 0d 15 18 |EQUS "Es|cape"...|
|000042a0| 0d 20 20 20 45 51 55 42 | 20 30 0d 15 22 0c 20 20 |. EQUB| 0..". |
|000042b0| 20 41 4c 49 47 4e 0d 15 | 2c 0d 2e 45 73 63 45 72 | ALIGN..|,..EscEr|
|000042c0| 72 6f 72 0d 15 36 12 20 | 20 20 4d 4f 56 20 52 30 |ror..6. | MOV R0|
|000042d0| 2c 23 31 32 34 0d 15 40 | 2e 20 20 20 53 57 49 20 |,#124..@|. SWI |
|000042e0| 22 58 4f 53 5f 42 79 74 | 65 22 20 5c 20 43 6c 65 |"XOS_Byt|e" \ Cle|
|000042f0| 61 72 20 45 73 63 61 70 | 65 20 63 6f 6e 64 69 74 |ar Escap|e condit|
|00004300| 69 6f 6e 0d 15 4a 15 20 | 20 20 41 44 52 20 52 30 |ion..J. | ADR R0|
|00004310| 2c 45 73 63 61 70 65 53 | 0d 15 54 0f 2e 50 72 69 |,EscapeS|..T..Pri|
|00004320| 6e 74 45 72 72 6f 72 0d | 15 5e 13 20 20 20 41 44 |ntError.|.^. AD|
|00004330| 44 20 52 30 2c 52 30 2c | 23 34 0d 15 68 17 20 20 |D R0,R0,|#4..h. |
|00004340| 20 53 57 49 20 22 4f 53 | 5f 4e 65 77 4c 69 6e 65 | SWI "OS|_NewLine|
|00004350| 22 0d 15 72 16 20 20 20 | 53 57 49 20 22 4f 53 5f |"..r. |SWI "OS_|
|00004360| 57 72 69 74 65 30 22 0d | 15 7c 0f 20 20 20 42 20 |Write0".|.|. B |
|00004370| 45 43 4c 6f 6f 70 0d 15 | 86 05 5d 0d 15 90 05 ed |ECLoop..|..].....|
|00004380| 0d 15 9a 29 ff 28 22 53 | 41 56 45 20 49 6e 74 4d |...).("S|AVE IntM|
|00004390| 6f 64 75 6c 65 20 22 2b | c3 7e 53 70 61 63 65 2b |odule "+|.~Space+|
|000043a0| 22 2b 22 2b c3 7e 50 25 | 29 0d 15 a4 1e ff 28 22 |"+"+.~P%|).....("|
|000043b0| 53 45 54 54 59 50 45 20 | 49 6e 74 4d 6f 64 75 6c |SETTYPE |IntModul|
|000043c0| 65 20 46 46 41 22 29 0d | ff |e FFA").|. |
+--------+-------------------------+-------------------------+--------+--------+