Continue disassembling...
diff --git a/vsmile/listfile b/vsmile/listfile
index 0ea4c65..f2fba0c 100644
--- a/vsmile/listfile
+++ b/vsmile/listfile
@@ -358,8 +358,41 @@
 - A size
 .
 w8005
+pa1cc
+la228 return
+wa229
+
 pA239 SPUBeat_update
 pA24E
+la260
+la2dd
+la30f
+pa31b
+la374
+pa46e
+pa51d
+pa5b6
+la5d1
+la5ee
+la5f6
+pa629
+pa63d
+pa655
+pa65a
+la667
+la66f
+la67e
+pa6b9
+pa6d0
+pa6e9
+pa710
+pa77a GetSPUChannelStatus
+pa77f
+pa792
+pa7a5
+pa7b1
+pa7c2
+pa7cc
 pA819 sendToController
 ka828 disable interrupts
 ka82d reset controller ID
@@ -618,8 +651,12 @@
 pe963 WAIT_UNTIL_08BB_EQUAL_0
 pe96e
 pe98a
+peb2a
+pebdc
+pec13
 peaf4
 peaff
+pf06e
 pf606
 
 pf616
@@ -631,6 +668,9 @@
 lf693
 lf6f3
 
+pf8da
+pf97c
+
 wfaea
 pfbb7
 lfbc0
@@ -647,6 +687,7 @@
 l12304 ret_neg1_1221b
 l12307 ret_1221b
 p1230a
+p12530
 p13a1c
 
 p137b4 syncControllers
@@ -1408,12 +1449,15 @@
 Same as READ_IOC4_BOOTLOGO
 .
 p1a113
+p1a18d
+p1a199
 p1a20a READ_IOC_LANG_RAW_ALT
 k1a20a Same as READ_IOC_LANGUAGE_RAW
 p1a20e SET_EXTROM_CONFIG
 p1a21e GET_EXTROM_CONFIG
 w1a224
 
+p1a30b
 p1a336 ADC_update
 p1a34f
 p1a3cb GetTestValue
diff --git a/vsmile/test.dasm b/vsmile/test.dasm
index 150f395..ea3faa4 100644
--- a/vsmile/test.dasm
+++ b/vsmile/test.dasm
@@ -2383,1737 +2383,1902 @@
     A1B3:    DW      5E00, C250, 5E00, 9309, 8000, D319, 0010, F143
     A1BB:    DW      9A90, 0000, 0025, 0050, 0100, 0150, 0200, 0250
     A1C3:    DW      0300, 0350, 0400, 0450, 0550, 0700, 0850, 0A00
-    A1CB:    DW      0B50, 9311, 016B, B243, 4E02, FE80, A228, 9914
-    A1D3:    DW      0010, 0860, B90C, FFC0, 890C, 8000, 9311, 016C
-    A1DB:    DW      C241, 5E08, C248, 5E02, D91C, 3410, C250, 5E02
-    A1E3:    DW      D91C, 3411, 9311, 016B, 4309, 8001, 5E02, FE80
-    A1EB:    DW      A228, 9640, D71B, 000C, 9311, 000D, 4311, 0020
-    A1F3:    DW      5E07, 0511, 000E, 98C2, 0241, 4311, 0020, 3E13
-    A1FB:    DW      9311, 000B, 4241, 4E29, 9512, 000E, 9311, 000F
-    A203:    DW      D319, 000E, D51A, 000F, 9311, 001F, D319, 0020
-    A20B:    DW      9240, D319, 000B, D319, 000D, 9713, 0008, F144
-    A213:    DW      F60C, F145, 4840, 7E06, 230C, 1FFF, 3E09, 990C
-    A21B:    DW      7FFF, EE07, 230C, E000, 2E03, 990C, 8000, EE01
-    A223:    DW      994C, 933C, 2939, D91C, 0010, 9A90, 0001, 0002
-    A22B:    DW      0004, 0008, 0010, 0020, 0040, 0080, 0100, 0200
-    A233:    DW      0400, 0800, 1000, 2000, 4000, 8000
-
-;----------------------------------------------------------------
-;        Function: SPUBeat_update
-
-SPUBeat_update:
-    A239:    00 42          ADD  SP, #2
-    A23A:    93 11 08 C0    LD   R1, [08c0]
-    A23C:    C2 41          TEST #1
-    A23D:    5E 0E          JZ   a24c
-    A23E:    93 11 34 05    LD   R1, [3405]
-    A240:    C3 09 40 00    TEST R1, #4000
-    A242:    5E 09          JZ   a24c
-    A243:    B3 09 7F FF    AND  R1, R1, #7fff
-    A245:    D3 19 34 05    ST   R1, [3405]
-    A247:    93 09 A2 4E    LD   R1, #a24e
-    A249:    D2 88          PUSH R1-R1, [SP]
-    A24A:    DC 88          PUSH SR-SR, [SP]
-    A24B:    9A 98          RETI 
-    A24C:    90 A8          POP  R1-BP, [SP]
-    A24D:    9A 98          RETI 
+    A1CB:    DW      0B50
 
 ;----------------------------------------------------------------
 ;        Function: ___PROC_0001
 
 ___PROC_0001:
-    A24E:    93 11 08 9C    LD   R1, [089c]
-    A250:    95 12 34 0A    LD   R2, [340a]
-    A252:    A3 02          OR   R1, R2
-    A253:    D3 19 34 0A    ST   R1, [340a]
-    A255:    97 0B 08 9E    LD   R3, #89e
-    A257:    07 13 08 9D    ADD  R3, [089d]
-    A259:    92 C3          LD   R1, [R3]
-    A25A:    42 40          CMP  R1, #0
-    A25B:    5E 04          JZ   a260
-    A25C:    F0 40 A6 E9    CALL 0000a6e9
-    A25E:    9F 0F A3 0F    LJMP 0000a30f
-    A260:    F0 40 A6 3D    CALL 0000a63d
-    A262:    C3 09 80 00    TEST R1, #8000
-    A264:    5E 02          JZ   a267
-    A265:    9F 0F A2 DD    LJMP 0000a2dd
-    A267:    95 01          LD   R2, R1
-    A268:    B5 0A F0 00    AND  R2, R2, #f000
-    A26A:    44 40          CMP  R2, #0
-    A26B:    4E 0C          JNZ  a278
-    A26C:    9B 0D 08 ED    LD   BP, #8ed
-    A26E:    95 79          LD   R2, R1 LSR 4
-    A26F:    95 7A          LD   R2, R2 LSR 4
-    A270:    0B 02          ADD  BP, R2
-    A271:    B7 09 00 FF    AND  R3, R1, #ff
-    A273:    B7 0B 00 7F    AND  R3, R3, #7f
-    A275:    D6 C5          ST   R3, [BP]
-    A276:    9F 0F A2 60    LJMP 0000a260
-    A278:    45 0A 10 00    CMP  R2, R2, #1000
-    A27A:    4E 0D          JNZ  a288
-    A27B:    B9 09 00 F0    AND  R4, R1, #f0
-    A27D:    99 7C          LD   R4, R4 LSR 4
-    A27E:    D9 1C 08 EA    ST   R4, [08ea]
-    A280:    B9 09 00 07    AND  R4, R1, #7
-    A282:    F0 40 A6 3D    CALL 0000a63d
-    A284:    F0 40 A6 29    CALL 0000a629
-    A286:    9F 0F A2 60    LJMP 0000a260
-    A288:    45 0A 20 00    CMP  R2, R2, #2000
-    A28A:    4E 36          JNZ  a2c1
-    A28B:    C3 09 08 00    TEST R1, #800
-    A28D:    5E 02          JZ   a290
-    A28E:    9F 0F A2 60    LJMP 0000a260
-    A290:    95 12 08 C0    LD   R2, [08c0]
-    A292:    C5 0A 01 00    TEST R2, #100
-    A294:    4E 1B          JNZ  a2b0
-    A295:    95 12 08 C0    LD   R2, [08c0]
-    A297:    C5 0A 02 00    TEST R2, #200
-    A299:    5E 0B          JZ   a2a5
-    A29A:    95 12 08 C1    LD   R2, [08c1]
-    A29C:    D5 1A 08 C3    ST   R2, [08c3]
-    A29E:    95 12 08 C2    LD   R2, [08c2]
-    A2A0:    D5 1A 08 C4    ST   R2, [08c4]
-    A2A2:    92 40          LD   R1, #0
-    A2A3:    9F 0F A3 0F    LJMP 0000a30f
-    A2A5:    92 41          LD   R1, #1
-    A2A6:    83 09 FF FF    XOR  R1, R1, #ffff
-    A2A8:    95 12 08 C0    LD   R2, [08c0]
-    A2AA:    B5 01          AND  R2, R1
-    A2AB:    D5 1A 08 C0    ST   R2, [08c0]
-    A2AD:    92 40          LD   R1, #0
-    A2AE:    9F 0F A3 15    LJMP 0000a315
-    A2B0:    95 0A A2 BF    LD   R2, #a2bf
-    A2B2:    D4 88          PUSH R2-R2, [SP]
-    A2B3:    92 40          LD   R1, #0
-    A2B4:    B5 0E FF C0    AND  R2, SR, #ffc0
-    A2B6:    A3 02          OR   R1, R2
-    A2B7:    D2 88          PUSH R1-R1, [SP]
-    A2B8:    93 11 08 C5    LD   R1, [08c5]
-    A2BA:    95 12 08 C6    LD   R2, [08c6]
-    A2BC:    D4 88          PUSH R2-R2, [SP]
-    A2BD:    D2 88          PUSH R1-R1, [SP]
-    A2BE:    9A 90          RETF 
-    A2BF:    90 A8          POP  R1-BP, [SP]
-    A2C0:    9A 90          RETF 
-    A2C1:    45 0A 40 00    CMP  R2, R2, #4000
-    A2C3:    5E 02          JZ   a2c6
-    A2C4:    9F 0F A3 0F    LJMP 0000a30f
-    A2C6:    B3 09 3F FF    AND  R1, R1, #3fff
-    A2C8:    9B 0D 08 9E    LD   BP, #89e
-    A2CA:    0B 15 08 9D    ADD  BP, [089d]
-    A2CC:    D2 C5          ST   R1, [BP]
-    A2CD:    F0 40 A6 E9    CALL 0000a6e9
-    A2CF:    95 12 08 AF    LD   R2, [08af]
-    A2D1:    D5 1A 34 0B    ST   R2, [340b]
-    A2D3:    97 13 34 0F    LD   R3, [SPU_CHANNEL_STATUS]
-    A2D5:    A7 02          OR   R3, R2
-    A2D6:    D7 1B 34 00    ST   R3, [SPU_CHANNEL_ENABLE]
-    A2D8:    94 40          LD   R2, #0
-    A2D9:    D5 1A 08 AF    ST   R2, [08af]
-    A2DB:    9F 0F A3 0F    LJMP 0000a30f
-    A2DD:    99 01          LD   R4, R1
-    A2DE:    B2 4F          AND  R1, #f
-    A2DF:    D3 19 08 C8    ST   R1, [08c8]
-    A2E1:    93 04          LD   R1, R4
-    A2E2:    B3 09 7F F0    AND  R1, R1, #7ff0
-    A2E4:    93 79          LD   R1, R1 LSR 4
-    A2E5:    D3 19 08 C7    ST   R1, [08c7]
-    A2E7:    F0 40 A6 3D    CALL 0000a63d
-    A2E9:    99 01          LD   R4, R1
-    A2EA:    B3 09 7F 00    AND  R1, R1, #7f00
-    A2EC:    93 79          LD   R1, R1 LSR 4
-    A2ED:    93 79          LD   R1, R1 LSR 4
-    A2EE:    D3 19 08 C9    ST   R1, [08c9]
-    A2F0:    93 04          LD   R1, R4
-    A2F1:    B3 09 00 7F    AND  R1, R1, #7f
-    A2F3:    D3 19 08 CA    ST   R1, [08ca]
-    A2F5:    F0 40 A6 3D    CALL 0000a63d
-    A2F7:    99 01          LD   R4, R1
-    A2F8:    B3 09 7F 00    AND  R1, R1, #7f00
-    A2FA:    93 79          LD   R1, R1 LSR 4
-    A2FB:    93 79          LD   R1, R1 LSR 4
-    A2FC:    D3 19 08 CB    ST   R1, [08cb]
-    A2FE:    B3 0C 00 7F    AND  R1, R4, #7f
-    A300:    95 12 08 EC    LD   R2, [08ec]
-    A302:    F2 0A          ???  
-    A303:    99 BC          LD   R4, ?? unknown op1 6
-    A304:    97 BB          LD   R3, ?? unknown op1 6
-    A305:    99 B4          LD   R4, ?? unknown op1 6
-    A306:    97 B3          LD   R3, ?? unknown op1 6
-    A307:    B7 0B 00 7F    AND  R3, R3, #7f
-    A309:    D7 1B 08 CC    ST   R3, [08cc]
-    A30B:    F0 40 A3 1B    CALL 0000a31b
-    A30D:    9F 0F A2 60    LJMP 0000a260
-    A30F:    A3 09 C0 00    OR   R1, R1, #c000
-    A311:    D3 19 34 05    ST   R1, [3405]
-    A313:    90 A8          POP  R1-BP, [SP]
-    A314:    9A 90          RETF 
-    A315:    A3 09 40 00    OR   R1, R1, #4000
-    A317:    D3 19 34 05    ST   R1, [3405]
-    A319:    90 A8          POP  R1-BP, [SP]
-    A31A:    9A 90          RETF 
-    A31B:    93 11 08 C8    LD   R1, [08c8]
-    A31D:    42 49          CMP  R1, #9
-    A31E:    4E 04          JNZ  a323
-    A31F:    F0 40 A5 1D    CALL 0000a51d
-    A321:    9F 0F A3 74    LJMP 0000a374
-    A323:    F0 40 A6 5A    CALL 0000a65a
-    A325:    D3 19 08 E8    ST   R1, [08e8]
-    A327:    95 12 08 C8    LD   R2, [08c8]
-    A329:    9B 0D 08 B0    LD   BP, #8b0
-    A32B:    0B 02          ADD  BP, R2
-    A32C:    D2 C5          ST   R1, [BP]
-    A32D:    9B 0D 08 9E    LD   BP, #89e
-    A32F:    0B 01          ADD  BP, R1
-    A330:    93 11 08 C7    LD   R1, [08c7]
-    A332:    D2 C5          ST   R1, [BP]
-    A333:    9B 0D 08 ED    LD   BP, #8ed
-    A335:    93 11 08 C8    LD   R1, [08c8]
-    A337:    0B 01          ADD  BP, R1
-    A338:    92 C5          LD   R1, [BP]
-    A339:    99 14 09 52    LD   R4, [0952]
-    A33B:    D9 1C 3D 2F    ST   R4, [DS]
-    A33D:    9B 15 09 53    LD   BP, [0953]
-    A33F:    0B 01          ADD  BP, R1
-    A340:    94 F5          LD   R2, D:[BP++]
-    A341:    96 E5          LD   R3, D:[BP]
-    A342:    99 14 09 54    LD   R4, [0954]
-    A344:    D9 1C 3D 2F    ST   R4, [DS]
-    A346:    9B 15 09 55    LD   BP, [0955]
-    A348:    93 11 08 CA    LD   R1, [08ca]
-    A34A:    D3 19 08 E7    ST   R1, [08e7]
-    A34C:    99 05          LD   R4, BP
-    A34D:    09 02          ADD  R4, R2
-    A34E:    98 E4          LD   R4, D:[R4]
-    A34F:    B9 0C 00 FF    AND  R4, R4, #ff
-    A351:    43 04          CMP  R1, R4
-    A352:    8E 03          XOR  PC, [BP+3]
-    A353:    04 41          ADD  R2, #1
-    A354:    45 03          CMP  R2, R3
-    A355:    0E 4A          JCC  a34c
-    A356:    99 05          LD   R4, BP
-    A357:    09 02          ADD  R4, R2
-    A358:    98 E4          LD   R4, D:[R4]
-    A359:    93 7C          LD   R1, R4 LSR 4
-    A35A:    93 79          LD   R1, R1 LSR 4
-    A35B:    D3 19 08 E6    ST   R1, [08e6]
-    A35D:    99 14 09 56    LD   R4, [0956]
-    A35F:    D9 1C 3D 2F    ST   R4, [DS]
-    A361:    9B 15 09 57    LD   BP, [0957]
-    A363:    95 42          LD   R2, R2 LSL 1
-    A364:    0B 02          ADD  BP, R2
-    A365:    92 F5          LD   R1, D:[BP++]
-    A366:    D3 19 08 E4    ST   R1, [08e4]
-    A368:    42 48          CMP  R1, #8
-    A369:    92 E5          LD   R1, D:[BP]
-    A36A:    D3 19 08 E5    ST   R1, [08e5]
-    A36C:    F0 40 A7 B1    CALL 0000a7b1
-    A36E:    D3 19 08 E9    ST   R1, [08e9]
-    A370:    F0 40 A7 CC    CALL 0000a7cc
-    A372:    F0 40 A4 6E    CALL 0000a46e
-    A374:    92 40          LD   R1, #0
-    A375:    D3 19 3D 2F    ST   R1, [DS]
-    A377:    93 09 A2 29    LD   R1, #a229
-    A379:    07 11 08 E8    ADD  R3, [08e8]
-    A37B:    92 E3          LD   R1, D:[R3]
-    A37C:    95 12 08 AF    LD   R2, [08af]
-    A37E:    A5 01          OR   R2, R1
-    A37F:    D5 1A 08 AF    ST   R2, [08af]
-    A381:    9A 90          RETF 
-    A382:    DA 88          PUSH BP-BP, [SP]
-    A383:    0B 08 00 01    ADD  BP, SP, #1
-    A385:    99 14 08 C0    LD   R4, [08c0]
-    A387:    A8 41          OR   R4, #1
-    A388:    D9 1C 08 C0    ST   R4, [08c0]
-    A38A:    92 03          LD   R1, [BP+3]
-    A38B:    94 04          LD   R2, [BP+4]
-    A38C:    96 05          LD   R3, [BP+5]
-    A38D:    C6 41          TEST #1
-    A38E:    5E 06          JZ   a395
-    A38F:    97 13 08 C0    LD   R3, [08c0]
-    A391:    A7 0B 02 00    OR   R3, R3, #200
-    A393:    D7 1B 08 C0    ST   R3, [08c0]
-    A395:    D3 19 08 C3    ST   R1, [08c3]
-    A397:    D3 19 08 C1    ST   R1, [08c1]
-    A399:    D5 1A 08 C4    ST   R2, [08c4]
-    A39B:    D5 1A 08 C2    ST   R2, [08c2]
-    A39D:    93 09 01 60    LD   R1, #160
-    A39F:    D3 19 34 04    ST   R1, [3404]
-    A3A1:    93 09 C0 00    LD   R1, #c000
-    A3A3:    D3 19 34 05    ST   R1, [3405]
-    A3A5:    98 88          POP  BP-BP, [SP]
-    A3A6:    9A 90          RETF 
-    A3A7:    DA 88          PUSH BP-BP, [SP]
-    A3A8:    93 11 08 C0    LD   R1, [08c0]
-    A3AA:    C2 41          TEST #1
-    A3AB:    5E 1F          JZ   a3cb
-    A3AC:    93 09 40 00    LD   R1, #4000
-    A3AE:    D3 19 34 05    ST   R1, [3405]
-    A3B0:    92 40          LD   R1, #0
-    A3B1:    D3 19 08 9C    ST   R1, [089c]
-    A3B3:    99 14 08 9B    LD   R4, [089b]
-    A3B5:    89 0C FF FF    XOR  R4, R4, #ffff
-    A3B7:    93 11 34 0F    LD   R1, [SPU_CHANNEL_STATUS]
-    A3B9:    B3 04          AND  R1, R4
-    A3BA:    D3 19 34 00    ST   R1, [SPU_CHANNEL_ENABLE]
-    A3BC:    9B 0D 08 9E    LD   BP, #89e
-    A3BE:    99 14 08 9D    LD   R4, [089d]
-    A3C0:    0B 04          ADD  BP, R4
-    A3C1:    D2 C5          ST   R1, [BP]
-    A3C2:    2A 41          SUB  BP, #1
-    A3C3:    28 41          SUB  R4, #1
-    A3C4:    6E 44          NEG  PC, #4
-    A3C5:    93 11 08 C0    LD   R1, [08c0]
-    A3C7:    A3 09 04 00    OR   R1, R1, #400
-    A3C9:    D3 19 08 C0    ST   R1, [08c0]
-    A3CB:    98 88          POP  BP-BP, [SP]
-    A3CC:    9A 90          RETF 
-    A3CD:    DA 88          PUSH BP-BP, [SP]
-    A3CE:    93 11 08 C0    LD   R1, [08c0]
-    A3D0:    C2 41          TEST #1
-    A3D1:    5E 10          JZ   a3e2
-    A3D2:    C3 09 04 00    TEST R1, #400
-    A3D4:    5E 0D          JZ   a3e2
-    A3D5:    93 09 C0 00    LD   R1, #c000
-    A3D7:    D3 19 34 05    ST   R1, [3405]
-    A3D9:    93 09 04 00    LD   R1, #400
-    A3DB:    83 09 FF FF    XOR  R1, R1, #ffff
-    A3DD:    95 12 08 C0    LD   R2, [08c0]
-    A3DF:    B5 01          AND  R2, R1
-    A3E0:    D5 1A 08 C0    ST   R2, [08c0]
-    A3E2:    98 88          POP  BP-BP, [SP]
-    A3E3:    9A 90          RETF 
-    A3E4:    DA 88          PUSH BP-BP, [SP]
-    A3E5:    93 11 08 C0    LD   R1, [08c0]
-    A3E7:    C2 41          TEST #1
-    A3E8:    5E 1A          JZ   a403
-    A3E9:    B3 09 40 00    AND  R1, R1, #4000
-    A3EB:    D3 19 34 05    ST   R1, [3405]
-    A3ED:    92 41          LD   R1, #1
-    A3EE:    83 09 FF FF    XOR  R1, R1, #ffff
-    A3F0:    95 12 08 C0    LD   R2, [08c0]
-    A3F2:    B5 01          AND  R2, R1
-    A3F3:    93 09 02 00    LD   R1, #200
-    A3F5:    83 09 FF FF    XOR  R1, R1, #ffff
-    A3F7:    B5 01          AND  R2, R1
-    A3F8:    D5 1A 08 C0    ST   R2, [08c0]
-    A3FA:    99 14 08 9B    LD   R4, [089b]
-    A3FC:    89 0C FF FF    XOR  R4, R4, #ffff
-    A3FE:    93 11 34 0F    LD   R1, [SPU_CHANNEL_STATUS]
-    A400:    B3 04          AND  R1, R4
-    A401:    D3 19 34 00    ST   R1, [SPU_CHANNEL_ENABLE]
-    A403:    98 88          POP  BP-BP, [SP]
-    A404:    9A 90          RETF 
-    A405:    DA 88          PUSH BP-BP, [SP]
-    A406:    0B 08 00 01    ADD  BP, SP, #1
-    A408:    92 04          LD   R1, [BP+4]
-    A409:    D3 19 08 E4    ST   R1, [08e4]
-    A40B:    92 05          LD   R1, [BP+5]
-    A40C:    D3 19 08 E5    ST   R1, [08e5]
-    A40E:    92 03          LD   R1, [BP+3]
-    A40F:    D3 19 08 E7    ST   R1, [08e7]
-    A411:    F0 40 A6 5A    CALL 0000a65a
-    A413:    D3 19 08 E8    ST   R1, [08e8]
-    A415:    94 06          LD   R2, [BP+6]
-    A416:    D5 1A 08 C9    ST   R2, [08c9]
-    A418:    94 07          LD   R2, [BP+7]
-    A419:    D5 1A 08 CB    ST   R2, [08cb]
-    A41B:    95 0A 00 7F    LD   R2, #7f
-    A41D:    D5 1A 08 CC    ST   R2, [08cc]
-    A41F:    F0 40 A7 B1    CALL 0000a7b1
-    A421:    D3 19 08 E9    ST   R1, [08e9]
-    A423:    F0 40 A7 CC    CALL 0000a7cc
-    A425:    F0 40 A4 6E    CALL 0000a46e
-    A427:    98 40          LD   R4, #0
-    A428:    D9 1C 3D 2F    ST   R4, [DS]
-    A42A:    99 0C A2 29    LD   R4, #a229
-    A42C:    07 14 08 E8    ADD  R3, [08e8]
-    A42E:    98 E3          LD   R4, D:[R3]
-    A42F:    D9 1C 34 0B    ST   R4, [340b]
-    A431:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A433:    A9 02          OR   R4, R2
-    A434:    D9 1C 34 00    ST   R4, [SPU_CHANNEL_ENABLE]
-    A436:    98 88          POP  BP-BP, [SP]
-    A437:    93 11 08 E8    LD   R1, [08e8]
-    A439:    9A 90          RETF 
-    A43A:    DA 88          PUSH BP-BP, [SP]
-    A43B:    0B 08 00 01    ADD  BP, SP, #1
-    A43D:    92 05          LD   R1, [BP+5]
-    A43E:    D3 19 08 E4    ST   R1, [08e4]
-    A440:    92 06          LD   R1, [BP+6]
-    A441:    D3 19 08 E5    ST   R1, [08e5]
-    A443:    92 04          LD   R1, [BP+4]
-    A444:    D3 19 08 E7    ST   R1, [08e7]
-    A446:    92 03          LD   R1, [BP+3]
-    A447:    D3 19 08 E8    ST   R1, [08e8]
-    A449:    94 07          LD   R2, [BP+7]
-    A44A:    D5 1A 08 C9    ST   R2, [08c9]
-    A44C:    94 08          LD   R2, [BP+8]
-    A44D:    D5 1A 08 CB    ST   R2, [08cb]
-    A44F:    95 0A 00 7F    LD   R2, #7f
-    A451:    D5 1A 08 CC    ST   R2, [08cc]
-    A453:    F0 40 A7 B1    CALL 0000a7b1
-    A455:    D3 19 08 E9    ST   R1, [08e9]
-    A457:    F0 40 A7 CC    CALL 0000a7cc
-    A459:    F0 40 A4 6E    CALL 0000a46e
-    A45B:    98 40          LD   R4, #0
-    A45C:    D9 1C 3D 2F    ST   R4, [DS]
-    A45E:    99 0C A2 29    LD   R4, #a229
-    A460:    07 14 08 E8    ADD  R3, [08e8]
-    A462:    98 E3          LD   R4, D:[R3]
-    A463:    D9 1C 34 0B    ST   R4, [340b]
-    A465:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A467:    A9 02          OR   R4, R2
-    A468:    D9 1C 34 00    ST   R4, [SPU_CHANNEL_ENABLE]
-    A46A:    98 88          POP  BP-BP, [SP]
-    A46B:    93 11 08 E8    LD   R1, [08e8]
-    A46D:    9A 90          RETF 
-    A46E:    93 11 08 E8    LD   R1, [08e8]
-    A470:    B2 4F          AND  R1, #f
-    A471:    96 40          LD   R3, #0
-    A472:    D7 1B 3D 2F    ST   R3, [DS]
-    A474:    97 0B A2 29    LD   R3, #a229
-    A476:    07 01          ADD  R3, R1
-    A477:    98 E3          LD   R4, D:[R3]
-    A478:    89 0C FF FF    XOR  R4, R4, #ffff
-    A47A:    9B 0D 34 00    LD   BP, #3400
-    A47C:    96 15          LD   R3, [BP+15]
-    A47D:    B7 04          AND  R3, R4
-    A47E:    D6 15          ST   R3, [BP+15]
-    A47F:    9B 0D 30 00    LD   BP, #3000
-    A481:    0B 59          ADD  BP, R1 LSL 4
-    A482:    97 13 08 E5    LD   R3, [08e5]
-    A484:    99 14 08 E4    LD   R4, [08e4]
-    A486:    06 54          ADD  R3, #14
-    A487:    0E 01          JCC  a489
-    A488:    08 41          ADD  R4, #1
-    A489:    D6 C5          ST   R3, [BP]
-    A48A:    95 0A 80 80    LD   R2, #8080
-    A48C:    D5 1A 08 EB    ST   R2, [08eb]
-    A48E:    95 0A 08 D0    LD   R2, #8d0
-    A490:    04 50          ADD  R2, #10
-    A491:    92 C2          LD   R1, [R2]
-    A492:    95 79          LD   R2, R1 LSR 4
-    A493:    95 7A          LD   R2, R2 LSR 4
-    A494:    B5 0A 00 FF    AND  R2, R2, #ff
-    A496:    D5 1A 08 E6    ST   R2, [08e6]
-    A498:    C3 09 00 40    TEST R1, #40
-    A49A:    5E 10          JZ   a4ab
-    A49B:    A9 0C 80 00    OR   R4, R4, #8000
-    A49D:    05 0B 00 01    ADD  R2, R3, #1
-    A49F:    D4 C5          ST   R2, [BP]
-    A4A0:    D8 88          PUSH R4-R4, [SP]
-    A4A1:    B8 7F          AND  R4, #3f
-    A4A2:    99 5C          LD   R4, R4 LSL 4
-    A4A3:    99 5C          LD   R4, R4 LSL 4
-    A4A4:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A4A6:    AD 4C          OR   SR, R4 LSL 2
-    A4A7:    96 88          POP  R4-R4, [SP]
-    A4A8:    94 E3          LD   R2, D:[R3]
-    A4A9:    D5 1A 08 EB    ST   R2, [08eb]
-    A4AB:    C2 50          TEST #10
-    A4AC:    5E 06          JZ   a4b3
-    A4AD:    A9 0C 40 00    OR   R4, R4, #4000
-    A4AF:    95 0A 80 00    LD   R2, #8000
-    A4B1:    D5 1A 08 EB    ST   R2, [08eb]
-    A4B3:    A9 0C 20 00    OR   R4, R4, #2000
-    A4B5:    D8 01          ST   R4, [BP+1]
-    A4B6:    99 0C 08 D0    LD   R4, #8d0
-    A4B8:    08 4C          ADD  R4, #c
-    A4B9:    98 C4          LD   R4, [R4]
-    A4BA:    95 12 08 E4    LD   R2, [08e4]
-    A4BC:    97 13 08 E5    LD   R3, [08e5]
-    A4BE:    07 04          ADD  R3, R4
-    A4BF:    0E 01          JCC  a4c1
-    A4C0:    04 41          ADD  R2, #1
-    A4C1:    D6 02          ST   R3, [BP+2]
-    A4C2:    92 01          LD   R1, [BP+1]
-    A4C3:    95 5A          LD   R2, R2 LSL 4
-    A4C4:    A3 4A          OR   R1, R2 LSL 2
-    A4C5:    D2 01          ST   R1, [BP+1]
-    A4C6:    95 12 08 E9    LD   R2, [08e9]
-    A4C8:    D4 03          ST   R2, [BP+3]
-    A4C9:    99 0C 08 D0    LD   R4, #8d0
-    A4CB:    08 4E          ADD  R4, #e
-    A4CC:    98 C4          LD   R4, [R4]
-    A4CD:    95 12 08 E4    LD   R2, [08e4]
-    A4CF:    97 13 08 E5    LD   R3, [08e5]
-    A4D1:    07 04          ADD  R3, R4
-    A4D2:    0E 01          JCC  a4d4
-    A4D3:    04 41          ADD  R2, #1
-    A4D4:    D4 07          ST   R2, [BP+7]
-    A4D5:    D6 08          ST   R3, [BP+8]
-    A4D6:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A4D8:    95 5A          LD   R2, R2 LSL 4
-    A4D9:    95 5A          LD   R2, R2 LSL 4
-    A4DA:    AD 4A          OR   SR, R2 LSL 2
-    A4DB:    92 F3          LD   R1, D:[R3++]
-    A4DC:    D2 04          ST   R1, [BP+4]
-    A4DD:    92 E3          LD   R1, D:[R3]
-    A4DE:    D2 06          ST   R1, [BP+6]
-    A4DF:    92 40          LD   R1, #0
-    A4E0:    D2 05          ST   R1, [BP+5]
-    A4E1:    93 09 0C 00    LD   R1, #c00
-    A4E3:    D2 0A          ST   R1, [BP+a]
-    A4E4:    95 12 08 EB    LD   R2, [08eb]
-    A4E6:    D4 0B          ST   R2, [BP+b]
-    A4E7:    94 40          LD   R2, #0
-    A4E8:    D4 0D          ST   R2, [BP+d]
-    A4E9:    93 11 08 E7    LD   R1, [08e7]
-    A4EB:    95 12 08 E6    LD   R2, [08e6]
-    A4ED:    23 02          SUB  R1, R2
-    A4EE:    D2 88          PUSH R1-R1, [SP]
-    A4EF:    98 41          LD   R4, #1
-    A4F0:    97 0B A7 F1    LD   R3, #a7f1
-    A4F2:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A4F4:    99 5C          LD   R4, R4 LSL 4
-    A4F5:    99 5C          LD   R4, R4 LSL 4
-    A4F6:    AD 4C          OR   SR, R4 LSL 2
-    A4F7:    07 01          ADD  R3, R1
-    A4F8:    94 E3          LD   R2, D:[R3]
-    A4F9:    99 0C 08 D0    LD   R4, #8d0
-    A4FB:    08 48          ADD  R4, #8
-    A4FC:    92 C4          LD   R1, [R4]
-    A4FD:    98 40          LD   R4, #0
-    A4FE:    99 BC          LD   R4, ?? unknown op1 6
-    A4FF:    F2 0A          ???  
-    A500:    99 BC          LD   R4, ?? unknown op1 6
-    A501:    97 BB          LD   R3, ?? unknown op1 6
-    A502:    99 BC          LD   R4, ?? unknown op1 6
-    A503:    97 BB          LD   R3, ?? unknown op1 6
-    A504:    90 88          POP  R1-R1, [SP]
-    A505:    42 40          CMP  R1, #0
-    A506:    2E 02          SUB  PC, [BP+2]
-    A507:    99 BC          LD   R4, ?? unknown op1 6
-    A508:    97 BB          LD   R3, ?? unknown op1 6
-    A509:    B8 47          AND  R4, #7
-    A50A:    0B 0D 02 00    ADD  BP, BP, #200
-    A50C:    D8 C5          ST   R4, [BP]
-    A50D:    94 C5          LD   R2, [BP]
-    A50E:    45 04          CMP  R2, R4
-    A50F:    4E 44          JNZ  a50c
-    A510:    D6 04          ST   R3, [BP+4]
-    A511:    94 04          LD   R2, [BP+4]
-    A512:    45 03          CMP  R2, R3
-    A513:    4E 44          JNZ  a510
-    A514:    94 40          LD   R2, #0
-    A515:    D4 01          ST   R2, [BP+1]
-    A516:    D4 02          ST   R2, [BP+2]
-    A517:    D4 05          ST   R2, [BP+5]
-    A518:    D4 06          ST   R2, [BP+6]
-    A519:    D4 07          ST   R2, [BP+7]
-    A51A:    94 42          LD   R2, #2
-    A51B:    D4 03          ST   R2, [BP+3]
-    A51C:    9A 90          RETF 
-    A51D:    99 14 09 58    LD   R4, [0958]
-    A51F:    D9 1C 3D 2F    ST   R4, [DS]
-    A521:    95 12 09 59    LD   R2, [0959]
-    A523:    93 11 08 CA    LD   R1, [08ca]
-    A525:    93 41          LD   R1, R1 LSL 1
-    A526:    05 01          ADD  R2, R1
-    A527:    92 E2          LD   R1, D:[R2]
-    A528:    D3 19 08 E4    ST   R1, [08e4]
-    A52A:    04 41          ADD  R2, #1
-    A52B:    92 E2          LD   R1, D:[R2]
-    A52C:    D3 19 08 E5    ST   R1, [08e5]
-    A52E:    F0 40 A6 5A    CALL 0000a65a
-    A530:    D3 19 08 E8    ST   R1, [08e8]
-    A532:    95 12 08 C8    LD   R2, [08c8]
-    A534:    9B 0D 08 B0    LD   BP, #8b0
-    A536:    0B 02          ADD  BP, R2
-    A537:    D2 C5          ST   R1, [BP]
-    A538:    F0 40 A7 B1    CALL 0000a7b1
-    A53A:    D3 19 08 E9    ST   R1, [08e9]
-    A53C:    F0 40 A7 CC    CALL 0000a7cc
-    A53E:    F0 40 A5 B6    CALL 0000a5b6
-    A540:    9A 90          RETF 
-    A541:    DA 88          PUSH BP-BP, [SP]
-    A542:    0B 08 00 01    ADD  BP, SP, #1
-    A544:    96 03          LD   R3, [BP+3]
-    A545:    D7 1B 08 E4    ST   R3, [08e4]
-    A547:    98 04          LD   R4, [BP+4]
-    A548:    D9 1C 08 E5    ST   R4, [08e5]
-    A54A:    F0 40 A6 5A    CALL 0000a65a
-    A54C:    D3 19 08 E8    ST   R1, [08e8]
-    A54E:    92 05          LD   R1, [BP+5]
-    A54F:    D3 19 08 C9    ST   R1, [08c9]
-    A551:    92 06          LD   R1, [BP+6]
-    A552:    D3 19 08 CB    ST   R1, [08cb]
-    A554:    93 09 00 7F    LD   R1, #7f
-    A556:    D3 19 08 CC    ST   R1, [08cc]
-    A558:    F0 40 A7 B1    CALL 0000a7b1
-    A55A:    D3 19 08 E9    ST   R1, [08e9]
-    A55C:    F0 40 A7 CC    CALL 0000a7cc
-    A55E:    F0 40 A5 B6    CALL 0000a5b6
-    A560:    93 11 08 E8    LD   R1, [08e8]
-    A562:    96 40          LD   R3, #0
-    A563:    D7 1B 3D 2F    ST   R3, [DS]
-    A565:    97 0B A2 29    LD   R3, #a229
-    A567:    07 01          ADD  R3, R1
-    A568:    98 E3          LD   R4, D:[R3]
-    A569:    D9 1C 34 0B    ST   R4, [340b]
-    A56B:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A56D:    A9 02          OR   R4, R2
-    A56E:    D9 1C 34 00    ST   R4, [SPU_CHANNEL_ENABLE]
-    A570:    98 88          POP  BP-BP, [SP]
-    A571:    9A 90          RETF 
-    A572:    DA 88          PUSH BP-BP, [SP]
-    A573:    0B 08 00 01    ADD  BP, SP, #1
-    A575:    92 03          LD   R1, [BP+3]
-    A576:    D3 19 08 E8    ST   R1, [08e8]
-    A578:    96 04          LD   R3, [BP+4]
-    A579:    D7 1B 08 E4    ST   R3, [08e4]
-    A57B:    98 05          LD   R4, [BP+5]
-    A57C:    D9 1C 08 E5    ST   R4, [08e5]
-    A57E:    92 06          LD   R1, [BP+6]
-    A57F:    D3 19 08 C9    ST   R1, [08c9]
-    A581:    92 07          LD   R1, [BP+7]
-    A582:    D3 19 08 CB    ST   R1, [08cb]
-    A584:    93 09 00 7F    LD   R1, #7f
-    A586:    D3 19 08 CC    ST   R1, [08cc]
-    A588:    F0 40 A7 B1    CALL 0000a7b1
-    A58A:    D3 19 08 E9    ST   R1, [08e9]
-    A58C:    F0 40 A7 CC    CALL 0000a7cc
-    A58E:    F0 40 A5 B6    CALL 0000a5b6
-    A590:    93 11 08 E8    LD   R1, [08e8]
-    A592:    96 40          LD   R3, #0
-    A593:    D7 1B 3D 2F    ST   R3, [DS]
-    A595:    97 0B A2 29    LD   R3, #a229
-    A597:    07 01          ADD  R3, R1
-    A598:    98 E3          LD   R4, D:[R3]
-    A599:    D9 1C 34 0B    ST   R4, [340b]
-    A59B:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A59D:    A9 02          OR   R4, R2
-    A59E:    D9 1C 34 00    ST   R4, [SPU_CHANNEL_ENABLE]
-    A5A0:    98 88          POP  BP-BP, [SP]
-    A5A1:    9A 90          RETF 
-    A5A2:    DA 88          PUSH BP-BP, [SP]
-    A5A3:    0B 08 00 01    ADD  BP, SP, #1
-    A5A5:    92 03          LD   R1, [BP+3]
-    A5A6:    98 40          LD   R4, #0
-    A5A7:    D9 1C 3D 2F    ST   R4, [DS]
-    A5A9:    99 0C A2 29    LD   R4, #a229
-    A5AB:    09 01          ADD  R4, R1
-    A5AC:    92 E4          LD   R1, D:[R4]
-    A5AD:    83 09 FF FF    XOR  R1, R1, #ffff
-    A5AF:    95 12 34 00    LD   R2, [SPU_CHANNEL_ENABLE]
-    A5B1:    B5 01          AND  R2, R1
-    A5B2:    D5 1A 34 00    ST   R2, [SPU_CHANNEL_ENABLE]
-    A5B4:    98 88          POP  BP-BP, [SP]
-    A5B5:    9A 90          RETF 
-    A5B6:    93 11 08 E8    LD   R1, [08e8]
-    A5B8:    B2 4F          AND  R1, #f
-    A5B9:    9B 0D 30 00    LD   BP, #3000
-    A5BB:    0B 59          ADD  BP, R1 LSL 4
-    A5BC:    96 40          LD   R3, #0
-    A5BD:    D7 1B 3D 2F    ST   R3, [DS]
-    A5BF:    97 0B A2 29    LD   R3, #a229
-    A5C1:    07 01          ADD  R3, R1
-    A5C2:    96 E3          LD   R3, D:[R3]
-    A5C3:    D7 1B 08 CF    ST   R3, [08cf]
-    A5C5:    99 14 34 15    LD   R4, [SPU_CHANNEL_ENV_MODE]
-    A5C7:    A9 03          OR   R4, R3
-    A5C8:    D9 1C 34 15    ST   R4, [SPU_CHANNEL_ENV_MODE]
-    A5CA:    97 13 08 E5    LD   R3, [08e5]
-    A5CC:    99 14 08 E4    LD   R4, [08e4]
-    A5CE:    06 54          ADD  R3, #14
-    A5CF:    0E 01          JCC  a5d1
-    A5D0:    08 41          ADD  R4, #1
-    A5D1:    D6 C5          ST   R3, [BP]
-    A5D2:    95 0A 80 80    LD   R2, #8080
-    A5D4:    D5 1A 08 EB    ST   R2, [08eb]
-    A5D6:    95 0A 08 D0    LD   R2, #8d0
-    A5D8:    04 50          ADD  R2, #10
-    A5D9:    92 C2          LD   R1, [R2]
-    A5DA:    C3 09 00 40    TEST R1, #40
-    A5DC:    5E 11          JZ   a5ee
-    A5DD:    A9 0C 80 00    OR   R4, R4, #8000
-    A5DF:    05 0B 00 01    ADD  R2, R3, #1
-    A5E1:    D4 C5          ST   R2, [BP]
-    A5E2:    D8 88          PUSH R4-R4, [SP]
-    A5E3:    B8 7F          AND  R4, #3f
-    A5E4:    99 5C          LD   R4, R4 LSL 4
-    A5E5:    99 5C          LD   R4, R4 LSL 4
-    A5E6:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A5E8:    AD 4C          OR   SR, R4 LSL 2
-    A5E9:    96 88          POP  R4-R4, [SP]
-    A5EA:    94 E3          LD   R2, D:[R3]
-    A5EB:    D5 1A 08 EB    ST   R2, [08eb]
-    A5ED:    EE 08          JMP  a5f6
-    A5EE:    C2 50          TEST #10
-    A5EF:    5E 06          JZ   a5f6
-    A5F0:    A9 0C 40 00    OR   R4, R4, #4000
-    A5F2:    95 0A 80 00    LD   R2, #8000
-    A5F4:    D5 1A 08 EB    ST   R2, [08eb]
-    A5F6:    A9 0C 10 00    OR   R4, R4, #1000
-    A5F8:    D8 01          ST   R4, [BP+1]
-    A5F9:    94 40          LD   R2, #0
-    A5FA:    D4 02          ST   R2, [BP+2]
-    A5FB:    93 11 08 E9    LD   R1, [08e9]
-    A5FD:    D2 03          ST   R1, [BP+3]
-    A5FE:    94 40          LD   R2, #0
-    A5FF:    D4 04          ST   R2, [BP+4]
-    A600:    D4 06          ST   R2, [BP+6]
-    A601:    D4 07          ST   R2, [BP+7]
-    A602:    D4 08          ST   R2, [BP+8]
-    A603:    95 0A 0C 00    LD   R2, #c00
-    A605:    D4 0A          ST   R2, [BP+a]
-    A606:    95 0A 00 7F    LD   R2, #7f
-    A608:    D4 05          ST   R2, [BP+5]
-    A609:    97 0B 08 D0    LD   R3, #8d0
-    A60B:    06 50          ADD  R3, #10
-    A60C:    94 C3          LD   R2, [R3]
-    A60D:    95 12 08 EB    LD   R2, [08eb]
-    A60F:    D4 0B          ST   R2, [BP+b]
-    A610:    94 40          LD   R2, #0
-    A611:    D4 0D          ST   R2, [BP+d]
-    A612:    97 0B 08 D0    LD   R3, #8d0
-    A614:    06 48          ADD  R3, #8
-    A615:    92 C3          LD   R1, [R3]
-    A616:    98 40          LD   R4, #0
-    A617:    99 BC          LD   R4, ?? unknown op1 6
-    A618:    95 0A 01 DD    LD   R2, #1dd
-    A61A:    F2 0A          ???  
-    A61B:    99 BC          LD   R4, ?? unknown op1 6
-    A61C:    97 BB          LD   R3, ?? unknown op1 6
-    A61D:    99 BC          LD   R4, ?? unknown op1 6
-    A61E:    97 BB          LD   R3, ?? unknown op1 6
-    A61F:    0B 0D 02 00    ADD  BP, BP, #200
-    A621:    D8 00          ST   R4, [BP+0]
-    A622:    D6 04          ST   R3, [BP+4]
-    A623:    94 40          LD   R2, #0
-    A624:    D4 01          ST   R2, [BP+1]
-    A625:    D4 05          ST   R2, [BP+5]
-    A626:    94 42          LD   R2, #2
-    A627:    D4 03          ST   R2, [BP+3]
-    A628:    9A 90          RETF 
-    A629:    DA 88          PUSH BP-BP, [SP]
-    A62A:    D4 88          PUSH R2-R2, [SP]
-    A62B:    95 12 08 EA    LD   R2, [08ea]
-    A62D:    9B 0D 08 B0    LD   BP, #8b0
-    A62F:    0B 02          ADD  BP, R2
-    A630:    94 C5          LD   R2, [BP]
-    A631:    9B 0D 32 00    LD   BP, #3200
-    A633:    B4 4F          AND  R2, #f
-    A634:    0B 5A          ADD  BP, R2 LSL 4
-    A635:    D8 C5          ST   R4, [BP]
-    A636:    D2 04          ST   R1, [BP+4]
-    A637:    94 40          LD   R2, #0
-    A638:    D4 01          ST   R2, [BP+1]
-    A639:    D4 05          ST   R2, [BP+5]
-    A63A:    92 88          POP  R2-R2, [SP]
-    A63B:    98 88          POP  BP-BP, [SP]
-    A63C:    9A 90          RETF 
-    A63D:    D4 88          PUSH R2-R2, [SP]
-    A63E:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A640:    93 11 08 C3    LD   R1, [08c3]
-    A642:    93 59          LD   R1, R1 LSL 4
-    A643:    93 59          LD   R1, R1 LSL 4
-    A644:    AD 49          OR   SR, R1 LSL 2
-    A645:    93 11 08 C4    LD   R1, [08c4]
-    A647:    94 E1          LD   R2, D:[R1]
-    A648:    D4 88          PUSH R2-R2, [SP]
-    A649:    02 41          ADD  R1, #1
-    A64A:    4E 05          JNZ  a650
-    A64B:    95 12 08 C3    LD   R2, [08c3]
-    A64D:    04 41          ADD  R2, #1
-    A64E:    D5 1A 08 C3    ST   R2, [08c3]
-    A650:    D3 19 08 C4    ST   R1, [08c4]
-    A652:    90 88          POP  R1-R1, [SP]
-    A653:    92 88          POP  R2-R2, [SP]
-    A654:    9A 90          RETF 
-    A655:    DA 88          PUSH BP-BP, [SP]
-    A656:    93 11 08 C0    LD   R1, [08c0]
-    A658:    98 88          POP  BP-BP, [SP]
-    A659:    9A 90          RETF 
-    A65A:    DA 88          PUSH BP-BP, [SP]
-    A65B:    99 14 34 0F    LD   R4, [SPU_CHANNEL_STATUS]
-    A65D:    93 11 08 AF    LD   R1, [08af]
-    A65F:    A9 01          OR   R4, R1
-    A660:    89 0C FF FF    XOR  R4, R4, #ffff
-    A662:    93 11 08 9B    LD   R1, [089b]
-    A664:    B9 01          AND  R4, R1
-    A665:    96 41          LD   R3, #1
-    A666:    92 40          LD   R1, #0
-    A667:    C7 04          TEST R4
-    A668:    4E 06          JNZ  a66f
-    A669:    97 43          LD   R3, R3 LSL 1
-    A66A:    02 41          ADD  R1, #1
-    A66B:    43 11 08 9D    CMP  R1, [089d]
-    A66D:    5E 10          JZ   a67e
-    A66E:    EE 48          JMP  a667
-    A66F:    99 0C 08 FD    LD   R4, #8fd
-    A671:    95 12 09 0D    LD   R2, [090d]
-    A673:    09 02          ADD  R4, R2
-    A674:    D2 C4          ST   R1, [R4]
-    A675:    04 41          ADD  R2, #1
-    A676:    45 12 08 9D    CMP  R2, [089d]
-    A678:    0E 01          JCC  a67a
-    A679:    94 40          LD   R2, #0
-    A67A:    D5 1A 09 0D    ST   R2, [090d]
-    A67C:    98 88          POP  BP-BP, [SP]
-    A67D:    9A 90          RETF 
-    A67E:    93 11 09 0D    LD   R1, [090d]
-    A680:    99 0C 08 FD    LD   R4, #8fd
-    A682:    09 01          ADD  R4, R1
-    A683:    92 C4          LD   R1, [R4]
-    A684:    99 14 09 0D    LD   R4, [090d]
-    A686:    08 41          ADD  R4, #1
-    A687:    49 14 08 9D    CMP  R4, [089d]
-    A689:    0E 01          JCC  a68b
-    A68A:    98 40          LD   R4, #0
-    A68B:    D9 1C 09 0D    ST   R4, [090d]
-    A68D:    98 40          LD   R4, #0
-    A68E:    D9 1C 3D 2F    ST   R4, [DS]
-    A690:    99 0C A2 29    LD   R4, #a229
-    A692:    09 01          ADD  R4, R1
-    A693:    98 E4          LD   R4, D:[R4]
-    A694:    97 13 08 9B    LD   R3, [089b]
-    A696:    C9 03          TEST R3
-    A697:    5E 5A          JZ   a67e
-    A698:    99 0C 08 9E    LD   R4, #89e
-    A69A:    09 01          ADD  R4, R1
-    A69B:    94 40          LD   R2, #0
-    A69C:    D4 C4          ST   R2, [R4]
-    A69D:    98 40          LD   R4, #0
-    A69E:    D9 1C 3D 2F    ST   R4, [DS]
-    A6A0:    99 0C A2 29    LD   R4, #a229
-    A6A2:    09 01          ADD  R4, R1
-    A6A3:    96 E4          LD   R3, D:[R4]
-    A6A4:    99 0C 30 00    LD   R4, #3000
-    A6A6:    09 59          ADD  R4, R1 LSL 4
-    A6A7:    94 40          LD   R2, #0
-    A6A8:    08 45          ADD  R4, #5
-    A6A9:    D4 C4          ST   R2, [R4]
-    A6AA:    87 0B FF FF    XOR  R3, R3, #ffff
-    A6AC:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A6AE:    B5 03          AND  R2, R3
-    A6AF:    D5 1A 34 00    ST   R2, [SPU_CHANNEL_ENABLE]
-    A6B1:    87 0B FF FF    XOR  R3, R3, #ffff
-    A6B3:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A6B5:    C5 03          TEST R3
-    A6B6:    4E 44          JNZ  a6b3
-    A6B7:    98 88          POP  BP-BP, [SP]
-    A6B8:    9A 90          RETF 
-    A6B9:    DA A0          PUSH R2-BP, [SP]
-    A6BA:    9B 0D 30 00    LD   BP, #3000
-    A6BC:    96 40          LD   R3, #0
-    A6BD:    92 40          LD   R1, #0
-    A6BE:    D3 19 08 CF    ST   R1, [08cf]
-    A6C0:    0B 5B          ADD  BP, R3 LSL 4
-    A6C1:    94 05          LD   R2, [BP+5]
-    A6C2:    B5 0A 00 7F    AND  R2, R2, #7f
-    A6C4:    45 12 08 CF    CMP  R2, [08cf]
-    A6C6:    1E 03          ADC  PC, [BP+3]
-    A6C7:    D5 1A 08 CF    ST   R2, [08cf]
-    A6C9:    93 03          LD   R1, R3
-    A6CA:    06 41          ADD  R3, #1
-    A6CB:    47 13 08 9D    CMP  R3, [089d]
-    A6CD:    0E 4E          JCC  a6c0
-    A6CE:    92 A0          POP  R2-BP, [SP]
-    A6CF:    9A 90          RETF 
-    A6D0:    9B 0D 08 9E    LD   BP, #89e
-    A6D2:    96 40          LD   R3, #0
-    A6D3:    D7 1B 08 CF    ST   R3, [08cf]
-    A6D5:    92 C5          LD   R1, [BP]
-    A6D6:    5E 0A          JZ   a6e1
-    A6D7:    95 12 08 CF    LD   R2, [08cf]
-    A6D9:    4E 02          JNZ  a6dc
-    A6DA:    D3 19 08 CF    ST   R1, [08cf]
-    A6DC:    43 11 08 CF    CMP  R1, [08cf]
-    A6DE:    1E 02          ADC  PC, [BP+2]
-    A6DF:    D3 19 08 CF    ST   R1, [08cf]
-    A6E1:    0A 41          ADD  BP, #1
-    A6E2:    06 41          ADD  R3, #1
-    A6E3:    47 13 08 9D    CMP  R3, [089d]
-    A6E5:    8E 51          XOR  PC, #11
-    A6E6:    93 11 08 CF    LD   R1, [08cf]
-    A6E8:    9A 90          RETF 
-    A6E9:    F0 40 A6 D0    CALL 0000a6d0
-    A6EB:    D3 19 08 CF    ST   R1, [08cf]
-    A6ED:    9B 0D 08 9E    LD   BP, #89e
-    A6EF:    96 40          LD   R3, #0
-    A6F0:    D7 1B 08 9C    ST   R3, [089c]
-    A6F2:    94 41          LD   R2, #1
-    A6F3:    92 C5          LD   R1, [BP]
-    A6F4:    5E 0B          JZ   a700
-    A6F5:    23 11 08 CF    SUB  R1, [08cf]
-    A6F7:    6E 01          NEG  PC, [BP+1]
-    A6F8:    92 40          LD   R1, #0
-    A6F9:    D2 C5          ST   R1, [BP]
-    A6FA:    BE 05          JG   a700
-    A6FB:    99 14 08 9C    LD   R4, [089c]
-    A6FD:    A9 02          OR   R4, R2
-    A6FE:    D9 1C 08 9C    ST   R4, [089c]
-    A700:    0A 41          ADD  BP, #1
-    A701:    06 41          ADD  R3, #1
-    A702:    95 42          LD   R2, R2 LSL 1
-    A703:    47 13 08 9D    CMP  R3, [089d]
-    A705:    8E 53          XOR  PC, #13
-    A706:    95 12 08 9B    LD   R2, [089b]
-    A708:    99 14 08 9C    LD   R4, [089c]
-    A70A:    B9 02          AND  R4, R2
-    A70B:    D9 1C 08 9C    ST   R4, [089c]
-    A70D:    93 11 08 CF    LD   R1, [08cf]
-    A70F:    9A 90          RETF 
-    A710:    DA 88          PUSH BP-BP, [SP]
-    A711:    96 40          LD   R3, #0
-    A712:    92 40          LD   R1, #0
-    A713:    9B 0D 30 00    LD   BP, #3000
-    A715:    D2 00          ST   R1, [BP+0]
-    A716:    D2 01          ST   R1, [BP+1]
-    A717:    D2 02          ST   R1, [BP+2]
-    A718:    D2 03          ST   R1, [BP+3]
-    A719:    D2 04          ST   R1, [BP+4]
-    A71A:    D2 05          ST   R1, [BP+5]
-    A71B:    D2 06          ST   R1, [BP+6]
-    A71C:    D2 07          ST   R1, [BP+7]
-    A71D:    D2 08          ST   R1, [BP+8]
-    A71E:    D2 09          ST   R1, [BP+9]
-    A71F:    D2 0A          ST   R1, [BP+a]
-    A720:    D2 0B          ST   R1, [BP+b]
-    A721:    0B 0D 02 00    ADD  BP, BP, #200
-    A723:    D2 00          ST   R1, [BP+0]
-    A724:    D2 01          ST   R1, [BP+1]
-    A725:    D2 02          ST   R1, [BP+2]
-    A726:    D2 03          ST   R1, [BP+3]
-    A727:    D2 05          ST   R1, [BP+5]
-    A728:    D2 06          ST   R1, [BP+6]
-    A729:    D2 07          ST   R1, [BP+7]
-    A72A:    2B 0D 02 00    SUB  BP, BP, #200
-    A72C:    06 41          ADD  R3, #1
-    A72D:    0A 50          ADD  BP, #10
-    A72E:    46 50          CMP  R3, #10
-    A72F:    0E 5B          JCC  a715
-    A730:    0B 08 00 01    ADD  BP, SP, #1
-    A732:    92 40          LD   R1, #0
-    A733:    D3 19 08 CF    ST   R1, [08cf]
-    A735:    92 03          LD   R1, [BP+3]
-    A736:    C3 09 08 00    TEST R1, #800
-    A738:    5E 0A          JZ   a743
-    A739:    94 4C          LD   R2, #c
-    A73A:    D5 1A 08 9D    ST   R2, [089d]
-    A73C:    93 11 08 C0    LD   R1, [08c0]
-    A73E:    A3 09 08 00    OR   R1, R1, #800
-    A740:    D3 19 08 C0    ST   R1, [08c0]
-    A742:    92 44          LD   R1, #4
-    A743:    D3 19 08 CF    ST   R1, [08cf]
-    A745:    9B 0D 34 00    LD   BP, #3400
-    A747:    92 40          LD   R1, #0
-    A748:    D2 C5          ST   R1, [BP]
-    A749:    95 0A 00 7F    LD   R2, #7f
-    A74B:    D4 01          ST   R2, [BP+1]
-    A74C:    D2 02          ST   R1, [BP+2]
-    A74D:    D2 04          ST   R1, [BP+4]
-    A74E:    D2 05          ST   R1, [BP+5]
-    A74F:    95 0A 33 33    LD   R2, #3333
-    A751:    D4 06          ST   R2, [BP+6]
-    A752:    D4 07          ST   R2, [BP+7]
-    A753:    95 0A 33 33    LD   R2, #3333
-    A755:    D4 08          ST   R2, [BP+8]
-    A756:    D4 09          ST   R2, [BP+9]
-    A757:    94 40          LD   R2, #0
-    A758:    D4 0C          ST   R2, [BP+c]
-    A759:    95 0A 01 08    LD   R2, #108
-    A75B:    A5 0A 00 C0    OR   R2, R2, #c0
-    A75D:    A5 12 08 CF    OR   R2, [08cf]
-    A75F:    D4 0D          ST   R2, [BP+d]
-    A760:    94 40          LD   R2, #0
-    A761:    D4 14          ST   R2, [BP+14]
-    A762:    D4 15          ST   R2, [BP+15]
-    A763:    D4 03          ST   R2, [BP+3]
-    A764:    D4 0A          ST   R2, [BP+a]
-    A765:    D4 0B          ST   R2, [BP+b]
-    A766:    D4 0F          ST   R2, [BP+f]
-    A767:    D4 13          ST   R2, [BP+13]
-    A768:    D4 16          ST   R2, [BP+16]
-    A769:    D4 17          ST   R2, [BP+17]
-    A76A:    D4 18          ST   R2, [BP+18]
-    A76B:    95 0A 80 00    LD   R2, #8000
-    A76D:    D4 10          ST   R2, [BP+10]
-    A76E:    D4 11          ST   R2, [BP+11]
-    A76F:    D4 12          ST   R2, [BP+12]
-    A770:    98 88          POP  BP-BP, [SP]
-    A771:    9A 90          RETF 
-    A772:    DA 88          PUSH BP-BP, [SP]
-    A773:    0B 08 00 01    ADD  BP, SP, #1
-    A775:    92 03          LD   R1, [BP+3]
-    A776:    D3 19 08 9B    ST   R1, [089b]
-    A778:    98 88          POP  BP-BP, [SP]
-    A779:    9A 90          RETF 
-    A77A:    DA 88          PUSH BP-BP, [SP]
-    A77B:    93 11 34 0F    LD   R1, [SPU_CHANNEL_STATUS]
-    A77D:    98 88          POP  BP-BP, [SP]
-    A77E:    9A 90          RETF 
-    A77F:    DA 88          PUSH BP-BP, [SP]
-    A780:    0B 08 00 01    ADD  BP, SP, #1
-    A782:    92 03          LD   R1, [BP+3]
-    A783:    96 40          LD   R3, #0
-    A784:    D7 1B 3D 2F    ST   R3, [DS]
-    A786:    97 0B A2 29    LD   R3, #a229
-    A788:    07 01          ADD  R3, R1
-    A789:    94 E3          LD   R2, D:[R3]
-    A78A:    97 13 34 0F    LD   R3, [SPU_CHANNEL_STATUS]
-    A78C:    92 41          LD   R1, #1
-    A78D:    C7 02          TEST R2
-    A78E:    5E 01          JZ   a790
-    A78F:    92 40          LD   R1, #0
-    A790:    98 88          POP  BP-BP, [SP]
-    A791:    9A 90          RETF 
-    A792:    DA 88          PUSH BP-BP, [SP]
-    A793:    0B 08 00 01    ADD  BP, SP, #1
-    A795:    98 03          LD   R4, [BP+3]
-    A796:    92 C4          LD   R1, [R4]
-    A797:    D3 19 08 C5    ST   R1, [08c5]
-    A799:    08 41          ADD  R4, #1
-    A79A:    94 C4          LD   R2, [R4]
-    A79B:    D5 1A 08 C6    ST   R2, [08c6]
-    A79D:    93 11 08 C0    LD   R1, [08c0]
-    A79F:    A3 09 01 00    OR   R1, R1, #100
-    A7A1:    D3 19 08 C0    ST   R1, [08c0]
-    A7A3:    98 88          POP  BP-BP, [SP]
-    A7A4:    9A 90          RETF 
-    A7A5:    DA 88          PUSH BP-BP, [SP]
-    A7A6:    93 09 01 00    LD   R1, #100
-    A7A8:    83 09 FF FF    XOR  R1, R1, #ffff
-    A7AA:    95 12 08 C0    LD   R2, [08c0]
-    A7AC:    B5 01          AND  R2, R1
-    A7AD:    D5 1A 08 C0    ST   R2, [08c0]
-    A7AF:    98 88          POP  BP-BP, [SP]
-    A7B0:    9A 90          RETF 
-    A7B1:    93 11 08 CB    LD   R1, [08cb]
-    A7B3:    95 12 08 CC    LD   R2, [08cc]
-    A7B5:    93 41          LD   R1, R1 LSL 1
-    A7B6:    95 42          LD   R2, R2 LSL 1
-    A7B7:    F2 0A          ???  
-    A7B8:    93 03          LD   R1, R3
-    A7B9:    93 79          LD   R1, R1 LSR 4
-    A7BA:    93 79          LD   R1, R1 LSR 4
-    A7BB:    93 61          LD   R1, R1 LSR 1
-    A7BC:    97 13 08 C9    LD   R3, [08c9]
-    A7BE:    97 5B          LD   R3, R3 LSL 4
-    A7BF:    97 5B          LD   R3, R3 LSL 4
-    A7C0:    A3 03          OR   R1, R3
-    A7C1:    9A 90          RETF 
-    A7C2:    DA 88          PUSH BP-BP, [SP]
-    A7C3:    0B 08 00 01    ADD  BP, SP, #1
-    A7C5:    92 03          LD   R1, [BP+3]
-    A7C6:    B3 09 00 7F    AND  R1, R1, #7f
-    A7C8:    D3 19 08 EC    ST   R1, [08ec]
-    A7CA:    98 88          POP  BP-BP, [SP]
-    A7CB:    9A 90          RETF 
-    A7CC:    99 14 08 E4    LD   R4, [08e4]
-    A7CE:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A7D0:    99 5C          LD   R4, R4 LSL 4
-    A7D1:    99 5C          LD   R4, R4 LSL 4
-    A7D2:    AD 4C          OR   SR, R4 LSL 2
-    A7D3:    97 13 08 E5    LD   R3, [08e5]
-    A7D5:    9B 0D 08 D0    LD   BP, #8d0
-    A7D7:    92 54          LD   R1, #14
-    A7D8:    94 E3          LD   R2, D:[R3]
-    A7D9:    D4 D5          ST   R2, [BP++]
-    A7DA:    06 41          ADD  R3, #1
-    A7DB:    0E 08          JCC  a7e4
-    A7DC:    99 14 08 E4    LD   R4, [08e4]
-    A7DE:    08 41          ADD  R4, #1
-    A7DF:    BD 0E 03 FF    AND  SR, SR, #3ff
-    A7E1:    99 5C          LD   R4, R4 LSL 4
-    A7E2:    99 5C          LD   R4, R4 LSL 4
-    A7E3:    AD 4C          OR   SR, R4 LSL 2
-    A7E4:    22 41          SUB  R1, #1
-    A7E5:    4E 4E          JNZ  a7d8
-    A7E6:    EE 00          JMP  a7e7
-    A7E7:    9A 90          RETF 
-    A7E8:    DA 88          PUSH BP-BP, [SP]
-    A7E9:    0B 08 00 01    ADD  BP, SP, #1
-    A7EB:    92 04          LD   R1, [BP+4]
-    A7EC:    D3 19 08 E4    ST   R1, [08e4]
-    A7EE:    92 05          LD   R1, [BP+5]
-    A7EF:    D3 19 08 E5    ST   R1, [08e5]
-    A7F1:    92 03          LD   R1, [BP+3]
-    A7F2:    D3 19 08 E8    ST   R1, [08e8]
-    A7F4:    94 06          LD   R2, [BP+6]
-    A7F5:    D5 1A 08 C9    ST   R2, [08c9]
-    A7F7:    94 07          LD   R2, [BP+7]
-    A7F8:    D5 1A 08 CB    ST   R2, [08cb]
-    A7FA:    95 0A 00 7F    LD   R2, #7f
-    A7FC:    D5 1A 08 CC    ST   R2, [08cc]
-    A7FE:    F0 40 A7 B1    CALL 0000a7b1
-    A800:    D3 19 08 E9    ST   R1, [08e9]
-    A802:    F0 40 A7 CC    CALL 0000a7cc
-    A804:    F0 40 A5 B6    CALL 0000a5b6
-    A806:    98 40          LD   R4, #0
-    A807:    D9 1C 3D 2F    ST   R4, [DS]
-    A809:    99 0C A2 29    LD   R4, #a229
-    A80B:    07 14 08 E8    ADD  R3, [08e8]
-    A80D:    98 E3          LD   R4, D:[R3]
-    A80E:    D9 1C 34 0B    ST   R4, [340b]
-    A810:    95 12 34 0F    LD   R2, [SPU_CHANNEL_STATUS]
-    A812:    A9 02          OR   R4, R2
-    A813:    D9 1C 34 00    ST   R4, [SPU_CHANNEL_ENABLE]
-    A815:    98 88          POP  BP-BP, [SP]
-    A816:    93 11 08 E8    LD   R1, [08e8]
-    A818:    9A 90          RETF 
+    A1CC:    93 11 01 6B    LD      R1, [016b]
+    A1CE:    B2 43          AND     R1, #3
+    A1CF:    4E 02          JNZ     a1d2
+    A1D0:    FE 80 A2 28    GOTO    return
+    A1D2:    99 14 00 10    LD      R4, [___SKIP_0002]
+    A1D4:    08 60          ADD     R4, #20
+    A1D5:    B9 0C FF C0    AND     R4, R4, #ffc0
+    A1D7:    89 0C 80 00    XOR     R4, R4, #8000
+    A1D9:    93 11 01 6C    LD      R1, [016c]
+    A1DB:    C2 41          TEST    #1
+    A1DC:    5E 08          JZ      a1e5
+    A1DD:    C2 48          TEST    #8
+    A1DE:    5E 02          JZ      a1e1
+    A1DF:    D9 1C 34 10    ST      R4, [SPU_LEFT_MIXER]
+    A1E1:    C2 50          TEST    #10
+    A1E2:    5E 02          JZ      a1e5
+    A1E3:    D9 1C 34 11    ST      R4, [SPU_RIGHT_MIXER]
+    A1E5:    93 11 01 6B    LD      R1, [016b]
+    A1E7:    43 09 80 01    CMP     R1, R1, #8001
+    A1E9:    5E 02          JZ      a1ec
+    A1EA:    FE 80 A2 28    GOTO    return
+    A1EC:    96 40          LD      R3, #0
+    A1ED:    D7 1B 00 0C    ST      R3, [000c]
+    A1EF:    93 11 00 0D    LD      R1, [000d]
+    A1F1:    43 11 00 20    CMP     R1, [0020]
+    A1F3:    5E 07          JZ      a1fb
+    A1F4:    05 11 00 0E    ADD     R2, [000e]
+    A1F6:    98 C2          LD      R4, [R2]
+    A1F7:    02 41          ADD     R1, #1
+    A1F8:    43 11 00 20    CMP     R1, [0020]
+    A1FA:    3E 13          SBC     PC, [BP+13]
+    A1FB:    93 11 00 0B    LD      R1, [000b]
+    A1FD:    42 41          CMP     R1, #1
+    A1FE:    4E 29          JNZ     return
+    A1FF:    95 12 00 0E    LD      R2, [000e]
+    A201:    93 11 00 0F    LD      R1, [000f]
+    A203:    D3 19 00 0E    ST      R1, [000e]
+    A205:    D5 1A 00 0F    ST      R2, [000f]
+    A207:    93 11 00 1F    LD      R1, [001f]
+    A209:    D3 19 00 20    ST      R1, [0020]
+    A20B:    92 40          LD      R1, #0
+    A20C:    D3 19 00 0B    ST      R1, [000b]
+    A20E:    D3 19 00 0D    ST      R1, [000d]
+    A210:    97 13 00 08    LD      R3, [0008]
+    A212:    F1 44          FIR_MOV ON
+    A213:    F6 0C          MULU    R3, R4
+    A214:    F1 45          FIR_MOV OFF
+    A215:    48 40          CMP     R4, #0
+    A216:    7E 06          JMI     a21d
+    A217:    23 0C 1F FF    SUB     R1, R4, #1fff
+    A219:    3E 09          SBC     PC, [BP+9]
+    A21A:    99 0C 7F FF    LD      R4, #7fff
+    A21C:    EE 07          JMP     a224
+    A21D:    23 0C E0 00    SUB     R1, R4, #e000
+    A21F:    2E 03          SUB     PC, [BP+3]
+    A220:    99 0C 80 00    LD      R4, #8000
+    A222:    EE 01          JMP     a224
+    A223:    99 4C          LD      R4, R4 LSL 2
+    A224:    93 3C          LD      R1, R4 ASR 4
+    A225:    29 39          SUB     R4, R1 ASR 4
+    A226:    D9 1C 00 10    ST      R4, [___SKIP_0002]
+return:
+    A228:    9A 90          RETF    
+
+
+___WDATA_0002:
+    A229:    DW      0001, 0002, 0004, 0008, 0010, 0020, 0040, 0080
+    A231:    DW      0100, 0200, 0400, 0800, 1000, 2000, 4000, 8000
+
+;----------------------------------------------------------------
+;        Function: SPUBeat_update
+
+SPUBeat_update:
+    A239:    00 42          ADD     SP, #2
+    A23A:    93 11 08 C0    LD      R1, [08c0]
+    A23C:    C2 41          TEST    #1
+    A23D:    5E 0E          JZ      a24c
+    A23E:    93 11 34 05    LD      R1, [3405]
+    A240:    C3 09 40 00    TEST    R1, #4000
+    A242:    5E 09          JZ      a24c
+    A243:    B3 09 7F FF    AND     R1, R1, #7fff
+    A245:    D3 19 34 05    ST      R1, [3405]
+    A247:    93 09 A2 4E    LD      R1, #a24e
+    A249:    D2 88          PUSH    R1-R1, [SP]
+    A24A:    DC 88          PUSH    SR-SR, [SP]
+    A24B:    9A 98          RETI    
+    A24C:    90 A8          POP     R1-BP, [SP]
+    A24D:    9A 98          RETI    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0002
+
+___PROC_0002:
+    A24E:    93 11 08 9C    LD      R1, [089c]
+    A250:    95 12 34 0A    LD      R2, [340a]
+    A252:    A3 02          OR      R1, R2
+    A253:    D3 19 34 0A    ST      R1, [340a]
+    A255:    97 0B 08 9E    LD      R3, #89e
+    A257:    07 13 08 9D    ADD     R3, [089d]
+    A259:    92 C3          LD      R1, [R3]
+    A25A:    42 40          CMP     R1, #0
+    A25B:    5E 04          JZ      AL_0001
+    A25C:    F0 40 A6 E9    CALL    ___PROC_0013
+    A25E:    9F 0F A3 0F    LJMP    AL_0003
+AL_0001:
+    A260:    F0 40 A6 3D    CALL    ___PROC_0008
+    A262:    C3 09 80 00    TEST    R1, #8000
+    A264:    5E 02          JZ      a267
+    A265:    9F 0F A2 DD    LJMP    AL_0002
+    A267:    95 01          LD      R2, R1
+    A268:    B5 0A F0 00    AND     R2, R2, #f000
+    A26A:    44 40          CMP     R2, #0
+    A26B:    4E 0C          JNZ     a278
+    A26C:    9B 0D 08 ED    LD      BP, #8ed
+    A26E:    95 79          LD      R2, R1 LSR 4
+    A26F:    95 7A          LD      R2, R2 LSR 4
+    A270:    0B 02          ADD     BP, R2
+    A271:    B7 09 00 FF    AND     R3, R1, #ff
+    A273:    B7 0B 00 7F    AND     R3, R3, #7f
+    A275:    D6 C5          ST      R3, [BP]
+    A276:    9F 0F A2 60    LJMP    AL_0001
+    A278:    45 0A 10 00    CMP     R2, R2, #1000
+    A27A:    4E 0D          JNZ     a288
+    A27B:    B9 09 00 F0    AND     R4, R1, #f0
+    A27D:    99 7C          LD      R4, R4 LSR 4
+    A27E:    D9 1C 08 EA    ST      R4, [08ea]
+    A280:    B9 09 00 07    AND     R4, R1, #7
+    A282:    F0 40 A6 3D    CALL    ___PROC_0008
+    A284:    F0 40 A6 29    CALL    ___PROC_0007
+    A286:    9F 0F A2 60    LJMP    AL_0001
+    A288:    45 0A 20 00    CMP     R2, R2, #2000
+    A28A:    4E 36          JNZ     a2c1
+    A28B:    C3 09 08 00    TEST    R1, #800
+    A28D:    5E 02          JZ      a290
+    A28E:    9F 0F A2 60    LJMP    AL_0001
+    A290:    95 12 08 C0    LD      R2, [08c0]
+    A292:    C5 0A 01 00    TEST    R2, #100
+    A294:    4E 1B          JNZ     a2b0
+    A295:    95 12 08 C0    LD      R2, [08c0]
+    A297:    C5 0A 02 00    TEST    R2, #200
+    A299:    5E 0B          JZ      a2a5
+    A29A:    95 12 08 C1    LD      R2, [08c1]
+    A29C:    D5 1A 08 C3    ST      R2, [08c3]
+    A29E:    95 12 08 C2    LD      R2, [08c2]
+    A2A0:    D5 1A 08 C4    ST      R2, [08c4]
+    A2A2:    92 40          LD      R1, #0
+    A2A3:    9F 0F A3 0F    LJMP    AL_0003
+    A2A5:    92 41          LD      R1, #1
+    A2A6:    83 09 FF FF    XOR     R1, R1, #ffff
+    A2A8:    95 12 08 C0    LD      R2, [08c0]
+    A2AA:    B5 01          AND     R2, R1
+    A2AB:    D5 1A 08 C0    ST      R2, [08c0]
+    A2AD:    92 40          LD      R1, #0
+    A2AE:    9F 0F A3 15    LJMP    0000a315
+    A2B0:    95 0A A2 BF    LD      R2, #a2bf
+    A2B2:    D4 88          PUSH    R2-R2, [SP]
+    A2B3:    92 40          LD      R1, #0
+    A2B4:    B5 0E FF C0    AND     R2, SR, #ffc0
+    A2B6:    A3 02          OR      R1, R2
+    A2B7:    D2 88          PUSH    R1-R1, [SP]
+    A2B8:    93 11 08 C5    LD      R1, [08c5]
+    A2BA:    95 12 08 C6    LD      R2, [08c6]
+    A2BC:    D4 88          PUSH    R2-R2, [SP]
+    A2BD:    D2 88          PUSH    R1-R1, [SP]
+    A2BE:    9A 90          RETF    
+    A2BF:    90 A8          POP     R1-BP, [SP]
+    A2C0:    9A 90          RETF    
+    A2C1:    45 0A 40 00    CMP     R2, R2, #4000
+    A2C3:    5E 02          JZ      a2c6
+    A2C4:    9F 0F A3 0F    LJMP    AL_0003
+    A2C6:    B3 09 3F FF    AND     R1, R1, #3fff
+    A2C8:    9B 0D 08 9E    LD      BP, #89e
+    A2CA:    0B 15 08 9D    ADD     BP, [089d]
+    A2CC:    D2 C5          ST      R1, [BP]
+    A2CD:    F0 40 A6 E9    CALL    ___PROC_0013
+    A2CF:    95 12 08 AF    LD      R2, [08af]
+    A2D1:    D5 1A 34 0B    ST      R2, [340b]
+    A2D3:    97 13 34 0F    LD      R3, [SPU_CHANNEL_STATUS]
+    A2D5:    A7 02          OR      R3, R2
+    A2D6:    D7 1B 34 00    ST      R3, [SPU_CHANNEL_ENABLE]
+    A2D8:    94 40          LD      R2, #0
+    A2D9:    D5 1A 08 AF    ST      R2, [08af]
+    A2DB:    9F 0F A3 0F    LJMP    AL_0003
+AL_0002:
+    A2DD:    99 01          LD      R4, R1
+    A2DE:    B2 4F          AND     R1, #f
+    A2DF:    D3 19 08 C8    ST      R1, [08c8]
+    A2E1:    93 04          LD      R1, R4
+    A2E2:    B3 09 7F F0    AND     R1, R1, #7ff0
+    A2E4:    93 79          LD      R1, R1 LSR 4
+    A2E5:    D3 19 08 C7    ST      R1, [08c7]
+    A2E7:    F0 40 A6 3D    CALL    ___PROC_0008
+    A2E9:    99 01          LD      R4, R1
+    A2EA:    B3 09 7F 00    AND     R1, R1, #7f00
+    A2EC:    93 79          LD      R1, R1 LSR 4
+    A2ED:    93 79          LD      R1, R1 LSR 4
+    A2EE:    D3 19 08 C9    ST      R1, [08c9]
+    A2F0:    93 04          LD      R1, R4
+    A2F1:    B3 09 00 7F    AND     R1, R1, #7f
+    A2F3:    D3 19 08 CA    ST      R1, [08ca]
+    A2F5:    F0 40 A6 3D    CALL    ___PROC_0008
+    A2F7:    99 01          LD      R4, R1
+    A2F8:    B3 09 7F 00    AND     R1, R1, #7f00
+    A2FA:    93 79          LD      R1, R1 LSR 4
+    A2FB:    93 79          LD      R1, R1 LSR 4
+    A2FC:    D3 19 08 CB    ST      R1, [08cb]
+    A2FE:    B3 0C 00 7F    AND     R1, R4, #7f
+    A300:    95 12 08 EC    LD      R2, [08ec]
+    A302:    F2 0A          MULU    R1, R2
+    A303:    99 BC          LD      R4, R4 ROR 4
+    A304:    97 BB          LD      R3, R3 ROR 4
+    A305:    99 B4          LD      R4, R4 ROR 3
+    A306:    97 B3          LD      R3, R3 ROR 3
+    A307:    B7 0B 00 7F    AND     R3, R3, #7f
+    A309:    D7 1B 08 CC    ST      R3, [08cc]
+    A30B:    F0 40 A3 1B    CALL    ___PROC_0003
+    A30D:    9F 0F A2 60    LJMP    AL_0001
+AL_0003:
+    A30F:    A3 09 C0 00    OR      R1, R1, #c000
+    A311:    D3 19 34 05    ST      R1, [3405]
+    A313:    90 A8          POP     R1-BP, [SP]
+    A314:    9A 90          RETF    
+    A315:    A3 09 40 00    OR      R1, R1, #4000
+    A317:    D3 19 34 05    ST      R1, [3405]
+    A319:    90 A8          POP     R1-BP, [SP]
+    A31A:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0003
+
+___PROC_0003:
+    A31B:    93 11 08 C8    LD      R1, [08c8]
+    A31D:    42 49          CMP     R1, #9
+    A31E:    4E 04          JNZ     a323
+    A31F:    F0 40 A5 1D    CALL    ___PROC_0005
+    A321:    9F 0F A3 74    LJMP    AL_0004
+    A323:    F0 40 A6 5A    CALL    ___PROC_0010
+    A325:    D3 19 08 E8    ST      R1, [08e8]
+    A327:    95 12 08 C8    LD      R2, [08c8]
+    A329:    9B 0D 08 B0    LD      BP, #8b0
+    A32B:    0B 02          ADD     BP, R2
+    A32C:    D2 C5          ST      R1, [BP]
+    A32D:    9B 0D 08 9E    LD      BP, #89e
+    A32F:    0B 01          ADD     BP, R1
+    A330:    93 11 08 C7    LD      R1, [08c7]
+    A332:    D2 C5          ST      R1, [BP]
+    A333:    9B 0D 08 ED    LD      BP, #8ed
+    A335:    93 11 08 C8    LD      R1, [08c8]
+    A337:    0B 01          ADD     BP, R1
+    A338:    92 C5          LD      R1, [BP]
+    A339:    99 14 09 52    LD      R4, [0952]
+    A33B:    D9 1C 3D 2F    ST      R4, [DS]
+    A33D:    9B 15 09 53    LD      BP, [0953]
+    A33F:    0B 01          ADD     BP, R1
+    A340:    94 F5          LD      R2, D:[BP++]
+    A341:    96 E5          LD      R3, D:[BP]
+    A342:    99 14 09 54    LD      R4, [0954]
+    A344:    D9 1C 3D 2F    ST      R4, [DS]
+    A346:    9B 15 09 55    LD      BP, [0955]
+    A348:    93 11 08 CA    LD      R1, [08ca]
+    A34A:    D3 19 08 E7    ST      R1, [08e7]
+    A34C:    99 05          LD      R4, BP
+    A34D:    09 02          ADD     R4, R2
+    A34E:    98 E4          LD      R4, D:[R4]
+    A34F:    B9 0C 00 FF    AND     R4, R4, #ff
+    A351:    43 04          CMP     R1, R4
+    A352:    8E 03          XOR     PC, [BP+3]
+    A353:    04 41          ADD     R2, #1
+    A354:    45 03          CMP     R2, R3
+    A355:    0E 4A          JCC     a34c
+    A356:    99 05          LD      R4, BP
+    A357:    09 02          ADD     R4, R2
+    A358:    98 E4          LD      R4, D:[R4]
+    A359:    93 7C          LD      R1, R4 LSR 4
+    A35A:    93 79          LD      R1, R1 LSR 4
+    A35B:    D3 19 08 E6    ST      R1, [08e6]
+    A35D:    99 14 09 56    LD      R4, [0956]
+    A35F:    D9 1C 3D 2F    ST      R4, [DS]
+    A361:    9B 15 09 57    LD      BP, [0957]
+    A363:    95 42          LD      R2, R2 LSL 1
+    A364:    0B 02          ADD     BP, R2
+    A365:    92 F5          LD      R1, D:[BP++]
+    A366:    D3 19 08 E4    ST      R1, [08e4]
+    A368:    42 48          CMP     R1, #8
+    A369:    92 E5          LD      R1, D:[BP]
+    A36A:    D3 19 08 E5    ST      R1, [08e5]
+    A36C:    F0 40 A7 B1    CALL    ___PROC_0018
+    A36E:    D3 19 08 E9    ST      R1, [08e9]
+    A370:    F0 40 A7 CC    CALL    ___PROC_0020
+    A372:    F0 40 A4 6E    CALL    ___PROC_0004
+AL_0004:
+    A374:    92 40          LD      R1, #0
+    A375:    D3 19 3D 2F    ST      R1, [DS]
+    A377:    93 09 A2 29    LD      R1, #a229
+    A379:    07 11 08 E8    ADD     R3, [08e8]
+    A37B:    92 E3          LD      R1, D:[R3]
+    A37C:    95 12 08 AF    LD      R2, [08af]
+    A37E:    A5 01          OR      R2, R1
+    A37F:    D5 1A 08 AF    ST      R2, [08af]
+    A381:    9A 90          RETF    
+    A382:    DA 88          PUSH    BP-BP, [SP]
+    A383:    0B 08 00 01    ADD     BP, SP, #1
+    A385:    99 14 08 C0    LD      R4, [08c0]
+    A387:    A8 41          OR      R4, #1
+    A388:    D9 1C 08 C0    ST      R4, [08c0]
+    A38A:    92 03          LD      R1, [BP+3]
+    A38B:    94 04          LD      R2, [BP+4]
+    A38C:    96 05          LD      R3, [BP+5]
+    A38D:    C6 41          TEST    #1
+    A38E:    5E 06          JZ      a395
+    A38F:    97 13 08 C0    LD      R3, [08c0]
+    A391:    A7 0B 02 00    OR      R3, R3, #200
+    A393:    D7 1B 08 C0    ST      R3, [08c0]
+    A395:    D3 19 08 C3    ST      R1, [08c3]
+    A397:    D3 19 08 C1    ST      R1, [08c1]
+    A399:    D5 1A 08 C4    ST      R2, [08c4]
+    A39B:    D5 1A 08 C2    ST      R2, [08c2]
+    A39D:    93 09 01 60    LD      R1, #160
+    A39F:    D3 19 34 04    ST      R1, [3404]
+    A3A1:    93 09 C0 00    LD      R1, #c000
+    A3A3:    D3 19 34 05    ST      R1, [3405]
+    A3A5:    98 88          POP     BP-BP, [SP]
+    A3A6:    9A 90          RETF    
+    A3A7:    DA 88          PUSH    BP-BP, [SP]
+    A3A8:    93 11 08 C0    LD      R1, [08c0]
+    A3AA:    C2 41          TEST    #1
+    A3AB:    5E 1F          JZ      a3cb
+    A3AC:    93 09 40 00    LD      R1, #4000
+    A3AE:    D3 19 34 05    ST      R1, [3405]
+    A3B0:    92 40          LD      R1, #0
+    A3B1:    D3 19 08 9C    ST      R1, [089c]
+    A3B3:    99 14 08 9B    LD      R4, [089b]
+    A3B5:    89 0C FF FF    XOR     R4, R4, #ffff
+    A3B7:    93 11 34 0F    LD      R1, [SPU_CHANNEL_STATUS]
+    A3B9:    B3 04          AND     R1, R4
+    A3BA:    D3 19 34 00    ST      R1, [SPU_CHANNEL_ENABLE]
+    A3BC:    9B 0D 08 9E    LD      BP, #89e
+    A3BE:    99 14 08 9D    LD      R4, [089d]
+    A3C0:    0B 04          ADD     BP, R4
+    A3C1:    D2 C5          ST      R1, [BP]
+    A3C2:    2A 41          SUB     BP, #1
+    A3C3:    28 41          SUB     R4, #1
+    A3C4:    6E 44          NEG     PC, #4
+    A3C5:    93 11 08 C0    LD      R1, [08c0]
+    A3C7:    A3 09 04 00    OR      R1, R1, #400
+    A3C9:    D3 19 08 C0    ST      R1, [08c0]
+    A3CB:    98 88          POP     BP-BP, [SP]
+    A3CC:    9A 90          RETF    
+    A3CD:    DA 88          PUSH    BP-BP, [SP]
+    A3CE:    93 11 08 C0    LD      R1, [08c0]
+    A3D0:    C2 41          TEST    #1
+    A3D1:    5E 10          JZ      a3e2
+    A3D2:    C3 09 04 00    TEST    R1, #400
+    A3D4:    5E 0D          JZ      a3e2
+    A3D5:    93 09 C0 00    LD      R1, #c000
+    A3D7:    D3 19 34 05    ST      R1, [3405]
+    A3D9:    93 09 04 00    LD      R1, #400
+    A3DB:    83 09 FF FF    XOR     R1, R1, #ffff
+    A3DD:    95 12 08 C0    LD      R2, [08c0]
+    A3DF:    B5 01          AND     R2, R1
+    A3E0:    D5 1A 08 C0    ST      R2, [08c0]
+    A3E2:    98 88          POP     BP-BP, [SP]
+    A3E3:    9A 90          RETF    
+    A3E4:    DA 88          PUSH    BP-BP, [SP]
+    A3E5:    93 11 08 C0    LD      R1, [08c0]
+    A3E7:    C2 41          TEST    #1
+    A3E8:    5E 1A          JZ      a403
+    A3E9:    B3 09 40 00    AND     R1, R1, #4000
+    A3EB:    D3 19 34 05    ST      R1, [3405]
+    A3ED:    92 41          LD      R1, #1
+    A3EE:    83 09 FF FF    XOR     R1, R1, #ffff
+    A3F0:    95 12 08 C0    LD      R2, [08c0]
+    A3F2:    B5 01          AND     R2, R1
+    A3F3:    93 09 02 00    LD      R1, #200
+    A3F5:    83 09 FF FF    XOR     R1, R1, #ffff
+    A3F7:    B5 01          AND     R2, R1
+    A3F8:    D5 1A 08 C0    ST      R2, [08c0]
+    A3FA:    99 14 08 9B    LD      R4, [089b]
+    A3FC:    89 0C FF FF    XOR     R4, R4, #ffff
+    A3FE:    93 11 34 0F    LD      R1, [SPU_CHANNEL_STATUS]
+    A400:    B3 04          AND     R1, R4
+    A401:    D3 19 34 00    ST      R1, [SPU_CHANNEL_ENABLE]
+    A403:    98 88          POP     BP-BP, [SP]
+    A404:    9A 90          RETF    
+    A405:    DA 88          PUSH    BP-BP, [SP]
+    A406:    0B 08 00 01    ADD     BP, SP, #1
+    A408:    92 04          LD      R1, [BP+4]
+    A409:    D3 19 08 E4    ST      R1, [08e4]
+    A40B:    92 05          LD      R1, [BP+5]
+    A40C:    D3 19 08 E5    ST      R1, [08e5]
+    A40E:    92 03          LD      R1, [BP+3]
+    A40F:    D3 19 08 E7    ST      R1, [08e7]
+    A411:    F0 40 A6 5A    CALL    ___PROC_0010
+    A413:    D3 19 08 E8    ST      R1, [08e8]
+    A415:    94 06          LD      R2, [BP+6]
+    A416:    D5 1A 08 C9    ST      R2, [08c9]
+    A418:    94 07          LD      R2, [BP+7]
+    A419:    D5 1A 08 CB    ST      R2, [08cb]
+    A41B:    95 0A 00 7F    LD      R2, #7f
+    A41D:    D5 1A 08 CC    ST      R2, [08cc]
+    A41F:    F0 40 A7 B1    CALL    ___PROC_0018
+    A421:    D3 19 08 E9    ST      R1, [08e9]
+    A423:    F0 40 A7 CC    CALL    ___PROC_0020
+    A425:    F0 40 A4 6E    CALL    ___PROC_0004
+    A427:    98 40          LD      R4, #0
+    A428:    D9 1C 3D 2F    ST      R4, [DS]
+    A42A:    99 0C A2 29    LD      R4, #a229
+    A42C:    07 14 08 E8    ADD     R3, [08e8]
+    A42E:    98 E3          LD      R4, D:[R3]
+    A42F:    D9 1C 34 0B    ST      R4, [340b]
+    A431:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A433:    A9 02          OR      R4, R2
+    A434:    D9 1C 34 00    ST      R4, [SPU_CHANNEL_ENABLE]
+    A436:    98 88          POP     BP-BP, [SP]
+    A437:    93 11 08 E8    LD      R1, [08e8]
+    A439:    9A 90          RETF    
+    A43A:    DA 88          PUSH    BP-BP, [SP]
+    A43B:    0B 08 00 01    ADD     BP, SP, #1
+    A43D:    92 05          LD      R1, [BP+5]
+    A43E:    D3 19 08 E4    ST      R1, [08e4]
+    A440:    92 06          LD      R1, [BP+6]
+    A441:    D3 19 08 E5    ST      R1, [08e5]
+    A443:    92 04          LD      R1, [BP+4]
+    A444:    D3 19 08 E7    ST      R1, [08e7]
+    A446:    92 03          LD      R1, [BP+3]
+    A447:    D3 19 08 E8    ST      R1, [08e8]
+    A449:    94 07          LD      R2, [BP+7]
+    A44A:    D5 1A 08 C9    ST      R2, [08c9]
+    A44C:    94 08          LD      R2, [BP+8]
+    A44D:    D5 1A 08 CB    ST      R2, [08cb]
+    A44F:    95 0A 00 7F    LD      R2, #7f
+    A451:    D5 1A 08 CC    ST      R2, [08cc]
+    A453:    F0 40 A7 B1    CALL    ___PROC_0018
+    A455:    D3 19 08 E9    ST      R1, [08e9]
+    A457:    F0 40 A7 CC    CALL    ___PROC_0020
+    A459:    F0 40 A4 6E    CALL    ___PROC_0004
+    A45B:    98 40          LD      R4, #0
+    A45C:    D9 1C 3D 2F    ST      R4, [DS]
+    A45E:    99 0C A2 29    LD      R4, #a229
+    A460:    07 14 08 E8    ADD     R3, [08e8]
+    A462:    98 E3          LD      R4, D:[R3]
+    A463:    D9 1C 34 0B    ST      R4, [340b]
+    A465:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A467:    A9 02          OR      R4, R2
+    A468:    D9 1C 34 00    ST      R4, [SPU_CHANNEL_ENABLE]
+    A46A:    98 88          POP     BP-BP, [SP]
+    A46B:    93 11 08 E8    LD      R1, [08e8]
+    A46D:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0004
+
+___PROC_0004:
+    A46E:    93 11 08 E8    LD      R1, [08e8]
+    A470:    B2 4F          AND     R1, #f
+    A471:    96 40          LD      R3, #0
+    A472:    D7 1B 3D 2F    ST      R3, [DS]
+    A474:    97 0B A2 29    LD      R3, #a229
+    A476:    07 01          ADD     R3, R1
+    A477:    98 E3          LD      R4, D:[R3]
+    A478:    89 0C FF FF    XOR     R4, R4, #ffff
+    A47A:    9B 0D 34 00    LD      BP, #3400
+    A47C:    96 15          LD      R3, [BP+15]
+    A47D:    B7 04          AND     R3, R4
+    A47E:    D6 15          ST      R3, [BP+15]
+    A47F:    9B 0D 30 00    LD      BP, #3000
+    A481:    0B 59          ADD     BP, R1 LSL 4
+    A482:    97 13 08 E5    LD      R3, [08e5]
+    A484:    99 14 08 E4    LD      R4, [08e4]
+    A486:    06 54          ADD     R3, #14
+    A487:    0E 01          JCC     a489
+    A488:    08 41          ADD     R4, #1
+    A489:    D6 C5          ST      R3, [BP]
+    A48A:    95 0A 80 80    LD      R2, #8080
+    A48C:    D5 1A 08 EB    ST      R2, [08eb]
+    A48E:    95 0A 08 D0    LD      R2, #8d0
+    A490:    04 50          ADD     R2, #10
+    A491:    92 C2          LD      R1, [R2]
+    A492:    95 79          LD      R2, R1 LSR 4
+    A493:    95 7A          LD      R2, R2 LSR 4
+    A494:    B5 0A 00 FF    AND     R2, R2, #ff
+    A496:    D5 1A 08 E6    ST      R2, [08e6]
+    A498:    C3 09 00 40    TEST    R1, #40
+    A49A:    5E 10          JZ      a4ab
+    A49B:    A9 0C 80 00    OR      R4, R4, #8000
+    A49D:    05 0B 00 01    ADD     R2, R3, #1
+    A49F:    D4 C5          ST      R2, [BP]
+    A4A0:    D8 88          PUSH    R4-R4, [SP]
+    A4A1:    B8 7F          AND     R4, #3f
+    A4A2:    99 5C          LD      R4, R4 LSL 4
+    A4A3:    99 5C          LD      R4, R4 LSL 4
+    A4A4:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A4A6:    AD 4C          OR      SR, R4 LSL 2
+    A4A7:    96 88          POP     R4-R4, [SP]
+    A4A8:    94 E3          LD      R2, D:[R3]
+    A4A9:    D5 1A 08 EB    ST      R2, [08eb]
+    A4AB:    C2 50          TEST    #10
+    A4AC:    5E 06          JZ      a4b3
+    A4AD:    A9 0C 40 00    OR      R4, R4, #4000
+    A4AF:    95 0A 80 00    LD      R2, #8000
+    A4B1:    D5 1A 08 EB    ST      R2, [08eb]
+    A4B3:    A9 0C 20 00    OR      R4, R4, #2000
+    A4B5:    D8 01          ST      R4, [BP+1]
+    A4B6:    99 0C 08 D0    LD      R4, #8d0
+    A4B8:    08 4C          ADD     R4, #c
+    A4B9:    98 C4          LD      R4, [R4]
+    A4BA:    95 12 08 E4    LD      R2, [08e4]
+    A4BC:    97 13 08 E5    LD      R3, [08e5]
+    A4BE:    07 04          ADD     R3, R4
+    A4BF:    0E 01          JCC     a4c1
+    A4C0:    04 41          ADD     R2, #1
+    A4C1:    D6 02          ST      R3, [BP+2]
+    A4C2:    92 01          LD      R1, [BP+1]
+    A4C3:    95 5A          LD      R2, R2 LSL 4
+    A4C4:    A3 4A          OR      R1, R2 LSL 2
+    A4C5:    D2 01          ST      R1, [BP+1]
+    A4C6:    95 12 08 E9    LD      R2, [08e9]
+    A4C8:    D4 03          ST      R2, [BP+3]
+    A4C9:    99 0C 08 D0    LD      R4, #8d0
+    A4CB:    08 4E          ADD     R4, #e
+    A4CC:    98 C4          LD      R4, [R4]
+    A4CD:    95 12 08 E4    LD      R2, [08e4]
+    A4CF:    97 13 08 E5    LD      R3, [08e5]
+    A4D1:    07 04          ADD     R3, R4
+    A4D2:    0E 01          JCC     a4d4
+    A4D3:    04 41          ADD     R2, #1
+    A4D4:    D4 07          ST      R2, [BP+7]
+    A4D5:    D6 08          ST      R3, [BP+8]
+    A4D6:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A4D8:    95 5A          LD      R2, R2 LSL 4
+    A4D9:    95 5A          LD      R2, R2 LSL 4
+    A4DA:    AD 4A          OR      SR, R2 LSL 2
+    A4DB:    92 F3          LD      R1, D:[R3++]
+    A4DC:    D2 04          ST      R1, [BP+4]
+    A4DD:    92 E3          LD      R1, D:[R3]
+    A4DE:    D2 06          ST      R1, [BP+6]
+    A4DF:    92 40          LD      R1, #0
+    A4E0:    D2 05          ST      R1, [BP+5]
+    A4E1:    93 09 0C 00    LD      R1, #c00
+    A4E3:    D2 0A          ST      R1, [BP+a]
+    A4E4:    95 12 08 EB    LD      R2, [08eb]
+    A4E6:    D4 0B          ST      R2, [BP+b]
+    A4E7:    94 40          LD      R2, #0
+    A4E8:    D4 0D          ST      R2, [BP+d]
+    A4E9:    93 11 08 E7    LD      R1, [08e7]
+    A4EB:    95 12 08 E6    LD      R2, [08e6]
+    A4ED:    23 02          SUB     R1, R2
+    A4EE:    D2 88          PUSH    R1-R1, [SP]
+    A4EF:    98 41          LD      R4, #1
+    A4F0:    97 0B A7 F1    LD      R3, #a7f1
+    A4F2:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A4F4:    99 5C          LD      R4, R4 LSL 4
+    A4F5:    99 5C          LD      R4, R4 LSL 4
+    A4F6:    AD 4C          OR      SR, R4 LSL 2
+    A4F7:    07 01          ADD     R3, R1
+    A4F8:    94 E3          LD      R2, D:[R3]
+    A4F9:    99 0C 08 D0    LD      R4, #8d0
+    A4FB:    08 48          ADD     R4, #8
+    A4FC:    92 C4          LD      R1, [R4]
+    A4FD:    98 40          LD      R4, #0
+    A4FE:    99 BC          LD      R4, R4 ROR 4
+    A4FF:    F2 0A          MULU    R1, R2
+    A500:    99 BC          LD      R4, R4 ROR 4
+    A501:    97 BB          LD      R3, R3 ROR 4
+    A502:    99 BC          LD      R4, R4 ROR 4
+    A503:    97 BB          LD      R3, R3 ROR 4
+    A504:    90 88          POP     R1-R1, [SP]
+    A505:    42 40          CMP     R1, #0
+    A506:    2E 02          SUB     PC, [BP+2]
+    A507:    99 BC          LD      R4, R4 ROR 4
+    A508:    97 BB          LD      R3, R3 ROR 4
+    A509:    B8 47          AND     R4, #7
+    A50A:    0B 0D 02 00    ADD     BP, BP, #200
+    A50C:    D8 C5          ST      R4, [BP]
+    A50D:    94 C5          LD      R2, [BP]
+    A50E:    45 04          CMP     R2, R4
+    A50F:    4E 44          JNZ     a50c
+    A510:    D6 04          ST      R3, [BP+4]
+    A511:    94 04          LD      R2, [BP+4]
+    A512:    45 03          CMP     R2, R3
+    A513:    4E 44          JNZ     a510
+    A514:    94 40          LD      R2, #0
+    A515:    D4 01          ST      R2, [BP+1]
+    A516:    D4 02          ST      R2, [BP+2]
+    A517:    D4 05          ST      R2, [BP+5]
+    A518:    D4 06          ST      R2, [BP+6]
+    A519:    D4 07          ST      R2, [BP+7]
+    A51A:    94 42          LD      R2, #2
+    A51B:    D4 03          ST      R2, [BP+3]
+    A51C:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0005
+
+___PROC_0005:
+    A51D:    99 14 09 58    LD      R4, [0958]
+    A51F:    D9 1C 3D 2F    ST      R4, [DS]
+    A521:    95 12 09 59    LD      R2, [0959]
+    A523:    93 11 08 CA    LD      R1, [08ca]
+    A525:    93 41          LD      R1, R1 LSL 1
+    A526:    05 01          ADD     R2, R1
+    A527:    92 E2          LD      R1, D:[R2]
+    A528:    D3 19 08 E4    ST      R1, [08e4]
+    A52A:    04 41          ADD     R2, #1
+    A52B:    92 E2          LD      R1, D:[R2]
+    A52C:    D3 19 08 E5    ST      R1, [08e5]
+    A52E:    F0 40 A6 5A    CALL    ___PROC_0010
+    A530:    D3 19 08 E8    ST      R1, [08e8]
+    A532:    95 12 08 C8    LD      R2, [08c8]
+    A534:    9B 0D 08 B0    LD      BP, #8b0
+    A536:    0B 02          ADD     BP, R2
+    A537:    D2 C5          ST      R1, [BP]
+    A538:    F0 40 A7 B1    CALL    ___PROC_0018
+    A53A:    D3 19 08 E9    ST      R1, [08e9]
+    A53C:    F0 40 A7 CC    CALL    ___PROC_0020
+    A53E:    F0 40 A5 B6    CALL    ___PROC_0006
+    A540:    9A 90          RETF    
+    A541:    DA 88          PUSH    BP-BP, [SP]
+    A542:    0B 08 00 01    ADD     BP, SP, #1
+    A544:    96 03          LD      R3, [BP+3]
+    A545:    D7 1B 08 E4    ST      R3, [08e4]
+    A547:    98 04          LD      R4, [BP+4]
+    A548:    D9 1C 08 E5    ST      R4, [08e5]
+    A54A:    F0 40 A6 5A    CALL    ___PROC_0010
+    A54C:    D3 19 08 E8    ST      R1, [08e8]
+    A54E:    92 05          LD      R1, [BP+5]
+    A54F:    D3 19 08 C9    ST      R1, [08c9]
+    A551:    92 06          LD      R1, [BP+6]
+    A552:    D3 19 08 CB    ST      R1, [08cb]
+    A554:    93 09 00 7F    LD      R1, #7f
+    A556:    D3 19 08 CC    ST      R1, [08cc]
+    A558:    F0 40 A7 B1    CALL    ___PROC_0018
+    A55A:    D3 19 08 E9    ST      R1, [08e9]
+    A55C:    F0 40 A7 CC    CALL    ___PROC_0020
+    A55E:    F0 40 A5 B6    CALL    ___PROC_0006
+    A560:    93 11 08 E8    LD      R1, [08e8]
+    A562:    96 40          LD      R3, #0
+    A563:    D7 1B 3D 2F    ST      R3, [DS]
+    A565:    97 0B A2 29    LD      R3, #a229
+    A567:    07 01          ADD     R3, R1
+    A568:    98 E3          LD      R4, D:[R3]
+    A569:    D9 1C 34 0B    ST      R4, [340b]
+    A56B:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A56D:    A9 02          OR      R4, R2
+    A56E:    D9 1C 34 00    ST      R4, [SPU_CHANNEL_ENABLE]
+    A570:    98 88          POP     BP-BP, [SP]
+    A571:    9A 90          RETF    
+    A572:    DA 88          PUSH    BP-BP, [SP]
+    A573:    0B 08 00 01    ADD     BP, SP, #1
+    A575:    92 03          LD      R1, [BP+3]
+    A576:    D3 19 08 E8    ST      R1, [08e8]
+    A578:    96 04          LD      R3, [BP+4]
+    A579:    D7 1B 08 E4    ST      R3, [08e4]
+    A57B:    98 05          LD      R4, [BP+5]
+    A57C:    D9 1C 08 E5    ST      R4, [08e5]
+    A57E:    92 06          LD      R1, [BP+6]
+    A57F:    D3 19 08 C9    ST      R1, [08c9]
+    A581:    92 07          LD      R1, [BP+7]
+    A582:    D3 19 08 CB    ST      R1, [08cb]
+    A584:    93 09 00 7F    LD      R1, #7f
+    A586:    D3 19 08 CC    ST      R1, [08cc]
+    A588:    F0 40 A7 B1    CALL    ___PROC_0018
+    A58A:    D3 19 08 E9    ST      R1, [08e9]
+    A58C:    F0 40 A7 CC    CALL    ___PROC_0020
+    A58E:    F0 40 A5 B6    CALL    ___PROC_0006
+    A590:    93 11 08 E8    LD      R1, [08e8]
+    A592:    96 40          LD      R3, #0
+    A593:    D7 1B 3D 2F    ST      R3, [DS]
+    A595:    97 0B A2 29    LD      R3, #a229
+    A597:    07 01          ADD     R3, R1
+    A598:    98 E3          LD      R4, D:[R3]
+    A599:    D9 1C 34 0B    ST      R4, [340b]
+    A59B:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A59D:    A9 02          OR      R4, R2
+    A59E:    D9 1C 34 00    ST      R4, [SPU_CHANNEL_ENABLE]
+    A5A0:    98 88          POP     BP-BP, [SP]
+    A5A1:    9A 90          RETF    
+    A5A2:    DA 88          PUSH    BP-BP, [SP]
+    A5A3:    0B 08 00 01    ADD     BP, SP, #1
+    A5A5:    92 03          LD      R1, [BP+3]
+    A5A6:    98 40          LD      R4, #0
+    A5A7:    D9 1C 3D 2F    ST      R4, [DS]
+    A5A9:    99 0C A2 29    LD      R4, #a229
+    A5AB:    09 01          ADD     R4, R1
+    A5AC:    92 E4          LD      R1, D:[R4]
+    A5AD:    83 09 FF FF    XOR     R1, R1, #ffff
+    A5AF:    95 12 34 00    LD      R2, [SPU_CHANNEL_ENABLE]
+    A5B1:    B5 01          AND     R2, R1
+    A5B2:    D5 1A 34 00    ST      R2, [SPU_CHANNEL_ENABLE]
+    A5B4:    98 88          POP     BP-BP, [SP]
+    A5B5:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0006
+
+___PROC_0006:
+    A5B6:    93 11 08 E8    LD      R1, [08e8]
+    A5B8:    B2 4F          AND     R1, #f
+    A5B9:    9B 0D 30 00    LD      BP, #3000
+    A5BB:    0B 59          ADD     BP, R1 LSL 4
+    A5BC:    96 40          LD      R3, #0
+    A5BD:    D7 1B 3D 2F    ST      R3, [DS]
+    A5BF:    97 0B A2 29    LD      R3, #a229
+    A5C1:    07 01          ADD     R3, R1
+    A5C2:    96 E3          LD      R3, D:[R3]
+    A5C3:    D7 1B 08 CF    ST      R3, [08cf]
+    A5C5:    99 14 34 15    LD      R4, [SPU_CHANNEL_ENV_MODE]
+    A5C7:    A9 03          OR      R4, R3
+    A5C8:    D9 1C 34 15    ST      R4, [SPU_CHANNEL_ENV_MODE]
+    A5CA:    97 13 08 E5    LD      R3, [08e5]
+    A5CC:    99 14 08 E4    LD      R4, [08e4]
+    A5CE:    06 54          ADD     R3, #14
+    A5CF:    0E 01          JCC     AL_0005
+    A5D0:    08 41          ADD     R4, #1
+AL_0005:
+    A5D1:    D6 C5          ST      R3, [BP]
+    A5D2:    95 0A 80 80    LD      R2, #8080
+    A5D4:    D5 1A 08 EB    ST      R2, [08eb]
+    A5D6:    95 0A 08 D0    LD      R2, #8d0
+    A5D8:    04 50          ADD     R2, #10
+    A5D9:    92 C2          LD      R1, [R2]
+    A5DA:    C3 09 00 40    TEST    R1, #40
+    A5DC:    5E 11          JZ      AL_0006
+    A5DD:    A9 0C 80 00    OR      R4, R4, #8000
+    A5DF:    05 0B 00 01    ADD     R2, R3, #1
+    A5E1:    D4 C5          ST      R2, [BP]
+    A5E2:    D8 88          PUSH    R4-R4, [SP]
+    A5E3:    B8 7F          AND     R4, #3f
+    A5E4:    99 5C          LD      R4, R4 LSL 4
+    A5E5:    99 5C          LD      R4, R4 LSL 4
+    A5E6:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A5E8:    AD 4C          OR      SR, R4 LSL 2
+    A5E9:    96 88          POP     R4-R4, [SP]
+    A5EA:    94 E3          LD      R2, D:[R3]
+    A5EB:    D5 1A 08 EB    ST      R2, [08eb]
+    A5ED:    EE 08          JMP     AL_0007
+AL_0006:
+    A5EE:    C2 50          TEST    #10
+    A5EF:    5E 06          JZ      AL_0007
+    A5F0:    A9 0C 40 00    OR      R4, R4, #4000
+    A5F2:    95 0A 80 00    LD      R2, #8000
+    A5F4:    D5 1A 08 EB    ST      R2, [08eb]
+AL_0007:
+    A5F6:    A9 0C 10 00    OR      R4, R4, #1000
+    A5F8:    D8 01          ST      R4, [BP+1]
+    A5F9:    94 40          LD      R2, #0
+    A5FA:    D4 02          ST      R2, [BP+2]
+    A5FB:    93 11 08 E9    LD      R1, [08e9]
+    A5FD:    D2 03          ST      R1, [BP+3]
+    A5FE:    94 40          LD      R2, #0
+    A5FF:    D4 04          ST      R2, [BP+4]
+    A600:    D4 06          ST      R2, [BP+6]
+    A601:    D4 07          ST      R2, [BP+7]
+    A602:    D4 08          ST      R2, [BP+8]
+    A603:    95 0A 0C 00    LD      R2, #c00
+    A605:    D4 0A          ST      R2, [BP+a]
+    A606:    95 0A 00 7F    LD      R2, #7f
+    A608:    D4 05          ST      R2, [BP+5]
+    A609:    97 0B 08 D0    LD      R3, #8d0
+    A60B:    06 50          ADD     R3, #10
+    A60C:    94 C3          LD      R2, [R3]
+    A60D:    95 12 08 EB    LD      R2, [08eb]
+    A60F:    D4 0B          ST      R2, [BP+b]
+    A610:    94 40          LD      R2, #0
+    A611:    D4 0D          ST      R2, [BP+d]
+    A612:    97 0B 08 D0    LD      R3, #8d0
+    A614:    06 48          ADD     R3, #8
+    A615:    92 C3          LD      R1, [R3]
+    A616:    98 40          LD      R4, #0
+    A617:    99 BC          LD      R4, R4 ROR 4
+    A618:    95 0A 01 DD    LD      R2, #1dd
+    A61A:    F2 0A          MULU    R1, R2
+    A61B:    99 BC          LD      R4, R4 ROR 4
+    A61C:    97 BB          LD      R3, R3 ROR 4
+    A61D:    99 BC          LD      R4, R4 ROR 4
+    A61E:    97 BB          LD      R3, R3 ROR 4
+    A61F:    0B 0D 02 00    ADD     BP, BP, #200
+    A621:    D8 00          ST      R4, [BP+0]
+    A622:    D6 04          ST      R3, [BP+4]
+    A623:    94 40          LD      R2, #0
+    A624:    D4 01          ST      R2, [BP+1]
+    A625:    D4 05          ST      R2, [BP+5]
+    A626:    94 42          LD      R2, #2
+    A627:    D4 03          ST      R2, [BP+3]
+    A628:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0007
+
+___PROC_0007:
+    A629:    DA 88          PUSH    BP-BP, [SP]
+    A62A:    D4 88          PUSH    R2-R2, [SP]
+    A62B:    95 12 08 EA    LD      R2, [08ea]
+    A62D:    9B 0D 08 B0    LD      BP, #8b0
+    A62F:    0B 02          ADD     BP, R2
+    A630:    94 C5          LD      R2, [BP]
+    A631:    9B 0D 32 00    LD      BP, #3200
+    A633:    B4 4F          AND     R2, #f
+    A634:    0B 5A          ADD     BP, R2 LSL 4
+    A635:    D8 C5          ST      R4, [BP]
+    A636:    D2 04          ST      R1, [BP+4]
+    A637:    94 40          LD      R2, #0
+    A638:    D4 01          ST      R2, [BP+1]
+    A639:    D4 05          ST      R2, [BP+5]
+    A63A:    92 88          POP     R2-R2, [SP]
+    A63B:    98 88          POP     BP-BP, [SP]
+    A63C:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0008
+
+___PROC_0008:
+    A63D:    D4 88          PUSH    R2-R2, [SP]
+    A63E:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A640:    93 11 08 C3    LD      R1, [08c3]
+    A642:    93 59          LD      R1, R1 LSL 4
+    A643:    93 59          LD      R1, R1 LSL 4
+    A644:    AD 49          OR      SR, R1 LSL 2
+    A645:    93 11 08 C4    LD      R1, [08c4]
+    A647:    94 E1          LD      R2, D:[R1]
+    A648:    D4 88          PUSH    R2-R2, [SP]
+    A649:    02 41          ADD     R1, #1
+    A64A:    4E 05          JNZ     a650
+    A64B:    95 12 08 C3    LD      R2, [08c3]
+    A64D:    04 41          ADD     R2, #1
+    A64E:    D5 1A 08 C3    ST      R2, [08c3]
+    A650:    D3 19 08 C4    ST      R1, [08c4]
+    A652:    90 88          POP     R1-R1, [SP]
+    A653:    92 88          POP     R2-R2, [SP]
+    A654:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0009
+
+___PROC_0009:
+    A655:    DA 88          PUSH    BP-BP, [SP]
+    A656:    93 11 08 C0    LD      R1, [08c0]
+    A658:    98 88          POP     BP-BP, [SP]
+    A659:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0010
+
+___PROC_0010:
+    A65A:    DA 88          PUSH    BP-BP, [SP]
+    A65B:    99 14 34 0F    LD      R4, [SPU_CHANNEL_STATUS]
+    A65D:    93 11 08 AF    LD      R1, [08af]
+    A65F:    A9 01          OR      R4, R1
+    A660:    89 0C FF FF    XOR     R4, R4, #ffff
+    A662:    93 11 08 9B    LD      R1, [089b]
+    A664:    B9 01          AND     R4, R1
+    A665:    96 41          LD      R3, #1
+    A666:    92 40          LD      R1, #0
+AL_0008:
+    A667:    C7 04          TEST    R4
+    A668:    4E 06          JNZ     AL_0009
+    A669:    97 43          LD      R3, R3 LSL 1
+    A66A:    02 41          ADD     R1, #1
+    A66B:    43 11 08 9D    CMP     R1, [089d]
+    A66D:    5E 10          JZ      AL_0010
+    A66E:    EE 48          JMP     AL_0008
+AL_0009:
+    A66F:    99 0C 08 FD    LD      R4, #8fd
+    A671:    95 12 09 0D    LD      R2, [090d]
+    A673:    09 02          ADD     R4, R2
+    A674:    D2 C4          ST      R1, [R4]
+    A675:    04 41          ADD     R2, #1
+    A676:    45 12 08 9D    CMP     R2, [089d]
+    A678:    0E 01          JCC     a67a
+    A679:    94 40          LD      R2, #0
+    A67A:    D5 1A 09 0D    ST      R2, [090d]
+    A67C:    98 88          POP     BP-BP, [SP]
+    A67D:    9A 90          RETF    
+AL_0010:
+    A67E:    93 11 09 0D    LD      R1, [090d]
+    A680:    99 0C 08 FD    LD      R4, #8fd
+    A682:    09 01          ADD     R4, R1
+    A683:    92 C4          LD      R1, [R4]
+    A684:    99 14 09 0D    LD      R4, [090d]
+    A686:    08 41          ADD     R4, #1
+    A687:    49 14 08 9D    CMP     R4, [089d]
+    A689:    0E 01          JCC     a68b
+    A68A:    98 40          LD      R4, #0
+    A68B:    D9 1C 09 0D    ST      R4, [090d]
+    A68D:    98 40          LD      R4, #0
+    A68E:    D9 1C 3D 2F    ST      R4, [DS]
+    A690:    99 0C A2 29    LD      R4, #a229
+    A692:    09 01          ADD     R4, R1
+    A693:    98 E4          LD      R4, D:[R4]
+    A694:    97 13 08 9B    LD      R3, [089b]
+    A696:    C9 03          TEST    R3
+    A697:    5E 5A          JZ      AL_0010
+    A698:    99 0C 08 9E    LD      R4, #89e
+    A69A:    09 01          ADD     R4, R1
+    A69B:    94 40          LD      R2, #0
+    A69C:    D4 C4          ST      R2, [R4]
+    A69D:    98 40          LD      R4, #0
+    A69E:    D9 1C 3D 2F    ST      R4, [DS]
+    A6A0:    99 0C A2 29    LD      R4, #a229
+    A6A2:    09 01          ADD     R4, R1
+    A6A3:    96 E4          LD      R3, D:[R4]
+    A6A4:    99 0C 30 00    LD      R4, #3000
+    A6A6:    09 59          ADD     R4, R1 LSL 4
+    A6A7:    94 40          LD      R2, #0
+    A6A8:    08 45          ADD     R4, #5
+    A6A9:    D4 C4          ST      R2, [R4]
+    A6AA:    87 0B FF FF    XOR     R3, R3, #ffff
+    A6AC:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A6AE:    B5 03          AND     R2, R3
+    A6AF:    D5 1A 34 00    ST      R2, [SPU_CHANNEL_ENABLE]
+    A6B1:    87 0B FF FF    XOR     R3, R3, #ffff
+    A6B3:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A6B5:    C5 03          TEST    R3
+    A6B6:    4E 44          JNZ     a6b3
+    A6B7:    98 88          POP     BP-BP, [SP]
+    A6B8:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0011
+
+___PROC_0011:
+    A6B9:    DA A0          PUSH    R2-BP, [SP]
+    A6BA:    9B 0D 30 00    LD      BP, #3000
+    A6BC:    96 40          LD      R3, #0
+    A6BD:    92 40          LD      R1, #0
+    A6BE:    D3 19 08 CF    ST      R1, [08cf]
+    A6C0:    0B 5B          ADD     BP, R3 LSL 4
+    A6C1:    94 05          LD      R2, [BP+5]
+    A6C2:    B5 0A 00 7F    AND     R2, R2, #7f
+    A6C4:    45 12 08 CF    CMP     R2, [08cf]
+    A6C6:    1E 03          ADC     PC, [BP+3]
+    A6C7:    D5 1A 08 CF    ST      R2, [08cf]
+    A6C9:    93 03          LD      R1, R3
+    A6CA:    06 41          ADD     R3, #1
+    A6CB:    47 13 08 9D    CMP     R3, [089d]
+    A6CD:    0E 4E          JCC     a6c0
+    A6CE:    92 A0          POP     R2-BP, [SP]
+    A6CF:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0012
+
+___PROC_0012:
+    A6D0:    9B 0D 08 9E    LD      BP, #89e
+    A6D2:    96 40          LD      R3, #0
+    A6D3:    D7 1B 08 CF    ST      R3, [08cf]
+    A6D5:    92 C5          LD      R1, [BP]
+    A6D6:    5E 0A          JZ      a6e1
+    A6D7:    95 12 08 CF    LD      R2, [08cf]
+    A6D9:    4E 02          JNZ     a6dc
+    A6DA:    D3 19 08 CF    ST      R1, [08cf]
+    A6DC:    43 11 08 CF    CMP     R1, [08cf]
+    A6DE:    1E 02          ADC     PC, [BP+2]
+    A6DF:    D3 19 08 CF    ST      R1, [08cf]
+    A6E1:    0A 41          ADD     BP, #1
+    A6E2:    06 41          ADD     R3, #1
+    A6E3:    47 13 08 9D    CMP     R3, [089d]
+    A6E5:    8E 51          XOR     PC, #11
+    A6E6:    93 11 08 CF    LD      R1, [08cf]
+    A6E8:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0013
+
+___PROC_0013:
+    A6E9:    F0 40 A6 D0    CALL    ___PROC_0012
+    A6EB:    D3 19 08 CF    ST      R1, [08cf]
+    A6ED:    9B 0D 08 9E    LD      BP, #89e
+    A6EF:    96 40          LD      R3, #0
+    A6F0:    D7 1B 08 9C    ST      R3, [089c]
+    A6F2:    94 41          LD      R2, #1
+    A6F3:    92 C5          LD      R1, [BP]
+    A6F4:    5E 0B          JZ      a700
+    A6F5:    23 11 08 CF    SUB     R1, [08cf]
+    A6F7:    6E 01          NEG     PC, [BP+1]
+    A6F8:    92 40          LD      R1, #0
+    A6F9:    D2 C5          ST      R1, [BP]
+    A6FA:    BE 05          JG      a700
+    A6FB:    99 14 08 9C    LD      R4, [089c]
+    A6FD:    A9 02          OR      R4, R2
+    A6FE:    D9 1C 08 9C    ST      R4, [089c]
+    A700:    0A 41          ADD     BP, #1
+    A701:    06 41          ADD     R3, #1
+    A702:    95 42          LD      R2, R2 LSL 1
+    A703:    47 13 08 9D    CMP     R3, [089d]
+    A705:    8E 53          XOR     PC, #13
+    A706:    95 12 08 9B    LD      R2, [089b]
+    A708:    99 14 08 9C    LD      R4, [089c]
+    A70A:    B9 02          AND     R4, R2
+    A70B:    D9 1C 08 9C    ST      R4, [089c]
+    A70D:    93 11 08 CF    LD      R1, [08cf]
+    A70F:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0014
+
+___PROC_0014:
+    A710:    DA 88          PUSH    BP-BP, [SP]
+    A711:    96 40          LD      R3, #0
+    A712:    92 40          LD      R1, #0
+    A713:    9B 0D 30 00    LD      BP, #3000
+    A715:    D2 00          ST      R1, [BP+0]
+    A716:    D2 01          ST      R1, [BP+1]
+    A717:    D2 02          ST      R1, [BP+2]
+    A718:    D2 03          ST      R1, [BP+3]
+    A719:    D2 04          ST      R1, [BP+4]
+    A71A:    D2 05          ST      R1, [BP+5]
+    A71B:    D2 06          ST      R1, [BP+6]
+    A71C:    D2 07          ST      R1, [BP+7]
+    A71D:    D2 08          ST      R1, [BP+8]
+    A71E:    D2 09          ST      R1, [BP+9]
+    A71F:    D2 0A          ST      R1, [BP+a]
+    A720:    D2 0B          ST      R1, [BP+b]
+    A721:    0B 0D 02 00    ADD     BP, BP, #200
+    A723:    D2 00          ST      R1, [BP+0]
+    A724:    D2 01          ST      R1, [BP+1]
+    A725:    D2 02          ST      R1, [BP+2]
+    A726:    D2 03          ST      R1, [BP+3]
+    A727:    D2 05          ST      R1, [BP+5]
+    A728:    D2 06          ST      R1, [BP+6]
+    A729:    D2 07          ST      R1, [BP+7]
+    A72A:    2B 0D 02 00    SUB     BP, BP, #200
+    A72C:    06 41          ADD     R3, #1
+    A72D:    0A 50          ADD     BP, #10
+    A72E:    46 50          CMP     R3, #10
+    A72F:    0E 5B          JCC     a715
+    A730:    0B 08 00 01    ADD     BP, SP, #1
+    A732:    92 40          LD      R1, #0
+    A733:    D3 19 08 CF    ST      R1, [08cf]
+    A735:    92 03          LD      R1, [BP+3]
+    A736:    C3 09 08 00    TEST    R1, #800
+    A738:    5E 0A          JZ      a743
+    A739:    94 4C          LD      R2, #c
+    A73A:    D5 1A 08 9D    ST      R2, [089d]
+    A73C:    93 11 08 C0    LD      R1, [08c0]
+    A73E:    A3 09 08 00    OR      R1, R1, #800
+    A740:    D3 19 08 C0    ST      R1, [08c0]
+    A742:    92 44          LD      R1, #4
+    A743:    D3 19 08 CF    ST      R1, [08cf]
+    A745:    9B 0D 34 00    LD      BP, #3400
+    A747:    92 40          LD      R1, #0
+    A748:    D2 C5          ST      R1, [BP]
+    A749:    95 0A 00 7F    LD      R2, #7f
+    A74B:    D4 01          ST      R2, [BP+1]
+    A74C:    D2 02          ST      R1, [BP+2]
+    A74D:    D2 04          ST      R1, [BP+4]
+    A74E:    D2 05          ST      R1, [BP+5]
+    A74F:    95 0A 33 33    LD      R2, #3333
+    A751:    D4 06          ST      R2, [BP+6]
+    A752:    D4 07          ST      R2, [BP+7]
+    A753:    95 0A 33 33    LD      R2, #3333
+    A755:    D4 08          ST      R2, [BP+8]
+    A756:    D4 09          ST      R2, [BP+9]
+    A757:    94 40          LD      R2, #0
+    A758:    D4 0C          ST      R2, [BP+c]
+    A759:    95 0A 01 08    LD      R2, #108
+    A75B:    A5 0A 00 C0    OR      R2, R2, #c0
+    A75D:    A5 12 08 CF    OR      R2, [08cf]
+    A75F:    D4 0D          ST      R2, [BP+d]
+    A760:    94 40          LD      R2, #0
+    A761:    D4 14          ST      R2, [BP+14]
+    A762:    D4 15          ST      R2, [BP+15]
+    A763:    D4 03          ST      R2, [BP+3]
+    A764:    D4 0A          ST      R2, [BP+a]
+    A765:    D4 0B          ST      R2, [BP+b]
+    A766:    D4 0F          ST      R2, [BP+f]
+    A767:    D4 13          ST      R2, [BP+13]
+    A768:    D4 16          ST      R2, [BP+16]
+    A769:    D4 17          ST      R2, [BP+17]
+    A76A:    D4 18          ST      R2, [BP+18]
+    A76B:    95 0A 80 00    LD      R2, #8000
+    A76D:    D4 10          ST      R2, [BP+10]
+    A76E:    D4 11          ST      R2, [BP+11]
+    A76F:    D4 12          ST      R2, [BP+12]
+    A770:    98 88          POP     BP-BP, [SP]
+    A771:    9A 90          RETF    
+    A772:    DA 88          PUSH    BP-BP, [SP]
+    A773:    0B 08 00 01    ADD     BP, SP, #1
+    A775:    92 03          LD      R1, [BP+3]
+    A776:    D3 19 08 9B    ST      R1, [089b]
+    A778:    98 88          POP     BP-BP, [SP]
+    A779:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: GetSPUChannelStatus
+
+GetSPUChannelStatus:
+    A77A:    DA 88          PUSH    BP-BP, [SP]
+    A77B:    93 11 34 0F    LD      R1, [SPU_CHANNEL_STATUS]
+    A77D:    98 88          POP     BP-BP, [SP]
+    A77E:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0015
+
+___PROC_0015:
+    A77F:    DA 88          PUSH    BP-BP, [SP]
+    A780:    0B 08 00 01    ADD     BP, SP, #1
+    A782:    92 03          LD      R1, [BP+3]
+    A783:    96 40          LD      R3, #0
+    A784:    D7 1B 3D 2F    ST      R3, [DS]
+    A786:    97 0B A2 29    LD      R3, #a229
+    A788:    07 01          ADD     R3, R1
+    A789:    94 E3          LD      R2, D:[R3]
+    A78A:    97 13 34 0F    LD      R3, [SPU_CHANNEL_STATUS]
+    A78C:    92 41          LD      R1, #1
+    A78D:    C7 02          TEST    R2
+    A78E:    5E 01          JZ      a790
+    A78F:    92 40          LD      R1, #0
+    A790:    98 88          POP     BP-BP, [SP]
+    A791:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0016
+
+___PROC_0016:
+    A792:    DA 88          PUSH    BP-BP, [SP]
+    A793:    0B 08 00 01    ADD     BP, SP, #1
+    A795:    98 03          LD      R4, [BP+3]
+    A796:    92 C4          LD      R1, [R4]
+    A797:    D3 19 08 C5    ST      R1, [08c5]
+    A799:    08 41          ADD     R4, #1
+    A79A:    94 C4          LD      R2, [R4]
+    A79B:    D5 1A 08 C6    ST      R2, [08c6]
+    A79D:    93 11 08 C0    LD      R1, [08c0]
+    A79F:    A3 09 01 00    OR      R1, R1, #100
+    A7A1:    D3 19 08 C0    ST      R1, [08c0]
+    A7A3:    98 88          POP     BP-BP, [SP]
+    A7A4:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0017
+
+___PROC_0017:
+    A7A5:    DA 88          PUSH    BP-BP, [SP]
+    A7A6:    93 09 01 00    LD      R1, #100
+    A7A8:    83 09 FF FF    XOR     R1, R1, #ffff
+    A7AA:    95 12 08 C0    LD      R2, [08c0]
+    A7AC:    B5 01          AND     R2, R1
+    A7AD:    D5 1A 08 C0    ST      R2, [08c0]
+    A7AF:    98 88          POP     BP-BP, [SP]
+    A7B0:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0018
+
+___PROC_0018:
+    A7B1:    93 11 08 CB    LD      R1, [08cb]
+    A7B3:    95 12 08 CC    LD      R2, [08cc]
+    A7B5:    93 41          LD      R1, R1 LSL 1
+    A7B6:    95 42          LD      R2, R2 LSL 1
+    A7B7:    F2 0A          MULU    R1, R2
+    A7B8:    93 03          LD      R1, R3
+    A7B9:    93 79          LD      R1, R1 LSR 4
+    A7BA:    93 79          LD      R1, R1 LSR 4
+    A7BB:    93 61          LD      R1, R1 LSR 1
+    A7BC:    97 13 08 C9    LD      R3, [08c9]
+    A7BE:    97 5B          LD      R3, R3 LSL 4
+    A7BF:    97 5B          LD      R3, R3 LSL 4
+    A7C0:    A3 03          OR      R1, R3
+    A7C1:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0019
+
+___PROC_0019:
+    A7C2:    DA 88          PUSH    BP-BP, [SP]
+    A7C3:    0B 08 00 01    ADD     BP, SP, #1
+    A7C5:    92 03          LD      R1, [BP+3]
+    A7C6:    B3 09 00 7F    AND     R1, R1, #7f
+    A7C8:    D3 19 08 EC    ST      R1, [08ec]
+    A7CA:    98 88          POP     BP-BP, [SP]
+    A7CB:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0020
+
+___PROC_0020:
+    A7CC:    99 14 08 E4    LD      R4, [08e4]
+    A7CE:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A7D0:    99 5C          LD      R4, R4 LSL 4
+    A7D1:    99 5C          LD      R4, R4 LSL 4
+    A7D2:    AD 4C          OR      SR, R4 LSL 2
+    A7D3:    97 13 08 E5    LD      R3, [08e5]
+    A7D5:    9B 0D 08 D0    LD      BP, #8d0
+    A7D7:    92 54          LD      R1, #14
+    A7D8:    94 E3          LD      R2, D:[R3]
+    A7D9:    D4 D5          ST      R2, [BP++]
+    A7DA:    06 41          ADD     R3, #1
+    A7DB:    0E 08          JCC     a7e4
+    A7DC:    99 14 08 E4    LD      R4, [08e4]
+    A7DE:    08 41          ADD     R4, #1
+    A7DF:    BD 0E 03 FF    AND     SR, SR, #3ff
+    A7E1:    99 5C          LD      R4, R4 LSL 4
+    A7E2:    99 5C          LD      R4, R4 LSL 4
+    A7E3:    AD 4C          OR      SR, R4 LSL 2
+    A7E4:    22 41          SUB     R1, #1
+    A7E5:    4E 4E          JNZ     a7d8
+    A7E6:    EE 00          JMP     a7e7
+    A7E7:    9A 90          RETF    
+    A7E8:    DA 88          PUSH    BP-BP, [SP]
+    A7E9:    0B 08 00 01    ADD     BP, SP, #1
+    A7EB:    92 04          LD      R1, [BP+4]
+    A7EC:    D3 19 08 E4    ST      R1, [08e4]
+    A7EE:    92 05          LD      R1, [BP+5]
+    A7EF:    D3 19 08 E5    ST      R1, [08e5]
+    A7F1:    92 03          LD      R1, [BP+3]
+    A7F2:    D3 19 08 E8    ST      R1, [08e8]
+    A7F4:    94 06          LD      R2, [BP+6]
+    A7F5:    D5 1A 08 C9    ST      R2, [08c9]
+    A7F7:    94 07          LD      R2, [BP+7]
+    A7F8:    D5 1A 08 CB    ST      R2, [08cb]
+    A7FA:    95 0A 00 7F    LD      R2, #7f
+    A7FC:    D5 1A 08 CC    ST      R2, [08cc]
+    A7FE:    F0 40 A7 B1    CALL    ___PROC_0018
+    A800:    D3 19 08 E9    ST      R1, [08e9]
+    A802:    F0 40 A7 CC    CALL    ___PROC_0020
+    A804:    F0 40 A5 B6    CALL    ___PROC_0006
+    A806:    98 40          LD      R4, #0
+    A807:    D9 1C 3D 2F    ST      R4, [DS]
+    A809:    99 0C A2 29    LD      R4, #a229
+    A80B:    07 14 08 E8    ADD     R3, [08e8]
+    A80D:    98 E3          LD      R4, D:[R3]
+    A80E:    D9 1C 34 0B    ST      R4, [340b]
+    A810:    95 12 34 0F    LD      R2, [SPU_CHANNEL_STATUS]
+    A812:    A9 02          OR      R4, R2
+    A813:    D9 1C 34 00    ST      R4, [SPU_CHANNEL_ENABLE]
+    A815:    98 88          POP     BP-BP, [SP]
+    A816:    93 11 08 E8    LD      R1, [08e8]
+    A818:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: sendToController
 
 sendToController:
-    A819:    DA 88          PUSH BP-BP, [SP]
-    A81A:    0B 08 00 01    ADD  BP, SP, #1
-    A81C:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    A81E:    23 11 09 43    SUB  R1, [0943]
-    A820:    42 4A          CMP  R1, #a
-    A821:    0E 1F          JCC  already_transmitting
-    A822:    92 03          LD   R1, [BP+3]
-    A823:    D3 19 09 36    ST   R1, [UART_TX_BUFFER]
-    A825:    64 42          NEG  R2, #2
-    A826:    96 04          LD   R3, [BP+4]
-    A827:    B6 41          AND  R3, #1
-    A828:    92 40          LD   R1, #0                                   ; disable interrupts
-    A829:    D2 88          PUSH R1-R1, [SP]
-    A82A:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    A82C:    00 41          ADD  SP, #1
-    A82D:    B5 12 09 45    AND  R2, [controller_settings]                ; reset controller ID
-    A82F:    A5 03          OR   R2, R3
-    A830:    D5 1A 09 45    ST   R2, [controller_settings]
-    A832:    B4 54          AND  R2, #14
-    A833:    4E 0B          JNZ  AL_0001
-    A834:    95 12 09 45    LD   R2, [controller_settings]
-    A836:    B4 41          AND  R2, #1
-    A837:    5E 0B          JZ   controller_B
-    A838:    95 12 09 46    LD   R2, [controller_flags]
-    A83A:    B4 41          AND  R2, #1
-    A83B:    5E 01          JZ   controller_unavailable
-    A83C:    EE 0A          JMP  AL_0002
+    A819:    DA 88          PUSH    BP-BP, [SP]
+    A81A:    0B 08 00 01    ADD     BP, SP, #1
+    A81C:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    A81E:    23 11 09 43    SUB     R1, [0943]
+    A820:    42 4A          CMP     R1, #a
+    A821:    0E 1F          JCC     already_transmitting
+    A822:    92 03          LD      R1, [BP+3]
+    A823:    D3 19 09 36    ST      R1, [UART_TX_BUFFER]
+    A825:    64 42          NEG     R2, #2
+    A826:    96 04          LD      R3, [BP+4]
+    A827:    B6 41          AND     R3, #1
+    A828:    92 40          LD      R1, #0                                ; disable interrupts
+    A829:    D2 88          PUSH    R1-R1, [SP]
+    A82A:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    A82C:    00 41          ADD     SP, #1
+    A82D:    B5 12 09 45    AND     R2, [controller_settings]             ; reset controller ID
+    A82F:    A5 03          OR      R2, R3
+    A830:    D5 1A 09 45    ST      R2, [controller_settings]
+    A832:    B4 54          AND     R2, #14
+    A833:    4E 0B          JNZ     AL_0011
+    A834:    95 12 09 45    LD      R2, [controller_settings]
+    A836:    B4 41          AND     R2, #1
+    A837:    5E 0B          JZ      controller_B
+    A838:    95 12 09 46    LD      R2, [controller_flags]
+    A83A:    B4 41          AND     R2, #1
+    A83B:    5E 01          JZ      controller_unavailable
+    A83C:    EE 0A          JMP     AL_0012
 controller_unavailable:
-    A83D:    9F 0F A8 9C    LJMP AL_0010
-AL_0001:
-    A83F:    9F 0F A8 A2    LJMP AL_0011
-already_transmitting:
-    A841:    9F 0F A8 A6    LJMP AL_0012
-controller_B:
-    A843:    95 12 09 46    LD   R2, [controller_flags]
-    A845:    B4 42          AND  R2, #2
-    A846:    5E 4A          JZ   controller_unavailable
-AL_0002:
-    A847:    94 58          LD   R2, #18
-    A848:    A5 12 09 45    OR   R2, [controller_settings]
-    A84A:    D5 1A 09 45    ST   R2, [controller_settings]
-    A84C:    B4 41          AND  R2, #1
-    A84D:    5E 1F          JZ   AL_0006
-    A84E:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A850:    B5 0A 00 F0    AND  R2, R2, #f0
-    A852:    45 0A 00 60    CMP  R2, R2, #60
-    A854:    5E 07          JZ   AL_0003
-    A855:    45 0A 00 E0    CMP  R2, R2, #e0
-    A857:    5E 09          JZ   AL_0004
-    A858:    45 0A 00 D0    CMP  R2, R2, #d0
-    A85A:    5E 0B          JZ   AL_0005
-    A85B:    EE 0E          JMP  send_to_controllerA
-AL_0003:
-    A85C:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A85E:    D5 1A 09 49    ST   R2, [CTRLA_TX_BUF0]
-    A860:    EE 09          JMP  send_to_controllerA
-AL_0004:
-    A861:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A863:    D5 1A 09 4A    ST   R2, [CTRLA_TX_BUF1]
-    A865:    EE 04          JMP  send_to_controllerA
-AL_0005:
-    A866:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A868:    D5 1A 09 4B    ST   R2, [CTRLA_TX_BUF2]
-send_to_controllerA:
-    A86A:    95 0A 01 00    LD   R2, #100
-    A86C:    EE 1E          JMP  send_data
-AL_0006:
-    A86D:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A86F:    B5 0A 00 F0    AND  R2, R2, #f0
-    A871:    45 0A 00 60    CMP  R2, R2, #60
-    A873:    5E 07          JZ   AL_0007
-    A874:    45 0A 00 E0    CMP  R2, R2, #e0
-    A876:    5E 09          JZ   AL_0008
-    A877:    45 0A 00 D0    CMP  R2, R2, #d0
-    A879:    5E 0B          JZ   AL_0009
-    A87A:    EE 0E          JMP  send_to_controllerB
-AL_0007:
-    A87B:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A87D:    D5 1A 09 4C    ST   R2, [CTRLB_TX_BUF0]
-    A87F:    EE 09          JMP  send_to_controllerB
-AL_0008:
-    A880:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A882:    D5 1A 09 4D    ST   R2, [CTRLB_TX_BUF1]
-    A884:    EE 04          JMP  send_to_controllerB
-AL_0009:
-    A885:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A887:    D5 1A 09 4E    ST   R2, [CTRLB_TX_BUF2]
-send_to_controllerB:
-    A889:    95 0A 02 00    LD   R2, #200                                 ; Set controller B CTS
-send_data:
-    A88B:    A5 12 3D 0C    OR   R2, [R_IOC_BUFFER]
-    A88D:    D5 1A 3D 0C    ST   R2, [R_IOC_BUFFER]
-    A88F:    95 12 08 42    LD   R2, [tmb2CounterLow]
-    A891:    D5 1A 09 44    ST   R2, [0944]
-wait_uart_tx:
-    A893:    95 12 3D 31    LD   R2, [R_UART_STATUS]
-    A895:    B5 0A 00 40    AND  R2, R2, #40                              ; TX busy?
-    A897:    4E 45          JNZ  wait_uart_tx
-    A898:    95 12 09 36    LD   R2, [UART_TX_BUFFER]
-    A89A:    D5 1A 3D 35    ST   R2, [R_UART_TX]
-AL_0010:
-    A89C:    D2 88          PUSH R1-R1, [SP]
-    A89D:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    A89F:    00 41          ADD  SP, #1
-    A8A0:    92 41          LD   R1, #1
-    A8A1:    EE 05          JMP  AL_0013
+    A83D:    9F 0F A8 9C    LJMP    AL_0020
 AL_0011:
-    A8A2:    D2 88          PUSH R1-R1, [SP]
-    A8A3:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    A8A5:    00 41          ADD  SP, #1
+    A83F:    9F 0F A8 A2    LJMP    AL_0021
+already_transmitting:
+    A841:    9F 0F A8 A6    LJMP    AL_0022
+controller_B:
+    A843:    95 12 09 46    LD      R2, [controller_flags]
+    A845:    B4 42          AND     R2, #2
+    A846:    5E 4A          JZ      controller_unavailable
 AL_0012:
-    A8A6:    92 40          LD   R1, #0
+    A847:    94 58          LD      R2, #18
+    A848:    A5 12 09 45    OR      R2, [controller_settings]
+    A84A:    D5 1A 09 45    ST      R2, [controller_settings]
+    A84C:    B4 41          AND     R2, #1
+    A84D:    5E 1F          JZ      AL_0016
+    A84E:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A850:    B5 0A 00 F0    AND     R2, R2, #f0
+    A852:    45 0A 00 60    CMP     R2, R2, #60
+    A854:    5E 07          JZ      AL_0013
+    A855:    45 0A 00 E0    CMP     R2, R2, #e0
+    A857:    5E 09          JZ      AL_0014
+    A858:    45 0A 00 D0    CMP     R2, R2, #d0
+    A85A:    5E 0B          JZ      AL_0015
+    A85B:    EE 0E          JMP     send_to_controllerA
 AL_0013:
-    A8A7:    95 12 08 42    LD   R2, [tmb2CounterLow]
-    A8A9:    25 12 09 44    SUB  R2, [0944]
-    A8AB:    45 0A 01 80    CMP  R2, R2, #180
-    A8AD:    0E 1B          JCC  return
-    A8AE:    97 01          LD   R3, R1
-    A8AF:    94 54          LD   R2, #14
-    A8B0:    92 40          LD   R1, #0                                   ; Clear interrupts
-    A8B1:    D2 88          PUSH R1-R1, [SP]
-    A8B2:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    A8B4:    00 41          ADD  SP, #1
-    A8B5:    B5 12 09 45    AND  R2, [controller_settings]
-    A8B7:    5E 0C          JZ   reset_interrupts_and_return
-    A8B8:    64 7D          NEG  R2, #3d
-    A8B9:    B5 12 09 45    AND  R2, [controller_settings]
-    A8BB:    D5 1A 09 45    ST   R2, [controller_settings]
-    A8BD:    65 0A 03 01    NEG  R2, #301                                 ; Clear both CTS
-    A8BF:    B5 12 3D 0C    AND  R2, [R_IOC_BUFFER]
-    A8C1:    D5 1A 3D 0C    ST   R2, [R_IOC_BUFFER]
-    A8C3:    96 40          LD   R3, #0                                   ; disable interrupts
+    A85C:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A85E:    D5 1A 09 49    ST      R2, [CTRLA_TX_BUF0]
+    A860:    EE 09          JMP     send_to_controllerA
+AL_0014:
+    A861:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A863:    D5 1A 09 4A    ST      R2, [CTRLA_TX_BUF1]
+    A865:    EE 04          JMP     send_to_controllerA
+AL_0015:
+    A866:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A868:    D5 1A 09 4B    ST      R2, [CTRLA_TX_BUF2]
+send_to_controllerA:
+    A86A:    95 0A 01 00    LD      R2, #100
+    A86C:    EE 1E          JMP     send_data
+AL_0016:
+    A86D:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A86F:    B5 0A 00 F0    AND     R2, R2, #f0
+    A871:    45 0A 00 60    CMP     R2, R2, #60
+    A873:    5E 07          JZ      AL_0017
+    A874:    45 0A 00 E0    CMP     R2, R2, #e0
+    A876:    5E 09          JZ      AL_0018
+    A877:    45 0A 00 D0    CMP     R2, R2, #d0
+    A879:    5E 0B          JZ      AL_0019
+    A87A:    EE 0E          JMP     send_to_controllerB
+AL_0017:
+    A87B:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A87D:    D5 1A 09 4C    ST      R2, [CTRLB_TX_BUF0]
+    A87F:    EE 09          JMP     send_to_controllerB
+AL_0018:
+    A880:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A882:    D5 1A 09 4D    ST      R2, [CTRLB_TX_BUF1]
+    A884:    EE 04          JMP     send_to_controllerB
+AL_0019:
+    A885:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A887:    D5 1A 09 4E    ST      R2, [CTRLB_TX_BUF2]
+send_to_controllerB:
+    A889:    95 0A 02 00    LD      R2, #200                              ; Set controller B CTS
+send_data:
+    A88B:    A5 12 3D 0C    OR      R2, [R_IOC_BUFFER]
+    A88D:    D5 1A 3D 0C    ST      R2, [R_IOC_BUFFER]
+    A88F:    95 12 08 42    LD      R2, [tmb2CounterLow]
+    A891:    D5 1A 09 44    ST      R2, [0944]
+wait_uart_tx:
+    A893:    95 12 3D 31    LD      R2, [R_UART_STATUS]
+    A895:    B5 0A 00 40    AND     R2, R2, #40                           ; TX busy?
+    A897:    4E 45          JNZ     wait_uart_tx
+    A898:    95 12 09 36    LD      R2, [UART_TX_BUFFER]
+    A89A:    D5 1A 3D 35    ST      R2, [R_UART_TX]
+AL_0020:
+    A89C:    D2 88          PUSH    R1-R1, [SP]
+    A89D:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    A89F:    00 41          ADD     SP, #1
+    A8A0:    92 41          LD      R1, #1
+    A8A1:    EE 05          JMP     AL_0023
+AL_0021:
+    A8A2:    D2 88          PUSH    R1-R1, [SP]
+    A8A3:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    A8A5:    00 41          ADD     SP, #1
+AL_0022:
+    A8A6:    92 40          LD      R1, #0
+AL_0023:
+    A8A7:    95 12 08 42    LD      R2, [tmb2CounterLow]
+    A8A9:    25 12 09 44    SUB     R2, [0944]
+    A8AB:    45 0A 01 80    CMP     R2, R2, #180
+    A8AD:    0E 1B          JCC     return
+    A8AE:    97 01          LD      R3, R1
+    A8AF:    94 54          LD      R2, #14
+    A8B0:    92 40          LD      R1, #0                                ; Clear interrupts
+    A8B1:    D2 88          PUSH    R1-R1, [SP]
+    A8B2:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    A8B4:    00 41          ADD     SP, #1
+    A8B5:    B5 12 09 45    AND     R2, [controller_settings]
+    A8B7:    5E 0C          JZ      reset_interrupts_and_return
+    A8B8:    64 7D          NEG     R2, #3d
+    A8B9:    B5 12 09 45    AND     R2, [controller_settings]
+    A8BB:    D5 1A 09 45    ST      R2, [controller_settings]
+    A8BD:    65 0A 03 01    NEG     R2, #301                              ; Clear both CTS
+    A8BF:    B5 12 3D 0C    AND     R2, [R_IOC_BUFFER]
+    A8C1:    D5 1A 3D 0C    ST      R2, [R_IOC_BUFFER]
+    A8C3:    96 40          LD      R3, #0                                ; disable interrupts
 reset_interrupts_and_return:
-    A8C4:    D2 88          PUSH R1-R1, [SP]
-    A8C5:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    A8C7:    00 41          ADD  SP, #1
-    A8C8:    93 03          LD   R1, R3
+    A8C4:    D2 88          PUSH    R1-R1, [SP]
+    A8C5:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    A8C7:    00 41          ADD     SP, #1
+    A8C8:    93 03          LD      R1, R3
 return:
-    A8C9:    98 88          POP  BP-BP, [SP]
-    A8CA:    9A 90          RETF 
+    A8C9:    98 88          POP     BP-BP, [SP]
+    A8CA:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: READ_CONTROLLER_DATA_FROM_UART
 
 READ_CONTROLLER_DATA_FROM_UART:
-    A8CB:    DA 88          PUSH BP-BP, [SP]
-    A8CC:    95 12 3D 31    LD   R2, [R_UART_STATUS]
-    A8CE:    B3 0A 00 02    AND  R1, R2, #2                               ; Tx ready?
-    A8D0:    4E 05          JNZ  txInProgress
+    A8CB:    DA 88          PUSH    BP-BP, [SP]
+    A8CC:    95 12 3D 31    LD      R2, [R_UART_STATUS]
+    A8CE:    B3 0A 00 02    AND     R1, R2, #2                            ; Tx ready?
+    A8D0:    4E 05          JNZ     txInProgress
 TxEnded:
-    A8D1:    B3 0A 00 01    AND  R1, R2, #1                               ; Rx data available?
-    A8D3:    4E 04          JNZ  rxDataAvailable
-    A8D4:    9F 0F A9 C4    LJMP exit
+    A8D1:    B3 0A 00 01    AND     R1, R2, #1                            ; Rx data available?
+    A8D3:    4E 04          JNZ     rxDataAvailable
+    A8D4:    9F 0F A9 C4    LJMP    exit
 txInProgress:
-    A8D6:    9F 0F A9 B9    LJMP endTX
+    A8D6:    9F 0F A9 B9    LJMP    endTX
 rxDataAvailable:
-    A8D8:    92 42          LD   R1, #2
-    A8D9:    B3 11 09 45    AND  R1, [controller_settings]                ; Which controller is active?
-    A8DB:    4E 02          JNZ  receiveCtrlrAData
-    A8DC:    9F 0F A9 47    LJMP recvCtrlrBData
+    A8D8:    92 42          LD      R1, #2
+    A8D9:    B3 11 09 45    AND     R1, [controller_settings]             ; Which controller is active?
+    A8DB:    4E 02          JNZ     receiveCtrlrAData
+    A8DC:    9F 0F A9 47    LJMP    recvCtrlrBData
 receiveCtrlrAData:
-    A8DE:    93 11 3D 36    LD   R1, [R_UART_RX]
-    A8E0:    B5 0A 00 80    AND  R2, R2, #80
-    A8E2:    5E 31          JZ   rxAEmpty
-    A8E3:    B5 09 00 F0    AND  R2, R1, #f0                              ; See what type of input we received...
-    A8E5:    45 0A 00 80    CMP  R2, R2, #80
-    A8E7:    5E 20          JZ   storeADirY
-    A8E8:    45 0A 00 C0    CMP  R2, R2, #c0
-    A8EA:    5E 20          JZ   storeADirX
-    A8EB:    45 0A 00 90    CMP  R2, R2, #90
-    A8ED:    5E 20          JZ   storeAColorButtons
-    A8EE:    45 0A 00 A0    CMP  R2, R2, #a0
-    A8F0:    5E 20          JZ   storeAButtons
-    A8F1:    45 0A 00 70    CMP  R2, R2, #70
-    A8F3:    5E 10          JZ   storeAcommnd
-    A8F4:    45 0A 00 B0    CMP  R2, R2, #b0
-    A8F6:    5E 0D          JZ   storeAcommnd
-    A8F7:    45 0A 00 50    CMP  R2, R2, #50
-    A8F9:    5E 02          JZ   setIdleA
-    A8FA:    9F 0F A9 43    LJMP dataA_copied
+    A8DE:    93 11 3D 36    LD      R1, [R_UART_RX]
+    A8E0:    B5 0A 00 80    AND     R2, R2, #80
+    A8E2:    5E 31          JZ      rxAEmpty
+    A8E3:    B5 09 00 F0    AND     R2, R1, #f0                           ; See what type of input we received...
+    A8E5:    45 0A 00 80    CMP     R2, R2, #80
+    A8E7:    5E 20          JZ      storeADirY
+    A8E8:    45 0A 00 C0    CMP     R2, R2, #c0
+    A8EA:    5E 20          JZ      storeADirX
+    A8EB:    45 0A 00 90    CMP     R2, R2, #90
+    A8ED:    5E 20          JZ      storeAColorButtons
+    A8EE:    45 0A 00 A0    CMP     R2, R2, #a0
+    A8F0:    5E 20          JZ      storeAButtons
+    A8F1:    45 0A 00 70    CMP     R2, R2, #70
+    A8F3:    5E 10          JZ      storeAcommnd
+    A8F4:    45 0A 00 B0    CMP     R2, R2, #b0
+    A8F6:    5E 0D          JZ      storeAcommnd
+    A8F7:    45 0A 00 50    CMP     R2, R2, #50
+    A8F9:    5E 02          JZ      setIdleA
+    A8FA:    9F 0F A9 43    LJMP    dataA_copied
 setIdleA:
-    A8FC:    95 0A 00 40    LD   R2, #40
-    A8FE:    A5 12 09 46    OR   R2, [controller_flags]
-    A900:    D5 1A 09 46    ST   R2, [controller_flags]
-    A902:    9F 0F A9 43    LJMP dataA_copied
+    A8FC:    95 0A 00 40    LD      R2, #40
+    A8FE:    A5 12 09 46    OR      R2, [controller_flags]
+    A900:    D5 1A 09 46    ST      R2, [controller_flags]
+    A902:    9F 0F A9 43    LJMP    dataA_copied
 storeAcommnd:
-    A904:    D3 19 09 37    ST   R1, [CTRLRA_SPECIAL]
-    A906:    9F 0F A9 43    LJMP dataA_copied
+    A904:    D3 19 09 37    ST      R1, [CTRLRA_SPECIAL]
+    A906:    9F 0F A9 43    LJMP    dataA_copied
 storeADirY:
-    A908:    95 0A 09 10    LD   R2, #910
-    A90A:    EE 08          JMP  storeAData
+    A908:    95 0A 09 10    LD      R2, #910
+    A90A:    EE 08          JMP     storeAData
 storeADirX:
-    A90B:    95 0A 09 11    LD   R2, #911
-    A90D:    EE 05          JMP  storeAData
+    A90B:    95 0A 09 11    LD      R2, #911
+    A90D:    EE 05          JMP     storeAData
 storeAColorButtons:
-    A90E:    95 0A 09 0F    LD   R2, #90f
-    A910:    EE 02          JMP  storeAData
+    A90E:    95 0A 09 0F    LD      R2, #90f
+    A910:    EE 02          JMP     storeAData
 storeAButtons:
-    A911:    95 0A 09 0E    LD   R2, #90e
+    A911:    95 0A 09 0E    LD      R2, #90e
 storeAData:
-    A913:    D2 C2          ST   R1, [R2]
+    A913:    D2 C2          ST      R1, [R2]
 rxAEmpty:
-    A914:    93 11 3D 0B    LD   R1, [R_IOC_DATA]
-    A916:    B3 09 04 00    AND  R1, R1, #400
-    A918:    5E 2C          JZ   noNewAData                               ; controllerA doesn't request to send, no new data available
-    A919:    92 44          LD   R1, #4
-    A91A:    B3 11 09 46    AND  R1, [controller_flags]
-    A91C:    4E 26          JNZ  dataA_copied
-    A91D:    93 09 01 00    LD   R1, #100
-    A91F:    B3 11 09 45    AND  R1, [controller_settings]
-    A921:    5E 0B          JZ   copyAInBuffer1
+    A914:    93 11 3D 0B    LD      R1, [R_IOC_DATA]
+    A916:    B3 09 04 00    AND     R1, R1, #400
+    A918:    5E 2C          JZ      noNewAData                            ; controllerA doesn't request to send, no new data available
+    A919:    92 44          LD      R1, #4
+    A91A:    B3 11 09 46    AND     R1, [controller_flags]
+    A91C:    4E 26          JNZ     dataA_copied
+    A91D:    93 09 01 00    LD      R1, #100
+    A91F:    B3 11 09 45    AND     R1, [controller_settings]
+    A921:    5E 0B          JZ      copyAInBuffer1
 copyAInBuffer2:
-    A922:    93 09 04 00    LD   R1, #400
-    A924:    A3 11 09 45    OR   R1, [controller_settings]
-    A926:    D3 19 09 45    ST   R1, [controller_settings]
-    A928:    95 0A 09 0E    LD   R2, #90e
-    A92A:    97 0B 09 1A    LD   R3, #91a
-    A92C:    EE 0A          JMP  saveControllerAData
+    A922:    93 09 04 00    LD      R1, #400
+    A924:    A3 11 09 45    OR      R1, [controller_settings]
+    A926:    D3 19 09 45    ST      R1, [controller_settings]
+    A928:    95 0A 09 0E    LD      R2, #90e
+    A92A:    97 0B 09 1A    LD      R3, #91a
+    A92C:    EE 0A          JMP     saveControllerAData
 copyAInBuffer1:
-    A92D:    93 09 00 40    LD   R1, #40                                  ; Mark buffer 1 as valid
-    A92F:    A3 11 09 45    OR   R1, [controller_settings]
-    A931:    D3 19 09 45    ST   R1, [controller_settings]
-    A933:    95 0A 09 0E    LD   R2, #90e
-    A935:    97 0B 09 14    LD   R3, #914
+    A92D:    93 09 00 40    LD      R1, #40                               ; Mark buffer 1 as valid
+    A92F:    A3 11 09 45    OR      R1, [controller_settings]
+    A931:    D3 19 09 45    ST      R1, [controller_settings]
+    A933:    95 0A 09 0E    LD      R2, #90e
+    A935:    97 0B 09 14    LD      R3, #914
 saveControllerAData:
-    A937:    92 C2          LD   R1, [R2]
-    A938:    43 09 FF FF    CMP  R1, R1, #ffff
-    A93A:    4E 01          JNZ  AL_0014
-    A93B:    92 C3          LD   R1, [R3]
-AL_0014:
-    A93C:    D2 D3          ST   R1, [R3++]
-    A93D:    93 09 FF FF    LD   R1, #ffff
-    A93F:    D2 D2          ST   R1, [R2++]
-    A940:    45 0A 09 12    CMP  R2, R2, #912
-    A942:    0E 4C          JCC  saveControllerAData
+    A937:    92 C2          LD      R1, [R2]
+    A938:    43 09 FF FF    CMP     R1, R1, #ffff
+    A93A:    4E 01          JNZ     AL_0024
+    A93B:    92 C3          LD      R1, [R3]
+AL_0024:
+    A93C:    D2 D3          ST      R1, [R3++]
+    A93D:    93 09 FF FF    LD      R1, #ffff
+    A93F:    D2 D2          ST      R1, [R2++]
+    A940:    45 0A 09 12    CMP     R2, R2, #912
+    A942:    0E 4C          JCC     saveControllerAData
 dataA_copied:
-    A943:    9F 0F A9 AC    LJMP endRX
+    A943:    9F 0F A9 AC    LJMP    endRX
 noNewAData:
-    A945:    9F 0F A9 C4    LJMP exit
+    A945:    9F 0F A9 C4    LJMP    exit
 recvCtrlrBData:
-    A947:    93 11 3D 36    LD   R1, [R_UART_RX]
-    A949:    B5 0A 00 80    AND  R2, R2, #80
-    A94B:    5E 31          JZ   controllerb_no_more_rx_data
-    A94C:    B5 09 00 F0    AND  R2, R1, #f0
-    A94E:    45 0A 00 80    CMP  R2, R2, #80
-    A950:    5E 20          JZ   controllerb_updown
-    A951:    45 0A 00 C0    CMP  R2, R2, #c0
-    A953:    5E 20          JZ   controllerb_leftright
-    A954:    45 0A 00 90    CMP  R2, R2, #90
-    A956:    5E 20          JZ   controllerb_color
-    A957:    45 0A 00 A0    CMP  R2, R2, #a0
-    A959:    5E 20          JZ   controllerb_button
-    A95A:    45 0A 00 70    CMP  R2, R2, #70
-    A95C:    5E 10          JZ   storeBCommand
-    A95D:    45 0A 00 B0    CMP  R2, R2, #b0
-    A95F:    5E 0D          JZ   storeBCommand
-    A960:    45 0A 00 50    CMP  R2, R2, #50
-    A962:    5E 02          JZ   setIdleB
-    A963:    9F 0F A9 AC    LJMP endRX
+    A947:    93 11 3D 36    LD      R1, [R_UART_RX]
+    A949:    B5 0A 00 80    AND     R2, R2, #80
+    A94B:    5E 31          JZ      controllerb_no_more_rx_data
+    A94C:    B5 09 00 F0    AND     R2, R1, #f0
+    A94E:    45 0A 00 80    CMP     R2, R2, #80
+    A950:    5E 20          JZ      controllerb_updown
+    A951:    45 0A 00 C0    CMP     R2, R2, #c0
+    A953:    5E 20          JZ      controllerb_leftright
+    A954:    45 0A 00 90    CMP     R2, R2, #90
+    A956:    5E 20          JZ      controllerb_color
+    A957:    45 0A 00 A0    CMP     R2, R2, #a0
+    A959:    5E 20          JZ      controllerb_button
+    A95A:    45 0A 00 70    CMP     R2, R2, #70
+    A95C:    5E 10          JZ      storeBCommand
+    A95D:    45 0A 00 B0    CMP     R2, R2, #b0
+    A95F:    5E 0D          JZ      storeBCommand
+    A960:    45 0A 00 50    CMP     R2, R2, #50
+    A962:    5E 02          JZ      setIdleB
+    A963:    9F 0F A9 AC    LJMP    endRX
 setIdleB:
-    A965:    95 0A 00 80    LD   R2, #80
-    A967:    A5 12 09 46    OR   R2, [controller_flags]
-    A969:    D5 1A 09 46    ST   R2, [controller_flags]
-    A96B:    9F 0F A9 AC    LJMP endRX
+    A965:    95 0A 00 80    LD      R2, #80
+    A967:    A5 12 09 46    OR      R2, [controller_flags]
+    A969:    D5 1A 09 46    ST      R2, [controller_flags]
+    A96B:    9F 0F A9 AC    LJMP    endRX
 storeBCommand:
-    A96D:    D3 19 09 38    ST   R1, [CTRLRB_SPECIAL]
-    A96F:    9F 0F A9 AC    LJMP endRX
+    A96D:    D3 19 09 38    ST      R1, [CTRLRB_SPECIAL]
+    A96F:    9F 0F A9 AC    LJMP    endRX
 controllerb_updown:
-    A971:    95 0A 09 22    LD   R2, #922
-    A973:    EE 08          JMP  controllerb_store_input
+    A971:    95 0A 09 22    LD      R2, #922
+    A973:    EE 08          JMP     controllerb_store_input
 controllerb_leftright:
-    A974:    95 0A 09 23    LD   R2, #923
-    A976:    EE 05          JMP  controllerb_store_input
+    A974:    95 0A 09 23    LD      R2, #923
+    A976:    EE 05          JMP     controllerb_store_input
 controllerb_color:
-    A977:    95 0A 09 21    LD   R2, #921
-    A979:    EE 02          JMP  controllerb_store_input
+    A977:    95 0A 09 21    LD      R2, #921
+    A979:    EE 02          JMP     controllerb_store_input
 controllerb_button:
-    A97A:    95 0A 09 20    LD   R2, #920
+    A97A:    95 0A 09 20    LD      R2, #920
 controllerb_store_input:
-    A97C:    D2 C2          ST   R1, [R2]
+    A97C:    D2 C2          ST      R1, [R2]
 controllerb_no_more_rx_data:
-    A97D:    93 11 3D 0B    LD   R1, [R_IOC_DATA]
-    A97F:    B3 09 10 00    AND  R1, R1, #1000
-    A981:    5E 35          JZ   controllerb_no_rts
-    A982:    92 48          LD   R1, #8
-    A983:    B3 11 09 46    AND  R1, [controller_flags]
-    A985:    4E 26          JNZ  endRX
-    A986:    93 09 02 00    LD   R1, #200
-    A988:    B3 11 09 45    AND  R1, [controller_settings]
-    A98A:    5E 0B          JZ   update_controller_buffer
-    A98B:    93 09 08 00    LD   R1, #800
-    A98D:    A3 11 09 45    OR   R1, [controller_settings]
-    A98F:    D3 19 09 45    ST   R1, [controller_settings]
-    A991:    95 0A 09 20    LD   R2, #920
-    A993:    97 0B 09 2C    LD   R3, #92c
-    A995:    EE 0A          JMP  saveControllerBData
+    A97D:    93 11 3D 0B    LD      R1, [R_IOC_DATA]
+    A97F:    B3 09 10 00    AND     R1, R1, #1000
+    A981:    5E 35          JZ      controllerb_no_rts
+    A982:    92 48          LD      R1, #8
+    A983:    B3 11 09 46    AND     R1, [controller_flags]
+    A985:    4E 26          JNZ     endRX
+    A986:    93 09 02 00    LD      R1, #200
+    A988:    B3 11 09 45    AND     R1, [controller_settings]
+    A98A:    5E 0B          JZ      update_controller_buffer
+    A98B:    93 09 08 00    LD      R1, #800
+    A98D:    A3 11 09 45    OR      R1, [controller_settings]
+    A98F:    D3 19 09 45    ST      R1, [controller_settings]
+    A991:    95 0A 09 20    LD      R2, #920
+    A993:    97 0B 09 2C    LD      R3, #92c
+    A995:    EE 0A          JMP     saveControllerBData
 update_controller_buffer:
-    A996:    93 09 00 80    LD   R1, #80
-    A998:    A3 11 09 45    OR   R1, [controller_settings]
-    A99A:    D3 19 09 45    ST   R1, [controller_settings]
-    A99C:    95 0A 09 20    LD   R2, #920
-    A99E:    97 0B 09 26    LD   R3, #926
+    A996:    93 09 00 80    LD      R1, #80
+    A998:    A3 11 09 45    OR      R1, [controller_settings]
+    A99A:    D3 19 09 45    ST      R1, [controller_settings]
+    A99C:    95 0A 09 20    LD      R2, #920
+    A99E:    97 0B 09 26    LD      R3, #926
 saveControllerBData:
-    A9A0:    92 C2          LD   R1, [R2]
-    A9A1:    43 09 FF FF    CMP  R1, R1, #ffff
-    A9A3:    4E 01          JNZ  a9a5
-    A9A4:    92 C3          LD   R1, [R3]
-    A9A5:    D2 D3          ST   R1, [R3++]
-    A9A6:    93 09 FF FF    LD   R1, #ffff
-    A9A8:    D2 D2          ST   R1, [R2++]
-    A9A9:    45 0A 09 24    CMP  R2, R2, #924
-    A9AB:    0E 4C          JCC  saveControllerBData
+    A9A0:    92 C2          LD      R1, [R2]
+    A9A1:    43 09 FF FF    CMP     R1, R1, #ffff
+    A9A3:    4E 01          JNZ     a9a5
+    A9A4:    92 C3          LD      R1, [R3]
+    A9A5:    D2 D3          ST      R1, [R3++]
+    A9A6:    93 09 FF FF    LD      R1, #ffff
+    A9A8:    D2 D2          ST      R1, [R2++]
+    A9A9:    45 0A 09 24    CMP     R2, R2, #924
+    A9AB:    0E 4C          JCC     saveControllerBData
 endRX:
-    A9AC:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    A9AE:    B3 09 FC FF    AND  R1, R1, #fcff
-    A9B0:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]                       ; Clear CTS A and B
-    A9B2:    62 65          NEG  R1, #25
-    A9B3:    B3 11 09 45    AND  R1, [controller_settings]                ; clear bits 2-5
-    A9B5:    D3 19 09 45    ST   R1, [controller_settings]
+    A9AC:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    A9AE:    B3 09 FC FF    AND     R1, R1, #fcff
+    A9B0:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]                    ; Clear CTS A and B
+    A9B2:    62 65          NEG     R1, #25
+    A9B3:    B3 11 09 45    AND     R1, [controller_settings]             ; clear bits 2-5
+    A9B5:    D3 19 09 45    ST      R1, [controller_settings]
 controllerb_no_rts:
-    A9B7:    9F 0F A9 C4    LJMP exit
+    A9B7:    9F 0F A9 C4    LJMP    exit
 endTX:
-    A9B9:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    A9BB:    B3 09 FC FF    AND  R1, R1, #fcff
-    A9BD:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]                       ; clear CTS A and B
-    A9BF:    62 59          NEG  R1, #19
-    A9C0:    B3 11 09 45    AND  R1, [controller_settings]                ; clear bits 3 and 4
-    A9C2:    D3 19 09 45    ST   R1, [controller_settings]
+    A9B9:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    A9BB:    B3 09 FC FF    AND     R1, R1, #fcff
+    A9BD:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]                    ; clear CTS A and B
+    A9BF:    62 59          NEG     R1, #19
+    A9C0:    B3 11 09 45    AND     R1, [controller_settings]             ; clear bits 3 and 4
+    A9C2:    D3 19 09 45    ST      R1, [controller_settings]
 exit:
-    A9C4:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    A9C6:    D3 19 09 43    ST   R1, [0943]
-    A9C8:    92 43          LD   R1, #3
-    A9C9:    D3 19 3D 31    ST   R1, [R_UART_STATUS]
-    A9CB:    98 88          POP  BP-BP, [SP]
-    A9CC:    9A 90          RETF 
+    A9C4:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    A9C6:    D3 19 09 43    ST      R1, [0943]
+    A9C8:    92 43          LD      R1, #3
+    A9C9:    D3 19 3D 31    ST      R1, [R_UART_STATUS]
+    A9CB:    98 88          POP     BP-BP, [SP]
+    A9CC:    9A 90          RETF    
 
 ; Controller A RTS change
 ; If 0, controller is requested to send data
 ; If 1, controller is no longer requested to send data
 ; 
 ControllerA_Handle_RTS_Change:
-    A9CD:    DA 88          PUSH BP-BP, [SP]
-    A9CE:    92 68          LD   R1, #28
-    A9CF:    B3 11 09 45    AND  R1, [controller_settings]
-    A9D1:    5E 02          JZ   a9d4
-    A9D2:    9F 0F A9 F9    LJMP AL_0015
-    A9D4:    95 12 08 42    LD   R2, [tmb2CounterLow]
-    A9D6:    25 12 09 43    SUB  R2, [0943]
-    A9D8:    44 45          CMP  R2, #5                                   ; 8ms delay
-    A9D9:    0E 1F          JCC  AL_0015
-    A9DA:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    A9DC:    A3 09 01 00    OR   R1, R1, #100                             ; Set controller A clear to send
-    A9DE:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    A9E0:    92 66          LD   R1, #26
-    A9E1:    A3 11 09 45    OR   R1, [controller_settings]
-    A9E3:    D3 19 09 45    ST   R1, [controller_settings]
-    A9E5:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    A9E7:    D3 19 09 44    ST   R1, [0944]
-    A9E9:    93 11 3D 0B    LD   R1, [R_IOC_DATA]
-    A9EB:    B3 09 04 00    AND  R1, R1, #400                             ; Check controller A request to send
-    A9ED:    5E 0B          JZ   AL_0015
+    A9CD:    DA 88          PUSH    BP-BP, [SP]
+    A9CE:    92 68          LD      R1, #28
+    A9CF:    B3 11 09 45    AND     R1, [controller_settings]
+    A9D1:    5E 02          JZ      a9d4
+    A9D2:    9F 0F A9 F9    LJMP    AL_0025
+    A9D4:    95 12 08 42    LD      R2, [tmb2CounterLow]
+    A9D6:    25 12 09 43    SUB     R2, [0943]
+    A9D8:    44 45          CMP     R2, #5                                ; 8ms delay
+    A9D9:    0E 1F          JCC     AL_0025
+    A9DA:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    A9DC:    A3 09 01 00    OR      R1, R1, #100                          ; Set controller A clear to send
+    A9DE:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    A9E0:    92 66          LD      R1, #26
+    A9E1:    A3 11 09 45    OR      R1, [controller_settings]
+    A9E3:    D3 19 09 45    ST      R1, [controller_settings]
+    A9E5:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    A9E7:    D3 19 09 44    ST      R1, [0944]
+    A9E9:    93 11 3D 0B    LD      R1, [R_IOC_DATA]
+    A9EB:    B3 09 04 00    AND     R1, R1, #400                          ; Check controller A request to send
+    A9ED:    5E 0B          JZ      AL_0025
 clearRequest:
-    A9EE:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    A9F0:    B3 09 FE FF    AND  R1, R1, #feff                            ; Remove controller A CTS
-    A9F2:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    A9F4:    62 65          NEG  R1, #25
-    A9F5:    B3 11 09 45    AND  R1, [controller_settings]
-    A9F7:    D3 19 09 45    ST   R1, [controller_settings]
-AL_0015:
-    A9F9:    92 41          LD   R1, #1
-    A9FA:    A3 11 09 46    OR   R1, [controller_flags]
-    A9FC:    D3 19 09 46    ST   R1, [controller_flags]                   ; Mark controller A as alive
-    A9FE:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AA00:    D3 19 09 47    ST   R1, [CtrlA_lastInteractTime]
-    AA02:    98 88          POP  BP-BP, [SP]
-    AA03:    9A 90          RETF 
+    A9EE:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    A9F0:    B3 09 FE FF    AND     R1, R1, #feff                         ; Remove controller A CTS
+    A9F2:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    A9F4:    62 65          NEG     R1, #25
+    A9F5:    B3 11 09 45    AND     R1, [controller_settings]
+    A9F7:    D3 19 09 45    ST      R1, [controller_settings]
+AL_0025:
+    A9F9:    92 41          LD      R1, #1
+    A9FA:    A3 11 09 46    OR      R1, [controller_flags]
+    A9FC:    D3 19 09 46    ST      R1, [controller_flags]                ; Mark controller A as alive
+    A9FE:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AA00:    D3 19 09 47    ST      R1, [CtrlA_lastInteractTime]
+    AA02:    98 88          POP     BP-BP, [SP]
+    AA03:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: ControllerB_Something
 
 ControllerB_Something:
-    AA04:    DA 88          PUSH BP-BP, [SP]                              ; Same as above, but using controller B RTS and CTS
-    AA05:    92 68          LD   R1, #28
-    AA06:    B3 11 09 45    AND  R1, [controller_settings]
-    AA08:    5E 02          JZ   AL_0016
-    AA09:    9F 0F AA 32    LJMP exit
-AL_0016:
-    AA0B:    95 12 08 42    LD   R2, [tmb2CounterLow]
-    AA0D:    25 12 09 43    SUB  R2, [0943]
-    AA0F:    44 45          CMP  R2, #5
-    AA10:    0E 21          JCC  exit
-    AA11:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AA13:    A3 09 02 00    OR   R1, R1, #200                             ; Set B CTS
-    AA15:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    AA17:    93 11 09 45    LD   R1, [controller_settings]
-    AA19:    A2 64          OR   R1, #24
-    AA1A:    B3 09 FF FD    AND  R1, R1, #fffd
-    AA1C:    D3 19 09 45    ST   R1, [controller_settings]
-    AA1E:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AA20:    D3 19 09 44    ST   R1, [0944]
-    AA22:    93 11 3D 0B    LD   R1, [R_IOC_DATA]
+    AA04:    DA 88          PUSH    BP-BP, [SP]                           ; Same as above, but using controller B RTS and CTS
+    AA05:    92 68          LD      R1, #28
+    AA06:    B3 11 09 45    AND     R1, [controller_settings]
+    AA08:    5E 02          JZ      AL_0026
+    AA09:    9F 0F AA 32    LJMP    exit
+AL_0026:
+    AA0B:    95 12 08 42    LD      R2, [tmb2CounterLow]
+    AA0D:    25 12 09 43    SUB     R2, [0943]
+    AA0F:    44 45          CMP     R2, #5
+    AA10:    0E 21          JCC     exit
+    AA11:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AA13:    A3 09 02 00    OR      R1, R1, #200                          ; Set B CTS
+    AA15:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    AA17:    93 11 09 45    LD      R1, [controller_settings]
+    AA19:    A2 64          OR      R1, #24
+    AA1A:    B3 09 FF FD    AND     R1, R1, #fffd
+    AA1C:    D3 19 09 45    ST      R1, [controller_settings]
+    AA1E:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AA20:    D3 19 09 44    ST      R1, [0944]
+    AA22:    93 11 3D 0B    LD      R1, [R_IOC_DATA]
 Check B RTS:
-    AA24:    B3 09 10 00    AND  R1, R1, #1000
-    AA26:    5E 0B          JZ   exit
+    AA24:    B3 09 10 00    AND     R1, R1, #1000
+    AA26:    5E 0B          JZ      exit
 clearRequest:
-    AA27:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AA29:    B3 09 FD FF    AND  R1, R1, #fdff
-    AA2B:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    AA2D:    62 65          NEG  R1, #25
-    AA2E:    B3 11 09 45    AND  R1, [controller_settings]
-    AA30:    D3 19 09 45    ST   R1, [controller_settings]
+    AA27:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AA29:    B3 09 FD FF    AND     R1, R1, #fdff
+    AA2B:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    AA2D:    62 65          NEG     R1, #25
+    AA2E:    B3 11 09 45    AND     R1, [controller_settings]
+    AA30:    D3 19 09 45    ST      R1, [controller_settings]
 exit:
-    AA32:    92 42          LD   R1, #2
-    AA33:    A3 11 09 46    OR   R1, [controller_flags]
-    AA35:    D3 19 09 46    ST   R1, [controller_flags]
-    AA37:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AA39:    D3 19 09 48    ST   R1, [CtrlB_lastInteractTime]
-    AA3B:    98 88          POP  BP-BP, [SP]
-    AA3C:    9A 90          RETF 
+    AA32:    92 42          LD      R1, #2
+    AA33:    A3 11 09 46    OR      R1, [controller_flags]
+    AA35:    D3 19 09 46    ST      R1, [controller_flags]
+    AA37:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AA39:    D3 19 09 48    ST      R1, [CtrlB_lastInteractTime]
+    AA3B:    98 88          POP     BP-BP, [SP]
+    AA3C:    9A 90          RETF    
 
 ; Disable no longer talking controllers
 ; 
 checkIfControllerAlive:
-    AA3D:    DA 88          PUSH BP-BP, [SP]
-    AA3E:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AA40:    23 11 09 47    SUB  R1, [CtrlA_lastInteractTime]
-    AA42:    43 09 06 00    CMP  R1, R1, #600
-    AA44:    0E 23          JCC  controllerA_stillEnabled
+    AA3D:    DA 88          PUSH    BP-BP, [SP]
+    AA3E:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AA40:    23 11 09 47    SUB     R1, [CtrlA_lastInteractTime]
+    AA42:    43 09 06 00    CMP     R1, R1, #600
+    AA44:    0E 23          JCC     controllerA_stillEnabled
 disableCtrlrA:
-    AA45:    92 40          LD   R1, #0
-    AA46:    D2 88          PUSH R1-R1, [SP]
-    AA47:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    AA49:    00 41          ADD  SP, #1
-    AA4A:    94 41          LD   R2, #1
-    AA4B:    B5 12 09 46    AND  R2, [controller_flags]
-    AA4D:    5E 16          JZ   endControllerA
-    AA4E:    64 42          NEG  R2, #2
-    AA4F:    B5 12 09 46    AND  R2, [controller_flags]
-    AA51:    A4 50          OR   R2, #10
-    AA52:    D5 1A 09 46    ST   R2, [controller_flags]
-    AA54:    95 0A 01 00    LD   R2, #100
-    AA56:    B5 12 3D 0C    AND  R2, [R_IOC_BUFFER]
-    AA58:    5E 0B          JZ   endControllerA
-    AA59:    64 7D          NEG  R2, #3d
-    AA5A:    B5 12 09 45    AND  R2, [controller_settings]
-    AA5C:    D5 1A 09 45    ST   R2, [controller_settings]
-    AA5E:    65 0A 03 01    NEG  R2, #301
-    AA60:    B5 12 3D 0C    AND  R2, [R_IOC_BUFFER]
-    AA62:    D5 1A 3D 0C    ST   R2, [R_IOC_BUFFER]
+    AA45:    92 40          LD      R1, #0
+    AA46:    D2 88          PUSH    R1-R1, [SP]
+    AA47:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    AA49:    00 41          ADD     SP, #1
+    AA4A:    94 41          LD      R2, #1
+    AA4B:    B5 12 09 46    AND     R2, [controller_flags]
+    AA4D:    5E 16          JZ      endControllerA
+    AA4E:    64 42          NEG     R2, #2
+    AA4F:    B5 12 09 46    AND     R2, [controller_flags]
+    AA51:    A4 50          OR      R2, #10
+    AA52:    D5 1A 09 46    ST      R2, [controller_flags]
+    AA54:    95 0A 01 00    LD      R2, #100
+    AA56:    B5 12 3D 0C    AND     R2, [R_IOC_BUFFER]
+    AA58:    5E 0B          JZ      endControllerA
+    AA59:    64 7D          NEG     R2, #3d
+    AA5A:    B5 12 09 45    AND     R2, [controller_settings]
+    AA5C:    D5 1A 09 45    ST      R2, [controller_settings]
+    AA5E:    65 0A 03 01    NEG     R2, #301
+    AA60:    B5 12 3D 0C    AND     R2, [R_IOC_BUFFER]
+    AA62:    D5 1A 3D 0C    ST      R2, [R_IOC_BUFFER]
 endControllerA:
-    AA64:    D2 88          PUSH R1-R1, [SP]
-    AA65:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    AA67:    00 41          ADD  SP, #1
+    AA64:    D2 88          PUSH    R1-R1, [SP]
+    AA65:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    AA67:    00 41          ADD     SP, #1
 controllerA_stillEnabled:
-    AA68:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AA6A:    23 11 09 48    SUB  R1, [CtrlB_lastInteractTime]
-    AA6C:    43 09 06 00    CMP  R1, R1, #600
-    AA6E:    0E 23          JCC  controllerB_stillEnabled
-    AA6F:    92 40          LD   R1, #0                                   ; disable interrupts
-    AA70:    D2 88          PUSH R1-R1, [SP]
-    AA71:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    AA73:    00 41          ADD  SP, #1
-    AA74:    94 42          LD   R2, #2
-    AA75:    B5 12 09 46    AND  R2, [controller_flags]
-    AA77:    5E 16          JZ   endControllerB
-    AA78:    64 43          NEG  R2, #3
-    AA79:    B5 12 09 46    AND  R2, [controller_flags]
-    AA7B:    A4 60          OR   R2, #20
-    AA7C:    D5 1A 09 46    ST   R2, [controller_flags]
-    AA7E:    95 0A 02 00    LD   R2, #200
-    AA80:    B5 12 3D 0C    AND  R2, [R_IOC_BUFFER]
-    AA82:    5E 0B          JZ   endControllerB
-    AA83:    64 7D          NEG  R2, #3d
-    AA84:    B5 12 09 45    AND  R2, [controller_settings]
-    AA86:    D5 1A 09 45    ST   R2, [controller_settings]
-    AA88:    65 0A 03 01    NEG  R2, #301
-    AA8A:    B5 12 3D 0C    AND  R2, [R_IOC_BUFFER]
-    AA8C:    D5 1A 3D 0C    ST   R2, [R_IOC_BUFFER]                       ; Clean CTS bits
+    AA68:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AA6A:    23 11 09 48    SUB     R1, [CtrlB_lastInteractTime]
+    AA6C:    43 09 06 00    CMP     R1, R1, #600
+    AA6E:    0E 23          JCC     controllerB_stillEnabled
+    AA6F:    92 40          LD      R1, #0                                ; disable interrupts
+    AA70:    D2 88          PUSH    R1-R1, [SP]
+    AA71:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    AA73:    00 41          ADD     SP, #1
+    AA74:    94 42          LD      R2, #2
+    AA75:    B5 12 09 46    AND     R2, [controller_flags]
+    AA77:    5E 16          JZ      endControllerB
+    AA78:    64 43          NEG     R2, #3
+    AA79:    B5 12 09 46    AND     R2, [controller_flags]
+    AA7B:    A4 60          OR      R2, #20
+    AA7C:    D5 1A 09 46    ST      R2, [controller_flags]
+    AA7E:    95 0A 02 00    LD      R2, #200
+    AA80:    B5 12 3D 0C    AND     R2, [R_IOC_BUFFER]
+    AA82:    5E 0B          JZ      endControllerB
+    AA83:    64 7D          NEG     R2, #3d
+    AA84:    B5 12 09 45    AND     R2, [controller_settings]
+    AA86:    D5 1A 09 45    ST      R2, [controller_settings]
+    AA88:    65 0A 03 01    NEG     R2, #301
+    AA8A:    B5 12 3D 0C    AND     R2, [R_IOC_BUFFER]
+    AA8C:    D5 1A 3D 0C    ST      R2, [R_IOC_BUFFER]                    ; Clean CTS bits
 endControllerB:
-    AA8E:    D2 88          PUSH R1-R1, [SP]
-    AA8F:    F0 41 7B 21    CALL SAVE_AND_SET_INTERRUPTS
-    AA91:    00 41          ADD  SP, #1
+    AA8E:    D2 88          PUSH    R1-R1, [SP]
+    AA8F:    F0 41 7B 21    CALL    SAVE_AND_SET_INTERRUPTS
+    AA91:    00 41          ADD     SP, #1
 controllerB_stillEnabled:
-    AA92:    98 88          POP  BP-BP, [SP]
-    AA93:    9A 90          RETF 
+    AA92:    98 88          POP     BP-BP, [SP]
+    AA93:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: Controller_UART_Setup
 
 Controller_UART_Setup:
-    AA94:    DA 88          PUSH BP-BP, [SP]
-    AA95:    93 11 3D 21    LD   R1, [R_INTERRUPT_CTRL]
-    AA97:    A3 09 33 00    OR   R1, R1, #3300                            ; Enable UART, both external interrupts, and ADC
-    AA99:    D3 19 3D 21    ST   R1, [R_INTERRUPT_CTRL]
-    AA9B:    93 09 33 00    LD   R1, #3300
-    AA9D:    D3 19 3D 22    ST   R1, [R_INTERRUPT_STATUS]
-    AA9F:    93 09 00 C3    LD   R1, #c3                                  ; Configure UART: Tx and Rx active, 8N1
-    AAA1:    D3 19 3D 30    ST   R1, [R_UART_CTRL]
-    AAA3:    93 11 3D 31    LD   R1, [R_UART_STATUS]
-    AAA5:    93 09 00 FE    LD   R1, #fe                                  ; 4800 baud
-    AAA7:    D3 19 3D 34    ST   R1, [R_UART_BAUD_H]
-    AAA9:    93 09 00 A0    LD   R1, #a0
-    AAAB:    D3 19 3D 33    ST   R1, [R_UART_BAUD_L]
-    AAAD:    92 43          LD   R1, #3                                   ; clear status register
-    AAAE:    D3 19 3D 31    ST   R1, [R_UART_STATUS]
-    AAB0:    93 09 FF FF    LD   R1, #ffff
-    AAB2:    D3 19 09 39    ST   R1, [0939]
-    AAB4:    D3 19 09 3A    ST   R1, [093a]
-    AAB6:    93 09 00 60    LD   R1, #60
-    AAB8:    D3 19 09 49    ST   R1, [CTRLA_TX_BUF0]
-    AABA:    D3 19 09 4C    ST   R1, [CTRLB_TX_BUF0]
-    AABC:    93 09 00 E6    LD   R1, #e6
-    AABE:    D3 19 09 4A    ST   R1, [CTRLA_TX_BUF1]
-    AAC0:    D3 19 09 4D    ST   R1, [CTRLB_TX_BUF1]
-    AAC2:    93 09 00 D6    LD   R1, #d6
-    AAC4:    D3 19 09 4B    ST   R1, [CTRLA_TX_BUF2]
-    AAC6:    D3 19 09 4E    ST   R1, [CTRLB_TX_BUF2]
-    AAC8:    92 40          LD   R1, #0
-    AAC9:    D3 19 09 37    ST   R1, [CTRLRA_SPECIAL]
-    AACB:    D3 19 09 38    ST   R1, [CTRLRB_SPECIAL]
-    AACD:    D3 19 09 3B    ST   R1, [093b]
-    AACF:    D3 19 09 3C    ST   R1, [093c]
-    AAD1:    D3 19 09 3D    ST   R1, [093d]
-    AAD3:    D3 19 09 3E    ST   R1, [093e]
-    AAD5:    D3 19 09 46    ST   R1, [controller_flags]
-    AAD7:    D3 19 09 45    ST   R1, [controller_settings]
-    AAD9:    93 09 FF FF    LD   R1, #ffff
-    AADB:    D3 19 09 3F    ST   R1, [093f]
-    AADD:    D3 19 09 40    ST   R1, [0940]
-    AADF:    93 11 08 44    LD   R1, [INT_COUNTER_LOW]
-    AAE1:    D3 19 09 41    ST   R1, [0941]
-    AAE3:    D3 19 09 42    ST   R1, [0942]
-    AAE5:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AAE7:    D3 19 09 43    ST   R1, [0943]
-    AAE9:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AAEB:    A3 09 40 00    OR   R1, R1, #4000
-    AAED:    B3 09 DF FF    AND  R1, R1, #dfff
-    AAEF:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AAF1:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    AAF3:    A3 09 40 00    OR   R1, R1, #4000
-    AAF5:    B3 09 DF FF    AND  R1, R1, #dfff
-    AAF7:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AAF9:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AAFB:    A3 09 60 00    OR   R1, R1, #6000
-    AAFD:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    AAFF:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    AB01:    A3 09 60 00    OR   R1, R1, #6000
-    AB03:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    AB05:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AB07:    A3 09 83 00    OR   R1, R1, #8300
-    AB09:    B3 09 EB FF    AND  R1, R1, #ebff
-    AB0B:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AB0D:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    AB0F:    A3 09 83 00    OR   R1, R1, #8300
-    AB11:    B3 09 EB FF    AND  R1, R1, #ebff
-    AB13:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AB15:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AB17:    A3 09 94 00    OR   R1, R1, #9400
-    AB19:    B3 09 FC FF    AND  R1, R1, #fcff
-    AB1B:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    AB1D:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    AB1F:    B3 09 68 FF    AND  R1, R1, #68ff
-    AB21:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    AB23:    98 88          POP  BP-BP, [SP]
-    AB24:    9A 90          RETF 
+    AA94:    DA 88          PUSH    BP-BP, [SP]
+    AA95:    93 11 3D 21    LD      R1, [R_INTERRUPT_CTRL]
+    AA97:    A3 09 33 00    OR      R1, R1, #3300                         ; Enable UART, both external interrupts, and ADC
+    AA99:    D3 19 3D 21    ST      R1, [R_INTERRUPT_CTRL]
+    AA9B:    93 09 33 00    LD      R1, #3300
+    AA9D:    D3 19 3D 22    ST      R1, [R_INTERRUPT_STATUS]
+    AA9F:    93 09 00 C3    LD      R1, #c3                               ; Configure UART: Tx and Rx active, 8N1
+    AAA1:    D3 19 3D 30    ST      R1, [R_UART_CTRL]
+    AAA3:    93 11 3D 31    LD      R1, [R_UART_STATUS]
+    AAA5:    93 09 00 FE    LD      R1, #fe                               ; 4800 baud
+    AAA7:    D3 19 3D 34    ST      R1, [R_UART_BAUD_H]
+    AAA9:    93 09 00 A0    LD      R1, #a0
+    AAAB:    D3 19 3D 33    ST      R1, [R_UART_BAUD_L]
+    AAAD:    92 43          LD      R1, #3                                ; clear status register
+    AAAE:    D3 19 3D 31    ST      R1, [R_UART_STATUS]
+    AAB0:    93 09 FF FF    LD      R1, #ffff
+    AAB2:    D3 19 09 39    ST      R1, [0939]
+    AAB4:    D3 19 09 3A    ST      R1, [093a]
+    AAB6:    93 09 00 60    LD      R1, #60
+    AAB8:    D3 19 09 49    ST      R1, [CTRLA_TX_BUF0]
+    AABA:    D3 19 09 4C    ST      R1, [CTRLB_TX_BUF0]
+    AABC:    93 09 00 E6    LD      R1, #e6
+    AABE:    D3 19 09 4A    ST      R1, [CTRLA_TX_BUF1]
+    AAC0:    D3 19 09 4D    ST      R1, [CTRLB_TX_BUF1]
+    AAC2:    93 09 00 D6    LD      R1, #d6
+    AAC4:    D3 19 09 4B    ST      R1, [CTRLA_TX_BUF2]
+    AAC6:    D3 19 09 4E    ST      R1, [CTRLB_TX_BUF2]
+    AAC8:    92 40          LD      R1, #0
+    AAC9:    D3 19 09 37    ST      R1, [CTRLRA_SPECIAL]
+    AACB:    D3 19 09 38    ST      R1, [CTRLRB_SPECIAL]
+    AACD:    D3 19 09 3B    ST      R1, [093b]
+    AACF:    D3 19 09 3C    ST      R1, [093c]
+    AAD1:    D3 19 09 3D    ST      R1, [093d]
+    AAD3:    D3 19 09 3E    ST      R1, [093e]
+    AAD5:    D3 19 09 46    ST      R1, [controller_flags]
+    AAD7:    D3 19 09 45    ST      R1, [controller_settings]
+    AAD9:    93 09 FF FF    LD      R1, #ffff
+    AADB:    D3 19 09 3F    ST      R1, [093f]
+    AADD:    D3 19 09 40    ST      R1, [0940]
+    AADF:    93 11 08 44    LD      R1, [INT_COUNTER_LOW]
+    AAE1:    D3 19 09 41    ST      R1, [0941]
+    AAE3:    D3 19 09 42    ST      R1, [0942]
+    AAE5:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AAE7:    D3 19 09 43    ST      R1, [0943]
+    AAE9:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AAEB:    A3 09 40 00    OR      R1, R1, #4000
+    AAED:    B3 09 DF FF    AND     R1, R1, #dfff
+    AAEF:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AAF1:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    AAF3:    A3 09 40 00    OR      R1, R1, #4000
+    AAF5:    B3 09 DF FF    AND     R1, R1, #dfff
+    AAF7:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AAF9:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AAFB:    A3 09 60 00    OR      R1, R1, #6000
+    AAFD:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    AAFF:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    AB01:    A3 09 60 00    OR      R1, R1, #6000
+    AB03:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    AB05:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AB07:    A3 09 83 00    OR      R1, R1, #8300
+    AB09:    B3 09 EB FF    AND     R1, R1, #ebff
+    AB0B:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AB0D:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    AB0F:    A3 09 83 00    OR      R1, R1, #8300
+    AB11:    B3 09 EB FF    AND     R1, R1, #ebff
+    AB13:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AB15:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AB17:    A3 09 94 00    OR      R1, R1, #9400
+    AB19:    B3 09 FC FF    AND     R1, R1, #fcff
+    AB1B:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    AB1D:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    AB1F:    B3 09 68 FF    AND     R1, R1, #68ff
+    AB21:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    AB23:    98 88          POP     BP-BP, [SP]
+    AB24:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: CONTROLLER_GPIO_CONFIG
 
 CONTROLLER_GPIO_CONFIG:
-    AB25:    DA 88          PUSH BP-BP, [SP]
-    AB26:    93 11 3D 21    LD   R1, [R_INTERRUPT_CTRL]                   ; Disable both external interrupts
-    AB28:    B3 09 ED FF    AND  R1, R1, #edff
-    AB2A:    D3 19 3D 21    ST   R1, [R_INTERRUPT_CTRL]
-    AB2C:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AB2E:    A3 09 60 00    OR   R1, R1, #6000                            ; UART Rx and Tx as inputs
-    AB30:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AB32:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    AB34:    A3 09 60 00    OR   R1, R1, #6000
-    AB36:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AB38:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AB3A:    B3 09 9F FF    AND  R1, R1, #9fff
-    AB3C:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    AB3E:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    AB40:    B3 09 9F FF    AND  R1, R1, #9fff
-    AB42:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    AB44:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AB46:    A3 09 97 00    OR   R1, R1, #9700                            ; Configure RTS/CTS
-    AB48:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AB4A:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    AB4C:    A3 09 97 00    OR   R1, R1, #9700
-    AB4E:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AB50:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AB52:    B3 09 68 FF    AND  R1, R1, #68ff
-    AB54:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    AB56:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    AB58:    B3 09 68 FF    AND  R1, R1, #68ff
-    AB5A:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    AB5C:    98 88          POP  BP-BP, [SP]
-    AB5D:    9A 90          RETF 
+    AB25:    DA 88          PUSH    BP-BP, [SP]
+    AB26:    93 11 3D 21    LD      R1, [R_INTERRUPT_CTRL]                ; Disable both external interrupts
+    AB28:    B3 09 ED FF    AND     R1, R1, #edff
+    AB2A:    D3 19 3D 21    ST      R1, [R_INTERRUPT_CTRL]
+    AB2C:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AB2E:    A3 09 60 00    OR      R1, R1, #6000                         ; UART Rx and Tx as inputs
+    AB30:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AB32:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    AB34:    A3 09 60 00    OR      R1, R1, #6000
+    AB36:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AB38:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AB3A:    B3 09 9F FF    AND     R1, R1, #9fff
+    AB3C:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    AB3E:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    AB40:    B3 09 9F FF    AND     R1, R1, #9fff
+    AB42:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    AB44:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AB46:    A3 09 97 00    OR      R1, R1, #9700                         ; Configure RTS/CTS
+    AB48:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AB4A:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    AB4C:    A3 09 97 00    OR      R1, R1, #9700
+    AB4E:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AB50:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AB52:    B3 09 68 FF    AND     R1, R1, #68ff
+    AB54:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    AB56:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    AB58:    B3 09 68 FF    AND     R1, R1, #68ff
+    AB5A:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    AB5C:    98 88          POP     BP-BP, [SP]
+    AB5D:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0002
+;        Function: ___PROC_0021
 
-___PROC_0002:
-    AB5E:    DA 88          PUSH BP-BP, [SP]
-    AB5F:    93 11 3D 21    LD   R1, [R_INTERRUPT_CTRL]
-    AB61:    A3 09 12 00    OR   R1, R1, #1200
-    AB63:    D3 19 3D 21    ST   R1, [R_INTERRUPT_CTRL]
-    AB65:    93 09 12 00    LD   R1, #1200
-    AB67:    D3 19 3D 22    ST   R1, [R_INTERRUPT_STATUS]
-    AB69:    93 09 FF FF    LD   R1, #ffff
-    AB6B:    95 0A 09 32    LD   R2, #932
-    AB6D:    D2 D2          ST   R1, [R2++]
-    AB6E:    D2 D2          ST   R1, [R2++]
-    AB6F:    D2 D2          ST   R1, [R2++]
-    AB70:    D2 C2          ST   R1, [R2]
-    AB71:    92 40          LD   R1, #0
-    AB72:    D3 19 09 45    ST   R1, [controller_settings]
-    AB74:    93 11 08 44    LD   R1, [INT_COUNTER_LOW]
-    AB76:    D3 19 09 41    ST   R1, [0941]
-    AB78:    D3 19 09 42    ST   R1, [0942]
-    AB7A:    93 11 08 42    LD   R1, [tmb2CounterLow]
-    AB7C:    D3 19 09 43    ST   R1, [0943]
-    AB7E:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AB80:    A3 09 40 00    OR   R1, R1, #4000
-    AB82:    B3 09 DF FF    AND  R1, R1, #dfff
-    AB84:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AB86:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    AB88:    A3 09 40 00    OR   R1, R1, #4000
-    AB8A:    B3 09 DF FF    AND  R1, R1, #dfff
-    AB8C:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AB8E:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    AB90:    A3 09 60 00    OR   R1, R1, #6000
-    AB92:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    AB94:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    AB96:    A3 09 60 00    OR   R1, R1, #6000
-    AB98:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    AB9A:    93 11 3D 0E    LD   R1, [R_IOC_ATTR]
-    AB9C:    A3 09 83 00    OR   R1, R1, #8300
-    AB9E:    B3 09 EB FF    AND  R1, R1, #ebff
-    ABA0:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    ABA2:    93 11 3D 0D    LD   R1, [R_IOC_DIRECTION]
-    ABA4:    A3 09 83 00    OR   R1, R1, #8300
-    ABA6:    B3 09 EB FF    AND  R1, R1, #ebff
-    ABA8:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    ABAA:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    ABAC:    A3 09 94 00    OR   R1, R1, #9400
-    ABAE:    B3 09 FC FF    AND  R1, R1, #fcff
-    ABB0:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    ABB2:    93 11 3D 0F    LD   R1, [R_IOC_MASK]
-    ABB4:    B3 09 68 FF    AND  R1, R1, #68ff
-    ABB6:    D3 19 3D 0F    ST   R1, [R_IOC_MASK]
-    ABB8:    98 88          POP  BP-BP, [SP]
-    ABB9:    9A 90          RETF 
+___PROC_0021:
+    AB5E:    DA 88          PUSH    BP-BP, [SP]
+    AB5F:    93 11 3D 21    LD      R1, [R_INTERRUPT_CTRL]
+    AB61:    A3 09 12 00    OR      R1, R1, #1200
+    AB63:    D3 19 3D 21    ST      R1, [R_INTERRUPT_CTRL]
+    AB65:    93 09 12 00    LD      R1, #1200
+    AB67:    D3 19 3D 22    ST      R1, [R_INTERRUPT_STATUS]
+    AB69:    93 09 FF FF    LD      R1, #ffff
+    AB6B:    95 0A 09 32    LD      R2, #932
+    AB6D:    D2 D2          ST      R1, [R2++]
+    AB6E:    D2 D2          ST      R1, [R2++]
+    AB6F:    D2 D2          ST      R1, [R2++]
+    AB70:    D2 C2          ST      R1, [R2]
+    AB71:    92 40          LD      R1, #0
+    AB72:    D3 19 09 45    ST      R1, [controller_settings]
+    AB74:    93 11 08 44    LD      R1, [INT_COUNTER_LOW]
+    AB76:    D3 19 09 41    ST      R1, [0941]
+    AB78:    D3 19 09 42    ST      R1, [0942]
+    AB7A:    93 11 08 42    LD      R1, [tmb2CounterLow]
+    AB7C:    D3 19 09 43    ST      R1, [0943]
+    AB7E:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AB80:    A3 09 40 00    OR      R1, R1, #4000
+    AB82:    B3 09 DF FF    AND     R1, R1, #dfff
+    AB84:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AB86:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    AB88:    A3 09 40 00    OR      R1, R1, #4000
+    AB8A:    B3 09 DF FF    AND     R1, R1, #dfff
+    AB8C:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AB8E:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    AB90:    A3 09 60 00    OR      R1, R1, #6000
+    AB92:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    AB94:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    AB96:    A3 09 60 00    OR      R1, R1, #6000
+    AB98:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    AB9A:    93 11 3D 0E    LD      R1, [R_IOC_ATTR]
+    AB9C:    A3 09 83 00    OR      R1, R1, #8300
+    AB9E:    B3 09 EB FF    AND     R1, R1, #ebff
+    ABA0:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    ABA2:    93 11 3D 0D    LD      R1, [R_IOC_DIRECTION]
+    ABA4:    A3 09 83 00    OR      R1, R1, #8300
+    ABA6:    B3 09 EB FF    AND     R1, R1, #ebff
+    ABA8:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    ABAA:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    ABAC:    A3 09 94 00    OR      R1, R1, #9400
+    ABAE:    B3 09 FC FF    AND     R1, R1, #fcff
+    ABB0:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    ABB2:    93 11 3D 0F    LD      R1, [R_IOC_MASK]
+    ABB4:    B3 09 68 FF    AND     R1, R1, #68ff
+    ABB6:    D3 19 3D 0F    ST      R1, [R_IOC_MASK]
+    ABB8:    98 88          POP     BP-BP, [SP]
+    ABB9:    9A 90          RETF    
 
 
 ___WSTRING_0001:
@@ -4128,7 +4293,7 @@
     AC5B:    DW      'Desliga automaticamente...'
     AC76:    DW      'Spegnimento automatico...'
 
-___WDATA_0002:
+___WDATA_0003:
     AC90:    DW      0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007
     AC98:    DW      0008, 0009, 000A, 000B, 000C, 000D, 000E, 000F
     ACA0:    DW      0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017
@@ -4143,26 +4308,26 @@
 ;        Function: FIQ_update
 
 FIQ_update:
-    ACD3:    00 42          ADD  SP, #2
-    ACD4:    F0 41 A3 01    CALL 0001a301
-    ACD6:    C2 41          TEST #1
-    ACD7:    5E 09          JZ   ace1
-    ACD8:    F0 40 A1 CC    CALL 0000a1cc
-    ACDA:    F0 41 A3 0B    CALL 0001a30b
-    ACDC:    93 09 80 57    LD   R1, #8057
-    ACDE:    D2 88          PUSH R1-R1, [SP]
-    ACDF:    DC 88          PUSH SR-SR, [SP]
-    ACE0:    9A 98          RETI 
-    ACE1:    90 A8          POP  R1-BP, [SP]
-    ACE2:    9A 98          RETI 
-    ACE3:    93 11 08 EC    LD   R1, [08ec]
-    ACE5:    9A 90          RETF 
+    ACD3:    00 42          ADD     SP, #2
+    ACD4:    F0 41 A3 01    CALL    0001a301
+    ACD6:    C2 41          TEST    #1
+    ACD7:    5E 09          JZ      ace1
+    ACD8:    F0 40 A1 CC    CALL    ___PROC_0001
+    ACDA:    F0 41 A3 0B    CALL    ___PROC_0089
+    ACDC:    93 09 80 57    LD      R1, #8057
+    ACDE:    D2 88          PUSH    R1-R1, [SP]
+    ACDF:    DC 88          PUSH    SR-SR, [SP]
+    ACE0:    9A 98          RETI    
+    ACE1:    90 A8          POP     R1-BP, [SP]
+    ACE2:    9A 98          RETI    
+    ACE3:    93 11 08 EC    LD      R1, [08ec]
+    ACE5:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: DMA_wait_previous
 
 DMA_wait_previous:
-    ACE6:    EE 00          JMP  DMA_start
+    ACE6:    EE 00          JMP     DMA_start
 
 ; R4 = Number of words to transfer
 ; R3 = Destination offset
@@ -4170,334 +4335,334 @@
 ; R1 = Source offset
 ; 
 DMA_start:
-    ACE7:    9B 15 3E 02    LD   BP, [R_GPDMA_WORDCOUNT]
-    ACE9:    4E 44          JNZ  DMA_wait_previous
-    ACEA:    D3 19 3E 00    ST   R1, [R_GPDMA_SRC_OFFSET]
-    ACEC:    D5 1A 3E 01    ST   R2, [R_GPDMA_SRC_SEGMENT]
-    ACEE:    D7 1B 3E 03    ST   R3, [R_GPDMA_TARGET]
-    ACF0:    D9 1C 3E 02    ST   R4, [R_GPDMA_WORDCOUNT]
-    ACF2:    9A 90          RETF 
+    ACE7:    9B 15 3E 02    LD      BP, [R_GPDMA_WORDCOUNT]
+    ACE9:    4E 44          JNZ     DMA_wait_previous
+    ACEA:    D3 19 3E 00    ST      R1, [R_GPDMA_SRC_OFFSET]
+    ACEC:    D5 1A 3E 01    ST      R2, [R_GPDMA_SRC_SEGMENT]
+    ACEE:    D7 1B 3E 03    ST      R3, [R_GPDMA_TARGET]
+    ACF0:    D9 1C 3E 02    ST      R4, [R_GPDMA_WORDCOUNT]
+    ACF2:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0003
+;        Function: ___PROC_0022
 
-___PROC_0003:
-    ACF3:    99 0C 00 6E    LD   R4, #6e
-    ACF5:    96 40          LD   R3, #0
-    ACF6:    EE 3B          JMP  ad32
-    ACF7:    93 43          LD   R1, R3 LSL 1
-    ACF8:    03 09 06 8E    ADD  R1, R1, #68e
-    ACFA:    95 01          LD   R2, R1
-    ACFB:    92 D2          LD   R1, [R2++]
-    ACFC:    43 09 FF FF    CMP  R1, R1, #ffff
-    ACFE:    4E 32          JNZ  ad31
-    ACFF:    92 CA          LD   R1, [R2--]
-    AD00:    D3 19 05 F0    ST   R1, [05f0]
-    AD02:    D7 1B 05 F2    ST   R3, [05f2]
-    AD04:    DA A0          PUSH R2-BP, [SP]
-    AD05:    F0 41 8F B4    CALL 00018fb4
-    AD07:    99 14 08 99    LD   R4, [0899]
-    AD09:    D9 1C 3D 2F    ST   R4, [DS]
-    AD0B:    99 14 08 9A    LD   R4, [089a]
-    AD0D:    08 42          ADD  R4, #2
-    AD0E:    94 F4          LD   R2, D:[R4++]
-    AD0F:    96 E4          LD   R3, D:[R4]
-    AD10:    D7 1B 3D 2F    ST   R3, [DS]
-    AD12:    05 12 05 F1    ADD  R2, [05f1]
-    AD14:    98 E2          LD   R4, D:[R2]
-    AD15:    97 0B 06 1F    LD   R3, #61f
-    AD17:    07 13 05 F2    ADD  R3, [05f2]
-    AD19:    D8 C3          ST   R4, [R3]
-    AD1A:    99 14 08 99    LD   R4, [0899]
-    AD1C:    D9 1C 3D 2F    ST   R4, [DS]
-    AD1E:    9B 15 08 9A    LD   BP, [089a]
-    AD20:    0A 44          ADD  BP, #4
-    AD21:    92 F5          LD   R1, D:[BP++]
-    AD22:    D3 19 05 F2    ST   R1, [05f2]
-    AD24:    92 E5          LD   R1, D:[BP]
-    AD25:    D3 19 3D 2F    ST   R1, [DS]
-    AD27:    92 A0          POP  R2-BP, [SP]
-    AD28:    93 11 05 F1    LD   R1, [05f1]
-    AD2A:    93 41          LD   R1, R1 LSL 1
-    AD2B:    03 11 05 F2    ADD  R1, [05f2]
-    AD2D:    9A F1          LD   BP, D:[R1++]
-    AD2E:    DA D2          ST   BP, [R2++]
-    AD2F:    9A E1          LD   BP, D:[R1]
-    AD30:    DA C2          ST   BP, [R2]
-    AD31:    06 41          ADD  R3, #1
-    AD32:    47 04          CMP  R3, R4
-    AD33:    0E 7D          JCC  acf7
-    AD34:    99 14 08 99    LD   R4, [0899]
-    AD36:    D9 1C 3D 2F    ST   R4, [DS]
-    AD38:    9B 15 08 9A    LD   BP, [089a]
-    AD3A:    94 46          LD   R2, #6
-    AD3B:    0B 02          ADD  BP, R2
-    AD3C:    92 F5          LD   R1, D:[BP++]
-    AD3D:    D3 19 05 F2    ST   R1, [05f2]
-    AD3F:    92 F5          LD   R1, D:[BP++]
-    AD40:    D3 19 3D 2F    ST   R1, [DS]
-    AD42:    98 5A          LD   R4, #1a
-    AD43:    96 40          LD   R3, #0
-    AD44:    EE 19          JMP  ad5e
-    AD45:    93 43          LD   R1, R3 LSL 1
-    AD46:    03 09 07 6B    ADD  R1, R1, #76b
-    AD48:    95 01          LD   R2, R1
-    AD49:    92 D2          LD   R1, [R2++]
-    AD4A:    43 09 FF FF    CMP  R1, R1, #ffff
-    AD4C:    4E 10          JNZ  ad5d
-    AD4D:    92 CA          LD   R1, [R2--]
-    AD4E:    D3 19 05 F0    ST   R1, [05f0]
-    AD50:    DA A0          PUSH R2-BP, [SP]
-    AD51:    F0 41 8F E2    CALL 00018fe2
-    AD53:    92 A0          POP  R2-BP, [SP]
-    AD54:    93 11 05 F1    LD   R1, [05f1]
-    AD56:    93 41          LD   R1, R1 LSL 1
-    AD57:    03 11 05 F2    ADD  R1, [05f2]
-    AD59:    9A F1          LD   BP, D:[R1++]
-    AD5A:    DA D2          ST   BP, [R2++]
-    AD5B:    9A E1          LD   BP, D:[R1]
-    AD5C:    DA C2          ST   BP, [R2]
-    AD5D:    06 41          ADD  R3, #1
-    AD5E:    47 04          CMP  R3, R4
-    AD5F:    0E 5B          JCC  ad45
-    AD60:    9A 90          RETF 
+___PROC_0022:
+    ACF3:    99 0C 00 6E    LD      R4, #6e
+    ACF5:    96 40          LD      R3, #0
+    ACF6:    EE 3B          JMP     ad32
+    ACF7:    93 43          LD      R1, R3 LSL 1
+    ACF8:    03 09 06 8E    ADD     R1, R1, #68e
+    ACFA:    95 01          LD      R2, R1
+    ACFB:    92 D2          LD      R1, [R2++]
+    ACFC:    43 09 FF FF    CMP     R1, R1, #ffff
+    ACFE:    4E 32          JNZ     ad31
+    ACFF:    92 CA          LD      R1, [R2--]
+    AD00:    D3 19 05 F0    ST      R1, [05f0]
+    AD02:    D7 1B 05 F2    ST      R3, [05f2]
+    AD04:    DA A0          PUSH    R2-BP, [SP]
+    AD05:    F0 41 8F B4    CALL    00018fb4
+    AD07:    99 14 08 99    LD      R4, [0899]
+    AD09:    D9 1C 3D 2F    ST      R4, [DS]
+    AD0B:    99 14 08 9A    LD      R4, [089a]
+    AD0D:    08 42          ADD     R4, #2
+    AD0E:    94 F4          LD      R2, D:[R4++]
+    AD0F:    96 E4          LD      R3, D:[R4]
+    AD10:    D7 1B 3D 2F    ST      R3, [DS]
+    AD12:    05 12 05 F1    ADD     R2, [05f1]
+    AD14:    98 E2          LD      R4, D:[R2]
+    AD15:    97 0B 06 1F    LD      R3, #61f
+    AD17:    07 13 05 F2    ADD     R3, [05f2]
+    AD19:    D8 C3          ST      R4, [R3]
+    AD1A:    99 14 08 99    LD      R4, [0899]
+    AD1C:    D9 1C 3D 2F    ST      R4, [DS]
+    AD1E:    9B 15 08 9A    LD      BP, [089a]
+    AD20:    0A 44          ADD     BP, #4
+    AD21:    92 F5          LD      R1, D:[BP++]
+    AD22:    D3 19 05 F2    ST      R1, [05f2]
+    AD24:    92 E5          LD      R1, D:[BP]
+    AD25:    D3 19 3D 2F    ST      R1, [DS]
+    AD27:    92 A0          POP     R2-BP, [SP]
+    AD28:    93 11 05 F1    LD      R1, [05f1]
+    AD2A:    93 41          LD      R1, R1 LSL 1
+    AD2B:    03 11 05 F2    ADD     R1, [05f2]
+    AD2D:    9A F1          LD      BP, D:[R1++]
+    AD2E:    DA D2          ST      BP, [R2++]
+    AD2F:    9A E1          LD      BP, D:[R1]
+    AD30:    DA C2          ST      BP, [R2]
+    AD31:    06 41          ADD     R3, #1
+    AD32:    47 04          CMP     R3, R4
+    AD33:    0E 7D          JCC     acf7
+    AD34:    99 14 08 99    LD      R4, [0899]
+    AD36:    D9 1C 3D 2F    ST      R4, [DS]
+    AD38:    9B 15 08 9A    LD      BP, [089a]
+    AD3A:    94 46          LD      R2, #6
+    AD3B:    0B 02          ADD     BP, R2
+    AD3C:    92 F5          LD      R1, D:[BP++]
+    AD3D:    D3 19 05 F2    ST      R1, [05f2]
+    AD3F:    92 F5          LD      R1, D:[BP++]
+    AD40:    D3 19 3D 2F    ST      R1, [DS]
+    AD42:    98 5A          LD      R4, #1a
+    AD43:    96 40          LD      R3, #0
+    AD44:    EE 19          JMP     ad5e
+    AD45:    93 43          LD      R1, R3 LSL 1
+    AD46:    03 09 07 6B    ADD     R1, R1, #76b
+    AD48:    95 01          LD      R2, R1
+    AD49:    92 D2          LD      R1, [R2++]
+    AD4A:    43 09 FF FF    CMP     R1, R1, #ffff
+    AD4C:    4E 10          JNZ     ad5d
+    AD4D:    92 CA          LD      R1, [R2--]
+    AD4E:    D3 19 05 F0    ST      R1, [05f0]
+    AD50:    DA A0          PUSH    R2-BP, [SP]
+    AD51:    F0 41 8F E2    CALL    00018fe2
+    AD53:    92 A0          POP     R2-BP, [SP]
+    AD54:    93 11 05 F1    LD      R1, [05f1]
+    AD56:    93 41          LD      R1, R1 LSL 1
+    AD57:    03 11 05 F2    ADD     R1, [05f2]
+    AD59:    9A F1          LD      BP, D:[R1++]
+    AD5A:    DA D2          ST      BP, [R2++]
+    AD5B:    9A E1          LD      BP, D:[R1]
+    AD5C:    DA C2          ST      BP, [R2]
+    AD5D:    06 41          ADD     R3, #1
+    AD5E:    47 04          CMP     R3, R4
+    AD5F:    0E 5B          JCC     ad45
+    AD60:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0004
+;        Function: ___PROC_0023
 
-___PROC_0004:
-    AD61:    DA A8          PUSH R1-BP, [SP]
-    AD62:    98 41          LD   R4, #1
-    AD63:    D9 1C 3D 2F    ST   R4, [DS]
-    AD65:    97 0B 9E 23    LD   R3, #9e23
-    AD67:    92 F3          LD   R1, D:[R3++]
-    AD68:    94 F3          LD   R2, D:[R3++]
-    AD69:    97 0B 05 F3    LD   R3, #5f3
-    AD6B:    98 6B          LD   R4, #2b
-    AD6C:    F0 40 AC E7    CALL DMA_start
-    AD6E:    98 41          LD   R4, #1
-    AD6F:    D9 1C 3D 2F    ST   R4, [DS]
-    AD71:    97 0B 9E 23    LD   R3, #9e23
-    AD73:    06 42          ADD  R3, #2
-    AD74:    92 F3          LD   R1, D:[R3++]
-    AD75:    94 F3          LD   R2, D:[R3++]
-    AD76:    97 0B 06 1F    LD   R3, #61f
-    AD78:    99 0C 00 6E    LD   R4, #6e
-    AD7A:    F0 40 AC E7    CALL DMA_start
-    AD7C:    98 41          LD   R4, #1
-    AD7D:    D9 1C 3D 2F    ST   R4, [DS]
-    AD7F:    97 0B 9E 23    LD   R3, #9e23
-    AD81:    06 44          ADD  R3, #4
-    AD82:    92 F3          LD   R1, D:[R3++]
-    AD83:    94 F3          LD   R2, D:[R3++]
-    AD84:    97 0B 06 8E    LD   R3, #68e
-    AD86:    99 0C 00 6E    LD   R4, #6e
-    AD88:    99 44          LD   R4, R4 LSL 1
-    AD89:    F0 40 AC E7    CALL DMA_start
-    AD8B:    98 41          LD   R4, #1
-    AD8C:    D9 1C 3D 2F    ST   R4, [DS]
-    AD8E:    97 0B 9E 23    LD   R3, #9e23
-    AD90:    06 46          ADD  R3, #6
-    AD91:    92 F3          LD   R1, D:[R3++]
-    AD92:    94 F3          LD   R2, D:[R3++]
-    AD93:    97 0B 07 6B    LD   R3, #76b
-    AD95:    98 5A          LD   R4, #1a
-    AD96:    99 44          LD   R4, R4 LSL 1
-    AD97:    F0 40 AC E7    CALL DMA_start
-    AD99:    F0 40 AC F3    CALL ___PROC_0003
-    AD9B:    90 A8          POP  R1-BP, [SP]
-    AD9C:    9A 90          RETF 
-    AD9D:    DA 88          PUSH BP-BP, [SP]
-    AD9E:    0B 08 00 01    ADD  BP, SP, #1
-    ADA0:    92 03          LD   R1, [BP+3]
-    ADA1:    D3 19 3D 2F    ST   R1, [DS]
-    ADA3:    94 04          LD   R2, [BP+4]
-    ADA4:    92 F2          LD   R1, D:[R2++]
-    ADA5:    D3 19 09 53    ST   R1, [0953]
-    ADA7:    92 F2          LD   R1, D:[R2++]
-    ADA8:    D3 19 09 52    ST   R1, [0952]
-    ADAA:    92 F2          LD   R1, D:[R2++]
-    ADAB:    D3 19 09 55    ST   R1, [0955]
-    ADAD:    92 F2          LD   R1, D:[R2++]
-    ADAE:    D3 19 09 54    ST   R1, [0954]
-    ADB0:    92 F2          LD   R1, D:[R2++]
-    ADB1:    D3 19 09 57    ST   R1, [0957]
-    ADB3:    92 F2          LD   R1, D:[R2++]
-    ADB4:    D3 19 09 56    ST   R1, [0956]
-    ADB6:    92 F2          LD   R1, D:[R2++]
-    ADB7:    D3 19 09 59    ST   R1, [0959]
-    ADB9:    92 F2          LD   R1, D:[R2++]
-    ADBA:    D3 19 09 58    ST   R1, [0958]
-    ADBC:    98 88          POP  BP-BP, [SP]
-    ADBD:    9A 90          RETF 
+___PROC_0023:
+    AD61:    DA A8          PUSH    R1-BP, [SP]
+    AD62:    98 41          LD      R4, #1
+    AD63:    D9 1C 3D 2F    ST      R4, [DS]
+    AD65:    97 0B 9E 23    LD      R3, #9e23
+    AD67:    92 F3          LD      R1, D:[R3++]
+    AD68:    94 F3          LD      R2, D:[R3++]
+    AD69:    97 0B 05 F3    LD      R3, #5f3
+    AD6B:    98 6B          LD      R4, #2b
+    AD6C:    F0 40 AC E7    CALL    DMA_start
+    AD6E:    98 41          LD      R4, #1
+    AD6F:    D9 1C 3D 2F    ST      R4, [DS]
+    AD71:    97 0B 9E 23    LD      R3, #9e23
+    AD73:    06 42          ADD     R3, #2
+    AD74:    92 F3          LD      R1, D:[R3++]
+    AD75:    94 F3          LD      R2, D:[R3++]
+    AD76:    97 0B 06 1F    LD      R3, #61f
+    AD78:    99 0C 00 6E    LD      R4, #6e
+    AD7A:    F0 40 AC E7    CALL    DMA_start
+    AD7C:    98 41          LD      R4, #1
+    AD7D:    D9 1C 3D 2F    ST      R4, [DS]
+    AD7F:    97 0B 9E 23    LD      R3, #9e23
+    AD81:    06 44          ADD     R3, #4
+    AD82:    92 F3          LD      R1, D:[R3++]
+    AD83:    94 F3          LD      R2, D:[R3++]
+    AD84:    97 0B 06 8E    LD      R3, #68e
+    AD86:    99 0C 00 6E    LD      R4, #6e
+    AD88:    99 44          LD      R4, R4 LSL 1
+    AD89:    F0 40 AC E7    CALL    DMA_start
+    AD8B:    98 41          LD      R4, #1
+    AD8C:    D9 1C 3D 2F    ST      R4, [DS]
+    AD8E:    97 0B 9E 23    LD      R3, #9e23
+    AD90:    06 46          ADD     R3, #6
+    AD91:    92 F3          LD      R1, D:[R3++]
+    AD92:    94 F3          LD      R2, D:[R3++]
+    AD93:    97 0B 07 6B    LD      R3, #76b
+    AD95:    98 5A          LD      R4, #1a
+    AD96:    99 44          LD      R4, R4 LSL 1
+    AD97:    F0 40 AC E7    CALL    DMA_start
+    AD99:    F0 40 AC F3    CALL    ___PROC_0022
+    AD9B:    90 A8          POP     R1-BP, [SP]
+    AD9C:    9A 90          RETF    
+    AD9D:    DA 88          PUSH    BP-BP, [SP]
+    AD9E:    0B 08 00 01    ADD     BP, SP, #1
+    ADA0:    92 03          LD      R1, [BP+3]
+    ADA1:    D3 19 3D 2F    ST      R1, [DS]
+    ADA3:    94 04          LD      R2, [BP+4]
+    ADA4:    92 F2          LD      R1, D:[R2++]
+    ADA5:    D3 19 09 53    ST      R1, [0953]
+    ADA7:    92 F2          LD      R1, D:[R2++]
+    ADA8:    D3 19 09 52    ST      R1, [0952]
+    ADAA:    92 F2          LD      R1, D:[R2++]
+    ADAB:    D3 19 09 55    ST      R1, [0955]
+    ADAD:    92 F2          LD      R1, D:[R2++]
+    ADAE:    D3 19 09 54    ST      R1, [0954]
+    ADB0:    92 F2          LD      R1, D:[R2++]
+    ADB1:    D3 19 09 57    ST      R1, [0957]
+    ADB3:    92 F2          LD      R1, D:[R2++]
+    ADB4:    D3 19 09 56    ST      R1, [0956]
+    ADB6:    92 F2          LD      R1, D:[R2++]
+    ADB7:    D3 19 09 59    ST      R1, [0959]
+    ADB9:    92 F2          LD      R1, D:[R2++]
+    ADBA:    D3 19 09 58    ST      R1, [0958]
+    ADBC:    98 88          POP     BP-BP, [SP]
+    ADBD:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0005
+;        Function: ___PROC_0024
 
-___PROC_0005:
-    ADBE:    D2 88          PUSH R1-R1, [SP]
-    ADBF:    93 09 05 F3    LD   R1, #5f3
-    ADC1:    D3 19 09 53    ST   R1, [0953]
-    ADC3:    93 09 06 1F    LD   R1, #61f
-    ADC5:    D3 19 09 55    ST   R1, [0955]
-    ADC7:    93 09 06 8E    LD   R1, #68e
-    ADC9:    D3 19 09 57    ST   R1, [0957]
-    ADCB:    93 09 07 6B    LD   R1, #76b
-    ADCD:    D3 19 09 59    ST   R1, [0959]
-    ADCF:    92 40          LD   R1, #0
-    ADD0:    D3 19 09 52    ST   R1, [0952]
-    ADD2:    D3 19 09 54    ST   R1, [0954]
-    ADD4:    D3 19 09 56    ST   R1, [0956]
-    ADD6:    D3 19 09 58    ST   R1, [0958]
-    ADD8:    90 88          POP  R1-R1, [SP]
-    ADD9:    9A 90          RETF 
+___PROC_0024:
+    ADBE:    D2 88          PUSH    R1-R1, [SP]
+    ADBF:    93 09 05 F3    LD      R1, #5f3
+    ADC1:    D3 19 09 53    ST      R1, [0953]
+    ADC3:    93 09 06 1F    LD      R1, #61f
+    ADC5:    D3 19 09 55    ST      R1, [0955]
+    ADC7:    93 09 06 8E    LD      R1, #68e
+    ADC9:    D3 19 09 57    ST      R1, [0957]
+    ADCB:    93 09 07 6B    LD      R1, #76b
+    ADCD:    D3 19 09 59    ST      R1, [0959]
+    ADCF:    92 40          LD      R1, #0
+    ADD0:    D3 19 09 52    ST      R1, [0952]
+    ADD2:    D3 19 09 54    ST      R1, [0954]
+    ADD4:    D3 19 09 56    ST      R1, [0956]
+    ADD6:    D3 19 09 58    ST      R1, [0958]
+    ADD8:    90 88          POP     R1-R1, [SP]
+    ADD9:    9A 90          RETF    
 
 ; If magic was installed: return 1 if we should poweroff.
 ; If magic was not installed: install it and return 1 always
 ; 
 getSecuredOffValue:
-    ADDA:    F0 40 AE 07    CALL CHECK_MAGIC_START_END
-    ADDC:    42 40          CMP  R1, #0
-    ADDD:    5E 03          JZ   signature_installed
-    ADDE:    F0 40 AD E4    CALL install_signature
-    ADE0:    9A 90          RETF 
+    ADDA:    F0 40 AE 07    CALL    CHECK_MAGIC_START_END
+    ADDC:    42 40          CMP     R1, #0
+    ADDD:    5E 03          JZ      signature_installed
+    ADDE:    F0 40 AD E4    CALL    install_signature
+    ADE0:    9A 90          RETF    
 signature_installed:
-    ADE1:    F0 40 AE 50    CALL SHOULD_POWER_OFF
-    ADE3:    9A 90          RETF 
+    ADE1:    F0 40 AE 50    CALL    SHOULD_POWER_OFF
+    ADE3:    9A 90          RETF    
 
 ; Copy the magic bytes at start and end of RAM
 ; 
 install_signature:
-    ADE4:    D4 90          PUSH R1-R2, [SP]
-    ADE5:    94 40          LD   R2, #0
-    ADE6:    F0 40 AD EE    CALL write_signature
-    ADE8:    95 0A 27 B8    LD   R2, #27b8
-    ADEA:    F0 40 AD EE    CALL write_signature
-    ADEC:    90 90          POP  R1-R2, [SP]
-    ADED:    9A 90          RETF 
+    ADE4:    D4 90          PUSH    R1-R2, [SP]
+    ADE5:    94 40          LD      R2, #0
+    ADE6:    F0 40 AD EE    CALL    write_signature
+    ADE8:    95 0A 27 B8    LD      R2, #27b8
+    ADEA:    F0 40 AD EE    CALL    write_signature
+    ADEC:    90 90          POP     R1-R2, [SP]
+    ADED:    9A 90          RETF    
 
 ; Write signature bytes at address pointed by R2
 ; 
 write_signature:
-    ADEE:    93 09 55 AA    LD   R1, #55aa
-    ADF0:    D2 D2          ST   R1, [R2++]
-    ADF1:    93 09 AA 55    LD   R1, #aa55
-    ADF3:    D2 D2          ST   R1, [R2++]
-    ADF4:    93 09 5A 5A    LD   R1, #5a5a
-    ADF6:    D2 D2          ST   R1, [R2++]
-    ADF7:    93 09 A5 A5    LD   R1, #a5a5
-    ADF9:    D2 D2          ST   R1, [R2++]
-    ADFA:    93 09 54 56    LD   R1, #5456
-    ADFC:    D2 D2          ST   R1, [R2++]
-    ADFD:    93 09 43 45    LD   R1, #4345
-    ADFF:    D2 D2          ST   R1, [R2++]
-    AE00:    93 09 54 48    LD   R1, #5448
-    AE02:    D2 D2          ST   R1, [R2++]
-    AE03:    93 09 47 56    LD   R1, #4756
-    AE05:    D2 D2          ST   R1, [R2++]
-    AE06:    9A 90          RETF 
+    ADEE:    93 09 55 AA    LD      R1, #55aa
+    ADF0:    D2 D2          ST      R1, [R2++]
+    ADF1:    93 09 AA 55    LD      R1, #aa55
+    ADF3:    D2 D2          ST      R1, [R2++]
+    ADF4:    93 09 5A 5A    LD      R1, #5a5a
+    ADF6:    D2 D2          ST      R1, [R2++]
+    ADF7:    93 09 A5 A5    LD      R1, #a5a5
+    ADF9:    D2 D2          ST      R1, [R2++]
+    ADFA:    93 09 54 56    LD      R1, #5456
+    ADFC:    D2 D2          ST      R1, [R2++]
+    ADFD:    93 09 43 45    LD      R1, #4345
+    ADFF:    D2 D2          ST      R1, [R2++]
+    AE00:    93 09 54 48    LD      R1, #5448
+    AE02:    D2 D2          ST      R1, [R2++]
+    AE03:    93 09 47 56    LD      R1, #4756
+    AE05:    D2 D2          ST      R1, [R2++]
+    AE06:    9A 90          RETF    
 
 ; Check for signature at start and end of RAM
 ; Output: R1=0 of both of them match. R1=1 otherwise.
 ; 
 CHECK_MAGIC_START_END:
-    AE07:    D4 88          PUSH R2-R2, [SP]
-    AE08:    94 40          LD   R2, #0
-    AE09:    F0 40 AE 13    CALL read_signature
-    AE0B:    42 40          CMP  R1, #0
-    AE0C:    4E 04          JNZ  ae11
-    AE0D:    95 0A 27 B8    LD   R2, #27b8
-    AE0F:    F0 40 AE 13    CALL read_signature
-    AE11:    92 88          POP  R2-R2, [SP]
-    AE12:    9A 90          RETF 
+    AE07:    D4 88          PUSH    R2-R2, [SP]
+    AE08:    94 40          LD      R2, #0
+    AE09:    F0 40 AE 13    CALL    read_signature
+    AE0B:    42 40          CMP     R1, #0
+    AE0C:    4E 04          JNZ     ae11
+    AE0D:    95 0A 27 B8    LD      R2, #27b8
+    AE0F:    F0 40 AE 13    CALL    read_signature
+    AE11:    92 88          POP     R2-R2, [SP]
+    AE12:    9A 90          RETF    
 
 ; Input: R2 points to area to check
 ; Output: R1=0 if the magic pattern matches. R1=1 if it doesn't
 ; The magic pattern is: 55AA, AA55, 5A5A, A5A5, 5456, 4345, 5448, 4756
 ; 
 read_signature:
-    AE13:    92 D2          LD   R1, [R2++]
-    AE14:    43 09 55 AA    CMP  R1, R1, #55aa
-    AE16:    4E 1E          JNZ  signature_mismatch
-    AE17:    92 D2          LD   R1, [R2++]
-    AE18:    43 09 AA 55    CMP  R1, R1, #aa55
-    AE1A:    4E 1A          JNZ  signature_mismatch
-    AE1B:    92 D2          LD   R1, [R2++]
-    AE1C:    43 09 5A 5A    CMP  R1, R1, #5a5a
-    AE1E:    4E 16          JNZ  signature_mismatch
-    AE1F:    92 D2          LD   R1, [R2++]
-    AE20:    43 09 A5 A5    CMP  R1, R1, #a5a5
-    AE22:    4E 12          JNZ  signature_mismatch
-    AE23:    92 D2          LD   R1, [R2++]
-    AE24:    43 09 54 56    CMP  R1, R1, #5456
-    AE26:    4E 0E          JNZ  signature_mismatch
-    AE27:    92 D2          LD   R1, [R2++]
-    AE28:    43 09 43 45    CMP  R1, R1, #4345
-    AE2A:    4E 0A          JNZ  signature_mismatch
-    AE2B:    92 D2          LD   R1, [R2++]
-    AE2C:    43 09 54 48    CMP  R1, R1, #5448
-    AE2E:    4E 06          JNZ  signature_mismatch
-    AE2F:    92 D2          LD   R1, [R2++]
-    AE30:    43 09 47 56    CMP  R1, R1, #4756
-    AE32:    4E 02          JNZ  signature_mismatch
-    AE33:    92 40          LD   R1, #0
-    AE34:    9A 90          RETF 
+    AE13:    92 D2          LD      R1, [R2++]
+    AE14:    43 09 55 AA    CMP     R1, R1, #55aa
+    AE16:    4E 1E          JNZ     signature_mismatch
+    AE17:    92 D2          LD      R1, [R2++]
+    AE18:    43 09 AA 55    CMP     R1, R1, #aa55
+    AE1A:    4E 1A          JNZ     signature_mismatch
+    AE1B:    92 D2          LD      R1, [R2++]
+    AE1C:    43 09 5A 5A    CMP     R1, R1, #5a5a
+    AE1E:    4E 16          JNZ     signature_mismatch
+    AE1F:    92 D2          LD      R1, [R2++]
+    AE20:    43 09 A5 A5    CMP     R1, R1, #a5a5
+    AE22:    4E 12          JNZ     signature_mismatch
+    AE23:    92 D2          LD      R1, [R2++]
+    AE24:    43 09 54 56    CMP     R1, R1, #5456
+    AE26:    4E 0E          JNZ     signature_mismatch
+    AE27:    92 D2          LD      R1, [R2++]
+    AE28:    43 09 43 45    CMP     R1, R1, #4345
+    AE2A:    4E 0A          JNZ     signature_mismatch
+    AE2B:    92 D2          LD      R1, [R2++]
+    AE2C:    43 09 54 48    CMP     R1, R1, #5448
+    AE2E:    4E 06          JNZ     signature_mismatch
+    AE2F:    92 D2          LD      R1, [R2++]
+    AE30:    43 09 47 56    CMP     R1, R1, #4756
+    AE32:    4E 02          JNZ     signature_mismatch
+    AE33:    92 40          LD      R1, #0
+    AE34:    9A 90          RETF    
 signature_mismatch:
-    AE35:    92 41          LD   R1, #1
-    AE36:    9A 90          RETF 
+    AE35:    92 41          LD      R1, #1
+    AE36:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: DELAY_LONG
 
 DELAY_LONG:
-    AE37:    D4 90          PUSH R1-R2, [SP]
-    AE38:    92 40          LD   R1, #0
-    AE39:    94 40          LD   R2, #0
-    AE3A:    EE 00          JMP  ae3b
-    AE3B:    EE 00          JMP  ae3c
-    AE3C:    EE 00          JMP  ae3d
-    AE3D:    EE 00          JMP  ae3e
-    AE3E:    EE 00          JMP  ae3f
-    AE3F:    EE 00          JMP  ae40
-    AE40:    EE 00          JMP  ae41
-    AE41:    EE 00          JMP  ae42
-    AE42:    EE 00          JMP  ae43
-    AE43:    EE 00          JMP  ae44
-    AE44:    EE 00          JMP  ae45
-    AE45:    EE 00          JMP  ae46
-    AE46:    EE 00          JMP  ae47
-    AE47:    EE 00          JMP  ae48
-    AE48:    EE 00          JMP  ae49
-    AE49:    EE 00          JMP  ae4a
-    AE4A:    02 41          ADD  R1, #1
-    AE4B:    14 40          ADC  R2, #0
-    AE4C:    42 54          CMP  R1, #14
-    AE4D:    4E 54          JNZ  ae3a
-    AE4E:    90 90          POP  R1-R2, [SP]
-    AE4F:    9A 90          RETF 
+    AE37:    D4 90          PUSH    R1-R2, [SP]
+    AE38:    92 40          LD      R1, #0
+    AE39:    94 40          LD      R2, #0
+    AE3A:    EE 00          JMP     ae3b
+    AE3B:    EE 00          JMP     ae3c
+    AE3C:    EE 00          JMP     ae3d
+    AE3D:    EE 00          JMP     ae3e
+    AE3E:    EE 00          JMP     ae3f
+    AE3F:    EE 00          JMP     ae40
+    AE40:    EE 00          JMP     ae41
+    AE41:    EE 00          JMP     ae42
+    AE42:    EE 00          JMP     ae43
+    AE43:    EE 00          JMP     ae44
+    AE44:    EE 00          JMP     ae45
+    AE45:    EE 00          JMP     ae46
+    AE46:    EE 00          JMP     ae47
+    AE47:    EE 00          JMP     ae48
+    AE48:    EE 00          JMP     ae49
+    AE49:    EE 00          JMP     ae4a
+    AE4A:    02 41          ADD     R1, #1
+    AE4B:    14 40          ADC     R2, #0
+    AE4C:    42 54          CMP     R1, #14
+    AE4D:    4E 54          JNZ     ae3a
+    AE4E:    90 90          POP     R1-R2, [SP]
+    AE4F:    9A 90          RETF    
 
 ; Test ON and OFF buttons.
 ; Output: R1=0 if ON is pressed or OFF is not pressed (we should turn or stay on)
 ;         R1=1 if OFF is pressed and ON is not pressed (we should turn off)
 ; 
 SHOULD_POWER_OFF:
-    AE50:    93 09 00 96    LD   R1, #96                                  ; Call DELAY_LONG 96 times to make a super long delay
-    AE52:    F0 40 AE 37    CALL DELAY_LONG
-    AE54:    22 41          SUB  R1, #1
-    AE55:    4E 44          JNZ  ae52
-    AE56:    93 11 3D 06    LD   R1, [R_IOB_DATA]                         ; Is the ON button pressed?
-    AE58:    C3 09 00 40    TEST R1, #40
-    AE5A:    5E 07          JZ   ae62
-    AE5B:    93 11 3D 06    LD   R1, [R_IOB_DATA]                         ; Is the OFF button pressed?
-    AE5D:    C3 09 00 80    TEST R1, #80
-    AE5F:    4E 02          JNZ  ae62
-    AE60:    92 41          LD   R1, #1
-    AE61:    9A 90          RETF 
-    AE62:    92 40          LD   R1, #0
-    AE63:    9A 90          RETF 
+    AE50:    93 09 00 96    LD      R1, #96                               ; Call DELAY_LONG 96 times to make a super long delay
+    AE52:    F0 40 AE 37    CALL    DELAY_LONG
+    AE54:    22 41          SUB     R1, #1
+    AE55:    4E 44          JNZ     ae52
+    AE56:    93 11 3D 06    LD      R1, [R_IOB_DATA]                      ; Is the ON button pressed?
+    AE58:    C3 09 00 40    TEST    R1, #40
+    AE5A:    5E 07          JZ      ae62
+    AE5B:    93 11 3D 06    LD      R1, [R_IOB_DATA]                      ; Is the OFF button pressed?
+    AE5D:    C3 09 00 80    TEST    R1, #80
+    AE5F:    4E 02          JNZ     ae62
+    AE60:    92 41          LD      R1, #1
+    AE61:    9A 90          RETF    
+    AE62:    92 40          LD      R1, #0
+    AE63:    9A 90          RETF    
 
 
-___WDATA_0003:
+___WDATA_0004:
     AE64:    DW      0080, 0000, 0040, 0000, 0001, 0000, 0004, 0000
     AE6C:    DW      0020, 00A0, 0001, 0000, 0020, 0060, 0020, 0000
     AE74:    DW      0080, 0090, 00B0, 0090, 0080, 0000, 0003, 0000
@@ -4521,7 +4686,7 @@
 Copyright_message:
     AE96:    DW      'Copyright VTech. '
 
-___WDATA_0005:
+___WDATA_0006:
     AEA8:    DW      E6B0, A8C8, F9CB, D0D3, BAA3, B0CE, D7D2, EFB4
     AEB0:    DW      E7B5, D3D7, FAB2, B7C6, A8A3, EEC9, DADB, A9A3
     AEB8:    DW      D0D3, DECF, ABB9, BECB, A3A1, 2000, 0000, 194F
@@ -4537,16 +4702,16 @@
 ;        Function: RESET
 
 RESET:
-    AEE2:    F1 40          INT  OFF
-    AEE3:    93 09 55 AA    LD   R1, #55aa                                ; Clear watchdog
-    AEE5:    D3 19 3D 24    ST   R1, [R_WDG_CLEAR]
-    AEE7:    93 11 3D 23    LD   R1, [R_EXT_MEM_CTRL]                     ; Configure RAM to 2 waitstates
-    AEE9:    B3 09 FF F9    AND  R1, R1, #fff9
-    AEEB:    A2 44          OR   R1, #4
-    AEEC:    D3 19 3D 23    ST   R1, [R_EXT_MEM_CTRL]
-    AEEE:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]                      ; Disable watchdog
-    AEF0:    B3 09 7F FF    AND  R1, R1, #7fff
-    AEF2:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
+    AEE2:    F1 40          INT     OFF
+    AEE3:    93 09 55 AA    LD      R1, #55aa                             ; Clear watchdog
+    AEE5:    D3 19 3D 24    ST      R1, [R_WDG_CLEAR]
+    AEE7:    93 11 3D 23    LD      R1, [R_EXT_MEM_CTRL]                  ; Configure RAM to 2 waitstates
+    AEE9:    B3 09 FF F9    AND     R1, R1, #fff9
+    AEEB:    A2 44          OR      R1, #4
+    AEEC:    D3 19 3D 23    ST      R1, [R_EXT_MEM_CTRL]
+    AEEE:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]                   ; Disable watchdog
+    AEF0:    B3 09 7F FF    AND     R1, R1, #7fff
+    AEF2:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
 ; Configure system:
 ;       Watchdog - disabled
 ;       Sleep - enabled
@@ -4555,27 +4720,27 @@
 ;       Video DAC - enabled
 ;       Audio DAC - disabled
 ; 
-    AEF4:    93 09 40 06    LD   R1, #4006
-    AEF6:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    AEF8:    92 42          LD   R1, #2                                   ; Power off ADC (CSB=1)
-    AEF9:    D3 19 3D 25    ST   R1, [R_ADC_CTRL]
-    AEFB:    92 48          LD   R1, #8                                   ; Configure IOB to trigger wakeup interrupts when ON is pressed
-    AEFC:    D3 19 3D 00    ST   R1, [R_GPIO_CTRL]
-    AEFE:    93 11 3D 0A    LD   R1, [R_IOB_MASK]                         ; Configure special pins for IOB (CSB1, CSB2, CSB3)
-    AF00:    A2 47          OR   R1, #7
-    AF01:    D3 19 3D 0A    ST   R1, [R_IOB_MASK]
-    AF03:    93 11 3D 08    LD   R1, [R_IOB_DIRECTION]                    ; IOB5 as output, all other pins as inputs
-    AF05:    B2 47          AND  R1, #7
-    AF06:    A2 57          OR   R1, #17
-    AF07:    D3 19 3D 08    ST   R1, [R_IOB_DIRECTION]
-    AF09:    93 11 3D 09    LD   R1, [R_IOB_ATTR]
-    AF0B:    B2 47          AND  R1, #7
-    AF0C:    A2 57          OR   R1, #17
-    AF0D:    D3 19 3D 09    ST   R1, [R_IOB_ATTR]
-    AF0F:    93 11 3D 07    LD   R1, [R_IOB_BUFFER]
-    AF11:    B2 4F          AND  R1, #f
-    AF12:    A3 09 00 FF    OR   R1, R1, #ff
-    AF14:    D3 19 3D 07    ST   R1, [R_IOB_BUFFER]
+    AEF4:    93 09 40 06    LD      R1, #4006
+    AEF6:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    AEF8:    92 42          LD      R1, #2                                ; Power off ADC (CSB=1)
+    AEF9:    D3 19 3D 25    ST      R1, [R_ADC_CTRL]
+    AEFB:    92 48          LD      R1, #8                                ; Configure IOB to trigger wakeup interrupts when ON is pressed
+    AEFC:    D3 19 3D 00    ST      R1, [R_GPIO_CTRL]
+    AEFE:    93 11 3D 0A    LD      R1, [R_IOB_MASK]                      ; Configure special pins for IOB (CSB1, CSB2, CSB3)
+    AF00:    A2 47          OR      R1, #7
+    AF01:    D3 19 3D 0A    ST      R1, [R_IOB_MASK]
+    AF03:    93 11 3D 08    LD      R1, [R_IOB_DIRECTION]                 ; IOB5 as output, all other pins as inputs
+    AF05:    B2 47          AND     R1, #7
+    AF06:    A2 57          OR      R1, #17
+    AF07:    D3 19 3D 08    ST      R1, [R_IOB_DIRECTION]
+    AF09:    93 11 3D 09    LD      R1, [R_IOB_ATTR]
+    AF0B:    B2 47          AND     R1, #7
+    AF0C:    A2 57          OR      R1, #17
+    AF0D:    D3 19 3D 09    ST      R1, [R_IOB_ATTR]
+    AF0F:    93 11 3D 07    LD      R1, [R_IOB_BUFFER]
+    AF11:    B2 4F          AND     R1, #f
+    AF12:    A3 09 00 FF    OR      R1, R1, #ff
+    AF14:    D3 19 3D 07    ST      R1, [R_IOB_BUFFER]
 ; Configure IOC pins: 88C0
 ; 1000 1000 1100 0000
 ; - IOC0,1,2,3,4 as input to read system configuration
@@ -4587,168 +4752,168 @@
 ; - IOC13, 14: UART Rx/Tx (both as inputs?)
 ; - IOC15: Controller power? as output
 ; 
-    AF16:    93 09 88 C0    LD   R1, #88c0
-    AF18:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AF1A:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AF1C:    93 09 F7 7F    LD   R1, #f77f
-    AF1E:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    AF20:    92 40          LD   R1, #0                                   ; Set all port A pins as inputs
-    AF21:    D3 19 3D 04    ST   R1, [R_IOA_ATTR]
-    AF23:    D3 19 3D 03    ST   R1, [R_IOA_DIRECTION]
-    AF25:    93 09 C0 00    LD   R1, #c000
-    AF27:    D3 19 3D 02    ST   R1, [R_IOA_BUFFER]                       ; Vsmile pocket LCD?
-    AF29:    91 10 AE 95    LD   SP, [INITIAL_SP]                         ; Initialize stack pointer so we can use CALL
-    AF2B:    F0 40 AF B6    CALL INIT_GLOBALS_FROM_MAGIC_AND_POWERBUTTONS
-    AF2D:    F0 41 9B B5    CALL SPU_BALANCE
+    AF16:    93 09 88 C0    LD      R1, #88c0
+    AF18:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AF1A:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AF1C:    93 09 F7 7F    LD      R1, #f77f
+    AF1E:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    AF20:    92 40          LD      R1, #0                                ; Set all port A pins as inputs
+    AF21:    D3 19 3D 04    ST      R1, [R_IOA_ATTR]
+    AF23:    D3 19 3D 03    ST      R1, [R_IOA_DIRECTION]
+    AF25:    93 09 C0 00    LD      R1, #c000
+    AF27:    D3 19 3D 02    ST      R1, [R_IOA_BUFFER]                    ; Vsmile pocket LCD?
+    AF29:    91 10 AE 95    LD      SP, [INITIAL_SP]                      ; Initialize stack pointer so we can use CALL
+    AF2B:    F0 40 AF B6    CALL    INIT_GLOBALS_FROM_MAGIC_AND_POWERBUTTONS
+    AF2D:    F0 41 9B B5    CALL    SPU_BALANCE
 clear_bss:
-    AF2F:    9B 0D AE 82    LD   BP, #ae82                                ; Clear the BSS areas in RAM
-    AF31:    92 D5          LD   R1, [BP++]
-    AF32:    94 C5          LD   R2, [BP]
-    AF33:    96 40          LD   R3, #0
-    AF34:    98 40          LD   R4, #0
-    AF35:    EE 02          JMP  af38
-    AF36:    D8 D1          ST   R4, [R1++]
-    AF37:    06 41          ADD  R3, #1
-    AF38:    47 02          CMP  R3, R2
-    AF39:    0E 44          JCC  af36
-    AF3A:    91 10 AE 95    LD   SP, [INITIAL_SP]
-    AF3C:    93 09 80 00    LD   R1, #8000                                ; Copy the data area to RAM
-    AF3E:    94 D1          LD   R2, [R1++]
-    AF3F:    EE 0F          JMP  copy_block
+    AF2F:    9B 0D AE 82    LD      BP, #ae82                             ; Clear the BSS areas in RAM
+    AF31:    92 D5          LD      R1, [BP++]
+    AF32:    94 C5          LD      R2, [BP]
+    AF33:    96 40          LD      R3, #0
+    AF34:    98 40          LD      R4, #0
+    AF35:    EE 02          JMP     af38
+    AF36:    D8 D1          ST      R4, [R1++]
+    AF37:    06 41          ADD     R3, #1
+    AF38:    47 02          CMP     R3, R2
+    AF39:    0E 44          JCC     af36
+    AF3A:    91 10 AE 95    LD      SP, [INITIAL_SP]
+    AF3C:    93 09 80 00    LD      R1, #8000                             ; Copy the data area to RAM
+    AF3E:    94 D1          LD      R2, [R1++]
+    AF3F:    EE 0F          JMP     copy_block
 data_init_loop:
-    AF40:    D4 88          PUSH R2-R2, [SP]
-    AF41:    96 D1          LD   R3, [R1++]
-    AF42:    98 D1          LD   R4, [R1++]
-    AF43:    D9 1C 3D 2F    ST   R4, [DS]
-    AF45:    98 D1          LD   R4, [R1++]
-    AF46:    9A D1          LD   BP, [R1++]
-    AF47:    EE 03          JMP  check_block_end
+    AF40:    D4 88          PUSH    R2-R2, [SP]
+    AF41:    96 D1          LD      R3, [R1++]
+    AF42:    98 D1          LD      R4, [R1++]
+    AF43:    D9 1C 3D 2F    ST      R4, [DS]
+    AF45:    98 D1          LD      R4, [R1++]
+    AF46:    9A D1          LD      BP, [R1++]
+    AF47:    EE 03          JMP     check_block_end
 next_byte:
-    AF48:    94 F4          LD   R2, D:[R4++]
-    AF49:    D4 D3          ST   R2, [R3++]
-    AF4A:    2A 41          SUB  BP, #1
+    AF48:    94 F4          LD      R2, D:[R4++]
+    AF49:    D4 D3          ST      R2, [R3++]
+    AF4A:    2A 41          SUB     BP, #1
 check_block_end:
-    AF4B:    4A 40          CMP  BP, #0
-    AF4C:    BE 45          JG   next_byte
-    AF4D:    92 88          POP  R2-R2, [SP]
-    AF4E:    24 41          SUB  R2, #1
+    AF4B:    4A 40          CMP     BP, #0
+    AF4C:    BE 45          JG      next_byte
+    AF4D:    92 88          POP     R2-R2, [SP]
+    AF4E:    24 41          SUB     R2, #1
 copy_block:
-    AF4F:    44 40          CMP  R2, #0
-    AF50:    BE 51          JG   data_init_loop
-    AF51:    F0 41 7E DD    CALL HARDWARE_INIT
-    AF53:    F0 41 60 2A    CALL ___PROC_0023
-    AF55:    F0 41 90 B3    CALL ___PROC_0052
+    AF4F:    44 40          CMP     R2, #0
+    AF50:    BE 51          JG      data_init_loop
+    AF51:    F0 41 7E DD    CALL    HARDWARE_INIT
+    AF53:    F0 41 60 2A    CALL    ___PROC_0049
+    AF55:    F0 41 90 B3    CALL    ___PROC_0078
 endless_loop:
-    AF57:    EE 41          JMP  endless_loop
+    AF57:    EE 41          JMP     endless_loop
 
 ;----------------------------------------------------------------
 ;        Function: EMPTY_INTERRUPT
 
 EMPTY_INTERRUPT:
-    AF58:    9A 98          RETI 
+    AF58:    9A 98          RETI    
 
 ;----------------------------------------------------------------
 ;        Function: WAKEUP_handler
 
 WAKEUP_handler:
-    AF59:    F1 40          INT  OFF
-    AF5A:    93 09 55 AA    LD   R1, #55aa
-    AF5C:    D3 19 3D 24    ST   R1, [R_WDG_CLEAR]
-    AF5E:    93 11 3D 23    LD   R1, [R_EXT_MEM_CTRL]
-    AF60:    B3 09 FF F9    AND  R1, R1, #fff9
-    AF62:    A2 44          OR   R1, #4
-    AF63:    D3 19 3D 23    ST   R1, [R_EXT_MEM_CTRL]
-    AF65:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    AF67:    B3 09 7F FF    AND  R1, R1, #7fff
-    AF69:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    AF6B:    93 09 40 06    LD   R1, #4006
-    AF6D:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    AF6F:    92 42          LD   R1, #2
-    AF70:    D3 19 3D 25    ST   R1, [R_ADC_CTRL]
-    AF72:    92 48          LD   R1, #8
-    AF73:    D3 19 3D 00    ST   R1, [R_GPIO_CTRL]
-    AF75:    93 11 3D 0A    LD   R1, [R_IOB_MASK]
-    AF77:    A2 47          OR   R1, #7
-    AF78:    D3 19 3D 0A    ST   R1, [R_IOB_MASK]
-    AF7A:    93 11 3D 08    LD   R1, [R_IOB_DIRECTION]
-    AF7C:    B2 47          AND  R1, #7
-    AF7D:    A2 57          OR   R1, #17
-    AF7E:    D3 19 3D 08    ST   R1, [R_IOB_DIRECTION]
-    AF80:    93 11 3D 09    LD   R1, [R_IOB_ATTR]
-    AF82:    B2 47          AND  R1, #7
-    AF83:    A2 57          OR   R1, #17
-    AF84:    D3 19 3D 09    ST   R1, [R_IOB_ATTR]
-    AF86:    93 11 3D 07    LD   R1, [R_IOB_BUFFER]
-    AF88:    B2 4F          AND  R1, #f
-    AF89:    A3 09 00 FF    OR   R1, R1, #ff
-    AF8B:    D3 19 3D 07    ST   R1, [R_IOB_BUFFER]
-    AF8D:    93 09 88 C0    LD   R1, #88c0
-    AF8F:    D3 19 3D 0E    ST   R1, [R_IOC_ATTR]
-    AF91:    D3 19 3D 0D    ST   R1, [R_IOC_DIRECTION]
-    AF93:    93 09 F7 7F    LD   R1, #f77f
-    AF95:    D3 19 3D 0C    ST   R1, [R_IOC_BUFFER]
-    AF97:    92 40          LD   R1, #0
-    AF98:    D3 19 3D 04    ST   R1, [R_IOA_ATTR]
-    AF9A:    D3 19 3D 03    ST   R1, [R_IOA_DIRECTION]
-    AF9C:    93 09 C0 00    LD   R1, #c000
-    AF9E:    D3 19 3D 02    ST   R1, [R_IOA_BUFFER]
-    AFA0:    91 10 AE 95    LD   SP, [INITIAL_SP]
-    AFA2:    F0 40 AF A9    CALL CLEAR_3WORDS_AT_27D0
-    AFA4:    F0 41 9B B5    CALL SPU_BALANCE
-    AFA6:    9F 0F AF 2F    LJMP clear_bss
-    AFA8:    9A 98          RETI 
+    AF59:    F1 40          INT     OFF
+    AF5A:    93 09 55 AA    LD      R1, #55aa
+    AF5C:    D3 19 3D 24    ST      R1, [R_WDG_CLEAR]
+    AF5E:    93 11 3D 23    LD      R1, [R_EXT_MEM_CTRL]
+    AF60:    B3 09 FF F9    AND     R1, R1, #fff9
+    AF62:    A2 44          OR      R1, #4
+    AF63:    D3 19 3D 23    ST      R1, [R_EXT_MEM_CTRL]
+    AF65:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    AF67:    B3 09 7F FF    AND     R1, R1, #7fff
+    AF69:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    AF6B:    93 09 40 06    LD      R1, #4006
+    AF6D:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    AF6F:    92 42          LD      R1, #2
+    AF70:    D3 19 3D 25    ST      R1, [R_ADC_CTRL]
+    AF72:    92 48          LD      R1, #8
+    AF73:    D3 19 3D 00    ST      R1, [R_GPIO_CTRL]
+    AF75:    93 11 3D 0A    LD      R1, [R_IOB_MASK]
+    AF77:    A2 47          OR      R1, #7
+    AF78:    D3 19 3D 0A    ST      R1, [R_IOB_MASK]
+    AF7A:    93 11 3D 08    LD      R1, [R_IOB_DIRECTION]
+    AF7C:    B2 47          AND     R1, #7
+    AF7D:    A2 57          OR      R1, #17
+    AF7E:    D3 19 3D 08    ST      R1, [R_IOB_DIRECTION]
+    AF80:    93 11 3D 09    LD      R1, [R_IOB_ATTR]
+    AF82:    B2 47          AND     R1, #7
+    AF83:    A2 57          OR      R1, #17
+    AF84:    D3 19 3D 09    ST      R1, [R_IOB_ATTR]
+    AF86:    93 11 3D 07    LD      R1, [R_IOB_BUFFER]
+    AF88:    B2 4F          AND     R1, #f
+    AF89:    A3 09 00 FF    OR      R1, R1, #ff
+    AF8B:    D3 19 3D 07    ST      R1, [R_IOB_BUFFER]
+    AF8D:    93 09 88 C0    LD      R1, #88c0
+    AF8F:    D3 19 3D 0E    ST      R1, [R_IOC_ATTR]
+    AF91:    D3 19 3D 0D    ST      R1, [R_IOC_DIRECTION]
+    AF93:    93 09 F7 7F    LD      R1, #f77f
+    AF95:    D3 19 3D 0C    ST      R1, [R_IOC_BUFFER]
+    AF97:    92 40          LD      R1, #0
+    AF98:    D3 19 3D 04    ST      R1, [R_IOA_ATTR]
+    AF9A:    D3 19 3D 03    ST      R1, [R_IOA_DIRECTION]
+    AF9C:    93 09 C0 00    LD      R1, #c000
+    AF9E:    D3 19 3D 02    ST      R1, [R_IOA_BUFFER]
+    AFA0:    91 10 AE 95    LD      SP, [INITIAL_SP]
+    AFA2:    F0 40 AF A9    CALL    CLEAR_3WORDS_AT_27D0
+    AFA4:    F0 41 9B B5    CALL    SPU_BALANCE
+    AFA6:    9F 0F AF 2F    LJMP    clear_bss
+    AFA8:    9A 98          RETI    
 
 ;----------------------------------------------------------------
 ;        Function: CLEAR_3WORDS_AT_27D0
 
 CLEAR_3WORDS_AT_27D0:
-    AFA9:    93 09 27 D2    LD   R1, #27d2
-    AFAB:    94 41          LD   R2, #1
-    AFAC:    D4 C1          ST   R2, [R1]
-    AFAD:    93 09 27 D1    LD   R1, #27d1
-    AFAF:    94 40          LD   R2, #0
-    AFB0:    D4 C1          ST   R2, [R1]
-    AFB1:    93 09 27 D0    LD   R1, #27d0
-    AFB3:    94 41          LD   R2, #1
-    AFB4:    D4 C1          ST   R2, [R1]
-    AFB5:    9A 90          RETF 
+    AFA9:    93 09 27 D2    LD      R1, #27d2
+    AFAB:    94 41          LD      R2, #1
+    AFAC:    D4 C1          ST      R2, [R1]
+    AFAD:    93 09 27 D1    LD      R1, #27d1
+    AFAF:    94 40          LD      R2, #0
+    AFB0:    D4 C1          ST      R2, [R1]
+    AFB1:    93 09 27 D0    LD      R1, #27d0
+    AFB3:    94 41          LD      R2, #1
+    AFB4:    D4 C1          ST      R2, [R1]
+    AFB5:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: INIT_GLOBALS_FROM_MAGIC_AND_POWERBUTTONS
 
 INIT_GLOBALS_FROM_MAGIC_AND_POWERBUTTONS:
-    AFB6:    F0 40 AD DA    CALL getSecuredOffValue
-    AFB8:    83 09 FF FF    XOR  R1, R1, #ffff
-    AFBA:    B2 41          AND  R1, #1
-    AFBB:    95 0A 27 D1    LD   R2, #27d1
-    AFBD:    D2 C2          ST   R1, [R2]
-    AFBE:    93 09 1F FF    LD   R1, #1fff                                ; Spin for a little while...
-    AFC0:    EE 03          JMP  afc4
-    AFC1:    EE 00          JMP  afc2
-    AFC2:    EE 00          JMP  afc3
-    AFC3:    22 41          SUB  R1, #1
-    AFC4:    4E 44          JNZ  afc1
-    AFC5:    93 11 3D 06    LD   R1, [R_IOB_DATA]                         ; Check if ON button is pressed
-    AFC7:    B3 09 00 40    AND  R1, R1, #40
-    AFC9:    43 09 00 40    CMP  R1, R1, #40
-    AFCB:    5E 02          JZ   notOn
-    AFCC:    92 41          LD   R1, #1
-    AFCD:    EE 01          JMP  afcf
+    AFB6:    F0 40 AD DA    CALL    getSecuredOffValue
+    AFB8:    83 09 FF FF    XOR     R1, R1, #ffff
+    AFBA:    B2 41          AND     R1, #1
+    AFBB:    95 0A 27 D1    LD      R2, #27d1
+    AFBD:    D2 C2          ST      R1, [R2]
+    AFBE:    93 09 1F FF    LD      R1, #1fff                             ; Spin for a little while...
+    AFC0:    EE 03          JMP     afc4
+    AFC1:    EE 00          JMP     afc2
+    AFC2:    EE 00          JMP     afc3
+    AFC3:    22 41          SUB     R1, #1
+    AFC4:    4E 44          JNZ     afc1
+    AFC5:    93 11 3D 06    LD      R1, [R_IOB_DATA]                      ; Check if ON button is pressed
+    AFC7:    B3 09 00 40    AND     R1, R1, #40
+    AFC9:    43 09 00 40    CMP     R1, R1, #40
+    AFCB:    5E 02          JZ      notOn
+    AFCC:    92 41          LD      R1, #1
+    AFCD:    EE 01          JMP     afcf
 notOn:
-    AFCE:    92 40          LD   R1, #0
-    AFCF:    D3 19 27 D2    ST   R1, [IsOnPressed]
-    AFD1:    93 09 27 D0    LD   R1, #27d0
-    AFD3:    94 40          LD   R2, #0
-    AFD4:    D4 C1          ST   R2, [R1]
-    AFD5:    92 40          LD   R1, #0                                   ; Clear 16 words at 27e0
-    AFD6:    95 0A 27 E0    LD   R2, #27e0
-    AFD8:    96 50          LD   R3, #10
-    AFD9:    F0 40 AF E2    CALL MEMSET
-    AFDB:    92 40          LD   R1, #0                                   ; Clear 16 words at 27f0 (note this erases the magic)
-    AFDC:    95 0A 27 F0    LD   R2, #27f0
-    AFDE:    96 50          LD   R3, #10
-    AFDF:    F0 40 AF E2    CALL MEMSET
-    AFE1:    9A 90          RETF 
+    AFCE:    92 40          LD      R1, #0
+    AFCF:    D3 19 27 D2    ST      R1, [IsOnPressed]
+    AFD1:    93 09 27 D0    LD      R1, #27d0
+    AFD3:    94 40          LD      R2, #0
+    AFD4:    D4 C1          ST      R2, [R1]
+    AFD5:    92 40          LD      R1, #0                                ; Clear 16 words at 27e0
+    AFD6:    95 0A 27 E0    LD      R2, #27e0
+    AFD8:    96 50          LD      R3, #10
+    AFD9:    F0 40 AF E2    CALL    MEMSET
+    AFDB:    92 40          LD      R1, #0                                ; Clear 16 words at 27f0 (note this erases the magic)
+    AFDC:    95 0A 27 F0    LD      R2, #27f0
+    AFDE:    96 50          LD      R3, #10
+    AFDF:    F0 40 AF E2    CALL    MEMSET
+    AFE1:    9A 90          RETF    
 
 ; Set a section of RAM to a single value:
 ; Inputs:
@@ -4757,17 +4922,17 @@
 ; R3: word count
 ; 
 MEMSET:
-    AFE2:    D6 90          PUSH R2-R3, [SP]
-    AFE3:    EE 02          JMP  afe6
-    AFE4:    D2 D2          ST   R1, [R2++]
-    AFE5:    26 41          SUB  R3, #1
-    AFE6:    46 40          CMP  R3, #0
-    AFE7:    4E 44          JNZ  afe4
-    AFE8:    92 90          POP  R2-R3, [SP]
-    AFE9:    9A 90          RETF 
+    AFE2:    D6 90          PUSH    R2-R3, [SP]
+    AFE3:    EE 02          JMP     afe6
+    AFE4:    D2 D2          ST      R1, [R2++]
+    AFE5:    26 41          SUB     R3, #1
+    AFE6:    46 40          CMP     R3, #0
+    AFE7:    4E 44          JNZ     afe4
+    AFE8:    92 90          POP     R2-R3, [SP]
+    AFE9:    9A 90          RETF    
 
 
-___WDATA_0006:
+___WDATA_0007:
     AFEA:    DW      0008, 0001, 000E, 7FFF, 0005, FFFF, 0006, FFFF
     AFF2:    DW      0007, B2D7, 0008, 0001, 0005, 805B, 0008, 0001
     AFFA:    DW      000C, 0000, 0008, 0001, 0003, B2AB, 0008, 0001
@@ -6546,3870 +6711,3900 @@
     E762:    DW      000B, 0032, 0008, 0001, 0004, B2AF, 0008, 0001
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0006
+;        Function: ___PROC_0025
 
-___PROC_0006:
-    E76A:    DA 88          PUSH BP-BP, [SP]
-    E76B:    0B 08 00 01    ADD  BP, SP, #1
-    E76D:    03 0D 00 03    ADD  R1, BP, #3
-    E76F:    97 01          LD   R3, R1
-    E770:    94 C3          LD   R2, [R3]
-    E771:    D5 1A 09 6B    ST   R2, [096b]
-    E773:    98 88          POP  BP-BP, [SP]
-    E774:    9A 90          RETF 
+___PROC_0025:
+    E76A:    DA 88          PUSH    BP-BP, [SP]
+    E76B:    0B 08 00 01    ADD     BP, SP, #1
+    E76D:    03 0D 00 03    ADD     R1, BP, #3
+    E76F:    97 01          LD      R3, R1
+    E770:    94 C3          LD      R2, [R3]
+    E771:    D5 1A 09 6B    ST      R2, [096b]
+    E773:    98 88          POP     BP-BP, [SP]
+    E774:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0007
+;        Function: ___PROC_0026
 
-___PROC_0007:
-    E775:    DA 88          PUSH BP-BP, [SP]
-    E776:    20 45          SUB  SP, #5
-    E777:    0B 08 00 01    ADD  BP, SP, #1
-    E779:    03 0D 00 08    ADD  R1, BP, #8
-    E77B:    D2 04          ST   R1, [BP+4]
-    E77C:    F0 40 EA F4    CALL ___PROC_0010
-    E77E:    97 05          LD   R3, BP
-    E77F:    09 0D 00 02    ADD  R4, BP, #2
-    E781:    97 04          LD   R3, R4
-    E782:    D2 D3          ST   R1, [R3++]
-    E783:    D4 CB          ST   R2, [R3--]
-    E784:    95 05          LD   R2, BP
-    E785:    03 0D 00 02    ADD  R1, BP, #2
-    E787:    95 05          LD   R2, BP
-    E788:    09 0D 00 02    ADD  R4, BP, #2
-    E78A:    97 04          LD   R3, R4
-    E78B:    05 0C 00 01    ADD  R2, R4, #1
-    E78D:    99 01          LD   R4, R1
-    E78E:    96 C4          LD   R3, [R4]
-    E78F:    93 03          LD   R1, R3
-    E790:    97 02          LD   R3, R2
-    E791:    A2 C3          OR   R1, [R3]
-    E792:    D2 C5          ST   R1, [BP]
-    E793:    92 C5          LD   R1, [BP]
-    E794:    42 40          CMP  R1, #0
-    E795:    4E 02          JNZ  e798
-    E796:    9F 0F E7 A0    LJMP 0000e7a0
-    E798:    F0 41 A1 0F    CALL SHOULD_SHOW_BOOTLOGO
-    E79A:    42 40          CMP  R1, #0
-    E79B:    5E 02          JZ   e79e
-    E79C:    9F 0F E7 FD    LJMP 0000e7fd
-    E79E:    9F 0F E7 A0    LJMP 0000e7a0
-    E7A0:    93 05          LD   R1, BP
-    E7A1:    05 0D 00 01    ADD  R2, BP, #1
-    E7A3:    98 04          LD   R4, [BP+4]
-    E7A4:    92 C4          LD   R1, [R4]
-    E7A5:    97 02          LD   R3, R2
-    E7A6:    D2 C3          ST   R1, [R3]
-    E7A7:    92 40          LD   R1, #0
-    E7A8:    D2 C5          ST   R1, [BP]
-    E7A9:    92 C5          LD   R1, [BP]
-    E7AA:    43 09 02 FF    CMP  R1, R1, #2ff
-    E7AC:    9E 02          JA   e7af
-    E7AD:    9F 0F E7 B1    LJMP 0000e7b1
-    E7AF:    9F 0F E7 C2    LJMP 0000e7c2
-    E7B1:    95 05          LD   R2, BP
-    E7B2:    03 0D 00 01    ADD  R1, BP, #1
-    E7B4:    99 01          LD   R4, R1
-    E7B5:    94 C4          LD   R2, [R4]
-    E7B6:    96 40          LD   R3, #0
-    E7B7:    99 02          LD   R4, R2
-    E7B8:    D6 C4          ST   R3, [R4]
-    E7B9:    04 41          ADD  R2, #1
-    E7BA:    97 01          LD   R3, R1
-    E7BB:    D4 C3          ST   R2, [R3]
-    E7BC:    92 C5          LD   R1, [BP]
-    E7BD:    05 09 00 01    ADD  R2, R1, #1
-    E7BF:    D4 C5          ST   R2, [BP]
-    E7C0:    9F 0F E7 A9    LJMP 0000e7a9
-    E7C2:    95 05          LD   R2, BP
-    E7C3:    03 0D 00 01    ADD  R1, BP, #1
-    E7C5:    94 04          LD   R2, [BP+4]
-    E7C6:    98 04          LD   R4, [BP+4]
-    E7C7:    07 0C 00 01    ADD  R3, R4, #1
-    E7C9:    99 03          LD   R4, R3
-    E7CA:    94 C4          LD   R2, [R4]
-    E7CB:    97 01          LD   R3, R1
-    E7CC:    D4 C3          ST   R2, [R3]
-    E7CD:    92 40          LD   R1, #0
-    E7CE:    D2 C5          ST   R1, [BP]
-    E7CF:    92 C5          LD   R1, [BP]
-    E7D0:    43 09 01 7F    CMP  R1, R1, #17f
-    E7D2:    9E 02          JA   e7d5
-    E7D3:    9F 0F E7 D7    LJMP 0000e7d7
-    E7D5:    9F 0F E7 E8    LJMP 0000e7e8
-    E7D7:    95 05          LD   R2, BP
-    E7D8:    03 0D 00 01    ADD  R1, BP, #1
-    E7DA:    99 01          LD   R4, R1
-    E7DB:    94 C4          LD   R2, [R4]
-    E7DC:    96 40          LD   R3, #0
-    E7DD:    99 02          LD   R4, R2
-    E7DE:    D6 C4          ST   R3, [R4]
-    E7DF:    04 41          ADD  R2, #1
-    E7E0:    97 01          LD   R3, R1
-    E7E1:    D4 C3          ST   R2, [R3]
-    E7E2:    92 C5          LD   R1, [BP]
-    E7E3:    05 09 00 01    ADD  R2, R1, #1
-    E7E5:    D4 C5          ST   R2, [BP]
-    E7E6:    9F 0F E7 CF    LJMP 0000e7cf
-    E7E8:    92 40          LD   R1, #0
-    E7E9:    D3 19 08 8B    ST   R1, [088b]
-    E7EB:    92 04          LD   R1, [BP+4]
-    E7EC:    98 04          LD   R4, [BP+4]
-    E7ED:    05 0C 00 01    ADD  R2, R4, #1
-    E7EF:    97 02          LD   R3, R2
-    E7F0:    92 C3          LD   R1, [R3]
-    E7F1:    D2 C8          ST   R1, [SP--]
-    E7F2:    98 04          LD   R4, [BP+4]
-    E7F3:    92 C4          LD   R1, [R4]
-    E7F4:    D2 C8          ST   R1, [SP--]
-    E7F5:    F0 41 74 72    CALL ___PROC_0031
-    E7F7:    00 42          ADD  SP, #2
-    E7F8:    62 41          NEG  R1, #1
-    E7F9:    D3 19 08 8C    ST   R1, [088c]
-    E7FB:    9F 0F E8 0D    LJMP 0000e80d
-    E7FD:    92 04          LD   R1, [BP+4]
-    E7FE:    92 04          LD   R1, [BP+4]
-    E7FF:    05 09 00 01    ADD  R2, R1, #1
-    E801:    97 02          LD   R3, R2
-    E802:    92 C3          LD   R1, [R3]
-    E803:    D2 C8          ST   R1, [SP--]
-    E804:    98 04          LD   R4, [BP+4]
-    E805:    92 C4          LD   R1, [R4]
-    E806:    D2 C8          ST   R1, [SP--]
-    E807:    F0 40 E8 10    CALL 0000e810
-    E809:    00 42          ADD  SP, #2
-    E80A:    92 40          LD   R1, #0
-    E80B:    D3 19 08 8C    ST   R1, [088c]
-    E80D:    00 45          ADD  SP, #5
-    E80E:    98 88          POP  BP-BP, [SP]
-    E80F:    9A 90          RETF 
-    E810:    DA 88          PUSH BP-BP, [SP]
-    E811:    20 4A          SUB  SP, #a
-    E812:    0B 08 00 01    ADD  BP, SP, #1
-    E814:    03 0D 00 0D    ADD  R1, BP, #d
-    E816:    D2 08          ST   R1, [BP+8]
-    E817:    93 05          LD   R1, BP
-    E818:    05 0D 00 04    ADD  R2, BP, #4
-    E81A:    93 02          LD   R1, R2
-    E81B:    04 41          ADD  R2, #1
-    E81C:    97 05          LD   R3, BP
-    E81D:    07 0D 00 04    ADD  R3, BP, #4
-    E81F:    D6 09          ST   R3, [BP+9]
-    E820:    99 02          LD   R4, R2
-    E821:    96 09          LD   R3, [BP+9]
-    E822:    92 41          LD   R1, #1
-    E823:    D2 C4          ST   R1, [R4]
-    E824:    93 09 96 32    LD   R1, #9632
-    E826:    D2 C3          ST   R1, [R3]
-    E827:    93 05          LD   R1, BP
-    E828:    05 0D 00 06    ADD  R2, BP, #6
-    E82A:    93 02          LD   R1, R2
-    E82B:    04 41          ADD  R2, #1
-    E82C:    97 05          LD   R3, BP
-    E82D:    09 0D 00 06    ADD  R4, BP, #6
-    E82F:    D8 09          ST   R4, [BP+9]
-    E830:    97 02          LD   R3, R2
-    E831:    98 09          LD   R4, [BP+9]
-    E832:    92 41          LD   R1, #1
-    E833:    D2 C3          ST   R1, [R3]
-    E834:    93 09 96 76    LD   R1, #9676
-    E836:    D2 C4          ST   R1, [R4]
-    E837:    F0 40 F9 7C    CALL 0000f97c
-    E839:    D2 C5          ST   R1, [BP]
-    E83A:    92 C5          LD   R1, [BP]
-    E83B:    42 40          CMP  R1, #0
-    E83C:    5E 02          JZ   e83f
-    E83D:    9F 0F E8 BD    LJMP 0000e8bd
-    E83F:    93 05          LD   R1, BP
-    E840:    05 0D 00 01    ADD  R2, BP, #1
-    E842:    93 09 27 20    LD   R1, #2720
-    E844:    97 02          LD   R3, R2
-    E845:    D2 C3          ST   R1, [R3]
-    E846:    95 05          LD   R2, BP
-    E847:    03 0D 00 01    ADD  R1, BP, #1
-    E849:    99 01          LD   R4, R1
-    E84A:    94 C4          LD   R2, [R4]
-    E84B:    98 08          LD   R4, [BP+8]
-    E84C:    96 C4          LD   R3, [R4]
-    E84D:    99 02          LD   R4, R2
-    E84E:    D6 C4          ST   R3, [R4]
-    E84F:    04 41          ADD  R2, #1
-    E850:    97 01          LD   R3, R1
-    E851:    D4 C3          ST   R2, [R3]
-    E852:    95 05          LD   R2, BP
-    E853:    03 0D 00 01    ADD  R1, BP, #1
-    E855:    99 01          LD   R4, R1
-    E856:    94 C4          LD   R2, [R4]
-    E857:    96 08          LD   R3, [BP+8]
-    E858:    96 08          LD   R3, [BP+8]
-    E859:    06 41          ADD  R3, #1
-    E85A:    D6 09          ST   R3, [BP+9]
-    E85B:    98 09          LD   R4, [BP+9]
-    E85C:    96 C4          LD   R3, [R4]
-    E85D:    99 02          LD   R4, R2
-    E85E:    D6 C4          ST   R3, [R4]
-    E85F:    04 41          ADD  R2, #1
-    E860:    97 01          LD   R3, R1
-    E861:    D4 C3          ST   R2, [R3]
-    E862:    95 05          LD   R2, BP
-    E863:    03 0D 00 01    ADD  R1, BP, #1
-    E865:    99 01          LD   R4, R1
-    E866:    94 C4          LD   R2, [R4]
-    E867:    97 0B 08 78    LD   R3, #878
-    E869:    99 02          LD   R4, R2
-    E86A:    D6 C4          ST   R3, [R4]
-    E86B:    04 41          ADD  R2, #1
-    E86C:    97 01          LD   R3, R1
-    E86D:    D4 C3          ST   R2, [R3]
-    E86E:    95 05          LD   R2, BP
-    E86F:    03 0D 00 01    ADD  R1, BP, #1
-    E871:    99 01          LD   R4, R1
-    E872:    94 C4          LD   R2, [R4]
-    E873:    97 05          LD   R3, BP
-    E874:    09 0D 00 04    ADD  R4, BP, #4
-    E876:    97 04          LD   R3, R4
-    E877:    07 0C 00 01    ADD  R3, R4, #1
-    E879:    D6 09          ST   R3, [BP+9]
-    E87A:    98 09          LD   R4, [BP+9]
-    E87B:    96 C4          LD   R3, [R4]
-    E87C:    99 02          LD   R4, R2
-    E87D:    D6 C4          ST   R3, [R4]
-    E87E:    04 41          ADD  R2, #1
-    E87F:    97 01          LD   R3, R1
-    E880:    D4 C3          ST   R2, [R3]
-    E881:    95 05          LD   R2, BP
-    E882:    03 0D 00 01    ADD  R1, BP, #1
-    E884:    99 01          LD   R4, R1
-    E885:    94 C4          LD   R2, [R4]
-    E886:    97 05          LD   R3, BP
-    E887:    07 0D 00 04    ADD  R3, BP, #4
-    E889:    D6 09          ST   R3, [BP+9]
-    E88A:    98 09          LD   R4, [BP+9]
-    E88B:    96 C4          LD   R3, [R4]
-    E88C:    99 02          LD   R4, R2
-    E88D:    D6 C4          ST   R3, [R4]
-    E88E:    04 41          ADD  R2, #1
-    E88F:    97 01          LD   R3, R1
-    E890:    D4 C3          ST   R2, [R3]
-    E891:    95 05          LD   R2, BP
-    E892:    03 0D 00 01    ADD  R1, BP, #1
-    E894:    99 01          LD   R4, R1
-    E895:    94 C4          LD   R2, [R4]
-    E896:    97 05          LD   R3, BP
-    E897:    09 0D 00 06    ADD  R4, BP, #6
-    E899:    97 04          LD   R3, R4
-    E89A:    07 0C 00 01    ADD  R3, R4, #1
-    E89C:    D6 09          ST   R3, [BP+9]
-    E89D:    98 09          LD   R4, [BP+9]
-    E89E:    96 C4          LD   R3, [R4]
-    E89F:    99 02          LD   R4, R2
-    E8A0:    D6 C4          ST   R3, [R4]
-    E8A1:    04 41          ADD  R2, #1
-    E8A2:    97 01          LD   R3, R1
-    E8A3:    D4 C3          ST   R2, [R3]
-    E8A4:    95 05          LD   R2, BP
-    E8A5:    03 0D 00 01    ADD  R1, BP, #1
-    E8A7:    99 01          LD   R4, R1
-    E8A8:    94 C4          LD   R2, [R4]
-    E8A9:    97 05          LD   R3, BP
-    E8AA:    07 0D 00 06    ADD  R3, BP, #6
-    E8AC:    D6 09          ST   R3, [BP+9]
-    E8AD:    98 09          LD   R4, [BP+9]
-    E8AE:    96 C4          LD   R3, [R4]
-    E8AF:    99 02          LD   R4, R2
-    E8B0:    D6 C4          ST   R3, [R4]
-    E8B1:    04 41          ADD  R2, #1
-    E8B2:    97 01          LD   R3, R1
-    E8B3:    D4 C3          ST   R2, [R3]
-    E8B4:    93 05          LD   R1, BP
-    E8B5:    05 0D 00 01    ADD  R2, BP, #1
-    E8B7:    99 02          LD   R4, R2
-    E8B8:    92 C4          LD   R1, [R4]
-    E8B9:    95 12 09 6B    LD   R2, [096b]
-    E8BB:    97 01          LD   R3, R1
-    E8BC:    D4 C3          ST   R2, [R3]
-    E8BD:    F0 40 EA F4    CALL ___PROC_0010
-    E8BF:    97 05          LD   R3, BP
-    E8C0:    09 0D 00 02    ADD  R4, BP, #2
-    E8C2:    97 04          LD   R3, R4
-    E8C3:    D2 D3          ST   R1, [R3++]
-    E8C4:    D4 CB          ST   R2, [R3--]
-    E8C5:    92 48          LD   R1, #8
-    E8C6:    D2 C8          ST   R1, [SP--]
-    E8C7:    93 09 08 8D    LD   R1, #88d
-    E8C9:    D2 C8          ST   R1, [SP--]
-    E8CA:    93 05          LD   R1, BP
-    E8CB:    05 0D 00 02    ADD  R2, BP, #2
-    E8CD:    93 02          LD   R1, R2
-    E8CE:    04 41          ADD  R2, #1
-    E8CF:    99 02          LD   R4, R2
-    E8D0:    92 C4          LD   R1, [R4]
-    E8D1:    D2 C8          ST   R1, [SP--]
-    E8D2:    93 05          LD   R1, BP
-    E8D3:    05 0D 00 02    ADD  R2, BP, #2
-    E8D5:    97 02          LD   R3, R2
-    E8D6:    92 C3          LD   R1, [R3]
-    E8D7:    D2 C8          ST   R1, [SP--]
-    E8D8:    F0 41 79 32    CALL MEMCPY_FROM_FAR
-    E8DA:    00 44          ADD  SP, #4
-    E8DB:    93 11 08 8E    LD   R1, [088e]
-    E8DD:    D2 C8          ST   R1, [SP--]
-    E8DE:    93 11 08 8D    LD   R1, [088d]
-    E8E0:    D2 C8          ST   R1, [SP--]
-    E8E1:    93 11 09 6B    LD   R1, [096b]
-    E8E3:    D2 C8          ST   R1, [SP--]
-    E8E4:    93 05          LD   R1, BP
-    E8E5:    05 0D 00 06    ADD  R2, BP, #6
-    E8E7:    99 02          LD   R4, R2
-    E8E8:    92 C4          LD   R1, [R4]
-    E8E9:    D2 C8          ST   R1, [SP--]
-    E8EA:    93 05          LD   R1, BP
-    E8EB:    05 0D 00 06    ADD  R2, BP, #6
-    E8ED:    93 02          LD   R1, R2
-    E8EE:    04 41          ADD  R2, #1
-    E8EF:    97 02          LD   R3, R2
-    E8F0:    92 C3          LD   R1, [R3]
-    E8F1:    D2 C8          ST   R1, [SP--]
-    E8F2:    93 05          LD   R1, BP
-    E8F3:    05 0D 00 04    ADD  R2, BP, #4
-    E8F5:    99 02          LD   R4, R2
-    E8F6:    92 C4          LD   R1, [R4]
-    E8F7:    D2 C8          ST   R1, [SP--]
-    E8F8:    93 05          LD   R1, BP
-    E8F9:    05 0D 00 04    ADD  R2, BP, #4
-    E8FB:    93 02          LD   R1, R2
-    E8FC:    04 41          ADD  R2, #1
-    E8FD:    97 02          LD   R3, R2
-    E8FE:    92 C3          LD   R1, [R3]
-    E8FF:    D2 C8          ST   R1, [SP--]
-    E900:    93 09 08 78    LD   R1, #878
-    E902:    D2 C8          ST   R1, [SP--]
-    E903:    92 08          LD   R1, [BP+8]
-    E904:    98 08          LD   R4, [BP+8]
-    E905:    05 0C 00 01    ADD  R2, R4, #1
-    E907:    97 02          LD   R3, R2
-    E908:    92 C3          LD   R1, [R3]
-    E909:    D2 C8          ST   R1, [SP--]
-    E90A:    98 08          LD   R4, [BP+8]
-    E90B:    92 C4          LD   R1, [R4]
-    E90C:    D2 C8          ST   R1, [SP--]
-    E90D:    F0 41 A1 89    CALL 0001a189
-    E90F:    00 4A          ADD  SP, #a
-    E910:    00 4A          ADD  SP, #a
-    E911:    98 88          POP  BP-BP, [SP]
-    E912:    9A 90          RETF 
-    E913:    DA 88          PUSH BP-BP, [SP]
-    E914:    20 42          SUB  SP, #2
-    E915:    0B 08 00 01    ADD  BP, SP, #1
-    E917:    03 0D 00 05    ADD  R1, BP, #5
-    E919:    D2 01          ST   R1, [BP+1]
-    E91A:    93 11 08 8C    LD   R1, [088c]
-    E91C:    43 09 FF FF    CMP  R1, R1, #ffff
-    E91E:    5E 02          JZ   e921
-    E91F:    9F 0F E9 3C    LJMP 0000e93c
-    E921:    95 12 08 8B    LD   R2, [088b]
-    E923:    B3 0A 00 01    AND  R1, R2, #1
-    E925:    42 40          CMP  R1, #0
-    E926:    4E 02          JNZ  e929
-    E927:    9F 0F E9 3A    LJMP 0000e93a
-    E929:    93 11 08 7D    LD   R1, [LAYERA_ATTRS_PTR]
-    E92B:    05 09 00 10    ADD  R2, R1, #10
-    E92D:    D4 C5          ST   R2, [BP]
-    E92E:    92 C5          LD   R1, [BP]
-    E92F:    D2 C8          ST   R1, [SP--]
-    E930:    92 40          LD   R1, #0
-    E931:    D2 C8          ST   R1, [SP--]
-    E932:    F0 41 A1 85    CALL 0001a185
-    E934:    00 42          ADD  SP, #2
-    E935:    F0 41 73 1F    CALL ramCode_reset
-    E937:    92 40          LD   R1, #0
-    E938:    D3 19 08 8B    ST   R1, [088b]
-    E93A:    9F 0F E9 48    LJMP 0000e948
-    E93C:    93 11 08 92    LD   R1, [0892]
-    E93E:    D2 C8          ST   R1, [SP--]
-    E93F:    93 11 08 91    LD   R1, [0891]
-    E941:    D2 C8          ST   R1, [SP--]
-    E942:    93 09 08 78    LD   R1, #878
-    E944:    D2 C8          ST   R1, [SP--]
-    E945:    F0 41 A1 91    CALL 0001a191
-    E947:    00 43          ADD  SP, #3
-    E948:    00 42          ADD  SP, #2
-    E949:    98 88          POP  BP-BP, [SP]
-    E94A:    9A 90          RETF 
+___PROC_0026:
+    E775:    DA 88          PUSH    BP-BP, [SP]
+    E776:    20 45          SUB     SP, #5
+    E777:    0B 08 00 01    ADD     BP, SP, #1
+    E779:    03 0D 00 08    ADD     R1, BP, #8
+    E77B:    D2 04          ST      R1, [BP+4]
+    E77C:    F0 40 EA F4    CALL    ___PROC_0032
+    E77E:    97 05          LD      R3, BP
+    E77F:    09 0D 00 02    ADD     R4, BP, #2
+    E781:    97 04          LD      R3, R4
+    E782:    D2 D3          ST      R1, [R3++]
+    E783:    D4 CB          ST      R2, [R3--]
+    E784:    95 05          LD      R2, BP
+    E785:    03 0D 00 02    ADD     R1, BP, #2
+    E787:    95 05          LD      R2, BP
+    E788:    09 0D 00 02    ADD     R4, BP, #2
+    E78A:    97 04          LD      R3, R4
+    E78B:    05 0C 00 01    ADD     R2, R4, #1
+    E78D:    99 01          LD      R4, R1
+    E78E:    96 C4          LD      R3, [R4]
+    E78F:    93 03          LD      R1, R3
+    E790:    97 02          LD      R3, R2
+    E791:    A2 C3          OR      R1, [R3]
+    E792:    D2 C5          ST      R1, [BP]
+    E793:    92 C5          LD      R1, [BP]
+    E794:    42 40          CMP     R1, #0
+    E795:    4E 02          JNZ     e798
+    E796:    9F 0F E7 A0    LJMP    0000e7a0
+    E798:    F0 41 A1 0F    CALL    SHOULD_SHOW_BOOTLOGO
+    E79A:    42 40          CMP     R1, #0
+    E79B:    5E 02          JZ      e79e
+    E79C:    9F 0F E7 FD    LJMP    0000e7fd
+    E79E:    9F 0F E7 A0    LJMP    0000e7a0
+    E7A0:    93 05          LD      R1, BP
+    E7A1:    05 0D 00 01    ADD     R2, BP, #1
+    E7A3:    98 04          LD      R4, [BP+4]
+    E7A4:    92 C4          LD      R1, [R4]
+    E7A5:    97 02          LD      R3, R2
+    E7A6:    D2 C3          ST      R1, [R3]
+    E7A7:    92 40          LD      R1, #0
+    E7A8:    D2 C5          ST      R1, [BP]
+    E7A9:    92 C5          LD      R1, [BP]
+    E7AA:    43 09 02 FF    CMP     R1, R1, #2ff
+    E7AC:    9E 02          JA      e7af
+    E7AD:    9F 0F E7 B1    LJMP    0000e7b1
+    E7AF:    9F 0F E7 C2    LJMP    0000e7c2
+    E7B1:    95 05          LD      R2, BP
+    E7B2:    03 0D 00 01    ADD     R1, BP, #1
+    E7B4:    99 01          LD      R4, R1
+    E7B5:    94 C4          LD      R2, [R4]
+    E7B6:    96 40          LD      R3, #0
+    E7B7:    99 02          LD      R4, R2
+    E7B8:    D6 C4          ST      R3, [R4]
+    E7B9:    04 41          ADD     R2, #1
+    E7BA:    97 01          LD      R3, R1
+    E7BB:    D4 C3          ST      R2, [R3]
+    E7BC:    92 C5          LD      R1, [BP]
+    E7BD:    05 09 00 01    ADD     R2, R1, #1
+    E7BF:    D4 C5          ST      R2, [BP]
+    E7C0:    9F 0F E7 A9    LJMP    0000e7a9
+    E7C2:    95 05          LD      R2, BP
+    E7C3:    03 0D 00 01    ADD     R1, BP, #1
+    E7C5:    94 04          LD      R2, [BP+4]
+    E7C6:    98 04          LD      R4, [BP+4]
+    E7C7:    07 0C 00 01    ADD     R3, R4, #1
+    E7C9:    99 03          LD      R4, R3
+    E7CA:    94 C4          LD      R2, [R4]
+    E7CB:    97 01          LD      R3, R1
+    E7CC:    D4 C3          ST      R2, [R3]
+    E7CD:    92 40          LD      R1, #0
+    E7CE:    D2 C5          ST      R1, [BP]
+    E7CF:    92 C5          LD      R1, [BP]
+    E7D0:    43 09 01 7F    CMP     R1, R1, #17f
+    E7D2:    9E 02          JA      e7d5
+    E7D3:    9F 0F E7 D7    LJMP    0000e7d7
+    E7D5:    9F 0F E7 E8    LJMP    0000e7e8
+    E7D7:    95 05          LD      R2, BP
+    E7D8:    03 0D 00 01    ADD     R1, BP, #1
+    E7DA:    99 01          LD      R4, R1
+    E7DB:    94 C4          LD      R2, [R4]
+    E7DC:    96 40          LD      R3, #0
+    E7DD:    99 02          LD      R4, R2
+    E7DE:    D6 C4          ST      R3, [R4]
+    E7DF:    04 41          ADD     R2, #1
+    E7E0:    97 01          LD      R3, R1
+    E7E1:    D4 C3          ST      R2, [R3]
+    E7E2:    92 C5          LD      R1, [BP]
+    E7E3:    05 09 00 01    ADD     R2, R1, #1
+    E7E5:    D4 C5          ST      R2, [BP]
+    E7E6:    9F 0F E7 CF    LJMP    0000e7cf
+    E7E8:    92 40          LD      R1, #0
+    E7E9:    D3 19 08 8B    ST      R1, [088b]
+    E7EB:    92 04          LD      R1, [BP+4]
+    E7EC:    98 04          LD      R4, [BP+4]
+    E7ED:    05 0C 00 01    ADD     R2, R4, #1
+    E7EF:    97 02          LD      R3, R2
+    E7F0:    92 C3          LD      R1, [R3]
+    E7F1:    D2 C8          ST      R1, [SP--]
+    E7F2:    98 04          LD      R4, [BP+4]
+    E7F3:    92 C4          LD      R1, [R4]
+    E7F4:    D2 C8          ST      R1, [SP--]
+    E7F5:    F0 41 74 72    CALL    ___PROC_0057
+    E7F7:    00 42          ADD     SP, #2
+    E7F8:    62 41          NEG     R1, #1
+    E7F9:    D3 19 08 8C    ST      R1, [088c]
+    E7FB:    9F 0F E8 0D    LJMP    0000e80d
+    E7FD:    92 04          LD      R1, [BP+4]
+    E7FE:    92 04          LD      R1, [BP+4]
+    E7FF:    05 09 00 01    ADD     R2, R1, #1
+    E801:    97 02          LD      R3, R2
+    E802:    92 C3          LD      R1, [R3]
+    E803:    D2 C8          ST      R1, [SP--]
+    E804:    98 04          LD      R4, [BP+4]
+    E805:    92 C4          LD      R1, [R4]
+    E806:    D2 C8          ST      R1, [SP--]
+    E807:    F0 40 E8 10    CALL    0000e810
+    E809:    00 42          ADD     SP, #2
+    E80A:    92 40          LD      R1, #0
+    E80B:    D3 19 08 8C    ST      R1, [088c]
+    E80D:    00 45          ADD     SP, #5
+    E80E:    98 88          POP     BP-BP, [SP]
+    E80F:    9A 90          RETF    
+    E810:    DA 88          PUSH    BP-BP, [SP]
+    E811:    20 4A          SUB     SP, #a
+    E812:    0B 08 00 01    ADD     BP, SP, #1
+    E814:    03 0D 00 0D    ADD     R1, BP, #d
+    E816:    D2 08          ST      R1, [BP+8]
+    E817:    93 05          LD      R1, BP
+    E818:    05 0D 00 04    ADD     R2, BP, #4
+    E81A:    93 02          LD      R1, R2
+    E81B:    04 41          ADD     R2, #1
+    E81C:    97 05          LD      R3, BP
+    E81D:    07 0D 00 04    ADD     R3, BP, #4
+    E81F:    D6 09          ST      R3, [BP+9]
+    E820:    99 02          LD      R4, R2
+    E821:    96 09          LD      R3, [BP+9]
+    E822:    92 41          LD      R1, #1
+    E823:    D2 C4          ST      R1, [R4]
+    E824:    93 09 96 32    LD      R1, #9632
+    E826:    D2 C3          ST      R1, [R3]
+    E827:    93 05          LD      R1, BP
+    E828:    05 0D 00 06    ADD     R2, BP, #6
+    E82A:    93 02          LD      R1, R2
+    E82B:    04 41          ADD     R2, #1
+    E82C:    97 05          LD      R3, BP
+    E82D:    09 0D 00 06    ADD     R4, BP, #6
+    E82F:    D8 09          ST      R4, [BP+9]
+    E830:    97 02          LD      R3, R2
+    E831:    98 09          LD      R4, [BP+9]
+    E832:    92 41          LD      R1, #1
+    E833:    D2 C3          ST      R1, [R3]
+    E834:    93 09 96 76    LD      R1, #9676
+    E836:    D2 C4          ST      R1, [R4]
+    E837:    F0 40 F9 7C    CALL    ___PROC_0038
+    E839:    D2 C5          ST      R1, [BP]
+    E83A:    92 C5          LD      R1, [BP]
+    E83B:    42 40          CMP     R1, #0
+    E83C:    5E 02          JZ      e83f
+    E83D:    9F 0F E8 BD    LJMP    0000e8bd
+    E83F:    93 05          LD      R1, BP
+    E840:    05 0D 00 01    ADD     R2, BP, #1
+    E842:    93 09 27 20    LD      R1, #2720
+    E844:    97 02          LD      R3, R2
+    E845:    D2 C3          ST      R1, [R3]
+    E846:    95 05          LD      R2, BP
+    E847:    03 0D 00 01    ADD     R1, BP, #1
+    E849:    99 01          LD      R4, R1
+    E84A:    94 C4          LD      R2, [R4]
+    E84B:    98 08          LD      R4, [BP+8]
+    E84C:    96 C4          LD      R3, [R4]
+    E84D:    99 02          LD      R4, R2
+    E84E:    D6 C4          ST      R3, [R4]
+    E84F:    04 41          ADD     R2, #1
+    E850:    97 01          LD      R3, R1
+    E851:    D4 C3          ST      R2, [R3]
+    E852:    95 05          LD      R2, BP
+    E853:    03 0D 00 01    ADD     R1, BP, #1
+    E855:    99 01          LD      R4, R1
+    E856:    94 C4          LD      R2, [R4]
+    E857:    96 08          LD      R3, [BP+8]
+    E858:    96 08          LD      R3, [BP+8]
+    E859:    06 41          ADD     R3, #1
+    E85A:    D6 09          ST      R3, [BP+9]
+    E85B:    98 09          LD      R4, [BP+9]
+    E85C:    96 C4          LD      R3, [R4]
+    E85D:    99 02          LD      R4, R2
+    E85E:    D6 C4          ST      R3, [R4]
+    E85F:    04 41          ADD     R2, #1
+    E860:    97 01          LD      R3, R1
+    E861:    D4 C3          ST      R2, [R3]
+    E862:    95 05          LD      R2, BP
+    E863:    03 0D 00 01    ADD     R1, BP, #1
+    E865:    99 01          LD      R4, R1
+    E866:    94 C4          LD      R2, [R4]
+    E867:    97 0B 08 78    LD      R3, #878
+    E869:    99 02          LD      R4, R2
+    E86A:    D6 C4          ST      R3, [R4]
+    E86B:    04 41          ADD     R2, #1
+    E86C:    97 01          LD      R3, R1
+    E86D:    D4 C3          ST      R2, [R3]
+    E86E:    95 05          LD      R2, BP
+    E86F:    03 0D 00 01    ADD     R1, BP, #1
+    E871:    99 01          LD      R4, R1
+    E872:    94 C4          LD      R2, [R4]
+    E873:    97 05          LD      R3, BP
+    E874:    09 0D 00 04    ADD     R4, BP, #4
+    E876:    97 04          LD      R3, R4
+    E877:    07 0C 00 01    ADD     R3, R4, #1
+    E879:    D6 09          ST      R3, [BP+9]
+    E87A:    98 09          LD      R4, [BP+9]
+    E87B:    96 C4          LD      R3, [R4]
+    E87C:    99 02          LD      R4, R2
+    E87D:    D6 C4          ST      R3, [R4]
+    E87E:    04 41          ADD     R2, #1
+    E87F:    97 01          LD      R3, R1
+    E880:    D4 C3          ST      R2, [R3]
+    E881:    95 05          LD      R2, BP
+    E882:    03 0D 00 01    ADD     R1, BP, #1
+    E884:    99 01          LD      R4, R1
+    E885:    94 C4          LD      R2, [R4]
+    E886:    97 05          LD      R3, BP
+    E887:    07 0D 00 04    ADD     R3, BP, #4
+    E889:    D6 09          ST      R3, [BP+9]
+    E88A:    98 09          LD      R4, [BP+9]
+    E88B:    96 C4          LD      R3, [R4]
+    E88C:    99 02          LD      R4, R2
+    E88D:    D6 C4          ST      R3, [R4]
+    E88E:    04 41          ADD     R2, #1
+    E88F:    97 01          LD      R3, R1
+    E890:    D4 C3          ST      R2, [R3]
+    E891:    95 05          LD      R2, BP
+    E892:    03 0D 00 01    ADD     R1, BP, #1
+    E894:    99 01          LD      R4, R1
+    E895:    94 C4          LD      R2, [R4]
+    E896:    97 05          LD      R3, BP
+    E897:    09 0D 00 06    ADD     R4, BP, #6
+    E899:    97 04          LD      R3, R4
+    E89A:    07 0C 00 01    ADD     R3, R4, #1
+    E89C:    D6 09          ST      R3, [BP+9]
+    E89D:    98 09          LD      R4, [BP+9]
+    E89E:    96 C4          LD      R3, [R4]
+    E89F:    99 02          LD      R4, R2
+    E8A0:    D6 C4          ST      R3, [R4]
+    E8A1:    04 41          ADD     R2, #1
+    E8A2:    97 01          LD      R3, R1
+    E8A3:    D4 C3          ST      R2, [R3]
+    E8A4:    95 05          LD      R2, BP
+    E8A5:    03 0D 00 01    ADD     R1, BP, #1
+    E8A7:    99 01          LD      R4, R1
+    E8A8:    94 C4          LD      R2, [R4]
+    E8A9:    97 05          LD      R3, BP
+    E8AA:    07 0D 00 06    ADD     R3, BP, #6
+    E8AC:    D6 09          ST      R3, [BP+9]
+    E8AD:    98 09          LD      R4, [BP+9]
+    E8AE:    96 C4          LD      R3, [R4]
+    E8AF:    99 02          LD      R4, R2
+    E8B0:    D6 C4          ST      R3, [R4]
+    E8B1:    04 41          ADD     R2, #1
+    E8B2:    97 01          LD      R3, R1
+    E8B3:    D4 C3          ST      R2, [R3]
+    E8B4:    93 05          LD      R1, BP
+    E8B5:    05 0D 00 01    ADD     R2, BP, #1
+    E8B7:    99 02          LD      R4, R2
+    E8B8:    92 C4          LD      R1, [R4]
+    E8B9:    95 12 09 6B    LD      R2, [096b]
+    E8BB:    97 01          LD      R3, R1
+    E8BC:    D4 C3          ST      R2, [R3]
+    E8BD:    F0 40 EA F4    CALL    ___PROC_0032
+    E8BF:    97 05          LD      R3, BP
+    E8C0:    09 0D 00 02    ADD     R4, BP, #2
+    E8C2:    97 04          LD      R3, R4
+    E8C3:    D2 D3          ST      R1, [R3++]
+    E8C4:    D4 CB          ST      R2, [R3--]
+    E8C5:    92 48          LD      R1, #8
+    E8C6:    D2 C8          ST      R1, [SP--]
+    E8C7:    93 09 08 8D    LD      R1, #88d
+    E8C9:    D2 C8          ST      R1, [SP--]
+    E8CA:    93 05          LD      R1, BP
+    E8CB:    05 0D 00 02    ADD     R2, BP, #2
+    E8CD:    93 02          LD      R1, R2
+    E8CE:    04 41          ADD     R2, #1
+    E8CF:    99 02          LD      R4, R2
+    E8D0:    92 C4          LD      R1, [R4]
+    E8D1:    D2 C8          ST      R1, [SP--]
+    E8D2:    93 05          LD      R1, BP
+    E8D3:    05 0D 00 02    ADD     R2, BP, #2
+    E8D5:    97 02          LD      R3, R2
+    E8D6:    92 C3          LD      R1, [R3]
+    E8D7:    D2 C8          ST      R1, [SP--]
+    E8D8:    F0 41 79 32    CALL    MEMCPY_FROM_FAR
+    E8DA:    00 44          ADD     SP, #4
+    E8DB:    93 11 08 8E    LD      R1, [088e]
+    E8DD:    D2 C8          ST      R1, [SP--]
+    E8DE:    93 11 08 8D    LD      R1, [088d]
+    E8E0:    D2 C8          ST      R1, [SP--]
+    E8E1:    93 11 09 6B    LD      R1, [096b]
+    E8E3:    D2 C8          ST      R1, [SP--]
+    E8E4:    93 05          LD      R1, BP
+    E8E5:    05 0D 00 06    ADD     R2, BP, #6
+    E8E7:    99 02          LD      R4, R2
+    E8E8:    92 C4          LD      R1, [R4]
+    E8E9:    D2 C8          ST      R1, [SP--]
+    E8EA:    93 05          LD      R1, BP
+    E8EB:    05 0D 00 06    ADD     R2, BP, #6
+    E8ED:    93 02          LD      R1, R2
+    E8EE:    04 41          ADD     R2, #1
+    E8EF:    97 02          LD      R3, R2
+    E8F0:    92 C3          LD      R1, [R3]
+    E8F1:    D2 C8          ST      R1, [SP--]
+    E8F2:    93 05          LD      R1, BP
+    E8F3:    05 0D 00 04    ADD     R2, BP, #4
+    E8F5:    99 02          LD      R4, R2
+    E8F6:    92 C4          LD      R1, [R4]
+    E8F7:    D2 C8          ST      R1, [SP--]
+    E8F8:    93 05          LD      R1, BP
+    E8F9:    05 0D 00 04    ADD     R2, BP, #4
+    E8FB:    93 02          LD      R1, R2
+    E8FC:    04 41          ADD     R2, #1
+    E8FD:    97 02          LD      R3, R2
+    E8FE:    92 C3          LD      R1, [R3]
+    E8FF:    D2 C8          ST      R1, [SP--]
+    E900:    93 09 08 78    LD      R1, #878
+    E902:    D2 C8          ST      R1, [SP--]
+    E903:    92 08          LD      R1, [BP+8]
+    E904:    98 08          LD      R4, [BP+8]
+    E905:    05 0C 00 01    ADD     R2, R4, #1
+    E907:    97 02          LD      R3, R2
+    E908:    92 C3          LD      R1, [R3]
+    E909:    D2 C8          ST      R1, [SP--]
+    E90A:    98 08          LD      R4, [BP+8]
+    E90B:    92 C4          LD      R1, [R4]
+    E90C:    D2 C8          ST      R1, [SP--]
+    E90D:    F0 41 A1 89    CALL    0001a189
+    E90F:    00 4A          ADD     SP, #a
+    E910:    00 4A          ADD     SP, #a
+    E911:    98 88          POP     BP-BP, [SP]
+    E912:    9A 90          RETF    
+    E913:    DA 88          PUSH    BP-BP, [SP]
+    E914:    20 42          SUB     SP, #2
+    E915:    0B 08 00 01    ADD     BP, SP, #1
+    E917:    03 0D 00 05    ADD     R1, BP, #5
+    E919:    D2 01          ST      R1, [BP+1]
+    E91A:    93 11 08 8C    LD      R1, [088c]
+    E91C:    43 09 FF FF    CMP     R1, R1, #ffff
+    E91E:    5E 02          JZ      e921
+    E91F:    9F 0F E9 3C    LJMP    0000e93c
+    E921:    95 12 08 8B    LD      R2, [088b]
+    E923:    B3 0A 00 01    AND     R1, R2, #1
+    E925:    42 40          CMP     R1, #0
+    E926:    4E 02          JNZ     e929
+    E927:    9F 0F E9 3A    LJMP    0000e93a
+    E929:    93 11 08 7D    LD      R1, [LAYERA_ATTRS_PTR]
+    E92B:    05 09 00 10    ADD     R2, R1, #10
+    E92D:    D4 C5          ST      R2, [BP]
+    E92E:    92 C5          LD      R1, [BP]
+    E92F:    D2 C8          ST      R1, [SP--]
+    E930:    92 40          LD      R1, #0
+    E931:    D2 C8          ST      R1, [SP--]
+    E932:    F0 41 A1 85    CALL    0001a185
+    E934:    00 42          ADD     SP, #2
+    E935:    F0 41 73 1F    CALL    ramCode_reset
+    E937:    92 40          LD      R1, #0
+    E938:    D3 19 08 8B    ST      R1, [088b]
+    E93A:    9F 0F E9 48    LJMP    0000e948
+    E93C:    93 11 08 92    LD      R1, [0892]
+    E93E:    D2 C8          ST      R1, [SP--]
+    E93F:    93 11 08 91    LD      R1, [0891]
+    E941:    D2 C8          ST      R1, [SP--]
+    E942:    93 09 08 78    LD      R1, #878
+    E944:    D2 C8          ST      R1, [SP--]
+    E945:    F0 41 A1 91    CALL    0001a191
+    E947:    00 43          ADD     SP, #3
+    E948:    00 42          ADD     SP, #2
+    E949:    98 88          POP     BP-BP, [SP]
+    E94A:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: OR_088B_1
 
 OR_088B_1:
-    E94B:    DA 88          PUSH BP-BP, [SP]
-    E94C:    0B 08 00 01    ADD  BP, SP, #1
-    E94E:    03 0D 00 03    ADD  R1, BP, #3
-    E950:    95 12 08 8B    LD   R2, [088b]
-    E952:    96 41          LD   R3, #1
-    E953:    A7 1A 08 8B    OR   R3, [088b]
-    E955:    98 88          POP  BP-BP, [SP]
-    E956:    9A 90          RETF 
+    E94B:    DA 88          PUSH    BP-BP, [SP]
+    E94C:    0B 08 00 01    ADD     BP, SP, #1
+    E94E:    03 0D 00 03    ADD     R1, BP, #3
+    E950:    95 12 08 8B    LD      R2, [088b]
+    E952:    96 41          LD      R3, #1
+    E953:    A7 1A 08 8B    OR      R3, [088b]
+    E955:    98 88          POP     BP-BP, [SP]
+    E956:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: AND_08BB_NOT2
 
 AND_08BB_NOT2:
-    E957:    DA 88          PUSH BP-BP, [SP]
-    E958:    0B 08 00 01    ADD  BP, SP, #1
-    E95A:    03 0D 00 03    ADD  R1, BP, #3
-    E95C:    95 12 08 8B    LD   R2, [088b]
-    E95E:    66 42          NEG  R3, #2
-    E95F:    B7 1A 08 8B    AND  R3, [088b]
-    E961:    98 88          POP  BP-BP, [SP]
-    E962:    9A 90          RETF 
+    E957:    DA 88          PUSH    BP-BP, [SP]
+    E958:    0B 08 00 01    ADD     BP, SP, #1
+    E95A:    03 0D 00 03    ADD     R1, BP, #3
+    E95C:    95 12 08 8B    LD      R2, [088b]
+    E95E:    66 42          NEG     R3, #2
+    E95F:    B7 1A 08 8B    AND     R3, [088b]
+    E961:    98 88          POP     BP-BP, [SP]
+    E962:    9A 90          RETF    
 
 ;----------------------------------------------------------------
 ;        Function: WAIT_UNTIL_08BB_EQUAL_0
 
 WAIT_UNTIL_08BB_EQUAL_0:
-    E963:    DA 88          PUSH BP-BP, [SP]
-    E964:    0B 08 00 01    ADD  BP, SP, #1
-    E966:    03 0D 00 03    ADD  R1, BP, #3
-    E968:    93 11 08 8B    LD   R1, [088b]
-    E96A:    42 40          CMP  R1, #0
-    E96B:    4E 44          JNZ  e968
-    E96C:    98 88          POP  BP-BP, [SP]
-    E96D:    9A 90          RETF 
+    E963:    DA 88          PUSH    BP-BP, [SP]
+    E964:    0B 08 00 01    ADD     BP, SP, #1
+    E966:    03 0D 00 03    ADD     R1, BP, #3
+    E968:    93 11 08 8B    LD      R1, [088b]
+    E96A:    42 40          CMP     R1, #0
+    E96B:    4E 44          JNZ     e968
+    E96C:    98 88          POP     BP-BP, [SP]
+    E96D:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0008
+;        Function: ___PROC_0027
 
-___PROC_0008:
-    E96E:    DA 88          PUSH BP-BP, [SP]
-    E96F:    20 41          SUB  SP, #1
-    E970:    0B 08 00 01    ADD  BP, SP, #1
-    E972:    03 0D 00 04    ADD  R1, BP, #4
-    E974:    D2 C5          ST   R1, [BP]
-    E975:    93 11 08 8C    LD   R1, [088c]
-    E977:    42 40          CMP  R1, #0
-    E978:    5E 02          JZ   e97b
-    E979:    9F 0F E9 87    LJMP 0000e987
-    E97B:    93 11 08 94    LD   R1, [0894]
-    E97D:    D2 C8          ST   R1, [SP--]
-    E97E:    93 11 08 93    LD   R1, [0893]
-    E980:    D2 C8          ST   R1, [SP--]
-    E981:    93 09 08 78    LD   R1, #878
-    E983:    D2 C8          ST   R1, [SP--]
-    E984:    F0 41 A1 91    CALL 0001a191
-    E986:    00 43          ADD  SP, #3
-    E987:    00 41          ADD  SP, #1
-    E988:    98 88          POP  BP-BP, [SP]
-    E989:    9A 90          RETF 
+___PROC_0027:
+    E96E:    DA 88          PUSH    BP-BP, [SP]
+    E96F:    20 41          SUB     SP, #1
+    E970:    0B 08 00 01    ADD     BP, SP, #1
+    E972:    03 0D 00 04    ADD     R1, BP, #4
+    E974:    D2 C5          ST      R1, [BP]
+    E975:    93 11 08 8C    LD      R1, [088c]
+    E977:    42 40          CMP     R1, #0
+    E978:    5E 02          JZ      e97b
+    E979:    9F 0F E9 87    LJMP    0000e987
+    E97B:    93 11 08 94    LD      R1, [0894]
+    E97D:    D2 C8          ST      R1, [SP--]
+    E97E:    93 11 08 93    LD      R1, [0893]
+    E980:    D2 C8          ST      R1, [SP--]
+    E981:    93 09 08 78    LD      R1, #878
+    E983:    D2 C8          ST      R1, [SP--]
+    E984:    F0 41 A1 91    CALL    0001a191
+    E986:    00 43          ADD     SP, #3
+    E987:    00 41          ADD     SP, #1
+    E988:    98 88          POP     BP-BP, [SP]
+    E989:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0009
+;        Function: ___PROC_0028
 
-___PROC_0009:
-    E98A:    DA 88          PUSH BP-BP, [SP]
-    E98B:    20 45          SUB  SP, #5
-    E98C:    0B 08 00 01    ADD  BP, SP, #1
-    E98E:    03 0D 00 08    ADD  R1, BP, #8
-    E990:    D2 04          ST   R1, [BP+4]
-    E991:    92 7F          LD   R1, #3f
-    E992:    D2 C8          ST   R1, [SP--]
-    E993:    62 66          NEG  R1, #26
-    E994:    D2 C8          ST   R1, [SP--]
-    E995:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    E997:    00 42          ADD  SP, #2
-    E998:    95 05          LD   R2, BP
-    E999:    07 0D 00 02    ADD  R3, BP, #2
-    E99B:    95 03          LD   R2, R3
-    E99C:    D2 C2          ST   R1, [R2]
-    E99D:    92 7F          LD   R1, #3f
-    E99E:    D2 C8          ST   R1, [SP--]
-    E99F:    62 65          NEG  R1, #25
-    E9A0:    D2 C8          ST   R1, [SP--]
-    E9A1:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    E9A3:    00 42          ADD  SP, #2
-    E9A4:    95 05          LD   R2, BP
-    E9A5:    07 0D 00 02    ADD  R3, BP, #2
-    E9A7:    95 03          LD   R2, R3
-    E9A8:    06 41          ADD  R3, #1
-    E9A9:    99 03          LD   R4, R3
-    E9AA:    D2 C4          ST   R1, [R4]
-    E9AB:    93 05          LD   R1, BP
-    E9AC:    05 0D 00 02    ADD  R2, BP, #2
-    E9AE:    93 02          LD   R1, R2
-    E9AF:    04 41          ADD  R2, #1
-    E9B0:    97 02          LD   R3, R2
-    E9B1:    92 C3          LD   R1, [R3]
-    E9B2:    D2 C8          ST   R1, [SP--]
-    E9B3:    93 05          LD   R1, BP
-    E9B4:    05 0D 00 02    ADD  R2, BP, #2
-    E9B6:    99 02          LD   R4, R2
-    E9B7:    92 C4          LD   R1, [R4]
-    E9B8:    D2 C8          ST   R1, [SP--]
-    E9B9:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    E9BB:    00 42          ADD  SP, #2
-    E9BC:    D2 C5          ST   R1, [BP]
-    E9BD:    92 C5          LD   R1, [BP]
-    E9BE:    43 09 00 54    CMP  R1, R1, #54
-    E9C0:    4E 02          JNZ  e9c3
-    E9C1:    9F 0F E9 C6    LJMP 0000e9c6
-    E9C3:    62 41          NEG  R1, #1
-    E9C4:    9F 0F EA F1    LJMP 0000eaf1
-    E9C6:    93 05          LD   R1, BP
-    E9C7:    05 0D 00 02    ADD  R2, BP, #2
-    E9C9:    97 05          LD   R3, BP
-    E9CA:    03 0D 00 02    ADD  R1, BP, #2
-    E9CC:    95 05          LD   R2, BP
-    E9CD:    07 0D 00 02    ADD  R3, BP, #2
-    E9CF:    99 03          LD   R4, R3
-    E9D0:    94 C4          LD   R2, [R4]
-    E9D1:    07 0A 00 01    ADD  R3, R2, #1
-    E9D3:    95 01          LD   R2, R1
-    E9D4:    D6 C2          ST   R3, [R2]
-    E9D5:    93 05          LD   R1, BP
-    E9D6:    05 0D 00 02    ADD  R2, BP, #2
-    E9D8:    93 02          LD   R1, R2
-    E9D9:    04 41          ADD  R2, #1
-    E9DA:    97 02          LD   R3, R2
-    E9DB:    92 C3          LD   R1, [R3]
-    E9DC:    D2 C8          ST   R1, [SP--]
-    E9DD:    93 05          LD   R1, BP
-    E9DE:    05 0D 00 02    ADD  R2, BP, #2
-    E9E0:    99 02          LD   R4, R2
-    E9E1:    92 C4          LD   R1, [R4]
-    E9E2:    D2 C8          ST   R1, [SP--]
-    E9E3:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    E9E5:    00 42          ADD  SP, #2
-    E9E6:    D2 C5          ST   R1, [BP]
-    E9E7:    92 C5          LD   R1, [BP]
-    E9E8:    43 09 00 56    CMP  R1, R1, #56
-    E9EA:    4E 02          JNZ  e9ed
-    E9EB:    9F 0F E9 F0    LJMP 0000e9f0
-    E9ED:    62 41          NEG  R1, #1
-    E9EE:    9F 0F EA F1    LJMP 0000eaf1
-    E9F0:    93 05          LD   R1, BP
-    E9F1:    05 0D 00 02    ADD  R2, BP, #2
-    E9F3:    97 05          LD   R3, BP
-    E9F4:    03 0D 00 02    ADD  R1, BP, #2
-    E9F6:    95 05          LD   R2, BP
-    E9F7:    07 0D 00 02    ADD  R3, BP, #2
-    E9F9:    99 03          LD   R4, R3
-    E9FA:    94 C4          LD   R2, [R4]
-    E9FB:    07 0A 00 01    ADD  R3, R2, #1
-    E9FD:    95 01          LD   R2, R1
-    E9FE:    D6 C2          ST   R3, [R2]
-    E9FF:    93 05          LD   R1, BP
-    EA00:    05 0D 00 02    ADD  R2, BP, #2
-    EA02:    93 02          LD   R1, R2
-    EA03:    04 41          ADD  R2, #1
-    EA04:    97 02          LD   R3, R2
-    EA05:    92 C3          LD   R1, [R3]
-    EA06:    D2 C8          ST   R1, [SP--]
-    EA07:    93 05          LD   R1, BP
-    EA08:    05 0D 00 02    ADD  R2, BP, #2
-    EA0A:    99 02          LD   R4, R2
-    EA0B:    92 C4          LD   R1, [R4]
-    EA0C:    D2 C8          ST   R1, [SP--]
-    EA0D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EA0F:    00 42          ADD  SP, #2
-    EA10:    D2 C5          ST   R1, [BP]
-    EA11:    92 C5          LD   R1, [BP]
-    EA12:    42 60          CMP  R1, #20
-    EA13:    4E 02          JNZ  ea16
-    EA14:    9F 0F EA 19    LJMP 0000ea19
-    EA16:    62 41          NEG  R1, #1
-    EA17:    9F 0F EA F1    LJMP 0000eaf1
-    EA19:    93 05          LD   R1, BP
-    EA1A:    05 0D 00 02    ADD  R2, BP, #2
-    EA1C:    97 05          LD   R3, BP
-    EA1D:    03 0D 00 02    ADD  R1, BP, #2
-    EA1F:    95 05          LD   R2, BP
-    EA20:    07 0D 00 02    ADD  R3, BP, #2
-    EA22:    99 03          LD   R4, R3
-    EA23:    94 C4          LD   R2, [R4]
-    EA24:    07 0A 00 01    ADD  R3, R2, #1
-    EA26:    95 01          LD   R2, R1
-    EA27:    D6 C2          ST   R3, [R2]
-    EA28:    93 05          LD   R1, BP
-    EA29:    05 0D 00 02    ADD  R2, BP, #2
-    EA2B:    93 02          LD   R1, R2
-    EA2C:    04 41          ADD  R2, #1
-    EA2D:    97 02          LD   R3, R2
-    EA2E:    92 C3          LD   R1, [R3]
-    EA2F:    D2 C8          ST   R1, [SP--]
-    EA30:    93 05          LD   R1, BP
-    EA31:    05 0D 00 02    ADD  R2, BP, #2
-    EA33:    99 02          LD   R4, R2
-    EA34:    92 C4          LD   R1, [R4]
-    EA35:    D2 C8          ST   R1, [SP--]
-    EA36:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EA38:    00 42          ADD  SP, #2
-    EA39:    D2 C5          ST   R1, [BP]
-    EA3A:    92 C5          LD   R1, [BP]
-    EA3B:    42 71          CMP  R1, #31
-    EA3C:    4E 02          JNZ  ea3f
-    EA3D:    9F 0F EA 42    LJMP 0000ea42
-    EA3F:    62 41          NEG  R1, #1
-    EA40:    9F 0F EA F1    LJMP 0000eaf1
-    EA42:    93 05          LD   R1, BP
-    EA43:    05 0D 00 02    ADD  R2, BP, #2
-    EA45:    97 05          LD   R3, BP
-    EA46:    03 0D 00 02    ADD  R1, BP, #2
-    EA48:    95 05          LD   R2, BP
-    EA49:    07 0D 00 02    ADD  R3, BP, #2
-    EA4B:    99 03          LD   R4, R3
-    EA4C:    94 C4          LD   R2, [R4]
-    EA4D:    07 0A 00 01    ADD  R3, R2, #1
-    EA4F:    95 01          LD   R2, R1
-    EA50:    D6 C2          ST   R3, [R2]
-    EA51:    93 05          LD   R1, BP
-    EA52:    05 0D 00 02    ADD  R2, BP, #2
-    EA54:    93 02          LD   R1, R2
-    EA55:    04 41          ADD  R2, #1
-    EA56:    97 02          LD   R3, R2
-    EA57:    92 C3          LD   R1, [R3]
-    EA58:    D2 C8          ST   R1, [SP--]
-    EA59:    93 05          LD   R1, BP
-    EA5A:    05 0D 00 02    ADD  R2, BP, #2
-    EA5C:    99 02          LD   R4, R2
-    EA5D:    92 C4          LD   R1, [R4]
-    EA5E:    D2 C8          ST   R1, [SP--]
-    EA5F:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EA61:    00 42          ADD  SP, #2
-    EA62:    D2 C5          ST   R1, [BP]
-    EA63:    92 C5          LD   R1, [BP]
-    EA64:    42 6E          CMP  R1, #2e
-    EA65:    4E 02          JNZ  ea68
-    EA66:    9F 0F EA 6B    LJMP 0000ea6b
-    EA68:    62 41          NEG  R1, #1
-    EA69:    9F 0F EA F1    LJMP 0000eaf1
-    EA6B:    93 05          LD   R1, BP
-    EA6C:    05 0D 00 02    ADD  R2, BP, #2
-    EA6E:    97 05          LD   R3, BP
-    EA6F:    03 0D 00 02    ADD  R1, BP, #2
-    EA71:    95 05          LD   R2, BP
-    EA72:    07 0D 00 02    ADD  R3, BP, #2
-    EA74:    99 03          LD   R4, R3
-    EA75:    94 C4          LD   R2, [R4]
-    EA76:    07 0A 00 01    ADD  R3, R2, #1
-    EA78:    95 01          LD   R2, R1
-    EA79:    D6 C2          ST   R3, [R2]
-    EA7A:    93 05          LD   R1, BP
-    EA7B:    05 0D 00 02    ADD  R2, BP, #2
-    EA7D:    93 02          LD   R1, R2
-    EA7E:    04 41          ADD  R2, #1
-    EA7F:    97 02          LD   R3, R2
-    EA80:    92 C3          LD   R1, [R3]
-    EA81:    D2 C8          ST   R1, [SP--]
-    EA82:    93 05          LD   R1, BP
-    EA83:    05 0D 00 02    ADD  R2, BP, #2
-    EA85:    99 02          LD   R4, R2
-    EA86:    92 C4          LD   R1, [R4]
-    EA87:    D2 C8          ST   R1, [SP--]
-    EA88:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EA8A:    00 42          ADD  SP, #2
-    EA8B:    D2 C5          ST   R1, [BP]
-    EA8C:    92 C5          LD   R1, [BP]
-    EA8D:    42 70          CMP  R1, #30
-    EA8E:    4E 02          JNZ  ea91
-    EA8F:    9F 0F EA 94    LJMP 0000ea94
-    EA91:    62 41          NEG  R1, #1
-    EA92:    9F 0F EA F1    LJMP 0000eaf1
-    EA94:    93 05          LD   R1, BP
-    EA95:    05 0D 00 02    ADD  R2, BP, #2
-    EA97:    97 05          LD   R3, BP
-    EA98:    03 0D 00 02    ADD  R1, BP, #2
-    EA9A:    95 05          LD   R2, BP
-    EA9B:    07 0D 00 02    ADD  R3, BP, #2
-    EA9D:    99 03          LD   R4, R3
-    EA9E:    94 C4          LD   R2, [R4]
-    EA9F:    07 0A 00 01    ADD  R3, R2, #1
-    EAA1:    95 01          LD   R2, R1
-    EAA2:    D6 C2          ST   R3, [R2]
-    EAA3:    93 05          LD   R1, BP
-    EAA4:    05 0D 00 01    ADD  R2, BP, #1
-    EAA6:    92 46          LD   R1, #6
-    EAA7:    97 02          LD   R3, R2
-    EAA8:    D2 C3          ST   R1, [R3]
-    EAA9:    93 05          LD   R1, BP
-    EAAA:    05 0D 00 01    ADD  R2, BP, #1
-    EAAC:    99 02          LD   R4, R2
-    EAAD:    92 C4          LD   R1, [R4]
-    EAAE:    42 53          CMP  R1, #13
-    EAAF:    9E 02          JA   eab2
-    EAB0:    9F 0F EA B4    LJMP 0000eab4
-    EAB2:    9F 0F EA EE    LJMP 0000eaee
-    EAB4:    93 05          LD   R1, BP
-    EAB5:    05 0D 00 02    ADD  R2, BP, #2
-    EAB7:    93 02          LD   R1, R2
-    EAB8:    04 41          ADD  R2, #1
-    EAB9:    97 02          LD   R3, R2
-    EABA:    92 C3          LD   R1, [R3]
-    EABB:    D2 C8          ST   R1, [SP--]
-    EABC:    93 05          LD   R1, BP
-    EABD:    05 0D 00 02    ADD  R2, BP, #2
-    EABF:    99 02          LD   R4, R2
-    EAC0:    92 C4          LD   R1, [R4]
-    EAC1:    D2 C8          ST   R1, [SP--]
-    EAC2:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EAC4:    00 42          ADD  SP, #2
-    EAC5:    D2 C5          ST   R1, [BP]
-    EAC6:    92 C5          LD   R1, [BP]
-    EAC7:    42 40          CMP  R1, #0
-    EAC8:    4E 02          JNZ  eacb
-    EAC9:    9F 0F EA CE    LJMP 0000eace
-    EACB:    62 41          NEG  R1, #1
-    EACC:    9F 0F EA F1    LJMP 0000eaf1
-    EACE:    93 05          LD   R1, BP
-    EACF:    05 0D 00 02    ADD  R2, BP, #2
-    EAD1:    97 05          LD   R3, BP
-    EAD2:    03 0D 00 02    ADD  R1, BP, #2
-    EAD4:    95 05          LD   R2, BP
-    EAD5:    07 0D 00 02    ADD  R3, BP, #2
-    EAD7:    99 03          LD   R4, R3
-    EAD8:    94 C4          LD   R2, [R4]
-    EAD9:    07 0A 00 01    ADD  R3, R2, #1
-    EADB:    95 01          LD   R2, R1
-    EADC:    D6 C2          ST   R3, [R2]
-    EADD:    93 05          LD   R1, BP
-    EADE:    05 0D 00 01    ADD  R2, BP, #1
-    EAE0:    97 05          LD   R3, BP
-    EAE1:    03 0D 00 01    ADD  R1, BP, #1
-    EAE3:    95 05          LD   R2, BP
-    EAE4:    07 0D 00 01    ADD  R3, BP, #1
-    EAE6:    99 03          LD   R4, R3
-    EAE7:    94 C4          LD   R2, [R4]
-    EAE8:    07 0A 00 01    ADD  R3, R2, #1
-    EAEA:    95 01          LD   R2, R1
-    EAEB:    D6 C2          ST   R3, [R2]
-    EAEC:    9F 0F EA A9    LJMP 0000eaa9
-    EAEE:    92 40          LD   R1, #0
-    EAEF:    9F 0F EA F1    LJMP 0000eaf1
-    EAF1:    00 45          ADD  SP, #5
-    EAF2:    98 88          POP  BP-BP, [SP]
-    EAF3:    9A 90          RETF 
+___PROC_0028:
+    E98A:    DA 88          PUSH    BP-BP, [SP]
+    E98B:    20 45          SUB     SP, #5
+    E98C:    0B 08 00 01    ADD     BP, SP, #1
+    E98E:    03 0D 00 08    ADD     R1, BP, #8
+    E990:    D2 04          ST      R1, [BP+4]
+    E991:    92 7F          LD      R1, #3f
+    E992:    D2 C8          ST      R1, [SP--]
+    E993:    62 66          NEG     R1, #26
+    E994:    D2 C8          ST      R1, [SP--]
+    E995:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    E997:    00 42          ADD     SP, #2
+    E998:    95 05          LD      R2, BP
+    E999:    07 0D 00 02    ADD     R3, BP, #2
+    E99B:    95 03          LD      R2, R3
+    E99C:    D2 C2          ST      R1, [R2]
+    E99D:    92 7F          LD      R1, #3f
+    E99E:    D2 C8          ST      R1, [SP--]
+    E99F:    62 65          NEG     R1, #25
+    E9A0:    D2 C8          ST      R1, [SP--]
+    E9A1:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    E9A3:    00 42          ADD     SP, #2
+    E9A4:    95 05          LD      R2, BP
+    E9A5:    07 0D 00 02    ADD     R3, BP, #2
+    E9A7:    95 03          LD      R2, R3
+    E9A8:    06 41          ADD     R3, #1
+    E9A9:    99 03          LD      R4, R3
+    E9AA:    D2 C4          ST      R1, [R4]
+    E9AB:    93 05          LD      R1, BP
+    E9AC:    05 0D 00 02    ADD     R2, BP, #2
+    E9AE:    93 02          LD      R1, R2
+    E9AF:    04 41          ADD     R2, #1
+    E9B0:    97 02          LD      R3, R2
+    E9B1:    92 C3          LD      R1, [R3]
+    E9B2:    D2 C8          ST      R1, [SP--]
+    E9B3:    93 05          LD      R1, BP
+    E9B4:    05 0D 00 02    ADD     R2, BP, #2
+    E9B6:    99 02          LD      R4, R2
+    E9B7:    92 C4          LD      R1, [R4]
+    E9B8:    D2 C8          ST      R1, [SP--]
+    E9B9:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    E9BB:    00 42          ADD     SP, #2
+    E9BC:    D2 C5          ST      R1, [BP]
+    E9BD:    92 C5          LD      R1, [BP]
+    E9BE:    43 09 00 54    CMP     R1, R1, #54
+    E9C0:    4E 02          JNZ     e9c3
+    E9C1:    9F 0F E9 C6    LJMP    0000e9c6
+    E9C3:    62 41          NEG     R1, #1
+    E9C4:    9F 0F EA F1    LJMP    0000eaf1
+    E9C6:    93 05          LD      R1, BP
+    E9C7:    05 0D 00 02    ADD     R2, BP, #2
+    E9C9:    97 05          LD      R3, BP
+    E9CA:    03 0D 00 02    ADD     R1, BP, #2
+    E9CC:    95 05          LD      R2, BP
+    E9CD:    07 0D 00 02    ADD     R3, BP, #2
+    E9CF:    99 03          LD      R4, R3
+    E9D0:    94 C4          LD      R2, [R4]
+    E9D1:    07 0A 00 01    ADD     R3, R2, #1
+    E9D3:    95 01          LD      R2, R1
+    E9D4:    D6 C2          ST      R3, [R2]
+    E9D5:    93 05          LD      R1, BP
+    E9D6:    05 0D 00 02    ADD     R2, BP, #2
+    E9D8:    93 02          LD      R1, R2
+    E9D9:    04 41          ADD     R2, #1
+    E9DA:    97 02          LD      R3, R2
+    E9DB:    92 C3          LD      R1, [R3]
+    E9DC:    D2 C8          ST      R1, [SP--]
+    E9DD:    93 05          LD      R1, BP
+    E9DE:    05 0D 00 02    ADD     R2, BP, #2
+    E9E0:    99 02          LD      R4, R2
+    E9E1:    92 C4          LD      R1, [R4]
+    E9E2:    D2 C8          ST      R1, [SP--]
+    E9E3:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    E9E5:    00 42          ADD     SP, #2
+    E9E6:    D2 C5          ST      R1, [BP]
+    E9E7:    92 C5          LD      R1, [BP]
+    E9E8:    43 09 00 56    CMP     R1, R1, #56
+    E9EA:    4E 02          JNZ     e9ed
+    E9EB:    9F 0F E9 F0    LJMP    0000e9f0
+    E9ED:    62 41          NEG     R1, #1
+    E9EE:    9F 0F EA F1    LJMP    0000eaf1
+    E9F0:    93 05          LD      R1, BP
+    E9F1:    05 0D 00 02    ADD     R2, BP, #2
+    E9F3:    97 05          LD      R3, BP
+    E9F4:    03 0D 00 02    ADD     R1, BP, #2
+    E9F6:    95 05          LD      R2, BP
+    E9F7:    07 0D 00 02    ADD     R3, BP, #2
+    E9F9:    99 03          LD      R4, R3
+    E9FA:    94 C4          LD      R2, [R4]
+    E9FB:    07 0A 00 01    ADD     R3, R2, #1
+    E9FD:    95 01          LD      R2, R1
+    E9FE:    D6 C2          ST      R3, [R2]
+    E9FF:    93 05          LD      R1, BP
+    EA00:    05 0D 00 02    ADD     R2, BP, #2
+    EA02:    93 02          LD      R1, R2
+    EA03:    04 41          ADD     R2, #1
+    EA04:    97 02          LD      R3, R2
+    EA05:    92 C3          LD      R1, [R3]
+    EA06:    D2 C8          ST      R1, [SP--]
+    EA07:    93 05          LD      R1, BP
+    EA08:    05 0D 00 02    ADD     R2, BP, #2
+    EA0A:    99 02          LD      R4, R2
+    EA0B:    92 C4          LD      R1, [R4]
+    EA0C:    D2 C8          ST      R1, [SP--]
+    EA0D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EA0F:    00 42          ADD     SP, #2
+    EA10:    D2 C5          ST      R1, [BP]
+    EA11:    92 C5          LD      R1, [BP]
+    EA12:    42 60          CMP     R1, #20
+    EA13:    4E 02          JNZ     ea16
+    EA14:    9F 0F EA 19    LJMP    0000ea19
+    EA16:    62 41          NEG     R1, #1
+    EA17:    9F 0F EA F1    LJMP    0000eaf1
+    EA19:    93 05          LD      R1, BP
+    EA1A:    05 0D 00 02    ADD     R2, BP, #2
+    EA1C:    97 05          LD      R3, BP
+    EA1D:    03 0D 00 02    ADD     R1, BP, #2
+    EA1F:    95 05          LD      R2, BP
+    EA20:    07 0D 00 02    ADD     R3, BP, #2
+    EA22:    99 03          LD      R4, R3
+    EA23:    94 C4          LD      R2, [R4]
+    EA24:    07 0A 00 01    ADD     R3, R2, #1
+    EA26:    95 01          LD      R2, R1
+    EA27:    D6 C2          ST      R3, [R2]
+    EA28:    93 05          LD      R1, BP
+    EA29:    05 0D 00 02    ADD     R2, BP, #2
+    EA2B:    93 02          LD      R1, R2
+    EA2C:    04 41          ADD     R2, #1
+    EA2D:    97 02          LD      R3, R2
+    EA2E:    92 C3          LD      R1, [R3]
+    EA2F:    D2 C8          ST      R1, [SP--]
+    EA30:    93 05          LD      R1, BP
+    EA31:    05 0D 00 02    ADD     R2, BP, #2
+    EA33:    99 02          LD      R4, R2
+    EA34:    92 C4          LD      R1, [R4]
+    EA35:    D2 C8          ST      R1, [SP--]
+    EA36:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EA38:    00 42          ADD     SP, #2
+    EA39:    D2 C5          ST      R1, [BP]
+    EA3A:    92 C5          LD      R1, [BP]
+    EA3B:    42 71          CMP     R1, #31
+    EA3C:    4E 02          JNZ     ea3f
+    EA3D:    9F 0F EA 42    LJMP    0000ea42
+    EA3F:    62 41          NEG     R1, #1
+    EA40:    9F 0F EA F1    LJMP    0000eaf1
+    EA42:    93 05          LD      R1, BP
+    EA43:    05 0D 00 02    ADD     R2, BP, #2
+    EA45:    97 05          LD      R3, BP
+    EA46:    03 0D 00 02    ADD     R1, BP, #2
+    EA48:    95 05          LD      R2, BP
+    EA49:    07 0D 00 02    ADD     R3, BP, #2
+    EA4B:    99 03          LD      R4, R3
+    EA4C:    94 C4          LD      R2, [R4]
+    EA4D:    07 0A 00 01    ADD     R3, R2, #1
+    EA4F:    95 01          LD      R2, R1
+    EA50:    D6 C2          ST      R3, [R2]
+    EA51:    93 05          LD      R1, BP
+    EA52:    05 0D 00 02    ADD     R2, BP, #2
+    EA54:    93 02          LD      R1, R2
+    EA55:    04 41          ADD     R2, #1
+    EA56:    97 02          LD      R3, R2
+    EA57:    92 C3          LD      R1, [R3]
+    EA58:    D2 C8          ST      R1, [SP--]
+    EA59:    93 05          LD      R1, BP
+    EA5A:    05 0D 00 02    ADD     R2, BP, #2
+    EA5C:    99 02          LD      R4, R2
+    EA5D:    92 C4          LD      R1, [R4]
+    EA5E:    D2 C8          ST      R1, [SP--]
+    EA5F:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EA61:    00 42          ADD     SP, #2
+    EA62:    D2 C5          ST      R1, [BP]
+    EA63:    92 C5          LD      R1, [BP]
+    EA64:    42 6E          CMP     R1, #2e
+    EA65:    4E 02          JNZ     ea68
+    EA66:    9F 0F EA 6B    LJMP    0000ea6b
+    EA68:    62 41          NEG     R1, #1
+    EA69:    9F 0F EA F1    LJMP    0000eaf1
+    EA6B:    93 05          LD      R1, BP
+    EA6C:    05 0D 00 02    ADD     R2, BP, #2
+    EA6E:    97 05          LD      R3, BP
+    EA6F:    03 0D 00 02    ADD     R1, BP, #2
+    EA71:    95 05          LD      R2, BP
+    EA72:    07 0D 00 02    ADD     R3, BP, #2
+    EA74:    99 03          LD      R4, R3
+    EA75:    94 C4          LD      R2, [R4]
+    EA76:    07 0A 00 01    ADD     R3, R2, #1
+    EA78:    95 01          LD      R2, R1
+    EA79:    D6 C2          ST      R3, [R2]
+    EA7A:    93 05          LD      R1, BP
+    EA7B:    05 0D 00 02    ADD     R2, BP, #2
+    EA7D:    93 02          LD      R1, R2
+    EA7E:    04 41          ADD     R2, #1
+    EA7F:    97 02          LD      R3, R2
+    EA80:    92 C3          LD      R1, [R3]
+    EA81:    D2 C8          ST      R1, [SP--]
+    EA82:    93 05          LD      R1, BP
+    EA83:    05 0D 00 02    ADD     R2, BP, #2
+    EA85:    99 02          LD      R4, R2
+    EA86:    92 C4          LD      R1, [R4]
+    EA87:    D2 C8          ST      R1, [SP--]
+    EA88:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EA8A:    00 42          ADD     SP, #2
+    EA8B:    D2 C5          ST      R1, [BP]
+    EA8C:    92 C5          LD      R1, [BP]
+    EA8D:    42 70          CMP     R1, #30
+    EA8E:    4E 02          JNZ     ea91
+    EA8F:    9F 0F EA 94    LJMP    0000ea94
+    EA91:    62 41          NEG     R1, #1
+    EA92:    9F 0F EA F1    LJMP    0000eaf1
+    EA94:    93 05          LD      R1, BP
+    EA95:    05 0D 00 02    ADD     R2, BP, #2
+    EA97:    97 05          LD      R3, BP
+    EA98:    03 0D 00 02    ADD     R1, BP, #2
+    EA9A:    95 05          LD      R2, BP
+    EA9B:    07 0D 00 02    ADD     R3, BP, #2
+    EA9D:    99 03          LD      R4, R3
+    EA9E:    94 C4          LD      R2, [R4]
+    EA9F:    07 0A 00 01    ADD     R3, R2, #1
+    EAA1:    95 01          LD      R2, R1
+    EAA2:    D6 C2          ST      R3, [R2]
+    EAA3:    93 05          LD      R1, BP
+    EAA4:    05 0D 00 01    ADD     R2, BP, #1
+    EAA6:    92 46          LD      R1, #6
+    EAA7:    97 02          LD      R3, R2
+    EAA8:    D2 C3          ST      R1, [R3]
+    EAA9:    93 05          LD      R1, BP
+    EAAA:    05 0D 00 01    ADD     R2, BP, #1
+    EAAC:    99 02          LD      R4, R2
+    EAAD:    92 C4          LD      R1, [R4]
+    EAAE:    42 53          CMP     R1, #13
+    EAAF:    9E 02          JA      eab2
+    EAB0:    9F 0F EA B4    LJMP    0000eab4
+    EAB2:    9F 0F EA EE    LJMP    0000eaee
+    EAB4:    93 05          LD      R1, BP
+    EAB5:    05 0D 00 02    ADD     R2, BP, #2
+    EAB7:    93 02          LD      R1, R2
+    EAB8:    04 41          ADD     R2, #1
+    EAB9:    97 02          LD      R3, R2
+    EABA:    92 C3          LD      R1, [R3]
+    EABB:    D2 C8          ST      R1, [SP--]
+    EABC:    93 05          LD      R1, BP
+    EABD:    05 0D 00 02    ADD     R2, BP, #2
+    EABF:    99 02          LD      R4, R2
+    EAC0:    92 C4          LD      R1, [R4]
+    EAC1:    D2 C8          ST      R1, [SP--]
+    EAC2:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EAC4:    00 42          ADD     SP, #2
+    EAC5:    D2 C5          ST      R1, [BP]
+    EAC6:    92 C5          LD      R1, [BP]
+    EAC7:    42 40          CMP     R1, #0
+    EAC8:    4E 02          JNZ     eacb
+    EAC9:    9F 0F EA CE    LJMP    0000eace
+    EACB:    62 41          NEG     R1, #1
+    EACC:    9F 0F EA F1    LJMP    0000eaf1
+    EACE:    93 05          LD      R1, BP
+    EACF:    05 0D 00 02    ADD     R2, BP, #2
+    EAD1:    97 05          LD      R3, BP
+    EAD2:    03 0D 00 02    ADD     R1, BP, #2
+    EAD4:    95 05          LD      R2, BP
+    EAD5:    07 0D 00 02    ADD     R3, BP, #2
+    EAD7:    99 03          LD      R4, R3
+    EAD8:    94 C4          LD      R2, [R4]
+    EAD9:    07 0A 00 01    ADD     R3, R2, #1
+    EADB:    95 01          LD      R2, R1
+    EADC:    D6 C2          ST      R3, [R2]
+    EADD:    93 05          LD      R1, BP
+    EADE:    05 0D 00 01    ADD     R2, BP, #1
+    EAE0:    97 05          LD      R3, BP
+    EAE1:    03 0D 00 01    ADD     R1, BP, #1
+    EAE3:    95 05          LD      R2, BP
+    EAE4:    07 0D 00 01    ADD     R3, BP, #1
+    EAE6:    99 03          LD      R4, R3
+    EAE7:    94 C4          LD      R2, [R4]
+    EAE8:    07 0A 00 01    ADD     R3, R2, #1
+    EAEA:    95 01          LD      R2, R1
+    EAEB:    D6 C2          ST      R3, [R2]
+    EAEC:    9F 0F EA A9    LJMP    0000eaa9
+    EAEE:    92 40          LD      R1, #0
+    EAEF:    9F 0F EA F1    LJMP    0000eaf1
+    EAF1:    00 45          ADD     SP, #5
+    EAF2:    98 88          POP     BP-BP, [SP]
+    EAF3:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0010
+;        Function: ___PROC_0032
 
-___PROC_0010:
-    EAF4:    DA 88          PUSH BP-BP, [SP]
-    EAF5:    0B 08 00 01    ADD  BP, SP, #1
-    EAF7:    07 0D 00 03    ADD  R3, BP, #3
-    EAF9:    92 40          LD   R1, #0
-    EAFA:    94 40          LD   R2, #0
-    EAFB:    9F 0F EA FD    LJMP 0000eafd
-    EAFD:    98 88          POP  BP-BP, [SP]
-    EAFE:    9A 90          RETF 
+___PROC_0032:
+    EAF4:    DA 88          PUSH    BP-BP, [SP]
+    EAF5:    0B 08 00 01    ADD     BP, SP, #1
+    EAF7:    07 0D 00 03    ADD     R3, BP, #3
+    EAF9:    92 40          LD      R1, #0
+    EAFA:    94 40          LD      R2, #0
+    EAFB:    9F 0F EA FD    LJMP    0000eafd
+    EAFD:    98 88          POP     BP-BP, [SP]
+    EAFE:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0011
+;        Function: ___PROC_0033
 
-___PROC_0011:
-    EAFF:    DA 88          PUSH BP-BP, [SP]
-    EB00:    20 49          SUB  SP, #9
-    EB01:    0B 08 00 01    ADD  BP, SP, #1
-    EB03:    03 0D 00 0C    ADD  R1, BP, #c
-    EB05:    D2 07          ST   R1, [BP+7]
-    EB06:    93 05          LD   R1, BP
-    EB07:    05 0D 00 02    ADD  R2, BP, #2
-    EB09:    93 02          LD   R1, R2
-    EB0A:    07 0A 00 01    ADD  R3, R2, #1
-    EB0C:    D6 08          ST   R3, [BP+8]
-    EB0D:    99 05          LD   R4, BP
-    EB0E:    09 0D 00 02    ADD  R4, BP, #2
-    EB10:    D8 04          ST   R4, [BP+4]
-    EB11:    94 08          LD   R2, [BP+8]
-    EB12:    96 04          LD   R3, [BP+4]
-    EB13:    92 40          LD   R1, #0
-    EB14:    D2 C2          ST   R1, [R2]
-    EB15:    93 09 E5 46    LD   R1, #e546
-    EB17:    D2 C3          ST   R1, [R3]
-    EB18:    93 05          LD   R1, BP
-    EB19:    09 0D 00 02    ADD  R4, BP, #2
-    EB1B:    D8 08          ST   R4, [BP+8]
-    EB1C:    94 08          LD   R2, [BP+8]
-    EB1D:    92 D2          LD   R1, [R2++]
-    EB1E:    94 C2          LD   R2, [R2]
-    EB1F:    D2 05          ST   R1, [BP+5]
-    EB20:    D4 06          ST   R2, [BP+6]
-    EB21:    96 05          LD   R3, [BP+5]
-    EB22:    98 06          LD   R4, [BP+6]
-    EB23:    93 03          LD   R1, R3
-    EB24:    95 04          LD   R2, R4
-    EB25:    9F 0F EB 27    LJMP 0000eb27
-    EB27:    00 49          ADD  SP, #9
-    EB28:    98 88          POP  BP-BP, [SP]
-    EB29:    9A 90          RETF 
-    EB2A:    DA 88          PUSH BP-BP, [SP]
-    EB2B:    20 45          SUB  SP, #5
-    EB2C:    0B 08 00 01    ADD  BP, SP, #1
-    EB2E:    03 0D 00 08    ADD  R1, BP, #8
-    EB30:    D2 04          ST   R1, [BP+4]
-    EB31:    F0 40 E9 8A    CALL ___PROC_0009
-    EB33:    95 05          LD   R2, BP
-    EB34:    07 0D 00 02    ADD  R3, BP, #2
-    EB36:    95 03          LD   R2, R3
-    EB37:    D2 C2          ST   R1, [R2]
-    EB38:    93 05          LD   R1, BP
-    EB39:    05 0D 00 02    ADD  R2, BP, #2
-    EB3B:    97 02          LD   R3, R2
-    EB3C:    92 C3          LD   R1, [R3]
-    EB3D:    42 40          CMP  R1, #0
-    EB3E:    5E 02          JZ   eb41
-    EB3F:    9F 0F EB 8F    LJMP 0000eb8f
-    EB41:    92 7F          LD   R1, #3f
-    EB42:    D2 C8          ST   R1, [SP--]
-    EB43:    62 6A          NEG  R1, #2a
-    EB44:    D2 C8          ST   R1, [SP--]
-    EB45:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EB47:    00 42          ADD  SP, #2
-    EB48:    D2 C5          ST   R1, [BP]
-    EB49:    92 7F          LD   R1, #3f
-    EB4A:    D2 C8          ST   R1, [SP--]
-    EB4B:    62 69          NEG  R1, #29
-    EB4C:    D2 C8          ST   R1, [SP--]
-    EB4D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EB4F:    00 42          ADD  SP, #2
-    EB50:    95 05          LD   R2, BP
-    EB51:    07 0D 00 01    ADD  R3, BP, #1
-    EB53:    95 03          LD   R2, R3
-    EB54:    D2 C2          ST   R1, [R2]
-    EB55:    93 05          LD   R1, BP
-    EB56:    05 0D 00 01    ADD  R2, BP, #1
-    EB58:    97 02          LD   R3, R2
-    EB59:    92 C3          LD   R1, [R3]
-    EB5A:    D2 C8          ST   R1, [SP--]
-    EB5B:    92 C5          LD   R1, [BP]
-    EB5C:    D2 C8          ST   R1, [SP--]
-    EB5D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EB5F:    00 42          ADD  SP, #2
-    EB60:    95 05          LD   R2, BP
-    EB61:    07 0D 00 03    ADD  R3, BP, #3
-    EB63:    95 03          LD   R2, R3
-    EB64:    D2 C2          ST   R1, [R2]
-    EB65:    F0 40 F6 06    CALL ___PROC_0012
-    EB67:    93 11 09 6B    LD   R1, [096b]
-    EB69:    42 40          CMP  R1, #0
-    EB6A:    5E 02          JZ   eb6d
-    EB6B:    9F 0F EB 75    LJMP 0000eb75
-    EB6D:    93 09 7F FF    LD   R1, #7fff
-    EB6F:    D2 C8          ST   R1, [SP--]
-    EB70:    F0 41 79 CA    CALL PALETTE_SINGLECOLOR
-    EB72:    00 41          ADD  SP, #1
-    EB73:    9F 0F EB 7A    LJMP 0000eb7a
-    EB75:    92 40          LD   R1, #0
-    EB76:    D2 C8          ST   R1, [SP--]
-    EB77:    F0 41 79 CA    CALL PALETTE_SINGLECOLOR
-    EB79:    00 41          ADD  SP, #1
-    EB7A:    93 05          LD   R1, BP
-    EB7B:    05 0D 00 03    ADD  R2, BP, #3
-    EB7D:    97 02          LD   R3, R2
-    EB7E:    92 C3          LD   R1, [R3]
-    EB7F:    43 09 FF FF    CMP  R1, R1, #ffff
-    EB81:    4E 02          JNZ  eb84
-    EB82:    9F 0F EB 8D    LJMP 0000eb8d
-    EB84:    93 05          LD   R1, BP
-    EB85:    05 0D 00 03    ADD  R2, BP, #3
-    EB87:    97 02          LD   R3, R2
-    EB88:    92 C3          LD   R1, [R3]
-    EB89:    D2 C8          ST   R1, [SP--]
-    EB8A:    F0 41 75 80    CALL ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
-    EB8C:    00 41          ADD  SP, #1
-    EB8D:    9F 0F EB C1    LJMP 0000ebc1
-    EB8F:    F0 40 F6 06    CALL ___PROC_0012
-    EB91:    93 11 09 6B    LD   R1, [096b]
-    EB93:    42 40          CMP  R1, #0
-    EB94:    5E 02          JZ   eb97
-    EB95:    9F 0F EB 9F    LJMP 0000eb9f
-    EB97:    93 09 7F FF    LD   R1, #7fff
-    EB99:    D2 C8          ST   R1, [SP--]
-    EB9A:    F0 41 79 CA    CALL PALETTE_SINGLECOLOR
-    EB9C:    00 41          ADD  SP, #1
-    EB9D:    9F 0F EB A4    LJMP 0000eba4
-    EB9F:    92 40          LD   R1, #0
-    EBA0:    D2 C8          ST   R1, [SP--]
-    EBA1:    F0 41 79 CA    CALL PALETTE_SINGLECOLOR
-    EBA3:    00 41          ADD  SP, #1
-    EBA4:    92 4C          LD   R1, #c
-    EBA5:    D2 C8          ST   R1, [SP--]
-    EBA6:    F0 41 78 C3    CALL 000178c3
-    EBA8:    00 41          ADD  SP, #1
-    EBA9:    95 05          LD   R2, BP
-    EBAA:    07 0D 00 03    ADD  R3, BP, #3
-    EBAC:    95 03          LD   R2, R3
-    EBAD:    D2 C2          ST   R1, [R2]
-    EBAE:    93 05          LD   R1, BP
-    EBAF:    05 0D 00 03    ADD  R2, BP, #3
-    EBB1:    97 02          LD   R3, R2
-    EBB2:    92 C3          LD   R1, [R3]
-    EBB3:    43 09 FF FF    CMP  R1, R1, #ffff
-    EBB5:    4E 02          JNZ  ebb8
-    EBB6:    9F 0F EB C1    LJMP 0000ebc1
-    EBB8:    93 05          LD   R1, BP
-    EBB9:    05 0D 00 03    ADD  R2, BP, #3
-    EBBB:    97 02          LD   R3, R2
-    EBBC:    92 C3          LD   R1, [R3]
-    EBBD:    D2 C8          ST   R1, [SP--]
-    EBBE:    F0 41 75 80    CALL ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
-    EBC0:    00 41          ADD  SP, #1
-    EBC1:    F0 40 F6 06    CALL ___PROC_0012
-    EBC3:    D2 88          PUSH R1-R1, [SP]
-    EBC4:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    EBC6:    B3 09 FF F9    AND  R1, R1, #fff9
-    EBC8:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    EBCA:    90 88          POP  R1-R1, [SP]
-    EBCB:    F0 40 F6 06    CALL ___PROC_0012
-    EBCD:    F0 40 F6 06    CALL ___PROC_0012
-    EBCF:    D2 88          PUSH R1-R1, [SP]
-    EBD0:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    EBD2:    B3 09 FF BF    AND  R1, R1, #ffbf
-    EBD4:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    EBD6:    90 88          POP  R1-R1, [SP]
-    EBD7:    F0 40 F6 06    CALL ___PROC_0012
-    EBD9:    00 45          ADD  SP, #5
-    EBDA:    98 88          POP  BP-BP, [SP]
-    EBDB:    9A 90          RETF 
-    EBDC:    DA 88          PUSH BP-BP, [SP]
-    EBDD:    20 42          SUB  SP, #2
-    EBDE:    0B 08 00 01    ADD  BP, SP, #1
-    EBE0:    03 0D 00 05    ADD  R1, BP, #5
-    EBE2:    D2 01          ST   R1, [BP+1]
-    EBE3:    F0 41 A1 0F    CALL SHOULD_SHOW_BOOTLOGO
-    EBE5:    42 40          CMP  R1, #0
-    EBE6:    4E 02          JNZ  ebe9
-    EBE7:    9F 0F EC 0E    LJMP 0000ec0e
-    EBE9:    F0 40 E9 8A    CALL ___PROC_0009
-    EBEB:    D2 C5          ST   R1, [BP]
-    EBEC:    92 C5          LD   R1, [BP]
-    EBED:    42 40          CMP  R1, #0
-    EBEE:    5E 02          JZ   ebf1
-    EBEF:    9F 0F EB F5    LJMP 0000ebf5
-    EBF1:    F0 40 F0 6E    CALL 0000f06e
-    EBF3:    9F 0F EC 0C    LJMP 0000ec0c
-    EBF5:    93 11 08 8C    LD   R1, [088c]
-    EBF7:    43 09 FF FF    CMP  R1, R1, #ffff
-    EBF9:    5E 02          JZ   ebfc
-    EBFA:    9F 0F EC 00    LJMP 0000ec00
-    EBFC:    F0 40 EC 13    CALL 0000ec13
-    EBFE:    9F 0F EC 0C    LJMP 0000ec0c
-    EC00:    93 11 08 90    LD   R1, [0890]
-    EC02:    D2 C8          ST   R1, [SP--]
-    EC03:    93 11 08 8F    LD   R1, [088f]
-    EC05:    D2 C8          ST   R1, [SP--]
-    EC06:    93 09 08 78    LD   R1, #878
-    EC08:    D2 C8          ST   R1, [SP--]
-    EC09:    F0 41 A1 8D    CALL 0001a18d
-    EC0B:    00 43          ADD  SP, #3
-    EC0C:    9F 0F EC 10    LJMP 0000ec10
-    EC0E:    F0 40 EB 2A    CALL 0000eb2a
-    EC10:    00 42          ADD  SP, #2
-    EC11:    98 88          POP  BP-BP, [SP]
-    EC12:    9A 90          RETF 
-    EC13:    DA 88          PUSH BP-BP, [SP]
-    EC14:    20 4D          SUB  SP, #d
-    EC15:    0B 08 00 01    ADD  BP, SP, #1
-    EC17:    03 0D 00 10    ADD  R1, BP, #10
-    EC19:    D2 0B          ST   R1, [BP+b]
-    EC1A:    93 11 08 7F    LD   R1, [087f]
-    EC1C:    43 09 FF FF    CMP  R1, R1, #ffff
-    EC1E:    5E 02          JZ   ec21
-    EC1F:    9F 0F EC 39    LJMP 0000ec39
-    EC21:    F0 40 F6 06    CALL ___PROC_0012
-    EC23:    D2 88          PUSH R1-R1, [SP]
-    EC24:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    EC26:    B3 09 FF F9    AND  R1, R1, #fff9
-    EC28:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    EC2A:    90 88          POP  R1-R1, [SP]
-    EC2B:    F0 40 F6 06    CALL ___PROC_0012
-    EC2D:    F0 40 F6 06    CALL ___PROC_0012
-    EC2F:    D2 88          PUSH R1-R1, [SP]
-    EC30:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    EC32:    B3 09 FF BF    AND  R1, R1, #ffbf
-    EC34:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    EC36:    90 88          POP  R1-R1, [SP]
-    EC37:    9F 0F EF BF    LJMP 0000efbf
-    EC39:    F0 40 EA FF    CALL ___PROC_0011
-    EC3B:    D2 D5          ST   R1, [BP++]
-    EC3C:    D4 CD          ST   R2, [BP--]
-    EC3D:    95 05          LD   R2, BP
-    EC3E:    03 0D 00 02    ADD  R1, BP, #2
-    EC40:    97 05          LD   R3, BP
-    EC41:    05 0D 00 01    ADD  R2, BP, #1
-    EC43:    98 C5          LD   R4, [BP]
-    EC44:    97 04          LD   R3, R4
-    EC45:    99 02          LD   R4, R2
-    EC46:    A6 C4          OR   R3, [R4]
-    EC47:    95 01          LD   R2, R1
-    EC48:    D6 C2          ST   R3, [R2]
-    EC49:    93 05          LD   R1, BP
-    EC4A:    05 0D 00 02    ADD  R2, BP, #2
-    EC4C:    97 02          LD   R3, R2
-    EC4D:    92 C3          LD   R1, [R3]
-    EC4E:    42 40          CMP  R1, #0
-    EC4F:    5E 02          JZ   ec52
-    EC50:    9F 0F EC 54    LJMP 0000ec54
-    EC52:    9F 0F EF BF    LJMP 0000efbf
-    EC54:    93 05          LD   R1, BP
-    EC55:    05 0D 00 09    ADD  R2, BP, #9
-    EC57:    92 40          LD   R1, #0
-    EC58:    99 02          LD   R4, R2
-    EC59:    D2 C4          ST   R1, [R4]
-    EC5A:    93 05          LD   R1, BP
-    EC5B:    05 0D 00 0A    ADD  R2, BP, #a
-    EC5D:    92 40          LD   R1, #0
-    EC5E:    97 02          LD   R3, R2
-    EC5F:    D2 C3          ST   R1, [R3]
-    EC60:    93 05          LD   R1, BP
-    EC61:    05 0D 00 0A    ADD  R2, BP, #a
-    EC63:    99 02          LD   R4, R2
-    EC64:    92 C4          LD   R1, [R4]
-    EC65:    42 40          CMP  R1, #0
-    EC66:    4E 02          JNZ  ec69
-    EC67:    9F 0F EC 6B    LJMP 0000ec6b
-    EC69:    9F 0F EF BF    LJMP 0000efbf
-    EC6B:    93 05          LD   R1, BP
-    EC6C:    05 0D 00 01    ADD  R2, BP, #1
-    EC6E:    97 02          LD   R3, R2
-    EC6F:    92 C3          LD   R1, [R3]
-    EC70:    D2 C8          ST   R1, [SP--]
-    EC71:    92 C5          LD   R1, [BP]
-    EC72:    D2 C8          ST   R1, [SP--]
-    EC73:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EC75:    00 42          ADD  SP, #2
-    EC76:    95 05          LD   R2, BP
-    EC77:    07 0D 00 03    ADD  R3, BP, #3
-    EC79:    99 03          LD   R4, R3
-    EC7A:    D2 C4          ST   R1, [R4]
-    EC7B:    92 C5          LD   R1, [BP]
-    EC7C:    05 09 00 01    ADD  R2, R1, #1
-    EC7E:    D4 C5          ST   R2, [BP]
-    EC7F:    93 05          LD   R1, BP
-    EC80:    05 0D 00 01    ADD  R2, BP, #1
-    EC82:    97 02          LD   R3, R2
-    EC83:    92 C3          LD   R1, [R3]
-    EC84:    D2 C8          ST   R1, [SP--]
-    EC85:    92 C5          LD   R1, [BP]
-    EC86:    D2 C8          ST   R1, [SP--]
-    EC87:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EC89:    00 42          ADD  SP, #2
-    EC8A:    95 05          LD   R2, BP
-    EC8B:    07 0D 00 06    ADD  R3, BP, #6
-    EC8D:    99 03          LD   R4, R3
-    EC8E:    D2 C4          ST   R1, [R4]
-    EC8F:    92 C5          LD   R1, [BP]
-    EC90:    05 09 00 01    ADD  R2, R1, #1
-    EC92:    D4 C5          ST   R2, [BP]
-    EC93:    93 05          LD   R1, BP
-    EC94:    05 0D 00 03    ADD  R2, BP, #3
-    EC96:    97 02          LD   R3, R2
-    EC97:    92 C3          LD   R1, [R3]
-    EC98:    42 48          CMP  R1, #8
-    EC99:    4E 02          JNZ  ec9c
-    EC9A:    9F 0F EE 53    LJMP 0000ee53
-    EC9C:    42 48          CMP  R1, #8
-    EC9D:    8E 02          XOR  PC, [BP+2]
-    EC9E:    9F 0F EC C0    LJMP 0000ecc0
-    ECA0:    42 44          CMP  R1, #4
-    ECA1:    4E 02          JNZ  eca4
-    ECA2:    9F 0F ED E2    LJMP 0000ede2
-    ECA4:    42 44          CMP  R1, #4
-    ECA5:    8E 02          XOR  PC, [BP+2]
-    ECA6:    9F 0F EC B6    LJMP 0000ecb6
-    ECA8:    42 42          CMP  R1, #2
-    ECA9:    4E 02          JNZ  ecac
-    ECAA:    9F 0F ED 6C    LJMP 0000ed6c
-    ECAC:    42 42          CMP  R1, #2
-    ECAD:    8E 02          XOR  PC, [BP+2]
-    ECAE:    9F 0F ED B4    LJMP 0000edb4
-    ECB0:    42 41          CMP  R1, #1
-    ECB1:    4E 02          JNZ  ecb4
-    ECB2:    9F 0F EC E1    LJMP 0000ece1
-    ECB4:    9F 0F EF B5    LJMP 0000efb5
-    ECB6:    42 46          CMP  R1, #6
-    ECB7:    4E 02          JNZ  ecba
-    ECB8:    9F 0F EE 29    LJMP 0000ee29
-    ECBA:    42 46          CMP  R1, #6
-    ECBB:    8E 02          XOR  PC, [BP+2]
-    ECBC:    9F 0F EE 42    LJMP 0000ee42
-    ECBE:    9F 0F EE 10    LJMP 0000ee10
-    ECC0:    42 4C          CMP  R1, #c
-    ECC1:    4E 02          JNZ  ecc4
-    ECC2:    9F 0F EF 7E    LJMP 0000ef7e
-    ECC4:    42 4C          CMP  R1, #c
-    ECC5:    8E 02          XOR  PC, [BP+2]
-    ECC6:    9F 0F EC D2    LJMP 0000ecd2
-    ECC8:    42 4A          CMP  R1, #a
-    ECC9:    4E 02          JNZ  eccc
-    ECCA:    9F 0F EE DB    LJMP 0000eedb
-    ECCC:    42 4A          CMP  R1, #a
-    ECCD:    8E 02          XOR  PC, [BP+2]
-    ECCE:    9F 0F EF 27    LJMP 0000ef27
-    ECD0:    9F 0F EE 92    LJMP 0000ee92
-    ECD2:    42 4E          CMP  R1, #e
-    ECD3:    4E 02          JNZ  ecd6
-    ECD4:    9F 0F EF A2    LJMP 0000efa2
-    ECD6:    42 4E          CMP  R1, #e
-    ECD7:    1E 02          ADC  PC, [BP+2]
-    ECD8:    9F 0F EF 96    LJMP 0000ef96
-    ECDA:    43 09 FF FF    CMP  R1, R1, #ffff
-    ECDC:    4E 02          JNZ  ecdf
-    ECDD:    9F 0F EF AD    LJMP 0000efad
-    ECDF:    9F 0F EF B5    LJMP 0000efb5
-    ECE1:    93 05          LD   R1, BP
-    ECE2:    05 0D 00 01    ADD  R2, BP, #1
-    ECE4:    99 02          LD   R4, R2
-    ECE5:    92 C4          LD   R1, [R4]
-    ECE6:    D2 C8          ST   R1, [SP--]
-    ECE7:    93 05          LD   R1, BP
-    ECE8:    05 0D 00 06    ADD  R2, BP, #6
-    ECEA:    97 02          LD   R3, R2
-    ECEB:    92 C3          LD   R1, [R3]
-    ECEC:    D2 C8          ST   R1, [SP--]
-    ECED:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    ECEF:    00 42          ADD  SP, #2
-    ECF0:    95 05          LD   R2, BP
-    ECF1:    07 0D 00 07    ADD  R3, BP, #7
-    ECF3:    99 03          LD   R4, R3
-    ECF4:    D2 C4          ST   R1, [R4]
-    ECF5:    93 05          LD   R1, BP
-    ECF6:    05 0D 00 06    ADD  R2, BP, #6
-    ECF8:    97 05          LD   R3, BP
-    ECF9:    03 0D 00 06    ADD  R1, BP, #6
-    ECFB:    95 05          LD   R2, BP
-    ECFC:    07 0D 00 06    ADD  R3, BP, #6
-    ECFE:    99 03          LD   R4, R3
-    ECFF:    94 C4          LD   R2, [R4]
-    ED00:    07 0A 00 01    ADD  R3, R2, #1
-    ED02:    95 01          LD   R2, R1
-    ED03:    D6 C2          ST   R3, [R2]
-    ED04:    93 05          LD   R1, BP
-    ED05:    05 0D 00 07    ADD  R2, BP, #7
-    ED07:    97 02          LD   R3, R2
-    ED08:    92 C3          LD   R1, [R3]
-    ED09:    D2 C8          ST   R1, [SP--]
-    ED0A:    F0 41 74 3F    CALL SET_PALETTE_256
-    ED0C:    00 41          ADD  SP, #1
-    ED0D:    93 05          LD   R1, BP
-    ED0E:    05 0D 00 01    ADD  R2, BP, #1
-    ED10:    99 02          LD   R4, R2
-    ED11:    92 C4          LD   R1, [R4]
-    ED12:    D2 C8          ST   R1, [SP--]
-    ED13:    93 05          LD   R1, BP
-    ED14:    05 0D 00 06    ADD  R2, BP, #6
-    ED16:    97 02          LD   R3, R2
-    ED17:    92 C3          LD   R1, [R3]
-    ED18:    D2 C8          ST   R1, [SP--]
-    ED19:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    ED1B:    00 42          ADD  SP, #2
-    ED1C:    95 05          LD   R2, BP
-    ED1D:    07 0D 00 07    ADD  R3, BP, #7
-    ED1F:    99 03          LD   R4, R3
-    ED20:    D2 C4          ST   R1, [R4]
-    ED21:    93 05          LD   R1, BP
-    ED22:    05 0D 00 06    ADD  R2, BP, #6
-    ED24:    97 05          LD   R3, BP
-    ED25:    03 0D 00 06    ADD  R1, BP, #6
-    ED27:    95 05          LD   R2, BP
-    ED28:    07 0D 00 06    ADD  R3, BP, #6
-    ED2A:    99 03          LD   R4, R3
-    ED2B:    94 C4          LD   R2, [R4]
-    ED2C:    07 0A 00 01    ADD  R3, R2, #1
-    ED2E:    95 01          LD   R2, R1
-    ED2F:    D6 C2          ST   R3, [R2]
-    ED30:    93 05          LD   R1, BP
-    ED31:    05 0D 00 07    ADD  R2, BP, #7
-    ED33:    97 02          LD   R3, R2
-    ED34:    92 C3          LD   R1, [R3]
-    ED35:    43 09 FF FF    CMP  R1, R1, #ffff
-    ED37:    5E 02          JZ   ed3a
-    ED38:    9F 0F ED 3C    LJMP 0000ed3c
-    ED3A:    9F 0F ED 6A    LJMP 0000ed6a
-    ED3C:    93 05          LD   R1, BP
-    ED3D:    05 0D 00 07    ADD  R2, BP, #7
-    ED3F:    99 02          LD   R4, R2
-    ED40:    92 C4          LD   R1, [R4]
-    ED41:    D2 C8          ST   R1, [SP--]
-    ED42:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    ED44:    00 41          ADD  SP, #1
-    ED45:    93 05          LD   R1, BP
-    ED46:    05 0D 00 01    ADD  R2, BP, #1
-    ED48:    97 02          LD   R3, R2
-    ED49:    92 C3          LD   R1, [R3]
-    ED4A:    D2 C8          ST   R1, [SP--]
-    ED4B:    93 05          LD   R1, BP
-    ED4C:    05 0D 00 06    ADD  R2, BP, #6
-    ED4E:    99 02          LD   R4, R2
-    ED4F:    92 C4          LD   R1, [R4]
-    ED50:    D2 C8          ST   R1, [SP--]
-    ED51:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    ED53:    00 42          ADD  SP, #2
-    ED54:    95 05          LD   R2, BP
-    ED55:    07 0D 00 07    ADD  R3, BP, #7
-    ED57:    95 03          LD   R2, R3
-    ED58:    D2 C2          ST   R1, [R2]
-    ED59:    93 05          LD   R1, BP
-    ED5A:    05 0D 00 06    ADD  R2, BP, #6
-    ED5C:    97 05          LD   R3, BP
-    ED5D:    03 0D 00 06    ADD  R1, BP, #6
-    ED5F:    95 05          LD   R2, BP
-    ED60:    07 0D 00 06    ADD  R3, BP, #6
-    ED62:    99 03          LD   R4, R3
-    ED63:    94 C4          LD   R2, [R4]
-    ED64:    07 0A 00 01    ADD  R3, R2, #1
-    ED66:    95 01          LD   R2, R1
-    ED67:    D6 C2          ST   R3, [R2]
-    ED68:    9F 0F ED 30    LJMP 0000ed30
-    ED6A:    9F 0F EF BD    LJMP 0000efbd
-    ED6C:    93 05          LD   R1, BP
-    ED6D:    05 0D 00 01    ADD  R2, BP, #1
-    ED6F:    97 02          LD   R3, R2
-    ED70:    92 C3          LD   R1, [R3]
-    ED71:    D2 C8          ST   R1, [SP--]
-    ED72:    93 05          LD   R1, BP
-    ED73:    05 0D 00 06    ADD  R2, BP, #6
-    ED75:    99 02          LD   R4, R2
-    ED76:    92 C4          LD   R1, [R4]
-    ED77:    D2 C8          ST   R1, [SP--]
-    ED78:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    ED7A:    00 42          ADD  SP, #2
-    ED7B:    95 05          LD   R2, BP
-    ED7C:    07 0D 00 07    ADD  R3, BP, #7
-    ED7E:    95 03          LD   R2, R3
-    ED7F:    D2 C2          ST   R1, [R2]
-    ED80:    93 05          LD   R1, BP
-    ED81:    05 0D 00 06    ADD  R2, BP, #6
-    ED83:    97 05          LD   R3, BP
-    ED84:    03 0D 00 06    ADD  R1, BP, #6
-    ED86:    95 05          LD   R2, BP
-    ED87:    07 0D 00 06    ADD  R3, BP, #6
-    ED89:    99 03          LD   R4, R3
-    ED8A:    94 C4          LD   R2, [R4]
-    ED8B:    07 0A 00 01    ADD  R3, R2, #1
-    ED8D:    95 01          LD   R2, R1
-    ED8E:    D6 C2          ST   R3, [R2]
-    ED8F:    93 05          LD   R1, BP
-    ED90:    05 0D 00 01    ADD  R2, BP, #1
-    ED92:    97 02          LD   R3, R2
-    ED93:    92 C3          LD   R1, [R3]
-    ED94:    D2 C8          ST   R1, [SP--]
-    ED95:    93 05          LD   R1, BP
-    ED96:    05 0D 00 06    ADD  R2, BP, #6
-    ED98:    99 02          LD   R4, R2
-    ED99:    92 C4          LD   R1, [R4]
-    ED9A:    D2 C8          ST   R1, [SP--]
-    ED9B:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    ED9D:    00 42          ADD  SP, #2
-    ED9E:    95 05          LD   R2, BP
-    ED9F:    07 0D 00 08    ADD  R3, BP, #8
-    EDA1:    95 03          LD   R2, R3
-    EDA2:    D2 C2          ST   R1, [R2]
-    EDA3:    93 05          LD   R1, BP
-    EDA4:    05 0D 00 08    ADD  R2, BP, #8
-    EDA6:    97 02          LD   R3, R2
-    EDA7:    92 C3          LD   R1, [R3]
-    EDA8:    D2 C8          ST   R1, [SP--]
-    EDA9:    93 05          LD   R1, BP
-    EDAA:    05 0D 00 07    ADD  R2, BP, #7
-    EDAC:    99 02          LD   R4, R2
-    EDAD:    92 C4          LD   R1, [R4]
-    EDAE:    D2 C8          ST   R1, [SP--]
-    EDAF:    F0 41 76 B0    CALL PALETTE_SETCOLOR
-    EDB1:    00 42          ADD  SP, #2
-    EDB2:    9F 0F EF BD    LJMP 0000efbd
-    EDB4:    93 05          LD   R1, BP
-    EDB5:    05 0D 00 01    ADD  R2, BP, #1
-    EDB7:    97 02          LD   R3, R2
-    EDB8:    92 C3          LD   R1, [R3]
-    EDB9:    D2 C8          ST   R1, [SP--]
-    EDBA:    93 05          LD   R1, BP
-    EDBB:    05 0D 00 06    ADD  R2, BP, #6
-    EDBD:    99 02          LD   R4, R2
-    EDBE:    92 C4          LD   R1, [R4]
-    EDBF:    D2 C8          ST   R1, [SP--]
-    EDC0:    F0 40 F6 9E    CALL 0000f69e
-    EDC2:    00 42          ADD  SP, #2
-    EDC3:    95 05          LD   R2, BP
-    EDC4:    07 0D 00 02    ADD  R3, BP, #2
-    EDC6:    95 03          LD   R2, R3
-    EDC7:    D2 C2          ST   R1, [R2]
-    EDC8:    93 05          LD   R1, BP
-    EDC9:    05 0D 00 02    ADD  R2, BP, #2
-    EDCB:    97 02          LD   R3, R2
-    EDCC:    92 C3          LD   R1, [R3]
-    EDCD:    42 41          CMP  R1, #1
-    EDCE:    5E 02          JZ   edd1
-    EDCF:    9F 0F ED E0    LJMP 0000ede0
-    EDD1:    93 05          LD   R1, BP
-    EDD2:    05 0D 00 09    ADD  R2, BP, #9
-    EDD4:    99 02          LD   R4, R2
-    EDD5:    92 C4          LD   R1, [R4]
-    EDD6:    42 40          CMP  R1, #0
-    EDD7:    4E 02          JNZ  edda
-    EDD8:    9F 0F ED E0    LJMP 0000ede0
-    EDDA:    93 05          LD   R1, BP
-    EDDB:    05 0D 00 09    ADD  R2, BP, #9
-    EDDD:    97 02          LD   R3, R2
-    EDDE:    92 C3          LD   R1, [R3]
-    EDDF:    D2 C5          ST   R1, [BP]
-    EDE0:    9F 0F EF BD    LJMP 0000efbd
-    EDE2:    93 05          LD   R1, BP
-    EDE3:    05 0D 00 01    ADD  R2, BP, #1
-    EDE5:    99 02          LD   R4, R2
-    EDE6:    92 C4          LD   R1, [R4]
-    EDE7:    D2 C8          ST   R1, [SP--]
-    EDE8:    93 05          LD   R1, BP
-    EDE9:    05 0D 00 06    ADD  R2, BP, #6
-    EDEB:    97 02          LD   R3, R2
-    EDEC:    92 C3          LD   R1, [R3]
-    EDED:    D2 C8          ST   R1, [SP--]
-    EDEE:    F0 40 F7 BC    CALL 0000f7bc
-    EDF0:    00 42          ADD  SP, #2
-    EDF1:    95 05          LD   R2, BP
-    EDF2:    07 0D 00 02    ADD  R3, BP, #2
-    EDF4:    99 03          LD   R4, R3
-    EDF5:    D2 C4          ST   R1, [R4]
-    EDF6:    93 05          LD   R1, BP
-    EDF7:    05 0D 00 02    ADD  R2, BP, #2
-    EDF9:    97 02          LD   R3, R2
-    EDFA:    92 C3          LD   R1, [R3]
-    EDFB:    42 41          CMP  R1, #1
-    EDFC:    5E 02          JZ   edff
-    EDFD:    9F 0F EE 0E    LJMP 0000ee0e
-    EDFF:    93 05          LD   R1, BP
-    EE00:    05 0D 00 09    ADD  R2, BP, #9
-    EE02:    99 02          LD   R4, R2
-    EE03:    92 C4          LD   R1, [R4]
-    EE04:    42 40          CMP  R1, #0
-    EE05:    4E 02          JNZ  ee08
-    EE06:    9F 0F EE 0E    LJMP 0000ee0e
-    EE08:    93 05          LD   R1, BP
-    EE09:    05 0D 00 09    ADD  R2, BP, #9
-    EE0B:    97 02          LD   R3, R2
-    EE0C:    92 C3          LD   R1, [R3]
-    EE0D:    D2 C5          ST   R1, [BP]
-    EE0E:    9F 0F EF BD    LJMP 0000efbd
-    EE10:    93 05          LD   R1, BP
-    EE11:    05 0D 00 06    ADD  R2, BP, #6
-    EE13:    99 02          LD   R4, R2
-    EE14:    92 C4          LD   R1, [R4]
-    EE15:    43 09 FF FF    CMP  R1, R1, #ffff
-    EE17:    5E 02          JZ   ee1a
-    EE18:    9F 0F EE 1E    LJMP 0000ee1e
-    EE1A:    F0 41 76 CF    CALL LAYERB_DISABLE
-    EE1C:    9F 0F EE 27    LJMP 0000ee27
-    EE1E:    93 05          LD   R1, BP
-    EE1F:    05 0D 00 06    ADD  R2, BP, #6
-    EE21:    97 02          LD   R3, R2
-    EE22:    92 C3          LD   R1, [R3]
-    EE23:    D2 C8          ST   R1, [SP--]
-    EE24:    F0 41 75 80    CALL ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
-    EE26:    00 41          ADD  SP, #1
-    EE27:    9F 0F EF BD    LJMP 0000efbd
-    EE29:    93 05          LD   R1, BP
-    EE2A:    05 0D 00 06    ADD  R2, BP, #6
-    EE2C:    99 02          LD   R4, R2
-    EE2D:    92 C4          LD   R1, [R4]
-    EE2E:    43 09 FF FF    CMP  R1, R1, #ffff
-    EE30:    5E 02          JZ   ee33
-    EE31:    9F 0F EE 37    LJMP 0000ee37
-    EE33:    F0 41 76 BE    CALL LAYERA_DISABLE
-    EE35:    9F 0F EE 40    LJMP 0000ee40
-    EE37:    93 05          LD   R1, BP
-    EE38:    05 0D 00 06    ADD  R2, BP, #6
-    EE3A:    97 02          LD   R3, R2
-    EE3B:    92 C3          LD   R1, [R3]
-    EE3C:    D2 C8          ST   R1, [SP--]
-    EE3D:    F0 41 73 AB    CALL SCREEN_DRAW
-    EE3F:    00 41          ADD  SP, #1
-    EE40:    9F 0F EF BD    LJMP 0000efbd
-    EE42:    93 05          LD   R1, BP
-    EE43:    05 0D 00 01    ADD  R2, BP, #1
-    EE45:    99 02          LD   R4, R2
-    EE46:    92 C4          LD   R1, [R4]
-    EE47:    D2 C8          ST   R1, [SP--]
-    EE48:    93 05          LD   R1, BP
-    EE49:    05 0D 00 06    ADD  R2, BP, #6
-    EE4B:    97 02          LD   R3, R2
-    EE4C:    92 C3          LD   R1, [R3]
-    EE4D:    D2 C8          ST   R1, [SP--]
-    EE4E:    F0 40 EF C2    CALL 0000efc2
-    EE50:    00 42          ADD  SP, #2
-    EE51:    9F 0F EF BD    LJMP 0000efbd
-    EE53:    93 05          LD   R1, BP
-    EE54:    05 0D 00 06    ADD  R2, BP, #6
-    EE56:    99 02          LD   R4, R2
-    EE57:    92 C4          LD   R1, [R4]
-    EE58:    42 40          CMP  R1, #0
-    EE59:    5E 02          JZ   ee5c
-    EE5A:    9F 0F EE 5E    LJMP 0000ee5e
-    EE5C:    9F 0F EE 90    LJMP 0000ee90
-    EE5E:    F0 41 96 32    CALL ___PROC_0055
-    EE60:    95 05          LD   R2, BP
-    EE61:    07 0D 00 02    ADD  R3, BP, #2
-    EE63:    95 03          LD   R2, R3
-    EE64:    D2 C2          ST   R1, [R2]
-    EE65:    93 05          LD   R1, BP
-    EE66:    05 0D 00 02    ADD  R2, BP, #2
-    EE68:    97 02          LD   R3, R2
-    EE69:    92 C3          LD   R1, [R3]
-    EE6A:    42 41          CMP  R1, #1
-    EE6B:    5E 02          JZ   ee6e
-    EE6C:    9F 0F EE 7D    LJMP 0000ee7d
-    EE6E:    93 05          LD   R1, BP
-    EE6F:    05 0D 00 09    ADD  R2, BP, #9
-    EE71:    99 02          LD   R4, R2
-    EE72:    92 C4          LD   R1, [R4]
-    EE73:    42 40          CMP  R1, #0
-    EE74:    4E 02          JNZ  ee77
-    EE75:    9F 0F EE 7D    LJMP 0000ee7d
-    EE77:    93 05          LD   R1, BP
-    EE78:    05 0D 00 09    ADD  R2, BP, #9
-    EE7A:    97 02          LD   R3, R2
-    EE7B:    92 C3          LD   R1, [R3]
-    EE7C:    D2 C5          ST   R1, [BP]
-    EE7D:    F0 40 F6 06    CALL ___PROC_0012
-    EE7F:    93 05          LD   R1, BP
-    EE80:    05 0D 00 06    ADD  R2, BP, #6
-    EE82:    97 05          LD   R3, BP
-    EE83:    03 0D 00 06    ADD  R1, BP, #6
-    EE85:    95 05          LD   R2, BP
-    EE86:    07 0D 00 06    ADD  R3, BP, #6
-    EE88:    99 03          LD   R4, R3
-    EE89:    94 C4          LD   R2, [R4]
-    EE8A:    07 0A FF FF    ADD  R3, R2, #ffff
-    EE8C:    95 01          LD   R2, R1
-    EE8D:    D6 C2          ST   R3, [R2]
-    EE8E:    9F 0F EE 53    LJMP 0000ee53
-    EE90:    9F 0F EF BD    LJMP 0000efbd
-    EE92:    93 05          LD   R1, BP
-    EE93:    05 0D 00 01    ADD  R2, BP, #1
-    EE95:    97 02          LD   R3, R2
-    EE96:    92 C3          LD   R1, [R3]
-    EE97:    D2 C8          ST   R1, [SP--]
-    EE98:    93 05          LD   R1, BP
-    EE99:    05 0D 00 06    ADD  R2, BP, #6
-    EE9B:    99 02          LD   R4, R2
-    EE9C:    92 C4          LD   R1, [R4]
-    EE9D:    D2 C8          ST   R1, [SP--]
-    EE9E:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EEA0:    00 42          ADD  SP, #2
-    EEA1:    95 05          LD   R2, BP
-    EEA2:    07 0D 00 07    ADD  R3, BP, #7
-    EEA4:    95 03          LD   R2, R3
-    EEA5:    D2 C2          ST   R1, [R2]
-    EEA6:    93 05          LD   R1, BP
-    EEA7:    05 0D 00 06    ADD  R2, BP, #6
-    EEA9:    97 05          LD   R3, BP
-    EEAA:    03 0D 00 06    ADD  R1, BP, #6
-    EEAC:    95 05          LD   R2, BP
-    EEAD:    07 0D 00 06    ADD  R3, BP, #6
-    EEAF:    99 03          LD   R4, R3
-    EEB0:    94 C4          LD   R2, [R4]
-    EEB1:    07 0A 00 01    ADD  R3, R2, #1
-    EEB3:    95 01          LD   R2, R1
-    EEB4:    D6 C2          ST   R3, [R2]
-    EEB5:    93 05          LD   R1, BP
-    EEB6:    05 0D 00 01    ADD  R2, BP, #1
-    EEB8:    97 02          LD   R3, R2
-    EEB9:    92 C3          LD   R1, [R3]
-    EEBA:    D2 C8          ST   R1, [SP--]
-    EEBB:    93 05          LD   R1, BP
-    EEBC:    05 0D 00 06    ADD  R2, BP, #6
-    EEBE:    99 02          LD   R4, R2
-    EEBF:    92 C4          LD   R1, [R4]
-    EEC0:    D2 C8          ST   R1, [SP--]
-    EEC1:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EEC3:    00 42          ADD  SP, #2
-    EEC4:    95 05          LD   R2, BP
-    EEC5:    07 0D 00 08    ADD  R3, BP, #8
-    EEC7:    95 03          LD   R2, R3
-    EEC8:    D2 C2          ST   R1, [R2]
-    EEC9:    95 05          LD   R2, BP
-    EECA:    03 0D 00 01    ADD  R1, BP, #1
-    EECC:    95 05          LD   R2, BP
-    EECD:    07 0D 00 08    ADD  R3, BP, #8
-    EECF:    99 03          LD   R4, R3
-    EED0:    94 C4          LD   R2, [R4]
-    EED1:    97 01          LD   R3, R1
-    EED2:    D4 C3          ST   R2, [R3]
-    EED3:    93 05          LD   R1, BP
-    EED4:    05 0D 00 07    ADD  R2, BP, #7
-    EED6:    99 02          LD   R4, R2
-    EED7:    92 C4          LD   R1, [R4]
-    EED8:    D2 C5          ST   R1, [BP]
-    EED9:    9F 0F EF BD    LJMP 0000efbd
-    EEDB:    93 05          LD   R1, BP
-    EEDC:    05 0D 00 01    ADD  R2, BP, #1
-    EEDE:    97 02          LD   R3, R2
-    EEDF:    92 C3          LD   R1, [R3]
-    EEE0:    D2 C8          ST   R1, [SP--]
-    EEE1:    93 05          LD   R1, BP
-    EEE2:    05 0D 00 06    ADD  R2, BP, #6
-    EEE4:    99 02          LD   R4, R2
-    EEE5:    92 C4          LD   R1, [R4]
-    EEE6:    D2 C8          ST   R1, [SP--]
-    EEE7:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EEE9:    00 42          ADD  SP, #2
-    EEEA:    95 05          LD   R2, BP
-    EEEB:    07 0D 00 07    ADD  R3, BP, #7
-    EEED:    95 03          LD   R2, R3
-    EEEE:    D2 C2          ST   R1, [R2]
-    EEEF:    93 05          LD   R1, BP
-    EEF0:    05 0D 00 06    ADD  R2, BP, #6
-    EEF2:    97 05          LD   R3, BP
-    EEF3:    03 0D 00 06    ADD  R1, BP, #6
-    EEF5:    95 05          LD   R2, BP
-    EEF6:    07 0D 00 06    ADD  R3, BP, #6
-    EEF8:    99 03          LD   R4, R3
-    EEF9:    94 C4          LD   R2, [R4]
-    EEFA:    07 0A 00 01    ADD  R3, R2, #1
-    EEFC:    95 01          LD   R2, R1
-    EEFD:    D6 C2          ST   R3, [R2]
-    EEFE:    93 05          LD   R1, BP
-    EEFF:    05 0D 00 01    ADD  R2, BP, #1
-    EF01:    97 02          LD   R3, R2
-    EF02:    92 C3          LD   R1, [R3]
-    EF03:    D2 C8          ST   R1, [SP--]
-    EF04:    93 05          LD   R1, BP
-    EF05:    05 0D 00 06    ADD  R2, BP, #6
-    EF07:    99 02          LD   R4, R2
-    EF08:    92 C4          LD   R1, [R4]
-    EF09:    D2 C8          ST   R1, [SP--]
-    EF0A:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EF0C:    00 42          ADD  SP, #2
-    EF0D:    95 05          LD   R2, BP
-    EF0E:    07 0D 00 08    ADD  R3, BP, #8
-    EF10:    95 03          LD   R2, R3
-    EF11:    D2 C2          ST   R1, [R2]
-    EF12:    92 43          LD   R1, #3
-    EF13:    D2 C8          ST   R1, [SP--]
-    EF14:    92 41          LD   R1, #1
-    EF15:    D2 C8          ST   R1, [SP--]
-    EF16:    93 05          LD   R1, BP
-    EF17:    05 0D 00 08    ADD  R2, BP, #8
-    EF19:    97 02          LD   R3, R2
-    EF1A:    92 C3          LD   R1, [R3]
-    EF1B:    D2 C8          ST   R1, [SP--]
-    EF1C:    93 05          LD   R1, BP
-    EF1D:    05 0D 00 07    ADD  R2, BP, #7
-    EF1F:    99 02          LD   R4, R2
-    EF20:    92 C4          LD   R1, [R4]
-    EF21:    D2 C8          ST   R1, [SP--]
-    EF22:    F0 41 25 30    CALL 00012530
-    EF24:    00 44          ADD  SP, #4
-    EF25:    9F 0F EF BD    LJMP 0000efbd
-    EF27:    F0 41 96 76    CALL getTimer
-    EF29:    95 05          LD   R2, BP
-    EF2A:    07 0D 00 04    ADD  R3, BP, #4
-    EF2C:    95 03          LD   R2, R3
-    EF2D:    D2 C2          ST   R1, [R2]
-    EF2E:    93 05          LD   R1, BP
-    EF2F:    05 0D 00 05    ADD  R2, BP, #5
-    EF31:    92 40          LD   R1, #0
-    EF32:    97 02          LD   R3, R2
-    EF33:    D2 C3          ST   R1, [R3]
-    EF34:    95 05          LD   R2, BP
-    EF35:    03 0D 00 05    ADD  R1, BP, #5
-    EF37:    95 05          LD   R2, BP
-    EF38:    07 0D 00 06    ADD  R3, BP, #6
-    EF3A:    99 01          LD   R4, R1
-    EF3B:    92 C4          LD   R1, [R4]
-    EF3C:    95 03          LD   R2, R3
-    EF3D:    42 C2          CMP  R1, [R2]
-    EF3E:    1E 02          ADC  PC, [BP+2]
-    EF3F:    9F 0F EF 43    LJMP 0000ef43
-    EF41:    9F 0F EF 7C    LJMP 0000ef7c
-    EF43:    F0 41 96 32    CALL ___PROC_0055
-    EF45:    95 05          LD   R2, BP
-    EF46:    07 0D 00 02    ADD  R3, BP, #2
-    EF48:    99 03          LD   R4, R3
-    EF49:    D2 C4          ST   R1, [R4]
-    EF4A:    93 05          LD   R1, BP
-    EF4B:    05 0D 00 02    ADD  R2, BP, #2
-    EF4D:    97 02          LD   R3, R2
-    EF4E:    92 C3          LD   R1, [R3]
-    EF4F:    42 41          CMP  R1, #1
-    EF50:    5E 02          JZ   ef53
-    EF51:    9F 0F EF 62    LJMP 0000ef62
-    EF53:    93 05          LD   R1, BP
-    EF54:    05 0D 00 09    ADD  R2, BP, #9
-    EF56:    99 02          LD   R4, R2
-    EF57:    92 C4          LD   R1, [R4]
-    EF58:    42 40          CMP  R1, #0
-    EF59:    4E 02          JNZ  ef5c
-    EF5A:    9F 0F EF 62    LJMP 0000ef62
-    EF5C:    93 05          LD   R1, BP
-    EF5D:    05 0D 00 09    ADD  R2, BP, #9
-    EF5F:    97 02          LD   R3, R2
-    EF60:    92 C3          LD   R1, [R3]
-    EF61:    D2 C5          ST   R1, [BP]
-    EF62:    F0 41 96 76    CALL getTimer
-    EF64:    95 05          LD   R2, BP
-    EF65:    07 0D 00 05    ADD  R3, BP, #5
-    EF67:    99 03          LD   R4, R3
-    EF68:    D2 C4          ST   R1, [R4]
-    EF69:    95 05          LD   R2, BP
-    EF6A:    03 0D 00 05    ADD  R1, BP, #5
-    EF6C:    97 05          LD   R3, BP
-    EF6D:    05 0D 00 05    ADD  R2, BP, #5
-    EF6F:    99 05          LD   R4, BP
-    EF70:    07 0D 00 04    ADD  R3, BP, #4
-    EF72:    99 02          LD   R4, R2
-    EF73:    98 C4          LD   R4, [R4]
-    EF74:    D8 0C          ST   R4, [BP+c]
-    EF75:    94 0C          LD   R2, [BP+c]
-    EF76:    99 03          LD   R4, R3
-    EF77:    24 C4          SUB  R2, [R4]
-    EF78:    97 01          LD   R3, R1
-    EF79:    D4 C3          ST   R2, [R3]
-    EF7A:    9F 0F EF 34    LJMP 0000ef34
-    EF7C:    9F 0F EF BD    LJMP 0000efbd
-    EF7E:    F0 40 F6 06    CALL ___PROC_0012
-    EF80:    D2 88          PUSH R1-R1, [SP]
-    EF81:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    EF83:    B3 09 FF F9    AND  R1, R1, #fff9
-    EF85:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    EF87:    90 88          POP  R1-R1, [SP]
-    EF88:    F0 40 F6 06    CALL ___PROC_0012
-    EF8A:    F0 40 F6 06    CALL ___PROC_0012
-    EF8C:    D2 88          PUSH R1-R1, [SP]
-    EF8D:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    EF8F:    B3 09 FF BF    AND  R1, R1, #ffbf
-    EF91:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    EF93:    90 88          POP  R1-R1, [SP]
-    EF94:    9F 0F EF BD    LJMP 0000efbd
-    EF96:    95 05          LD   R2, BP
-    EF97:    03 0D 00 09    ADD  R1, BP, #9
-    EF99:    95 05          LD   R2, BP
-    EF9A:    07 0D 00 06    ADD  R3, BP, #6
-    EF9C:    99 03          LD   R4, R3
-    EF9D:    94 C4          LD   R2, [R4]
-    EF9E:    97 01          LD   R3, R1
-    EF9F:    D4 C3          ST   R2, [R3]
-    EFA0:    9F 0F EF BD    LJMP 0000efbd
-    EFA2:    93 05          LD   R1, BP
-    EFA3:    05 0D 00 06    ADD  R2, BP, #6
-    EFA5:    99 02          LD   R4, R2
-    EFA6:    92 C4          LD   R1, [R4]
-    EFA7:    D2 C8          ST   R1, [SP--]
-    EFA8:    F0 41 79 CA    CALL PALETTE_SINGLECOLOR
-    EFAA:    00 41          ADD  SP, #1
-    EFAB:    9F 0F EF BD    LJMP 0000efbd
-    EFAD:    93 05          LD   R1, BP
-    EFAE:    05 0D 00 0A    ADD  R2, BP, #a
-    EFB0:    62 41          NEG  R1, #1
-    EFB1:    97 02          LD   R3, R2
-    EFB2:    D2 C3          ST   R1, [R3]
-    EFB3:    9F 0F EF BD    LJMP 0000efbd
-    EFB5:    93 05          LD   R1, BP
-    EFB6:    05 0D 00 0A    ADD  R2, BP, #a
-    EFB8:    62 41          NEG  R1, #1
-    EFB9:    99 02          LD   R4, R2
-    EFBA:    D2 C4          ST   R1, [R4]
-    EFBB:    9F 0F EF BD    LJMP 0000efbd
-    EFBD:    9F 0F EC 60    LJMP 0000ec60
-    EFBF:    00 4D          ADD  SP, #d
-    EFC0:    98 88          POP  BP-BP, [SP]
-    EFC1:    9A 90          RETF 
-    EFC2:    DA 88          PUSH BP-BP, [SP]
-    EFC3:    20 46          SUB  SP, #6
-    EFC4:    0B 08 00 01    ADD  BP, SP, #1
-    EFC6:    03 0D 00 09    ADD  R1, BP, #9
-    EFC8:    D2 05          ST   R1, [BP+5]
-    EFC9:    95 05          LD   R2, BP
-    EFCA:    07 0D 00 01    ADD  R3, BP, #1
-    EFCC:    95 03          LD   R2, R3
-    EFCD:    92 41          LD   R1, #1
-    EFCE:    D2 C2          ST   R1, [R2]
-    EFCF:    93 09 A2 24    LD   R1, #a224
-    EFD1:    D2 C5          ST   R1, [BP]
-    EFD2:    92 05          LD   R1, [BP+5]
-    EFD3:    96 05          LD   R3, [BP+5]
-    EFD4:    05 0B 00 01    ADD  R2, R3, #1
-    EFD6:    97 02          LD   R3, R2
-    EFD7:    92 C3          LD   R1, [R3]
-    EFD8:    D2 C8          ST   R1, [SP--]
-    EFD9:    94 05          LD   R2, [BP+5]
-    EFDA:    92 C2          LD   R1, [R2]
-    EFDB:    D2 C8          ST   R1, [SP--]
-    EFDC:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    EFDE:    00 42          ADD  SP, #2
-    EFDF:    95 05          LD   R2, BP
-    EFE0:    07 0D 00 02    ADD  R3, BP, #2
-    EFE2:    95 03          LD   R2, R3
-    EFE3:    D2 C2          ST   R1, [R2]
-    EFE4:    96 05          LD   R3, [BP+5]
-    EFE5:    92 C3          LD   R1, [R3]
-    EFE6:    05 09 00 01    ADD  R2, R1, #1
-    EFE8:    92 05          LD   R1, [BP+5]
-    EFE9:    D4 C1          ST   R2, [R1]
-    EFEA:    93 05          LD   R1, BP
-    EFEB:    05 0D 00 02    ADD  R2, BP, #2
-    EFED:    97 02          LD   R3, R2
-    EFEE:    92 C3          LD   R1, [R3]
-    EFEF:    43 09 FF FF    CMP  R1, R1, #ffff
-    EFF1:    5E 02          JZ   eff4
-    EFF2:    9F 0F EF F6    LJMP 0000eff6
-    EFF4:    9F 0F F0 5E    LJMP 0000f05e
-    EFF6:    92 05          LD   R1, [BP+5]
-    EFF7:    92 05          LD   R1, [BP+5]
-    EFF8:    05 09 00 01    ADD  R2, R1, #1
-    EFFA:    97 02          LD   R3, R2
-    EFFB:    92 C3          LD   R1, [R3]
-    EFFC:    D2 C8          ST   R1, [SP--]
-    EFFD:    94 05          LD   R2, [BP+5]
-    EFFE:    92 C2          LD   R1, [R2]
-    EFFF:    D2 C8          ST   R1, [SP--]
-    F000:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F002:    00 42          ADD  SP, #2
-    F003:    95 05          LD   R2, BP
-    F004:    07 0D 00 03    ADD  R3, BP, #3
-    F006:    95 03          LD   R2, R3
-    F007:    D2 C2          ST   R1, [R2]
-    F008:    96 05          LD   R3, [BP+5]
-    F009:    92 C3          LD   R1, [R3]
-    F00A:    05 09 00 01    ADD  R2, R1, #1
-    F00C:    92 05          LD   R1, [BP+5]
-    F00D:    D4 C1          ST   R2, [R1]
-    F00E:    92 05          LD   R1, [BP+5]
-    F00F:    96 05          LD   R3, [BP+5]
-    F010:    05 0B 00 01    ADD  R2, R3, #1
-    F012:    97 02          LD   R3, R2
-    F013:    92 C3          LD   R1, [R3]
-    F014:    D2 C8          ST   R1, [SP--]
-    F015:    94 05          LD   R2, [BP+5]
-    F016:    92 C2          LD   R1, [R2]
-    F017:    D2 C8          ST   R1, [SP--]
-    F018:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F01A:    00 42          ADD  SP, #2
-    F01B:    95 05          LD   R2, BP
-    F01C:    07 0D 00 04    ADD  R3, BP, #4
-    F01E:    95 03          LD   R2, R3
-    F01F:    D2 C2          ST   R1, [R2]
-    F020:    96 05          LD   R3, [BP+5]
-    F021:    92 C3          LD   R1, [R3]
-    F022:    05 09 00 01    ADD  R2, R1, #1
-    F024:    92 05          LD   R1, [BP+5]
-    F025:    D4 C1          ST   R2, [R1]
-    F026:    93 05          LD   R1, BP
-    F027:    05 0D 00 04    ADD  R2, BP, #4
-    F029:    97 02          LD   R3, R2
-    F02A:    92 C3          LD   R1, [R3]
-    F02B:    D2 C8          ST   R1, [SP--]
-    F02C:    93 05          LD   R1, BP
-    F02D:    05 0D 00 03    ADD  R2, BP, #3
-    F02F:    97 02          LD   R3, R2
-    F030:    92 C3          LD   R1, [R3]
-    F031:    D2 C8          ST   R1, [SP--]
-    F032:    93 05          LD   R1, BP
-    F033:    05 0D 00 02    ADD  R2, BP, #2
-    F035:    97 02          LD   R3, R2
-    F036:    92 C3          LD   R1, [R3]
-    F037:    D2 C8          ST   R1, [SP--]
-    F038:    93 05          LD   R1, BP
-    F039:    05 0D 00 01    ADD  R2, BP, #1
-    F03B:    97 02          LD   R3, R2
-    F03C:    92 C3          LD   R1, [R3]
-    F03D:    D2 C8          ST   R1, [SP--]
-    F03E:    92 C5          LD   R1, [BP]
-    F03F:    D2 C8          ST   R1, [SP--]
-    F040:    F0 41 A1 13    CALL ___PROC_0060
-    F042:    00 45          ADD  SP, #5
-    F043:    D2 C5          ST   R1, [BP]
-    F044:    92 05          LD   R1, [BP+5]
-    F045:    92 05          LD   R1, [BP+5]
-    F046:    05 09 00 01    ADD  R2, R1, #1
-    F048:    97 02          LD   R3, R2
-    F049:    92 C3          LD   R1, [R3]
-    F04A:    D2 C8          ST   R1, [SP--]
-    F04B:    94 05          LD   R2, [BP+5]
-    F04C:    92 C2          LD   R1, [R2]
-    F04D:    D2 C8          ST   R1, [SP--]
-    F04E:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F050:    00 42          ADD  SP, #2
-    F051:    95 05          LD   R2, BP
-    F052:    07 0D 00 02    ADD  R3, BP, #2
-    F054:    95 03          LD   R2, R3
-    F055:    D2 C2          ST   R1, [R2]
-    F056:    96 05          LD   R3, [BP+5]
-    F057:    92 C3          LD   R1, [R3]
-    F058:    05 09 00 01    ADD  R2, R1, #1
-    F05A:    92 05          LD   R1, [BP+5]
-    F05B:    D4 C1          ST   R2, [R1]
-    F05C:    9F 0F EF EA    LJMP 0000efea
-    F05E:    93 05          LD   R1, BP
-    F05F:    05 0D 00 01    ADD  R2, BP, #1
-    F061:    97 02          LD   R3, R2
-    F062:    92 C3          LD   R1, [R3]
-    F063:    D2 C8          ST   R1, [SP--]
-    F064:    92 C5          LD   R1, [BP]
-    F065:    D2 C8          ST   R1, [SP--]
-    F066:    F0 41 A1 99    CALL 0001a199
-    F068:    00 42          ADD  SP, #2
-    F069:    F0 41 79 44    CALL ___PROC_0038
-    F06B:    00 46          ADD  SP, #6
-    F06C:    98 88          POP  BP-BP, [SP]
-    F06D:    9A 90          RETF 
-    F06E:    DA 88          PUSH BP-BP, [SP]
-    F06F:    20 56          SUB  SP, #16
-    F070:    0B 08 00 01    ADD  BP, SP, #1
-    F072:    03 0D 00 19    ADD  R1, BP, #19
-    F074:    D2 12          ST   R1, [BP+12]
-    F075:    93 11 08 7F    LD   R1, [087f]
-    F077:    43 09 FF FF    CMP  R1, R1, #ffff
-    F079:    5E 02          JZ   f07c
-    F07A:    9F 0F F0 94    LJMP 0000f094
-    F07C:    F0 40 F6 06    CALL ___PROC_0012
-    F07E:    D2 88          PUSH R1-R1, [SP]
-    F07F:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    F081:    B3 09 FF F9    AND  R1, R1, #fff9
-    F083:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    F085:    90 88          POP  R1-R1, [SP]
-    F086:    F0 40 F6 06    CALL ___PROC_0012
-    F088:    F0 40 F6 06    CALL ___PROC_0012
-    F08A:    D2 88          PUSH R1-R1, [SP]
-    F08B:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    F08D:    B3 09 FF BF    AND  R1, R1, #ffbf
-    F08F:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    F091:    90 88          POP  R1-R1, [SP]
-    F092:    9F 0F F6 03    LJMP 0000f603
-    F094:    95 05          LD   R2, BP
-    F095:    07 0D 00 01    ADD  R3, BP, #1
-    F097:    95 03          LD   R2, R3
-    F098:    92 41          LD   R1, #1
-    F099:    D2 C2          ST   R1, [R2]
-    F09A:    93 09 00 26    LD   R1, #26
-    F09C:    D2 C5          ST   R1, [BP]
-    F09D:    93 05          LD   R1, BP
-    F09E:    05 0D 00 01    ADD  R2, BP, #1
-    F0A0:    97 02          LD   R3, R2
-    F0A1:    92 C3          LD   R1, [R3]
-    F0A2:    D2 C8          ST   R1, [SP--]
-    F0A3:    92 C5          LD   R1, [BP]
-    F0A4:    D2 C8          ST   R1, [SP--]
-    F0A5:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F0A7:    00 42          ADD  SP, #2
-    F0A8:    95 05          LD   R2, BP
-    F0A9:    07 0D 00 05    ADD  R3, BP, #5
-    F0AB:    99 03          LD   R4, R3
-    F0AC:    D2 C4          ST   R1, [R4]
-    F0AD:    92 C5          LD   R1, [BP]
-    F0AE:    05 09 00 01    ADD  R2, R1, #1
-    F0B0:    D4 C5          ST   R2, [BP]
-    F0B1:    F0 40 E9 4B    CALL OR_088B_1
-    F0B3:    F0 40 E9 63    CALL WAIT_UNTIL_08BB_EQUAL_0
-    F0B5:    93 05          LD   R1, BP
-    F0B6:    05 0D 00 01    ADD  R2, BP, #1
-    F0B8:    97 02          LD   R3, R2
-    F0B9:    92 C3          LD   R1, [R3]
-    F0BA:    D2 C8          ST   R1, [SP--]
-    F0BB:    92 C5          LD   R1, [BP]
-    F0BC:    D2 C8          ST   R1, [SP--]
-    F0BD:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F0BF:    00 42          ADD  SP, #2
-    F0C0:    95 05          LD   R2, BP
-    F0C1:    07 0D 00 0E    ADD  R3, BP, #e
-    F0C3:    99 03          LD   R4, R3
-    F0C4:    D2 C4          ST   R1, [R4]
-    F0C5:    95 05          LD   R2, BP
-    F0C6:    03 0D 00 0E    ADD  R1, BP, #e
-    F0C8:    95 05          LD   R2, BP
-    F0C9:    07 0D 00 0E    ADD  R3, BP, #e
-    F0CB:    99 03          LD   R4, R3
-    F0CC:    94 C4          LD   R2, [R4]
-    F0CD:    07 0A FF FC    ADD  R3, R2, #fffc
-    F0CF:    95 01          LD   R2, R1
-    F0D0:    D6 C2          ST   R3, [R2]
-    F0D1:    93 05          LD   R1, BP
-    F0D2:    05 0D 00 01    ADD  R2, BP, #1
-    F0D4:    97 02          LD   R3, R2
-    F0D5:    92 C3          LD   R1, [R3]
-    F0D6:    D2 C8          ST   R1, [SP--]
-    F0D7:    93 05          LD   R1, BP
-    F0D8:    05 0D 00 0E    ADD  R2, BP, #e
-    F0DA:    99 02          LD   R4, R2
-    F0DB:    92 C4          LD   R1, [R4]
-    F0DC:    D2 C8          ST   R1, [SP--]
-    F0DD:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F0DF:    00 42          ADD  SP, #2
-    F0E0:    95 05          LD   R2, BP
-    F0E1:    07 0D 00 09    ADD  R3, BP, #9
-    F0E3:    95 03          LD   R2, R3
-    F0E4:    D2 C2          ST   R1, [R2]
-    F0E5:    95 05          LD   R2, BP
-    F0E6:    03 0D 00 0E    ADD  R1, BP, #e
-    F0E8:    95 05          LD   R2, BP
-    F0E9:    07 0D 00 0E    ADD  R3, BP, #e
-    F0EB:    99 03          LD   R4, R3
-    F0EC:    94 C4          LD   R2, [R4]
-    F0ED:    07 0A 00 02    ADD  R3, R2, #2
-    F0EF:    95 01          LD   R2, R1
-    F0F0:    D6 C2          ST   R3, [R2]
-    F0F1:    93 05          LD   R1, BP
-    F0F2:    05 0D 00 01    ADD  R2, BP, #1
-    F0F4:    97 02          LD   R3, R2
-    F0F5:    92 C3          LD   R1, [R3]
-    F0F6:    D2 C8          ST   R1, [SP--]
-    F0F7:    93 05          LD   R1, BP
-    F0F8:    05 0D 00 0E    ADD  R2, BP, #e
-    F0FA:    99 02          LD   R4, R2
-    F0FB:    92 C4          LD   R1, [R4]
-    F0FC:    D2 C8          ST   R1, [SP--]
-    F0FD:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F0FF:    00 42          ADD  SP, #2
-    F100:    95 05          LD   R2, BP
-    F101:    07 0D 00 0A    ADD  R3, BP, #a
-    F103:    95 03          LD   R2, R3
-    F104:    D2 C2          ST   R1, [R2]
-    F105:    95 05          LD   R2, BP
-    F106:    03 0D 00 0A    ADD  R1, BP, #a
-    F108:    95 05          LD   R2, BP
-    F109:    07 0D 00 0A    ADD  R3, BP, #a
-    F10B:    99 03          LD   R4, R3
-    F10C:    94 C4          LD   R2, [R4]
-    F10D:    B7 0A 7F FF    AND  R3, R2, #7fff
-    F10F:    95 01          LD   R2, R1
-    F110:    D6 C2          ST   R3, [R2]
-    F111:    95 05          LD   R2, BP
-    F112:    03 0D 00 0E    ADD  R1, BP, #e
-    F114:    95 05          LD   R2, BP
-    F115:    07 0D 00 0E    ADD  R3, BP, #e
-    F117:    99 03          LD   R4, R3
-    F118:    94 C4          LD   R2, [R4]
-    F119:    07 0A 00 01    ADD  R3, R2, #1
-    F11B:    95 01          LD   R2, R1
-    F11C:    D6 C2          ST   R3, [R2]
-    F11D:    93 05          LD   R1, BP
-    F11E:    05 0D 00 01    ADD  R2, BP, #1
-    F120:    97 02          LD   R3, R2
-    F121:    92 C3          LD   R1, [R3]
-    F122:    D2 C8          ST   R1, [SP--]
-    F123:    93 05          LD   R1, BP
-    F124:    05 0D 00 0E    ADD  R2, BP, #e
-    F126:    99 02          LD   R4, R2
-    F127:    92 C4          LD   R1, [R4]
-    F128:    D2 C8          ST   R1, [SP--]
-    F129:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F12B:    00 42          ADD  SP, #2
-    F12C:    95 05          LD   R2, BP
-    F12D:    07 0D 00 0B    ADD  R3, BP, #b
-    F12F:    95 03          LD   R2, R3
-    F130:    D2 C2          ST   R1, [R2]
-    F131:    95 05          LD   R2, BP
-    F132:    03 0D 00 0E    ADD  R1, BP, #e
-    F134:    95 05          LD   R2, BP
-    F135:    07 0D 00 0E    ADD  R3, BP, #e
-    F137:    99 03          LD   R4, R3
-    F138:    94 C4          LD   R2, [R4]
-    F139:    07 0A 00 01    ADD  R3, R2, #1
-    F13B:    95 01          LD   R2, R1
-    F13C:    D6 C2          ST   R3, [R2]
-    F13D:    93 09 7F FF    LD   R1, #7fff
-    F13F:    D2 C8          ST   R1, [SP--]
-    F140:    93 05          LD   R1, BP
-    F141:    05 0D 00 09    ADD  R2, BP, #9
-    F143:    97 02          LD   R3, R2
-    F144:    92 C3          LD   R1, [R3]
-    F145:    D2 C8          ST   R1, [SP--]
-    F146:    92 40          LD   R1, #0
-    F147:    D2 C8          ST   R1, [SP--]
-    F148:    F0 41 76 7A    CALL ___PROC_0034
-    F14A:    00 43          ADD  SP, #3
-    F14B:    F0 40 F6 06    CALL ___PROC_0012
-    F14D:    93 05          LD   R1, BP
-    F14E:    05 0D 00 05    ADD  R2, BP, #5
-    F150:    99 02          LD   R4, R2
-    F151:    92 C4          LD   R1, [R4]
-    F152:    43 09 FF FF    CMP  R1, R1, #ffff
-    F154:    4E 02          JNZ  f157
-    F155:    9F 0F F1 62    LJMP 0000f162
-    F157:    F0 40 F6 06    CALL ___PROC_0012
-    F159:    93 05          LD   R1, BP
-    F15A:    05 0D 00 05    ADD  R2, BP, #5
-    F15C:    97 02          LD   R3, R2
-    F15D:    92 C3          LD   R1, [R3]
-    F15E:    D2 C8          ST   R1, [SP--]
-    F15F:    F0 41 75 80    CALL ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
-    F161:    00 41          ADD  SP, #1
-    F162:    F0 40 F6 06    CALL ___PROC_0012
-    F164:    D2 88          PUSH R1-R1, [SP]
-    F165:    93 11 3D 20    LD   R1, [R_SYSTEM_CTRL]
-    F167:    B3 09 FF F9    AND  R1, R1, #fff9
-    F169:    D3 19 3D 20    ST   R1, [R_SYSTEM_CTRL]
-    F16B:    90 88          POP  R1-R1, [SP]
-    F16C:    F0 40 F6 06    CALL ___PROC_0012
-    F16E:    F0 40 F6 06    CALL ___PROC_0012
-    F170:    D2 88          PUSH R1-R1, [SP]
-    F171:    93 11 3D 0C    LD   R1, [R_IOC_BUFFER]
-    F173:    B3 09 FF BF    AND  R1, R1, #ffbf
-    F175:    D3 19 3D 0B    ST   R1, [R_IOC_DATA]
-    F177:    90 88          POP  R1-R1, [SP]
-    F178:    93 05          LD   R1, BP
-    F179:    05 0D 00 09    ADD  R2, BP, #9
-    F17B:    99 02          LD   R4, R2
-    F17C:    92 C4          LD   R1, [R4]
-    F17D:    D2 C8          ST   R1, [SP--]
-    F17E:    F0 40 F6 16    CALL ___PROC_0013
-    F180:    00 41          ADD  SP, #1
-    F181:    95 05          LD   R2, BP
-    F182:    07 0D 00 04    ADD  R3, BP, #4
-    F184:    95 03          LD   R2, R3
-    F185:    D2 C2          ST   R1, [R2]
-    F186:    93 05          LD   R1, BP
-    F187:    05 0D 00 04    ADD  R2, BP, #4
-    F189:    97 02          LD   R3, R2
-    F18A:    92 C3          LD   R1, [R3]
-    F18B:    42 41          CMP  R1, #1
-    F18C:    5E 02          JZ   f18f
-    F18D:    9F 0F F1 91    LJMP 0000f191
-    F18F:    9F 0F F5 D4    LJMP 0000f5d4
-    F191:    92 C5          LD   R1, [BP]
-    F192:    05 09 00 01    ADD  R2, R1, #1
-    F194:    D4 C5          ST   R2, [BP]
-    F195:    93 05          LD   R1, BP
-    F196:    05 0D 00 01    ADD  R2, BP, #1
-    F198:    99 02          LD   R4, R2
-    F199:    92 C4          LD   R1, [R4]
-    F19A:    D2 C8          ST   R1, [SP--]
-    F19B:    92 C5          LD   R1, [BP]
-    F19C:    D2 C8          ST   R1, [SP--]
-    F19D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F19F:    00 42          ADD  SP, #2
-    F1A0:    95 05          LD   R2, BP
-    F1A1:    07 0D 00 05    ADD  R3, BP, #5
-    F1A3:    95 03          LD   R2, R3
-    F1A4:    D2 C2          ST   R1, [R2]
-    F1A5:    92 C5          LD   R1, [BP]
-    F1A6:    05 09 00 01    ADD  R2, R1, #1
-    F1A8:    D4 C5          ST   R2, [BP]
-    F1A9:    93 05          LD   R1, BP
-    F1AA:    05 0D 00 05    ADD  R2, BP, #5
-    F1AC:    97 02          LD   R3, R2
-    F1AD:    92 C3          LD   R1, [R3]
-    F1AE:    D2 C8          ST   R1, [SP--]
-    F1AF:    F0 41 73 AB    CALL SCREEN_DRAW
-    F1B1:    00 41          ADD  SP, #1
-    F1B2:    F0 41 96 76    CALL getTimer
-    F1B4:    95 05          LD   R2, BP
-    F1B5:    07 0D 00 07    ADD  R3, BP, #7
-    F1B7:    99 03          LD   R4, R3
-    F1B8:    D2 C4          ST   R1, [R4]
-    F1B9:    93 05          LD   R1, BP
-    F1BA:    05 0D 00 01    ADD  R2, BP, #1
-    F1BC:    97 02          LD   R3, R2
-    F1BD:    92 C3          LD   R1, [R3]
-    F1BE:    D2 C8          ST   R1, [SP--]
-    F1BF:    92 C5          LD   R1, [BP]
-    F1C0:    D2 C8          ST   R1, [SP--]
-    F1C1:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F1C3:    00 42          ADD  SP, #2
-    F1C4:    95 05          LD   R2, BP
-    F1C5:    07 0D 00 08    ADD  R3, BP, #8
-    F1C7:    99 03          LD   R4, R3
-    F1C8:    D2 C4          ST   R1, [R4]
-    F1C9:    92 C5          LD   R1, [BP]
-    F1CA:    05 09 00 01    ADD  R2, R1, #1
-    F1CC:    D4 C5          ST   R2, [BP]
-    F1CD:    9F 0F F1 D1    LJMP 0000f1d1
-    F1CF:    9F 0F F2 98    LJMP 0000f298
-    F1D1:    F0 41 96 32    CALL ___PROC_0055
-    F1D3:    95 05          LD   R2, BP
-    F1D4:    07 0D 00 04    ADD  R3, BP, #4
-    F1D6:    95 03          LD   R2, R3
-    F1D7:    D2 C2          ST   R1, [R2]
-    F1D8:    93 05          LD   R1, BP
-    F1D9:    05 0D 00 04    ADD  R2, BP, #4
-    F1DB:    97 02          LD   R3, R2
-    F1DC:    92 C3          LD   R1, [R3]
-    F1DD:    42 41          CMP  R1, #1
-    F1DE:    5E 02          JZ   f1e1
-    F1DF:    9F 0F F1 E3    LJMP 0000f1e3
-    F1E1:    9F 0F F5 D4    LJMP 0000f5d4
-    F1E3:    F0 40 F6 06    CALL ___PROC_0012
-    F1E5:    F0 41 96 76    CALL getTimer
-    F1E7:    95 05          LD   R2, BP
-    F1E8:    07 0D 00 06    ADD  R3, BP, #6
-    F1EA:    99 03          LD   R4, R3
-    F1EB:    D2 C4          ST   R1, [R4]
-    F1EC:    95 05          LD   R2, BP
-    F1ED:    03 0D 00 06    ADD  R1, BP, #6
-    F1EF:    97 05          LD   R3, BP
-    F1F0:    05 0D 00 06    ADD  R2, BP, #6
-    F1F2:    99 05          LD   R4, BP
-    F1F3:    07 0D 00 07    ADD  R3, BP, #7
-    F1F5:    99 02          LD   R4, R2
-    F1F6:    98 C4          LD   R4, [R4]
-    F1F7:    D8 15          ST   R4, [BP+15]
-    F1F8:    94 15          LD   R2, [BP+15]
-    F1F9:    99 03          LD   R4, R3
-    F1FA:    24 C4          SUB  R2, [R4]
-    F1FB:    97 01          LD   R3, R1
-    F1FC:    D4 C3          ST   R2, [R3]
-    F1FD:    95 05          LD   R2, BP
-    F1FE:    03 0D 00 06    ADD  R1, BP, #6
-    F200:    95 05          LD   R2, BP
-    F201:    07 0D 00 08    ADD  R3, BP, #8
-    F203:    99 01          LD   R4, R1
-    F204:    92 C4          LD   R1, [R4]
-    F205:    95 03          LD   R2, R3
-    F206:    42 C2          CMP  R1, [R2]
-    F207:    9E 02          JA   f20a
-    F208:    9F 0F F2 96    LJMP 0000f296
-    F20A:    93 05          LD   R1, BP
-    F20B:    05 0D 00 01    ADD  R2, BP, #1
-    F20D:    97 02          LD   R3, R2
-    F20E:    92 C3          LD   R1, [R3]
-    F20F:    D2 C8          ST   R1, [SP--]
-    F210:    92 C5          LD   R1, [BP]
-    F211:    D2 C8          ST   R1, [SP--]
-    F212:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F214:    00 42          ADD  SP, #2
-    F215:    95 05          LD   R2, BP
-    F216:    07 0D 00 05    ADD  R3, BP, #5
-    F218:    99 03          LD   R4, R3
-    F219:    D2 C4          ST   R1, [R4]
-    F21A:    93 05          LD   R1, BP
-    F21B:    05 0D 00 05    ADD  R2, BP, #5
-    F21D:    97 02          LD   R3, R2
-    F21E:    92 C3          LD   R1, [R3]
-    F21F:    43 09 FF FF    CMP  R1, R1, #ffff
-    F221:    5E 02          JZ   f224
-    F222:    9F 0F F2 26    LJMP 0000f226
-    F224:    9F 0F F2 98    LJMP 0000f298
-    F226:    92 C5          LD   R1, [BP]
-    F227:    05 09 00 01    ADD  R2, R1, #1
-    F229:    D4 C5          ST   R2, [BP]
-    F22A:    93 05          LD   R1, BP
-    F22B:    05 0D 00 05    ADD  R2, BP, #5
-    F22D:    99 02          LD   R4, R2
-    F22E:    92 C4          LD   R1, [R4]
-    F22F:    D2 C8          ST   R1, [SP--]
-    F230:    F0 41 73 AB    CALL SCREEN_DRAW
-    F232:    00 41          ADD  SP, #1
-    F233:    F0 41 96 76    CALL getTimer
-    F235:    95 05          LD   R2, BP
-    F236:    07 0D 00 07    ADD  R3, BP, #7
-    F238:    95 03          LD   R2, R3
-    F239:    D2 C2          ST   R1, [R2]
-    F23A:    93 05          LD   R1, BP
-    F23B:    05 0D 00 01    ADD  R2, BP, #1
-    F23D:    97 02          LD   R3, R2
-    F23E:    92 C3          LD   R1, [R3]
-    F23F:    D2 C8          ST   R1, [SP--]
-    F240:    92 C5          LD   R1, [BP]
-    F241:    D2 C8          ST   R1, [SP--]
-    F242:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F244:    00 42          ADD  SP, #2
-    F245:    95 05          LD   R2, BP
-    F246:    07 0D 00 08    ADD  R3, BP, #8
-    F248:    99 03          LD   R4, R3
-    F249:    D2 C4          ST   R1, [R4]
-    F24A:    92 C5          LD   R1, [BP]
-    F24B:    05 09 00 01    ADD  R2, R1, #1
-    F24D:    D4 C5          ST   R2, [BP]
-    F24E:    93 05          LD   R1, BP
-    F24F:    05 0D 00 01    ADD  R2, BP, #1
-    F251:    97 02          LD   R3, R2
-    F252:    92 C3          LD   R1, [R3]
-    F253:    D2 C8          ST   R1, [SP--]
-    F254:    93 05          LD   R1, BP
-    F255:    05 0D 00 0E    ADD  R2, BP, #e
-    F257:    99 02          LD   R4, R2
-    F258:    92 C4          LD   R1, [R4]
-    F259:    D2 C8          ST   R1, [SP--]
-    F25A:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F25C:    00 42          ADD  SP, #2
-    F25D:    95 05          LD   R2, BP
-    F25E:    07 0D 00 0F    ADD  R3, BP, #f
-    F260:    95 03          LD   R2, R3
-    F261:    D2 C2          ST   R1, [R2]
-    F262:    93 05          LD   R1, BP
-    F263:    05 0D 00 0E    ADD  R2, BP, #e
-    F265:    97 05          LD   R3, BP
-    F266:    03 0D 00 0E    ADD  R1, BP, #e
-    F268:    95 05          LD   R2, BP
-    F269:    07 0D 00 0E    ADD  R3, BP, #e
-    F26B:    99 03          LD   R4, R3
-    F26C:    94 C4          LD   R2, [R4]
-    F26D:    07 0A 00 01    ADD  R3, R2, #1
-    F26F:    95 01          LD   R2, R1
-    F270:    D6 C2          ST   R3, [R2]
-    F271:    93 05          LD   R1, BP
-    F272:    05 0D 00 0F    ADD  R2, BP, #f
-    F274:    97 02          LD   R3, R2
-    F275:    92 C3          LD   R1, [R3]
-    F276:    42 40          CMP  R1, #0
-    F277:    4E 02          JNZ  f27a
-    F278:    9F 0F F2 96    LJMP 0000f296
-    F27A:    95 05          LD   R2, BP
-    F27B:    03 0D 00 0F    ADD  R1, BP, #f
-    F27D:    95 05          LD   R2, BP
-    F27E:    07 0D 00 0F    ADD  R3, BP, #f
-    F280:    99 03          LD   R4, R3
-    F281:    94 C4          LD   R2, [R4]
-    F282:    B7 0A 7F FF    AND  R3, R2, #7fff
-    F284:    95 01          LD   R2, R1
-    F285:    D6 C2          ST   R3, [R2]
-    F286:    92 43          LD   R1, #3
-    F287:    D2 C8          ST   R1, [SP--]
-    F288:    92 41          LD   R1, #1
-    F289:    D2 C8          ST   R1, [SP--]
-    F28A:    93 09 00 7F    LD   R1, #7f
-    F28C:    D2 C8          ST   R1, [SP--]
-    F28D:    93 05          LD   R1, BP
-    F28E:    05 0D 00 0F    ADD  R2, BP, #f
-    F290:    97 02          LD   R3, R2
-    F291:    92 C3          LD   R1, [R3]
-    F292:    D2 C8          ST   R1, [SP--]
-    F293:    F0 41 25 30    CALL 00012530
-    F295:    00 44          ADD  SP, #4
-    F296:    9F 0F F1 CD    LJMP 0000f1cd
-    F298:    93 05          LD   R1, BP
-    F299:    05 0D 00 09    ADD  R2, BP, #9
-    F29B:    99 02          LD   R4, R2
-    F29C:    92 C4          LD   R1, [R4]
-    F29D:    D2 C8          ST   R1, [SP--]
-    F29E:    F0 40 F6 5A    CALL 0000f65a
-    F2A0:    00 41          ADD  SP, #1
-    F2A1:    95 05          LD   R2, BP
-    F2A2:    07 0D 00 04    ADD  R3, BP, #4
-    F2A4:    95 03          LD   R2, R3
-    F2A5:    D2 C2          ST   R1, [R2]
-    F2A6:    93 05          LD   R1, BP
-    F2A7:    05 0D 00 04    ADD  R2, BP, #4
-    F2A9:    97 02          LD   R3, R2
-    F2AA:    92 C3          LD   R1, [R3]
-    F2AB:    42 41          CMP  R1, #1
-    F2AC:    5E 02          JZ   f2af
-    F2AD:    9F 0F F2 B1    LJMP 0000f2b1
-    F2AF:    9F 0F F5 D4    LJMP 0000f5d4
-    F2B1:    93 05          LD   R1, BP
-    F2B2:    05 0D 00 05    ADD  R2, BP, #5
-    F2B4:    92 40          LD   R1, #0
-    F2B5:    99 02          LD   R4, R2
-    F2B6:    D2 C4          ST   R1, [R4]
-    F2B7:    93 05          LD   R1, BP
-    F2B8:    05 0D 00 05    ADD  R2, BP, #5
-    F2BA:    97 02          LD   R3, R2
-    F2BB:    92 C3          LD   R1, [R3]
-    F2BC:    42 69          CMP  R1, #29
-    F2BD:    9E 02          JA   f2c0
-    F2BE:    9F 0F F2 C2    LJMP 0000f2c2
-    F2C0:    9F 0F F2 D5    LJMP 0000f2d5
-    F2C2:    F0 41 73 41    CALL ALLOC_SPRITE
-    F2C4:    93 05          LD   R1, BP
-    F2C5:    05 0D 00 05    ADD  R2, BP, #5
-    F2C7:    97 05          LD   R3, BP
-    F2C8:    03 0D 00 05    ADD  R1, BP, #5
-    F2CA:    95 05          LD   R2, BP
-    F2CB:    07 0D 00 05    ADD  R3, BP, #5
-    F2CD:    99 03          LD   R4, R3
-    F2CE:    94 C4          LD   R2, [R4]
-    F2CF:    07 0A 00 01    ADD  R3, R2, #1
-    F2D1:    95 01          LD   R2, R1
-    F2D2:    D6 C2          ST   R3, [R2]
-    F2D3:    9F 0F F2 B7    LJMP 0000f2b7
-    F2D5:    95 05          LD   R2, BP
-    F2D6:    07 0D 00 01    ADD  R3, BP, #1
-    F2D8:    99 03          LD   R4, R3
-    F2D9:    92 41          LD   R1, #1
-    F2DA:    D2 C4          ST   R1, [R4]
-    F2DB:    93 09 00 6A    LD   R1, #6a
-    F2DD:    D2 C5          ST   R1, [BP]
-    F2DE:    F0 41 A2 0A    CALL READ_IOC_LANG_RAW_ALT
-    F2E0:    95 05          LD   R2, BP
-    F2E1:    07 0D 00 05    ADD  R3, BP, #5
-    F2E3:    95 03          LD   R2, R3
-    F2E4:    D2 C2          ST   R1, [R2]
-    F2E5:    93 05          LD   R1, BP
-    F2E6:    05 0D 00 05    ADD  R2, BP, #5
-    F2E8:    97 02          LD   R3, R2
-    F2E9:    92 C3          LD   R1, [R3]
-    F2EA:    42 45          CMP  R1, #5
-    F2EB:    8E 02          XOR  PC, [BP+2]
-    F2EC:    9F 0F F2 F4    LJMP 0000f2f4
-    F2EE:    93 05          LD   R1, BP
-    F2EF:    05 0D 00 05    ADD  R2, BP, #5
-    F2F1:    92 4F          LD   R1, #f
-    F2F2:    99 02          LD   R4, R2
-    F2F3:    D2 C4          ST   R1, [R4]
-    F2F4:    95 05          LD   R2, BP
-    F2F5:    03 0D 00 05    ADD  R1, BP, #5
-    F2F7:    96 C5          LD   R3, [BP]
-    F2F8:    95 03          LD   R2, R3
-    F2F9:    97 01          LD   R3, R1
-    F2FA:    04 C3          ADD  R2, [R3]
-    F2FB:    D4 C5          ST   R2, [BP]
-    F2FC:    93 05          LD   R1, BP
-    F2FD:    05 0D 00 01    ADD  R2, BP, #1
-    F2FF:    99 02          LD   R4, R2
-    F300:    92 C4          LD   R1, [R4]
-    F301:    D2 C8          ST   R1, [SP--]
-    F302:    92 C5          LD   R1, [BP]
-    F303:    D2 C8          ST   R1, [SP--]
-    F304:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F306:    00 42          ADD  SP, #2
-    F307:    95 05          LD   R2, BP
-    F308:    07 0D 00 05    ADD  R3, BP, #5
-    F30A:    95 03          LD   R2, R3
-    F30B:    D2 C2          ST   R1, [R2]
-    F30C:    93 05          LD   R1, BP
-    F30D:    05 0D 00 05    ADD  R2, BP, #5
-    F30F:    97 02          LD   R3, R2
-    F310:    92 C3          LD   R1, [R3]
-    F311:    42 40          CMP  R1, #0
-    F312:    5E 02          JZ   f315
-    F313:    9F 0F F3 17    LJMP 0000f317
-    F315:    9F 0F F5 D4    LJMP 0000f5d4
-    F317:    93 05          LD   R1, BP
-    F318:    05 0D 00 05    ADD  R2, BP, #5
-    F31A:    99 02          LD   R4, R2
-    F31B:    92 C4          LD   R1, [R4]
-    F31C:    D2 C5          ST   R1, [BP]
-    F31D:    93 05          LD   R1, BP
-    F31E:    05 0D 00 01    ADD  R2, BP, #1
-    F320:    97 02          LD   R3, R2
-    F321:    92 C3          LD   R1, [R3]
-    F322:    D2 C8          ST   R1, [SP--]
-    F323:    92 C5          LD   R1, [BP]
-    F324:    D2 C8          ST   R1, [SP--]
-    F325:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F327:    00 42          ADD  SP, #2
-    F328:    95 05          LD   R2, BP
-    F329:    07 0D 00 09    ADD  R3, BP, #9
-    F32B:    99 03          LD   R4, R3
-    F32C:    D2 C4          ST   R1, [R4]
-    F32D:    92 C5          LD   R1, [BP]
-    F32E:    05 09 00 01    ADD  R2, R1, #1
-    F330:    D4 C5          ST   R2, [BP]
-    F331:    93 05          LD   R1, BP
-    F332:    05 0D 00 01    ADD  R2, BP, #1
-    F334:    97 02          LD   R3, R2
-    F335:    92 C3          LD   R1, [R3]
-    F336:    D2 C8          ST   R1, [SP--]
-    F337:    92 C5          LD   R1, [BP]
-    F338:    D2 C8          ST   R1, [SP--]
-    F339:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F33B:    00 42          ADD  SP, #2
-    F33C:    95 05          LD   R2, BP
-    F33D:    07 0D 00 0D    ADD  R3, BP, #d
-    F33F:    99 03          LD   R4, R3
-    F340:    D2 C4          ST   R1, [R4]
-    F341:    92 C5          LD   R1, [BP]
-    F342:    05 09 00 01    ADD  R2, R1, #1
-    F344:    D4 C5          ST   R2, [BP]
-    F345:    93 05          LD   R1, BP
-    F346:    05 0D 00 0D    ADD  R2, BP, #d
-    F348:    97 02          LD   R3, R2
-    F349:    92 C3          LD   R1, [R3]
-    F34A:    43 09 FF FF    CMP  R1, R1, #ffff
-    F34C:    4E 02          JNZ  f34f
-    F34D:    9F 0F F3 63    LJMP 0000f363
-    F34F:    F0 40 F6 06    CALL ___PROC_0012
-    F351:    93 05          LD   R1, BP
-    F352:    05 0D 00 0D    ADD  R2, BP, #d
-    F354:    99 02          LD   R4, R2
-    F355:    92 C4          LD   R1, [R4]
-    F356:    D2 C8          ST   R1, [SP--]
-    F357:    F0 41 75 80    CALL ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
-    F359:    00 41          ADD  SP, #1
-    F35A:    92 41          LD   R1, #1
-    F35B:    D2 C8          ST   R1, [SP--]
-    F35C:    92 40          LD   R1, #0
-    F35D:    D2 C8          ST   R1, [SP--]
-    F35E:    F0 41 76 E0    CALL LAYER_SET_ZORDER
-    F360:    00 42          ADD  SP, #2
-    F361:    F0 41 76 BE    CALL LAYERA_DISABLE
-    F363:    93 05          LD   R1, BP
-    F364:    05 0D 00 09    ADD  R2, BP, #9
-    F366:    97 02          LD   R3, R2
-    F367:    92 C3          LD   R1, [R3]
-    F368:    D2 C8          ST   R1, [SP--]
-    F369:    F0 40 F6 16    CALL ___PROC_0013
-    F36B:    00 41          ADD  SP, #1
-    F36C:    95 05          LD   R2, BP
-    F36D:    07 0D 00 04    ADD  R3, BP, #4
-    F36F:    99 03          LD   R4, R3
-    F370:    D2 C4          ST   R1, [R4]
-    F371:    92 40          LD   R1, #0
-    F372:    D2 C8          ST   R1, [SP--]
-    F373:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F375:    00 41          ADD  SP, #1
-    F376:    92 41          LD   R1, #1
-    F377:    D2 C8          ST   R1, [SP--]
-    F378:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F37A:    00 41          ADD  SP, #1
-    F37B:    93 09 00 40    LD   R1, #40
-    F37D:    D2 C8          ST   R1, [SP--]
-    F37E:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F380:    00 41          ADD  SP, #1
-    F381:    93 09 00 42    LD   R1, #42
-    F383:    D2 C8          ST   R1, [SP--]
-    F384:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F386:    00 41          ADD  SP, #1
-    F387:    93 09 00 43    LD   R1, #43
-    F389:    D2 C8          ST   R1, [SP--]
-    F38A:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F38C:    00 41          ADD  SP, #1
-    F38D:    93 09 00 44    LD   R1, #44
-    F38F:    D2 C8          ST   R1, [SP--]
-    F390:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F392:    00 41          ADD  SP, #1
-    F393:    93 09 00 45    LD   R1, #45
-    F395:    D2 C8          ST   R1, [SP--]
-    F396:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F398:    00 41          ADD  SP, #1
-    F399:    93 09 00 46    LD   R1, #46
-    F39B:    D2 C8          ST   R1, [SP--]
-    F39C:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F39E:    00 41          ADD  SP, #1
-    F39F:    93 09 00 80    LD   R1, #80
-    F3A1:    D2 C8          ST   R1, [SP--]
-    F3A2:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F3A4:    00 41          ADD  SP, #1
-    F3A5:    93 09 00 90    LD   R1, #90
-    F3A7:    D2 C8          ST   R1, [SP--]
-    F3A8:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F3AA:    00 41          ADD  SP, #1
-    F3AB:    93 09 00 B0    LD   R1, #b0
-    F3AD:    D2 C8          ST   R1, [SP--]
-    F3AE:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F3B0:    00 41          ADD  SP, #1
-    F3B1:    93 09 00 B1    LD   R1, #b1
-    F3B3:    D2 C8          ST   R1, [SP--]
-    F3B4:    F0 41 76 A2    CALL PALETTE_COLOR_TRANSPARENT
-    F3B6:    00 41          ADD  SP, #1
-    F3B7:    93 05          LD   R1, BP
-    F3B8:    05 0D 00 04    ADD  R2, BP, #4
-    F3BA:    97 02          LD   R3, R2
-    F3BB:    92 C3          LD   R1, [R3]
-    F3BC:    42 41          CMP  R1, #1
-    F3BD:    5E 02          JZ   f3c0
-    F3BE:    9F 0F F3 C2    LJMP 0000f3c2
-    F3C0:    9F 0F F5 D4    LJMP 0000f5d4
-    F3C2:    93 05          LD   R1, BP
-    F3C3:    05 0D 00 01    ADD  R2, BP, #1
-    F3C5:    99 02          LD   R4, R2
-    F3C6:    92 C4          LD   R1, [R4]
-    F3C7:    D2 C8          ST   R1, [SP--]
-    F3C8:    92 C5          LD   R1, [BP]
-    F3C9:    D2 C8          ST   R1, [SP--]
-    F3CA:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F3CC:    00 42          ADD  SP, #2
-    F3CD:    95 05          LD   R2, BP
-    F3CE:    07 0D 00 0D    ADD  R3, BP, #d
-    F3D0:    95 03          LD   R2, R3
-    F3D1:    D2 C2          ST   R1, [R2]
-    F3D2:    92 C5          LD   R1, [BP]
-    F3D3:    05 09 00 01    ADD  R2, R1, #1
-    F3D5:    D4 C5          ST   R2, [BP]
-    F3D6:    93 05          LD   R1, BP
-    F3D7:    05 0D 00 01    ADD  R2, BP, #1
-    F3D9:    97 02          LD   R3, R2
-    F3DA:    92 C3          LD   R1, [R3]
-    F3DB:    D2 C8          ST   R1, [SP--]
-    F3DC:    92 C5          LD   R1, [BP]
-    F3DD:    D2 C8          ST   R1, [SP--]
-    F3DE:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F3E0:    00 42          ADD  SP, #2
-    F3E1:    95 05          LD   R2, BP
-    F3E2:    07 0D 00 0C    ADD  R3, BP, #c
-    F3E4:    99 03          LD   R4, R3
-    F3E5:    D2 C4          ST   R1, [R4]
-    F3E6:    92 C5          LD   R1, [BP]
-    F3E7:    05 09 00 01    ADD  R2, R1, #1
-    F3E9:    D4 C5          ST   R2, [BP]
-    F3EA:    93 05          LD   R1, BP
-    F3EB:    05 0D 00 01    ADD  R2, BP, #1
-    F3ED:    97 02          LD   R3, R2
-    F3EE:    92 C3          LD   R1, [R3]
-    F3EF:    D2 C8          ST   R1, [SP--]
-    F3F0:    92 C5          LD   R1, [BP]
-    F3F1:    D2 C8          ST   R1, [SP--]
-    F3F2:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F3F4:    00 42          ADD  SP, #2
-    F3F5:    95 05          LD   R2, BP
-    F3F6:    07 0D 00 0E    ADD  R3, BP, #e
-    F3F8:    99 03          LD   R4, R3
-    F3F9:    D2 C4          ST   R1, [R4]
-    F3FA:    93 05          LD   R1, BP
-    F3FB:    05 0D 00 0D    ADD  R2, BP, #d
-    F3FD:    97 02          LD   R3, R2
-    F3FE:    92 C3          LD   R1, [R3]
-    F3FF:    D2 C5          ST   R1, [BP]
-    F400:    F0 41 96 76    CALL getTimer
-    F402:    95 05          LD   R2, BP
-    F403:    07 0D 00 07    ADD  R3, BP, #7
-    F405:    99 03          LD   R4, R3
-    F406:    D2 C4          ST   R1, [R4]
-    F407:    93 05          LD   R1, BP
-    F408:    05 0D 00 08    ADD  R2, BP, #8
-    F40A:    92 40          LD   R1, #0
-    F40B:    97 02          LD   R3, R2
-    F40C:    D2 C3          ST   R1, [R3]
-    F40D:    93 05          LD   R1, BP
-    F40E:    05 0D 00 05    ADD  R2, BP, #5
-    F410:    92 40          LD   R1, #0
-    F411:    99 02          LD   R4, R2
-    F412:    D2 C4          ST   R1, [R4]
-    F413:    9F 0F F4 17    LJMP 0000f417
-    F415:    9F 0F F5 B1    LJMP 0000f5b1
-    F417:    F0 41 96 32    CALL ___PROC_0055
-    F419:    95 05          LD   R2, BP
-    F41A:    07 0D 00 04    ADD  R3, BP, #4
-    F41C:    95 03          LD   R2, R3
-    F41D:    D2 C2          ST   R1, [R2]
-    F41E:    93 05          LD   R1, BP
-    F41F:    05 0D 00 04    ADD  R2, BP, #4
-    F421:    97 02          LD   R3, R2
-    F422:    92 C3          LD   R1, [R3]
-    F423:    42 41          CMP  R1, #1
-    F424:    5E 02          JZ   f427
-    F425:    9F 0F F4 29    LJMP 0000f429
-    F427:    9F 0F F5 D4    LJMP 0000f5d4
-    F429:    F0 41 96 76    CALL getTimer
-    F42B:    95 05          LD   R2, BP
-    F42C:    07 0D 00 06    ADD  R3, BP, #6
-    F42E:    99 03          LD   R4, R3
-    F42F:    D2 C4          ST   R1, [R4]
-    F430:    95 05          LD   R2, BP
-    F431:    03 0D 00 06    ADD  R1, BP, #6
-    F433:    97 05          LD   R3, BP
-    F434:    05 0D 00 06    ADD  R2, BP, #6
-    F436:    99 05          LD   R4, BP
-    F437:    07 0D 00 07    ADD  R3, BP, #7
-    F439:    99 02          LD   R4, R2
-    F43A:    98 C4          LD   R4, [R4]
-    F43B:    D8 15          ST   R4, [BP+15]
-    F43C:    94 15          LD   R2, [BP+15]
-    F43D:    99 03          LD   R4, R3
-    F43E:    24 C4          SUB  R2, [R4]
-    F43F:    97 01          LD   R3, R1
-    F440:    D4 C3          ST   R2, [R3]
-    F441:    95 05          LD   R2, BP
-    F442:    03 0D 00 06    ADD  R1, BP, #6
-    F444:    95 05          LD   R2, BP
-    F445:    07 0D 00 08    ADD  R3, BP, #8
-    F447:    99 01          LD   R4, R1
-    F448:    92 C4          LD   R1, [R4]
-    F449:    95 03          LD   R2, R3
-    F44A:    42 C2          CMP  R1, [R2]
-    F44B:    9E 02          JA   f44e
-    F44C:    9F 0F F5 AD    LJMP 0000f5ad
-    F44E:    93 05          LD   R1, BP
-    F44F:    05 0D 00 01    ADD  R2, BP, #1
-    F451:    97 02          LD   R3, R2
-    F452:    92 C3          LD   R1, [R3]
-    F453:    D2 C8          ST   R1, [SP--]
-    F454:    92 C5          LD   R1, [BP]
-    F455:    D2 C8          ST   R1, [SP--]
-    F456:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F458:    00 42          ADD  SP, #2
-    F459:    95 05          LD   R2, BP
-    F45A:    07 0D 00 06    ADD  R3, BP, #6
-    F45C:    99 03          LD   R4, R3
-    F45D:    D2 C4          ST   R1, [R4]
-    F45E:    93 05          LD   R1, BP
-    F45F:    05 0D 00 06    ADD  R2, BP, #6
-    F461:    97 02          LD   R3, R2
-    F462:    92 C3          LD   R1, [R3]
-    F463:    43 09 FF FF    CMP  R1, R1, #ffff
-    F465:    5E 02          JZ   f468
-    F466:    9F 0F F4 6A    LJMP 0000f46a
-    F468:    9F 0F F5 B1    LJMP 0000f5b1
-    F46A:    92 C5          LD   R1, [BP]
-    F46B:    05 09 00 02    ADD  R2, R1, #2
-    F46D:    D4 C5          ST   R2, [BP]
-    F46E:    93 05          LD   R1, BP
-    F46F:    05 0D 00 01    ADD  R2, BP, #1
-    F471:    99 02          LD   R4, R2
-    F472:    92 C4          LD   R1, [R4]
-    F473:    D2 C8          ST   R1, [SP--]
-    F474:    92 C5          LD   R1, [BP]
-    F475:    D2 C8          ST   R1, [SP--]
-    F476:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F478:    00 42          ADD  SP, #2
-    F479:    95 05          LD   R2, BP
-    F47A:    07 0D 00 08    ADD  R3, BP, #8
-    F47C:    95 03          LD   R2, R3
-    F47D:    D2 C2          ST   R1, [R2]
-    F47E:    92 C5          LD   R1, [BP]
-    F47F:    05 09 00 01    ADD  R2, R1, #1
-    F481:    D4 C5          ST   R2, [BP]
-    F482:    93 05          LD   R1, BP
-    F483:    05 0D 00 01    ADD  R2, BP, #1
-    F485:    97 02          LD   R3, R2
-    F486:    92 C3          LD   R1, [R3]
-    F487:    D2 C8          ST   R1, [SP--]
-    F488:    92 C5          LD   R1, [BP]
-    F489:    D2 C8          ST   R1, [SP--]
-    F48A:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F48C:    00 42          ADD  SP, #2
-    F48D:    95 05          LD   R2, BP
-    F48E:    07 0D 00 0D    ADD  R3, BP, #d
-    F490:    99 03          LD   R4, R3
-    F491:    D2 C4          ST   R1, [R4]
-    F492:    92 C5          LD   R1, [BP]
-    F493:    05 09 00 01    ADD  R2, R1, #1
-    F495:    D4 C5          ST   R2, [BP]
-    F496:    93 05          LD   R1, BP
-    F497:    05 0D 00 02    ADD  R2, BP, #2
-    F499:    93 02          LD   R1, R2
-    F49A:    04 41          ADD  R2, #1
-    F49B:    97 05          LD   R3, BP
-    F49C:    03 0D 00 02    ADD  R1, BP, #2
-    F49E:    D2 15          ST   R1, [BP+15]
-    F49F:    97 02          LD   R3, R2
-    F4A0:    98 15          LD   R4, [BP+15]
-    F4A1:    92 41          LD   R1, #1
-    F4A2:    D2 C3          ST   R1, [R3]
-    F4A3:    93 09 A2 24    LD   R1, #a224
-    F4A5:    D2 C4          ST   R1, [R4]
-    F4A6:    93 05          LD   R1, BP
-    F4A7:    05 0D 00 0D    ADD  R2, BP, #d
-    F4A9:    97 02          LD   R3, R2
-    F4AA:    92 C3          LD   R1, [R3]
-    F4AB:    43 09 FF FF    CMP  R1, R1, #ffff
-    F4AD:    5E 02          JZ   f4b0
-    F4AE:    9F 0F F4 B2    LJMP 0000f4b2
-    F4B0:    9F 0F F5 1A    LJMP 0000f51a
-    F4B2:    93 05          LD   R1, BP
-    F4B3:    09 0D 00 10    ADD  R4, BP, #10
-    F4B5:    D8 13          ST   R4, [BP+13]
-    F4B6:    93 05          LD   R1, BP
-    F4B7:    05 0D 00 01    ADD  R2, BP, #1
-    F4B9:    97 02          LD   R3, R2
-    F4BA:    92 C3          LD   R1, [R3]
-    F4BB:    D2 C8          ST   R1, [SP--]
-    F4BC:    92 C5          LD   R1, [BP]
-    F4BD:    D2 C8          ST   R1, [SP--]
-    F4BE:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F4C0:    00 42          ADD  SP, #2
-    F4C1:    98 13          LD   R4, [BP+13]
-    F4C2:    D2 C4          ST   R1, [R4]
-    F4C3:    92 C5          LD   R1, [BP]
-    F4C4:    05 09 00 01    ADD  R2, R1, #1
-    F4C6:    D4 C5          ST   R2, [BP]
-    F4C7:    93 05          LD   R1, BP
-    F4C8:    03 0D 00 11    ADD  R1, BP, #11
-    F4CA:    D2 14          ST   R1, [BP+14]
-    F4CB:    93 05          LD   R1, BP
-    F4CC:    05 0D 00 01    ADD  R2, BP, #1
-    F4CE:    97 02          LD   R3, R2
-    F4CF:    92 C3          LD   R1, [R3]
-    F4D0:    D2 C8          ST   R1, [SP--]
-    F4D1:    92 C5          LD   R1, [BP]
-    F4D2:    D2 C8          ST   R1, [SP--]
-    F4D3:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F4D5:    00 42          ADD  SP, #2
-    F4D6:    98 14          LD   R4, [BP+14]
-    F4D7:    D2 C4          ST   R1, [R4]
-    F4D8:    92 C5          LD   R1, [BP]
-    F4D9:    05 09 00 01    ADD  R2, R1, #1
-    F4DB:    D4 C5          ST   R2, [BP]
-    F4DC:    93 05          LD   R1, BP
-    F4DD:    05 0D 00 11    ADD  R2, BP, #11
-    F4DF:    97 02          LD   R3, R2
-    F4E0:    92 C3          LD   R1, [R3]
-    F4E1:    D2 C8          ST   R1, [SP--]
-    F4E2:    93 05          LD   R1, BP
-    F4E3:    05 0D 00 10    ADD  R2, BP, #10
-    F4E5:    99 02          LD   R4, R2
-    F4E6:    92 C4          LD   R1, [R4]
-    F4E7:    D2 C8          ST   R1, [SP--]
-    F4E8:    93 05          LD   R1, BP
-    F4E9:    05 0D 00 0D    ADD  R2, BP, #d
-    F4EB:    97 02          LD   R3, R2
-    F4EC:    92 C3          LD   R1, [R3]
-    F4ED:    D2 C8          ST   R1, [SP--]
-    F4EE:    93 05          LD   R1, BP
-    F4EF:    05 0D 00 02    ADD  R2, BP, #2
-    F4F1:    93 02          LD   R1, R2
-    F4F2:    04 41          ADD  R2, #1
-    F4F3:    99 02          LD   R4, R2
-    F4F4:    92 C4          LD   R1, [R4]
-    F4F5:    D2 C8          ST   R1, [SP--]
-    F4F6:    93 05          LD   R1, BP
-    F4F7:    05 0D 00 02    ADD  R2, BP, #2
-    F4F9:    97 02          LD   R3, R2
-    F4FA:    92 C3          LD   R1, [R3]
-    F4FB:    D2 C8          ST   R1, [SP--]
-    F4FC:    F0 41 A1 13    CALL ___PROC_0060
-    F4FE:    00 45          ADD  SP, #5
-    F4FF:    95 05          LD   R2, BP
-    F500:    07 0D 00 02    ADD  R3, BP, #2
-    F502:    99 03          LD   R4, R3
-    F503:    D2 C4          ST   R1, [R4]
-    F504:    93 05          LD   R1, BP
-    F505:    05 0D 00 01    ADD  R2, BP, #1
-    F507:    97 02          LD   R3, R2
-    F508:    92 C3          LD   R1, [R3]
-    F509:    D2 C8          ST   R1, [SP--]
-    F50A:    92 C5          LD   R1, [BP]
-    F50B:    D2 C8          ST   R1, [SP--]
-    F50C:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F50E:    00 42          ADD  SP, #2
-    F50F:    95 05          LD   R2, BP
-    F510:    07 0D 00 0D    ADD  R3, BP, #d
-    F512:    99 03          LD   R4, R3
-    F513:    D2 C4          ST   R1, [R4]
-    F514:    92 C5          LD   R1, [BP]
-    F515:    05 09 00 01    ADD  R2, R1, #1
-    F517:    D4 C5          ST   R2, [BP]
-    F518:    9F 0F F4 A6    LJMP 0000f4a6
-    F51A:    93 05          LD   R1, BP
-    F51B:    05 0D 00 02    ADD  R2, BP, #2
-    F51D:    93 02          LD   R1, R2
-    F51E:    04 41          ADD  R2, #1
-    F51F:    97 02          LD   R3, R2
-    F520:    92 C3          LD   R1, [R3]
-    F521:    D2 C8          ST   R1, [SP--]
-    F522:    93 05          LD   R1, BP
-    F523:    05 0D 00 02    ADD  R2, BP, #2
-    F525:    99 02          LD   R4, R2
-    F526:    92 C4          LD   R1, [R4]
-    F527:    D2 C8          ST   R1, [SP--]
-    F528:    F0 41 A1 99    CALL 0001a199
-    F52A:    00 42          ADD  SP, #2
-    F52B:    F0 41 79 44    CALL ___PROC_0038
-    F52D:    F0 41 96 76    CALL getTimer
-    F52F:    95 05          LD   R2, BP
-    F530:    07 0D 00 07    ADD  R3, BP, #7
-    F532:    95 03          LD   R2, R3
-    F533:    D2 C2          ST   R1, [R2]
-    F534:    93 05          LD   R1, BP
-    F535:    05 0D 00 05    ADD  R2, BP, #5
-    F537:    97 05          LD   R3, BP
-    F538:    03 0D 00 05    ADD  R1, BP, #5
-    F53A:    95 05          LD   R2, BP
-    F53B:    07 0D 00 05    ADD  R3, BP, #5
-    F53D:    99 03          LD   R4, R3
-    F53E:    94 C4          LD   R2, [R4]
-    F53F:    07 0A 00 01    ADD  R3, R2, #1
-    F541:    95 01          LD   R2, R1
-    F542:    D6 C2          ST   R3, [R2]
-    F543:    93 05          LD   R1, BP
-    F544:    05 0D 00 01    ADD  R2, BP, #1
-    F546:    97 02          LD   R3, R2
-    F547:    92 C3          LD   R1, [R3]
-    F548:    D2 C8          ST   R1, [SP--]
-    F549:    93 05          LD   R1, BP
-    F54A:    05 0D 00 0E    ADD  R2, BP, #e
-    F54C:    99 02          LD   R4, R2
-    F54D:    92 C4          LD   R1, [R4]
-    F54E:    D2 C8          ST   R1, [SP--]
-    F54F:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F551:    00 42          ADD  SP, #2
-    F552:    95 05          LD   R2, BP
-    F553:    07 0D 00 0F    ADD  R3, BP, #f
-    F555:    95 03          LD   R2, R3
-    F556:    D2 C2          ST   R1, [R2]
-    F557:    93 05          LD   R1, BP
-    F558:    05 0D 00 0E    ADD  R2, BP, #e
-    F55A:    97 05          LD   R3, BP
-    F55B:    03 0D 00 0E    ADD  R1, BP, #e
-    F55D:    95 05          LD   R2, BP
-    F55E:    07 0D 00 0E    ADD  R3, BP, #e
-    F560:    99 03          LD   R4, R3
-    F561:    94 C4          LD   R2, [R4]
-    F562:    07 0A 00 01    ADD  R3, R2, #1
-    F564:    95 01          LD   R2, R1
-    F565:    D6 C2          ST   R3, [R2]
-    F566:    93 05          LD   R1, BP
-    F567:    05 0D 00 0F    ADD  R2, BP, #f
-    F569:    97 02          LD   R3, R2
-    F56A:    92 C3          LD   R1, [R3]
-    F56B:    42 40          CMP  R1, #0
-    F56C:    4E 02          JNZ  f56f
-    F56D:    9F 0F F5 AD    LJMP 0000f5ad
-    F56F:    95 05          LD   R2, BP
-    F570:    03 0D 00 0F    ADD  R1, BP, #f
-    F572:    95 05          LD   R2, BP
-    F573:    07 0D 00 0F    ADD  R3, BP, #f
-    F575:    99 03          LD   R4, R3
-    F576:    94 C4          LD   R2, [R4]
-    F577:    B7 0A 7F FF    AND  R3, R2, #7fff
-    F579:    95 01          LD   R2, R1
-    F57A:    D6 C2          ST   R3, [R2]
-    F57B:    95 05          LD   R2, BP
-    F57C:    03 0D 00 0F    ADD  R1, BP, #f
-    F57E:    95 05          LD   R2, BP
-    F57F:    07 0D 00 0A    ADD  R3, BP, #a
-    F581:    99 01          LD   R4, R1
-    F582:    92 C4          LD   R1, [R4]
-    F583:    95 03          LD   R2, R3
-    F584:    42 C2          CMP  R1, [R2]
-    F585:    4E 02          JNZ  f588
-    F586:    9F 0F F5 9A    LJMP 0000f59a
-    F588:    92 43          LD   R1, #3
-    F589:    D2 C8          ST   R1, [SP--]
-    F58A:    92 41          LD   R1, #1
-    F58B:    D2 C8          ST   R1, [SP--]
-    F58C:    93 09 00 7F    LD   R1, #7f
-    F58E:    D2 C8          ST   R1, [SP--]
-    F58F:    93 05          LD   R1, BP
-    F590:    05 0D 00 0F    ADD  R2, BP, #f
-    F592:    97 02          LD   R3, R2
-    F593:    92 C3          LD   R1, [R3]
-    F594:    D2 C8          ST   R1, [SP--]
-    F595:    F0 41 25 30    CALL 00012530
-    F597:    00 44          ADD  SP, #4
-    F598:    9F 0F F5 AD    LJMP 0000f5ad
-    F59A:    92 43          LD   R1, #3
-    F59B:    D2 C8          ST   R1, [SP--]
-    F59C:    92 41          LD   R1, #1
-    F59D:    D2 C8          ST   R1, [SP--]
-    F59E:    93 05          LD   R1, BP
-    F59F:    05 0D 00 0B    ADD  R2, BP, #b
-    F5A1:    99 02          LD   R4, R2
-    F5A2:    92 C4          LD   R1, [R4]
-    F5A3:    D2 C8          ST   R1, [SP--]
-    F5A4:    93 05          LD   R1, BP
-    F5A5:    05 0D 00 0F    ADD  R2, BP, #f
-    F5A7:    97 02          LD   R3, R2
-    F5A8:    92 C3          LD   R1, [R3]
-    F5A9:    D2 C8          ST   R1, [SP--]
-    F5AA:    F0 41 25 30    CALL 00012530
-    F5AC:    00 44          ADD  SP, #4
-    F5AD:    F0 40 F6 06    CALL ___PROC_0012
-    F5AF:    9F 0F F4 13    LJMP 0000f413
-    F5B1:    93 11 09 6B    LD   R1, [096b]
-    F5B3:    42 42          CMP  R1, #2
-    F5B4:    5E 02          JZ   f5b7
-    F5B5:    9F 0F F5 B9    LJMP 0000f5b9
-    F5B7:    9F 0F F6 03    LJMP 0000f603
-    F5B9:    93 05          LD   R1, BP
-    F5BA:    05 0D 00 09    ADD  R2, BP, #9
-    F5BC:    99 02          LD   R4, R2
-    F5BD:    92 C4          LD   R1, [R4]
-    F5BE:    D2 C8          ST   R1, [SP--]
-    F5BF:    F0 40 F8 DA    CALL 0000f8da
-    F5C1:    00 41          ADD  SP, #1
-    F5C2:    95 05          LD   R2, BP
-    F5C3:    07 0D 00 04    ADD  R3, BP, #4
-    F5C5:    95 03          LD   R2, R3
-    F5C6:    D2 C2          ST   R1, [R2]
-    F5C7:    93 05          LD   R1, BP
-    F5C8:    05 0D 00 04    ADD  R2, BP, #4
-    F5CA:    97 02          LD   R3, R2
-    F5CB:    92 C3          LD   R1, [R3]
-    F5CC:    42 41          CMP  R1, #1
-    F5CD:    5E 02          JZ   f5d0
-    F5CE:    9F 0F F5 D2    LJMP 0000f5d2
-    F5D0:    9F 0F F5 D4    LJMP 0000f5d4
-    F5D2:    9F 0F F5 D4    LJMP 0000f5d4
-    F5D4:    F0 40 F6 06    CALL ___PROC_0012
-    F5D6:    93 11 09 6B    LD   R1, [096b]
-    F5D8:    42 42          CMP  R1, #2
-    F5D9:    5E 02          JZ   f5dc
-    F5DA:    9F 0F F5 DE    LJMP 0000f5de
-    F5DC:    9F 0F F6 03    LJMP 0000f603
-    F5DE:    93 11 09 6B    LD   R1, [096b]
-    F5E0:    42 40          CMP  R1, #0
-    F5E1:    5E 02          JZ   f5e4
-    F5E2:    9F 0F F5 F4    LJMP 0000f5f4
-    F5E4:    93 09 7F FF    LD   R1, #7fff
-    F5E6:    D2 C8          ST   R1, [SP--]
-    F5E7:    93 05          LD   R1, BP
-    F5E8:    05 0D 00 09    ADD  R2, BP, #9
-    F5EA:    99 02          LD   R4, R2
-    F5EB:    92 C4          LD   R1, [R4]
-    F5EC:    D2 C8          ST   R1, [SP--]
-    F5ED:    92 40          LD   R1, #0
-    F5EE:    D2 C8          ST   R1, [SP--]
-    F5EF:    F0 41 76 7A    CALL ___PROC_0034
-    F5F1:    00 43          ADD  SP, #3
-    F5F2:    9F 0F F6 01    LJMP 0000f601
-    F5F4:    92 40          LD   R1, #0
-    F5F5:    D2 C8          ST   R1, [SP--]
-    F5F6:    93 05          LD   R1, BP
-    F5F7:    05 0D 00 09    ADD  R2, BP, #9
-    F5F9:    97 02          LD   R3, R2
-    F5FA:    92 C3          LD   R1, [R3]
-    F5FB:    D2 C8          ST   R1, [SP--]
-    F5FC:    92 40          LD   R1, #0
-    F5FD:    D2 C8          ST   R1, [SP--]
-    F5FE:    F0 41 76 7A    CALL ___PROC_0034
-    F600:    00 43          ADD  SP, #3
-    F601:    F0 40 F6 06    CALL ___PROC_0012
-    F603:    00 56          ADD  SP, #16
-    F604:    98 88          POP  BP-BP, [SP]
-    F605:    9A 90          RETF 
+___PROC_0033:
+    EAFF:    DA 88          PUSH    BP-BP, [SP]
+    EB00:    20 49          SUB     SP, #9
+    EB01:    0B 08 00 01    ADD     BP, SP, #1
+    EB03:    03 0D 00 0C    ADD     R1, BP, #c
+    EB05:    D2 07          ST      R1, [BP+7]
+    EB06:    93 05          LD      R1, BP
+    EB07:    05 0D 00 02    ADD     R2, BP, #2
+    EB09:    93 02          LD      R1, R2
+    EB0A:    07 0A 00 01    ADD     R3, R2, #1
+    EB0C:    D6 08          ST      R3, [BP+8]
+    EB0D:    99 05          LD      R4, BP
+    EB0E:    09 0D 00 02    ADD     R4, BP, #2
+    EB10:    D8 04          ST      R4, [BP+4]
+    EB11:    94 08          LD      R2, [BP+8]
+    EB12:    96 04          LD      R3, [BP+4]
+    EB13:    92 40          LD      R1, #0
+    EB14:    D2 C2          ST      R1, [R2]
+    EB15:    93 09 E5 46    LD      R1, #e546
+    EB17:    D2 C3          ST      R1, [R3]
+    EB18:    93 05          LD      R1, BP
+    EB19:    09 0D 00 02    ADD     R4, BP, #2
+    EB1B:    D8 08          ST      R4, [BP+8]
+    EB1C:    94 08          LD      R2, [BP+8]
+    EB1D:    92 D2          LD      R1, [R2++]
+    EB1E:    94 C2          LD      R2, [R2]
+    EB1F:    D2 05          ST      R1, [BP+5]
+    EB20:    D4 06          ST      R2, [BP+6]
+    EB21:    96 05          LD      R3, [BP+5]
+    EB22:    98 06          LD      R4, [BP+6]
+    EB23:    93 03          LD      R1, R3
+    EB24:    95 04          LD      R2, R4
+    EB25:    9F 0F EB 27    LJMP    0000eb27
+    EB27:    00 49          ADD     SP, #9
+    EB28:    98 88          POP     BP-BP, [SP]
+    EB29:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0012
+;        Function: ___PROC_0029
 
-___PROC_0012:
-    F606:    DA 88          PUSH BP-BP, [SP]
-    F607:    20 41          SUB  SP, #1
-    F608:    0B 08 00 01    ADD  BP, SP, #1
-    F60A:    03 0D 00 04    ADD  R1, BP, #4
-    F60C:    D2 C5          ST   R1, [BP]
-    F60D:    F0 40 E9 4B    CALL OR_088B_1
-    F60F:    F0 40 E9 63    CALL WAIT_UNTIL_08BB_EQUAL_0
-    F611:    F0 41 73 1F    CALL ramCode_reset
-    F613:    00 41          ADD  SP, #1
-    F614:    98 88          POP  BP-BP, [SP]
-    F615:    9A 90          RETF 
+___PROC_0029:
+    EB2A:    DA 88          PUSH    BP-BP, [SP]
+    EB2B:    20 45          SUB     SP, #5
+    EB2C:    0B 08 00 01    ADD     BP, SP, #1
+    EB2E:    03 0D 00 08    ADD     R1, BP, #8
+    EB30:    D2 04          ST      R1, [BP+4]
+    EB31:    F0 40 E9 8A    CALL    ___PROC_0028
+    EB33:    95 05          LD      R2, BP
+    EB34:    07 0D 00 02    ADD     R3, BP, #2
+    EB36:    95 03          LD      R2, R3
+    EB37:    D2 C2          ST      R1, [R2]
+    EB38:    93 05          LD      R1, BP
+    EB39:    05 0D 00 02    ADD     R2, BP, #2
+    EB3B:    97 02          LD      R3, R2
+    EB3C:    92 C3          LD      R1, [R3]
+    EB3D:    42 40          CMP     R1, #0
+    EB3E:    5E 02          JZ      eb41
+    EB3F:    9F 0F EB 8F    LJMP    0000eb8f
+    EB41:    92 7F          LD      R1, #3f
+    EB42:    D2 C8          ST      R1, [SP--]
+    EB43:    62 6A          NEG     R1, #2a
+    EB44:    D2 C8          ST      R1, [SP--]
+    EB45:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EB47:    00 42          ADD     SP, #2
+    EB48:    D2 C5          ST      R1, [BP]
+    EB49:    92 7F          LD      R1, #3f
+    EB4A:    D2 C8          ST      R1, [SP--]
+    EB4B:    62 69          NEG     R1, #29
+    EB4C:    D2 C8          ST      R1, [SP--]
+    EB4D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EB4F:    00 42          ADD     SP, #2
+    EB50:    95 05          LD      R2, BP
+    EB51:    07 0D 00 01    ADD     R3, BP, #1
+    EB53:    95 03          LD      R2, R3
+    EB54:    D2 C2          ST      R1, [R2]
+    EB55:    93 05          LD      R1, BP
+    EB56:    05 0D 00 01    ADD     R2, BP, #1
+    EB58:    97 02          LD      R3, R2
+    EB59:    92 C3          LD      R1, [R3]
+    EB5A:    D2 C8          ST      R1, [SP--]
+    EB5B:    92 C5          LD      R1, [BP]
+    EB5C:    D2 C8          ST      R1, [SP--]
+    EB5D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EB5F:    00 42          ADD     SP, #2
+    EB60:    95 05          LD      R2, BP
+    EB61:    07 0D 00 03    ADD     R3, BP, #3
+    EB63:    95 03          LD      R2, R3
+    EB64:    D2 C2          ST      R1, [R2]
+    EB65:    F0 40 F6 06    CALL    ___PROC_0035
+    EB67:    93 11 09 6B    LD      R1, [096b]
+    EB69:    42 40          CMP     R1, #0
+    EB6A:    5E 02          JZ      eb6d
+    EB6B:    9F 0F EB 75    LJMP    0000eb75
+    EB6D:    93 09 7F FF    LD      R1, #7fff
+    EB6F:    D2 C8          ST      R1, [SP--]
+    EB70:    F0 41 79 CA    CALL    PALETTE_SINGLECOLOR
+    EB72:    00 41          ADD     SP, #1
+    EB73:    9F 0F EB 7A    LJMP    0000eb7a
+    EB75:    92 40          LD      R1, #0
+    EB76:    D2 C8          ST      R1, [SP--]
+    EB77:    F0 41 79 CA    CALL    PALETTE_SINGLECOLOR
+    EB79:    00 41          ADD     SP, #1
+    EB7A:    93 05          LD      R1, BP
+    EB7B:    05 0D 00 03    ADD     R2, BP, #3
+    EB7D:    97 02          LD      R3, R2
+    EB7E:    92 C3          LD      R1, [R3]
+    EB7F:    43 09 FF FF    CMP     R1, R1, #ffff
+    EB81:    4E 02          JNZ     eb84
+    EB82:    9F 0F EB 8D    LJMP    0000eb8d
+    EB84:    93 05          LD      R1, BP
+    EB85:    05 0D 00 03    ADD     R2, BP, #3
+    EB87:    97 02          LD      R3, R2
+    EB88:    92 C3          LD      R1, [R3]
+    EB89:    D2 C8          ST      R1, [SP--]
+    EB8A:    F0 41 75 80    CALL    ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
+    EB8C:    00 41          ADD     SP, #1
+    EB8D:    9F 0F EB C1    LJMP    0000ebc1
+    EB8F:    F0 40 F6 06    CALL    ___PROC_0035
+    EB91:    93 11 09 6B    LD      R1, [096b]
+    EB93:    42 40          CMP     R1, #0
+    EB94:    5E 02          JZ      eb97
+    EB95:    9F 0F EB 9F    LJMP    0000eb9f
+    EB97:    93 09 7F FF    LD      R1, #7fff
+    EB99:    D2 C8          ST      R1, [SP--]
+    EB9A:    F0 41 79 CA    CALL    PALETTE_SINGLECOLOR
+    EB9C:    00 41          ADD     SP, #1
+    EB9D:    9F 0F EB A4    LJMP    0000eba4
+    EB9F:    92 40          LD      R1, #0
+    EBA0:    D2 C8          ST      R1, [SP--]
+    EBA1:    F0 41 79 CA    CALL    PALETTE_SINGLECOLOR
+    EBA3:    00 41          ADD     SP, #1
+    EBA4:    92 4C          LD      R1, #c
+    EBA5:    D2 C8          ST      R1, [SP--]
+    EBA6:    F0 41 78 C3    CALL    000178c3
+    EBA8:    00 41          ADD     SP, #1
+    EBA9:    95 05          LD      R2, BP
+    EBAA:    07 0D 00 03    ADD     R3, BP, #3
+    EBAC:    95 03          LD      R2, R3
+    EBAD:    D2 C2          ST      R1, [R2]
+    EBAE:    93 05          LD      R1, BP
+    EBAF:    05 0D 00 03    ADD     R2, BP, #3
+    EBB1:    97 02          LD      R3, R2
+    EBB2:    92 C3          LD      R1, [R3]
+    EBB3:    43 09 FF FF    CMP     R1, R1, #ffff
+    EBB5:    4E 02          JNZ     ebb8
+    EBB6:    9F 0F EB C1    LJMP    0000ebc1
+    EBB8:    93 05          LD      R1, BP
+    EBB9:    05 0D 00 03    ADD     R2, BP, #3
+    EBBB:    97 02          LD      R3, R2
+    EBBC:    92 C3          LD      R1, [R3]
+    EBBD:    D2 C8          ST      R1, [SP--]
+    EBBE:    F0 41 75 80    CALL    ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
+    EBC0:    00 41          ADD     SP, #1
+    EBC1:    F0 40 F6 06    CALL    ___PROC_0035
+    EBC3:    D2 88          PUSH    R1-R1, [SP]
+    EBC4:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    EBC6:    B3 09 FF F9    AND     R1, R1, #fff9
+    EBC8:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    EBCA:    90 88          POP     R1-R1, [SP]
+    EBCB:    F0 40 F6 06    CALL    ___PROC_0035
+    EBCD:    F0 40 F6 06    CALL    ___PROC_0035
+    EBCF:    D2 88          PUSH    R1-R1, [SP]
+    EBD0:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    EBD2:    B3 09 FF BF    AND     R1, R1, #ffbf
+    EBD4:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    EBD6:    90 88          POP     R1-R1, [SP]
+    EBD7:    F0 40 F6 06    CALL    ___PROC_0035
+    EBD9:    00 45          ADD     SP, #5
+    EBDA:    98 88          POP     BP-BP, [SP]
+    EBDB:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0013
+;        Function: ___PROC_0030
 
-___PROC_0013:
-    F616:    DA 88          PUSH BP-BP, [SP]
-    F617:    20 43          SUB  SP, #3
-    F618:    0B 08 00 01    ADD  BP, SP, #1
-    F61A:    03 0D 00 06    ADD  R1, BP, #6
-    F61C:    D2 02          ST   R1, [BP+2]
-    F61D:    92 40          LD   R1, #0
-    F61E:    D2 C5          ST   R1, [BP]
-AL_0017:
-    F61F:    9F 0F F6 23    LJMP AL_0018
-    F621:    9F 0F F6 4F    LJMP AL_0021
-AL_0018:
-    F623:    F0 41 96 32    CALL ___PROC_0055
-    F625:    95 05          LD   R2, BP
-    F626:    07 0D 00 01    ADD  R3, BP, #1
-    F628:    95 03          LD   R2, R3
-    F629:    D2 C2          ST   R1, [R2]
-    F62A:    93 05          LD   R1, BP
-    F62B:    05 0D 00 01    ADD  R2, BP, #1
-    F62D:    97 02          LD   R3, R2
-    F62E:    92 C3          LD   R1, [R3]
-    F62F:    42 41          CMP  R1, #1
-    F630:    5E 02          JZ   f633
-    F631:    9F 0F F6 35    LJMP AL_0019
-    F633:    9F 0F F6 4F    LJMP AL_0021
-AL_0019:
-    F635:    92 C5          LD   R1, [BP]
-    F636:    05 09 00 01    ADD  R2, R1, #1
-    F638:    D4 C5          ST   R2, [BP]
-    F639:    92 C5          LD   R1, [BP]
-    F63A:    42 60          CMP  R1, #20
-    F63B:    9E 02          JA   f63e
-    F63C:    9F 0F F6 40    LJMP AL_0020
-    F63E:    9F 0F F6 4F    LJMP AL_0021
-AL_0020:
-    F640:    93 09 7F FF    LD   R1, #7fff
-    F642:    D2 C8          ST   R1, [SP--]
-    F643:    94 02          LD   R2, [BP+2]
-    F644:    92 C2          LD   R1, [R2]
-    F645:    D2 C8          ST   R1, [SP--]
-    F646:    92 C5          LD   R1, [BP]
-    F647:    D2 C8          ST   R1, [SP--]
-    F648:    F0 41 76 7A    CALL ___PROC_0034
-    F64A:    00 43          ADD  SP, #3
-    F64B:    F0 40 F6 06    CALL ___PROC_0012
-    F64D:    9F 0F F6 1F    LJMP AL_0017
-AL_0021:
-    F64F:    93 05          LD   R1, BP
-    F650:    05 0D 00 01    ADD  R2, BP, #1
-    F652:    93 02          LD   R1, R2
-    F653:    96 C1          LD   R3, [R1]
-    F654:    93 03          LD   R1, R3
-    F655:    9F 0F F6 57    LJMP 0000f657
-    F657:    00 43          ADD  SP, #3
-    F658:    98 88          POP  BP-BP, [SP]
-    F659:    9A 90          RETF 
-    F65A:    DA 88          PUSH BP-BP, [SP]
-    F65B:    20 43          SUB  SP, #3
-    F65C:    0B 08 00 01    ADD  BP, SP, #1
-    F65E:    03 0D 00 06    ADD  R1, BP, #6
-    F660:    D2 02          ST   R1, [BP+2]
-    F661:    92 40          LD   R1, #0
-    F662:    D2 C5          ST   R1, [BP]
-    F663:    9F 0F F6 67    LJMP 0000f667
-    F665:    9F 0F F6 93    LJMP AL_0022
-    F667:    F0 41 96 32    CALL ___PROC_0055
-    F669:    95 05          LD   R2, BP
-    F66A:    07 0D 00 01    ADD  R3, BP, #1
-    F66C:    95 03          LD   R2, R3
-    F66D:    D2 C2          ST   R1, [R2]
-    F66E:    93 05          LD   R1, BP
-    F66F:    05 0D 00 01    ADD  R2, BP, #1
-    F671:    97 02          LD   R3, R2
-    F672:    92 C3          LD   R1, [R3]
-    F673:    42 41          CMP  R1, #1
-    F674:    5E 02          JZ   f677
-    F675:    9F 0F F6 79    LJMP 0000f679
-    F677:    9F 0F F6 93    LJMP AL_0022
-    F679:    92 C5          LD   R1, [BP]
-    F67A:    05 09 00 01    ADD  R2, R1, #1
-    F67C:    D4 C5          ST   R2, [BP]
-    F67D:    92 C5          LD   R1, [BP]
-    F67E:    42 60          CMP  R1, #20
-    F67F:    9E 02          JA   f682
-    F680:    9F 0F F6 84    LJMP 0000f684
-    F682:    9F 0F F6 93    LJMP AL_0022
-    F684:    93 09 7F FF    LD   R1, #7fff
-    F686:    D2 C8          ST   R1, [SP--]
-    F687:    94 02          LD   R2, [BP+2]
-    F688:    92 C2          LD   R1, [R2]
-    F689:    D2 C8          ST   R1, [SP--]
-    F68A:    92 C5          LD   R1, [BP]
-    F68B:    D2 C8          ST   R1, [SP--]
-    F68C:    F0 41 75 FD    CALL ___PROC_0032
-    F68E:    00 43          ADD  SP, #3
-    F68F:    F0 40 F6 06    CALL ___PROC_0012
-    F691:    9F 0F F6 63    LJMP 0000f663
-AL_0022:
-    F693:    93 05          LD   R1, BP
-    F694:    05 0D 00 01    ADD  R2, BP, #1
-    F696:    93 02          LD   R1, R2
-    F697:    96 C1          LD   R3, [R1]
-    F698:    93 03          LD   R1, R3
-    F699:    9F 0F F6 9B    LJMP 0000f69b
-    F69B:    00 43          ADD  SP, #3
-    F69C:    98 88          POP  BP-BP, [SP]
-    F69D:    9A 90          RETF 
-    F69E:    DA 88          PUSH BP-BP, [SP]
-    F69F:    20 48          SUB  SP, #8
-    F6A0:    0B 08 00 01    ADD  BP, SP, #1
-    F6A2:    03 0D 00 0B    ADD  R1, BP, #b
-    F6A4:    D2 07          ST   R1, [BP+7]
-    F6A5:    92 07          LD   R1, [BP+7]
-    F6A6:    96 07          LD   R3, [BP+7]
-    F6A7:    05 0B 00 01    ADD  R2, R3, #1
-    F6A9:    99 02          LD   R4, R2
-    F6AA:    92 C4          LD   R1, [R4]
-    F6AB:    D2 C8          ST   R1, [SP--]
-    F6AC:    94 07          LD   R2, [BP+7]
-    F6AD:    92 C2          LD   R1, [R2]
-    F6AE:    D2 C8          ST   R1, [SP--]
-    F6AF:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F6B1:    00 42          ADD  SP, #2
-    F6B2:    95 05          LD   R2, BP
-    F6B3:    07 0D 00 03    ADD  R3, BP, #3
-    F6B5:    99 03          LD   R4, R3
-    F6B6:    D2 C4          ST   R1, [R4]
-    F6B7:    94 07          LD   R2, [BP+7]
-    F6B8:    92 C2          LD   R1, [R2]
-    F6B9:    05 09 00 01    ADD  R2, R1, #1
-    F6BB:    96 07          LD   R3, [BP+7]
-    F6BC:    D4 C3          ST   R2, [R3]
-    F6BD:    92 07          LD   R1, [BP+7]
-    F6BE:    98 07          LD   R4, [BP+7]
-    F6BF:    05 0C 00 01    ADD  R2, R4, #1
-    F6C1:    97 02          LD   R3, R2
-    F6C2:    92 C3          LD   R1, [R3]
-    F6C3:    D2 C8          ST   R1, [SP--]
-    F6C4:    98 07          LD   R4, [BP+7]
-    F6C5:    92 C4          LD   R1, [R4]
-    F6C6:    D2 C8          ST   R1, [SP--]
-    F6C7:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F6C9:    00 42          ADD  SP, #2
-    F6CA:    95 05          LD   R2, BP
-    F6CB:    07 0D 00 04    ADD  R3, BP, #4
-    F6CD:    95 03          LD   R2, R3
-    F6CE:    D2 C2          ST   R1, [R2]
-    F6CF:    96 07          LD   R3, [BP+7]
-    F6D0:    92 C3          LD   R1, [R3]
-    F6D1:    05 09 00 01    ADD  R2, R1, #1
-    F6D3:    98 07          LD   R4, [BP+7]
-    F6D4:    D4 C4          ST   R2, [R4]
-    F6D5:    92 07          LD   R1, [BP+7]
-    F6D6:    92 07          LD   R1, [BP+7]
-    F6D7:    05 09 00 01    ADD  R2, R1, #1
-    F6D9:    97 02          LD   R3, R2
-    F6DA:    92 C3          LD   R1, [R3]
-    F6DB:    D2 C8          ST   R1, [SP--]
-    F6DC:    98 07          LD   R4, [BP+7]
-    F6DD:    92 C4          LD   R1, [R4]
-    F6DE:    D2 C8          ST   R1, [SP--]
-    F6DF:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F6E1:    00 42          ADD  SP, #2
-    F6E2:    95 05          LD   R2, BP
-    F6E3:    07 0D 00 06    ADD  R3, BP, #6
-    F6E5:    95 03          LD   R2, R3
-    F6E6:    D2 C2          ST   R1, [R2]
-    F6E7:    96 07          LD   R3, [BP+7]
-    F6E8:    92 C3          LD   R1, [R3]
-    F6E9:    05 09 00 01    ADD  R2, R1, #1
-    F6EB:    98 07          LD   R4, [BP+7]
-    F6EC:    D4 C4          ST   R2, [R4]
-    F6ED:    93 05          LD   R1, BP
-    F6EE:    05 0D 00 02    ADD  R2, BP, #2
-    F6F0:    96 07          LD   R3, [BP+7]
-    F6F1:    92 C3          LD   R1, [R3]
-    F6F2:    99 02          LD   R4, R2
-AL_0023:
-    F6F3:    D2 C4          ST   R1, [R4]
-    F6F4:    93 05          LD   R1, BP
-    F6F5:    05 0D 00 01    ADD  R2, BP, #1
-    F6F7:    92 40          LD   R1, #0
-    F6F8:    97 02          LD   R3, R2
-    F6F9:    D2 C3          ST   R1, [R3]
-    F6FA:    92 40          LD   R1, #0
-    F6FB:    D2 C5          ST   R1, [BP]
-    F6FC:    9F 0F F7 00    LJMP 0000f700
-    F6FE:    9F 0F F7 B1    LJMP 0000f7b1
-    F700:    92 C5          LD   R1, [BP]
-    F701:    05 09 00 01    ADD  R2, R1, #1
-    F703:    D4 C5          ST   R2, [BP]
-    F704:    92 C5          LD   R1, [BP]
-    F705:    42 60          CMP  R1, #20
-    F706:    9E 02          JA   f709
-    F707:    9F 0F F7 0B    LJMP 0000f70b
-    F709:    9F 0F F7 B1    LJMP 0000f7b1
-    F70B:    93 05          LD   R1, BP
-    F70C:    05 0D 00 04    ADD  R2, BP, #4
-    F70E:    99 02          LD   R4, R2
-    F70F:    92 C4          LD   R1, [R4]
-    F710:    D2 C8          ST   R1, [SP--]
-    F711:    93 05          LD   R1, BP
-    F712:    05 0D 00 03    ADD  R2, BP, #3
-    F714:    97 02          LD   R3, R2
-    F715:    92 C3          LD   R1, [R3]
-    F716:    D2 C8          ST   R1, [SP--]
-    F717:    92 C5          LD   R1, [BP]
-    F718:    D2 C8          ST   R1, [SP--]
-    F719:    F0 41 76 7A    CALL ___PROC_0034
-    F71B:    00 43          ADD  SP, #3
-    F71C:    93 05          LD   R1, BP
-    F71D:    05 0D 00 02    ADD  R2, BP, #2
-    F71F:    99 02          LD   R4, R2
-    F720:    92 C4          LD   R1, [R4]
-    F721:    94 07          LD   R2, [BP+7]
-    F722:    D2 C2          ST   R1, [R2]
-    F723:    92 07          LD   R1, [BP+7]
-    F724:    96 07          LD   R3, [BP+7]
-    F725:    05 0B 00 01    ADD  R2, R3, #1
-    F727:    99 02          LD   R4, R2
-    F728:    92 C4          LD   R1, [R4]
-    F729:    D2 C8          ST   R1, [SP--]
-    F72A:    94 07          LD   R2, [BP+7]
-    F72B:    92 C2          LD   R1, [R2]
-    F72C:    D2 C8          ST   R1, [SP--]
-    F72D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F72F:    00 42          ADD  SP, #2
-    F730:    95 05          LD   R2, BP
-    F731:    07 0D 00 05    ADD  R3, BP, #5
-    F733:    99 03          LD   R4, R3
-    F734:    D2 C4          ST   R1, [R4]
-    F735:    94 07          LD   R2, [BP+7]
-    F736:    92 C2          LD   R1, [R2]
-    F737:    05 09 00 01    ADD  R2, R1, #1
-    F739:    96 07          LD   R3, [BP+7]
-    F73A:    D4 C3          ST   R2, [R3]
-    F73B:    93 05          LD   R1, BP
-    F73C:    05 0D 00 05    ADD  R2, BP, #5
-    F73E:    99 02          LD   R4, R2
-    F73F:    92 C4          LD   R1, [R4]
-    F740:    43 09 FF FF    CMP  R1, R1, #ffff
-    F742:    5E 02          JZ   f745
-    F743:    9F 0F F7 47    LJMP 0000f747
-    F745:    9F 0F F7 6A    LJMP 0000f76a
-    F747:    93 05          LD   R1, BP
-    F748:    05 0D 00 05    ADD  R2, BP, #5
-    F74A:    97 02          LD   R3, R2
-    F74B:    92 C3          LD   R1, [R3]
-    F74C:    D2 C8          ST   R1, [SP--]
-    F74D:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F74F:    00 41          ADD  SP, #1
-    F750:    92 07          LD   R1, [BP+7]
-    F751:    98 07          LD   R4, [BP+7]
-    F752:    05 0C 00 01    ADD  R2, R4, #1
-    F754:    97 02          LD   R3, R2
-    F755:    92 C3          LD   R1, [R3]
-    F756:    D2 C8          ST   R1, [SP--]
-    F757:    98 07          LD   R4, [BP+7]
-    F758:    92 C4          LD   R1, [R4]
-    F759:    D2 C8          ST   R1, [SP--]
-    F75A:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F75C:    00 42          ADD  SP, #2
-    F75D:    95 05          LD   R2, BP
-    F75E:    07 0D 00 05    ADD  R3, BP, #5
-    F760:    95 03          LD   R2, R3
-    F761:    D2 C2          ST   R1, [R2]
-    F762:    96 07          LD   R3, [BP+7]
-    F763:    92 C3          LD   R1, [R3]
-    F764:    05 09 00 01    ADD  R2, R1, #1
-    F766:    98 07          LD   R4, [BP+7]
-    F767:    D4 C4          ST   R2, [R4]
-    F768:    9F 0F F7 3B    LJMP 0000f73b
-    F76A:    95 05          LD   R2, BP
-    F76B:    03 0D 00 05    ADD  R1, BP, #5
-    F76D:    95 05          LD   R2, BP
-    F76E:    07 0D 00 06    ADD  R3, BP, #6
-    F770:    99 03          LD   R4, R3
-    F771:    94 C4          LD   R2, [R4]
-    F772:    97 01          LD   R3, R1
-    F773:    D4 C3          ST   R2, [R3]
-    F774:    93 05          LD   R1, BP
-    F775:    05 0D 00 05    ADD  R2, BP, #5
-    F777:    99 02          LD   R4, R2
-    F778:    92 C4          LD   R1, [R4]
-    F779:    42 40          CMP  R1, #0
-    F77A:    5E 02          JZ   f77d
-    F77B:    9F 0F F7 7F    LJMP 0000f77f
-    F77D:    9F 0F F7 A4    LJMP 0000f7a4
-    F77F:    F0 40 F6 06    CALL ___PROC_0012
-    F781:    93 05          LD   R1, BP
-    F782:    05 0D 00 05    ADD  R2, BP, #5
-    F784:    97 05          LD   R3, BP
-    F785:    03 0D 00 05    ADD  R1, BP, #5
-    F787:    95 05          LD   R2, BP
-    F788:    07 0D 00 05    ADD  R3, BP, #5
-    F78A:    99 03          LD   R4, R3
-    F78B:    94 C4          LD   R2, [R4]
-    F78C:    07 0A FF FF    ADD  R3, R2, #ffff
-    F78E:    95 01          LD   R2, R1
-    F78F:    D6 C2          ST   R3, [R2]
-    F790:    F0 41 96 32    CALL ___PROC_0055
-    F792:    95 05          LD   R2, BP
-    F793:    07 0D 00 01    ADD  R3, BP, #1
-    F795:    99 03          LD   R4, R3
-    F796:    D2 C4          ST   R1, [R4]
-    F797:    93 05          LD   R1, BP
-    F798:    05 0D 00 01    ADD  R2, BP, #1
-    F79A:    97 02          LD   R3, R2
-    F79B:    92 C3          LD   R1, [R3]
-    F79C:    42 41          CMP  R1, #1
-    F79D:    5E 02          JZ   f7a0
-    F79E:    9F 0F F7 A2    LJMP 0000f7a2
-    F7A0:    9F 0F F7 A4    LJMP 0000f7a4
-    F7A2:    9F 0F F7 74    LJMP 0000f774
-    F7A4:    93 05          LD   R1, BP
-    F7A5:    05 0D 00 01    ADD  R2, BP, #1
-    F7A7:    99 02          LD   R4, R2
-    F7A8:    92 C4          LD   R1, [R4]
-    F7A9:    42 41          CMP  R1, #1
-    F7AA:    5E 02          JZ   f7ad
-    F7AB:    9F 0F F7 AF    LJMP 0000f7af
-    F7AD:    9F 0F F7 B1    LJMP 0000f7b1
-    F7AF:    9F 0F F6 FC    LJMP 0000f6fc
-    F7B1:    93 05          LD   R1, BP
-    F7B2:    05 0D 00 01    ADD  R2, BP, #1
-    F7B4:    93 02          LD   R1, R2
-    F7B5:    96 C1          LD   R3, [R1]
-    F7B6:    93 03          LD   R1, R3
-    F7B7:    9F 0F F7 B9    LJMP 0000f7b9
-    F7B9:    00 48          ADD  SP, #8
-    F7BA:    98 88          POP  BP-BP, [SP]
-    F7BB:    9A 90          RETF 
-    F7BC:    DA 88          PUSH BP-BP, [SP]
-    F7BD:    20 48          SUB  SP, #8
-    F7BE:    0B 08 00 01    ADD  BP, SP, #1
-    F7C0:    03 0D 00 0B    ADD  R1, BP, #b
-    F7C2:    D2 07          ST   R1, [BP+7]
-    F7C3:    92 07          LD   R1, [BP+7]
-    F7C4:    96 07          LD   R3, [BP+7]
-    F7C5:    05 0B 00 01    ADD  R2, R3, #1
-    F7C7:    99 02          LD   R4, R2
-    F7C8:    92 C4          LD   R1, [R4]
-    F7C9:    D2 C8          ST   R1, [SP--]
-    F7CA:    94 07          LD   R2, [BP+7]
-    F7CB:    92 C2          LD   R1, [R2]
-    F7CC:    D2 C8          ST   R1, [SP--]
-    F7CD:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F7CF:    00 42          ADD  SP, #2
-    F7D0:    95 05          LD   R2, BP
-    F7D1:    07 0D 00 03    ADD  R3, BP, #3
-    F7D3:    99 03          LD   R4, R3
-    F7D4:    D2 C4          ST   R1, [R4]
-    F7D5:    94 07          LD   R2, [BP+7]
-    F7D6:    92 C2          LD   R1, [R2]
-    F7D7:    05 09 00 01    ADD  R2, R1, #1
-    F7D9:    96 07          LD   R3, [BP+7]
-    F7DA:    D4 C3          ST   R2, [R3]
-    F7DB:    92 07          LD   R1, [BP+7]
-    F7DC:    98 07          LD   R4, [BP+7]
-    F7DD:    05 0C 00 01    ADD  R2, R4, #1
-    F7DF:    97 02          LD   R3, R2
-    F7E0:    92 C3          LD   R1, [R3]
-    F7E1:    D2 C8          ST   R1, [SP--]
-    F7E2:    98 07          LD   R4, [BP+7]
-    F7E3:    92 C4          LD   R1, [R4]
-    F7E4:    D2 C8          ST   R1, [SP--]
-    F7E5:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F7E7:    00 42          ADD  SP, #2
-    F7E8:    95 05          LD   R2, BP
-    F7E9:    07 0D 00 04    ADD  R3, BP, #4
-    F7EB:    95 03          LD   R2, R3
-    F7EC:    D2 C2          ST   R1, [R2]
-    F7ED:    96 07          LD   R3, [BP+7]
-    F7EE:    92 C3          LD   R1, [R3]
-    F7EF:    05 09 00 01    ADD  R2, R1, #1
-    F7F1:    98 07          LD   R4, [BP+7]
-    F7F2:    D4 C4          ST   R2, [R4]
-    F7F3:    92 07          LD   R1, [BP+7]
-    F7F4:    92 07          LD   R1, [BP+7]
-    F7F5:    05 09 00 01    ADD  R2, R1, #1
-    F7F7:    97 02          LD   R3, R2
-    F7F8:    92 C3          LD   R1, [R3]
-    F7F9:    D2 C8          ST   R1, [SP--]
-    F7FA:    98 07          LD   R4, [BP+7]
-    F7FB:    92 C4          LD   R1, [R4]
-    F7FC:    D2 C8          ST   R1, [SP--]
-    F7FD:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F7FF:    00 42          ADD  SP, #2
-    F800:    95 05          LD   R2, BP
-    F801:    07 0D 00 06    ADD  R3, BP, #6
-    F803:    95 03          LD   R2, R3
-    F804:    D2 C2          ST   R1, [R2]
-    F805:    96 07          LD   R3, [BP+7]
-    F806:    92 C3          LD   R1, [R3]
-    F807:    05 09 00 01    ADD  R2, R1, #1
-    F809:    98 07          LD   R4, [BP+7]
-    F80A:    D4 C4          ST   R2, [R4]
-    F80B:    93 05          LD   R1, BP
-    F80C:    05 0D 00 02    ADD  R2, BP, #2
-    F80E:    96 07          LD   R3, [BP+7]
-    F80F:    92 C3          LD   R1, [R3]
-    F810:    99 02          LD   R4, R2
-    F811:    D2 C4          ST   R1, [R4]
-    F812:    93 05          LD   R1, BP
-    F813:    05 0D 00 01    ADD  R2, BP, #1
-    F815:    92 40          LD   R1, #0
-    F816:    97 02          LD   R3, R2
-    F817:    D2 C3          ST   R1, [R3]
-    F818:    92 40          LD   R1, #0
-    F819:    D2 C5          ST   R1, [BP]
-    F81A:    9F 0F F8 1E    LJMP 0000f81e
-    F81C:    9F 0F F8 CF    LJMP 0000f8cf
-    F81E:    92 C5          LD   R1, [BP]
-    F81F:    05 09 00 01    ADD  R2, R1, #1
-    F821:    D4 C5          ST   R2, [BP]
-    F822:    92 C5          LD   R1, [BP]
-    F823:    42 60          CMP  R1, #20
-    F824:    9E 02          JA   f827
-    F825:    9F 0F F8 29    LJMP 0000f829
-    F827:    9F 0F F8 CF    LJMP 0000f8cf
-    F829:    93 05          LD   R1, BP
-    F82A:    05 0D 00 04    ADD  R2, BP, #4
-    F82C:    99 02          LD   R4, R2
-    F82D:    92 C4          LD   R1, [R4]
-    F82E:    D2 C8          ST   R1, [SP--]
-    F82F:    93 05          LD   R1, BP
-    F830:    05 0D 00 03    ADD  R2, BP, #3
-    F832:    97 02          LD   R3, R2
-    F833:    92 C3          LD   R1, [R3]
-    F834:    D2 C8          ST   R1, [SP--]
-    F835:    92 C5          LD   R1, [BP]
-    F836:    D2 C8          ST   R1, [SP--]
-    F837:    F0 41 75 FD    CALL ___PROC_0032
-    F839:    00 43          ADD  SP, #3
-    F83A:    93 05          LD   R1, BP
-    F83B:    05 0D 00 02    ADD  R2, BP, #2
-    F83D:    99 02          LD   R4, R2
-    F83E:    92 C4          LD   R1, [R4]
-    F83F:    94 07          LD   R2, [BP+7]
-    F840:    D2 C2          ST   R1, [R2]
-    F841:    92 07          LD   R1, [BP+7]
-    F842:    96 07          LD   R3, [BP+7]
-    F843:    05 0B 00 01    ADD  R2, R3, #1
-    F845:    99 02          LD   R4, R2
-    F846:    92 C4          LD   R1, [R4]
-    F847:    D2 C8          ST   R1, [SP--]
-    F848:    94 07          LD   R2, [BP+7]
-    F849:    92 C2          LD   R1, [R2]
-    F84A:    D2 C8          ST   R1, [SP--]
-    F84B:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F84D:    00 42          ADD  SP, #2
-    F84E:    95 05          LD   R2, BP
-    F84F:    07 0D 00 05    ADD  R3, BP, #5
-    F851:    99 03          LD   R4, R3
-    F852:    D2 C4          ST   R1, [R4]
-    F853:    94 07          LD   R2, [BP+7]
-    F854:    92 C2          LD   R1, [R2]
-    F855:    05 09 00 01    ADD  R2, R1, #1
-    F857:    96 07          LD   R3, [BP+7]
-    F858:    D4 C3          ST   R2, [R3]
-    F859:    93 05          LD   R1, BP
-    F85A:    05 0D 00 05    ADD  R2, BP, #5
-    F85C:    99 02          LD   R4, R2
-    F85D:    92 C4          LD   R1, [R4]
-    F85E:    43 09 FF FF    CMP  R1, R1, #ffff
-    F860:    5E 02          JZ   f863
-    F861:    9F 0F F8 65    LJMP 0000f865
-    F863:    9F 0F F8 88    LJMP 0000f888
-    F865:    93 05          LD   R1, BP
-    F866:    05 0D 00 05    ADD  R2, BP, #5
-    F868:    97 02          LD   R3, R2
-    F869:    92 C3          LD   R1, [R3]
-    F86A:    D2 C8          ST   R1, [SP--]
-    F86B:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F86D:    00 41          ADD  SP, #1
-    F86E:    92 07          LD   R1, [BP+7]
-    F86F:    98 07          LD   R4, [BP+7]
-    F870:    05 0C 00 01    ADD  R2, R4, #1
-    F872:    97 02          LD   R3, R2
-    F873:    92 C3          LD   R1, [R3]
-    F874:    D2 C8          ST   R1, [SP--]
-    F875:    98 07          LD   R4, [BP+7]
-    F876:    92 C4          LD   R1, [R4]
-    F877:    D2 C8          ST   R1, [SP--]
-    F878:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F87A:    00 42          ADD  SP, #2
-    F87B:    95 05          LD   R2, BP
-    F87C:    07 0D 00 05    ADD  R3, BP, #5
-    F87E:    95 03          LD   R2, R3
-    F87F:    D2 C2          ST   R1, [R2]
-    F880:    96 07          LD   R3, [BP+7]
-    F881:    92 C3          LD   R1, [R3]
-    F882:    05 09 00 01    ADD  R2, R1, #1
-    F884:    98 07          LD   R4, [BP+7]
-    F885:    D4 C4          ST   R2, [R4]
-    F886:    9F 0F F8 59    LJMP 0000f859
-    F888:    95 05          LD   R2, BP
-    F889:    03 0D 00 05    ADD  R1, BP, #5
-    F88B:    95 05          LD   R2, BP
-    F88C:    07 0D 00 06    ADD  R3, BP, #6
-    F88E:    99 03          LD   R4, R3
-    F88F:    94 C4          LD   R2, [R4]
-    F890:    97 01          LD   R3, R1
-    F891:    D4 C3          ST   R2, [R3]
-    F892:    93 05          LD   R1, BP
-    F893:    05 0D 00 05    ADD  R2, BP, #5
-    F895:    99 02          LD   R4, R2
-    F896:    92 C4          LD   R1, [R4]
-    F897:    42 40          CMP  R1, #0
-    F898:    5E 02          JZ   f89b
-    F899:    9F 0F F8 9D    LJMP 0000f89d
-    F89B:    9F 0F F8 C2    LJMP 0000f8c2
-    F89D:    F0 40 F6 06    CALL ___PROC_0012
-    F89F:    93 05          LD   R1, BP
-    F8A0:    05 0D 00 05    ADD  R2, BP, #5
-    F8A2:    97 05          LD   R3, BP
-    F8A3:    03 0D 00 05    ADD  R1, BP, #5
-    F8A5:    95 05          LD   R2, BP
-    F8A6:    07 0D 00 05    ADD  R3, BP, #5
-    F8A8:    99 03          LD   R4, R3
-    F8A9:    94 C4          LD   R2, [R4]
-    F8AA:    07 0A FF FF    ADD  R3, R2, #ffff
-    F8AC:    95 01          LD   R2, R1
-    F8AD:    D6 C2          ST   R3, [R2]
-    F8AE:    F0 41 96 32    CALL ___PROC_0055
-    F8B0:    95 05          LD   R2, BP
-    F8B1:    07 0D 00 01    ADD  R3, BP, #1
-    F8B3:    99 03          LD   R4, R3
-    F8B4:    D2 C4          ST   R1, [R4]
-    F8B5:    93 05          LD   R1, BP
-    F8B6:    05 0D 00 01    ADD  R2, BP, #1
-    F8B8:    97 02          LD   R3, R2
-    F8B9:    92 C3          LD   R1, [R3]
-    F8BA:    42 41          CMP  R1, #1
-    F8BB:    5E 02          JZ   f8be
-    F8BC:    9F 0F F8 C0    LJMP 0000f8c0
-    F8BE:    9F 0F F8 C2    LJMP 0000f8c2
-    F8C0:    9F 0F F8 92    LJMP 0000f892
-    F8C2:    93 05          LD   R1, BP
-    F8C3:    05 0D 00 01    ADD  R2, BP, #1
-    F8C5:    99 02          LD   R4, R2
-    F8C6:    92 C4          LD   R1, [R4]
-    F8C7:    42 41          CMP  R1, #1
-    F8C8:    5E 02          JZ   f8cb
-    F8C9:    9F 0F F8 CD    LJMP 0000f8cd
-    F8CB:    9F 0F F8 CF    LJMP 0000f8cf
-    F8CD:    9F 0F F8 1A    LJMP 0000f81a
-    F8CF:    93 05          LD   R1, BP
-    F8D0:    05 0D 00 01    ADD  R2, BP, #1
-    F8D2:    93 02          LD   R1, R2
-    F8D3:    96 C1          LD   R3, [R1]
-    F8D4:    93 03          LD   R1, R3
-    F8D5:    9F 0F F8 D7    LJMP 0000f8d7
-    F8D7:    00 48          ADD  SP, #8
-    F8D8:    98 88          POP  BP-BP, [SP]
-    F8D9:    9A 90          RETF 
-    F8DA:    DA 88          PUSH BP-BP, [SP]
-    F8DB:    20 44          SUB  SP, #4
-    F8DC:    0B 08 00 01    ADD  BP, SP, #1
-    F8DE:    03 0D 00 07    ADD  R1, BP, #7
-    F8E0:    D2 03          ST   R1, [BP+3]
-    F8E1:    92 40          LD   R1, #0
-    F8E2:    D2 C5          ST   R1, [BP]
-    F8E3:    93 11 09 6B    LD   R1, [096b]
-    F8E5:    42 40          CMP  R1, #0
-    F8E6:    5E 02          JZ   f8e9
-    F8E7:    9F 0F F8 F2    LJMP 0000f8f2
-    F8E9:    93 05          LD   R1, BP
-    F8EA:    05 0D 00 02    ADD  R2, BP, #2
-    F8EC:    93 09 7F FF    LD   R1, #7fff
-    F8EE:    97 02          LD   R3, R2
-    F8EF:    D2 C3          ST   R1, [R3]
-    F8F0:    9F 0F F8 F8    LJMP 0000f8f8
-    F8F2:    93 05          LD   R1, BP
-    F8F3:    05 0D 00 02    ADD  R2, BP, #2
-    F8F5:    92 40          LD   R1, #0
-    F8F6:    97 02          LD   R3, R2
-    F8F7:    D2 C3          ST   R1, [R3]
-    F8F8:    9F 0F F8 FC    LJMP 0000f8fc
-    F8FA:    9F 0F F9 71    LJMP 0000f971
-    F8FC:    F0 41 96 32    CALL ___PROC_0055
-    F8FE:    95 05          LD   R2, BP
-    F8FF:    07 0D 00 01    ADD  R3, BP, #1
-    F901:    95 03          LD   R2, R3
-    F902:    D2 C2          ST   R1, [R2]
-    F903:    93 05          LD   R1, BP
-    F904:    05 0D 00 01    ADD  R2, BP, #1
-    F906:    97 02          LD   R3, R2
-    F907:    92 C3          LD   R1, [R3]
-    F908:    42 41          CMP  R1, #1
-    F909:    5E 02          JZ   f90c
-    F90A:    9F 0F F9 0E    LJMP 0000f90e
-    F90C:    9F 0F F9 71    LJMP 0000f971
-    F90E:    92 C5          LD   R1, [BP]
-    F90F:    05 09 00 01    ADD  R2, R1, #1
-    F911:    D4 C5          ST   R2, [BP]
-    F912:    92 C5          LD   R1, [BP]
-    F913:    42 60          CMP  R1, #20
-    F914:    9E 02          JA   f917
-    F915:    9F 0F F9 19    LJMP 0000f919
-    F917:    9F 0F F9 71    LJMP 0000f971
-    F919:    93 05          LD   R1, BP
-    F91A:    05 0D 00 02    ADD  R2, BP, #2
-    F91C:    97 02          LD   R3, R2
-    F91D:    92 C3          LD   R1, [R3]
-    F91E:    D2 C8          ST   R1, [SP--]
-    F91F:    94 03          LD   R2, [BP+3]
-    F920:    92 C2          LD   R1, [R2]
-    F921:    D2 C8          ST   R1, [SP--]
-    F922:    92 C5          LD   R1, [BP]
-    F923:    D2 C8          ST   R1, [SP--]
-    F924:    F0 41 75 FD    CALL ___PROC_0032
-    F926:    00 43          ADD  SP, #3
-    F927:    92 40          LD   R1, #0
-    F928:    D2 C8          ST   R1, [SP--]
-    F929:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F92B:    00 41          ADD  SP, #1
-    F92C:    92 41          LD   R1, #1
-    F92D:    D2 C8          ST   R1, [SP--]
-    F92E:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F930:    00 41          ADD  SP, #1
-    F931:    93 09 00 40    LD   R1, #40
-    F933:    D2 C8          ST   R1, [SP--]
-    F934:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F936:    00 41          ADD  SP, #1
-    F937:    93 09 00 42    LD   R1, #42
-    F939:    D2 C8          ST   R1, [SP--]
-    F93A:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F93C:    00 41          ADD  SP, #1
-    F93D:    93 09 00 43    LD   R1, #43
-    F93F:    D2 C8          ST   R1, [SP--]
-    F940:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F942:    00 41          ADD  SP, #1
-    F943:    93 09 00 44    LD   R1, #44
-    F945:    D2 C8          ST   R1, [SP--]
-    F946:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F948:    00 41          ADD  SP, #1
-    F949:    93 09 00 45    LD   R1, #45
-    F94B:    D2 C8          ST   R1, [SP--]
-    F94C:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F94E:    00 41          ADD  SP, #1
-    F94F:    93 09 00 46    LD   R1, #46
-    F951:    D2 C8          ST   R1, [SP--]
-    F952:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F954:    00 41          ADD  SP, #1
-    F955:    93 09 00 80    LD   R1, #80
-    F957:    D2 C8          ST   R1, [SP--]
-    F958:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F95A:    00 41          ADD  SP, #1
-    F95B:    93 09 00 90    LD   R1, #90
-    F95D:    D2 C8          ST   R1, [SP--]
-    F95E:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F960:    00 41          ADD  SP, #1
-    F961:    93 09 00 B0    LD   R1, #b0
-    F963:    D2 C8          ST   R1, [SP--]
-    F964:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F966:    00 41          ADD  SP, #1
-    F967:    93 09 00 B1    LD   R1, #b1
-    F969:    D2 C8          ST   R1, [SP--]
-    F96A:    F0 41 79 95    CALL Color_setTransparentIndirect
-    F96C:    00 41          ADD  SP, #1
-    F96D:    F0 40 F6 06    CALL ___PROC_0012
-    F96F:    9F 0F F8 F8    LJMP 0000f8f8
-    F971:    93 05          LD   R1, BP
-    F972:    05 0D 00 01    ADD  R2, BP, #1
-    F974:    93 02          LD   R1, R2
-    F975:    96 C1          LD   R3, [R1]
-    F976:    93 03          LD   R1, R3
-    F977:    9F 0F F9 79    LJMP 0000f979
-    F979:    00 44          ADD  SP, #4
-    F97A:    98 88          POP  BP-BP, [SP]
-    F97B:    9A 90          RETF 
-    F97C:    DA 88          PUSH BP-BP, [SP]
-    F97D:    20 45          SUB  SP, #5
-    F97E:    0B 08 00 01    ADD  BP, SP, #1
-    F980:    03 0D 00 08    ADD  R1, BP, #8
-    F982:    D2 04          ST   R1, [BP+4]
-    F983:    92 7F          LD   R1, #3f
-    F984:    D2 C8          ST   R1, [SP--]
-    F985:    62 66          NEG  R1, #26
-    F986:    D2 C8          ST   R1, [SP--]
-    F987:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F989:    00 42          ADD  SP, #2
-    F98A:    95 05          LD   R2, BP
-    F98B:    07 0D 00 02    ADD  R3, BP, #2
-    F98D:    95 03          LD   R2, R3
-    F98E:    D2 C2          ST   R1, [R2]
-    F98F:    92 7F          LD   R1, #3f
-    F990:    D2 C8          ST   R1, [SP--]
-    F991:    62 65          NEG  R1, #25
-    F992:    D2 C8          ST   R1, [SP--]
-    F993:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F995:    00 42          ADD  SP, #2
-    F996:    95 05          LD   R2, BP
-    F997:    07 0D 00 02    ADD  R3, BP, #2
-    F999:    95 03          LD   R2, R3
-    F99A:    06 41          ADD  R3, #1
-    F99B:    99 03          LD   R4, R3
-    F99C:    D2 C4          ST   R1, [R4]
-    F99D:    93 05          LD   R1, BP
-    F99E:    05 0D 00 02    ADD  R2, BP, #2
-    F9A0:    93 02          LD   R1, R2
-    F9A1:    04 41          ADD  R2, #1
-    F9A2:    97 02          LD   R3, R2
-    F9A3:    92 C3          LD   R1, [R3]
-    F9A4:    D2 C8          ST   R1, [SP--]
-    F9A5:    93 05          LD   R1, BP
-    F9A6:    05 0D 00 02    ADD  R2, BP, #2
-    F9A8:    99 02          LD   R4, R2
-    F9A9:    92 C4          LD   R1, [R4]
-    F9AA:    D2 C8          ST   R1, [SP--]
-    F9AB:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F9AD:    00 42          ADD  SP, #2
-    F9AE:    D2 C5          ST   R1, [BP]
-    F9AF:    92 C5          LD   R1, [BP]
-    F9B0:    43 09 00 54    CMP  R1, R1, #54
-    F9B2:    4E 02          JNZ  f9b5
-    F9B3:    9F 0F F9 B8    LJMP 0000f9b8
-    F9B5:    62 41          NEG  R1, #1
-    F9B6:    9F 0F FA E7    LJMP 0000fae7
-    F9B8:    93 05          LD   R1, BP
-    F9B9:    05 0D 00 02    ADD  R2, BP, #2
-    F9BB:    97 05          LD   R3, BP
-    F9BC:    03 0D 00 02    ADD  R1, BP, #2
-    F9BE:    95 05          LD   R2, BP
-    F9BF:    07 0D 00 02    ADD  R3, BP, #2
-    F9C1:    99 03          LD   R4, R3
-    F9C2:    94 C4          LD   R2, [R4]
-    F9C3:    07 0A 00 01    ADD  R3, R2, #1
-    F9C5:    95 01          LD   R2, R1
-    F9C6:    D6 C2          ST   R3, [R2]
-    F9C7:    93 05          LD   R1, BP
-    F9C8:    05 0D 00 02    ADD  R2, BP, #2
-    F9CA:    93 02          LD   R1, R2
-    F9CB:    04 41          ADD  R2, #1
-    F9CC:    97 02          LD   R3, R2
-    F9CD:    92 C3          LD   R1, [R3]
-    F9CE:    D2 C8          ST   R1, [SP--]
-    F9CF:    93 05          LD   R1, BP
-    F9D0:    05 0D 00 02    ADD  R2, BP, #2
-    F9D2:    99 02          LD   R4, R2
-    F9D3:    92 C4          LD   R1, [R4]
-    F9D4:    D2 C8          ST   R1, [SP--]
-    F9D5:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    F9D7:    00 42          ADD  SP, #2
-    F9D8:    D2 C5          ST   R1, [BP]
-    F9D9:    92 C5          LD   R1, [BP]
-    F9DA:    43 09 00 45    CMP  R1, R1, #45
-    F9DC:    4E 02          JNZ  f9df
-    F9DD:    9F 0F F9 E2    LJMP 0000f9e2
-    F9DF:    62 41          NEG  R1, #1
-    F9E0:    9F 0F FA E7    LJMP 0000fae7
-    F9E2:    93 05          LD   R1, BP
-    F9E3:    05 0D 00 02    ADD  R2, BP, #2
-    F9E5:    97 05          LD   R3, BP
-    F9E6:    03 0D 00 02    ADD  R1, BP, #2
-    F9E8:    95 05          LD   R2, BP
-    F9E9:    07 0D 00 02    ADD  R3, BP, #2
-    F9EB:    99 03          LD   R4, R3
-    F9EC:    94 C4          LD   R2, [R4]
-    F9ED:    07 0A 00 01    ADD  R3, R2, #1
-    F9EF:    95 01          LD   R2, R1
-    F9F0:    D6 C2          ST   R3, [R2]
-    F9F1:    93 05          LD   R1, BP
-    F9F2:    05 0D 00 02    ADD  R2, BP, #2
-    F9F4:    93 02          LD   R1, R2
-    F9F5:    04 41          ADD  R2, #1
-    F9F6:    97 02          LD   R3, R2
-    F9F7:    92 C3          LD   R1, [R3]
-    F9F8:    D2 C8          ST   R1, [SP--]
-    F9F9:    93 05          LD   R1, BP
-    F9FA:    05 0D 00 02    ADD  R2, BP, #2
-    F9FC:    99 02          LD   R4, R2
-    F9FD:    92 C4          LD   R1, [R4]
-    F9FE:    D2 C8          ST   R1, [SP--]
-    F9FF:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    FA01:    00 42          ADD  SP, #2
-    FA02:    D2 C5          ST   R1, [BP]
-    FA03:    92 C5          LD   R1, [BP]
-    FA04:    43 09 00 53    CMP  R1, R1, #53
-    FA06:    4E 02          JNZ  fa09
-    FA07:    9F 0F FA 0C    LJMP 0000fa0c
-    FA09:    62 41          NEG  R1, #1
-    FA0A:    9F 0F FA E7    LJMP 0000fae7
-    FA0C:    93 05          LD   R1, BP
-    FA0D:    05 0D 00 02    ADD  R2, BP, #2
-    FA0F:    97 05          LD   R3, BP
-    FA10:    03 0D 00 02    ADD  R1, BP, #2
-    FA12:    95 05          LD   R2, BP
-    FA13:    07 0D 00 02    ADD  R3, BP, #2
-    FA15:    99 03          LD   R4, R3
-    FA16:    94 C4          LD   R2, [R4]
-    FA17:    07 0A 00 01    ADD  R3, R2, #1
-    FA19:    95 01          LD   R2, R1
-    FA1A:    D6 C2          ST   R3, [R2]
-    FA1B:    93 05          LD   R1, BP
-    FA1C:    05 0D 00 02    ADD  R2, BP, #2
-    FA1E:    93 02          LD   R1, R2
-    FA1F:    04 41          ADD  R2, #1
-    FA20:    97 02          LD   R3, R2
-    FA21:    92 C3          LD   R1, [R3]
-    FA22:    D2 C8          ST   R1, [SP--]
-    FA23:    93 05          LD   R1, BP
-    FA24:    05 0D 00 02    ADD  R2, BP, #2
-    FA26:    99 02          LD   R4, R2
-    FA27:    92 C4          LD   R1, [R4]
-    FA28:    D2 C8          ST   R1, [SP--]
-    FA29:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    FA2B:    00 42          ADD  SP, #2
-    FA2C:    D2 C5          ST   R1, [BP]
-    FA2D:    92 C5          LD   R1, [BP]
-    FA2E:    43 09 00 54    CMP  R1, R1, #54
-    FA30:    4E 02          JNZ  fa33
-    FA31:    9F 0F FA 36    LJMP 0000fa36
-    FA33:    62 41          NEG  R1, #1
-    FA34:    9F 0F FA E7    LJMP 0000fae7
-    FA36:    93 05          LD   R1, BP
-    FA37:    05 0D 00 02    ADD  R2, BP, #2
-    FA39:    97 05          LD   R3, BP
-    FA3A:    03 0D 00 02    ADD  R1, BP, #2
-    FA3C:    95 05          LD   R2, BP
-    FA3D:    07 0D 00 02    ADD  R3, BP, #2
-    FA3F:    99 03          LD   R4, R3
-    FA40:    94 C4          LD   R2, [R4]
-    FA41:    07 0A 00 01    ADD  R3, R2, #1
-    FA43:    95 01          LD   R2, R1
-    FA44:    D6 C2          ST   R3, [R2]
-    FA45:    93 05          LD   R1, BP
-    FA46:    05 0D 00 02    ADD  R2, BP, #2
-    FA48:    93 02          LD   R1, R2
-    FA49:    04 41          ADD  R2, #1
-    FA4A:    97 02          LD   R3, R2
-    FA4B:    92 C3          LD   R1, [R3]
-    FA4C:    D2 C8          ST   R1, [SP--]
-    FA4D:    93 05          LD   R1, BP
-    FA4E:    05 0D 00 02    ADD  R2, BP, #2
-    FA50:    99 02          LD   R4, R2
-    FA51:    92 C4          LD   R1, [R4]
-    FA52:    D2 C8          ST   R1, [SP--]
-    FA53:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    FA55:    00 42          ADD  SP, #2
-    FA56:    D2 C5          ST   R1, [BP]
-    FA57:    92 C5          LD   R1, [BP]
-    FA58:    43 09 00 4D    CMP  R1, R1, #4d
-    FA5A:    4E 02          JNZ  fa5d
-    FA5B:    9F 0F FA 60    LJMP 0000fa60
-    FA5D:    62 41          NEG  R1, #1
-    FA5E:    9F 0F FA E7    LJMP 0000fae7
-    FA60:    93 05          LD   R1, BP
-    FA61:    05 0D 00 02    ADD  R2, BP, #2
-    FA63:    97 05          LD   R3, BP
-    FA64:    03 0D 00 02    ADD  R1, BP, #2
-    FA66:    95 05          LD   R2, BP
-    FA67:    07 0D 00 02    ADD  R3, BP, #2
-    FA69:    99 03          LD   R4, R3
-    FA6A:    94 C4          LD   R2, [R4]
-    FA6B:    07 0A 00 01    ADD  R3, R2, #1
-    FA6D:    95 01          LD   R2, R1
-    FA6E:    D6 C2          ST   R3, [R2]
-    FA6F:    93 05          LD   R1, BP
-    FA70:    05 0D 00 02    ADD  R2, BP, #2
-    FA72:    93 02          LD   R1, R2
-    FA73:    04 41          ADD  R2, #1
-    FA74:    97 02          LD   R3, R2
-    FA75:    92 C3          LD   R1, [R3]
-    FA76:    D2 C8          ST   R1, [SP--]
-    FA77:    93 05          LD   R1, BP
-    FA78:    05 0D 00 02    ADD  R2, BP, #2
-    FA7A:    99 02          LD   R4, R2
-    FA7B:    92 C4          LD   R1, [R4]
-    FA7C:    D2 C8          ST   R1, [SP--]
-    FA7D:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    FA7F:    00 42          ADD  SP, #2
-    FA80:    D2 C5          ST   R1, [BP]
-    FA81:    92 C5          LD   R1, [BP]
-    FA82:    43 09 00 55    CMP  R1, R1, #55
-    FA84:    4E 02          JNZ  fa87
-    FA85:    9F 0F FA 8A    LJMP 0000fa8a
-    FA87:    62 41          NEG  R1, #1
-    FA88:    9F 0F FA E7    LJMP 0000fae7
-    FA8A:    93 05          LD   R1, BP
-    FA8B:    05 0D 00 02    ADD  R2, BP, #2
-    FA8D:    97 05          LD   R3, BP
-    FA8E:    03 0D 00 02    ADD  R1, BP, #2
-    FA90:    95 05          LD   R2, BP
-    FA91:    07 0D 00 02    ADD  R3, BP, #2
-    FA93:    99 03          LD   R4, R3
-    FA94:    94 C4          LD   R2, [R4]
-    FA95:    07 0A 00 01    ADD  R3, R2, #1
-    FA97:    95 01          LD   R2, R1
-    FA98:    D6 C2          ST   R3, [R2]
-    FA99:    93 05          LD   R1, BP
-    FA9A:    05 0D 00 01    ADD  R2, BP, #1
-    FA9C:    92 46          LD   R1, #6
-    FA9D:    97 02          LD   R3, R2
-    FA9E:    D2 C3          ST   R1, [R3]
-    FA9F:    93 05          LD   R1, BP
-    FAA0:    05 0D 00 01    ADD  R2, BP, #1
-    FAA2:    99 02          LD   R4, R2
-    FAA3:    92 C4          LD   R1, [R4]
-    FAA4:    42 53          CMP  R1, #13
-    FAA5:    9E 02          JA   faa8
-    FAA6:    9F 0F FA AA    LJMP 0000faaa
-    FAA8:    9F 0F FA E4    LJMP 0000fae4
-    FAAA:    93 05          LD   R1, BP
-    FAAB:    05 0D 00 02    ADD  R2, BP, #2
-    FAAD:    93 02          LD   R1, R2
-    FAAE:    04 41          ADD  R2, #1
-    FAAF:    97 02          LD   R3, R2
-    FAB0:    92 C3          LD   R1, [R3]
-    FAB1:    D2 C8          ST   R1, [SP--]
-    FAB2:    93 05          LD   R1, BP
-    FAB3:    05 0D 00 02    ADD  R2, BP, #2
-    FAB5:    99 02          LD   R4, R2
-    FAB6:    92 C4          LD   R1, [R4]
-    FAB7:    D2 C8          ST   R1, [SP--]
-    FAB8:    F0 41 79 28    CALL GET_FAR_WORD_TO_R1
-    FABA:    00 42          ADD  SP, #2
-    FABB:    D2 C5          ST   R1, [BP]
-    FABC:    92 C5          LD   R1, [BP]
-    FABD:    42 40          CMP  R1, #0
-    FABE:    4E 02          JNZ  fac1
-    FABF:    9F 0F FA C4    LJMP 0000fac4
-    FAC1:    62 41          NEG  R1, #1
-    FAC2:    9F 0F FA E7    LJMP 0000fae7
-    FAC4:    93 05          LD   R1, BP
-    FAC5:    05 0D 00 02    ADD  R2, BP, #2
-    FAC7:    97 05          LD   R3, BP
-    FAC8:    03 0D 00 02    ADD  R1, BP, #2
-    FACA:    95 05          LD   R2, BP
-    FACB:    07 0D 00 02    ADD  R3, BP, #2
-    FACD:    99 03          LD   R4, R3
-    FACE:    94 C4          LD   R2, [R4]
-    FACF:    07 0A 00 01    ADD  R3, R2, #1
-    FAD1:    95 01          LD   R2, R1
-    FAD2:    D6 C2          ST   R3, [R2]
-    FAD3:    93 05          LD   R1, BP
-    FAD4:    05 0D 00 01    ADD  R2, BP, #1
-    FAD6:    97 05          LD   R3, BP
-    FAD7:    03 0D 00 01    ADD  R1, BP, #1
-    FAD9:    95 05          LD   R2, BP
-    FADA:    07 0D 00 01    ADD  R3, BP, #1
-    FADC:    99 03          LD   R4, R3
-    FADD:    94 C4          LD   R2, [R4]
-    FADE:    07 0A 00 01    ADD  R3, R2, #1
-    FAE0:    95 01          LD   R2, R1
-    FAE1:    D6 C2          ST   R3, [R2]
-    FAE2:    9F 0F FA 9F    LJMP 0000fa9f
-    FAE4:    92 40          LD   R1, #0
-    FAE5:    9F 0F FA E7    LJMP 0000fae7
-    FAE7:    00 45          ADD  SP, #5
-    FAE8:    98 88          POP  BP-BP, [SP]
-    FAE9:    9A 90          RETF 
+___PROC_0030:
+    EBDC:    DA 88          PUSH    BP-BP, [SP]
+    EBDD:    20 42          SUB     SP, #2
+    EBDE:    0B 08 00 01    ADD     BP, SP, #1
+    EBE0:    03 0D 00 05    ADD     R1, BP, #5
+    EBE2:    D2 01          ST      R1, [BP+1]
+    EBE3:    F0 41 A1 0F    CALL    SHOULD_SHOW_BOOTLOGO
+    EBE5:    42 40          CMP     R1, #0
+    EBE6:    4E 02          JNZ     ebe9
+    EBE7:    9F 0F EC 0E    LJMP    0000ec0e
+    EBE9:    F0 40 E9 8A    CALL    ___PROC_0028
+    EBEB:    D2 C5          ST      R1, [BP]
+    EBEC:    92 C5          LD      R1, [BP]
+    EBED:    42 40          CMP     R1, #0
+    EBEE:    5E 02          JZ      ebf1
+    EBEF:    9F 0F EB F5    LJMP    0000ebf5
+    EBF1:    F0 40 F0 6E    CALL    ___PROC_0034
+    EBF3:    9F 0F EC 0C    LJMP    0000ec0c
+    EBF5:    93 11 08 8C    LD      R1, [088c]
+    EBF7:    43 09 FF FF    CMP     R1, R1, #ffff
+    EBF9:    5E 02          JZ      ebfc
+    EBFA:    9F 0F EC 00    LJMP    0000ec00
+    EBFC:    F0 40 EC 13    CALL    ___PROC_0031
+    EBFE:    9F 0F EC 0C    LJMP    0000ec0c
+    EC00:    93 11 08 90    LD      R1, [0890]
+    EC02:    D2 C8          ST      R1, [SP--]
+    EC03:    93 11 08 8F    LD      R1, [088f]
+    EC05:    D2 C8          ST      R1, [SP--]
+    EC06:    93 09 08 78    LD      R1, #878
+    EC08:    D2 C8          ST      R1, [SP--]
+    EC09:    F0 41 A1 8D    CALL    ___PROC_0087
+    EC0B:    00 43          ADD     SP, #3
+    EC0C:    9F 0F EC 10    LJMP    0000ec10
+    EC0E:    F0 40 EB 2A    CALL    ___PROC_0029
+    EC10:    00 42          ADD     SP, #2
+    EC11:    98 88          POP     BP-BP, [SP]
+    EC12:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0031
+
+___PROC_0031:
+    EC13:    DA 88          PUSH    BP-BP, [SP]
+    EC14:    20 4D          SUB     SP, #d
+    EC15:    0B 08 00 01    ADD     BP, SP, #1
+    EC17:    03 0D 00 10    ADD     R1, BP, #10
+    EC19:    D2 0B          ST      R1, [BP+b]
+    EC1A:    93 11 08 7F    LD      R1, [087f]
+    EC1C:    43 09 FF FF    CMP     R1, R1, #ffff
+    EC1E:    5E 02          JZ      ec21
+    EC1F:    9F 0F EC 39    LJMP    0000ec39
+    EC21:    F0 40 F6 06    CALL    ___PROC_0035
+    EC23:    D2 88          PUSH    R1-R1, [SP]
+    EC24:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    EC26:    B3 09 FF F9    AND     R1, R1, #fff9
+    EC28:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    EC2A:    90 88          POP     R1-R1, [SP]
+    EC2B:    F0 40 F6 06    CALL    ___PROC_0035
+    EC2D:    F0 40 F6 06    CALL    ___PROC_0035
+    EC2F:    D2 88          PUSH    R1-R1, [SP]
+    EC30:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    EC32:    B3 09 FF BF    AND     R1, R1, #ffbf
+    EC34:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    EC36:    90 88          POP     R1-R1, [SP]
+    EC37:    9F 0F EF BF    LJMP    0000efbf
+    EC39:    F0 40 EA FF    CALL    ___PROC_0033
+    EC3B:    D2 D5          ST      R1, [BP++]
+    EC3C:    D4 CD          ST      R2, [BP--]
+    EC3D:    95 05          LD      R2, BP
+    EC3E:    03 0D 00 02    ADD     R1, BP, #2
+    EC40:    97 05          LD      R3, BP
+    EC41:    05 0D 00 01    ADD     R2, BP, #1
+    EC43:    98 C5          LD      R4, [BP]
+    EC44:    97 04          LD      R3, R4
+    EC45:    99 02          LD      R4, R2
+    EC46:    A6 C4          OR      R3, [R4]
+    EC47:    95 01          LD      R2, R1
+    EC48:    D6 C2          ST      R3, [R2]
+    EC49:    93 05          LD      R1, BP
+    EC4A:    05 0D 00 02    ADD     R2, BP, #2
+    EC4C:    97 02          LD      R3, R2
+    EC4D:    92 C3          LD      R1, [R3]
+    EC4E:    42 40          CMP     R1, #0
+    EC4F:    5E 02          JZ      ec52
+    EC50:    9F 0F EC 54    LJMP    0000ec54
+    EC52:    9F 0F EF BF    LJMP    0000efbf
+    EC54:    93 05          LD      R1, BP
+    EC55:    05 0D 00 09    ADD     R2, BP, #9
+    EC57:    92 40          LD      R1, #0
+    EC58:    99 02          LD      R4, R2
+    EC59:    D2 C4          ST      R1, [R4]
+    EC5A:    93 05          LD      R1, BP
+    EC5B:    05 0D 00 0A    ADD     R2, BP, #a
+    EC5D:    92 40          LD      R1, #0
+    EC5E:    97 02          LD      R3, R2
+    EC5F:    D2 C3          ST      R1, [R3]
+    EC60:    93 05          LD      R1, BP
+    EC61:    05 0D 00 0A    ADD     R2, BP, #a
+    EC63:    99 02          LD      R4, R2
+    EC64:    92 C4          LD      R1, [R4]
+    EC65:    42 40          CMP     R1, #0
+    EC66:    4E 02          JNZ     ec69
+    EC67:    9F 0F EC 6B    LJMP    0000ec6b
+    EC69:    9F 0F EF BF    LJMP    0000efbf
+    EC6B:    93 05          LD      R1, BP
+    EC6C:    05 0D 00 01    ADD     R2, BP, #1
+    EC6E:    97 02          LD      R3, R2
+    EC6F:    92 C3          LD      R1, [R3]
+    EC70:    D2 C8          ST      R1, [SP--]
+    EC71:    92 C5          LD      R1, [BP]
+    EC72:    D2 C8          ST      R1, [SP--]
+    EC73:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EC75:    00 42          ADD     SP, #2
+    EC76:    95 05          LD      R2, BP
+    EC77:    07 0D 00 03    ADD     R3, BP, #3
+    EC79:    99 03          LD      R4, R3
+    EC7A:    D2 C4          ST      R1, [R4]
+    EC7B:    92 C5          LD      R1, [BP]
+    EC7C:    05 09 00 01    ADD     R2, R1, #1
+    EC7E:    D4 C5          ST      R2, [BP]
+    EC7F:    93 05          LD      R1, BP
+    EC80:    05 0D 00 01    ADD     R2, BP, #1
+    EC82:    97 02          LD      R3, R2
+    EC83:    92 C3          LD      R1, [R3]
+    EC84:    D2 C8          ST      R1, [SP--]
+    EC85:    92 C5          LD      R1, [BP]
+    EC86:    D2 C8          ST      R1, [SP--]
+    EC87:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EC89:    00 42          ADD     SP, #2
+    EC8A:    95 05          LD      R2, BP
+    EC8B:    07 0D 00 06    ADD     R3, BP, #6
+    EC8D:    99 03          LD      R4, R3
+    EC8E:    D2 C4          ST      R1, [R4]
+    EC8F:    92 C5          LD      R1, [BP]
+    EC90:    05 09 00 01    ADD     R2, R1, #1
+    EC92:    D4 C5          ST      R2, [BP]
+    EC93:    93 05          LD      R1, BP
+    EC94:    05 0D 00 03    ADD     R2, BP, #3
+    EC96:    97 02          LD      R3, R2
+    EC97:    92 C3          LD      R1, [R3]
+    EC98:    42 48          CMP     R1, #8
+    EC99:    4E 02          JNZ     ec9c
+    EC9A:    9F 0F EE 53    LJMP    0000ee53
+    EC9C:    42 48          CMP     R1, #8
+    EC9D:    8E 02          XOR     PC, [BP+2]
+    EC9E:    9F 0F EC C0    LJMP    0000ecc0
+    ECA0:    42 44          CMP     R1, #4
+    ECA1:    4E 02          JNZ     eca4
+    ECA2:    9F 0F ED E2    LJMP    0000ede2
+    ECA4:    42 44          CMP     R1, #4
+    ECA5:    8E 02          XOR     PC, [BP+2]
+    ECA6:    9F 0F EC B6    LJMP    0000ecb6
+    ECA8:    42 42          CMP     R1, #2
+    ECA9:    4E 02          JNZ     ecac
+    ECAA:    9F 0F ED 6C    LJMP    0000ed6c
+    ECAC:    42 42          CMP     R1, #2
+    ECAD:    8E 02          XOR     PC, [BP+2]
+    ECAE:    9F 0F ED B4    LJMP    0000edb4
+    ECB0:    42 41          CMP     R1, #1
+    ECB1:    4E 02          JNZ     ecb4
+    ECB2:    9F 0F EC E1    LJMP    0000ece1
+    ECB4:    9F 0F EF B5    LJMP    0000efb5
+    ECB6:    42 46          CMP     R1, #6
+    ECB7:    4E 02          JNZ     ecba
+    ECB8:    9F 0F EE 29    LJMP    0000ee29
+    ECBA:    42 46          CMP     R1, #6
+    ECBB:    8E 02          XOR     PC, [BP+2]
+    ECBC:    9F 0F EE 42    LJMP    0000ee42
+    ECBE:    9F 0F EE 10    LJMP    0000ee10
+    ECC0:    42 4C          CMP     R1, #c
+    ECC1:    4E 02          JNZ     ecc4
+    ECC2:    9F 0F EF 7E    LJMP    0000ef7e
+    ECC4:    42 4C          CMP     R1, #c
+    ECC5:    8E 02          XOR     PC, [BP+2]
+    ECC6:    9F 0F EC D2    LJMP    0000ecd2
+    ECC8:    42 4A          CMP     R1, #a
+    ECC9:    4E 02          JNZ     eccc
+    ECCA:    9F 0F EE DB    LJMP    0000eedb
+    ECCC:    42 4A          CMP     R1, #a
+    ECCD:    8E 02          XOR     PC, [BP+2]
+    ECCE:    9F 0F EF 27    LJMP    0000ef27
+    ECD0:    9F 0F EE 92    LJMP    0000ee92
+    ECD2:    42 4E          CMP     R1, #e
+    ECD3:    4E 02          JNZ     ecd6
+    ECD4:    9F 0F EF A2    LJMP    0000efa2
+    ECD6:    42 4E          CMP     R1, #e
+    ECD7:    1E 02          ADC     PC, [BP+2]
+    ECD8:    9F 0F EF 96    LJMP    0000ef96
+    ECDA:    43 09 FF FF    CMP     R1, R1, #ffff
+    ECDC:    4E 02          JNZ     ecdf
+    ECDD:    9F 0F EF AD    LJMP    0000efad
+    ECDF:    9F 0F EF B5    LJMP    0000efb5
+    ECE1:    93 05          LD      R1, BP
+    ECE2:    05 0D 00 01    ADD     R2, BP, #1
+    ECE4:    99 02          LD      R4, R2
+    ECE5:    92 C4          LD      R1, [R4]
+    ECE6:    D2 C8          ST      R1, [SP--]
+    ECE7:    93 05          LD      R1, BP
+    ECE8:    05 0D 00 06    ADD     R2, BP, #6
+    ECEA:    97 02          LD      R3, R2
+    ECEB:    92 C3          LD      R1, [R3]
+    ECEC:    D2 C8          ST      R1, [SP--]
+    ECED:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    ECEF:    00 42          ADD     SP, #2
+    ECF0:    95 05          LD      R2, BP
+    ECF1:    07 0D 00 07    ADD     R3, BP, #7
+    ECF3:    99 03          LD      R4, R3
+    ECF4:    D2 C4          ST      R1, [R4]
+    ECF5:    93 05          LD      R1, BP
+    ECF6:    05 0D 00 06    ADD     R2, BP, #6
+    ECF8:    97 05          LD      R3, BP
+    ECF9:    03 0D 00 06    ADD     R1, BP, #6
+    ECFB:    95 05          LD      R2, BP
+    ECFC:    07 0D 00 06    ADD     R3, BP, #6
+    ECFE:    99 03          LD      R4, R3
+    ECFF:    94 C4          LD      R2, [R4]
+    ED00:    07 0A 00 01    ADD     R3, R2, #1
+    ED02:    95 01          LD      R2, R1
+    ED03:    D6 C2          ST      R3, [R2]
+    ED04:    93 05          LD      R1, BP
+    ED05:    05 0D 00 07    ADD     R2, BP, #7
+    ED07:    97 02          LD      R3, R2
+    ED08:    92 C3          LD      R1, [R3]
+    ED09:    D2 C8          ST      R1, [SP--]
+    ED0A:    F0 41 74 3F    CALL    SET_PALETTE_256
+    ED0C:    00 41          ADD     SP, #1
+    ED0D:    93 05          LD      R1, BP
+    ED0E:    05 0D 00 01    ADD     R2, BP, #1
+    ED10:    99 02          LD      R4, R2
+    ED11:    92 C4          LD      R1, [R4]
+    ED12:    D2 C8          ST      R1, [SP--]
+    ED13:    93 05          LD      R1, BP
+    ED14:    05 0D 00 06    ADD     R2, BP, #6
+    ED16:    97 02          LD      R3, R2
+    ED17:    92 C3          LD      R1, [R3]
+    ED18:    D2 C8          ST      R1, [SP--]
+    ED19:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    ED1B:    00 42          ADD     SP, #2
+    ED1C:    95 05          LD      R2, BP
+    ED1D:    07 0D 00 07    ADD     R3, BP, #7
+    ED1F:    99 03          LD      R4, R3
+    ED20:    D2 C4          ST      R1, [R4]
+    ED21:    93 05          LD      R1, BP
+    ED22:    05 0D 00 06    ADD     R2, BP, #6
+    ED24:    97 05          LD      R3, BP
+    ED25:    03 0D 00 06    ADD     R1, BP, #6
+    ED27:    95 05          LD      R2, BP
+    ED28:    07 0D 00 06    ADD     R3, BP, #6
+    ED2A:    99 03          LD      R4, R3
+    ED2B:    94 C4          LD      R2, [R4]
+    ED2C:    07 0A 00 01    ADD     R3, R2, #1
+    ED2E:    95 01          LD      R2, R1
+    ED2F:    D6 C2          ST      R3, [R2]
+    ED30:    93 05          LD      R1, BP
+    ED31:    05 0D 00 07    ADD     R2, BP, #7
+    ED33:    97 02          LD      R3, R2
+    ED34:    92 C3          LD      R1, [R3]
+    ED35:    43 09 FF FF    CMP     R1, R1, #ffff
+    ED37:    5E 02          JZ      ed3a
+    ED38:    9F 0F ED 3C    LJMP    0000ed3c
+    ED3A:    9F 0F ED 6A    LJMP    0000ed6a
+    ED3C:    93 05          LD      R1, BP
+    ED3D:    05 0D 00 07    ADD     R2, BP, #7
+    ED3F:    99 02          LD      R4, R2
+    ED40:    92 C4          LD      R1, [R4]
+    ED41:    D2 C8          ST      R1, [SP--]
+    ED42:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    ED44:    00 41          ADD     SP, #1
+    ED45:    93 05          LD      R1, BP
+    ED46:    05 0D 00 01    ADD     R2, BP, #1
+    ED48:    97 02          LD      R3, R2
+    ED49:    92 C3          LD      R1, [R3]
+    ED4A:    D2 C8          ST      R1, [SP--]
+    ED4B:    93 05          LD      R1, BP
+    ED4C:    05 0D 00 06    ADD     R2, BP, #6
+    ED4E:    99 02          LD      R4, R2
+    ED4F:    92 C4          LD      R1, [R4]
+    ED50:    D2 C8          ST      R1, [SP--]
+    ED51:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    ED53:    00 42          ADD     SP, #2
+    ED54:    95 05          LD      R2, BP
+    ED55:    07 0D 00 07    ADD     R3, BP, #7
+    ED57:    95 03          LD      R2, R3
+    ED58:    D2 C2          ST      R1, [R2]
+    ED59:    93 05          LD      R1, BP
+    ED5A:    05 0D 00 06    ADD     R2, BP, #6
+    ED5C:    97 05          LD      R3, BP
+    ED5D:    03 0D 00 06    ADD     R1, BP, #6
+    ED5F:    95 05          LD      R2, BP
+    ED60:    07 0D 00 06    ADD     R3, BP, #6
+    ED62:    99 03          LD      R4, R3
+    ED63:    94 C4          LD      R2, [R4]
+    ED64:    07 0A 00 01    ADD     R3, R2, #1
+    ED66:    95 01          LD      R2, R1
+    ED67:    D6 C2          ST      R3, [R2]
+    ED68:    9F 0F ED 30    LJMP    0000ed30
+    ED6A:    9F 0F EF BD    LJMP    0000efbd
+    ED6C:    93 05          LD      R1, BP
+    ED6D:    05 0D 00 01    ADD     R2, BP, #1
+    ED6F:    97 02          LD      R3, R2
+    ED70:    92 C3          LD      R1, [R3]
+    ED71:    D2 C8          ST      R1, [SP--]
+    ED72:    93 05          LD      R1, BP
+    ED73:    05 0D 00 06    ADD     R2, BP, #6
+    ED75:    99 02          LD      R4, R2
+    ED76:    92 C4          LD      R1, [R4]
+    ED77:    D2 C8          ST      R1, [SP--]
+    ED78:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    ED7A:    00 42          ADD     SP, #2
+    ED7B:    95 05          LD      R2, BP
+    ED7C:    07 0D 00 07    ADD     R3, BP, #7
+    ED7E:    95 03          LD      R2, R3
+    ED7F:    D2 C2          ST      R1, [R2]
+    ED80:    93 05          LD      R1, BP
+    ED81:    05 0D 00 06    ADD     R2, BP, #6
+    ED83:    97 05          LD      R3, BP
+    ED84:    03 0D 00 06    ADD     R1, BP, #6
+    ED86:    95 05          LD      R2, BP
+    ED87:    07 0D 00 06    ADD     R3, BP, #6
+    ED89:    99 03          LD      R4, R3
+    ED8A:    94 C4          LD      R2, [R4]
+    ED8B:    07 0A 00 01    ADD     R3, R2, #1
+    ED8D:    95 01          LD      R2, R1
+    ED8E:    D6 C2          ST      R3, [R2]
+    ED8F:    93 05          LD      R1, BP
+    ED90:    05 0D 00 01    ADD     R2, BP, #1
+    ED92:    97 02          LD      R3, R2
+    ED93:    92 C3          LD      R1, [R3]
+    ED94:    D2 C8          ST      R1, [SP--]
+    ED95:    93 05          LD      R1, BP
+    ED96:    05 0D 00 06    ADD     R2, BP, #6
+    ED98:    99 02          LD      R4, R2
+    ED99:    92 C4          LD      R1, [R4]
+    ED9A:    D2 C8          ST      R1, [SP--]
+    ED9B:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    ED9D:    00 42          ADD     SP, #2
+    ED9E:    95 05          LD      R2, BP
+    ED9F:    07 0D 00 08    ADD     R3, BP, #8
+    EDA1:    95 03          LD      R2, R3
+    EDA2:    D2 C2          ST      R1, [R2]
+    EDA3:    93 05          LD      R1, BP
+    EDA4:    05 0D 00 08    ADD     R2, BP, #8
+    EDA6:    97 02          LD      R3, R2
+    EDA7:    92 C3          LD      R1, [R3]
+    EDA8:    D2 C8          ST      R1, [SP--]
+    EDA9:    93 05          LD      R1, BP
+    EDAA:    05 0D 00 07    ADD     R2, BP, #7
+    EDAC:    99 02          LD      R4, R2
+    EDAD:    92 C4          LD      R1, [R4]
+    EDAE:    D2 C8          ST      R1, [SP--]
+    EDAF:    F0 41 76 B0    CALL    PALETTE_SETCOLOR
+    EDB1:    00 42          ADD     SP, #2
+    EDB2:    9F 0F EF BD    LJMP    0000efbd
+    EDB4:    93 05          LD      R1, BP
+    EDB5:    05 0D 00 01    ADD     R2, BP, #1
+    EDB7:    97 02          LD      R3, R2
+    EDB8:    92 C3          LD      R1, [R3]
+    EDB9:    D2 C8          ST      R1, [SP--]
+    EDBA:    93 05          LD      R1, BP
+    EDBB:    05 0D 00 06    ADD     R2, BP, #6
+    EDBD:    99 02          LD      R4, R2
+    EDBE:    92 C4          LD      R1, [R4]
+    EDBF:    D2 C8          ST      R1, [SP--]
+    EDC0:    F0 40 F6 9E    CALL    0000f69e
+    EDC2:    00 42          ADD     SP, #2
+    EDC3:    95 05          LD      R2, BP
+    EDC4:    07 0D 00 02    ADD     R3, BP, #2
+    EDC6:    95 03          LD      R2, R3
+    EDC7:    D2 C2          ST      R1, [R2]
+    EDC8:    93 05          LD      R1, BP
+    EDC9:    05 0D 00 02    ADD     R2, BP, #2
+    EDCB:    97 02          LD      R3, R2
+    EDCC:    92 C3          LD      R1, [R3]
+    EDCD:    42 41          CMP     R1, #1
+    EDCE:    5E 02          JZ      edd1
+    EDCF:    9F 0F ED E0    LJMP    0000ede0
+    EDD1:    93 05          LD      R1, BP
+    EDD2:    05 0D 00 09    ADD     R2, BP, #9
+    EDD4:    99 02          LD      R4, R2
+    EDD5:    92 C4          LD      R1, [R4]
+    EDD6:    42 40          CMP     R1, #0
+    EDD7:    4E 02          JNZ     edda
+    EDD8:    9F 0F ED E0    LJMP    0000ede0
+    EDDA:    93 05          LD      R1, BP
+    EDDB:    05 0D 00 09    ADD     R2, BP, #9
+    EDDD:    97 02          LD      R3, R2
+    EDDE:    92 C3          LD      R1, [R3]
+    EDDF:    D2 C5          ST      R1, [BP]
+    EDE0:    9F 0F EF BD    LJMP    0000efbd
+    EDE2:    93 05          LD      R1, BP
+    EDE3:    05 0D 00 01    ADD     R2, BP, #1
+    EDE5:    99 02          LD      R4, R2
+    EDE6:    92 C4          LD      R1, [R4]
+    EDE7:    D2 C8          ST      R1, [SP--]
+    EDE8:    93 05          LD      R1, BP
+    EDE9:    05 0D 00 06    ADD     R2, BP, #6
+    EDEB:    97 02          LD      R3, R2
+    EDEC:    92 C3          LD      R1, [R3]
+    EDED:    D2 C8          ST      R1, [SP--]
+    EDEE:    F0 40 F7 BC    CALL    0000f7bc
+    EDF0:    00 42          ADD     SP, #2
+    EDF1:    95 05          LD      R2, BP
+    EDF2:    07 0D 00 02    ADD     R3, BP, #2
+    EDF4:    99 03          LD      R4, R3
+    EDF5:    D2 C4          ST      R1, [R4]
+    EDF6:    93 05          LD      R1, BP
+    EDF7:    05 0D 00 02    ADD     R2, BP, #2
+    EDF9:    97 02          LD      R3, R2
+    EDFA:    92 C3          LD      R1, [R3]
+    EDFB:    42 41          CMP     R1, #1
+    EDFC:    5E 02          JZ      edff
+    EDFD:    9F 0F EE 0E    LJMP    0000ee0e
+    EDFF:    93 05          LD      R1, BP
+    EE00:    05 0D 00 09    ADD     R2, BP, #9
+    EE02:    99 02          LD      R4, R2
+    EE03:    92 C4          LD      R1, [R4]
+    EE04:    42 40          CMP     R1, #0
+    EE05:    4E 02          JNZ     ee08
+    EE06:    9F 0F EE 0E    LJMP    0000ee0e
+    EE08:    93 05          LD      R1, BP
+    EE09:    05 0D 00 09    ADD     R2, BP, #9
+    EE0B:    97 02          LD      R3, R2
+    EE0C:    92 C3          LD      R1, [R3]
+    EE0D:    D2 C5          ST      R1, [BP]
+    EE0E:    9F 0F EF BD    LJMP    0000efbd
+    EE10:    93 05          LD      R1, BP
+    EE11:    05 0D 00 06    ADD     R2, BP, #6
+    EE13:    99 02          LD      R4, R2
+    EE14:    92 C4          LD      R1, [R4]
+    EE15:    43 09 FF FF    CMP     R1, R1, #ffff
+    EE17:    5E 02          JZ      ee1a
+    EE18:    9F 0F EE 1E    LJMP    0000ee1e
+    EE1A:    F0 41 76 CF    CALL    LAYERB_DISABLE
+    EE1C:    9F 0F EE 27    LJMP    0000ee27
+    EE1E:    93 05          LD      R1, BP
+    EE1F:    05 0D 00 06    ADD     R2, BP, #6
+    EE21:    97 02          LD      R3, R2
+    EE22:    92 C3          LD      R1, [R3]
+    EE23:    D2 C8          ST      R1, [SP--]
+    EE24:    F0 41 75 80    CALL    ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
+    EE26:    00 41          ADD     SP, #1
+    EE27:    9F 0F EF BD    LJMP    0000efbd
+    EE29:    93 05          LD      R1, BP
+    EE2A:    05 0D 00 06    ADD     R2, BP, #6
+    EE2C:    99 02          LD      R4, R2
+    EE2D:    92 C4          LD      R1, [R4]
+    EE2E:    43 09 FF FF    CMP     R1, R1, #ffff
+    EE30:    5E 02          JZ      ee33
+    EE31:    9F 0F EE 37    LJMP    0000ee37
+    EE33:    F0 41 76 BE    CALL    LAYERA_DISABLE
+    EE35:    9F 0F EE 40    LJMP    0000ee40
+    EE37:    93 05          LD      R1, BP
+    EE38:    05 0D 00 06    ADD     R2, BP, #6
+    EE3A:    97 02          LD      R3, R2
+    EE3B:    92 C3          LD      R1, [R3]
+    EE3C:    D2 C8          ST      R1, [SP--]
+    EE3D:    F0 41 73 AB    CALL    SCREEN_DRAW
+    EE3F:    00 41          ADD     SP, #1
+    EE40:    9F 0F EF BD    LJMP    0000efbd
+    EE42:    93 05          LD      R1, BP
+    EE43:    05 0D 00 01    ADD     R2, BP, #1
+    EE45:    99 02          LD      R4, R2
+    EE46:    92 C4          LD      R1, [R4]
+    EE47:    D2 C8          ST      R1, [SP--]
+    EE48:    93 05          LD      R1, BP
+    EE49:    05 0D 00 06    ADD     R2, BP, #6
+    EE4B:    97 02          LD      R3, R2
+    EE4C:    92 C3          LD      R1, [R3]
+    EE4D:    D2 C8          ST      R1, [SP--]
+    EE4E:    F0 40 EF C2    CALL    0000efc2
+    EE50:    00 42          ADD     SP, #2
+    EE51:    9F 0F EF BD    LJMP    0000efbd
+    EE53:    93 05          LD      R1, BP
+    EE54:    05 0D 00 06    ADD     R2, BP, #6
+    EE56:    99 02          LD      R4, R2
+    EE57:    92 C4          LD      R1, [R4]
+    EE58:    42 40          CMP     R1, #0
+    EE59:    5E 02          JZ      ee5c
+    EE5A:    9F 0F EE 5E    LJMP    0000ee5e
+    EE5C:    9F 0F EE 90    LJMP    0000ee90
+    EE5E:    F0 41 96 32    CALL    ___PROC_0081
+    EE60:    95 05          LD      R2, BP
+    EE61:    07 0D 00 02    ADD     R3, BP, #2
+    EE63:    95 03          LD      R2, R3
+    EE64:    D2 C2          ST      R1, [R2]
+    EE65:    93 05          LD      R1, BP
+    EE66:    05 0D 00 02    ADD     R2, BP, #2
+    EE68:    97 02          LD      R3, R2
+    EE69:    92 C3          LD      R1, [R3]
+    EE6A:    42 41          CMP     R1, #1
+    EE6B:    5E 02          JZ      ee6e
+    EE6C:    9F 0F EE 7D    LJMP    0000ee7d
+    EE6E:    93 05          LD      R1, BP
+    EE6F:    05 0D 00 09    ADD     R2, BP, #9
+    EE71:    99 02          LD      R4, R2
+    EE72:    92 C4          LD      R1, [R4]
+    EE73:    42 40          CMP     R1, #0
+    EE74:    4E 02          JNZ     ee77
+    EE75:    9F 0F EE 7D    LJMP    0000ee7d
+    EE77:    93 05          LD      R1, BP
+    EE78:    05 0D 00 09    ADD     R2, BP, #9
+    EE7A:    97 02          LD      R3, R2
+    EE7B:    92 C3          LD      R1, [R3]
+    EE7C:    D2 C5          ST      R1, [BP]
+    EE7D:    F0 40 F6 06    CALL    ___PROC_0035
+    EE7F:    93 05          LD      R1, BP
+    EE80:    05 0D 00 06    ADD     R2, BP, #6
+    EE82:    97 05          LD      R3, BP
+    EE83:    03 0D 00 06    ADD     R1, BP, #6
+    EE85:    95 05          LD      R2, BP
+    EE86:    07 0D 00 06    ADD     R3, BP, #6
+    EE88:    99 03          LD      R4, R3
+    EE89:    94 C4          LD      R2, [R4]
+    EE8A:    07 0A FF FF    ADD     R3, R2, #ffff
+    EE8C:    95 01          LD      R2, R1
+    EE8D:    D6 C2          ST      R3, [R2]
+    EE8E:    9F 0F EE 53    LJMP    0000ee53
+    EE90:    9F 0F EF BD    LJMP    0000efbd
+    EE92:    93 05          LD      R1, BP
+    EE93:    05 0D 00 01    ADD     R2, BP, #1
+    EE95:    97 02          LD      R3, R2
+    EE96:    92 C3          LD      R1, [R3]
+    EE97:    D2 C8          ST      R1, [SP--]
+    EE98:    93 05          LD      R1, BP
+    EE99:    05 0D 00 06    ADD     R2, BP, #6
+    EE9B:    99 02          LD      R4, R2
+    EE9C:    92 C4          LD      R1, [R4]
+    EE9D:    D2 C8          ST      R1, [SP--]
+    EE9E:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EEA0:    00 42          ADD     SP, #2
+    EEA1:    95 05          LD      R2, BP
+    EEA2:    07 0D 00 07    ADD     R3, BP, #7
+    EEA4:    95 03          LD      R2, R3
+    EEA5:    D2 C2          ST      R1, [R2]
+    EEA6:    93 05          LD      R1, BP
+    EEA7:    05 0D 00 06    ADD     R2, BP, #6
+    EEA9:    97 05          LD      R3, BP
+    EEAA:    03 0D 00 06    ADD     R1, BP, #6
+    EEAC:    95 05          LD      R2, BP
+    EEAD:    07 0D 00 06    ADD     R3, BP, #6
+    EEAF:    99 03          LD      R4, R3
+    EEB0:    94 C4          LD      R2, [R4]
+    EEB1:    07 0A 00 01    ADD     R3, R2, #1
+    EEB3:    95 01          LD      R2, R1
+    EEB4:    D6 C2          ST      R3, [R2]
+    EEB5:    93 05          LD      R1, BP
+    EEB6:    05 0D 00 01    ADD     R2, BP, #1
+    EEB8:    97 02          LD      R3, R2
+    EEB9:    92 C3          LD      R1, [R3]
+    EEBA:    D2 C8          ST      R1, [SP--]
+    EEBB:    93 05          LD      R1, BP
+    EEBC:    05 0D 00 06    ADD     R2, BP, #6
+    EEBE:    99 02          LD      R4, R2
+    EEBF:    92 C4          LD      R1, [R4]
+    EEC0:    D2 C8          ST      R1, [SP--]
+    EEC1:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EEC3:    00 42          ADD     SP, #2
+    EEC4:    95 05          LD      R2, BP
+    EEC5:    07 0D 00 08    ADD     R3, BP, #8
+    EEC7:    95 03          LD      R2, R3
+    EEC8:    D2 C2          ST      R1, [R2]
+    EEC9:    95 05          LD      R2, BP
+    EECA:    03 0D 00 01    ADD     R1, BP, #1
+    EECC:    95 05          LD      R2, BP
+    EECD:    07 0D 00 08    ADD     R3, BP, #8
+    EECF:    99 03          LD      R4, R3
+    EED0:    94 C4          LD      R2, [R4]
+    EED1:    97 01          LD      R3, R1
+    EED2:    D4 C3          ST      R2, [R3]
+    EED3:    93 05          LD      R1, BP
+    EED4:    05 0D 00 07    ADD     R2, BP, #7
+    EED6:    99 02          LD      R4, R2
+    EED7:    92 C4          LD      R1, [R4]
+    EED8:    D2 C5          ST      R1, [BP]
+    EED9:    9F 0F EF BD    LJMP    0000efbd
+    EEDB:    93 05          LD      R1, BP
+    EEDC:    05 0D 00 01    ADD     R2, BP, #1
+    EEDE:    97 02          LD      R3, R2
+    EEDF:    92 C3          LD      R1, [R3]
+    EEE0:    D2 C8          ST      R1, [SP--]
+    EEE1:    93 05          LD      R1, BP
+    EEE2:    05 0D 00 06    ADD     R2, BP, #6
+    EEE4:    99 02          LD      R4, R2
+    EEE5:    92 C4          LD      R1, [R4]
+    EEE6:    D2 C8          ST      R1, [SP--]
+    EEE7:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EEE9:    00 42          ADD     SP, #2
+    EEEA:    95 05          LD      R2, BP
+    EEEB:    07 0D 00 07    ADD     R3, BP, #7
+    EEED:    95 03          LD      R2, R3
+    EEEE:    D2 C2          ST      R1, [R2]
+    EEEF:    93 05          LD      R1, BP
+    EEF0:    05 0D 00 06    ADD     R2, BP, #6
+    EEF2:    97 05          LD      R3, BP
+    EEF3:    03 0D 00 06    ADD     R1, BP, #6
+    EEF5:    95 05          LD      R2, BP
+    EEF6:    07 0D 00 06    ADD     R3, BP, #6
+    EEF8:    99 03          LD      R4, R3
+    EEF9:    94 C4          LD      R2, [R4]
+    EEFA:    07 0A 00 01    ADD     R3, R2, #1
+    EEFC:    95 01          LD      R2, R1
+    EEFD:    D6 C2          ST      R3, [R2]
+    EEFE:    93 05          LD      R1, BP
+    EEFF:    05 0D 00 01    ADD     R2, BP, #1
+    EF01:    97 02          LD      R3, R2
+    EF02:    92 C3          LD      R1, [R3]
+    EF03:    D2 C8          ST      R1, [SP--]
+    EF04:    93 05          LD      R1, BP
+    EF05:    05 0D 00 06    ADD     R2, BP, #6
+    EF07:    99 02          LD      R4, R2
+    EF08:    92 C4          LD      R1, [R4]
+    EF09:    D2 C8          ST      R1, [SP--]
+    EF0A:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EF0C:    00 42          ADD     SP, #2
+    EF0D:    95 05          LD      R2, BP
+    EF0E:    07 0D 00 08    ADD     R3, BP, #8
+    EF10:    95 03          LD      R2, R3
+    EF11:    D2 C2          ST      R1, [R2]
+    EF12:    92 43          LD      R1, #3
+    EF13:    D2 C8          ST      R1, [SP--]
+    EF14:    92 41          LD      R1, #1
+    EF15:    D2 C8          ST      R1, [SP--]
+    EF16:    93 05          LD      R1, BP
+    EF17:    05 0D 00 08    ADD     R2, BP, #8
+    EF19:    97 02          LD      R3, R2
+    EF1A:    92 C3          LD      R1, [R3]
+    EF1B:    D2 C8          ST      R1, [SP--]
+    EF1C:    93 05          LD      R1, BP
+    EF1D:    05 0D 00 07    ADD     R2, BP, #7
+    EF1F:    99 02          LD      R4, R2
+    EF20:    92 C4          LD      R1, [R4]
+    EF21:    D2 C8          ST      R1, [SP--]
+    EF22:    F0 41 25 30    CALL    ___PROC_0043
+    EF24:    00 44          ADD     SP, #4
+    EF25:    9F 0F EF BD    LJMP    0000efbd
+    EF27:    F0 41 96 76    CALL    getTimer
+    EF29:    95 05          LD      R2, BP
+    EF2A:    07 0D 00 04    ADD     R3, BP, #4
+    EF2C:    95 03          LD      R2, R3
+    EF2D:    D2 C2          ST      R1, [R2]
+    EF2E:    93 05          LD      R1, BP
+    EF2F:    05 0D 00 05    ADD     R2, BP, #5
+    EF31:    92 40          LD      R1, #0
+    EF32:    97 02          LD      R3, R2
+    EF33:    D2 C3          ST      R1, [R3]
+    EF34:    95 05          LD      R2, BP
+    EF35:    03 0D 00 05    ADD     R1, BP, #5
+    EF37:    95 05          LD      R2, BP
+    EF38:    07 0D 00 06    ADD     R3, BP, #6
+    EF3A:    99 01          LD      R4, R1
+    EF3B:    92 C4          LD      R1, [R4]
+    EF3C:    95 03          LD      R2, R3
+    EF3D:    42 C2          CMP     R1, [R2]
+    EF3E:    1E 02          ADC     PC, [BP+2]
+    EF3F:    9F 0F EF 43    LJMP    0000ef43
+    EF41:    9F 0F EF 7C    LJMP    0000ef7c
+    EF43:    F0 41 96 32    CALL    ___PROC_0081
+    EF45:    95 05          LD      R2, BP
+    EF46:    07 0D 00 02    ADD     R3, BP, #2
+    EF48:    99 03          LD      R4, R3
+    EF49:    D2 C4          ST      R1, [R4]
+    EF4A:    93 05          LD      R1, BP
+    EF4B:    05 0D 00 02    ADD     R2, BP, #2
+    EF4D:    97 02          LD      R3, R2
+    EF4E:    92 C3          LD      R1, [R3]
+    EF4F:    42 41          CMP     R1, #1
+    EF50:    5E 02          JZ      ef53
+    EF51:    9F 0F EF 62    LJMP    0000ef62
+    EF53:    93 05          LD      R1, BP
+    EF54:    05 0D 00 09    ADD     R2, BP, #9
+    EF56:    99 02          LD      R4, R2
+    EF57:    92 C4          LD      R1, [R4]
+    EF58:    42 40          CMP     R1, #0
+    EF59:    4E 02          JNZ     ef5c
+    EF5A:    9F 0F EF 62    LJMP    0000ef62
+    EF5C:    93 05          LD      R1, BP
+    EF5D:    05 0D 00 09    ADD     R2, BP, #9
+    EF5F:    97 02          LD      R3, R2
+    EF60:    92 C3          LD      R1, [R3]
+    EF61:    D2 C5          ST      R1, [BP]
+    EF62:    F0 41 96 76    CALL    getTimer
+    EF64:    95 05          LD      R2, BP
+    EF65:    07 0D 00 05    ADD     R3, BP, #5
+    EF67:    99 03          LD      R4, R3
+    EF68:    D2 C4          ST      R1, [R4]
+    EF69:    95 05          LD      R2, BP
+    EF6A:    03 0D 00 05    ADD     R1, BP, #5
+    EF6C:    97 05          LD      R3, BP
+    EF6D:    05 0D 00 05    ADD     R2, BP, #5
+    EF6F:    99 05          LD      R4, BP
+    EF70:    07 0D 00 04    ADD     R3, BP, #4
+    EF72:    99 02          LD      R4, R2
+    EF73:    98 C4          LD      R4, [R4]
+    EF74:    D8 0C          ST      R4, [BP+c]
+    EF75:    94 0C          LD      R2, [BP+c]
+    EF76:    99 03          LD      R4, R3
+    EF77:    24 C4          SUB     R2, [R4]
+    EF78:    97 01          LD      R3, R1
+    EF79:    D4 C3          ST      R2, [R3]
+    EF7A:    9F 0F EF 34    LJMP    0000ef34
+    EF7C:    9F 0F EF BD    LJMP    0000efbd
+    EF7E:    F0 40 F6 06    CALL    ___PROC_0035
+    EF80:    D2 88          PUSH    R1-R1, [SP]
+    EF81:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    EF83:    B3 09 FF F9    AND     R1, R1, #fff9
+    EF85:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    EF87:    90 88          POP     R1-R1, [SP]
+    EF88:    F0 40 F6 06    CALL    ___PROC_0035
+    EF8A:    F0 40 F6 06    CALL    ___PROC_0035
+    EF8C:    D2 88          PUSH    R1-R1, [SP]
+    EF8D:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    EF8F:    B3 09 FF BF    AND     R1, R1, #ffbf
+    EF91:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    EF93:    90 88          POP     R1-R1, [SP]
+    EF94:    9F 0F EF BD    LJMP    0000efbd
+    EF96:    95 05          LD      R2, BP
+    EF97:    03 0D 00 09    ADD     R1, BP, #9
+    EF99:    95 05          LD      R2, BP
+    EF9A:    07 0D 00 06    ADD     R3, BP, #6
+    EF9C:    99 03          LD      R4, R3
+    EF9D:    94 C4          LD      R2, [R4]
+    EF9E:    97 01          LD      R3, R1
+    EF9F:    D4 C3          ST      R2, [R3]
+    EFA0:    9F 0F EF BD    LJMP    0000efbd
+    EFA2:    93 05          LD      R1, BP
+    EFA3:    05 0D 00 06    ADD     R2, BP, #6
+    EFA5:    99 02          LD      R4, R2
+    EFA6:    92 C4          LD      R1, [R4]
+    EFA7:    D2 C8          ST      R1, [SP--]
+    EFA8:    F0 41 79 CA    CALL    PALETTE_SINGLECOLOR
+    EFAA:    00 41          ADD     SP, #1
+    EFAB:    9F 0F EF BD    LJMP    0000efbd
+    EFAD:    93 05          LD      R1, BP
+    EFAE:    05 0D 00 0A    ADD     R2, BP, #a
+    EFB0:    62 41          NEG     R1, #1
+    EFB1:    97 02          LD      R3, R2
+    EFB2:    D2 C3          ST      R1, [R3]
+    EFB3:    9F 0F EF BD    LJMP    0000efbd
+    EFB5:    93 05          LD      R1, BP
+    EFB6:    05 0D 00 0A    ADD     R2, BP, #a
+    EFB8:    62 41          NEG     R1, #1
+    EFB9:    99 02          LD      R4, R2
+    EFBA:    D2 C4          ST      R1, [R4]
+    EFBB:    9F 0F EF BD    LJMP    0000efbd
+    EFBD:    9F 0F EC 60    LJMP    0000ec60
+    EFBF:    00 4D          ADD     SP, #d
+    EFC0:    98 88          POP     BP-BP, [SP]
+    EFC1:    9A 90          RETF    
+    EFC2:    DA 88          PUSH    BP-BP, [SP]
+    EFC3:    20 46          SUB     SP, #6
+    EFC4:    0B 08 00 01    ADD     BP, SP, #1
+    EFC6:    03 0D 00 09    ADD     R1, BP, #9
+    EFC8:    D2 05          ST      R1, [BP+5]
+    EFC9:    95 05          LD      R2, BP
+    EFCA:    07 0D 00 01    ADD     R3, BP, #1
+    EFCC:    95 03          LD      R2, R3
+    EFCD:    92 41          LD      R1, #1
+    EFCE:    D2 C2          ST      R1, [R2]
+    EFCF:    93 09 A2 24    LD      R1, #a224
+    EFD1:    D2 C5          ST      R1, [BP]
+    EFD2:    92 05          LD      R1, [BP+5]
+    EFD3:    96 05          LD      R3, [BP+5]
+    EFD4:    05 0B 00 01    ADD     R2, R3, #1
+    EFD6:    97 02          LD      R3, R2
+    EFD7:    92 C3          LD      R1, [R3]
+    EFD8:    D2 C8          ST      R1, [SP--]
+    EFD9:    94 05          LD      R2, [BP+5]
+    EFDA:    92 C2          LD      R1, [R2]
+    EFDB:    D2 C8          ST      R1, [SP--]
+    EFDC:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    EFDE:    00 42          ADD     SP, #2
+    EFDF:    95 05          LD      R2, BP
+    EFE0:    07 0D 00 02    ADD     R3, BP, #2
+    EFE2:    95 03          LD      R2, R3
+    EFE3:    D2 C2          ST      R1, [R2]
+    EFE4:    96 05          LD      R3, [BP+5]
+    EFE5:    92 C3          LD      R1, [R3]
+    EFE6:    05 09 00 01    ADD     R2, R1, #1
+    EFE8:    92 05          LD      R1, [BP+5]
+    EFE9:    D4 C1          ST      R2, [R1]
+    EFEA:    93 05          LD      R1, BP
+    EFEB:    05 0D 00 02    ADD     R2, BP, #2
+    EFED:    97 02          LD      R3, R2
+    EFEE:    92 C3          LD      R1, [R3]
+    EFEF:    43 09 FF FF    CMP     R1, R1, #ffff
+    EFF1:    5E 02          JZ      eff4
+    EFF2:    9F 0F EF F6    LJMP    0000eff6
+    EFF4:    9F 0F F0 5E    LJMP    0000f05e
+    EFF6:    92 05          LD      R1, [BP+5]
+    EFF7:    92 05          LD      R1, [BP+5]
+    EFF8:    05 09 00 01    ADD     R2, R1, #1
+    EFFA:    97 02          LD      R3, R2
+    EFFB:    92 C3          LD      R1, [R3]
+    EFFC:    D2 C8          ST      R1, [SP--]
+    EFFD:    94 05          LD      R2, [BP+5]
+    EFFE:    92 C2          LD      R1, [R2]
+    EFFF:    D2 C8          ST      R1, [SP--]
+    F000:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F002:    00 42          ADD     SP, #2
+    F003:    95 05          LD      R2, BP
+    F004:    07 0D 00 03    ADD     R3, BP, #3
+    F006:    95 03          LD      R2, R3
+    F007:    D2 C2          ST      R1, [R2]
+    F008:    96 05          LD      R3, [BP+5]
+    F009:    92 C3          LD      R1, [R3]
+    F00A:    05 09 00 01    ADD     R2, R1, #1
+    F00C:    92 05          LD      R1, [BP+5]
+    F00D:    D4 C1          ST      R2, [R1]
+    F00E:    92 05          LD      R1, [BP+5]
+    F00F:    96 05          LD      R3, [BP+5]
+    F010:    05 0B 00 01    ADD     R2, R3, #1
+    F012:    97 02          LD      R3, R2
+    F013:    92 C3          LD      R1, [R3]
+    F014:    D2 C8          ST      R1, [SP--]
+    F015:    94 05          LD      R2, [BP+5]
+    F016:    92 C2          LD      R1, [R2]
+    F017:    D2 C8          ST      R1, [SP--]
+    F018:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F01A:    00 42          ADD     SP, #2
+    F01B:    95 05          LD      R2, BP
+    F01C:    07 0D 00 04    ADD     R3, BP, #4
+    F01E:    95 03          LD      R2, R3
+    F01F:    D2 C2          ST      R1, [R2]
+    F020:    96 05          LD      R3, [BP+5]
+    F021:    92 C3          LD      R1, [R3]
+    F022:    05 09 00 01    ADD     R2, R1, #1
+    F024:    92 05          LD      R1, [BP+5]
+    F025:    D4 C1          ST      R2, [R1]
+    F026:    93 05          LD      R1, BP
+    F027:    05 0D 00 04    ADD     R2, BP, #4
+    F029:    97 02          LD      R3, R2
+    F02A:    92 C3          LD      R1, [R3]
+    F02B:    D2 C8          ST      R1, [SP--]
+    F02C:    93 05          LD      R1, BP
+    F02D:    05 0D 00 03    ADD     R2, BP, #3
+    F02F:    97 02          LD      R3, R2
+    F030:    92 C3          LD      R1, [R3]
+    F031:    D2 C8          ST      R1, [SP--]
+    F032:    93 05          LD      R1, BP
+    F033:    05 0D 00 02    ADD     R2, BP, #2
+    F035:    97 02          LD      R3, R2
+    F036:    92 C3          LD      R1, [R3]
+    F037:    D2 C8          ST      R1, [SP--]
+    F038:    93 05          LD      R1, BP
+    F039:    05 0D 00 01    ADD     R2, BP, #1
+    F03B:    97 02          LD      R3, R2
+    F03C:    92 C3          LD      R1, [R3]
+    F03D:    D2 C8          ST      R1, [SP--]
+    F03E:    92 C5          LD      R1, [BP]
+    F03F:    D2 C8          ST      R1, [SP--]
+    F040:    F0 41 A1 13    CALL    ___PROC_0086
+    F042:    00 45          ADD     SP, #5
+    F043:    D2 C5          ST      R1, [BP]
+    F044:    92 05          LD      R1, [BP+5]
+    F045:    92 05          LD      R1, [BP+5]
+    F046:    05 09 00 01    ADD     R2, R1, #1
+    F048:    97 02          LD      R3, R2
+    F049:    92 C3          LD      R1, [R3]
+    F04A:    D2 C8          ST      R1, [SP--]
+    F04B:    94 05          LD      R2, [BP+5]
+    F04C:    92 C2          LD      R1, [R2]
+    F04D:    D2 C8          ST      R1, [SP--]
+    F04E:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F050:    00 42          ADD     SP, #2
+    F051:    95 05          LD      R2, BP
+    F052:    07 0D 00 02    ADD     R3, BP, #2
+    F054:    95 03          LD      R2, R3
+    F055:    D2 C2          ST      R1, [R2]
+    F056:    96 05          LD      R3, [BP+5]
+    F057:    92 C3          LD      R1, [R3]
+    F058:    05 09 00 01    ADD     R2, R1, #1
+    F05A:    92 05          LD      R1, [BP+5]
+    F05B:    D4 C1          ST      R2, [R1]
+    F05C:    9F 0F EF EA    LJMP    0000efea
+    F05E:    93 05          LD      R1, BP
+    F05F:    05 0D 00 01    ADD     R2, BP, #1
+    F061:    97 02          LD      R3, R2
+    F062:    92 C3          LD      R1, [R3]
+    F063:    D2 C8          ST      R1, [SP--]
+    F064:    92 C5          LD      R1, [BP]
+    F065:    D2 C8          ST      R1, [SP--]
+    F066:    F0 41 A1 99    CALL    ___PROC_0088
+    F068:    00 42          ADD     SP, #2
+    F069:    F0 41 79 44    CALL    ___PROC_0064
+    F06B:    00 46          ADD     SP, #6
+    F06C:    98 88          POP     BP-BP, [SP]
+    F06D:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0034
+
+___PROC_0034:
+    F06E:    DA 88          PUSH    BP-BP, [SP]
+    F06F:    20 56          SUB     SP, #16
+    F070:    0B 08 00 01    ADD     BP, SP, #1
+    F072:    03 0D 00 19    ADD     R1, BP, #19
+    F074:    D2 12          ST      R1, [BP+12]
+    F075:    93 11 08 7F    LD      R1, [087f]
+    F077:    43 09 FF FF    CMP     R1, R1, #ffff
+    F079:    5E 02          JZ      f07c
+    F07A:    9F 0F F0 94    LJMP    0000f094
+    F07C:    F0 40 F6 06    CALL    ___PROC_0035
+    F07E:    D2 88          PUSH    R1-R1, [SP]
+    F07F:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    F081:    B3 09 FF F9    AND     R1, R1, #fff9
+    F083:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    F085:    90 88          POP     R1-R1, [SP]
+    F086:    F0 40 F6 06    CALL    ___PROC_0035
+    F088:    F0 40 F6 06    CALL    ___PROC_0035
+    F08A:    D2 88          PUSH    R1-R1, [SP]
+    F08B:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    F08D:    B3 09 FF BF    AND     R1, R1, #ffbf
+    F08F:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    F091:    90 88          POP     R1-R1, [SP]
+    F092:    9F 0F F6 03    LJMP    0000f603
+    F094:    95 05          LD      R2, BP
+    F095:    07 0D 00 01    ADD     R3, BP, #1
+    F097:    95 03          LD      R2, R3
+    F098:    92 41          LD      R1, #1
+    F099:    D2 C2          ST      R1, [R2]
+    F09A:    93 09 00 26    LD      R1, #26
+    F09C:    D2 C5          ST      R1, [BP]
+    F09D:    93 05          LD      R1, BP
+    F09E:    05 0D 00 01    ADD     R2, BP, #1
+    F0A0:    97 02          LD      R3, R2
+    F0A1:    92 C3          LD      R1, [R3]
+    F0A2:    D2 C8          ST      R1, [SP--]
+    F0A3:    92 C5          LD      R1, [BP]
+    F0A4:    D2 C8          ST      R1, [SP--]
+    F0A5:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F0A7:    00 42          ADD     SP, #2
+    F0A8:    95 05          LD      R2, BP
+    F0A9:    07 0D 00 05    ADD     R3, BP, #5
+    F0AB:    99 03          LD      R4, R3
+    F0AC:    D2 C4          ST      R1, [R4]
+    F0AD:    92 C5          LD      R1, [BP]
+    F0AE:    05 09 00 01    ADD     R2, R1, #1
+    F0B0:    D4 C5          ST      R2, [BP]
+    F0B1:    F0 40 E9 4B    CALL    OR_088B_1
+    F0B3:    F0 40 E9 63    CALL    WAIT_UNTIL_08BB_EQUAL_0
+    F0B5:    93 05          LD      R1, BP
+    F0B6:    05 0D 00 01    ADD     R2, BP, #1
+    F0B8:    97 02          LD      R3, R2
+    F0B9:    92 C3          LD      R1, [R3]
+    F0BA:    D2 C8          ST      R1, [SP--]
+    F0BB:    92 C5          LD      R1, [BP]
+    F0BC:    D2 C8          ST      R1, [SP--]
+    F0BD:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F0BF:    00 42          ADD     SP, #2
+    F0C0:    95 05          LD      R2, BP
+    F0C1:    07 0D 00 0E    ADD     R3, BP, #e
+    F0C3:    99 03          LD      R4, R3
+    F0C4:    D2 C4          ST      R1, [R4]
+    F0C5:    95 05          LD      R2, BP
+    F0C6:    03 0D 00 0E    ADD     R1, BP, #e
+    F0C8:    95 05          LD      R2, BP
+    F0C9:    07 0D 00 0E    ADD     R3, BP, #e
+    F0CB:    99 03          LD      R4, R3
+    F0CC:    94 C4          LD      R2, [R4]
+    F0CD:    07 0A FF FC    ADD     R3, R2, #fffc
+    F0CF:    95 01          LD      R2, R1
+    F0D0:    D6 C2          ST      R3, [R2]
+    F0D1:    93 05          LD      R1, BP
+    F0D2:    05 0D 00 01    ADD     R2, BP, #1
+    F0D4:    97 02          LD      R3, R2
+    F0D5:    92 C3          LD      R1, [R3]
+    F0D6:    D2 C8          ST      R1, [SP--]
+    F0D7:    93 05          LD      R1, BP
+    F0D8:    05 0D 00 0E    ADD     R2, BP, #e
+    F0DA:    99 02          LD      R4, R2
+    F0DB:    92 C4          LD      R1, [R4]
+    F0DC:    D2 C8          ST      R1, [SP--]
+    F0DD:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F0DF:    00 42          ADD     SP, #2
+    F0E0:    95 05          LD      R2, BP
+    F0E1:    07 0D 00 09    ADD     R3, BP, #9
+    F0E3:    95 03          LD      R2, R3
+    F0E4:    D2 C2          ST      R1, [R2]
+    F0E5:    95 05          LD      R2, BP
+    F0E6:    03 0D 00 0E    ADD     R1, BP, #e
+    F0E8:    95 05          LD      R2, BP
+    F0E9:    07 0D 00 0E    ADD     R3, BP, #e
+    F0EB:    99 03          LD      R4, R3
+    F0EC:    94 C4          LD      R2, [R4]
+    F0ED:    07 0A 00 02    ADD     R3, R2, #2
+    F0EF:    95 01          LD      R2, R1
+    F0F0:    D6 C2          ST      R3, [R2]
+    F0F1:    93 05          LD      R1, BP
+    F0F2:    05 0D 00 01    ADD     R2, BP, #1
+    F0F4:    97 02          LD      R3, R2
+    F0F5:    92 C3          LD      R1, [R3]
+    F0F6:    D2 C8          ST      R1, [SP--]
+    F0F7:    93 05          LD      R1, BP
+    F0F8:    05 0D 00 0E    ADD     R2, BP, #e
+    F0FA:    99 02          LD      R4, R2
+    F0FB:    92 C4          LD      R1, [R4]
+    F0FC:    D2 C8          ST      R1, [SP--]
+    F0FD:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F0FF:    00 42          ADD     SP, #2
+    F100:    95 05          LD      R2, BP
+    F101:    07 0D 00 0A    ADD     R3, BP, #a
+    F103:    95 03          LD      R2, R3
+    F104:    D2 C2          ST      R1, [R2]
+    F105:    95 05          LD      R2, BP
+    F106:    03 0D 00 0A    ADD     R1, BP, #a
+    F108:    95 05          LD      R2, BP
+    F109:    07 0D 00 0A    ADD     R3, BP, #a
+    F10B:    99 03          LD      R4, R3
+    F10C:    94 C4          LD      R2, [R4]
+    F10D:    B7 0A 7F FF    AND     R3, R2, #7fff
+    F10F:    95 01          LD      R2, R1
+    F110:    D6 C2          ST      R3, [R2]
+    F111:    95 05          LD      R2, BP
+    F112:    03 0D 00 0E    ADD     R1, BP, #e
+    F114:    95 05          LD      R2, BP
+    F115:    07 0D 00 0E    ADD     R3, BP, #e
+    F117:    99 03          LD      R4, R3
+    F118:    94 C4          LD      R2, [R4]
+    F119:    07 0A 00 01    ADD     R3, R2, #1
+    F11B:    95 01          LD      R2, R1
+    F11C:    D6 C2          ST      R3, [R2]
+    F11D:    93 05          LD      R1, BP
+    F11E:    05 0D 00 01    ADD     R2, BP, #1
+    F120:    97 02          LD      R3, R2
+    F121:    92 C3          LD      R1, [R3]
+    F122:    D2 C8          ST      R1, [SP--]
+    F123:    93 05          LD      R1, BP
+    F124:    05 0D 00 0E    ADD     R2, BP, #e
+    F126:    99 02          LD      R4, R2
+    F127:    92 C4          LD      R1, [R4]
+    F128:    D2 C8          ST      R1, [SP--]
+    F129:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F12B:    00 42          ADD     SP, #2
+    F12C:    95 05          LD      R2, BP
+    F12D:    07 0D 00 0B    ADD     R3, BP, #b
+    F12F:    95 03          LD      R2, R3
+    F130:    D2 C2          ST      R1, [R2]
+    F131:    95 05          LD      R2, BP
+    F132:    03 0D 00 0E    ADD     R1, BP, #e
+    F134:    95 05          LD      R2, BP
+    F135:    07 0D 00 0E    ADD     R3, BP, #e
+    F137:    99 03          LD      R4, R3
+    F138:    94 C4          LD      R2, [R4]
+    F139:    07 0A 00 01    ADD     R3, R2, #1
+    F13B:    95 01          LD      R2, R1
+    F13C:    D6 C2          ST      R3, [R2]
+    F13D:    93 09 7F FF    LD      R1, #7fff
+    F13F:    D2 C8          ST      R1, [SP--]
+    F140:    93 05          LD      R1, BP
+    F141:    05 0D 00 09    ADD     R2, BP, #9
+    F143:    97 02          LD      R3, R2
+    F144:    92 C3          LD      R1, [R3]
+    F145:    D2 C8          ST      R1, [SP--]
+    F146:    92 40          LD      R1, #0
+    F147:    D2 C8          ST      R1, [SP--]
+    F148:    F0 41 76 7A    CALL    ___PROC_0060
+    F14A:    00 43          ADD     SP, #3
+    F14B:    F0 40 F6 06    CALL    ___PROC_0035
+    F14D:    93 05          LD      R1, BP
+    F14E:    05 0D 00 05    ADD     R2, BP, #5
+    F150:    99 02          LD      R4, R2
+    F151:    92 C4          LD      R1, [R4]
+    F152:    43 09 FF FF    CMP     R1, R1, #ffff
+    F154:    4E 02          JNZ     f157
+    F155:    9F 0F F1 62    LJMP    0000f162
+    F157:    F0 40 F6 06    CALL    ___PROC_0035
+    F159:    93 05          LD      R1, BP
+    F15A:    05 0D 00 05    ADD     R2, BP, #5
+    F15C:    97 02          LD      R3, R2
+    F15D:    92 C3          LD      R1, [R3]
+    F15E:    D2 C8          ST      R1, [SP--]
+    F15F:    F0 41 75 80    CALL    ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
+    F161:    00 41          ADD     SP, #1
+    F162:    F0 40 F6 06    CALL    ___PROC_0035
+    F164:    D2 88          PUSH    R1-R1, [SP]
+    F165:    93 11 3D 20    LD      R1, [R_SYSTEM_CTRL]
+    F167:    B3 09 FF F9    AND     R1, R1, #fff9
+    F169:    D3 19 3D 20    ST      R1, [R_SYSTEM_CTRL]
+    F16B:    90 88          POP     R1-R1, [SP]
+    F16C:    F0 40 F6 06    CALL    ___PROC_0035
+    F16E:    F0 40 F6 06    CALL    ___PROC_0035
+    F170:    D2 88          PUSH    R1-R1, [SP]
+    F171:    93 11 3D 0C    LD      R1, [R_IOC_BUFFER]
+    F173:    B3 09 FF BF    AND     R1, R1, #ffbf
+    F175:    D3 19 3D 0B    ST      R1, [R_IOC_DATA]
+    F177:    90 88          POP     R1-R1, [SP]
+    F178:    93 05          LD      R1, BP
+    F179:    05 0D 00 09    ADD     R2, BP, #9
+    F17B:    99 02          LD      R4, R2
+    F17C:    92 C4          LD      R1, [R4]
+    F17D:    D2 C8          ST      R1, [SP--]
+    F17E:    F0 40 F6 16    CALL    ___PROC_0036
+    F180:    00 41          ADD     SP, #1
+    F181:    95 05          LD      R2, BP
+    F182:    07 0D 00 04    ADD     R3, BP, #4
+    F184:    95 03          LD      R2, R3
+    F185:    D2 C2          ST      R1, [R2]
+    F186:    93 05          LD      R1, BP
+    F187:    05 0D 00 04    ADD     R2, BP, #4
+    F189:    97 02          LD      R3, R2
+    F18A:    92 C3          LD      R1, [R3]
+    F18B:    42 41          CMP     R1, #1
+    F18C:    5E 02          JZ      f18f
+    F18D:    9F 0F F1 91    LJMP    0000f191
+    F18F:    9F 0F F5 D4    LJMP    0000f5d4
+    F191:    92 C5          LD      R1, [BP]
+    F192:    05 09 00 01    ADD     R2, R1, #1
+    F194:    D4 C5          ST      R2, [BP]
+    F195:    93 05          LD      R1, BP
+    F196:    05 0D 00 01    ADD     R2, BP, #1
+    F198:    99 02          LD      R4, R2
+    F199:    92 C4          LD      R1, [R4]
+    F19A:    D2 C8          ST      R1, [SP--]
+    F19B:    92 C5          LD      R1, [BP]
+    F19C:    D2 C8          ST      R1, [SP--]
+    F19D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F19F:    00 42          ADD     SP, #2
+    F1A0:    95 05          LD      R2, BP
+    F1A1:    07 0D 00 05    ADD     R3, BP, #5
+    F1A3:    95 03          LD      R2, R3
+    F1A4:    D2 C2          ST      R1, [R2]
+    F1A5:    92 C5          LD      R1, [BP]
+    F1A6:    05 09 00 01    ADD     R2, R1, #1
+    F1A8:    D4 C5          ST      R2, [BP]
+    F1A9:    93 05          LD      R1, BP
+    F1AA:    05 0D 00 05    ADD     R2, BP, #5
+    F1AC:    97 02          LD      R3, R2
+    F1AD:    92 C3          LD      R1, [R3]
+    F1AE:    D2 C8          ST      R1, [SP--]
+    F1AF:    F0 41 73 AB    CALL    SCREEN_DRAW
+    F1B1:    00 41          ADD     SP, #1
+    F1B2:    F0 41 96 76    CALL    getTimer
+    F1B4:    95 05          LD      R2, BP
+    F1B5:    07 0D 00 07    ADD     R3, BP, #7
+    F1B7:    99 03          LD      R4, R3
+    F1B8:    D2 C4          ST      R1, [R4]
+    F1B9:    93 05          LD      R1, BP
+    F1BA:    05 0D 00 01    ADD     R2, BP, #1
+    F1BC:    97 02          LD      R3, R2
+    F1BD:    92 C3          LD      R1, [R3]
+    F1BE:    D2 C8          ST      R1, [SP--]
+    F1BF:    92 C5          LD      R1, [BP]
+    F1C0:    D2 C8          ST      R1, [SP--]
+    F1C1:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F1C3:    00 42          ADD     SP, #2
+    F1C4:    95 05          LD      R2, BP
+    F1C5:    07 0D 00 08    ADD     R3, BP, #8
+    F1C7:    99 03          LD      R4, R3
+    F1C8:    D2 C4          ST      R1, [R4]
+    F1C9:    92 C5          LD      R1, [BP]
+    F1CA:    05 09 00 01    ADD     R2, R1, #1
+    F1CC:    D4 C5          ST      R2, [BP]
+    F1CD:    9F 0F F1 D1    LJMP    0000f1d1
+    F1CF:    9F 0F F2 98    LJMP    0000f298
+    F1D1:    F0 41 96 32    CALL    ___PROC_0081
+    F1D3:    95 05          LD      R2, BP
+    F1D4:    07 0D 00 04    ADD     R3, BP, #4
+    F1D6:    95 03          LD      R2, R3
+    F1D7:    D2 C2          ST      R1, [R2]
+    F1D8:    93 05          LD      R1, BP
+    F1D9:    05 0D 00 04    ADD     R2, BP, #4
+    F1DB:    97 02          LD      R3, R2
+    F1DC:    92 C3          LD      R1, [R3]
+    F1DD:    42 41          CMP     R1, #1
+    F1DE:    5E 02          JZ      f1e1
+    F1DF:    9F 0F F1 E3    LJMP    0000f1e3
+    F1E1:    9F 0F F5 D4    LJMP    0000f5d4
+    F1E3:    F0 40 F6 06    CALL    ___PROC_0035
+    F1E5:    F0 41 96 76    CALL    getTimer
+    F1E7:    95 05          LD      R2, BP
+    F1E8:    07 0D 00 06    ADD     R3, BP, #6
+    F1EA:    99 03          LD      R4, R3
+    F1EB:    D2 C4          ST      R1, [R4]
+    F1EC:    95 05          LD      R2, BP
+    F1ED:    03 0D 00 06    ADD     R1, BP, #6
+    F1EF:    97 05          LD      R3, BP
+    F1F0:    05 0D 00 06    ADD     R2, BP, #6
+    F1F2:    99 05          LD      R4, BP
+    F1F3:    07 0D 00 07    ADD     R3, BP, #7
+    F1F5:    99 02          LD      R4, R2
+    F1F6:    98 C4          LD      R4, [R4]
+    F1F7:    D8 15          ST      R4, [BP+15]
+    F1F8:    94 15          LD      R2, [BP+15]
+    F1F9:    99 03          LD      R4, R3
+    F1FA:    24 C4          SUB     R2, [R4]
+    F1FB:    97 01          LD      R3, R1
+    F1FC:    D4 C3          ST      R2, [R3]
+    F1FD:    95 05          LD      R2, BP
+    F1FE:    03 0D 00 06    ADD     R1, BP, #6
+    F200:    95 05          LD      R2, BP
+    F201:    07 0D 00 08    ADD     R3, BP, #8
+    F203:    99 01          LD      R4, R1
+    F204:    92 C4          LD      R1, [R4]
+    F205:    95 03          LD      R2, R3
+    F206:    42 C2          CMP     R1, [R2]
+    F207:    9E 02          JA      f20a
+    F208:    9F 0F F2 96    LJMP    0000f296
+    F20A:    93 05          LD      R1, BP
+    F20B:    05 0D 00 01    ADD     R2, BP, #1
+    F20D:    97 02          LD      R3, R2
+    F20E:    92 C3          LD      R1, [R3]
+    F20F:    D2 C8          ST      R1, [SP--]
+    F210:    92 C5          LD      R1, [BP]
+    F211:    D2 C8          ST      R1, [SP--]
+    F212:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F214:    00 42          ADD     SP, #2
+    F215:    95 05          LD      R2, BP
+    F216:    07 0D 00 05    ADD     R3, BP, #5
+    F218:    99 03          LD      R4, R3
+    F219:    D2 C4          ST      R1, [R4]
+    F21A:    93 05          LD      R1, BP
+    F21B:    05 0D 00 05    ADD     R2, BP, #5
+    F21D:    97 02          LD      R3, R2
+    F21E:    92 C3          LD      R1, [R3]
+    F21F:    43 09 FF FF    CMP     R1, R1, #ffff
+    F221:    5E 02          JZ      f224
+    F222:    9F 0F F2 26    LJMP    0000f226
+    F224:    9F 0F F2 98    LJMP    0000f298
+    F226:    92 C5          LD      R1, [BP]
+    F227:    05 09 00 01    ADD     R2, R1, #1
+    F229:    D4 C5          ST      R2, [BP]
+    F22A:    93 05          LD      R1, BP
+    F22B:    05 0D 00 05    ADD     R2, BP, #5
+    F22D:    99 02          LD      R4, R2
+    F22E:    92 C4          LD      R1, [R4]
+    F22F:    D2 C8          ST      R1, [SP--]
+    F230:    F0 41 73 AB    CALL    SCREEN_DRAW
+    F232:    00 41          ADD     SP, #1
+    F233:    F0 41 96 76    CALL    getTimer
+    F235:    95 05          LD      R2, BP
+    F236:    07 0D 00 07    ADD     R3, BP, #7
+    F238:    95 03          LD      R2, R3
+    F239:    D2 C2          ST      R1, [R2]
+    F23A:    93 05          LD      R1, BP
+    F23B:    05 0D 00 01    ADD     R2, BP, #1
+    F23D:    97 02          LD      R3, R2
+    F23E:    92 C3          LD      R1, [R3]
+    F23F:    D2 C8          ST      R1, [SP--]
+    F240:    92 C5          LD      R1, [BP]
+    F241:    D2 C8          ST      R1, [SP--]
+    F242:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F244:    00 42          ADD     SP, #2
+    F245:    95 05          LD      R2, BP
+    F246:    07 0D 00 08    ADD     R3, BP, #8
+    F248:    99 03          LD      R4, R3
+    F249:    D2 C4          ST      R1, [R4]
+    F24A:    92 C5          LD      R1, [BP]
+    F24B:    05 09 00 01    ADD     R2, R1, #1
+    F24D:    D4 C5          ST      R2, [BP]
+    F24E:    93 05          LD      R1, BP
+    F24F:    05 0D 00 01    ADD     R2, BP, #1
+    F251:    97 02          LD      R3, R2
+    F252:    92 C3          LD      R1, [R3]
+    F253:    D2 C8          ST      R1, [SP--]
+    F254:    93 05          LD      R1, BP
+    F255:    05 0D 00 0E    ADD     R2, BP, #e
+    F257:    99 02          LD      R4, R2
+    F258:    92 C4          LD      R1, [R4]
+    F259:    D2 C8          ST      R1, [SP--]
+    F25A:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F25C:    00 42          ADD     SP, #2
+    F25D:    95 05          LD      R2, BP
+    F25E:    07 0D 00 0F    ADD     R3, BP, #f
+    F260:    95 03          LD      R2, R3
+    F261:    D2 C2          ST      R1, [R2]
+    F262:    93 05          LD      R1, BP
+    F263:    05 0D 00 0E    ADD     R2, BP, #e
+    F265:    97 05          LD      R3, BP
+    F266:    03 0D 00 0E    ADD     R1, BP, #e
+    F268:    95 05          LD      R2, BP
+    F269:    07 0D 00 0E    ADD     R3, BP, #e
+    F26B:    99 03          LD      R4, R3
+    F26C:    94 C4          LD      R2, [R4]
+    F26D:    07 0A 00 01    ADD     R3, R2, #1
+    F26F:    95 01          LD      R2, R1
+    F270:    D6 C2          ST      R3, [R2]
+    F271:    93 05          LD      R1, BP
+    F272:    05 0D 00 0F    ADD     R2, BP, #f
+    F274:    97 02          LD      R3, R2
+    F275:    92 C3          LD      R1, [R3]
+    F276:    42 40          CMP     R1, #0
+    F277:    4E 02          JNZ     f27a
+    F278:    9F 0F F2 96    LJMP    0000f296
+    F27A:    95 05          LD      R2, BP
+    F27B:    03 0D 00 0F    ADD     R1, BP, #f
+    F27D:    95 05          LD      R2, BP
+    F27E:    07 0D 00 0F    ADD     R3, BP, #f
+    F280:    99 03          LD      R4, R3
+    F281:    94 C4          LD      R2, [R4]
+    F282:    B7 0A 7F FF    AND     R3, R2, #7fff
+    F284:    95 01          LD      R2, R1
+    F285:    D6 C2          ST      R3, [R2]
+    F286:    92 43          LD      R1, #3
+    F287:    D2 C8          ST      R1, [SP--]
+    F288:    92 41          LD      R1, #1
+    F289:    D2 C8          ST      R1, [SP--]
+    F28A:    93 09 00 7F    LD      R1, #7f
+    F28C:    D2 C8          ST      R1, [SP--]
+    F28D:    93 05          LD      R1, BP
+    F28E:    05 0D 00 0F    ADD     R2, BP, #f
+    F290:    97 02          LD      R3, R2
+    F291:    92 C3          LD      R1, [R3]
+    F292:    D2 C8          ST      R1, [SP--]
+    F293:    F0 41 25 30    CALL    ___PROC_0043
+    F295:    00 44          ADD     SP, #4
+    F296:    9F 0F F1 CD    LJMP    0000f1cd
+    F298:    93 05          LD      R1, BP
+    F299:    05 0D 00 09    ADD     R2, BP, #9
+    F29B:    99 02          LD      R4, R2
+    F29C:    92 C4          LD      R1, [R4]
+    F29D:    D2 C8          ST      R1, [SP--]
+    F29E:    F0 40 F6 5A    CALL    0000f65a
+    F2A0:    00 41          ADD     SP, #1
+    F2A1:    95 05          LD      R2, BP
+    F2A2:    07 0D 00 04    ADD     R3, BP, #4
+    F2A4:    95 03          LD      R2, R3
+    F2A5:    D2 C2          ST      R1, [R2]
+    F2A6:    93 05          LD      R1, BP
+    F2A7:    05 0D 00 04    ADD     R2, BP, #4
+    F2A9:    97 02          LD      R3, R2
+    F2AA:    92 C3          LD      R1, [R3]
+    F2AB:    42 41          CMP     R1, #1
+    F2AC:    5E 02          JZ      f2af
+    F2AD:    9F 0F F2 B1    LJMP    0000f2b1
+    F2AF:    9F 0F F5 D4    LJMP    0000f5d4
+    F2B1:    93 05          LD      R1, BP
+    F2B2:    05 0D 00 05    ADD     R2, BP, #5
+    F2B4:    92 40          LD      R1, #0
+    F2B5:    99 02          LD      R4, R2
+    F2B6:    D2 C4          ST      R1, [R4]
+    F2B7:    93 05          LD      R1, BP
+    F2B8:    05 0D 00 05    ADD     R2, BP, #5
+    F2BA:    97 02          LD      R3, R2
+    F2BB:    92 C3          LD      R1, [R3]
+    F2BC:    42 69          CMP     R1, #29
+    F2BD:    9E 02          JA      f2c0
+    F2BE:    9F 0F F2 C2    LJMP    0000f2c2
+    F2C0:    9F 0F F2 D5    LJMP    0000f2d5
+    F2C2:    F0 41 73 41    CALL    ALLOC_SPRITE
+    F2C4:    93 05          LD      R1, BP
+    F2C5:    05 0D 00 05    ADD     R2, BP, #5
+    F2C7:    97 05          LD      R3, BP
+    F2C8:    03 0D 00 05    ADD     R1, BP, #5
+    F2CA:    95 05          LD      R2, BP
+    F2CB:    07 0D 00 05    ADD     R3, BP, #5
+    F2CD:    99 03          LD      R4, R3
+    F2CE:    94 C4          LD      R2, [R4]
+    F2CF:    07 0A 00 01    ADD     R3, R2, #1
+    F2D1:    95 01          LD      R2, R1
+    F2D2:    D6 C2          ST      R3, [R2]
+    F2D3:    9F 0F F2 B7    LJMP    0000f2b7
+    F2D5:    95 05          LD      R2, BP
+    F2D6:    07 0D 00 01    ADD     R3, BP, #1
+    F2D8:    99 03          LD      R4, R3
+    F2D9:    92 41          LD      R1, #1
+    F2DA:    D2 C4          ST      R1, [R4]
+    F2DB:    93 09 00 6A    LD      R1, #6a
+    F2DD:    D2 C5          ST      R1, [BP]
+    F2DE:    F0 41 A2 0A    CALL    READ_IOC_LANG_RAW_ALT
+    F2E0:    95 05          LD      R2, BP
+    F2E1:    07 0D 00 05    ADD     R3, BP, #5
+    F2E3:    95 03          LD      R2, R3
+    F2E4:    D2 C2          ST      R1, [R2]
+    F2E5:    93 05          LD      R1, BP
+    F2E6:    05 0D 00 05    ADD     R2, BP, #5
+    F2E8:    97 02          LD      R3, R2
+    F2E9:    92 C3          LD      R1, [R3]
+    F2EA:    42 45          CMP     R1, #5
+    F2EB:    8E 02          XOR     PC, [BP+2]
+    F2EC:    9F 0F F2 F4    LJMP    0000f2f4
+    F2EE:    93 05          LD      R1, BP
+    F2EF:    05 0D 00 05    ADD     R2, BP, #5
+    F2F1:    92 4F          LD      R1, #f
+    F2F2:    99 02          LD      R4, R2
+    F2F3:    D2 C4          ST      R1, [R4]
+    F2F4:    95 05          LD      R2, BP
+    F2F5:    03 0D 00 05    ADD     R1, BP, #5
+    F2F7:    96 C5          LD      R3, [BP]
+    F2F8:    95 03          LD      R2, R3
+    F2F9:    97 01          LD      R3, R1
+    F2FA:    04 C3          ADD     R2, [R3]
+    F2FB:    D4 C5          ST      R2, [BP]
+    F2FC:    93 05          LD      R1, BP
+    F2FD:    05 0D 00 01    ADD     R2, BP, #1
+    F2FF:    99 02          LD      R4, R2
+    F300:    92 C4          LD      R1, [R4]
+    F301:    D2 C8          ST      R1, [SP--]
+    F302:    92 C5          LD      R1, [BP]
+    F303:    D2 C8          ST      R1, [SP--]
+    F304:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F306:    00 42          ADD     SP, #2
+    F307:    95 05          LD      R2, BP
+    F308:    07 0D 00 05    ADD     R3, BP, #5
+    F30A:    95 03          LD      R2, R3
+    F30B:    D2 C2          ST      R1, [R2]
+    F30C:    93 05          LD      R1, BP
+    F30D:    05 0D 00 05    ADD     R2, BP, #5
+    F30F:    97 02          LD      R3, R2
+    F310:    92 C3          LD      R1, [R3]
+    F311:    42 40          CMP     R1, #0
+    F312:    5E 02          JZ      f315
+    F313:    9F 0F F3 17    LJMP    0000f317
+    F315:    9F 0F F5 D4    LJMP    0000f5d4
+    F317:    93 05          LD      R1, BP
+    F318:    05 0D 00 05    ADD     R2, BP, #5
+    F31A:    99 02          LD      R4, R2
+    F31B:    92 C4          LD      R1, [R4]
+    F31C:    D2 C5          ST      R1, [BP]
+    F31D:    93 05          LD      R1, BP
+    F31E:    05 0D 00 01    ADD     R2, BP, #1
+    F320:    97 02          LD      R3, R2
+    F321:    92 C3          LD      R1, [R3]
+    F322:    D2 C8          ST      R1, [SP--]
+    F323:    92 C5          LD      R1, [BP]
+    F324:    D2 C8          ST      R1, [SP--]
+    F325:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F327:    00 42          ADD     SP, #2
+    F328:    95 05          LD      R2, BP
+    F329:    07 0D 00 09    ADD     R3, BP, #9
+    F32B:    99 03          LD      R4, R3
+    F32C:    D2 C4          ST      R1, [R4]
+    F32D:    92 C5          LD      R1, [BP]
+    F32E:    05 09 00 01    ADD     R2, R1, #1
+    F330:    D4 C5          ST      R2, [BP]
+    F331:    93 05          LD      R1, BP
+    F332:    05 0D 00 01    ADD     R2, BP, #1
+    F334:    97 02          LD      R3, R2
+    F335:    92 C3          LD      R1, [R3]
+    F336:    D2 C8          ST      R1, [SP--]
+    F337:    92 C5          LD      R1, [BP]
+    F338:    D2 C8          ST      R1, [SP--]
+    F339:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F33B:    00 42          ADD     SP, #2
+    F33C:    95 05          LD      R2, BP
+    F33D:    07 0D 00 0D    ADD     R3, BP, #d
+    F33F:    99 03          LD      R4, R3
+    F340:    D2 C4          ST      R1, [R4]
+    F341:    92 C5          LD      R1, [BP]
+    F342:    05 09 00 01    ADD     R2, R1, #1
+    F344:    D4 C5          ST      R2, [BP]
+    F345:    93 05          LD      R1, BP
+    F346:    05 0D 00 0D    ADD     R2, BP, #d
+    F348:    97 02          LD      R3, R2
+    F349:    92 C3          LD      R1, [R3]
+    F34A:    43 09 FF FF    CMP     R1, R1, #ffff
+    F34C:    4E 02          JNZ     f34f
+    F34D:    9F 0F F3 63    LJMP    0000f363
+    F34F:    F0 40 F6 06    CALL    ___PROC_0035
+    F351:    93 05          LD      R1, BP
+    F352:    05 0D 00 0D    ADD     R2, BP, #d
+    F354:    99 02          LD      R4, R2
+    F355:    92 C4          LD      R1, [R4]
+    F356:    D2 C8          ST      R1, [SP--]
+    F357:    F0 41 75 80    CALL    ACTIVATE_LAYERB_BACKGROUND_FROM_DESCRIPTOR
+    F359:    00 41          ADD     SP, #1
+    F35A:    92 41          LD      R1, #1
+    F35B:    D2 C8          ST      R1, [SP--]
+    F35C:    92 40          LD      R1, #0
+    F35D:    D2 C8          ST      R1, [SP--]
+    F35E:    F0 41 76 E0    CALL    LAYER_SET_ZORDER
+    F360:    00 42          ADD     SP, #2
+    F361:    F0 41 76 BE    CALL    LAYERA_DISABLE
+    F363:    93 05          LD      R1, BP
+    F364:    05 0D 00 09    ADD     R2, BP, #9
+    F366:    97 02          LD      R3, R2
+    F367:    92 C3          LD      R1, [R3]
+    F368:    D2 C8          ST      R1, [SP--]
+    F369:    F0 40 F6 16    CALL    ___PROC_0036
+    F36B:    00 41          ADD     SP, #1
+    F36C:    95 05          LD      R2, BP
+    F36D:    07 0D 00 04    ADD     R3, BP, #4
+    F36F:    99 03          LD      R4, R3
+    F370:    D2 C4          ST      R1, [R4]
+    F371:    92 40          LD      R1, #0
+    F372:    D2 C8          ST      R1, [SP--]
+    F373:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F375:    00 41          ADD     SP, #1
+    F376:    92 41          LD      R1, #1
+    F377:    D2 C8          ST      R1, [SP--]
+    F378:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F37A:    00 41          ADD     SP, #1
+    F37B:    93 09 00 40    LD      R1, #40
+    F37D:    D2 C8          ST      R1, [SP--]
+    F37E:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F380:    00 41          ADD     SP, #1
+    F381:    93 09 00 42    LD      R1, #42
+    F383:    D2 C8          ST      R1, [SP--]
+    F384:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F386:    00 41          ADD     SP, #1
+    F387:    93 09 00 43    LD      R1, #43
+    F389:    D2 C8          ST      R1, [SP--]
+    F38A:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F38C:    00 41          ADD     SP, #1
+    F38D:    93 09 00 44    LD      R1, #44
+    F38F:    D2 C8          ST      R1, [SP--]
+    F390:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F392:    00 41          ADD     SP, #1
+    F393:    93 09 00 45    LD      R1, #45
+    F395:    D2 C8          ST      R1, [SP--]
+    F396:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F398:    00 41          ADD     SP, #1
+    F399:    93 09 00 46    LD      R1, #46
+    F39B:    D2 C8          ST      R1, [SP--]
+    F39C:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F39E:    00 41          ADD     SP, #1
+    F39F:    93 09 00 80    LD      R1, #80
+    F3A1:    D2 C8          ST      R1, [SP--]
+    F3A2:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F3A4:    00 41          ADD     SP, #1
+    F3A5:    93 09 00 90    LD      R1, #90
+    F3A7:    D2 C8          ST      R1, [SP--]
+    F3A8:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F3AA:    00 41          ADD     SP, #1
+    F3AB:    93 09 00 B0    LD      R1, #b0
+    F3AD:    D2 C8          ST      R1, [SP--]
+    F3AE:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F3B0:    00 41          ADD     SP, #1
+    F3B1:    93 09 00 B1    LD      R1, #b1
+    F3B3:    D2 C8          ST      R1, [SP--]
+    F3B4:    F0 41 76 A2    CALL    PALETTE_COLOR_TRANSPARENT
+    F3B6:    00 41          ADD     SP, #1
+    F3B7:    93 05          LD      R1, BP
+    F3B8:    05 0D 00 04    ADD     R2, BP, #4
+    F3BA:    97 02          LD      R3, R2
+    F3BB:    92 C3          LD      R1, [R3]
+    F3BC:    42 41          CMP     R1, #1
+    F3BD:    5E 02          JZ      f3c0
+    F3BE:    9F 0F F3 C2    LJMP    0000f3c2
+    F3C0:    9F 0F F5 D4    LJMP    0000f5d4
+    F3C2:    93 05          LD      R1, BP
+    F3C3:    05 0D 00 01    ADD     R2, BP, #1
+    F3C5:    99 02          LD      R4, R2
+    F3C6:    92 C4          LD      R1, [R4]
+    F3C7:    D2 C8          ST      R1, [SP--]
+    F3C8:    92 C5          LD      R1, [BP]
+    F3C9:    D2 C8          ST      R1, [SP--]
+    F3CA:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F3CC:    00 42          ADD     SP, #2
+    F3CD:    95 05          LD      R2, BP
+    F3CE:    07 0D 00 0D    ADD     R3, BP, #d
+    F3D0:    95 03          LD      R2, R3
+    F3D1:    D2 C2          ST      R1, [R2]
+    F3D2:    92 C5          LD      R1, [BP]
+    F3D3:    05 09 00 01    ADD     R2, R1, #1
+    F3D5:    D4 C5          ST      R2, [BP]
+    F3D6:    93 05          LD      R1, BP
+    F3D7:    05 0D 00 01    ADD     R2, BP, #1
+    F3D9:    97 02          LD      R3, R2
+    F3DA:    92 C3          LD      R1, [R3]
+    F3DB:    D2 C8          ST      R1, [SP--]
+    F3DC:    92 C5          LD      R1, [BP]
+    F3DD:    D2 C8          ST      R1, [SP--]
+    F3DE:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F3E0:    00 42          ADD     SP, #2
+    F3E1:    95 05          LD      R2, BP
+    F3E2:    07 0D 00 0C    ADD     R3, BP, #c
+    F3E4:    99 03          LD      R4, R3
+    F3E5:    D2 C4          ST      R1, [R4]
+    F3E6:    92 C5          LD      R1, [BP]
+    F3E7:    05 09 00 01    ADD     R2, R1, #1
+    F3E9:    D4 C5          ST      R2, [BP]
+    F3EA:    93 05          LD      R1, BP
+    F3EB:    05 0D 00 01    ADD     R2, BP, #1
+    F3ED:    97 02          LD      R3, R2
+    F3EE:    92 C3          LD      R1, [R3]
+    F3EF:    D2 C8          ST      R1, [SP--]
+    F3F0:    92 C5          LD      R1, [BP]
+    F3F1:    D2 C8          ST      R1, [SP--]
+    F3F2:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F3F4:    00 42          ADD     SP, #2
+    F3F5:    95 05          LD      R2, BP
+    F3F6:    07 0D 00 0E    ADD     R3, BP, #e
+    F3F8:    99 03          LD      R4, R3
+    F3F9:    D2 C4          ST      R1, [R4]
+    F3FA:    93 05          LD      R1, BP
+    F3FB:    05 0D 00 0D    ADD     R2, BP, #d
+    F3FD:    97 02          LD      R3, R2
+    F3FE:    92 C3          LD      R1, [R3]
+    F3FF:    D2 C5          ST      R1, [BP]
+    F400:    F0 41 96 76    CALL    getTimer
+    F402:    95 05          LD      R2, BP
+    F403:    07 0D 00 07    ADD     R3, BP, #7
+    F405:    99 03          LD      R4, R3
+    F406:    D2 C4          ST      R1, [R4]
+    F407:    93 05          LD      R1, BP
+    F408:    05 0D 00 08    ADD     R2, BP, #8
+    F40A:    92 40          LD      R1, #0
+    F40B:    97 02          LD      R3, R2
+    F40C:    D2 C3          ST      R1, [R3]
+    F40D:    93 05          LD      R1, BP
+    F40E:    05 0D 00 05    ADD     R2, BP, #5
+    F410:    92 40          LD      R1, #0
+    F411:    99 02          LD      R4, R2
+    F412:    D2 C4          ST      R1, [R4]
+    F413:    9F 0F F4 17    LJMP    0000f417
+    F415:    9F 0F F5 B1    LJMP    0000f5b1
+    F417:    F0 41 96 32    CALL    ___PROC_0081
+    F419:    95 05          LD      R2, BP
+    F41A:    07 0D 00 04    ADD     R3, BP, #4
+    F41C:    95 03          LD      R2, R3
+    F41D:    D2 C2          ST      R1, [R2]
+    F41E:    93 05          LD      R1, BP
+    F41F:    05 0D 00 04    ADD     R2, BP, #4
+    F421:    97 02          LD      R3, R2
+    F422:    92 C3          LD      R1, [R3]
+    F423:    42 41          CMP     R1, #1
+    F424:    5E 02          JZ      f427
+    F425:    9F 0F F4 29    LJMP    0000f429
+    F427:    9F 0F F5 D4    LJMP    0000f5d4
+    F429:    F0 41 96 76    CALL    getTimer
+    F42B:    95 05          LD      R2, BP
+    F42C:    07 0D 00 06    ADD     R3, BP, #6
+    F42E:    99 03          LD      R4, R3
+    F42F:    D2 C4          ST      R1, [R4]
+    F430:    95 05          LD      R2, BP
+    F431:    03 0D 00 06    ADD     R1, BP, #6
+    F433:    97 05          LD      R3, BP
+    F434:    05 0D 00 06    ADD     R2, BP, #6
+    F436:    99 05          LD      R4, BP
+    F437:    07 0D 00 07    ADD     R3, BP, #7
+    F439:    99 02          LD      R4, R2
+    F43A:    98 C4          LD      R4, [R4]
+    F43B:    D8 15          ST      R4, [BP+15]
+    F43C:    94 15          LD      R2, [BP+15]
+    F43D:    99 03          LD      R4, R3
+    F43E:    24 C4          SUB     R2, [R4]
+    F43F:    97 01          LD      R3, R1
+    F440:    D4 C3          ST      R2, [R3]
+    F441:    95 05          LD      R2, BP
+    F442:    03 0D 00 06    ADD     R1, BP, #6
+    F444:    95 05          LD      R2, BP
+    F445:    07 0D 00 08    ADD     R3, BP, #8
+    F447:    99 01          LD      R4, R1
+    F448:    92 C4          LD      R1, [R4]
+    F449:    95 03          LD      R2, R3
+    F44A:    42 C2          CMP     R1, [R2]
+    F44B:    9E 02          JA      f44e
+    F44C:    9F 0F F5 AD    LJMP    0000f5ad
+    F44E:    93 05          LD      R1, BP
+    F44F:    05 0D 00 01    ADD     R2, BP, #1
+    F451:    97 02          LD      R3, R2
+    F452:    92 C3          LD      R1, [R3]
+    F453:    D2 C8          ST      R1, [SP--]
+    F454:    92 C5          LD      R1, [BP]
+    F455:    D2 C8          ST      R1, [SP--]
+    F456:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F458:    00 42          ADD     SP, #2
+    F459:    95 05          LD      R2, BP
+    F45A:    07 0D 00 06    ADD     R3, BP, #6
+    F45C:    99 03          LD      R4, R3
+    F45D:    D2 C4          ST      R1, [R4]
+    F45E:    93 05          LD      R1, BP
+    F45F:    05 0D 00 06    ADD     R2, BP, #6
+    F461:    97 02          LD      R3, R2
+    F462:    92 C3          LD      R1, [R3]
+    F463:    43 09 FF FF    CMP     R1, R1, #ffff
+    F465:    5E 02          JZ      f468
+    F466:    9F 0F F4 6A    LJMP    0000f46a
+    F468:    9F 0F F5 B1    LJMP    0000f5b1
+    F46A:    92 C5          LD      R1, [BP]
+    F46B:    05 09 00 02    ADD     R2, R1, #2
+    F46D:    D4 C5          ST      R2, [BP]
+    F46E:    93 05          LD      R1, BP
+    F46F:    05 0D 00 01    ADD     R2, BP, #1
+    F471:    99 02          LD      R4, R2
+    F472:    92 C4          LD      R1, [R4]
+    F473:    D2 C8          ST      R1, [SP--]
+    F474:    92 C5          LD      R1, [BP]
+    F475:    D2 C8          ST      R1, [SP--]
+    F476:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F478:    00 42          ADD     SP, #2
+    F479:    95 05          LD      R2, BP
+    F47A:    07 0D 00 08    ADD     R3, BP, #8
+    F47C:    95 03          LD      R2, R3
+    F47D:    D2 C2          ST      R1, [R2]
+    F47E:    92 C5          LD      R1, [BP]
+    F47F:    05 09 00 01    ADD     R2, R1, #1
+    F481:    D4 C5          ST      R2, [BP]
+    F482:    93 05          LD      R1, BP
+    F483:    05 0D 00 01    ADD     R2, BP, #1
+    F485:    97 02          LD      R3, R2
+    F486:    92 C3          LD      R1, [R3]
+    F487:    D2 C8          ST      R1, [SP--]
+    F488:    92 C5          LD      R1, [BP]
+    F489:    D2 C8          ST      R1, [SP--]
+    F48A:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F48C:    00 42          ADD     SP, #2
+    F48D:    95 05          LD      R2, BP
+    F48E:    07 0D 00 0D    ADD     R3, BP, #d
+    F490:    99 03          LD      R4, R3
+    F491:    D2 C4          ST      R1, [R4]
+    F492:    92 C5          LD      R1, [BP]
+    F493:    05 09 00 01    ADD     R2, R1, #1
+    F495:    D4 C5          ST      R2, [BP]
+    F496:    93 05          LD      R1, BP
+    F497:    05 0D 00 02    ADD     R2, BP, #2
+    F499:    93 02          LD      R1, R2
+    F49A:    04 41          ADD     R2, #1
+    F49B:    97 05          LD      R3, BP
+    F49C:    03 0D 00 02    ADD     R1, BP, #2
+    F49E:    D2 15          ST      R1, [BP+15]
+    F49F:    97 02          LD      R3, R2
+    F4A0:    98 15          LD      R4, [BP+15]
+    F4A1:    92 41          LD      R1, #1
+    F4A2:    D2 C3          ST      R1, [R3]
+    F4A3:    93 09 A2 24    LD      R1, #a224
+    F4A5:    D2 C4          ST      R1, [R4]
+    F4A6:    93 05          LD      R1, BP
+    F4A7:    05 0D 00 0D    ADD     R2, BP, #d
+    F4A9:    97 02          LD      R3, R2
+    F4AA:    92 C3          LD      R1, [R3]
+    F4AB:    43 09 FF FF    CMP     R1, R1, #ffff
+    F4AD:    5E 02          JZ      f4b0
+    F4AE:    9F 0F F4 B2    LJMP    0000f4b2
+    F4B0:    9F 0F F5 1A    LJMP    0000f51a
+    F4B2:    93 05          LD      R1, BP
+    F4B3:    09 0D 00 10    ADD     R4, BP, #10
+    F4B5:    D8 13          ST      R4, [BP+13]
+    F4B6:    93 05          LD      R1, BP
+    F4B7:    05 0D 00 01    ADD     R2, BP, #1
+    F4B9:    97 02          LD      R3, R2
+    F4BA:    92 C3          LD      R1, [R3]
+    F4BB:    D2 C8          ST      R1, [SP--]
+    F4BC:    92 C5          LD      R1, [BP]
+    F4BD:    D2 C8          ST      R1, [SP--]
+    F4BE:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F4C0:    00 42          ADD     SP, #2
+    F4C1:    98 13          LD      R4, [BP+13]
+    F4C2:    D2 C4          ST      R1, [R4]
+    F4C3:    92 C5          LD      R1, [BP]
+    F4C4:    05 09 00 01    ADD     R2, R1, #1
+    F4C6:    D4 C5          ST      R2, [BP]
+    F4C7:    93 05          LD      R1, BP
+    F4C8:    03 0D 00 11    ADD     R1, BP, #11
+    F4CA:    D2 14          ST      R1, [BP+14]
+    F4CB:    93 05          LD      R1, BP
+    F4CC:    05 0D 00 01    ADD     R2, BP, #1
+    F4CE:    97 02          LD      R3, R2
+    F4CF:    92 C3          LD      R1, [R3]
+    F4D0:    D2 C8          ST      R1, [SP--]
+    F4D1:    92 C5          LD      R1, [BP]
+    F4D2:    D2 C8          ST      R1, [SP--]
+    F4D3:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F4D5:    00 42          ADD     SP, #2
+    F4D6:    98 14          LD      R4, [BP+14]
+    F4D7:    D2 C4          ST      R1, [R4]
+    F4D8:    92 C5          LD      R1, [BP]
+    F4D9:    05 09 00 01    ADD     R2, R1, #1
+    F4DB:    D4 C5          ST      R2, [BP]
+    F4DC:    93 05          LD      R1, BP
+    F4DD:    05 0D 00 11    ADD     R2, BP, #11
+    F4DF:    97 02          LD      R3, R2
+    F4E0:    92 C3          LD      R1, [R3]
+    F4E1:    D2 C8          ST      R1, [SP--]
+    F4E2:    93 05          LD      R1, BP
+    F4E3:    05 0D 00 10    ADD     R2, BP, #10
+    F4E5:    99 02          LD      R4, R2
+    F4E6:    92 C4          LD      R1, [R4]
+    F4E7:    D2 C8          ST      R1, [SP--]
+    F4E8:    93 05          LD      R1, BP
+    F4E9:    05 0D 00 0D    ADD     R2, BP, #d
+    F4EB:    97 02          LD      R3, R2
+    F4EC:    92 C3          LD      R1, [R3]
+    F4ED:    D2 C8          ST      R1, [SP--]
+    F4EE:    93 05          LD      R1, BP
+    F4EF:    05 0D 00 02    ADD     R2, BP, #2
+    F4F1:    93 02          LD      R1, R2
+    F4F2:    04 41          ADD     R2, #1
+    F4F3:    99 02          LD      R4, R2
+    F4F4:    92 C4          LD      R1, [R4]
+    F4F5:    D2 C8          ST      R1, [SP--]
+    F4F6:    93 05          LD      R1, BP
+    F4F7:    05 0D 00 02    ADD     R2, BP, #2
+    F4F9:    97 02          LD      R3, R2
+    F4FA:    92 C3          LD      R1, [R3]
+    F4FB:    D2 C8          ST      R1, [SP--]
+    F4FC:    F0 41 A1 13    CALL    ___PROC_0086
+    F4FE:    00 45          ADD     SP, #5
+    F4FF:    95 05          LD      R2, BP
+    F500:    07 0D 00 02    ADD     R3, BP, #2
+    F502:    99 03          LD      R4, R3
+    F503:    D2 C4          ST      R1, [R4]
+    F504:    93 05          LD      R1, BP
+    F505:    05 0D 00 01    ADD     R2, BP, #1
+    F507:    97 02          LD      R3, R2
+    F508:    92 C3          LD      R1, [R3]
+    F509:    D2 C8          ST      R1, [SP--]
+    F50A:    92 C5          LD      R1, [BP]
+    F50B:    D2 C8          ST      R1, [SP--]
+    F50C:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F50E:    00 42          ADD     SP, #2
+    F50F:    95 05          LD      R2, BP
+    F510:    07 0D 00 0D    ADD     R3, BP, #d
+    F512:    99 03          LD      R4, R3
+    F513:    D2 C4          ST      R1, [R4]
+    F514:    92 C5          LD      R1, [BP]
+    F515:    05 09 00 01    ADD     R2, R1, #1
+    F517:    D4 C5          ST      R2, [BP]
+    F518:    9F 0F F4 A6    LJMP    0000f4a6
+    F51A:    93 05          LD      R1, BP
+    F51B:    05 0D 00 02    ADD     R2, BP, #2
+    F51D:    93 02          LD      R1, R2
+    F51E:    04 41          ADD     R2, #1
+    F51F:    97 02          LD      R3, R2
+    F520:    92 C3          LD      R1, [R3]
+    F521:    D2 C8          ST      R1, [SP--]
+    F522:    93 05          LD      R1, BP
+    F523:    05 0D 00 02    ADD     R2, BP, #2
+    F525:    99 02          LD      R4, R2
+    F526:    92 C4          LD      R1, [R4]
+    F527:    D2 C8          ST      R1, [SP--]
+    F528:    F0 41 A1 99    CALL    ___PROC_0088
+    F52A:    00 42          ADD     SP, #2
+    F52B:    F0 41 79 44    CALL    ___PROC_0064
+    F52D:    F0 41 96 76    CALL    getTimer
+    F52F:    95 05          LD      R2, BP
+    F530:    07 0D 00 07    ADD     R3, BP, #7
+    F532:    95 03          LD      R2, R3
+    F533:    D2 C2          ST      R1, [R2]
+    F534:    93 05          LD      R1, BP
+    F535:    05 0D 00 05    ADD     R2, BP, #5
+    F537:    97 05          LD      R3, BP
+    F538:    03 0D 00 05    ADD     R1, BP, #5
+    F53A:    95 05          LD      R2, BP
+    F53B:    07 0D 00 05    ADD     R3, BP, #5
+    F53D:    99 03          LD      R4, R3
+    F53E:    94 C4          LD      R2, [R4]
+    F53F:    07 0A 00 01    ADD     R3, R2, #1
+    F541:    95 01          LD      R2, R1
+    F542:    D6 C2          ST      R3, [R2]
+    F543:    93 05          LD      R1, BP
+    F544:    05 0D 00 01    ADD     R2, BP, #1
+    F546:    97 02          LD      R3, R2
+    F547:    92 C3          LD      R1, [R3]
+    F548:    D2 C8          ST      R1, [SP--]
+    F549:    93 05          LD      R1, BP
+    F54A:    05 0D 00 0E    ADD     R2, BP, #e
+    F54C:    99 02          LD      R4, R2
+    F54D:    92 C4          LD      R1, [R4]
+    F54E:    D2 C8          ST      R1, [SP--]
+    F54F:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F551:    00 42          ADD     SP, #2
+    F552:    95 05          LD      R2, BP
+    F553:    07 0D 00 0F    ADD     R3, BP, #f
+    F555:    95 03          LD      R2, R3
+    F556:    D2 C2          ST      R1, [R2]
+    F557:    93 05          LD      R1, BP
+    F558:    05 0D 00 0E    ADD     R2, BP, #e
+    F55A:    97 05          LD      R3, BP
+    F55B:    03 0D 00 0E    ADD     R1, BP, #e
+    F55D:    95 05          LD      R2, BP
+    F55E:    07 0D 00 0E    ADD     R3, BP, #e
+    F560:    99 03          LD      R4, R3
+    F561:    94 C4          LD      R2, [R4]
+    F562:    07 0A 00 01    ADD     R3, R2, #1
+    F564:    95 01          LD      R2, R1
+    F565:    D6 C2          ST      R3, [R2]
+    F566:    93 05          LD      R1, BP
+    F567:    05 0D 00 0F    ADD     R2, BP, #f
+    F569:    97 02          LD      R3, R2
+    F56A:    92 C3          LD      R1, [R3]
+    F56B:    42 40          CMP     R1, #0
+    F56C:    4E 02          JNZ     f56f
+    F56D:    9F 0F F5 AD    LJMP    0000f5ad
+    F56F:    95 05          LD      R2, BP
+    F570:    03 0D 00 0F    ADD     R1, BP, #f
+    F572:    95 05          LD      R2, BP
+    F573:    07 0D 00 0F    ADD     R3, BP, #f
+    F575:    99 03          LD      R4, R3
+    F576:    94 C4          LD      R2, [R4]
+    F577:    B7 0A 7F FF    AND     R3, R2, #7fff
+    F579:    95 01          LD      R2, R1
+    F57A:    D6 C2          ST      R3, [R2]
+    F57B:    95 05          LD      R2, BP
+    F57C:    03 0D 00 0F    ADD     R1, BP, #f
+    F57E:    95 05          LD      R2, BP
+    F57F:    07 0D 00 0A    ADD     R3, BP, #a
+    F581:    99 01          LD      R4, R1
+    F582:    92 C4          LD      R1, [R4]
+    F583:    95 03          LD      R2, R3
+    F584:    42 C2          CMP     R1, [R2]
+    F585:    4E 02          JNZ     f588
+    F586:    9F 0F F5 9A    LJMP    0000f59a
+    F588:    92 43          LD      R1, #3
+    F589:    D2 C8          ST      R1, [SP--]
+    F58A:    92 41          LD      R1, #1
+    F58B:    D2 C8          ST      R1, [SP--]
+    F58C:    93 09 00 7F    LD      R1, #7f
+    F58E:    D2 C8          ST      R1, [SP--]
+    F58F:    93 05          LD      R1, BP
+    F590:    05 0D 00 0F    ADD     R2, BP, #f
+    F592:    97 02          LD      R3, R2
+    F593:    92 C3          LD      R1, [R3]
+    F594:    D2 C8          ST      R1, [SP--]
+    F595:    F0 41 25 30    CALL    ___PROC_0043
+    F597:    00 44          ADD     SP, #4
+    F598:    9F 0F F5 AD    LJMP    0000f5ad
+    F59A:    92 43          LD      R1, #3
+    F59B:    D2 C8          ST      R1, [SP--]
+    F59C:    92 41          LD      R1, #1
+    F59D:    D2 C8          ST      R1, [SP--]
+    F59E:    93 05          LD      R1, BP
+    F59F:    05 0D 00 0B    ADD     R2, BP, #b
+    F5A1:    99 02          LD      R4, R2
+    F5A2:    92 C4          LD      R1, [R4]
+    F5A3:    D2 C8          ST      R1, [SP--]
+    F5A4:    93 05          LD      R1, BP
+    F5A5:    05 0D 00 0F    ADD     R2, BP, #f
+    F5A7:    97 02          LD      R3, R2
+    F5A8:    92 C3          LD      R1, [R3]
+    F5A9:    D2 C8          ST      R1, [SP--]
+    F5AA:    F0 41 25 30    CALL    ___PROC_0043
+    F5AC:    00 44          ADD     SP, #4
+    F5AD:    F0 40 F6 06    CALL    ___PROC_0035
+    F5AF:    9F 0F F4 13    LJMP    0000f413
+    F5B1:    93 11 09 6B    LD      R1, [096b]
+    F5B3:    42 42          CMP     R1, #2
+    F5B4:    5E 02          JZ      f5b7
+    F5B5:    9F 0F F5 B9    LJMP    0000f5b9
+    F5B7:    9F 0F F6 03    LJMP    0000f603
+    F5B9:    93 05          LD      R1, BP
+    F5BA:    05 0D 00 09    ADD     R2, BP, #9
+    F5BC:    99 02          LD      R4, R2
+    F5BD:    92 C4          LD      R1, [R4]
+    F5BE:    D2 C8          ST      R1, [SP--]
+    F5BF:    F0 40 F8 DA    CALL    ___PROC_0037
+    F5C1:    00 41          ADD     SP, #1
+    F5C2:    95 05          LD      R2, BP
+    F5C3:    07 0D 00 04    ADD     R3, BP, #4
+    F5C5:    95 03          LD      R2, R3
+    F5C6:    D2 C2          ST      R1, [R2]
+    F5C7:    93 05          LD      R1, BP
+    F5C8:    05 0D 00 04    ADD     R2, BP, #4
+    F5CA:    97 02          LD      R3, R2
+    F5CB:    92 C3          LD      R1, [R3]
+    F5CC:    42 41          CMP     R1, #1
+    F5CD:    5E 02          JZ      f5d0
+    F5CE:    9F 0F F5 D2    LJMP    0000f5d2
+    F5D0:    9F 0F F5 D4    LJMP    0000f5d4
+    F5D2:    9F 0F F5 D4    LJMP    0000f5d4
+    F5D4:    F0 40 F6 06    CALL    ___PROC_0035
+    F5D6:    93 11 09 6B    LD      R1, [096b]
+    F5D8:    42 42          CMP     R1, #2
+    F5D9:    5E 02          JZ      f5dc
+    F5DA:    9F 0F F5 DE    LJMP    0000f5de
+    F5DC:    9F 0F F6 03    LJMP    0000f603
+    F5DE:    93 11 09 6B    LD      R1, [096b]
+    F5E0:    42 40          CMP     R1, #0
+    F5E1:    5E 02          JZ      f5e4
+    F5E2:    9F 0F F5 F4    LJMP    0000f5f4
+    F5E4:    93 09 7F FF    LD      R1, #7fff
+    F5E6:    D2 C8          ST      R1, [SP--]
+    F5E7:    93 05          LD      R1, BP
+    F5E8:    05 0D 00 09    ADD     R2, BP, #9
+    F5EA:    99 02          LD      R4, R2
+    F5EB:    92 C4          LD      R1, [R4]
+    F5EC:    D2 C8          ST      R1, [SP--]
+    F5ED:    92 40          LD      R1, #0
+    F5EE:    D2 C8          ST      R1, [SP--]
+    F5EF:    F0 41 76 7A    CALL    ___PROC_0060
+    F5F1:    00 43          ADD     SP, #3
+    F5F2:    9F 0F F6 01    LJMP    0000f601
+    F5F4:    92 40          LD      R1, #0
+    F5F5:    D2 C8          ST      R1, [SP--]
+    F5F6:    93 05          LD      R1, BP
+    F5F7:    05 0D 00 09    ADD     R2, BP, #9
+    F5F9:    97 02          LD      R3, R2
+    F5FA:    92 C3          LD      R1, [R3]
+    F5FB:    D2 C8          ST      R1, [SP--]
+    F5FC:    92 40          LD      R1, #0
+    F5FD:    D2 C8          ST      R1, [SP--]
+    F5FE:    F0 41 76 7A    CALL    ___PROC_0060
+    F600:    00 43          ADD     SP, #3
+    F601:    F0 40 F6 06    CALL    ___PROC_0035
+    F603:    00 56          ADD     SP, #16
+    F604:    98 88          POP     BP-BP, [SP]
+    F605:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0035
+
+___PROC_0035:
+    F606:    DA 88          PUSH    BP-BP, [SP]
+    F607:    20 41          SUB     SP, #1
+    F608:    0B 08 00 01    ADD     BP, SP, #1
+    F60A:    03 0D 00 04    ADD     R1, BP, #4
+    F60C:    D2 C5          ST      R1, [BP]
+    F60D:    F0 40 E9 4B    CALL    OR_088B_1
+    F60F:    F0 40 E9 63    CALL    WAIT_UNTIL_08BB_EQUAL_0
+    F611:    F0 41 73 1F    CALL    ramCode_reset
+    F613:    00 41          ADD     SP, #1
+    F614:    98 88          POP     BP-BP, [SP]
+    F615:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0036
+
+___PROC_0036:
+    F616:    DA 88          PUSH    BP-BP, [SP]
+    F617:    20 43          SUB     SP, #3
+    F618:    0B 08 00 01    ADD     BP, SP, #1
+    F61A:    03 0D 00 06    ADD     R1, BP, #6
+    F61C:    D2 02          ST      R1, [BP+2]
+    F61D:    92 40          LD      R1, #0
+    F61E:    D2 C5          ST      R1, [BP]
+AL_0027:
+    F61F:    9F 0F F6 23    LJMP    AL_0028
+    F621:    9F 0F F6 4F    LJMP    AL_0031
+AL_0028:
+    F623:    F0 41 96 32    CALL    ___PROC_0081
+    F625:    95 05          LD      R2, BP
+    F626:    07 0D 00 01    ADD     R3, BP, #1
+    F628:    95 03          LD      R2, R3
+    F629:    D2 C2          ST      R1, [R2]
+    F62A:    93 05          LD      R1, BP
+    F62B:    05 0D 00 01    ADD     R2, BP, #1
+    F62D:    97 02          LD      R3, R2
+    F62E:    92 C3          LD      R1, [R3]
+    F62F:    42 41          CMP     R1, #1
+    F630:    5E 02          JZ      f633
+    F631:    9F 0F F6 35    LJMP    AL_0029
+    F633:    9F 0F F6 4F    LJMP    AL_0031
+AL_0029:
+    F635:    92 C5          LD      R1, [BP]
+    F636:    05 09 00 01    ADD     R2, R1, #1
+    F638:    D4 C5          ST      R2, [BP]
+    F639:    92 C5          LD      R1, [BP]
+    F63A:    42 60          CMP     R1, #20
+    F63B:    9E 02          JA      f63e
+    F63C:    9F 0F F6 40    LJMP    AL_0030
+    F63E:    9F 0F F6 4F    LJMP    AL_0031
+AL_0030:
+    F640:    93 09 7F FF    LD      R1, #7fff
+    F642:    D2 C8          ST      R1, [SP--]
+    F643:    94 02          LD      R2, [BP+2]
+    F644:    92 C2          LD      R1, [R2]
+    F645:    D2 C8          ST      R1, [SP--]
+    F646:    92 C5          LD      R1, [BP]
+    F647:    D2 C8          ST      R1, [SP--]
+    F648:    F0 41 76 7A    CALL    ___PROC_0060
+    F64A:    00 43          ADD     SP, #3
+    F64B:    F0 40 F6 06    CALL    ___PROC_0035
+    F64D:    9F 0F F6 1F    LJMP    AL_0027
+AL_0031:
+    F64F:    93 05          LD      R1, BP
+    F650:    05 0D 00 01    ADD     R2, BP, #1
+    F652:    93 02          LD      R1, R2
+    F653:    96 C1          LD      R3, [R1]
+    F654:    93 03          LD      R1, R3
+    F655:    9F 0F F6 57    LJMP    0000f657
+    F657:    00 43          ADD     SP, #3
+    F658:    98 88          POP     BP-BP, [SP]
+    F659:    9A 90          RETF    
+    F65A:    DA 88          PUSH    BP-BP, [SP]
+    F65B:    20 43          SUB     SP, #3
+    F65C:    0B 08 00 01    ADD     BP, SP, #1
+    F65E:    03 0D 00 06    ADD     R1, BP, #6
+    F660:    D2 02          ST      R1, [BP+2]
+    F661:    92 40          LD      R1, #0
+    F662:    D2 C5          ST      R1, [BP]
+    F663:    9F 0F F6 67    LJMP    0000f667
+    F665:    9F 0F F6 93    LJMP    AL_0032
+    F667:    F0 41 96 32    CALL    ___PROC_0081
+    F669:    95 05          LD      R2, BP
+    F66A:    07 0D 00 01    ADD     R3, BP, #1
+    F66C:    95 03          LD      R2, R3
+    F66D:    D2 C2          ST      R1, [R2]
+    F66E:    93 05          LD      R1, BP
+    F66F:    05 0D 00 01    ADD     R2, BP, #1
+    F671:    97 02          LD      R3, R2
+    F672:    92 C3          LD      R1, [R3]
+    F673:    42 41          CMP     R1, #1
+    F674:    5E 02          JZ      f677
+    F675:    9F 0F F6 79    LJMP    0000f679
+    F677:    9F 0F F6 93    LJMP    AL_0032
+    F679:    92 C5          LD      R1, [BP]
+    F67A:    05 09 00 01    ADD     R2, R1, #1
+    F67C:    D4 C5          ST      R2, [BP]
+    F67D:    92 C5          LD      R1, [BP]
+    F67E:    42 60          CMP     R1, #20
+    F67F:    9E 02          JA      f682
+    F680:    9F 0F F6 84    LJMP    0000f684
+    F682:    9F 0F F6 93    LJMP    AL_0032
+    F684:    93 09 7F FF    LD      R1, #7fff
+    F686:    D2 C8          ST      R1, [SP--]
+    F687:    94 02          LD      R2, [BP+2]
+    F688:    92 C2          LD      R1, [R2]
+    F689:    D2 C8          ST      R1, [SP--]
+    F68A:    92 C5          LD      R1, [BP]
+    F68B:    D2 C8          ST      R1, [SP--]
+    F68C:    F0 41 75 FD    CALL    ___PROC_0058
+    F68E:    00 43          ADD     SP, #3
+    F68F:    F0 40 F6 06    CALL    ___PROC_0035
+    F691:    9F 0F F6 63    LJMP    0000f663
+AL_0032:
+    F693:    93 05          LD      R1, BP
+    F694:    05 0D 00 01    ADD     R2, BP, #1
+    F696:    93 02          LD      R1, R2
+    F697:    96 C1          LD      R3, [R1]
+    F698:    93 03          LD      R1, R3
+    F699:    9F 0F F6 9B    LJMP    0000f69b
+    F69B:    00 43          ADD     SP, #3
+    F69C:    98 88          POP     BP-BP, [SP]
+    F69D:    9A 90          RETF    
+    F69E:    DA 88          PUSH    BP-BP, [SP]
+    F69F:    20 48          SUB     SP, #8
+    F6A0:    0B 08 00 01    ADD     BP, SP, #1
+    F6A2:    03 0D 00 0B    ADD     R1, BP, #b
+    F6A4:    D2 07          ST      R1, [BP+7]
+    F6A5:    92 07          LD      R1, [BP+7]
+    F6A6:    96 07          LD      R3, [BP+7]
+    F6A7:    05 0B 00 01    ADD     R2, R3, #1
+    F6A9:    99 02          LD      R4, R2
+    F6AA:    92 C4          LD      R1, [R4]
+    F6AB:    D2 C8          ST      R1, [SP--]
+    F6AC:    94 07          LD      R2, [BP+7]
+    F6AD:    92 C2          LD      R1, [R2]
+    F6AE:    D2 C8          ST      R1, [SP--]
+    F6AF:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F6B1:    00 42          ADD     SP, #2
+    F6B2:    95 05          LD      R2, BP
+    F6B3:    07 0D 00 03    ADD     R3, BP, #3
+    F6B5:    99 03          LD      R4, R3
+    F6B6:    D2 C4          ST      R1, [R4]
+    F6B7:    94 07          LD      R2, [BP+7]
+    F6B8:    92 C2          LD      R1, [R2]
+    F6B9:    05 09 00 01    ADD     R2, R1, #1
+    F6BB:    96 07          LD      R3, [BP+7]
+    F6BC:    D4 C3          ST      R2, [R3]
+    F6BD:    92 07          LD      R1, [BP+7]
+    F6BE:    98 07          LD      R4, [BP+7]
+    F6BF:    05 0C 00 01    ADD     R2, R4, #1
+    F6C1:    97 02          LD      R3, R2
+    F6C2:    92 C3          LD      R1, [R3]
+    F6C3:    D2 C8          ST      R1, [SP--]
+    F6C4:    98 07          LD      R4, [BP+7]
+    F6C5:    92 C4          LD      R1, [R4]
+    F6C6:    D2 C8          ST      R1, [SP--]
+    F6C7:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F6C9:    00 42          ADD     SP, #2
+    F6CA:    95 05          LD      R2, BP
+    F6CB:    07 0D 00 04    ADD     R3, BP, #4
+    F6CD:    95 03          LD      R2, R3
+    F6CE:    D2 C2          ST      R1, [R2]
+    F6CF:    96 07          LD      R3, [BP+7]
+    F6D0:    92 C3          LD      R1, [R3]
+    F6D1:    05 09 00 01    ADD     R2, R1, #1
+    F6D3:    98 07          LD      R4, [BP+7]
+    F6D4:    D4 C4          ST      R2, [R4]
+    F6D5:    92 07          LD      R1, [BP+7]
+    F6D6:    92 07          LD      R1, [BP+7]
+    F6D7:    05 09 00 01    ADD     R2, R1, #1
+    F6D9:    97 02          LD      R3, R2
+    F6DA:    92 C3          LD      R1, [R3]
+    F6DB:    D2 C8          ST      R1, [SP--]
+    F6DC:    98 07          LD      R4, [BP+7]
+    F6DD:    92 C4          LD      R1, [R4]
+    F6DE:    D2 C8          ST      R1, [SP--]
+    F6DF:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F6E1:    00 42          ADD     SP, #2
+    F6E2:    95 05          LD      R2, BP
+    F6E3:    07 0D 00 06    ADD     R3, BP, #6
+    F6E5:    95 03          LD      R2, R3
+    F6E6:    D2 C2          ST      R1, [R2]
+    F6E7:    96 07          LD      R3, [BP+7]
+    F6E8:    92 C3          LD      R1, [R3]
+    F6E9:    05 09 00 01    ADD     R2, R1, #1
+    F6EB:    98 07          LD      R4, [BP+7]
+    F6EC:    D4 C4          ST      R2, [R4]
+    F6ED:    93 05          LD      R1, BP
+    F6EE:    05 0D 00 02    ADD     R2, BP, #2
+    F6F0:    96 07          LD      R3, [BP+7]
+    F6F1:    92 C3          LD      R1, [R3]
+    F6F2:    99 02          LD      R4, R2
+AL_0033:
+    F6F3:    D2 C4          ST      R1, [R4]
+    F6F4:    93 05          LD      R1, BP
+    F6F5:    05 0D 00 01    ADD     R2, BP, #1
+    F6F7:    92 40          LD      R1, #0
+    F6F8:    97 02          LD      R3, R2
+    F6F9:    D2 C3          ST      R1, [R3]
+    F6FA:    92 40          LD      R1, #0
+    F6FB:    D2 C5          ST      R1, [BP]
+    F6FC:    9F 0F F7 00    LJMP    0000f700
+    F6FE:    9F 0F F7 B1    LJMP    0000f7b1
+    F700:    92 C5          LD      R1, [BP]
+    F701:    05 09 00 01    ADD     R2, R1, #1
+    F703:    D4 C5          ST      R2, [BP]
+    F704:    92 C5          LD      R1, [BP]
+    F705:    42 60          CMP     R1, #20
+    F706:    9E 02          JA      f709
+    F707:    9F 0F F7 0B    LJMP    0000f70b
+    F709:    9F 0F F7 B1    LJMP    0000f7b1
+    F70B:    93 05          LD      R1, BP
+    F70C:    05 0D 00 04    ADD     R2, BP, #4
+    F70E:    99 02          LD      R4, R2
+    F70F:    92 C4          LD      R1, [R4]
+    F710:    D2 C8          ST      R1, [SP--]
+    F711:    93 05          LD      R1, BP
+    F712:    05 0D 00 03    ADD     R2, BP, #3
+    F714:    97 02          LD      R3, R2
+    F715:    92 C3          LD      R1, [R3]
+    F716:    D2 C8          ST      R1, [SP--]
+    F717:    92 C5          LD      R1, [BP]
+    F718:    D2 C8          ST      R1, [SP--]
+    F719:    F0 41 76 7A    CALL    ___PROC_0060
+    F71B:    00 43          ADD     SP, #3
+    F71C:    93 05          LD      R1, BP
+    F71D:    05 0D 00 02    ADD     R2, BP, #2
+    F71F:    99 02          LD      R4, R2
+    F720:    92 C4          LD      R1, [R4]
+    F721:    94 07          LD      R2, [BP+7]
+    F722:    D2 C2          ST      R1, [R2]
+    F723:    92 07          LD      R1, [BP+7]
+    F724:    96 07          LD      R3, [BP+7]
+    F725:    05 0B 00 01    ADD     R2, R3, #1
+    F727:    99 02          LD      R4, R2
+    F728:    92 C4          LD      R1, [R4]
+    F729:    D2 C8          ST      R1, [SP--]
+    F72A:    94 07          LD      R2, [BP+7]
+    F72B:    92 C2          LD      R1, [R2]
+    F72C:    D2 C8          ST      R1, [SP--]
+    F72D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F72F:    00 42          ADD     SP, #2
+    F730:    95 05          LD      R2, BP
+    F731:    07 0D 00 05    ADD     R3, BP, #5
+    F733:    99 03          LD      R4, R3
+    F734:    D2 C4          ST      R1, [R4]
+    F735:    94 07          LD      R2, [BP+7]
+    F736:    92 C2          LD      R1, [R2]
+    F737:    05 09 00 01    ADD     R2, R1, #1
+    F739:    96 07          LD      R3, [BP+7]
+    F73A:    D4 C3          ST      R2, [R3]
+    F73B:    93 05          LD      R1, BP
+    F73C:    05 0D 00 05    ADD     R2, BP, #5
+    F73E:    99 02          LD      R4, R2
+    F73F:    92 C4          LD      R1, [R4]
+    F740:    43 09 FF FF    CMP     R1, R1, #ffff
+    F742:    5E 02          JZ      f745
+    F743:    9F 0F F7 47    LJMP    0000f747
+    F745:    9F 0F F7 6A    LJMP    0000f76a
+    F747:    93 05          LD      R1, BP
+    F748:    05 0D 00 05    ADD     R2, BP, #5
+    F74A:    97 02          LD      R3, R2
+    F74B:    92 C3          LD      R1, [R3]
+    F74C:    D2 C8          ST      R1, [SP--]
+    F74D:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F74F:    00 41          ADD     SP, #1
+    F750:    92 07          LD      R1, [BP+7]
+    F751:    98 07          LD      R4, [BP+7]
+    F752:    05 0C 00 01    ADD     R2, R4, #1
+    F754:    97 02          LD      R3, R2
+    F755:    92 C3          LD      R1, [R3]
+    F756:    D2 C8          ST      R1, [SP--]
+    F757:    98 07          LD      R4, [BP+7]
+    F758:    92 C4          LD      R1, [R4]
+    F759:    D2 C8          ST      R1, [SP--]
+    F75A:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F75C:    00 42          ADD     SP, #2
+    F75D:    95 05          LD      R2, BP
+    F75E:    07 0D 00 05    ADD     R3, BP, #5
+    F760:    95 03          LD      R2, R3
+    F761:    D2 C2          ST      R1, [R2]
+    F762:    96 07          LD      R3, [BP+7]
+    F763:    92 C3          LD      R1, [R3]
+    F764:    05 09 00 01    ADD     R2, R1, #1
+    F766:    98 07          LD      R4, [BP+7]
+    F767:    D4 C4          ST      R2, [R4]
+    F768:    9F 0F F7 3B    LJMP    0000f73b
+    F76A:    95 05          LD      R2, BP
+    F76B:    03 0D 00 05    ADD     R1, BP, #5
+    F76D:    95 05          LD      R2, BP
+    F76E:    07 0D 00 06    ADD     R3, BP, #6
+    F770:    99 03          LD      R4, R3
+    F771:    94 C4          LD      R2, [R4]
+    F772:    97 01          LD      R3, R1
+    F773:    D4 C3          ST      R2, [R3]
+    F774:    93 05          LD      R1, BP
+    F775:    05 0D 00 05    ADD     R2, BP, #5
+    F777:    99 02          LD      R4, R2
+    F778:    92 C4          LD      R1, [R4]
+    F779:    42 40          CMP     R1, #0
+    F77A:    5E 02          JZ      f77d
+    F77B:    9F 0F F7 7F    LJMP    0000f77f
+    F77D:    9F 0F F7 A4    LJMP    0000f7a4
+    F77F:    F0 40 F6 06    CALL    ___PROC_0035
+    F781:    93 05          LD      R1, BP
+    F782:    05 0D 00 05    ADD     R2, BP, #5
+    F784:    97 05          LD      R3, BP
+    F785:    03 0D 00 05    ADD     R1, BP, #5
+    F787:    95 05          LD      R2, BP
+    F788:    07 0D 00 05    ADD     R3, BP, #5
+    F78A:    99 03          LD      R4, R3
+    F78B:    94 C4          LD      R2, [R4]
+    F78C:    07 0A FF FF    ADD     R3, R2, #ffff
+    F78E:    95 01          LD      R2, R1
+    F78F:    D6 C2          ST      R3, [R2]
+    F790:    F0 41 96 32    CALL    ___PROC_0081
+    F792:    95 05          LD      R2, BP
+    F793:    07 0D 00 01    ADD     R3, BP, #1
+    F795:    99 03          LD      R4, R3
+    F796:    D2 C4          ST      R1, [R4]
+    F797:    93 05          LD      R1, BP
+    F798:    05 0D 00 01    ADD     R2, BP, #1
+    F79A:    97 02          LD      R3, R2
+    F79B:    92 C3          LD      R1, [R3]
+    F79C:    42 41          CMP     R1, #1
+    F79D:    5E 02          JZ      f7a0
+    F79E:    9F 0F F7 A2    LJMP    0000f7a2
+    F7A0:    9F 0F F7 A4    LJMP    0000f7a4
+    F7A2:    9F 0F F7 74    LJMP    0000f774
+    F7A4:    93 05          LD      R1, BP
+    F7A5:    05 0D 00 01    ADD     R2, BP, #1
+    F7A7:    99 02          LD      R4, R2
+    F7A8:    92 C4          LD      R1, [R4]
+    F7A9:    42 41          CMP     R1, #1
+    F7AA:    5E 02          JZ      f7ad
+    F7AB:    9F 0F F7 AF    LJMP    0000f7af
+    F7AD:    9F 0F F7 B1    LJMP    0000f7b1
+    F7AF:    9F 0F F6 FC    LJMP    0000f6fc
+    F7B1:    93 05          LD      R1, BP
+    F7B2:    05 0D 00 01    ADD     R2, BP, #1
+    F7B4:    93 02          LD      R1, R2
+    F7B5:    96 C1          LD      R3, [R1]
+    F7B6:    93 03          LD      R1, R3
+    F7B7:    9F 0F F7 B9    LJMP    0000f7b9
+    F7B9:    00 48          ADD     SP, #8
+    F7BA:    98 88          POP     BP-BP, [SP]
+    F7BB:    9A 90          RETF    
+    F7BC:    DA 88          PUSH    BP-BP, [SP]
+    F7BD:    20 48          SUB     SP, #8
+    F7BE:    0B 08 00 01    ADD     BP, SP, #1
+    F7C0:    03 0D 00 0B    ADD     R1, BP, #b
+    F7C2:    D2 07          ST      R1, [BP+7]
+    F7C3:    92 07          LD      R1, [BP+7]
+    F7C4:    96 07          LD      R3, [BP+7]
+    F7C5:    05 0B 00 01    ADD     R2, R3, #1
+    F7C7:    99 02          LD      R4, R2
+    F7C8:    92 C4          LD      R1, [R4]
+    F7C9:    D2 C8          ST      R1, [SP--]
+    F7CA:    94 07          LD      R2, [BP+7]
+    F7CB:    92 C2          LD      R1, [R2]
+    F7CC:    D2 C8          ST      R1, [SP--]
+    F7CD:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F7CF:    00 42          ADD     SP, #2
+    F7D0:    95 05          LD      R2, BP
+    F7D1:    07 0D 00 03    ADD     R3, BP, #3
+    F7D3:    99 03          LD      R4, R3
+    F7D4:    D2 C4          ST      R1, [R4]
+    F7D5:    94 07          LD      R2, [BP+7]
+    F7D6:    92 C2          LD      R1, [R2]
+    F7D7:    05 09 00 01    ADD     R2, R1, #1
+    F7D9:    96 07          LD      R3, [BP+7]
+    F7DA:    D4 C3          ST      R2, [R3]
+    F7DB:    92 07          LD      R1, [BP+7]
+    F7DC:    98 07          LD      R4, [BP+7]
+    F7DD:    05 0C 00 01    ADD     R2, R4, #1
+    F7DF:    97 02          LD      R3, R2
+    F7E0:    92 C3          LD      R1, [R3]
+    F7E1:    D2 C8          ST      R1, [SP--]
+    F7E2:    98 07          LD      R4, [BP+7]
+    F7E3:    92 C4          LD      R1, [R4]
+    F7E4:    D2 C8          ST      R1, [SP--]
+    F7E5:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F7E7:    00 42          ADD     SP, #2
+    F7E8:    95 05          LD      R2, BP
+    F7E9:    07 0D 00 04    ADD     R3, BP, #4
+    F7EB:    95 03          LD      R2, R3
+    F7EC:    D2 C2          ST      R1, [R2]
+    F7ED:    96 07          LD      R3, [BP+7]
+    F7EE:    92 C3          LD      R1, [R3]
+    F7EF:    05 09 00 01    ADD     R2, R1, #1
+    F7F1:    98 07          LD      R4, [BP+7]
+    F7F2:    D4 C4          ST      R2, [R4]
+    F7F3:    92 07          LD      R1, [BP+7]
+    F7F4:    92 07          LD      R1, [BP+7]
+    F7F5:    05 09 00 01    ADD     R2, R1, #1
+    F7F7:    97 02          LD      R3, R2
+    F7F8:    92 C3          LD      R1, [R3]
+    F7F9:    D2 C8          ST      R1, [SP--]
+    F7FA:    98 07          LD      R4, [BP+7]
+    F7FB:    92 C4          LD      R1, [R4]
+    F7FC:    D2 C8          ST      R1, [SP--]
+    F7FD:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F7FF:    00 42          ADD     SP, #2
+    F800:    95 05          LD      R2, BP
+    F801:    07 0D 00 06    ADD     R3, BP, #6
+    F803:    95 03          LD      R2, R3
+    F804:    D2 C2          ST      R1, [R2]
+    F805:    96 07          LD      R3, [BP+7]
+    F806:    92 C3          LD      R1, [R3]
+    F807:    05 09 00 01    ADD     R2, R1, #1
+    F809:    98 07          LD      R4, [BP+7]
+    F80A:    D4 C4          ST      R2, [R4]
+    F80B:    93 05          LD      R1, BP
+    F80C:    05 0D 00 02    ADD     R2, BP, #2
+    F80E:    96 07          LD      R3, [BP+7]
+    F80F:    92 C3          LD      R1, [R3]
+    F810:    99 02          LD      R4, R2
+    F811:    D2 C4          ST      R1, [R4]
+    F812:    93 05          LD      R1, BP
+    F813:    05 0D 00 01    ADD     R2, BP, #1
+    F815:    92 40          LD      R1, #0
+    F816:    97 02          LD      R3, R2
+    F817:    D2 C3          ST      R1, [R3]
+    F818:    92 40          LD      R1, #0
+    F819:    D2 C5          ST      R1, [BP]
+    F81A:    9F 0F F8 1E    LJMP    0000f81e
+    F81C:    9F 0F F8 CF    LJMP    0000f8cf
+    F81E:    92 C5          LD      R1, [BP]
+    F81F:    05 09 00 01    ADD     R2, R1, #1
+    F821:    D4 C5          ST      R2, [BP]
+    F822:    92 C5          LD      R1, [BP]
+    F823:    42 60          CMP     R1, #20
+    F824:    9E 02          JA      f827
+    F825:    9F 0F F8 29    LJMP    0000f829
+    F827:    9F 0F F8 CF    LJMP    0000f8cf
+    F829:    93 05          LD      R1, BP
+    F82A:    05 0D 00 04    ADD     R2, BP, #4
+    F82C:    99 02          LD      R4, R2
+    F82D:    92 C4          LD      R1, [R4]
+    F82E:    D2 C8          ST      R1, [SP--]
+    F82F:    93 05          LD      R1, BP
+    F830:    05 0D 00 03    ADD     R2, BP, #3
+    F832:    97 02          LD      R3, R2
+    F833:    92 C3          LD      R1, [R3]
+    F834:    D2 C8          ST      R1, [SP--]
+    F835:    92 C5          LD      R1, [BP]
+    F836:    D2 C8          ST      R1, [SP--]
+    F837:    F0 41 75 FD    CALL    ___PROC_0058
+    F839:    00 43          ADD     SP, #3
+    F83A:    93 05          LD      R1, BP
+    F83B:    05 0D 00 02    ADD     R2, BP, #2
+    F83D:    99 02          LD      R4, R2
+    F83E:    92 C4          LD      R1, [R4]
+    F83F:    94 07          LD      R2, [BP+7]
+    F840:    D2 C2          ST      R1, [R2]
+    F841:    92 07          LD      R1, [BP+7]
+    F842:    96 07          LD      R3, [BP+7]
+    F843:    05 0B 00 01    ADD     R2, R3, #1
+    F845:    99 02          LD      R4, R2
+    F846:    92 C4          LD      R1, [R4]
+    F847:    D2 C8          ST      R1, [SP--]
+    F848:    94 07          LD      R2, [BP+7]
+    F849:    92 C2          LD      R1, [R2]
+    F84A:    D2 C8          ST      R1, [SP--]
+    F84B:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F84D:    00 42          ADD     SP, #2
+    F84E:    95 05          LD      R2, BP
+    F84F:    07 0D 00 05    ADD     R3, BP, #5
+    F851:    99 03          LD      R4, R3
+    F852:    D2 C4          ST      R1, [R4]
+    F853:    94 07          LD      R2, [BP+7]
+    F854:    92 C2          LD      R1, [R2]
+    F855:    05 09 00 01    ADD     R2, R1, #1
+    F857:    96 07          LD      R3, [BP+7]
+    F858:    D4 C3          ST      R2, [R3]
+    F859:    93 05          LD      R1, BP
+    F85A:    05 0D 00 05    ADD     R2, BP, #5
+    F85C:    99 02          LD      R4, R2
+    F85D:    92 C4          LD      R1, [R4]
+    F85E:    43 09 FF FF    CMP     R1, R1, #ffff
+    F860:    5E 02          JZ      f863
+    F861:    9F 0F F8 65    LJMP    0000f865
+    F863:    9F 0F F8 88    LJMP    0000f888
+    F865:    93 05          LD      R1, BP
+    F866:    05 0D 00 05    ADD     R2, BP, #5
+    F868:    97 02          LD      R3, R2
+    F869:    92 C3          LD      R1, [R3]
+    F86A:    D2 C8          ST      R1, [SP--]
+    F86B:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F86D:    00 41          ADD     SP, #1
+    F86E:    92 07          LD      R1, [BP+7]
+    F86F:    98 07          LD      R4, [BP+7]
+    F870:    05 0C 00 01    ADD     R2, R4, #1
+    F872:    97 02          LD      R3, R2
+    F873:    92 C3          LD      R1, [R3]
+    F874:    D2 C8          ST      R1, [SP--]
+    F875:    98 07          LD      R4, [BP+7]
+    F876:    92 C4          LD      R1, [R4]
+    F877:    D2 C8          ST      R1, [SP--]
+    F878:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F87A:    00 42          ADD     SP, #2
+    F87B:    95 05          LD      R2, BP
+    F87C:    07 0D 00 05    ADD     R3, BP, #5
+    F87E:    95 03          LD      R2, R3
+    F87F:    D2 C2          ST      R1, [R2]
+    F880:    96 07          LD      R3, [BP+7]
+    F881:    92 C3          LD      R1, [R3]
+    F882:    05 09 00 01    ADD     R2, R1, #1
+    F884:    98 07          LD      R4, [BP+7]
+    F885:    D4 C4          ST      R2, [R4]
+    F886:    9F 0F F8 59    LJMP    0000f859
+    F888:    95 05          LD      R2, BP
+    F889:    03 0D 00 05    ADD     R1, BP, #5
+    F88B:    95 05          LD      R2, BP
+    F88C:    07 0D 00 06    ADD     R3, BP, #6
+    F88E:    99 03          LD      R4, R3
+    F88F:    94 C4          LD      R2, [R4]
+    F890:    97 01          LD      R3, R1
+    F891:    D4 C3          ST      R2, [R3]
+    F892:    93 05          LD      R1, BP
+    F893:    05 0D 00 05    ADD     R2, BP, #5
+    F895:    99 02          LD      R4, R2
+    F896:    92 C4          LD      R1, [R4]
+    F897:    42 40          CMP     R1, #0
+    F898:    5E 02          JZ      f89b
+    F899:    9F 0F F8 9D    LJMP    0000f89d
+    F89B:    9F 0F F8 C2    LJMP    0000f8c2
+    F89D:    F0 40 F6 06    CALL    ___PROC_0035
+    F89F:    93 05          LD      R1, BP
+    F8A0:    05 0D 00 05    ADD     R2, BP, #5
+    F8A2:    97 05          LD      R3, BP
+    F8A3:    03 0D 00 05    ADD     R1, BP, #5
+    F8A5:    95 05          LD      R2, BP
+    F8A6:    07 0D 00 05    ADD     R3, BP, #5
+    F8A8:    99 03          LD      R4, R3
+    F8A9:    94 C4          LD      R2, [R4]
+    F8AA:    07 0A FF FF    ADD     R3, R2, #ffff
+    F8AC:    95 01          LD      R2, R1
+    F8AD:    D6 C2          ST      R3, [R2]
+    F8AE:    F0 41 96 32    CALL    ___PROC_0081
+    F8B0:    95 05          LD      R2, BP
+    F8B1:    07 0D 00 01    ADD     R3, BP, #1
+    F8B3:    99 03          LD      R4, R3
+    F8B4:    D2 C4          ST      R1, [R4]
+    F8B5:    93 05          LD      R1, BP
+    F8B6:    05 0D 00 01    ADD     R2, BP, #1
+    F8B8:    97 02          LD      R3, R2
+    F8B9:    92 C3          LD      R1, [R3]
+    F8BA:    42 41          CMP     R1, #1
+    F8BB:    5E 02          JZ      f8be
+    F8BC:    9F 0F F8 C0    LJMP    0000f8c0
+    F8BE:    9F 0F F8 C2    LJMP    0000f8c2
+    F8C0:    9F 0F F8 92    LJMP    0000f892
+    F8C2:    93 05          LD      R1, BP
+    F8C3:    05 0D 00 01    ADD     R2, BP, #1
+    F8C5:    99 02          LD      R4, R2
+    F8C6:    92 C4          LD      R1, [R4]
+    F8C7:    42 41          CMP     R1, #1
+    F8C8:    5E 02          JZ      f8cb
+    F8C9:    9F 0F F8 CD    LJMP    0000f8cd
+    F8CB:    9F 0F F8 CF    LJMP    0000f8cf
+    F8CD:    9F 0F F8 1A    LJMP    0000f81a
+    F8CF:    93 05          LD      R1, BP
+    F8D0:    05 0D 00 01    ADD     R2, BP, #1
+    F8D2:    93 02          LD      R1, R2
+    F8D3:    96 C1          LD      R3, [R1]
+    F8D4:    93 03          LD      R1, R3
+    F8D5:    9F 0F F8 D7    LJMP    0000f8d7
+    F8D7:    00 48          ADD     SP, #8
+    F8D8:    98 88          POP     BP-BP, [SP]
+    F8D9:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0037
+
+___PROC_0037:
+    F8DA:    DA 88          PUSH    BP-BP, [SP]
+    F8DB:    20 44          SUB     SP, #4
+    F8DC:    0B 08 00 01    ADD     BP, SP, #1
+    F8DE:    03 0D 00 07    ADD     R1, BP, #7
+    F8E0:    D2 03          ST      R1, [BP+3]
+    F8E1:    92 40          LD      R1, #0
+    F8E2:    D2 C5          ST      R1, [BP]
+    F8E3:    93 11 09 6B    LD      R1, [096b]
+    F8E5:    42 40          CMP     R1, #0
+    F8E6:    5E 02          JZ      f8e9
+    F8E7:    9F 0F F8 F2    LJMP    0000f8f2
+    F8E9:    93 05          LD      R1, BP
+    F8EA:    05 0D 00 02    ADD     R2, BP, #2
+    F8EC:    93 09 7F FF    LD      R1, #7fff
+    F8EE:    97 02          LD      R3, R2
+    F8EF:    D2 C3          ST      R1, [R3]
+    F8F0:    9F 0F F8 F8    LJMP    0000f8f8
+    F8F2:    93 05          LD      R1, BP
+    F8F3:    05 0D 00 02    ADD     R2, BP, #2
+    F8F5:    92 40          LD      R1, #0
+    F8F6:    97 02          LD      R3, R2
+    F8F7:    D2 C3          ST      R1, [R3]
+    F8F8:    9F 0F F8 FC    LJMP    0000f8fc
+    F8FA:    9F 0F F9 71    LJMP    0000f971
+    F8FC:    F0 41 96 32    CALL    ___PROC_0081
+    F8FE:    95 05          LD      R2, BP
+    F8FF:    07 0D 00 01    ADD     R3, BP, #1
+    F901:    95 03          LD      R2, R3
+    F902:    D2 C2          ST      R1, [R2]
+    F903:    93 05          LD      R1, BP
+    F904:    05 0D 00 01    ADD     R2, BP, #1
+    F906:    97 02          LD      R3, R2
+    F907:    92 C3          LD      R1, [R3]
+    F908:    42 41          CMP     R1, #1
+    F909:    5E 02          JZ      f90c
+    F90A:    9F 0F F9 0E    LJMP    0000f90e
+    F90C:    9F 0F F9 71    LJMP    0000f971
+    F90E:    92 C5          LD      R1, [BP]
+    F90F:    05 09 00 01    ADD     R2, R1, #1
+    F911:    D4 C5          ST      R2, [BP]
+    F912:    92 C5          LD      R1, [BP]
+    F913:    42 60          CMP     R1, #20
+    F914:    9E 02          JA      f917
+    F915:    9F 0F F9 19    LJMP    0000f919
+    F917:    9F 0F F9 71    LJMP    0000f971
+    F919:    93 05          LD      R1, BP
+    F91A:    05 0D 00 02    ADD     R2, BP, #2
+    F91C:    97 02          LD      R3, R2
+    F91D:    92 C3          LD      R1, [R3]
+    F91E:    D2 C8          ST      R1, [SP--]
+    F91F:    94 03          LD      R2, [BP+3]
+    F920:    92 C2          LD      R1, [R2]
+    F921:    D2 C8          ST      R1, [SP--]
+    F922:    92 C5          LD      R1, [BP]
+    F923:    D2 C8          ST      R1, [SP--]
+    F924:    F0 41 75 FD    CALL    ___PROC_0058
+    F926:    00 43          ADD     SP, #3
+    F927:    92 40          LD      R1, #0
+    F928:    D2 C8          ST      R1, [SP--]
+    F929:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F92B:    00 41          ADD     SP, #1
+    F92C:    92 41          LD      R1, #1
+    F92D:    D2 C8          ST      R1, [SP--]
+    F92E:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F930:    00 41          ADD     SP, #1
+    F931:    93 09 00 40    LD      R1, #40
+    F933:    D2 C8          ST      R1, [SP--]
+    F934:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F936:    00 41          ADD     SP, #1
+    F937:    93 09 00 42    LD      R1, #42
+    F939:    D2 C8          ST      R1, [SP--]
+    F93A:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F93C:    00 41          ADD     SP, #1
+    F93D:    93 09 00 43    LD      R1, #43
+    F93F:    D2 C8          ST      R1, [SP--]
+    F940:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F942:    00 41          ADD     SP, #1
+    F943:    93 09 00 44    LD      R1, #44
+    F945:    D2 C8          ST      R1, [SP--]
+    F946:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F948:    00 41          ADD     SP, #1
+    F949:    93 09 00 45    LD      R1, #45
+    F94B:    D2 C8          ST      R1, [SP--]
+    F94C:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F94E:    00 41          ADD     SP, #1
+    F94F:    93 09 00 46    LD      R1, #46
+    F951:    D2 C8          ST      R1, [SP--]
+    F952:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F954:    00 41          ADD     SP, #1
+    F955:    93 09 00 80    LD      R1, #80
+    F957:    D2 C8          ST      R1, [SP--]
+    F958:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F95A:    00 41          ADD     SP, #1
+    F95B:    93 09 00 90    LD      R1, #90
+    F95D:    D2 C8          ST      R1, [SP--]
+    F95E:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F960:    00 41          ADD     SP, #1
+    F961:    93 09 00 B0    LD      R1, #b0
+    F963:    D2 C8          ST      R1, [SP--]
+    F964:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F966:    00 41          ADD     SP, #1
+    F967:    93 09 00 B1    LD      R1, #b1
+    F969:    D2 C8          ST      R1, [SP--]
+    F96A:    F0 41 79 95    CALL    Color_setTransparentIndirect
+    F96C:    00 41          ADD     SP, #1
+    F96D:    F0 40 F6 06    CALL    ___PROC_0035
+    F96F:    9F 0F F8 F8    LJMP    0000f8f8
+    F971:    93 05          LD      R1, BP
+    F972:    05 0D 00 01    ADD     R2, BP, #1
+    F974:    93 02          LD      R1, R2
+    F975:    96 C1          LD      R3, [R1]
+    F976:    93 03          LD      R1, R3
+    F977:    9F 0F F9 79    LJMP    0000f979
+    F979:    00 44          ADD     SP, #4
+    F97A:    98 88          POP     BP-BP, [SP]
+    F97B:    9A 90          RETF    
+
+;----------------------------------------------------------------
+;        Function: ___PROC_0038
+
+___PROC_0038:
+    F97C:    DA 88          PUSH    BP-BP, [SP]
+    F97D:    20 45          SUB     SP, #5
+    F97E:    0B 08 00 01    ADD     BP, SP, #1
+    F980:    03 0D 00 08    ADD     R1, BP, #8
+    F982:    D2 04          ST      R1, [BP+4]
+    F983:    92 7F          LD      R1, #3f
+    F984:    D2 C8          ST      R1, [SP--]
+    F985:    62 66          NEG     R1, #26
+    F986:    D2 C8          ST      R1, [SP--]
+    F987:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F989:    00 42          ADD     SP, #2
+    F98A:    95 05          LD      R2, BP
+    F98B:    07 0D 00 02    ADD     R3, BP, #2
+    F98D:    95 03          LD      R2, R3
+    F98E:    D2 C2          ST      R1, [R2]
+    F98F:    92 7F          LD      R1, #3f
+    F990:    D2 C8          ST      R1, [SP--]
+    F991:    62 65          NEG     R1, #25
+    F992:    D2 C8          ST      R1, [SP--]
+    F993:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F995:    00 42          ADD     SP, #2
+    F996:    95 05          LD      R2, BP
+    F997:    07 0D 00 02    ADD     R3, BP, #2
+    F999:    95 03          LD      R2, R3
+    F99A:    06 41          ADD     R3, #1
+    F99B:    99 03          LD      R4, R3
+    F99C:    D2 C4          ST      R1, [R4]
+    F99D:    93 05          LD      R1, BP
+    F99E:    05 0D 00 02    ADD     R2, BP, #2
+    F9A0:    93 02          LD      R1, R2
+    F9A1:    04 41          ADD     R2, #1
+    F9A2:    97 02          LD      R3, R2
+    F9A3:    92 C3          LD      R1, [R3]
+    F9A4:    D2 C8          ST      R1, [SP--]
+    F9A5:    93 05          LD      R1, BP
+    F9A6:    05 0D 00 02    ADD     R2, BP, #2
+    F9A8:    99 02          LD      R4, R2
+    F9A9:    92 C4          LD      R1, [R4]
+    F9AA:    D2 C8          ST      R1, [SP--]
+    F9AB:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F9AD:    00 42          ADD     SP, #2
+    F9AE:    D2 C5          ST      R1, [BP]
+    F9AF:    92 C5          LD      R1, [BP]
+    F9B0:    43 09 00 54    CMP     R1, R1, #54
+    F9B2:    4E 02          JNZ     f9b5
+    F9B3:    9F 0F F9 B8    LJMP    0000f9b8
+    F9B5:    62 41          NEG     R1, #1
+    F9B6:    9F 0F FA E7    LJMP    0000fae7
+    F9B8:    93 05          LD      R1, BP
+    F9B9:    05 0D 00 02    ADD     R2, BP, #2
+    F9BB:    97 05          LD      R3, BP
+    F9BC:    03 0D 00 02    ADD     R1, BP, #2
+    F9BE:    95 05          LD      R2, BP
+    F9BF:    07 0D 00 02    ADD     R3, BP, #2
+    F9C1:    99 03          LD      R4, R3
+    F9C2:    94 C4          LD      R2, [R4]
+    F9C3:    07 0A 00 01    ADD     R3, R2, #1
+    F9C5:    95 01          LD      R2, R1
+    F9C6:    D6 C2          ST      R3, [R2]
+    F9C7:    93 05          LD      R1, BP
+    F9C8:    05 0D 00 02    ADD     R2, BP, #2
+    F9CA:    93 02          LD      R1, R2
+    F9CB:    04 41          ADD     R2, #1
+    F9CC:    97 02          LD      R3, R2
+    F9CD:    92 C3          LD      R1, [R3]
+    F9CE:    D2 C8          ST      R1, [SP--]
+    F9CF:    93 05          LD      R1, BP
+    F9D0:    05 0D 00 02    ADD     R2, BP, #2
+    F9D2:    99 02          LD      R4, R2
+    F9D3:    92 C4          LD      R1, [R4]
+    F9D4:    D2 C8          ST      R1, [SP--]
+    F9D5:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    F9D7:    00 42          ADD     SP, #2
+    F9D8:    D2 C5          ST      R1, [BP]
+    F9D9:    92 C5          LD      R1, [BP]
+    F9DA:    43 09 00 45    CMP     R1, R1, #45
+    F9DC:    4E 02          JNZ     f9df
+    F9DD:    9F 0F F9 E2    LJMP    0000f9e2
+    F9DF:    62 41          NEG     R1, #1
+    F9E0:    9F 0F FA E7    LJMP    0000fae7
+    F9E2:    93 05          LD      R1, BP
+    F9E3:    05 0D 00 02    ADD     R2, BP, #2
+    F9E5:    97 05          LD      R3, BP
+    F9E6:    03 0D 00 02    ADD     R1, BP, #2
+    F9E8:    95 05          LD      R2, BP
+    F9E9:    07 0D 00 02    ADD     R3, BP, #2
+    F9EB:    99 03          LD      R4, R3
+    F9EC:    94 C4          LD      R2, [R4]
+    F9ED:    07 0A 00 01    ADD     R3, R2, #1
+    F9EF:    95 01          LD      R2, R1
+    F9F0:    D6 C2          ST      R3, [R2]
+    F9F1:    93 05          LD      R1, BP
+    F9F2:    05 0D 00 02    ADD     R2, BP, #2
+    F9F4:    93 02          LD      R1, R2
+    F9F5:    04 41          ADD     R2, #1
+    F9F6:    97 02          LD      R3, R2
+    F9F7:    92 C3          LD      R1, [R3]
+    F9F8:    D2 C8          ST      R1, [SP--]
+    F9F9:    93 05          LD      R1, BP
+    F9FA:    05 0D 00 02    ADD     R2, BP, #2
+    F9FC:    99 02          LD      R4, R2
+    F9FD:    92 C4          LD      R1, [R4]
+    F9FE:    D2 C8          ST      R1, [SP--]
+    F9FF:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    FA01:    00 42          ADD     SP, #2
+    FA02:    D2 C5          ST      R1, [BP]
+    FA03:    92 C5          LD      R1, [BP]
+    FA04:    43 09 00 53    CMP     R1, R1, #53
+    FA06:    4E 02          JNZ     fa09
+    FA07:    9F 0F FA 0C    LJMP    0000fa0c
+    FA09:    62 41          NEG     R1, #1
+    FA0A:    9F 0F FA E7    LJMP    0000fae7
+    FA0C:    93 05          LD      R1, BP
+    FA0D:    05 0D 00 02    ADD     R2, BP, #2
+    FA0F:    97 05          LD      R3, BP
+    FA10:    03 0D 00 02    ADD     R1, BP, #2
+    FA12:    95 05          LD      R2, BP
+    FA13:    07 0D 00 02    ADD     R3, BP, #2
+    FA15:    99 03          LD      R4, R3
+    FA16:    94 C4          LD      R2, [R4]
+    FA17:    07 0A 00 01    ADD     R3, R2, #1
+    FA19:    95 01          LD      R2, R1
+    FA1A:    D6 C2          ST      R3, [R2]
+    FA1B:    93 05          LD      R1, BP
+    FA1C:    05 0D 00 02    ADD     R2, BP, #2
+    FA1E:    93 02          LD      R1, R2
+    FA1F:    04 41          ADD     R2, #1
+    FA20:    97 02          LD      R3, R2
+    FA21:    92 C3          LD      R1, [R3]
+    FA22:    D2 C8          ST      R1, [SP--]
+    FA23:    93 05          LD      R1, BP
+    FA24:    05 0D 00 02    ADD     R2, BP, #2
+    FA26:    99 02          LD      R4, R2
+    FA27:    92 C4          LD      R1, [R4]
+    FA28:    D2 C8          ST      R1, [SP--]
+    FA29:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    FA2B:    00 42          ADD     SP, #2
+    FA2C:    D2 C5          ST      R1, [BP]
+    FA2D:    92 C5          LD      R1, [BP]
+    FA2E:    43 09 00 54    CMP     R1, R1, #54
+    FA30:    4E 02          JNZ     fa33
+    FA31:    9F 0F FA 36    LJMP    0000fa36
+    FA33:    62 41          NEG     R1, #1
+    FA34:    9F 0F FA E7    LJMP    0000fae7
+    FA36:    93 05          LD      R1, BP
+    FA37:    05 0D 00 02    ADD     R2, BP, #2
+    FA39:    97 05          LD      R3, BP
+    FA3A:    03 0D 00 02    ADD     R1, BP, #2
+    FA3C:    95 05          LD      R2, BP
+    FA3D:    07 0D 00 02    ADD     R3, BP, #2
+    FA3F:    99 03          LD      R4, R3
+    FA40:    94 C4          LD      R2, [R4]
+    FA41:    07 0A 00 01    ADD     R3, R2, #1
+    FA43:    95 01          LD      R2, R1
+    FA44:    D6 C2          ST      R3, [R2]
+    FA45:    93 05          LD      R1, BP
+    FA46:    05 0D 00 02    ADD     R2, BP, #2
+    FA48:    93 02          LD      R1, R2
+    FA49:    04 41          ADD     R2, #1
+    FA4A:    97 02          LD      R3, R2
+    FA4B:    92 C3          LD      R1, [R3]
+    FA4C:    D2 C8          ST      R1, [SP--]
+    FA4D:    93 05          LD      R1, BP
+    FA4E:    05 0D 00 02    ADD     R2, BP, #2
+    FA50:    99 02          LD      R4, R2
+    FA51:    92 C4          LD      R1, [R4]
+    FA52:    D2 C8          ST      R1, [SP--]
+    FA53:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    FA55:    00 42          ADD     SP, #2
+    FA56:    D2 C5          ST      R1, [BP]
+    FA57:    92 C5          LD      R1, [BP]
+    FA58:    43 09 00 4D    CMP     R1, R1, #4d
+    FA5A:    4E 02          JNZ     fa5d
+    FA5B:    9F 0F FA 60    LJMP    0000fa60
+    FA5D:    62 41          NEG     R1, #1
+    FA5E:    9F 0F FA E7    LJMP    0000fae7
+    FA60:    93 05          LD      R1, BP
+    FA61:    05 0D 00 02    ADD     R2, BP, #2
+    FA63:    97 05          LD      R3, BP
+    FA64:    03 0D 00 02    ADD     R1, BP, #2
+    FA66:    95 05          LD      R2, BP
+    FA67:    07 0D 00 02    ADD     R3, BP, #2
+    FA69:    99 03          LD      R4, R3
+    FA6A:    94 C4          LD      R2, [R4]
+    FA6B:    07 0A 00 01    ADD     R3, R2, #1
+    FA6D:    95 01          LD      R2, R1
+    FA6E:    D6 C2          ST      R3, [R2]
+    FA6F:    93 05          LD      R1, BP
+    FA70:    05 0D 00 02    ADD     R2, BP, #2
+    FA72:    93 02          LD      R1, R2
+    FA73:    04 41          ADD     R2, #1
+    FA74:    97 02          LD      R3, R2
+    FA75:    92 C3          LD      R1, [R3]
+    FA76:    D2 C8          ST      R1, [SP--]
+    FA77:    93 05          LD      R1, BP
+    FA78:    05 0D 00 02    ADD     R2, BP, #2
+    FA7A:    99 02          LD      R4, R2
+    FA7B:    92 C4          LD      R1, [R4]
+    FA7C:    D2 C8          ST      R1, [SP--]
+    FA7D:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    FA7F:    00 42          ADD     SP, #2
+    FA80:    D2 C5          ST      R1, [BP]
+    FA81:    92 C5          LD      R1, [BP]
+    FA82:    43 09 00 55    CMP     R1, R1, #55
+    FA84:    4E 02          JNZ     fa87
+    FA85:    9F 0F FA 8A    LJMP    0000fa8a
+    FA87:    62 41          NEG     R1, #1
+    FA88:    9F 0F FA E7    LJMP    0000fae7
+    FA8A:    93 05          LD      R1, BP
+    FA8B:    05 0D 00 02    ADD     R2, BP, #2
+    FA8D:    97 05          LD      R3, BP
+    FA8E:    03 0D 00 02    ADD     R1, BP, #2
+    FA90:    95 05          LD      R2, BP
+    FA91:    07 0D 00 02    ADD     R3, BP, #2
+    FA93:    99 03          LD      R4, R3
+    FA94:    94 C4          LD      R2, [R4]
+    FA95:    07 0A 00 01    ADD     R3, R2, #1
+    FA97:    95 01          LD      R2, R1
+    FA98:    D6 C2          ST      R3, [R2]
+    FA99:    93 05          LD      R1, BP
+    FA9A:    05 0D 00 01    ADD     R2, BP, #1
+    FA9C:    92 46          LD      R1, #6
+    FA9D:    97 02          LD      R3, R2
+    FA9E:    D2 C3          ST      R1, [R3]
+    FA9F:    93 05          LD      R1, BP
+    FAA0:    05 0D 00 01    ADD     R2, BP, #1
+    FAA2:    99 02          LD      R4, R2
+    FAA3:    92 C4          LD      R1, [R4]
+    FAA4:    42 53          CMP     R1, #13
+    FAA5:    9E 02          JA      faa8
+    FAA6:    9F 0F FA AA    LJMP    0000faaa
+    FAA8:    9F 0F FA E4    LJMP    0000fae4
+    FAAA:    93 05          LD      R1, BP
+    FAAB:    05 0D 00 02    ADD     R2, BP, #2
+    FAAD:    93 02          LD      R1, R2
+    FAAE:    04 41          ADD     R2, #1
+    FAAF:    97 02          LD      R3, R2
+    FAB0:    92 C3          LD      R1, [R3]
+    FAB1:    D2 C8          ST      R1, [SP--]
+    FAB2:    93 05          LD      R1, BP
+    FAB3:    05 0D 00 02    ADD     R2, BP, #2
+    FAB5:    99 02          LD      R4, R2
+    FAB6:    92 C4          LD      R1, [R4]
+    FAB7:    D2 C8          ST      R1, [SP--]
+    FAB8:    F0 41 79 28    CALL    GET_FAR_WORD_TO_R1
+    FABA:    00 42          ADD     SP, #2
+    FABB:    D2 C5          ST      R1, [BP]
+    FABC:    92 C5          LD      R1, [BP]
+    FABD:    42 40          CMP     R1, #0
+    FABE:    4E 02          JNZ     fac1
+    FABF:    9F 0F FA C4    LJMP    0000fac4
+    FAC1:    62 41          NEG     R1, #1
+    FAC2:    9F 0F FA E7    LJMP    0000fae7
+    FAC4:    93 05          LD      R1, BP
+    FAC5:    05 0D 00 02    ADD     R2, BP, #2
+    FAC7:    97 05          LD      R3, BP
+    FAC8:    03 0D 00 02    ADD     R1, BP, #2
+    FACA:    95 05          LD      R2, BP
+    FACB:    07 0D 00 02    ADD     R3, BP, #2
+    FACD:    99 03          LD      R4, R3
+    FACE:    94 C4          LD      R2, [R4]
+    FACF:    07 0A 00 01    ADD     R3, R2, #1
+    FAD1:    95 01          LD      R2, R1
+    FAD2:    D6 C2          ST      R3, [R2]
+    FAD3:    93 05          LD      R1, BP
+    FAD4:    05 0D 00 01    ADD     R2, BP, #1
+    FAD6:    97 05          LD      R3, BP
+    FAD7:    03 0D 00 01    ADD     R1, BP, #1
+    FAD9:    95 05          LD      R2, BP
+    FADA:    07 0D 00 01    ADD     R3, BP, #1
+    FADC:    99 03          LD      R4, R3
+    FADD:    94 C4          LD      R2, [R4]
+    FADE:    07 0A 00 01    ADD     R3, R2, #1
+    FAE0:    95 01          LD      R2, R1
+    FAE1:    D6 C2          ST      R3, [R2]
+    FAE2:    9F 0F FA 9F    LJMP    0000fa9f
+    FAE4:    92 40          LD      R1, #0
+    FAE5:    9F 0F FA E7    LJMP    0000fae7
+    FAE7:    00 45          ADD     SP, #5
+    FAE8:    98 88          POP     BP-BP, [SP]
+    FAE9:    9A 90          RETF    
 
 
-___WDATA_0007:
+___WDATA_0008:
     FAEA:    DW      0044, FAEE, 0085, FB32, 8000, 8001, 8002, 8003
     FAF2:    DW      8004, 8005, 8006, 8007, 8008, 8009, 800A, 800B
     FAFA:    DW      800C, 800D, 800E, 800F, 8010, 8011, 8012, 8013
@@ -10438,70 +10633,70 @@
     FBB2:    DW      C080, C081, C082, C083, C084
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0014
+;        Function: ___PROC_0039
 
-___PROC_0014:
-    FBB7:    DA 88          PUSH BP-BP, [SP]
-    FBB8:    0B 08 00 01    ADD  BP, SP, #1
-    FBBA:    98 04          LD   R4, [BP+4]
-    FBBB:    4E 04          JNZ  AL_0024
-    FBBC:    93 09 FF FF    LD   R1, #ffff
-    FBBE:    98 88          POP  BP-BP, [SP]
-    FBBF:    9A 90          RETF 
-AL_0024:
-    FBC0:    F0 40 FB C4    CALL ___PROC_0015
-    FBC2:    98 88          POP  BP-BP, [SP]
-    FBC3:    9A 90          RETF 
+___PROC_0039:
+    FBB7:    DA 88          PUSH    BP-BP, [SP]
+    FBB8:    0B 08 00 01    ADD     BP, SP, #1
+    FBBA:    98 04          LD      R4, [BP+4]
+    FBBB:    4E 04          JNZ     AL_0034
+    FBBC:    93 09 FF FF    LD      R1, #ffff
+    FBBE:    98 88          POP     BP-BP, [SP]
+    FBBF:    9A 90          RETF    
+AL_0034:
+    FBC0:    F0 40 FB C4    CALL    ___PROC_0040
+    FBC2:    98 88          POP     BP-BP, [SP]
+    FBC3:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0015
+;        Function: ___PROC_0040
 
-___PROC_0015:
-    FBC4:    98 03          LD   R4, [BP+3]
-    FBC5:    4E 03          JNZ  AL_0026
-    FBC6:    94 40          LD   R2, #0
-AL_0025:
-    FBC7:    92 40          LD   R1, #0
-    FBC8:    9A 90          RETF 
-AL_0026:
-    FBC9:    94 03          LD   R2, [BP+3]
-    FBCA:    44 04          CMP  R2, [BP+4]
-    FBCB:    4E 03          JNZ  AL_0027
-    FBCC:    92 41          LD   R1, #1
-    FBCD:    94 40          LD   R2, #0
-    FBCE:    9A 90          RETF 
-AL_0027:
-    FBCF:    0E 49          JCC  AL_0025
-    FBD0:    92 03          LD   R1, [BP+3]
-    FBD1:    94 40          LD   R2, #0
-    FBD2:    96 50          LD   R3, #10
-    FBD3:    99 14 08 95    LD   R4, [0895]
-    FBD5:    B9 0C FF BF    AND  R4, R4, #ffbf
-    FBD7:    D9 1C 08 95    ST   R4, [0895]
-    FBD9:    BD 0E FF BF    AND  SR, SR, #ffbf
-    FBDB:    C3 09 80 00    TEST R1, #8000
-    FBDD:    5E 02          JZ   fbe0
-    FBDE:    AD 0E 00 40    OR   SR, SR, #40
-    FBE0:    93 41          LD   R1, R1 LSL 1
-    FBE1:    95 42          LD   R2, R2 LSL 1
-    FBE2:    0E 01          JCC  fbe4
-    FBE3:    A4 41          OR   R2, #1
-    FBE4:    99 14 08 95    LD   R4, [0895]
-    FBE6:    B9 0C 00 40    AND  R4, R4, #40
-    FBE8:    BD 0E FF BF    AND  SR, SR, #ffbf
-    FBEA:    AD 04          OR   SR, R4
-    FBEB:    0E 01          JCC  fbed
-    FBEC:    A2 41          OR   R1, #1
-    FBED:    24 04          SUB  R2, [BP+4]
-    FBEE:    0E 04          JCC  fbf3
-    FBEF:    A2 41          OR   R1, #1
-    FBF0:    26 41          SUB  R3, #1
-    FBF1:    4E 5F          JNZ  fbd3
-    FBF2:    9A 90          RETF 
-    FBF3:    04 04          ADD  R2, [BP+4]
-    FBF4:    EE 45          JMP  fbf0
-    FBF5:    D4 C1          ST   R2, [R1]
-    FBF6:    9A 90          RETF 
+___PROC_0040:
+    FBC4:    98 03          LD      R4, [BP+3]
+    FBC5:    4E 03          JNZ     AL_0036
+    FBC6:    94 40          LD      R2, #0
+AL_0035:
+    FBC7:    92 40          LD      R1, #0
+    FBC8:    9A 90          RETF    
+AL_0036:
+    FBC9:    94 03          LD      R2, [BP+3]
+    FBCA:    44 04          CMP     R2, [BP+4]
+    FBCB:    4E 03          JNZ     AL_0037
+    FBCC:    92 41          LD      R1, #1
+    FBCD:    94 40          LD      R2, #0
+    FBCE:    9A 90          RETF    
+AL_0037:
+    FBCF:    0E 49          JCC     AL_0035
+    FBD0:    92 03          LD      R1, [BP+3]
+    FBD1:    94 40          LD      R2, #0
+    FBD2:    96 50          LD      R3, #10
+    FBD3:    99 14 08 95    LD      R4, [0895]
+    FBD5:    B9 0C FF BF    AND     R4, R4, #ffbf
+    FBD7:    D9 1C 08 95    ST      R4, [0895]
+    FBD9:    BD 0E FF BF    AND     SR, SR, #ffbf
+    FBDB:    C3 09 80 00    TEST    R1, #8000
+    FBDD:    5E 02          JZ      fbe0
+    FBDE:    AD 0E 00 40    OR      SR, SR, #40
+    FBE0:    93 41          LD      R1, R1 LSL 1
+    FBE1:    95 42          LD      R2, R2 LSL 1
+    FBE2:    0E 01          JCC     fbe4
+    FBE3:    A4 41          OR      R2, #1
+    FBE4:    99 14 08 95    LD      R4, [0895]
+    FBE6:    B9 0C 00 40    AND     R4, R4, #40
+    FBE8:    BD 0E FF BF    AND     SR, SR, #ffbf
+    FBEA:    AD 04          OR      SR, R4
+    FBEB:    0E 01          JCC     fbed
+    FBEC:    A2 41          OR      R1, #1
+    FBED:    24 04          SUB     R2, [BP+4]
+    FBEE:    0E 04          JCC     fbf3
+    FBEF:    A2 41          OR      R1, #1
+    FBF0:    26 41          SUB     R3, #1
+    FBF1:    4E 5F          JNZ     fbd3
+    FBF2:    9A 90          RETF    
+    FBF3:    04 04          ADD     R2, [BP+4]
+    FBF4:    EE 45          JMP     fbf0
+    FBF5:    D4 C1          ST      R2, [R1]
+    FBF6:    9A 90          RETF    
 
 
 ___SKIP_0007:
@@ -10520,7 +10715,7 @@
     FFFE:    DW      IRQ6
     FFFF:    DW      IRQ7
 
-___WDATA_0008:
+___WDATA_0009:
     10000:    DW      8002, 0000, C081, 0046, 0000, 0000, 0000, C083
     10008:    DW      0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000
     10010:    DW      0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000
@@ -11615,14144 +11810,14149 @@
     12218:    DW      0043, 9888, 9A90
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0016
+;        Function: ___PROC_0041
 
-___PROC_0016:
-    1221B:    DA 88          PUSH BP-BP, [SP]
-    1221C:    20 57          SUB  SP, #17
-    1221D:    0B 08 00 01    ADD  BP, SP, #1
-    1221F:    03 0D 00 1A    ADD  R1, BP, #1a
-    12221:    D2 15          ST   R1, [BP+15]
-    12222:    94 15          LD   R2, [BP+15]
-    12223:    92 C2          LD   R1, [R2]
-    12224:    42 40          CMP  R1, #0
-    12225:    5E 02          JZ   12228
-    12226:    9F 0F 22 38    LJMP AL_0028
-    12228:    92 40          LD   R1, #0
-    12229:    D3 19 08 60    ST   R1, [0860]
-    1222B:    93 09 08 9A    LD   R1, #89a
-    1222D:    D2 C8          ST   R1, [SP--]
-    1222E:    93 09 08 99    LD   R1, #899
-    12230:    D2 C8          ST   R1, [SP--]
-    12231:    92 43          LD   R1, #3
-    12232:    D2 C8          ST   R1, [SP--]
-    12233:    F0 41 8F 58    CALL ___PROC_0049
-    12235:    00 43          ADD  SP, #3
-    12236:    9F 0F 22 3A    LJMP AL_0029
-AL_0028:
-    12238:    F0 41 8B 71    CALL ___PROC_0048
-AL_0029:
-    1223A:    93 05          LD   R1, BP
-    1223B:    05 0D 00 02    ADD  R2, BP, #2
-    1223D:    93 09 03 00    LD   R1, #300
-    1223F:    97 02          LD   R3, R2
-    12240:    D2 C3          ST   R1, [R3]
-    12241:    93 05          LD   R1, BP
-    12242:    05 0D 00 02    ADD  R2, BP, #2
-    12244:    93 02          LD   R1, R2
-    12245:    04 41          ADD  R2, #1
-    12246:    93 05          LD   R1, BP
-    12247:    09 0D 00 02    ADD  R4, BP, #2
-    12249:    97 04          LD   R3, R4
-    1224A:    03 0C 00 02    ADD  R1, R4, #2
-    1224C:    D2 16          ST   R1, [BP+16]
-    1224D:    97 02          LD   R3, R2
-    1224E:    98 16          LD   R4, [BP+16]
-    1224F:    92 41          LD   R1, #1
-    12250:    D2 C3          ST   R1, [R3]
-    12251:    93 09 21 B3    LD   R1, #21b3
-    12253:    D2 C4          ST   R1, [R4]
-    12254:    93 05          LD   R1, BP
-    12255:    05 0D 00 02    ADD  R2, BP, #2
-    12257:    93 02          LD   R1, R2
-    12258:    04 43          ADD  R2, #3
-    12259:    93 05          LD   R1, BP
-    1225A:    09 0D 00 02    ADD  R4, BP, #2
-    1225C:    97 04          LD   R3, R4
-    1225D:    03 0C 00 04    ADD  R1, R4, #4
-    1225F:    D2 16          ST   R1, [BP+16]
-    12260:    97 02          LD   R3, R2
-    12261:    98 16          LD   R4, [BP+16]
-    12262:    92 41          LD   R1, #1
-    12263:    D2 C3          ST   R1, [R3]
-    12264:    93 09 23 0A    LD   R1, #230a
-    12266:    D2 C4          ST   R1, [R4]
-    12267:    93 05          LD   R1, BP
-    12268:    05 0D 00 02    ADD  R2, BP, #2
-    1226A:    93 02          LD   R1, R2
-    1226B:    04 45          ADD  R2, #5
-    1226C:    92 40          LD   R1, #0
-    1226D:    97 02          LD   R3, R2
-    1226E:    D2 C3          ST   R1, [R3]
-    1226F:    93 05          LD   R1, BP
-    12270:    05 0D 00 02    ADD  R2, BP, #2
-    12272:    93 02          LD   R1, R2
-    12273:    04 46          ADD  R2, #6
-    12274:    92 40          LD   R1, #0
-    12275:    99 02          LD   R4, R2
-    12276:    D2 C4          ST   R1, [R4]
-    12277:    93 05          LD   R1, BP
-    12278:    05 0D 00 02    ADD  R2, BP, #2
-    1227A:    93 02          LD   R1, R2
-    1227B:    04 47          ADD  R2, #7
-    1227C:    92 42          LD   R1, #2
-    1227D:    97 02          LD   R3, R2
-    1227E:    D2 C3          ST   R1, [R3]
-    1227F:    93 05          LD   R1, BP
-    12280:    07 0D 00 02    ADD  R3, BP, #2
-    12282:    95 03          LD   R2, R3
-    12283:    03 0B 00 08    ADD  R1, R3, #8
-    12285:    05 0D 00 02    ADD  R2, BP, #2
-    12287:    07 0A 00 0C    ADD  R3, R2, #c
-    12289:    99 01          LD   R4, R1
-    1228A:    D6 C4          ST   R3, [R4]
-    1228B:    93 05          LD   R1, BP
-    1228C:    05 0D 00 02    ADD  R2, BP, #2
-    1228E:    93 02          LD   R1, R2
-    1228F:    04 49          ADD  R2, #9
-    12290:    92 40          LD   R1, #0
-    12291:    97 02          LD   R3, R2
-    12292:    D2 C3          ST   R1, [R3]
-    12293:    93 05          LD   R1, BP
-    12294:    07 0D 00 02    ADD  R3, BP, #2
-    12296:    95 03          LD   R2, R3
-    12297:    03 0B 00 0A    ADD  R1, R3, #a
-    12299:    05 0D 00 02    ADD  R2, BP, #2
-    1229B:    07 0A 00 0E    ADD  R3, R2, #e
-    1229D:    99 01          LD   R4, R1
-    1229E:    D6 C4          ST   R3, [R4]
-    1229F:    93 05          LD   R1, BP
-    122A0:    05 0D 00 02    ADD  R2, BP, #2
-    122A2:    93 02          LD   R1, R2
-    122A3:    04 4B          ADD  R2, #b
-    122A4:    92 40          LD   R1, #0
-    122A5:    97 02          LD   R3, R2
-    122A6:    D2 C3          ST   R1, [R3]
-    122A7:    93 05          LD   R1, BP
-    122A8:    05 0D 00 02    ADD  R2, BP, #2
-    122AA:    93 02          LD   R1, R2
-    122AB:    04 4C          ADD  R2, #c
-    122AC:    92 41          LD   R1, #1
-    122AD:    99 02          LD   R4, R2
-    122AE:    D2 C4          ST   R1, [R4]
-    122AF:    93 05          LD   R1, BP
-    122B0:    05 0D 00 02    ADD  R2, BP, #2
-    122B2:    93 02          LD   R1, R2
-    122B3:    04 4D          ADD  R2, #d
-    122B4:    92 55          LD   R1, #15
-    122B5:    97 02          LD   R3, R2
-    122B6:    D2 C3          ST   R1, [R3]
-    122B7:    93 05          LD   R1, BP
-    122B8:    05 0D 00 02    ADD  R2, BP, #2
-    122BA:    93 02          LD   R1, R2
-    122BB:    04 4E          ADD  R2, #e
-    122BC:    93 05          LD   R1, BP
-    122BD:    09 0D 00 02    ADD  R4, BP, #2
-    122BF:    97 04          LD   R3, R4
-    122C0:    03 0C 00 0F    ADD  R1, R4, #f
-    122C2:    D2 16          ST   R1, [BP+16]
-    122C3:    97 02          LD   R3, R2
-    122C4:    98 16          LD   R4, [BP+16]
-    122C5:    92 40          LD   R1, #0
-    122C6:    D2 C3          ST   R1, [R3]
-    122C7:    93 09 AC D3    LD   R1, #acd3
-    122C9:    D2 C4          ST   R1, [R4]
-    122CA:    93 05          LD   R1, BP
-    122CB:    05 0D 00 02    ADD  R2, BP, #2
-    122CD:    93 02          LD   R1, R2
-    122CE:    04 50          ADD  R2, #10
-    122CF:    93 05          LD   R1, BP
-    122D0:    09 0D 00 02    ADD  R4, BP, #2
-    122D2:    97 04          LD   R3, R4
-    122D3:    03 0C 00 11    ADD  R1, R4, #11
-    122D5:    D2 16          ST   R1, [BP+16]
-    122D6:    97 02          LD   R3, R2
-    122D7:    98 16          LD   R4, [BP+16]
-    122D8:    92 40          LD   R1, #0
-    122D9:    D2 C3          ST   R1, [R3]
-    122DA:    93 09 A2 39    LD   R1, #a239
-    122DC:    D2 C4          ST   R1, [R4]
-    122DD:    03 0D 00 02    ADD  R1, BP, #2
-    122DF:    D2 C5          ST   R1, [BP]
-    122E0:    93 05          LD   R1, BP
-    122E1:    05 0D 00 01    ADD  R2, BP, #1
-    122E3:    92 40          LD   R1, #0
-    122E4:    97 02          LD   R3, R2
-    122E5:    D2 C3          ST   R1, [R3]
-    122E6:    92 D5          LD   R1, [BP++]
-    122E7:    94 CD          LD   R2, [BP--]
-    122E8:    D4 90          PUSH R1-R2, [SP]
-    122E9:    F0 41 60 9F    CALL ___PROC_0024
-    122EB:    00 42          ADD  SP, #2
-    122EC:    95 05          LD   R2, BP
-    122ED:    07 0D 00 14    ADD  R3, BP, #14
-    122EF:    99 03          LD   R4, R3
-    122F0:    D2 C4          ST   R1, [R4]
-    122F1:    93 05          LD   R1, BP
-    122F2:    05 0D 00 14    ADD  R2, BP, #14
-    122F4:    97 02          LD   R3, R2
-    122F5:    92 C3          LD   R1, [R3]
-    122F6:    42 40          CMP  R1, #0
-    122F7:    5E 02          JZ   122fa
-    122F8:    9F 0F 23 04    LJMP ret_neg1_1221b
-    122FA:    93 05          LD   R1, BP
-    122FB:    05 0D 00 14    ADD  R2, BP, #14
-    122FD:    99 02          LD   R4, R2
-    122FE:    96 C4          LD   R3, [R4]
-    122FF:    93 03          LD   R1, R3
-    12300:    9F 0F 23 07    LJMP ret_1221b
-    12302:    9F 0F 23 07    LJMP ret_1221b
+___PROC_0041:
+    1221B:    DA 88          PUSH    BP-BP, [SP]
+    1221C:    20 57          SUB     SP, #17
+    1221D:    0B 08 00 01    ADD     BP, SP, #1
+    1221F:    03 0D 00 1A    ADD     R1, BP, #1a
+    12221:    D2 15          ST      R1, [BP+15]
+    12222:    94 15          LD      R2, [BP+15]
+    12223:    92 C2          LD      R1, [R2]
+    12224:    42 40          CMP     R1, #0
+    12225:    5E 02          JZ      12228
+    12226:    9F 0F 22 38    LJMP    AL_0038
+    12228:    92 40          LD      R1, #0
+    12229:    D3 19 08 60    ST      R1, [0860]
+    1222B:    93 09 08 9A    LD      R1, #89a
+    1222D:    D2 C8          ST      R1, [SP--]
+    1222E:    93 09 08 99    LD      R1, #899
+    12230:    D2 C8          ST      R1, [SP--]
+    12231:    92 43          LD      R1, #3
+    12232:    D2 C8          ST      R1, [SP--]
+    12233:    F0 41 8F 58    CALL    ___PROC_0075
+    12235:    00 43          ADD     SP, #3
+    12236:    9F 0F 22 3A    LJMP    AL_0039
+AL_0038:
+    12238:    F0 41 8B 71    CALL    ___PROC_0074
+AL_0039:
+    1223A:    93 05          LD      R1, BP
+    1223B:    05 0D 00 02    ADD     R2, BP, #2
+    1223D:    93 09 03 00    LD      R1, #300
+    1223F:    97 02          LD      R3, R2
+    12240:    D2 C3          ST      R1, [R3]
+    12241:    93 05          LD      R1, BP
+    12242:    05 0D 00 02    ADD     R2, BP, #2
+    12244:    93 02          LD      R1, R2
+    12245:    04 41          ADD     R2, #1
+    12246:    93 05          LD      R1, BP
+    12247:    09 0D 00 02    ADD     R4, BP, #2
+    12249:    97 04          LD      R3, R4
+    1224A:    03 0C 00 02    ADD     R1, R4, #2
+    1224C:    D2 16          ST      R1, [BP+16]
+    1224D:    97 02          LD      R3, R2
+    1224E:    98 16          LD      R4, [BP+16]
+    1224F:    92 41          LD      R1, #1
+    12250:    D2 C3          ST      R1, [R3]
+    12251:    93 09 21 B3    LD      R1, #21b3
+    12253:    D2 C4          ST      R1, [R4]
+    12254:    93 05          LD      R1, BP
+    12255:    05 0D 00 02    ADD     R2, BP, #2
+    12257:    93 02          LD      R1, R2
+    12258:    04 43          ADD     R2, #3
+    12259:    93 05          LD      R1, BP
+    1225A:    09 0D 00 02    ADD     R4, BP, #2
+    1225C:    97 04          LD      R3, R4
+    1225D:    03 0C 00 04    ADD     R1, R4, #4
+    1225F:    D2 16          ST      R1, [BP+16]
+    12260:    97 02          LD      R3, R2
+    12261:    98 16          LD      R4, [BP+16]
+    12262:    92 41          LD      R1, #1
+    12263:    D2 C3          ST      R1, [R3]
+    12264:    93 09 23 0A    LD      R1, #230a
+    12266:    D2 C4          ST      R1, [R4]
+    12267:    93 05          LD      R1, BP
+    12268:    05 0D 00 02    ADD     R2, BP, #2
+    1226A:    93 02          LD      R1, R2
+    1226B:    04 45          ADD     R2, #5
+    1226C:    92 40          LD      R1, #0
+    1226D:    97 02          LD      R3, R2
+    1226E:    D2 C3          ST      R1, [R3]
+    1226F:    93 05          LD      R1, BP
+    12270:    05 0D 00 02    ADD     R2, BP, #2
+    12272:    93 02          LD      R1, R2
+    12273:    04 46          ADD     R2, #6
+    12274:    92 40          LD      R1, #0
+    12275:    99 02          LD      R4, R2
+    12276:    D2 C4          ST      R1, [R4]
+    12277:    93 05          LD      R1, BP
+    12278:    05 0D 00 02    ADD     R2, BP, #2
+    1227A:    93 02          LD      R1, R2
+    1227B:    04 47          ADD     R2, #7
+    1227C:    92 42          LD      R1, #2
+    1227D:    97 02          LD      R3, R2
+    1227E:    D2 C3          ST      R1, [R3]
+    1227F:    93 05          LD      R1, BP
+    12280:    07 0D 00 02    ADD     R3, BP, #2
+    12282:    95 03          LD      R2, R3
+    12283:    03 0B 00 08    ADD     R1, R3, #8
+    12285:    05 0D 00 02    ADD     R2, BP, #2
+    12287:    07 0A 00 0C    ADD     R3, R2, #c
+    12289:    99 01          LD      R4, R1
+    1228A:    D6 C4          ST      R3, [R4]
+    1228B:    93 05          LD      R1, BP
+    1228C:    05 0D 00 02    ADD     R2, BP, #2
+    1228E:    93 02          LD      R1, R2
+    1228F:    04 49          ADD     R2, #9
+    12290:    92 40          LD      R1, #0
+    12291:    97 02          LD      R3, R2
+    12292:    D2 C3          ST      R1, [R3]
+    12293:    93 05          LD      R1, BP
+    12294:    07 0D 00 02    ADD     R3, BP, #2
+    12296:    95 03          LD      R2, R3
+    12297:    03 0B 00 0A    ADD     R1, R3, #a
+    12299:    05 0D 00 02    ADD     R2, BP, #2
+    1229B:    07 0A 00 0E    ADD     R3, R2, #e
+    1229D:    99 01          LD      R4, R1
+    1229E:    D6 C4          ST      R3, [R4]
+    1229F:    93 05          LD      R1, BP
+    122A0:    05 0D 00 02    ADD     R2, BP, #2
+    122A2:    93 02          LD      R1, R2
+    122A3:    04 4B          ADD     R2, #b
+    122A4:    92 40          LD      R1, #0
+    122A5:    97 02          LD      R3, R2
+    122A6:    D2 C3          ST      R1, [R3]
+    122A7:    93 05          LD      R1, BP
+    122A8:    05 0D 00 02    ADD     R2, BP, #2
+    122AA:    93 02          LD      R1, R2
+    122AB:    04 4C          ADD     R2, #c
+    122AC:    92 41          LD      R1, #1
+    122AD:    99 02          LD      R4, R2
+    122AE:    D2 C4          ST      R1, [R4]
+    122AF:    93 05          LD      R1, BP
+    122B0:    05 0D 00 02    ADD     R2, BP, #2
+    122B2:    93 02          LD      R1, R2
+    122B3:    04 4D          ADD     R2, #d
+    122B4:    92 55          LD      R1, #15
+    122B5:    97 02          LD      R3, R2
+    122B6:    D2 C3          ST      R1, [R3]
+    122B7:    93 05          LD      R1, BP
+    122B8:    05 0D 00 02    ADD     R2, BP, #2
+    122BA:    93 02          LD      R1, R2
+    122BB:    04 4E          ADD     R2, #e
+    122BC:    93 05          LD      R1, BP
+    122BD:    09 0D 00 02    ADD     R4, BP, #2
+    122BF:    97 04          LD      R3, R4
+    122C0:    03 0C 00 0F    ADD     R1, R4, #f
+    122C2:    D2 16          ST      R1, [BP+16]
+    122C3:    97 02          LD      R3, R2
+    122C4:    98 16          LD      R4, [BP+16]
+    122C5:    92 40          LD      R1, #0
+    122C6:    D2 C3          ST      R1, [R3]
+    122C7:    93 09 AC D3    LD      R1, #acd3
+    122C9:    D2 C4          ST      R1, [R4]
+    122CA:    93 05          LD      R1, BP
+    122CB:    05 0D 00 02    ADD     R2, BP, #2
+    122CD:    93 02          LD      R1, R2
+    122CE:    04 50          ADD     R2, #10
+    122CF:    93 05          LD      R1, BP
+    122D0:    09 0D 00 02    ADD     R4, BP, #2
+    122D2:    97 04          LD      R3, R4
+    122D3:    03 0C 00 11    ADD     R1, R4, #11
+    122D5:    D2 16          ST      R1, [BP+16]
+    122D6:    97 02          LD      R3, R2
+    122D7:    98 16          LD      R4, [BP+16]
+    122D8:    92 40          LD      R1, #0
+    122D9:    D2 C3          ST      R1, [R3]
+    122DA:    93 09 A2 39    LD      R1, #a239
+    122DC:    D2 C4          ST      R1, [R4]
+    122DD:    03 0D 00 02    ADD     R1, BP, #2
+    122DF:    D2 C5          ST      R1, [BP]
+    122E0:    93 05          LD      R1, BP
+    122E1:    05 0D 00 01    ADD     R2, BP, #1
+    122E3:    92 40          LD      R1, #0
+    122E4:    97 02          LD      R3, R2
+    122E5:    D2 C3          ST      R1, [R3]
+    122E6:    92 D5          LD      R1, [BP++]
+    122E7:    94 CD          LD      R2, [BP--]
+    122E8:    D4 90          PUSH    R1-R2, [SP]
+    122E9:    F0 41 60 9F    CALL    ___PROC_0050
+    122EB:    00 42          ADD     SP, #2
+    122EC:    95 05          LD      R2, BP
+    122ED:    07 0D 00 14    ADD     R3, BP, #14
+    122EF:    99 03          LD      R4, R3
+    122F0:    D2 C4          ST      R1, [R4]
+    122F1:    93 05          LD      R1, BP
+    122F2:    05 0D 00 14    ADD     R2, BP, #14
+    122F4:    97 02          LD      R3, R2
+    122F5:    92 C3          LD      R1, [R3]
+    122F6:    42 40          CMP     R1, #0
+    122F7:    5E 02          JZ      122fa
+    122F8:    9F 0F 23 04    LJMP    ret_neg1_1221b
+    122FA:    93 05          LD      R1, BP
+    122FB:    05 0D 00 14    ADD     R2, BP, #14
+    122FD:    99 02          LD      R4, R2
+    122FE:    96 C4          LD      R3, [R4]
+    122FF:    93 03          LD      R1, R3
+    12300:    9F 0F 23 07    LJMP    ret_1221b
+    12302:    9F 0F 23 07    LJMP    ret_1221b
 ret_neg1_1221b:
-    12304:    62 41          NEG  R1, #1
-    12305:    9F 0F 23 07    LJMP ret_1221b
+    12304:    62 41          NEG     R1, #1
+    12305:    9F 0F 23 07    LJMP    ret_1221b
 ret_1221b:
-    12307:    00 57          ADD  SP, #17
-    12308:    98 88          POP  BP-BP, [SP]
-    12309:    9A 90          RETF 
+    12307:    00 57          ADD     SP, #17
+    12308:    98 88          POP     BP-BP, [SP]
+    12309:    9A 90          RETF    
 
 ;----------------------------------------------------------------
-;        Function: ___PROC_0017
+;        Function: ___PROC_0042
 
-___PROC_0017:
-    1230A:    DA 88          PUSH BP-BP, [SP]
-    1230B:    20 41          SUB  SP, #1
-    1230C:    0B 08 00 01    ADD  BP, SP, #1
-    1230E:    03 0D 00 04    ADD  R1, BP, #4
-    12310:    D2 C5          ST   R1, [BP]
-    12311:    92 4F          LD   R1, #f
-    12312:    D2 C8          ST   R1, [SP--]
-    12313:    F0 41 29 8B    CALL 0001298b
-    12315:    00 41          ADD  SP, #1
-    12316:    92 4F          LD   R1, #f
-    12317:    D2 C8          ST   R1, [SP--]
-    12318:    F0 41 33 4A    CALL 0001334a
-    1231A:    00 41          ADD  SP, #1
-    1231B:    93 11 08 75    LD   R1, [0875]
-    1231D:    D2 C8          ST   R1, [SP--]
-    1231E:    F0 41 2D CA    CALL 00012dca
-    12320:    00 41          ADD  SP, #1
-    12321:    00 41          ADD  SP, #1
-    12322:    98 88          POP  BP-BP, [SP]
-    12323:    9A 90          RETF 
-    12324:    DA 88          PUSH BP-BP, [SP]
-    12325:    20 48          SUB  SP, #8
-    12326:    0B 08 00 01    ADD  BP, SP, #1
-    12328:    03 0D 00 0B    ADD  R1, BP, #b
-    1232A:    D2 04          ST   R1, [BP+4]
-    1232B:    93 11 08 60    LD   R1, [0860]
-    1232D:    42 40          CMP  R1, #0
-    1232E:    5E 02          JZ   12331
-    1232F:    9F 0F 23 3C    LJMP 0001233c
-    12331:    DA C8          ST   BP, [SP--]
-    12332:    03 0D 00 01    ADD  R1, BP, #1
-    12334:    D2 C8          ST   R1, [SP--]
-    12335:    92 44          LD   R1, #4
-    12336:    D2 C8          ST   R1, [SP--]
-    12337:    F0 41 8F 58    CALL ___PROC_0049
-    12339:    00 43          ADD  SP, #3
-    1233A:    9F 0F 23 45    LJMP 00012345
-    1233C:    95 05          LD   R2, BP
-    1233D:    07 0D 00 01    ADD  R3, BP, #1
-    1233F:    95 03          LD   R2, R3
-    12340:    92 41          LD   R1, #1
-    12341:    D2 C2          ST   R1, [R2]
-    12342:    93 09 9F BD    LD   R1, #9fbd
-    12344:    D2 C5          ST   R1, [BP]
-    12345:    95 05          LD   R2, BP
-    12346:    07 0D 00 01    ADD  R3, BP, #1
-    12348:    99 03          LD   R4, R3
-    12349:    92 C4          LD   R1, [R4]
-    1234A:    93 59          LD   R1, R1 LSL 4
-    1234B:    93 59          LD   R1, R1 LSL 4
-    1234C:    93 49          LD   R1, R1 LSL 2
-    1234D:    BD 0E 03 FF    AND  SR, SR, #3ff
-    1234F:    AD 01          OR   SR, R1
-    12350:    94 04          LD   R2, [BP+4]
-    12351:    92 C2          LD   R1, [R2]
-    12352:    95 01          LD   R2, R1
-    12353:    93 42          LD   R1, R2 LSL 1
-    12354:    96 C5          LD   R3, [BP]
-    12355:    95 03          LD   R2, R3
-    12356:    05 01          ADD  R2, R1
-    12357:    D4 C5          ST   R2, [BP]
-    12358:    95 05          LD   R2, BP
-    12359:    07 0D 00 02    ADD  R3, BP, #2
-    1235B:    99 03          LD   R4, R3
-    1235C:    92 C5          LD   R1, [BP]
-    1235D:    92 E1          LD   R1, D:[R1]
-    1235E:    D2 C4          ST   R1, [R4]
-    1235F:    92 C5          LD   R1, [BP]
-    12360:    05 09 00 01    ADD  R2, R1, #1
-    12362:    D4 C5          ST   R2, [BP]
-    12363:    95 05          LD   R2, BP
-    12364:    07 0D 00 03    ADD  R3, BP, #3
-    12366:    95 03          LD   R2, R3
-    12367:    92 C5          LD   R1, [BP]
-    12368:    92 E1          LD   R1, D:[R1]
-    12369:    D2 C2          ST   R1, [R2]
-    1236A:    95 05          LD   R2, BP
-    1236B:    07 0D 00 03    ADD  R3, BP, #3
-    1236D:    99 03          LD   R4, R3
-    1236E:    92 C4          LD   R1, [R4]
-    1236F:    93 59          LD   R1, R1 LSL 4
-    12370:    93 59          LD   R1, R1 LSL 4
-    12371:    93 49          LD   R1, R1 LSL 2
-    12372:    BD 0E 03 FF    AND  SR, SR, #3ff
-    12374:    AD 01          OR   SR, R1
-    12375:    95 05          LD   R2, BP
-    12376:    03 0D 00 02    ADD  R1, BP, #2
-    12378:    97 05          LD   R3, BP
-    12379:    05 0D 00 02    ADD  R2, BP, #2
-    1237B:    96 04          LD   R3, [BP+4]
-    1237C:    96 04          LD   R3, [BP+4]
-    1237D:    09 0B 00 01    ADD  R4, R3, #1
-    1237F:    97 04          LD   R3, R4
-    12380:    96 C3          LD   R3, [R3]
-    12381:    D6 05          ST   R3, [BP+5]
-    12382:    98 05          LD   R4, [BP+5]
-    12383:    B7 0C 3F FF    AND  R3, R4, #3fff
-    12385:    99 03          LD   R4, R3
-    12386:    97 44          LD   R3, R4 LSL 1
-    12387:    99 02          LD   R4, R2
-    12388:    98 C4          LD   R4, [R4]
-    12389:    D8 06          ST   R4, [BP+6]
-    1238A:    94 06          LD   R2, [BP+6]
-    1238B:    05 03          ADD  R2, R3
-    1238C:    97 01          LD   R3, R1
-    1238D:    D4 C3          ST   R2, [R3]
-    1238E:    93 05          LD   R1, BP
-    1238F:    05 0D 00 02    ADD  R2, BP, #2
-    12391:    92 04          LD   R1, [BP+4]
-    12392:    92 04          LD   R1, [BP+4]
-    12393:    09 09 00 03    ADD  R4, R1, #3
-    12395:    97 04          LD   R3, R4
-    12396:    96 C3          LD   R3, [R3]
-    12397:    D6 07          ST   R3, [BP+7]
-    12398:    99 02          LD   R4, R2
-    12399:    96 07          LD   R3, [BP+7]
-    1239A:    92 C4          LD   R1, [R4]
-    1239B:    92 E1          LD   R1, D:[R1]
-    1239C:    D2 C3          ST   R1, [R3]
-    1239D:    95 05          LD   R2, BP
-    1239E:    03 0D 00 02    ADD  R1, BP, #2
-    123A0:    95 05          LD   R2, BP
-    123A1:    07 0D 00 02    ADD  R3, BP, #2
-    123A3:    99 03          LD   R4, R3
-    123A4:    94 C4          LD   R2, [R4]
-    123A5:    07 0A 00 01    ADD  R3, R2, #1
-    123A7:    95 01          LD   R2, R1
-    123A8:    D6 C2          ST   R3, [R2]
-    123A9:    93 05          LD   R1, BP
-    123AA:    05 0D 00 02    ADD  R2, BP, #2
-    123AC:    92 04          LD   R1, [BP+4]
-    123AD:    96 04          LD   R3, [BP+4]
-    123AE:    09 0B 00 02    ADD  R4, R3, #2
-    123B0:    93 04          LD   R1, R4
-    123B1:    92 C1          LD   R1, [R1]
-    123B2:    D2 07          ST   R1, [BP+7]
-    123B3:    97 02          LD   R3, R2
-    123B4:    98 07          LD   R4, [BP+7]
-    123B5:    92 C3          LD   R1, [R3]
-    123B6:    92 E1          LD   R1, D:[R1]
-    123B7:    D2 C4          ST   R1, [R4]
-    123B8:    00 48          ADD  SP, #8
-    123B9:    98 88          POP  BP-BP, [SP]
-    123BA:    9A 90          RETF 
-    123BB:    DA 88          PUSH BP-BP, [SP]
-    123BC:    20 45          SUB  SP, #5
-    123BD:    0B 08 00 01    ADD  BP, SP, #1
-    123BF:    03 0D 00 08    ADD  R1, BP, #8
-    123C1:    D2 03          ST   R1, [BP+3]
-    123C2:    92 03          LD   R1, [BP+3]
-    123C3:    94 03          LD   R2, [BP+3]
-    123C4:    04 41          ADD  R2, #1
-    123C5:    D4 04          ST   R2, [BP+4]
-    123C6:    92 40          LD   R1, #0
-    123C7:    D2 C8          ST   R1, [SP--]
-    123C8:    92 45          LD   R1, #5
-    123C9:    D2 C8          ST   R1, [SP--]
-    123CA:    92 03          LD   R1, [BP+3]
-    123CB:    96 03          LD   R3, [BP+3]
-    123CC:    05 0B 00 01    ADD  R2, R3, #1
-    123CE:    97 02          LD   R3, R2
-    123CF:    92 C3          LD   R1, [R3]
-    123D0:    D2 C8          ST   R1, [SP--]
-    123D1:    F0 41 2D 36    CALL 00012d36
-    123D3:    00 43          ADD  SP, #3
-    123D4:    94 04          LD   R2, [BP+4]
-    123D5:    D2 C2          ST   R1, [R2]
-    123D6:    92 03          LD   R1, [BP+3]
-    123D7:    96 03          LD   R3, [BP+3]
-    123D8:    05 0B 00 01    ADD  R2, R3, #1
-    123DA:    97 02          LD   R3, R2
-    123DB:    92 C3          LD   R1, [R3]
-    123DC:    D2 C8          ST   R1, [SP--]
-    123DD:    F0 40 A1 0E    CALL 0000a10e
-    123DF:    00 41          ADD  SP, #1
-    123E0:    94 03          LD   R2, [BP+3]
-    123E1:    92 C2          LD   R1, [R2]
-    123E2:    43 09 3F FF    CMP  R1, R1, #3fff
-    123E4:    8E 02          XOR  PC, [BP+2]
-    123E5:    9F 0F 23 F5    LJMP 000123f5
-    123E7:    03 0D 00 01    ADD  R1, BP, #1
-    123E9:    D2 C8          ST   R1, [SP--]
-    123EA:    03 0D 00 02    ADD  R1, BP, #2
-    123EC:    D2 C8          ST   R1, [SP--]
-    123ED:    96 03          LD   R3, [BP+3]
-    123EE:    92 C3          LD   R1, [R3]
-    123EF:    D2 C8          ST   R1, [SP--]
-    123F0:    F0 41 8E C0    CALL 00018ec0
-    123F2:    00 43          ADD  SP, #3
-    123F3:    9F 0F 24 03    LJMP 00012403
-    123F5:    03 0D 00 01    ADD  R1, BP, #1
-    123F7:    D2 C8          ST   R1, [SP--]
-    123F8:    03 0D 00 02    ADD  R1, BP, #2
-    123FA:    D2 C8          ST   R1, [SP--]
-    123FB:    94 03          LD   R2, [BP+3]
-    123FC:    92 C2          LD   R1, [R2]
-    123FD:    D2 C8          ST   R1, [SP--]
-    123FE:    92 41          LD   R1, #1
-    123FF:    D2 C8          ST   R1, [SP--]
-    12400:    F0 41 23 24    CALL 00012324
-    12402:    00 44          ADD  SP, #4
-    12403:    93 09 1F 40    LD   R1, #1f40
-    12405:    D2 C8          ST   R1, [SP--]
-    12406:    92 40          LD   R1, #0
-    12407:    D2 C8          ST   R1, [SP--]
-    12408:    92 43          LD   R1, #3
-    12409:    D2 C8          ST   R1, [SP--]
-    1240A:    92 43          LD   R1, #3
-    1240B:    D2 C8          ST   R1, [SP--]
-    1240C:    93 05          LD   R1, BP
-    1240D:    05 0D 00 01    ADD  R2, BP, #1
-    1240F:    97 02          LD   R3, R2
-    12410:    92 C3          LD   R1, [R3]
-    12411:    D2 C8          ST   R1, [SP--]
-    12412:    93 05          LD   R1, BP
-    12413:    05 0D 00 02    ADD  R2, BP, #2
-    12415:    97 02          LD   R3, R2
-    12416:    92 C3          LD   R1, [R3]
-    12417:    D2 C8          ST   R1, [SP--]
-    12418:    F0 41 8F 1D    CALL 00018f1d
-    1241A:    00 46          ADD  SP, #6
-    1241B:    94 03          LD   R2, [BP+3]
-    1241C:    92 C2          LD   R1, [R2]
-    1241D:    D3 19 08 61    ST   R1, [0861]
-    1241F:    92 03          LD   R1, [BP+3]
-    12420:    96 03          LD   R3, [BP+3]
-    12421:    05 0B 00 02    ADD  R2, R3, #2
-    12423:    97 02          LD   R3, R2
-    12424:    92 C3          LD   R1, [R3]
-    12425:    D3 19 08 65    ST   R1, [0865]
-    12427:    92 40          LD   R1, #0
-    12428:    D3 19 08 69    ST   R1, [0869]
-    1242A:    92 40          LD   R1, #0
-    1242B:    D2 C5          ST   R1, [BP]
-    1242C:    92 03          LD   R1, [BP+3]
-    1242D:    94 C1          LD   R2, [R1]
-    1242E:    93 5A          LD   R1, R2 LSL 4
-    1242F:    94 C5          LD   R2, [BP]
-    12430:    A5 19 08 6D    OR   R2, [086d]
-    12432:    92 40          LD   R1, #0
-    12433:    D3 19 08 71    ST   R1, [0871]
-    12435:    00 45          ADD  SP, #5
-    12436:    98 88          POP  BP-BP, [SP]
-    12437:    9A 90          RETF 
-    12438:    DA 88          PUSH BP-BP, [SP]
-    12439:    20 42          SUB  SP, #2
-    1243A:    0B 08 00 01    ADD  BP, SP, #1
-    1243C:    03 0D 00 05    ADD  R1, BP, #5
-    1243E:    D2 01          ST   R1, [BP+1]
-    1243F:    92 01          LD   R1, [BP+1]
-    12440:    96 01          LD   R3, [BP+1]
-    12441:    05 0B 00 02    ADD  R2, R3, #2
-    12443:    93 09 08 69    LD   R1, #869
-    12445:    99 02          LD   R4, R2
-    12446:    94 C4          LD   R2, [R4]
-    12447:    03 02          ADD  R1, R2
-    12448:    97 01          LD   R3, R1
-    12449:    94 C3          LD   R2, [R3]
-    1244A:    D4 C5          ST   R2, [BP]
-    1244B:    92 01          LD   R1, [BP+1]
-    1244C:    98 01          LD   R4, [BP+1]
-    1244D:    05 0C 00 02    ADD  R2, R4, #2
-    1244F:    93 09 08 6D    LD   R1, #86d
-    12451:    97 02          LD   R3, R2
-    12452:    94 C3          LD   R2, [R3]
-    12453:    03 02          ADD  R1, R2
-    12454:    99 01          LD   R4, R1
-    12455:    94 C4          LD   R2, [R4]
-    12456:    D4 C8          ST   R2, [SP--]
-    12457:    F0 41 29 8B    CALL 0001298b
-    12459:    00 41          ADD  SP, #1
-    1245A:    92 01          LD   R1, [BP+1]
-    1245B:    92 01          LD   R1, [BP+1]
-    1245C:    05 09 00 02    ADD  R2, R1, #2
-    1245E:    93 09 08 6D    LD   R1, #86d
-    12460:    97 02          LD   R3, R2
-    12461:    94 C3          LD   R2, [R3]
-    12462:    03 02          ADD  R1, R2
-    12463:    99 01          LD   R4, R1
-    12464:    94 C4          LD   R2, [R4]
-    12465:    D4 C8          ST   R2, [SP--]
-    12466:    F0 41 33 4A    CALL 0001334a
-    12468:    00 41          ADD  SP, #1
-    12469:    92 01          LD   R1, [BP+1]
-    1246A:    92 01          LD   R1, [BP+1]
-    1246B:    05 09 00 02    ADD  R2, R1, #2
-    1246D:    93 09 08 61    LD   R1, #861
-    1246F:    97 02          LD   R3, R2
-    12470:    94 C3          LD   R2, [R3]
-    12471:    03 02          ADD  R1, R2
-    12472:    98 01          LD   R4, [BP+1]
-    12473:    94 C4          LD   R2, [R4]
-    12474:    97 01          LD   R3, R1
-    12475:    D4 C3          ST   R2, [R3]
-    12476:    92 01          LD   R1, [BP+1]
-    12477:    98 01          LD   R4, [BP+1]
-    12478:    05 0C 00 02    ADD  R2, R4, #2
-    1247A:    93 09 08 65    LD   R1, #865
-    1247C:    97 02          LD   R3, R2
-    1247D:    94 C3          LD   R2, [R3]
-    1247E:    03 02          ADD  R1, R2
-    1247F:    94 01          LD   R2, [BP+1]
-    12480:    98 01          LD   R4, [BP+1]
-    12481:    07 0C 00 01    ADD  R3, R4, #1
-    12483:    99 03          LD   R4, R3
-    12484:    94 C4          LD   R2, [R4]
-    12485:    97 01          LD   R3, R1
-    12486:    D4 C3          ST   R2, [R3]
-    12487:    92 01          LD   R1, [BP+1]
-    12488:    98 01          LD   R4, [BP+1]
-    12489:    05 0C 00 02    ADD  R2, R4, #2
-    1248B:    93 09 08 69    LD   R1, #869
-    1248D:    97 02          LD   R3, R2
-    1248E:    94 C3          LD   R2, [R3]
-    1248F:    03 02          ADD  R1, R2
-    12490:    94 C5          LD   R2, [BP]
-    12491:    99 01          LD   R4, R1
-    12492:    D4 C4          ST   R2, [R4]
-    12493:    92 01          LD   R1, [BP+1]
-    12494:    92 01          LD   R1, [BP+1]
-    12495:    05 09 00 02    ADD  R2, R1, #2
-    12497:    93 09 08 6D    LD   R1, #86d
-    12499:    97 02          LD   R3, R2
-    1249A:    94 C3          LD   R2, [R3]
-    1249B:    03 02          ADD  R1, R2
-    1249C:    98 01          LD   R4, [BP+1]
-    1249D:    94 C4          LD   R2, [R4]
-    1249E:    97 5A          LD   R3, R2 LSL 4
-    1249F:    95 03          LD   R2, R3
-    124A0:    A4 C5          OR   R2, [BP]
-    124A1:    97 01          LD   R3, R1
-    124A2:    D4 C3          ST   R2, [R3]
-    124A3:    92 01          LD   R1, [BP+1]
-    124A4:    98 01          LD   R4, [BP+1]
-    124A5:    05 0C 00 03    ADD  R2, R4, #3
-    124A7:    97 02          LD   R3, R2
-    124A8:    92 C3          LD   R1, [R3]
-    124A9:    42 40          CMP  R1, #0
-    124AA:    5E 02          JZ   124ad
-    124AB:    9F 0F 24 BB    LJMP 000124bb
-    124AD:    92 01          LD   R1, [BP+1]
-    124AE:    98 01          LD   R4, [BP+1]
-    124AF:    05 0C 00 02    ADD  R2, R4, #2
-    124B1:    93 09 08 71    LD   R1, #871
-    124B3:    97 02          LD   R3, R2
-    124B4:    94 C3          LD   R2, [R3]
-    124B5:    03 02          ADD  R1, R2
-    124B6:    94 40          LD   R2, #0
-    124B7:    99 01          LD   R4, R1
-    124B8:    D4 C4          ST   R2, [R4]
-    124B9:    9F 0F 24 C7    LJMP 000124c7
-    124BB:    92 01          LD   R1, [BP+1]
-    124BC:    92 01          LD   R1, [BP+1]
-    124BD:    05 09 00 02    ADD  R2, R1, #2
-    124BF:    93 09 08 71    LD   R1, #871
-    124C1:    97 02          LD   R3, R2
-    124C2:    94 C3          LD   R2, [R3]
-    124C3:    03 02          ADD  R1, R2
-    124C4:    94 41          LD   R2, #1
-    124C5:    99 01          LD   R4, R1
-    124C6:    D4 C4          ST   R2, [R4]
-    124C7:    00 42          ADD  SP, #2
-    124C8:    98 88          POP  BP-BP, [SP]
-    124C9:    9A 90          RETF 
-    124CA:    DA 88          PUSH BP-BP, [SP]
-    124CB:    20 42          SUB  SP, #2
-    124CC:    0B 08 00 01    ADD  BP, SP, #1
-    124CE:    03 0D 00 05    ADD  R1, BP, #5
-    124D0:    95 01          LD   R2, R1
-    124D1:    07 09 00 02    ADD  R3, R1, #2
-    124D3:    99 03          LD   R4, R3
-    124D4:    94 C4          LD   R2, [R4]
-    124D5:    D4 C5          ST   R2, [BP]
-    124D6:    95 01          LD   R2, R1
-    124D7:    07 09 00 02    ADD  R3, R1, #2
-    124D9:    95 0A 08 61    LD   R2, #861
-    124DB:    99 03          LD   R4, R3
-    124DC:    96 C4          LD   R3, [R4]
-    124DD:    05 03          ADD  R2, R3
-    124DE:    99 01          LD   R4, R1
-    124DF:    96 C4          LD   R3, [R4]
-    124E0:    99 02          LD   R4, R2
-    124E1:    D6 C4          ST   R3, [R4]
-    124E2:    95 01          LD   R2, R1
-    124E3:    07 09 00 02    ADD  R3, R1, #2
-    124E5:    95 0A 08 65    LD   R2, #865
-    124E7:    99 03          LD   R4, R3
-    124E8:    96 C4          LD   R3, [R4]
-    124E9:    05 03          ADD  R2, R3
-    124EA:    97 01          LD   R3, R1
-    124EB:    07 09 00 01    ADD  R3, R1, #1
-    124ED:    D6 01          ST   R3, [BP+1]
-    124EE:    98 01          LD   R4, [BP+1]
-    124EF:    96 C4          LD   R3, [R4]
-    124F0:    99 02          LD   R4, R2
-    124F1:    D6 C4          ST   R3, [R4]
-    124F2:    95 01          LD   R2, R1
-    124F3:    07 09 00 02    ADD  R3, R1, #2
-    124F5:    95 0A 08 69    LD   R2, #869
-    124F7:    99 03          LD   R4, R3
-    124F8:    96 C4          LD   R3, [R4]
-    124F9:    05 03          ADD  R2, R3
-    124FA:    96 C5          LD   R3, [BP]
-    124FB:    99 02          LD   R4, R2
-    124FC:    D6 C4          ST   R3, [R4]
-    124FD:    95 01          LD   R2, R1
-    124FE:    07 09 00 02    ADD  R3, R1, #2
-    12500:    95 0A 08 6D    LD   R2, #86d
-    12502:    99 03          LD   R4, R3
-    12503:    96 C4          LD   R3, [R4]
-    12504:    05 03          ADD  R2, R3
-    12505:    99 01          LD   R4, R1
-    12506:    96 C4          LD   R3, [R4]
-    12507:    99 5B          LD   R4, R3 LSL 4
-    12508:    97 04          LD   R3, R4
-    12509:    A6 C5          OR   R3, [BP]
-    1250A:    99 02          LD   R4, R2
-    1250B:    D6 C4          ST   R3, [R4]
-    1250C:    95 01          LD   R2, R1
-    1250D:    07 09 00 03    ADD  R3, R1, #3
-    1250F:    99 03          LD   R4, R3
-    12510:    94 C4          LD   R2, [R4]
-    12511:    44 40          CMP  R2, #0
-    12512:    5E 02          JZ   12515
-    12513:    9F 0F 25 22    LJMP 00012522
-    12515:    95 01          LD   R2, R1
-    12516:    07 09 00 02    ADD  R3, R1, #2
-    12518:    95 0A 08 71    LD   R2, #871
-    1251A:    99 03          LD   R4, R3
-    1251B:    96 C4          LD   R3, [R4]
-    1251C:    05 03          ADD  R2, R3
-    1251D:    96 40          LD   R3, #0
-    1251E:    99 02          LD   R4, R2
-    1251F:    D6 C4          ST   R3, [R4]
-    12520:    9F 0F 25 2D    LJMP 0001252d
-    12522:    95 01          LD   R2, R1
-    12523:    07 09 00 02    ADD  R3, R1, #2
-    12525:    95 0A 08 71    LD   R2, #871
-    12527:    99 03          LD   R4, R3
-    12528:    96 C4          LD   R3, [R4]
-    12529:    05 03          ADD  R2, R3
-    1252A:    96 41          LD   R3, #1
-    1252B:    99 02          LD   R4, R2
-    1252C:    D6 C4          ST   R3, [R4]
-    1252D:    00 42          ADD  SP, #2
-    1252E:    98 88          POP  BP-BP, [SP]
-    1252F:    9A 90          RETF 
-    12530:    DA 88          PUSH BP-BP, [SP]
-    12531:    20 4E          SUB  SP, #e
-    12532:    0B 08 00 01    ADD  BP, SP, #1
-    12534:    03 0D 00 11    ADD  R1, BP, #11
-    12536:    D2 0C          ST   R1, [BP+c]
-    12537:    94 0C          LD   R2, [BP+c]
-    12538:    92 C2          LD   R1, [R2]
-    12539:    43 09 FF FF    CMP  R1, R1, #ffff
-    1253B:    5E 02          JZ   1253e
-    1253C:    9F 0F 25 41    LJMP 00012541
-    1253E:    62 41          NEG  R1, #1
-    1253F:    9F 0F 28 7E    LJMP 0001287e
-    12541:    62 41          NEG  R1, #1
-    12542:    D3 19 08 77    ST   R1, [0877]
-    12544:    96 0C          LD   R3, [BP+c]
-    12545:    92 C3          LD   R1, [R3]
-    12546:    43 09 3F FF    CMP  R1, R1, #3fff
-    12548:    9E 02          JA   1254b