diff --git a/docs/index.html b/docs/index.html
index ee7b0c1..bea15c8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -7,7 +7,7 @@
Knightmare for Commodore Amiga, based on the popular UK
gameshow. This is a work in progress.
-
@@ -33,6 +33,7 @@ Analysis
Data
+ - Disassembled game source code
{% for post in sortedPosts %}
{% if post.categories contains "data" %}
- {{ post.title }}
@@ -45,6 +46,8 @@ Links
- Knightmare - Wikipedia page
- Knightmare (Mindscape) at the Hall of Light Amiga game database
- Knightmare - Complete Clear - Full playthrough on YouTube (4h 29m)
+ - The CRPG Addict's Knightmare playthrough - a text lets play and review
+ - Quido's Knightmare walkthrough - maps
- The Ultimate Captive Guide, an analysis project for Crowther's previous game
- Exploring K240, a similar project for the 1994 Amiga strategy game
- Exploring the Dungeons of Avalon, a similar project for a 1992 RPG series
diff --git a/src/EndDEMO.asm b/src/EndDEMO.asm
new file mode 100644
index 0000000..5754544
--- /dev/null
+++ b/src/EndDEMO.asm
@@ -0,0 +1,1481 @@
+; IRA V2.11 (Jun 19 2024) (c)1993-1995 Tim Ruehsen
+; (c)2009-2024 Frank Wille, (c)2014-2019 Nicolas Bastien
+
+EXT_0 EQU $0
+ABSEXECBASE EQU $4
+AUTO_INT1 EQU $64
+AUTO_INT3 EQU $6C
+AUTO_INT6 EQU $78
+CIAB_TALO EQU $BFD400
+CIAB_TAHI EQU $BFD500
+CIAB_ICR EQU $BFDD00
+CIAB_CRA EQU $BFDE00
+CIAA_PRA EQU $BFE001
+HARDBASE EQU $DFF000
+EXT_DFF007 EQU $DFF007
+INTENAR EQU $DFF01C
+INTREQR EQU $DFF01E
+COP1LCH EQU $DFF080
+COPJMP1 EQU $DFF088
+DIWSTRT EQU $DFF08E
+DIWSTOP EQU $DFF090
+DDFSTRT EQU $DFF092
+DFFSTOP EQU $DFF094
+DMACON EQU $DFF096
+INTENA EQU $DFF09A
+INTREQ EQU $DFF09C
+BPLCON0 EQU $DFF100
+BPLCON1 EQU $DFF102
+BPLCON2 EQU $DFF104
+BPL1MOD EQU $DFF108
+BPL2MOD EQU $DFF10A
+COLOR00 EQU $DFF180
+
+; Custom equates (from config file)
+LoadFile EQU $1C
+FindDirEntry EQU $58
+MemoryFunc EQU $6C
+
+
+
+
+ SECTION S_0,CODE
+
+SECSTRT_0:
+; ------------------------------------------------------------------------------
+; EndDEMO - Knightmare victory screen program
+; ------------------------------------------------------------------------------
+ MOVEA.L EXT_0.W,A6 ;10000: 2c780000
+ LEA LAB_11302(PC),A1 ;10004: 43fa12fc
+ LEA LAB_104BC(PC),A0 ;10008: 41fa04b2
+ MOVE.L A1,(A0) ;1000c: 2089
+ LEA LAB_11302(PC),A0 ;1000e: 41fa12f2
+ ADDA.L #$0000c350,A0 ;10012: d1fc0000c350
+ MOVE.L A0,D0 ;10018: 2008
+ LEA filePtr(PC),A1 ;1001a: 43fa0494
+ MOVE.L D0,(A1) ;1001e: 2280
+ ADDA.L #$0000c350,A0 ;10020: d1fc0000c350
+ MOVE.L A0,D0 ;10026: 2008
+ LEA LAB_104B8(PC),A1 ;10028: 43fa048e
+ MOVE.L D0,(A1) ;1002c: 2280
+ LEA victory_mus(PC),A4 ;1002e: 49fa04ac
+ MOVEA.L LAB_104B8(PC),A0 ;10032: 207a0484
+ MOVEA.L A4,A1 ;10036: 224c
+ MOVEQ #-1,D1 ;10038: 72ff
+LAB_1003A:
+ JSR LoadFile(A6) ;1003a: 4eae001c
+ TST.L D0 ;1003e: 4a80
+ BMI.W LAB_1003A ;10040: 6b00fff8
+ MOVE.L LAB_104B8(PC),D0 ;10044: 203a0472
+ BSR.W SUB_10662 ;10048: 61000618
+ BSR.W SUB_100F0 ;1004c: 610000a2
+ LEA nox001(PC),A4 ;10050: 49fa0472
+ ST -2(A4) ;10054: 50ecfffe
+LAB_10058:
+ LEA nox001(PC),A4 ;10058: 49fa046a
+ BSR.W SUB_1006A ;1005c: 6100000c
+ LEA nox002(PC),A4 ;10060: 49fa046e
+ BSR.W SUB_1006A ;10064: 61000004
+ BRA.S LAB_10058 ;10068: 60ee
+SUB_1006A:
+ LEA LAB_1042A(PC),A0 ;1006a: 41fa03be
+ MOVE.W #$0005,(A0) ;1006e: 30bc0005
+ MOVEA.L filePtr(PC),A0 ;10072: 207a043c
+ MOVEA.L A4,A1 ;10076: 224c
+ MOVEQ #-1,D1 ;10078: 72ff
+ JSR LoadFile(A6) ;1007a: 4eae001c
+ LEA LAB_103B6(PC),A0 ;1007e: 41fa0336
+ CLR.L (A0) ;10082: 4290
+ LEA LAB_104C0(PC),A0 ;10084: 41fa043a
+ TST.W (A0) ;10088: 4a50
+ BNE.S LAB_100AE ;1008a: 6622
+ ST (A0) ;1008c: 50d0
+ BSR.W SUB_1037A ;1008e: 610002ea
+ LEA LAB_103B6(PC),A0 ;10092: 41fa0322
+ CLR.L (A0) ;10096: 4290
+ MOVEA.L LAB_104BC(PC),A0 ;10098: 207a0422
+ BSR.W SUB_1019E ;1009c: 61000100
+ LEA LAB_103B6(PC),A0 ;100a0: 41fa0314
+ CLR.L (A0) ;100a4: 4290
+ BSR.W SUB_103BA ;100a6: 61000312
+ BSR.W SUB_1037A ;100aa: 610002ce
+LAB_100AE:
+ BSR.W SUB_102F4 ;100ae: 61000244
+ MOVEA.L LAB_104BC(PC),A0 ;100b2: 207a0408
+ MOVEA.L filePtr(PC),A1 ;100b6: 227a03f8
+ BSR.W SUB_1016C ;100ba: 610000b0
+ LEA palette32(PC),A0 ;100be: 41fa0390
+ BSR.W SUB_101FE ;100c2: 6100013a
+ MOVEA.L LAB_104BC(PC),A0 ;100c6: 207a03f4
+ BSR.W SUB_1019E ;100ca: 610000d2
+ LEA LAB_103B6(PC),A0 ;100ce: 41fa02e6
+ CLR.L (A0) ;100d2: 4290
+ BSR.W SUB_102D2 ;100d4: 610001fc
+ LEA LAB_10116(PC),A0 ;100d8: 41fa003c
+ TST.W 2(A0) ;100dc: 4a680002
+ BNE.S LAB_100EA ;100e0: 6608
+ CLR.W (A0) ;100e2: 4250
+LAB_100E4:
+ CMPI.W #$008c,(A0) ;100e4: 0c50008c
+ BLS.S LAB_100E4 ;100e8: 63fa
+LAB_100EA:
+ CLR.W 2(A0) ;100ea: 42680002
+ RTS ;100ee: 4e75
+SUB_100F0:
+ LEA LAB_10112(PC),A0 ;100f0: 41fa0020
+ MOVE.L AUTO_INT3.W,(A0) ;100f4: 20b8006c
+ LEA LAB_1011A(PC),A0 ;100f8: 41fa0020
+ MOVE.L A0,AUTO_INT3.W ;100fc: 21c8006c
+ MOVE.W #$c020,INTENA ;10100: 33fcc02000dff09a
+ MOVE.W #$0020,INTREQ ;10108: 33fc002000dff09c
+ RTS ;10110: 4e75
+LAB_10112:
+ DS.L 1 ;10112
+LAB_10116:
+ DS.L 1 ;10116
+LAB_1011A:
+ MOVE.L D0,-(A7) ;1011a: 2f00
+ MOVE.W INTREQR,D0 ;1011c: 303900dff01e
+ BTST #5,D0 ;10122: 08000005
+ BNE.S LAB_10130 ;10126: 6608
+ MOVE.L (A7)+,D0 ;10128: 201f
+ MOVE.L LAB_10112(PC),-(A7) ;1012a: 2f3affe6
+ RTS ;1012e: 4e75
+LAB_10130:
+ MOVE.L A0,-(A7) ;10130: 2f08
+ LEA LAB_10116(PC),A0 ;10132: 41faffe2
+ ADDQ.W #1,(A0) ;10136: 5250
+ MOVEA.L (A7)+,A0 ;10138: 205f
+ MOVE.L (A7)+,D0 ;1013a: 201f
+ MOVE.W #$0020,INTREQ ;1013c: 33fc002000dff09c
+ RTE ;10144: 4e73
+ MOVEA.L LAB_104B4(PC),A0 ;10146: 207a036c
+ MOVEA.L LAB_104BC(PC),A1 ;1014a: 227a0370
+ BSR.W SUB_1016C ;1014e: 6100001c
+ MOVEA.L LAB_104B4(PC),A0 ;10152: 207a0360
+ BSR.W SUB_1019E ;10156: 61000046
+ BSR.W SUB_103BA ;1015a: 6100025e
+ LEA palette16(PC),A0 ;1015e: 41fa02cc
+ BSR.W SUB_101FE ;10162: 6100009a
+ BSR.W SUB_102D2 ;10166: 6100016a
+ RTS ;1016a: 4e75
+SUB_1016C:
+ ADDA.L LAB_103B6(PC),A0 ;1016c: d1fa0248
+ MOVEQ #$27,D2 ;10170: 7427
+LAB_10172:
+ MOVE.L A0,-(A7) ;10172: 2f08
+ MOVE.W LAB_1042A(PC),D1 ;10174: 323a02b4
+ SUBQ.W #1,D1 ;10178: 5341
+LAB_1017A:
+ MOVE.L A0,-(A7) ;1017a: 2f08
+ MOVE.W #$00c7,D0 ;1017c: 303c00c7
+LAB_10180:
+ MOVE.B (A1)+,(A0) ;10180: 1099
+ LEA $28(A0),A0 ;10182: 41e80028
+ DBF D0,LAB_10180 ;10186: 51c8fff8
+ MOVEA.L (A7)+,A0 ;1018a: 205f
+ LEA $1F40(A0),A0 ;1018c: 41e81f40
+ DBF D1,LAB_1017A ;10190: 51c9ffe8
+ MOVEA.L (A7)+,A0 ;10194: 205f
+ ADDQ.W #1,A0 ;10196: 5248
+ DBF D2,LAB_10172 ;10198: 51caffd8
+ RTS ;1019c: 4e75
+SUB_1019E:
+ ADDA.L LAB_103B6(PC),A0 ;1019e: d1fa0216
+ MOVEA.L LAB_104BC(PC),A2 ;101a2: 247a0318
+ ADDA.L #$00009c54,A2 ;101a6: d5fc00009c54
+ MOVE.L A0,D0 ;101ac: 2008
+ MOVE.W LAB_1042A(PC),D1 ;101ae: 323a027a
+ SUBQ.W #1,D1 ;101b2: 5341
+ MOVE.W #$00e0,D2 ;101b4: 343c00e0
+LAB_101B8:
+ SWAP D0 ;101b8: 4840
+ MOVE.W D2,(A2)+ ;101ba: 34c2
+ MOVE.W D0,(A2)+ ;101bc: 34c0
+ ADDQ.W #2,D2 ;101be: 5442
+ SWAP D0 ;101c0: 4840
+ MOVE.W D2,(A2)+ ;101c2: 34c2
+ MOVE.W D0,(A2)+ ;101c4: 34c0
+ ADDQ.W #2,D2 ;101c6: 5442
+ ADDI.L #$00001f40,D0 ;101c8: 068000001f40
+ DBF D1,LAB_101B8 ;101ce: 51c9ffe8
+ MOVE.L #$fffffffe,(A2)+ ;101d2: 24fcfffffffe
+ MOVE.L #$fffffffe,(A2)+ ;101d8: 24fcfffffffe
+ LEA LAB_103B6(PC),A0 ;101de: 41fa01d6
+ EORI.L #$00007d00,(A0) ;101e2: 0a9000007d00
+ RTS ;101e8: 4e75
+ LEA palette16(PC),A0 ;101ea: 41fa0240
+ LEA COLOR00,A1 ;101ee: 43f900dff180
+ MOVEQ #$1F,D0 ;101f4: 701f
+LAB_101F6:
+ MOVE.W (A0)+,(A1)+ ;101f6: 32d8
+ DBF D0,LAB_101F6 ;101f8: 51c8fffc
+ RTS ;101fc: 4e75
+SUB_101FE:
+ LEA LAB_10252(PC),A1 ;101fe: 43fa0052
+ MOVEQ #$1F,D0 ;10202: 701f
+LAB_10204:
+ MOVE.W $40(A1),-64(A1) ;10204: 33690040ffc0
+ MOVE.W (A0)+,(A1)+ ;1020a: 32d8
+ DBF D0,LAB_10204 ;1020c: 51c8fff6
+ RTS ;10210: 4e75
+LAB_10212:
+ DS.L $10 ;10212
+LAB_10252:
+ DS.L $10 ;10252
+LAB_10292:
+ DS.L $10 ;10292
+SUB_102D2:
+ LEA LAB_104C2(PC),A0 ;102d2: 41fa01ee
+ CLR.W (A0) ;102d6: 4250
+ MOVEQ #$F,D1 ;102d8: 720f
+ MOVE.W #$0000,D0 ;102da: 303c0000
+LAB_102DE:
+ MOVEM.W D0-D1,-(A7) ;102de: 48a7c000
+ BSR.W SUB_10342 ;102e2: 6100005e
+ MOVEM.W (A7)+,D0-D1 ;102e6: 4c9f0003
+ ADDI.W #$0010,D0 ;102ea: 06400010
+ DBF D1,LAB_102DE ;102ee: 51c9ffee
+ RTS ;102f2: 4e75
+SUB_102F4:
+ LEA LAB_10252(PC),A1 ;102f4: 43faff5c
+ MOVEQ #$1F,D0 ;102f8: 701f
+LAB_102FA:
+ MOVE.W $40(A1),-64(A1) ;102fa: 33690040ffc0
+ CLR.W (A1)+ ;10300: 4259
+ DBF D0,LAB_102FA ;10302: 51c8fff6
+ MOVE.W LAB_104C2(PC),D0 ;10306: 303a01ba
+ BEQ.S LAB_10320 ;1030a: 6714
+ LEA LAB_10212(PC),A1 ;1030c: 43faff04
+ MOVEQ #$5F,D0 ;10310: 705f
+LAB_10312:
+ CLR.W (A1)+ ;10312: 4259
+ DBF D0,LAB_10312 ;10314: 51c8fffc
+ MOVEQ #0,D0 ;10318: 7000
+ BSR.W SUB_10342 ;1031a: 61000026
+ RTS ;1031e: 4e75
+LAB_10320:
+ LEA LAB_104C2(PC),A0 ;10320: 41fa01a0
+ ST (A0) ;10324: 50d0
+ MOVEQ #$F,D1 ;10326: 720f
+ MOVE.W #$0100,D0 ;10328: 303c0100
+LAB_1032C:
+ MOVEM.W D0-D1,-(A7) ;1032c: 48a7c000
+ BSR.W SUB_10342 ;10330: 61000010
+ MOVEM.W (A7)+,D0-D1 ;10334: 4c9f0003
+ SUBI.W #$0010,D0 ;10338: 04400010
+ DBF D1,LAB_1032C ;1033c: 51c9ffee
+ RTS ;10340: 4e75
+SUB_10342:
+ LEA LAB_10292(PC),A0 ;10342: 41faff4e
+ MOVEQ #$1F,D1 ;10346: 721f
+LAB_10348:
+ MOVEQ #0,D7 ;10348: 7e00
+ MOVE.W -128(A0),D2 ;1034a: 3428ff80
+ MOVE.W -64(A0),D3 ;1034e: 3628ffc0
+ BSR.W SUB_1038A ;10352: 61000036
+ MOVE.W D7,(A0)+ ;10356: 30c7
+ DBF D1,LAB_10348 ;10358: 51c9ffee
+ LEA LAB_10116(PC),A0 ;1035c: 41fafdb8
+ CLR.W (A0) ;10360: 4250
+LAB_10362:
+ TST.W (A0) ;10362: 4a50
+ BEQ.S LAB_10362 ;10364: 67fc
+ LEA COLOR00,A1 ;10366: 43f900dff180
+ LEA LAB_10292(PC),A0 ;1036c: 41faff24
+ MOVEQ #$1F,D1 ;10370: 721f
+LAB_10372:
+ MOVE.W (A0)+,(A1)+ ;10372: 32d8
+ DBF D1,LAB_10372 ;10374: 51c9fffc
+ RTS ;10378: 4e75
+SUB_1037A:
+ LEA COLOR00,A1 ;1037a: 43f900dff180
+ MOVEQ #$1F,D1 ;10380: 721f
+LAB_10382:
+ CLR.W (A1)+ ;10382: 4259
+ DBF D1,LAB_10382 ;10384: 51c9fffc
+ RTS ;10388: 4e75
+SUB_1038A:
+ MOVEQ #2,D6 ;1038a: 7c02
+LAB_1038C:
+ MOVE.W D2,D4 ;1038c: 3802
+ ANDI.W #$000f,D4 ;1038e: 0244000f
+ MOVE.W D3,D5 ;10392: 3a03
+ ANDI.W #$000f,D5 ;10394: 0245000f
+ CMP.W D4,D5 ;10398: ba44
+ BLS.S LAB_1039E ;1039a: 6302
+ EXG D4,D5 ;1039c: c945
+LAB_1039E:
+ SUB.W D5,D4 ;1039e: 9845
+ MULU D0,D4 ;103a0: c8c0
+ LSR.W #8,D4 ;103a2: e04c
+ ADD.W D5,D4 ;103a4: d845
+ ROR.W #4,D7 ;103a6: e85f
+ OR.W D4,D7 ;103a8: 8e44
+ LSR.W #4,D2 ;103aa: e84a
+ LSR.W #4,D3 ;103ac: e84b
+ DBF D6,LAB_1038C ;103ae: 51ceffdc
+ ROR.W #8,D7 ;103b2: e05f
+ RTS ;103b4: 4e75
+LAB_103B6:
+ DS.L 1 ;103b6
+SUB_103BA:
+ MOVEA.L LAB_104BC(PC),A0 ;103ba: 207a0100
+ ADDA.L #$00009c54,A0 ;103be: d1fc00009c54
+ MOVE.L A0,COP1LCH ;103c4: 23c800dff080
+ CLR.W COPJMP1 ;103ca: 427900dff088
+ MOVE.W #$3081,DIWSTRT ;103d0: 33fc308100dff08e
+ MOVE.W #$f8c1,DIWSTOP ;103d8: 33fcf8c100dff090
+ MOVE.W #$0038,DDFSTRT ;103e0: 33fc003800dff092
+ MOVE.W #$00d0,DFFSTOP ;103e8: 33fc00d000dff094
+ CLR.W BPLCON1 ;103f0: 427900dff102
+ CLR.W BPLCON2 ;103f6: 427900dff104
+ CLR.W BPL1MOD ;103fc: 427900dff108
+ CLR.W BPL2MOD ;10402: 427900dff10a
+ MOVE.W #$4200,D0 ;10408: 303c4200
+ MOVE.W LAB_1042A(PC),D1 ;1040c: 323a001c
+ CMP.W #$0005,D1 ;10410: b27c0005
+ BNE.S LAB_1041A ;10414: 6604
+ MOVE.W #$5200,D0 ;10416: 303c5200
+LAB_1041A:
+ MOVE.W D0,BPLCON0 ;1041a: 33c000dff100
+ MOVE.W #$8380,DMACON ;10420: 33fc838000dff096
+ RTS ;10428: 4e75
+LAB_1042A:
+ DC.W $0004 ;1042a
+palette16:
+ DC.L $00000edc,$0cb90a96,$08770c75,$0a54069b ;1042c
+ DC.L $05790fff,$0d970886,$05550433,$0ba90765 ;1043c
+ DC.L $05014001 ;1044c
+palette32:
+ DC.L $00000edc,$0cb90a96,$06550743,$05210568 ;10450
+ DC.L $04450fff,$0a640433,$03220300,$0d980987 ;10460
+ DC.L $0f000f00,$0f000f00,$0f000f00,$0f000f00 ;10470
+ DC.L $0f000f00,$08420b95,$0dc90fed,$0f000f00 ;10480
+ DS.L 8 ;10490
+filePtr:
+ DS.L 1 ;104b0
+LAB_104B4:
+ DS.L 1 ;104b4
+LAB_104B8:
+ DS.L 1 ;104b8
+LAB_104BC:
+ DS.L 1 ;104bc
+LAB_104C0:
+ DS.W 1 ;104c0
+LAB_104C2:
+ DC.W $0001 ;104c2
+nox001:
+ ;104c4
+ ;DC.B $46,$45,$44,$31,$3a,$4e,$4f,$58,$30,$30,$31,$00
+ DC.B "FED1:NOX001",0
+nox002:
+ ;104d0
+ ;DC.B $46,$45,$44,$31,$3a,$4e,$4f,$58,$30,$30,$32,$00
+ DC.B "FED1:NOX002",0
+victory_mus:
+ ;104dc
+ ;DC.B $46,$45,$44,$31,$3a,$56,$49,$43,$54,$4f,$52,$59,$2e,$4d,$55,$53
+ ;DC.B $00
+ DC.B "FED1:VICTORY.MUS",0
+ DS.B 1 ;104ed
+LAB_104EE:
+ DS.L $35 ;104ee
+ DS.W 1 ;105c2
+LAB_105C4:
+ MOVE.L A1,-(A7) ;105c4: 2f09
+ LEA LAB_105F4(PC),A1 ;105c6: 43fa002c
+ MOVE.W #$0001,(A1) ;105ca: 32bc0001
+ MOVE.W D0,2(A1) ;105ce: 33400002
+ MOVE.W 4(A0),D1 ;105d2: 32280004
+ MULU 6(A0),D1 ;105d6: c2e80006
+ MOVE.W D1,4(A1) ;105da: 33410004
+ MULU D0,D1 ;105de: c2c0
+ SUBQ.L #1,D1 ;105e0: 5381
+ MOVE.L D1,6(A1) ;105e2: 23410006
+ MOVE.W 2(A0),D1 ;105e6: 32280002
+ LSR.W #3,D1 ;105ea: e649
+ MOVE.W D1,$A(A1) ;105ec: 3341000a
+ MOVEA.L (A7)+,A1 ;105f0: 225f
+ RTS ;105f2: 4e75
+LAB_105F4:
+ DS.W 1 ;105f4
+LAB_105F6:
+ DS.W 1 ;105f6
+LAB_105F8:
+ DS.W 1 ;105f8
+LAB_105FA:
+ DS.W 1 ;105fa
+LAB_105FC:
+ ORI.B #$00,D0 ;105fc: 00000000
+ MOVEM.L D1-D4/A2-A3,-(A7) ;10600: 48e77830
+ MOVEA.L A0,A4 ;10604: 2848
+ MOVE.W LAB_105F4(PC),D0 ;10606: 303affec
+ ASL.W #2,D0 ;1060a: e540
+ ADDA.L 8(A4,D0.W),A2 ;1060c: d5f40008
+ MOVEA.L A1,A3 ;10610: 2649
+ MOVE.W LAB_105FC+2(PC),D2 ;10612: 343affea
+ SUBQ.W #1,D2 ;10616: 5342
+ MOVE.W LAB_105F6(PC),D1 ;10618: 323affdc
+ MOVE.W LAB_105F8(PC),D3 ;1061c: 363affda
+ SUBQ.W #1,D3 ;10620: 5343
+ TST.W D0 ;10622: 4a40
+ BNE.S LAB_10628 ;10624: 6602
+ BRA.S LAB_1064A ;10626: 6022
+LAB_10628:
+ MOVE.L LAB_105FA(PC),D2 ;10628: 243affd0
+LAB_1062C:
+ TST.L D2 ;1062c: 4a82
+ BMI.S LAB_1064A ;1062e: 6b1a
+ MOVEQ #0,D4 ;10630: 7800
+ MOVE.B (A2)+,D4 ;10632: 181a
+ BPL.S LAB_1063E ;10634: 6a08
+ NEG.B D4 ;10636: 4404
+ SUB.L D4,D2 ;10638: 9484
+ ADDA.W D4,A3 ;1063a: d6c4
+ BRA.S LAB_1062C ;1063c: 60ee
+LAB_1063E:
+ SUBQ.L #1,D2 ;1063e: 5382
+ SUB.L D4,D2 ;10640: 9484
+LAB_10642:
+ MOVE.B (A2)+,(A3)+ ;10642: 16da
+ DBF D4,LAB_10642 ;10644: 51ccfffc
+ BRA.S LAB_1062C ;10648: 60e2
+LAB_1064A:
+ MOVEM.L (A7)+,D1-D4/A2-A3 ;1064a: 4cdf0c1e
+ LEA LAB_105F4(PC),A1 ;1064e: 43faffa4
+ MOVE.W (A1),D0 ;10652: 3011
+ ADDQ.W #1,D0 ;10654: 5240
+ CMP.W 0(A0),D0 ;10656: b0680000
+ BLE.S LAB_1065E ;1065a: 6f02
+ MOVEQ #0,D0 ;1065c: 7000
+LAB_1065E:
+ MOVE.W D0,(A1) ;1065e: 3280
+ RTS ;10660: 4e75
+SUB_10662:
+ MOVE.L D0,-(A7) ;10662: 2f00
+ BSR.W SUB_10FA8 ;10664: 61000942
+ MOVEA.L (A7)+,A0 ;10668: 205f
+ BSR.W SUB_1069C ;1066a: 61000030
+ BRA.W LAB_110B6 ;1066e: 60000a46
+LAB_10672:
+ DS.L 1 ;10672
+LAB_10676:
+ MOVE.L D0,-(A7) ;10676: 2f00
+ MOVEA.L A4,A0 ;10678: 204c
+ JSR FindDirEntry(A6) ;1067a: 4eae0058
+ TST.L D0 ;1067e: 4a80
+ BMI.S LAB_10696 ;10680: 6b14
+ MOVE.L $10(A0),D1 ;10682: 22280010
+ LEA LAB_10672(PC),A0 ;10686: 41faffea
+ MOVE.L D1,(A0) ;1068a: 2081
+ MOVE.L (A7)+,D0 ;1068c: 201f
+ JSR MemoryFunc(A6) ;1068e: 4eae006c
+ TST.L D0 ;10692: 4a80
+ RTS ;10694: 4e75
+LAB_10696:
+ ADDQ.L #4,A7 ;10696: 588f
+ MOVEQ #0,D0 ;10698: 7000
+ RTS ;1069a: 4e75
+SUB_1069C:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1069c: 48e7fffe
+ BSR.S SUB_106E4 ;106a0: 6142
+ LEA LAB_111D0(PC),A2 ;106a2: 45fa0b2c
+ MOVE.L A0,D0 ;106a6: 2008
+ ADD.L D0,$10(A2) ;106a8: d1aa0010
+ ADD.L D0,8(A2) ;106ac: d1aa0008
+ ADD.L D0,$18(A2) ;106b0: d1aa0018
+ MOVEA.L $10(A2),A1 ;106b4: 226a0010
+ MOVE.L $18(A2),D1 ;106b8: 222a0018
+ SUB.L A1,D1 ;106bc: 9289
+ LSR.W #2,D1 ;106be: e449
+ SUBQ.W #1,D1 ;106c0: 5341
+LAB_106C2:
+ ADD.L D0,(A1)+ ;106c2: d199
+ DBF D1,LAB_106C2 ;106c4: 51c9fffc
+ MOVEA.L $10(A2),A3 ;106c8: 266a0010
+ MOVEA.L (A3),A3 ;106cc: 2653
+LAB_106CE:
+ CMPA.L A3,A1 ;106ce: b3cb
+ BEQ.S LAB_106DE ;106d0: 670c
+ BHI.S LAB_106DE ;106d2: 620a
+ TST.L (A1)+ ;106d4: 4a99
+ BEQ.S LAB_106CE ;106d6: 67f6
+ ADD.L D0,-4(A1) ;106d8: d1a9fffc
+ BRA.S LAB_106CE ;106dc: 60f0
+LAB_106DE:
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;106de: 4cdf7fff
+ RTS ;106e2: 4e75
+SUB_106E4:
+ MOVEM.L D0/A0-A1,-(A7) ;106e4: 48e780c0
+ LEA LAB_111D0(PC),A1 ;106e8: 43fa0ae6
+ MOVEQ #$F,D0 ;106ec: 700f
+LAB_106EE:
+ MOVE.L (A0)+,(A1)+ ;106ee: 22d8
+ DBF D0,LAB_106EE ;106f0: 51c8fffc
+ MOVEM.L (A7)+,D0/A0-A1 ;106f4: 4cdf0301
+ RTS ;106f8: 4e75
+LAB_106FA:
+ CMP.B #$03,D0 ;106fa: b03c0003
+ BHI.S LAB_1070A ;106fe: 620a
+ MOVEQ #1,D1 ;10700: 7201
+ LSL.W D0,D1 ;10702: e169
+ MOVE.W D1,DMACON ;10704: 33c100dff096
+LAB_1070A:
+ RTS ;1070a: 4e75
+LAB_1070C:
+ CLR.W D1 ;1070c: 4241
+ CLR.W D2 ;1070e: 4242
+ MOVE.B $312(A6),D1 ;10710: 122e0312
+ LEA $302(A6),A0 ;10714: 41ee0302
+ MOVE.B 0(A0,D7.W),D2 ;10718: 14307000
+ MULU D2,D0 ;1071c: c0c2
+ MULU D1,D0 ;1071e: c0c1
+ LSR.L #4,D0 ;10720: e888
+ LSR.W #8,D0 ;10722: e048
+ RTS ;10724: 4e75
+LAB_10726:
+ DS.W 1 ;10726
+LAB_10728:
+ MOVEM.L D3-D7,-(A7) ;10728: 48e71f00
+ MOVE.W D2,-(A7) ;1072c: 3f02
+ CLR.L D4 ;1072e: 4284
+ BSET D0,D4 ;10730: 01c4
+ MOVEA.L $18(A4),A0 ;10732: 206c0018
+ MOVE.W D3,D7 ;10736: 3e03
+ LSL.W #2,D7 ;10738: e54f
+ TST.L 0(A0,D7.W) ;1073a: 4ab07000
+ BEQ.W LAB_107D6 ;1073e: 67000096
+ ADD.B $2FE(A6),D1 ;10742: d22e02fe
+ ADD.B 7(A3),D1 ;10746: d22b0007
+ CMP.B #$03,D0 ;1074a: b03c0003
+ BHI.S LAB_1075E ;1074e: 620e
+ BTST D0,LAB_10726(PC) ;10750: 013affd4
+ BNE.W LAB_107D6 ;10754: 66000080
+ MOVE.W D4,DMACON ;10758: 33c400dff096
+LAB_1075E:
+ TST.B D1 ;1075e: 4a01
+ BPL.S LAB_10768 ;10760: 6a06
+ ADDI.B #$0c,D1 ;10762: 0601000c
+ BRA.S LAB_1075E ;10766: 60f6
+LAB_10768:
+ CMP.B #$3f,D1 ;10768: b23c003f
+ BLE.S LAB_10772 ;1076c: 6f04
+ SUBI.B #$0c,D1 ;1076e: 0401000c
+LAB_10772:
+ CMP.B #$03,D0 ;10772: b03c0003
+ BHI.W LAB_107D6 ;10776: 6200005e
+ OR.W D4,-2460(A4) ;1077a: 896cf664
+ SUBQ.B #1,D1 ;1077e: 5301
+ MOVEA.L $A(A5),A1 ;10780: 226d000a
+ MOVEA.L $18(A4),A0 ;10784: 206c0018
+ MOVEA.L 0(A0,D7.W),A0 ;10788: 20707000
+ ADD.W D3,D3 ;1078c: d643
+ BSR.W LAB_10F0E ;1078e: 6100077e
+ MOVE.L D0,0(A1) ;10792: 23400000
+ CMP.W #$0001,D3 ;10796: b67c0001
+ BHI.S LAB_107B0 ;1079a: 6214
+ MOVE.L LAB_112C4(PC),$E(A5) ;1079c: 2b7a0b26000e
+ MOVE.W #$0001,$12(A5) ;107a2: 3b7c00010012
+ LSR.L #1,D1 ;107a8: e289
+ MOVE.W D1,4(A1) ;107aa: 33410004
+ BRA.S LAB_107CA ;107ae: 601a
+LAB_107B0:
+ TST.W D2 ;107b0: 4a42
+ BEQ.S LAB_107BA ;107b2: 6706
+ MOVE.W D2,4(A1) ;107b4: 33420004
+ BRA.S LAB_107BE ;107b8: 6004
+LAB_107BA:
+ MOVE.W D3,4(A1) ;107ba: 33430004
+LAB_107BE:
+ ADD.L D2,D2 ;107be: d482
+ ADD.L D2,D0 ;107c0: d082
+ MOVE.L D0,$E(A5) ;107c2: 2b40000e
+ MOVE.W D3,$12(A5) ;107c6: 3b430012
+LAB_107CA:
+ MOVE.W D5,6(A1) ;107ca: 33450006
+ MOVE.W D5,8(A5) ;107ce: 3b450008
+ MOVE.W (A7),8(A1) ;107d2: 33570008
+LAB_107D6:
+ ADDQ.L #2,A7 ;107d6: 548f
+ MOVEM.L (A7)+,D3-D7 ;107d8: 4cdf00f8
+ RTS ;107dc: 4e75
+LAB_107DE:
+ MOVE.L D0,-(A7) ;107de: 2f00
+ MOVEQ #$79,D0 ;107e0: 7079
+LAB_107E2:
+ MOVE.B EXT_DFF007,D1 ;107e2: 123900dff007
+LAB_107E8:
+ CMP.B EXT_DFF007,D1 ;107e8: b23900dff007
+ BEQ.S LAB_107E8 ;107ee: 67f8
+ DBF D0,LAB_107E2 ;107f0: 51c8fff0
+ MOVE.L (A7)+,D0 ;107f4: 201f
+ RTS ;107f6: 4e75
+LAB_107F8:
+ LEA LAB_10836(PC),A5 ;107f8: 4bfa003c
+ ADDA.W (A1)+,A5 ;107fc: dad9
+ LSR.B #1,D0 ;107fe: e208
+ BCC.S LAB_10812 ;10800: 6410
+ MOVEA.L $A(A5),A0 ;10802: 206d000a
+ MOVE.L $E(A5),0(A0) ;10806: 216d000e0000
+ MOVE.W $12(A5),4(A0) ;1080c: 316d00120004
+LAB_10812:
+ RTS ;10812: 4e75
+LAB_10814:
+ MOVE.W LAB_10834(PC),D0 ;10814: 303a001e
+ BEQ.S LAB_10812 ;10818: 67f8
+ BSET #$F,D0 ;1081a: 08c0000f
+ BSR.S LAB_107DE ;1081e: 61be
+ MOVE.W D0,DMACON ;10820: 33c000dff096
+ BSR.S LAB_107DE ;10826: 61b6
+ LEA LAB_10896(PC),A1 ;10828: 43fa006c
+ BSR.S LAB_107F8 ;1082c: 61ca
+ BSR.S LAB_107F8 ;1082e: 61c8
+ BSR.S LAB_107F8 ;10830: 61c6
+ BRA.S LAB_107F8 ;10832: 60c4
+LAB_10834:
+ DS.W 1 ;10834
+LAB_10836:
+ DS.L $18 ;10836
+LAB_10896:
+ DC.L $00000018,$00300048 ;10896
+ DS.W 1 ;1089e
+LAB_108A0:
+ DS.W 1 ;108a0
+LAB_108A2:
+ MOVE.L D0,-(A7) ;108a2: 2f00
+ MOVE.W INTREQR,D0 ;108a4: 303900dff01e
+ BTST #$D,D0 ;108aa: 0800000d
+ BEQ.S LAB_108C6 ;108ae: 6716
+ MOVE.B CIAB_ICR,D0 ;108b0: 103900bfdd00
+ MOVEM.L D1-D7/A0-A6,-(A7) ;108b6: 48e77ffe
+ LEA HARDBASE,A0 ;108ba: 41f900dff000
+ BSR.S LAB_108D2 ;108c0: 6110
+ MOVEM.L (A7)+,D1-D7/A0-A6 ;108c2: 4cdf7ffe
+LAB_108C6:
+ MOVE.W #$2000,INTREQ ;108c6: 33fc200000dff09c
+ MOVE.L (A7)+,D0 ;108ce: 201f
+ RTE ;108d0: 4e73
+LAB_108D2:
+ MOVE.L LAB_112C0(PC),D0 ;108d2: 203a09ec
+ BEQ.S LAB_108E8 ;108d6: 6710
+ LEA LAB_111D0(PC),A4 ;108d8: 49fa08f6
+ TST.W $28(A4) ;108dc: 4a6c0028
+ BNE.S LAB_108FA ;108e0: 6618
+LAB_108E2:
+ MOVE.B #$05,$32(A4) ;108e2: 197c00050032
+LAB_108E8:
+ BCLR #0,CIAB_CRA ;108e8: 08b9000000bfde00
+ MOVE.W #$000f,DMACON ;108f0: 33fc000f00dff096
+ RTS ;108f8: 4e75
+LAB_108FA:
+ CLR.W -2460(A4) ;108fa: 426cf664
+ MOVEA.L 8(A4),A6 ;108fe: 2c6c0008
+ ADDI.B #$01,$32(A4) ;10902: 062c00010032
+ CMPI.B #$06,$32(A4) ;10908: 0c2c00060032
+ BNE.W LAB_10BCA ;1090e: 660002ba
+ MOVE.W LAB_11218(PC),D0 ;10912: 303a0904
+ BEQ.S LAB_10938 ;10916: 6720
+ SUB.W LAB_1121A(PC),D0 ;10918: 907a0900
+ BGT.S LAB_1092E ;1091c: 6e10
+ MOVE.B LAB_1121C(PC),$312(A6) ;1091e: 1d7a08fc0312
+ CLR.W $28(A4) ;10924: 426c0028
+ CLR.W $48(A4) ;10928: 426c0048
+ BRA.S LAB_108E2 ;1092c: 60b4
+LAB_1092E:
+ MOVE.W D0,$48(A4) ;1092e: 39400048
+ LSR.W #7,D0 ;10932: ee48
+ MOVE.B D0,$312(A6) ;10934: 1d400312
+LAB_10938:
+ MOVEA.L $10(A4),A0 ;10938: 206c0010
+ MOVE.W $2A(A4),D2 ;1093c: 342c002a
+ LSL.W #2,D2 ;10940: e54a
+ MOVEA.L 0(A0,D2.W),A2 ;10942: 24702000
+ CLR.W D0 ;10946: 4240
+ MOVE.B 1(A2),D0 ;10948: 102a0001
+ LEA $30(A4),A3 ;1094c: 47ec0030
+ ADDQ.W #1,(A3) ;10950: 5253
+ CMP.W (A3),D0 ;10952: b053
+ BLT.S LAB_1095C ;10954: 6d06
+ TST.B -2354(A4) ;10956: 4a2cf6ce
+ BEQ.S LAB_109AE ;1095a: 6752
+LAB_1095C:
+ CLR.W (A3) ;1095c: 4253
+ CMPI.W #$0002,$28(A4) ;1095e: 0c6c00020028
+ BNE.S LAB_109AA ;10964: 6644
+ CMPI.B #$01,-2354(A4) ;10966: 0c2c0001f6ce
+ BEQ.S LAB_10972 ;1096c: 6704
+ ADDQ.W #1,$2E(A4) ;1096e: 526c002e
+LAB_10972:
+ MOVE.W $1FA(A6),D0 ;10972: 302e01fa
+ MOVE.W $2E(A4),D1 ;10976: 322c002e
+ CMP.W D0,D1 ;1097a: b240
+ BLT.S LAB_10984 ;1097c: 6d06
+ CLR.W $2E(A4) ;1097e: 426c002e
+ CLR.W D1 ;10982: 4241
+LAB_10984:
+ CLR.W D0 ;10984: 4240
+ LEA $1FC(A6),A1 ;10986: 43ee01fc
+ MOVE.B 0(A1,D1.W),D0 ;1098a: 10311000
+ MOVE.W D0,$2A(A4) ;1098e: 3940002a
+ CLR.W D1 ;10992: 4241
+ MOVE.B $1F9(A6),D1 ;10994: 122e01f9
+ SUBQ.W #1,D1 ;10998: 5341
+ CMP.W D1,D0 ;1099a: b041
+ BLT.S LAB_109A4 ;1099c: 6d06
+ MOVE.W D1,$2A(A4) ;1099e: 3941002a
+ MOVE.W D1,D0 ;109a2: 3001
+LAB_109A4:
+ LSL.W #2,D0 ;109a4: e548
+ MOVEA.L 0(A0,D0.W),A2 ;109a6: 24700000
+LAB_109AA:
+ CLR.B -2354(A4) ;109aa: 422cf6ce
+LAB_109AE:
+ MOVE.W (A3),$2C(A4) ;109ae: 3953002c
+ CLR.B $32(A4) ;109b2: 422c0032
+ CLR.L D7 ;109b6: 4287
+ MOVE.B (A2),-2351(A4) ;109b8: 1952f6d1
+ CMPI.W #$4443,2(A4) ;109bc: 0c6c44430002
+ BEQ.S LAB_109D8 ;109c2: 6714
+ ADDQ.W #2,A2 ;109c4: 544a
+ MOVE.W LAB_108A0(PC),D3 ;109c6: 363afed8
+ MULU #$0003,D3 ;109ca: c6fc0003
+ MOVE.W $2C(A4),D2 ;109ce: 342c002c
+ MULU D2,D3 ;109d2: c6c2
+ ADDA.L D3,A2 ;109d4: d5c3
+ BRA.S LAB_10A42 ;109d6: 606a
+LAB_109D8:
+ TST.W $2C(A4) ;109d8: 4a6c002c
+ BNE.S LAB_109F6 ;109dc: 6618
+ ADDQ.W #2,A2 ;109de: 544a
+ MOVE.W LAB_108A0(PC),D3 ;109e0: 363afebe
+ MULU #$0003,D3 ;109e4: c6fc0003
+ SUBQ.W #1,D3 ;109e8: 5343
+ MOVE.W D3,$100(A4) ;109ea: 39430100
+ MOVE.L A2,$F8(A4) ;109ee: 294a00f8
+ ST $FE(A4) ;109f2: 50ec00fe
+LAB_109F6:
+ LEA LAB_112D2(PC),A2 ;109f6: 45fa08da
+ MOVEM.L A0/A2,-(A7) ;109fa: 48e700a0
+ MOVEA.L $F8(A4),A0 ;109fe: 206c00f8
+ MOVE.W $100(A4),D5 ;10a02: 3a2c0100
+ MOVE.W $FC(A4),D3 ;10a06: 362c00fc
+ MOVE.W $FE(A4),D0 ;10a0a: 302c00fe
+LAB_10A0E:
+ TST.W D0 ;10a0e: 4a40
+ BPL.S LAB_10A22 ;10a10: 6a10
+ CLR.W D0 ;10a12: 4240
+ MOVE.B (A0)+,D0 ;10a14: 1018
+ ST D3 ;10a16: 50c3
+ BPL.S LAB_10A1E ;10a18: 6a04
+ CLR.W D3 ;10a1a: 4243
+ NOT.B D0 ;10a1c: 4600
+LAB_10A1E:
+ MOVE.W D0,$FE(A4) ;10a1e: 394000fe
+LAB_10A22:
+ SUBQ.W #1,D0 ;10a22: 5340
+ TST.W D3 ;10a24: 4a43
+ BNE.S LAB_10A2C ;10a26: 6604
+ CLR.B (A2)+ ;10a28: 421a
+ BRA.S LAB_10A2E ;10a2a: 6002
+LAB_10A2C:
+ MOVE.B (A0)+,(A2)+ ;10a2c: 14d8
+LAB_10A2E:
+ DBF D5,LAB_10A0E ;10a2e: 51cdffde
+ MOVE.W D0,$FE(A4) ;10a32: 394000fe
+ MOVE.W D3,$FC(A4) ;10a36: 394300fc
+ MOVE.L A0,$F8(A4) ;10a3a: 294800f8
+ MOVEM.L (A7)+,A0/A2 ;10a3e: 4cdf0500
+LAB_10A42:
+ PEA LAB_10896(PC) ;10a42: 487afe52
+LAB_10A46:
+ CLR.W D5 ;10a46: 4245
+ MOVEA.L (A7),A1 ;10a48: 2257
+ LEA LAB_10836(PC),A5 ;10a4a: 4bfafdea
+ ADDA.W (A1)+,A5 ;10a4e: dad9
+ MOVE.L A1,(A7) ;10a50: 2e89
+ MOVE.B (A2)+,D5 ;10a52: 1a1a
+ MOVE.B (A2)+,D6 ;10a54: 1c1a
+ LSL.W #8,D6 ;10a56: e14e
+ MOVE.B (A2)+,D6 ;10a58: 1c1a
+ MOVE.B D6,5(A5) ;10a5a: 1b460005
+ MOVE.W D6,D0 ;10a5e: 3006
+ ANDI.W #$f000,D0 ;10a60: 0240f000
+ ROL.W #4,D0 ;10a64: e958
+ BCLR #7,D5 ;10a66: 08850007
+ BEQ.S LAB_10A70 ;10a6a: 6704
+ BSET #4,D0 ;10a6c: 08c00004
+LAB_10A70:
+ BCLR #6,D5 ;10a70: 08850006
+ BEQ.S LAB_10A7A ;10a74: 6704
+ BSET #5,D0 ;10a76: 08c00005
+LAB_10A7A:
+ TST.W D0 ;10a7a: 4a40
+ BEQ.S LAB_10A9C ;10a7c: 671e
+ SUBQ.B #1,D0 ;10a7e: 5300
+ MOVE.B D0,1(A5) ;10a80: 1b400001
+ CLR.B $17(A5) ;10a84: 422d0017
+ ASL.W #3,D0 ;10a88: e740
+ LEA 0(A6,D0.W),A3 ;10a8a: 47f60000
+ MOVEQ #0,D0 ;10a8e: 7000
+ MOVE.B 6(A3),D0 ;10a90: 102b0006
+ BSR.W LAB_1070C ;10a94: 6100fc76
+ MOVE.B D0,2(A5) ;10a98: 1b400002
+LAB_10A9C:
+ MOVE.W D6,D0 ;10a9c: 3006
+ LSR.W #8,D0 ;10a9e: e048
+ ANDI.B #$0f,D0 ;10aa0: 0200000f
+ MOVE.B D0,4(A5) ;10aa4: 1b400004
+ BEQ.W LAB_10B98 ;10aa8: 670000ee
+ CMP.B #$0f,D0 ;10aac: b03c000f
+ BNE.S LAB_10B1E ;10ab0: 666c
+ TST.B D6 ;10ab2: 4a06
+ BEQ.S LAB_10B16 ;10ab4: 6760
+ CMP.B #$f0,D6 ;10ab6: bc3c00f0
+ BHI.S LAB_10AC8 ;10aba: 620c
+ CLR.L D0 ;10abc: 4280
+ MOVE.B D6,D0 ;10abe: 1006
+ BSR.W SUB_10E88 ;10ac0: 610003c6
+ BRA.W LAB_10B98 ;10ac4: 600000d2
+LAB_10AC8:
+ CMP.B #$f2,D6 ;10ac8: bc3c00f2
+ BNE.S LAB_10AD8 ;10acc: 660a
+ MOVE.B D5,0(A5) ;10ace: 1b450000
+ CLR.W D5 ;10ad2: 4245
+ BRA.W LAB_10B98 ;10ad4: 600000c2
+LAB_10AD8:
+ CMP.B #$fe,D6 ;10ad8: bc3c00fe
+ BNE.S LAB_10AE6 ;10adc: 6608
+ CLR.W $28(A4) ;10ade: 426c0028
+ BRA.W LAB_10B98 ;10ae2: 600000b4
+LAB_10AE6:
+ CMP.B #$fd,D6 ;10ae6: bc3c00fd
+ BNE.W LAB_10B98 ;10aea: 660000ac
+ CMP.B #$03,D7 ;10aee: be3c0003
+ BHI.W LAB_10B98 ;10af2: 620000a4
+ LEA LAB_11230(PC),A0 ;10af6: 41fa0738
+ TST.B D5 ;10afa: 4a05
+ BEQ.W LAB_10B98 ;10afc: 6700009a
+ SUBQ.B #1,D5 ;10b00: 5305
+ ADD.B D5,D5 ;10b02: da05
+ MOVE.W 0(A0,D5.W),D0 ;10b04: 30305000
+ MOVEA.L $A(A5),A0 ;10b08: 206d000a
+ MOVE.W D0,6(A0) ;10b0c: 31400006
+ CLR.B D5 ;10b10: 4205
+ BRA.W LAB_10B98 ;10b12: 60000084
+LAB_10B16:
+ ST -2354(A4) ;10b16: 50ecf6ce
+ BRA.W LAB_10B98 ;10b1a: 6000007c
+LAB_10B1E:
+ CMP.B #$0c,D0 ;10b1e: b03c000c
+ BNE.S LAB_10B46 ;10b22: 6622
+ MOVE.B D6,D0 ;10b24: 1006
+ LSR.B #4,D0 ;10b26: e808
+ MULU #$000a,D0 ;10b28: c0fc000a
+ MOVE.B D6,D1 ;10b2c: 1206
+ ANDI.B #$0f,D1 ;10b2e: 0201000f
+ ADD.B D1,D0 ;10b32: d001
+ CMP.B #$40,D0 ;10b34: b03c0040
+ BLS.S LAB_10B3C ;10b38: 6302
+ MOVEQ #$40,D0 ;10b3a: 7040
+LAB_10B3C:
+ BSR.W LAB_1070C ;10b3c: 6100fbce
+ MOVE.B D0,2(A5) ;10b40: 1b400002
+ BRA.S LAB_10B98 ;10b44: 6052
+LAB_10B46:
+ CMP.B #$0b,D0 ;10b46: b03c000b
+ BNE.S LAB_10B64 ;10b4a: 6618
+ MOVE.W D6,D0 ;10b4c: 3006
+ ANDI.W #$00ff,D0 ;10b4e: 024000ff
+ CMP.W $1FA(A6),D0 ;10b52: b06e01fa
+ BHI.S LAB_10B98 ;10b56: 6240
+ MOVE.W D0,$2E(A4) ;10b58: 3940002e
+ MOVE.B #$01,-2354(A4) ;10b5c: 197c0001f6ce
+ BRA.S LAB_10B98 ;10b62: 6034
+LAB_10B64:
+ CMP.B #$03,D0 ;10b64: b03c0003
+ BNE.S LAB_10B98 ;10b68: 662e
+ SUBQ.B #1,D5 ;10b6a: 5305
+ BMI.S LAB_10BBE ;10b6c: 6b50
+ CMP.B #$03,D7 ;10b6e: be3c0003
+ BHI.S LAB_10BBE ;10b72: 624a
+ LEA LAB_11230(PC),A0 ;10b74: 41fa06ba
+ ADD.B $2FE(A6),D5 ;10b78: da2e02fe
+ CLR.W D0 ;10b7c: 4240
+ MOVE.B 1(A5),D0 ;10b7e: 102d0001
+ ASL.W #3,D0 ;10b82: e740
+ ADD.B 7(A6,D0.W),D5 ;10b84: da360007
+ BMI.S LAB_10BBE ;10b88: 6b34
+ ADD.W D5,D5 ;10b8a: da45
+ MOVE.W 0(A0,D5.W),$14(A5) ;10b8c: 3b7050000014
+ MOVE.B D6,7(A5) ;10b92: 1b460007
+ CLR.W D5 ;10b96: 4245
+LAB_10B98:
+ TST.B D5 ;10b98: 4a05
+ BEQ.S LAB_10BBE ;10b9a: 6722
+ MOVE.B D5,0(A5) ;10b9c: 1b450000
+ MOVE.W D7,D0 ;10ba0: 3007
+ MOVE.W D5,D1 ;10ba2: 3205
+ CLR.W D3 ;10ba4: 4243
+ MOVE.B 1(A5),D3 ;10ba6: 162d0001
+ MOVE.W D3,D2 ;10baa: 3403
+ ASL.W #3,D3 ;10bac: e743
+ LEA 0(A6,D3.W),A3 ;10bae: 47f63000
+ MOVE.W D2,D3 ;10bb2: 3602
+ CLR.W D2 ;10bb4: 4242
+ MOVE.B 2(A5),D2 ;10bb6: 142d0002
+ BSR.W LAB_10728 ;10bba: 6100fb6c
+LAB_10BBE:
+ ADDQ.B #1,D7 ;10bbe: 5207
+ CMP.W LAB_108A0(PC),D7 ;10bc0: be7afcde
+ BLT.W LAB_10A46 ;10bc4: 6d00fe80
+ ADDQ.L #4,A7 ;10bc8: 588f
+LAB_10BCA:
+ CLR.L D7 ;10bca: 4287
+ LEA LAB_10896(PC),A2 ;10bcc: 45fafcc8
+LAB_10BD0:
+ LEA LAB_10836(PC),A5 ;10bd0: 4bfafc64
+ ADDA.W (A2)+,A5 ;10bd4: dada
+ CLR.W D5 ;10bd6: 4245
+ CLR.W D4 ;10bd8: 4244
+ MOVE.B 4(A5),D6 ;10bda: 1c2d0004
+ MOVE.B 5(A5),D4 ;10bde: 182d0005
+ CMP.B #$03,D7 ;10be2: be3c0003
+ BHI.W LAB_10E78 ;10be6: 62000290
+ CMP.B #$01,D6 ;10bea: bc3c0001
+ BNE.S LAB_10C20 ;10bee: 6630
+ BTST #5,$2FF(A6) ;10bf0: 082e000502ff
+ BEQ.S LAB_10C04 ;10bf6: 670c
+ MOVE.B $301(A6),D0 ;10bf8: 102e0301
+ CMP.B $32(A4),D0 ;10bfc: b02c0032
+ BLE.W LAB_10E78 ;10c00: 6f000276
+LAB_10C04:
+ SUB.W D4,8(A5) ;10c04: 996d0008
+ MOVE.W 8(A5),D5 ;10c08: 3a2d0008
+ CMP.W #$0071,D5 ;10c0c: ba7c0071
+ BGE.W LAB_10E58 ;10c10: 6c000246
+ MOVE.W #$0071,D5 ;10c14: 3a3c0071
+ MOVE.W D5,8(A5) ;10c18: 3b450008
+ BRA.W LAB_10E58 ;10c1c: 6000023a
+LAB_10C20:
+ CMP.B #$02,D6 ;10c20: bc3c0002
+ BNE.S LAB_10C56 ;10c24: 6630
+ BTST #5,$2FF(A6) ;10c26: 082e000502ff
+ BEQ.S LAB_10C3A ;10c2c: 670c
+ MOVE.B $301(A6),D0 ;10c2e: 102e0301
+ CMP.B $32(A4),D0 ;10c32: b02c0032
+ BLE.W LAB_10E78 ;10c36: 6f000240
+LAB_10C3A:
+ ADD.W D4,8(A5) ;10c3a: d96d0008
+ MOVE.W 8(A5),D5 ;10c3e: 3a2d0008
+ CMP.W #$0358,D5 ;10c42: ba7c0358
+ BLE.W LAB_10E58 ;10c46: 6f000210
+ MOVE.W #$0358,D5 ;10c4a: 3a3c0358
+ MOVE.W D5,8(A5) ;10c4e: 3b450008
+ BRA.W LAB_10E58 ;10c52: 60000204
+LAB_10C56:
+ TST.B D6 ;10c56: 4a06
+ BNE.S LAB_10C88 ;10c58: 662e
+ TST.B D4 ;10c5a: 4a04
+ BEQ.W LAB_10E78 ;10c5c: 6700021a
+ MOVE.B 0(A5),D1 ;10c60: 122d0000
+ BSR.W LAB_10EE2 ;10c64: 6100027c
+ SUBQ.B #1,D4 ;10c68: 5304
+ ADD.B $2FE(A6),D4 ;10c6a: d82e02fe
+ CLR.W D0 ;10c6e: 4240
+ MOVE.B 1(A5),D0 ;10c70: 102d0001
+ ASL.W #3,D0 ;10c74: e740
+ ADD.B 7(A6,D0.W),D4 ;10c76: d8360007
+ ADD.B D4,D4 ;10c7a: d804
+ LEA LAB_11230(PC),A1 ;10c7c: 43fa05b2
+ MOVE.W 0(A1,D4.W),D5 ;10c80: 3a314000
+ BRA.W LAB_10E58 ;10c84: 600001d2
+LAB_10C88:
+ CMP.B #$0a,D6 ;10c88: bc3c000a
+ BEQ.S LAB_10C94 ;10c8c: 6706
+ CMP.B #$0d,D6 ;10c8e: bc3c000d
+ BNE.S LAB_10CD6 ;10c92: 6642
+LAB_10C94:
+ BTST #5,$2FF(A6) ;10c94: 082e000502ff
+ BEQ.S LAB_10CA8 ;10c9a: 670c
+ MOVE.B $301(A6),D0 ;10c9c: 102e0301
+ CMP.B $32(A4),D0 ;10ca0: b02c0032
+ BLE.W LAB_10E78 ;10ca4: 6f0001d2
+LAB_10CA8:
+ MOVE.B D4,D1 ;10ca8: 1204
+ MOVE.B 2(A5),D0 ;10caa: 102d0002
+ ANDI.B #$f0,D1 ;10cae: 020100f0
+ BNE.S LAB_10CC2 ;10cb2: 660e
+ SUB.B D4,D0 ;10cb4: 9004
+ BPL.S LAB_10CBA ;10cb6: 6a02
+ CLR.B D0 ;10cb8: 4200
+LAB_10CBA:
+ MOVE.B D0,2(A5) ;10cba: 1b400002
+ BRA.W LAB_10E58 ;10cbe: 60000198
+LAB_10CC2:
+ LSR.B #4,D1 ;10cc2: e809
+ ADD.B D1,D0 ;10cc4: d001
+ CMP.B #$40,D0 ;10cc6: b03c0040
+ BLE.S LAB_10CCE ;10cca: 6f02
+ MOVEQ #$40,D0 ;10ccc: 7040
+LAB_10CCE:
+ MOVE.B D0,2(A5) ;10cce: 1b400002
+ BRA.W LAB_10E58 ;10cd2: 60000184
+LAB_10CD6:
+ CMP.B #$05,D6 ;10cd6: bc3c0005
+ BNE.S LAB_10CF0 ;10cda: 6614
+ MOVE.W 8(A5),D5 ;10cdc: 3a2d0008
+ CMPI.B #$03,$32(A4) ;10ce0: 0c2c00030032
+ BGE.W LAB_10E58 ;10ce6: 6c000170
+ SUB.W D4,D5 ;10cea: 9a44
+ BRA.W LAB_10E58 ;10cec: 6000016a
+LAB_10CF0:
+ CMP.B #$03,D6 ;10cf0: bc3c0003
+ BNE.S LAB_10D3E ;10cf4: 6648
+ BTST #5,$2FF(A6) ;10cf6: 082e000502ff
+ BEQ.S LAB_10D0A ;10cfc: 670c
+ MOVE.B $301(A6),D0 ;10cfe: 102e0301
+ CMP.B $32(A4),D0 ;10d02: b02c0032
+ BLE.W LAB_10E78 ;10d06: 6f000170
+LAB_10D0A:
+ MOVE.W $14(A5),D0 ;10d0a: 302d0014
+ BEQ.W LAB_10E58 ;10d0e: 67000148
+ MOVE.W 8(A5),D1 ;10d12: 322d0008
+ MOVE.B 7(A5),D4 ;10d16: 182d0007
+ CMP.W D0,D1 ;10d1a: b240
+ BHI.S LAB_10D26 ;10d1c: 6208
+ ADD.W D4,D1 ;10d1e: d244
+ CMP.W D0,D1 ;10d20: b240
+ BGE.S LAB_10D2C ;10d22: 6c08
+ BRA.S LAB_10D34 ;10d24: 600e
+LAB_10D26:
+ SUB.W D4,D1 ;10d26: 9244
+ CMP.W D0,D1 ;10d28: b240
+ BGT.S LAB_10D34 ;10d2a: 6e08
+LAB_10D2C:
+ MOVE.W $14(A5),D1 ;10d2c: 322d0014
+ CLR.W $14(A5) ;10d30: 426d0014
+LAB_10D34:
+ MOVE.W D1,8(A5) ;10d34: 3b410008
+ MOVE.W D1,D5 ;10d38: 3a01
+ BRA.W LAB_10E58 ;10d3a: 6000011c
+LAB_10D3E:
+ CMP.B #$0c,D6 ;10d3e: bc3c000c
+ BNE.S LAB_10D50 ;10d42: 660c
+ TST.B $32(A4) ;10d44: 4a2c0032
+ BNE.W LAB_10E78 ;10d48: 6600012e
+ BRA.W LAB_10E58 ;10d4c: 6000010a
+LAB_10D50:
+ CMP.B #$04,D6 ;10d50: bc3c0004
+ BNE.S LAB_10DC0 ;10d54: 666a
+ TST.B D4 ;10d56: 4a04
+ BEQ.S LAB_10D5E ;10d58: 6704
+ MOVE.B D4,$17(A5) ;10d5a: 1b440017
+LAB_10D5E:
+ MOVE.B $16(A5),D0 ;10d5e: 102d0016
+ LSR.B #1,D0 ;10d62: e208
+ ANDI.W #$001f,D0 ;10d64: 0240001f
+ CLR.W D1 ;10d68: 4241
+ MOVE.B LAB_10DA0(PC,D0.W),D1 ;10d6a: 123b0034
+ MOVE.B $17(A5),D0 ;10d6e: 102d0017
+ ANDI.W #$000f,D0 ;10d72: 0240000f
+ MULU D0,D1 ;10d76: c2c0
+ LSR.W #6,D1 ;10d78: ec49
+ MOVE.W 8(A5),D5 ;10d7a: 3a2d0008
+ BTST #6,$16(A5) ;10d7e: 082d00060016
+ BNE.S LAB_10D8A ;10d84: 6604
+ ADD.W D1,D5 ;10d86: da41
+ BRA.S LAB_10D8C ;10d88: 6002
+LAB_10D8A:
+ SUB.W D1,D5 ;10d8a: 9a41
+LAB_10D8C:
+ MOVE.B $17(A5),D0 ;10d8c: 102d0017
+ LSR.B #4,D0 ;10d90: e808
+ ANDI.B #$0f,D0 ;10d92: 0200000f
+ ADDQ.W #1,D0 ;10d96: 5240
+ ADD.B D0,$16(A5) ;10d98: d12d0016
+ BRA.W LAB_10E58 ;10d9c: 600000ba
+LAB_10DA0:
+ DC.L $0018314a,$61788da1,$b4c5d4e0,$ebf4fafd ;10da0
+ DC.L $fffdfaf4,$ebe0d4c5,$b4a18d78,$614a3118 ;10db0
+LAB_10DC0:
+ CMP.B #$0f,D6 ;10dc0: bc3c000f
+ BNE.W LAB_10E52 ;10dc4: 6600008c
+ CMP.B #$ff,D4 ;10dc8: b83c00ff
+ BNE.S LAB_10DD8 ;10dcc: 660a
+ MOVE.W D7,D0 ;10dce: 3007
+ BSR.W LAB_106FA ;10dd0: 6100f928
+ BRA.W LAB_10E78 ;10dd4: 600000a2
+LAB_10DD8:
+ CMP.B #$f1,D4 ;10dd8: b83c00f1
+ BNE.S LAB_10DEA ;10ddc: 660c
+ CMPI.B #$03,$32(A4) ;10dde: 0c2c00030032
+ BNE.W LAB_10E78 ;10de4: 66000092
+ BRA.S LAB_10E0C ;10de8: 6022
+LAB_10DEA:
+ CMP.B #$f2,D4 ;10dea: b83c00f2
+ BNE.S LAB_10DFC ;10dee: 660c
+ CMPI.B #$03,$32(A4) ;10df0: 0c2c00030032
+ BNE.W LAB_10E78 ;10df6: 66000080
+ BRA.S LAB_10E0C ;10dfa: 6010
+LAB_10DFC:
+ CMP.B #$f3,D4 ;10dfc: b83c00f3
+ BNE.S LAB_10E32 ;10e00: 6630
+ MOVE.B $32(A4),D0 ;10e02: 102c0032
+ ANDI.B #$06,D0 ;10e06: 02000006
+ BEQ.S LAB_10E78 ;10e0a: 676c
+LAB_10E0C:
+ CLR.W D0 ;10e0c: 4240
+ MOVE.B 1(A5),D0 ;10e0e: 102d0001
+ ASL.W #3,D0 ;10e12: e740
+ LEA 0(A6,D0.W),A3 ;10e14: 47f60000
+ MOVE.W D7,D0 ;10e18: 3007
+ CLR.W D1 ;10e1a: 4241
+ MOVE.B 0(A5),D1 ;10e1c: 122d0000
+ CLR.W D2 ;10e20: 4242
+ MOVE.B 2(A5),D2 ;10e22: 142d0002
+ CLR.W D3 ;10e26: 4243
+ MOVE.B 1(A5),D3 ;10e28: 162d0001
+ BSR.W LAB_10728 ;10e2c: 6100f8fa
+ BRA.S LAB_10E78 ;10e30: 6046
+LAB_10E32:
+ CMP.B #$f8,D4 ;10e32: b83c00f8
+ BEQ.S LAB_10E48 ;10e36: 6710
+ CMP.B #$f9,D4 ;10e38: b83c00f9
+ BNE.S LAB_10E78 ;10e3c: 663a
+ BCLR #1,CIAA_PRA ;10e3e: 08b9000100bfe001
+ BRA.S LAB_10E78 ;10e46: 6030
+LAB_10E48:
+ BSET #1,CIAA_PRA ;10e48: 08f9000100bfe001
+ BRA.S LAB_10E78 ;10e50: 6026
+LAB_10E52:
+ CMP.B #$0c,D6 ;10e52: bc3c000c
+ BNE.S LAB_10E78 ;10e56: 6620
+LAB_10E58:
+ TST.W D5 ;10e58: 4a45
+ BNE.S LAB_10E60 ;10e5a: 6604
+ MOVE.W 8(A5),D5 ;10e5c: 3a2d0008
+LAB_10E60:
+ MOVEA.L $A(A5),A1 ;10e60: 226d000a
+ MOVE.W D5,6(A1) ;10e64: 33450006
+ CLR.W D5 ;10e68: 4245
+ TST.W $48(A4) ;10e6a: 4a6c0048
+ BNE.S LAB_10E78 ;10e6e: 6608
+ MOVE.B 2(A5),D5 ;10e70: 1a2d0002
+ MOVE.W D5,8(A1) ;10e74: 33450008
+LAB_10E78:
+ ADDQ.B #1,D7 ;10e78: 5207
+ CMP.W LAB_108A0(PC),D7 ;10e7a: be7afa24
+ BLT.W LAB_10BD0 ;10e7e: 6d00fd50
+ BSR.W LAB_10814 ;10e82: 6100f990
+ RTS ;10e86: 4e75
+SUB_10E88:
+ LEA LAB_111D0(PC),A4 ;10e88: 49fa0346
+ TST.B $4D(A4) ;10e8c: 4a2c004d
+ BEQ.S LAB_10ECA ;10e90: 6738
+ MOVE.L LAB_112C0(PC),D1 ;10e92: 223a042c
+ BEQ.S SUB_10EB4 ;10e96: 671c
+ MOVEA.L LAB_111D8(PC),A0 ;10e98: 207a033e
+ MOVE.B D0,$2FD(A0) ;10e9c: 114002fd
+ CMP.B #$0a,D0 ;10ea0: b03c000a
+ BHI.S SUB_10EB4 ;10ea4: 620e
+ SUBQ.B #1,D0 ;10ea6: 5300
+ MOVE.B D0,$301(A0) ;10ea8: 11400301
+ ADD.W D0,D0 ;10eac: d040
+ MOVE.W LAB_10ECE(PC,D0.W),D1 ;10eae: 323b001e
+ BRA.S LAB_10EBC ;10eb2: 6008
+SUB_10EB4:
+ MOVE.L #$00072bf0,D1 ;10eb4: 223c00072bf0
+ DIVU D0,D1 ;10eba: 82c0
+LAB_10EBC:
+ MOVE.B D1,CIAB_TALO ;10ebc: 13c100bfd400
+ LSR.W #8,D1 ;10ec2: e049
+ MOVE.B D1,CIAB_TAHI ;10ec4: 13c100bfd500
+LAB_10ECA:
+ RTS ;10eca: 4e75
+ DC.W $0f00 ;10ecc
+LAB_10ECE:
+ DC.L $097112e1,$1c5225c2,$2f3338a4,$42144b84 ;10ece
+ DC.L $53bc5e63 ;10ede
+LAB_10EE2:
+ MOVE.B $32(A4),D0 ;10ee2: 102c0032
+ TST.B D0 ;10ee6: 4a00
+ BEQ.S LAB_10EF0 ;10ee8: 6706
+ CMP.B #$03,D0 ;10eea: b03c0003
+ BNE.S LAB_10EF8 ;10eee: 6608
+LAB_10EF0:
+ ANDI.B #$0f,D4 ;10ef0: 0204000f
+ ADD.B D1,D4 ;10ef4: d801
+ RTS ;10ef6: 4e75
+LAB_10EF8:
+ CMP.B #$01,D0 ;10ef8: b03c0001
+ BEQ.S LAB_10F04 ;10efc: 6706
+ CMP.B #$04,D0 ;10efe: b03c0004
+ BNE.S LAB_10F0A ;10f02: 6606
+LAB_10F04:
+ LSR.B #4,D4 ;10f04: e80c
+ ADD.B D1,D4 ;10f06: d801
+ RTS ;10f08: 4e75
+LAB_10F0A:
+ MOVE.B D1,D4 ;10f0a: 1801
+ RTS ;10f0c: 4e75
+LAB_10F0E:
+ CLR.L D2 ;10f0e: 4282
+ MOVE.W 4(A0),D0 ;10f10: 30280004
+ MOVE.L A0,D0 ;10f14: 2008
+ LEA LAB_11230(PC),A0 ;10f16: 41fa0318
+ ADD.B D1,D1 ;10f1a: d201
+ MOVE.W 0(A0,D1.W),D5 ;10f1c: 3a301000
+ MOVEA.L D0,A0 ;10f20: 2040
+ ADDQ.L #6,D0 ;10f22: 5c80
+ MOVE.L (A0),D1 ;10f24: 2210
+ MOVE.W (A3),D2 ;10f26: 3413
+ MOVE.W 2(A3),D3 ;10f28: 362b0002
+ RTS ;10f2c: 4e75
+LAB_10F2E:
+ MOVEM.L D6-D7/A1,-(A7) ;10f2e: 48e70340
+ MOVEQ #0,D7 ;10f32: 7e00
+ MOVE.W D1,D7 ;10f34: 3e01
+ DIVU #$000c,D7 ;10f36: 8efc000c
+ MOVE.L D7,D5 ;10f3a: 2a07
+ SWAP D5 ;10f3c: 4845
+ MOVE.L (A0),D1 ;10f3e: 2210
+ CMP.B #$02,D0 ;10f40: b03c0002
+ BNE.S LAB_10F4E ;10f44: 6608
+ ADDQ.L #6,D7 ;10f46: 5c87
+ DIVU #$0007,D1 ;10f48: 82fc0007
+ BRA.S LAB_10F52 ;10f4c: 6004
+LAB_10F4E:
+ DIVU #$001f,D1 ;10f4e: 82fc001f
+LAB_10F52:
+ MOVE.L D1,D0 ;10f52: 2001
+ MOVE.W (A3),D2 ;10f54: 3413
+ MOVE.W 2(A3),D3 ;10f56: 362b0002
+ CLR.W D6 ;10f5a: 4246
+ MOVE.B LAB_10F84(PC,D7.W),D6 ;10f5c: 1c3b7026
+ LSL.W D6,D2 ;10f60: ed6a
+ LSL.W D6,D3 ;10f62: ed6b
+ LSL.W D6,D1 ;10f64: ed69
+ MOVE.B LAB_10F90(PC,D7.W),D6 ;10f66: 1c3b7028
+ MULU D6,D0 ;10f6a: c0c6
+ ADD.L A0,D0 ;10f6c: d088
+ ADDQ.L #6,D0 ;10f6e: 5c80
+ LEA LAB_11230(PC),A1 ;10f70: 43fa02be
+ ADD.B LAB_10F9C(PC,D7.W),D5 ;10f74: da3b7026
+ ADD.B D5,D5 ;10f78: da05
+ MOVE.W 0(A1,D5.W),D5 ;10f7a: 3a315000
+ MOVEM.L (A7)+,D6-D7/A1 ;10f7e: 4cdf02c0
+ RTS ;10f82: 4e75
+LAB_10F84:
+ DC.L $04030201,$01000202,$01010000 ;10f84
+LAB_10F90:
+ DC.L $0f070301,$01000303,$01010000 ;10f90
+LAB_10F9C:
+ DC.L $0c0c0c0c,$1818000c,$0c181824 ;10f9c
+SUB_10FA8:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;10fa8: 48e7fffe
+ BSR.W SUB_10FB6 ;10fac: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;10fb0: 4cdf7fff
+ RTS ;10fb4: 4e75
+SUB_10FB6:
+ LEA LAB_111D0(PC),A4 ;10fb6: 49fa0218
+ LEA LAB_10836(PC),A0 ;10fba: 41faf87a
+ MOVEQ #3,D0 ;10fbe: 7003
+ MOVE.L #$00dff0a0,D1 ;10fc0: 223c00dff0a0
+LAB_10FC6:
+ MOVE.L D1,$A(A0) ;10fc6: 2141000a
+ LEA $18(A0),A0 ;10fca: 41e80018
+ ADDI.W #$0010,D1 ;10fce: 06410010
+ DBF D0,LAB_10FC6 ;10fd2: 51c8fff2
+ MOVE.L A6,-(A7) ;10fd6: 2f0e
+ LEA LAB_1121E(PC),A0 ;10fd8: 41fa0244
+ CLR.B (A0) ;10fdc: 4210
+ BTST #1,CIAA_PRA ;10fde: 0839000100bfe001
+ SNE (A0) ;10fe6: 56d0
+ MOVE.L AUTO_INT1.W,$50(A4) ;10fe8: 297800640050
+ MOVE.L AUTO_INT6.W,$54(A4) ;10fee: 297800780054
+ MOVE.L AUTO_INT3.W,$58(A4) ;10ff4: 2978006c0058
+ MOVE.W INTENAR,$5C(A4) ;10ffa: 397900dff01c005c
+ MOVE.W #$4000,INTENA ;11002: 33fc400000dff09a
+ LEA LAB_108A2(PC),A0 ;1100a: 41faf896
+ MOVE.L A0,AUTO_INT6.W ;1100e: 21c80078
+ ANDI.B #$80,CIAB_CRA ;11012: 0239008000bfde00
+ MOVE.W #$e021,INTENA ;1101a: 33fce02100dff09a
+ ST $46(A4) ;11022: 50ec0046
+ MOVE.B #$81,CIAB_ICR ;11026: 13fc008100bfdd00
+ ST $4D(A4) ;1102e: 50ec004d
+ MOVEQ #6,D0 ;11032: 7006
+ BSR.W SUB_10EB4 ;11034: 6100fe7e
+ CLR.L D0 ;11038: 4280
+LAB_1103A:
+ MOVEA.L (A7)+,A6 ;1103a: 2c5f
+ RTS ;1103c: 4e75
+ BSR.S LAB_11044 ;1103e: 6104
+ MOVEQ #-1,D0 ;11040: 70ff
+ BRA.S LAB_1103A ;11042: 60f6
+LAB_11044:
+ LEA LAB_111D0(PC),A4 ;11044: 49fa018a
+ MOVE.L A6,-(A7) ;11048: 2f0e
+ MOVEA.L ABSEXECBASE,A6 ;1104a: 2c7900000004
+ LEA LAB_112C0(PC),A0 ;11050: 41fa026e
+ TST.L (A0) ;11054: 4a90
+ BEQ.S LAB_11064 ;11056: 670c
+ MOVEA.L A4,A0 ;11058: 204c
+ TST.W $28(A0) ;1105a: 4a680028
+ BEQ.S LAB_11064 ;1105e: 6704
+ BSR.W LAB_1117C ;11060: 6100011a
+LAB_11064:
+ LEA LAB_1121D(PC),A0 ;11064: 41fa01b7
+ CLR.B (A0)+ ;11068: 4218
+ BCLR #1,CIAA_PRA ;1106a: 08b9000100bfe001
+ MOVE.B (A0),D0 ;11072: 1010
+ ANDI.B #$02,D0 ;11074: 02000002
+ OR.B D0,CIAA_PRA ;11078: 813900bfe001
+ CLR.B $46(A4) ;1107e: 422c0046
+ MOVE.W $5C(A4),D0 ;11082: 302c005c
+ MOVE.W #$4000,INTENA ;11086: 33fc400000dff09a
+ MOVE.L LAB_11220(PC),AUTO_INT1.W ;1108e: 21fa01900064
+ MOVE.L LAB_11224(PC),AUTO_INT6.W ;11094: 21fa018e0078
+ MOVE.L LAB_11228(PC),AUTO_INT3.W ;1109a: 21fa018c006c
+ MOVE.W #$2021,INTENA ;110a0: 33fc202100dff09a
+ ORI.W #$c000,D0 ;110a8: 0040c000
+ MOVE.W D0,INTENA ;110ac: 33c000dff09a
+ MOVEA.L (A7)+,A6 ;110b2: 2c5f
+LAB_110B4:
+ RTS ;110b4: 4e75
+LAB_110B6:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;110b6: 48e7fffe
+ BSR.W SUB_110C4 ;110ba: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;110be: 4cdf7fff
+ RTS ;110c2: 4e75
+SUB_110C4:
+ LEA LAB_111D0(PC),A4 ;110c4: 49fa010a
+ TST.B $4D(A4) ;110c8: 4a2c004d
+ BEQ.S LAB_110B4 ;110cc: 67e6
+ MOVEA.L A4,A0 ;110ce: 204c
+ LEA $28(A0),A1 ;110d0: 43e80028
+ CLR.L (A1)+ ;110d4: 4299
+ CLR.L (A1)+ ;110d6: 4299
+ CLR.W (A1) ;110d8: 4251
+ NOT.W (A1)+ ;110da: 4659
+ MOVE.B #$05,(A1) ;110dc: 12bc0005
+ MOVEA.L 8(A0),A1 ;110e0: 22680008
+ CLR.W $48(A4) ;110e4: 426c0048
+ BTST #0,$2FF(A1) ;110e8: 0829000002ff
+ BNE.S LAB_110FA ;110ee: 660a
+ BSET #1,CIAA_PRA ;110f0: 08f9000100bfe001
+ BRA.S LAB_11110 ;110f8: 6016
+LAB_110FA:
+ BCLR #1,CIAA_PRA ;110fa: 08b9000100bfe001
+ BRA.S LAB_11110 ;11102: 600c
+ MOVEM.L D0-D7/A0-A6,-(A7) ;11104: 48e7fffe
+ BSR.S LAB_11110 ;11108: 6106
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1110a: 4cdf7fff
+ RTS ;1110e: 4e75
+LAB_11110:
+ LEA LAB_111D0(PC),A4 ;11110: 49fa00be
+ TST.B $4D(A4) ;11114: 4a2c004d
+ BEQ.S LAB_1117A ;11118: 6760
+ MOVE.L A6,-(A7) ;1111a: 2f0e
+ MOVE.W #$4000,INTENA ;1111c: 33fc400000dff09a
+ MOVE.L A0,D0 ;11124: 2008
+ BNE.S LAB_11132 ;11126: 660a
+ LEA LAB_112C0(PC),A0 ;11128: 41fa0196
+ TST.L (A0) ;1112c: 4a90
+ BEQ.S LAB_11170 ;1112e: 6740
+ MOVEA.L (A0),A0 ;11130: 2050
+LAB_11132:
+ TST.B $46(A4) ;11132: 4a2c0046
+ BEQ.S LAB_11170 ;11136: 6738
+ MOVE.W $2E(A0),D1 ;11138: 3228002e
+ MOVEA.L 8(A4),A1 ;1113c: 226c0008
+ MOVE.W $2FC(A1),D0 ;11140: 302902fc
+ MOVE.B $312(A1),$4C(A4) ;11144: 19690312004c
+ ADDA.W D1,A1 ;1114a: d2c1
+ MOVE.B $1FC(A1),$2B(A0) ;1114c: 116901fc002b
+ MOVE.L A0,$F0(A4) ;11152: 294800f0
+ MOVE.W #$0002,$28(A0) ;11156: 317c00020028
+ BSR.W SUB_10E88 ;1115c: 6100fd2a
+ MOVE.B #$01,CIAB_CRA ;11160: 13fc000100bfde00
+ MOVE.W #$000f,DMACON ;11168: 33fc000f00dff096
+LAB_11170:
+ MOVE.W #$c000,INTENA ;11170: 33fcc00000dff09a
+ MOVEA.L (A7)+,A6 ;11178: 2c5f
+LAB_1117A:
+ RTS ;1117a: 4e75
+LAB_1117C:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1117c: 48e7fffe
+ BSR.W LAB_1118A ;11180: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;11184: 4cdf7fff
+ RTS ;11188: 4e75
+LAB_1118A:
+ LEA LAB_111D0(PC),A4 ;1118a: 49fa0044
+ TST.B $4D(A4) ;1118e: 4a2c004d
+ BEQ.S LAB_111A4 ;11192: 6710
+ TST.L $F0(A4) ;11194: 4aac00f0
+ BEQ.S LAB_111A0 ;11198: 6706
+ MOVEA.L A4,A0 ;1119a: 204c
+ CLR.W $28(A0) ;1119c: 42680028
+LAB_111A0:
+ CLR.W $48(A4) ;111a0: 426c0048
+LAB_111A4:
+ RTS ;111a4: 4e75
+ MOVE.B LAB_1121D(PC),D1 ;111a6: 123a0075
+ BEQ.S LAB_111CA ;111aa: 671e
+ TST.W D0 ;111ac: 4a40
+ BEQ.S LAB_111CC ;111ae: 671c
+ MOVE.L A4,-(A7) ;111b0: 2f0c
+ LEA LAB_111D0(PC),A4 ;111b2: 49fa001c
+ MOVEQ #0,D1 ;111b6: 7200
+ MOVE.B LAB_1121C(PC),D1 ;111b8: 123a0062
+ LSL.L #7,D1 ;111bc: ef89
+ MOVE.W D1,$48(A4) ;111be: 39410048
+ DIVU D0,D1 ;111c2: 82c0
+ MOVE.W D1,$4A(A4) ;111c4: 3941004a
+ MOVEA.L (A7)+,A4 ;111c8: 285f
+LAB_111CA:
+ RTS ;111ca: 4e75
+LAB_111CC:
+ BSR.S LAB_1117C ;111cc: 61ae
+ RTS ;111ce: 4e75
+LAB_111D0:
+ DS.L 2 ;111d0
+LAB_111D8:
+ DS.L $F ;111d8
+ DC.L $ff000000 ;11214
+LAB_11218:
+ DS.W 1 ;11218
+LAB_1121A:
+ DS.W 1 ;1121a
+LAB_1121C:
+ DS.B 1 ;1121c
+LAB_1121D:
+ DS.B 1 ;1121d
+LAB_1121E:
+ DS.W 1 ;1121e
+LAB_11220:
+ DS.L 1 ;11220
+LAB_11224:
+ DS.L 1 ;11224
+LAB_11228:
+ DS.L 2 ;11228
+LAB_11230:
+ DC.L $03580328,$02fa02d0,$02a60280,$025c023a ;11230
+ DC.L $021a01fc,$01e001c5,$01ac0194,$017d0168 ;11240
+ DC.L $01530140,$012e011d,$010d00fe,$00f000e2 ;11250
+ DC.L $00d600ca,$00be00b4,$00aa00a0,$0097008f ;11260
+ DC.L $0087007f,$00780071,$00d600ca,$00be00b4 ;11270
+ DC.L $00aa00a0,$0097008f,$0087007f,$00780071 ;11280
+ DC.L $00d600ca,$00be00b4,$00aa00a0,$0097008f ;11290
+ DC.L $0087007f,$00780071,$00d600ca,$00be00b4 ;112a0
+ DC.L $00aa00a0,$0097008f,$0087007f,$00780071 ;112b0
+LAB_112C0:
+ DS.L 1 ;112c0
+LAB_112C4:
+ DS.L 3 ;112c4
+ DS.W 1 ;112d0
+LAB_112D2:
+ DS.L $C ;112d2
+LAB_11302:
+ DS.W 1 ;11302
+ END
diff --git a/src/EndDEMO.cnf b/src/EndDEMO.cnf
new file mode 100644
index 0000000..5a7dabc
--- /dev/null
+++ b/src/EndDEMO.cnf
@@ -0,0 +1,50 @@
+MACHINE 68000
+ENTRY $00010000
+OFFSET $00010000
+CODE $00010000 - $00010112
+CODE $0001011A - $00010212
+CODE $000102D2 - $000103B6
+CODE $000103BA - $0001042A
+CODE $000105C4 - $000105F4
+CODE $000105FC - $00010672
+CODE $00010676 - $00010726
+CODE $00010728 - $00010834
+CODE $000108A2 - $00010DA0
+CODE $00010DC0 - $00010ECC
+CODE $00010EE2 - $00010F84
+CODE $00010FA8 - $000111D0
+TEXT $000104DC - $000104ED
+SYMBOL SUB_1006A $0001006A
+SYMBOL SUB_100F0 $000100F0
+SYMBOL SUB_1016C $0001016C
+SYMBOL SUB_1019E $0001019E
+SYMBOL SUB_101FE $000101FE
+SYMBOL SUB_102D2 $000102D2
+SYMBOL SUB_102F4 $000102F4
+SYMBOL SUB_10342 $00010342
+SYMBOL SUB_1037A $0001037A
+SYMBOL SUB_1038A $0001038A
+SYMBOL SUB_103BA $000103BA
+SYMBOL palette16 $0001042C
+SYMBOL palette32 $00010450
+SYMBOL filePtr $000104B0
+SYMBOL nox001 $000104C4
+SYMBOL nox002 $000104D0
+SYMBOL victory_mus $000104DC
+SYMBOL SUB_10662 $00010662
+SYMBOL SUB_1069C $0001069C
+SYMBOL SUB_106E4 $000106E4
+SYMBOL SUB_10E88 $00010E88
+SYMBOL SUB_10EB4 $00010EB4
+SYMBOL SUB_10FA8 $00010FA8
+SYMBOL SUB_10FB6 $00010FB6
+SYMBOL SUB_110C4 $000110C4
+LABEL LAB_104EE $000104EE
+LABEL LAB_105C4 $000105C4
+LABEL LAB_10676 $00010676
+LABEL LAB_10F2E $00010F2E
+BANNER $10000 EndDEMO - Knightmare victory screen program
+EQU LoadFile $1003C.W $1007C.W
+EQU FindDirEntry $1067C.W
+EQU MemoryFunc $10690.W
+END
diff --git a/src/RaTtDOS.asm b/src/RaTtDOS.asm
new file mode 100644
index 0000000..8683f53
--- /dev/null
+++ b/src/RaTtDOS.asm
@@ -0,0 +1,1656 @@
+; IRA V2.11 (Jun 19 2024) (c)1993-1995 Tim Ruehsen
+; (c)2009-2024 Frank Wille, (c)2014-2019 Nicolas Bastien
+
+EXT_0 EQU $0
+INT_WRONG EQU $60
+EXT_62 EQU $62
+EXT_BFD100 EQU $BFD100
+EXT_BFE001 EQU $BFE001
+EXT_DFF000 EQU $DFF000
+EXT_DFF01C EQU $DFF01C
+EXT_DFF09A EQU $DFF09A
+
+; Custom equates (from config file)
+dmaconr EQU 2
+
+
+
+
+ ORG $10000
+
+SECSTRT_0:
+; ------------------------------------------------------------------------------
+; RATT-DOS
+; Raw binary file of Crowther's disk operating system
+; Apparently it was faster than AmigaDOS, aided portability to Atari ST,
+; and made the game harder to pirate.
+; Functions from WHDLoad
+; In emulator it loads at memory location 0x138
+; ------------------------------------------------------------------------------
+ BRA.W InitDrSync ;10000: 60000246
+ BRA.W InitDrives ;10004: 60000250
+ BRA.W SetDirBuff ;10008: 600001b8
+ BRA.W SetDataBuff ;1000c: 600001ac
+ BRA.W RawRead ;10010: 600000ec
+ BRA.W SaveFile ;10014: 600000f0
+ BRA.W Ratt_Unknown ;10018: 600000f4
+ BRA.W LoadFile ;1001c: 600000f8
+ BRA.W MotorOff ;10020: 60000660
+ BRA.W RestoreInts ;10024: 600001ca
+ BRA.W SetInts ;10028: 600001b2
+ BRA.W SetDirSize ;1002c: 600001e4
+ BRA.W ClearDir ;10030: 600001f2
+ BRA.W GetEmptyTrack ;10034: 600001f6
+ BRA.W GetDiskDir ;10038: 60000164
+ BRA.W ResetDrives ;1003c: 6000018a
+ BRA.W GetDrives ;10040: 60000156
+ BRA.W WriteDir ;10044: 600000dc
+ BRA.W RenameFile ;10048: 60000130
+ BRA.W Write_Unknown ;1004c: 6000011a
+ BRA.W EmptyFunc ;10050: 6000014a
+ BRA.W GetBuffers ;10054: 6000015a
+ BRA.W FindDirEntry ;10058: 60000118
+ BRA.W SetSync ;1005c: 600001e2
+ BRA.W ChangeDisk ;10060: 60000244
+ BRA.W SpecMotorOff ;10064: 60000618
+ BRA.W Initialise ;10068: 60000dc2
+ BRA.W MemoryFunc ;1006c: 60000d3a
+ BRA.W FreeMem ;10070: 60000c28
+ BRA.W AllocateMem ;10074: 60000cfc
+ BRA.W SetDriveParams ;10078: 60000030
+ BRA.W AllocMemType ;1007c: 60000cb4
+ BRA.W GetMemInfo ;10080: 60000c0e
+SomeBytes:
+ DC.L $eff478ed,$bffb7e5e ;10084
+VersionStr:
+ ;1008c
+ ;DC.B $52,$41,$54,$54,$2d,$44,$4f,$53,$20,$56,$65,$72,$20,$32,$2e,$30
+ ;DC.B $2c,$28,$43,$29,$52,$41,$54,$54,$20,$31,$39,$39,$30,$00
+ DC.B "RATT-DOS Ver 2.0,(C)RATT 1990",0
+SetDriveParams:
+ LEA LAB_10FD4(PC),A0 ;100aa: 41fa0f28
+ CMP.W #$ffff,D0 ;100ae: b07cffff
+ BEQ.S LAB_100B8 ;100b2: 6704
+ MOVE.W D0,$A(A0) ;100b4: 3140000a
+LAB_100B8:
+ TST.W D1 ;100b8: 4a41
+ BMI.S LAB_100C0 ;100ba: 6b04
+ MOVE.W D1,4(A0) ;100bc: 31410004
+LAB_100C0:
+ TST.W D2 ;100c0: 4a42
+ BMI.S LAB_100C8 ;100c2: 6b04
+ MOVE.W D2,$E(A0) ;100c4: 3142000e
+LAB_100C8:
+ CMP.W #$18c0,D3 ;100c8: b67c18c0
+ BHI.S LAB_100D2 ;100cc: 6204
+ MOVE.W D3,8(A0) ;100ce: 31430008
+LAB_100D2:
+ CMP.W #$00a3,D4 ;100d2: b87c00a3
+ BHI.S LAB_100DC ;100d6: 6204
+ MOVE.W D4,$C(A0) ;100d8: 3144000c
+LAB_100DC:
+ TST.W D6 ;100dc: 4a46
+ BMI.S LAB_100E4 ;100de: 6b04
+ MOVE.W D6,0(A0) ;100e0: 31460000
+LAB_100E4:
+ TST.W D5 ;100e4: 4a45
+ BMI.S LAB_100EC ;100e6: 6b04
+ MOVE.W D5,2(A0) ;100e8: 31450002
+LAB_100EC:
+ MOVE.W (A0)+,D6 ;100ec: 3c18
+ MOVE.W (A0)+,D5 ;100ee: 3a18
+ MOVE.W (A0)+,D1 ;100f0: 3218
+ MOVE.L (A0)+,D3 ;100f2: 2618
+ MOVE.W (A0)+,D0 ;100f4: 3018
+ MOVE.W (A0)+,D4 ;100f6: 3818
+ MOVE.W (A0)+,D2 ;100f8: 3418
+ BRA.W ResetDrives ;100fa: 600000cc
+RawRead:
+ BSR.S LAB_1012C ;100fe: 612c
+ BSR.W LAB_10836 ;10100: 61000734
+ BRA.S LAB_10128 ;10104: 6022
+SaveFile:
+ BSR.S LAB_1012C ;10106: 6124
+ BSR.W LAB_10876 ;10108: 6100076c
+ BRA.S LAB_10128 ;1010c: 601a
+Ratt_Unknown:
+ BSR.S LAB_1012C ;1010e: 611c
+ BSR.W LAB_10A1C ;10110: 6100090a
+ BRA.S LAB_10128 ;10114: 6012
+LoadFile:
+ BSR.S LAB_1012C ;10116: 6114
+ BCLR #$1F,D1 ;10118: 0881001f
+ BSR.W LAB_102F8 ;1011c: 610001da
+ BRA.S LAB_10128 ;10120: 6006
+WriteDir:
+ BSR.S LAB_1012C ;10122: 6108
+ MOVEA.L A0,A1 ;10124: 2248
+ BSR.S LAB_10130 ;10126: 6108
+LAB_10128:
+ BRA.W LAB_1025C ;10128: 60000132
+LAB_1012C:
+ BRA.W LAB_10272 ;1012c: 60000144
+LAB_10130:
+ BSR.W LAB_102D4 ;10130: 610001a2
+ BNE.W LAB_1035C ;10134: 66000226
+ BSR.W LAB_10A00 ;10138: 610008c6
+ BMI.W LAB_1035C ;1013c: 6b00021e
+ MOVEA.L DirBuffer(PC),A0 ;10140: 207a0e4a
+ LEA $18(A0),A0 ;10144: 41e80018
+ MOVE.W $54(A4),D5 ;10148: 3a2c0054
+ MOVE.W $68(A4),D0 ;1014c: 302c0068
+LAB_10150:
+ CMP.B (A0)+,D5 ;10150: ba18
+ BNE.S LAB_10158 ;10152: 6604
+ CLR.B -1(A0) ;10154: 4228ffff
+LAB_10158:
+ DBF D0,LAB_10150 ;10158: 51c8fff6
+ CLR.L (A6)+ ;1015c: 429e
+ CLR.L (A6)+ ;1015e: 429e
+ CLR.L (A6)+ ;10160: 429e
+ CLR.L (A6)+ ;10162: 429e
+ BRA.W LAB_109E8 ;10164: 60000882
+Write_Unknown:
+ BSR.S LAB_1012C ;10168: 61c2
+ MOVE.L D0,D1 ;1016a: 2200
+ BSR.W LAB_10BA4 ;1016c: 61000a36
+ BRA.S LAB_10128 ;10170: 60b6
+FindDirEntry:
+ BSR.S LAB_1012C ;10172: 61b8
+ BSR.W LAB_102BC ;10174: 61000146
+LAB_10178:
+ BRA.S LAB_10128 ;10178: 60ae
+RenameFile:
+ BSR.S LAB_1012C ;1017a: 61b0
+ MOVE.L A1,-(A7) ;1017c: 2f09
+ BSR.W LAB_102BC ;1017e: 6100013c
+ TST.W INT_WRONG.W ;10182: 4a780060
+ BMI.S LAB_10192 ;10186: 6b0a
+ MOVEA.L (A7),A1 ;10188: 2257
+ BSR.W LAB_10B2C ;1018a: 610009a0
+ BSR.W LAB_109E8 ;1018e: 61000858
+LAB_10192:
+ MOVEA.L (A7)+,A1 ;10192: 225f
+ BRA.S LAB_10178 ;10194: 60e2
+ RTS ;10196: 4e75
+GetDrives:
+ MOVE.W LAB_10F9C(PC),D0 ;10198: 303a0e02
+EmptyFunc:
+ RTS ;1019c: 4e75
+GetDiskDir:
+ BSR.S LAB_1012C ;1019e: 618c
+ MOVE.W D0,D1 ;101a0: 3200
+ BSR.W LAB_103F8 ;101a2: 61000254
+ BSR.W LAB_104AC ;101a6: 61000304
+ MOVEA.L $14(A4),A0 ;101aa: 206c0014
+ BRA.S LAB_10178 ;101ae: 60c8
+GetBuffers:
+ MOVEA.L DataBuffer(PC),A1 ;101b0: 227a0dc6
+ MOVEA.L DirBuffer(PC),A0 ;101b4: 207a0dd6
+ RTS ;101b8: 4e75
+SetDataBuff:
+ LEA DataBuffer(PC),A0 ;101ba: 41fa0dbc
+ MOVE.L D0,(A0) ;101be: 2080
+ BRA.S ResetDrives ;101c0: 6006
+SetDirBuff:
+ LEA DirBuffer(PC),A0 ;101c2: 41fa0dc8
+ MOVE.L D0,(A0) ;101c6: 2080
+ResetDrives:
+ MOVE.L A0,-(A7) ;101c8: 2f08
+ LEA LAB_10FA0(PC),A0 ;101ca: 41fa0dd4
+ ST (A0) ;101ce: 50d0
+ MOVE.L #$ffffffff,4(A0) ;101d0: 217cffffffff0004
+ MOVEA.L (A7)+,A0 ;101d8: 205f
+ RTS ;101da: 4e75
+SetInts:
+ LEA LAB_10F94(PC),A0 ;101dc: 41fa0db6
+; intenar
+ MOVE.W EXT_DFF01C,(A0) ;101e0: 30b900dff01c
+; intena
+ MOVE.W #$6fff,EXT_DFF09A ;101e6: 33fc6fff00dff09a
+ BRA.S ResetDrives ;101ee: 60d8
+RestoreInts:
+ MOVE.W LAB_10F94(PC),D0 ;101f0: 303a0da2
+ BMI.S LAB_10210 ;101f4: 6b1a
+ ORI.W #$c000,D0 ;101f6: 0040c000
+; intena
+ MOVE.W D0,EXT_DFF09A ;101fa: 33c000dff09a
+ BRA.S ResetDrives ;10200: 60c6
+LAB_10202:
+ MOVE.W D0,-(A7) ;10202: 3f00
+ BSR.W LAB_103F8 ;10204: 610001f2
+ BSR.W LAB_104AC ;10208: 610002a2
+ MOVE.W (A7)+,D7 ;1020c: 3e1f
+ MOVEQ #-1,D5 ;1020e: 7aff
+LAB_10210:
+ RTS ;10210: 4e75
+SetDirSize:
+ BSR.S LAB_10272 ;10212: 615e
+ BSR.S LAB_10202 ;10214: 61ec
+LAB_10216:
+ BSR.W LAB_10B86 ;10216: 6100096e
+ BSR.W LAB_10A00 ;1021a: 610007e4
+ BSR.W LAB_109E8 ;1021e: 610007c8
+ BRA.S LAB_1025C ;10222: 6038
+ClearDir:
+ BSR.S LAB_10272 ;10224: 614c
+ BSR.S LAB_10202 ;10226: 61da
+ CLR.W D5 ;10228: 4245
+ BRA.S LAB_10216 ;1022a: 60ea
+GetEmptyTrack:
+ BSR.S LAB_10272 ;1022c: 6144
+ BSR.S LAB_10202 ;1022e: 61d2
+ BSR.W LAB_10B6E ;10230: 6100093c
+ TST.W INT_WRONG.W ;10234: 4a780060
+ BMI.S LAB_1023E ;10238: 6b04
+ MOVE.W D7,EXT_62.W ;1023a: 31c70062
+LAB_1023E:
+ BRA.S LAB_1025C ;1023e: 601c
+SetSync:
+ LEA LAB_10FDE(PC),A0 ;10240: 41fa0d9c
+ MOVE.W D0,(A0) ;10244: 3080
+LAB_10246:
+ RTS ;10246: 4e75
+InitDrSync:
+ BSR.S SetSync ;10248: 61f6
+ MOVEA.L EXT_0.W,A0 ;1024a: 20780000
+ PEA LAB_10246(PC) ;1024e: 487afff6
+ MOVE.L (A7)+,-20(A0) ;10252: 215fffec
+InitDrives:
+ BSR.S LAB_10272 ;10256: 611a
+ BSR.W LAB_105F8 ;10258: 6100039e
+LAB_1025C:
+ MOVE.W (A7)+,D1 ;1025c: 321f
+ ORI.W #$8000,D1 ;1025e: 00418000
+ MOVE.W D1,$96(A5) ;10262: 3b410096
+ MOVEM.L (A7)+,D1-D7/A1-A6 ;10266: 4cdf7efe
+ ADDQ.L #4,A7 ;1026a: 588f
+ MOVE.L INT_WRONG.W,D0 ;1026c: 20380060
+ RTS ;10270: 4e75
+LAB_10272:
+ PEA LAB_10280(PC) ;10272: 487a000c
+ MOVE.L (A7)+,INT_WRONG.W ;10276: 21df0060
+ MOVE.L INT_WRONG.W,-(A7) ;1027a: 2f380060
+ RTS ;1027e: 4e75
+LAB_10280:
+ MOVEM.L D1-D7/A1-A6,-(A7) ;10280: 48e77f7e
+; hardbase
+ LEA EXT_DFF000,A5 ;10284: 4bf900dff000
+ MOVE.W dmaconr(A5),-(A7) ;1028a: 3f2d0002
+ MOVE.L $36(A7),-(A7) ;1028e: 2f2f0036
+; prb
+ LEA EXT_BFD100,A3 ;10292: 47f900bfd100
+ LEA DataBuffer(PC),A4 ;10298: 49fa0cde
+ CLR.L INT_WRONG.W ;1029c: 42b80060
+ CLR.W $56(A4) ;102a0: 426c0056
+ RTS ;102a4: 4e75
+ChangeDisk:
+ BSR.S LAB_10272 ;102a6: 61ca
+ EXG A1,A0 ;102a8: c348
+ BSR.S LAB_102AE ;102aa: 6102
+ BRA.S LAB_1025C ;102ac: 60ae
+LAB_102AE:
+ BSR.W LAB_10360 ;102ae: 610000b0
+ BMI.S LAB_102BA ;102b2: 6b06
+ BSR.W LAB_107BC ;102b4: 61000506
+ BPL.S LAB_102C6 ;102b8: 6a0c
+LAB_102BA:
+ RTS ;102ba: 4e75
+LAB_102BC:
+ MOVEA.L A0,A1 ;102bc: 2248
+ BSR.S LAB_102D4 ;102be: 6114
+ BNE.S LAB_102D2 ;102c0: 6610
+ MOVEA.L $4E(A4),A0 ;102c2: 206c004e
+LAB_102C6:
+ MOVEQ #0,D0 ;102c6: 7000
+ MOVE.W $2A(A4),D0 ;102c8: 302c002a
+ SUBQ.W #3,D0 ;102cc: 5740
+ MOVE.L D0,INT_WRONG.W ;102ce: 21c00060
+LAB_102D2:
+ RTS ;102d2: 4e75
+LAB_102D4:
+ BSR.W LAB_10360 ;102d4: 6100008a
+ BMI.S LAB_102F0 ;102d8: 6b16
+ MOVE.L A1,$3A(A4) ;102da: 2949003a
+ BSR.W LAB_107BC ;102de: 610004dc
+ BMI.S LAB_102F0 ;102e2: 6b0c
+ BSR.W LAB_10380 ;102e4: 6100009a
+ BNE.S LAB_102F2 ;102e8: 6608
+ MOVE.L A6,$4E(A4) ;102ea: 294e004e
+ CMP.W D0,D0 ;102ee: b040
+LAB_102F0:
+ RTS ;102f0: 4e75
+LAB_102F2:
+ MOVEQ #-2,D7 ;102f2: 7efe
+ BRA.W LAB_10870 ;102f4: 6000057a
+LAB_102F8:
+ MOVE.L D1,$42(A4) ;102f8: 29410042
+ BSR.S LAB_102D4 ;102fc: 61d6
+ BNE.S LAB_1035C ;102fe: 665c
+ MOVE.B $F(A6),D0 ;10300: 102e000f
+ BSR.W LAB_1081A ;10304: 61000514
+ CLR.L $4A(A4) ;10308: 42ac004a
+ MOVE.W D7,D2 ;1030c: 3407
+LAB_1030E:
+ MOVE.L $42(A4),$3E(A4) ;1030e: 296c0042003e
+ BSR.W LAB_105AA ;10314: 61000294
+ CLR.W D5 ;10318: 4245
+ BSR.W LAB_106AA ;1031a: 6100038e
+ TST.L D3 ;1031e: 4a83
+ BNE.S LAB_10356 ;10320: 6634
+ MOVEA.L (A4),A1 ;10322: 2254
+ MOVE.W (A1),D6 ;10324: 3c11
+ CMP.W $68(A4),D6 ;10326: bc6c0068
+ BHI.S LAB_10352 ;1032a: 6226
+ MOVE.W 2(A1),D6 ;1032c: 3c290002
+ MOVE.W $64(A4),D7 ;10330: 3e2c0064
+ LSR.W #2,D7 ;10334: e44f
+ ADDQ.W #8,D7 ;10336: 5047
+ CMP.W D7,D6 ;10338: bc47
+ BHI.S LAB_10352 ;1033a: 6216
+ BSR.W LAB_104F0 ;1033c: 610001b2
+ MOVE.W (A1),D2 ;10340: 3411
+ BNE.S LAB_1030E ;10342: 66ca
+ TST.W INT_WRONG.W ;10344: 4a780060
+ BMI.S LAB_10350 ;10348: 6b06
+ MOVE.L $4A(A4),INT_WRONG.W ;1034a: 21ec004a0060
+LAB_10350:
+ RTS ;10350: 4e75
+LAB_10352:
+ MOVEQ #-2,D0 ;10352: 70fe
+ BRA.S LAB_10358 ;10354: 6002
+LAB_10356:
+ MOVEQ #-1,D0 ;10356: 70ff
+LAB_10358:
+ MOVE.L D0,INT_WRONG.W ;10358: 21c00060
+LAB_1035C:
+ BRA.W ResetDrives ;1035c: 6000fe6a
+LAB_10360:
+ MOVEQ #0,D7 ;10360: 7e00
+LAB_10362:
+ MOVEQ #0,D0 ;10362: 7000
+ MOVE.L D7,$20(A4) ;10364: 29470020
+ MOVE.B (A1)+,D0 ;10368: 1019
+ BEQ.S LAB_1037A ;1036a: 670e
+ BSR.S LAB_103E6 ;1036c: 6178
+ CMP.B #$3a,D0 ;1036e: b03c003a
+ BEQ.S LAB_10350 ;10372: 67dc
+ ADD.L D0,D7 ;10374: de80
+ ROL.L D7,D7 ;10376: efbf
+ BRA.S LAB_10362 ;10378: 60e8
+LAB_1037A:
+ MOVEQ #-10,D7 ;1037a: 7ef6
+ BRA.W LAB_10870 ;1037c: 600004f2
+LAB_10380:
+ MOVEM.L D0-D1,-(A7) ;10380: 48e7c000
+ CLR.L D4 ;10384: 4284
+ MOVE.L D4,D5 ;10386: 2a04
+ MOVEA.L $14(A4),A6 ;10388: 2c6c0014
+ LEA $BC(A6),A6 ;1038c: 4dee00bc
+ MOVEQ #1,D7 ;10390: 7e01
+LAB_10392:
+ MOVEA.L $3A(A4),A2 ;10392: 246c003a
+ MOVEA.L A6,A1 ;10396: 224e
+ MOVEQ #$C,D6 ;10398: 7c0c
+ TST.B (A1) ;1039a: 4a11
+ BNE.S LAB_103A8 ;1039c: 660a
+ TST.L D5 ;1039e: 4a85
+ BNE.S LAB_103A8 ;103a0: 6606
+ MOVE.W D7,$54(A4) ;103a2: 39470054
+ MOVE.L A1,D5 ;103a6: 2a09
+LAB_103A8:
+ MOVE.B (A2)+,D0 ;103a8: 101a
+ MOVE.B (A1)+,D1 ;103aa: 1219
+ BSR.S LAB_103E0 ;103ac: 6132
+ CMP.B D0,D1 ;103ae: b200
+ BNE.S LAB_103CC ;103b0: 661a
+ OR.B D1,D0 ;103b2: 8001
+ BNE.S LAB_103C8 ;103b4: 6612
+ MOVE.W D7,$54(A4) ;103b6: 39470054
+ CLR.W D7 ;103ba: 4247
+ MOVE.B $D(A6),D7 ;103bc: 1e2e000d
+ MOVEM.L (A7)+,D0-D1 ;103c0: 4cdf0003
+ CMP.W D7,D7 ;103c4: be47
+ RTS ;103c6: 4e75
+LAB_103C8:
+ DBF D6,LAB_103A8 ;103c8: 51ceffde
+LAB_103CC:
+ LEA $18(A6),A6 ;103cc: 4dee0018
+ ADDQ.W #1,D7 ;103d0: 5247
+ CMP.W #$003d,D7 ;103d2: be7c003d
+ BLT.S LAB_10392 ;103d6: 6dba
+ MOVEM.L (A7)+,D0-D1 ;103d8: 4cdf0003
+ MOVEQ #-1,D7 ;103dc: 7eff
+ RTS ;103de: 4e75
+LAB_103E0:
+ EXG D0,D1 ;103e0: c141
+ BSR.S LAB_103E6 ;103e2: 6102
+ EXG D0,D1 ;103e4: c141
+LAB_103E6:
+ CMP.B #$60,D0 ;103e6: b03c0060
+ BLS.S LAB_103F6 ;103ea: 630a
+ CMP.B #$7a,D0 ;103ec: b03c007a
+ BHI.S LAB_103F6 ;103f0: 6204
+ ANDI.W #$00df,D0 ;103f2: 024000df
+LAB_103F6:
+ RTS ;103f6: 4e75
+LAB_103F8:
+ BSR.S LAB_1040C ;103f8: 6112
+ CMPI.W #$fff5,EXT_62.W ;103fa: 0c78fff50062
+ BEQ.S LAB_10408 ;10400: 6706
+ TST.W INT_WRONG.W ;10402: 4a780060
+ RTS ;10406: 4e75
+LAB_10408:
+ CLR.L INT_WRONG.W ;10408: 42b80060
+LAB_1040C:
+ CMP.W #$0003,D1 ;1040c: b27c0003
+ BHI.S LAB_10418 ;10410: 6206
+ BTST D1,$25(A4) ;10412: 032c0025
+ BNE.S LAB_1041E ;10416: 6606
+LAB_10418:
+ MOVEQ #-16,D7 ;10418: 7ef0
+ BRA.W LAB_10870 ;1041a: 60000454
+LAB_1041E:
+ MOVEM.L D1/D6,-(A7) ;1041e: 48e74200
+ ANDI.W #$0003,D1 ;10422: 02410003
+ ADDQ.W #3,D1 ;10426: 5641
+ CMP.W $2A(A4),D1 ;10428: b26c002a
+ BEQ.S LAB_10432 ;1042c: 6704
+ ST $28(A4) ;1042e: 50ec0028
+LAB_10432:
+ MOVE.W D1,$2A(A4) ;10432: 3941002a
+ ORI.B #$79,(A3) ;10436: 00130079
+ BCLR #7,(A3) ;1043a: 08930007
+ BCLR D1,(A3) ;1043e: 0393
+ BSR.W LAB_10638 ;10440: 610001f6
+ BTST #2,D6 ;10444: 08060002
+ BEQ.S LAB_10454 ;10448: 670a
+ CMPI.B #$ff,$29(A4,D1.W) ;1044a: 0c3400ff1029
+ BEQ.S LAB_1045E ;10450: 670c
+ BRA.S LAB_10484 ;10452: 6030
+LAB_10454:
+ BCLR #1,(A3) ;10454: 08930001
+ BSR.S LAB_1049E ;10458: 6144
+ BSR.W LAB_1065E ;1045a: 61000202
+LAB_1045E:
+ CLR.B $29(A4,D1.W) ;1045e: 42341029
+ BSET #1,(A3) ;10462: 08d30001
+ ST $28(A4) ;10466: 50ec0028
+ MOVEQ #$55,D7 ;1046a: 7e55
+LAB_1046C:
+ MOVE.B EXT_BFE001,D6 ;1046c: 1c3900bfe001
+ BTST #4,D6 ;10472: 08060004
+ BEQ.S LAB_10484 ;10476: 670c
+ BSR.S LAB_1049E ;10478: 6124
+ BSR.W LAB_1065E ;1047a: 610001e2
+ DBF D7,LAB_1046C ;1047e: 51cfffec
+ BSR.S LAB_10498 ;10482: 6114
+LAB_10484:
+ MOVEM.L (A7)+,D1/D6 ;10484: 4cdf0042
+ BTST #2,EXT_BFE001 ;10488: 0839000200bfe001
+ BEQ.S LAB_10498 ;10490: 6706
+ TST.W INT_WRONG.W ;10492: 4a780060
+ RTS ;10496: 4e75
+LAB_10498:
+ MOVEQ #-11,D7 ;10498: 7ef5
+ BRA.W LAB_10870 ;1049a: 600003d4
+LAB_1049E:
+ BCLR #0,(A3) ;1049e: 08930000
+ BCLR #0,(A3) ;104a2: 08930000
+ BSET #0,(A3) ;104a6: 08d30000
+LAB_104AA:
+ RTS ;104aa: 4e75
+LAB_104AC:
+ TST.W INT_WRONG.W ;104ac: 4a780060
+ BMI.S LAB_104AA ;104b0: 6bf8
+ TST.W $28(A4) ;104b2: 4a6c0028
+ BEQ.S LAB_104EE ;104b6: 6736
+ CLR.W $28(A4) ;104b8: 426c0028
+ MOVEM.L D0-D7/A0-A6,-(A7) ;104bc: 48e7fffe
+ BSR.W LAB_109D0 ;104c0: 6100050e
+ MOVE.L #$0000065c,$3E(A4) ;104c4: 297c0000065c003e
+ MOVE.L D5,(A0) ;104cc: 2085
+ TST.W INT_WRONG.W ;104ce: 4a780060
+ BMI.S LAB_104EA ;104d2: 6b16
+ BSR.W LAB_106AA ;104d4: 610001d4
+ TST.L D3 ;104d8: 4a83
+ BEQ.S LAB_104E4 ;104da: 6708
+ MOVEQ #-9,D7 ;104dc: 7ef7
+ BSR.W LAB_10870 ;104de: 61000390
+ BRA.S LAB_104EA ;104e2: 6006
+LAB_104E4:
+ MOVEA.L (A4),A6 ;104e4: 2c54
+ MOVE.L D5,(A6) ;104e6: 2c85
+ BSR.S LAB_104F0 ;104e8: 6106
+LAB_104EA:
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;104ea: 4cdf7fff
+LAB_104EE:
+ RTS ;104ee: 4e75
+LAB_104F0:
+ MOVEA.L (A4),A6 ;104f0: 2c54
+ MOVE.W (A6)+,D7 ;104f2: 3e1e
+ MOVE.W (A6)+,D6 ;104f4: 3c1e
+ ASL.W #2,D6 ;104f6: e546
+ SUBQ.W #1,D6 ;104f8: 5346
+ MOVE.W $64(A4),D5 ;104fa: 3a2c0064
+ CMP.W D5,D6 ;104fe: bc45
+ BLS.S LAB_10512 ;10500: 6310
+ LSR.W #2,D5 ;10502: e44d
+ MOVE.W D5,$36(A4) ;10504: 39450036
+ MOVE.W D7,$32(A4) ;10508: 39470032
+ MOVE.W $64(A4),D6 ;1050c: 3c2c0064
+ SUBQ.W #1,D6 ;10510: 5346
+LAB_10512:
+ TST.W INT_WRONG.W ;10512: 4a780060
+ BMI.S LAB_10540 ;10516: 6b28
+ MOVE.L $3E(A4),D7 ;10518: 2e2c003e
+ CMPI.L #$5061436b,(A6) ;1051c: 0c965061436b
+ BEQ.S LAB_10542 ;10522: 671e
+ MOVE.L A5,-(A7) ;10524: 2f0d
+ MOVE.L $4A(A4),D5 ;10526: 2a2c004a
+LAB_1052A:
+ SUBQ.L #1,D7 ;1052a: 5387
+ BMI.S LAB_10536 ;1052c: 6b08
+ ADDQ.L #1,D5 ;1052e: 5285
+ MOVE.B (A6)+,(A0)+ ;10530: 10de
+ DBF D6,LAB_1052A ;10532: 51cefff6
+LAB_10536:
+ MOVE.L D5,$4A(A4) ;10536: 2945004a
+ MOVE.L (A7)+,D5 ;1053a: 2a1f
+ MOVE.L D7,$3E(A4) ;1053c: 2947003e
+LAB_10540:
+ RTS ;10540: 4e75
+LAB_10542:
+ MOVEM.L D0-D3/D5-D6,-(A7) ;10542: 48e7f600
+ MOVE.L $4A(A4),D5 ;10546: 2a2c004a
+ ADDQ.L #4,A6 ;1054a: 588e
+ MOVE.L (A6)+,D3 ;1054c: 261e
+ ANDI.L #$00ffffff,D3 ;1054e: 028300ffffff
+ MOVE.B -4(A6),D2 ;10554: 142efffc
+ MOVE.W $64(A4),D6 ;10558: 3c2c0064
+ SUBI.W #$0009,D6 ;1055c: 04460009
+ MOVE.L $3E(A4),D7 ;10560: 2e2c003e
+LAB_10564:
+ SUBQ.L #1,D7 ;10564: 5387
+ BMI.S LAB_1059C ;10566: 6b34
+ SUBQ.L #1,D3 ;10568: 5383
+ BMI.S LAB_1059C ;1056a: 6b30
+ ADDQ.L #1,D5 ;1056c: 5285
+ CMP.B (A6)+,D2 ;1056e: b41e
+ BNE.S LAB_10594 ;10570: 6622
+ CMP.W #$0001,D6 ;10572: bc7c0001
+ BLS.S LAB_10594 ;10576: 631c
+ MOVE.B (A6)+,D0 ;10578: 101e
+ CLR.W D1 ;1057a: 4241
+ MOVE.B (A6)+,D1 ;1057c: 121e
+ SUBQ.W #2,D6 ;1057e: 5546
+ BRA.S LAB_1058C ;10580: 600a
+LAB_10582:
+ SUBQ.L #1,D7 ;10582: 5387
+ BMI.S LAB_1059C ;10584: 6b16
+ SUBQ.L #1,D3 ;10586: 5383
+ BMI.S LAB_1059C ;10588: 6b12
+ ADDQ.L #1,D5 ;1058a: 5285
+LAB_1058C:
+ MOVE.B D0,(A0)+ ;1058c: 10c0
+ DBF D1,LAB_10582 ;1058e: 51c9fff2
+ BRA.S LAB_10598 ;10592: 6004
+LAB_10594:
+ MOVE.B -1(A6),(A0)+ ;10594: 10eeffff
+LAB_10598:
+ SUBQ.W #1,D6 ;10598: 5346
+ BPL.S LAB_10564 ;1059a: 6ac8
+LAB_1059C:
+ MOVE.L D7,$3E(A4) ;1059c: 2947003e
+ MOVE.L D5,$4A(A4) ;105a0: 2945004a
+ MOVEM.L (A7)+,D0-D3/D5-D6 ;105a4: 4cdf006f
+ RTS ;105a8: 4e75
+LAB_105AA:
+ MOVEM.L D1-D3/D6-D7,-(A7) ;105aa: 48e77300
+ MOVE.W $2A(A4),D1 ;105ae: 322c002a
+ CLR.W D7 ;105b2: 4247
+ MOVE.B $29(A4,D1.W),D7 ;105b4: 1e341029
+ BTST #0,D2 ;105b8: 08020000
+ BEQ.S LAB_105C4 ;105bc: 6706
+ BCLR #2,(A3) ;105be: 08930002
+ BRA.S LAB_105C8 ;105c2: 6004
+LAB_105C4:
+ BSET #2,(A3) ;105c4: 08d30002
+LAB_105C8:
+ LSR.W #1,D2 ;105c8: e24a
+ MOVE.B D2,$29(A4,D1.W) ;105ca: 19821029
+ CMP.B D7,D2 ;105ce: b407
+ BEQ.S LAB_105F2 ;105d0: 6720
+ BLS.S LAB_105DC ;105d2: 6308
+ BCLR #1,(A3) ;105d4: 08930001
+ EXG D2,D7 ;105d8: c547
+ BRA.S LAB_105E0 ;105da: 6004
+LAB_105DC:
+ BSET #1,(A3) ;105dc: 08d30001
+LAB_105E0:
+ SUB.W D2,D7 ;105e0: 9e42
+ SUBQ.W #1,D7 ;105e2: 5347
+ BSR.S LAB_10638 ;105e4: 6152
+LAB_105E6:
+ BSR.W LAB_1049E ;105e6: 6100feb6
+ BSR.S LAB_1065E ;105ea: 6172
+ DBF D7,LAB_105E6 ;105ec: 51cffff8
+ BSR.S LAB_1065E ;105f0: 616c
+LAB_105F2:
+ MOVEM.L (A7)+,D1-D3/D6-D7 ;105f2: 4cdf00ce
+ RTS ;105f6: 4e75
+LAB_105F8:
+ MOVE.W D1,D3 ;105f8: 3601
+ MOVEQ #3,D1 ;105fa: 7203
+ CLR.W D0 ;105fc: 4240
+ CLR.W D2 ;105fe: 4242
+LAB_10600:
+ BTST D2,D3 ;10600: 0503
+ BEQ.S LAB_1060A ;10602: 6706
+ BSR.S LAB_1061A ;10604: 6114
+ BNE.S LAB_1060A ;10606: 6602
+ BSET D2,D0 ;10608: 05c0
+LAB_1060A:
+ ADDQ.W #1,D1 ;1060a: 5241
+ ADDQ.W #1,D2 ;1060c: 5242
+ CMP.W #$0004,D2 ;1060e: b47c0004
+ BLT.S LAB_10600 ;10612: 6dec
+ MOVE.W D0,$24(A4) ;10614: 39400024
+ RTS ;10618: 4e75
+LAB_1061A:
+ ORI.B #$f9,(A3) ;1061a: 001300f9
+ BCLR #7,(A3) ;1061e: 08930007
+ BCLR D1,(A3) ;10622: 0393
+ BSR.S LAB_10638 ;10624: 6112
+ ORI.B #$f9,(A3) ;10626: 001300f9
+ BCLR D1,(A3) ;1062a: 0393
+ BTST #5,D6 ;1062c: 08060005
+ BEQ.S LAB_10636 ;10630: 6704
+ BTST #2,D6 ;10632: 08060002
+LAB_10636:
+ RTS ;10636: 4e75
+LAB_10638:
+ MOVEM.L D0-D1/D7,-(A7) ;10638: 48e7c100
+ MOVE.W #$4204,D7 ;1063c: 3e3c4204
+LAB_10640:
+ MOVE.B EXT_BFE001,D6 ;10640: 1c3900bfe001
+ BTST #5,D6 ;10646: 08060005
+ BEQ.S LAB_10658 ;1064a: 670c
+ BTST #2,D6 ;1064c: 08060002
+ BEQ.S LAB_10658 ;10650: 6706
+ BSR.S LAB_10672 ;10652: 611e
+ DBF D7,LAB_10640 ;10654: 51cfffea
+LAB_10658:
+ MOVEM.L (A7)+,D0-D1/D7 ;10658: 4cdf0083
+ RTS ;1065c: 4e75
+LAB_1065E:
+ MOVEM.L D0-D1,-(A7) ;1065e: 48e7c000
+ MOVE.W $6A(A4),D6 ;10662: 3c2c006a
+LAB_10666:
+ BSR.S LAB_10672 ;10666: 610a
+ DBF D6,LAB_10666 ;10668: 51cefffc
+ MOVEM.L (A7)+,D0-D1 ;1066c: 4cdf0003
+ RTS ;10670: 4e75
+LAB_10672:
+ MOVE.B 6(A5),D0 ;10672: 102d0006
+ CMP.B D0,D1 ;10676: b200
+ BEQ.S LAB_10672 ;10678: 67f8
+ MOVE.W D0,D1 ;1067a: 3200
+ RTS ;1067c: 4e75
+SpecMotorOff:
+ ADDQ.W #3,D1 ;1067e: 5641
+ BRA.S LAB_10686 ;10680: 6004
+MotorOff:
+ MOVE.W LAB_10FA2(PC),D1 ;10682: 323a091e
+LAB_10686:
+ CMP.W #$0002,D1 ;10686: b27c0002
+ BLS.S LAB_106A8 ;1068a: 631c
+ CMP.W #$0006,D1 ;1068c: b27c0006
+ BHI.S LAB_106A8 ;10690: 6216
+ MOVE.L A3,-(A7) ;10692: 2f0b
+ LEA EXT_BFD100,A3 ;10694: 47f900bfd100
+ ORI.B #$79,(A3) ;1069a: 00130079
+ BSET #7,(A3) ;1069e: 08d30007
+ BCLR D1,(A3) ;106a2: 0393
+ BSET D1,(A3) ;106a4: 03d3
+ MOVEA.L (A7)+,A3 ;106a6: 265f
+LAB_106A8:
+ RTS ;106a8: 4e75
+LAB_106AA:
+ MOVEQ #4,D7 ;106aa: 7e04
+LAB_106AC:
+ MOVEM.L D0-D2/D5/D7,-(A7) ;106ac: 48e7e500
+ BSR.S LAB_106C4 ;106b0: 6112
+ MOVEM.L (A7)+,D0-D2/D5/D7 ;106b2: 4cdf00a7
+ TST.L D3 ;106b6: 4a83
+ BEQ.S LAB_106C2 ;106b8: 6708
+ TST.W INT_WRONG.W ;106ba: 4a780060
+ DBMI D7,LAB_106AC ;106be: 5bcfffec
+LAB_106C2:
+ RTS ;106c2: 4e75
+LAB_106C4:
+ MOVEA.L (A4),A1 ;106c4: 2254
+ MOVE.L A1,$20(A5) ;106c6: 2b490020
+ MOVE.W #$9500,D7 ;106ca: 3e3c9500
+ BSR.S LAB_1071A ;106ce: 614a
+ MOVE.W 6(A7),$7E(A5) ;106d0: 3b6f0006007e
+ MOVE.W $64(A4),D7 ;106d6: 3e2c0064
+ ADDI.W #$8014,D7 ;106da: 06478014
+ MOVE.W D7,$24(A5) ;106de: 3b470024
+ BTST #1,$61(A4) ;106e2: 082c00010061
+ BEQ.S LAB_106F8 ;106e8: 670e
+ BTST #4,$C00(A3) ;106ea: 082b00040c00
+LAB_106F0:
+ BTST #4,$C00(A3) ;106f0: 082b00040c00
+ BEQ.S LAB_106F0 ;106f6: 67f8
+LAB_106F8:
+ MOVE.W D7,$24(A5) ;106f8: 3b470024
+ MOVE.W #$c60c,D7 ;106fc: 3e3cc60c
+LAB_10700:
+ BTST #1,$1F(A5) ;10700: 082d0001001f
+ BNE.S LAB_10746 ;10706: 663e
+ BSR.W LAB_10672 ;10708: 6100ff68
+ DBF D7,LAB_10700 ;1070c: 51cffff2
+ MOVEQ #-4,D3 ;10710: 76fc
+ MOVE.L D3,INT_WRONG.W ;10712: 21c30060
+LAB_10716:
+ MOVE.W #$7f00,D7 ;10716: 3e3c7f00
+LAB_1071A:
+ MOVE.W #$7f00,$9E(A5) ;1071a: 3b7c7f00009e
+ CMP.W #$004f,D2 ;10720: b47c004f
+ BLS.S LAB_1072A ;10724: 6304
+ BSET #$D,D7 ;10726: 08c7000d
+LAB_1072A:
+ CLR.W $24(A5) ;1072a: 426d0024
+ MOVE.W #$8210,$96(A5) ;1072e: 3b7c82100096
+ CLR.W $24(A5) ;10734: 426d0024
+ MOVE.L #$00020002,$9A(A5) ;10738: 2b7c00020002009a
+ MOVE.W D7,$9E(A5) ;10740: 3b47009e
+ RTS ;10744: 4e75
+LAB_10746:
+ MOVE.W 6(A7),D0 ;10746: 302f0006
+ BSR.S LAB_10716 ;1074a: 61ca
+ MOVEQ #0,D3 ;1074c: 7600
+ MOVE.L #$55555555,D2 ;1074e: 243c55555555
+ MOVEM.L D4/A0-A1,-(A7) ;10754: 48e708c0
+ MOVEQ #2,D7 ;10758: 7e02
+LAB_1075A:
+ CMP.W (A1)+,D0 ;1075a: b059
+ BNE.S LAB_10766 ;1075c: 6608
+ DBF D7,LAB_1075A ;1075e: 51cffffa
+ MOVEQ #-17,D3 ;10762: 76ef
+ BRA.S LAB_107A6 ;10764: 6040
+LAB_10766:
+ SUBQ.L #2,A1 ;10766: 5589
+ MOVE.W D5,D0 ;10768: 3005
+ MOVE.L -3828(A4),D5 ;1076a: 2a2cf10c
+ MOVE.L -3824(A4),D1 ;1076e: 222cf110
+ MOVEA.L (A4),A0 ;10772: 2054
+ BSR.S LAB_107AE ;10774: 6138
+ NOT.L D6 ;10776: 4686
+ MOVE.L D6,(A0)+ ;10778: 20c6
+ ADD.L D6,D3 ;1077a: d686
+ MOVE.W $64(A4),D7 ;1077c: 3e2c0064
+ LSR.W #2,D7 ;10780: e44f
+ SUBQ.W #1,D7 ;10782: 5347
+ SUBQ.W #1,D0 ;10784: 5340
+ BMI.S LAB_1078C ;10786: 6b04
+ MOVE.W D0,D6 ;10788: 3c00
+ BRA.S LAB_10790 ;1078a: 6004
+LAB_1078C:
+ SUBQ.W #1,D6 ;1078c: 5346
+ BMI.S LAB_10796 ;1078e: 6b06
+LAB_10790:
+ CMP.W D7,D6 ;10790: bc47
+ BHI.S LAB_107A6 ;10792: 6212
+ MOVE.W D6,D7 ;10794: 3e06
+LAB_10796:
+ BSR.S LAB_107AE ;10796: 6116
+ SUB.L D5,D6 ;10798: 9c85
+ ADD.L D1,D5 ;1079a: da81
+ MOVE.L D6,(A0)+ ;1079c: 20c6
+ ADD.L D6,D3 ;1079e: d686
+ DBF D7,LAB_10796 ;107a0: 51cffff4
+ BSR.S LAB_107AE ;107a4: 6108
+LAB_107A6:
+ ADD.L D6,D3 ;107a6: d686
+ MOVEM.L (A7)+,D4/A0-A1 ;107a8: 4cdf0310
+ RTS ;107ac: 4e75
+LAB_107AE:
+ MOVE.L (A1)+,D6 ;107ae: 2c19
+ MOVE.L (A1)+,D4 ;107b0: 2819
+ AND.L D2,D6 ;107b2: cc82
+ AND.L D2,D4 ;107b4: c882
+ ADD.L D4,D4 ;107b6: d884
+ OR.L D4,D6 ;107b8: 8c84
+ RTS ;107ba: 4e75
+LAB_107BC:
+ MOVEQ #3,D7 ;107bc: 7e03
+ MOVE.W $2A(A4),D1 ;107be: 322c002a
+ BMI.S LAB_107C8 ;107c2: 6b04
+ SUBQ.W #3,D1 ;107c4: 5741
+ BRA.S LAB_107CA ;107c6: 6002
+LAB_107C8:
+ CLR.W D1 ;107c8: 4241
+LAB_107CA:
+ MOVE.W D7,$58(A4) ;107ca: 39470058
+ MOVE.W D1,-(A7) ;107ce: 3f01
+ BTST D1,$25(A4) ;107d0: 032c0025
+ BEQ.S LAB_10802 ;107d4: 672c
+ BSR.W LAB_103F8 ;107d6: 6100fc20
+ TST.W INT_WRONG.W ;107da: 4a780060
+ BMI.S LAB_107F6 ;107de: 6b16
+ BSR.W LAB_104AC ;107e0: 6100fcca
+ TST.W INT_WRONG.W ;107e4: 4a780060
+ BMI.S LAB_107F6 ;107e8: 6b0c
+ MOVEA.L $14(A4),A6 ;107ea: 2c6c0014
+ MOVE.L (A6),D6 ;107ee: 2c16
+ CMP.L $20(A4),D6 ;107f0: bcac0020
+ BEQ.S LAB_10816 ;107f4: 6720
+LAB_107F6:
+ BSR.W ResetDrives ;107f6: 6100f9d0
+ CLR.L INT_WRONG.W ;107fa: 42b80060
+ BSR.W MotorOff ;107fe: 6100fe82
+LAB_10802:
+ MOVE.W (A7)+,D1 ;10802: 321f
+ ADDQ.W #1,D1 ;10804: 5241
+ ANDI.W #$0003,D1 ;10806: 02410003
+ MOVE.W $58(A4),D7 ;1080a: 3e2c0058
+ DBF D7,LAB_107CA ;1080e: 51cfffba
+ MOVEQ #-13,D7 ;10812: 7ef3
+ BRA.S LAB_10840 ;10814: 602a
+LAB_10816:
+ MOVE.W (A7)+,D1 ;10816: 321f
+ RTS ;10818: 4e75
+LAB_1081A:
+ MOVE.L A0,-(A7) ;1081a: 2f08
+ ANDI.W #$00ff,D0 ;1081c: 024000ff
+ MOVEA.L $14(A4),A0 ;10820: 206c0014
+ CMP.W #$0005,D0 ;10824: b07c0005
+ BLS.S LAB_1082C ;10828: 6302
+ CLR.W D0 ;1082a: 4240
+LAB_1082C:
+ ADD.W D0,D0 ;1082c: d040
+ MOVE.W $C(A0,D0.W),D0 ;1082e: 3030000c
+ MOVEA.L (A7)+,A0 ;10832: 205f
+ RTS ;10834: 4e75
+LAB_10836:
+ MOVE.L D3,D4 ;10836: 2803
+ CMP.W $68(A4),D2 ;10838: b46c0068
+ BLS.S LAB_10842 ;1083c: 6304
+LAB_1083E:
+ MOVEQ #-14,D7 ;1083e: 7ef2
+LAB_10840:
+ BRA.S LAB_10870 ;10840: 602e
+LAB_10842:
+ BSR.W LAB_103F8 ;10842: 6100fbb4
+ BMI.S LAB_1086E ;10846: 6b26
+ BSR.W LAB_105AA ;10848: 6100fd60
+ TST.L D2 ;1084c: 4a82
+ BMI.S LAB_1086E ;1084e: 6b1e
+ MOVE.W D4,D5 ;10850: 3a04
+ BSR.W LAB_106AA ;10852: 6100fe56
+ TST.W INT_WRONG.W ;10856: 4a780060
+ BMI.S LAB_1086E ;1085a: 6b12
+ TST.L D3 ;1085c: 4a83
+ BEQ.S LAB_10864 ;1085e: 6704
+ MOVEQ #-5,D7 ;10860: 7efb
+ BRA.S LAB_10870 ;10862: 600c
+LAB_10864:
+ MOVEA.L (A4),A0 ;10864: 2054
+ MOVE.L (A0),INT_WRONG.W ;10866: 21d00060
+ CLR.W INT_WRONG.W ;1086a: 42780060
+LAB_1086E:
+ RTS ;1086e: 4e75
+LAB_10870:
+ MOVE.L D7,INT_WRONG.W ;10870: 21c70060
+LAB_10874:
+ RTS ;10874: 4e75
+LAB_10876:
+ MOVE.W D3,D4 ;10876: 3803
+ CMP.W $68(A4),D2 ;10878: b46c0068
+ BHI.S LAB_1083E ;1087c: 62c0
+ MOVE.L D1,-(A7) ;1087e: 2f01
+ BSR.W LAB_103F8 ;10880: 6100fb76
+ BSR.W LAB_105AA ;10884: 6100fd24
+ MOVE.L (A7)+,D1 ;10888: 221f
+ TST.W INT_WRONG.W ;1088a: 4a780060
+ BMI.S LAB_1086E ;1088e: 6bde
+ MOVE.W D2,$32(A4) ;10890: 39420032
+ BSR.W LAB_10A00 ;10894: 6100016a
+ BMI.S LAB_1086E ;10898: 6bd4
+ MOVE.W D4,$34(A4) ;1089a: 39440034
+ TST.L D1 ;1089e: 4a81
+ BPL.S LAB_108E4 ;108a0: 6a42
+LAB_108A2:
+ MOVEQ #4,D7 ;108a2: 7e04
+ TST.W INT_WRONG.W ;108a4: 4a780060
+ BMI.S LAB_10874 ;108a8: 6bca
+LAB_108AA:
+ MOVEM.L D0/D2/D4-D5/D7/A0,-(A7) ;108aa: 48e7ad80
+ CLR.L INT_WRONG.W ;108ae: 42b80060
+ BSR.S LAB_108E4 ;108b2: 6130
+ ST D3 ;108b4: 50c3
+ TST.W INT_WRONG.W ;108b6: 4a780060
+ BMI.S LAB_108C6 ;108ba: 6b0a
+ MOVEM.L (A7),D0/D2/D4-D5/D7/A0 ;108bc: 4cd701b5
+ CLR.L D5 ;108c0: 4285
+ BSR.W LAB_106AA ;108c2: 6100fde6
+LAB_108C6:
+ MOVEM.L (A7)+,D0/D2/D4-D5/D7/A0 ;108c6: 4cdf01b5
+ TST.L D3 ;108ca: 4a83
+ BEQ.S LAB_10874 ;108cc: 67a6
+ TST.W INT_WRONG.W ;108ce: 4a780060
+ BMI.S LAB_108E2 ;108d2: 6b0e
+ TST.W $56(A4) ;108d4: 4a6c0056
+ BNE.S LAB_108DE ;108d8: 6604
+ DBF D7,LAB_108AA ;108da: 51cfffce
+LAB_108DE:
+ MOVEQ #-15,D7 ;108de: 7ef1
+ BRA.S LAB_10870 ;108e0: 608e
+LAB_108E2:
+ RTS ;108e2: 4e75
+LAB_108E4:
+ MOVEA.L (A4),A1 ;108e4: 2254
+ MOVE.W LAB_10FEA(PC),D7 ;108e6: 3e3a0702
+LAB_108EA:
+ MOVE.L $18(A4),(A1)+ ;108ea: 22ec0018
+ DBF D7,LAB_108EA ;108ee: 51cffffa
+ TST.W $56(A4) ;108f2: 4a6c0056
+ BEQ.S LAB_10902 ;108f6: 670a
+ MOVEA.L (A4),A0 ;108f8: 2054
+ LEA $31F0(A0),A0 ;108fa: 41e831f0
+ SUBA.W $64(A4),A0 ;108fe: 90ec0064
+LAB_10902:
+ MOVEM.L D0-D2/D5,-(A7) ;10902: 48e7e400
+ MOVE.W 2(A7),(A1)+ ;10906: 32ef0002
+ BTST #2,$61(A4) ;1090a: 082c00020061
+ BNE.S LAB_10916 ;10910: 6604
+ MOVE.W 2(A7),(A1)+ ;10912: 32ef0002
+LAB_10916:
+ CLR.L D3 ;10916: 4283
+ MOVE.L $32(A4),D6 ;10918: 2c2c0032
+ SUB.L D6,D3 ;1091c: 9686
+ NOT.L D6 ;1091e: 4686
+ BSR.S LAB_1099A ;10920: 6178
+ MOVE.L -3828(A4),D5 ;10922: 2a2cf10c
+ MOVE.W D4,D7 ;10926: 3e04
+ BRA.S LAB_10934 ;10928: 600a
+LAB_1092A:
+ MOVE.L (A0)+,D6 ;1092a: 2c18
+ SUB.L D6,D3 ;1092c: 9686
+ BSR.S LAB_10998 ;1092e: 6168
+ ADD.L -3824(A4),D5 ;10930: daacf110
+LAB_10934:
+ DBF D7,LAB_1092A ;10934: 51cffff4
+ MOVE.L D3,D6 ;10938: 2c03
+ BSR.S LAB_1099A ;1093a: 615e
+ CLR.L D6 ;1093c: 4286
+ BSR.S LAB_1099A ;1093e: 615a
+ MOVE.L A2,-(A7) ;10940: 2f0a
+ MOVEA.L (A4),A2 ;10942: 2454
+ LEA $31FC(A2),A2 ;10944: 45ea31fc
+ MOVE.W #$0c7f,D7 ;10948: 3e3c0c7f
+LAB_1094C:
+ MOVE.L $18(A4),(A1)+ ;1094c: 22ec0018
+ CMPA.L A2,A1 ;10950: b3ca
+ DBHI D7,LAB_1094C ;10952: 52cffff8
+ MOVEA.L (A7)+,A2 ;10956: 245f
+ MOVEM.L (A7)+,D0-D2/D5 ;10958: 4cdf0027
+ MOVE.W #$9100,D7 ;1095c: 3e3c9100
+ BSR.W LAB_1071A ;10960: 6100fdb8
+ MOVE.W D0,$7E(A5) ;10964: 3b40007e
+ MOVE.L (A4),$20(A5) ;10968: 2b540020
+ MOVE.W LAB_10FEC(PC),$24(A5) ;1096c: 3b7a067e0024
+ BTST #1,$61(A4) ;10972: 082c00010061
+ BEQ.S LAB_10986 ;10978: 670c
+ MOVE.B $C00(A3),D7 ;1097a: 1e2b0c00
+LAB_1097E:
+ BTST #4,$C00(A3) ;1097e: 082b00040c00
+ BEQ.S LAB_1097E ;10984: 67f8
+LAB_10986:
+ MOVE.W LAB_10FEC(PC),$24(A5) ;10986: 3b7a06640024
+LAB_1098C:
+ BTST #1,$1F(A5) ;1098c: 082d0001001f
+ BEQ.S LAB_1098C ;10992: 67f8
+ BRA.W LAB_10716 ;10994: 6000fd80
+LAB_10998:
+ ADD.L D5,D6 ;10998: dc85
+LAB_1099A:
+ NOT.L D6 ;1099a: 4686
+ MOVE.L D6,D0 ;1099c: 2006
+ BSR.S LAB_109A4 ;1099e: 6104
+ MOVE.L D6,D0 ;109a0: 2006
+ ROR.L #1,D0 ;109a2: e298
+LAB_109A4:
+ ANDI.L #$55555555,D0 ;109a4: 028055555555
+ MOVE.L D0,D2 ;109aa: 2400
+ EORI.L #$55555555,D0 ;109ac: 0a8055555555
+ MOVE.L D2,D1 ;109b2: 2202
+ ADD.L D2,D2 ;109b4: d482
+ LSR.L #1,D1 ;109b6: e289
+ BSET #$1F,D1 ;109b8: 08c1001f
+ AND.L D2,D1 ;109bc: c282
+ OR.L D1,D0 ;109be: 8081
+ BTST #0,-1(A1) ;109c0: 08290000ffff
+ BEQ.S LAB_109CC ;109c6: 6704
+ BCLR #$1F,D0 ;109c8: 0880001f
+LAB_109CC:
+ MOVE.L D0,(A1)+ ;109cc: 22c0
+ RTS ;109ce: 4e75
+LAB_109D0:
+ MOVE.W $5E(A4),D2 ;109d0: 342c005e
+ BSR.W LAB_105AA ;109d4: 6100fbd4
+ MOVEA.L $14(A4),A0 ;109d8: 206c0014
+ MOVE.W $66(A4),D0 ;109dc: 302c0066
+ MOVE.L #$00000197,D5 ;109e0: 2a3c00000197
+ RTS ;109e6: 4e75
+LAB_109E8:
+ BSR.S LAB_109D0 ;109e8: 61e6
+ TST.W INT_WRONG.W ;109ea: 4a780060
+ BMI.S LAB_109FE ;109ee: 6b0e
+ MOVE.L D5,D4 ;109f0: 2805
+ MOVE.L D4,$32(A4) ;109f2: 29440032
+ CLR.W $56(A4) ;109f6: 426c0056
+ BSR.W LAB_108A2 ;109fa: 6100fea6
+LAB_109FE:
+ RTS ;109fe: 4e75
+LAB_10A00:
+ TST.W INT_WRONG.W ;10a00: 4a780060
+ BMI.S LAB_10A1A ;10a04: 6b14
+ BTST #3,EXT_BFE001 ;10a06: 0839000300bfe001
+ BNE.S LAB_10A16 ;10a0e: 6606
+ MOVEQ #-12,D7 ;10a10: 7ef4
+ BSR.W LAB_10870 ;10a12: 6100fe5c
+LAB_10A16:
+ TST.W INT_WRONG.W ;10a16: 4a780060
+LAB_10A1A:
+ RTS ;10a1a: 4e75
+LAB_10A1C:
+ TST.L D0 ;10a1c: 4a80
+ BPL.S LAB_10A28 ;10a1e: 6a08
+ ST $56(A4) ;10a20: 50ec0056
+ BSR.W LAB_10E9A ;10a24: 61000474
+LAB_10A28:
+ CLR.W $30(A4) ;10a28: 426c0030
+ CLR.L $46(A4) ;10a2c: 42ac0046
+ MOVE.B D0,$1F(A4) ;10a30: 1940001f
+ ADDQ.L #3,D1 ;10a34: 5681
+ ANDI.W #$fffc,D1 ;10a36: 0241fffc
+ MOVE.L D1,$42(A4) ;10a3a: 29410042
+ MOVE.L D1,$46(A4) ;10a3e: 29410046
+ BSR.W LAB_10360 ;10a42: 6100f91c
+ BMI.S LAB_10A58 ;10a46: 6b10
+ MOVE.L A1,$3A(A4) ;10a48: 2949003a
+ BSR.W LAB_107BC ;10a4c: 6100fd6e
+ BMI.S LAB_10A58 ;10a50: 6b06
+ BSR.S LAB_10A00 ;10a52: 61ac
+ TST.W INT_WRONG.W ;10a54: 4a780060
+LAB_10A58:
+ BMI.W LAB_1035C ;10a58: 6b00f902
+ MOVE.L $42(A4),$3E(A4) ;10a5c: 296c0042003e
+ CMPI.W #$524e,(A0) ;10a62: 0c50524e
+ BNE.S LAB_10A76 ;10a66: 660e
+ CMPI.B #$43,2(A0) ;10a68: 0c2800430002
+ BNE.S LAB_10A76 ;10a6e: 6606
+ MOVE.L 4(A0),$42(A4) ;10a70: 296800040042
+LAB_10A76:
+ MOVE.W $1E(A4),D0 ;10a76: 302c001e
+ BSR.W LAB_1081A ;10a7a: 6100fd9e
+ BSR.W LAB_10380 ;10a7e: 6100f900
+ BEQ.W LAB_10B14 ;10a82: 67000090
+ TST.L D5 ;10a86: 4a85
+ BEQ.W LAB_10B10 ;10a88: 67000086
+ MOVE.L D5,$4E(A4) ;10a8c: 2945004e
+ BSR.W LAB_10B1E ;10a90: 6100008c
+ BMI.S LAB_10A1A ;10a94: 6b84
+ MOVE.W D7,$52(A4) ;10a96: 39470052
+LAB_10A9A:
+ MOVE.W D7,$38(A4) ;10a9a: 39470038
+ TST.W $56(A4) ;10a9e: 4a6c0056
+ BEQ.S LAB_10AAE ;10aa2: 670a
+ BSR.W LAB_10EE8 ;10aa4: 61000442
+ TST.W D6 ;10aa8: 4a46
+ BMI.S LAB_10ACA ;10aaa: 6b1e
+ BRA.S LAB_10ADA ;10aac: 602c
+LAB_10AAE:
+ MOVE.L $3E(A4),D3 ;10aae: 262c003e
+ SUB.L $62(A4),D3 ;10ab2: 96ac0062
+ MOVE.L D3,$3E(A4) ;10ab6: 2943003e
+ BGT.S LAB_10AC4 ;10aba: 6e08
+ ADD.L $62(A4),D3 ;10abc: d6ac0062
+ ADDQ.L #3,D3 ;10ac0: 5683
+ LSR.L #2,D3 ;10ac2: e48b
+LAB_10AC4:
+ MOVE.L $3E(A4),D1 ;10ac4: 222c003e
+ BLE.S LAB_10ADA ;10ac8: 6f10
+LAB_10ACA:
+ CLR.W $34(A4) ;10aca: 426c0034
+ BSR.S LAB_10B1E ;10ace: 614e
+ BMI.W LAB_109FE ;10ad0: 6b00ff2c
+ MOVE.W D7,$32(A4) ;10ad4: 39470032
+ BRA.S LAB_10AE2 ;10ad8: 6008
+LAB_10ADA:
+ CLR.W $32(A4) ;10ada: 426c0032
+ MOVE.W D3,$34(A4) ;10ade: 39430034
+LAB_10AE2:
+ BSR.S LAB_10B42 ;10ae2: 615e
+ MOVE.W $32(A4),D7 ;10ae4: 3e2c0032
+ BNE.S LAB_10A9A ;10ae8: 66b0
+ MOVEA.L $3A(A4),A1 ;10aea: 226c003a
+ BSR.S LAB_10B2C ;10aee: 613c
+ MOVEA.L $4E(A4),A0 ;10af0: 206c004e
+ LEA $D(A0),A0 ;10af4: 41e8000d
+ MOVE.B $53(A4),(A0)+ ;10af8: 10ec0053
+ MOVE.B $31(A4),(A0)+ ;10afc: 10ec0031
+ MOVE.B $1F(A4),(A0)+ ;10b00: 10ec001f
+ MOVE.L $42(A4),(A0)+ ;10b04: 20ec0042
+ MOVE.L $46(A4),(A0)+ ;10b08: 20ec0046
+ BRA.W LAB_109E8 ;10b0c: 6000feda
+LAB_10B10:
+ MOVEQ #-8,D0 ;10b10: 70f8
+ BRA.S LAB_10B1A ;10b12: 6006
+LAB_10B14:
+ MOVEQ #-6,D0 ;10b14: 70fa
+ BRA.S LAB_10B1A ;10b16: 6002
+LAB_10B18:
+ MOVEQ #-7,D0 ;10b18: 70f9
+LAB_10B1A:
+ BRA.W LAB_10358 ;10b1a: 6000f83c
+LAB_10B1E:
+ BSR.S LAB_10B6E ;10b1e: 614e
+ BMI.S LAB_10B18 ;10b20: 6bf6
+ MOVE.W $54(A4),D5 ;10b22: 3a2c0054
+ ADDQ.W #1,$30(A4) ;10b26: 526c0030
+ BRA.S LAB_10B86 ;10b2a: 605a
+LAB_10B2C:
+ MOVEA.L $4E(A4),A0 ;10b2c: 206c004e
+ MOVEQ #$C,D7 ;10b30: 7e0c
+LAB_10B32:
+ MOVE.B (A1),(A0)+ ;10b32: 10d1
+ TST.B (A1)+ ;10b34: 4a19
+ BEQ.S LAB_10B40 ;10b36: 6708
+ DBF D7,LAB_10B32 ;10b38: 51cffff8
+ CLR.B -1(A0) ;10b3c: 4228ffff
+LAB_10B40:
+ RTS ;10b40: 4e75
+LAB_10B42:
+ MOVE.W $38(A4),D2 ;10b42: 342c0038
+ BSR.W LAB_105AA ;10b46: 6100fa62
+ MOVEQ #0,D4 ;10b4a: 7800
+ MOVE.W $34(A4),D4 ;10b4c: 382c0034
+ TST.W $32(A4) ;10b50: 4a6c0032
+ BEQ.S LAB_10B5C ;10b54: 6706
+ MOVE.W $64(A4),D4 ;10b56: 382c0064
+ LSR.W #2,D4 ;10b5a: e44c
+LAB_10B5C:
+ BSR.W LAB_108A2 ;10b5c: 6100fd44
+ BNE.S LAB_10B6C ;10b60: 660a
+ TST.W $56(A4) ;10b62: 4a6c0056
+ BNE.S LAB_10B6C ;10b66: 6604
+ ASL.W #2,D4 ;10b68: e544
+ ADDA.W D4,A0 ;10b6a: d0c4
+LAB_10B6C:
+ RTS ;10b6c: 4e75
+LAB_10B6E:
+ MOVEA.L $14(A4),A6 ;10b6e: 2c6c0014
+ MOVEQ #1,D7 ;10b72: 7e01
+LAB_10B74:
+ TST.B $18(A6,D7.W) ;10b74: 4a367018
+ BEQ.S LAB_10B84 ;10b78: 670a
+ ADDQ.W #1,D7 ;10b7a: 5247
+ CMP.W $68(A4),D7 ;10b7c: be6c0068
+ BLS.S LAB_10B74 ;10b80: 63f2
+ MOVEQ #-1,D7 ;10b82: 7eff
+LAB_10B84:
+ RTS ;10b84: 4e75
+LAB_10B86:
+ CMP.W $68(A4),D7 ;10b86: be6c0068
+ BHI.W LAB_1083E ;10b8a: 6200fcb2
+ MOVEA.L $14(A4),A6 ;10b8e: 2c6c0014
+ CMPI.B #$fe,$18(A6,D7.W) ;10b92: 0c3600fe7018
+ BEQ.W LAB_1083E ;10b98: 6700fca4
+ MOVE.B D5,$18(A6,D7.W) ;10b9c: 1d857018
+ CMP.W D7,D7 ;10ba0: be47
+ RTS ;10ba2: 4e75
+LAB_10BA4:
+ BSR.W LAB_103F8 ;10ba4: 6100f852
+ BSR.W LAB_10A00 ;10ba8: 6100fe56
+ BMI.W LAB_10C8C ;10bac: 6b0000de
+ BTST #$1E,D1 ;10bb0: 0801001e
+ BNE.S LAB_10C08 ;10bb4: 6652
+ MOVEM.L D0/A0-A1,-(A7) ;10bb6: 48e780c0
+ MOVE.W (A0),D0 ;10bba: 3010
+ MOVEQ #1,D3 ;10bbc: 7601
+ LEA -3820(A4),A0 ;10bbe: 41ecf114
+ CLR.W D2 ;10bc2: 4242
+LAB_10BC4:
+ CMP.W $5C(A4),D2 ;10bc4: b46c005c
+ BEQ.S LAB_10BEE ;10bc8: 6724
+ MOVEM.L D0-D3/A0,-(A7) ;10bca: 48e7f080
+ MOVEM.L D0-D7/A0-A6,-(A7) ;10bce: 48e7fffe
+ MOVEA.L EXT_0.W,A0 ;10bd2: 20780000
+ MOVEA.L -20(A0),A0 ;10bd6: 2068ffec
+ JSR (A0) ;10bda: 4e90
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;10bdc: 4cdf7fff
+ BSR.W LAB_10876 ;10be0: 6100fc94
+ MOVEM.L (A7)+,D0-D3/A0 ;10be4: 4cdf010f
+ TST.W INT_WRONG.W ;10be8: 4a780060
+ BMI.S LAB_10C00 ;10bec: 6b12
+LAB_10BEE:
+ ADDQ.W #1,D2 ;10bee: 5242
+ BTST #0,$61(A4) ;10bf0: 082c00000061
+ BNE.S LAB_10BFA ;10bf6: 6602
+ ADDQ.W #1,D2 ;10bf8: 5242
+LAB_10BFA:
+ CMP.W $68(A4),D2 ;10bfa: b46c0068
+ BLE.S LAB_10BC4 ;10bfe: 6fc4
+LAB_10C00:
+ MOVEM.L (A7)+,D0/A0-A1 ;10c00: 4cdf0301
+ BMI.W LAB_10C8C ;10c04: 6b000086
+LAB_10C08:
+ ST $28(A4) ;10c08: 50ec0028
+ MOVEA.L $14(A4),A6 ;10c0c: 2c6c0014
+ MOVE.W #$0196,D7 ;10c10: 3e3c0196
+LAB_10C14:
+ CLR.L (A6)+ ;10c14: 429e
+ DBF D7,LAB_10C14 ;10c16: 51cffffc
+ MOVEA.L $14(A4),A6 ;10c1a: 2c6c0014
+ MOVEM.L A1/A6,-(A7) ;10c1e: 48e70042
+ ADDQ.L #4,A6 ;10c22: 588e
+ MOVEQ #7,D6 ;10c24: 7c07
+LAB_10C26:
+ MOVE.B (A1)+,(A6)+ ;10c26: 1cd9
+ BEQ.S LAB_10C2E ;10c28: 6704
+ DBF D6,LAB_10C26 ;10c2a: 51cefffa
+LAB_10C2E:
+ MOVEM.L (A7)+,A1/A6 ;10c2e: 4cdf4200
+ BSR.W LAB_10360 ;10c32: 6100f72c
+ EORI.L #$fffffff6,INT_WRONG.W ;10c36: 0ab8fffffff60060
+ MOVE.L $20(A4),(A6) ;10c3e: 2cac0020
+ LEA $18(A6),A1 ;10c42: 43ee0018
+ MOVE.B #$fe,(A1)+ ;10c46: 12fc00fe
+ MOVE.W $5E(A4),D2 ;10c4a: 342c005e
+ MOVE.B #$fe,-1(A1,D2.W) ;10c4e: 13bc00fe20ff
+ MOVE.W $5C(A4),D2 ;10c54: 342c005c
+ CMP.W $68(A4),D2 ;10c58: b46c0068
+ BHI.S LAB_10C64 ;10c5c: 6206
+ MOVE.B #$fd,-1(A1,D2.W) ;10c5e: 13bc00fd20ff
+LAB_10C64:
+ BTST #0,$61(A4) ;10c64: 082c00000061
+ BNE.S LAB_10C78 ;10c6a: 660c
+ MOVEQ #$4F,D6 ;10c6c: 7c4f
+LAB_10C6E:
+ MOVE.B #$fe,(A1) ;10c6e: 12bc00fe
+ ADDQ.L #2,A1 ;10c72: 5489
+ DBF D6,LAB_10C6E ;10c74: 51cefff8
+LAB_10C78:
+ MOVE.W (A0),$66(A4) ;10c78: 39500066
+ LEA $C(A6),A1 ;10c7c: 43ee000c
+ MOVEQ #5,D7 ;10c80: 7e05
+LAB_10C82:
+ MOVE.W (A0)+,(A1)+ ;10c82: 32d8
+ DBF D7,LAB_10C82 ;10c84: 51cffffc
+ BSR.W LAB_109E8 ;10c88: 6100fd5e
+LAB_10C8C:
+ BRA.W MotorOff ;10c8c: 6000f9f4
+GetMemInfo:
+ LEA LAB_10FE4(PC),A0 ;10c90: 41fa0352
+ MOVEA.L LAB_10F7C(PC),A1 ;10c94: 227a02e6
+ RTS ;10c98: 4e75
+FreeMem:
+ MOVEM.L D1/A1-A2,-(A7) ;10c9a: 48e74060
+ LEA -16(A0),A0 ;10c9e: 41e8fff0
+ BCLR #0,$B(A0) ;10ca2: 08a80000000b
+ MOVE.L 8(A0),D0 ;10ca8: 20280008
+ MOVE.L (A0),D1 ;10cac: 2210
+ BEQ.S LAB_10CBA ;10cae: 670a
+ MOVEA.L D1,A1 ;10cb0: 2241
+ CMP.L 8(A1),D0 ;10cb2: b0a90008
+ BNE.S LAB_10CBA ;10cb6: 6602
+ BSR.S LAB_10CD2 ;10cb8: 6118
+LAB_10CBA:
+ MOVE.L 4(A0),D1 ;10cba: 22280004
+ BEQ.S LAB_10CCC ;10cbe: 670c
+ MOVEA.L D1,A1 ;10cc0: 2241
+ CMP.L 8(A1),D0 ;10cc2: b0a90008
+ BNE.S LAB_10CCC ;10cc6: 6604
+ EXG A1,A0 ;10cc8: c348
+ BSR.S LAB_10CD2 ;10cca: 6106
+LAB_10CCC:
+ MOVEM.L (A7)+,D1/A1-A2 ;10ccc: 4cdf0602
+ RTS ;10cd0: 4e75
+LAB_10CD2:
+ MOVEA.L (A1),A2 ;10cd2: 2451
+ MOVE.L A2,(A0) ;10cd4: 208a
+ MOVE.L A2,D1 ;10cd6: 220a
+ BEQ.S LAB_10CEC ;10cd8: 6712
+ TST.L 4(A1) ;10cda: 4aa90004
+ BEQ.S LAB_10CEC ;10cde: 670c
+ TST.L 4(A2) ;10ce0: 4aaa0004
+ BEQ.S LAB_10CEC ;10ce4: 6706
+ MOVE.L 4(A1),4(A2) ;10ce6: 256900040004
+LAB_10CEC:
+ MOVE.L $C(A1),D1 ;10cec: 2229000c
+ ADDI.L #$00000010,D1 ;10cf0: 068100000010
+ ADD.L D1,$C(A0) ;10cf6: d3a8000c
+ RTS ;10cfa: 4e75
+LAB_10CFC:
+ MOVE.L 8(A0),D2 ;10cfc: 24280008
+ BTST #1,D0 ;10d00: 08000001
+ BNE.S LAB_10D28 ;10d04: 6622
+ BTST #3,D0 ;10d06: 08000003
+ BNE.S LAB_10D1A ;10d0a: 660e
+ BTST #0,D0 ;10d0c: 08000000
+ BEQ.S LAB_10D22 ;10d10: 6710
+ BTST #1,D2 ;10d12: 08020001
+ BEQ.S LAB_10D2E ;10d16: 6716
+ BRA.S LAB_10D28 ;10d18: 600e
+LAB_10D1A:
+ BTST #2,D2 ;10d1a: 08020002
+ BEQ.S LAB_10D2E ;10d1e: 670e
+ BRA.S LAB_10D28 ;10d20: 6006
+LAB_10D22:
+ BTST #1,D2 ;10d22: 08020001
+ BNE.S LAB_10D2E ;10d26: 6606
+LAB_10D28:
+ BTST #0,D2 ;10d28: 08020000
+ BEQ.S LAB_10D30 ;10d2c: 6702
+LAB_10D2E:
+ MOVEQ #-1,D2 ;10d2e: 74ff
+LAB_10D30:
+ RTS ;10d30: 4e75
+AllocMemType:
+ BTST #1,D0 ;10d32: 08000001
+ BEQ.S LAB_10D46 ;10d36: 670e
+ MOVEQ #8,D0 ;10d38: 7008
+ BSR.S LAB_10D46 ;10d3a: 610a
+ BNE.S LAB_10D70 ;10d3c: 6632
+ MOVEQ #1,D0 ;10d3e: 7001
+ BSR.S LAB_10D46 ;10d40: 6104
+ BNE.S LAB_10D70 ;10d42: 662c
+ MOVEQ #0,D0 ;10d44: 7000
+LAB_10D46:
+ MOVE.L A0,-(A7) ;10d46: 2f08
+ MOVE.L D1,-(A7) ;10d48: 2f01
+ BSR.S AllocateMem ;10d4a: 6126
+ MOVE.L (A7)+,D1 ;10d4c: 221f
+ MOVE.L LAB_10FC6(PC),D0 ;10d4e: 203a0276
+ BEQ.S LAB_10D6C ;10d52: 6718
+ MOVEA.L D0,A0 ;10d54: 2040
+ MOVE.L $C(A0),D0 ;10d56: 2028000c
+ CMP.L D0,D1 ;10d5a: b280
+ BHI.S LAB_10D6C ;10d5c: 620e
+ SUB.L D1,D0 ;10d5e: 9081
+ MOVE.L D0,$C(A0) ;10d60: 2140000c
+ LEA $10(A0,D0.L),A0 ;10d64: 41f00810
+ MOVE.L A0,D0 ;10d68: 2008
+ BRA.S LAB_10D6E ;10d6a: 6002
+LAB_10D6C:
+ CLR.L D0 ;10d6c: 4280
+LAB_10D6E:
+ MOVEA.L (A7)+,A0 ;10d6e: 205f
+LAB_10D70:
+ RTS ;10d70: 4e75
+AllocateMem:
+ MOVEM.L D2-D3/A1/A6,-(A7) ;10d72: 48e73042
+ LEA LAB_10FC6(PC),A6 ;10d76: 4dfa024e
+ CLR.L (A6) ;10d7a: 4296
+ MOVEA.L LAB_10F7C(PC),A0 ;10d7c: 207a01fe
+ CLR.L D1 ;10d80: 4281
+ CLR.L D3 ;10d82: 4283
+LAB_10D84:
+ BSR.W LAB_10CFC ;10d84: 6100ff76
+ BNE.S LAB_10D98 ;10d88: 660e
+ MOVE.L A0,(A6) ;10d8a: 2c88
+ MOVE.L $C(A0),D2 ;10d8c: 2428000c
+ CMP.L D3,D2 ;10d90: b483
+ BLS.S LAB_10D96 ;10d92: 6302
+ MOVE.L D2,D3 ;10d94: 2602
+LAB_10D96:
+ ADD.L D2,D1 ;10d96: d282
+LAB_10D98:
+ MOVE.L (A0),D2 ;10d98: 2410
+ BEQ.S LAB_10DA0 ;10d9a: 6704
+ MOVEA.L D2,A0 ;10d9c: 2042
+ BRA.S LAB_10D84 ;10d9e: 60e4
+LAB_10DA0:
+ MOVE.L D3,D0 ;10da0: 2003
+ MOVEM.L (A7)+,D2-D3/A1/A6 ;10da2: 4cdf420c
+ RTS ;10da6: 4e75
+MemoryFunc:
+ MOVEM.L D1-D2/A1-A2,-(A7) ;10da8: 48e76060
+ MOVEA.L LAB_10F7C(PC),A0 ;10dac: 207a01ce
+ ADDQ.L #1,D1 ;10db0: 5281
+ ANDI.W #$fffe,D1 ;10db2: 0241fffe
+LAB_10DB6:
+ BSR.W LAB_10CFC ;10db6: 6100ff44
+ BNE.S LAB_10DC2 ;10dba: 6606
+ CMP.L $C(A0),D1 ;10dbc: b2a8000c
+ BLS.S LAB_10DCA ;10dc0: 6308
+LAB_10DC2:
+ MOVE.L (A0),D2 ;10dc2: 2410
+ BEQ.S LAB_10E24 ;10dc4: 675e
+ MOVEA.L D2,A0 ;10dc6: 2042
+ BRA.S LAB_10DB6 ;10dc8: 60ec
+LAB_10DCA:
+ MOVE.L $C(A0),D2 ;10dca: 2428000c
+ SUB.L D1,D2 ;10dce: 9481
+ CMP.L #$00000017,D2 ;10dd0: b4bc00000017
+ BHI.S LAB_10DDC ;10dd6: 6204
+ MOVE.L $C(A0),D1 ;10dd8: 2228000c
+LAB_10DDC:
+ CMP.L $C(A0),D1 ;10ddc: b2a8000c
+ BEQ.S LAB_10E06 ;10de0: 6724
+ LEA $10(A0,D1.L),A1 ;10de2: 43f01810
+ MOVE.L (A0),(A1) ;10de6: 2290
+ MOVE.L 8(A0),8(A1) ;10de8: 236800080008
+ MOVE.L A1,(A0) ;10dee: 2089
+ MOVE.L A0,4(A1) ;10df0: 23480004
+ MOVEA.L $C(A0),A2 ;10df4: 2468000c
+ MOVE.L D1,$C(A0) ;10df8: 2141000c
+ SUBA.L D1,A2 ;10dfc: 95c1
+ SUBA.W #$0010,A2 ;10dfe: 94fc0010
+ MOVE.L A2,$C(A1) ;10e02: 234a000c
+LAB_10E06:
+ BSET #0,$B(A0) ;10e06: 08e80000000b
+ LEA $10(A0),A0 ;10e0c: 41e80010
+ BTST #2,D0 ;10e10: 08000002
+ BEQ.S LAB_10E20 ;10e14: 670a
+ MOVEA.L A0,A1 ;10e16: 2248
+ LSR.L #1,D1 ;10e18: e289
+LAB_10E1A:
+ CLR.W (A1)+ ;10e1a: 4259
+ SUBQ.L #1,D1 ;10e1c: 5381
+ BNE.S LAB_10E1A ;10e1e: 66fa
+LAB_10E20:
+ MOVE.L A0,D0 ;10e20: 2008
+ BRA.S LAB_10E26 ;10e22: 6002
+LAB_10E24:
+ CLR.L D0 ;10e24: 4280
+LAB_10E26:
+ MOVEM.L (A7)+,D1-D2/A1-A2 ;10e26: 4cdf0606
+ RTS ;10e2a: 4e75
+Initialise:
+ MOVEM.L D0-D2/D4/A2-A4,-(A7) ;10e2c: 48e7e838
+ LEA LAB_10FE4(PC),A3 ;10e30: 47fa01b2
+ MOVE.L (A1)+,(A3)+ ;10e34: 26d9
+ MOVE.W (A1)+,(A3) ;10e36: 3699
+ ADDQ.L #2,A1 ;10e38: 5489
+ MOVEA.L A1,A3 ;10e3a: 2649
+ MOVE.L A0,D2 ;10e3c: 2408
+ LEA LAB_10F7C(PC),A2 ;10e3e: 45fa013c
+ MOVEQ #6,D0 ;10e42: 7006
+ BSR.S LAB_10E54 ;10e44: 610e
+ MOVEQ #2,D0 ;10e46: 7002
+ BSR.S LAB_10E54 ;10e48: 610a
+ MOVEQ #0,D0 ;10e4a: 7000
+ BSR.S LAB_10E54 ;10e4c: 6106
+ MOVEM.L (A7)+,D0-D2/D4/A2-A4 ;10e4e: 4cdf1c17
+ RTS ;10e52: 4e75
+LAB_10E54:
+ MOVEA.L A3,A1 ;10e54: 224b
+LAB_10E56:
+ MOVEQ #2,D1 ;10e56: 7202
+ CMPI.W #$00c0,(A1) ;10e58: 0c5100c0
+ BEQ.S LAB_10E76 ;10e5c: 6718
+ MOVEQ #6,D1 ;10e5e: 7206
+ TST.L (A1) ;10e60: 4a91
+ BNE.S LAB_10E76 ;10e62: 6612
+ MOVEQ #0,D1 ;10e64: 7200
+ TST.L 4(A1) ;10e66: 4aa90004
+ BEQ.S LAB_10E98 ;10e6a: 672c
+ CMP.W D0,D1 ;10e6c: b240
+ BNE.S LAB_10E94 ;10e6e: 6624
+ SUB.L D2,4(A1) ;10e70: 95a90004
+ ADD.L D2,(A1) ;10e74: d591
+LAB_10E76:
+ CMP.W D1,D0 ;10e76: b041
+ BNE.S LAB_10E94 ;10e78: 661a
+ MOVE.L (A1),(A2) ;10e7a: 2491
+ MOVEA.L (A1),A2 ;10e7c: 2451
+ CLR.L (A2) ;10e7e: 4292
+ CLR.L 4(A2) ;10e80: 42aa0004
+ MOVE.L D1,8(A2) ;10e84: 25410008
+ MOVEA.L 4(A1),A4 ;10e88: 28690004
+ SUBA.W #$0010,A4 ;10e8c: 98fc0010
+ MOVE.L A4,$C(A2) ;10e90: 254c000c
+LAB_10E94:
+ ADDQ.L #8,A1 ;10e94: 5089
+ BRA.S LAB_10E56 ;10e96: 60be
+LAB_10E98:
+ RTS ;10e98: 4e75
+LAB_10E9A:
+ MOVEM.L D0-D2/A0-A1,-(A7) ;10e9a: 48e7e0c0
+ MOVEA.L (A4),A1 ;10e9e: 2254
+ MOVE.W #$003f,D0 ;10ea0: 303c003f
+LAB_10EA4:
+ CLR.L (A1)+ ;10ea4: 4299
+ DBF D0,LAB_10EA4 ;10ea6: 51c8fffc
+ MOVEA.L (A4),A1 ;10eaa: 2254
+ CLR.W D2 ;10eac: 4242
+ CLR.W D0 ;10eae: 4240
+ BRA.S LAB_10EC0 ;10eb0: 600e
+LAB_10EB2:
+ MOVE.B (A0)+,D0 ;10eb2: 1018
+ CMPI.B #$ff,0(A1,D0.W) ;10eb4: 0c3100ff0000
+ BEQ.S LAB_10EC0 ;10eba: 6704
+ ADDQ.B #1,0(A1,D0.W) ;10ebc: 52310000
+LAB_10EC0:
+ SUBQ.L #1,D1 ;10ec0: 5381
+ BPL.S LAB_10EB2 ;10ec2: 6aee
+ MOVE.W #$00fe,D1 ;10ec4: 323c00fe
+ MOVE.W D1,D2 ;10ec8: 3401
+ MOVE.W D1,D0 ;10eca: 3001
+LAB_10ECC:
+ CMP.B 1(A1,D1.W),D0 ;10ecc: b0311001
+ BLS.S LAB_10ED8 ;10ed0: 6306
+ MOVE.B 1(A1,D1.W),D0 ;10ed2: 10311001
+ MOVE.W D1,D2 ;10ed6: 3401
+LAB_10ED8:
+ DBF D1,LAB_10ECC ;10ed8: 51c9fff2
+ ADDQ.W #1,D2 ;10edc: 5242
+ MOVE.W D2,$5A(A4) ;10ede: 3942005a
+ MOVEM.L (A7)+,D0-D2/A0-A1 ;10ee2: 4cdf0307
+ RTS ;10ee6: 4e75
+LAB_10EE8:
+ MOVEM.L D0-D2/A1-A2,-(A7) ;10ee8: 48e7e060
+ MOVE.W $5A(A4),D2 ;10eec: 342c005a
+ MOVE.L $3E(A4),D3 ;10ef0: 262c003e
+ MOVEA.L (A4),A2 ;10ef4: 2454
+ LEA $31F0(A2),A2 ;10ef6: 45ea31f0
+ SUBA.W $64(A4),A2 ;10efa: 94ec0064
+ LEA 8(A2),A1 ;10efe: 43ea0008
+ MOVE.L #$5061436b,(A2)+ ;10f02: 24fc5061436b
+ MOVE.W $64(A4),D6 ;10f08: 3c2c0064
+ SUBI.W #$0009,D6 ;10f0c: 04460009
+LAB_10F10:
+ SUBQ.L #1,D3 ;10f10: 5383
+ BMI.S LAB_10F56 ;10f12: 6b42
+ MOVE.B (A0)+,D0 ;10f14: 1018
+ CMP.W #$0001,D6 ;10f16: bc7c0001
+ BLS.S LAB_10F50 ;10f1a: 6334
+ CMP.B D0,D2 ;10f1c: b400
+ BNE.S LAB_10F28 ;10f1e: 6608
+ MOVE.B D0,(A1)+ ;10f20: 12c0
+ MOVE.B D0,(A1)+ ;10f22: 12c0
+ CLR.W D0 ;10f24: 4240
+ BRA.S LAB_10F4E ;10f26: 6026
+LAB_10F28:
+ CMP.B (A0),D0 ;10f28: b010
+ BNE.S LAB_10F50 ;10f2a: 6624
+ CMP.B 1(A0),D0 ;10f2c: b0280001
+ BNE.S LAB_10F50 ;10f30: 661e
+ CLR.W D1 ;10f32: 4241
+LAB_10F34:
+ CMP.B (A0)+,D0 ;10f34: b018
+ BNE.S LAB_10F46 ;10f36: 660e
+ SUBQ.L #1,D3 ;10f38: 5383
+ BMI.S LAB_10F48 ;10f3a: 6b0c
+ ADDQ.W #1,D1 ;10f3c: 5241
+ CMP.W #$00ff,D1 ;10f3e: b27c00ff
+ BNE.S LAB_10F34 ;10f42: 66f0
+ BRA.S LAB_10F48 ;10f44: 6002
+LAB_10F46:
+ SUBQ.L #1,A0 ;10f46: 5388
+LAB_10F48:
+ MOVE.B D2,(A1)+ ;10f48: 12c2
+ MOVE.B D0,(A1)+ ;10f4a: 12c0
+ MOVE.W D1,D0 ;10f4c: 3001
+LAB_10F4E:
+ SUBQ.W #2,D6 ;10f4e: 5546
+LAB_10F50:
+ MOVE.B D0,(A1)+ ;10f50: 12c0
+ DBF D6,LAB_10F10 ;10f52: 51ceffbc
+LAB_10F56:
+ MOVE.L $3E(A4),D1 ;10f56: 222c003e
+ TST.L D3 ;10f5a: 4a83
+ BMI.S LAB_10F60 ;10f5c: 6b02
+ SUB.L D3,D1 ;10f5e: 9283
+LAB_10F60:
+ MOVE.L D3,$3E(A4) ;10f60: 2943003e
+ MOVE.L D1,(A2) ;10f64: 2481
+ MOVE.B D2,(A2) ;10f66: 1482
+ MOVE.W $64(A4),D3 ;10f68: 362c0064
+ SUB.W D6,D3 ;10f6c: 9646
+ ADDQ.W #2,D3 ;10f6e: 5443
+ LSR.W #2,D3 ;10f70: e44b
+ MOVEM.L (A7)+,D0-D2/A1-A2 ;10f72: 4cdf0607
+ RTS ;10f76: 4e75
+; ------------------------------------------------------------------------------
+; Data values follow
+; ------------------------------------------------------------------------------
+DataBuffer:
+ DS.L 1 ;10f78
+LAB_10F7C:
+ DS.L 4 ;10f7c
+DirBuffer:
+ DS.L 1 ;10f8c
+ DC.L $aaaaaaaa ;10f90
+LAB_10F94:
+ DC.L $ffff0000,$ffffffff ;10f94
+LAB_10F9C:
+ DC.L $ffff0000 ;10f9c
+LAB_10FA0:
+ DC.W $ffff ;10fa0
+LAB_10FA2:
+ DC.L $ffffffff,$ffff0000 ;10fa2
+ DS.L 7 ;10faa
+LAB_10FC6:
+ DS.L 3 ;10fc6
+ DS.W 1 ;10fd2
+LAB_10FD4:
+ DC.L $00010002,$00070000 ;10fd4
+ DC.W $1810 ;10fdc
+LAB_10FDE:
+ DC.L $4522009f ;10fde
+ DC.W $0040 ;10fe2
+LAB_10FE4:
+ DS.L 1 ;10fe4
+ DS.W 1 ;10fe8
+LAB_10FEA:
+ DC.W $0030 ;10fea
+LAB_10FEC:
+ DC.L $d8f80201,$19910000 ;10fec
+ DS.L 3 ;10ff4
+ END
diff --git a/src/RaTtDOS.cnf b/src/RaTtDOS.cnf
new file mode 100644
index 0000000..7bea7cc
--- /dev/null
+++ b/src/RaTtDOS.cnf
@@ -0,0 +1,57 @@
+MACHINE 68000
+ENTRY $00010000
+OFFSET $00010000
+CODE $00010000 - $00010084
+CODE $000100AA - $00010F78
+TEXT $0001008C - $000100AA
+SYMBOL SetDriveParams $000100AA
+SYMBOL RawRead $000100FE
+SYMBOL SaveFile $00010106
+SYMBOL Ratt_Unknown $0001010E
+SYMBOL LoadFile $00010116
+SYMBOL WriteDir $00010122
+SYMBOL Write_Unknown $00010168
+SYMBOL FindDirEntry $00010172
+SYMBOL RenameFile $0001017A
+SYMBOL GetDrives $00010198
+SYMBOL EmptyFunc $0001019C
+SYMBOL GetDiskDir $0001019E
+SYMBOL GetBuffers $000101B0
+SYMBOL SetDataBuff $000101BA
+SYMBOL SetDirBuff $000101C2
+SYMBOL ResetDrives $000101C8
+SYMBOL SetInts $000101DC
+SYMBOL RestoreInts $000101F0
+SYMBOL SetDirSize $00010212
+SYMBOL ClearDir $00010224
+SYMBOL GetEmptyTrack $0001022C
+SYMBOL SetSync $00010240
+SYMBOL InitDrSync $00010248
+SYMBOL InitDrives $00010256
+SYMBOL ChangeDisk $000102A6
+SYMBOL SpecMotorOff $0001067E
+SYMBOL MotorOff $00010682
+SYMBOL GetMemInfo $00010C90
+SYMBOL FreeMem $00010C9A
+SYMBOL AllocMemType $00010D32
+SYMBOL AllocateMem $00010D72
+SYMBOL MemoryFunc $00010DA8
+SYMBOL Initialise $00010E2C
+SYMBOL DataBuffer $00010F78
+SYMBOL DirBuffer $00010F8C
+LABEL SomeBytes $00010084
+LABEL VersionStr $0001008C
+COMMENT $101E0 intenar
+COMMENT $101E6 intena
+COMMENT $101FA intena
+COMMENT $10284 hardbase
+COMMENT $10292 prb
+BANNER $10000 RATT-DOS
+BANNER $10000 Raw binary file of Crowther's disk operating system
+BANNER $10000 Apparently it was faster than AmigaDOS, aided portability to Atari ST,
+BANNER $10000 and made the game harder to pirate.
+BANNER $10000 Functions from WHDLoad
+BANNER $10000 In emulator it loads at memory location 0x138
+BANNER $10F78 Data values follow
+EQU dmaconr $1028C.W
+END
diff --git a/src/fed_Demo.asm b/src/fed_Demo.asm
new file mode 100644
index 0000000..8cf3614
--- /dev/null
+++ b/src/fed_Demo.asm
@@ -0,0 +1,1712 @@
+; IRA V2.11 (Jun 19 2024) (c)1993-1995 Tim Ruehsen
+; (c)2009-2024 Frank Wille, (c)2014-2019 Nicolas Bastien
+
+EXT_0 EQU $0
+ABSEXECBASE EQU $4
+AUTO_INT1 EQU $64
+AUTO_INT3 EQU $6C
+AUTO_INT6 EQU $78
+CIAB_TALO EQU $BFD400
+CIAB_TAHI EQU $BFD500
+CIAB_ICR EQU $BFDD00
+CIAB_CRA EQU $BFDE00
+CIAA_PRA EQU $BFE001
+HARDBASE EQU $DFF000
+EXT_DFF007 EQU $DFF007
+INTENAR EQU $DFF01C
+INTREQR EQU $DFF01E
+COP1LCH EQU $DFF080
+COPJMP1 EQU $DFF088
+DIWSTRT EQU $DFF08E
+DIWSTOP EQU $DFF090
+DDFSTRT EQU $DFF092
+DFFSTOP EQU $DFF094
+DMACON EQU $DFF096
+INTENA EQU $DFF09A
+INTREQ EQU $DFF09C
+BPLCON0 EQU $DFF100
+BPLCON1 EQU $DFF102
+BPLCON2 EQU $DFF104
+BPL1MOD EQU $DFF108
+BPL2MOD EQU $DFF10A
+COLOR00 EQU $DFF180
+
+; Custom equates (from config file)
+FindDirEntry EQU $58
+MemoryFunc EQU $6C
+LoadFile EQU $1C
+FreeMem EQU $70
+
+
+
+
+ SECTION S_0,CODE
+
+SECSTRT_0:
+; ------------------------------------------------------------------------------
+; fed_Demo, Knightmare intro
+; $0 is a pointer to RATT-DOS
+; ------------------------------------------------------------------------------
+ MOVEA.L EXT_0.W,A6 ;10000: 2c780000
+ LEA LAB_10712(PC),A0 ;10004: 41fa070c
+ MOVE.L A1,(A0) ;10008: 2089
+; load sprites
+ LEA seg5b(PC),A4 ;1000a: 49fa071d
+ MOVEQ #2,D0 ;1000e: 7002
+ BSR.W SUB_fileget ;10010: 610008e6
+ BEQ.W LAB_1014A ;10014: 67000134
+ LEA LAB_10706(PC),A0 ;10018: 41fa06ec
+ MOVE.L D0,(A0) ;1001c: 2080
+ MOVEQ #4,D0 ;1001e: 7004
+ MOVE.L #$0000fb90,D1 ;10020: 223c0000fb90
+ JSR MemoryFunc(A6) ;10026: 4eae006c
+ BEQ.W LAB_1013E ;1002a: 67000112
+ LEA LAB_1070A(PC),A0 ;1002e: 41fa06da
+ MOVE.L D0,(A0) ;10032: 2080
+ PEA palette2(PC) ;10034: 487a0628
+ LEA LAB_106E2(PC),A0 ;10038: 41fa06a8
+ MOVE.L (A7)+,(A0) ;1003c: 209f
+ LEA title_mus(PC),A4 ;1003e: 49fa06da
+ MOVEQ #0,D0 ;10042: 7000
+ BSR.W SUB_fileget ;10044: 610008b2
+ BEQ.W LAB_10132 ;10048: 670000e8
+ LEA LAB_1070E(PC),A0 ;1004c: 41fa06c0
+ MOVE.L D0,(A0) ;10050: 2080
+ BSR.W SUB_102EE ;10052: 6100029a
+ LEA min001(PC),A4 ;10056: 49fa06e7
+ ST -39(A4) ;1005a: 50ecffd9
+ BSR.W SUB_101CA ;1005e: 6100016a
+ BSR.W SUB_11590 ;10062: 6100152c
+ BEQ.W LAB_1010E ;10066: 670000a6
+ LEA min002(PC),A4 ;1006a: 49fa06df
+ BSR.W SUB_101CA ;1006e: 6100015a
+ BSR.W SUB_11590 ;10072: 6100151c
+ BEQ.W LAB_1010E ;10076: 67000096
+ LEA min003(PC),A4 ;1007a: 49fa06db
+ ST -1073(A4) ;1007e: 50ecfbcf
+ BSR.W SUB_101CA ;10082: 61000146
+ BSR.W SUB_11590 ;10086: 61001508
+ BEQ.W LAB_1010E ;1008a: 67000082
+ LEA title_mus(PC),A4 ;1008e: 49fa068a
+ MOVEA.L LAB_1070E(PC),A0 ;10092: 207a067a
+ MOVEA.L A4,A1 ;10096: 224c
+ MOVEQ #-1,D1 ;10098: 72ff
+ JSR LoadFile(A6) ;1009a: 4eae001c
+ TST.L D0 ;1009e: 4a80
+ BMI.W LAB_1010E ;100a0: 6b00006c
+ BSR.W SUB_10310 ;100a4: 6100026a
+ MOVE.L LAB_1070E(PC),D0 ;100a8: 203a0664
+ BSR.W SUB_108E4 ;100ac: 61000836
+ LEA LAB_1015A(PC),A0 ;100b0: 41fa00a8
+ ST (A0) ;100b4: 50d0
+ BSR.W SUB_102EE ;100b6: 61000236
+ BSR.W SUB_10502 ;100ba: 61000446
+ MOVE.W LAB_1158E(PC),D0 ;100be: 303a14ce
+ BMI.W LAB_1010E ;100c2: 6b00004a
+LAB_100C6:
+ LEA LAB_10638(PC),A0 ;100c6: 41fa0570
+ MOVE.W #$0004,(A0) ;100ca: 30bc0004
+ BSR.W SUB_1015C ;100ce: 6100008c
+ MOVE.W LAB_1158E(PC),D0 ;100d2: 303a14ba
+ BMI.W LAB_1010E ;100d6: 6b000036
+ LEA seg5b(PC),A4 ;100da: 49fa064d
+ MOVEA.L LAB_10706(PC),A0 ;100de: 207a0626
+ MOVEA.L A4,A1 ;100e2: 224c
+ MOVE.L #$0003f034,D0 ;100e4: 203c0003f034
+ MOVEQ #-1,D1 ;100ea: 72ff
+ JSR LoadFile(A6) ;100ec: 4eae001c
+ TST.L D0 ;100f0: 4a80
+ BMI.W LAB_1010E ;100f2: 6b00001a
+ BSR.W SUB_1025C ;100f6: 61000164
+ MOVE.W LAB_1158E(PC),D0 ;100fa: 303a1492
+ BNE.W LAB_1010E ;100fe: 6600000e
+ BSR.W SUB_10502 ;10102: 610003fe
+ BRA.W LAB_100C6 ;10106: 6000ffbe
+Hang:
+ BRA.W Hang ;1010a: 6000fffe
+LAB_1010E:
+ BSR.W SUB_10310 ;1010e: 61000200
+ MOVE.W LAB_1015A(PC),D0 ;10112: 303a0046
+ BEQ.S LAB_10126 ;10116: 670e
+ BSR.W SUB_11408 ;10118: 610012ee
+ MOVEQ #-1,D0 ;1011c: 70ff
+LAB_1011E:
+ DBF D0,LAB_1011E ;1011e: 51c8fffe
+ BSR.W SUB_112D0 ;10122: 610011ac
+LAB_10126:
+ MOVE.L LAB_1070E(PC),D0 ;10126: 203a05e6
+ BEQ.S LAB_10132 ;1012a: 6706
+ MOVEA.L D0,A0 ;1012c: 2040
+ JSR FreeMem(A6) ;1012e: 4eae0070
+LAB_10132:
+ MOVE.L LAB_1070A(PC),D0 ;10132: 203a05d6
+ BEQ.S LAB_1013E ;10136: 6706
+ MOVEA.L D0,A0 ;10138: 2040
+ JSR FreeMem(A6) ;1013a: 4eae0070
+LAB_1013E:
+ MOVE.L LAB_10706(PC),D0 ;1013e: 203a05c6
+ BEQ.S LAB_1014A ;10142: 6706
+ MOVEA.L D0,A0 ;10144: 2040
+ JSR $70(A6) ;10146: 4eae0070
+LAB_1014A:
+ MOVEA.L LAB_10712(PC),A0 ;1014a: 207a05c6
+; clear 40,000 bytes
+ MOVE.W #$270f,D0 ;1014e: 303c270f
+LAB_10152:
+ CLR.L (A0)+ ;10152: 4298
+ DBF D0,LAB_10152 ;10154: 51c8fffc
+ RTS ;10158: 4e75
+LAB_1015A:
+ DS.W 1 ;1015a
+SUB_1015C:
+ LEA seg5a(PC),A4 ;1015c: 49fa05d6
+ MOVEA.L LAB_10712(PC),A0 ;10160: 207a05b0
+ MOVEA.L A4,A1 ;10164: 224c
+ MOVEQ #-1,D1 ;10166: 72ff
+ JSR LoadFile(A6) ;10168: 4eae001c
+ MOVEA.L LAB_10712(PC),A0 ;1016c: 207a05a4
+ LEA LAB_10770(PC),A1 ;10170: 43fa05fe
+ MOVE.L (A0)+,(A1)+ ;10174: 22d8
+ MOVE.L (A0)+,(A1)+ ;10176: 22d8
+ MOVE.L (A0),D2 ;10178: 2410
+ MOVE.L (A0)+,(A1)+ ;1017a: 22d8
+ MOVE.L (A0),D1 ;1017c: 2210
+ MOVE.W #$0027,D0 ;1017e: 303c0027
+LAB_10182:
+ MOVE.L (A0)+,(A1) ;10182: 2298
+ SUB.L D1,(A1)+ ;10184: 9399
+ DBF D0,LAB_10182 ;10186: 51c8fffa
+ MOVEA.L LAB_10712(PC),A1 ;1018a: 227a0586
+ MOVEA.L A1,A0 ;1018e: 2049
+ ADDA.L D2,A0 ;10190: d1c2
+ MOVE.W #$1f3f,D0 ;10192: 303c1f3f
+LAB_10196:
+ MOVE.L (A0)+,(A1)+ ;10196: 22d8
+ DBF D0,LAB_10196 ;10198: 51c8fffc
+ LEA LAB_10876(PC),A1 ;1019c: 43fa06d8
+ MOVE.W #$0001,(A1) ;101a0: 32bc0001
+ BSR.W SUB_10354 ;101a4: 610001ae
+ LEA LAB_10324(PC),A0 ;101a8: 41fa017a
+LAB_101AC:
+ BSR.W SUB_11590 ;101ac: 610013e2
+ BEQ.S LAB_101B8 ;101b0: 6706
+ CMPI.W #$00be,(A0) ;101b2: 0c5000be
+ BLS.S LAB_101AC ;101b6: 63f4
+LAB_101B8:
+ RTS ;101b8: 4e75
+SUB_101BA:
+ LEA min2001(PC),A4 ;101ba: 49fa05a7
+ MOVE.B D7,$B(A4) ;101be: 1947000b
+ MOVE.L D7,-(A7) ;101c2: 2f07
+ BSR.S SUB_101CA ;101c4: 6104
+ MOVE.L (A7)+,D7 ;101c6: 2e1f
+LAB_101C8:
+ RTS ;101c8: 4e75
+SUB_101CA:
+ MOVE.W LAB_1158E(PC),D0 ;101ca: 303a13c2
+ BNE.S LAB_101C8 ;101ce: 66f8
+ LEA LAB_10638(PC),A0 ;101d0: 41fa0466
+ MOVE.W #$0005,(A0) ;101d4: 30bc0005
+ MOVEA.L LAB_10706(PC),A0 ;101d8: 207a052c
+ MOVEA.L A4,A1 ;101dc: 224c
+ MOVEQ #-1,D1 ;101de: 72ff
+ JSR LoadFile(A6) ;101e0: 4eae001c
+ LEA LAB_105C4(PC),A0 ;101e4: 41fa03de
+ CLR.L (A0) ;101e8: 4290
+ LEA LAB_10716(PC),A0 ;101ea: 41fa052a
+ TST.W (A0) ;101ee: 4a50
+ BNE.S LAB_10214 ;101f0: 6622
+ ST (A0) ;101f2: 50d0
+ BSR.W SUB_10588 ;101f4: 61000392
+ LEA LAB_105C4(PC),A0 ;101f8: 41fa03ca
+ CLR.L (A0) ;101fc: 4290
+ MOVEA.L LAB_10712(PC),A0 ;101fe: 207a0512
+ BSR.W SUB_103AC ;10202: 610001a8
+ LEA LAB_105C4(PC),A0 ;10206: 41fa03bc
+ CLR.L (A0) ;1020a: 4290
+ BSR.W SUB_105C8 ;1020c: 610003ba
+ BSR.W SUB_10588 ;10210: 61000376
+LAB_10214:
+ BSR.W SUB_10502 ;10214: 610002ec
+ MOVEA.L LAB_10712(PC),A0 ;10218: 207a04f8
+ MOVEA.L LAB_10706(PC),A1 ;1021c: 227a04e8
+ BSR.W SUB_1037A ;10220: 61000158
+ MOVEA.L LAB_106E2(PC),A0 ;10224: 207a04bc
+ BSR.W SUB_1040C ;10228: 610001e2
+ MOVEA.L LAB_10712(PC),A0 ;1022c: 207a04e4
+ BSR.W SUB_103AC ;10230: 6100017a
+ LEA LAB_105C4(PC),A0 ;10234: 41fa038e
+ CLR.L (A0) ;10238: 4290
+ BSR.W SUB_104E0 ;1023a: 610002a4
+ LEA LAB_10324(PC),A0 ;1023e: 41fa00e4
+ TST.W 2(A0) ;10242: 4a680002
+ BNE.S LAB_10256 ;10246: 660e
+ CLR.W (A0) ;10248: 4250
+LAB_1024A:
+ BSR.W SUB_11590 ;1024a: 61001344
+ BEQ.S LAB_1025A ;1024e: 670a
+ CMPI.W #$008c,(A0) ;10250: 0c50008c
+ BLS.S LAB_1024A ;10254: 63f4
+LAB_10256:
+ CLR.W 2(A0) ;10256: 42680002
+LAB_1025A:
+ RTS ;1025a: 4e75
+SUB_1025C:
+ MOVEA.L LAB_10706(PC),A1 ;1025c: 227a04a8
+ LEA LAB_10770(PC),A0 ;10260: 41fa050e
+ MOVEQ #$28,D0 ;10264: 7028
+ BSR.W SUB_10846 ;10266: 610005de
+LAB_1026A:
+ MOVEA.L LAB_10706(PC),A2 ;1026a: 247a049a
+ LEA LAB_10770(PC),A0 ;1026e: 41fa0500
+ MOVEA.L LAB_10712(PC),A1 ;10272: 227a049e
+ BSR.W SUB_10882 ;10276: 6100060a
+ BNE.S LAB_102BC ;1027a: 6640
+ BSR.W SUB_102C8 ;1027c: 6100004a
+ LEA LAB_10324(PC),A0 ;10280: 41fa00a2
+ CLR.W (A0) ;10284: 4250
+LAB_10286:
+ BSR.W SUB_11590 ;10286: 61001308
+ BEQ.S LAB_102BA ;1028a: 672e
+ CMPI.W #$00be,(A0) ;1028c: 0c5000be
+ BLS.S LAB_10286 ;10290: 63f4
+ BSR.W SUB_10502 ;10292: 6100026e
+ LEA LAB_10716(PC),A0 ;10296: 41fa047e
+ CLR.W (A0) ;1029a: 4250
+ PEA palette32(PC) ;1029c: 487a0404
+ LEA LAB_106E2(PC),A0 ;102a0: 41fa0440
+ MOVE.L (A7)+,(A0) ;102a4: 209f
+ MOVEQ #$31,D7 ;102a6: 7e31
+LAB_102A8:
+ BSR.W SUB_101BA ;102a8: 6100ff10
+ ADDQ.W #1,D7 ;102ac: 5247
+ CMP.B #$37,D7 ;102ae: be3c0037
+ BLS.S LAB_102A8 ;102b2: 63f4
+ MOVEQ #$31,D7 ;102b4: 7e31
+ BSR.W SUB_101BA ;102b6: 6100ff02
+LAB_102BA:
+ RTS ;102ba: 4e75
+LAB_102BC:
+ BSR.W SUB_102C8 ;102bc: 6100000a
+ BSR.W SUB_11590 ;102c0: 610012ce
+ BNE.S LAB_1026A ;102c4: 66a4
+ RTS ;102c6: 4e75
+SUB_102C8:
+ LEA LAB_10324(PC),A0 ;102c8: 41fa005a
+LAB_102CC:
+ CMPI.W #$0005,(A0) ;102cc: 0c500005
+ BLS.S LAB_102CC ;102d0: 63fa
+ CLR.W (A0) ;102d2: 4250
+LAB_102D4:
+ TST.W (A0) ;102d4: 4a50
+ BEQ.S LAB_102D4 ;102d6: 67fc
+ MOVEA.L LAB_1070A(PC),A0 ;102d8: 207a0430
+ MOVEA.L LAB_10712(PC),A1 ;102dc: 227a0434
+ BSR.W SUB_1037A ;102e0: 61000098
+ MOVEA.L LAB_1070A(PC),A0 ;102e4: 207a0424
+ BSR.W SUB_103AC ;102e8: 610000c2
+ RTS ;102ec: 4e75
+SUB_102EE:
+ LEA LAB_10320(PC),A0 ;102ee: 41fa0030
+ MOVE.L AUTO_INT3.W,(A0) ;102f2: 20b8006c
+ LEA LAB_10328(PC),A0 ;102f6: 41fa0030
+ MOVE.L A0,AUTO_INT3.W ;102fa: 21c8006c
+ MOVE.W #$c020,INTENA ;102fe: 33fcc02000dff09a
+ MOVE.W #$0020,INTREQ ;10306: 33fc002000dff09c
+ RTS ;1030e: 4e75
+SUB_10310:
+ MOVE.W #$0020,INTENA ;10310: 33fc002000dff09a
+ MOVE.L LAB_10320(PC),AUTO_INT3.W ;10318: 21fa0006006c
+ RTS ;1031e: 4e75
+LAB_10320:
+ DS.L 1 ;10320
+LAB_10324:
+ DS.L 1 ;10324
+LAB_10328:
+ MOVE.L D0,-(A7) ;10328: 2f00
+ MOVE.W INTREQR,D0 ;1032a: 303900dff01e
+ BTST #5,D0 ;10330: 08000005
+ BNE.S LAB_1033E ;10334: 6608
+ MOVE.L (A7)+,D0 ;10336: 201f
+ MOVE.L LAB_10320(PC),-(A7) ;10338: 2f3affe6
+ RTS ;1033c: 4e75
+LAB_1033E:
+ MOVE.L A0,-(A7) ;1033e: 2f08
+ LEA LAB_10324(PC),A0 ;10340: 41faffe2
+ ADDQ.W #1,(A0) ;10344: 5250
+ MOVEA.L (A7)+,A0 ;10346: 205f
+ MOVE.L (A7)+,D0 ;10348: 201f
+ MOVE.W #$0020,INTREQ ;1034a: 33fc002000dff09c
+ RTE ;10352: 4e73
+SUB_10354:
+ MOVEA.L LAB_1070A(PC),A0 ;10354: 207a03b4
+ MOVEA.L LAB_10712(PC),A1 ;10358: 227a03b8
+ BSR.W SUB_1037A ;1035c: 6100001c
+ MOVEA.L LAB_1070A(PC),A0 ;10360: 207a03a8
+ BSR.W SUB_103AC ;10364: 61000046
+ BSR.W SUB_105C8 ;10368: 6100025e
+ LEA palette16(PC),A0 ;1036c: 41fa02cc
+ BSR.W SUB_1040C ;10370: 6100009a
+ BSR.W SUB_104E0 ;10374: 6100016a
+ RTS ;10378: 4e75
+SUB_1037A:
+ ADDA.L LAB_105C4(PC),A0 ;1037a: d1fa0248
+ MOVEQ #$27,D2 ;1037e: 7427
+LAB_10380:
+ MOVE.L A0,-(A7) ;10380: 2f08
+ MOVE.W LAB_10638(PC),D1 ;10382: 323a02b4
+ SUBQ.W #1,D1 ;10386: 5341
+LAB_10388:
+ MOVE.L A0,-(A7) ;10388: 2f08
+ MOVE.W #$00c7,D0 ;1038a: 303c00c7
+LAB_1038E:
+ MOVE.B (A1)+,(A0) ;1038e: 1099
+ LEA $28(A0),A0 ;10390: 41e80028
+ DBF D0,LAB_1038E ;10394: 51c8fff8
+ MOVEA.L (A7)+,A0 ;10398: 205f
+ LEA $1F40(A0),A0 ;1039a: 41e81f40
+ DBF D1,LAB_10388 ;1039e: 51c9ffe8
+ MOVEA.L (A7)+,A0 ;103a2: 205f
+ ADDQ.W #1,A0 ;103a4: 5248
+ DBF D2,LAB_10380 ;103a6: 51caffd8
+ RTS ;103aa: 4e75
+SUB_103AC:
+ ADDA.L LAB_105C4(PC),A0 ;103ac: d1fa0216
+ MOVEA.L LAB_10712(PC),A2 ;103b0: 247a0360
+ ADDA.L #$00009c54,A2 ;103b4: d5fc00009c54
+ MOVE.L A0,D0 ;103ba: 2008
+ MOVE.W LAB_10638(PC),D1 ;103bc: 323a027a
+ SUBQ.W #1,D1 ;103c0: 5341
+ MOVE.W #$00e0,D2 ;103c2: 343c00e0
+LAB_103C6:
+ SWAP D0 ;103c6: 4840
+ MOVE.W D2,(A2)+ ;103c8: 34c2
+ MOVE.W D0,(A2)+ ;103ca: 34c0
+ ADDQ.W #2,D2 ;103cc: 5442
+ SWAP D0 ;103ce: 4840
+ MOVE.W D2,(A2)+ ;103d0: 34c2
+ MOVE.W D0,(A2)+ ;103d2: 34c0
+ ADDQ.W #2,D2 ;103d4: 5442
+ ADDI.L #$00001f40,D0 ;103d6: 068000001f40
+ DBF D1,LAB_103C6 ;103dc: 51c9ffe8
+ MOVE.L #$fffffffe,(A2)+ ;103e0: 24fcfffffffe
+ MOVE.L #$fffffffe,(A2)+ ;103e6: 24fcfffffffe
+ LEA LAB_105C4(PC),A0 ;103ec: 41fa01d6
+ EORI.L #$00007d00,(A0) ;103f0: 0a9000007d00
+ RTS ;103f6: 4e75
+LAB_103F8:
+ LEA palette16(PC),A0 ;103f8: 41fa0240
+ LEA COLOR00,A1 ;103fc: 43f900dff180
+ MOVEQ #$1F,D0 ;10402: 701f
+LAB_10404:
+ MOVE.W (A0)+,(A1)+ ;10404: 32d8
+ DBF D0,LAB_10404 ;10406: 51c8fffc
+ RTS ;1040a: 4e75
+SUB_1040C:
+ LEA LAB_10460(PC),A1 ;1040c: 43fa0052
+ MOVEQ #$1F,D0 ;10410: 701f
+LAB_10412:
+ MOVE.W $40(A1),-64(A1) ;10412: 33690040ffc0
+ MOVE.W (A0)+,(A1)+ ;10418: 32d8
+ DBF D0,LAB_10412 ;1041a: 51c8fff6
+ RTS ;1041e: 4e75
+LAB_10420:
+ DS.L $10 ;10420
+LAB_10460:
+ DS.L $10 ;10460
+LAB_104A0:
+ DS.L $10 ;104a0
+SUB_104E0:
+ LEA LAB_10718(PC),A0 ;104e0: 41fa0236
+ CLR.W (A0) ;104e4: 4250
+ MOVEQ #$F,D1 ;104e6: 720f
+ MOVE.W #$0000,D0 ;104e8: 303c0000
+LAB_104EC:
+ MOVEM.W D0-D1,-(A7) ;104ec: 48a7c000
+ BSR.W SUB_10550 ;104f0: 6100005e
+ MOVEM.W (A7)+,D0-D1 ;104f4: 4c9f0003
+ ADDI.W #$0010,D0 ;104f8: 06400010
+ DBF D1,LAB_104EC ;104fc: 51c9ffee
+ RTS ;10500: 4e75
+SUB_10502:
+ LEA LAB_10460(PC),A1 ;10502: 43faff5c
+ MOVEQ #$1F,D0 ;10506: 701f
+LAB_10508:
+ MOVE.W $40(A1),-64(A1) ;10508: 33690040ffc0
+ CLR.W (A1)+ ;1050e: 4259
+ DBF D0,LAB_10508 ;10510: 51c8fff6
+ MOVE.W LAB_10718(PC),D0 ;10514: 303a0202
+ BEQ.S LAB_1052E ;10518: 6714
+ LEA LAB_10420(PC),A1 ;1051a: 43faff04
+ MOVEQ #$5F,D0 ;1051e: 705f
+LAB_10520:
+ CLR.W (A1)+ ;10520: 4259
+ DBF D0,LAB_10520 ;10522: 51c8fffc
+ MOVEQ #0,D0 ;10526: 7000
+ BSR.W SUB_10550 ;10528: 61000026
+ RTS ;1052c: 4e75
+LAB_1052E:
+ LEA LAB_10718(PC),A0 ;1052e: 41fa01e8
+ ST (A0) ;10532: 50d0
+ MOVEQ #$F,D1 ;10534: 720f
+ MOVE.W #$0100,D0 ;10536: 303c0100
+LAB_1053A:
+ MOVEM.W D0-D1,-(A7) ;1053a: 48a7c000
+ BSR.W SUB_10550 ;1053e: 61000010
+ MOVEM.W (A7)+,D0-D1 ;10542: 4c9f0003
+ SUBI.W #$0010,D0 ;10546: 04400010
+ DBF D1,LAB_1053A ;1054a: 51c9ffee
+ RTS ;1054e: 4e75
+SUB_10550:
+ LEA LAB_104A0(PC),A0 ;10550: 41faff4e
+ MOVEQ #$1F,D1 ;10554: 721f
+LAB_10556:
+ MOVEQ #0,D7 ;10556: 7e00
+ MOVE.W -128(A0),D2 ;10558: 3428ff80
+ MOVE.W -64(A0),D3 ;1055c: 3628ffc0
+ BSR.W SUB_10598 ;10560: 61000036
+ MOVE.W D7,(A0)+ ;10564: 30c7
+ DBF D1,LAB_10556 ;10566: 51c9ffee
+ LEA LAB_10324(PC),A0 ;1056a: 41fafdb8
+ CLR.W (A0) ;1056e: 4250
+LAB_10570:
+ TST.W (A0) ;10570: 4a50
+ BEQ.S LAB_10570 ;10572: 67fc
+ LEA COLOR00,A1 ;10574: 43f900dff180
+ LEA LAB_104A0(PC),A0 ;1057a: 41faff24
+ MOVEQ #$1F,D1 ;1057e: 721f
+LAB_10580:
+ MOVE.W (A0)+,(A1)+ ;10580: 32d8
+ DBF D1,LAB_10580 ;10582: 51c9fffc
+ RTS ;10586: 4e75
+SUB_10588:
+ LEA COLOR00,A1 ;10588: 43f900dff180
+ MOVEQ #$1F,D1 ;1058e: 721f
+LAB_10590:
+ CLR.W (A1)+ ;10590: 4259
+ DBF D1,LAB_10590 ;10592: 51c9fffc
+ RTS ;10596: 4e75
+SUB_10598:
+ MOVEQ #2,D6 ;10598: 7c02
+LAB_1059A:
+ MOVE.W D2,D4 ;1059a: 3802
+ ANDI.W #$000f,D4 ;1059c: 0244000f
+ MOVE.W D3,D5 ;105a0: 3a03
+ ANDI.W #$000f,D5 ;105a2: 0245000f
+ CMP.W D4,D5 ;105a6: ba44
+ BLS.S LAB_105AC ;105a8: 6302
+ EXG D4,D5 ;105aa: c945
+LAB_105AC:
+ SUB.W D5,D4 ;105ac: 9845
+ MULU D0,D4 ;105ae: c8c0
+ LSR.W #8,D4 ;105b0: e04c
+ ADD.W D5,D4 ;105b2: d845
+ ROR.W #4,D7 ;105b4: e85f
+ OR.W D4,D7 ;105b6: 8e44
+ LSR.W #4,D2 ;105b8: e84a
+ LSR.W #4,D3 ;105ba: e84b
+ DBF D6,LAB_1059A ;105bc: 51ceffdc
+ ROR.W #8,D7 ;105c0: e05f
+ RTS ;105c2: 4e75
+LAB_105C4:
+ DS.L 1 ;105c4
+SUB_105C8:
+ MOVEA.L LAB_10712(PC),A0 ;105c8: 207a0148
+ ADDA.L #$00009c54,A0 ;105cc: d1fc00009c54
+ MOVE.L A0,COP1LCH ;105d2: 23c800dff080
+ CLR.W COPJMP1 ;105d8: 427900dff088
+ MOVE.W #$3081,DIWSTRT ;105de: 33fc308100dff08e
+ MOVE.W #$f8c1,DIWSTOP ;105e6: 33fcf8c100dff090
+ MOVE.W #$0038,DDFSTRT ;105ee: 33fc003800dff092
+ MOVE.W #$00d0,DFFSTOP ;105f6: 33fc00d000dff094
+ CLR.W BPLCON1 ;105fe: 427900dff102
+ CLR.W BPLCON2 ;10604: 427900dff104
+ CLR.W BPL1MOD ;1060a: 427900dff108
+ CLR.W BPL2MOD ;10610: 427900dff10a
+ MOVE.W #$4200,D0 ;10616: 303c4200
+ MOVE.W LAB_10638(PC),D1 ;1061a: 323a001c
+ CMP.W #$0005,D1 ;1061e: b27c0005
+ BNE.S LAB_10628 ;10622: 6604
+ MOVE.W #$5200,D0 ;10624: 303c5200
+LAB_10628:
+ MOVE.W D0,BPLCON0 ;10628: 33c000dff100
+ MOVE.W #$8380,DMACON ;1062e: 33fc838000dff096
+ RTS ;10636: 4e75
+LAB_10638:
+ DC.W $0004 ;10638
+palette16:
+ DC.L $00000edc,$0cb90a96,$08770c75,$0a54069b ;1063a
+ DC.L $05790fff,$0d970886,$05550433,$0ba90765 ;1064a
+ DC.L $05014001 ;1065a
+palette2:
+ DC.L $00000fd5,$0eb40da3,$0d830c72,$0b620a51 ;1065e
+ DC.L $09410831,$07200610,$05100400,$03000300 ;1066e
+ DC.L $0fff0eee,$0ddd0ccc,$0bbb0aaa,$09990888 ;1067e
+ DC.L $07770666,$08420b95,$0dc90fed,$02220111 ;1068e
+ DC.L $05014001 ;1069e
+palette32:
+ DC.L $00000edc,$0cb90a96,$08770c75,$0a54069b ;106a2
+ DC.L $05790fff,$0d970886,$05550433,$0ba90765 ;106b2
+ DC.L $0fe00356,$0eb40b62,$07200400,$0f000842 ;106c2
+ DC.L $0b950dc9,$0fed0f00,$0f000f00,$0f000f00 ;106d2
+LAB_106E2:
+ DS.L 9 ;106e2
+LAB_10706:
+ DS.L 1 ;10706
+LAB_1070A:
+ DS.L 1 ;1070a
+LAB_1070E:
+ DS.L 1 ;1070e
+LAB_10712:
+ DS.L 1 ;10712
+LAB_10716:
+ DS.W 1 ;10716
+LAB_10718:
+ DC.W $0001 ;10718
+title_mus:
+ ;1071a
+ ;DC.B $46,$45,$44,$31,$3a,$54,$49,$54,$4c,$45,$2e,$4d,$55,$53,$00
+ DC.B "FED1:TITLE.MUS",0
+seg5b:
+ ;10729
+ ;DC.B $46,$45,$44,$31,$3a,$53,$45,$47,$35,$62,$00
+ DC.B "FED1:SEG5b",0
+seg5a:
+ ;10734
+ ;DC.B $46,$45,$44,$31,$3a,$53,$45,$47,$35,$61,$00
+ DC.B "FED1:SEG5a",0
+min001:
+ ;1073f
+ ;DC.B $46,$45,$44,$31,$3a,$4d,$49,$4e,$30,$30,$31,$00
+ DC.B "FED1:MIN001",0
+min002:
+ ;1074b
+ ;DC.B $46,$45,$44,$31,$3a,$4d,$49,$4e,$30,$30,$32,$00
+ DC.B "FED1:MIN002",0
+min003:
+ ;10757
+ ;DC.B $46,$45,$44,$31,$3a,$4d,$49,$4e,$30,$30,$33,$00
+ DC.B "FED1:MIN003",0
+min2001:
+ ;10763
+ ;DC.B $46,$45,$44,$31,$3a,$4d,$49,$4e,$32,$30,$30,$31,$00
+ DC.B "FED1:MIN2001",0
+LAB_10770:
+; 214 bytes
+ DS.L $35 ;10770
+ DS.W 1 ;10844
+SUB_10846:
+ MOVE.L A1,-(A7) ;10846: 2f09
+ LEA LAB_10876(PC),A1 ;10848: 43fa002c
+ MOVE.W #$0001,(A1) ;1084c: 32bc0001
+ MOVE.W D0,2(A1) ;10850: 33400002
+ MOVE.W 4(A0),D1 ;10854: 32280004
+ MULU 6(A0),D1 ;10858: c2e80006
+ MOVE.W D1,4(A1) ;1085c: 33410004
+ MULU D0,D1 ;10860: c2c0
+ SUBQ.L #1,D1 ;10862: 5381
+ MOVE.L D1,6(A1) ;10864: 23410006
+ MOVE.W 2(A0),D1 ;10868: 32280002
+ LSR.W #3,D1 ;1086c: e649
+ MOVE.W D1,$A(A1) ;1086e: 3341000a
+ MOVEA.L (A7)+,A1 ;10872: 225f
+ RTS ;10874: 4e75
+LAB_10876:
+ DS.W 1 ;10876
+LAB_10878:
+ DS.W 1 ;10878
+LAB_1087A:
+ DS.W 1 ;1087a
+LAB_1087C:
+ DS.L 1 ;1087c
+LAB_10880:
+ DS.W 1 ;10880
+SUB_10882:
+ MOVEM.L D1-D4/A2-A3,-(A7) ;10882: 48e77830
+ MOVEA.L A0,A4 ;10886: 2848
+ MOVE.W LAB_10876(PC),D0 ;10888: 303affec
+ ASL.W #2,D0 ;1088c: e540
+ ADDA.L 8(A4,D0.W),A2 ;1088e: d5f40008
+ MOVEA.L A1,A3 ;10892: 2649
+ MOVE.W LAB_10880(PC),D2 ;10894: 343affea
+ SUBQ.W #1,D2 ;10898: 5342
+ MOVE.W LAB_10878(PC),D1 ;1089a: 323affdc
+ MOVE.W LAB_1087A(PC),D3 ;1089e: 363affda
+ SUBQ.W #1,D3 ;108a2: 5343
+ TST.W D0 ;108a4: 4a40
+ BNE.S LAB_108AA ;108a6: 6602
+ BRA.S LAB_108CC ;108a8: 6022
+LAB_108AA:
+ MOVE.L LAB_1087C(PC),D2 ;108aa: 243affd0
+LAB_108AE:
+ TST.L D2 ;108ae: 4a82
+ BMI.S LAB_108CC ;108b0: 6b1a
+ MOVEQ #0,D4 ;108b2: 7800
+ MOVE.B (A2)+,D4 ;108b4: 181a
+ BPL.S LAB_108C0 ;108b6: 6a08
+ NEG.B D4 ;108b8: 4404
+ SUB.L D4,D2 ;108ba: 9484
+ ADDA.W D4,A3 ;108bc: d6c4
+ BRA.S LAB_108AE ;108be: 60ee
+LAB_108C0:
+ SUBQ.L #1,D2 ;108c0: 5382
+ SUB.L D4,D2 ;108c2: 9484
+LAB_108C4:
+ MOVE.B (A2)+,(A3)+ ;108c4: 16da
+ DBF D4,LAB_108C4 ;108c6: 51ccfffc
+ BRA.S LAB_108AE ;108ca: 60e2
+LAB_108CC:
+ MOVEM.L (A7)+,D1-D4/A2-A3 ;108cc: 4cdf0c1e
+ LEA LAB_10876(PC),A1 ;108d0: 43faffa4
+ MOVE.W (A1),D0 ;108d4: 3011
+ ADDQ.W #1,D0 ;108d6: 5240
+ CMP.W 0(A0),D0 ;108d8: b0680000
+ BLE.S LAB_108E0 ;108dc: 6f02
+ MOVEQ #0,D0 ;108de: 7000
+LAB_108E0:
+ MOVE.W D0,(A1) ;108e0: 3280
+ RTS ;108e2: 4e75
+SUB_108E4:
+ MOVE.L D0,-(A7) ;108e4: 2f00
+ BSR.W SUB_11234 ;108e6: 6100094c
+ MOVEA.L (A7)+,A0 ;108ea: 205f
+ BSR.W SUB_1091E ;108ec: 61000030
+ BRA.W LAB_11342 ;108f0: 60000a50
+fileptr_108F4:
+ DS.L 1 ;108f4
+SUB_fileget:
+ MOVE.L D0,-(A7) ;108f8: 2f00
+ MOVEA.L A4,A0 ;108fa: 204c
+ JSR FindDirEntry(A6) ;108fc: 4eae0058
+ TST.L D0 ;10900: 4a80
+ BMI.S LAB_10918 ;10902: 6b14
+ MOVE.L $10(A0),D1 ;10904: 22280010
+ LEA fileptr_108F4(PC),A0 ;10908: 41faffea
+ MOVE.L D1,(A0) ;1090c: 2081
+ MOVE.L (A7)+,D0 ;1090e: 201f
+ JSR MemoryFunc(A6) ;10910: 4eae006c
+ TST.L D0 ;10914: 4a80
+ RTS ;10916: 4e75
+LAB_10918:
+ ADDQ.L #4,A7 ;10918: 588f
+ MOVEQ #0,D0 ;1091a: 7000
+ RTS ;1091c: 4e75
+SUB_1091E:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1091e: 48e7fffe
+ BSR.S SUB_10966 ;10922: 6142
+ LEA LAB_1145C(PC),A2 ;10924: 45fa0b36
+ MOVE.L A0,D0 ;10928: 2008
+ ADD.L D0,$10(A2) ;1092a: d1aa0010
+ ADD.L D0,8(A2) ;1092e: d1aa0008
+ ADD.L D0,$18(A2) ;10932: d1aa0018
+ MOVEA.L $10(A2),A1 ;10936: 226a0010
+ MOVE.L $18(A2),D1 ;1093a: 222a0018
+ SUB.L A1,D1 ;1093e: 9289
+ LSR.W #2,D1 ;10940: e449
+ SUBQ.W #1,D1 ;10942: 5341
+LAB_10944:
+ ADD.L D0,(A1)+ ;10944: d199
+ DBF D1,LAB_10944 ;10946: 51c9fffc
+ MOVEA.L $10(A2),A3 ;1094a: 266a0010
+ MOVEA.L (A3),A3 ;1094e: 2653
+LAB_10950:
+ CMPA.L A3,A1 ;10950: b3cb
+ BEQ.S LAB_10960 ;10952: 670c
+ BHI.S LAB_10960 ;10954: 620a
+ TST.L (A1)+ ;10956: 4a99
+ BEQ.S LAB_10950 ;10958: 67f6
+ ADD.L D0,-4(A1) ;1095a: d1a9fffc
+ BRA.S LAB_10950 ;1095e: 60f0
+LAB_10960:
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;10960: 4cdf7fff
+ RTS ;10964: 4e75
+SUB_10966:
+ MOVEM.L D0/A0-A1,-(A7) ;10966: 48e780c0
+ LEA LAB_1145C(PC),A1 ;1096a: 43fa0af0
+ MOVEQ #$F,D0 ;1096e: 700f
+LAB_10970:
+ MOVE.L (A0)+,(A1)+ ;10970: 22d8
+ DBF D0,LAB_10970 ;10972: 51c8fffc
+ MOVEM.L (A7)+,D0/A0-A1 ;10976: 4cdf0301
+ RTS ;1097a: 4e75
+LAB_1097C:
+ CMP.B #$03,D0 ;1097c: b03c0003
+ BHI.S LAB_1098C ;10980: 620a
+ MOVEQ #1,D1 ;10982: 7201
+ LSL.W D0,D1 ;10984: e169
+ MOVE.W D1,DMACON ;10986: 33c100dff096
+LAB_1098C:
+ RTS ;1098c: 4e75
+LAB_1098E:
+ CLR.W D1 ;1098e: 4241
+ CLR.W D2 ;10990: 4242
+ MOVE.B $312(A6),D1 ;10992: 122e0312
+ LEA $302(A6),A0 ;10996: 41ee0302
+ MOVE.B 0(A0,D7.W),D2 ;1099a: 14307000
+ MULU D2,D0 ;1099e: c0c2
+ MULU D1,D0 ;109a0: c0c1
+ LSR.L #4,D0 ;109a2: e888
+ LSR.W #8,D0 ;109a4: e048
+ RTS ;109a6: 4e75
+LAB_109A8:
+ DC.W $0000 ;109a8
+LAB_109AA:
+ MOVEM.L D3-D7,-(A7) ;109aa: 48e71f00
+ MOVE.W D2,-(A7) ;109ae: 3f02
+ CLR.L D4 ;109b0: 4284
+ BSET D0,D4 ;109b2: 01c4
+ MOVEA.L $18(A4),A0 ;109b4: 206c0018
+ MOVE.W D3,D7 ;109b8: 3e03
+ LSL.W #2,D7 ;109ba: e54f
+ TST.L 0(A0,D7.W) ;109bc: 4ab07000
+ BEQ.W LAB_10A58 ;109c0: 67000096
+ ADD.B $2FE(A6),D1 ;109c4: d22e02fe
+ ADD.B 7(A3),D1 ;109c8: d22b0007
+ CMP.B #$03,D0 ;109cc: b03c0003
+ BHI.S LAB_109E0 ;109d0: 620e
+ BTST D0,LAB_109A8(PC) ;109d2: 013affd4
+ BNE.W LAB_10A58 ;109d6: 66000080
+ MOVE.W D4,DMACON ;109da: 33c400dff096
+LAB_109E0:
+ TST.B D1 ;109e0: 4a01
+ BPL.S LAB_109EA ;109e2: 6a06
+ ADDI.B #$0c,D1 ;109e4: 0601000c
+ BRA.S LAB_109E0 ;109e8: 60f6
+LAB_109EA:
+ CMP.B #$3f,D1 ;109ea: b23c003f
+ BLE.S LAB_109F4 ;109ee: 6f04
+ SUBI.B #$0c,D1 ;109f0: 0401000c
+LAB_109F4:
+ CMP.B #$03,D0 ;109f4: b03c0003
+ BHI.W LAB_10A58 ;109f8: 6200005e
+ OR.W D4,-2470(A4) ;109fc: 896cf65a
+ SUBQ.B #1,D1 ;10a00: 5301
+ MOVEA.L $A(A5),A1 ;10a02: 226d000a
+ MOVEA.L $18(A4),A0 ;10a06: 206c0018
+ MOVEA.L 0(A0,D7.W),A0 ;10a0a: 20707000
+ ADD.W D3,D3 ;10a0e: d643
+ BSR.W LAB_1119A ;10a10: 61000788
+ MOVE.L D0,0(A1) ;10a14: 23400000
+ CMP.W #$0001,D3 ;10a18: b67c0001
+ BHI.S LAB_10A32 ;10a1c: 6214
+ MOVE.L LAB_11550(PC),$E(A5) ;10a1e: 2b7a0b30000e
+ MOVE.W #$0001,$12(A5) ;10a24: 3b7c00010012
+ LSR.L #1,D1 ;10a2a: e289
+ MOVE.W D1,4(A1) ;10a2c: 33410004
+ BRA.S LAB_10A4C ;10a30: 601a
+LAB_10A32:
+ TST.W D2 ;10a32: 4a42
+ BEQ.S LAB_10A3C ;10a34: 6706
+ MOVE.W D2,4(A1) ;10a36: 33420004
+ BRA.S LAB_10A40 ;10a3a: 6004
+LAB_10A3C:
+ MOVE.W D3,4(A1) ;10a3c: 33430004
+LAB_10A40:
+ ADD.L D2,D2 ;10a40: d482
+ ADD.L D2,D0 ;10a42: d082
+ MOVE.L D0,$E(A5) ;10a44: 2b40000e
+ MOVE.W D3,$12(A5) ;10a48: 3b430012
+LAB_10A4C:
+ MOVE.W D5,6(A1) ;10a4c: 33450006
+ MOVE.W D5,8(A5) ;10a50: 3b450008
+ MOVE.W (A7),8(A1) ;10a54: 33570008
+LAB_10A58:
+ ADDQ.L #2,A7 ;10a58: 548f
+ MOVEM.L (A7)+,D3-D7 ;10a5a: 4cdf00f8
+ RTS ;10a5e: 4e75
+LAB_10A60:
+ MOVE.L D0,-(A7) ;10a60: 2f00
+ MOVEQ #$79,D0 ;10a62: 7079
+LAB_10A64:
+ MOVE.B EXT_DFF007,D1 ;10a64: 123900dff007
+LAB_10A6A:
+ CMP.B EXT_DFF007,D1 ;10a6a: b23900dff007
+ BEQ.S LAB_10A6A ;10a70: 67f8
+ DBF D0,LAB_10A64 ;10a72: 51c8fff0
+ MOVE.L (A7)+,D0 ;10a76: 201f
+ RTS ;10a78: 4e75
+LAB_10A7A:
+ LEA LAB_10AB8(PC),A5 ;10a7a: 4bfa003c
+ ADDA.W (A1)+,A5 ;10a7e: dad9
+ LSR.B #1,D0 ;10a80: e208
+ BCC.S LAB_10A94 ;10a82: 6410
+ MOVEA.L $A(A5),A0 ;10a84: 206d000a
+ MOVE.L $E(A5),0(A0) ;10a88: 216d000e0000
+ MOVE.W $12(A5),4(A0) ;10a8e: 316d00120004
+LAB_10A94:
+ RTS ;10a94: 4e75
+LAB_10A96:
+ MOVE.W LAB_10AB6(PC),D0 ;10a96: 303a001e
+ BEQ.S LAB_10A94 ;10a9a: 67f8
+ BSET #$F,D0 ;10a9c: 08c0000f
+ BSR.S LAB_10A60 ;10aa0: 61be
+ MOVE.W D0,DMACON ;10aa2: 33c000dff096
+ BSR.S LAB_10A60 ;10aa8: 61b6
+ LEA LAB_10B18(PC),A1 ;10aaa: 43fa006c
+ BSR.S LAB_10A7A ;10aae: 61ca
+ BSR.S LAB_10A7A ;10ab0: 61c8
+ BSR.S LAB_10A7A ;10ab2: 61c6
+ BRA.S LAB_10A7A ;10ab4: 60c4
+LAB_10AB6:
+ DS.W 1 ;10ab6
+LAB_10AB8:
+ DS.L $18 ;10ab8
+LAB_10B18:
+ DC.L $00000018,$00300048 ;10b18
+ DS.W 1 ;10b20
+LAB_10B22:
+ DS.W 1 ;10b22
+LAB_10B24:
+ MOVE.L D0,-(A7) ;10b24: 2f00
+ MOVE.W INTREQR,D0 ;10b26: 303900dff01e
+ BTST #$D,D0 ;10b2c: 0800000d
+ BEQ.S LAB_10B48 ;10b30: 6716
+ MOVE.B CIAB_ICR,D0 ;10b32: 103900bfdd00
+ MOVEM.L D1-D7/A0-A6,-(A7) ;10b38: 48e77ffe
+ LEA HARDBASE,A0 ;10b3c: 41f900dff000
+ BSR.S LAB_10B54 ;10b42: 6110
+ MOVEM.L (A7)+,D1-D7/A0-A6 ;10b44: 4cdf7ffe
+LAB_10B48:
+ MOVE.W #$2000,INTREQ ;10b48: 33fc200000dff09c
+ MOVE.L (A7)+,D0 ;10b50: 201f
+ RTE ;10b52: 4e73
+LAB_10B54:
+ MOVE.L LAB_1154C(PC),D0 ;10b54: 203a09f6
+ BEQ.S LAB_10B6A ;10b58: 6710
+ LEA LAB_1145C(PC),A4 ;10b5a: 49fa0900
+ TST.W $28(A4) ;10b5e: 4a6c0028
+ BNE.S LAB_10B7C ;10b62: 6618
+LAB_10B64:
+ MOVE.B #$05,$32(A4) ;10b64: 197c00050032
+LAB_10B6A:
+ BCLR #0,CIAB_CRA ;10b6a: 08b9000000bfde00
+ MOVE.W #$000f,DMACON ;10b72: 33fc000f00dff096
+ RTS ;10b7a: 4e75
+LAB_10B7C:
+ CLR.W -2470(A4) ;10b7c: 426cf65a
+ MOVEA.L 8(A4),A6 ;10b80: 2c6c0008
+ ADDI.B #$01,$32(A4) ;10b84: 062c00010032
+ CMPI.B #$06,$32(A4) ;10b8a: 0c2c00060032
+ BNE.W LAB_10E56 ;10b90: 660002c4
+ MOVE.W LAB_114A4(PC),D0 ;10b94: 303a090e
+ BEQ.S LAB_10BBA ;10b98: 6720
+ SUB.W LAB_114A6(PC),D0 ;10b9a: 907a090a
+ BGT.S LAB_10BB0 ;10b9e: 6e10
+ MOVE.B LAB_114A8(PC),$312(A6) ;10ba0: 1d7a09060312
+ CLR.W $28(A4) ;10ba6: 426c0028
+ CLR.W $48(A4) ;10baa: 426c0048
+ BRA.S LAB_10B64 ;10bae: 60b4
+LAB_10BB0:
+ MOVE.W D0,$48(A4) ;10bb0: 39400048
+ LSR.W #7,D0 ;10bb4: ee48
+ MOVE.B D0,$312(A6) ;10bb6: 1d400312
+LAB_10BBA:
+ MOVEA.L $10(A4),A0 ;10bba: 206c0010
+ MOVE.W $2A(A4),D2 ;10bbe: 342c002a
+ LSL.W #2,D2 ;10bc2: e54a
+ MOVEA.L 0(A0,D2.W),A2 ;10bc4: 24702000
+ CLR.W D0 ;10bc8: 4240
+ MOVE.B 1(A2),D0 ;10bca: 102a0001
+ LEA $30(A4),A3 ;10bce: 47ec0030
+ ADDQ.W #1,(A3) ;10bd2: 5253
+ CMP.W (A3),D0 ;10bd4: b053
+ BLT.S LAB_10BDE ;10bd6: 6d06
+ TST.B -2364(A4) ;10bd8: 4a2cf6c4
+ BEQ.S LAB_10C30 ;10bdc: 6752
+LAB_10BDE:
+ CLR.W (A3) ;10bde: 4253
+ CMPI.W #$0002,$28(A4) ;10be0: 0c6c00020028
+ BNE.S LAB_10C2C ;10be6: 6644
+ CMPI.B #$01,-2364(A4) ;10be8: 0c2c0001f6c4
+ BEQ.S LAB_10BF4 ;10bee: 6704
+ ADDQ.W #1,$2E(A4) ;10bf0: 526c002e
+LAB_10BF4:
+ MOVE.W $1FA(A6),D0 ;10bf4: 302e01fa
+ MOVE.W $2E(A4),D1 ;10bf8: 322c002e
+ CMP.W D0,D1 ;10bfc: b240
+ BLT.S LAB_10C06 ;10bfe: 6d06
+ CLR.W $2E(A4) ;10c00: 426c002e
+ CLR.W D1 ;10c04: 4241
+LAB_10C06:
+ CLR.W D0 ;10c06: 4240
+ LEA $1FC(A6),A1 ;10c08: 43ee01fc
+ MOVE.B 0(A1,D1.W),D0 ;10c0c: 10311000
+ MOVE.W D0,$2A(A4) ;10c10: 3940002a
+ CLR.W D1 ;10c14: 4241
+ MOVE.B $1F9(A6),D1 ;10c16: 122e01f9
+ SUBQ.W #1,D1 ;10c1a: 5341
+ CMP.W D1,D0 ;10c1c: b041
+ BLT.S LAB_10C26 ;10c1e: 6d06
+ MOVE.W D1,$2A(A4) ;10c20: 3941002a
+ MOVE.W D1,D0 ;10c24: 3001
+LAB_10C26:
+ LSL.W #2,D0 ;10c26: e548
+ MOVEA.L 0(A0,D0.W),A2 ;10c28: 24700000
+LAB_10C2C:
+ CLR.B -2364(A4) ;10c2c: 422cf6c4
+LAB_10C30:
+ MOVE.W (A3),$2C(A4) ;10c30: 3953002c
+ CLR.B $32(A4) ;10c34: 422c0032
+ CLR.L D7 ;10c38: 4287
+ MOVE.B (A2),-2361(A4) ;10c3a: 1952f6c7
+ CMPI.W #$4443,2(A4) ;10c3e: 0c6c44430002
+ BEQ.S LAB_10C5A ;10c44: 6714
+ ADDQ.W #2,A2 ;10c46: 544a
+ MOVE.W LAB_10B22(PC),D3 ;10c48: 363afed8
+ MULU #$0003,D3 ;10c4c: c6fc0003
+ MOVE.W $2C(A4),D2 ;10c50: 342c002c
+ MULU D2,D3 ;10c54: c6c2
+ ADDA.L D3,A2 ;10c56: d5c3
+ BRA.S LAB_10CC4 ;10c58: 606a
+LAB_10C5A:
+ TST.W $2C(A4) ;10c5a: 4a6c002c
+ BNE.S LAB_10C78 ;10c5e: 6618
+ ADDQ.W #2,A2 ;10c60: 544a
+ MOVE.W LAB_10B22(PC),D3 ;10c62: 363afebe
+ MULU #$0003,D3 ;10c66: c6fc0003
+ SUBQ.W #1,D3 ;10c6a: 5343
+ MOVE.W D3,$100(A4) ;10c6c: 39430100
+ MOVE.L A2,$F8(A4) ;10c70: 294a00f8
+ ST $FE(A4) ;10c74: 50ec00fe
+LAB_10C78:
+ LEA LAB_1155E(PC),A2 ;10c78: 45fa08e4
+ MOVEM.L A0/A2,-(A7) ;10c7c: 48e700a0
+ MOVEA.L $F8(A4),A0 ;10c80: 206c00f8
+ MOVE.W $100(A4),D5 ;10c84: 3a2c0100
+ MOVE.W $FC(A4),D3 ;10c88: 362c00fc
+ MOVE.W $FE(A4),D0 ;10c8c: 302c00fe
+LAB_10C90:
+ TST.W D0 ;10c90: 4a40
+ BPL.S LAB_10CA4 ;10c92: 6a10
+ CLR.W D0 ;10c94: 4240
+ MOVE.B (A0)+,D0 ;10c96: 1018
+ ST D3 ;10c98: 50c3
+ BPL.S LAB_10CA0 ;10c9a: 6a04
+ CLR.W D3 ;10c9c: 4243
+ NOT.B D0 ;10c9e: 4600
+LAB_10CA0:
+ MOVE.W D0,$FE(A4) ;10ca0: 394000fe
+LAB_10CA4:
+ SUBQ.W #1,D0 ;10ca4: 5340
+ TST.W D3 ;10ca6: 4a43
+ BNE.S LAB_10CAE ;10ca8: 6604
+ CLR.B (A2)+ ;10caa: 421a
+ BRA.S LAB_10CB0 ;10cac: 6002
+LAB_10CAE:
+ MOVE.B (A0)+,(A2)+ ;10cae: 14d8
+LAB_10CB0:
+ DBF D5,LAB_10C90 ;10cb0: 51cdffde
+ MOVE.W D0,$FE(A4) ;10cb4: 394000fe
+ MOVE.W D3,$FC(A4) ;10cb8: 394300fc
+ MOVE.L A0,$F8(A4) ;10cbc: 294800f8
+ MOVEM.L (A7)+,A0/A2 ;10cc0: 4cdf0500
+LAB_10CC4:
+ PEA LAB_10B18(PC) ;10cc4: 487afe52
+LAB_10CC8:
+ CLR.W D5 ;10cc8: 4245
+ MOVEA.L (A7),A1 ;10cca: 2257
+ LEA LAB_10AB8(PC),A5 ;10ccc: 4bfafdea
+ ADDA.W (A1)+,A5 ;10cd0: dad9
+ MOVE.L A1,(A7) ;10cd2: 2e89
+ MOVE.B (A2)+,D5 ;10cd4: 1a1a
+ MOVE.B (A2)+,D6 ;10cd6: 1c1a
+ LSL.W #8,D6 ;10cd8: e14e
+ MOVE.B (A2)+,D6 ;10cda: 1c1a
+ MOVE.B D6,5(A5) ;10cdc: 1b460005
+ MOVE.W D6,D0 ;10ce0: 3006
+ ANDI.W #$f000,D0 ;10ce2: 0240f000
+ ROL.W #4,D0 ;10ce6: e958
+ BCLR #7,D5 ;10ce8: 08850007
+ BEQ.S LAB_10CF2 ;10cec: 6704
+ BSET #4,D0 ;10cee: 08c00004
+LAB_10CF2:
+ BCLR #6,D5 ;10cf2: 08850006
+ BEQ.S LAB_10CFC ;10cf6: 6704
+ BSET #5,D0 ;10cf8: 08c00005
+LAB_10CFC:
+ TST.W D0 ;10cfc: 4a40
+ BEQ.S LAB_10D1E ;10cfe: 671e
+ SUBQ.B #1,D0 ;10d00: 5300
+ MOVE.B D0,1(A5) ;10d02: 1b400001
+ CLR.B $17(A5) ;10d06: 422d0017
+ ASL.W #3,D0 ;10d0a: e740
+ LEA 0(A6,D0.W),A3 ;10d0c: 47f60000
+ MOVEQ #0,D0 ;10d10: 7000
+ MOVE.B 6(A3),D0 ;10d12: 102b0006
+ BSR.W LAB_1098E ;10d16: 6100fc76
+ MOVE.B D0,2(A5) ;10d1a: 1b400002
+LAB_10D1E:
+ MOVE.W D6,D0 ;10d1e: 3006
+ LSR.W #8,D0 ;10d20: e048
+ ANDI.B #$0f,D0 ;10d22: 0200000f
+ MOVE.B D0,4(A5) ;10d26: 1b400004
+ BEQ.W LAB_10E24 ;10d2a: 670000f8
+ CMP.B #$0f,D0 ;10d2e: b03c000f
+ BNE.S LAB_10DAA ;10d32: 6676
+ TST.B D6 ;10d34: 4a06
+ BEQ.S LAB_10DA2 ;10d36: 676a
+ CMP.B #$f0,D6 ;10d38: bc3c00f0
+ BHI.S LAB_10D4A ;10d3c: 620c
+ CLR.L D0 ;10d3e: 4280
+ MOVE.B D6,D0 ;10d40: 1006
+ BSR.W SUB_11114 ;10d42: 610003d0
+ BRA.W LAB_10E24 ;10d46: 600000dc
+LAB_10D4A:
+ CMP.B #$f2,D6 ;10d4a: bc3c00f2
+ BNE.S LAB_10D5A ;10d4e: 660a
+ MOVE.B D5,0(A5) ;10d50: 1b450000
+ CLR.W D5 ;10d54: 4245
+ BRA.W LAB_10E24 ;10d56: 600000cc
+LAB_10D5A:
+ CMP.B #$fe,D6 ;10d5a: bc3c00fe
+ BNE.S LAB_10D72 ;10d5e: 6612
+ MOVE.L A0,-(A7) ;10d60: 2f08
+ LEA LAB_1158E(PC),A0 ;10d62: 41fa082a
+ ST (A0) ;10d66: 50d0
+ MOVEA.L (A7)+,A0 ;10d68: 205f
+ CLR.W $28(A4) ;10d6a: 426c0028
+ BRA.W LAB_10E24 ;10d6e: 600000b4
+LAB_10D72:
+ CMP.B #$fd,D6 ;10d72: bc3c00fd
+ BNE.W LAB_10E24 ;10d76: 660000ac
+ CMP.B #$03,D7 ;10d7a: be3c0003
+ BHI.W LAB_10E24 ;10d7e: 620000a4
+ LEA LAB_114BC(PC),A0 ;10d82: 41fa0738
+ TST.B D5 ;10d86: 4a05
+ BEQ.W LAB_10E24 ;10d88: 6700009a
+ SUBQ.B #1,D5 ;10d8c: 5305
+ ADD.B D5,D5 ;10d8e: da05
+ MOVE.W 0(A0,D5.W),D0 ;10d90: 30305000
+ MOVEA.L $A(A5),A0 ;10d94: 206d000a
+ MOVE.W D0,6(A0) ;10d98: 31400006
+ CLR.B D5 ;10d9c: 4205
+ BRA.W LAB_10E24 ;10d9e: 60000084
+LAB_10DA2:
+ ST -2364(A4) ;10da2: 50ecf6c4
+ BRA.W LAB_10E24 ;10da6: 6000007c
+LAB_10DAA:
+ CMP.B #$0c,D0 ;10daa: b03c000c
+ BNE.S LAB_10DD2 ;10dae: 6622
+ MOVE.B D6,D0 ;10db0: 1006
+ LSR.B #4,D0 ;10db2: e808
+ MULU #$000a,D0 ;10db4: c0fc000a
+ MOVE.B D6,D1 ;10db8: 1206
+ ANDI.B #$0f,D1 ;10dba: 0201000f
+ ADD.B D1,D0 ;10dbe: d001
+ CMP.B #$40,D0 ;10dc0: b03c0040
+ BLS.S LAB_10DC8 ;10dc4: 6302
+ MOVEQ #$40,D0 ;10dc6: 7040
+LAB_10DC8:
+ BSR.W LAB_1098E ;10dc8: 6100fbc4
+ MOVE.B D0,2(A5) ;10dcc: 1b400002
+ BRA.S LAB_10E24 ;10dd0: 6052
+LAB_10DD2:
+ CMP.B #$0b,D0 ;10dd2: b03c000b
+ BNE.S LAB_10DF0 ;10dd6: 6618
+ MOVE.W D6,D0 ;10dd8: 3006
+ ANDI.W #$00ff,D0 ;10dda: 024000ff
+ CMP.W $1FA(A6),D0 ;10dde: b06e01fa
+ BHI.S LAB_10E24 ;10de2: 6240
+ MOVE.W D0,$2E(A4) ;10de4: 3940002e
+ MOVE.B #$01,-2364(A4) ;10de8: 197c0001f6c4
+ BRA.S LAB_10E24 ;10dee: 6034
+LAB_10DF0:
+ CMP.B #$03,D0 ;10df0: b03c0003
+ BNE.S LAB_10E24 ;10df4: 662e
+ SUBQ.B #1,D5 ;10df6: 5305
+ BMI.S LAB_10E4A ;10df8: 6b50
+ CMP.B #$03,D7 ;10dfa: be3c0003
+ BHI.S LAB_10E4A ;10dfe: 624a
+ LEA LAB_114BC(PC),A0 ;10e00: 41fa06ba
+ ADD.B $2FE(A6),D5 ;10e04: da2e02fe
+ CLR.W D0 ;10e08: 4240
+ MOVE.B 1(A5),D0 ;10e0a: 102d0001
+ ASL.W #3,D0 ;10e0e: e740
+ ADD.B 7(A6,D0.W),D5 ;10e10: da360007
+ BMI.S LAB_10E4A ;10e14: 6b34
+ ADD.W D5,D5 ;10e16: da45
+ MOVE.W 0(A0,D5.W),$14(A5) ;10e18: 3b7050000014
+ MOVE.B D6,7(A5) ;10e1e: 1b460007
+ CLR.W D5 ;10e22: 4245
+LAB_10E24:
+ TST.B D5 ;10e24: 4a05
+ BEQ.S LAB_10E4A ;10e26: 6722
+ MOVE.B D5,0(A5) ;10e28: 1b450000
+ MOVE.W D7,D0 ;10e2c: 3007
+ MOVE.W D5,D1 ;10e2e: 3205
+ CLR.W D3 ;10e30: 4243
+ MOVE.B 1(A5),D3 ;10e32: 162d0001
+ MOVE.W D3,D2 ;10e36: 3403
+ ASL.W #3,D3 ;10e38: e743
+ LEA 0(A6,D3.W),A3 ;10e3a: 47f63000
+ MOVE.W D2,D3 ;10e3e: 3602
+ CLR.W D2 ;10e40: 4242
+ MOVE.B 2(A5),D2 ;10e42: 142d0002
+ BSR.W LAB_109AA ;10e46: 6100fb62
+LAB_10E4A:
+ ADDQ.B #1,D7 ;10e4a: 5207
+ CMP.W LAB_10B22(PC),D7 ;10e4c: be7afcd4
+ BLT.W LAB_10CC8 ;10e50: 6d00fe76
+ ADDQ.L #4,A7 ;10e54: 588f
+LAB_10E56:
+ CLR.L D7 ;10e56: 4287
+ LEA LAB_10B18(PC),A2 ;10e58: 45fafcbe
+LAB_10E5C:
+ LEA LAB_10AB8(PC),A5 ;10e5c: 4bfafc5a
+ ADDA.W (A2)+,A5 ;10e60: dada
+ CLR.W D5 ;10e62: 4245
+ CLR.W D4 ;10e64: 4244
+ MOVE.B 4(A5),D6 ;10e66: 1c2d0004
+ MOVE.B 5(A5),D4 ;10e6a: 182d0005
+ CMP.B #$03,D7 ;10e6e: be3c0003
+ BHI.W LAB_11104 ;10e72: 62000290
+ CMP.B #$01,D6 ;10e76: bc3c0001
+ BNE.S LAB_10EAC ;10e7a: 6630
+ BTST #5,$2FF(A6) ;10e7c: 082e000502ff
+ BEQ.S LAB_10E90 ;10e82: 670c
+ MOVE.B $301(A6),D0 ;10e84: 102e0301
+ CMP.B $32(A4),D0 ;10e88: b02c0032
+ BLE.W LAB_11104 ;10e8c: 6f000276
+LAB_10E90:
+ SUB.W D4,8(A5) ;10e90: 996d0008
+ MOVE.W 8(A5),D5 ;10e94: 3a2d0008
+ CMP.W #$0071,D5 ;10e98: ba7c0071
+ BGE.W LAB_110E4 ;10e9c: 6c000246
+ MOVE.W #$0071,D5 ;10ea0: 3a3c0071
+ MOVE.W D5,8(A5) ;10ea4: 3b450008
+ BRA.W LAB_110E4 ;10ea8: 6000023a
+LAB_10EAC:
+ CMP.B #$02,D6 ;10eac: bc3c0002
+ BNE.S LAB_10EE2 ;10eb0: 6630
+ BTST #5,$2FF(A6) ;10eb2: 082e000502ff
+ BEQ.S LAB_10EC6 ;10eb8: 670c
+ MOVE.B $301(A6),D0 ;10eba: 102e0301
+ CMP.B $32(A4),D0 ;10ebe: b02c0032
+ BLE.W LAB_11104 ;10ec2: 6f000240
+LAB_10EC6:
+ ADD.W D4,8(A5) ;10ec6: d96d0008
+ MOVE.W 8(A5),D5 ;10eca: 3a2d0008
+ CMP.W #$0358,D5 ;10ece: ba7c0358
+ BLE.W LAB_110E4 ;10ed2: 6f000210
+ MOVE.W #$0358,D5 ;10ed6: 3a3c0358
+ MOVE.W D5,8(A5) ;10eda: 3b450008
+ BRA.W LAB_110E4 ;10ede: 60000204
+LAB_10EE2:
+ TST.B D6 ;10ee2: 4a06
+ BNE.S LAB_10F14 ;10ee4: 662e
+ TST.B D4 ;10ee6: 4a04
+ BEQ.W LAB_11104 ;10ee8: 6700021a
+ MOVE.B 0(A5),D1 ;10eec: 122d0000
+ BSR.W LAB_1116E ;10ef0: 6100027c
+ SUBQ.B #1,D4 ;10ef4: 5304
+ ADD.B $2FE(A6),D4 ;10ef6: d82e02fe
+ CLR.W D0 ;10efa: 4240
+ MOVE.B 1(A5),D0 ;10efc: 102d0001
+ ASL.W #3,D0 ;10f00: e740
+ ADD.B 7(A6,D0.W),D4 ;10f02: d8360007
+ ADD.B D4,D4 ;10f06: d804
+ LEA LAB_114BC(PC),A1 ;10f08: 43fa05b2
+ MOVE.W 0(A1,D4.W),D5 ;10f0c: 3a314000
+ BRA.W LAB_110E4 ;10f10: 600001d2
+LAB_10F14:
+ CMP.B #$0a,D6 ;10f14: bc3c000a
+ BEQ.S LAB_10F20 ;10f18: 6706
+ CMP.B #$0d,D6 ;10f1a: bc3c000d
+ BNE.S LAB_10F62 ;10f1e: 6642
+LAB_10F20:
+ BTST #5,$2FF(A6) ;10f20: 082e000502ff
+ BEQ.S LAB_10F34 ;10f26: 670c
+ MOVE.B $301(A6),D0 ;10f28: 102e0301
+ CMP.B $32(A4),D0 ;10f2c: b02c0032
+ BLE.W LAB_11104 ;10f30: 6f0001d2
+LAB_10F34:
+ MOVE.B D4,D1 ;10f34: 1204
+ MOVE.B 2(A5),D0 ;10f36: 102d0002
+ ANDI.B #$f0,D1 ;10f3a: 020100f0
+ BNE.S LAB_10F4E ;10f3e: 660e
+ SUB.B D4,D0 ;10f40: 9004
+ BPL.S LAB_10F46 ;10f42: 6a02
+ CLR.B D0 ;10f44: 4200
+LAB_10F46:
+ MOVE.B D0,2(A5) ;10f46: 1b400002
+ BRA.W LAB_110E4 ;10f4a: 60000198
+LAB_10F4E:
+ LSR.B #4,D1 ;10f4e: e809
+ ADD.B D1,D0 ;10f50: d001
+ CMP.B #$40,D0 ;10f52: b03c0040
+ BLE.S LAB_10F5A ;10f56: 6f02
+ MOVEQ #$40,D0 ;10f58: 7040
+LAB_10F5A:
+ MOVE.B D0,2(A5) ;10f5a: 1b400002
+ BRA.W LAB_110E4 ;10f5e: 60000184
+LAB_10F62:
+ CMP.B #$05,D6 ;10f62: bc3c0005
+ BNE.S LAB_10F7C ;10f66: 6614
+ MOVE.W 8(A5),D5 ;10f68: 3a2d0008
+ CMPI.B #$03,$32(A4) ;10f6c: 0c2c00030032
+ BGE.W LAB_110E4 ;10f72: 6c000170
+ SUB.W D4,D5 ;10f76: 9a44
+ BRA.W LAB_110E4 ;10f78: 6000016a
+LAB_10F7C:
+ CMP.B #$03,D6 ;10f7c: bc3c0003
+ BNE.S LAB_10FCA ;10f80: 6648
+ BTST #5,$2FF(A6) ;10f82: 082e000502ff
+ BEQ.S LAB_10F96 ;10f88: 670c
+ MOVE.B $301(A6),D0 ;10f8a: 102e0301
+ CMP.B $32(A4),D0 ;10f8e: b02c0032
+ BLE.W LAB_11104 ;10f92: 6f000170
+LAB_10F96:
+ MOVE.W $14(A5),D0 ;10f96: 302d0014
+ BEQ.W LAB_110E4 ;10f9a: 67000148
+ MOVE.W 8(A5),D1 ;10f9e: 322d0008
+ MOVE.B 7(A5),D4 ;10fa2: 182d0007
+ CMP.W D0,D1 ;10fa6: b240
+ BHI.S LAB_10FB2 ;10fa8: 6208
+ ADD.W D4,D1 ;10faa: d244
+ CMP.W D0,D1 ;10fac: b240
+ BGE.S LAB_10FB8 ;10fae: 6c08
+ BRA.S LAB_10FC0 ;10fb0: 600e
+LAB_10FB2:
+ SUB.W D4,D1 ;10fb2: 9244
+ CMP.W D0,D1 ;10fb4: b240
+ BGT.S LAB_10FC0 ;10fb6: 6e08
+LAB_10FB8:
+ MOVE.W $14(A5),D1 ;10fb8: 322d0014
+ CLR.W $14(A5) ;10fbc: 426d0014
+LAB_10FC0:
+ MOVE.W D1,8(A5) ;10fc0: 3b410008
+ MOVE.W D1,D5 ;10fc4: 3a01
+ BRA.W LAB_110E4 ;10fc6: 6000011c
+LAB_10FCA:
+ CMP.B #$0c,D6 ;10fca: bc3c000c
+ BNE.S LAB_10FDC ;10fce: 660c
+ TST.B $32(A4) ;10fd0: 4a2c0032
+ BNE.W LAB_11104 ;10fd4: 6600012e
+ BRA.W LAB_110E4 ;10fd8: 6000010a
+LAB_10FDC:
+ CMP.B #$04,D6 ;10fdc: bc3c0004
+ BNE.S LAB_1104C ;10fe0: 666a
+ TST.B D4 ;10fe2: 4a04
+ BEQ.S LAB_10FEA ;10fe4: 6704
+ MOVE.B D4,$17(A5) ;10fe6: 1b440017
+LAB_10FEA:
+ MOVE.B $16(A5),D0 ;10fea: 102d0016
+ LSR.B #1,D0 ;10fee: e208
+ ANDI.W #$001f,D0 ;10ff0: 0240001f
+ CLR.W D1 ;10ff4: 4241
+ MOVE.B LAB_1102C(PC,D0.W),D1 ;10ff6: 123b0034
+ MOVE.B $17(A5),D0 ;10ffa: 102d0017
+ ANDI.W #$000f,D0 ;10ffe: 0240000f
+ MULU D0,D1 ;11002: c2c0
+ LSR.W #6,D1 ;11004: ec49
+ MOVE.W 8(A5),D5 ;11006: 3a2d0008
+ BTST #6,$16(A5) ;1100a: 082d00060016
+ BNE.S LAB_11016 ;11010: 6604
+ ADD.W D1,D5 ;11012: da41
+ BRA.S LAB_11018 ;11014: 6002
+LAB_11016:
+ SUB.W D1,D5 ;11016: 9a41
+LAB_11018:
+ MOVE.B $17(A5),D0 ;11018: 102d0017
+ LSR.B #4,D0 ;1101c: e808
+ ANDI.B #$0f,D0 ;1101e: 0200000f
+ ADDQ.W #1,D0 ;11022: 5240
+ ADD.B D0,$16(A5) ;11024: d12d0016
+ BRA.W LAB_110E4 ;11028: 600000ba
+LAB_1102C:
+ DC.L $0018314a,$61788da1,$b4c5d4e0,$ebf4fafd ;1102c
+ DC.L $fffdfaf4,$ebe0d4c5,$b4a18d78,$614a3118 ;1103c
+LAB_1104C:
+ CMP.B #$0f,D6 ;1104c: bc3c000f
+ BNE.W LAB_110DE ;11050: 6600008c
+ CMP.B #$ff,D4 ;11054: b83c00ff
+ BNE.S LAB_11064 ;11058: 660a
+ MOVE.W D7,D0 ;1105a: 3007
+ BSR.W LAB_1097C ;1105c: 6100f91e
+ BRA.W LAB_11104 ;11060: 600000a2
+LAB_11064:
+ CMP.B #$f1,D4 ;11064: b83c00f1
+ BNE.S LAB_11076 ;11068: 660c
+ CMPI.B #$03,$32(A4) ;1106a: 0c2c00030032
+ BNE.W LAB_11104 ;11070: 66000092
+ BRA.S LAB_11098 ;11074: 6022
+LAB_11076:
+ CMP.B #$f2,D4 ;11076: b83c00f2
+ BNE.S LAB_11088 ;1107a: 660c
+ CMPI.B #$03,$32(A4) ;1107c: 0c2c00030032
+ BNE.W LAB_11104 ;11082: 66000080
+ BRA.S LAB_11098 ;11086: 6010
+LAB_11088:
+ CMP.B #$f3,D4 ;11088: b83c00f3
+ BNE.S LAB_110BE ;1108c: 6630
+ MOVE.B $32(A4),D0 ;1108e: 102c0032
+ ANDI.B #$06,D0 ;11092: 02000006
+ BEQ.S LAB_11104 ;11096: 676c
+LAB_11098:
+ CLR.W D0 ;11098: 4240
+ MOVE.B 1(A5),D0 ;1109a: 102d0001
+ ASL.W #3,D0 ;1109e: e740
+ LEA 0(A6,D0.W),A3 ;110a0: 47f60000
+ MOVE.W D7,D0 ;110a4: 3007
+ CLR.W D1 ;110a6: 4241
+ MOVE.B 0(A5),D1 ;110a8: 122d0000
+ CLR.W D2 ;110ac: 4242
+ MOVE.B 2(A5),D2 ;110ae: 142d0002
+ CLR.W D3 ;110b2: 4243
+ MOVE.B 1(A5),D3 ;110b4: 162d0001
+ BSR.W LAB_109AA ;110b8: 6100f8f0
+ BRA.S LAB_11104 ;110bc: 6046
+LAB_110BE:
+ CMP.B #$f8,D4 ;110be: b83c00f8
+ BEQ.S LAB_110D4 ;110c2: 6710
+ CMP.B #$f9,D4 ;110c4: b83c00f9
+ BNE.S LAB_11104 ;110c8: 663a
+ BCLR #1,CIAA_PRA ;110ca: 08b9000100bfe001
+ BRA.S LAB_11104 ;110d2: 6030
+LAB_110D4:
+ BSET #1,CIAA_PRA ;110d4: 08f9000100bfe001
+ BRA.S LAB_11104 ;110dc: 6026
+LAB_110DE:
+ CMP.B #$0c,D6 ;110de: bc3c000c
+ BNE.S LAB_11104 ;110e2: 6620
+LAB_110E4:
+ TST.W D5 ;110e4: 4a45
+ BNE.S LAB_110EC ;110e6: 6604
+ MOVE.W 8(A5),D5 ;110e8: 3a2d0008
+LAB_110EC:
+ MOVEA.L $A(A5),A1 ;110ec: 226d000a
+ MOVE.W D5,6(A1) ;110f0: 33450006
+ CLR.W D5 ;110f4: 4245
+ TST.W $48(A4) ;110f6: 4a6c0048
+ BNE.S LAB_11104 ;110fa: 6608
+ MOVE.B 2(A5),D5 ;110fc: 1a2d0002
+ MOVE.W D5,8(A1) ;11100: 33450008
+LAB_11104:
+ ADDQ.B #1,D7 ;11104: 5207
+ CMP.W LAB_10B22(PC),D7 ;11106: be7afa1a
+ BLT.W LAB_10E5C ;1110a: 6d00fd50
+ BSR.W LAB_10A96 ;1110e: 6100f986
+ RTS ;11112: 4e75
+SUB_11114:
+ LEA LAB_1145C(PC),A4 ;11114: 49fa0346
+ TST.B $4D(A4) ;11118: 4a2c004d
+ BEQ.S LAB_11156 ;1111c: 6738
+ MOVE.L LAB_1154C(PC),D1 ;1111e: 223a042c
+ BEQ.S SUB_11140 ;11122: 671c
+ MOVEA.L LAB_11464(PC),A0 ;11124: 207a033e
+ MOVE.B D0,$2FD(A0) ;11128: 114002fd
+ CMP.B #$0a,D0 ;1112c: b03c000a
+ BHI.S SUB_11140 ;11130: 620e
+ SUBQ.B #1,D0 ;11132: 5300
+ MOVE.B D0,$301(A0) ;11134: 11400301
+ ADD.W D0,D0 ;11138: d040
+ MOVE.W LAB_1115A(PC,D0.W),D1 ;1113a: 323b001e
+ BRA.S LAB_11148 ;1113e: 6008
+SUB_11140:
+ MOVE.L #$00072bf0,D1 ;11140: 223c00072bf0
+ DIVU D0,D1 ;11146: 82c0
+LAB_11148:
+ MOVE.B D1,CIAB_TALO ;11148: 13c100bfd400
+ LSR.W #8,D1 ;1114e: e049
+ MOVE.B D1,CIAB_TAHI ;11150: 13c100bfd500
+LAB_11156:
+ RTS ;11156: 4e75
+ DC.W $0f00 ;11158
+LAB_1115A:
+ DC.L $097112e1,$1c5225c2,$2f3338a4,$42144b84 ;1115a
+ DC.L $53bc5e63 ;1116a
+LAB_1116E:
+ MOVE.B $32(A4),D0 ;1116e: 102c0032
+ TST.B D0 ;11172: 4a00
+ BEQ.S LAB_1117C ;11174: 6706
+ CMP.B #$03,D0 ;11176: b03c0003
+ BNE.S LAB_11184 ;1117a: 6608
+LAB_1117C:
+ ANDI.B #$0f,D4 ;1117c: 0204000f
+ ADD.B D1,D4 ;11180: d801
+ RTS ;11182: 4e75
+LAB_11184:
+ CMP.B #$01,D0 ;11184: b03c0001
+ BEQ.S LAB_11190 ;11188: 6706
+ CMP.B #$04,D0 ;1118a: b03c0004
+ BNE.S LAB_11196 ;1118e: 6606
+LAB_11190:
+ LSR.B #4,D4 ;11190: e80c
+ ADD.B D1,D4 ;11192: d801
+ RTS ;11194: 4e75
+LAB_11196:
+ MOVE.B D1,D4 ;11196: 1801
+ RTS ;11198: 4e75
+LAB_1119A:
+ CLR.L D2 ;1119a: 4282
+ MOVE.W 4(A0),D0 ;1119c: 30280004
+ MOVE.L A0,D0 ;111a0: 2008
+ LEA LAB_114BC(PC),A0 ;111a2: 41fa0318
+ ADD.B D1,D1 ;111a6: d201
+ MOVE.W 0(A0,D1.W),D5 ;111a8: 3a301000
+ MOVEA.L D0,A0 ;111ac: 2040
+ ADDQ.L #6,D0 ;111ae: 5c80
+ MOVE.L (A0),D1 ;111b0: 2210
+ MOVE.W (A3),D2 ;111b2: 3413
+ MOVE.W 2(A3),D3 ;111b4: 362b0002
+ RTS ;111b8: 4e75
+ MOVEM.L D6-D7/A1,-(A7) ;111ba: 48e70340
+ MOVEQ #0,D7 ;111be: 7e00
+ MOVE.W D1,D7 ;111c0: 3e01
+ DIVU #$000c,D7 ;111c2: 8efc000c
+ MOVE.L D7,D5 ;111c6: 2a07
+ SWAP D5 ;111c8: 4845
+ MOVE.L (A0),D1 ;111ca: 2210
+ CMP.B #$02,D0 ;111cc: b03c0002
+ BNE.S LAB_111DA ;111d0: 6608
+ ADDQ.L #6,D7 ;111d2: 5c87
+ DIVU #$0007,D1 ;111d4: 82fc0007
+ BRA.S LAB_111DE ;111d8: 6004
+LAB_111DA:
+ DIVU #$001f,D1 ;111da: 82fc001f
+LAB_111DE:
+ MOVE.L D1,D0 ;111de: 2001
+ MOVE.W (A3),D2 ;111e0: 3413
+ MOVE.W 2(A3),D3 ;111e2: 362b0002
+ CLR.W D6 ;111e6: 4246
+ MOVE.B LAB_11210(PC,D7.W),D6 ;111e8: 1c3b7026
+ LSL.W D6,D2 ;111ec: ed6a
+ LSL.W D6,D3 ;111ee: ed6b
+ LSL.W D6,D1 ;111f0: ed69
+ MOVE.B LAB_1121C(PC,D7.W),D6 ;111f2: 1c3b7028
+ MULU D6,D0 ;111f6: c0c6
+ ADD.L A0,D0 ;111f8: d088
+ ADDQ.L #6,D0 ;111fa: 5c80
+ LEA LAB_114BC(PC),A1 ;111fc: 43fa02be
+ ADD.B LAB_11228(PC,D7.W),D5 ;11200: da3b7026
+ ADD.B D5,D5 ;11204: da05
+ MOVE.W 0(A1,D5.W),D5 ;11206: 3a315000
+ MOVEM.L (A7)+,D6-D7/A1 ;1120a: 4cdf02c0
+ RTS ;1120e: 4e75
+LAB_11210:
+ DC.L $04030201,$01000202,$01010000 ;11210
+LAB_1121C:
+ DC.L $0f070301,$01000303,$01010000 ;1121c
+LAB_11228:
+ DC.L $0c0c0c0c,$1818000c,$0c181824 ;11228
+SUB_11234:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;11234: 48e7fffe
+ BSR.W SUB_11242 ;11238: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1123c: 4cdf7fff
+ RTS ;11240: 4e75
+SUB_11242:
+ LEA LAB_1145C(PC),A4 ;11242: 49fa0218
+ LEA LAB_10AB8(PC),A0 ;11246: 41faf870
+ MOVEQ #3,D0 ;1124a: 7003
+ MOVE.L #$00dff0a0,D1 ;1124c: 223c00dff0a0
+LAB_11252:
+ MOVE.L D1,$A(A0) ;11252: 2141000a
+ LEA $18(A0),A0 ;11256: 41e80018
+ ADDI.W #$0010,D1 ;1125a: 06410010
+ DBF D0,LAB_11252 ;1125e: 51c8fff2
+ MOVE.L A6,-(A7) ;11262: 2f0e
+ LEA LAB_114AA(PC),A0 ;11264: 41fa0244
+ CLR.B (A0) ;11268: 4210
+ BTST #1,CIAA_PRA ;1126a: 0839000100bfe001
+ SNE (A0) ;11272: 56d0
+ MOVE.L AUTO_INT1.W,$50(A4) ;11274: 297800640050
+ MOVE.L AUTO_INT6.W,$54(A4) ;1127a: 297800780054
+ MOVE.L AUTO_INT3.W,$58(A4) ;11280: 2978006c0058
+ MOVE.W INTENAR,$5C(A4) ;11286: 397900dff01c005c
+ MOVE.W #$4000,INTENA ;1128e: 33fc400000dff09a
+ LEA LAB_10B24(PC),A0 ;11296: 41faf88c
+ MOVE.L A0,AUTO_INT6.W ;1129a: 21c80078
+ ANDI.B #$80,CIAB_CRA ;1129e: 0239008000bfde00
+ MOVE.W #$e021,INTENA ;112a6: 33fce02100dff09a
+ ST $46(A4) ;112ae: 50ec0046
+ MOVE.B #$81,CIAB_ICR ;112b2: 13fc008100bfdd00
+ ST $4D(A4) ;112ba: 50ec004d
+ MOVEQ #6,D0 ;112be: 7006
+ BSR.W SUB_11140 ;112c0: 6100fe7e
+ CLR.L D0 ;112c4: 4280
+LAB_112C6:
+ MOVEA.L (A7)+,A6 ;112c6: 2c5f
+ RTS ;112c8: 4e75
+ BSR.S SUB_112D0 ;112ca: 6104
+ MOVEQ #-1,D0 ;112cc: 70ff
+ BRA.S LAB_112C6 ;112ce: 60f6
+SUB_112D0:
+ LEA LAB_1145C(PC),A4 ;112d0: 49fa018a
+ MOVE.L A6,-(A7) ;112d4: 2f0e
+ MOVEA.L ABSEXECBASE,A6 ;112d6: 2c7900000004
+ LEA LAB_1154C(PC),A0 ;112dc: 41fa026e
+ TST.L (A0) ;112e0: 4a90
+ BEQ.S LAB_112F0 ;112e2: 670c
+ MOVEA.L A4,A0 ;112e4: 204c
+ TST.W $28(A0) ;112e6: 4a680028
+ BEQ.S LAB_112F0 ;112ea: 6704
+ BSR.W SUB_11408 ;112ec: 6100011a
+LAB_112F0:
+ LEA LAB_114A9(PC),A0 ;112f0: 41fa01b7
+ CLR.B (A0)+ ;112f4: 4218
+ BCLR #1,CIAA_PRA ;112f6: 08b9000100bfe001
+ MOVE.B (A0),D0 ;112fe: 1010
+ ANDI.B #$02,D0 ;11300: 02000002
+ OR.B D0,CIAA_PRA ;11304: 813900bfe001
+ CLR.B $46(A4) ;1130a: 422c0046
+ MOVE.W $5C(A4),D0 ;1130e: 302c005c
+ MOVE.W #$4000,INTENA ;11312: 33fc400000dff09a
+ MOVE.L LAB_114AC(PC),AUTO_INT1.W ;1131a: 21fa01900064
+ MOVE.L LAB_114B0(PC),AUTO_INT6.W ;11320: 21fa018e0078
+ MOVE.L LAB_114B4(PC),AUTO_INT3.W ;11326: 21fa018c006c
+ MOVE.W #$2021,INTENA ;1132c: 33fc202100dff09a
+ ORI.W #$c000,D0 ;11334: 0040c000
+ MOVE.W D0,INTENA ;11338: 33c000dff09a
+ MOVEA.L (A7)+,A6 ;1133e: 2c5f
+LAB_11340:
+ RTS ;11340: 4e75
+LAB_11342:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;11342: 48e7fffe
+ BSR.W SUB_11350 ;11346: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1134a: 4cdf7fff
+ RTS ;1134e: 4e75
+SUB_11350:
+ LEA LAB_1145C(PC),A4 ;11350: 49fa010a
+ TST.B $4D(A4) ;11354: 4a2c004d
+ BEQ.S LAB_11340 ;11358: 67e6
+ MOVEA.L A4,A0 ;1135a: 204c
+ LEA $28(A0),A1 ;1135c: 43e80028
+ CLR.L (A1)+ ;11360: 4299
+ CLR.L (A1)+ ;11362: 4299
+ CLR.W (A1) ;11364: 4251
+ NOT.W (A1)+ ;11366: 4659
+ MOVE.B #$05,(A1) ;11368: 12bc0005
+ MOVEA.L 8(A0),A1 ;1136c: 22680008
+ CLR.W $48(A4) ;11370: 426c0048
+ BTST #0,$2FF(A1) ;11374: 0829000002ff
+ BNE.S LAB_11386 ;1137a: 660a
+ BSET #1,CIAA_PRA ;1137c: 08f9000100bfe001
+ BRA.S LAB_1139C ;11384: 6016
+LAB_11386:
+ BCLR #1,CIAA_PRA ;11386: 08b9000100bfe001
+ BRA.S LAB_1139C ;1138e: 600c
+ MOVEM.L D0-D7/A0-A6,-(A7) ;11390: 48e7fffe
+ BSR.S LAB_1139C ;11394: 6106
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;11396: 4cdf7fff
+ RTS ;1139a: 4e75
+LAB_1139C:
+ LEA LAB_1145C(PC),A4 ;1139c: 49fa00be
+ TST.B $4D(A4) ;113a0: 4a2c004d
+ BEQ.S LAB_11406 ;113a4: 6760
+ MOVE.L A6,-(A7) ;113a6: 2f0e
+ MOVE.W #$4000,INTENA ;113a8: 33fc400000dff09a
+ MOVE.L A0,D0 ;113b0: 2008
+ BNE.S LAB_113BE ;113b2: 660a
+ LEA LAB_1154C(PC),A0 ;113b4: 41fa0196
+ TST.L (A0) ;113b8: 4a90
+ BEQ.S LAB_113FC ;113ba: 6740
+ MOVEA.L (A0),A0 ;113bc: 2050
+LAB_113BE:
+ TST.B $46(A4) ;113be: 4a2c0046
+ BEQ.S LAB_113FC ;113c2: 6738
+ MOVE.W $2E(A0),D1 ;113c4: 3228002e
+ MOVEA.L 8(A4),A1 ;113c8: 226c0008
+ MOVE.W $2FC(A1),D0 ;113cc: 302902fc
+ MOVE.B $312(A1),$4C(A4) ;113d0: 19690312004c
+ ADDA.W D1,A1 ;113d6: d2c1
+ MOVE.B $1FC(A1),$2B(A0) ;113d8: 116901fc002b
+ MOVE.L A0,$F0(A4) ;113de: 294800f0
+ MOVE.W #$0002,$28(A0) ;113e2: 317c00020028
+ BSR.W SUB_11114 ;113e8: 6100fd2a
+ MOVE.B #$01,CIAB_CRA ;113ec: 13fc000100bfde00
+ MOVE.W #$000f,DMACON ;113f4: 33fc000f00dff096
+LAB_113FC:
+ MOVE.W #$c000,INTENA ;113fc: 33fcc00000dff09a
+ MOVEA.L (A7)+,A6 ;11404: 2c5f
+LAB_11406:
+ RTS ;11406: 4e75
+SUB_11408:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;11408: 48e7fffe
+ BSR.W SUB_11416 ;1140c: 61000008
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;11410: 4cdf7fff
+ RTS ;11414: 4e75
+SUB_11416:
+ LEA LAB_1145C(PC),A4 ;11416: 49fa0044
+ TST.B $4D(A4) ;1141a: 4a2c004d
+ BEQ.S LAB_11430 ;1141e: 6710
+ TST.L $F0(A4) ;11420: 4aac00f0
+ BEQ.S LAB_1142C ;11424: 6706
+ MOVEA.L A4,A0 ;11426: 204c
+ CLR.W $28(A0) ;11428: 42680028
+LAB_1142C:
+ CLR.W $48(A4) ;1142c: 426c0048
+LAB_11430:
+ RTS ;11430: 4e75
+ MOVE.B LAB_114A9(PC),D1 ;11432: 123a0075
+ BEQ.S LAB_11456 ;11436: 671e
+ TST.W D0 ;11438: 4a40
+ BEQ.S LAB_11458 ;1143a: 671c
+ MOVE.L A4,-(A7) ;1143c: 2f0c
+ LEA LAB_1145C(PC),A4 ;1143e: 49fa001c
+ MOVEQ #0,D1 ;11442: 7200
+ MOVE.B LAB_114A8(PC),D1 ;11444: 123a0062
+ LSL.L #7,D1 ;11448: ef89
+ MOVE.W D1,$48(A4) ;1144a: 39410048
+ DIVU D0,D1 ;1144e: 82c0
+ MOVE.W D1,$4A(A4) ;11450: 3941004a
+ MOVEA.L (A7)+,A4 ;11454: 285f
+LAB_11456:
+ RTS ;11456: 4e75
+LAB_11458:
+ BSR.S SUB_11408 ;11458: 61ae
+ RTS ;1145a: 4e75
+LAB_1145C:
+ DS.L 2 ;1145c
+LAB_11464:
+ DS.L $F ;11464
+ DC.L $ff000000 ;114a0
+LAB_114A4:
+ DS.W 1 ;114a4
+LAB_114A6:
+ DS.W 1 ;114a6
+LAB_114A8:
+ DS.B 1 ;114a8
+LAB_114A9:
+ DS.B 1 ;114a9
+LAB_114AA:
+ DS.W 1 ;114aa
+LAB_114AC:
+ DS.L 1 ;114ac
+LAB_114B0:
+ DS.L 1 ;114b0
+LAB_114B4:
+ DS.L 2 ;114b4
+LAB_114BC:
+ DC.L $03580328,$02fa02d0,$02a60280,$025c023a ;114bc
+ DC.L $021a01fc,$01e001c5,$01ac0194,$017d0168 ;114cc
+ DC.L $01530140,$012e011d,$010d00fe,$00f000e2 ;114dc
+ DC.L $00d600ca,$00be00b4,$00aa00a0,$0097008f ;114ec
+ DC.L $0087007f,$00780071,$00d600ca,$00be00b4 ;114fc
+ DC.L $00aa00a0,$0097008f,$0087007f,$00780071 ;1150c
+ DC.L $00d600ca,$00be00b4,$00aa00a0,$0097008f ;1151c
+ DC.L $0087007f,$00780071,$00d600ca,$00be00b4 ;1152c
+ DC.L $00aa00a0,$0097008f,$0087007f,$00780071 ;1153c
+LAB_1154C:
+ DS.L 1 ;1154c
+LAB_11550:
+ DS.L 3 ;11550
+ DS.W 1 ;1155c
+LAB_1155E:
+ DS.L $C ;1155e
+LAB_1158E:
+ DS.W 1 ;1158e
+SUB_11590:
+ MOVEM.L D0/A0,-(A7) ;11590: 48e78080
+ MOVE.W LAB_1158E(PC),D0 ;11594: 303afff8
+ BNE.S LAB_115AA ;11598: 6610
+ BTST #6,CIAA_PRA ;1159a: 0839000600bfe001
+ BNE.S LAB_115AC ;115a2: 6608
+ LEA LAB_1158E(PC),A0 ;115a4: 41faffe8
+ ST (A0) ;115a8: 50d0
+LAB_115AA:
+ MOVEQ #0,D0 ;115aa: 7000
+LAB_115AC:
+ MOVEM.L (A7)+,D0/A0 ;115ac: 4cdf0101
+ RTS ;115b0: 4e75
+ DS.W 1 ;115b2
+ END
diff --git a/src/fed_Demo.cnf b/src/fed_Demo.cnf
new file mode 100644
index 0000000..f08a727
--- /dev/null
+++ b/src/fed_Demo.cnf
@@ -0,0 +1,71 @@
+MACHINE 68000
+ENTRY $00010000
+OFFSET $00010000
+CODE $00010000 - $0001015A
+CODE $0001015C - $00010320
+CODE $00010328 - $00010420
+CODE $000104E0 - $000105C4
+CODE $000105C8 - $00010638
+CODE $00010846 - $00010876
+CODE $00010882 - $000108F4
+CODE $000108F8 - $00010AB6
+CODE $00010B24 - $0001102C
+CODE $0001104C - $00011158
+CODE $0001116E - $00011210
+CODE $00011234 - $0001145C
+CODE $00011590 - $000115B2
+SYMBOL Hang $0001010A
+SYMBOL SUB_1015C $0001015C
+SYMBOL SUB_101BA $000101BA
+SYMBOL SUB_101CA $000101CA
+SYMBOL SUB_1025C $0001025C
+SYMBOL SUB_102C8 $000102C8
+SYMBOL SUB_102EE $000102EE
+SYMBOL SUB_10310 $00010310
+SYMBOL SUB_10354 $00010354
+SYMBOL SUB_1037A $0001037A
+SYMBOL SUB_103AC $000103AC
+SYMBOL SUB_1040C $0001040C
+SYMBOL SUB_104E0 $000104E0
+SYMBOL SUB_10502 $00010502
+SYMBOL SUB_10550 $00010550
+SYMBOL SUB_10588 $00010588
+SYMBOL SUB_10598 $00010598
+SYMBOL SUB_105C8 $000105C8
+SYMBOL palette16 $0001063A
+SYMBOL palette2 $0001065E
+SYMBOL palette32 $000106A2
+SYMBOL title_mus $0001071A
+SYMBOL seg5b $00010729
+SYMBOL seg5a $00010734
+SYMBOL min001 $0001073F
+SYMBOL min002 $0001074B
+SYMBOL min003 $00010757
+SYMBOL min2001 $00010763
+SYMBOL SUB_10846 $00010846
+SYMBOL SUB_10882 $00010882
+SYMBOL SUB_108E4 $000108E4
+SYMBOL fileptr_108F4 $000108F4
+SYMBOL SUB_fileget $000108F8
+SYMBOL SUB_1091E $0001091E
+SYMBOL SUB_10966 $00010966
+SYMBOL SUB_11114 $00011114
+SYMBOL SUB_11140 $00011140
+SYMBOL SUB_11234 $00011234
+SYMBOL SUB_11242 $00011242
+SYMBOL SUB_112D0 $000112D0
+SYMBOL SUB_11350 $00011350
+SYMBOL SUB_11408 $00011408
+SYMBOL SUB_11416 $00011416
+SYMBOL SUB_11590 $00011590
+LABEL LAB_103F8 $000103F8
+COMMENT $1000A load sprites
+COMMENT $1014E clear 40,000 bytes
+COMMENT $10770 214 bytes
+BANNER $10000 fed_Demo, Knightmare intro
+BANNER $10000 $0 is a pointer to RATT-DOS
+EQU FindDirEntry $108FE.W
+EQU MemoryFunc $10028.W $10912.W
+EQU LoadFile $1009C.W $100EE.W $1016A.W $101E2.W
+EQU FreeMem $10130.W $1013C.W
+END
diff --git a/src/fed_bootfile.asm b/src/fed_bootfile.asm
new file mode 100644
index 0000000..ade1fb2
--- /dev/null
+++ b/src/fed_bootfile.asm
@@ -0,0 +1,1075 @@
+; IRA V2.11 (Jun 19 2024) (c)1993-1995 Tim Ruehsen
+; (c)2009-2024 Frank Wille, (c)2014-2019 Nicolas Bastien
+
+EXT_0 EQU $0
+BUS_ERROR EQU $8
+TRAP_00 EQU $80
+CIAA_PRA EQU $BFE001
+HARDBASE EQU $DFF000
+COLOR00 EQU $DFF180
+
+; Custom equates (from config file)
+ChangeDisk EQU $60
+RawRead EQU $10
+AllocMemType EQU $7C
+SetDataBuff EQU $C
+SetDirBuff EQU 8
+LoadFile EQU $1C
+MotorOff EQU $20
+FreeMem EQU $70
+FindDirEntry EQU $58
+MemoryFunc EQU $6C
+dmaconr EQU 2
+copjmp2 EQU $8A
+cop2lch EQU $84
+intena EQU $9A
+dmacon EQU $96
+
+
+
+
+ SECTION S_0,CODE
+
+SECSTRT_0:
+; ------------------------------------------------------------------------------
+; Startup program for Knightmare
+; Loaded into memory at $1168
+; $0 contains pointer to RATT-DOS at $138
+; It loads fed_Demo (intro) and federation (main game)
+; ------------------------------------------------------------------------------
+ LEA federation(PC),A0 ;10000: 41fa122a
+ MOVEA.L EXT_0.W,A6 ;10004: 2c780000
+ JSR ChangeDisk(A6) ;10008: 4eae0060
+ TST.L D0 ;1000c: 4a80
+ BMI.S SECSTRT_0 ;1000e: 6bf0
+ MOVE.W D0,-(A7) ;10010: 3f00
+ MOVE.W D0,D1 ;10012: 3200
+ MOVE.W #$4489,D0 ;10014: 303c4489
+ MOVE.L #$80000002,D2 ;10018: 243c80000002
+ MOVEQ #1,D3 ;1001e: 7601
+ MOVEA.L EXT_0.W,A2 ;10020: 24780000
+ JSR RawRead(A2) ;10024: 4eaa0010
+ MOVE.W (A7)+,D0 ;10028: 301f
+ ANDI.W #$0001,D0 ;1002a: 02400001
+ LEA LAB_11222(PC),A0 ;1002e: 41fa11f2
+ MOVE.W D0,(A0) ;10032: 3080
+LAB_10034:
+ MOVEQ #4,D0 ;10034: 7004
+ MOVE.L #$00009dd0,D1 ;10036: 223c00009dd0
+ MOVEA.L EXT_0.W,A6 ;1003c: 2c780000
+ JSR AllocMemType(A6) ;10040: 4eae007c
+ TST.L D0 ;10044: 4a80
+ BEQ.W LAB_10034 ;10046: 6700ffec
+ LEA LAB_11224(PC),A0 ;1004a: 41fa11d8
+ MOVE.L D0,(A0) ;1004e: 2080
+LAB_10050:
+ MOVEQ #2,D0 ;10050: 7002
+ MOVE.L #$00000800,D1 ;10052: 223c00000800
+ MOVEA.L EXT_0.W,A6 ;10058: 2c780000
+ JSR AllocMemType(A6) ;1005c: 4eae007c
+ TST.L D0 ;10060: 4a80
+ BEQ.S LAB_10050 ;10062: 67ec
+ ADDI.L #$000007fc,D0 ;10064: 0680000007fc
+ MOVEA.L D0,A7 ;1006a: 2e40
+ MOVEQ #2,D0 ;1006c: 7002
+ MOVE.L #$00000664,D1 ;1006e: 223c00000664
+ MOVEA.L EXT_0.W,A6 ;10074: 2c780000
+ JSR AllocMemType(A6) ;10078: 4eae007c
+ TST.L D0 ;1007c: 4a80
+ BEQ.W Hang ;1007e: 670012d6
+ MOVEA.L EXT_0.W,A6 ;10082: 2c780000
+ JSR SetDirBuff(A6) ;10086: 4eae0008
+ MOVEQ #0,D0 ;1008a: 7000
+ MOVE.L #$00003200,D1 ;1008c: 223c00003200
+ MOVEA.L EXT_0.W,A6 ;10092: 2c780000
+ JSR AllocMemType(A6) ;10096: 4eae007c
+ TST.L D0 ;1009a: 4a80
+ BEQ.W Hang ;1009c: 670012b8
+ MOVE.L D0,-(A7) ;100a0: 2f00
+ MOVEA.L EXT_0.W,A6 ;100a2: 2c780000
+ JSR SetDataBuff(A6) ;100a6: 4eae000c
+ MOVEA.L (A7)+,A0 ;100aa: 205f
+ LEA LAB_11228(PC),A1 ;100ac: 43fa117a
+ MOVE.L A0,(A1) ;100b0: 2288
+ BSR.W SUB_10AEA ;100b2: 61000a36
+ LEA LAB_100DC(PC),A0 ;100b6: 41fa0024
+ MOVE.L A0,D1 ;100ba: 2208
+ MOVEQ #$C,D0 ;100bc: 700c
+LAB_100BE:
+ ADD.L D1,(A0)+ ;100be: d398
+ DBF D0,LAB_100BE ;100c0: 51c8fffc
+ MOVE.W LAB_11222(PC),D0 ;100c4: 303a115c
+ MOVEQ #1,D1 ;100c8: 7201
+ MOVEM.L LAB_100DC(PC),D2-D7/A0-A6 ;100ca: 4cfa7ffc000e
+ BSR.W LAB_10110 ;100d0: 6100003e
+ LEA LAB_11224(PC),A0 ;100d4: 41fa114e
+ MOVE.L (A7)+,(A0) ;100d8: 209f
+ RTS ;100da: 4e75
+LAB_100DC:
+ DC.L $e15ed87a,$c2bdb170,$857b470a,$0af68588 ;100dc
+ DC.L $15ed0854,$2bd9f8f4,$f857bd53,$f0af7852 ;100ec
+ DC.L $e15ed924,$c2bda812,$857b5068,$0af684de ;100fc
+ DC.L $15ed0168 ;1010c
+LAB_10110:
+ MOVEM.L D0-D7/A0-A7,-(A7) ;10110: 48e7ffff
+ PEA LAB_1012E(PC) ;10114: 487a0018
+ DC.L $21df0010,$204f4e7a,$00022f40,$00200880 ;10118
+ DC.L $00004e7b ;10128
+ DC.W $0002 ;1012c
+LAB_1012E:
+ MOVEA.L A0,A7 ;1012e: 2e48
+ MOVEM.L LAB_10136(PC),D0-D7/A0-A6 ;10130: 4cfa7fff0002
+LAB_10136:
+ MOVE.L #$4e730000,-(A7) ;10136: 2f3c4e730000
+ MOVE.L #$00000010,-(A7) ;1013c: 2f3c00000010
+ MOVE.L #$0004ddb9,-(A7) ;10142: 2f3c0004ddb9
+ MOVE.L #$bd96bdae,-(A7) ;10148: 2f3cbd96bdae
+ MOVE.L #$b386b586,-(A7) ;1014e: 2f3cb386b586
+ MOVE.L #$d046d246,-(A7) ;10154: 2f3cd046d246
+ MOVE.L #$0246a71f,-(A7) ;1015a: 2f3c0246a71f
+ MOVE.L #$00023c17,-(A7) ;10160: 2f3c00023c17
+ MOVE.L #$00042c6f,-(A7) ;10166: 2f3c00042c6f
+ MOVE.L #$bd96bdae,-(A7) ;1016c: 2f3cbd96bdae
+ DC.L $21cf0024,$007ca71f,$5cb80024,$72847108 ;10172
+ DC.L $6d84da24,$6d848344,$67fc2abd,$bf93be58 ;10182
+ DC.L $2e7927fd,$c076fd80,$0c008a50,$6d38e9bc ;10192
+ DC.L $ce522f7f,$51291113,$004039ca,$2f2c39ea ;101a2
+ DC.L $c421c736,$422c9cc4,$f63d1aff,$4621f63d ;101b2
+ DC.L $1aff8855,$74bf35a9,$da508a74,$6fbd37ec ;101c2
+ DC.L $f47fca56,$77cd758b,$bef07d2c,$b98565f9 ;101d2
+ DC.L $5660cbd1,$758b257f,$18af0f15,$27fdc61f ;101e2
+ DC.L $a713028d,$d8da38d9,$35ec30dc,$b627f76a ;101f2
+ DC.L $de4dd481,$2aae440a,$604c35aa,$96e5b2e5 ;10202
+ DC.L $440ac4af,$262c6b5c,$16b6d481,$352e6919 ;10212
+ DC.L $beeb94a3,$3b672b7e,$20e7fc93,$7d2a3647 ;10222
+ DC.L $619b5ad3,$cb75c429,$78e75579,$ceecd438 ;10232
+ DC.L $9fa50447,$3569acad,$c67f8117,$e42b7d3d ;10242
+ DC.L $ad6f2c12,$7d6ab018,$16f89423,$0ebc31aa ;10252
+ DC.L $ceb9b2e2,$620a42ed,$79b92e29,$a2e157f1 ;10262
+ DC.L $2950bed5,$c63a47fd,$a6dfb492,$f254849a ;10272
+ DC.L $1c84fb10,$736c4336,$08845299,$707a777b ;10282
+ DC.L $e144b223,$1e7e6075,$acbd62d8,$1af44e74 ;10292
+ DC.L $047a7d7c,$c67d9ca4,$35fa7d34,$7cbe2c9d ;102a2
+ DC.L $66429836,$1fb51787,$d6d1a85a,$9bb97db4 ;102b2
+ DC.L $c6b5f818,$e2be8a33,$a07b9582,$9830ff7f ;102c2
+ DC.L $5e9e9565,$e8768c71,$6f39e14d,$952175b7 ;102d2
+ DC.L $24b34803,$ff70cff0,$92ec0889,$09fc7004 ;102e2
+ DC.L $0de91e8c,$01cbce25,$f50784b4,$327e7a8a ;102f2
+ DC.L $3ae31b75,$dbbed2a8,$268406fe,$9134646d ;10302
+ DC.L $06f88e3b,$16d7edf1,$25edce1a,$8228c6fb ;10312
+ DC.L $25c32c02,$2cb236fe,$b6941fba,$493b5779 ;10322
+ DC.L $f6e69bb6,$2308c6ba,$57a0bc02,$8a3cfec7 ;10332
+ DC.L $57f8983f,$a1c05e91,$5765b6c2,$8cbf318d ;10342
+ DC.L $e142c666,$7fb875f4,$01f96d9c,$16fee990 ;10352
+ DC.L $0e82a9f3,$1544c67a,$e1423760,$7bb884f2 ;10362
+ DC.L $6b9bdad9,$16fee166,$b69c71c7,$e41cce1a ;10372
+ DC.L $29db8e7d,$8929e142,$34431c78,$e4151118 ;10382
+ DC.L $c6fd330d,$b9d3edf1,$61afce1a,$6359d605 ;10392
+ DC.L $557cd819,$d63c8970,$047c27de,$c63eb99c ;103a2
+ DC.L $33d2b8e4,$6b9fb708,$16fe295f,$8ebfdee6 ;103b2
+ DC.L $057a235c,$48f29c81,$9b7eb3d9,$6cbc4ce3 ;103c2
+ DC.L $beea8e3d,$76f6c63b,$b482cae0,$cb7f9466 ;103d2
+ DC.L $81611af2,$76af0442,$76a245a7,$5e91cc03 ;103e2
+ DC.L $c72c804f,$7e290c3a,$d8e5cebf,$3df625cc ;103f2
+ DC.L $0b2579bf,$48208b4b,$aa9c5cf1,$b1216de7 ;10402
+ DC.L $d4e026e2,$435c54ef,$d7a6e57d,$fa5fd763 ;10412
+ DC.L $b791860b,$a91e8e94,$6b5c734a,$3ca91597 ;10422
+ DC.L $64e56e7c,$bb9d8e8c,$a161aac3,$bda3dca4 ;10432
+ DC.L $eb7c6379,$39a8b694,$64a4e608,$4c614ea8 ;10442
+ DC.L $2d2e431c,$e64f20ff,$4c61ee31,$055f431c ;10452
+ DC.L $7685a367,$4c61138d,$d2cd431c,$0b056c28 ;10462
+ DC.L $4c618bc1,$b3e4431c,$dd514c08,$4c61258d ;10472
+ DC.L $635d431c,$4f1a6c2a,$4c6179fd,$d2cd431c ;10482
+ DC.L $31956c28,$4c616571,$b3e4431c,$c3a14c08 ;10492
+ DC.L $4c610cac,$635d431c,$97b993df,$4c61b612 ;104a2
+ DC.L $e3dd431c,$69942251,$4c618f11,$2d2c431c ;104b2
+ DC.L $5593d18e,$40a15135,$634d5135,$000c4fef ;104c2
+ DC.L $ba2d6c04,$bc946c04,$ba216c04,$0024502b ;104d2
+ DC.L $009c506d,$f8636f2b,$f8714f04,$f8096d2b ;104e2
+ DC.L $f87525cc,$c78551cc,$2115b35e,$c685a75e ;104f2
+ DC.L $e084d95d,$9c84b85d,$9c78df53,$ec79be53 ;10502
+ DC.L $eec7df53,$ec5fbe53,$ec77df53,$ed6795d5 ;10512
+ DC.L $8b69df57,$e1638d55,$e3618d56,$b2ae728e ;10522
+ DC.L $d3ae7238,$e1ac523e,$ad735dc2,$cd735e66 ;10532
+ DC.L $94fc6e5a,$1de85c66,$1dda1d9c,$1e847c9c ;10542
+ DC.L $1fa417e4,$2d9817e3,$bd00462a,$42fcf696 ;10552
+ DC.L $e78f2506,$815364fc,$821154c0,$0b0035c0 ;10562
+ DC.L $0a3a5298,$066a7809,$609a5689,$50a6df9b ;10572
+ DC.L $31a6deb3,$56e0d2e3,$fc72b413,$de729404 ;10582
+ DC.L $bf72943a,$d444a406,$5d50c506,$5c5ea22a ;10592
+ DC.L $500e08be,$36fe2aa9,$57d84189,$67e4c8d8 ;105a2
+ DC.L $06e4c984,$b698ca28,$db8a7a54,$deb61458 ;105b2
+ DC.L $ec8a1453,$300cc8cb,$61c53731,$394a7944 ;105c2
+ DC.L $a9cb1254,$69371230,$e9f6a20c,$e9f4cf08 ;105d2
+ DC.L $99f4817d,$e90bcf08,$a8f1cdc8,$9acdcdd1 ;105e2
+ DC.L $baf1cdd1,$6c4c0d2d,$6c5d5fad,$5c9d0e64 ;105f2
+ DC.L $a36b4011,$c26b4029,$a36b41f5,$996b13b5 ;10602
+ DC.L $fe731b8c,$fe71130a,$1e727504,$6e701404 ;10612
+ DC.L $6fde1c3d,$6fdc14bb,$8fdf5ace,$bfda31c2 ;10622
+ DC.L $deda305e,$945c5744,$de5f3052,$902a40ad ;10632
+ DC.L $83ea4012,$412a4892,$412d299a,$3133499a ;10642
+ DC.L $332d3965,$20ed39da,$e22d6fd8,$e7ad7c18 ;10652
+ DC.L $e712bed8,$e2d2ad18,$e26d6fd8,$b56f21ad ;10662
+ DC.L $d46f2155,$36262114,$b6261255,$b6022114 ;10672
+ DC.L $b6260128,$b6262aac,$d72628aa,$df0f28ab ;10682
+ DC.L $d7394ea5,$b6394f49,$d0cb2e49,$d0375eb6 ;10692
+ DC.L $9e423fb6,$9eb64fb6,$d0c369fe,$b1c36942 ;106a2
+ DC.L $83ffe942,$acc316b4,$cd8a3988,$a772477c ;106b2
+ DC.L $884e0d55,$a7682269,$d5685fd4,$fa54352e ;106c2
+ DC.L $c3a91a12,$f1803534,$debc5fce,$e74170f2 ;106d2
+ DC.L $d5685fd4,$fa545fce,$b29070f2,$bab95fca ;106e2
+ DC.L $95856ff6,$b9475cb7,$b9636ff6,$b9474bb9 ;106f2
+ DC.L $76000456,$762c6556,$76bc4557,$38c92457 ;10702
+ DC.L $3893166b,$b8933957,$f6e2581e,$d9de851e ;10712
+ DC.L $910caa22,$910885a1,$be34d7e0,$9931f8dc ;10722
+ DC.L $992bbde2,$b61760e2,$89024fde,$8906605d ;10732
+ DC.L $a63a125d,$813f3d61,$812575a5,$ae197d8c ;10742
+ DC.L $81214ecd,$81057d8c,$812159c3,$4e66162c ;10752
+ DC.L $4e4e772c,$4e7a572d,$000f14d4,$00d0a72d ;10762
+ DC.L $33ace72d,$00f4c465,$00d4f725,$00aac459 ;10772
+ DC.L $80baf7b3,$b3c691b3,$8024a2cf,$1524912d ;10782
+ DC.L $2658912f,$15b8df5a,$26c4df58,$1524ec24 ;10792
+ DC.L $5524df7c,$6658db7c,$55ba9509,$75869509 ;107a2
+ DC.L $5e02f409,$5edefc30,$5edbf4b6,$bedf93bc ;107b2
+ DC.L $dfdf937c,$b92fe383,$f75a9383,$b92fac83 ;107c2
+ DC.L $5b634ecb,$2963de8f,$4367ac70,$0727cd70 ;107d2
+ DC.L $0713f56f,$6773873a,$6f4a873e,$67cc673b ;107e2
+ DC.L $00d8483a,$70d93ac5,$11d93adf,$33c66b16 ;107f2
+ DC.L $cc2e5b17,$825b2317,$e35b232b,$930eb36a ;10802
+ DC.L $434efd1f,$094e9a33,$364efb33,$3678b132 ;10812
+ DC.L $507cb9b2,$507db132,$507da2f2,$50c26032 ;10822
+ DC.L $58026032,$4bc2608d,$89021089,$e8322096 ;10832
+ DC.L $bb324646,$f5472746,$f54d3486,$f5f2f646 ;10842
+ DC.L $bb87e67f,$bb382746,$bb382739,$ed3a22b9 ;10852
+ DC.L $ba382abd,$ba384db9,$b2b84dbb,$fccd2cbb ;10862
+ DC.L $fced2482,$fced2c04,$22ed4af2,$716d2c1c ;10872
+ DC.L $3f182425,$3f182ca3,$e1184abf,$b2982da7 ;10882
+ DC.L $a1642daf,$b227f3a7,$a1dbf36b,$b29827a7 ;10892
+ DC.L $a16427a5,$b227f2a7,$fc525e92,$47b3c2e4 ;108a2
+ DC.L $f1250376,$3ad7e848,$6cc9395a,$cefbbeac ;108b2
+ DC.L $a96d403e,$441f8610,$e7115822,$da437e74 ;108c2
+ DC.L $65b5c106,$d167e7d8,$6559baea,$698bf2a7 ;108d2
+ DC.L $fc52bf48,$fc2af7af,$cceadb13,$f19edb5e ;108e2
+ DC.L $d048db3e,$91a6db36,$d248db12,$a64afd12 ;108f2
+ DC.L $43c2df0a,$d142fdcb,$01c2afc9,$b5feafc1 ;10902
+ DC.L $d30e8d02,$9fd18e0e,$efd1fc0e,$a22bfc1e ;10912
+ DC.L $8e0503e2,$52bc03e2,$8e0d039e,$29120527 ;10922
+ DC.L $291203da,$29120024,$dc664000,$03ca2ca2 ;10932
+ DC.L $e775039e,$2ca65edf,$02652ca2,$34ee03ea ;10942
+ DC.L $2ca6fd80,$65602ca2,$6a064107,$2ca610fa ;10952
+ DC.L $23912ca2,$fdd85a1e,$2ca65efa,$639c2ca2 ;10962
+ DC.L $42205a1e,$2ca61bc0,$d05a2ca2,$80c86c92 ;10972
+ DC.L $2ca6bc12,$64ba2ca2,$8b6b039c,$2ca60e3e ;10982
+ DC.L $030e2ca2,$daeafc70,$2ca6f010,$038a2ca2 ;10992
+ DC.L $59042041,$2ca68214,$4be02ca2,$5686be30 ;109a2
+ DC.L $42605434,$21d69066,$e620039a,$27e24f38 ;109b2
+ DC.L $039e25e6,$a830039a,$2bd7da66,$7a40039a ;109c2
+ DC.L $2051a358 ;109d2
+ DC.W $03ba ;109d6
+LAB_109D8:
+ RTS ;109d8: 4e75
+LAB_109DA:
+ MOVE #$2000,SR ;109da: 46fc2000
+ MOVEA.L EXT_0.W,A6 ;109de: 2c780000
+ LEA LAB_11224(PC),A0 ;109e2: 41fa0840
+ MOVE.L (A0),D0 ;109e6: 2010
+ MOVEA.L D0,A0 ;109e8: 2040
+; 40,400
+ MOVE.W #$9dcf,D1 ;109ea: 323c9dcf
+LAB_109EE:
+ CLR.B (A0)+ ;109ee: 4218
+ DBF D1,LAB_109EE ;109f0: 51c9fffc
+ RTS ;109f4: 4e75
+LAB_109F6:
+ MOVE.L LAB_11224(PC),D0 ;109f6: 203a082c
+ LEA Fed_Demo(PC),A4 ;109fa: 49fa0840
+ MOVEQ #4,D0 ;109fe: 7004
+ BSR.W LAB_10AB6 ;10a00: 610000b4
+ BEQ.W LAB_10A4E ;10a04: 67000048
+ MOVE.L D0,-(A7) ;10a08: 2f00
+ MOVEA.L D0,A0 ;10a0a: 2040
+ MOVEA.L A4,A1 ;10a0c: 224c
+ MOVE.L #$ffffffff,D1 ;10a0e: 223cffffffff
+ MOVEA.L EXT_0.W,A6 ;10a14: 2c780000
+ JSR LoadFile(A6) ;10a18: 4eae001c
+ TST.L D0 ;10a1c: 4a80
+ BMI.S LAB_10A3C ;10a1e: 6b1c
+ MOVEA.L (A7),A0 ;10a20: 2057
+ BSR.W LAB_11198 ;10a22: 61000774
+ MOVEA.L (A7),A0 ;10a26: 2057
+ MOVEM.L D0-D7/A0-A6,-(A7) ;10a28: 48e7fffe
+ LEA LAB_11198(PC),A2 ;10a2c: 45fa076a
+ MOVEA.L LAB_11224(PC),A1 ;10a30: 227a07f2
+ JSR $20(A0) ;10a34: 4ea80020
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;10a38: 4cdf7fff
+LAB_10A3C:
+ MOVEA.L EXT_0.W,A6 ;10a3c: 2c780000
+ JSR MotorOff(A6) ;10a40: 4eae0020
+ MOVEA.L (A7)+,A0 ;10a44: 205f
+ MOVEA.L EXT_0.W,A6 ;10a46: 2c780000
+ JSR FreeMem(A6) ;10a4a: 4eae0070
+LAB_10A4E:
+ RTS ;10a4e: 4e75
+LAB_10A50:
+ LEA LAB_11198(PC),A2 ;10a50: 45fa0746
+ MOVEA.L LAB_11224(PC),A1 ;10a54: 227a07ce
+ MOVEA.L LAB_11194(PC),A3 ;10a58: 267a073a
+ JSR $20(A3) ;10a5c: 4eab0020
+ MOVEA.L EXT_0.W,A6 ;10a60: 2c780000
+ JSR MotorOff(A6) ;10a64: 4eae0020
+ MOVEA.L LAB_11194(PC),A0 ;10a68: 207a072a
+ MOVEA.L EXT_0.W,A6 ;10a6c: 2c780000
+ JSR FreeMem(A6) ;10a70: 4eae0070
+LAB_10A74:
+ MOVEQ #$A,D1 ;10a74: 720a
+ MOVEQ #-1,D2 ;10a76: 74ff
+LAB_10A78:
+ DBF D2,LAB_10A78 ;10a78: 51cafffe
+ DBF D1,LAB_10A78 ;10a7c: 51c9fffa
+ BRA.W LAB_10A84 ;10a80: 60000002
+LAB_10A84:
+ LEA federation(PC),A4 ;10a84: 49fa07a6
+ MOVEQ #6,D0 ;10a88: 7006
+ BSR.W LAB_10AB6 ;10a8a: 6100002a
+ BEQ.W LAB_10A74 ;10a8e: 6700ffe4
+ MOVEA.L D0,A3 ;10a92: 2640
+ MOVEA.L A3,A0 ;10a94: 204b
+ MOVEA.L A4,A1 ;10a96: 224c
+ MOVE.L #$ffffffff,D1 ;10a98: 223cffffffff
+ MOVEA.L EXT_0.W,A6 ;10a9e: 2c780000
+ JSR LoadFile(A6) ;10aa2: 4eae001c
+ TST.L D0 ;10aa6: 4a80
+ BMI.S LAB_10A84 ;10aa8: 6bda
+ LEA LAB_11194(PC),A2 ;10aaa: 45fa06e8
+ MOVE.L A3,(A2) ;10aae: 248b
+ RTS ;10ab0: 4e75
+LAB_10AB2:
+ ORI.B #$00,D0 ;10ab2: 00000000
+LAB_10AB6:
+ MOVE.L D0,-(A7) ;10ab6: 2f00
+ MOVEA.L A4,A0 ;10ab8: 204c
+ MOVEA.L EXT_0.W,A6 ;10aba: 2c780000
+ JSR FindDirEntry(A6) ;10abe: 4eae0058
+ TST.L D0 ;10ac2: 4a80
+ BMI.S LAB_10AE4 ;10ac4: 6b1e
+ MOVE.L $10(A0),D1 ;10ac6: 22280010
+ LEA LAB_10AB2(PC),A0 ;10aca: 41faffe6
+ MOVE.L D1,(A0) ;10ace: 2081
+ MOVE.L (A7)+,D0 ;10ad0: 201f
+ ADDI.L #$00000110,D1 ;10ad2: 068100000110
+LAB_10AD8:
+ MOVEA.L EXT_0.W,A6 ;10ad8: 2c780000
+ JSR MemoryFunc(A6) ;10adc: 4eae006c
+ TST.L D0 ;10ae0: 4a80
+ RTS ;10ae2: 4e75
+LAB_10AE4:
+ ADDQ.L #4,A7 ;10ae4: 588f
+ MOVEQ #0,D0 ;10ae6: 7000
+ RTS ;10ae8: 4e75
+SUB_10AEA:
+ LEA LAB_10F72(PC),A1 ;10aea: 43fa0486
+ MOVE.L A0,(A1) ;10aee: 2288
+ LEA BUS_ERROR.W,A0 ;10af0: 41f80008
+ MOVEQ #9,D0 ;10af4: 7009
+ LEA LAB_10B12(PC),A1 ;10af6: 43fa001a
+LAB_10AFA:
+ MOVE.L A1,(A0)+ ;10afa: 20c9
+ ADDQ.L #6,A1 ;10afc: 5c89
+ DBF D0,LAB_10AFA ;10afe: 51c8fffa
+ MOVEQ #$F,D7 ;10b02: 7e0f
+ LEA TRAP_00.W,A0 ;10b04: 41f80080
+LAB_10B08:
+ MOVE.L A1,(A0)+ ;10b08: 20c9
+ DBF D7,LAB_10B08 ;10b0a: 51cffffc
+ MOVEQ #0,D0 ;10b0e: 7000
+ RTS ;10b10: 4e75
+LAB_10B12:
+ MOVE.W #$0002,-(A7) ;10b12: 3f3c0002
+ BRA.S LAB_10B6C ;10b16: 6054
+LAB_10B18:
+ MOVE.W #$0003,-(A7) ;10b18: 3f3c0003
+ BRA.S LAB_10B6C ;10b1c: 604e
+LAB_10B1E:
+ MOVE.W #$0004,-(A7) ;10b1e: 3f3c0004
+ BRA.S LAB_10B68 ;10b22: 6044
+LAB_10B24:
+ MOVE.W #$0005,-(A7) ;10b24: 3f3c0005
+ BRA.S LAB_10B68 ;10b28: 603e
+LAB_10B2A:
+ MOVE.W #$0006,-(A7) ;10b2a: 3f3c0006
+ BRA.S LAB_10B68 ;10b2e: 6038
+LAB_10B30:
+ MOVE.W #$0007,-(A7) ;10b30: 3f3c0007
+ BRA.S LAB_10B68 ;10b34: 6032
+LAB_10B36:
+ MOVE.W #$0008,-(A7) ;10b36: 3f3c0008
+ BRA.S LAB_10B68 ;10b3a: 602c
+LAB_10B3C:
+ MOVE.W #$0009,-(A7) ;10b3c: 3f3c0009
+ BRA.S LAB_10B68 ;10b40: 6026
+LAB_10B42:
+ MOVE.W #$000a,-(A7) ;10b42: 3f3c000a
+ BRA.S LAB_10B68 ;10b46: 6020
+LAB_10B48:
+ MOVE.W #$000b,-(A7) ;10b48: 3f3c000b
+ BRA.S LAB_10B68 ;10b4c: 601a
+LAB_10B4E:
+ BRA.S LAB_10B9C ;10b4e: 604c
+LAB_10B50:
+ MOVE.L A6,-(A7) ;10b50: 2f0e
+ LEA LAB_10F52(PC),A6 ;10b52: 4dfa03fe
+ MOVEM.L D0-D7/A0-A5,-(A6) ;10b56: 48e6fffc
+ LEA LAB_10F1A(PC),A0 ;10b5a: 41fa03be
+ MOVE.L (A7)+,$38(A0) ;10b5e: 215f0038
+ MOVE.L A7,$3C(A0) ;10b62: 214f003c
+ RTS ;10b66: 4e75
+LAB_10B68:
+ BSR.S LAB_10B50 ;10b68: 61e6
+ BRA.S LAB_10B7C ;10b6a: 6010
+LAB_10B6C:
+ BSR.S LAB_10B50 ;10b6c: 61e2
+ MOVE.L (A7)+,$4A(A0) ;10b6e: 215f004a
+ MOVE.L (A7)+,$50(A0) ;10b72: 215f0050
+ MOVE.W (A7)+,$4E(A0) ;10b76: 315f004e
+ BRA.S LAB_10BC0 ;10b7a: 6044
+LAB_10B7C:
+ MOVE.W (A7)+,D0 ;10b7c: 301f
+ MOVE.W D0,$4A(A0) ;10b7e: 3140004a
+ CLR.W $4C(A0) ;10b82: 4268004c
+ MOVE.L 2(A7),D3 ;10b86: 262f0002
+ MOVE.L D3,$50(A0) ;10b8a: 21430050
+ BCLR #0,D3 ;10b8e: 08830000
+ MOVEA.L D3,A1 ;10b92: 2243
+ MOVE.W -2(A1),$4E(A0) ;10b94: 3169fffe004e
+ BRA.S LAB_10BC0 ;10b9a: 6024
+LAB_10B9C:
+ MOVEM.L D0/A0,-(A7) ;10b9c: 48e78080
+ MOVEA.L $A(A7),A0 ;10ba0: 206f000a
+ MOVE.W -2(A0),D0 ;10ba4: 3028fffe
+ ANDI.W #$000f,D0 ;10ba8: 0240000f
+ ADDI.W #$0020,D0 ;10bac: 06400020
+ LEA LAB_10F1A(PC),A0 ;10bb0: 41fa0368
+ MOVE.W D0,(A0) ;10bb4: 3080
+ MOVEM.L (A7)+,D0/A0 ;10bb6: 4cdf0101
+ MOVE.W LAB_10F1A(PC),-(A7) ;10bba: 3f3a035e
+ BRA.S LAB_10B68 ;10bbe: 60a8
+LAB_10BC0:
+ MOVE.W (A7),$48(A0) ;10bc0: 31570048
+ MOVE.L 2(A7),$44(A0) ;10bc4: 216f00020044
+ MOVE.L 2(A7),D0 ;10bca: 202f0002
+ BCLR #0,D0 ;10bce: 08800000
+ MOVEA.L D0,A3 ;10bd2: 2640
+ MOVE.L USP,A2 ;10bd4: 4e6a
+ MOVE.L A2,$40(A0) ;10bd6: 214a0040
+ LEA LAB_10EF2(PC),A5 ;10bda: 4bfa0316
+ MOVEA.L $80(A5),A0 ;10bde: 206d0080
+ MOVE.W #$03a2,D0 ;10be2: 303c03a2
+LAB_10BE6:
+ CLR.L (A0)+ ;10be6: 4298
+ DBF D0,LAB_10BE6 ;10be8: 51c8fffc
+ LEA HARDBASE,A4 ;10bec: 49f900dff000
+ MOVE.W $1C(A4),-(A7) ;10bf2: 3f2c001c
+ MOVE.W dmaconr(A4),-(A7) ;10bf6: 3f2c0002
+ MOVE.W #$7fff,intena(A4) ;10bfa: 397c7fff009a
+ MOVE.W #$7fff,dmacon(A4) ;10c00: 397c7fff0096
+ MOVE.W #$8380,dmacon(A4) ;10c06: 397c83800096
+ MOVEA.L $80(A5),A0 ;10c0c: 206d0080
+ LEA $E54(A0),A1 ;10c10: 43e80e54
+ MOVEA.L A1,A2 ;10c14: 2449
+ MOVE.L A0,D0 ;10c16: 2008
+ LEA LAB_10EF2(PC),A3 ;10c18: 47fa02d8
+ MOVEQ #9,D7 ;10c1c: 7e09
+LAB_10C1E:
+ MOVE.L (A3)+,(A2)+ ;10c1e: 24db
+ DBF D7,LAB_10C1E ;10c20: 51cffffc
+ MOVE.W #$00e0,(A2)+ ;10c24: 34fc00e0
+ SWAP D0 ;10c28: 4840
+ MOVE.W D0,(A2)+ ;10c2a: 34c0
+ MOVE.W #$00e2,(A2)+ ;10c2c: 34fc00e2
+ SWAP D0 ;10c30: 4840
+ MOVE.W D0,(A2)+ ;10c32: 34c0
+ MOVE.L #$fffffffe,(A2)+ ;10c34: 24fcfffffffe
+ MOVE.L A1,cop2lch(A4) ;10c3a: 29490084
+ CLR.W copjmp2(A4) ;10c3e: 426c008a
+ MOVE.W #$ffff,$34(A4) ;10c42: 397cffff0034
+ MOVE.W #$0044,$150(A5) ;10c48: 3b7c00440150
+LAB_10C4E:
+ MOVEA.L $80(A5),A0 ;10c4e: 206d0080
+ BSR.W LAB_10D00 ;10c52: 610000ac
+ BSR.W LAB_10CDE ;10c56: 61000086
+ ADDQ.W #1,$152(A5) ;10c5a: 526d0152
+ BTST #2,$16(A4) ;10c5e: 082c00020016
+ BNE.S LAB_10CA0 ;10c64: 663a
+ CLR.W $152(A5) ;10c66: 426d0152
+ MOVE.W $150(A5),D0 ;10c6a: 302d0150
+ ADDQ.W #4,D0 ;10c6e: 5840
+ CMP.W #$004c,D0 ;10c70: b07c004c
+ BEQ.S LAB_10C8C ;10c74: 6716
+ CMP.W #$0020,D0 ;10c76: b07c0020
+ BEQ.S LAB_10C86 ;10c7a: 670a
+ CMP.W #$0044,D0 ;10c7c: b07c0044
+ BNE.S LAB_10C90 ;10c80: 660e
+ CLR.W D0 ;10c82: 4240
+ BRA.S LAB_10C90 ;10c84: 600a
+LAB_10C86:
+ MOVE.W #$0044,D0 ;10c86: 303c0044
+ BRA.S LAB_10C90 ;10c8a: 6004
+LAB_10C8C:
+ MOVE.W #$0020,D0 ;10c8c: 303c0020
+LAB_10C90:
+ MOVE.W D0,$150(A5) ;10c90: 3b400150
+LAB_10C94:
+ BSR.W LAB_10CDE ;10c94: 61000048
+ BTST #2,$16(A4) ;10c98: 082c00020016
+ BEQ.S LAB_10C94 ;10c9e: 67f4
+LAB_10CA0:
+ BTST #6,CIAA_PRA ;10ca0: 0839000600bfe001
+ BNE.S LAB_10C4E ;10ca8: 66a4
+ CLR.W $88(A4) ;10caa: 426c0088
+ MOVE.W (A7)+,D0 ;10cae: 301f
+ ORI.W #$8000,D0 ;10cb0: 00408000
+ MOVE.W D0,$96(A4) ;10cb4: 39400096
+ MOVE.W (A7)+,D0 ;10cb8: 301f
+ ORI.W #$8000,D0 ;10cba: 00408000
+ MOVE.W D0,$9A(A4) ;10cbe: 3940009a
+LAB_10CC2:
+ DBF D0,LAB_10CC2 ;10cc2: 51c8fffe
+LAB_10CC6:
+ BTST #6,CIAA_PRA ;10cc6: 0839000600bfe001
+ BEQ.S LAB_10CC6 ;10cce: 67f6
+ LEA LAB_10F1A(PC),A6 ;10cd0: 4dfa0248
+ MOVEM.L (A6)+,D0-D7/A0-A5 ;10cd4: 4cde3fff
+ MOVEA.L LAB_10F52(PC),A6 ;10cd8: 2c7a0278
+ RTE ;10cdc: 4e73
+LAB_10CDE:
+ MOVE.L 4(A4),D0 ;10cde: 202c0004
+ LSR.L #8,D0 ;10ce2: e088
+ ANDI.W #$01ff,D0 ;10ce4: 024001ff
+ CMP.W #$0002,D0 ;10ce8: b07c0002
+ BHI.S LAB_10CDE ;10cec: 62f0
+ CLR.W $8A(A4) ;10cee: 426c008a
+ MOVEM.L D0-D7/A0-A6,-(A7) ;10cf2: 48e7fffe
+ BSR.W LAB_10E94 ;10cf6: 6100019c
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;10cfa: 4cdf7fff
+ RTS ;10cfe: 4e75
+LAB_10D00:
+ LEA $AA(A0),A0 ;10d00: 41e800aa
+ LEA $48(A5),A1 ;10d04: 43ed0048
+ MOVE.L #$0017000a,D3 ;10d08: 263c0017000a
+ BSR.W LAB_10ED8 ;10d0e: 610001c8
+ SUBQ.L #1,A0 ;10d12: 5388
+ MOVE.L #$17111314,D3 ;10d14: 263c17111314
+ BSR.W LAB_10E32 ;10d1a: 61000116
+ MOVE.L (A1)+,D2 ;10d1e: 2419
+ BSR.W LAB_10E20 ;10d20: 610000fe
+ MOVEA.L $80(A5),A0 ;10d24: 206d0080
+ LEA $B7(A0),A0 ;10d28: 41e800b7
+ LEA $28(A5),A1 ;10d2c: 43ed0028
+ MOVE.L #$0017000d,D3 ;10d30: 263c0017000d
+ BSR.W LAB_10ED8 ;10d36: 610001a0
+ BSR.S LAB_10CDE ;10d3a: 61a2
+ LEA LAB_10F5E(PC),A1 ;10d3c: 43fa0220
+ MOVE.L #$00170c11,D3 ;10d40: 263c00170c11
+ BSR.W LAB_10E32 ;10d46: 610000ea
+ MOVE.L (A1)+,D2 ;10d4a: 2419
+ BSR.W LAB_10E20 ;10d4c: 610000d2
+ LEA $E3(A0),A0 ;10d50: 41e800e3
+ MOVE.L #$0017150e,D3 ;10d54: 263c0017150e
+ BSR.W LAB_10E32 ;10d5a: 610000d6
+ MOVE.L (A1)+,D2 ;10d5e: 2419
+ BSR.W LAB_10E14 ;10d60: 610000b2
+ ADDQ.L #2,A0 ;10d64: 5488
+ MOVE.L #$00161213,D3 ;10d66: 263c00161213
+ BSR.W LAB_10E32 ;10d6c: 610000c4
+ MOVE.W -4(A1),D0 ;10d70: 3029fffc
+ MOVEQ #$F,D6 ;10d74: 7c0f
+ BSR.W LAB_10E04 ;10d76: 6100008c
+ LEA $E2(A0),A0 ;10d7a: 41e800e2
+ MOVE.L #$00001710,D3 ;10d7e: 263c00001710
+ BSR.W LAB_10E32 ;10d84: 610000ac
+ MOVE.L (A1)+,D2 ;10d88: 2419
+ BSR.W LAB_10E1A ;10d8a: 6100008e
+ ADDQ.L #1,A0 ;10d8e: 5288
+ MOVE.L #$00170d0a,D3 ;10d90: 263c00170d0a
+ BSR.W LAB_10E32 ;10d96: 6100009a
+ MOVE.L (A1)+,D2 ;10d9a: 2419
+ BSR.W LAB_10E20 ;10d9c: 61000082
+ ADDQ.L #1,A0 ;10da0: 5288
+ MOVE.L #$00001618,D3 ;10da2: 263c00001618
+ BSR.W LAB_10E32 ;10da8: 61000088
+ MOVEQ #4,D6 ;10dac: 7c04
+ MOVE.W LAB_10F66(PC),D0 ;10dae: 303a01b6
+ ROR.W #5,D0 ;10db2: ea58
+ BSR.S LAB_10E04 ;10db4: 614e
+ BSR.W LAB_10CDE ;10db6: 6100ff26
+ LEA $E3(A0),A0 ;10dba: 41e800e3
+ MOVE.W LAB_11042(PC),D2 ;10dbe: 343a0282
+ LEA LAB_10F1A(PC),A1 ;10dc2: 43fa0156
+ MOVE.L 0(A1,D2.W),D2 ;10dc6: 24312000
+ BCLR #0,D2 ;10dca: 08820000
+ MOVEA.L D2,A1 ;10dce: 2242
+ LEA -16(A1),A1 ;10dd0: 43e9fff0
+ MOVEQ #4,D3 ;10dd4: 7604
+LAB_10DD6:
+ MOVE.L A1,D2 ;10dd6: 2409
+ SWAP D2 ;10dd8: 4842
+ BSR.S LAB_10E14 ;10dda: 6138
+ MOVE.L A1,D2 ;10ddc: 2409
+ BSR.S LAB_10E1A ;10dde: 613a
+ MOVE.B #$17,D1 ;10de0: 123c0017
+ BSR.W LAB_10E74 ;10de4: 6100008e
+ BSR.S LAB_10DF6 ;10de8: 610c
+ BSR.S LAB_10DF6 ;10dea: 610a
+ LEA $AB(A0),A0 ;10dec: 41e800ab
+ DBF D3,LAB_10DD6 ;10df0: 51cbffe4
+ RTS ;10df4: 4e75
+LAB_10DF6:
+ MOVEQ #3,D6 ;10df6: 7c03
+LAB_10DF8:
+ MOVE.B (A1)+,D2 ;10df8: 1419
+ BSR.S LAB_10E14 ;10dfa: 6118
+ DBF D6,LAB_10DF8 ;10dfc: 51cefffa
+ ADDQ.L #1,A0 ;10e00: 5288
+ RTS ;10e02: 4e75
+LAB_10E04:
+ ROL.W #1,D0 ;10e04: e358
+ MOVE.W D0,D1 ;10e06: 3200
+ ANDI.W #$0001,D1 ;10e08: 02410001
+ BSR.S LAB_10E74 ;10e0c: 6166
+ DBF D6,LAB_10E04 ;10e0e: 51cefff4
+ RTS ;10e12: 4e75
+LAB_10E14:
+ MOVEQ #1,D5 ;10e14: 7a01
+ ROR.L #8,D2 ;10e16: e09a
+ BRA.S LAB_10E22 ;10e18: 6008
+LAB_10E1A:
+ MOVEQ #3,D5 ;10e1a: 7a03
+ SWAP D2 ;10e1c: 4842
+ BRA.S LAB_10E22 ;10e1e: 6002
+LAB_10E20:
+ MOVEQ #7,D5 ;10e20: 7a07
+LAB_10E22:
+ ROL.L #4,D2 ;10e22: e99a
+ MOVE.W D2,D1 ;10e24: 3202
+ ANDI.W #$000f,D1 ;10e26: 0241000f
+ BSR.S LAB_10E74 ;10e2a: 6148
+ DBF D5,LAB_10E22 ;10e2c: 51cdfff4
+ RTS ;10e30: 4e75
+LAB_10E32:
+ MOVE.W D6,-(A7) ;10e32: 3f06
+ MOVEQ #3,D6 ;10e34: 7c03
+LAB_10E36:
+ MOVE.B D3,D1 ;10e36: 1203
+ CMP.W #$0002,D6 ;10e38: bc7c0002
+ BEQ.S LAB_10E42 ;10e3c: 6704
+ TST.B D1 ;10e3e: 4a01
+ BEQ.S LAB_10E6A ;10e40: 6728
+LAB_10E42:
+ CMP.B #$17,D1 ;10e42: b23c0017
+ BNE.S LAB_10E68 ;10e46: 6620
+ BTST #2,$153(A5) ;10e48: 082d00020153
+ BNE.S LAB_10E68 ;10e4e: 6618
+ MOVEM.L D0/A1-A2,-(A7) ;10e50: 48e78060
+ LEA LAB_10F1A(PC),A2 ;10e54: 45fa00c4
+ SUBA.L A2,A1 ;10e58: 93ca
+ MOVE.W A1,D0 ;10e5a: 3009
+ CMP.W $150(A5),D0 ;10e5c: b06d0150
+ MOVEM.L (A7)+,D0/A1-A2 ;10e60: 4cdf0601
+ BNE.S LAB_10E68 ;10e64: 6602
+ MOVEQ #$16,D1 ;10e66: 7216
+LAB_10E68:
+ BSR.S LAB_10E74 ;10e68: 610a
+LAB_10E6A:
+ ROR.L #8,D3 ;10e6a: e09b
+ DBF D6,LAB_10E36 ;10e6c: 51ceffc8
+ MOVE.W (A7)+,D6 ;10e70: 3c1f
+ RTS ;10e72: 4e75
+LAB_10E74:
+ LEA LAB_10F76(PC),A2 ;10e74: 45fa0100
+ MOVEA.L A0,A3 ;10e78: 2648
+ ANDI.W #$00ff,D1 ;10e7a: 024100ff
+ ASL.W #3,D1 ;10e7e: e741
+ MOVEQ #7,D4 ;10e80: 7807
+LAB_10E82:
+ MOVE.B 0(A2,D1.W),(A3) ;10e82: 16b21000
+ LEA $1C(A3),A3 ;10e86: 47eb001c
+ ADDQ.W #1,D1 ;10e8a: 5241
+ DBF D4,LAB_10E82 ;10e8c: 51ccfff4
+ ADDQ.L #1,A0 ;10e90: 5288
+ RTS ;10e92: 4e75
+LAB_10E94:
+ MOVE.W $154(A5),D6 ;10e94: 3c2d0154
+ ROL.B #1,D6 ;10e98: e31e
+ MOVE.W D6,$154(A5) ;10e9a: 3b460154
+ MOVEA.L $80(A5),A0 ;10e9e: 206d0080
+ BSR.S LAB_10EA6 ;10ea2: 6102
+ BSR.S LAB_10EB8 ;10ea4: 6112
+LAB_10EA6:
+ MOVEQ #3,D1 ;10ea6: 7203
+LAB_10EA8:
+ MOVEQ #$1B,D7 ;10ea8: 7e1b
+LAB_10EAA:
+ MOVE.B D6,(A0)+ ;10eaa: 10c6
+ DBF D7,LAB_10EAA ;10eac: 51cffffc
+ ROR.B #1,D6 ;10eb0: e21e
+ DBF D1,LAB_10EA8 ;10eb2: 51c9fff4
+ RTS ;10eb6: 4e75
+LAB_10EB8:
+ MOVEQ #$7A,D7 ;10eb8: 7e7a
+LAB_10EBA:
+ MOVE.B D6,D1 ;10eba: 1206
+ ANDI.B #$f0,D1 ;10ebc: 020100f0
+ MOVE.B D1,(A0) ;10ec0: 1081
+ MOVE.B D6,D1 ;10ec2: 1206
+ ANDI.B #$0f,D1 ;10ec4: 0201000f
+ MOVE.B D1,$1B(A0) ;10ec8: 1141001b
+ ROR.B #1,D6 ;10ecc: e21e
+ LEA $1C(A0),A0 ;10ece: 41e8001c
+ DBF D7,LAB_10EBA ;10ed2: 51cfffe6
+ RTS ;10ed6: 4e75
+LAB_10ED8:
+ MOVEQ #7,D6 ;10ed8: 7c07
+LAB_10EDA:
+ BSR.W LAB_10E32 ;10eda: 6100ff56
+ ADDI.W #$0100,D3 ;10ede: 06430100
+ MOVE.L (A1)+,D2 ;10ee2: 2419
+ BSR.W LAB_10E20 ;10ee4: 6100ff3a
+ LEA $B9(A0),A0 ;10ee8: 41e800b9
+ DBF D6,LAB_10EDA ;10eec: 51ceffec
+ RTS ;10ef0: 4e75
+LAB_10EF2:
+ DC.L $008e4081,$0090c3c1,$00920050,$009400b8 ;10ef2
+ DC.L $01001200,$01020000,$01040000,$01080000 ;10f02
+ DC.L $01800000,$01820a22 ;10f12
+LAB_10F1A:
+ DS.L $E ;10f1a
+LAB_10F52:
+ DS.L 3 ;10f52
+LAB_10F5E:
+ DS.L 2 ;10f5e
+LAB_10F66:
+ DS.L 3 ;10f66
+LAB_10F72:
+ DC.L $01190801 ;10f72
+LAB_10F76:
+ DC.L $003c666e,$76663c00,$00183818,$18183c00 ;10f76
+ DC.L $003c6606,$3c607e00,$007e0c18,$0c663c00 ;10f86
+ DC.L $000c1c3c,$6c7e0c00,$007e607c,$06663c00 ;10f96
+ DC.L $003c607c,$66663c00,$007e060c,$18181800 ;10fa6
+ DC.L $003c663c,$66663c00,$003c6666,$3e060600 ;10fb6
+ DC.L $00183c66,$7e666600,$00fc667c,$6666fc00 ;10fc6
+ DC.L $003c6660,$60663c00,$00f86c66,$666cf800 ;10fd6
+ DC.L $00fe607c,$6060fe00,$00fe607c,$6060f000 ;10fe6
+ DC.L $003c1818,$18183c00,$00fc6666,$7c60f000 ;10ff6
+ DC.L $00fc6666,$7c66f700,$003c603c,$06663c00 ;11006
+ DC.L $00666666,$66663c00,$00663c18,$3c666600 ;11016
+ DC.L $00003234,$08162600 ;11026
+ DS.L 1 ;1102e
+ DC.L $3c000000,$007e5a18,$18183c00 ;11032
+ DS.L 1 ;1103e
+LAB_11042:
+ DC.L $00440000 ;11042
+ DC.W $00fe ;11046
+LAB_11048:
+ MOVEM.L D1-D7/A0-A6,-(A7) ;11048: 48e77ffe
+ MOVEA.L A0,A1 ;1104c: 2248
+ BSR.W LAB_11144 ;1104e: 610000f4
+ CMP.L #$524e4302,D1 ;11052: b2bc524e4302
+ BNE.W LAB_1116A ;11058: 66000110
+ BSR.W LAB_11144 ;1105c: 610000e6
+ LEA $104(A0),A2 ;11060: 45e80104
+ ADDA.L D1,A2 ;11064: d5c1
+ BSR.W LAB_11144 ;11066: 610000dc
+ LEA 0(A0,D1.L),A6 ;1106a: 4df01800
+ LEA LAB_1113A(PC),A5 ;1106e: 4bfa00ca
+ MOVE.B -(A6),D4 ;11072: 1826
+ ANDI.W #$000f,D4 ;11074: 0244000f
+ MOVE.B D4,(A5) ;11078: 1a84
+ MOVE.B (A6),D4 ;1107a: 1816
+ LSR.B #4,D4 ;1107c: e80c
+ MOVE.B D4,-8(A5) ;1107e: 1b44fff8
+ MOVEA.L A0,A4 ;11082: 2848
+ MOVEA.L A2,A3 ;11084: 264a
+ MOVE.B -(A6),D3 ;11086: 1626
+LAB_11088:
+ BSR.S LAB_110F0 ;11088: 6166
+ BCC.S LAB_110B0 ;1108a: 6424
+ MOVEQ #0,D6 ;1108c: 7c00
+ BSR.S LAB_110F0 ;1108e: 6160
+ BCC.S LAB_110AA ;11090: 6418
+ MOVEQ #1,D2 ;11092: 7401
+ MOVEQ #0,D5 ;11094: 7a00
+ MOVEQ #1,D6 ;11096: 7c01
+ BRA.S LAB_110A0 ;11098: 6006
+LAB_1109A:
+ ADD.W D2,D2 ;1109a: d442
+ ADDQ.W #1,D2 ;1109c: 5242
+ ADDQ.W #1,D5 ;1109e: 5245
+LAB_110A0:
+ MOVE.W D5,D0 ;110a0: 3005
+ BSR.S LAB_110FA ;110a2: 6156
+ ADD.W D7,D6 ;110a4: dc47
+ CMP.W D2,D7 ;110a6: be42
+ BGE.S LAB_1109A ;110a8: 6cf0
+LAB_110AA:
+ MOVE.B -(A6),-(A3) ;110aa: 1726
+ DBF D6,LAB_110AA ;110ac: 51cefffc
+LAB_110B0:
+ CMPA.L A4,A6 ;110b0: bdcc
+ BLE.S LAB_1110E ;110b2: 6f5a
+ MOVEQ #1,D6 ;110b4: 7c01
+ BSR.S LAB_110F0 ;110b6: 6138
+ BCC.S LAB_11110 ;110b8: 6456
+ MOVEQ #2,D1 ;110ba: 7202
+LAB_110BC:
+ BSR.S LAB_110F0 ;110bc: 6132
+ DBCC D1,LAB_110BC ;110be: 54c9fffc
+ MOVE.B -7(A5,D1.W),D0 ;110c2: 103510f9
+ BMI.S LAB_110CC ;110c6: 6b04
+ BSR.S LAB_110FA ;110c8: 6130
+ MOVE.W D7,D6 ;110ca: 3c07
+LAB_110CC:
+ MOVE.B -3(A5,D1.W),D0 ;110cc: 103510fd
+ EXT.W D0 ;110d0: 4880
+ ADD.W D0,D6 ;110d2: dc40
+ MOVEQ #1,D1 ;110d4: 7201
+LAB_110D6:
+ BSR.S LAB_110F0 ;110d6: 6118
+ DBCC D1,LAB_110D6 ;110d8: 54c9fffc
+ MOVE.B 1(A5,D1.W),D0 ;110dc: 10351001
+ BSR.S LAB_110FA ;110e0: 6118
+ ADD.W D1,D1 ;110e2: d241
+ ADD.W 6(A5,D1.W),D7 ;110e4: de751006
+ BNE.S LAB_11122 ;110e8: 6638
+LAB_110EA:
+ LEA 1(A3),A0 ;110ea: 41eb0001
+ BRA.S LAB_11128 ;110ee: 6038
+LAB_110F0:
+ ADD.B D3,D3 ;110f0: d603
+ BNE.S LAB_110F8 ;110f2: 6604
+ MOVE.B -(A6),D3 ;110f4: 1626
+ ADDX.B D3,D3 ;110f6: d703
+LAB_110F8:
+ RTS ;110f8: 4e75
+LAB_110FA:
+ EXT.W D0 ;110fa: 4880
+ MOVEQ #0,D7 ;110fc: 7e00
+LAB_110FE:
+ ADD.B D3,D3 ;110fe: d603
+ BNE.S LAB_11106 ;11100: 6604
+ MOVE.B -(A6),D3 ;11102: 1626
+ ADDX.B D3,D3 ;11104: d703
+LAB_11106:
+ ADDX.W D7,D7 ;11106: df47
+ DBF D0,LAB_110FE ;11108: 51c8fff4
+ RTS ;1110c: 4e75
+LAB_1110E:
+ BRA.S LAB_11150 ;1110e: 6040
+LAB_11110:
+ MOVEQ #5,D0 ;11110: 7005
+ MOVEQ #0,D1 ;11112: 7200
+ BSR.S LAB_110F0 ;11114: 61da
+ BCC.S LAB_1111C ;11116: 6404
+ MOVEQ #8,D0 ;11118: 7008
+ MOVEQ #$40,D1 ;1111a: 7240
+LAB_1111C:
+ BSR.S LAB_110FA ;1111c: 61dc
+ ADD.W D1,D7 ;1111e: de41
+ BEQ.S LAB_110EA ;11120: 67c8
+LAB_11122:
+ ADD.W D6,D7 ;11122: de46
+ LEA 0(A3,D7.W),A0 ;11124: 41f37000
+LAB_11128:
+ MOVE.B -(A0),-(A3) ;11128: 1720
+ DBF D6,LAB_11128 ;1112a: 51cefffc
+ BRA.W LAB_11088 ;1112e: 6000ff58
+LAB_11132:
+ DC.L $090100ff,$09050301 ;11132
+LAB_1113A:
+ DC.L $0b040700,$01200000 ;1113a
+ DC.W $0020 ;11142
+LAB_11144:
+ MOVEQ #3,D2 ;11144: 7403
+LAB_11146:
+ LSL.L #8,D1 ;11146: e189
+ MOVE.B (A0)+,D1 ;11148: 1218
+ DBF D2,LAB_11146 ;1114a: 51cafffa
+ RTS ;1114e: 4e75
+LAB_11150:
+ MOVE.L A2,D0 ;11150: 200a
+ SUB.L A3,D0 ;11152: 908b
+ MOVEA.L A3,A0 ;11154: 204b
+ MOVE.L A0,D2 ;11156: 2408
+ SUB.L A1,D2 ;11158: 9489
+ MOVE.L D0,D1 ;1115a: 2200
+ BEQ.S LAB_1116A ;1115c: 670c
+LAB_1115E:
+ MOVE.B (A0)+,(A1)+ ;1115e: 12d8
+ SUBQ.L #1,D1 ;11160: 5381
+ BNE.S LAB_1115E ;11162: 66fa
+LAB_11164:
+ CLR.B (A1)+ ;11164: 4219
+ SUBQ.L #1,D2 ;11166: 5382
+ BNE.S LAB_11164 ;11168: 66fa
+LAB_1116A:
+ MOVEM.L (A7)+,D1-D7/A0-A6 ;1116a: 4cdf7ffe
+ RTS ;1116e: 4e75
+LAB_11170:
+ MOVEM.L A0-A5,-(A7) ;11170: 48e700fc
+ MOVEA.L EXT_0.W,A6 ;11174: 2c780000
+ MOVE.L LAB_10AB2(PC),D0 ;11178: 203af938
+ MOVEA.L LAB_11194(PC),A3 ;1117c: 267a0016
+ MOVEA.L A3,A0 ;11180: 204b
+ BSR.W LAB_11198 ;11182: 61000014
+ MOVE.L D0,D1 ;11186: 2200
+ MOVE.L A3,D0 ;11188: 200b
+ BSR.W LAB_1124A ;1118a: 610000be
+ MOVEM.L (A7)+,A0-A5 ;1118e: 4cdf3f00
+ RTS ;11192: 4e75
+LAB_11194:
+ DS.L 1 ;11194
+LAB_11198:
+ MOVEM.L D1-D7/A0-A6,-(A7) ;11198: 48e77ffe
+ BSR.W LAB_11048 ;1119c: 6100feaa
+ MOVEM.L (A7),D1-D7/A0-A6 ;111a0: 4cd77ffe
+ CMP.L #$00009c44,D0 ;111a4: b0bc00009c44
+ BNE.W LAB_1121C ;111aa: 66000070
+ MOVEA.L A0,A4 ;111ae: 2848
+ MOVEA.L A0,A1 ;111b0: 2248
+ ADDA.L #$00009c40,A1 ;111b2: d3fc00009c40
+ CMPI.L #$00504646,(A1) ;111b8: 0c9100504646
+ BNE.S LAB_1121C ;111be: 665c
+ SUBQ.L #4,D0 ;111c0: 5980
+ MOVE.L D0,-(A7) ;111c2: 2f00
+ MOVE.W #$00c7,D7 ;111c4: 3e3c00c7
+ LEA -800(A1),A1 ;111c8: 43e9fce0
+LAB_111CC:
+ MOVEA.L LAB_11228(PC),A2 ;111cc: 247a005a
+ LEA $1F3F(A2),A2 ;111d0: 45ea1f3f
+ MOVE.L A1,-(A7) ;111d4: 2f09
+ MOVEA.L A1,A3 ;111d6: 2649
+ MOVEQ #$27,D1 ;111d8: 7227
+LAB_111DA:
+ MOVEA.L A2,A0 ;111da: 204a
+ MOVE.W #$00c7,D0 ;111dc: 303c00c7
+LAB_111E0:
+ MOVE.B -(A1),(A0) ;111e0: 10a1
+ LEA -40(A0),A0 ;111e2: 41e8ffd8
+ DBF D0,LAB_111E0 ;111e6: 51c8fff8
+ MOVE.W D7,D6 ;111ea: 3c07
+ BMI.S LAB_111F4 ;111ec: 6b06
+LAB_111EE:
+ MOVE.L -(A1),-(A3) ;111ee: 2721
+ DBF D6,LAB_111EE ;111f0: 51cefffc
+LAB_111F4:
+ SUBQ.W #1,A2 ;111f4: 534a
+ DBF D1,LAB_111DA ;111f6: 51c9ffe2
+ MOVEA.L LAB_11228(PC),A2 ;111fa: 247a002c
+ MOVE.W #$07cf,D1 ;111fe: 323c07cf
+LAB_11202:
+ MOVE.L (A2)+,(A4)+ ;11202: 28da
+ DBF D1,LAB_11202 ;11204: 51c9fffc
+ MOVEA.L (A7)+,A1 ;11208: 225f
+ SUBI.W #$0032,D7 ;1120a: 04470032
+ CMP.W #$fffe,D7 ;1120e: be7cfffe
+ BLT.S LAB_1121A ;11212: 6d06
+ LEA $C8(A1),A1 ;11214: 43e900c8
+ BRA.S LAB_111CC ;11218: 60b2
+LAB_1121A:
+ MOVE.L (A7)+,D0 ;1121a: 201f
+LAB_1121C:
+ MOVEM.L (A7)+,D1-D7/A0-A6 ;1121c: 4cdf7ffe
+ RTS ;11220: 4e75
+LAB_11222:
+ DS.W 1 ;11222
+LAB_11224:
+ DS.L 1 ;11224
+LAB_11228:
+ DS.L 1 ;11228
+federation:
+; Main game executable
+ ;1122c
+ ;DC.B $66,$65,$64,$31,$3a,$46,$65,$64,$65,$72,$61,$74,$69,$6f,$6e,$00
+ DC.B "fed1:Federation",0
+Fed_Demo:
+; Intro
+ ;1123c
+ ;DC.B $66,$65,$64,$31,$3a,$46,$65,$64,$5f,$44,$65,$6d,$6f,$00
+ DC.B "fed1:Fed_Demo",0
+LAB_1124A:
+ MOVEM.L D0-D4/A0-A1,-(A7) ;1124a: 48e7f8c0
+ MOVEA.L D0,A1 ;1124e: 2240
+ LEA $20(A1),A1 ;11250: 43e90020
+ MOVEA.L D0,A0 ;11254: 2040
+ CMPI.L #$000003f3,(A0) ;11256: 0c90000003f3
+ BNE.S LAB_1129C ;1125c: 663e
+ MOVE.L $1C(A0),D2 ;1125e: 2428001c
+ ASL.L #2,D2 ;11262: e582
+ SUB.L D2,D1 ;11264: 9282
+ SUBI.L #$00000020,D1 ;11266: 048100000020
+ LEA $20(A0,D2.L),A0 ;1126c: 41f02820
+ CMPI.L #$000003ec,(A0) ;11270: 0c90000003ec
+ BNE.S LAB_11292 ;11276: 661a
+ MOVE.L 4(A0),D2 ;11278: 24280004
+ ADDA.W #$000c,A0 ;1127c: d0fc000c
+ BRA.S LAB_1128E ;11280: 600c
+LAB_11282:
+ MOVE.L (A0)+,D3 ;11282: 2618
+ MOVE.L 0(A1,D3.L),D4 ;11284: 28313800
+ ADD.L A1,D4 ;11288: d889
+ MOVE.L D4,0(A1,D3.L) ;1128a: 23843800
+LAB_1128E:
+ DBF D2,LAB_11282 ;1128e: 51cafff2
+LAB_11292:
+ LEA -32(A1),A0 ;11292: 41e9ffe0
+ MOVE.L D1,D0 ;11296: 2001
+ BSR.W LAB_112A2 ;11298: 61000008
+LAB_1129C:
+ MOVEM.L (A7)+,D0-D4/A0-A1 ;1129c: 4cdf031f
+ RTS ;112a0: 4e75
+LAB_112A2:
+ MOVEM.L D0-D1/A0-A2,-(A7) ;112a2: 48e7c0e0
+ LEA -16(A0),A0 ;112a6: 41e8fff0
+ MOVE.L $C(A0),D1 ;112aa: 2228000c
+ BCLR #0,D0 ;112ae: 08800000
+ CMP.L #$0000001f,D1 ;112b2: b2bc0000001f
+ BLS.S LAB_11302 ;112b8: 6348
+ CMP.L #$0000001f,D0 ;112ba: b0bc0000001f
+ BLS.S LAB_11302 ;112c0: 6340
+ SUB.L D0,D1 ;112c2: 9280
+ BMI.S LAB_11302 ;112c4: 6b3c
+ MOVE.L D1,$C(A0) ;112c6: 2141000c
+ LEA $10(A0,D1.L),A1 ;112ca: 43f01810
+ MOVEA.L (A0),A2 ;112ce: 2450
+ MOVE.L A2,(A1) ;112d0: 228a
+ MOVE.L A1,(A0) ;112d2: 2089
+ MOVE.L A0,4(A1) ;112d4: 23480004
+ MOVE.L A2,D1 ;112d8: 220a
+ BEQ.S LAB_112E6 ;112da: 670a
+ TST.L 4(A2) ;112dc: 4aaa0004
+ BEQ.S LAB_112E6 ;112e0: 6704
+ MOVE.L A1,4(A2) ;112e2: 25490004
+LAB_112E6:
+ MOVE.L 8(A0),8(A1) ;112e6: 236800080008
+ SUBI.L #$00000010,D0 ;112ec: 048000000010
+ MOVE.L D0,$C(A1) ;112f2: 2340000c
+ LEA $10(A1),A0 ;112f6: 41e90010
+ MOVEA.L EXT_0.W,A6 ;112fa: 2c780000
+ JSR FreeMem(A6) ;112fe: 4eae0070
+LAB_11302:
+ MOVEM.L (A7)+,D0-D1/A0-A2 ;11302: 4cdf0703
+ RTS ;11306: 4e75
+LAB_11308:
+ DC.L $01000000,$fffffffe,$fffffffe ;11308
+palette:
+ DC.L $00000545,$08560a68,$099b0333,$04000500 ;11314
+ DC.L $04640975,$0b960797,$09b90db7,$0cc70de9 ;11324
+ DC.L $04440874,$05410000,$06520221,$05570778 ;11334
+ DC.L $02620d00,$0dc40dfd,$0a950343,$06650886 ;11344
+LAB_11354:
+ RTS ;11354: 4e75
+Hang:
+; hang on red screen
+ MOVE.W #$0300,COLOR00 ;11356: 33fc030000dff180
+ BRA.S Hang ;1135e: 60f6
+ END
diff --git a/src/fed_bootfile.cnf b/src/fed_bootfile.cnf
new file mode 100644
index 0000000..35dd363
--- /dev/null
+++ b/src/fed_bootfile.cnf
@@ -0,0 +1,62 @@
+MACHINE 68000
+ENTRY $00010000
+OFFSET $00010000
+CODE $00010000 - $000100DC
+CODE $00010110 - $00010118
+CODE $0001012E - $00010172
+CODE $000109D8 - $00010EF2
+CODE $00011048 - $00011132
+CODE $00011144 - $00011194
+CODE $00011198 - $00011222
+CODE $0001124A - $00011308
+CODE $00011354 - $00011360
+SYMBOL SUB_1010E $0001010E
+SYMBOL SUB_10AEA $00010AEA
+SYMBOL federation $0001122C
+SYMBOL Fed_Demo $0001123C
+SYMBOL Hang $00011356
+LABEL LAB_109D8 $000109D8
+LABEL LAB_109DA $000109DA
+LABEL LAB_109F6 $000109F6
+LABEL LAB_10A50 $00010A50
+LABEL LAB_10AD8 $00010AD8
+LABEL LAB_10B18 $00010B18
+LABEL LAB_10B1E $00010B1E
+LABEL LAB_10B24 $00010B24
+LABEL LAB_10B2A $00010B2A
+LABEL LAB_10B30 $00010B30
+LABEL LAB_10B36 $00010B36
+LABEL LAB_10B3C $00010B3C
+LABEL LAB_10B42 $00010B42
+LABEL LAB_10B48 $00010B48
+LABEL LAB_10B4E $00010B4E
+LABEL LAB_10EF2 $00010EF2
+LABEL LAB_11132 $00011132
+LABEL LAB_11170 $00011170
+LABEL LAB_11308 $00011308
+LABEL palette $00011314
+LABEL LAB_11354 $00011354
+COMMENT $109EA 40,400
+COMMENT $1122C Main game executable
+COMMENT $1123C Intro
+COMMENT $11356 hang on red screen
+BANNER $10000 Startup program for Knightmare
+BANNER $10000 Loaded into memory at $1168
+BANNER $10000 $0 contains pointer to RATT-DOS at $138
+BANNER $10000 It loads fed_Demo (intro) and federation (main game)
+EQU ChangeDisk $1000A.W
+EQU RawRead $10026.W
+EQU AllocMemType $10042.W $1005E.W $1007A.W $10098.W
+EQU SetDataBuff $100A8.W
+EQU SetDirBuff $10088.W
+EQU LoadFile $10A1A.W $10AA4.W
+EQU MotorOff $10A42.W $10A66.W
+EQU FreeMem $10A4C.W $10A72.W $11300.W
+EQU FindDirEntry $10AC0.W
+EQU MemoryFunc $10ADE.W
+EQU dmaconr $10BF8.W
+EQU copjmp2 $10C40.W
+EQU cop2lch $10C3C.W
+EQU intena $10BFE.W
+EQU dmacon $10C04.W $10C0A.W
+END
diff --git a/src/federation.asm b/src/federation.asm
new file mode 100644
index 0000000..794f6cb
--- /dev/null
+++ b/src/federation.asm
@@ -0,0 +1,22109 @@
+; IRA V2.11 (Jun 19 2024) (c)1993-1995 Tim Ruehsen
+; (c)2009-2024 Frank Wille, (c)2014-2019 Nicolas Bastien
+
+EXT_0 EQU $0
+ABSEXECBASE EQU $4
+BUS_ERROR EQU $8
+EXT_44 EQU $44
+AUTO_INT1 EQU $64
+AUTO_INT2 EQU $68
+AUTO_INT3 EQU $6C
+AUTO_INT4 EQU $70
+AUTO_INT5 EQU $74
+AUTO_INT6 EQU $78
+NMI EQU $7C
+CIAB_PRB EQU $BFD100
+CIAA_PRA EQU $BFE001
+HARDBASE EQU $DFF000
+DMACONR EQU $DFF002
+EXT_DFF005 EQU $DFF005
+VHPOSR EQU $DFF006
+JOY0DAT EQU $DFF00A
+EXT_DFF00B EQU $DFF00B
+POTGOR EQU $DFF016
+INTREQR EQU $DFF01E
+POTGO EQU $DFF034
+JOYTEST EQU $DFF036
+BLTAFWM EQU $DFF044
+BLTALWM EQU $DFF046
+BLTADAT EQU $DFF074
+COP1LCH EQU $DFF080
+COPJMP1 EQU $DFF088
+DMACON EQU $DFF096
+INTENA EQU $DFF09A
+INTREQ EQU $DFF09C
+ADKCON EQU $DFF09E
+AUD0LCH EQU $DFF0A0
+SPR2PTH EQU $DFF128
+COLOR00 EQU $DFF180
+COLOR06 EQU $DFF18C
+
+; Custom equates (from config file)
+_LVOOpenLibrary EQU -552
+_LVOCloseLibrary EQU -414
+copinit EQU $26
+
+
+
+
+ SECTION S_0,CODE
+
+SECSTRT_0:
+; ------------------------------------------------------------------------------
+; KNIGHTMARE
+; Main game executable
+; Filename is "federation" after the working title
+; of Knightmare's precursor Captive - "Federation Wars"
+; Relocates to $24DC (including hunk header), i.e. $24FC
+;
+; Work in progress.
+; ------------------------------------------------------------------------------
+ LEA start_A0(PC),A3 ;10000: 47fa000c
+ MOVE.L A0,(A3)+ ;10004: 26c8
+ MOVE.L A1,(A3)+ ;10006: 26c9
+ MOVE.L A2,(A3) ;10008: 268a
+ BRA.W start ;1000a: 60004a68
+start_A0:
+ DS.L 1 ;1000e
+start_A1:
+ DS.L 1 ;10012
+start_A2:
+ DS.L 1 ;10016
+LAB_1001A:
+ DC.L $0000062c,$12210200,$0000062c,$12210300 ;1001a
+ DC.L $18760000,$122c0200,$18760000,$122c0300 ;1002a
+ DC.L $147a02e4,$06310600,$147802e4,$06310700 ;1003a
+ DC.L $147802e9,$08310400,$147802e9,$08310500 ;1004a
+ DC.L $147802f0,$06310600,$147a02f0,$06310700 ;1005a
+ DC.L $001801f4,$04460200,$001201f4,$04460300 ;1006a
+ DC.L $001201f8,$0a460200,$001201f8,$0a460300 ;1007a
+ DC.L $00120202,$04460200,$00180202,$04460300 ;1008a
+ DC.L $053400b4,$02620200,$052800b4,$02620300 ;1009a
+ DC.L $052800b6,$0e620200,$052800b6,$0e620300 ;100aa
+ DC.L $052800c4,$02620200,$053400c4,$02620300 ;100ba
+ DC.L $148002e9,$02310500,$148202e9,$02310500 ;100ca
+ DC.L $0b0601f8,$02460700,$0b0801f8,$02460700 ;100da
+ DC.L $053600b6,$02620700,$053800b6,$02620700 ;100ea
+ DC.L $00240000,$02700700,$00260000,$02700700 ;100fa
+ DC.L $148002ef,$02310400,$148202ef,$02310400 ;1010a
+ DC.L $0b060200,$02460600,$0b080200,$02460600 ;1011a
+ DC.L $053600c2,$02620600,$053800c2,$02620600 ;1012a
+ DC.L $00240010,$02700600,$00260010,$02700600 ;1013a
+ DC.L $001c0334,$02290700,$001c0334,$02290700 ;1014a
+ DC.L $001c0344,$02290600,$001c0344,$02290600 ;1015a
+ DC.L $14880384,$02230600,$14840384,$02230700 ;1016a
+ DC.L $14840385,$06230400,$14840385,$06230500 ;1017a
+ DC.L $1484038a,$06230600,$1484038a,$06230700 ;1018a
+ DC.L $1484038f,$06230400,$1484038f,$06230500 ;1019a
+ DC.L $14840394,$02230600,$14880394,$02230700 ;101aa
+ DC.L $17860000,$12320200,$17860000,$12320300 ;101ba
+ DC.L $1296062c,$02080608,$1dfe062c,$02080708 ;101ca
+ DC.L $1287062c,$07080408,$1280062c,$07080508 ;101da
+ DC.L $128e0631,$08080408,$128e0631,$08080508 ;101ea
+ DC.L $12800637,$07080408,$12870637,$07080508 ;101fa
+ DC.L $1dfe063c,$02080608,$1296063c,$02080708 ;1020a
+ DC.L $10a606a4,$060c0608,$10a006a4,$060c0708 ;1021a
+ DC.L $10ac06a7,$0b0c0408,$10ac06a7,$0b0c0508 ;1022a
+ DC.L $10a006b0,$060c0608,$10a606b0,$060c0708 ;1023a
+ DC.L $0e4c0744,$040f0608,$0e480744,$040f0708 ;1024a
+ DC.L $0e500745,$0f0f0408,$0e500745,$0f0f0508 ;1025a
+ DC.L $0e480752,$040f0608,$0e4c0752,$040f0708 ;1026a
+ DC.L $0ca507e4,$030b0408,$0ca207e4,$030b0508 ;1027a
+ DC.L $0c9007e4,$120b0608,$0c9007e4,$120b0508 ;1028a
+ DC.L $0ca207f3,$030b0408,$0ca507f3,$030b0508 ;1029a
+ DC.L $1c1e05f0,$02060608,$1d0e05f0,$02060708 ;102aa
+ DC.L $13ca05dc,$070a0408,$13d105dc,$070a0508 ;102ba
+ DC.L $13c205e1,$080a0408,$13c205e1,$080a0508 ;102ca
+ DC.L $13d105e7,$070a0408,$13ca05e7,$070a0508 ;102da
+ DC.L $1d0e0600,$02060608,$1c1e0600,$02060708 ;102ea
+ DC.L $155c0604,$06110608,$15620604,$06110708 ;102fa
+ DC.L $157a061c,$0a100608,$157a061c,$0a100708 ;1030a
+ DC.L $15620610,$06110608,$155c0610,$06110708 ;1031a
+ DC.L $18080654,$04190608,$180c0654,$04190708 ;1032a
+ DC.L $17fa0656,$0e190608,$17fa0656,$0e190708 ;1033a
+ DC.L $180c0662,$04190608,$18080662,$04190708 ;1034a
+ DC.L $1bf20708,$02160608,$1bf40708,$02160708 ;1035a
+ DC.L $1be20709,$10160408,$1be20709,$10160508 ;1036a
+ DC.L $1bf40718,$02160608,$1bf20718,$02160708 ;1037a
+ DC.L $001d0209,$05180408,$001d020f,$05180408 ;1038a
+ DC.L $001d0215,$05180408,$00250104,$03210408 ;1039a
+ DC.L $0022010a,$06210608,$00220113,$03210408 ;103aa
+ DC.L $05c800c8,$01090408,$04380005,$08210408 ;103ba
+ DC.L $ffffffff,$ffffffff,$001d0208,$03180408 ;103ca
+ DC.L $001d020e,$03180408,$001d0214,$03180408 ;103da
+ DC.L $ffffffff,$ffffffff,$00220109,$04210408 ;103ea
+ DC.L $00220112,$04210608,$ffffffff,$ffffffff ;103fa
+ DC.L $04380004,$06210608,$04380010,$02210608 ;1040a
+ DC.L $001d021f,$03180508,$001d0225,$03180508 ;1041a
+ DC.L $001d022b,$03180508,$00220118,$04210508 ;1042a
+ DC.L $00220121,$04210508,$ffffffff,$ffffffff ;1043a
+ DC.L $04100000,$02220508,$04100009,$06220508 ;1044a
+ DC.L $ffffffff,$ffffffff,$001d01f4,$05180408 ;1045a
+ DC.L $001d01fa,$05180408,$001d0200,$05180408 ;1046a
+ DC.L $ffffffff,$ffffffff,$002200a5,$06210408 ;1047a
+ DC.L $002200ac,$06210608,$ffffffff,$ffffffff ;1048a
+ DC.L $04b00004,$081e0608,$04b0000e,$041e0608 ;1049a
+ DC.L $001d01f8,$05180408,$001d01fe,$05180408 ;104aa
+ DC.L $001d0204,$02180408,$002200a2,$06210608 ;104ba
+ DC.L $002200aa,$06210608,$ffffffff,$ffffffff ;104ca
+ DC.L $04b00000,$081e0608,$04b0000a,$081e0608 ;104da
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;104ea
+ DC.L $001d0232,$05180508,$001d023a,$05180508 ;104fa
+ DC.L $ffffffff,$ffffffff,$00220105,$06210508 ;1050a
+ DC.L $0022010f,$06210508,$ffffffff,$ffffffff ;1051a
+ DC.L $03980000,$07250508,$039b000d,$05250508 ;1052a
+ DC.L $001d0230,$05180508,$001d0238,$05180508 ;1053a
+ DC.L $00200240,$02180508,$00220104,$04210508 ;1054a
+ DC.L $0022010c,$06210508,$ffffffff,$ffffffff ;1055a
+ DC.L $03980000,$02250508,$03980008,$08250508 ;1056a
+ DC.L $ffffffff,$ffffffff,$001a03e9,$03200408 ;1057a
+ DC.L $001a03ef,$03200408,$001a03f5,$03200408 ;1058a
+ DC.L $054f0398,$01120408,$054c039e,$042f0608 ;1059a
+ DC.L $054c03a7,$032f0408,$ffffffff,$ffffffff ;105aa
+ DC.L $09600299,$06450408,$ffffffff,$ffffffff ;105ba
+ DC.L $001a03e8,$03200408,$001a03ee,$03200408 ;105ca
+ DC.L $001a03f4,$03200408,$ffffffff,$ffffffff ;105da
+ DC.L $054c039d,$042f0408,$054c03a6,$042f0608 ;105ea
+ DC.L $ffffffff,$ffffffff,$09600298,$06450608 ;105fa
+ DC.L $096002a4,$02450608,$001a03ff,$03200508 ;1060a
+ DC.L $001a0405,$03200508,$001a040b,$03200508 ;1061a
+ DC.L $054c03ac,$042f0508,$054c03b5,$042f0508 ;1062a
+ DC.L $ffffffff,$ffffffff,$096002a8,$02450508 ;1063a
+ DC.L $096002b1,$06450508,$ffffffff,$ffffffff ;1064a
+ DC.L $001a03d4,$03200408,$001a03da,$03200408 ;1065a
+ DC.L $001a03e0,$03200408,$ffffffff,$ffffffff ;1066a
+ DC.L $054c0339,$042f0408,$054c0340,$042f0608 ;1067a
+ DC.L $ffffffff,$ffffffff,$0960025c,$06450608 ;1068a
+ DC.L $09600266,$04450608,$001a03d8,$03200408 ;1069a
+ DC.L $001a03de,$03200408,$001a03e4,$03200408 ;106aa
+ DC.L $054c0336,$042f0608,$054c033e,$042f0608 ;106ba
+ DC.L $ffffffff,$ffffffff,$09600258,$06450608 ;106ca
+ DC.L $09600262,$06450608,$ffffffff,$ffffffff ;106da
+ DC.L $ffffffff,$ffffffff,$001a0415,$03200508 ;106ea
+ DC.L $001a041c,$03200508,$ffffffff,$ffffffff ;106fa
+ DC.L $054c039c,$042f0508,$054c03a5,$042f0508 ;1070a
+ DC.L $ffffffff,$ffffffff,$096002e5,$06450508 ;1071a
+ DC.L $096302f3,$03450508,$001a0412,$03200508 ;1072a
+ DC.L $001a041a,$03200508,$ffffffff,$ffffffff ;1073a
+ DC.L $054c0398,$042f0508,$054c03a2,$042f0508 ;1074a
+ DC.L $ffffffff,$ffffffff,$096002e4,$02450508 ;1075a
+ DC.L $096002ee,$06450508,$ffffffff,$ffffffff ;1076a
+ DC.L $001e04b0,$04160608,$001d04b5,$05160408 ;1077a
+ DC.L $001d04bb,$05160408,$ffffffff,$ffffffff ;1078a
+ DC.L $0022048b,$061f0408,$00220494,$061f0608 ;1079a
+ DC.L $ffffffff,$ffffffff,$02580475,$082b0408 ;107aa
+ DC.L $02580482,$042b0608,$ffffffff,$ffffffff ;107ba
+ DC.L $ffffffff,$ffffffff,$0258068c,$021d0608 ;107ca
+ DC.L $001d04b3,$05160408,$001d04b9,$05160408 ;107da
+ DC.L $001d04bf,$03160408,$00220488,$061f0408 ;107ea
+ DC.L $00220491,$061f0408,$ffffffff,$ffffffff ;107fa
+ DC.L $025c0474,$042b0608,$0258047d,$082b0408 ;1080a
+ DC.L $ffffffff,$ffffffff,$0258067c,$021d0508 ;1081a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1082a
+ DC.L $001d04c4,$05160508,$001d04ca,$05160508 ;1083a
+ DC.L $001d04d0,$05160508,$0022049c,$031f0508 ;1084a
+ DC.L $002204a2,$061f0508,$002504ab,$031f0508 ;1085a
+ DC.L $ffffffff,$ffffffff,$0258048d,$082b0508 ;1086a
+ DC.L $ffffffff,$ffffffff,$0d6a0461,$041b0404 ;1087a
+ DC.L $0d6a0467,$041b0404,$0d6a046d,$041b0404 ;1088a
+ DC.L $11a40438,$02240604,$11a2043f,$04240404 ;1089a
+ DC.L $11a20448,$02240604,$ffffffff,$ffffffff ;108aa
+ DC.L $174103da,$06340404,$ffffffff,$ffffffff ;108ba
+ DC.L $0d6a0461,$041b0504,$0d6a0467,$041b0504 ;108ca
+ DC.L $0d6a046d,$041b0504,$11a20438,$02240504 ;108da
+ DC.L $11a2043f,$04240504,$11a40448,$02240504 ;108ea
+ DC.L $ffffffff,$ffffffff,$174103da,$06340504 ;108fa
+ DC.L $ffffffff,$ffffffff,$023a058d,$040f0408 ;1090a
+ DC.L $023a0593,$040f0408,$023a0599,$040f0408 ;1091a
+ DC.L $186305c8,$03180408,$186005ce,$06180608 ;1092a
+ DC.L $186005d7,$03180408,$00190604,$01200408 ;1093a
+ DC.L $00120609,$08200408,$00120615,$01200408 ;1094a
+ DC.L $08b406d5,$08190408,$08b406cd,$08190508 ;1095a
+ DC.L $01e80606,$02050508,$01e8060c,$02050608 ;1096a
+ DC.L $01e80612,$02050608,$01230668,$03070508 ;1097a
+ DC.L $0122066f,$04070408,$01220677,$03070408 ;1098a
+ DC.L $ffffffff,$ffffffff,$16a806e6,$060b0608 ;1099a
+ DC.L $ffffffff,$ffffffff,$14280785,$07100408 ;109aa
+ DC.L $06f30640,$06060504,$05fe0646,$06060604 ;109ba
+ DC.L $06f3064c,$06060404,$06ee06cc,$05070504 ;109ca
+ DC.L $04ca06d1,$08070404,$06ee06d9,$05070404 ;109da
+ DC.L $07e30780,$030a0504,$02de0783,$0c0a0404 ;109ea
+ DC.L $07e3078f,$030a0404,$015a0870,$01040504 ;109fa
+ DC.L $000e0872,$0e040604,$015a0881,$01040404 ;10a0a
+ DC.L $001c0640,$06060504,$06040646,$06060604 ;10a1a
+ DC.L $001c064c,$06060604,$080606cc,$05070504 ;10a2a
+ DC.L $03b206d1,$08070404,$080606d9,$05070404 ;10a3a
+ DC.L $07e60780,$030a0504,$014e0783,$0c0a0404 ;10a4a
+ DC.L $07e6078f,$030a0404,$015b0870,$01040504 ;10a5a
+ DC.L $00ae0872,$0e040604,$015b0881,$01040404 ;10a6a
+ DC.L $09730640,$06050504,$01ac0646,$06050604 ;10a7a
+ DC.L $0973064c,$06050404,$091e06b8,$05080504 ;10a8a
+ DC.L $027206bd,$08080404,$091e06c5,$05080404 ;10a9a
+ DC.L $17c407a8,$03050504,$046e076f,$0c0a0404 ;10aaa
+ DC.L $17c407b7,$03050404,$010c0876,$06040604 ;10aba
+ DC.L $051a0654,$06040608,$0814065a,$03040408 ;10aca
+ DC.L $051a0660,$06040508,$0b7806cc,$06070608 ;10ada
+ DC.L $1ca006d0,$05070408,$0b7806d8,$06070508 ;10aea
+ DC.L $0a120780,$04090608,$05bb0783,$06090408 ;10afa
+ DC.L $0a12078e,$04090508,$03dd085c,$02050408 ;10b0a
+ DC.L $0512085d,$08050408,$03dd086c,$02050508 ;10b1a
+ DC.L $ffffffff,$ffffffff,$0814065d,$03040508 ;10b2a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10b3a
+ DC.L $1ca006d5,$05070508,$ffffffff,$ffffffff ;10b4a
+ DC.L $ffffffff,$ffffffff,$05bb0789,$06090508 ;10b5a
+ DC.L $ffffffff,$ffffffff,$05120865,$08050508 ;10b6a
+ DC.L $0836062c,$06070608,$03df0632,$03070408 ;10b7a
+ DC.L $08360638,$06070508,$1db806a4,$050a0408 ;10b8a
+ DC.L $088206a9,$040a0408,$1db806b1,$050a0508 ;10b9a
+ DC.L $05490744,$030c0408,$094e0747,$060e0408 ;10baa
+ DC.L $05490753,$030c0508,$0b7e0837,$06070408 ;10bba
+ DC.L $ffffffff,$ffffffff,$03df0635,$03070508 ;10bca
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10bda
+ DC.L $088206ad,$040a0508,$ffffffff,$ffffffff ;10bea
+ DC.L $ffffffff,$ffffffff,$094e074d,$060e0508 ;10bfa
+ DC.L $ffffffff,$ffffffff,$0b7e083d,$06070508 ;10c0a
+ DC.L $1c9b0514,$05110408,$1c20051a,$03140408 ;10c1a
+ DC.L $1c9b0520,$05110508,$18b80500,$05190408 ;10c2a
+ DC.L $145e0505,$041c0408,$18b8050d,$05190508 ;10c3a
+ DC.L $049004d8,$03210408,$18bd04dc,$052a0408 ;10c4a
+ DC.L $049004e7,$03210508,$09b60578,$092a0408 ;10c5a
+ DC.L $ffffffff,$ffffffff,$1c20051d,$03140508 ;10c6a
+ DC.L $ffffffff,$ffffffff,$17a706a4,$03070508 ;10c7a
+ DC.L $145e0509,$041c0508,$17a706b3,$03070408 ;10c8a
+ DC.L $ffffffff,$ffffffff,$18bd04e1,$052a0508 ;10c9a
+ DC.L $ffffffff,$ffffffff,$09b60581,$092a0508 ;10caa
+ DC.L $1c9b0514,$05110408,$1c20051a,$030f0408 ;10cba
+ DC.L $1c9b0520,$05110508,$18b80500,$05190408 ;10cca
+ DC.L $145e0505,$04150408,$18b8050d,$05190508 ;10cda
+ DC.L $049004d8,$03210408,$18bd04dc,$051f0408 ;10cea
+ DC.L $049004e7,$03210508,$09b60578,$092a0408 ;10cfa
+ DC.L $ffffffff,$ffffffff,$1c20051d,$030f0508 ;10d0a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10d1a
+ DC.L $145e0509,$04150508,$ffffffff,$ffffffff ;10d2a
+ DC.L $ffffffff,$ffffffff,$18bd04e1,$051f0508 ;10d3a
+ DC.L $ffffffff,$ffffffff,$09b60581,$092a0508 ;10d4a
+ DC.L $ffffffff,$ffffffff,$02b00647,$02020408 ;10d5a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10d6a
+ DC.L $072906aa,$03040408,$ffffffff,$ffffffff ;10d7a
+ DC.L $ffffffff,$ffffffff,$07c70748,$05060408 ;10d8a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10d9a
+ DC.L $ffffffff,$ffffffff,$02b00649,$02020508 ;10daa
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10dba
+ DC.L $072906ad,$03040508,$ffffffff,$ffffffff ;10dca
+ DC.L $ffffffff,$ffffffff,$07c7074d,$05060508 ;10dda
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;10dea
+ DC.L $06f3030c,$06060d04,$05fe0312,$06060e04 ;10dfa
+ DC.L $06f30318,$06060c04,$06ee021c,$05070d04 ;10e0a
+ DC.L $04ca0221,$08070c04,$06ee0229,$05070c04 ;10e1a
+ DC.L $07e300c8,$030a0d04,$02de00cb,$0c0a0c04 ;10e2a
+ DC.L $07e300d7,$030a0c04,$015a0000,$01040d04 ;10e3a
+ DC.L $000e0002,$0e040e04,$015a0011,$01040c04 ;10e4a
+ DC.L $1db70320,$03060400,$1db70326,$03060400 ;10e5a
+ DC.L $1db7032c,$03060400,$1c2b0258,$010a0400 ;10e6a
+ DC.L $1c27025c,$050a0400,$1c270264,$050a0400 ;10e7a
+ DC.L $ffffffff,$ffffffff,$1c20012e,$070f0400 ;10e8a
+ DC.L $1c20013a,$040f0600,$1db70323,$03060500 ;10e9a
+ DC.L $1db70329,$03060500,$1db7032f,$03060500 ;10eaa
+ DC.L $1c270259,$050a0500,$1c270261,$050a0500 ;10eba
+ DC.L $1c2b0269,$010a0500,$1c20012c,$040f0500 ;10eca
+ DC.L $1c200135,$070f0500,$ffffffff,$ffffffff ;10eda
+ DC.L $0b050370,$01270400,$0b050376,$01270400 ;10eea
+ DC.L $0b05037c,$01270400,$ffffffff,$ffffffff ;10efa
+ DC.L $002002e8,$02360600,$002002f0,$02360600 ;10f0a
+ DC.L $ffffffff,$ffffffff,$0b02021e,$034d0400 ;10f1a
+ DC.L $0b02022a,$034d0400,$0b050375,$01270500 ;10f2a
+ DC.L $0b05037b,$01270500,$0b050381,$01270500 ;10f3a
+ DC.L $002002e8,$02360700,$002002f0,$02360700 ;10f4a
+ DC.L $ffffffff,$ffffffff,$0b02021d,$034d0500 ;10f5a
+ DC.L $0b020229,$034d0500,$ffffffff,$ffffffff ;10f6a
+ DC.L $00220007,$026b0400,$00220009,$026b0500 ;10f7a
+ DC.L $12510321,$04120c04,$12510327,$04120c04 ;10f8a
+ DC.L $1251032d,$04120c04,$15220230,$031a0c04 ;10f9a
+ DC.L $15210237,$041a0c04,$1521023f,$031a0c04 ;10faa
+ DC.L $ffffffff,$ffffffff,$193100e2,$06270c04 ;10fba
+ DC.L $ffffffff,$ffffffff,$12510551,$04120404 ;10fca
+ DC.L $12510557,$04120404,$1251055d,$04120404 ;10fda
+ DC.L $1522053c,$031a0404,$15210543,$041a0404 ;10fea
+ DC.L $1521054b,$031a0404,$ffffffff,$ffffffff ;10ffa
+ DC.L $19310542,$06270404,$ffffffff,$ffffffff ;1100a
+ DC.L $125d0375,$01060500,$125d037c,$01060400 ;1101a
+ DC.L $111d035f,$01080400,$111d0366,$01080400 ;1102a
+ DC.L $111d036d,$01080400,$146502d4,$010a0500 ;1103a
+ DC.L $146502dd,$010a0400,$056e02a9,$020b0400 ;1104a
+ DC.L $056e02b3,$020b0400,$ffffffff,$ffffffff ;1105a
+ DC.L $125d01e2,$010d0500,$125d01ef,$010d0400 ;1106a
+LAB_1107A:
+ DC.L $02c601c4,$02110600,$072704a2,$01090c00 ;1107a
+ DC.L $072704a7,$01090d00,$092c0475,$02090c00 ;1108a
+ DC.L $092c047c,$02090e00,$092c0483,$02090c00 ;1109a
+ DC.L $07260428,$01100c00,$07260431,$01100d00 ;110aa
+ DC.L $ffffffff,$ffffffff,$06840418,$02110e00 ;110ba
+ DC.L $ffffffff,$ffffffff,$08b803d6,$02170c00 ;110ca
+ DC.L $08b803e2,$02170d00,$0b0a03b4,$02170e00 ;110da
+ DC.L $072704a2,$01090400,$072704a7,$01090500 ;110ea
+ DC.L $092c0475,$02090400,$092c047c,$02090600 ;110fa
+ DC.L $092c0483,$02090400,$07260428,$01100400 ;1110a
+ DC.L $07260431,$01100500,$ffffffff,$ffffffff ;1111a
+ DC.L $06840418,$02110600,$ffffffff,$ffffffff ;1112a
+ DC.L $08b803d6,$02170400,$08b803e2,$02170500 ;1113a
+ DC.L $0b0a03b4,$02170600,$025a048e,$01080408 ;1114a
+ DC.L $025a0493,$01080508,$1088049d,$02060408 ;1115a
+ DC.L $108804a4,$02060608,$108804ab,$02060408 ;1116a
+ DC.L $07060464,$02090408,$0706046c,$02090508 ;1117a
+ DC.L $ffffffff,$ffffffff,$01e80468,$02090608 ;1118a
+ DC.L $ffffffff,$ffffffff,$060803eb,$020f0408 ;1119a
+ DC.L $060803f5,$020f0508,$033803f0,$020e0608 ;111aa
+ DC.L $025a048e,$01080c08,$025a0493,$01080d08 ;111ba
+ DC.L $1088049d,$02060c08,$108804a4,$02060e08 ;111ca
+ DC.L $108804ab,$02060c08,$07060464,$02090c08 ;111da
+ DC.L $0706046c,$02090d08,$ffffffff,$ffffffff ;111ea
+ DC.L $01e80468,$02090e08,$ffffffff,$ffffffff ;111fa
+ DC.L $060803eb,$020f0c08,$060803f5,$020f0d08 ;1120a
+ DC.L $033803f0,$020e0e08,$0f9504a2,$01040400 ;1121a
+ DC.L $0f9504a7,$01040500,$15600475,$02040400 ;1122a
+ DC.L $1560047c,$02040600,$15600483,$02040400 ;1123a
+ DC.L $0db50428,$01060400,$0db50431,$01060500 ;1124a
+ DC.L $ffffffff,$ffffffff,$13800418,$02060600 ;1125a
+ DC.L $ffffffff,$ffffffff,$114e03d6,$02080400 ;1126a
+ DC.L $114e03e2,$02080500,$110003b4,$02080600 ;1127a
+ DC.L $103504a2,$01040400,$103504a7,$01040500 ;1128a
+ DC.L $16000475,$02040400,$1600047c,$02040600 ;1129a
+ DC.L $16000483,$02040400,$0ea50428,$01060400 ;112aa
+ DC.L $0ea50431,$01060500,$ffffffff,$ffffffff ;112ba
+ DC.L $14700418,$02060600,$ffffffff,$ffffffff ;112ca
+ DC.L $128e03d6,$02080400,$128e03e2,$02080500 ;112da
+ DC.L $124003b4,$02080600,$1411043e,$01160404 ;112ea
+ DC.L $14110443,$01160504,$1aca03e8,$041d0604 ;112fa
+ DC.L $1aca03ef,$041d0404,$1aca03f6,$041d0604 ;1130a
+ DC.L $120a03b0,$021f0404,$120a03b8,$021f0504 ;1131a
+ DC.L $0fe80348,$02290604,$0fe4034e,$06290604 ;1132a
+ DC.L $0fe40358,$02290604,$18560336,$032d0404 ;1133a
+ DC.L $18560341,$032d0504,$16460299,$083a0404 ;1134a
+ DC.L $0f36042a,$01140404,$0f36042f,$01140504 ;1135a
+ DC.L $040a0425,$02130404,$040a042c,$02130604 ;1136a
+ DC.L $040a0433,$02130404,$178103b0,$011c0404 ;1137a
+ DC.L $178103b9,$011c0504,$ffffffff,$ffffffff ;1138a
+ DC.L $090c03b4,$021c0604,$ffffffff,$ffffffff ;1139a
+ DC.L $0bec030e,$02290604,$0bec031a,$02290504 ;113aa
+ DC.L $07020300,$02290604,$1119042a,$01130404 ;113ba
+ DC.L $1119042f,$01130504,$193a0424,$040a0604 ;113ca
+ DC.L $193a042b,$040a0404,$193a0432,$040a0604 ;113da
+ DC.L $0f0f03b0,$021c0404,$0f0f03b8,$021c0504 ;113ea
+ DC.L $16e303ac,$030f0404,$16e203b3,$040f0404 ;113fa
+ DC.L $16e203bb,$030f0404,$136f030e,$02290404 ;1140a
+ DC.L $136f031a,$02290504,$0c9c02fe,$06150604 ;1141a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1142a
+ DC.L $193a04ec,$040a0e04,$193a04f3,$040a0c04 ;1143a
+ DC.L $193a04fa,$040a0e04,$ffffffff,$ffffffff ;1144a
+ DC.L $ffffffff,$ffffffff,$16e304d8,$030e0c04 ;1145a
+ DC.L $16e204df,$040e0c04,$16e204e7,$030e0c04 ;1146a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1147a
+ DC.L $0c9c04a2,$06140e04,$11d403d9,$020e0408 ;1148a
+ DC.L $11d403df,$020e0508,$1c02035c,$02150608 ;1149a
+ DC.L $1c020363,$02150408,$1c02036a,$02150608 ;114aa
+ DC.L $0a030374,$03140408,$0a03037b,$03140508 ;114ba
+ DC.L $ffffffff,$ffffffff,$084802c2,$031e0408 ;114ca
+ DC.L $084802cc,$021e0608,$039802aa,$031e0408 ;114da
+ DC.L $039802b5,$031e0508,$12ee01d1,$042b0408 ;114ea
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;114fa
+ DC.L $1c02035e,$02150508,$1c020365,$02150508 ;1150a
+ DC.L $1c02036c,$02150508,$ffffffff,$ffffffff ;1151a
+ DC.L $ffffffff,$ffffffff,$084802bc,$021e0508 ;1152a
+ DC.L $084802c5,$031e0508,$ffffffff,$ffffffff ;1153a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1154a
+ DC.L $12ee01d5,$042b0508,$05de03d9,$02100408 ;1155a
+ DC.L $05de03df,$02100508,$001c035c,$04150608 ;1156a
+ DC.L $001c0363,$04150408,$001c036a,$04150608 ;1157a
+ DC.L $08690374,$03170408,$0869037b,$03170508 ;1158a
+ DC.L $0c0202bc,$021d0408,$0bfe02c2,$061d0408 ;1159a
+ DC.L $0bfe02cc,$021d0608,$088a02aa,$04220408 ;115aa
+ DC.L $088a02b4,$04220508,$002001d1,$082a0408 ;115ba
+ DC.L $001403d9,$02180408,$001403df,$02180508 ;115ca
+ DC.L $0dc60384,$04210608,$0dc6038b,$04210408 ;115da
+ DC.L $0dc60392,$04210608,$0e200360,$02210608 ;115ea
+ DC.L $0e200368,$02210508,$0df602d0,$022d0608 ;115fa
+ DC.L $0df202d6,$062d0608,$0df202e0,$022d0608 ;1160a
+ DC.L $02ab02aa,$032f0408,$02ab02b5,$032f0508 ;1161a
+ DC.L $152c01bc,$0a410608,$01240465,$020c0408 ;1162a
+ DC.L $0124046b,$020c0508,$001203fd,$02170408 ;1163a
+ DC.L $00120404,$02170608,$0012040b,$02170408 ;1164a
+ DC.L $025e0400,$02110608,$025e0408,$02110508 ;1165a
+ DC.L $134b035c,$011f0408,$13480363,$041f0408 ;1166a
+ DC.L $1348036d,$011f0408,$0992035e,$021c0608 ;1167a
+ DC.L $0992036a,$021c0708,$182002af,$042e0408 ;1168a
+ DC.L $01220429,$020d0408,$0122042f,$020d0508 ;1169a
+ DC.L $1bdc03d4,$04160608,$1bdc03db,$04160408 ;116aa
+ DC.L $1bdc03e2,$04160608,$050603b0,$02150608 ;116ba
+ DC.L $050603b8,$02150508,$08c9030c,$01200408 ;116ca
+ DC.L $08c60313,$04200408,$08c6031d,$01200408 ;116da
+ DC.L $0e9a0322,$021e0608,$0e9a032e,$021e0708 ;116ea
+ DC.L $14fa025e,$062c0608,$1046043d,$02100408 ;116fa
+ DC.L $10460443,$02100508,$08800425,$02130408 ;1170a
+ DC.L $0880042c,$02130408,$08800433,$02130408 ;1171a
+ DC.L $190603ec,$02170608,$190603f4,$02170508 ;1172a
+ DC.L $055e03c0,$011c0408,$055b03c7,$041c0408 ;1173a
+ DC.L $055b03d1,$011c0408,$138f039a,$03210408 ;1174a
+ DC.L $138f03a5,$03210508,$127a0363,$04280408 ;1175a
+ DC.L $07b403ed,$020c0408,$07b403f3,$020c0508 ;1176a
+ DC.L $00180399,$02140408,$001803a0,$02140408 ;1177a
+ DC.L $001803a7,$02140408,$12130338,$03140408 ;1178a
+ DC.L $1213033f,$03140508,$12bf02d0,$011c0408 ;1179a
+ DC.L $12bc02d7,$041c0408,$12bc02e1,$011c0408 ;117aa
+ DC.L $0e850282,$031b0408,$0e85028d,$031b0508 ;117ba
+ DC.L $085e0223,$04290408,$0a8603d9,$02160408 ;117ca
+ DC.L $0a8603df,$02160508,$0a3403ad,$02180408 ;117da
+ DC.L $0a3403b4,$02180408,$0a3403bb,$02180408 ;117ea
+ DC.L $03040374,$021e0408,$0304037c,$021e0508 ;117fa
+ DC.L $032b0334,$01220408,$0328033b,$04220408 ;1180a
+ DC.L $03280345,$01220408,$0e7402fa,$022b0408 ;1181a
+ DC.L $0e740306,$022b0508,$17b60287,$05310408 ;1182a
+ DC.L $0a8603d9,$02160408,$0a8603df,$02160508 ;1183a
+ DC.L $0a6003ad,$02180408,$0a6003b4,$02180408 ;1184a
+ DC.L $0a6003bb,$02180408,$03040374,$021e0408 ;1185a
+ DC.L $0304037c,$021e0508,$04990334,$01220408 ;1186a
+ DC.L $0496033b,$04220408,$04960345,$01220408 ;1187a
+ DC.L $0e7402fa,$022b0408,$0e740306,$022b0508 ;1188a
+ DC.L $17bb0287,$05310408,$030e03d9,$02120408 ;1189a
+ DC.L $030e03df,$02120508,$001603ad,$02130408 ;118aa
+ DC.L $001603b4,$02130408,$001603bb,$02130408 ;118ba
+ DC.L $05dc0374,$021a0408,$05dc037c,$021a0508 ;118ca
+ DC.L $09ed0334,$011d0408,$09ea033b,$041d0408 ;118da
+ DC.L $09ea0345,$011d0408,$044a02fa,$02240408 ;118ea
+ DC.L $044a0306,$02240508,$0ec60287,$05290408 ;118fa
+ DC.L $10860312,$02130408,$10860316,$02130508 ;1190a
+ DC.L $001a02e5,$02130408,$001a02ec,$02130408 ;1191a
+ DC.L $001a02f3,$02130408,$0ddb0270,$031b0408 ;1192a
+ DC.L $0ddb0277,$031b0508,$ffffffff,$ffffffff ;1193a
+ DC.L $137e0210,$021b0408,$ffffffff,$ffffffff ;1194a
+ DC.L $086c017e,$04270408,$086c0188,$04270508 ;1195a
+ DC.L $117800cf,$04280408,$1be104b6,$01070404 ;1196a
+ DC.L $1be104bb,$01070504,$1bdf0489,$02070404 ;1197a
+ DC.L $1bdf0490,$02070404,$1bdf0497,$02070404 ;1198a
+ DC.L $0da30464,$010a0404,$0da3046d,$010a0504 ;1199a
+ DC.L $ffffffff,$ffffffff,$17c70454,$020a0404 ;119aa
+ DC.L $ffffffff,$ffffffff,$19d7043a,$020d0404 ;119ba
+ DC.L $19d70446,$020d0504,$1cf703ef,$030f0404 ;119ca
+ DC.L $0f3304b6,$01070404,$0f3304bb,$01070504 ;119da
+ DC.L $12550475,$02090404,$1255047c,$02090404 ;119ea
+ DC.L $12550483,$02090404,$104b0450,$010c0404 ;119fa
+ DC.L $104b0459,$010c0504,$ffffffff,$ffffffff ;11a0a
+ DC.L $13bd042c,$020e0404,$ffffffff,$ffffffff ;11a1a
+ DC.L $0f5903fe,$02130404,$0f59040a,$02130504 ;11a2a
+ DC.L $15ed03c8,$02150404,$092904b6,$01070404 ;11a3a
+ DC.L $092904bb,$01070504,$0a3c0475,$02090404 ;11a4a
+ DC.L $0a3c047c,$02090404,$0a3c0483,$02090404 ;11a5a
+ DC.L $0d380450,$010c0404,$0d380459,$010c0504 ;11a6a
+ DC.L $ffffffff,$ffffffff,$0ba4042c,$020e0404 ;11a7a
+ DC.L $ffffffff,$ffffffff,$0a4003fe,$02130404 ;11a8a
+ DC.L $0a40040a,$02130504,$0dd403c8,$02150404 ;11a9a
+ DC.L $0ec104b6,$01070404,$0ec104bb,$01070504 ;11aaa
+ DC.L $0f670475,$02090404,$0f67047c,$02090404 ;11aba
+ DC.L $0f670483,$02090404,$0d5e0450,$010c0404 ;11aca
+ DC.L $0d5e0459,$010c0504,$ffffffff,$ffffffff ;11ada
+ DC.L $10cf042c,$020e0404,$ffffffff,$ffffffff ;11aea
+ DC.L $0a6603fe,$02130404,$0a66040a,$02130504 ;11afa
+ DC.L $12ff03c8,$02150404,$100104b6,$01070404 ;11b0a
+ DC.L $100104bb,$01070504,$07ee0475,$02090404 ;11b1a
+ DC.L $07ee047c,$02090404,$07ee0483,$02090404 ;11b2a
+ DC.L $05e60450,$010c0404,$05e60459,$010c0504 ;11b3a
+ DC.L $ffffffff,$ffffffff,$0d82042c,$020e0404 ;11b4a
+ DC.L $ffffffff,$ffffffff,$08da03fe,$02130404 ;11b5a
+ DC.L $08da040a,$02130504,$095603c8,$02150404 ;11b6a
+ DC.L $0f6604b6,$01070404,$0f6604bb,$01070504 ;11b7a
+ DC.L $07ec0475,$02090404,$07ec047c,$02090404 ;11b8a
+ DC.L $07ec0483,$02090404,$05e40450,$010c0404 ;11b9a
+ DC.L $05e40459,$010c0504,$ffffffff,$ffffffff ;11baa
+ DC.L $0fb2042c,$020e0404,$ffffffff,$ffffffff ;11bba
+ DC.L $05e203fe,$02130404,$05e2040a,$02130504 ;11bca
+ DC.L $095403c8,$02150404,$1dff0416,$01080504 ;11bda
+ DC.L $1dff041b,$01080404,$054c0411,$02080404 ;11bea
+ DC.L $054c0418,$02080604,$054c041f,$02080404 ;11bfa
+ DC.L $167603c4,$020c0704,$167603cc,$020c0604 ;11c0a
+ DC.L $ffffffff,$ffffffff,$031c0378,$020e0604 ;11c1a
+ DC.L $ffffffff,$ffffffff,$068c0336,$02100704 ;11c2a
+ DC.L $068c0342,$02100604,$002202c3,$04130404 ;11c3a
+ DC.L $19220465,$020d0504,$1922046b,$020d0404 ;11c4a
+ DC.L $1b500439,$020e0404,$1b500440,$020e0604 ;11c5a
+ DC.L $1b500447,$020e0404,$0f220400,$01120504 ;11c6a
+ DC.L $0f220409,$01120404,$155303d4,$01140404 ;11c7a
+ DC.L $155003db,$04140404,$155003e5,$01140404 ;11c8a
+ DC.L $153a039a,$02190704,$153a03a6,$02190604 ;11c9a
+ DC.L $16640363,$041d0004,$16ee03d9,$02060504 ;11caa
+ DC.L $16ee03df,$02060404,$19960399,$02080404 ;11cba
+ DC.L $199603a0,$02080604,$199603a7,$02080404 ;11cca
+ DC.L $16c8034c,$02090704,$16c80354,$02090604 ;11cda
+ DC.L $ffffffff,$ffffffff,$17de0300,$020b0604 ;11cea
+ DC.L $ffffffff,$ffffffff,$0b560282,$020d0704 ;11cfa
+ DC.L $0b56028e,$020d0604,$18f80224,$020f0604 ;11d0a
+ DC.L $0a940415,$02140500,$0a94041b,$02140400 ;11d1a
+ DC.L $0cee039c,$021c0700,$0cee03a4,$021c0600 ;11d2a
+ DC.L $10da02fa,$02290700,$10da0306,$02290600 ;11d3a
+ DC.L $09a60410,$02150600,$09a60417,$02150400 ;11d4a
+ DC.L $09a6041e,$02150600,$ffffffff,$ffffffff ;11d5a
+ DC.L $0c50038b,$021e0000,$0c500395,$011e0000 ;11d6a
+ DC.L $0ea202d6,$032d0000,$09a60412,$02150700 ;11d7a
+ DC.L $09a60419,$02150500,$09a60420,$02150700 ;11d8a
+ DC.L $0c500384,$011e0100,$0c50038d,$021e0100 ;11d9a
+ DC.L $ffffffff,$ffffffff,$0ea202d9,$032d0100 ;11daa
+ DC.L $0a620415,$02140504,$0a62041b,$02140404 ;11dba
+ DC.L $0a60039c,$021c0704,$0a6003a4,$021c0604 ;11dca
+ DC.L $063802fa,$02290704,$06380306,$02290604 ;11dda
+ DC.L $139c0410,$02150604,$139c0417,$02150404 ;11dea
+ DC.L $139c041e,$02150604,$ffffffff,$ffffffff ;11dfa
+ DC.L $0a5e038b,$021e0004,$0a5e0395,$011e0004 ;11e0a
+ DC.L $0f4102d6,$032d0004,$139c0412,$02150704 ;11e1a
+ DC.L $139c0419,$02150504,$139c0420,$02150704 ;11e2a
+ DC.L $0a5e0384,$011e0104,$0a5e038d,$021e0104 ;11e3a
+ DC.L $ffffffff,$ffffffff,$0f4102d9,$032d0104 ;11e4a
+ DC.L $0a5803fe,$02170700,$0a580405,$02170500 ;11e5a
+ DC.L $0a58040c,$02170700,$0df0035c,$01210100 ;11e6a
+ DC.L $0df00365,$02210100,$ffffffff,$ffffffff ;11e7a
+ DC.L $0bec02c5,$032f0100,$1404053d,$02120408 ;11e8a
+ DC.L $14040543,$02120408,$14040549,$02120408 ;11e9a
+ DC.L $0cfa0550,$011a0408,$0cf80556,$031a0408 ;11eaa
+ DC.L $0cf8055e,$031a0408,$ffffffff,$ffffffff ;11eba
+ DC.L $19a50568,$05240408,$19a50574,$02240408 ;11eca
+ DC.L $1404053f,$02120508,$14040545,$02120508 ;11eda
+ DC.L $1404054b,$02120508,$0cf80551,$031a0508 ;11eea
+ DC.L $0cf80559,$031a0508,$0cfa055e,$011a0508 ;11efa
+ DC.L $19a50564,$02240508,$19a5056d,$05240508 ;11f0a
+ DC.L $ffffffff,$ffffffff,$0d23049c,$030d0408 ;11f1a
+ DC.L $0d2304a2,$030d0408,$0d2304a8,$030d0408 ;11f2a
+ DC.L $110b0410,$01150408,$11080415,$04150408 ;11f3a
+ DC.L $1108041d,$04150408,$ffffffff,$ffffffff ;11f4a
+ DC.L $16d00374,$051f0408,$16d00380,$021f0408 ;11f5a
+ DC.L $0d23049f,$030d0508,$0d2304a5,$030d0508 ;11f6a
+ DC.L $0d2304ab,$030d0508,$11080411,$04150508 ;11f7a
+ DC.L $11080419,$04150508,$0cfb041e,$01150508 ;11f8a
+ DC.L $16d00370,$021f0508,$16d00379,$051f0508 ;11f9a
+ DC.L $ffffffff,$ffffffff,$0d230348,$03190408 ;11faa
+ DC.L $0d23034e,$03190408,$0d230354,$03190408 ;11fba
+ DC.L $110b026c,$01250408,$11080271,$04250408 ;11fca
+ DC.L $11080279,$04250408,$ffffffff,$ffffffff ;11fda
+ DC.L $16d00130,$05360408,$16d0013c,$02360408 ;11fea
+ DC.L $0d23034b,$03190508,$0d230351,$03190508 ;11ffa
+ DC.L $0d230357,$03190508,$1108026d,$04250508 ;1200a
+ DC.L $11080275,$04250508,$0cfb027a,$01250508 ;1201a
+ DC.L $16d0012c,$02360508,$16d00135,$05360508 ;1202a
+ DC.L $ffffffff,$ffffffff,$19500370,$03260404 ;1203a
+ DC.L $19500376,$03260404,$1950037c,$03260404 ;1204a
+ DC.L $000302d0,$01350404,$000002d5,$04350404 ;1205a
+ DC.L $000002dd,$04350404,$ffffffff,$ffffffff ;1206a
+ DC.L $000401e4,$054c0404,$000401f0,$024c0404 ;1207a
+ DC.L $19500373,$03260504,$19500379,$03260504 ;1208a
+ DC.L $1950037f,$03260504,$000002d1,$04350504 ;1209a
+ DC.L $000002d9,$04350504,$000302e1,$01350504 ;120aa
+ DC.L $000401e0,$024c0504,$000401e9,$054c0504 ;120ba
+ DC.L $ffffffff,$ffffffff,$19500370,$03130404 ;120ca
+ DC.L $19500376,$03130404,$1950037c,$03130404 ;120da
+ DC.L $000302d0,$011a0404,$000002d5,$041a0404 ;120ea
+ DC.L $000002dd,$041a0404,$ffffffff,$ffffffff ;120fa
+ DC.L $000401e4,$05260404,$000401f0,$02260404 ;1210a
+ DC.L $19500373,$03130504,$19500379,$03130504 ;1211a
+ DC.L $1950037f,$03130504,$000002d1,$041a0504 ;1212a
+ DC.L $000002d9,$041a0504,$000302e1,$011a0504 ;1213a
+ DC.L $000401e0,$02260504,$000401e9,$05260504 ;1214a
+ DC.L $ffffffff,$ffffffff,$195004ec,$03130c04 ;1215a
+ DC.L $195004f2,$03130c04,$195004f8,$03130c04 ;1216a
+ DC.L $000304d8,$011b0c04,$000004dd,$041b0c04 ;1217a
+ DC.L $000004e5,$041a0c04,$ffffffff,$ffffffff ;1218a
+ DC.L $000404dc,$05260c04,$000404e8,$02260c04 ;1219a
+ DC.L $195004ef,$03130d04,$195004f5,$03130d04 ;121aa
+ DC.L $195004fb,$03130d04,$000004d9,$041b0d04 ;121ba
+ DC.L $000004e1,$041b0d04,$000304e9,$011b0d04 ;121ca
+ DC.L $000404d8,$02260d04,$000404e1,$05260d04 ;121da
+ DC.L $ffffffff,$ffffffff,$1c480370,$03130c04 ;121ea
+ DC.L $1c480376,$03130c04,$1c48037c,$03130c04 ;121fa
+ DC.L $043b02d0,$011a0c04,$043802d5,$041a0c04 ;1220a
+ DC.L $043802dd,$041a0c04,$ffffffff,$ffffffff ;1221a
+ DC.L $05f401e4,$05260c04,$05f401f0,$02260c04 ;1222a
+ DC.L $1c480373,$03130d04,$1c480379,$03130d04 ;1223a
+ DC.L $1c48037f,$03130d04,$043802d1,$041a0d04 ;1224a
+ DC.L $043802d9,$041a0d04,$043b02e1,$011a0d04 ;1225a
+ DC.L $05f401e0,$02260d04,$05f401e9,$05260d04 ;1226a
+ DC.L $ffffffff,$ffffffff,$1c4804ec,$03130404 ;1227a
+ DC.L $1c4804f2,$03130404,$1c4804f8,$03130404 ;1228a
+ DC.L $041304d8,$011b0404,$041004dd,$041b0404 ;1229a
+ DC.L $041004e5,$041a0404,$ffffffff,$ffffffff ;122aa
+ DC.L $05f404dc,$05260404,$05f404e8,$02260404 ;122ba
+ DC.L $1c4804ef,$03130504,$1c4804f5,$03130504 ;122ca
+ DC.L $1c4804fb,$03130504,$041004d9,$041b0504 ;122da
+ DC.L $041004e1,$041b0504,$041304e9,$011b0504 ;122ea
+ DC.L $05f404d8,$02260504,$05f404e1,$05260504 ;122fa
+ DC.L $ffffffff,$ffffffff,$19560370,$03260404 ;1230a
+ DC.L $19560376,$03260404,$1956037c,$03260404 ;1231a
+ DC.L $109302d0,$01350404,$109002d5,$04350404 ;1232a
+ DC.L $109002dd,$04350404,$ffffffff,$ffffffff ;1233a
+ DC.L $0be401e4,$054c0404,$0be401f0,$024c0404 ;1234a
+ DC.L $19560373,$03260504,$19560379,$03260504 ;1235a
+ DC.L $1956037f,$03260504,$109002d1,$04350504 ;1236a
+ DC.L $109002d9,$04350504,$109302e1,$01350504 ;1237a
+ DC.L $0be401e0,$024c0504,$0be401e9,$054c0504 ;1238a
+ DC.L $ffffffff,$ffffffff,$19560370,$03130404 ;1239a
+ DC.L $19560376,$03130404,$1956037c,$03130404 ;123aa
+ DC.L $109302d0,$011a0404,$109002d5,$041a0404 ;123ba
+ DC.L $109002dd,$041a0404,$ffffffff,$ffffffff ;123ca
+ DC.L $0be401e4,$05260404,$0be401f0,$02260404 ;123da
+ DC.L $19560373,$03130504,$19560379,$03130504 ;123ea
+ DC.L $1956037f,$03130504,$109002d1,$041a0504 ;123fa
+ DC.L $109002d9,$041a0504,$109302e1,$011a0504 ;1240a
+ DC.L $0be401e0,$02260504,$0be401e9,$05260504 ;1241a
+ DC.L $ffffffff,$ffffffff,$195604ec,$03130c04 ;1242a
+ DC.L $195604f2,$03130c04,$195604f8,$03130c04 ;1243a
+ DC.L $109304d8,$011b0c04,$109004dd,$041b0c04 ;1244a
+ DC.L $109004e5,$041a0c04,$ffffffff,$ffffffff ;1245a
+ DC.L $0be404dc,$05260c04,$0be404e8,$02260c04 ;1246a
+ DC.L $195604ef,$03130d04,$195604f5,$03130d04 ;1247a
+ DC.L $195604fb,$03130d04,$109004d9,$041b0d04 ;1248a
+ DC.L $109004e1,$041b0d04,$109304e9,$011b0d04 ;1249a
+ DC.L $0be404d8,$02260d04,$0be404e1,$05260d04 ;124aa
+ DC.L $ffffffff,$ffffffff,$1c4e0370,$03130c04 ;124ba
+ DC.L $1c4e0376,$03130c04,$1c4e037c,$03130c04 ;124ca
+ DC.L $14cb02d0,$011a0c04,$14c802d5,$041a0c04 ;124da
+ DC.L $14c802dd,$041a0c04,$ffffffff,$ffffffff ;124ea
+ DC.L $11d401e4,$05260c04,$11d401f0,$02260c04 ;124fa
+ DC.L $1c4e0373,$03130d04,$1c4e0379,$03130d04 ;1250a
+ DC.L $1c4e037f,$03130d04,$14c802d1,$041a0d04 ;1251a
+ DC.L $14c802d9,$041a0d04,$14cb02e1,$011a0d04 ;1252a
+ DC.L $11d401e0,$02260d04,$11d401e9,$05260d04 ;1253a
+ DC.L $ffffffff,$ffffffff,$1c4e04ec,$03130404 ;1254a
+ DC.L $1c4e04f2,$03130404,$1c4e04f8,$03130404 ;1255a
+ DC.L $14a304d8,$011b0404,$14a004dd,$041b0404 ;1256a
+ DC.L $14a004e5,$041a0404,$ffffffff,$ffffffff ;1257a
+ DC.L $11d404dc,$05260404,$11d404e8,$02260404 ;1258a
+ DC.L $1c4e04ef,$03130504,$1c4e04f5,$03130504 ;1259a
+ DC.L $1c4e04fb,$03130504,$14a004d9,$041b0504 ;125aa
+ DC.L $14a004e1,$041b0504,$14a304e9,$011b0504 ;125ba
+ DC.L $11d404d8,$02260504,$11d404e1,$05260504 ;125ca
+ DC.L $ffffffff,$ffffffff,$19530370,$03260404 ;125da
+ DC.L $19530376,$03260404,$1953037c,$03260404 ;125ea
+ DC.L $084b02d0,$01350404,$084802d5,$04350404 ;125fa
+ DC.L $084802dd,$04350404,$ffffffff,$ffffffff ;1260a
+ DC.L $000901e4,$054c0404,$000901f0,$024c0404 ;1261a
+ DC.L $19530373,$03260504,$19530379,$03260504 ;1262a
+ DC.L $1953037f,$03260504,$084802d1,$04350504 ;1263a
+ DC.L $084802d9,$04350504,$084b02e1,$01350504 ;1264a
+ DC.L $000901e0,$024c0504,$000901e9,$054c0504 ;1265a
+ DC.L $ffffffff,$ffffffff,$188e04b5,$01050404 ;1266a
+ DC.L $188e04bb,$01050404,$188e04c1,$01050404 ;1267a
+ DC.L $0da10478,$02080404,$0da10480,$02080404 ;1268a
+ DC.L $ffffffff,$ffffffff,$0be90411,$030b0404 ;1269a
+ DC.L $0be9041d,$030b0404,$ffffffff,$ffffffff ;126aa
+ DC.L $000e05f5,$020a0508,$000e05fb,$020a0408 ;126ba
+ DC.L $01e20668,$06030608,$01e0066d,$08030408 ;126ca
+ DC.L $01e00674,$06030608,$00100658,$020e0708 ;126da
+ DC.L $00100660,$020e0608,$011e0708,$04050608 ;126ea
+ DC.L $0118070c,$0a050608,$01180716,$04050608 ;126fa
+ DC.L $019e06e2,$02130708,$019e06ee,$02130608 ;1270a
+ DC.L $000007d2,$0e070608,$000c07d0,$02070608 ;1271a
+ DC.L $000007e0,$02070608,$024007bc,$020d0708 ;1272a
+ DC.L $024007cc,$020d0608,$00260415,$02210404 ;1273a
+ DC.L $0026041b,$02210504,$18d803e8,$0424de04 ;1274a
+ DC.L $18d803ef,$0424dc04,$18d803f6,$0424de04 ;1275a
+ DC.L $0fee0388,$012e0404,$0fee0391,$012e0504 ;1276a
+ DC.L $1903035c,$0134dc04,$19000363,$0434dc04 ;1277a
+ DC.L $1900036d,$0134dc04,$054e02aa,$02440604 ;1278a
+ DC.L $054e02b6,$02440704,$1928029a,$064ade04 ;1279a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;127aa
+ DC.L $0fef01b8,$015a0404,$0fef01c9,$015a0504 ;127ba
+ DC.L $000002e4,$0217dd03,$000002ea,$0217dd03 ;127ca
+ DC.L $000002f0,$0217dd03,$000801f4,$01227703 ;127da
+ DC.L $000801f8,$04227703,$00080202,$01227703 ;127ea
+ DC.L $001000b4,$0030bb00,$001000b6,$0630bb00 ;127fa
+ DC.L $001000c4,$0030bb00,$ffffffff,$ffffffff ;1280a
+ DC.L $00180000,$0837ee01,$ffffffff,$ffffffff ;1281a
+ DC.L $133f05ad,$0311040c,$134005ad,$0211000c ;1282a
+ DC.L $060105ad,$0211000c ;1283a
+LAB_12842:
+ DC.L $06000000,$0311040c,$06030000,$0311040c ;12842
+LAB_12852:
+ DS.L 1 ;12852
+ DC.L $020f000c,$14a407bc,$1201020c,$151c0000 ;12856
+ DC.L $1270da0c,$14a40000,$12030a0c,$14a400f0 ;12866
+ DC.L $1201020c,$14a40884,$1203020c,$0ba60000 ;12876
+ DC.L $0132000c,$0ba603e8,$0132000c,$0ba607d0 ;12886
+ DC.L $010c000c,$0ba70011,$0132000c,$0ba703f9 ;12896
+ DC.L $0132000c,$0ba707e1,$010c000c,$09d8003c ;128a6
+ DC.L $0209020c,$0b40004a,$0409020c,$055d06cc ;128b6
+ DC.L $0316040c,$028d072b,$0312040c,$06e00320 ;128c6
+ DC.L $0413060c,$06e00612,$0413060c,$09da07dc ;128d6
+ DC.L $0209060c,$04380114,$0211060c ;128e6
+LAB_128F2:
+ DC.L $12420000,$0607020c,$09a0008c,$062ada0c ;128f2
+ DC.L $09c800a0,$0605020c,$15be0000,$121c020c ;12902
+ DC.L $1abe0000,$121c020c ;12912
+LAB_1291A:
+ DS.L 1 ;1291a
+ DC.L $0209060c,$08f804d9,$0212040c,$08f604df ;1291e
+ DC.L $0212040c,$0ed200e3,$020c040c,$0ed000dd ;1292e
+ DC.L $020c040c ;1293e
+LAB_12942:
+ DC.L $01b601fc,$0230000c,$0ac601fc,$0230000c ;12942
+ DC.L $00260134,$020a000c,$09360134,$020a000c ;12952
+ DC.L $11500797,$0407040c,$1266080e,$0607020c ;12962
+ DC.L $0b38003c,$0417060c,$13c40014,$041a0604 ;12972
+ DS.L 1 ;12982
+ DC.L $12700214,$089c0000,$12700200,$00120000 ;12986
+ DC.L $12700204,$000001e4,$0a320208,$0a660018 ;12996
+ DC.L $0a1d060c,$08e00037,$0306000c,$09260184 ;129a6
+ DC.L $0a08060c,$0926057c,$0a08060c,$1456085d ;129b6
+ DC.L $1001000c,$147e07bd,$1008d80c,$145607a9 ;129c6
+ DC.L $1001000c,$00500785,$0801000c,$002806e5 ;129d6
+ DC.L $0808d80c,$000006d1,$0801000c,$145606a5 ;129e6
+ DC.L $1001000c,$142e012d,$1046d80c,$14060119 ;129f6
+ DC.L $1001000c,$005003d9,$0801000c,$00280339 ;12a06
+ DC.L $0808d80c,$00000325,$0801000c,$005004b5 ;12a16
+ DC.L $0801000c,$00280415,$0808d80c,$00000401 ;12a26
+ DC.L $0801000c,$0050030d,$0801000c,$0028026d ;12a36
+ DC.L $0808d80c,$00000259,$0801000c,$005003e9 ;12a46
+ DC.L $0801000c,$00280349,$0808d80c,$00000335 ;12a56
+ DC.L $0801000c,$00500315,$0801000c,$00280275 ;12a66
+ DC.L $0808d80c,$00000261,$0801000c,$005003f1 ;12a76
+ DC.L $0801000c,$00280351,$0808d80c,$0000033d ;12a86
+ DC.L $0801000c,$0050084d,$0801000c,$002807d5 ;12a96
+ DC.L $0806d80c,$000007c1,$0801000c,$14560795 ;12aa6
+ DC.L $1001000c,$142e0385,$1034d80c,$14060371 ;12ab6
+ DC.L $1001000c,$13e60579,$0804d80c,$13e6062f ;12ac6
+ DC.L $0604d80c,$13e606e7,$0204d80c ;12ad6
+ DC.W $028c ;12ae2
+LAB_12AE4:
+ DC.L $06e70104,$040c0d54,$0133041d ;12ae4
+ DC.W $0400 ;12af0
+LAB_12AF2:
+ DC.L $00000198,$03110400 ;12af2
+LAB_12AFA:
+ DC.L $000c0198,$03110400,$0dd60000,$12700200 ;12afa
+LAB_12B0A:
+ DC.L $183802c1,$1a9002c5,$11300145,$15e00149 ;12b0a
+ DC.L $1388043d,$1ce80441,$04a607e2,$01d60146 ;12b1a
+ DC.L $05ea079a,$079a079a,$01fa04ca,$051204ca ;12b2a
+ DC.L $05360512,$053604ee,$04ee04ee,$02f60512 ;12b3a
+ DC.L $051204ca,$05360536,$055a055a,$055a05a2 ;12b4a
+ DC.L $05a205a2,$05a205a2,$057e057e,$060e03aa ;12b5a
+ DC.L $06320122,$0776070a,$01b2033e,$04820482 ;12b6a
+ DC.L $04820482,$04820482,$069e069e,$069e04a6 ;12b7a
+ DC.L $04a604a6,$04a604a6,$04a604a6,$016a0776 ;12b8a
+ DC.L $07be0242,$067a067a,$043a06c2,$02ae03f2 ;12b9a
+ DC.L $031a018e,$018e0416,$07520806,$045e02d2 ;12baa
+ DC.L $02d203f2,$03f202d2,$03f203f2,$03f203f2 ;12bba
+ DC.L $03ce03ce,$06e603f2,$03f2072e,$028a03aa ;12bca
+ DC.L $05c600fe,$06560362,$03860362,$03620386 ;12bda
+ DC.L $0386045e,$021e082a,$082a082a,$082a082a ;12bea
+ DC.L $082a082a,$082a082a,$082a082a,$082a082a ;12bfa
+ DC.L $082a082a,$082a082a,$082a082a,$082a082a ;12c0a
+ DC.L $082a0266,$04a60f90,$02050014,$0f900205 ;12c1a
+ DC.L $00140e78,$02070014,$0e780207,$00140cc0 ;12c2a
+ DC.L $020b0014,$0cc0020b,$00141828,$02040014 ;12c3a
+ DC.L $18280204,$00141738,$02060014,$17380206 ;12c4a
+ DC.L $001415d0,$02090014,$15d00209,$00140630 ;12c5a
+ DC.L $02040014,$06300204,$001404f0,$02080014 ;12c6a
+ DC.L $04f00208,$00141d72,$020c0014,$1d72020c ;12c7a
+ DC.L $00141dbe,$04060014,$1dbe0406,$00141de0 ;12c8a
+ DC.L $04080014,$1de00408,$00140f7a,$060c0014 ;12c9a
+ DC.L $0f7a060c,$001409c8,$02040014,$09c80204 ;12caa
+ DC.L $00141cce,$04060014,$1cce0406,$00141b66 ;12cba
+ DC.L $04090014,$1b660409,$00140c48,$02030014 ;12cca
+ DC.L $0c480203,$00140b80,$02050014,$0b800205 ;12cda
+ DC.L $00140a68,$02070014,$0a680207,$00140928 ;12cea
+ DC.L $02040014,$09280204,$00140838,$02060014 ;12cfa
+ DC.L $08380206,$001406d0,$02090014,$06d00209 ;12d0a
+ DC.L $00140388,$02030014,$03880203,$001402c0 ;12d1a
+ DC.L $02050014,$02c00205,$00140180,$02080014 ;12d2a
+ DC.L $01800208,$0014099e,$0208000c,$099e0208 ;12d3a
+ DC.L $000c099e,$0208000c,$099e0208,$000c099e ;12d4a
+ DC.L $0208000c,$099e0208,$000c0418,$04040014 ;12d5a
+ DC.L $04180404,$00140328,$04060014,$03280406 ;12d6a
+ DC.L $00140282,$06060014,$02820606,$001413d8 ;12d7a
+ DC.L $02030014,$13600203,$001412e8,$02040014 ;12d8a
+ DC.L $11f80206,$001410b8,$02080014,$0f500209 ;12d9a
+ DC.L $00140e60,$02060014,$0e600206,$00140d20 ;12daa
+ DC.L $02080014,$0d200208,$00140b40,$020c0014 ;12dba
+ DC.L $0b40020c,$001414f0,$02030014,$14500204 ;12dca
+ DC.L $00140a58,$04070014,$09180408,$00140788 ;12dda
+ DC.L $040a0014,$0372060b,$00140af0,$02020014 ;12dea
+ DC.L $0af00202,$00140a78,$02030014,$0a780203 ;12dfa
+ DC.L $001406e8,$04040014,$06e80404,$00141680 ;12e0a
+ DC.L $02040014,$16800204,$00141568,$02070014 ;12e1a
+ DC.L $15680207,$00140b70,$040c0014,$0b70040c ;12e2a
+ DC.L $00141d38,$02040014,$1d380204,$00140d50 ;12e3a
+ DC.L $04060014,$0d500406,$0014052a,$06080014 ;12e4a
+ DC.L $052a0608,$00141c98,$02040014,$1bf80204 ;12e5a
+ DC.L $00141b30,$02060014,$1a180207,$001418b0 ;12e6a
+ DC.L $02080014,$1720020a,$001402d0,$02010014 ;12e7a
+ DC.L $02800202,$00140208,$02030014,$01680204 ;12e8a
+ DC.L $001400c8,$02040014,$00000205,$001405f0 ;12e9a
+ DC.L $02010014,$05a00202,$00140528,$02030014 ;12eaa
+ DC.L $04880204,$001403e8,$02040014,$02f80206 ;12eba
+ DC.L $00140988,$02020014,$09100203,$00140870 ;12eca
+ DC.L $02040014,$07d00204,$00140708,$02050014 ;12eda
+ DC.L $06180206,$001410e8,$04040014,$10e80404 ;12eea
+ DC.L $00141020,$04050014,$10200405,$0014066a ;12efa
+ DC.L $06070014,$066a0607,$001411d8,$04010014 ;12f0a
+ DC.L $11d80401,$00141188,$04020014,$11880402 ;12f1a
+ DC.L $00140782,$06030014,$07820603,$001406ec ;12f2a
+ DC.L $02030014,$06ec0203,$00140f58,$04050014 ;12f3a
+ DC.L $0f580405,$00140e40,$04070014,$0e400407 ;12f4a
+ DC.L $00141254,$02010014,$122c0201,$00141204 ;12f5a
+ DC.L $02020014,$118c0203,$00141114,$02030014 ;12f6a
+ DC.L $10740204,$00140f0c,$02090014,$0f0c0209 ;12f7a
+ DC.L $00140d2c,$020c0014,$0d2c020c,$0014078c ;12f8a
+ DC.L $02120014,$078c0212,$00140f0c,$02090014 ;12f9a
+ DC.L $0f0c0209,$00140d2c,$020c0014,$0d2c020c ;12faa
+ DC.L $00140a5c,$02120014,$0a5c0212,$00140288 ;12fba
+ DC.L $04040014,$01c00405,$001400f8,$04050014 ;12fca
+ DC.L $00080406,$0014016a,$06070014,$00020609 ;12fda
+ DC.L $0014000c,$02040014,$00760206,$00141700 ;12fea
+ DC.L $04080014,$15980409,$00141408,$040a0014 ;12ffa
+ DC.L $1200040d,$0014127c,$02050014,$127c0205 ;1300a
+ DC.L $00141a48,$04080014,$1a480408,$00141840 ;1301a
+ DC.L $040d0014,$1840040d,$00140400,$02060014 ;1302a
+ DC.L $04000206,$001419fe,$04090014,$19fe0409 ;1303a
+ DC.L $001417f6,$040d0014,$17f6040d,$00140cbc ;1304a
+ DC.L $04070014,$0cbc0407,$00140b04,$040b0014 ;1305a
+ DC.L $0b04040b,$0014115a,$06100014,$115a0610 ;1306a
+ DC.L $0014136c,$02040014,$136c0204,$00141cf0 ;1307a
+ DC.L $04060014,$1cf00406,$00141b88,$04090014 ;1308a
+ DC.L $1b880409,$001415ec,$02090014,$15ec0209 ;1309a
+ DC.L $0014140c,$020c0014,$140c020c,$0014000e ;130aa
+ DC.L $04110014,$000e0411,$00140472,$02080014 ;130ba
+ DC.L $04720208,$001402ba,$020b0014,$02ba020b ;130ca
+ DC.L $001409be,$040e0014,$09be040e,$0014050e ;130da
+ DC.L $040b0014,$050e040b,$001402b6,$040f0014 ;130ea
+ DC.L $02b6040f,$001407fa,$06170014,$07fa0617 ;130fa
+ DC.L $0014190c,$02080014,$190c0208,$00141754 ;1310a
+ DC.L $020b0014,$1754020b,$001406c6,$04100014 ;1311a
+ DC.L $06c60410,$00141ca4,$02020014,$1c540202 ;1312a
+ DC.L $00141c04,$02020014,$1b8c0203,$00141aec ;1313a
+ DC.L $02040014,$1a4c0204,$00140152,$02060014 ;1314a
+ DC.L $01520206,$00140012,$02080014,$00120208 ;1315a
+ DC.L $00141cf4,$020d0014,$1cf4020d,$00140882 ;1316a
+ DC.L $02040014,$07ba0205,$001406ca,$02060014 ;1317a
+ DC.L $05b20207,$00140d7e,$04090014,$0bee040a ;1318a
+ DC.L $00140292,$02010014,$02920201,$00140242 ;1319a
+ DC.L $02020014,$02420202,$00140946,$04030014 ;131aa
+ DC.L $09460403,$001409d8,$02040014,$09d80204 ;131ba
+ DC.L $001405f8,$04060014,$05f80406,$001404b8 ;131ca
+ DC.L $04080014,$04b80408,$0014064c,$02040014 ;131da
+ DC.L $05840205,$00140494,$02060014,$037c0207 ;131ea
+ DC.L $0014023c,$02080014,$00ac020a,$001416de ;131fa
+ DC.L $04070014,$16de0407,$00141576,$04090014 ;1320a
+ DC.L $15760409,$00140d72,$060d0014,$0d72060d ;1321a
+ DC.L $00141a2a,$02060014,$1a2a0206,$001418c2 ;1322a
+ DC.L $02090014,$18c20209,$0014127e,$040c0014 ;1323a
+ DC.L $127e040c,$00141822,$02040014,$18220204 ;1324a
+ DC.L $001411b6,$04050014,$11b60405,$00140b92 ;1325a
+ DC.L $06070014,$0b920607,$001414fe,$04030014 ;1326a
+ DC.L $14fe0403,$0014145e,$04040014,$145e0404 ;1327a
+ DC.L $00140caa,$06050014,$0caa0605,$00141782 ;1328a
+ DC.L $02040014,$16e20204,$00141642,$02040014 ;1329a
+ DC.L $15520206,$00141412,$02080014,$12aa0209 ;132aa
+ DC.L $0014116a,$02080014,$116a0208,$00140f8a ;132ba
+ DC.L $020c0014,$0f8a020c,$00140ee6,$04120014 ;132ca
+ DC.L $0ee60412,$00140d82,$02030014,$0d0a0203 ;132da
+ DC.L $00140c42,$02050014,$0b7a0205,$00140a62 ;132ea
+ DC.L $02070014,$09220208,$00140f12,$02030014 ;132fa
+ DC.L $0f120203,$00140e9a,$02030014,$0e9a0203 ;1330a
+ DC.L $00140dfa,$02040014,$0dfa0204,$00141688 ;1331a
+ DC.L $02030014,$163c0204,$0014163a,$02050014 ;1332a
+ DC.L $075c0406,$00140644,$04070014,$05040408 ;1333a
+ DC.L $00140000,$ffff0000,$0000ffff ;1334a
+ DS.L 1 ;13356
+ DC.L $ffff0000,$0000ffff ;1335a
+ DS.L 1 ;13362
+ DC.L $ffff0000,$0000ffff ;13366
+ DS.W 1 ;1336e
+LAB_13370:
+ DS.L 1 ;13370
+ DC.L $0e060914,$18c80e14,$0d900c14,$001c0f14 ;13374
+ DC.L $0abc0c14,$08b40d14,$0c000a14,$02740e14 ;13384
+ DC.L $04a40e14,$06d40c14,$1b7e0a14,$00180914 ;13394
+ DC.L $15620c14,$123e0c14,$17b60b14,$15fe0b14 ;133a4
+ DC.L $0fc00c14,$16740c14,$141e0c14,$1b040e14 ;133b4
+ DC.L $11a00f14,$10d40d14,$12dc0d14,$0ef40c14 ;133c4
+ DC.L $1d080f14,$1d340e14,$05c60d14,$17420914 ;133d4
+ DC.L $196e0c14,$1b4e0b14,$1d060c14,$1ab00f14 ;133e4
+ DC.L $18580f14,$13f80f14,$0c9c0f14,$04a60f14 ;133f4
+ DC.L $11e80f14,$18aa0914,$1a120914,$1b7a0914 ;13404
+ DC.L $16500d14,$14e40a14,$06fe0b14,$14400a14 ;13414
+ DC.L $03de0514,$00200814,$01d60d14,$0ac00814 ;13424
+ DC.L $10d60914,$1ce20f14,$001e0b14,$07ce0914 ;13434
+ DC.L $08680f14,$06100f14,$03b80f14,$09520f14 ;13444
+ DC.L $0baa0f14,$0e020f14,$105a0f14,$12b20f14 ;13454
+ DC.L $150a0f14,$17620f14,$19ba0f14,$1c120f14 ;13464
+ DC.L $1b1a0f14,$1b1a0f14,$1b1a0f14,$199c0914 ;13474
+ DC.L $185c0814,$16f40914,$153c0b14,$135c0c14 ;13484
+ DC.L $11cc0a14,$10140b14,$0e5c0b14,$0b160e14 ;13494
+ DC.L $0b160e14,$1af80f14,$0f6e0914,$086c0c14 ;134a4
+ DC.L $0eae0c14,$0d6e0814,$045c0b14,$126a0414 ;134b4
+ DC.L $1b9c0914,$01660f14,$0c040f14,$03be0d14 ;134c4
+ DC.L $027a0c14,$00240e14,$0a4c0b14,$1d040e14 ;134d4
+ DC.L $14240e14,$06d20b14,$0ed20b14,$0d1a0b14 ;134e4
+ DC.L $07ca0b14,$0b620b14,$09360c14,$09820c14 ;134f4
+ DC.L $045a0b14,$06120b14,$1d500c14,$02540d14 ;13504
+ DC.L $00220f14,$06140f14,$108a0c14,$130a0f14 ;13514
+ DC.L $02220f14,$0dd80e0c ;13524
+LAB_1352C:
+ DC.L $0a900b0c,$1a0c0a14,$10580a14,$001a0d14 ;1352c
+ DC.L $17460e14,$14ee0f14,$12be0e14,$108e0e14 ;1353c
+ DC.L $1d0e0f14,$19760d14,$01600f14,$16540c14 ;1354c
+ DC.L $16540c14,$16540c14,$16540c14,$16540c14 ;1355c
+ DC.L $088a0514,$088a0514,$088a0514,$088a0514 ;1356c
+ DC.L $088a0514,$088a0514,$088a0514,$088a0514 ;1357c
+ DC.L $088a0514,$088a0514,$088a0514,$1c900b14 ;1358c
+ DC.L $1a8a0d14,$088a0514,$088a0514,$1d90080c ;1359c
+ DC.L $047a0f14 ;135ac
+LAB_135B0:
+ DC.L $01200000,$01220000,$01240000,$01260000 ;135b0
+ DC.L $01005000,$01020000,$0104001f,$00e00000 ;135c0
+ DC.L $00e20000,$00e40000,$00e60000,$00e80000 ;135d0
+ DC.L $00ea0000,$00ec0000,$00ee0000,$00f00000 ;135e0
+ DC.L $00f20000,$008e3081,$0090f8c1,$00920038 ;135f0
+ DC.L $0094c8d0,$edfffffe,$009c8010,$fffffffe ;13600
+ DC.L $fffffffe ;13610
+SUB_13614:
+ LEA LAB_135B0(PC),A1 ;13614: 43faff9a
+ MOVE.L $107A(A6),D0 ;13618: 202e107a
+ MOVE.W D0,6(A1) ;1361c: 33400006
+ SWAP D0 ;13620: 4840
+ MOVE.W D0,2(A1) ;13622: 33400002
+ SWAP D0 ;13626: 4840
+ ADDI.L #$00000048,D0 ;13628: 068000000048
+ MOVE.W D0,$E(A1) ;1362e: 3340000e
+ SWAP D0 ;13632: 4840
+ MOVE.W D0,$A(A1) ;13634: 3340000a
+ MOVE.L $1066(A6),D0 ;13638: 202e1066
+ MOVEQ #4,D1 ;1363c: 7204
+LAB_1363E:
+ SWAP D0 ;1363e: 4840
+ MOVE.W D0,$1E(A1) ;13640: 3340001e
+ SWAP D0 ;13644: 4840
+ MOVE.W D0,$22(A1) ;13646: 33400022
+ ADDI.L #$00001f40,D0 ;1364a: 068000001f40
+ LEA 8(A1),A1 ;13650: 43e90008
+ DBF D1,LAB_1363E ;13654: 51c9ffe8
+ MOVEA.L $106A(A6),A0 ;13658: 206e106a
+ LEA LAB_135B0(PC),A1 ;1365c: 43faff52
+ MOVEQ #$63,D0 ;13660: 7063
+LAB_13662:
+ MOVE.B (A1)+,(A0)+ ;13662: 10d9
+ DBF D0,LAB_13662 ;13664: 51c8fffc
+ MOVE.L $106A(A6),COP1LCH ;13668: 23ee106a00dff080
+ CLR.W COPJMP1 ;13670: 427900dff088
+ MOVEA.L $1066(A6),A0 ;13676: 206e1066
+ RTS ;1367a: 4e75
+LAB_1367C:
+ BSR.W SUB_137A6 ;1367c: 61000128
+ RTS ;13680: 4e75
+SUB_13682:
+ MOVE.W #$ffff,POTGO ;13682: 33fcffff00dff034
+ BSR.W SUB_136B6 ;1368a: 6100002a
+ BSR.W SUB_137A6 ;1368e: 61000116
+ BSR.W SUB_13AD2 ;13692: 6100043e
+ BSR.W SUB_136FE ;13696: 61000066
+ BSR.W SUB_13AD2 ;1369a: 61000436
+ RTS ;1369e: 4e75
+ MOVEQ #-1,D0 ;136a0: 70ff
+LAB_136A2:
+ ADDQ.W #1,COLOR00 ;136a2: 527900dff180
+ NOP ;136a8: 4e71
+ NOP ;136aa: 4e71
+ NOP ;136ac: 4e71
+ NOP ;136ae: 4e71
+ DBF D0,LAB_136A2 ;136b0: 51c8fff0
+ RTS ;136b4: 4e75
+SUB_136B6:
+ LEA LAB_14590(PC),A0 ;136b6: 41fa0ed8
+ MOVE.W JOY0DAT,(A0) ;136ba: 30b900dff00a
+ LEA LAB_13AAC(PC),A1 ;136c0: 43fa03ea
+ LEA HARDBASE,A0 ;136c4: 41f900dff000
+ MOVE.W $10(A0),$22(A1) ;136ca: 336800100022
+ MOVE.W $1C(A0),$20(A1) ;136d0: 3368001c0020
+ MOVE.W 2(A0),$24(A1) ;136d6: 336800020024
+ MOVEA.L A1,A4 ;136dc: 2849
+ LEA AUTO_INT1.W,A5 ;136de: 4bf80064
+ LEA LAB_1379C(PC),A3 ;136e2: 47fa00b8
+ MOVEQ #6,D0 ;136e6: 7006
+LAB_136E8:
+ MOVE.L (A5),(A4)+ ;136e8: 28d5
+ MOVE.L A3,(A5)+ ;136ea: 2acb
+ DBF D0,LAB_136E8 ;136ec: 51c8fffa
+ MOVE.W #$7fff,$9A(A0) ;136f0: 317c7fff009a
+ MOVE.W #$7fff,$96(A0) ;136f6: 317c7fff0096
+ RTS ;136fc: 4e75
+SUB_136FE:
+ BSR.W SUB_1393A ;136fe: 6100023a
+ LEA LAB_13810(PC),A0 ;13702: 41fa010c
+ LEA LAB_138AC(PC),A1 ;13706: 43fa01a4
+ LEA LAB_13838(PC),A2 ;1370a: 45fa012c
+ LEA LAB_1381A(PC),A3 ;1370e: 47fa010a
+ LEA LAB_13824(PC),A4 ;13712: 49fa0110
+ LEA LAB_1382E(PC),A5 ;13716: 4bfa0116
+ MOVE.L A0,AUTO_INT1.W ;1371a: 21c80064
+ MOVE.L A1,AUTO_INT2.W ;1371e: 21c90068
+ MOVE.L A2,AUTO_INT3.W ;13722: 21ca006c
+ MOVE.L A3,AUTO_INT4.W ;13726: 21cb0070
+ MOVE.L A4,AUTO_INT5.W ;1372a: 21cc0074
+ MOVE.L A5,AUTO_INT6.W ;1372e: 21cd0078
+ LEA LAB_13836(PC),A0 ;13732: 41fa0102
+; interrupt
+ MOVE.L A0,NMI.W ;13736: 21c8007c
+ MOVE.W #$8000,BLTADAT ;1373a: 33fc800000dff074
+ MOVE.W #$7fff,DMACON ;13742: 33fc7fff00dff096
+ MOVE.W #$7fff,INTENA ;1374a: 33fc7fff00dff09a
+ BSR.W SUB_13770 ;13752: 6100001c
+ MOVE.W #$87ef,DMACON ;13756: 33fc87ef00dff096
+ MOVE.W #$c038,INTENA ;1375e: 33fcc03800dff09a
+ MOVE.W #$3fff,INTREQ ;13766: 33fc3fff00dff09c
+ RTS ;1376e: 4e75
+SUB_13770:
+ MOVEM.L D0/A0-A2,-(A7) ;13770: 48e780e0
+ LEA BUS_ERROR.W,A0 ;13774: 41f80008
+ CLR.L (A0) ;13778: 4290
+ LEA AUD0LCH,A2 ;1377a: 45f900dff0a0
+ MOVEQ #3,D0 ;13780: 7003
+LAB_13782:
+ MOVEA.L A2,A1 ;13782: 224a
+ MOVE.L A0,(A1)+ ;13784: 22c8
+ MOVE.L #$00020200,(A1)+ ;13786: 22fc00020200
+ CLR.W (A1)+ ;1378c: 4259
+ LEA $10(A2),A2 ;1378e: 45ea0010
+ DBF D0,LAB_13782 ;13792: 51c8ffee
+ MOVEM.L (A7)+,D0/A0-A2 ;13796: 4cdf0701
+ RTS ;1379a: 4e75
+LAB_1379C:
+ MOVE.W #$7fff,INTREQ ;1379c: 33fc7fff00dff09c
+ RTE ;137a4: 4e73
+SUB_137A6:
+ LEA LAB_13AAC(PC),A1 ;137a6: 43fa0304
+ MOVE.W #$7fff,INTENA ;137aa: 33fc7fff00dff09a
+ MOVE.W #$7fff,DMACON ;137b2: 33fc7fff00dff096
+ MOVE.W #$7fff,ADKCON ;137ba: 33fc7fff00dff09e
+ MOVE.W #$3fff,INTREQ ;137c2: 33fc3fff00dff09c
+ RTS ;137ca: 4e75
+LAB_137CC:
+ MOVE.L A6,-(A7) ;137cc: 2f0e
+ LEA GraphicsLib(PC),A1 ;137ce: 43fa002a
+ MOVEQ #0,D0 ;137d2: 7000
+ MOVEA.L ABSEXECBASE.W,A6 ;137d4: 2c780004
+ JSR _LVOOpenLibrary(A6) ;137d8: 4eaefdd8
+ MOVEA.L D0,A1 ;137dc: 2240
+ LEA LAB_1380C(PC),A0 ;137de: 41fa002c
+ MOVE.L D0,(A0) ;137e2: 2080
+ MOVE.L copinit(A1),COP1LCH ;137e4: 23e9002600dff080
+ CLR.W COPJMP1 ;137ec: 427900dff088
+ JSR _LVOCloseLibrary(A6) ;137f2: 4eaefe62
+ MOVEA.L (A7)+,A6 ;137f6: 2c5f
+ RTS ;137f8: 4e75
+GraphicsLib:
+ ;137fa
+ ;DC.B $67,$72,$61,$70,$68,$69,$63,$73,$2e,$6c,$69,$62,$72,$61,$72,$79
+ ;DC.B $00,$00
+ DC.B "graphics.library",0,0
+LAB_1380C:
+ DS.L 1 ;1380c
+LAB_13810:
+ MOVE.W #$0007,INTREQ ;13810: 33fc000700dff09c
+ RTE ;13818: 4e73
+LAB_1381A:
+ MOVE.W #$0780,INTREQ ;1381a: 33fc078000dff09c
+ RTE ;13822: 4e73
+LAB_13824:
+ MOVE.W #$ffff,INTREQ ;13824: 33fcffff00dff09c
+ RTE ;1382c: 4e73
+LAB_1382E:
+ MOVE.W #$ffff,INTREQ ;1382e: 33fcffff00dff09c
+LAB_13836:
+ RTE ;13836: 4e73
+LAB_13838:
+ MOVEM.L D0/A0,-(A7) ;13838: 48e78080
+ MOVE.W INTREQR,D0 ;1383c: 303900dff01e
+ BTST #5,D0 ;13842: 08000005
+ BNE.W LAB_13870 ;13846: 66000028
+ BTST #4,D0 ;1384a: 08000004
+ BNE.S LAB_1385E ;1384e: 660e
+ MOVE.W #$0050,INTREQ ;13850: 33fc005000dff09c
+ MOVEM.L (A7)+,D0/A0 ;13858: 4cdf0101
+ RTE ;1385c: 4e73
+LAB_1385E:
+ BSR.S LAB_1386E ;1385e: 610e
+ MOVE.W #$0010,INTREQ ;13860: 33fc001000dff09c
+ MOVEM.L (A7)+,D0/A0 ;13868: 4cdf0101
+ RTE ;1386c: 4e73
+LAB_1386E:
+ RTS ;1386e: 4e75
+LAB_13870:
+ BSR.S LAB_13880 ;13870: 610e
+ MOVE.W #$0020,INTREQ ;13872: 33fc002000dff09c
+ MOVEM.L (A7)+,D0/A0 ;1387a: 4cdf0101
+ RTE ;1387e: 4e73
+LAB_13880:
+ LEA SPR2PTH,A0 ;13880: 41f900dff128
+ MOVEQ #5,D0 ;13886: 7005
+LAB_13888:
+ CLR.L (A0)+ ;13888: 4298
+ DBF D0,LAB_13888 ;1388a: 51c8fffc
+ LEA LAB_13A9C(PC),A0 ;1388e: 41fa020c
+ ADDQ.W #1,(A0) ;13892: 5250
+ ADDQ.W #1,2(A0) ;13894: 52680002
+ LEA LAB_1989A(PC),A0 ;13898: 41fa6000
+ ADDQ.W #1,(A0) ;1389c: 5250
+ MOVEM.L D1-D7/A1-A6,-(A7) ;1389e: 48e77f7e
+ BSR.W LAB_14520 ;138a2: 61000c7c
+ MOVEM.L (A7)+,D1-D7/A1-A6 ;138a6: 4cdf7efe
+ RTS ;138aa: 4e75
+LAB_138AC:
+ MOVEM.L D0-D1/A0-A1,-(A7) ;138ac: 48e7c0c0
+ MOVE.W INTREQR,D0 ;138b0: 303900dff01e
+ BTST #3,D0 ;138b6: 08000003
+ BEQ.S LAB_138D4 ;138ba: 6718
+ MOVEQ #-1,D0 ;138bc: 70ff
+ LEA CIAA_PRA,A0 ;138be: 41f900bfe001
+ MOVE.B $D00(A0),D1 ;138c4: 12280d00
+ BTST #3,D1 ;138c8: 08010003
+ BEQ.W LAB_138D4 ;138cc: 67000006
+ BSR.W LAB_138E2 ;138d0: 61000010
+LAB_138D4:
+ MOVE.W #$0008,INTREQ ;138d4: 33fc000800dff09c
+ MOVEM.L (A7)+,D0-D1/A0-A1 ;138dc: 4cdf0303
+ RTE ;138e0: 4e73
+LAB_138E2:
+ MOVE.B $C00(A0),D0 ;138e2: 10280c00
+ ANDI.B #$bf,$E00(A0) ;138e6: 022800bf0e00
+ NOT.B D0 ;138ec: 4600
+ ROR.B #1,D0 ;138ee: e218
+ ANDI.W #$00ff,D0 ;138f0: 024000ff
+ BSR.W LAB_13926 ;138f4: 61000030
+ LEA CIAA_PRA,A0 ;138f8: 41f900bfe001
+ MOVEM.L D1-D2,-(A7) ;138fe: 48e76000
+ ORI.B #$40,$E00(A0) ;13902: 002800400e00
+ MOVEQ #2,D0 ;13908: 7002
+LAB_1390A:
+ MOVE.B VHPOSR,D1 ;1390a: 123900dff006
+ CMP.B D1,D2 ;13910: b401
+ BEQ.S LAB_1390A ;13912: 67f6
+ MOVE.W D1,D2 ;13914: 3401
+ DBF D0,LAB_1390A ;13916: 51c8fff2
+ MOVEM.L (A7)+,D1-D2 ;1391a: 4cdf0006
+ ANDI.B #$bf,$E00(A0) ;1391e: 022800bf0e00
+ RTS ;13924: 4e75
+LAB_13926:
+ LEA LAB_13A1C(PC),A1 ;13926: 43fa00f4
+ CMP.W #$00f9,D0 ;1392a: b07c00f9
+ BEQ.S SUB_1393A ;1392e: 670a
+ CMP.W #$00fe,D0 ;13930: b07c00fe
+ BHI.S LAB_13946 ;13934: 6210
+ BLS.W LAB_13948 ;13936: 63000010
+SUB_1393A:
+ MOVEQ #$1F,D0 ;1393a: 701f
+ LEA LAB_13A1C(PC),A1 ;1393c: 43fa00de
+LAB_13940:
+ CLR.L (A1)+ ;13940: 4299
+ DBF D0,LAB_13940 ;13942: 51c8fffc
+LAB_13946:
+ RTS ;13946: 4e75
+LAB_13948:
+ MOVE.L D1,-(A7) ;13948: 2f01
+ LEA LAB_13A12(PC),A0 ;1394a: 41fa00c6
+ MOVE.W D0,D1 ;1394e: 3200
+ ANDI.W #$007f,D0 ;13950: 0240007f
+ CMP.W #$0067,D0 ;13954: b07c0067
+ BHI.S LAB_139C8 ;13958: 626e
+ BTST #7,D1 ;1395a: 08010007
+ BNE.S LAB_139BC ;1395e: 665c
+ CMP.W #$0046,D0 ;13960: b07c0046
+ BEQ.S LAB_13970 ;13964: 670a
+ CMP.W #$005f,D0 ;13966: b07c005f
+ BNE.S LAB_1398A ;1396a: 661e
+ MOVEQ #0,D0 ;1396c: 7000
+ BRA.S LAB_13972 ;1396e: 6002
+LAB_13970:
+ MOVEQ #1,D0 ;13970: 7001
+LAB_13972:
+ MOVEM.L D1-D3/A1/A6,-(A7) ;13972: 48e77042
+ MOVEA.L LAB_14A64(PC),A6 ;13976: 2c7a10ec
+LAB_1397A:
+ MOVE.L #$00006376,D1 ;1397a: 223c00006376
+ JSR LAB_1397A(PC,D1.L) ;13980: 4ebb18f8
+ MOVEM.L (A7)+,D1-D3/A1/A6 ;13984: 4cdf420e
+ BRA.S LAB_139BC ;13988: 6032
+LAB_1398A:
+ CMPI.W #$0002,(A0) ;1398a: 0c500002
+ BHI.S LAB_139BC ;1398e: 622c
+ MOVEM.W D0-D1,-(A7) ;13990: 48a7c000
+ MOVE.W 6(A0),D1 ;13994: 32280006
+ ADDQ.W #1,D1 ;13998: 5241
+ ANDI.W #$0003,D1 ;1399a: 02410003
+ TST.B $60(A1) ;1399e: 4a290060
+ BNE.S LAB_139AA ;139a2: 6606
+ TST.B $61(A1) ;139a4: 4a290061
+ BEQ.S LAB_139AE ;139a8: 6704
+LAB_139AA:
+ BSET #7,D0 ;139aa: 08c00007
+LAB_139AE:
+ MOVE.B D0,2(A0,D1.W) ;139ae: 11801002
+ MOVE.W D1,6(A0) ;139b2: 31410006
+ ADDQ.W #1,(A0) ;139b6: 5250
+ MOVEM.W (A7)+,D0-D1 ;139b8: 4c9f0003
+LAB_139BC:
+ ANDI.W #$0080,D1 ;139bc: 02410080
+ EORI.W #$0080,D1 ;139c0: 0a410080
+ MOVE.B D1,0(A1,D0.W) ;139c4: 13810000
+LAB_139C8:
+ MOVE.L (A7)+,D1 ;139c8: 221f
+ RTS ;139ca: 4e75
+LAB_139CC:
+ MOVE.L A0,-(A7) ;139cc: 2f08
+ ANDI.W #$007f,D0 ;139ce: 0240007f
+ LEA LAB_13A1C(PC),A0 ;139d2: 41fa0048
+ TST.B 0(A0,D0.W) ;139d6: 4a300000
+ MOVEA.L (A7)+,A0 ;139da: 205f
+ RTS ;139dc: 4e75
+SUB_139DE:
+ MOVE.L A0,-(A7) ;139de: 2f08
+ LEA LAB_13A12(PC),A0 ;139e0: 41fa0030
+ CLR.W D0 ;139e4: 4240
+ TST.W (A0) ;139e6: 4a50
+ BEQ.S LAB_139FC ;139e8: 6712
+ MOVE.W 6(A0),D0 ;139ea: 30280006
+ SUB.W (A0),D0 ;139ee: 9050
+ SUBQ.W #1,(A0) ;139f0: 5350
+ ADDQ.W #1,D0 ;139f2: 5240
+ ANDI.W #$0003,D0 ;139f4: 02400003
+ MOVE.B 2(A0,D0.W),D0 ;139f8: 10300002
+LAB_139FC:
+ MOVE.W D0,8(A0) ;139fc: 31400008
+ MOVEA.L (A7)+,A0 ;13a00: 205f
+ RTS ;13a02: 4e75
+ MOVE.W LAB_13A1A(PC),D0 ;13a04: 303a0014
+ RTS ;13a08: 4e75
+SUB_13A0A:
+ LEA LAB_13A1A(PC),A0 ;13a0a: 41fa000e
+ CLR.W (A0) ;13a0e: 4250
+ RTS ;13a10: 4e75
+LAB_13A12:
+ DS.L 2 ;13a12
+LAB_13A1A:
+ DS.W 1 ;13a1a
+LAB_13A1C:
+ DS.L $20 ;13a1c
+LAB_13A9C:
+ DS.L 1 ;13a9c
+ DS.W 1 ;13aa0
+LAB_13AA2:
+ MOVE.W #$0000,JOYTEST ;13aa2: 33fc000000dff036
+ RTS ;13aaa: 4e75
+LAB_13AAC:
+ DS.L 9 ;13aac
+ DS.W 1 ;13ad0
+SUB_13AD2:
+ BSET #3,CIAB_PRB ;13ad2: 08f9000300bfd100
+ BSET #7,CIAB_PRB ;13ada: 08f9000700bfd100
+ BCLR #3,CIAB_PRB ;13ae2: 08b9000300bfd100
+ BSET #3,CIAB_PRB ;13aea: 08f9000300bfd100
+ BSET #4,CIAB_PRB ;13af2: 08f9000400bfd100
+ BSET #7,CIAB_PRB ;13afa: 08f9000700bfd100
+ BCLR #4,CIAB_PRB ;13b02: 08b9000400bfd100
+ BSET #4,CIAB_PRB ;13b0a: 08f9000400bfd100
+ RTS ;13b12: 4e75
+ TST.W DMACONR ;13b14: 4a7900dff002
+LAB_13B1A:
+ BTST #6,DMACONR ;13b1a: 0839000600dff002
+ BNE.S LAB_13B1A ;13b22: 66f6
+ RTS ;13b24: 4e75
+LAB_13B26:
+ BTST #6,CIAA_PRA ;13b26: 0839000600bfe001
+ BNE.S LAB_13B26 ;13b2e: 66f6
+ RTS ;13b30: 4e75
+fed:
+ ;13b32
+ ;DC.B $46,$45,$44,$3f,$3a,$00
+ DC.B "FED?:",0
+fed4_pic:
+; Main game screen background
+ ;13b38
+ ;DC.B $32,$46,$45,$44,$34,$2e,$50,$49,$43,$00
+ DC.B "2FED4.PIC",0
+fed5_pic:
+; Main game screen graphics
+ ;13b42
+ ;DC.B $32,$46,$45,$44,$35,$2e,$50,$49,$43,$00
+ DC.B "2FED5.PIC",0
+fed8_pic:
+; Weapons, sprites, items
+ ;13b4c
+ ;DC.B $32,$46,$45,$44,$38,$2e,$50,$49,$43,$00
+ DC.B "2FED8.PIC",0
+fed_sounds:
+ ;13b56
+ ;DC.B $31,$46,$45,$44,$5f,$53,$4f,$55,$4e,$44,$53,$00
+ DC.B "1FED_SOUNDS",0
+fed_sounds2:
+ ;13b62
+ ;DC.B $31,$46,$45,$44,$5f,$53,$4f,$55,$4e,$44,$53,$32,$00
+ DC.B "1FED_SOUNDS2",0
+str2bl_maps:
+ ;13b6f
+ ;DC.B $32,$42,$4c,$5f,$4d,$41,$50,$53,$00
+ DC.B "2BL_MAPS",0
+palette1:
+ DC.L $00000545,$08560a68,$099b0333,$05000700 ;13b78
+ DC.L $04640975,$0b960797,$09b90db7,$0cc70de9 ;13b88
+ DC.L $04440874,$05410000,$06520221,$05570778 ;13b98
+ DC.L $02620d00,$0dc40dfd,$0a950343,$06650886 ;13ba8
+palette2:
+ DC.L $00000444,$0648066a,$08880420,$02200420 ;13bb8
+ DC.L $06660864,$0a860888,$0ca80ca8,$0ca80ddd ;13bc8
+ DC.L $04440864,$04200000,$06420220,$0648066a ;13bd8
+ DC.L $02620c00,$0ca80ddd,$0a860444,$06660888 ;13be8
+LAB_13BF8:
+ DS.L $10 ;13bf8
+LAB_13C38:
+ CLR.W $FAA(A6) ;13c38: 426e0faa
+ MOVEM.L D0/A0-A1,-(A7) ;13c3c: 48e780c0
+ LEA COLOR00,A0 ;13c40: 41f900dff180
+ LEA LAB_13BF8(PC),A1 ;13c46: 43faffb0
+ MOVEQ #$1F,D0 ;13c4a: 701f
+LAB_13C4C:
+ MOVE.W (A1)+,(A0)+ ;13c4c: 30d9
+ DBF D0,LAB_13C4C ;13c4e: 51c8fffc
+ MOVEA.L $106A(A6),A0 ;13c52: 206e106a
+ MOVE.W #$0081,D0 ;13c56: 303c0081
+ ADD.W $AA4(A6),D0 ;13c5a: d06e0aa4
+ ADD.W $AA4(A6),D0 ;13c5e: d06e0aa4
+ MOVE.B D0,$47(A0) ;13c62: 11400047
+ ADDI.W #$0040,D0 ;13c66: 06400040
+ MOVE.B D0,$4B(A0) ;13c6a: 1140004b
+ MOVEA.L $106A(A6),A0 ;13c6e: 206e106a
+ MOVE.W #$0030,D0 ;13c72: 303c0030
+ ADD.W $AA6(A6),D0 ;13c76: d06e0aa6
+ ADD.W $AA6(A6),D0 ;13c7a: d06e0aa6
+ MOVE.B D0,$46(A0) ;13c7e: 11400046
+ ADDI.W #$00c8,D0 ;13c82: 064000c8
+ MOVE.B D0,$4A(A0) ;13c86: 1140004a
+ MOVE.W #$0038,D0 ;13c8a: 303c0038
+ ADD.W $AA4(A6),D0 ;13c8e: d06e0aa4
+ MOVE.B D0,$4F(A0) ;13c92: 1140004f
+ ADDI.W #$0098,D0 ;13c96: 06400098
+ MOVE.B D0,$53(A0) ;13c9a: 11400053
+ MOVE.W $AA4(A6),D0 ;13c9e: 302e0aa4
+ ADD.W D0,D0 ;13ca2: d040
+ ANDI.W #$000f,D0 ;13ca4: 0240000f
+ MOVE.W D0,-(A7) ;13ca8: 3f00
+ ASL.W #4,D0 ;13caa: e940
+ ADD.W (A7)+,D0 ;13cac: d05f
+ MOVE.B D0,$17(A0) ;13cae: 11400017
+ MOVEM.L (A7)+,D0/A0-A1 ;13cb2: 4cdf0301
+ RTS ;13cb6: 4e75
+SUB_13CB8:
+ ST $FAA(A6) ;13cb8: 50ee0faa
+ MOVEM.L D1/A0,-(A7) ;13cbc: 48e74080
+ LEA COLOR00,A0 ;13cc0: 41f900dff180
+ MOVEQ #$1F,D1 ;13cc6: 721f
+LAB_13CC8:
+ CLR.W (A0)+ ;13cc8: 4258
+ DBF D1,LAB_13CC8 ;13cca: 51c9fffc
+ MOVEM.L (A7)+,D1/A0 ;13cce: 4cdf0102
+ RTS ;13cd2: 4e75
+SUB_13CD4:
+ BTST #0,D3 ;13cd4: 08030000
+ BNE.S LAB_13CEC ;13cd8: 6612
+ MOVE.W D3,-(A7) ;13cda: 3f03
+ ANDI.W #$00fe,D3 ;13cdc: 024300fe
+ AND.W D5,0(A1,D3.W) ;13ce0: cb713000
+ OR.W D6,0(A1,D3.W) ;13ce4: 8d713000
+ MOVE.W (A7)+,D3 ;13ce8: 361f
+ RTS ;13cea: 4e75
+LAB_13CEC:
+ MOVEM.W D3/D5-D6,-(A7) ;13cec: 48a71600
+ ANDI.W #$00fe,D3 ;13cf0: 024300fe
+ AND.B D5,2(A1,D3.W) ;13cf4: cb313002
+ OR.B D6,2(A1,D3.W) ;13cf8: 8d313002
+ LSR.W #8,D5 ;13cfc: e04d
+ LSR.W #8,D6 ;13cfe: e04e
+ AND.B D5,1(A1,D3.W) ;13d00: cb313001
+ OR.B D6,1(A1,D3.W) ;13d04: 8d313001
+ MOVEM.W (A7)+,D3/D5-D6 ;13d08: 4c9f0068
+ RTS ;13d0c: 4e75
+SUB_13D0E:
+ MOVE.W #$0709,D1 ;13d0e: 323c0709
+ MOVEA.L $1066(A6),A1 ;13d12: 226e1066
+ LEA $1ABC(A1),A1 ;13d16: 43e91abc
+ MOVEA.L $1022(A6),A0 ;13d1a: 206e1022
+ BRA.S LAB_13D52 ;13d1e: 6032
+SUB_13D20:
+ MOVEA.L $1066(A6),A1 ;13d20: 226e1066
+ ADDA.W D1,A1 ;13d24: d2c1
+ MOVE.W #$1909,D1 ;13d26: 323c1909
+ MOVEA.L $1022(A6),A0 ;13d2a: 206e1022
+ BRA.S LAB_13D52 ;13d2e: 6022
+SUB_13D30:
+ MOVEA.L $1066(A6),A1 ;13d30: 226e1066
+ LEA $874(A1),A1 ;13d34: 43e90874
+ MOVE.W #$1c09,D1 ;13d38: 323c1c09
+ MOVEA.L $1022(A6),A0 ;13d3c: 206e1022
+ TST.B $101(A6) ;13d40: 4a2e0101
+ BEQ.S LAB_13D52 ;13d44: 670c
+ CLR.B $101(A6) ;13d46: 422e0101
+ ADDA.W #$0028,A0 ;13d4a: d0fc0028
+ MOVE.W #$1b89,D1 ;13d4e: 323c1b89
+LAB_13D52:
+ MOVE.L #$00020016,D2 ;13d52: 243c00020016
+ LEA HARDBASE,A2 ;13d58: 45f900dff000
+ MOVE.L #$ffffffff,$44(A2) ;13d5e: 257cffffffff0044
+ MOVEQ #4,D0 ;13d66: 7004
+LAB_13D68:
+ MOVE.L D2,$64(A2) ;13d68: 25420064
+ MOVE.L #$09f00000,$40(A2) ;13d6c: 257c09f000000040
+ MOVE.L A0,$50(A2) ;13d74: 25480050
+ MOVE.L A1,$54(A2) ;13d78: 25490054
+ MOVE.W D1,$58(A2) ;13d7c: 35410058
+ TST.W 2(A2) ;13d80: 4a6a0002
+LAB_13D84:
+ BTST #6,2(A2) ;13d84: 082a00060002
+ BNE.S LAB_13D84 ;13d8a: 66f8
+ LEA $8C0(A0),A0 ;13d8c: 41e808c0
+ LEA $1F40(A1),A1 ;13d90: 43e91f40
+ DBF D0,LAB_13D68 ;13d94: 51c8ffd2
+ RTS ;13d98: 4e75
+ MOVEA.L $1066(A6),A1 ;13d9a: 226e1066
+ LEA $665C(A1),A1 ;13d9e: 43e9665c
+ LEA $1F40(A1),A1 ;13da2: 43e91f40
+ MOVEA.L $1076(A6),A0 ;13da6: 206e1076
+ LEA HARDBASE,A2 ;13daa: 45f900dff000
+ MOVE.L A0,$50(A2) ;13db0: 25480050
+ MOVE.L #$ffee003e,$64(A2) ;13db4: 257cffee003e0064
+ MOVE.L #$ffffffff,$44(A2) ;13dbc: 257cffffffff0044
+ ORI.W #$0010,D7 ;13dc4: 00470010
+ MOVEQ #4,D5 ;13dc8: 7a04
+LAB_13DCA:
+ MOVE.L #$09f00000,D6 ;13dca: 2c3c09f00000
+ BTST D5,D7 ;13dd0: 0b07
+ BEQ.S LAB_13DDA ;13dd2: 6706
+ MOVE.L #$090f0000,D6 ;13dd4: 2c3c090f0000
+LAB_13DDA:
+ MOVE.L A1,$54(A2) ;13dda: 25490054
+ MOVE.L D6,$40(A2) ;13dde: 25460040
+ MOVE.W #$0e09,$58(A2) ;13de2: 357c0e090058
+ TST.W 2(A2) ;13de8: 4a6a0002
+LAB_13DEC:
+ BTST #6,2(A2) ;13dec: 082a00060002
+ BNE.S LAB_13DEC ;13df2: 66f8
+ LEA -8000(A1),A1 ;13df4: 43e9e0c0
+ DBF D5,LAB_13DCA ;13df8: 51cdffd0
+ RTS ;13dfc: 4e75
+ DC.L $00000001,$00030004,$00050006,$00070002 ;13dfe
+SUB_13E0E:
+ NOT.W $BC6(A6) ;13e0e: 466e0bc6
+ MOVEA.L $1066(A6),A0 ;13e12: 206e1066
+ MOVEA.L $102A(A6),A1 ;13e16: 226e102a
+ MOVE.L A6,-(A7) ;13e1a: 2f0e
+ MOVEA.L A0,A4 ;13e1c: 2848
+ MOVEA.L A0,A5 ;13e1e: 2a48
+ MOVEA.L A1,A6 ;13e20: 2c49
+ MOVEQ #0,D6 ;13e22: 7c00
+ MOVEQ #0,D5 ;13e24: 7a00
+ MOVE.W #$0207,D1 ;13e26: 323c0207
+LAB_13E2A:
+ MOVEA.L A5,A0 ;13e2a: 204d
+ MOVEA.L A6,A1 ;13e2c: 224e
+ MOVE.W D5,D0 ;13e2e: 3005
+LAB_13E30:
+ MOVEQ #0,D2 ;13e30: 7400
+ MOVE.W D0,D2 ;13e32: 3400
+ LSR.W #3,D2 ;13e34: e64a
+ LEA 0(A0,D2.W),A2 ;13e36: 45f02000
+ LEA 0(A1,D2.W),A3 ;13e3a: 47f12000
+ MOVEQ #4,D3 ;13e3e: 7604
+LAB_13E40:
+ BTST D0,(A3) ;13e40: 0113
+ BEQ.S LAB_13E48 ;13e42: 6704
+ BSET D0,(A2) ;13e44: 01d2
+ BRA.S LAB_13E4A ;13e46: 6002
+LAB_13E48:
+ BCLR D0,(A2) ;13e48: 0192
+LAB_13E4A:
+ LEA $1F40(A2),A2 ;13e4a: 45ea1f40
+ LEA $1F40(A3),A3 ;13e4e: 47eb1f40
+ DBF D3,LAB_13E40 ;13e52: 51cbffec
+ CMP.W #$013f,D0 ;13e56: b07c013f
+ BHI.S LAB_13E6C ;13e5a: 6210
+ CMPA.L A4,A0 ;13e5c: b1cc
+ BLS.S LAB_13E6C ;13e5e: 630c
+ ADDQ.W #1,D0 ;13e60: 5240
+ LEA -40(A0),A0 ;13e62: 41e8ffd8
+ LEA -40(A1),A1 ;13e66: 43e9ffd8
+ BRA.S LAB_13E30 ;13e6a: 60c4
+LAB_13E6C:
+ ADDQ.W #1,D6 ;13e6c: 5246
+ CMP.W #$00c8,D6 ;13e6e: bc7c00c8
+ BLS.S LAB_13E78 ;13e72: 6304
+ ADDQ.W #1,D5 ;13e74: 5245
+ BRA.S LAB_13E80 ;13e76: 6008
+LAB_13E78:
+ LEA $28(A5),A5 ;13e78: 4bed0028
+ LEA $28(A6),A6 ;13e7c: 4dee0028
+LAB_13E80:
+ DBF D1,LAB_13E2A ;13e80: 51c9ffa8
+ MOVEA.L (A7)+,A6 ;13e84: 2c5f
+ CLR.L $BBE(A6) ;13e86: 42ae0bbe
+ CLR.W $BC6(A6) ;13e8a: 426e0bc6
+LAB_13E8E:
+ RTS ;13e8e: 4e75
+SUB_13E90:
+ MOVE.L $B90(A6),D0 ;13e90: 202e0b90
+ BEQ.S LAB_13E8E ;13e94: 67f8
+ MOVEA.L $1066(A6),A0 ;13e96: 206e1066
+ LEA $874(A0),A0 ;13e9a: 41e80874
+ ADDI.L #$00009c40,D0 ;13e9e: 068000009c40
+ MOVEA.L D0,A1 ;13ea4: 2240
+ MOVEQ #$6F,D1 ;13ea6: 726f
+ MOVEA.L A0,A2 ;13ea8: 2448
+LAB_13EAA:
+ MOVEQ #8,D0 ;13eaa: 7008
+LAB_13EAC:
+ MOVE.W $1F40(A2),$7E0(A1) ;13eac: 336a1f4007e0
+ MOVE.W $3E80(A2),$FC0(A1) ;13eb2: 336a3e800fc0
+ MOVE.W $5DC0(A2),$17A0(A1) ;13eb8: 336a5dc017a0
+ MOVE.W $7D00(A2),$1F80(A1) ;13ebe: 336a7d001f80
+ MOVE.W (A2)+,(A1)+ ;13ec4: 32da
+ DBF D0,LAB_13EAC ;13ec6: 51c8ffe4
+ LEA $16(A2),A2 ;13eca: 45ea0016
+ DBF D1,LAB_13EAA ;13ece: 51c9ffda
+ RTS ;13ed2: 4e75
+SUB_13ED4:
+ LEA HARDBASE,A0 ;13ed4: 41f900dff000
+ MOVE.W D1,D3 ;13eda: 3601
+ ADD.W D1,D1 ;13edc: d241
+ MOVEQ #$12,D4 ;13ede: 7812
+ MOVE.W $34(A6),D5 ;13ee0: 3a2e0034
+ SUBQ.W #2,D5 ;13ee4: 5545
+ SUB.W D1,D4 ;13ee6: 9841
+ SUB.W D1,D5 ;13ee8: 9a41
+ ASL.W #6,D2 ;13eea: ed42
+ ADD.W D3,D2 ;13eec: d443
+ ADDI.W #$0041,D2 ;13eee: 06420041
+ RTS ;13ef2: 4e75
+LAB_13EF4:
+ BSR.S SUB_13ED4 ;13ef4: 61de
+ MOVE.L #$ffffffff,$44(A0) ;13ef6: 217cffffffff0044
+ MOVE.L #$09f00000,$40(A0) ;13efe: 217c09f000000040
+ MOVEQ #4,D0 ;13f06: 7004
+ MOVE.W D5,$64(A0) ;13f08: 31450064
+ MOVE.W D4,$66(A0) ;13f0c: 31440066
+LAB_13F10:
+ MOVE.L A2,$50(A0) ;13f10: 214a0050
+ MOVE.L A1,$54(A0) ;13f14: 21490054
+ MOVE.W D2,$58(A0) ;13f18: 31420058
+ TST.W 2(A0) ;13f1c: 4a680002
+LAB_13F20:
+ BTST #6,2(A0) ;13f20: 082800060002
+ BNE.S LAB_13F20 ;13f26: 66f8
+ LEA $8C0(A1),A1 ;13f28: 43e908c0
+ LEA $1F40(A2),A2 ;13f2c: 45ea1f40
+ DBF D0,LAB_13F10 ;13f30: 51c8ffde
+ RTS ;13f34: 4e75
+LAB_13F36:
+ BSR.S SUB_13ED4 ;13f36: 619c
+ MOVE.L #$ffffffff,$44(A0) ;13f38: 217cffffffff0044
+ MOVEA.L $106E(A6),A3 ;13f40: 266e106e
+ MOVE.L A2,-(A7) ;13f44: 2f0a
+ MOVEQ #0,D6 ;13f46: 7c00
+ BSR.S SUB_13F50 ;13f48: 6106
+ MOVEA.L (A7)+,A2 ;13f4a: 245f
+ MOVEQ #0,D6 ;13f4c: 7c00
+ BRA.S LAB_13FB2 ;13f4e: 6062
+SUB_13F50:
+ MOVE.L D6,D0 ;13f50: 2006
+ MOVE.L #$09f00000,D0 ;13f52: 203c09f00000
+ MOVE.W D5,$64(A0) ;13f58: 31450064
+ MOVE.W D4,$66(A0) ;13f5c: 31440066
+ MOVE.L A2,$50(A0) ;13f60: 214a0050
+ MOVE.L A3,$54(A0) ;13f64: 214b0054
+ MOVE.L D0,$40(A0) ;13f68: 21400040
+ MOVE.W D2,$58(A0) ;13f6c: 31420058
+ TST.W 2(A0) ;13f70: 4a680002
+LAB_13F74:
+ BTST #6,2(A0) ;13f74: 082800060002
+ BNE.S LAB_13F74 ;13f7a: 66f8
+ MOVE.L #$0dfc0000,D6 ;13f7c: 2c3c0dfc0000
+ MOVEQ #3,D0 ;13f82: 7003
+LAB_13F84:
+ LEA $1F40(A2),A2 ;13f84: 45ea1f40
+ MOVE.W D4,$62(A0) ;13f88: 31440062
+ MOVE.L A3,$4C(A0) ;13f8c: 214b004c
+ MOVE.L A2,$50(A0) ;13f90: 214a0050
+ MOVE.L A3,$54(A0) ;13f94: 214b0054
+ MOVE.L D6,$40(A0) ;13f98: 21460040
+ MOVE.W D2,$58(A0) ;13f9c: 31420058
+ TST.W 2(A0) ;13fa0: 4a680002
+LAB_13FA4:
+ BTST #6,2(A0) ;13fa4: 082800060002
+ BNE.S LAB_13FA4 ;13faa: 66f8
+ DBF D0,LAB_13F84 ;13fac: 51c8ffd6
+ RTS ;13fb0: 4e75
+LAB_13FB2:
+ MOVE.L D6,D0 ;13fb2: 2006
+ ORI.L #$0fca0000,D6 ;13fb4: 00860fca0000
+ MOVE.L D6,$40(A0) ;13fba: 21460040
+ MOVE.W D5,$62(A0) ;13fbe: 31450062
+ MOVE.W D4,$64(A0) ;13fc2: 31440064
+ MOVE.W D4,$66(A0) ;13fc6: 31440066
+ MOVE.W D4,$60(A0) ;13fca: 31440060
+ MOVEQ #4,D0 ;13fce: 7004
+LAB_13FD0:
+ MOVE.L A1,$48(A0) ;13fd0: 21490048
+ MOVE.L A1,$54(A0) ;13fd4: 21490054
+ MOVE.L A3,$50(A0) ;13fd8: 214b0050
+ MOVE.L A2,$4C(A0) ;13fdc: 214a004c
+ MOVE.W D2,$58(A0) ;13fe0: 31420058
+ TST.W 2(A0) ;13fe4: 4a680002
+LAB_13FE8:
+ BTST #6,2(A0) ;13fe8: 082800060002
+ BNE.S LAB_13FE8 ;13fee: 66f8
+ LEA $8C0(A1),A1 ;13ff0: 43e908c0
+ LEA $1F40(A2),A2 ;13ff4: 45ea1f40
+ DBF D0,LAB_13FD0 ;13ff8: 51c8ffd6
+ RTS ;13ffc: 4e75
+LAB_13FFE:
+ MOVEA.L $106E(A6),A3 ;13ffe: 266e106e
+ LEA 2(A3),A3 ;14002: 47eb0002
+ MOVEM.L D1-D2/A0-A3,-(A7) ;14006: 48e760f0
+ ADDQ.W #1,D1 ;1400a: 5241
+ MOVE.W D1,D3 ;1400c: 3601
+ ANDI.W #$0001,D3 ;1400e: 02430001
+ MOVE.W A2,D4 ;14012: 380a
+ ANDI.W #$0001,D4 ;14014: 02440001
+ BEQ.S LAB_1401E ;14018: 6704
+ LEA 1(A3),A3 ;1401a: 47eb0001
+LAB_1401E:
+ ADD.W D3,D3 ;1401e: d643
+ ADD.W D4,D3 ;14020: d644
+ ADD.W D3,D3 ;14022: d643
+ LEA LAB_14500(PC),A4 ;14024: 49fa04da
+ MOVEQ #0,D6 ;14028: 7c00
+ ADDA.W $10(A4,D3.W),A2 ;1402a: d4f43010
+ ADDA.W $10(A4,D3.W),A3 ;1402e: d6f43010
+ ADD.W $18(A4,D3.W),D1 ;14032: d2743018
+ MOVE.W 0(A4,D3.W),BLTAFWM ;14036: 33f4300000dff044
+ MOVE.W 8(A4,D3.W),BLTALWM ;1403e: 33f4300800dff046
+ LSR.W #1,D1 ;14046: e249
+ SUBQ.W #1,D1 ;14048: 5341
+ BSR.W SUB_13ED4 ;1404a: 6100fe88
+ BSR.W SUB_13F50 ;1404e: 6100ff00
+ MOVEM.L (A7)+,D1-D2/A0-A3 ;14052: 4cdf0f06
+ ADDQ.W #1,D1 ;14056: 5241
+ MOVE.W D1,D3 ;14058: 3601
+ ANDI.W #$0001,D3 ;1405a: 02430001
+ MOVE.W A1,D4 ;1405e: 3809
+ ANDI.W #$0001,D4 ;14060: 02440001
+ ADD.W D3,D3 ;14064: d643
+ ADD.W D4,D3 ;14066: d644
+ MOVE.W A2,D4 ;14068: 380a
+ ANDI.W #$0001,D4 ;1406a: 02440001
+ BEQ.S LAB_14074 ;1406e: 6704
+ LEA 1(A3),A3 ;14070: 47eb0001
+LAB_14074:
+ ADD.W D3,D3 ;14074: d643
+ ADD.W D4,D3 ;14076: d644
+ ADD.W D3,D3 ;14078: d643
+ LEA LAB_144A0(PC),A4 ;1407a: 49fa0424
+ MOVE.W $50(A4,D3.W),D6 ;1407e: 3c343050
+ SWAP D6 ;14082: 4846
+ MOVE.W $50(A4,D3.W),D6 ;14084: 3c343050
+ ADDA.W $20(A4,D3.W),A2 ;14088: d4f43020
+ ADDA.W $20(A4,D3.W),A3 ;1408c: d6f43020
+ ADDA.W $30(A4,D3.W),A1 ;14090: d2f43030
+ ADD.W $40(A4,D3.W),D1 ;14094: d2743040
+ MOVE.W 0(A4,D3.W),BLTAFWM ;14098: 33f4300000dff044
+ MOVE.W $10(A4,D3.W),BLTALWM ;140a0: 33f4301000dff046
+ LSR.W #1,D1 ;140a8: e249
+ SUBQ.W #1,D1 ;140aa: 5341
+ BSR.W SUB_13ED4 ;140ac: 6100fe26
+ BRA.W LAB_13FB2 ;140b0: 6000ff00
+ LEA HARDBASE,A2 ;140b4: 45f900dff000
+ MOVE.L #$2be20000,$40(A2) ;140ba: 257c2be200000040
+ MOVE.W #$3333,$72(A2) ;140c2: 357c33330072
+ BRA.S LAB_140DE ;140c8: 6014
+ LEA HARDBASE,A2 ;140ca: 45f900dff000
+ MOVE.L #$1be20000,$40(A2) ;140d0: 257c1be200000040
+ MOVE.W #$5555,$72(A2) ;140d8: 357c55550072
+LAB_140DE:
+ MOVEA.L $1022(A6),A0 ;140de: 206e1022
+ CLR.L $60(A2) ;140e2: 42aa0060
+ MOVE.L #$ffffffff,$44(A2) ;140e6: 257cffffffff0044
+ MOVE.L A0,$4C(A2) ;140ee: 2548004c
+ MOVE.L A0,$48(A2) ;140f2: 25480048
+ MOVE.L A0,$50(A2) ;140f6: 25480050
+ MOVE.L A0,$54(A2) ;140fa: 25480054
+ CLR.L $64(A2) ;140fe: 42aa0064
+ MOVEQ #4,D0 ;14102: 7004
+LAB_14104:
+ MOVE.W #$1c0a,$58(A2) ;14104: 357c1c0a0058
+ TST.W 2(A2) ;1410a: 4a6a0002
+LAB_1410E:
+ BTST #6,2(A2) ;1410e: 082a00060002
+ BNE.S LAB_1410E ;14114: 66f8
+ DBF D0,LAB_14104 ;14116: 51c8ffec
+ RTS ;1411a: 4e75
+LAB_1411C:
+ SUBQ.W #1,D1 ;1411c: 5341
+ SUBQ.W #1,D2 ;1411e: 5342
+LAB_14120:
+ MOVEM.L D1/A1-A2,-(A7) ;14120: 48e74060
+ MOVE.B $1F40(A2),$1F40(A1) ;14124: 136a1f401f40
+ MOVE.B $3E80(A2),$3E80(A1) ;1412a: 136a3e803e80
+ MOVE.B $5DC0(A2),$5DC0(A1) ;14130: 136a5dc05dc0
+ MOVE.B $7D00(A2),$7D00(A1) ;14136: 136a7d007d00
+ MOVE.B (A2)+,(A1) ;1413c: 129a
+ AND.B D3,$1F40(A1) ;1413e: c7291f40
+ AND.B D3,$3E80(A1) ;14142: c7293e80
+ AND.B D3,$5DC0(A1) ;14146: c7295dc0
+ AND.B D3,$7D00(A1) ;1414a: c7297d00
+ AND.B D3,(A1)+ ;1414e: c719
+ BRA.S LAB_1416C ;14150: 601a
+LAB_14152:
+ MOVE.B $1F40(A2),$1F40(A1) ;14152: 136a1f401f40
+ MOVE.B $3E80(A2),$3E80(A1) ;14158: 136a3e803e80
+ MOVE.B $5DC0(A2),$5DC0(A1) ;1415e: 136a5dc05dc0
+ MOVE.B $7D00(A2),$7D00(A1) ;14164: 136a7d007d00
+ MOVE.B (A2)+,(A1)+ ;1416a: 12da
+LAB_1416C:
+ DBF D1,LAB_14152 ;1416c: 51c9ffe4
+ MOVEM.L (A7)+,D1/A1-A2 ;14170: 4cdf0602
+ LEA $28(A1),A1 ;14174: 43e90028
+ LEA $28(A2),A2 ;14178: 45ea0028
+ DBF D2,LAB_14120 ;1417c: 51caffa2
+ RTS ;14180: 4e75
+LAB_14182:
+ ADDA.W D1,A2 ;14182: d4c1
+ SUBQ.W #1,D1 ;14184: 5341
+ SUBQ.W #1,D2 ;14186: 5342
+ MOVEA.L $1026(A6),A0 ;14188: 206e1026
+ BTST #2,D3 ;1418c: 08030002
+ BNE.S LAB_141E0 ;14190: 664e
+ MOVE.W $34(A6),D6 ;14192: 3c2e0034
+LAB_14196:
+ MOVEM.L D1/A1-A2,-(A7) ;14196: 48e74060
+ CLR.W D0 ;1419a: 4240
+LAB_1419C:
+ MOVE.B -(A2),D0 ;1419c: 1022
+ MOVE.B 0(A0,D0.W),(A1)+ ;1419e: 12f00000
+ MOVE.B $1F40(A2),D0 ;141a2: 102a1f40
+ MOVE.B 0(A0,D0.W),$8BF(A1) ;141a6: 1370000008bf
+ MOVE.B $3E80(A2),D0 ;141ac: 102a3e80
+ MOVE.B 0(A0,D0.W),$117F(A1) ;141b0: 13700000117f
+ MOVE.B $5DC0(A2),D0 ;141b6: 102a5dc0
+ MOVE.B 0(A0,D0.W),$1A3F(A1) ;141ba: 137000001a3f
+ MOVE.B $7D00(A2),D0 ;141c0: 102a7d00
+ MOVE.B 0(A0,D0.W),$22FF(A1) ;141c4: 1370000022ff
+ DBF D1,LAB_1419C ;141ca: 51c9ffd0
+ MOVEM.L (A7)+,D1/A1-A2 ;141ce: 4cdf0602
+ LEA $14(A1),A1 ;141d2: 43e90014
+ ADDA.W D6,A2 ;141d6: d4c6
+ DBF D2,LAB_14196 ;141d8: 51caffbc
+ RTS ;141dc: 4e75
+LAB_141DE:
+ SUBQ.W #1,D1 ;141de: 5341
+LAB_141E0:
+ MOVEM.L D1-D2/A1-A2,-(A7) ;141e0: 48e76060
+LAB_141E4:
+ CLR.W D0 ;141e4: 4240
+ MOVE.B -(A2),D0 ;141e6: 1022
+ MOVE.B 0(A0,D0.W),D3 ;141e8: 16300000
+ MOVE.B $1F40(A2),D0 ;141ec: 102a1f40
+ MOVE.B 0(A0,D0.W),D4 ;141f0: 18300000
+ MOVE.B $3E80(A2),D0 ;141f4: 102a3e80
+ MOVE.B 0(A0,D0.W),D5 ;141f8: 1a300000
+ MOVE.B $5DC0(A2),D0 ;141fc: 102a5dc0
+ MOVE.B 0(A0,D0.W),D6 ;14200: 1c300000
+ MOVE.B $7D00(A2),D0 ;14204: 102a7d00
+ MOVE.B 0(A0,D0.W),D2 ;14208: 14300000
+ MOVE.B D6,D7 ;1420c: 1e06
+ OR.B D5,D7 ;1420e: 8e05
+ OR.B D2,D7 ;14210: 8e02
+ OR.B D4,D7 ;14212: 8e04
+ OR.B D3,D7 ;14214: 8e03
+ NOT.W D7 ;14216: 4647
+ MOVE.B $8C0(A1),D0 ;14218: 102908c0
+ AND.W D7,D0 ;1421c: c047
+ OR.B D4,D0 ;1421e: 8004
+ MOVE.B D0,$8C0(A1) ;14220: 134008c0
+ MOVE.B $1180(A1),D0 ;14224: 10291180
+ AND.W D7,D0 ;14228: c047
+ OR.B D5,D0 ;1422a: 8005
+ MOVE.B D0,$1180(A1) ;1422c: 13401180
+ MOVE.B $1A40(A1),D0 ;14230: 10291a40
+ AND.W D7,D0 ;14234: c047
+ OR.B D6,D0 ;14236: 8006
+ MOVE.B D0,$1A40(A1) ;14238: 13401a40
+ MOVE.B $2300(A1),D0 ;1423c: 10292300
+ AND.W D7,D0 ;14240: c047
+ OR.B D2,D0 ;14242: 8002
+ MOVE.B D0,$2300(A1) ;14244: 13402300
+ MOVE.B (A1),D0 ;14248: 1011
+ AND.W D7,D0 ;1424a: c047
+ OR.B D3,D0 ;1424c: 8003
+ MOVE.B D0,(A1)+ ;1424e: 12c0
+ DBF D1,LAB_141E4 ;14250: 51c9ff92
+ MOVEM.L (A7)+,D1-D2/A1-A2 ;14254: 4cdf0606
+ LEA $14(A1),A1 ;14258: 43e90014
+ ADDA.W $34(A6),A2 ;1425c: d4ee0034
+ DBF D2,LAB_141E0 ;14260: 51caff7e
+ RTS ;14264: 4e75
+LAB_14266:
+ MOVE.W #$08ca,D0 ;14266: 303c08ca
+ MOVEA.L $1022(A6),A0 ;1426a: 206e1022
+ LEA $370(A0),A0 ;1426e: 41e80370
+ LEA HARDBASE,A2 ;14272: 45f900dff000
+ CLR.W $74(A2) ;14278: 426a0074
+ MOVE.L #$ffffffff,$44(A2) ;1427c: 257cffffffff0044
+ MOVE.L #$ffec0000,$64(A2) ;14284: 257cffec00000064
+ MOVE.L #$01000000,$40(A2) ;1428c: 257c010000000040
+ MOVE.L A0,$54(A2) ;14294: 25480054
+ MOVE.L $1076(A6),$50(A2) ;14298: 256e10760050
+ MOVE.W D0,$58(A2) ;1429e: 35400058
+ TST.W 2(A2) ;142a2: 4a6a0002
+LAB_142A6:
+ BTST #6,2(A2) ;142a6: 082a00060002
+ BNE.S LAB_142A6 ;142ac: 66f8
+ LEA $8C0(A0),A0 ;142ae: 41e808c0
+ MOVE.L A0,$54(A2) ;142b2: 25480054
+ MOVE.W D0,$58(A2) ;142b6: 35400058
+ TST.W 2(A2) ;142ba: 4a6a0002
+LAB_142BE:
+ BTST #6,2(A2) ;142be: 082a00060002
+ BNE.S LAB_142BE ;142c4: 66f8
+ LEA $8C0(A0),A0 ;142c6: 41e808c0
+ MOVE.L A0,$54(A2) ;142ca: 25480054
+ MOVE.W D0,$58(A2) ;142ce: 35400058
+ TST.W 2(A2) ;142d2: 4a6a0002
+LAB_142D6:
+ BTST #6,2(A2) ;142d6: 082a00060002
+ BNE.S LAB_142D6 ;142dc: 66f8
+ LEA $8C0(A0),A0 ;142de: 41e808c0
+ MOVE.L A0,$54(A2) ;142e2: 25480054
+ MOVE.W D0,$58(A2) ;142e6: 35400058
+ TST.W 2(A2) ;142ea: 4a6a0002
+LAB_142EE:
+ BTST #6,2(A2) ;142ee: 082a00060002
+ BNE.S LAB_142EE ;142f4: 66f8
+ LEA $8C0(A0),A0 ;142f6: 41e808c0
+ MOVE.L A0,$54(A2) ;142fa: 25480054
+ MOVE.W D0,$58(A2) ;142fe: 35400058
+ TST.W 2(A2) ;14302: 4a6a0002
+LAB_14306:
+ BTST #6,2(A2) ;14306: 082a00060002
+ BNE.S LAB_14306 ;1430c: 66f8
+ RTS ;1430e: 4e75
+LAB_14310:
+ TST.B $E55(A6) ;14310: 4a2e0e55
+ BMI.S LAB_14370 ;14314: 6b5a
+ ANDI.W #$000f,D3 ;14316: 0243000f
+ ANDI.W #$00fe,D2 ;1431a: 024200fe
+ MOVEQ #-1,D7 ;1431e: 7eff
+ MOVEQ #0,D6 ;14320: 7c00
+ MOVE.W D3,D6 ;14322: 3c03
+ CMP.W #$0008,D6 ;14324: bc7c0008
+ BLT.S LAB_1432E ;14328: 6d04
+ LEA -1(A1),A1 ;1432a: 43e9ffff
+LAB_1432E:
+ TST.W D6 ;1432e: 4a46
+ BEQ.S LAB_1433A ;14330: 6708
+ ADDQ.W #2,D2 ;14332: 5442
+ MOVE.L #$ffff0000,D7 ;14334: 2e3cffff0000
+LAB_1433A:
+ ROR.L #4,D6 ;1433a: e89e
+ MOVE.L D6,D4 ;1433c: 2806
+ SWAP D4 ;1433e: 4844
+ MOVE.W D4,D6 ;14340: 3c04
+ LEA HARDBASE,A0 ;14342: 41f900dff000
+ MOVE.L D7,$44(A0) ;14348: 21470044
+ MOVEA.L $106E(A6),A3 ;1434c: 266e106e
+ MOVEQ #$14,D4 ;14350: 7814
+ MOVE.W $34(A6),D5 ;14352: 3a2e0034
+ SUB.W D2,D4 ;14356: 9842
+ SUB.W D2,D5 ;14358: 9a42
+ ASL.W #6,D1 ;1435a: ed41
+ LSR.W #1,D2 ;1435c: e24a
+ OR.W D1,D2 ;1435e: 8441
+ MOVEM.L D6/A2,-(A7) ;14360: 48e70220
+ BSR.W SUB_13F50 ;14364: 6100fbea
+ MOVEM.L (A7)+,D6/A2 ;14368: 4cdf0440
+ BRA.W LAB_13FB2 ;1436c: 6000fc44
+LAB_14370:
+ ANDI.W #$0007,D3 ;14370: 02430007
+ EXG D2,D1 ;14374: c541
+ SUBQ.W #1,D2 ;14376: 5342
+ MOVEQ #0,D0 ;14378: 7000
+ MOVE.B 2(A5),D0 ;1437a: 102d0002
+ ADDA.W D0,A2 ;1437e: d4c0
+ MOVEA.L $1026(A6),A0 ;14380: 206e1026
+ TST.B D3 ;14384: 4a03
+ BEQ.W LAB_141DE ;14386: 6700fe56
+ LEA LAB_1449C(PC),A4 ;1438a: 49fa0110
+ LSR.W #1,D1 ;1438e: e249
+ SUBQ.W #1,D1 ;14390: 5341
+LAB_14392:
+ MOVEM.L D1/A1-A2,-(A7) ;14392: 48e74060
+LAB_14396:
+ MOVEQ #0,D0 ;14396: 7000
+ MOVE.B -(A2),D0 ;14398: 1022
+ MOVE.B 0(A0,D0.W),(A4) ;1439a: 18b00000
+ MOVE.B -(A2),D0 ;1439e: 1022
+ MOVE.B 0(A0,D0.W),1(A4) ;143a0: 197000000001
+ MOVE.L (A4),D0 ;143a6: 2014
+ ROR.L D3,D0 ;143a8: e6b8
+ MOVE.L D0,$BEC(A6) ;143aa: 2d400bec
+ MOVE.L D0,D7 ;143ae: 2e00
+ MOVEQ #0,D0 ;143b0: 7000
+ MOVE.B $1F41(A2),D0 ;143b2: 102a1f41
+ MOVE.B 0(A0,D0.W),(A4) ;143b6: 18b00000
+ MOVE.B $1F40(A2),D0 ;143ba: 102a1f40
+ MOVE.B 0(A0,D0.W),1(A4) ;143be: 197000000001
+ MOVE.L (A4),D0 ;143c4: 2014
+ ROR.L D3,D0 ;143c6: e6b8
+ MOVE.L D0,$BF0(A6) ;143c8: 2d400bf0
+ OR.L D0,D7 ;143cc: 8e80
+ MOVEQ #0,D0 ;143ce: 7000
+ MOVE.B $3E81(A2),D0 ;143d0: 102a3e81
+ MOVE.B 0(A0,D0.W),(A4) ;143d4: 18b00000
+ MOVE.B $3E80(A2),D0 ;143d8: 102a3e80
+ MOVE.B 0(A0,D0.W),1(A4) ;143dc: 197000000001
+ MOVE.L (A4),D0 ;143e2: 2014
+ ROR.L D3,D0 ;143e4: e6b8
+ MOVE.L D0,$BF4(A6) ;143e6: 2d400bf4
+ OR.L D0,D7 ;143ea: 8e80
+ MOVEQ #0,D0 ;143ec: 7000
+ MOVE.B $5DC1(A2),D0 ;143ee: 102a5dc1
+ MOVE.B 0(A0,D0.W),(A4) ;143f2: 18b00000
+ MOVE.B $5DC0(A2),D0 ;143f6: 102a5dc0
+ MOVE.B 0(A0,D0.W),1(A4) ;143fa: 197000000001
+ MOVE.L (A4),D0 ;14400: 2014
+ ROR.L D3,D0 ;14402: e6b8
+ MOVE.L D0,$BF8(A6) ;14404: 2d400bf8
+ OR.L D0,D7 ;14408: 8e80
+ MOVEQ #0,D0 ;1440a: 7000
+ MOVE.B $7D01(A2),D0 ;1440c: 102a7d01
+ MOVE.B 0(A0,D0.W),(A4) ;14410: 18b00000
+ MOVE.B $7D00(A2),D0 ;14414: 102a7d00
+ MOVE.B 0(A0,D0.W),1(A4) ;14418: 197000000001
+ MOVE.L (A4),D0 ;1441e: 2014
+ ROR.L D3,D0 ;14420: e6b8
+ MOVE.L D0,$BFC(A6) ;14422: 2d400bfc
+ OR.L D0,D7 ;14426: 8e80
+ NOT.L D7 ;14428: 4687
+ MOVE.L D7,$C00(A6) ;1442a: 2d470c00
+ LEA $BEC(A6),A3 ;1442e: 47ee0bec
+ BSR.S SUB_1445A ;14432: 6126
+ OR.B (A3)+,D0 ;14434: 801b
+ MOVE.B D0,(A1)+ ;14436: 12c0
+ BSR.S SUB_1445A ;14438: 6120
+ OR.B (A3)+,D0 ;1443a: 801b
+ MOVE.B D0,(A1)+ ;1443c: 12c0
+ BSR.S SUB_1445A ;1443e: 611a
+ OR.B (A3),D0 ;14440: 8013
+ MOVE.B D0,(A1) ;14442: 1280
+ DBF D1,LAB_14396 ;14444: 51c9ff50
+ MOVEM.L (A7)+,D1/A1-A2 ;14448: 4cdf0602
+ LEA $14(A1),A1 ;1444c: 43e90014
+ ADDA.W $34(A6),A2 ;14450: d4ee0034
+ DBF D2,LAB_14392 ;14454: 51caff3c
+ RTS ;14458: 4e75
+SUB_1445A:
+ MOVE.B $14(A3),D7 ;1445a: 1e2b0014
+ MOVE.B $8C0(A1),D0 ;1445e: 102908c0
+ AND.W D7,D0 ;14462: c047
+ OR.B 4(A3),D0 ;14464: 802b0004
+ MOVE.B D0,$8C0(A1) ;14468: 134008c0
+ MOVE.B $1180(A1),D0 ;1446c: 10291180
+ AND.W D7,D0 ;14470: c047
+ OR.B 8(A3),D0 ;14472: 802b0008
+ MOVE.B D0,$1180(A1) ;14476: 13401180
+ MOVE.B $1A40(A1),D0 ;1447a: 10291a40
+ AND.W D7,D0 ;1447e: c047
+ OR.B $C(A3),D0 ;14480: 802b000c
+ MOVE.B D0,$1A40(A1) ;14484: 13401a40
+ MOVE.B $2300(A1),D0 ;14488: 10292300
+ AND.W D7,D0 ;1448c: c047
+ OR.B $10(A3),D0 ;1448e: 802b0010
+ MOVE.B D0,$2300(A1) ;14492: 13402300
+ MOVE.B (A1),D0 ;14496: 1011
+ AND.W D7,D0 ;14498: c047
+ RTS ;1449a: 4e75
+LAB_1449C:
+ DS.L 1 ;1449c
+LAB_144A0:
+ DC.L $ffff00ff,$ffff00ff,$ffff00ff,$ffff00ff ;144a0
+ DC.L $ffffff00,$0000ff00,$ff000000,$ff00ffff ;144b0
+ DC.L $0000ffff,$0000ffff,$0000ffff,$0000ffff ;144c0
+ DC.L $0000fffe,$ffffffff,$0000fffe,$ffffffff ;144d0
+ DC.L $00000002,$00020002,$00010003,$00010001 ;144e0
+ DC.L $00008000,$80000000,$00008000,$80000000 ;144f0
+LAB_14500:
+ DC.L $ffff00ff,$ffff00ff,$ffffff00,$ff00ffff ;14500
+ DC.L $0000ffff,$0000ffff,$00000002,$00010001 ;14510
+LAB_14520:
+ MOVEA.L LAB_14A64(PC),A6 ;14520: 2c7a0542
+ BSR.W LAB_146BE ;14524: 61000198
+ BSR.W LAB_1459C ;14528: 61000072
+ CLR.W D5 ;1452c: 4245
+ MOVE.W $BA4(A6),D4 ;1452e: 382e0ba4
+ ADDI.W #$0030,D4 ;14532: 06440030
+ ADD.W $AA6(A6),D4 ;14536: d86e0aa6
+ ADD.W $AA6(A6),D4 ;1453a: d86e0aa6
+ SUB.W $90(A6),D4 ;1453e: 986e0090
+ ASL.W #8,D4 ;14542: e144
+ BCC.S LAB_1454E ;14544: 6408
+ BSET #2,D5 ;14546: 08c50002
+ BSET #1,D5 ;1454a: 08c50001
+LAB_1454E:
+ MOVE.W D4,D1 ;1454e: 3204
+ ADDI.W #$1000,D1 ;14550: 06411000
+ BCC.S LAB_1455A ;14554: 6404
+ BSET #1,D5 ;14556: 08c50001
+LAB_1455A:
+ OR.W D1,D5 ;1455a: 8a41
+ MOVE.W $BA2(A6),D1 ;1455c: 322e0ba2
+ ADDI.W #$0080,D1 ;14560: 06410080
+ ADD.W $AA4(A6),D1 ;14564: d26e0aa4
+ ADD.W $AA4(A6),D1 ;14568: d26e0aa4
+ SUB.W $8E(A6),D1 ;1456c: 926e008e
+ LSR.W #1,D1 ;14570: e249
+ BCC.S LAB_14578 ;14572: 6404
+ BSET #0,D5 ;14574: 08c50000
+LAB_14578:
+ OR.W D1,D4 ;14578: 8841
+ MOVEA.L $107A(A6),A0 ;1457a: 206e107a
+ MOVE.W D4,$48(A0) ;1457e: 31440048
+ MOVE.W D4,(A0)+ ;14582: 30c4
+ MOVE.W D5,(A0) ;14584: 3085
+ ORI.W #$0080,D5 ;14586: 00450080
+ MOVE.W D5,$48(A0) ;1458a: 31450048
+ RTS ;1458e: 4e75
+LAB_14590:
+ DS.L 3 ;14590
+LAB_1459C:
+ LEA LAB_14590(PC),A1 ;1459c: 43fafff2
+ MOVE.W #$004c,D0 ;145a0: 303c004c
+ BSR.W LAB_139CC ;145a4: 6100f426
+ BEQ.S LAB_145AC ;145a8: 6702
+ ADDQ.B #2,(A1) ;145aa: 5411
+LAB_145AC:
+ MOVE.W #$004d,D0 ;145ac: 303c004d
+ BSR.W LAB_139CC ;145b0: 6100f41a
+ BEQ.S LAB_145B8 ;145b4: 6702
+ SUBQ.B #2,(A1) ;145b6: 5511
+LAB_145B8:
+ MOVE.W #$004f,D0 ;145b8: 303c004f
+ BSR.W LAB_139CC ;145bc: 6100f40e
+ BEQ.S LAB_145C6 ;145c0: 6704
+ ADDQ.B #2,1(A1) ;145c2: 54290001
+LAB_145C6:
+ MOVE.W #$004e,D0 ;145c6: 303c004e
+ BSR.W LAB_139CC ;145ca: 6100f400
+ BEQ.S LAB_145D4 ;145ce: 6704
+ SUBQ.B #2,1(A1) ;145d0: 55290001
+LAB_145D4:
+ MOVE.W JOY0DAT,D4 ;145d4: 383900dff00a
+ MOVE.B JOY0DAT,D3 ;145da: 163900dff00a
+ MOVE.B EXT_DFF00B,D2 ;145e0: 143900dff00b
+ SUB.B 1(A1),D2 ;145e6: 94290001
+ SUB.B (A1),D3 ;145ea: 9611
+ MOVE.B D2,2(A1) ;145ec: 13420002
+ MOVE.B D3,3(A1) ;145f0: 13430003
+ MOVE.W D4,(A1) ;145f4: 3284
+ EXT.W D2 ;145f6: 4882
+ EXT.W D3 ;145f8: 4883
+ CLR.W D4 ;145fa: 4244
+ TST.W D2 ;145fc: 4a42
+ BPL.S LAB_14606 ;145fe: 6a06
+ BSET #7,D4 ;14600: 08c40007
+ NEG.W D2 ;14604: 4442
+LAB_14606:
+ TST.W D3 ;14606: 4a43
+ BPL.S LAB_14610 ;14608: 6a06
+ BSET #$F,D4 ;1460a: 08c4000f
+ NEG.W D3 ;1460e: 4443
+LAB_14610:
+ MOVE.W $B8C(A6),D0 ;14610: 302e0b8c
+ NOT.W D0 ;14614: 4640
+ MULU D0,D2 ;14616: c4c0
+ MULU D0,D3 ;14618: c6c0
+ ADD.L D2,D2 ;1461a: d482
+ ADD.L D3,D3 ;1461c: d683
+ TST.B D4 ;1461e: 4a04
+ BPL.S LAB_14624 ;14620: 6a02
+ NEG.L D2 ;14622: 4482
+LAB_14624:
+ TST.W D4 ;14624: 4a44
+ BPL.S LAB_1462A ;14626: 6a02
+ NEG.L D3 ;14628: 4483
+LAB_1462A:
+ MOVE.W $BA2(A6),D0 ;1462a: 302e0ba2
+ SWAP D0 ;1462e: 4840
+ MOVE.W 4(A1),D0 ;14630: 30290004
+ ADD.L D2,D0 ;14634: d082
+ MOVE.W D0,4(A1) ;14636: 33400004
+ SWAP D0 ;1463a: 4840
+ MOVE.W D0,$BA2(A6) ;1463c: 3d400ba2
+ MOVE.W $BA4(A6),D1 ;14640: 322e0ba4
+ SWAP D1 ;14644: 4841
+ MOVE.W 6(A1),D1 ;14646: 32290006
+ ADD.L D3,D1 ;1464a: d283
+ MOVE.W D1,6(A1) ;1464c: 33410006
+ SWAP D1 ;14650: 4841
+ MOVE.W D1,$BA4(A6) ;14652: 3d410ba4
+ TST.W D0 ;14656: 4a40
+ BPL.S LAB_1465C ;14658: 6a02
+ MOVEQ #0,D0 ;1465a: 7000
+LAB_1465C:
+ CMP.W #$013f,D0 ;1465c: b07c013f
+ BLS.S LAB_14666 ;14660: 6304
+ MOVE.W #$013f,D0 ;14662: 303c013f
+LAB_14666:
+ TST.W D1 ;14666: 4a41
+ BPL.S LAB_1466C ;14668: 6a02
+ MOVEQ #0,D1 ;1466a: 7200
+LAB_1466C:
+ CMP.W #$00c7,D1 ;1466c: b27c00c7
+ BLS.S LAB_14676 ;14670: 6304
+ MOVE.W #$00c7,D1 ;14672: 323c00c7
+LAB_14676:
+ MOVE.W D0,$BA2(A6) ;14676: 3d400ba2
+ MOVE.W D1,$BA4(A6) ;1467a: 3d410ba4
+ CLR.W D0 ;1467e: 4240
+ MOVE.B CIAA_PRA,D0 ;14680: 103900bfe001
+ MOVE.W POTGOR,D1 ;14686: 323900dff016
+ ANDI.W #$0400,D1 ;1468c: 02410400
+ CMP.W $BA0(A6),D1 ;14690: b26e0ba0
+ BNE.S LAB_146AC ;14694: 6616
+ ANDI.B #$40,D0 ;14696: 02000040
+ CMP.B $B9E(A6),D0 ;1469a: b02e0b9e
+ BEQ.S LAB_146B8 ;1469e: 6718
+ MOVE.B D0,$B9E(A6) ;146a0: 1d400b9e
+ BNE.S LAB_146B8 ;146a4: 6612
+ MOVEQ #1,D0 ;146a6: 7001
+ BRA.W LAB_19CF0 ;146a8: 60005646
+LAB_146AC:
+ MOVE.W D1,$BA0(A6) ;146ac: 3d410ba0
+ BNE.S LAB_146B8 ;146b0: 6606
+ CLR.W D0 ;146b2: 4240
+ BRA.W LAB_19CF0 ;146b4: 6000563a
+LAB_146B8:
+ RTS ;146b8: 4e75
+ RTS ;146ba: 4e75
+ RTS ;146bc: 4e75
+LAB_146BE:
+ LEA AUD0LCH,A1 ;146be: 43f900dff0a0
+ LEA $EA2(A6),A0 ;146c4: 41ee0ea2
+ MOVEQ #1,D3 ;146c8: 7601
+ MOVEQ #3,D1 ;146ca: 7203
+LAB_146CC:
+ MOVE.B $A(A0),D2 ;146cc: 1428000a
+ BEQ.S LAB_14712 ;146d0: 6740
+ SUBQ.B #1,D2 ;146d2: 5302
+ BEQ.S LAB_146EC ;146d4: 6716
+ SUBQ.B #1,D2 ;146d6: 5302
+ BEQ.S LAB_146F4 ;146d8: 671a
+ MOVE.W #$0002,4(A1) ;146da: 337c00020004
+ MOVE.L #$00000008,(A1) ;146e0: 22bc00000008
+ CLR.B $A(A0) ;146e6: 4228000a
+ BRA.S LAB_14712 ;146ea: 6026
+LAB_146EC:
+ MOVE.W D3,DMACON ;146ec: 33c300dff096
+ BRA.S LAB_1470E ;146f2: 601a
+LAB_146F4:
+ MOVE.L 0(A0),(A1) ;146f4: 22a80000
+ MOVE.L 4(A0),4(A1) ;146f8: 236800040004
+ MOVE.W 8(A0),8(A1) ;146fe: 336800080008
+ ORI.W #$8000,D3 ;14704: 00438000
+ MOVE.W D3,DMACON ;14708: 33c300dff096
+LAB_1470E:
+ ADDQ.B #1,$A(A0) ;1470e: 5228000a
+LAB_14712:
+ ADD.W D3,D3 ;14712: d643
+ LEA $10(A1),A1 ;14714: 43e90010
+ LEA $C(A0),A0 ;14718: 41e8000c
+ DBF D1,LAB_146CC ;1471c: 51c9ffae
+ RTS ;14720: 4e75
+LAB_14722:
+ LEA $11E(A6),A0 ;14722: 41ee011e
+ MOVEQ #0,D0 ;14726: 7000
+ MOVE.B 1(A0),D0 ;14728: 10280001
+ BEQ.W LAB_147F4 ;1472c: 670000c6
+ BSR.W SUB_1562A ;14730: 61000ef8
+ MOVE.W D0,D7 ;14734: 3e00
+ BSR.W SUB_155CA ;14736: 61000e92
+ BSR.W SUB_15582 ;1473a: 61000e46
+ MOVEA.L $1022(A6),A1 ;1473e: 226e1022
+ MOVEA.L A1,A0 ;14742: 2049
+ MOVEQ #$27,D0 ;14744: 7027
+LAB_14746:
+ CLR.L (A0)+ ;14746: 4298
+ DBF D0,LAB_14746 ;14748: 51c8fffc
+ MOVE.W D1,D2 ;1474c: 3401
+ LSR.W #1,D2 ;1474e: e24a
+ MOVE.W D2,$94(A6) ;14750: 3d420094
+ MOVE.W #$0008,$92(A6) ;14754: 3d7c00080092
+ SUBQ.W #1,D1 ;1475a: 5341
+ MOVE.W D1,D3 ;1475c: 3601
+ MOVEQ #4,D1 ;1475e: 7204
+LAB_14760:
+ MOVEA.L A1,A0 ;14760: 2049
+ MOVE.W D3,D2 ;14762: 3403
+ MOVEA.L A2,A3 ;14764: 264a
+LAB_14766:
+ MOVE.W (A3),(A0)+ ;14766: 30d3
+ LEA $28(A3),A3 ;14768: 47eb0028
+ DBF D2,LAB_14766 ;1476c: 51cafff8
+ LEA $20(A1),A1 ;14770: 43e90020
+ LEA $1F40(A2),A2 ;14774: 45ea1f40
+ DBF D1,LAB_14760 ;14778: 51c9ffe6
+ MOVEA.L $1022(A6),A0 ;1477c: 206e1022
+ LEA LAB_147D4(PC),A4 ;14780: 49fa0052
+ MOVEQ #$20,D6 ;14784: 7c20
+ MOVEQ #$1F,D0 ;14786: 701f
+LAB_14788:
+ MOVEQ #7,D1 ;14788: 7207
+LAB_1478A:
+ MOVEA.L A0,A1 ;1478a: 2248
+ MOVEQ #4,D2 ;1478c: 7404
+ CLR.W D3 ;1478e: 4243
+ ADDA.W #$0080,A1 ;14790: d2fc0080
+LAB_14794:
+ ADD.W D3,D3 ;14794: d643
+ BTST D1,(A1) ;14796: 0311
+ BEQ.S LAB_1479E ;14798: 6704
+ BSET #0,D3 ;1479a: 08c30000
+LAB_1479E:
+ SUBA.W D6,A1 ;1479e: 92c6
+ DBF D2,LAB_14794 ;147a0: 51cafff2
+ MOVE.B 0(A4,D3.W),D3 ;147a4: 16343000
+ MOVEQ #3,D2 ;147a8: 7403
+ MOVEA.L A0,A1 ;147aa: 2248
+LAB_147AC:
+ BCLR D1,(A1) ;147ac: 0391
+ BTST #0,D3 ;147ae: 08030000
+ BEQ.S LAB_147B6 ;147b2: 6702
+ BSET D1,(A1) ;147b4: 03d1
+LAB_147B6:
+ LSR.W #1,D3 ;147b6: e24b
+ ADDA.W D6,A1 ;147b8: d2c6
+ DBF D2,LAB_147AC ;147ba: 51cafff0
+ DBF D1,LAB_1478A ;147be: 51c9ffca
+ LEA 1(A0),A0 ;147c2: 41e80001
+ DBF D0,LAB_14788 ;147c6: 51c8ffc0
+ BSR.W SUB_14A76 ;147ca: 610002aa
+ MOVEA.L $1022(A6),A1 ;147ce: 226e1022
+ BRA.S LAB_147FC ;147d2: 6028
+LAB_147D4:
+ DC.L $000d0607,$0f030502,$0e010c0f,$0c0a0a0b ;147d4
+ DC.L $0d010203,$04050607,$08090a0b,$0c0d0e0f ;147e4
+LAB_147F4:
+ MOVEA.L $1096(A6),A1 ;147f4: 226e1096
+ CLR.L $92(A6) ;147f8: 42ae0092
+LAB_147FC:
+ MOVEA.L $107E(A6),A0 ;147fc: 206e107e
+ LEA 4(A0),A0 ;14800: 41e80004
+ LEA $20(A1),A2 ;14804: 45e90020
+ LEA $20(A2),A3 ;14808: 47ea0020
+ LEA $20(A3),A4 ;1480c: 49eb0020
+ MOVEQ #$F,D5 ;14810: 7a0f
+LAB_14812:
+ MOVE.W (A3)+,$48(A0) ;14812: 315b0048
+ MOVE.W (A4)+,$4A(A0) ;14816: 315c004a
+ MOVE.W (A1)+,(A0)+ ;1481a: 30d9
+ MOVE.W (A2)+,(A0)+ ;1481c: 30da
+ DBF D5,LAB_14812 ;1481e: 51cdfff2
+ MOVEA.L $107E(A6),A0 ;14822: 206e107e
+ MOVEA.L $107A(A6),A1 ;14826: 226e107a
+ MOVE.L $92(A6),$8E(A6) ;1482a: 2d6e0092008e
+ MOVEQ #1,D6 ;14830: 7c01
+LAB_14832:
+ LEA 4(A0),A0 ;14832: 41e80004
+ LEA 4(A1),A1 ;14836: 43e90004
+ MOVEQ #$10,D5 ;1483a: 7a10
+LAB_1483C:
+ MOVE.L (A0)+,(A1)+ ;1483c: 22d8
+ DBF D5,LAB_1483C ;1483e: 51cdfffc
+ DBF D6,LAB_14832 ;14842: 51ceffee
+ RTS ;14846: 4e75
+LAB_14848:
+ MOVE.W D1,D6 ;14848: 3c01
+ MOVEQ #$27,D5 ;1484a: 7a27
+ SUB.W D1,D5 ;1484c: 9a41
+LAB_1484E:
+ MOVE.W D6,D1 ;1484e: 3206
+LAB_14850:
+ MOVE.B $1F40(A2),$1F40(A1) ;14850: 136a1f401f40
+ MOVE.B $3E80(A2),$3E80(A1) ;14856: 136a3e803e80
+ MOVE.B $5DC0(A2),$5DC0(A1) ;1485c: 136a5dc05dc0
+ MOVE.B $7D00(A2),$7D00(A1) ;14862: 136a7d007d00
+ MOVE.B (A2)+,(A1)+ ;14868: 12da
+ DBF D1,LAB_14850 ;1486a: 51c9ffe4
+ ADDA.W D5,A1 ;1486e: d2c5
+ ADDA.W D5,A2 ;14870: d4c5
+ DBF D0,LAB_1484E ;14872: 51c8ffda
+ RTS ;14876: 4e75
+LAB_14878:
+ MOVEM.W D3/D7,-(A7) ;14878: 48a71100
+ MOVEQ #$27,D5 ;1487c: 7a27
+ SUB.W D1,D5 ;1487e: 9a41
+LAB_14880:
+ MOVEM.W D0-D1/D5,-(A7) ;14880: 48a7c400
+LAB_14884:
+ MOVE.B $1F40(A2),D0 ;14884: 102a1f40
+ MOVE.B $3E80(A2),D4 ;14888: 182a3e80
+ MOVE.B $5DC0(A2),D5 ;1488c: 1a2a5dc0
+ MOVE.B $7D00(A2),D7 ;14890: 1e2a7d00
+ MOVE.B (A2)+,D6 ;14894: 1c1a
+ MOVE.W D6,D2 ;14896: 3406
+ OR.W D5,D2 ;14898: 8445
+ OR.W D4,D2 ;1489a: 8444
+ OR.W D0,D2 ;1489c: 8440
+ OR.W D7,D2 ;1489e: 8447
+ NOT.W D2 ;148a0: 4642
+ MOVE.B $1F40(A1),D3 ;148a2: 16291f40
+ AND.W D2,D3 ;148a6: c642
+ OR.W D0,D3 ;148a8: 8640
+ MOVE.B D3,$1F40(A1) ;148aa: 13431f40
+ MOVE.B $3E80(A1),D3 ;148ae: 16293e80
+ AND.W D2,D3 ;148b2: c642
+ OR.W D4,D3 ;148b4: 8644
+ MOVE.B D3,$3E80(A1) ;148b6: 13433e80
+ MOVE.B $5DC0(A1),D3 ;148ba: 16295dc0
+ AND.W D2,D3 ;148be: c642
+ OR.W D5,D3 ;148c0: 8645
+ MOVE.B D3,$5DC0(A1) ;148c2: 13435dc0
+ MOVE.B $7D00(A1),D3 ;148c6: 16297d00
+ AND.W D2,D3 ;148ca: c642
+ OR.W D7,D3 ;148cc: 8647
+ MOVE.B D3,$7D00(A1) ;148ce: 13437d00
+ MOVE.B (A1),D3 ;148d2: 1611
+ AND.W D2,D3 ;148d4: c642
+ OR.W D6,D3 ;148d6: 8646
+ MOVE.B D3,(A1)+ ;148d8: 12c3
+ DBF D1,LAB_14884 ;148da: 51c9ffa8
+ MOVEM.W (A7)+,D0-D1/D5 ;148de: 4c9f0023
+ ADDA.W D5,A1 ;148e2: d2c5
+ ADDA.W D5,A2 ;148e4: d4c5
+ DBF D0,LAB_14880 ;148e6: 51c8ff98
+ MOVEM.W (A7)+,D3/D7 ;148ea: 4c9f0088
+ RTS ;148ee: 4e75
+LAB_148F0:
+ MOVEA.L $1066(A6),A0 ;148f0: 206e1066
+ MOVEA.L $1036(A6),A1 ;148f4: 226e1036
+ ADDA.W D3,A0 ;148f8: d0c3
+ ADDA.W D2,A1 ;148fa: d2c2
+LAB_148FC:
+ MOVE.W (A1),D0 ;148fc: 3011
+ MOVE.W $1F40(A1),D1 ;148fe: 32291f40
+ MOVE.W $3E80(A1),D2 ;14902: 34293e80
+ MOVE.W $5DC0(A1),D3 ;14906: 36295dc0
+ MOVE.W $7D00(A1),D7 ;1490a: 3e297d00
+ MOVE.W D0,D5 ;1490e: 3a00
+ OR.W D1,D5 ;14910: 8a41
+ OR.W D2,D5 ;14912: 8a42
+ OR.W D3,D5 ;14914: 8a43
+ OR.W D7,D5 ;14916: 8a47
+ NOT.W D5 ;14918: 4645
+ MOVE.W (A0),D6 ;1491a: 3c10
+ AND.W D5,D6 ;1491c: cc45
+ OR.W D0,D6 ;1491e: 8c40
+ MOVE.W D6,(A0) ;14920: 3086
+ MOVE.W $1F40(A0),D6 ;14922: 3c281f40
+ AND.W D5,D6 ;14926: cc45
+ OR.W D1,D6 ;14928: 8c41
+ MOVE.W D6,$1F40(A0) ;1492a: 31461f40
+ MOVE.W $3E80(A0),D6 ;1492e: 3c283e80
+ AND.W D5,D6 ;14932: cc45
+ OR.W D2,D6 ;14934: 8c42
+ MOVE.W D6,$3E80(A0) ;14936: 31463e80
+ MOVE.W $5DC0(A0),D6 ;1493a: 3c285dc0
+ AND.W D5,D6 ;1493e: cc45
+ OR.W D3,D6 ;14940: 8c43
+ MOVE.W D6,$5DC0(A0) ;14942: 31465dc0
+ MOVE.W $7D00(A0),D6 ;14946: 3c287d00
+ AND.W D5,D6 ;1494a: cc45
+ OR.W D7,D6 ;1494c: 8c47
+ MOVE.W D6,$7D00(A0) ;1494e: 31467d00
+ LEA $28(A1),A1 ;14952: 43e90028
+ LEA $28(A0),A0 ;14956: 41e80028
+ DBF D4,LAB_148FC ;1495a: 51ccffa0
+ RTS ;1495e: 4e75
+LAB_14960:
+ MOVEA.L $1066(A6),A0 ;14960: 206e1066
+ MOVEA.L $1036(A6),A1 ;14964: 226e1036
+ ADDA.W D3,A0 ;14968: d0c3
+ ADDA.W D2,A1 ;1496a: d2c2
+LAB_1496C:
+ MOVE.B (A1),(A0) ;1496c: 1091
+ MOVE.B $1F40(A1),$1F40(A0) ;1496e: 11691f401f40
+ MOVE.B $3E80(A1),$3E80(A0) ;14974: 11693e803e80
+ MOVE.B $5DC0(A1),$5DC0(A0) ;1497a: 11695dc05dc0
+ MOVE.B $7D00(A1),$7D00(A0) ;14980: 11697d007d00
+ LEA $28(A0),A0 ;14986: 41e80028
+ LEA $28(A1),A1 ;1498a: 43e90028
+ DBF D4,LAB_1496C ;1498e: 51ccffdc
+ RTS ;14992: 4e75
+LAB_14994:
+ DS.L 1 ;14994
+ DC.L $000455f0,$00013aa0,$0001d7f0,$00027540 ;14998
+ DS.L 1 ;149a8
+ DC.L $00031290,$00009d50,$0003afe0,$00044d30 ;149ac
+ DC.L $00044d30,$00044d30,$00044d30,$00044d30 ;149bc
+ DC.L $00044d30,$00044d30,$00044d30 ;149cc
+ DS.L 1 ;149d8
+ DC.L $000517b8,$00044d30,$00044d30,$000518b8 ;149dc
+ DC.L $000518d8,$00051968,$000519f8,$000456f0 ;149ec
+ DC.L $000519f8,$000519f8 ;149fc
+LAB_14A04:
+ DC.L $000014cc,$00001550,$000015d4,$000015d4 ;14a04
+ DC.L $000017e0,$fffeb360,$ffffdc56,$fffede68 ;14a14
+ DS.L 1 ;14a24
+ DC.L $000005f4,$000013c8,$0000144a,$000012c4 ;14a28
+ DC.L $00000cac,$000011c0,$00000be8,$00000eb4 ;14a38
+ DC.L $00000db0,$00000fb8,$000010bc ;14a48
+LAB_14A54:
+ DS.L 4 ;14a54
+LAB_14A64:
+ DS.L 1 ;14a64
+LAB_14A68:
+ DS.L 1 ;14a68
+LAB_14A6C:
+ DS.L 1 ;14a6c
+LAB_14A70:
+ DS.L 1 ;14a70
+start:
+ BRA.S LAB_14AC6 ;14a74: 6050
+SUB_14A76:
+ MOVEA.L $1022(A6),A0 ;14a76: 206e1022
+ MOVEA.L A0,A1 ;14a7a: 2248
+ MOVEQ #$F,D0 ;14a7c: 700f
+LAB_14A7E:
+ MOVE.W $60(A0),D1 ;14a7e: 32280060
+ OR.W $20(A0),D1 ;14a82: 82680020
+ OR.W $40(A0),D1 ;14a86: 82680040
+ OR.W (A0)+,D1 ;14a8a: 8258
+ MOVE.W D1,$7E(A0) ;14a8c: 3141007e
+ DBF D0,LAB_14A7E ;14a90: 51c8ffec
+ CLR.L $A0(A0) ;14a94: 42a800a0
+ LEA $80(A1),A2 ;14a98: 45e90080
+ LEA 4(A1),A1 ;14a9c: 43e90004
+ MOVEQ #$D,D0 ;14aa0: 700d
+LAB_14AA2:
+ MOVE.W 4(A2),D2 ;14aa2: 342a0004
+ MOVE.W (A2)+,D3 ;14aa6: 361a
+ NOT.W D2 ;14aa8: 4642
+ LSR.W #2,D3 ;14aaa: e44b
+ MOVE.W $20(A1),D1 ;14aac: 32290020
+ AND.W D2,D3 ;14ab0: c642
+ OR.W D1,D3 ;14ab2: 8641
+ MOVE.W D3,$20(A1) ;14ab4: 33430020
+ MOVE.W (A1),D1 ;14ab8: 3211
+ AND.W D2,D3 ;14aba: c642
+ OR.W D1,D3 ;14abc: 8641
+ MOVE.W D3,(A1)+ ;14abe: 32c3
+ DBF D0,LAB_14AA2 ;14ac0: 51c8ffe0
+ RTS ;14ac4: 4e75
+LAB_14AC6:
+ MOVE.L #$00052ada,D1 ;14ac6: 223c00052ada
+ MOVEQ #4,D0 ;14acc: 7004
+ MOVE.L A6,-(A7) ;14ace: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14ad0: 2c780004
+ JSR $6C(A6) ;14ad4: 4eae006c
+ MOVEA.L (A7)+,A6 ;14ad8: 2c5f
+ BEQ.W LAB_14D52 ;14ada: 67000276
+ LEA LAB_14A64(PC),A0 ;14ade: 41faff84
+ MOVE.L D0,4(A0) ;14ae2: 21400004
+ MOVE.L D0,(A0) ;14ae6: 2080
+ MOVEQ #0,D0 ;14ae8: 7000
+ MOVE.L A6,-(A7) ;14aea: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14aec: 2c780004
+ JSR $74(A6) ;14af0: 4eae0074
+ MOVEA.L (A7)+,A6 ;14af4: 2c5f
+ MOVEM.L D0-D1,-(A7) ;14af6: 48e7c000
+ MOVEQ #1,D0 ;14afa: 7001
+ MOVE.L A6,-(A7) ;14afc: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14afe: 2c780004
+ JSR $74(A6) ;14b02: 4eae0074
+ MOVEA.L (A7)+,A6 ;14b06: 2c5f
+ MOVEM.L (A7)+,D2-D3 ;14b08: 4cdf000c
+ EXG D0,D2 ;14b0c: c142
+ EXG D1,D3 ;14b0e: c343
+ BCLR #1,CIAA_PRA ;14b10: 08b9000100bfe001
+ BSR.W SUB_167E6 ;14b18: 61001ccc
+ MOVE.L A6,-(A7) ;14b1c: 2f0e
+ JSR SUB_24B70 ;14b1e: 4eb900024b70
+ MOVEA.L (A7)+,A6 ;14b24: 2c5f
+ MOVE.L #$000067e8,D1 ;14b26: 223c000067e8
+ LEA LAB_14A70(PC),A0 ;14b2c: 41faff42
+ MOVE.L D1,(A0) ;14b30: 2081
+ MOVEQ #4,D0 ;14b32: 7004
+ MOVE.L A6,-(A7) ;14b34: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14b36: 2c780004
+ JSR $6C(A6) ;14b3a: 4eae006c
+ MOVEA.L (A7)+,A6 ;14b3e: 2c5f
+ LEA LAB_14A6C(PC),A0 ;14b40: 41faff2a
+ MOVE.L D0,(A0) ;14b44: 2080
+ MOVE.L #$0000c3a0,D1 ;14b46: 223c0000c3a0
+ MOVEQ #2,D0 ;14b4c: 7002
+ MOVE.L A6,-(A7) ;14b4e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14b50: 2c780004
+ JSR $6C(A6) ;14b54: 4eae006c
+ MOVEA.L (A7)+,A6 ;14b58: 2c5f
+ MOVE.L D0,$B90(A6) ;14b5a: 2d400b90
+ MOVE.L A6,-(A7) ;14b5e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14b60: 2c780004
+ JSR $54(A6) ;14b64: 4eae0054
+ MOVEA.L (A7)+,A6 ;14b68: 2c5f
+ MOVE.L A1,$1022(A6) ;14b6a: 2d491022
+ LEA LAB_14A54(PC),A0 ;14b6e: 41fafee4
+ MOVE.L start_A1(PC),(A0) ;14b72: 20bab49e
+ MOVE.L (A0),$1066(A6) ;14b76: 2d501066
+ BSR.W SUB_13614 ;14b7a: 6100ea98
+ BSR.W SUB_13682 ;14b7e: 6100eb02
+ JSR LAB_21580 ;14b82: 4eb900021580
+ MOVE.L #$ffffffff,$B28(A6) ;14b88: 2d7cffffffff0b28
+ MOVEQ #$1E,D0 ;14b90: 701e
+ MOVEA.L #LAB_13BF8,A0 ;14b92: 207c00013bf8
+ LEA $A64(A6),A1 ;14b98: 43ee0a64
+LAB_14B9C:
+ MOVE.W (A0)+,(A1)+ ;14b9c: 32d8
+ DBF D0,LAB_14B9C ;14b9e: 51c8fffc
+ MOVE.L #$00007aa0,D1 ;14ba2: 223c00007aa0
+ MOVEQ #0,D0 ;14ba8: 7000
+ MOVE.L A6,-(A7) ;14baa: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14bac: 2c780004
+ JSR $6C(A6) ;14bb0: 4eae006c
+ MOVEA.L (A7)+,A6 ;14bb4: 2c5f
+ MOVE.L D0,$EE0(A6) ;14bb6: 2d400ee0
+ BEQ.S LAB_14BD0 ;14bba: 6714
+ MOVEA.L D0,A1 ;14bbc: 2240
+ LEA fed_sounds2(PC),A0 ;14bbe: 41faefa2
+ MOVE.L #$00007aa0,$E44(A6) ;14bc2: 2d7c00007aa00e44
+ JSR BuildFilename ;14bca: 4eb900019ba2
+LAB_14BD0:
+ MOVEA.L $1086(A6),A1 ;14bd0: 226e1086
+ LEA fed_sounds(PC),A0 ;14bd4: 41faef80
+ MOVE.L #$0000c0c8,$E44(A6) ;14bd8: 2d7c0000c0c80e44
+ JSR BuildFilename ;14be0: 4eb900019ba2
+ JSR LAB_2091C ;14be6: 4eb90002091c
+ JSR SUB_21C72 ;14bec: 4eb900021c72
+ MOVE.W #$0004,$AAC(A6) ;14bf2: 3d7c00040aac
+ BRA.S LAB_14C06 ;14bf8: 600c
+LAB_14BFA:
+ MOVE.L A6,-(A7) ;14bfa: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14bfc: 2c780004
+ JSR $3C(A6) ;14c00: 4eae003c
+ MOVEA.L (A7)+,A6 ;14c04: 2c5f
+LAB_14C06:
+ CLR.L $9E0(A6) ;14c06: 42ae09e0
+ MOVEA.L #LAB_13A12,A0 ;14c0a: 207c00013a12
+ CLR.W (A0) ;14c10: 4250
+ CLR.W $BE8(A6) ;14c12: 426e0be8
+ BSR.W SUB_1A5AA ;14c16: 61005992
+ BSR.W SUB_1682A ;14c1a: 61001c0e
+ BSR.W LAB_14722 ;14c1e: 6100fb02
+ ST $B28(A6) ;14c22: 50ee0b28
+ MOVEA.L $102A(A6),A1 ;14c26: 226e102a
+ LEA fed4_pic(PC),A0 ;14c2a: 41faef0c
+ BSR.W SUB_19B9A ;14c2e: 61004f6a
+ MOVE.L #$04000500,COLOR06 ;14c32: 23fc0400050000dff18c
+ BSR.W SUB_13E0E ;14c3c: 6100f1d0
+ CLR.L $B78(A6) ;14c40: 42ae0b78
+ BSR.W SUB_13E90 ;14c44: 6100f24a
+ CLR.W $B30(A6) ;14c48: 426e0b30
+ MOVE.L LAB_14A6C(PC),D0 ;14c4c: 203afe1e
+ BNE.S LAB_14C58 ;14c50: 6606
+ JMP LAB_21928 ;14c52: 4ef900021928
+LAB_14C58:
+ BSR.W SUB_19B84 ;14c58: 61004f2a
+ JSR SUB_22318 ;14c5c: 4eb900022318
+ CMPI.W #$fead,$20(A6) ;14c62: 0c6efead0020
+ BNE.S LAB_14C9E ;14c68: 6634
+; map loads in at $6b622
+ LEA str2bl_maps(PC),A0 ;14c6a: 41faef03
+ MOVEA.L LAB_14A6C(PC),A1 ;14c6e: 227afdfc
+ MOVE.L LAB_14A70(PC),$E44(A6) ;14c72: 2d7afdfc0e44
+ JSR BuildFilename ;14c78: 4eb900019ba2
+ JSR SUB_21A76 ;14c7e: 4eb900021a76
+ BSR.W SUB_1A5AA ;14c84: 61005924
+ MOVE.W $1E(A6),D0 ;14c88: 302e001e
+ BSR.W SUB_17A6C ;14c8c: 61002dde
+ JSR SUB_1CEE0 ;14c90: 4eb90001cee0
+ JSR LAB_19A56 ;14c96: 4eb900019a56
+ BRA.S LAB_14CA4 ;14c9c: 6006
+LAB_14C9E:
+ JSR SUB_21A8A ;14c9e: 4eb900021a8a
+LAB_14CA4:
+ JSR SUB_1CEE0 ;14ca4: 4eb90001cee0
+ JSR LAB_19A56 ;14caa: 4eb900019a56
+LAB_14CB0:
+ BSR.W LAB_17D8A ;14cb0: 610030d8
+ BSR.W SUB_1986E ;14cb4: 61004bb8
+ TST.W $A2(A6) ;14cb8: 4a6e00a2
+ BEQ.S LAB_14CC4 ;14cbc: 6706
+ SUBQ.W #1,$A2(A6) ;14cbe: 536e00a2
+ BRA.S LAB_14CCC ;14cc2: 6008
+LAB_14CC4:
+ BSR.W SUB_19852 ;14cc4: 61004b8c
+ BSR.W SUB_16BEC ;14cc8: 61001f22
+LAB_14CCC:
+ BSR.W SUB_168A6 ;14ccc: 61001bd8
+ BSR.W SUB_14D70 ;14cd0: 6100009e
+ BSR.W SUB_1A17A ;14cd4: 610054a4
+ BSR.W SUB_1989C ;14cd8: 61004bc2
+ BSR.W SUB_14ECC ;14cdc: 610001ee
+ BSR.W SUB_17CA0 ;14ce0: 61002fbe
+ BSR.W SUB_15700 ;14ce4: 61000a1a
+ BSR.W SUB_15736 ;14ce8: 61000a4c
+ BSR.W SUB_15728 ;14cec: 61000a3a
+ BSR.W SUB_1574E ;14cf0: 61000a5c
+ TST.W $258(A6) ;14cf4: 4a6e0258
+ BEQ.S LAB_14D04 ;14cf8: 670a
+ JSR SUB_22686 ;14cfa: 4eb900022686
+ BRA.W LAB_14BFA ;14d00: 6000fef8
+LAB_14D04:
+ BRA.S LAB_14CB0 ;14d04: 60aa
+ MOVE.L $B90(A6),D0 ;14d06: 202e0b90
+ BEQ.S LAB_14D1A ;14d0a: 670e
+ MOVEA.L D0,A0 ;14d0c: 2040
+ MOVE.L A6,-(A7) ;14d0e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;14d10: 2c780004
+ JSR $70(A6) ;14d14: 4eae0070
+ MOVEA.L (A7)+,A6 ;14d18: 2c5f
+LAB_14D1A:
+ MOVE.L A6,-(A7) ;14d1a: 2f0e
+ JSR LAB_24B78 ;14d1c: 4eb900024b78
+ MOVEA.L (A7)+,A6 ;14d22: 2c5f
+ BSR.W LAB_1367C ;14d24: 6100e956
+ MOVE.L #$00052ada,D1 ;14d28: 223c00052ada
+ MOVE.L LAB_14A68(PC),D0 ;14d2e: 203afd38
+ MOVEA.L D0,A0 ;14d32: 2040
+ MOVE.L A6,-(A7) ;14d34: 2f0e
+ MOVEA.L EXT_0.W,A6 ;14d36: 2c780000
+ JSR $70(A6) ;14d3a: 4eae0070
+ MOVEA.L (A7)+,A6 ;14d3e: 2c5f
+ MOVE.L LAB_14A6C(PC),D0 ;14d40: 203afd2a
+ MOVEA.L D0,A0 ;14d44: 2040
+ MOVE.L A6,-(A7) ;14d46: 2f0e
+ MOVEA.L EXT_0.W,A6 ;14d48: 2c780000
+ JSR $70(A6) ;14d4c: 4eae0070
+ MOVEA.L (A7)+,A6 ;14d50: 2c5f
+LAB_14D52:
+ RTS ;14d52: 4e75
+SUB_14D54:
+ BSR.W SUB_14E20 ;14d54: 610000ca
+ BSR.W SUB_168A6 ;14d58: 61001b4c
+ BSR.W SUB_1986E ;14d5c: 61004b10
+ BSR.W SUB_1A17A ;14d60: 61005418
+ BSR.W SUB_1989C ;14d64: 61004b36
+ BSR.W SUB_14EA6 ;14d68: 6100013c
+ BRA.W SUB_17CA0 ;14d6c: 60002f32
+SUB_14D70:
+ TST.W $230(A6) ;14d70: 4a6e0230
+ BNE.S LAB_14D78 ;14d74: 6602
+ RTS ;14d76: 4e75
+LAB_14D78:
+ MOVE.L $B90(A6),D0 ;14d78: 202e0b90
+ BEQ.S LAB_14D88 ;14d7c: 670a
+ MOVEA.L D0,A1 ;14d7e: 2240
+ MOVEA.L $1066(A6),A0 ;14d80: 206e1066
+ BSR.W SUB_14DE4 ;14d84: 6100005e
+LAB_14D88:
+ ST $C18(A6) ;14d88: 50ee0c18
+ MOVE.W #$ffff,$C50(A6) ;14d8c: 3d7cffff0c50
+ MOVE.W $10C(A6),-(A7) ;14d92: 3f2e010c
+LAB_14D96:
+ BSR.W SUB_19852 ;14d96: 61004aba
+ BSR.W LAB_14E08 ;14d9a: 6100006c
+ BSR.S SUB_14D54 ;14d9e: 61b4
+ BSR.W SUB_14E22 ;14da0: 61000080
+ TST.W $258(A6) ;14da4: 4a6e0258
+ BNE.S LAB_14DB0 ;14da8: 6606
+ TST.W $230(A6) ;14daa: 4a6e0230
+ BNE.S LAB_14D96 ;14dae: 66e6
+LAB_14DB0:
+ MOVE.W (A7)+,$10C(A6) ;14db0: 3d5f010c
+ MOVE.L $B90(A6),D0 ;14db4: 202e0b90
+ BEQ.S LAB_14DC6 ;14db8: 670c
+ MOVEA.L D0,A0 ;14dba: 2040
+ MOVEA.L $1066(A6),A1 ;14dbc: 226e1066
+ BSR.W SUB_14DE4 ;14dc0: 61000022
+ BRA.S LAB_14DDE ;14dc4: 6018
+LAB_14DC6:
+ MOVEA.L $1066(A6),A1 ;14dc6: 226e1066
+ ST $C1A(A6) ;14dca: 50ee0c1a
+ ST $9E(A6) ;14dce: 50ee009e
+ LEA fed4_pic(PC),A0 ;14dd2: 41faed64
+ BSR.W SUB_19BA8 ;14dd6: 61004dd0
+ BSR.W SUB_13AD2 ;14dda: 6100ecf6
+LAB_14DDE:
+ JMP SUB_1CEE0 ;14dde: 4ef90001cee0
+SUB_14DE4:
+ MOVE.W #$07cf,D1 ;14de4: 323c07cf
+LAB_14DE8:
+ MOVE.L $7D00(A0),$7D00(A1) ;14de8: 23687d007d00
+ MOVE.L $5DC0(A0),$5DC0(A1) ;14dee: 23685dc05dc0
+ MOVE.L $3E80(A0),$3E80(A1) ;14df4: 23683e803e80
+ MOVE.L $1F40(A0),$1F40(A1) ;14dfa: 23681f401f40
+ MOVE.L (A0)+,(A1)+ ;14e00: 22d8
+ DBF D1,LAB_14DE8 ;14e02: 51c9ffe4
+ RTS ;14e06: 4e75
+LAB_14E08:
+ BSR.W SUB_139DE ;14e08: 6100ebd4
+ BEQ.S LAB_14E1E ;14e0c: 6710
+ CMP.W #$0054,D0 ;14e0e: b07c0054
+ BEQ.S LAB_14E1A ;14e12: 6706
+ CMP.W #$00d4,D0 ;14e14: b07c00d4
+ BNE.S LAB_14E08 ;14e18: 66ee
+LAB_14E1A:
+ CLR.W $230(A6) ;14e1a: 426e0230
+LAB_14E1E:
+ RTS ;14e1e: 4e75
+SUB_14E20:
+ RTS ;14e20: 4e75
+SUB_14E22:
+ TST.W $C18(A6) ;14e22: 4a6e0c18
+ BEQ.W LAB_14E9C ;14e26: 67000074
+ TST.W $C4E(A6) ;14e2a: 4a6e0c4e
+ BNE.S LAB_14E48 ;14e2e: 6618
+ ADDQ.W #1,$C50(A6) ;14e30: 526e0c50
+ MOVE.W $C50(A6),D0 ;14e34: 302e0c50
+ BEQ.S LAB_14E48 ;14e38: 670e
+ ANDI.W #$0003,D0 ;14e3a: 02400003
+ MOVE.W D0,$C50(A6) ;14e3e: 3d400c50
+ ADDQ.W #1,D0 ;14e42: 5240
+ MOVE.W D0,$C4E(A6) ;14e44: 3d400c4e
+LAB_14E48:
+ MOVEQ #3,D1 ;14e48: 7203
+ CLR.W D0 ;14e4a: 4240
+ LEA LAB_14E9E(PC),A0 ;14e4c: 41fa0050
+LAB_14E50:
+ MOVEM.L D0-D1/A0,-(A7) ;14e50: 48e7c080
+ LEA $112(A6),A0 ;14e54: 41ee0112
+ MOVE.B 0(A0,D0.W),D0 ;14e58: 10300000
+ ADDQ.W #1,D0 ;14e5c: 5240
+ TST.W $C4E(A6) ;14e5e: 4a6e0c4e
+ BEQ.S LAB_14E6C ;14e62: 6708
+ CMP.W $C4E(A6),D0 ;14e64: b06e0c4e
+ BNE.W LAB_14E8A ;14e68: 66000020
+LAB_14E6C:
+ MOVE.W D0,$10C(A6) ;14e6c: 3d40010c
+ ST $C18(A6) ;14e70: 50ee0c18
+ BSR.W LAB_14EF6 ;14e74: 61000080
+ MOVE.W #$0508,D0 ;14e78: 303c0508
+ BSR.W LAB_198CC ;14e7c: 61004a4e
+ MOVEM.L (A7),D0-D1/A0 ;14e80: 4cd70103
+ MOVE.W (A0),D1 ;14e84: 3210
+ BSR.W SUB_13D20 ;14e86: 6100ee98
+LAB_14E8A:
+ MOVEM.L (A7)+,D0-D1/A0 ;14e8a: 4cdf0103
+ LEA 2(A0),A0 ;14e8e: 41e80002
+ ADDQ.W #1,D0 ;14e92: 5240
+ DBF D1,LAB_14E50 ;14e94: 51c9ffba
+ CLR.W $C4E(A6) ;14e98: 426e0c4e
+LAB_14E9C:
+ RTS ;14e9c: 4e75
+LAB_14E9E:
+ DC.L $00020014,$0fa20fb4 ;14e9e
+SUB_14EA6:
+ ADDQ.W #1,$C1E(A6) ;14ea6: 526e0c1e
+ MOVE.W $C1E(A6),D0 ;14eaa: 302e0c1e
+ ANDI.W #$000f,D0 ;14eae: 0240000f
+ BNE.S LAB_14EB8 ;14eb2: 6604
+SUB_14EB4:
+ ST $C18(A6) ;14eb4: 50ee0c18
+LAB_14EB8:
+ ANDI.W #$0007,D0 ;14eb8: 02400007
+ BNE.S LAB_14ECA ;14ebc: 660c
+ ORI.L #$04040404,$DC(A6) ;14ebe: 00ae0404040400dc
+ ST $9A(A6) ;14ec6: 50ee009a
+LAB_14ECA:
+ RTS ;14eca: 4e75
+SUB_14ECC:
+ BSR.S SUB_14EA6 ;14ecc: 61d8
+ TST.W $F94(A6) ;14ece: 4a6e0f94
+ BEQ.S LAB_14EDA ;14ed2: 6706
+ JMP LAB_20564 ;14ed4: 4ef900020564
+LAB_14EDA:
+ TST.W $10C(A6) ;14eda: 4a6e010c
+ BNE.S LAB_14EF6 ;14ede: 6616
+ ST $C1C(A6) ;14ee0: 50ee0c1c
+ CLR.W $122(A6) ;14ee4: 426e0122
+ TST.W $25E(A6) ;14ee8: 4a6e025e
+ BNE.S LAB_14EF4 ;14eec: 6606
+ MOVEA.L $FD4(A6),A3 ;14eee: 266e0fd4
+ JMP (A3) ;14ef2: 4ed3
+LAB_14EF4:
+ RTS ;14ef4: 4e75
+LAB_14EF6:
+ MOVE.W $C18(A6),$C1C(A6) ;14ef6: 3d6e0c180c1c
+ BEQ.S LAB_14F1A ;14efc: 671c
+ CLR.W $C18(A6) ;14efe: 426e0c18
+ MOVE.W $10C(A6),D0 ;14f02: 302e010c
+ SUBQ.W #1,D0 ;14f06: 5340
+ BMI.S LAB_14F1C ;14f08: 6b12
+ MULU #$01d2,D0 ;14f0a: c0fc01d2
+ LEA $298(A6),A0 ;14f0e: 41ee0298
+ ADDA.W D0,A0 ;14f12: d0c0
+ MOVE.L A0,$116(A6) ;14f14: 2d480116
+ BRA.S LAB_14F22 ;14f18: 6008
+LAB_14F1A:
+ RTS ;14f1a: 4e75
+LAB_14F1C:
+ MOVEQ #$6D,D1 ;14f1c: 726d
+ BRA.W LAB_156B6 ;14f1e: 60000796
+LAB_14F22:
+ TST.B $45(A0) ;14f22: 4a280045
+ BEQ.W SUB_183E6 ;14f26: 670034be
+ BSR.W SUB_14F72 ;14f2a: 61000046
+ BSR.W SUB_14F86 ;14f2e: 61000056
+ BSR.W SUB_15238 ;14f32: 61000304
+ JSR SUB_22596 ;14f36: 4eb900022596
+ TST.B $11C(A6) ;14f3c: 4a2e011c
+ BEQ.S LAB_14F46 ;14f40: 6704
+ BRA.W LAB_15030 ;14f42: 600000ec
+LAB_14F46:
+ BSR.W SUB_152D2 ;14f46: 6100038a
+ BSR.W SUB_14FBE ;14f4a: 61000072
+ RTS ;14f4e: 4e75
+LAB_14F50:
+ DC.L $0509050d,$050e050f,$05100511,$0512050a ;14f50
+ DC.L $0513050b,$050c0515,$05160518,$0519051a ;14f60
+ DC.W $ffff ;14f70
+SUB_14F72:
+ LEA LAB_14F50(PC),A0 ;14f72: 41faffdc
+LAB_14F76:
+ MOVE.W (A0)+,D0 ;14f76: 3018
+ BMI.S LAB_14F84 ;14f78: 6b0a
+ MOVE.L A0,-(A7) ;14f7a: 2f08
+ BSR.W LAB_198CC ;14f7c: 6100494e
+ MOVEA.L (A7)+,A0 ;14f80: 205f
+ BRA.S LAB_14F76 ;14f82: 60f2
+LAB_14F84:
+ RTS ;14f84: 4e75
+SUB_14F86:
+ MOVE.W #$0514,D0 ;14f86: 303c0514
+ BRA.W LAB_198CC ;14f8a: 60004940
+SUB_14F8E:
+ MOVE.W (A0)+,D0 ;14f8e: 3018
+ BMI.S LAB_14FA8 ;14f90: 6b16
+ MOVEQ #2,D1 ;14f92: 7202
+LAB_14F94:
+ MOVEM.L D0-D1/A0,-(A7) ;14f94: 48e7c080
+ BSR.W LAB_198CC ;14f98: 61004932
+ MOVEM.L (A7)+,D0-D1/A0 ;14f9c: 4cdf0103
+ ADDQ.W #1,D0 ;14fa0: 5240
+ DBF D1,LAB_14F94 ;14fa2: 51c9fff0
+ BRA.S SUB_14F8E ;14fa6: 60e6
+LAB_14FA8:
+ RTS ;14fa8: 4e75
+SUB_14FAA:
+ CLR.W D2 ;14faa: 4242
+ MOVE.W D2,D1 ;14fac: 3202
+ MOVE.W D2,D0 ;14fae: 3002
+ MOVE.B (A0)+,D2 ;14fb0: 1418
+ MOVE.B (A0)+,D0 ;14fb2: 1018
+ MOVE.B (A0)+,D1 ;14fb4: 1218
+ MULU #$0014,D1 ;14fb6: c2fc0014
+ BRA.W SUB_19F44 ;14fba: 60004f88
+SUB_14FBE:
+ LEA strHealth(PC),A0 ;14fbe: 41fa0b5c
+ MOVEQ #$54,D1 ;14fc2: 7254
+ TST.W $230(A6) ;14fc4: 4a6e0230
+ BEQ.S LAB_14FCC ;14fc8: 6702
+ MOVEQ #$51,D1 ;14fca: 7251
+LAB_14FCC:
+ MOVE.B D1,2(A0) ;14fcc: 11410002
+ BSR.S SUB_14FAA ;14fd0: 61d8
+ MOVEQ #2,D3 ;14fd2: 7602
+ MOVE.W #$0690,D1 ;14fd4: 323c0690
+ TST.W $230(A6) ;14fd8: 4a6e0230
+ BEQ.S LAB_14FE2 ;14fdc: 6704
+ MOVE.W #$0654,D1 ;14fde: 323c0654
+LAB_14FE2:
+ MOVEA.L $116(A6),A0 ;14fe2: 206e0116
+ LEA $18(A0),A1 ;14fe6: 43e80018
+LAB_14FEA:
+ MOVEQ #-100,D2 ;14fea: 749c
+ MOVEM.L D1/D3/A1,-(A7) ;14fec: 48e75040
+ MOVE.W (A1),D0 ;14ff0: 3011
+ BSR.W SUB_15A82 ;14ff2: 61000a8e
+ LEA str999_(PC),A0 ;14ff6: 41fa0b3d
+ BSR.W SUB_159F2 ;14ffa: 610009f6
+ MOVEM.L (A7),D1/D3/A1 ;14ffe: 4cd7020a
+ MOVE.W 2(A1),D0 ;15002: 30290002
+ BSR.W SUB_15A82 ;15006: 61000a7a
+ LEA LAB_15B3B(PC),A0 ;1500a: 41fa0b2f
+ BSR.W SUB_159F2 ;1500e: 610009e2
+ MOVEM.L (A7),D1/D3/A1 ;15012: 4cd7020a
+ MOVEQ #$38,D0 ;15016: 7038
+ LEA LAB_15B34(PC),A0 ;15018: 41fa0b1a
+ BSR.W SUB_19F44 ;1501c: 61004f26
+ MOVEM.L (A7)+,D1/D3/A1 ;15020: 4cdf020a
+ ADDQ.W #4,A1 ;15024: 5849
+ ADDI.W #$0078,D1 ;15026: 06410078
+ DBF D3,LAB_14FEA ;1502a: 51cbffbe
+ RTS ;1502e: 4e75
+LAB_15030:
+ BSR.W SUB_151B2 ;15030: 61000180
+ MOVEQ #0,D7 ;15034: 7e00
+ MOVEA.L $116(A6),A3 ;15036: 266e0116
+ LEA $46(A3),A3 ;1503a: 47eb0046
+ MOVE.W #$012c,$1016(A6) ;1503e: 3d7c012c1016
+LAB_15044:
+ MOVE.W D7,D0 ;15044: 3007
+ LEA LAB_15C9D(PC),A0 ;15046: 41fa0c55
+ JSR LAB_220D2 ;1504a: 4eb9000220d2
+ MOVEQ #-111,D2 ;15050: 7491
+ MOVEA.L $116(A6),A1 ;15052: 226e0116
+ MOVE.B $38(A1),D1 ;15056: 12290038
+ ANDI.W #$0007,D1 ;1505a: 02410007
+ CMP.W D7,D1 ;1505e: b247
+ BNE.S LAB_15064 ;15060: 6602
+ MOVEQ #-102,D2 ;15062: 749a
+LAB_15064:
+ MOVEQ #0,D6 ;15064: 7c00
+ MOVE.W (A3),D0 ;15066: 3013
+ LSR.W #2,D0 ;15068: e448
+ BEQ.S LAB_150A6 ;1506a: 673a
+ SUBQ.W #1,D0 ;1506c: 5340
+ MOVE.L A0,-(A7) ;1506e: 2f08
+ CMP.W #$0008,D0 ;15070: b07c0008
+ BLS.S LAB_1507E ;15074: 6308
+ MOVE.W D0,D6 ;15076: 3c00
+ SUBI.W #$0009,D6 ;15078: 04460009
+ MOVEQ #9,D0 ;1507c: 7009
+LAB_1507E:
+ MOVEA.L (A7)+,A1 ;1507e: 225f
+ LEA Ranks(PC),A0 ;15080: 41fa0bca
+ JSR LAB_220D2 ;15084: 4eb9000220d2
+ MOVE.W D2,-(A7) ;1508a: 3f02
+ MOVEQ #4,D0 ;1508c: 7004
+ MOVEQ #-123,D2 ;1508e: 7485
+ BSR.W SUB_150BE ;15090: 6100002c
+ MOVE.W (A7)+,D2 ;15094: 341f
+ ADDI.W #$0014,$1016(A6) ;15096: 066e00141016
+ BSR.W SUB_150BE ;1509c: 61000020
+ ADDI.W #$0078,$1016(A6) ;150a0: 066e00781016
+LAB_150A6:
+ ADDQ.W #6,A3 ;150a6: 5c4b
+ ADDQ.W #1,D7 ;150a8: 5247
+ CMP.W #$0005,D7 ;150aa: be7c0005
+ BLS.S LAB_15044 ;150ae: 6394
+ LEA LAB_15DC8(PC),A0 ;150b0: 41fa0d16
+ BSR.W SUB_14FAA ;150b4: 6100fef4
+ BSR.W SUB_15114 ;150b8: 6100005a
+ RTS ;150bc: 4e75
+SUB_150BE:
+ MOVEM.L D0/D2/D6-D7/A0-A1/A3,-(A7) ;150be: 48e7a3d0
+ MOVE.W D6,-(A7) ;150c2: 3f06
+ MOVEM.L D2/A1,-(A7) ;150c4: 48e72040
+ MOVE.W $1016(A6),D1 ;150c8: 322e1016
+ BSR.W SUB_19F44 ;150cc: 61004e76
+ ADDQ.W #4,D0 ;150d0: 5840
+ MOVEM.L (A7),D2/A0 ;150d2: 4cd70104
+ MOVE.W $1016(A6),D1 ;150d6: 322e1016
+ BSR.W SUB_19F44 ;150da: 61004e68
+ MOVEM.L (A7)+,D2/A1 ;150de: 4cdf0204
+ MOVE.W (A7)+,D6 ;150e2: 3c1f
+ BEQ.S LAB_1510E ;150e4: 6728
+ MOVEM.W D0/D2,-(A7) ;150e6: 48a7a000
+ MOVE.W D6,D0 ;150ea: 3006
+ BSR.W SUB_15A84 ;150ec: 61000996
+ LEA $FA2(A6),A0 ;150f0: 41ee0fa2
+ CLR.L (A0) ;150f4: 4290
+ CLR.L 4(A0) ;150f6: 42a80004
+ BSR.W SUB_159F2 ;150fa: 610008f6
+ MOVEM.W (A7)+,D0/D2 ;150fe: 4c9f0005
+ MOVE.W $1016(A6),D1 ;15102: 322e1016
+ LEA $FA2(A6),A0 ;15106: 41ee0fa2
+ BSR.W SUB_19F44 ;1510a: 61004e38
+LAB_1510E:
+ MOVEM.L (A7)+,D0/D2/D6-D7/A0-A1/A3 ;1510e: 4cdf0bc5
+ RTS ;15112: 4e75
+SUB_15114:
+ MOVEQ #5,D0 ;15114: 7005
+ MOVEA.L $116(A6),A0 ;15116: 206e0116
+ LEA LAB_1516E(PC),A2 ;1511a: 45fa0052
+ LEA $3E(A0),A1 ;1511e: 43e8003e
+ MOVE.W #$0140,D7 ;15122: 3e3c0140
+LAB_15126:
+ MOVE.L #$8b868100,$F7C(A6) ;15126: 2d7c8b8681000f7c
+ MOVE.B (A1)+,D1 ;1512e: 1219
+ BEQ.S LAB_15166 ;15130: 6734
+ CMP.B #$28,D1 ;15132: b23c0028
+ BLS.S LAB_1514C ;15136: 6314
+ CMP.B #$50,D1 ;15138: b23c0050
+ BLS.S LAB_15146 ;1513c: 6308
+ MOVE.B #$99,$F7C(A6) ;1513e: 1d7c00990f7c
+ BRA.S LAB_1514C ;15144: 6006
+LAB_15146:
+ MOVE.B #$9b,$F7C(A6) ;15146: 1d7c009b0f7c
+LAB_1514C:
+ MOVEM.L D0/D7/A1-A2,-(A7) ;1514c: 48e78160
+ LEA strHealth(PC),A0 ;15150: 41fa09ca
+ ADDA.W (A2),A0 ;15154: d0d2
+ MOVE.W D7,D1 ;15156: 3207
+ MOVEQ #$6D,D0 ;15158: 706d
+ BSR.W SUB_1517A ;1515a: 6100001e
+ MOVEM.L (A7)+,D0/D7/A1-A2 ;1515e: 4cdf0681
+ ADDI.W #$0078,D7 ;15162: 06470078
+LAB_15166:
+ ADDQ.W #2,A2 ;15166: 544a
+ DBF D0,LAB_15126 ;15168: 51c8ffbc
+ RTS ;1516c: 4e75
+LAB_1516E:
+ DC.L $031a031e,$03230329,$032f0336 ;1516e
+SUB_1517A:
+ MOVEM.L D0-D2/A0,-(A7) ;1517a: 48e7e080
+ MOVE.B $F7E(A6),D2 ;1517e: 142e0f7e
+ EXT.W D2 ;15182: 4882
+ ADDI.W #$0014,D1 ;15184: 06410014
+ BSR.W SUB_19F44 ;15188: 61004dba
+ MOVEM.L (A7),D0-D2/A0 ;1518c: 4cd70107
+ MOVE.B $F7D(A6),D2 ;15190: 142e0f7d
+ EXT.W D2 ;15194: 4882
+ ADDQ.W #1,D0 ;15196: 5240
+ BSR.W SUB_19F44 ;15198: 61004daa
+ MOVEM.L (A7)+,D0-D2/A0 ;1519c: 4cdf0107
+ MOVE.B $F7C(A6),D2 ;151a0: 142e0f7c
+ EXT.W D2 ;151a4: 4882
+LAB_151A6:
+ BRA.W SUB_19F44 ;151a6: 60004d9c
+ DC.L $00020002,$00020080 ;151aa
+SUB_151B2:
+ BSR.W SUB_15238 ;151b2: 61000084
+ MOVEA.L $116(A6),A1 ;151b6: 226e0116
+ MOVE.W $10C(A6),D2 ;151ba: 342e010c
+ MOVE.W $B34(A6),D2 ;151be: 342e0b34
+ MOVE.B $38(A1),D0 ;151c2: 10290038
+ LSR.W #3,D0 ;151c6: e648
+ ANDI.W #$0007,D0 ;151c8: 02400007
+ LEA Races(PC),A0 ;151cc: 41fa0a4e
+ JSR LAB_220D2 ;151d0: 4eb9000220d2
+ MOVE.W #$0064,D1 ;151d6: 323c0064
+ MOVEQ #$F,D0 ;151da: 700f
+ MOVEM.W D1-D2,-(A7) ;151dc: 48a76000
+ BSR.W SUB_19F44 ;151e0: 61004d62
+ ADDQ.W #7,D0 ;151e4: 5e40
+ MOVE.W D0,-(A7) ;151e6: 3f00
+ MOVEA.L $116(A6),A1 ;151e8: 226e0116
+ MOVE.B $39(A1),D0 ;151ec: 10290039
+ ANDI.W #$0001,D0 ;151f0: 02400001
+ LEA RightHand(PC),A0 ;151f4: 41fa0ac8
+ JSR LAB_220D2 ;151f8: 4eb9000220d2
+ MOVE.W (A7)+,D0 ;151fe: 301f
+ MOVEM.W (A7)+,D1-D2 ;15200: 4c9f0006
+ BRA.W SUB_19F44 ;15204: 60004d3e
+SUB_15208:
+ BSR.S SUB_15238 ;15208: 612e
+ MOVEA.L $116(A6),A0 ;1520a: 206e0116
+ MOVE.W $10C(A6),D2 ;1520e: 342e010c
+ MOVE.W $B34(A6),D2 ;15212: 342e0b34
+ LEA (A0),A0 ;15216: 41d0
+ MOVE.W #$0064,D1 ;15218: 323c0064
+ MOVEQ #$F,D0 ;1521c: 700f
+ MOVE.W D0,$10A(A6) ;1521e: 3d40010a
+ BSR.W SUB_19F44 ;15222: 61004d20
+ MOVE.W $B34(A6),D2 ;15226: 342e0b34
+ ADDQ.W #4,D0 ;1522a: 5840
+ BSR.W SUB_19F44 ;1522c: 61004d16
+ CLR.W $10A(A6) ;15230: 426e010a
+ RTS ;15234: 4e75
+ DC.W $4000 ;15236
+SUB_15238:
+ MOVEA.L $116(A6),A0 ;15238: 206e0116
+ MOVE.W $10C(A6),D2 ;1523c: 342e010c
+ MOVE.B LAB_1526A+1(PC,D2.W),$B35(A6) ;15240: 1d7b20290b35
+ MOVEM.L D0/D2/A0-A1,-(A7) ;15246: 48e7a0c0
+ MOVE.B LAB_1526A+1(PC,D2.W),D0 ;1524a: 103b201f
+ LEA LAB_1526C(PC),A0 ;1524e: 41fa001c
+ LEA $B36(A6),A1 ;15252: 43ee0b36
+ MOVE.B D0,(A1)+ ;15256: 12c0
+ MOVEQ #3,D2 ;15258: 7403
+LAB_1525A:
+ CMP.B (A0)+,D0 ;1525a: b018
+ BEQ.S LAB_15262 ;1525c: 6704
+ MOVE.B -1(A0),(A1)+ ;1525e: 12e8ffff
+LAB_15262:
+ DBF D2,LAB_1525A ;15262: 51cafff6
+ MOVEM.L (A7)+,D0/D2/A0-A1 ;15266: 4cdf0305
+LAB_1526A:
+ RTS ;1526a: 4e75
+LAB_1526C:
+ DC.L $99989a97 ;1526c
+LAB_15270:
+ MOVEM.L D0-D3,-(A7) ;15270: 48e7f000
+ MOVEQ #0,D0 ;15274: 7000
+ MOVE.W $28(A0),D0 ;15276: 30280028
+ LSR.W #7,D0 ;1527a: ee48
+ MOVE.W $1C(A0),D2 ;1527c: 3428001c
+ MOVE.W $1E(A0),D1 ;15280: 3228001e
+ BEQ.S LAB_15294 ;15284: 670e
+ MOVE.W D1,D3 ;15286: 3601
+ ADDQ.W #1,D1 ;15288: 5241
+ LSR.W #5,D3 ;1528a: ea4b
+ LSR.W #6,D3 ;1528c: ec4b
+ SWAP D2 ;1528e: 4842
+ CLR.W D2 ;15290: 4242
+ DIVU D1,D2 ;15292: 84c1
+LAB_15294:
+ ANDI.L #$0000ffff,D2 ;15294: 02820000ffff
+ DIVU #$051e,D2 ;1529a: 84fc051e
+ CMP.W #$0014,D2 ;1529e: b47c0014
+ BLS.S LAB_152A6 ;152a2: 6302
+ MOVEQ #$14,D2 ;152a4: 7414
+LAB_152A6:
+ ADD.W D3,D2 ;152a6: d443
+ ADD.W D0,D2 ;152a8: d440
+ MOVE.L A0,-(A7) ;152aa: 2f08
+ LEA $B6(A0),A0 ;152ac: 41e800b6
+ MOVEQ #5,D0 ;152b0: 7005
+LAB_152B2:
+ TST.B (A0) ;152b2: 4a10
+ BPL.S LAB_152BC ;152b4: 6a06
+ MULU #$0007,D2 ;152b6: c4fc0007
+ LSR.W #3,D2 ;152ba: e64a
+LAB_152BC:
+ ADDQ.W #4,A0 ;152bc: 5848
+ DBF D0,LAB_152B2 ;152be: 51c8fff2
+ MOVEA.L (A7)+,A0 ;152c2: 205f
+ MULU #$000a,D2 ;152c4: c4fc000a
+ MOVE.W D2,$D0(A0) ;152c8: 314200d0
+ MOVEM.L (A7)+,D0-D3 ;152cc: 4cdf000f
+ RTS ;152d0: 4e75
+SUB_152D2:
+ BSR.W SUB_15208 ;152d2: 6100ff34
+ MOVEA.L $116(A6),A0 ;152d6: 206e0116
+ MOVE.W $3A(A0),D1 ;152da: 3228003a
+ MOVE.W D1,-(A7) ;152de: 3f01
+ MOVE.W #$0527,D0 ;152e0: 303c0527
+ CMP.W #$1999,D1 ;152e4: b27c1999
+ BLS.S LAB_152EE ;152e8: 6304
+ MOVE.W #$0528,D0 ;152ea: 303c0528
+LAB_152EE:
+ BSR.W LAB_198CC ;152ee: 610045dc
+ MOVE.W #$0526,D0 ;152f2: 303c0526
+ BSR.W LAB_198CC ;152f6: 610045d4
+ MOVE.W (A7)+,D1 ;152fa: 321f
+ MOVE.W D1,D2 ;152fc: 3401
+ MULU #$0030,D1 ;152fe: c2fc0030
+ SWAP D1 ;15302: 4841
+ TST.W D1 ;15304: 4a41
+ BNE.S LAB_1530E ;15306: 6606
+ TST.W D2 ;15308: 4a42
+ BEQ.S LAB_1530E ;1530a: 6702
+ MOVEQ #1,D1 ;1530c: 7201
+LAB_1530E:
+ MOVE.W #$002f,D2 ;1530e: 343c002f
+ SUB.W D1,D2 ;15312: 9441
+ BEQ.S LAB_15328 ;15314: 6712
+ MOVEA.L #LAB_12942,A2 ;15316: 247c00012942
+ MOVE.B D2,5(A2) ;1531c: 15420005
+ MOVE.W #$0525,D0 ;15320: 303c0525
+ BSR.W LAB_198CC ;15324: 610045a6
+LAB_15328:
+ MOVEA.L $116(A6),A0 ;15328: 206e0116
+ LEA $B6(A0),A0 ;1532c: 41e800b6
+ MOVEA.L #LAB_12B0A,A1 ;15330: 227c00012b0a
+ MOVEQ #5,D7 ;15336: 7e05
+ CLR.W $C22(A6) ;15338: 426e0c22
+ CLR.W $F60(A6) ;1533c: 426e0f60
+ ST $101A(A6) ;15340: 50ee101a
+LAB_15344:
+ CMP.W #$0003,D7 ;15344: be7c0003
+ BHI.S LAB_1534E ;15348: 6204
+ CLR.W $101A(A6) ;1534a: 426e101a
+LAB_1534E:
+ MOVEA.L #LAB_12842,A2 ;1534e: 247c00012842
+ MOVE.W #$0505,D0 ;15354: 303c0505
+ TST.B (A0) ;15358: 4a10
+ BPL.S LAB_1535E ;1535a: 6a02
+ ADDQ.W #1,D0 ;1535c: 5240
+LAB_1535E:
+ MOVEM.L D7/A0-A1,-(A7) ;1535e: 48e701c0
+ MOVE.W 2(A1),D1 ;15362: 32290002
+ BSR.W SUB_198BA ;15366: 61004552
+ MOVEM.L (A7)+,D7/A0-A1 ;1536a: 4cdf0380
+ MOVE.W 2(A1),D1 ;1536e: 32290002
+ ADDI.W #$0015,D1 ;15372: 06410015
+ MOVE.B 1(A0),D0 ;15376: 10280001
+ BNE.S LAB_1539E ;1537a: 6622
+ MOVEA.L #LAB_12852,A2 ;1537c: 247c00012852
+ MOVE.W (A1),D0 ;15382: 3011
+ TST.B (A0) ;15384: 4a10
+ BPL.S LAB_1538A ;15386: 6a02
+ ADDQ.W #2,D0 ;15388: 5440
+LAB_1538A:
+ MOVE.W D0,(A2)+ ;1538a: 34c0
+ MOVE.W #$0507,D0 ;1538c: 303c0507
+ MOVEM.L D7/A0-A1,-(A7) ;15390: 48e701c0
+ BSR.W SUB_198BA ;15394: 61004524
+ MOVEM.L (A7)+,D7/A0-A1 ;15398: 4cdf0380
+ BRA.S LAB_153A2 ;1539c: 6004
+LAB_1539E:
+ BSR.W LAB_1542A ;1539e: 6100008a
+LAB_153A2:
+ ADDQ.W #4,A0 ;153a2: 5848
+ ADDQ.W #4,A1 ;153a4: 5849
+ DBF D7,LAB_15344 ;153a6: 51cfff9c
+ MOVEA.L $116(A6),A0 ;153aa: 206e0116
+ MOVE.W $F60(A6),$6A(A0) ;153ae: 316e0f60006a
+ LEA $6E(A0),A0 ;153b4: 41e8006e
+ MOVEQ #$11,D7 ;153b8: 7e11
+ LEA LAB_1A8A6(PC),A1 ;153ba: 43fa54ea
+ BSR.W LAB_1541C ;153be: 6100005c
+ BSR.W SUB_1546C ;153c2: 610000a8
+ MOVEA.L $116(A6),A0 ;153c6: 206e0116
+ CMPI.B #$5c,$B7(A0) ;153ca: 0c28005c00b7
+ BNE.S LAB_153D4 ;153d0: 6602
+ BSR.S SUB_153EE ;153d2: 611a
+LAB_153D4:
+ MOVEA.L $116(A6),A0 ;153d4: 206e0116
+ ADDQ.W #4,A0 ;153d8: 5848
+ CMPI.B #$5c,$B7(A0) ;153da: 0c28005c00b7
+ BNE.S LAB_153E4 ;153e0: 6602
+ BSR.S SUB_153E6 ;153e2: 6102
+LAB_153E4:
+ RTS ;153e4: 4e75
+SUB_153E6:
+ LEA LAB_1A90E(PC),A1 ;153e6: 43fa5526
+ MOVEQ #$66,D1 ;153ea: 7266
+ BRA.S LAB_153F4 ;153ec: 6006
+SUB_153EE:
+ LEA LAB_1A8EE(PC),A1 ;153ee: 43fa54fe
+ MOVEQ #6,D1 ;153f2: 7206
+LAB_153F4:
+ MOVEQ #$E,D2 ;153f4: 740e
+ MOVEQ #$21,D3 ;153f6: 7621
+ MOVEQ #$41,D4 ;153f8: 7841
+ MOVEQ #-103,D5 ;153fa: 7a99
+ MOVEM.L D0/A0-A1,-(A7) ;153fc: 48e780c0
+ JSR SUB_20B08 ;15400: 4eb900020b08
+ MOVEM.L (A7)+,D0/A0-A1 ;15406: 4cdf0301
+ MOVE.B $B8(A0),D0 ;1540a: 102800b8
+ ANDI.W #$0003,D0 ;1540e: 02400003
+ ASL.W #5,D0 ;15412: eb40
+ LEA $9E4(A6),A0 ;15414: 41ee09e4
+ ADDA.W D0,A0 ;15418: d0c0
+ MOVEQ #7,D7 ;1541a: 7e07
+LAB_1541C:
+ BSR.W SUB_1544A ;1541c: 6100002c
+ ADDQ.W #4,A0 ;15420: 5848
+ ADDQ.W #4,A1 ;15422: 5849
+ DBF D7,LAB_1541C ;15424: 51cffff6
+ RTS ;15428: 4e75
+LAB_1542A:
+ MOVEM.L D7/A0-A1,-(A7) ;1542a: 48e701c0
+ MOVEQ #0,D0 ;1542e: 7000
+ MOVE.B 1(A0),D0 ;15430: 10280001
+ ANDI.W #$007f,D0 ;15434: 0240007f
+ BEQ.S LAB_15444 ;15438: 670a
+ MOVE.W D1,D3 ;1543a: 3601
+ BSR.W LAB_154DE ;1543c: 610000a0
+ BSR.W SUB_1559A ;15440: 61000158
+LAB_15444:
+ MOVEM.L (A7)+,D7/A0-A1 ;15444: 4cdf0380
+ RTS ;15448: 4e75
+SUB_1544A:
+ MOVE.W (A1),D1 ;1544a: 3211
+ ADD.W 2(A1),D1 ;1544c: d2690002
+ MOVE.W #$0505,D0 ;15450: 303c0505
+ SUB.W 2(A1),D0 ;15454: 90690002
+ MOVEM.L D7/A0-A1,-(A7) ;15458: 48e701c0
+ BSR.W SUB_198BA ;1545c: 6100445c
+ MOVEM.L (A7)+,D7/A0-A1 ;15460: 4cdf0380
+ MOVE.W (A1),D1 ;15464: 3211
+ ADDI.W #$0015,D1 ;15466: 06410015
+ BRA.S LAB_1542A ;1546a: 60be
+SUB_1546C:
+ MOVEA.L $116(A6),A0 ;1546c: 206e0116
+ MOVE.L A0,-(A7) ;15470: 2f08
+ MOVE.W $C22(A6),D0 ;15472: 302e0c22
+ MOVE.W D0,$CE(A0) ;15476: 314000ce
+ BSR.W SUB_15A84 ;1547a: 61000608
+ LEA str9999_9_(PC),A0 ;1547e: 41fa06c8
+ BSR.W SUB_15A02 ;15482: 6100057e
+ MOVEA.L (A7),A0 ;15486: 2057
+ MOVE.W $D0(A0),D0 ;15488: 302800d0
+ BSR.W SUB_15A84 ;1548c: 610005f6
+ LEA str9999_9(PC),A0 ;15490: 41fa06be
+ BSR.W SUB_15A02 ;15494: 6100056c
+ MOVEQ #0,D0 ;15498: 7000
+ MOVE.L D0,D1 ;1549a: 2200
+ MOVEA.L (A7)+,A0 ;1549c: 205f
+ MOVE.W $D0(A0),D0 ;1549e: 302800d0
+ MOVE.W $CE(A0),D1 ;154a2: 322800ce
+ MOVEQ #-111,D2 ;154a6: 7491
+ LEA LAB_15B47(PC),A0 ;154a8: 41fa069d
+ CMP.W D0,D1 ;154ac: b240
+ BHI.S LAB_154BE ;154ae: 620e
+ MULU #$000a,D0 ;154b0: c0fc000a
+ LSR.L #4,D0 ;154b4: e888
+ CMP.W D0,D1 ;154b6: b240
+ BLS.S LAB_154C0 ;154b8: 6306
+ MOVEQ #-102,D2 ;154ba: 749a
+ BRA.S LAB_154C0 ;154bc: 6002
+LAB_154BE:
+ MOVEQ #-103,D2 ;154be: 7499
+LAB_154C0:
+ MOVE.B D2,(A0) ;154c0: 1082
+ MOVEQ #1,D2 ;154c2: 7401
+ MOVEQ #$2C,D0 ;154c4: 702c
+ MOVE.W #$05c8,D1 ;154c6: 323c05c8
+ BSR.W SUB_19F44 ;154ca: 61004a78
+ MOVEQ #-111,D2 ;154ce: 7491
+LAB_154D0:
+ ADDI.W #$0014,D1 ;154d0: 06410014
+ LEA LAB_15B45(PC),A0 ;154d4: 41fa066f
+ BRA.W SUB_19F44 ;154d8: 60004a6a
+SUB_154DC:
+ MOVEQ #0,D7 ;154dc: 7e00
+LAB_154DE:
+ CMP.B #$5c,D0 ;154de: b03c005c
+ BNE.S SUB_1551C ;154e2: 6638
+ MOVEM.L D0/A0,-(A7) ;154e4: 48e78080
+ MOVE.B 2(A0),D0 ;154e8: 10280002
+ ANDI.W #$0003,D0 ;154ec: 02400003
+ ASL.W #5,D0 ;154f0: eb40
+ LEA $9E4(A6),A0 ;154f2: 41ee09e4
+ ADDA.W D0,A0 ;154f6: d0c0
+ MOVEQ #7,D1 ;154f8: 7207
+LAB_154FA:
+ CLR.W D0 ;154fa: 4240
+ MOVE.B 1(A0),D0 ;154fc: 10280001
+ ANDI.W #$007f,D0 ;15500: 0240007f
+ BEQ.S LAB_15512 ;15504: 670c
+ MOVEM.L D1/A0,-(A7) ;15506: 48e74080
+ BSR.W SUB_1551C ;1550a: 61000010
+ MOVEM.L (A7)+,D1/A0 ;1550e: 4cdf0102
+LAB_15512:
+ ADDQ.W #4,A0 ;15512: 5848
+ DBF D1,LAB_154FA ;15514: 51c9ffe4
+ MOVEM.L (A7)+,D0/A0 ;15518: 4cdf0101
+SUB_1551C:
+ BSR.W SUB_1562A ;1551c: 6100010c
+ MOVEM.L D0-D3/A0,-(A7) ;15520: 48e7f080
+ MOVE.W D0,D3 ;15524: 3600
+ BSR.W SUB_15AFE ;15526: 610005d6
+ MOVE.W D1,$1020(A6) ;1552a: 3d411020
+ ADD.W D1,$C22(A6) ;1552e: d36e0c22
+ CMP.W #$0003,D7 ;15532: be7c0003
+ BLS.S LAB_1553E ;15536: 6306
+ CMP.B #$2c,D3 ;15538: b63c002c
+ BLS.S LAB_1554E ;1553c: 6310
+LAB_1553E:
+ CLR.W D2 ;1553e: 4242
+ ADDA.W D0,A0 ;15540: d0c0
+ MOVE.L A0,$101C(A6) ;15542: 2d48101c
+ MOVE.B 5(A0),D2 ;15546: 14280005
+ ADD.W D2,$F60(A6) ;1554a: d56e0f60
+LAB_1554E:
+ MOVEM.L (A7)+,D0-D3/A0 ;1554e: 4cdf010f
+ RTS ;15552: 4e75
+LAB_15554:
+ MOVEM.L D6/A1,-(A7) ;15554: 48e70240
+ BSR.W SUB_1562A ;15558: 610000d0
+ MOVE.W D0,D7 ;1555c: 3e00
+ BSR.W SUB_155CA ;1555e: 6100006a
+ MOVEM.L (A7)+,D6/A1 ;15562: 4cdf0240
+ MOVE.W #$0028,D4 ;15566: 383c0028
+ BRA.W LAB_15586 ;1556a: 6000001a
+SUB_1556E:
+ MOVE.W D0,D7 ;1556e: 3e00
+ CLR.W $E54(A6) ;15570: 426e0e54
+ LEA LAB_151A6+3(PC),A5 ;15574: 4bfafc33
+ BSR.W SUB_155CA ;15578: 61000050
+ BSR.S SUB_15582 ;1557c: 6104
+ BRA.W LAB_14310 ;1557e: 6000ed90
+SUB_15582:
+ MOVE.W #$0014,D4 ;15582: 383c0014
+LAB_15586:
+ CMP.W #$000f,D1 ;15586: b27c000f
+ BGE.S LAB_15596 ;1558a: 6c0a
+ MOVEQ #$F,D0 ;1558c: 700f
+ SUB.W D1,D0 ;1558e: 9041
+ MULU D4,D0 ;15590: c0c4
+ ADDA.W D0,A1 ;15592: d2c0
+ BRA.S LAB_15598 ;15594: 6002
+LAB_15596:
+ MOVEQ #$F,D1 ;15596: 720f
+LAB_15598:
+ RTS ;15598: 4e75
+SUB_1559A:
+ MOVE.W D0,D7 ;1559a: 3e00
+ CLR.W $E54(A6) ;1559c: 426e0e54
+ LEA LAB_151A6+3(PC),A5 ;155a0: 4bfafc07
+ BSR.S SUB_155CA ;155a4: 6124
+ BSR.S SUB_155AC ;155a6: 6104
+ BRA.W LAB_14310 ;155a8: 6000ed66
+SUB_155AC:
+ CMP.W #$000f,D1 ;155ac: b27c000f
+ BGE.S LAB_155C6 ;155b0: 6c14
+ MOVE.W D1,-(A7) ;155b2: 3f01
+ MOVEQ #7,D0 ;155b4: 7007
+ SUBQ.W #1,D1 ;155b6: 5341
+ LSR.W #1,D1 ;155b8: e249
+ SUB.W D1,D0 ;155ba: 9041
+ MOVE.W (A7)+,D1 ;155bc: 321f
+ MULU #$0014,D0 ;155be: c0fc0014
+ ADDA.W D0,A1 ;155c2: d2c0
+ BRA.S LAB_155C8 ;155c4: 6002
+LAB_155C6:
+ MOVEQ #$F,D1 ;155c6: 720f
+LAB_155C8:
+ RTS ;155c8: 4e75
+SUB_155CA:
+ CMP.B #$6e,D0 ;155ca: b03c006e
+ BNE.S LAB_155D6 ;155ce: 6606
+ JSR SUB_20C6C ;155d0: 4eb900020c6c
+LAB_155D6:
+ CMP.B #$6f,D0 ;155d6: b03c006f
+ BNE.S LAB_155E2 ;155da: 6606
+ JSR SUB_20C5A ;155dc: 4eb900020c5a
+LAB_155E2:
+ CMP.B #$70,D0 ;155e2: b03c0070
+ BNE.S LAB_155F2 ;155e6: 660a
+ TST.W $101A(A6) ;155e8: 4a6e101a
+ BEQ.S LAB_155F2 ;155ec: 6704
+ MOVE.W #$008f,D0 ;155ee: 303c008f
+LAB_155F2:
+ MOVEA.L #LAB_13370,A3 ;155f2: 267c00013370
+ ASL.W #2,D0 ;155f8: e540
+ ADDA.W D0,A3 ;155fa: d6c0
+ LEA $102A(A6),A2 ;155fc: 45ee102a
+ MOVE.B 3(A3),D4 ;15600: 182b0003
+ ANDI.W #$007f,D4 ;15604: 0244007f
+ MOVEA.L 0(A2,D4.W),A2 ;15608: 24724000
+ ADDA.W (A3),A2 ;1560c: d4d3
+ MOVEA.L $1022(A6),A1 ;1560e: 226e1022
+ ADDA.W D3,A1 ;15612: d2c3
+ CLR.W D1 ;15614: 4241
+ MOVE.B 2(A3),D1 ;15616: 122b0002
+ MOVEQ #2,D2 ;1561a: 7402
+ CLR.W D3 ;1561c: 4243
+ MOVE.W A1,D4 ;1561e: 3809
+ BTST #0,D4 ;15620: 08040000
+ BEQ.S LAB_15628 ;15624: 6702
+ MOVEQ #8,D3 ;15626: 7608
+LAB_15628:
+ RTS ;15628: 4e75
+SUB_1562A:
+ CLR.W D0 ;1562a: 4240
+ MOVE.B 1(A0),D0 ;1562c: 10280001
+SUB_15630:
+ MOVEQ #0,D2 ;15630: 7400
+ MOVE.W D0,D1 ;15632: 3200
+ BEQ.S LAB_15690 ;15634: 675a
+ CMP.B #$04,D1 ;15636: b23c0004
+ BEQ.S LAB_15694 ;1563a: 6758
+ BLS.S LAB_15690 ;1563c: 6352
+ ADDQ.W #2,D0 ;1563e: 5440
+ CMP.B #$06,D1 ;15640: b23c0006
+ BEQ.S LAB_15694 ;15644: 674e
+ BLS.S LAB_15690 ;15646: 6348
+ ADDQ.W #2,D0 ;15648: 5440
+ CMP.B #$0a,D1 ;1564a: b23c000a
+ BEQ.S LAB_15694 ;1564e: 6744
+ BLS.S LAB_15690 ;15650: 633e
+ ADDQ.W #2,D0 ;15652: 5440
+ CMP.B #$0b,D1 ;15654: b23c000b
+ BEQ.S LAB_15694 ;15658: 673a
+ BLS.S LAB_15690 ;1565a: 6334
+ ADDQ.W #2,D0 ;1565c: 5440
+ CMP.B #$0e,D1 ;1565e: b23c000e
+ BEQ.S LAB_15694 ;15662: 6730
+ BLS.S LAB_15690 ;15664: 632a
+ ADDQ.W #1,D0 ;15666: 5240
+ CMP.B #$14,D1 ;15668: b23c0014
+ BEQ.S LAB_15694 ;1566c: 6726
+ BLS.S LAB_15690 ;1566e: 6320
+ ADDQ.W #2,D0 ;15670: 5440
+ CMP.B #$2d,D1 ;15672: b23c002d
+ BEQ.S LAB_15694 ;15676: 671c
+ BLS.S LAB_15690 ;15678: 6316
+ ADDQ.W #3,D0 ;1567a: 5640
+ CMP.B #$2e,D1 ;1567c: b23c002e
+ BEQ.S LAB_15694 ;15680: 6712
+ BLS.S LAB_15690 ;15682: 630c
+ ADDQ.W #3,D0 ;15684: 5640
+ CMP.B #$2f,D1 ;15686: b23c002f
+ BEQ.S LAB_15694 ;1568a: 6708
+ BLS.S LAB_15690 ;1568c: 6302
+ ADDQ.W #3,D0 ;1568e: 5640
+LAB_15690:
+ CLR.W D1 ;15690: 4241
+ RTS ;15692: 4e75
+LAB_15694:
+ MOVE.B 2(A0),D1 ;15694: 12280002
+ ANDI.W #$0003,D1 ;15698: 02410003
+ ADD.W D1,D0 ;1569c: d041
+ CLR.W D1 ;1569e: 4241
+ RTS ;156a0: 4e75
+ MOVEA.L $1022(A6),A2 ;156a2: 246e1022
+ MOVE.W #$1e5c,D0 ;156a6: 303c1e5c
+ BRA.S LAB_156BE ;156aa: 6012
+ MOVEA.L $1022(A6),A2 ;156ac: 246e1022
+ MOVE.W #$1de4,D0 ;156b0: 303c1de4
+ BRA.S LAB_156BE ;156b4: 6008
+LAB_156B6:
+ MOVEA.L $1022(A6),A2 ;156b6: 246e1022
+ MOVE.W #$1ed4,D0 ;156ba: 303c1ed4
+LAB_156BE:
+ MOVE.W D1,-(A7) ;156be: 3f01
+ MOVEA.L $1036(A6),A0 ;156c0: 206e1036
+ ADDA.W D0,A0 ;156c4: d0c0
+ BSR.S SUB_156D8 ;156c6: 6110
+ LEA $28(A0),A0 ;156c8: 41e80028
+ MOVE.W (A7)+,D1 ;156cc: 321f
+LAB_156CE:
+ BSR.S SUB_156D8 ;156ce: 6108
+ DBF D1,LAB_156CE ;156d0: 51c9fffc
+ LEA $28(A0),A0 ;156d4: 41e80028
+SUB_156D8:
+ MOVEA.L A0,A1 ;156d8: 2248
+ MOVEQ #8,D2 ;156da: 7408
+LAB_156DC:
+ MOVE.W $1F40(A1),$8C0(A2) ;156dc: 35691f4008c0
+ MOVE.W $3E80(A1),$1180(A2) ;156e2: 35693e801180
+ MOVE.W $5DC0(A1),$1A40(A2) ;156e8: 35695dc01a40
+ MOVE.W $7D00(A1),$2300(A2) ;156ee: 35697d002300
+ MOVE.W (A1)+,(A2)+ ;156f4: 34d9
+ DBF D2,LAB_156DC ;156f6: 51caffe4
+ LEA 2(A2),A2 ;156fa: 45ea0002
+ RTS ;156fe: 4e75
+SUB_15700:
+ TST.W $C1C(A6) ;15700: 4a6e0c1c
+ BEQ.S LAB_15726 ;15704: 6720
+ TST.W $25E(A6) ;15706: 4a6e025e
+ BNE.S LAB_15726 ;1570a: 661a
+ CLR.W $C1C(A6) ;1570c: 426e0c1c
+ TST.W $32(A6) ;15710: 4a6e0032
+ BNE.W SUB_13D30 ;15714: 6600e61a
+ JSR SUB_21940 ;15718: 4eb900021940
+ ST $C1C(A6) ;1571e: 50ee0c1c
+ ST $C18(A6) ;15722: 50ee0c18
+LAB_15726:
+ RTS ;15726: 4e75
+SUB_15728:
+ TST.B $265(A6) ;15728: 4a2e0265
+ BPL.S LAB_15734 ;1572c: 6a06
+ JSR SUB_1B32C ;1572e: 4eb90001b32c
+LAB_15734:
+ RTS ;15734: 4e75
+SUB_15736:
+ TST.W $9A(A6) ;15736: 4a6e009a
+ BNE.S LAB_15742 ;1573a: 6606
+ TST.W $98(A6) ;1573c: 4a6e0098
+ BEQ.S LAB_1574A ;15740: 6708
+LAB_15742:
+ CLR.L $98(A6) ;15742: 42ae0098
+ BRA.W LAB_19882 ;15746: 6000413a
+LAB_1574A:
+ RTS ;1574a: 4e75
+LAB_1574C:
+ RTS ;1574c: 4e75
+SUB_1574E:
+ MOVE.W $C1A(A6),$C20(A6) ;1574e: 3d6e0c1a0c20
+ CLR.W $C1A(A6) ;15754: 426e0c1a
+ TST.W $9E(A6) ;15758: 4a6e009e
+ BEQ.S LAB_1574C ;1575c: 67ee
+ BSR.S SUB_15782 ;1575e: 6122
+LAB_15760:
+ BTST #0,EXT_DFF005 ;15760: 0839000000dff005
+ BNE.S LAB_15776 ;15768: 660c
+ MOVE.B VHPOSR,D0 ;1576a: 103900dff006
+ CMP.B #$96,D0 ;15770: b03c0096
+ BHI.S LAB_15760 ;15774: 62ea
+LAB_15776:
+ TST.W $C20(A6) ;15776: 4a6e0c20
+ BEQ.S LAB_15780 ;1577a: 6704
+ BSR.W SUB_13D0E ;1577c: 6100e590
+LAB_15780:
+ RTS ;15780: 4e75
+SUB_15782:
+ CLR.W $9E(A6) ;15782: 426e009e
+ CMPI.W #$0004,$B78(A6) ;15786: 0c6e00040b78
+ BEQ.W LAB_15878 ;1578c: 670000ea
+ TST.W $B7A(A6) ;15790: 4a6e0b7a
+ BEQ.W LAB_15878 ;15794: 670000e2
+ CMPI.W #$0003,$B7A(A6) ;15798: 0c6e00030b7a
+ BEQ.W LAB_15846 ;1579e: 670000a6
+ CLR.W $C20(A6) ;157a2: 426e0c20
+ CMPI.W #$0002,$B7A(A6) ;157a6: 0c6e00020b7a
+ BEQ.W SUB_1584A ;157ac: 6700009c
+ MOVE.W $B78(A6),D0 ;157b0: 302e0b78
+ ADDQ.W #1,$B78(A6) ;157b4: 526e0b78
+ ST $C1A(A6) ;157b8: 50ee0c1a
+ ST $9E(A6) ;157bc: 50ee009e
+ TST.W D0 ;157c0: 4a40
+ BEQ.W LAB_1585E ;157c2: 6700009a
+ SUBQ.W #1,D0 ;157c6: 5340
+ BEQ.S LAB_157E6 ;157c8: 671c
+ SUBQ.W #1,D0 ;157ca: 5340
+ BEQ.S LAB_15816 ;157cc: 6748
+ MOVEA.L $1036(A6),A2 ;157ce: 246e1036
+ LEA $1544(A2),A2 ;157d2: 45ea1544
+ MOVEA.L $1066(A6),A1 ;157d6: 226e1066
+ LEA $1A42(A1),A1 ;157da: 43e91a42
+ MOVEQ #$1F,D0 ;157de: 701f
+ MOVEQ #$15,D1 ;157e0: 7215
+ BRA.W LAB_14878 ;157e2: 6000f094
+LAB_157E6:
+ MOVEA.L $1036(A6),A2 ;157e6: 246e1036
+ LEA $1544(A2),A2 ;157ea: 45ea1544
+ MOVEA.L $1066(A6),A1 ;157ee: 226e1066
+ LEA $1A49(A1),A1 ;157f2: 43e91a49
+ MOVEQ #$1F,D0 ;157f6: 701f
+ MOVEQ #3,D1 ;157f8: 7203
+ BSR.W LAB_14878 ;157fa: 6100f07c
+ MOVEA.L $1036(A6),A2 ;157fe: 246e1036
+ LEA $1556(A2),A2 ;15802: 45ea1556
+ MOVEA.L $1066(A6),A1 ;15806: 226e1066
+ LEA $1A4D(A1),A1 ;1580a: 43e91a4d
+ MOVEQ #$1F,D0 ;1580e: 701f
+ MOVEQ #3,D1 ;15810: 7203
+ BRA.W LAB_14878 ;15812: 6000f064
+LAB_15816:
+ MOVEA.L $1036(A6),A2 ;15816: 246e1036
+ LEA $1544(A2),A2 ;1581a: 45ea1544
+ MOVEA.L $1066(A6),A1 ;1581e: 226e1066
+ LEA $1A45(A1),A1 ;15822: 43e91a45
+ MOVEQ #$1F,D0 ;15826: 701f
+ MOVEQ #7,D1 ;15828: 7207
+ BSR.W LAB_14878 ;1582a: 6100f04c
+ MOVEA.L $1036(A6),A2 ;1582e: 246e1036
+ LEA $1552(A2),A2 ;15832: 45ea1552
+ MOVEA.L $1066(A6),A1 ;15836: 226e1066
+ LEA $1A4D(A1),A1 ;1583a: 43e91a4d
+ MOVEQ #$1F,D0 ;1583e: 701f
+ MOVEQ #7,D1 ;15840: 7207
+ BRA.W LAB_14878 ;15842: 6000f034
+LAB_15846:
+ BSR.S SUB_1584A ;15846: 6102
+ BRA.S LAB_15880 ;15848: 6036
+SUB_1584A:
+ CLR.W $B7A(A6) ;1584a: 426e0b7a
+ CLR.L $B7C(A6) ;1584e: 42ae0b7c
+ TST.B $264(A6) ;15852: 4a2e0264
+ BEQ.S LAB_1585E ;15856: 6706
+ ORI.B #$c0,$265(A6) ;15858: 002e00c00265
+LAB_1585E:
+ MOVEA.L $1036(A6),A2 ;1585e: 246e1036
+ LEA $1A44(A2),A2 ;15862: 45ea1a44
+ MOVEA.L $1066(A6),A1 ;15866: 226e1066
+ LEA $1A42(A1),A1 ;1586a: 43e91a42
+ MOVEQ #$1F,D0 ;1586e: 701f
+ MOVEQ #$15,D1 ;15870: 7215
+ BRA.W LAB_14848 ;15872: 6000efd4
+ RTS ;15876: 4e75
+LAB_15878:
+ TST.W $C20(A6) ;15878: 4a6e0c20
+ BEQ.W LAB_15780 ;1587c: 6700ff02
+LAB_15880:
+ MOVE.W #$0028,$34(A6) ;15880: 3d7c00280034
+ CMPI.W #$0004,$B78(A6) ;15886: 0c6e00040b78
+ BEQ.S LAB_15900 ;1588c: 6772
+ MOVE.W #$051f,D0 ;1588e: 303c051f
+ BSR.W LAB_198CC ;15892: 61004038
+ MOVEQ #$14,D1 ;15896: 7214
+ MOVEQ #$13,D0 ;15898: 7013
+ MOVEQ #-101,D2 ;1589a: 749b
+ ST $10A(A6) ;1589c: 50ee010a
+ BSR.S SUB_158AE ;158a0: 610c
+ CLR.W $10A(A6) ;158a2: 426e010a
+ JMP LAB_1AC28 ;158a6: 4ef90001ac28
+ RTS ;158ac: 4e75
+SUB_158AE:
+ TST.B $11F(A6) ;158ae: 4a2e011f
+ BEQ.S LAB_158FE ;158b2: 674a
+ MOVEM.W D0-D2,-(A7) ;158b4: 48a7e000
+ LEA $11E(A6),A0 ;158b8: 41ee011e
+ BSR.W SUB_1562A ;158bc: 6100fd6c
+ MOVE.W D0,D7 ;158c0: 3e00
+ SUBQ.W #1,D7 ;158c2: 5347
+ BSR.W SUB_159C4 ;158c4: 610000fe
+ MOVEM.W (A7)+,D0-D2 ;158c8: 4c9f0007
+ MOVEM.W D1-D2,-(A7) ;158cc: 48a76000
+ BSR.W SUB_19F44 ;158d0: 61004672
+ CMPI.B #$5e,$11F(A6) ;158d4: 0c2e005e011f
+ BNE.S LAB_158FA ;158da: 661e
+ MOVE.W D0,D6 ;158dc: 3c00
+ MOVE.B $120(A6),D0 ;158de: 102e0120
+ ANDI.W #$0003,D0 ;158e2: 02400003
+ MULU #$01d2,D0 ;158e6: c0fc01d2
+ LEA $298(A6),A0 ;158ea: 41ee0298
+ ADDA.W D0,A0 ;158ee: d0c0
+ MOVEM.W (A7),D1-D2 ;158f0: 4c970006
+ MOVE.W D6,D0 ;158f4: 3006
+ BSR.W SUB_19F44 ;158f6: 6100464c
+LAB_158FA:
+ MOVEM.W (A7)+,D1-D2 ;158fa: 4c9f0006
+LAB_158FE:
+ RTS ;158fe: 4e75
+LAB_15900:
+ MOVE.W #$051e,D0 ;15900: 303c051e
+ BSR.W LAB_198CC ;15904: 61003fc6
+ TST.L $B7C(A6) ;15908: 4aae0b7c
+ BEQ.W LAB_1594C ;1590c: 6700003e
+ MOVEA.L $B7C(A6),A0 ;15910: 206e0b7c
+ MOVE.B (A0)+,D0 ;15914: 1018
+ MOVE.B (A0)+,D1 ;15916: 1218
+ CMP.W #$0003,D1 ;15918: b27c0003
+ BLS.S LAB_15920 ;1591c: 6302
+ MOVEQ #3,D1 ;1591e: 7203
+LAB_15920:
+ EORI.W #$0003,D1 ;15920: 0a410003
+ MULU #$0003,D1 ;15924: c2fc0003
+ ADDQ.W #6,D1 ;15928: 5c41
+ MULU #$0014,D1 ;1592a: c2fc0014
+ MOVE.L A0,-(A7) ;1592e: 2f08
+ MOVEQ #-114,D2 ;15930: 748e
+ MOVEQ #$18,D0 ;15932: 7018
+ MOVE.W D1,-(A7) ;15934: 3f01
+ BSR.W SUB_19F44 ;15936: 6100460c
+ MOVE.W (A7)+,D1 ;1593a: 321f
+ MOVEA.L (A7)+,A0 ;1593c: 205f
+ MOVEQ #-110,D2 ;1593e: 7492
+ MOVEQ #$18,D0 ;15940: 7018
+ SUBI.W #$0014,D1 ;15942: 04410014
+ BSR.W SUB_19F44 ;15946: 610045fc
+LAB_1594A:
+ RTS ;1594a: 4e75
+LAB_1594C:
+ MOVEQ #0,D0 ;1594c: 7000
+ MOVE.B $11F(A6),D0 ;1594e: 102e011f
+ BEQ.S LAB_1594A ;15952: 67f6
+ LEA $11E(A6),A0 ;15954: 41ee011e
+ BSR.W SUB_15630 ;15958: 6100fcd6
+ MOVE.W D0,-(A7) ;1595c: 3f00
+ MOVE.W #$0051,D3 ;1595e: 363c0051
+ BSR.W SUB_1556E ;15962: 6100fc0a
+ MOVE.W (A7)+,D0 ;15966: 301f
+ LEA $11E(A6),A0 ;15968: 41ee011e
+ MOVE.B 1(A0),D0 ;1596c: 10280001
+ ANDI.W #$007f,D0 ;15970: 0240007f
+ CLR.W $C22(A6) ;15974: 426e0c22
+ BSR.W SUB_154DC ;15978: 6100fb62
+ MOVE.W $C22(A6),D0 ;1597c: 302e0c22
+ BSR.W SUB_15A84 ;15980: 61000102
+ LEA str999_9(PC),A0 ;15984: 41fa01b9
+ BSR.W SUB_15A04 ;15988: 6100007a
+ MOVEQ #-114,D2 ;1598c: 748e
+ MOVE.W #$008c,D1 ;1598e: 323c008c
+ MOVEQ #$1D,D0 ;15992: 701d
+ BSR.S SUB_159A0 ;15994: 610a
+ MOVEQ #-110,D2 ;15996: 7492
+ MOVEQ #$78,D1 ;15998: 7278
+ MOVEQ #$1D,D0 ;1599a: 701d
+ BSR.S SUB_159A0 ;1599c: 6102
+ RTS ;1599e: 4e75
+SUB_159A0:
+ MOVE.W D2,-(A7) ;159a0: 3f02
+ BSR.W SUB_158AE ;159a2: 6100ff0a
+ ADDQ.W #6,D0 ;159a6: 5c40
+ MOVE.W (A7),D2 ;159a8: 3417
+ LEA str999_9(PC),A0 ;159aa: 41fa0193
+ BSR.W SUB_19F44 ;159ae: 61004594
+ MOVE.W (A7)+,D2 ;159b2: 341f
+ BRA.W LAB_154D0 ;159b4: 6000fb1a
+ MOVEA.L $F9A(A6),A0 ;159b8: 206e0f9a
+ CLR.L $F9A(A6) ;159bc: 42ae0f9a
+ BRA.W SUB_14FAA ;159c0: 6000f5e8
+SUB_159C4:
+ LEA LAB_15E57(PC),A0 ;159c4: 41fa0491
+ CMP.B #$79,D7 ;159c8: be3c0079
+ BHI.S LAB_159E6 ;159cc: 6218
+ MOVE.L A3,-(A7) ;159ce: 2f0b
+LAB_159D0:
+ MOVEA.L A0,A3 ;159d0: 2648
+LAB_159D2:
+ TST.B (A0)+ ;159d2: 4a18
+ BNE.S LAB_159D2 ;159d4: 66fc
+ MOVE.B (A0)+,D6 ;159d6: 1c18
+ TST.B (A0) ;159d8: 4a10
+ BEQ.S LAB_159E2 ;159da: 6706
+ DBF D7,LAB_159D0 ;159dc: 51cffff2
+ MOVEA.L A3,A0 ;159e0: 204b
+LAB_159E2:
+ MOVEA.L (A7)+,A3 ;159e2: 265f
+ RTS ;159e4: 4e75
+LAB_159E6:
+ LEA LAB_16298(PC),A0 ;159e6: 41fa08b0
+ RTS ;159ea: 4e75
+ DC.L $10d110e9 ;159ec
+ DC.W $0001 ;159f0
+SUB_159F2:
+ MOVE.B 2(A1),(A0)+ ;159f2: 10e90002
+SUB_159F6:
+ MOVE.B 3(A1),(A0) ;159f6: 10a90003
+ MOVE.B 4(A1),1(A0) ;159fa: 116900040001
+ RTS ;15a00: 4e75
+SUB_15A02:
+ MOVE.B (A1),(A0)+ ;15a02: 10d1
+SUB_15A04:
+ MOVE.B 1(A1),(A0)+ ;15a04: 10e90001
+ MOVE.B 2(A1),(A0)+ ;15a08: 10e90002
+ MOVE.B 3(A1),D0 ;15a0c: 10290003
+ CMP.B #$01,D0 ;15a10: b03c0001
+ BNE.S LAB_15A1A ;15a14: 6604
+ MOVE.B #$30,D0 ;15a16: 103c0030
+LAB_15A1A:
+ MOVE.B D0,(A0) ;15a1a: 1080
+ MOVE.B 4(A1),D0 ;15a1c: 10290004
+ CMP.B #$30,D0 ;15a20: b03c0030
+ BNE.S LAB_15A34 ;15a24: 660e
+ MOVE.B #$01,1(A0) ;15a26: 117c00010001
+ MOVE.B #$01,2(A0) ;15a2c: 117c00010002
+ RTS ;15a32: 4e75
+LAB_15A34:
+ MOVE.B #$2e,1(A0) ;15a34: 117c002e0001
+ MOVE.B D0,2(A0) ;15a3a: 11400002
+ RTS ;15a3e: 4e75
+ CMPI.W #$0002,$C10(A6) ;15a40: 0c6e00020c10
+ BNE.S LAB_15A4A ;15a46: 6602
+ MOVEQ #$3F,D2 ;15a48: 743f
+LAB_15A4A:
+ AND.W D2,D0 ;15a4a: c042
+ TST.W D0 ;15a4c: 4a40
+ BEQ.S LAB_15A60 ;15a4e: 6710
+ ADDQ.W #1,D2 ;15a50: 5242
+ MULU #$0064,D0 ;15a52: c0fc0064
+ DIVU D2,D0 ;15a56: 80c2
+ TST.W D0 ;15a58: 4a40
+ BNE.S LAB_15A60 ;15a5a: 6604
+ ORI.W #$0001,D0 ;15a5c: 00400001
+LAB_15A60:
+ BRA.S SUB_15A84 ;15a60: 6022
+ MOVE.B #$9f,-1(A0) ;15a62: 117c009fffff
+ CMP.B #$35,D0 ;15a68: b03c0035
+ BGE.S LAB_15A80 ;15a6c: 6c12
+ MOVE.B #$99,-1(A0) ;15a6e: 117c0099ffff
+ CMP.B #$32,D0 ;15a74: b03c0032
+ BGE.S LAB_15A80 ;15a78: 6c06
+ MOVE.B #$8e,-1(A0) ;15a7a: 117c008effff
+LAB_15A80:
+ RTS ;15a80: 4e75
+SUB_15A82:
+ LSR.W #6,D0 ;15a82: ec48
+SUB_15A84:
+ LEA LAB_15ACE(PC),A0 ;15a84: 41fa0048
+ LEA $C0A(A6),A1 ;15a88: 43ee0c0a
+ MOVEQ #4,D1 ;15a8c: 7204
+ CLR.W D3 ;15a8e: 4243
+ BRA.S LAB_15A9A ;15a90: 6008
+LAB_15A92:
+ TST.W D1 ;15a92: 4a41
+ BEQ.S LAB_15AA0 ;15a94: 670a
+ TST.W D3 ;15a96: 4a43
+ BNE.S LAB_15AA0 ;15a98: 6606
+LAB_15A9A:
+ MOVE.B #$01,(A1)+ ;15a9a: 12fc0001
+ BRA.S LAB_15AA4 ;15a9e: 6004
+LAB_15AA0:
+ MOVE.B #$30,(A1)+ ;15aa0: 12fc0030
+LAB_15AA4:
+ MOVE.W (A0)+,D2 ;15aa4: 3418
+LAB_15AA6:
+ CMP.W D2,D0 ;15aa6: b042
+ BHI.S LAB_15AAC ;15aa8: 6202
+ BNE.S LAB_15AC4 ;15aaa: 6618
+LAB_15AAC:
+ SUB.W D2,D0 ;15aac: 9042
+ ADDQ.W #1,D3 ;15aae: 5243
+ CMPI.B #$01,-1(A1) ;15ab0: 0c290001ffff
+ BNE.S LAB_15ABE ;15ab6: 6606
+ MOVE.B #$30,-1(A1) ;15ab8: 137c0030ffff
+LAB_15ABE:
+ ADDQ.B #1,-1(A1) ;15abe: 5229ffff
+ BRA.S LAB_15AA6 ;15ac2: 60e2
+LAB_15AC4:
+ DBF D1,LAB_15A92 ;15ac4: 51c9ffcc
+ LEA $C0A(A6),A1 ;15ac8: 43ee0c0a
+ RTS ;15acc: 4e75
+LAB_15ACE:
+ DC.L $271003e8,$0064000a ;15ace
+ DC.W $0001 ;15ad6
+LAB_15AD8:
+ CMPI.B #$01,2(A1) ;15ad8: 0c2900010002
+ BNE.S LAB_15AEC ;15ade: 660c
+ ADDQ.W #2,D0 ;15ae0: 5440
+ CMPI.B #$01,3(A1) ;15ae2: 0c2900010003
+ BNE.S LAB_15AEC ;15ae8: 6602
+ ADDQ.W #3,D0 ;15aea: 5640
+LAB_15AEC:
+ RTS ;15aec: 4e75
+ MOVE.W $C10(A6),D0 ;15aee: 302e0c10
+ MOVE.W $C12(A6),D1 ;15af2: 322e0c12
+ MOVE.W $C14(A6),D2 ;15af6: 342e0c14
+ MOVE.W $120(A6),D3 ;15afa: 362e0120
+SUB_15AFE:
+ SUBQ.W #1,D0 ;15afe: 5340
+ BMI.S LAB_15B18 ;15b00: 6b16
+ CMP.W #$0079,D0 ;15b02: b07c0079
+ BLS.S LAB_15B0A ;15b06: 6302
+ MOVEQ #$79,D0 ;15b08: 7079
+LAB_15B0A:
+ LEA LAB_162A6(PC),A0 ;15b0a: 41fa079a
+ CLR.W D1 ;15b0e: 4241
+ ASL.W #3,D0 ;15b10: e740
+ MOVE.W 0(A0,D0.W),D1 ;15b12: 32300000
+ RTS ;15b16: 4e75
+LAB_15B18:
+ CLR.W D1 ;15b18: 4241
+ RTS ;15b1a: 4e75
+; ------------------------------------------------------------------------------
+; Strings
+; ------------------------------------------------------------------------------
+strHealth:
+ DC.W $9c12 ;15b1c
+ DC.B $54 ;15b1e
+ ;15b1f
+ ;DC.B $48,$45,$41,$4c,$54,$48
+ DC.B "HEALTH"
+ DC.B $0a ;15b25
+ ;15b26
+ ;DC.B $53,$54,$41,$4d,$49,$4e,$41
+ DC.B "STAMINA"
+ DC.B $0a ;15b2d
+ ;15b2e
+ ;DC.B $4d,$41,$47,$49,$43,$00
+ DC.B "MAGIC",0
+LAB_15B34:
+ DC.B $9c ;15b34
+str999_:
+ ;15b35
+ ;DC.B $39,$39,$39
+ DC.B "999"
+ DC.W $0247 ;15b38
+ ;15b3a
+ ;DC.B $2f
+ DC.B "/"
+LAB_15B3B:
+ DC.B $39 ;15b3b
+ DC.W $3939 ;15b3c
+ DS.B 1 ;15b3e
+str999_9:
+ ;15b3f
+ ;DC.B $39,$39,$39,$2e,$39,$00
+ DC.B "999.9",0
+LAB_15B45:
+ DC.B $5e ;15b45
+ DS.B 1 ;15b46
+LAB_15B47:
+ DC.B $9c ;15b47
+str9999_9_:
+ ;15b48
+ ;DC.B $39,$39,$39,$39,$2e,$39
+ DC.B "9999.9"
+ DC.B $9c ;15b4e
+ ;15b4f
+ ;DC.B $2f
+ DC.B "/"
+str9999_9:
+ ;15b50
+ ;DC.B $39,$39,$39,$39,$2e,$39,$00
+ DC.B "9999.9",0
+str_Noname:
+ ;15b57
+ ;DC.B $4e,$4f,$4e,$41,$4d,$45,$00
+ DC.B "NONAME",0
+LAB_15B5E:
+ DC.W $042a ;15b5e
+ DS.B 1 ;15b60
+str_Format:
+ DC.B $98 ;15b61
+ DC.W $372a ;15b62
+ ;15b64
+ ;DC.B $46,$4f,$52,$4d,$41,$54,$00
+ DC.B "FORMAT",0
+get_directory:
+ DC.B $98 ;15b6b
+ DC.W $2936 ;15b6c
+ ;15b6e
+ ;DC.B $47,$45,$54,$20,$44,$49,$52,$45,$43,$54,$4f,$52,$59,$00
+ DC.B "GET DIRECTORY",0
+strSAVE__:
+ DC.L $982e0505 ;15b7c
+ ;15b80
+ ;DC.B $53,$41,$56,$45,$20
+ DC.B "SAVE "
+ DC.B $04 ;15b85
+ DC.W $2a06 ;15b86
+ DS.B 1 ;15b88
+strRestore:
+ DC.B $98 ;15b89
+ DC.W $2405 ;15b8a
+ DC.B $05 ;15b8c
+ ;15b8d
+ ;DC.B $52,$45,$53,$54,$4f,$52,$45,$20,$04
+ DC.B "RESTORE ",4
+ DC.W $2a06 ;15b96
+ DS.B 1 ;15b98
+strOKSave:
+ DC.B $98 ;15b99
+ DC.W $3764 ;15b9a
+ ;15b9c
+ ;DC.B $4f,$4b,$20,$53,$41,$56,$45,$00
+ DC.B "OK SAVE",0
+strOKLoad:
+ DC.W $9837 ;15ba4
+ DC.B $64 ;15ba6
+ ;15ba7
+ ;DC.B $4f,$4b,$20,$4c,$4f,$41,$44,$00
+ DC.B "OK LOAD",0
+strFormatBlank:
+ DC.B $98 ;15baf
+ DC.W $1b05 ;15bb0
+ DC.B $05 ;15bb2
+ ;15bb3
+ ;DC.B $46,$4f,$52,$4d,$41,$54,$20,$42,$4c,$41,$4e,$4b,$20,$44,$49,$53
+ ;DC.B $4b,$06,$00
+ DC.B "FORMAT BLANK DISK",6,0
+strDF0:
+ DC.L $991e2005 ;15bc6
+ ;15bca
+ ;DC.B $44,$46,$30,$3a,$02,$5c,$44,$46,$32,$3a,$06,$00
+ DC.B "DF0:",2,"\DF2:",6,0
+strDF1:
+ DC.L $991e2b05 ;15bd6
+ ;15bda
+ ;DC.B $44,$46,$31,$3a,$02,$5c,$44,$46,$33,$3a,$06,$00
+ DC.B "DF1:",2,"\DF3:",6,0
+strOKFormat:
+ DC.L $982e6405 ;15be6
+ ;15bea
+ ;DC.B $4f,$4b,$20,$46,$4f,$52,$4d,$41,$54,$06,$00
+ DC.B "OK FORMAT",6,0
+strDefinePlr:
+ DC.B $98 ;15bf5
+ DC.W $2405 ;15bf6
+ DC.B $05 ;15bf8
+ ;15bf9
+ ;DC.B $44,$45,$46,$49,$4e,$45,$20,$50,$4c,$41,$59,$45,$52,$20,$3f,$06
+ ;DC.B $00
+ DC.B "DEFINE PLAYER ?",6,0
+str_Name:
+ DC.L $4e414d45 ;15c0a
+ DC.W $0240 ;15c0e
+ ;15c10
+ ;DC.B $54,$49,$54,$4c,$45,$00
+ DC.B "TITLE",0
+str_OK:
+ DC.W $9844 ;15c16
+ DC.B $64 ;15c18
+ ;15c19
+ ;DC.B $4f,$4b,$00
+ DC.B "OK",0
+Races:
+ ;15c1c
+ ;DC.B $4d,$41,$4e,$00,$57,$4f,$4d,$41,$4e,$00,$47,$4f,$42,$4c,$49,$4e
+ ;DC.B $00,$4f,$47,$52,$45,$00,$47,$48,$4f,$55,$4c,$00,$45,$4c,$46,$00
+ ;DC.B $54,$52,$4f,$4c,$4c,$00,$49,$4e,$53,$45,$43,$54,$4f,$4c,$45,$00
+ DC.B "MAN",0
+ DC.B "WOMAN",0
+ DC.B "GOBLIN",0
+ DC.B "OGRE",0
+ DC.B "GHOUL",0
+ DC.B "ELF",0
+ DC.B "TROLL",0
+ DC.B "INSECTOLE",0
+Ranks:
+ ;15c4c
+ ;DC.B $4e,$4f,$56,$49,$43,$45,$00,$54,$45,$4e,$44,$45,$52,$46,$4f,$4f
+ ;DC.B $54,$00,$41,$50,$50,$52,$45,$4e,$54,$49,$43,$45,$00,$41,$44,$45
+ ;DC.B $50,$54,$00,$56,$45,$52,$53,$45,$44,$00,$50,$52,$4f,$46,$49,$43
+ ;DC.B $49,$45,$4e,$54,$00,$41,$44,$56,$41,$4e,$43,$45,$44,$00,$4d,$41
+ ;DC.B $56,$45,$4e,$00,$44,$4f,$59,$45,$4e,$00,$4d,$41,$53,$54,$45,$52
+ ;DC.B $00
+ DC.B "NOVICE",0
+ DC.B "TENDERFOOT",0
+ DC.B "APPRENTICE",0
+ DC.B "ADEPT",0
+ DC.B "VERSED",0
+ DC.B "PROFICIENT",0
+ DC.B "ADVANCED",0
+ DC.B "MAVEN",0
+ DC.B "DOYEN",0
+ DC.B "MASTER",0
+LAB_15C9D:
+ DC.B $04 ;15c9d
+ DC.L $14000415,$00041600,$04170004,$18000419 ;15c9e
+ DS.B 1 ;15cae
+left_right:
+ ;15caf
+ ;DC.B $4c,$45,$46,$54
+ DC.B "LEFT"
+ DC.B $04 ;15cb3
+ DC.W $1a00 ;15cb4
+ ;15cb6
+ ;DC.B $52,$49,$47,$48,$54
+ DC.B "RIGHT"
+ DC.B $04 ;15cbb
+ DC.W $1a00 ;15cbc
+RightHand:
+ ;15cbe
+ ;DC.B $52,$49,$47,$48,$54,$2d,$48,$41,$4e,$44,$00,$4c,$45,$46,$54,$2d
+ ;DC.B $48,$41,$4e,$44,$00
+ DC.B "RIGHT-HAND",0
+ DC.B "LEFT-HAND",0
+DiskMsgs:
+ DC.B $91 ;15cd3
+ DC.W $2965 ;15cd4
+ ;15cd6
+ ;DC.B $44,$49,$53,$4b,$20,$53,$54,$41,$54,$55,$53,$20,$4f,$4b,$00
+ DC.B "DISK STATUS OK",0
+ DC.B $8e ;15ce5
+ DC.W $3265 ;15ce6
+ ;15ce8
+ ;DC.B $46,$49,$4c,$45,$20,$45,$52,$52,$4f,$52,$00
+ DC.B "FILE ERROR",0
+ DC.B $99 ;15cf3
+ DC.W $2965 ;15cf4
+ ;15cf6
+ ;DC.B $46,$49,$4c,$45,$20,$4e,$4f,$54,$20,$46,$4f,$55,$4e,$44,$00
+ DC.B "FILE NOT FOUND",0
+ DC.B $98 ;15d05
+ DC.W $3465 ;15d06
+ ;15d08
+ ;DC.B $44,$49,$53,$4b,$20,$46,$55,$4c,$4c,$00
+ DC.B "DISK FULL",0
+ DC.W $9923 ;15d12
+ DC.B $65 ;15d14
+ ;15d15
+ ;DC.B $44,$49,$53,$4b,$20,$4e,$4f,$54,$20,$49,$4e,$20,$44,$52,$49,$56
+ ;DC.B $45,$00
+ DC.B "DISK NOT IN DRIVE",0
+ DC.B $99 ;15d27
+ DC.W $2465 ;15d28
+ ;15d2a
+ ;DC.B $57,$52,$49,$54,$45,$20,$50,$52,$4f,$54,$45,$43,$54,$20,$4f,$4e
+ ;DC.B $00
+ DC.B "WRITE PROTECT ON",0
+ DC.B $99 ;15d3b
+ DC.W $2965 ;15d3c
+ ;15d3e
+ ;DC.B $44,$49,$53,$4b,$20,$4e,$4f,$54,$20,$46,$4f,$55,$4e,$44,$00
+ DC.B "DISK NOT FOUND",0
+ DC.B $99 ;15d4d
+ DC.W $1c65 ;15d4e
+ ;15d50
+ ;DC.B $44,$52,$49,$56,$45,$20,$4e,$4f,$54,$20,$43,$4f,$4e,$4e,$45,$43
+ ;DC.B $54,$45,$44,$00
+ DC.B "DRIVE NOT CONNECTED",0
+ DC.W $8e09 ;15d64
+ DC.B $65 ;15d66
+ ;15d67
+ ;DC.B $43,$41,$4e,$20,$4e,$4f,$54,$20,$46,$4f,$52,$4d,$41,$54,$20,$4d
+ ;DC.B $41,$53,$54,$45,$52,$20,$44,$49,$53,$4b,$00
+ DC.B "CAN NOT FORMAT MASTER DISK",0
+ DC.W $9138 ;15d82
+ DC.B $65 ;15d84
+ ;15d85
+ ;DC.B $4c,$4f,$41,$44,$49,$4e,$47,$00
+ DC.B "LOADING",0
+ DC.B $91 ;15d8d
+ DC.W $3b65 ;15d8e
+ ;15d90
+ ;DC.B $53,$41,$56,$49,$4e,$47,$00
+ DC.B "SAVING",0
+ DC.B $91 ;15d97
+ DC.W $3365 ;15d98
+ ;15d9a
+ ;DC.B $46,$4f,$52,$4d,$41,$54,$49,$4e,$47,$00
+ DC.B "FORMATING",0
+ DC.W $9122 ;15da4
+ DC.B $65 ;15da6
+ ;15da7
+ ;DC.B $4c,$4f,$41,$44,$49,$4e,$47,$20,$52,$45,$53,$54,$52,$41,$49,$4e
+ ;DC.B $54,$00
+ DC.B "LOADING RESTRAINT",0
+ DC.B $91 ;15db9
+ DC.W $2d65 ;15dba
+ ;15dbc
+ ;DC.B $53,$45,$4c,$45,$43,$54,$20,$44,$49,$53,$4b,$00
+ DC.B "SELECT DISK",0
+LAB_15DC8:
+ DC.L $91033c91 ;15dc8
+ DC.W $021e ;15dcc
+ ;15dce
+ ;DC.B $53,$54,$52,$45,$4e,$47,$54,$48,$20,$2e,$20,$2e
+ DC.B "STRENGTH . ."
+ DC.L $07280a91 ;15dda
+ DC.W $021c ;15dde
+ ;15de0
+ ;DC.B $44,$45,$58,$54,$45,$52,$49,$54,$59,$20,$2e,$20,$2e
+ DC.B "DEXTERITY . ."
+ DC.B $07 ;15ded
+ DC.L $240a9102 ;15dee
+ DC.B $28 ;15df2
+ ;15df3
+ ;DC.B $41,$47,$49,$4c,$49,$54,$59,$20,$2e,$20,$2e
+ DC.B "AGILITY . ."
+ DC.L $07300a91 ;15dfe
+ DC.W $0223 ;15e02
+ ;15e04
+ ;DC.B $56,$49,$54,$41,$4c,$49,$54,$59,$20,$2e,$20,$2e
+ DC.B "VITALITY . ."
+ DC.L $072c0a91 ;15e10
+ DC.W $0227 ;15e14
+ ;15e16
+ ;DC.B $57,$49,$53,$44,$4f,$4d,$20,$2e,$20,$2e
+ DC.B "WISDOM . ."
+ DC.L $07340a0d ;15e20
+ DC.W $8b02 ;15e24
+ DC.B $27 ;15e26
+ ;15e27
+ ;DC.B $41,$52,$4d,$4f,$55,$52,$20,$2e,$20,$2e
+ DC.B "ARMOUR . ."
+ DC.B $07 ;15e31
+ DC.L $6a0a0d00 ;15e32
+ ;15e36
+ ;DC.B $41,$47,$45,$00,$44,$55,$4d,$42,$00,$42,$4c,$49,$4e,$44,$00,$53
+ ;DC.B $54,$4f,$4e,$45,$00,$50,$4f,$49,$53,$4f,$4e,$00,$4c,$41,$4d,$45
+ ;DC.B $00
+ DC.B "AGE",0
+ DC.B "DUMB",0
+ DC.B "BLIND",0
+ DC.B "STONE",0
+ DC.B "POISON",0
+ DC.B "LAME",0
+LAB_15E57:
+ DC.B $53 ;15e57
+ DC.L $554e474c,$41535345,$53000042,$41534542 ;15e58
+ DC.L $414c4c20,$48415400,$00545249,$4c425900 ;15e68
+ DC.L $00041b00,$00041b00,$00041b00 ;15e78
+ DS.B 1 ;15e84
+ ;15e85
+ ;DC.B $48,$45,$4c,$4d,$00,$00,$48,$45,$4c,$4d,$00,$00,$48,$45,$4c,$4d
+ ;DC.B $00,$00,$48,$45,$4c,$4d,$00,$00,$48,$45,$4c,$4d,$45,$54,$00,$00
+ ;DC.B $43,$52,$4f,$57,$4e,$20,$4f,$46,$20,$47,$4c,$4f,$52,$59,$00,$00
+ ;DC.B $54,$2d,$53,$48,$49,$52,$54,$00,$00,$42,$4c,$4f,$55,$53,$45,$00
+ ;DC.B $00,$42,$4c,$4f,$55,$53,$45,$00,$00,$42,$4c,$4f,$55,$53,$45,$00
+ ;DC.B $00,$4a,$55,$4d,$50,$45,$52,$00,$00,$4a,$55,$4d,$50,$45,$52,$00
+ ;DC.B $00,$4a,$55,$4d,$50,$45,$52,$00,$00,$44,$45,$4e,$49,$4d,$00,$00
+ ;DC.B $4c,$45,$41,$54,$48,$45,$52,$00,$00,$56,$45,$53,$54,$00,$00,$56
+ ;DC.B $45,$53,$54,$00,$00
+ DC.B "HELM",0,0
+ DC.B "HELM",0,0
+ DC.B "HELM",0,0
+ DC.B "HELM",0,0
+ DC.B "HELMET",0,0
+ DC.B "CROWN OF GLORY",0,0
+ DC.B "T-SHIRT",0,0
+ DC.B "BLOUSE",0,0
+ DC.B "BLOUSE",0,0
+ DC.B "BLOUSE",0,0
+ DC.B "JUMPER",0,0
+ DC.B "JUMPER",0,0
+ DC.B "JUMPER",0,0
+ DC.B "DENIM",0,0
+ DC.B "LEATHER",0,0
+ DC.B "VEST",0,0
+ DC.B "VEST",0,0
+ DC.B $04 ;15f0a
+ ;15f0b
+ ;DC.B $25,$00,$00
+ DC.B "%",0,0
+ DC.B $04 ;15f0e
+ ;15f0f
+ ;DC.B $23,$00,$00
+ DC.B "#",0,0
+ DC.B $04 ;15f12
+ ;15f13
+ ;DC.B $23,$00,$00,$41,$51,$55,$41,$4c,$55,$4e,$47,$00,$00,$53,$48,$4f
+ ;DC.B $52,$54,$53,$00,$00,$53,$4b,$49,$52,$54,$00,$00,$53,$4b,$49,$52
+ ;DC.B $54,$00,$00,$53,$4b,$49,$52,$54,$00,$00,$53,$4c,$41,$43,$4b,$53
+ ;DC.B $00,$00,$4a,$45,$41,$4e,$53,$00,$00,$4c,$45,$41,$54,$48,$45,$52
+ ;DC.B $00,$00
+ DC.B "#",0,0
+ DC.B "AQUALUNG",0,0
+ DC.B "SHORTS",0,0
+ DC.B "SKIRT",0,0
+ DC.B "SKIRT",0,0
+ DC.B "SKIRT",0,0
+ DC.B "SLACKS",0,0
+ DC.B "JEANS",0,0
+ DC.B "LEATHER",0,0
+ DC.B $04 ;15f55
+ ;15f56
+ ;DC.B $25,$00,$00
+ DC.B "%",0,0
+ DC.B $04 ;15f59
+ ;15f5a
+ ;DC.B $23,$00,$00
+ DC.B "#",0,0
+ DC.B $04 ;15f5d
+ ;15f5e
+ ;DC.B $23,$00,$00,$53,$41,$4e,$44,$4c,$45,$53,$00,$00,$53,$48,$4f,$45
+ ;DC.B $53,$00,$00,$54,$52,$41,$49,$4e,$45,$52,$53,$00,$00,$42,$4f,$4f
+ ;DC.B $54,$53,$00,$00,$42,$4f,$4f,$54,$53,$00,$00
+ DC.B "#",0,0
+ DC.B "SANDLES",0,0
+ DC.B "SHOES",0,0
+ DC.B "TRAINERS",0,0
+ DC.B "BOOTS",0,0
+ DC.B "BOOTS",0,0
+ DC.B $04 ;15f89
+ ;15f8a
+ ;DC.B $23,$00,$00
+ DC.B "#",0,0
+ DC.B $04 ;15f8d
+ ;15f8e
+ ;DC.B $23,$00,$00,$53,$57,$45,$45,$54,$00,$00,$42,$49,$53,$43,$55,$49
+ ;DC.B $54,$00,$00,$41,$50,$50,$4c,$45,$00,$00,$53,$50,$49,$44,$45,$52
+ ;DC.B $53,$20,$4c,$45,$47,$00,$00,$52,$4f,$43,$4b,$20,$43,$41,$4b,$45
+ ;DC.B $00,$00,$47,$52,$41,$50,$45,$53,$00,$00,$42,$4f,$49,$4c,$45,$44
+ ;DC.B $20,$45,$47,$47,$00,$00,$52,$41,$42,$42,$49,$54,$20,$50,$49,$45
+ ;DC.B $00,$00
+ DC.B "#",0,0
+ DC.B "SWEET",0,0
+ DC.B "BISCUIT",0,0
+ DC.B "APPLE",0,0
+ DC.B "SPIDERS LEG",0,0
+ DC.B "ROCK CAKE",0,0
+ DC.B "GRAPES",0,0
+ DC.B "BOILED EGG",0,0
+ DC.B "RABBIT PIE",0,0
+ DC.W $041c ;15fe0
+ ;15fe2
+ ;DC.B $00,$00
+ DC.B 0,0
+ DC.W $041c ;15fe4
+ ;15fe6
+ ;DC.B $00,$00
+ DC.B 0,0
+ DC.W $041c ;15fe8
+ ;15fea
+ ;DC.B $00,$00,$53,$54,$41,$4d,$49,$4e,$41
+ DC.B 0,0
+ DC.B "STAMINA"
+ DC.B $04 ;15ff3
+ DC.B $1e ;15ff4
+ ;15ff5
+ ;DC.B $00,$00,$48,$45,$41,$4c,$49,$4e,$47
+ DC.B 0,0
+ DC.B "HEALING"
+ DC.W $041e ;15ffe
+ ;16000
+ ;DC.B $00,$00,$42,$4f,$54,$54,$4c,$45,$44,$20,$41,$49,$44,$00,$00,$41
+ ;DC.B $4e,$54,$49,$2d,$50,$4f,$49,$53,$4f,$4e,$00,$00,$53,$49,$47,$48
+ ;DC.B $54
+ DC.B 0,0
+ DC.B "BOTTLED AID",0,0
+ DC.B "ANTI-POISON",0,0
+ DC.B "SIGHT"
+ DC.B $04 ;16021
+ DC.B $1e ;16022
+ ;16023
+ ;DC.B $00,$00,$42,$4f,$54,$54,$4c,$45,$44,$20,$42,$52,$41,$49,$4e,$53
+ ;DC.B $00,$00,$44,$45,$2d,$53,$54,$4f,$4e,$49,$4e,$47
+ DC.B 0,0
+ DC.B "BOTTLED BRAINS",0,0
+ DC.B "DE-STONING"
+ DC.B $04 ;1603f
+ DC.B $1e ;16040
+ ;16041
+ ;DC.B $00,$00,$59,$4f,$55,$54,$48
+ DC.B 0,0
+ DC.B "YOUTH"
+ DC.W $041e ;16048
+ ;1604a
+ ;DC.B $00,$00,$44,$45,$2d,$43,$52,$49,$50,$50,$4c,$49,$4e,$47
+ DC.B 0,0
+ DC.B "DE-CRIPPLING"
+ DC.W $041e ;16058
+ ;1605a
+ ;DC.B $00,$00,$42,$4f,$54,$54,$4c,$45,$44,$20,$46,$4f,$4f,$44,$00,$00
+ DC.B 0,0
+ DC.B "BOTTLED FOOD",0,0
+ DC.W $041e ;1606a
+ ;1606c
+ ;DC.B $00,$00
+ DC.B 0,0
+ DC.W $041e ;1606e
+ ;16070
+ ;DC.B $00,$00,$50,$45,$4e,$4b,$4e,$49,$46,$45,$00,$00,$4b,$4e,$49,$46
+ ;DC.B $45,$00,$00,$54,$48,$52,$45,$45,$20,$50,$52,$4f,$4e,$47,$45,$44
+ ;DC.B $20,$4b,$4e,$49,$46,$45,$00,$00,$4b,$49,$54,$43,$48,$45,$4e,$20
+ ;DC.B $4b,$4e,$49,$46,$45,$00,$00,$53,$48,$4f,$52,$54,$20,$53,$57,$4f
+ ;DC.B $52,$44,$00,$00,$53,$48,$45,$41,$54,$48,$00,$00,$46,$45,$4e,$43
+ ;DC.B $45,$52,$00,$00,$53,$41,$4d,$55,$52,$41,$49,$00,$00,$42,$52,$4f
+ ;DC.B $41,$44,$2d,$53,$57,$4f,$52,$44,$00,$00,$53,$57,$4f,$52,$44,$20
+ ;DC.B $4f,$46,$20,$46,$52,$45,$45,$44,$4f,$4d,$00,$00,$43,$48,$41,$49
+ ;DC.B $4e,$20,$53,$41,$57,$00,$00,$52,$4f,$43,$4b,$00,$00,$54,$48,$52
+ ;DC.B $4f,$57,$49,$4e,$47,$20,$53,$54,$41,$52,$00,$00,$41,$52,$52,$4f
+ ;DC.B $57,$00,$00,$44,$41,$52,$54,$00,$00,$44,$41,$52,$54,$00,$00,$50
+ ;DC.B $45,$41,$00,$00,$42,$41,$4c,$4c,$00,$00,$43,$4c,$55,$42,$00,$00
+ ;DC.B $53,$54,$41,$46,$46,$00,$00,$53,$50,$41,$4e,$4e,$45,$52,$00,$00
+ ;DC.B $53,$48,$49,$45,$4c,$44,$00,$00,$53,$48,$49,$45,$4c,$44,$20,$4f
+ ;DC.B $46,$20,$4a,$55,$53,$54,$49,$43,$45,$00,$00,$54,$57,$49,$47,$00
+ ;DC.B $00,$53,$50,$41,$44,$45,$00,$00,$42,$4f,$4d,$42,$00,$00,$53,$4d
+ ;DC.B $41,$53,$48,$45,$44
+ DC.B 0,0
+ DC.B "PENKNIFE",0,0
+ DC.B "KNIFE",0,0
+ DC.B "THREE PRONGED KNIFE",0,0
+ DC.B "KITCHEN KNIFE",0,0
+ DC.B "SHORT SWORD",0,0
+ DC.B "SHEATH",0,0
+ DC.B "FENCER",0,0
+ DC.B "SAMURAI",0,0
+ DC.B "BROAD-SWORD",0,0
+ DC.B "SWORD OF FREEDOM",0,0
+ DC.B "CHAIN SAW",0,0
+ DC.B "ROCK",0,0
+ DC.B "THROWING STAR",0,0
+ DC.B "ARROW",0,0
+ DC.B "DART",0,0
+ DC.B "DART",0,0
+ DC.B "PEA",0,0
+ DC.B "BALL",0,0
+ DC.B "CLUB",0,0
+ DC.B "STAFF",0,0
+ DC.B "SPANNER",0,0
+ DC.B "SHIELD",0,0
+ DC.B "SHIELD OF JUSTICE",0,0
+ DC.B "TWIG",0,0
+ DC.B "SPADE",0,0
+ DC.B "BOMB",0,0
+ DC.B "SMASHED"
+ DC.B $04 ;16175
+ ;16176
+ ;DC.B $21,$00,$00,$57,$41,$4e,$44,$20,$4f,$46,$20,$4d,$41,$47,$49,$43
+ ;DC.B $00,$00,$57,$41,$4e,$44,$20,$4f,$46,$20,$50,$41,$49,$4e,$00,$00
+ ;DC.B $43,$52,$4f,$53,$53,$20,$4f,$46,$20,$41,$49,$44,$00,$00,$43,$52
+ ;DC.B $4f,$53,$53,$20,$4f,$46,$20,$4c,$49,$46,$45,$00,$00,$53,$54,$41
+ ;DC.B $46,$46,$20,$4f,$46,$20,$4d,$59,$53,$54,$49,$43,$00,$00,$53,$54
+ ;DC.B $41,$46,$46,$20,$4f,$46,$20,$4f,$55,$52,$41,$00,$00,$53,$4b,$55
+ ;DC.B $4c,$4c,$20,$4f,$46,$20,$53,$54,$41,$54,$55,$53,$00,$00,$48,$45
+ ;DC.B $41,$4c,$53,$54,$4f,$4e,$45,$00,$00,$46,$55,$4e,$4e,$59,$20,$53
+ ;DC.B $54,$49,$43,$4b,$00,$00,$42,$4f,$57,$00,$00,$42,$49,$47,$20,$42
+ ;DC.B $4f,$57,$00,$00,$43,$52,$4f,$53,$53,$42,$4f,$57,$00,$00,$50,$45
+ ;DC.B $41,$2d,$53,$48,$4f,$4f,$54,$45,$52,$00,$00,$42,$4c,$4f,$57,$50
+ ;DC.B $49,$50,$45,$00,$00,$52,$41,$43,$4b,$45,$54,$00,$00,$44,$49,$45
+ ;DC.B $00,$00,$43,$4f,$49,$4e,$00,$00,$43,$48,$45,$53,$54,$00,$00,$43
+ ;DC.B $55,$50,$20,$4f,$46,$20,$4c,$49,$46,$45,$00,$00,$48,$45,$41,$52
+ ;DC.B $54,$20,$4f,$46,$20,$00,$00,$49,$52,$4f,$4e
+ DC.B "!",0,0
+ DC.B "WAND OF MAGIC",0,0
+ DC.B "WAND OF PAIN",0,0
+ DC.B "CROSS OF AID",0,0
+ DC.B "CROSS OF LIFE",0,0
+ DC.B "STAFF OF MYSTIC",0,0
+ DC.B "STAFF OF OURA",0,0
+ DC.B "SKULL OF STATUS",0,0
+ DC.B "HEALSTONE",0,0
+ DC.B "FUNNY STICK",0,0
+ DC.B "BOW",0,0
+ DC.B "BIG BOW",0,0
+ DC.B "CROSSBOW",0,0
+ DC.B "PEA-SHOOTER",0,0
+ DC.B "BLOWPIPE",0,0
+ DC.B "RACKET",0,0
+ DC.B "DIE",0,0
+ DC.B "COIN",0,0
+ DC.B "CHEST",0,0
+ DC.B "CUP OF LIFE",0,0
+ DC.B "HEART OF ",0,0
+ DC.B "IRON"
+ DC.B $04 ;16261
+ ;16262
+ ;DC.B $20,$00,$00,$47,$4f,$4c,$44
+ DC.B " ",0,0
+ DC.B "GOLD"
+ DC.B $04 ;16269
+ ;1626a
+ ;DC.B $20,$00,$00,$42,$52,$4f,$4e,$5a,$45
+ DC.B " ",0,0
+ DC.B "BRONZE"
+ DC.B $04 ;16273
+ ;16274
+ ;DC.B $20,$00,$00,$47,$45,$4d
+ DC.B " ",0,0
+ DC.B "GEM"
+ DC.B $04 ;1627a
+ ;1627b
+ ;DC.B $20,$00,$00,$52,$55,$53,$54,$59
+ DC.B " ",0,0
+ DC.B "RUSTY"
+ DC.B $04 ;16283
+ ;16284
+ ;DC.B $20,$00,$00,$53,$54,$41,$52
+ DC.B " ",0,0
+ DC.B "STAR"
+ DC.B $04 ;1628b
+ ;1628c
+ ;DC.B $20,$00,$00,$45,$4d,$50,$54,$59
+ DC.B " ",0,0
+ DC.B "EMPTY"
+ DC.L $04210000 ;16294
+LAB_16298:
+ DC.L $01000000 ;16298
+ DS.W 1 ;1629c
+LAB_1629E:
+ DC.L $000c0001,$00000b00 ;1629e
+LAB_162A6:
+ DC.L $00020000,$00140020,$00030000,$001e0078 ;162a6
+ DC.L $00050000,$003c0060,$00210000,$006e2040 ;162b6
+ DC.L $00210000,$00822040,$00210000,$00962040 ;162c6
+ DC.L $00140000,$00aa2000,$00210000,$00c82000 ;162d6
+ DC.L $00240000,$00dc2000,$00270000,$00f02000 ;162e6
+ DC.L $001f0000,$00462038,$00060000,$001e0020 ;162f6
+ DC.L $00020000,$00140078,$00080000,$001e0078 ;16306
+ DC.L $000b0000,$00320078,$000c0000,$003c0078 ;16316
+ DC.L $000b0000,$003c0078,$000c0000,$00410078 ;16326
+ DC.L $000d0000,$00460078,$00260000,$00460060 ;16336
+ DC.L $003f0000,$00500060,$003f0000,$006e2000 ;16346
+ DC.L $00470000,$00b42000,$00470000,$00aa2000 ;16356
+ DC.L $005b0000,$00d22000,$00630000,$00f22000 ;16366
+ DC.L $002e0000,$00322038,$00020000,$00140078 ;16376
+ DC.L $00080000,$00280078,$00090000,$003c0078 ;16386
+ DC.L $000b0000,$00460078,$000a0000,$00320078 ;16396
+ DC.L $00140000,$005a0060,$00170000,$00780060 ;163a6
+ DC.L $003d0000,$00b42000,$00480000,$00dc2000 ;163b6
+ DC.L $00480000,$00f02000,$00090000,$00320040 ;163c6
+ DC.L $000f0000,$00500048,$000b0000,$00460040 ;163d6
+ DC.L $001c0000,$006e0040,$00210000,$00b42040 ;163e6
+ DC.L $00350000,$00dc2000,$00350000,$00f02000 ;163f6
+ DC.L $00010000,$00000750,$00020000,$00000740 ;16406
+ DC.L $00040000,$00000740,$00030000,$00000778 ;16416
+ DC.L $00150000,$00000708,$000a0000,$00000760 ;16426
+ DC.L $00050000,$00000720,$00190000,$00000740 ;16436
+ DC.L $000e0000,$00000700,$000b0000,$00000700 ;16446
+ DC.L $00080000,$00000700,$000d0000,$00000700 ;16456
+ DC.L $000e0000,$00000700,$000f0000,$00000700 ;16466
+ DC.L $000d0000,$00000700,$000e0000,$00000700 ;16476
+ DC.L $000f0000,$00000700,$000d0000,$00000700 ;16486
+ DC.L $000e0000,$00000700,$000f0000,$00000700 ;16496
+ DC.L $000d0000,$00000700,$000e0000,$00000700 ;164a6
+ DC.L $000f0000,$00000700,$00040102,$000a0b20 ;164b6
+ DC.L $000c0303,$00140b29,$000a0504,$001e0b32 ;164c6
+ DC.L $000b0605,$00320ab0,$00200706,$00502aa9 ;164d6
+ DC.L $002d0906,$005a2aa2,$00320906,$003c2aa0 ;164e6
+ DC.L $00340a07,$005a2a82,$003f0b07,$006e2a89 ;164f6
+ DC.L $00420405,$00322a90,$004c0805,$00963990 ;16506
+ DC.L $00170002,$00000a89,$000d0000,$00000ab2 ;16516
+ DC.L $00030003,$00000ab2,$00020002,$00002aa1 ;16526
+ DC.L $00020001,$00000b30,$00010001,$00000b60 ;16536
+ DC.L $00020001,$00000b10,$00700004,$00002ac0 ;16546
+ DC.L $00410103,$00002b42,$000c0002,$00000b30 ;16556
+ DC.L $003c0002,$006e2a81,$005a0002,$00b42a81 ;16566
+ DC.L $001f0001,$00002b58,$00460103,$00002a80 ;16576
+ DC.L $00640000,$00000a80,$00050103,$00000b08 ;16586
+ DC.L $000a0000,$00280e43,$000b1c1e,$001e0ec3 ;16596
+ DC.L $000a0000,$00282f44,$000d1c1e,$000a2fc4 ;165a6
+ DC.L $000f0000,$000a1045,$000d1c1e,$000a30c5 ;165b6
+ DC.L $000b0505,$003c2e44,$000d0000,$00003145 ;165c6
+ DC.L $00150414,$000a2e43,$00190002,$00002418 ;165d6
+ DC.L $00350003,$00002419,$00510005,$00003a19 ;165e6
+ DC.L $00040001,$00000340,$000b0003,$00002342 ;165f6
+ DC.L $00200002,$00002c40,$00010000,$00000040 ;16606
+ DC.L $00020000,$00000028,$003e0000,$00002020 ;16616
+ DC.L $001f0000,$00000020,$00150000,$00000070 ;16626
+ DC.L $00020000,$00000020,$00020000,$00000020 ;16636
+ DC.L $00020000,$00000020,$00020000,$00000020 ;16646
+ DC.L $00020000,$00000020,$00020000,$00000020 ;16656
+ DC.L $00050000,$00000010,$00010000 ;16666
+ DS.L 1 ;16672
+ DC.W $ffff ;16676
+LAB_16678:
+ DC.L $fffefffc,$2a021300,$0002fffc,$32021704 ;16678
+ DC.L $fffffffc,$2c021401,$0001fffc,$30021603 ;16688
+ DC.L $0000fffc,$2e021502,$fffefffd,$000dff08 ;16698
+ DC.L $0002fffd,$040dff0c,$fffefffd,$26011108 ;166a8
+ DC.L $0002fffd,$2803120c,$fffffffd,$010cff09 ;166b8
+ DC.L $0001fffd,$030cff0b,$fffffffd,$16010009 ;166c8
+ DC.L $0001fffd,$1e03010b,$0000fffd,$020bff0a ;166d8
+ DC.L $fffffffd,$04020209,$0001fffd,$0802040b ;166e8
+ DC.L $0000fffd,$0602030a,$fffffffe,$050bff11 ;166f8
+ DC.L $0001fffe,$070bff13,$fffffffe,$18010511 ;16708
+ DC.L $0001fffe,$20030613,$0000fffe,$060aff12 ;16718
+ DC.L $fffffffe,$0a020711,$0001fffe,$0e020913 ;16728
+ DC.L $0000fffe,$0c020812,$ffffffff,$080aff19 ;16738
+ DC.L $0001ffff,$0a0aff1b,$ffffffff,$1a010a19 ;16748
+ DC.L $0001ffff,$22030b1b,$0000ffff,$0909ff1a ;16758
+ DC.L $ffffffff,$10020d19,$0001ffff,$14020e1b ;16768
+ DC.L $0000ffff,$12020c1a,$ffff0000,$0b09ff21 ;16778
+ DC.L $00010000,$0d09ff23,$ffff0000,$1c010f21 ;16788
+ DC.L $00010000,$24031023 ;16798
+ DS.L 1 ;167a0
+ DC.L $0c08ff22 ;167a4
+ DS.L 1 ;167a8
+ DC.L $0000ff22 ;167ac
+ DS.L 1 ;167b0
+ DC.L $0000ff22,$01000b1f,$15001800,$16001700 ;167b4
+ DC.L $15001800,$16001700,$00000200,$0c1f1501 ;167c4
+ DC.L $18011601,$17011501,$18011601,$17010000 ;167d4
+ DS.W 1 ;167e4
+SUB_167E6:
+ MOVE.L LAB_14A64(PC),D1 ;167e6: 223ae27c
+ MOVEA.L D1,A6 ;167ea: 2c41
+ ADDI.L #$000010e2,D1 ;167ec: 0681000010e2
+ LEA $1022(A6),A0 ;167f2: 41ee1022
+ LEA LAB_14994(PC),A1 ;167f6: 43fae19c
+ MOVEQ #$1B,D0 ;167fa: 701b
+LAB_167FC:
+ MOVE.L (A1)+,D2 ;167fc: 2419
+ ADD.L D1,D2 ;167fe: d481
+ MOVE.L D2,(A0)+ ;16800: 20c2
+ DBF D0,LAB_167FC ;16802: 51c8fff8
+ BSR.W SUB_16846 ;16806: 6100003e
+LAB_1680A:
+ LEA LAB_1680A(PC),A0 ;1680a: 41fafffe
+ ADDA.L #$0000e4b0,A0 ;1680e: d1fc0000e4b0
+ LEA $1092(A6),A1 ;16814: 43ee1092
+ LEA LAB_14A04(PC),A2 ;16818: 45fae1ea
+ MOVEQ #$13,D0 ;1681c: 7013
+LAB_1681E:
+ MOVE.L (A2)+,D2 ;1681e: 241a
+ ADD.L A0,D2 ;16820: d488
+ MOVE.L D2,(A1)+ ;16822: 22c2
+ DBF D0,LAB_1681E ;16824: 51c8fff8
+ RTS ;16828: 4e75
+SUB_1682A:
+ MOVE.W #$00a5,D0 ;1682a: 303c00a5
+ MOVEA.L A6,A0 ;1682e: 204e
+LAB_16830:
+ CLR.L (A0)+ ;16830: 4298
+ DBF D0,LAB_16830 ;16832: 51c8fffc
+ MOVE.L #$00010203,$112(A6) ;16836: 2d7c000102030112
+ MOVE.W #$0001,$11A(A6) ;1683e: 3d7c0001011a
+ RTS ;16844: 4e75
+SUB_16846:
+ MOVEA.L $1026(A6),A0 ;16846: 206e1026
+ MOVE.W #$00ff,D0 ;1684a: 303c00ff
+ CLR.W D1 ;1684e: 4241
+LAB_16850:
+ CLR.W D2 ;16850: 4242
+ CLR.W D3 ;16852: 4243
+ MOVEQ #7,D4 ;16854: 7807
+LAB_16856:
+ BTST D3,D1 ;16856: 0701
+ BEQ.S LAB_1685C ;16858: 6702
+ BSET D4,D2 ;1685a: 09c2
+LAB_1685C:
+ ADDQ.W #1,D3 ;1685c: 5243
+ DBF D4,LAB_16856 ;1685e: 51ccfff6
+ MOVE.B D2,(A0)+ ;16862: 10c2
+ ADDQ.W #1,D1 ;16864: 5241
+ DBF D0,LAB_16850 ;16866: 51c8ffe8
+ RTS ;1686a: 4e75
+ DC.L $41fad38a,$43f88240 ;1686c
+ DC.W $700f ;16874
+LAB_16876:
+ MOVE.W (A0)+,(A1)+ ;16876: 32d8
+ DBF D0,LAB_16876 ;16878: 51c8fffc
+ RTS ;1687c: 4e75
+SUB_1687E:
+ MOVE.L D0,-(A7) ;1687e: 2f00
+ MOVEQ #2,D0 ;16880: 7002
+LAB_16882:
+ MOVEM.L D1-D7/A0-A5,-(A7) ;16882: 48e77ffc
+ MOVE.W $20(A6),D2 ;16886: 342e0020
+ CLR.W D1 ;1688a: 4241
+ JSR SUB_207AA ;1688c: 4eb9000207aa
+ MOVEM.L (A7)+,D1-D7/A0-A5 ;16892: 4cdf3ffe
+ MOVE.L (A7)+,D0 ;16896: 201f
+ RTS ;16898: 4e75
+SUB_1689A:
+ MOVE.L D0,-(A7) ;1689a: 2f00
+ MOVEQ #$37,D0 ;1689c: 7037
+ BRA.S LAB_16882 ;1689e: 60e2
+SUB_168A0:
+ MOVE.L D0,-(A7) ;168a0: 2f00
+ MOVEQ #9,D0 ;168a2: 7009
+ BRA.S LAB_16882 ;168a4: 60dc
+SUB_168A6:
+ TST.W $27C(A6) ;168a6: 4a6e027c
+ BEQ.S LAB_168BA ;168aa: 670e
+ SUBQ.W #1,$27C(A6) ;168ac: 536e027c
+ BNE.S LAB_168BA ;168b0: 6608
+ ST $9E(A6) ;168b2: 50ee009e
+ ST $C1A(A6) ;168b6: 50ee0c1a
+LAB_168BA:
+ ADDQ.W #1,$32(A6) ;168ba: 526e0032
+ BSR.W SUB_16942 ;168be: 61000082
+ ST $10E(A6) ;168c2: 50ee010e
+ CLR.W $124(A6) ;168c6: 426e0124
+ MOVEQ #0,D0 ;168ca: 7000
+ LEA $298(A6),A0 ;168cc: 41ee0298
+ LEA $E3C(A6),A1 ;168d0: 43ee0e3c
+LAB_168D4:
+ CLR.W D2 ;168d4: 4242
+ TST.W $18(A0) ;168d6: 4a680018
+ BNE.S LAB_168E2 ;168da: 6606
+ ADDQ.W #2,D2 ;168dc: 5442
+ BRA.W LAB_168FC ;168de: 6000001c
+LAB_168E2:
+ TST.W $10E(A6) ;168e2: 4a6e010e
+ BPL.S LAB_168EC ;168e6: 6a04
+ MOVE.W D0,$10E(A6) ;168e8: 3d40010e
+LAB_168EC:
+ CMPI.B #$07,$BF(A0) ;168ec: 0c28000700bf
+ BNE.S LAB_168F8 ;168f2: 6604
+ MOVE.W D0,$10E(A6) ;168f4: 3d40010e
+LAB_168F8:
+ ADDQ.W #1,$124(A6) ;168f8: 526e0124
+LAB_168FC:
+ MOVE.W D2,$3C(A0) ;168fc: 3142003c
+ CMP.W (A1)+,D2 ;16900: b459
+ BEQ.S LAB_1691C ;16902: 6718
+ MOVE.W -2(A1),D1 ;16904: 3229fffe
+ MOVE.W D2,-2(A1) ;16908: 3342fffe
+ TST.W D1 ;1690c: 4a41
+ BEQ.S LAB_1691A ;1690e: 670a
+ TST.W D2 ;16910: 4a42
+ BNE.S LAB_1691C ;16912: 6608
+ BSR.W SUB_1687E ;16914: 6100ff68
+ BRA.S LAB_1691C ;16918: 6002
+LAB_1691A:
+ BSR.S SUB_168A0 ;1691a: 6184
+LAB_1691C:
+ LEA $1D2(A0),A0 ;1691c: 41e801d2
+ ADDQ.W #1,D0 ;16920: 5240
+ CMP.W #$0004,D0 ;16922: b07c0004
+ BLT.S LAB_168D4 ;16926: 6dac
+ TST.W $10E(A6) ;16928: 4a6e010e
+ BPL.S LAB_16932 ;1692c: 6a04
+ CLR.W $10E(A6) ;1692e: 426e010e
+LAB_16932:
+ TST.W $124(A6) ;16932: 4a6e0124
+ BEQ.S LAB_1693A ;16936: 6702
+ RTS ;16938: 4e75
+LAB_1693A:
+ MOVE.W #$0001,$258(A6) ;1693a: 3d7c00010258
+ RTS ;16940: 4e75
+SUB_16942:
+ MOVE.W $32(A6),D0 ;16942: 302e0032
+ ANDI.W #$000f,D0 ;16946: 0240000f
+ BEQ.S LAB_1694E ;1694a: 6702
+ RTS ;1694c: 4e75
+LAB_1694E:
+ MOVE.W $32(A6),D0 ;1694e: 302e0032
+ LSR.W #4,D0 ;16952: e848
+ ANDI.W #$0003,D0 ;16954: 02400003
+ MOVE.W D0,$1016(A6) ;16958: 3d401016
+ MOVE.W D0,D1 ;1695c: 3200
+ MULU #$01d2,D1 ;1695e: c2fc01d2
+ LEA $298(A6),A0 ;16962: 41ee0298
+ ADDA.W D1,A0 ;16966: d0c1
+ TST.W $18(A0) ;16968: 4a680018
+ BEQ.W LAB_16A8C ;1696c: 6700011e
+ MOVEQ #$64,D2 ;16970: 7464
+ CLR.W D6 ;16972: 4246
+ MOVE.B $B76(A6),D6 ;16974: 1c2e0b76
+ TST.W $25E(A6) ;16978: 4a6e025e
+ BEQ.S LAB_169A8 ;1697c: 672a
+ MOVEQ #$28,D2 ;1697e: 7428
+ TST.W $27E(A6) ;16980: 4a6e027e
+ BEQ.S LAB_169A8 ;16984: 6722
+ BSR.W SUB_16B94 ;16986: 6100020c
+ SUBQ.W #1,$27E(A6) ;1698a: 536e027e
+ BNE.S LAB_169A4 ;1698e: 6614
+ ST $9E(A6) ;16990: 50ee009e
+ ST $C1A(A6) ;16994: 50ee0c1a
+ MOVEM.L D0-D7/A0-A6,-(A7) ;16998: 48e7fffe
+ BSR.W SUB_16D78 ;1699c: 610003da
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;169a0: 4cdf7fff
+LAB_169A4:
+ MOVEQ #$A,D2 ;169a4: 740a
+ LSR.W #1,D6 ;169a6: e24e
+LAB_169A8:
+ LSR.W #1,D6 ;169a8: e24e
+ MOVE.W D6,-(A7) ;169aa: 3f06
+ LSR.W #1,D6 ;169ac: e24e
+ ADD.W (A7)+,D6 ;169ae: dc5f
+ ADDQ.W #8,D6 ;169b0: 5046
+ MOVE.W $3A(A0),D5 ;169b2: 3a28003a
+ SUB.W D6,D5 ;169b6: 9a46
+ BCC.S LAB_169BC ;169b8: 6402
+ MOVEQ #0,D5 ;169ba: 7a00
+LAB_169BC:
+ MOVE.W D5,$3A(A0) ;169bc: 3145003a
+ MOVEQ #0,D3 ;169c0: 7600
+ BSR.W SUB_16A8E ;169c2: 610000ca
+ CMP.W #$b31a,D6 ;169c6: bc7cb31a
+ BHI.S LAB_169F0 ;169ca: 6224
+ TST.B $42(A0) ;169cc: 4a280042
+ BNE.S LAB_169F0 ;169d0: 661e
+ MOVEQ #0,D3 ;169d2: 7600
+ MOVE.W $1A(A0),D3 ;169d4: 3628001a
+ DIVU D2,D3 ;169d8: 86c2
+ MOVE.W $18(A0),D4 ;169da: 38280018
+ ADD.W D3,D4 ;169de: d843
+ BCS.S LAB_169E8 ;169e0: 6506
+ CMP.W $1A(A0),D4 ;169e2: b868001a
+ BLS.S LAB_169EC ;169e6: 6304
+LAB_169E8:
+ MOVE.W $1A(A0),D4 ;169e8: 3828001a
+LAB_169EC:
+ MOVE.W D4,$18(A0) ;169ec: 31440018
+LAB_169F0:
+ BSR.W SUB_16A8E ;169f0: 6100009c
+ CMP.W #$ccb0,D6 ;169f4: bc7cccb0
+ BHI.S LAB_16A2A ;169f8: 6230
+ MOVEM.L D0/D2/A0,-(A7) ;169fa: 48e7a080
+ BSR.W SUB_16AA0 ;169fe: 610000a0
+ MOVEM.L (A7)+,D0/D2/A0 ;16a02: 4cdf0105
+ MOVEQ #0,D3 ;16a06: 7600
+ TST.W $3A(A0) ;16a08: 4a68003a
+ BEQ.S LAB_16A2A ;16a0c: 671c
+ MOVE.W $1E(A0),D3 ;16a0e: 3628001e
+ DIVU D2,D3 ;16a12: 86c2
+ MOVE.W $1C(A0),D4 ;16a14: 3828001c
+ ADD.W D3,D4 ;16a18: d843
+ BCS.S LAB_16A22 ;16a1a: 6506
+ CMP.W $1E(A0),D4 ;16a1c: b868001e
+ BLS.S LAB_16A26 ;16a20: 6304
+LAB_16A22:
+ MOVE.W $1E(A0),D4 ;16a22: 3828001e
+LAB_16A26:
+ MOVE.W D4,$1C(A0) ;16a26: 3144001c
+LAB_16A2A:
+ BSR.W SUB_16A8E ;16a2a: 61000062
+ CMP.W #$e646,D6 ;16a2e: bc7ce646
+ BHI.S LAB_16A88 ;16a32: 6254
+ MOVE.W $34(A0),D5 ;16a34: 3a280034
+ LSR.W #1,D5 ;16a38: e24d
+ ADDI.W #$0c80,D5 ;16a3a: 06450c80
+ LSR.W #2,D5 ;16a3e: e44d
+ MOVEQ #0,D3 ;16a40: 7600
+ MOVE.W $22(A0),D3 ;16a42: 36280022
+ LSR.W #4,D3 ;16a46: e84b
+ MULU D5,D3 ;16a48: c6c5
+ MULU #$0064,D2 ;16a4a: c4fc0064
+ DIVU D2,D3 ;16a4e: 86c2
+ ADDQ.W #1,D3 ;16a50: 5243
+ MOVEQ #0,D4 ;16a52: 7800
+ MOVE.W $20(A0),D4 ;16a54: 38280020
+ CMP.W $22(A0),D4 ;16a58: b8680022
+ BEQ.S LAB_16A88 ;16a5c: 672a
+ ADD.W D3,D4 ;16a5e: d843
+ BCS.S LAB_16A68 ;16a60: 6506
+ CMP.W $22(A0),D4 ;16a62: b8680022
+ BLS.S LAB_16A74 ;16a66: 630c
+LAB_16A68:
+ MOVE.W $22(A0),D3 ;16a68: 36280022
+ SUB.W $20(A0),D3 ;16a6c: 96680020
+ MOVE.W $22(A0),D4 ;16a70: 38280022
+LAB_16A74:
+ MOVE.W D4,$20(A0) ;16a74: 31440020
+ MOVE.L D3,D1 ;16a78: 2203
+ BEQ.S LAB_16A88 ;16a7a: 670c
+ MOVEM.L D0/A0,-(A7) ;16a7c: 48e78080
+ BSR.W LAB_17D40 ;16a80: 610012be
+ MOVEM.L (A7)+,D0/A0 ;16a84: 4cdf0101
+LAB_16A88:
+ BRA.W LAB_15270 ;16a88: 6000e7e6
+LAB_16A8C:
+ RTS ;16a8c: 4e75
+SUB_16A8E:
+ MOVE.W $B76(A6),D6 ;16a8e: 3c2e0b76
+ MULU #$05e5,D6 ;16a92: ccfc05e5
+ ADDI.W #$0029,D6 ;16a96: 06460029
+ MOVE.W D6,$B76(A6) ;16a9a: 3d460b76
+ RTS ;16a9e: 4e75
+SUB_16AA0:
+ LEA $24(A0),A1 ;16aa0: 43e80024
+ MOVEQ #4,D3 ;16aa4: 7604
+LAB_16AA6:
+ MOVEQ #3,D4 ;16aa6: 7803
+LAB_16AA8:
+ MOVE.W (A1),D1 ;16aa8: 3211
+ CMP.W 2(A1),D1 ;16aaa: b2690002
+ BEQ.S LAB_16ABC ;16aae: 670c
+ BLS.S LAB_16AB6 ;16ab0: 6304
+ SUBQ.W #1,(A1) ;16ab2: 5351
+ BRA.S LAB_16AB8 ;16ab4: 6002
+LAB_16AB6:
+ ADDQ.W #1,(A1) ;16ab6: 5251
+LAB_16AB8:
+ DBF D4,LAB_16AA8 ;16ab8: 51ccffee
+LAB_16ABC:
+ ADDQ.W #4,A1 ;16abc: 5849
+ DBF D3,LAB_16AA6 ;16abe: 51cbffe6
+ LEA $3E(A0),A1 ;16ac2: 43e8003e
+ BSR.S SUB_16AF6 ;16ac6: 612e
+ BEQ.S LAB_16ACE ;16ac8: 6704
+ BSR.W SUB_16B5E ;16aca: 61000092
+LAB_16ACE:
+ ADDQ.W #1,A1 ;16ace: 5249
+ BSR.S SUB_16AF6 ;16ad0: 6124
+ BEQ.S LAB_16AD8 ;16ad2: 6704
+ BSR.W SUB_16B70 ;16ad4: 6100009a
+LAB_16AD8:
+ ADDQ.W #1,A1 ;16ad8: 5249
+ BSR.S SUB_16AF6 ;16ada: 611a
+ ADDQ.W #1,A1 ;16adc: 5249
+ BSR.S SUB_16AF6 ;16ade: 6116
+ ADDQ.W #1,A1 ;16ae0: 5249
+ BSR.S SUB_16AF6 ;16ae2: 6112
+ BEQ.S LAB_16AE8 ;16ae4: 6702
+ BSR.S SUB_16B26 ;16ae6: 613e
+LAB_16AE8:
+ ADDQ.W #1,A1 ;16ae8: 5249
+ BSR.S SUB_16AF6 ;16aea: 610a
+ BEQ.S LAB_16AF0 ;16aec: 6702
+ BSR.S SUB_16B4C ;16aee: 615c
+LAB_16AF0:
+ ADDQ.W #1,A1 ;16af0: 5249
+ BSR.S SUB_16AF6 ;16af2: 6102
+ RTS ;16af4: 4e75
+SUB_16AF6:
+ TST.B (A1) ;16af6: 4a11
+ BEQ.S LAB_16B24 ;16af8: 672a
+ CMPI.B #$28,(A1) ;16afa: 0c110028
+ BHI.S LAB_16B20 ;16afe: 6220
+ SUBQ.B #1,(A1) ;16b00: 5311
+ TST.B (A1) ;16b02: 4a11
+ BNE.S LAB_16B20 ;16b04: 661a
+ MOVEM.L D0/A1,-(A7) ;16b06: 48e78040
+ LEA $DC(A6),A1 ;16b0a: 43ee00dc
+ MOVE.W $1016(A6),D0 ;16b0e: 302e1016
+ ORI.B #$08,0(A1,D0.W) ;16b12: 003100080000
+ ST $98(A6) ;16b18: 50ee0098
+ MOVEM.L (A7)+,D0/A1 ;16b1c: 4cdf0201
+LAB_16B20:
+ CLR.W D1 ;16b20: 4241
+ MOVE.B (A1),D1 ;16b22: 1211
+LAB_16B24:
+ RTS ;16b24: 4e75
+SUB_16B26:
+ ADD.W D1,D1 ;16b26: d241
+ ADD.W D1,D1 ;16b28: d241
+ ADDI.W #$0040,D1 ;16b2a: 06410040
+ MOVEQ #3,D2 ;16b2e: 7403
+ MOVE.W $32(A6),D0 ;16b30: 302e0032
+ LSR.W #4,D0 ;16b34: e848
+ ANDI.W #$0003,D0 ;16b36: 02400003
+ TST.W D1 ;16b3a: 4a41
+ BEQ.S LAB_16B4A ;16b3c: 670c
+ MOVEM.L A0-A1,-(A7) ;16b3e: 48e700c0
+ BSR.W SUB_18188 ;16b42: 61001644
+ MOVEM.L (A7)+,A0-A1 ;16b46: 4cdf0300
+LAB_16B4A:
+ RTS ;16b4a: 4e75
+SUB_16B4C:
+ LEA $30(A0),A2 ;16b4c: 45e80030
+ BSR.S SUB_16B7C ;16b50: 612a
+ LEA $28(A0),A2 ;16b52: 45e80028
+ BSR.S LAB_16B7E ;16b56: 6126
+ LEA $24(A0),A2 ;16b58: 45e80024
+ BRA.S LAB_16B80 ;16b5c: 6022
+SUB_16B5E:
+ LEA $2C(A0),A2 ;16b5e: 45e8002c
+ BSR.S SUB_16B7C ;16b62: 6118
+ LEA $30(A0),A2 ;16b64: 45e80030
+ BSR.S LAB_16B7E ;16b68: 6114
+ LEA $24(A0),A2 ;16b6a: 45e80024
+ BRA.S LAB_16B80 ;16b6e: 6010
+SUB_16B70:
+ LEA $24(A0),A2 ;16b70: 45e80024
+ BSR.S SUB_16B7C ;16b74: 6106
+ LEA $34(A0),A2 ;16b76: 45e80034
+ BRA.S LAB_16B7E ;16b7a: 6002
+SUB_16B7C:
+ ADD.W D1,D1 ;16b7c: d241
+LAB_16B7E:
+ ADD.W D1,D1 ;16b7e: d241
+LAB_16B80:
+ ADDQ.W #1,D1 ;16b80: 5241
+ SUB.W D1,(A2) ;16b82: 9352
+ BCC.S LAB_16B8C ;16b84: 6406
+LAB_16B86:
+ MOVE.W #$0280,(A2) ;16b86: 34bc0280
+ RTS ;16b8a: 4e75
+LAB_16B8C:
+ CMPI.W #$0280,(A2) ;16b8c: 0c520280
+ BLS.S LAB_16B86 ;16b90: 63f4
+ RTS ;16b92: 4e75
+SUB_16B94:
+ MOVEM.L D0-D4/A1,-(A7) ;16b94: 48e7f840
+ MOVE.W $B76(A6),D3 ;16b98: 362e0b76
+ MOVEQ #$27,D2 ;16b9c: 7427
+LAB_16B9E:
+ MOVE.W D3,D0 ;16b9e: 3003
+ MULU #$0070,D0 ;16ba0: c0fc0070
+ SWAP D0 ;16ba4: 4840
+ ADDI.W #$0036,D0 ;16ba6: 06400036
+ MOVEA.L $1066(A6),A1 ;16baa: 226e1066
+ MULU #$0028,D0 ;16bae: c0fc0028
+ LEA 4(A1,D0.W),A1 ;16bb2: 43f10004
+ CLR.W D0 ;16bb6: 4240
+ MOVE.B D3,D0 ;16bb8: 1003
+ MULU #$0090,D0 ;16bba: c0fc0090
+ LSR.W #8,D0 ;16bbe: e048
+ MOVE.L D2,D4 ;16bc0: 2802
+ ANDI.L #$00000003,D4 ;16bc2: 028400000003
+ MOVE.W D0,D1 ;16bc8: 3200
+ LSR.W #3,D0 ;16bca: e648
+ MULU #$1f40,D4 ;16bcc: c8fc1f40
+ ADDA.W D0,A1 ;16bd0: d2c0
+ ANDI.W #$0007,D1 ;16bd2: 02410007
+ BSET D1,0(A1,D4.W) ;16bd6: 03f14000
+ MULU #$05e5,D3 ;16bda: c6fc05e5
+ ADDI.W #$0029,D3 ;16bde: 06430029
+ DBF D2,LAB_16B9E ;16be2: 51caffba
+ MOVEM.L (A7)+,D0-D4/A1 ;16be6: 4cdf021f
+ RTS ;16bea: 4e75
+SUB_16BEC:
+ BSR.S SUB_16BF2 ;16bec: 6104
+ BSR.S SUB_16C10 ;16bee: 6120
+ BRA.S SUB_16BFA ;16bf0: 6008
+SUB_16BF2:
+ BSR.S SUB_16C02 ;16bf2: 610e
+ BCLR #7,(A1) ;16bf4: 08910007
+ RTS ;16bf8: 4e75
+SUB_16BFA:
+ BSR.S SUB_16C02 ;16bfa: 6106
+ BSET #7,(A1) ;16bfc: 08d10007
+ RTS ;16c00: 4e75
+SUB_16C02:
+ MOVE.W $20(A6),D0 ;16c02: 302e0020
+ MOVEA.L $B3A(A6),A1 ;16c06: 226e0b3a
+ ADDA.W D0,A1 ;16c0a: d2c0
+ RTS ;16c0c: 4e75
+LAB_16C0E:
+ DS.W 1 ;16c0e
+SUB_16C10:
+ BSR.W SUB_13A0A ;16c10: 6100cdf8
+ CLR.W D0 ;16c14: 4240
+ MOVE.B $A0(A6),D0 ;16c16: 102e00a0
+ BEQ.S LAB_16C2A ;16c1a: 670e
+ LEA LAB_13A12(PC),A0 ;16c1c: 41facdf4
+ MOVE.W D0,8(A0) ;16c20: 31400008
+ CLR.W $A0(A6) ;16c24: 426e00a0
+ BRA.S LAB_16C2E ;16c28: 6004
+LAB_16C2A:
+ BSR.W SUB_139DE ;16c2a: 6100cdb2
+LAB_16C2E:
+ TST.W D0 ;16c2e: 4a40
+ BNE.S LAB_16C34 ;16c30: 6602
+LAB_16C32:
+ RTS ;16c32: 4e75
+LAB_16C34:
+ LEA $A4(A6),A1 ;16c34: 43ee00a4
+ CMP.W #$00be,D0 ;16c38: b07c00be
+ BNE.S LAB_16C58 ;16c3c: 661a
+ BTST #0,1(A1) ;16c3e: 082900000001
+ BEQ.S LAB_16C32 ;16c44: 67ec
+ BSET #1,1(A1) ;16c46: 08e900010001
+ ST $98(A6) ;16c4c: 50ee0098
+ BSR.W SUB_177DE ;16c50: 61000b8c
+ BEQ.S LAB_16C6C ;16c54: 6716
+ RTS ;16c56: 4e75
+LAB_16C58:
+ CMP.W #$003e,D0 ;16c58: b07c003e
+ BNE.S LAB_16C72 ;16c5c: 6614
+ BTST #0,1(A1) ;16c5e: 082900000001
+ BEQ.S LAB_16C32 ;16c64: 67cc
+ BSET #1,1(A1) ;16c66: 08e900010001
+LAB_16C6C:
+ MOVEA.L $FAC(A6),A3 ;16c6c: 266e0fac
+ JMP (A3) ;16c70: 4ed3
+LAB_16C72:
+ CMP.W #$002e,D0 ;16c72: b07c002e
+ BEQ.S LAB_16C7E ;16c76: 6706
+ CMP.W #$001e,D0 ;16c78: b07c001e
+ BNE.S LAB_16C92 ;16c7c: 6614
+LAB_16C7E:
+ BTST #0,5(A1) ;16c7e: 082900000005
+ BEQ.S LAB_16C32 ;16c84: 67ac
+ BSET #1,5(A1) ;16c86: 08e900010005
+ MOVEA.L $FB0(A6),A3 ;16c8c: 266e0fb0
+ JMP (A3) ;16c90: 4ed3
+LAB_16C92:
+ CMP.W #$002d,D0 ;16c92: b07c002d
+ BNE.S LAB_16CAC ;16c96: 6614
+ BTST #0,4(A1) ;16c98: 082900000004
+ BEQ.S LAB_16C32 ;16c9e: 6792
+ BSET #1,4(A1) ;16ca0: 08e900010004
+ MOVEA.L $FB4(A6),A3 ;16ca6: 266e0fb4
+ JMP (A3) ;16caa: 4ed3
+LAB_16CAC:
+ CMP.W #$002f,D0 ;16cac: b07c002f
+ BNE.S LAB_16CC8 ;16cb0: 6616
+ BTST #0,6(A1) ;16cb2: 082900000006
+ BEQ.W LAB_16C32 ;16cb8: 6700ff78
+ BSET #1,6(A1) ;16cbc: 08e900010006
+ MOVEA.L $FB8(A6),A3 ;16cc2: 266e0fb8
+ JMP (A3) ;16cc6: 4ed3
+LAB_16CC8:
+ CMP.W #$001d,D0 ;16cc8: b07c001d
+ BNE.S LAB_16CE2 ;16ccc: 6614
+ BTST #0,3(A1) ;16cce: 082900000003
+ BEQ.S LAB_16D2E ;16cd4: 6758
+ BSET #1,3(A1) ;16cd6: 08e900010003
+ MOVEA.L $FC4(A6),A3 ;16cdc: 266e0fc4
+ JMP (A3) ;16ce0: 4ed3
+LAB_16CE2:
+ CMP.W #$001f,D0 ;16ce2: b07c001f
+ BNE.S LAB_16CFC ;16ce6: 6614
+ BTST #0,7(A1) ;16ce8: 082900000007
+ BEQ.S LAB_16D2E ;16cee: 673e
+ BSET #1,7(A1) ;16cf0: 08e900010007
+ MOVEA.L $FC8(A6),A3 ;16cf6: 266e0fc8
+ JMP (A3) ;16cfa: 4ed3
+LAB_16CFC:
+ CMP.W #$003f,D0 ;16cfc: b07c003f
+ BNE.S LAB_16D18 ;16d00: 6616
+ BTST #0,2(A1) ;16d02: 082900000002
+ BEQ.W LAB_16D2E ;16d08: 67000024
+ BSET #1,2(A1) ;16d0c: 08e900010002
+ MOVEA.L $FC0(A6),A3 ;16d12: 266e0fc0
+ JMP (A3) ;16d16: 4ed3
+LAB_16D18:
+ CMP.W #$003d,D0 ;16d18: b07c003d
+ BNE.S LAB_16D30 ;16d1c: 6612
+ BTST #0,(A1) ;16d1e: 08110000
+ BEQ.S LAB_16D2E ;16d22: 670a
+ BSET #1,(A1) ;16d24: 08d10001
+ MOVEA.L $FBC(A6),A3 ;16d28: 266e0fbc
+ JMP (A3) ;16d2c: 4ed3
+LAB_16D2E:
+ RTS ;16d2e: 4e75
+LAB_16D30:
+ CMP.W #$0019,D0 ;16d30: b07c0019
+ BNE.S LAB_16D3C ;16d34: 6606
+ JMP LAB_213F0 ;16d36: 4ef9000213f0
+LAB_16D3C:
+ CMP.W #$0050,D0 ;16d3c: b07c0050
+ BLT.S LAB_16D68 ;16d40: 6d26
+ CMP.W #$0053,D0 ;16d42: b07c0053
+ BGT.S LAB_16D68 ;16d46: 6e20
+ SUBI.W #$004f,D0 ;16d48: 0440004f
+ MOVE.W D0,D1 ;16d4c: 3200
+ MOVE.W D1,D2 ;16d4e: 3401
+ SUBQ.W #1,D2 ;16d50: 5342
+ MULU #$01d2,D2 ;16d52: c4fc01d2
+ LEA $298(A6),A0 ;16d56: 41ee0298
+ ADDA.W D2,A0 ;16d5a: d0c2
+ TST.B $45(A0) ;16d5c: 4a280045
+ BEQ.S LAB_16D66 ;16d60: 6704
+ BRA.W LAB_1ACE0 ;16d62: 60003f7c
+LAB_16D66:
+ RTS ;16d66: 4e75
+LAB_16D68:
+ CMP.W #$0031,D0 ;16d68: b07c0031
+ BNE.S LAB_16DA4 ;16d6c: 6636
+ TST.W $25E(A6) ;16d6e: 4a6e025e
+ BNE.S LAB_16D80 ;16d72: 660c
+ ST $25E(A6) ;16d74: 50ee025e
+SUB_16D78:
+ LEA LAB_16D9A(PC),A0 ;16d78: 41fa0020
+ BRA.W SUB_173E0 ;16d7c: 60000662
+LAB_16D80:
+ TST.W $25E(A6) ;16d80: 4a6e025e
+ BEQ.S LAB_16D98 ;16d84: 6712
+ MOVEM.L D0-D7/A0-A6,-(A7) ;16d86: 48e7fffe
+ CLR.W $25E(A6) ;16d8a: 426e025e
+ JSR SUB_1CEE0 ;16d8e: 4eb90001cee0
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;16d94: 4cdf7fff
+LAB_16D98:
+ RTS ;16d98: 4e75
+LAB_16D9A:
+ DC.L $913f325a,$5a5a2e2e ;16d9a
+ DC.W $2e00 ;16da2
+LAB_16DA4:
+ CMP.W #$0054,D0 ;16da4: b07c0054
+ BNE.S LAB_16DB6 ;16da8: 660c
+ TST.W $25E(A6) ;16daa: 4a6e025e
+ BNE.S LAB_16DCA ;16dae: 661a
+ CLR.W $11C(A6) ;16db0: 426e011c
+ BRA.S LAB_16DC6 ;16db4: 6010
+LAB_16DB6:
+ CMP.W #$00d4,D0 ;16db6: b07c00d4
+ BNE.S LAB_16DCC ;16dba: 6610
+ TST.W $25E(A6) ;16dbc: 4a6e025e
+ BNE.S LAB_16DCA ;16dc0: 6608
+ ST $11C(A6) ;16dc2: 50ee011c
+LAB_16DC6:
+ ST $230(A6) ;16dc6: 50ee0230
+LAB_16DCA:
+ RTS ;16dca: 4e75
+LAB_16DCC:
+ CLR.L $F90(A6) ;16dcc: 42ae0f90
+ TST.W $E56(A6) ;16dd0: 4a6e0e56
+ BNE.W LAB_16DE0 ;16dd4: 6600000a
+ CMP.W #$0056,D0 ;16dd8: b07c0056
+ BEQ.W LAB_16E28 ;16ddc: 6700004a
+LAB_16DE0:
+ CMP.B #$43,D0 ;16de0: b03c0043
+ BNE.S LAB_16DEC ;16de4: 6606
+ MOVEA.L $FCC(A6),A3 ;16de6: 266e0fcc
+ JMP (A3) ;16dea: 4ed3
+LAB_16DEC:
+ CMP.B #$55,D0 ;16dec: b03c0055
+ BNE.S LAB_16E22 ;16df0: 6630
+ LEA PartyOnHold(PC),A0 ;16df2: 41fa001c
+ BSR.W SUB_173E0 ;16df6: 610005e8
+LAB_16DFA:
+ BSR.W SUB_139DE ;16dfa: 6100cbe2
+ TST.W D0 ;16dfe: 4a40
+ BNE.S LAB_16E08 ;16e00: 6606
+ BSR.W SUB_19D22 ;16e02: 61002f1e
+ BEQ.S LAB_16DFA ;16e06: 67f2
+LAB_16E08:
+ JSR SUB_1CEE0 ;16e08: 4eb90001cee0
+ RTS ;16e0e: 4e75
+PartyOnHold:
+ DC.W $9929 ;16e10
+ DC.B $32 ;16e12
+ ;16e13
+ ;DC.B $50,$41,$52,$54,$59,$20,$4f,$4e,$20,$48,$4f,$4c,$44,$00,$00
+ DC.B "PARTY ON HOLD",0,0
+LAB_16E22:
+ BRA.W LAB_16C2A ;16e22: 6000fe06
+ RTS ;16e26: 4e75
+LAB_16E28:
+ CLR.W $F3E(A6) ;16e28: 426e0f3e
+LAB_16E2C:
+ LEA LAB_16E7C(PC),A0 ;16e2c: 41fa004e
+ MOVE.L A0,$F34(A6) ;16e30: 2d480f34
+ LEA strSAVE_(PC),A0 ;16e34: 41fa05a3
+ MOVE.L A6,-(A7) ;16e38: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;16e3a: 2c780004
+ JSR $60(A6) ;16e3e: 4eae0060
+ MOVEA.L (A7)+,A6 ;16e42: 2c5f
+ MOVE.L D0,$F90(A6) ;16e44: 2d400f90
+ BPL.S LAB_16EC2 ;16e48: 6a78
+ LEA LAB_17516(PC),A0 ;16e4a: 41fa06ca
+ MOVE.W #$0002,$F40(A6) ;16e4e: 3d7c00020f40
+ TST.W $F3E(A6) ;16e54: 4a6e0f3e
+ BEQ.S LAB_16E62 ;16e58: 6708
+ LEA LAB_17518(PC),A0 ;16e5a: 41fa06bc
+ SUBQ.W #1,$F40(A6) ;16e5e: 536e0f40
+LAB_16E62:
+ BSR.S SUB_16E8C ;16e62: 6128
+ BSR.W SUB_174C2 ;16e64: 6100065c
+ LEA LAB_16E84(PC),A0 ;16e68: 41fa001a
+ BSR.W SUB_17402 ;16e6c: 61000594
+ BMI.S LAB_16E7C ;16e70: 6b0a
+ BEQ.S LAB_16E7E ;16e72: 670a
+ BSR.W SUB_17580 ;16e74: 6100070a
+ BRA.W LAB_17258 ;16e78: 600003de
+LAB_16E7C:
+ RTS ;16e7c: 4e75
+LAB_16E7E:
+ BSR.W SUB_17580 ;16e7e: 61000700
+ BRA.S LAB_16E2C ;16e82: 60a8
+LAB_16E84:
+ MOVE.W #$2867,-(A1) ;16e84: 333c2867
+ MOVE.L $67(A1,D2.L),D4 ;16e88: 28312867
+SUB_16E8C:
+ MOVE.L A0,-(A7) ;16e8c: 2f08
+ BSR.W SUB_14F72 ;16e8e: 6100e0e2
+ MOVEA.L (A7)+,A0 ;16e92: 205f
+ BSR.W SUB_17530 ;16e94: 6100069a
+ LEA strSAVE__(PC),A0 ;16e98: 41faece2
+ TST.W $F3E(A6) ;16e9c: 4a6e0f3e
+ BEQ.S LAB_16EA6 ;16ea0: 6704
+ LEA strRestore(PC),A0 ;16ea2: 41faece5
+LAB_16EA6:
+ BRA.W SUB_14FAA ;16ea6: 6000e102
+LAB_16EAA:
+ LEA LAB_17524(PC),A0 ;16eaa: 41fa0678
+ BSR.S SUB_16E8C ;16eae: 61dc
+ BTST #0,$F38(A6) ;16eb0: 082e00000f38
+ BEQ.W LAB_1714A ;16eb6: 67000292
+ BSR.W SUB_170F0 ;16eba: 61000234
+ BRA.W LAB_1714A ;16ebe: 6000028a
+LAB_16EC2:
+ BSR.W SUB_171CE ;16ec2: 6100030a
+ BMI.S LAB_16EF6 ;16ec6: 6b2e
+LAB_16EC8:
+ CLR.W $F38(A6) ;16ec8: 426e0f38
+ LEA LAB_16EAA(PC),A0 ;16ecc: 41faffdc
+ MOVE.L A0,$F34(A6) ;16ed0: 2d480f34
+ JSR (A0) ;16ed4: 4e90
+ MOVEQ #0,D7 ;16ed6: 7e00
+ MOVE.W #$0008,$F40(A6) ;16ed8: 3d7c00080f40
+LAB_16EDE:
+ LEA LAB_1710C(PC),A0 ;16ede: 41fa022c
+ BSR.W SUB_17402 ;16ee2: 6100051e
+ BMI.S LAB_16EF6 ;16ee6: 6b0e
+ CMP.W #$0007,D3 ;16ee8: b67c0007
+ BLS.W LAB_17082 ;16eec: 63000194
+ CMP.W #$0008,D3 ;16ef0: b67c0008
+ BEQ.S LAB_16EF8 ;16ef4: 6702
+LAB_16EF6:
+ RTS ;16ef6: 4e75
+LAB_16EF8:
+ BSR.W SUB_17580 ;16ef8: 61000686
+ BSR.W SUB_16F0A ;16efc: 6100000c
+ TST.L $F90(A6) ;16f00: 4aae0f90
+ BMI.S LAB_16EC8 ;16f04: 6bc2
+ BRA.W LAB_16E2C ;16f06: 6000ff24
+SUB_16F0A:
+ LEA strSAVE_(PC),A0 ;16f0a: 41fa04cd
+ MOVE.L A6,-(A7) ;16f0e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;16f10: 2c780004
+ JSR $60(A6) ;16f14: 4eae0060
+ MOVEA.L (A7)+,A6 ;16f18: 2c5f
+ MOVE.L D0,$F90(A6) ;16f1a: 2d400f90
+ BMI.S LAB_16F66 ;16f1e: 6b46
+ MOVE.L A6,-(A7) ;16f20: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;16f22: 2c780004
+ JSR $38(A6) ;16f26: 4eae0038
+ MOVEA.L (A7)+,A6 ;16f2a: 2c5f
+ MOVE.L D0,$F90(A6) ;16f2c: 2d400f90
+ BMI.S LAB_16F66 ;16f30: 6b34
+ MOVE.W $F10(A6),D0 ;16f32: 302e0f10
+ MOVE.W $F10(A6),D1 ;16f36: 322e0f10
+ ADDI.W #$0031,D0 ;16f3a: 06400031
+ ADDI.W #$0041,D1 ;16f3e: 06410041
+ TST.W $F3E(A6) ;16f42: 4a6e0f3e
+ BNE.S LAB_16F5E ;16f46: 6616
+ MOVEQ #$11,D2 ;16f48: 7411
+ LEA $BC(A0),A0 ;16f4a: 41e800bc
+LAB_16F4E:
+ CMP.B (A0),D0 ;16f4e: b010
+ BEQ.S LAB_16F68 ;16f50: 6716
+ CMP.B (A0),D1 ;16f52: b210
+ BEQ.S LAB_16F68 ;16f54: 6712
+LAB_16F56:
+ LEA $18(A0),A0 ;16f56: 41e80018
+ DBF D2,LAB_16F4E ;16f5a: 51cafff2
+LAB_16F5E:
+ BRA.W LAB_16F8C ;16f5e: 6000002c
+LAB_16F62:
+ MOVEM.L (A7)+,D0-D2/A0 ;16f62: 4cdf0107
+LAB_16F66:
+ RTS ;16f66: 4e75
+LAB_16F68:
+ MOVEM.L D0-D2/A0,-(A7) ;16f68: 48e7e080
+ BSR.W SUB_17042 ;16f6c: 610000d4
+ LEA $E6E(A6),A0 ;16f70: 41ee0e6e
+ MOVE.L A6,-(A7) ;16f74: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;16f76: 2c780004
+ JSR $44(A6) ;16f7a: 4eae0044
+ MOVEA.L (A7)+,A6 ;16f7e: 2c5f
+ MOVE.L D0,$F90(A6) ;16f80: 2d400f90
+ BMI.S LAB_16F62 ;16f84: 6bdc
+ MOVEM.L (A7)+,D0-D2/A0 ;16f86: 4cdf0107
+ BRA.S LAB_16F56 ;16f8a: 60ca
+LAB_16F8C:
+ MOVE.W D0,$F12(A6) ;16f8c: 3d400f12
+ LEA $F22(A6),A0 ;16f90: 41ee0f22
+ MOVE.L #$004d4150,(A0) ;16f94: 20bc004d4150
+ MOVE.B D1,(A0) ;16f9a: 1081
+ MOVEA.L LAB_14A6C(PC),A1 ;16f9c: 227adace
+ MOVE.L LAB_14A70(PC),D1 ;16fa0: 223adace
+ BSR.S SUB_16FFA ;16fa4: 6154
+ BMI.S LAB_16FF8 ;16fa6: 6b50
+ LEA $F13(A6),A0 ;16fa8: 41ee0f13
+ MOVE.W $F32(A6),D2 ;16fac: 342e0f32
+ CLR.B 1(A0,D2.W) ;16fb0: 42302001
+ BSR.W SUB_1705A ;16fb4: 610000a4
+ MOVEA.L A6,A1 ;16fb8: 224e
+ MOVE.L #$00000aae,D1 ;16fba: 223c00000aae
+ BSR.S SUB_16FFA ;16fc0: 6138
+ BMI.S LAB_16FF4 ;16fc2: 6b30
+ TST.W $F3E(A6) ;16fc4: 4a6e0f3e
+ BEQ.S LAB_16FF4 ;16fc8: 672a
+ JSR SUB_21A8A ;16fca: 4eb900021a8a
+ JSR LAB_215F6 ;16fd0: 4eb9000215f6
+ JSR LAB_2091C ;16fd6: 4eb90002091c
+ JSR SUB_1CEE0 ;16fdc: 4eb90001cee0
+ ST $C1A(A6) ;16fe2: 50ee0c1a
+ ST $9E(A6) ;16fe6: 50ee009e
+ BSR.W LAB_19A56 ;16fea: 61002a6a
+ CLR.W $F3E(A6) ;16fee: 426e0f3e
+ MOVEA.L (A7)+,A0 ;16ff2: 205f
+LAB_16FF4:
+ BRA.W LAB_1706E ;16ff4: 60000078
+LAB_16FF8:
+ RTS ;16ff8: 4e75
+SUB_16FFA:
+ MOVE.L D0,-(A7) ;16ffa: 2f00
+ MOVE.L A1,-(A7) ;16ffc: 2f09
+ BSR.W SUB_17042 ;16ffe: 61000042
+ MOVEA.L (A7)+,A0 ;17002: 205f
+ LEA $E6E(A6),A1 ;17004: 43ee0e6e
+ MOVEQ #0,D0 ;17008: 7000
+ TST.W $F3E(A6) ;1700a: 4a6e0f3e
+ BEQ.S LAB_1701E ;1700e: 670e
+ MOVE.L A6,-(A7) ;17010: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17012: 2c780004
+ JSR $1C(A6) ;17016: 4eae001c
+ MOVEA.L (A7)+,A6 ;1701a: 2c5f
+ BRA.S LAB_1702A ;1701c: 600c
+LAB_1701E:
+ MOVE.L A6,-(A7) ;1701e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17020: 2c780004
+ JSR $18(A6) ;17024: 4eae0018
+ MOVEA.L (A7)+,A6 ;17028: 2c5f
+LAB_1702A:
+ MOVE.L D0,$F90(A6) ;1702a: 2d400f90
+ MOVE.L A6,-(A7) ;1702e: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17030: 2c780004
+ JSR $20(A6) ;17034: 4eae0020
+ MOVEA.L (A7)+,A6 ;17038: 2c5f
+ MOVE.L (A7)+,D0 ;1703a: 201f
+ TST.L $F90(A6) ;1703c: 4aae0f90
+ RTS ;17040: 4e75
+SUB_17042:
+ LEA $E6E(A6),A1 ;17042: 43ee0e6e
+ MOVE.L #$53415645,(A1)+ ;17046: 22fc53415645
+ MOVE.B #$3a,(A1)+ ;1704c: 12fc003a
+ MOVEQ #$C,D0 ;17050: 700c
+LAB_17052:
+ MOVE.B (A0)+,(A1)+ ;17052: 12d8
+ DBEQ D0,LAB_17052 ;17054: 57c8fffc
+ RTS ;17058: 4e75
+SUB_1705A:
+ TST.L $276(A6) ;1705a: 4aae0276
+ BEQ.S LAB_1706C ;1705e: 670c
+ MOVE.L D1,-(A7) ;17060: 2f01
+ MOVE.L $B6A(A6),D1 ;17062: 222e0b6a
+ SUB.L D1,$276(A6) ;17066: 93ae0276
+ MOVE.L (A7)+,D1 ;1706a: 221f
+LAB_1706C:
+ RTS ;1706c: 4e75
+LAB_1706E:
+ TST.L $276(A6) ;1706e: 4aae0276
+ BEQ.S LAB_17080 ;17072: 670c
+ MOVE.L D1,-(A7) ;17074: 2f01
+ MOVE.L $B6A(A6),D1 ;17076: 222e0b6a
+ ADD.L D1,$276(A6) ;1707a: d3ae0276
+ MOVE.L (A7)+,D1 ;1707e: 221f
+LAB_17080:
+ RTS ;17080: 4e75
+LAB_17082:
+ MOVE.W #$0009,$F40(A6) ;17082: 3d7c00090f40
+ MOVE.W D3,$F10(A6) ;17088: 3d430f10
+ ASL.W #2,D3 ;1708c: e543
+ LEA $F14(A6),A1 ;1708e: 43ee0f14
+ MOVE.L A1,$F2E(A6) ;17092: 2d490f2e
+ MOVE.W #$0026,$F2A(A6) ;17096: 3d7c00260f2a
+ MOVE.W #$0049,$F2C(A6) ;1709c: 3d7c00490f2c
+ MOVE.W #$000a,$F28(A6) ;170a2: 3d7c000a0f28
+ MOVE.W #$003c,$100E(A6) ;170a8: 3d7c003c100e
+ LEA $EEA(A6),A0 ;170ae: 41ee0eea
+ ADDA.W D3,A0 ;170b2: d0c3
+ MOVEQ #-1,D0 ;170b4: 70ff
+ TST.L (A0) ;170b6: 4a90
+ BEQ.S LAB_170BE ;170b8: 6704
+ MOVEA.L (A0),A0 ;170ba: 2050
+ ADDQ.W #1,A0 ;170bc: 5248
+LAB_170BE:
+ ADDQ.W #1,D0 ;170be: 5240
+ MOVE.B (A0)+,(A1)+ ;170c0: 12d8
+ BNE.S LAB_170BE ;170c2: 66fa
+ MOVE.W D0,$F32(A6) ;170c4: 3d400f32
+ BSR.W SUB_170F0 ;170c8: 61000026
+ BSET #0,$F38(A6) ;170cc: 08ee00000f38
+ TST.W $F3E(A6) ;170d2: 4a6e0f3e
+ BNE.W LAB_16EDE ;170d6: 6600fe06
+ BSET #1,$F38(A6) ;170da: 08ee00010f38
+ LEA LAB_17130(PC),A0 ;170e0: 41fa004e
+ MOVE.L A0,$F3A(A6) ;170e4: 2d480f3a
+ BSR.W SUB_1759A ;170e8: 610004b0
+ BRA.W LAB_16EDE ;170ec: 6000fdf0
+SUB_170F0:
+ LEA LAB_17520(PC),A0 ;170f0: 41fa042e
+ BSR.W SUB_14F8E ;170f4: 6100de98
+ LEA strOKSave(PC),A0 ;170f8: 41faea9f
+ TST.W $F3E(A6) ;170fc: 4a6e0f3e
+ BEQ.S LAB_17106 ;17100: 6704
+ LEA strOKLoad(PC),A0 ;17102: 41faeaa0
+LAB_17106:
+ MOVEQ #$59,D0 ;17106: 7059
+ BRA.W SUB_174EA ;17108: 600003e0
+LAB_1710C:
+ DC.L $0f150985,$161c0985,$1d230985,$242a0985 ;1710c
+ DC.L $2b310985,$32380985,$393f0985,$40460985 ;1711c
+ DC.L $57602867 ;1712c
+LAB_17130:
+ MOVE.L (A7)+,D0 ;17130: 201f
+ BSR.W SUB_1759A ;17132: 61000466
+ BRA.W LAB_16EDE ;17136: 6000fda6
+ MOVE.L A6,-(A7) ;1713a: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;1713c: 2c780004
+ JSR $20(A6) ;17140: 4eae0020
+ MOVEA.L (A7)+,A6 ;17144: 2c5f
+ BRA.W LAB_16E2C ;17146: 6000fce4
+LAB_1714A:
+ LEA strSAVE__(PC),A0 ;1714a: 41faea30
+ TST.W $F3E(A6) ;1714e: 4a6e0f3e
+ BEQ.S LAB_17158 ;17152: 6704
+ LEA strRestore(PC),A0 ;17154: 41faea33
+LAB_17158:
+ BSR.W SUB_14FAA ;17158: 6100de50
+ MOVE.W #$0154,D1 ;1715c: 323c0154
+ MOVEQ #-100,D6 ;17160: 7c9c
+ BSR.W LAB_17172 ;17162: 6100000e
+ MOVE.W #$0140,D1 ;17166: 323c0140
+ MOVEQ #-107,D6 ;1716a: 7c95
+ BSR.W LAB_17172 ;1716c: 61000004
+ RTS ;17170: 4e75
+LAB_17172:
+ LEA $EEA(A6),A1 ;17172: 43ee0eea
+ MOVEQ #0,D7 ;17176: 7e00
+LAB_17178:
+ MOVE.W D6,D2 ;17178: 3406
+ MOVEQ #$13,D0 ;1717a: 7013
+ LEA LAB_15B5E(PC),A0 ;1717c: 41fae9e0
+ MOVEM.L D1/D6-D7/A1,-(A7) ;17180: 48e74340
+ BSR.W SUB_19F44 ;17184: 61002dbe
+ MOVEM.L (A7),D1/D6-D7/A1 ;17188: 4cd702c2
+ MOVE.L #$31202d20,$F0A(A6) ;1718c: 2d7c31202d200f0a
+ ADD.B D7,$F0A(A6) ;17194: df2e0f0a
+ LEA $F0A(A6),A0 ;17198: 41ee0f0a
+ MOVE.W D6,D2 ;1719c: 3406
+ BSR.W SUB_19F44 ;1719e: 61002da4
+ MOVEQ #$3E,D0 ;171a2: 703e
+ MOVEM.L (A7),D1/D6-D7/A1 ;171a4: 4cd702c2
+ MOVEA.L (A1),A0 ;171a8: 2051
+ ADDQ.W #1,A0 ;171aa: 5248
+ TST.L (A1) ;171ac: 4a91
+ BNE.S LAB_171B4 ;171ae: 6604
+ LEA str_Noname(PC),A0 ;171b0: 41fae9a5
+LAB_171B4:
+ MOVE.W D6,D2 ;171b4: 3406
+ BSR.W SUB_19F44 ;171b6: 61002d8c
+ MOVEM.L (A7)+,D1/D6-D7/A1 ;171ba: 4cdf02c2
+ ADDQ.W #4,A1 ;171be: 5849
+ ADDI.W #$008c,D1 ;171c0: 0641008c
+ ADDQ.W #1,D7 ;171c4: 5247
+ CMP.W #$0008,D7 ;171c6: be7c0008
+ BLT.S LAB_17178 ;171ca: 6dac
+ RTS ;171cc: 4e75
+SUB_171CE:
+ LEA $EEA(A6),A0 ;171ce: 41ee0eea
+ MOVEQ #7,D1 ;171d2: 7207
+LAB_171D4:
+ CLR.L (A0)+ ;171d4: 4298
+ DBF D1,LAB_171D4 ;171d6: 51c9fffc
+ MOVE.L A6,-(A7) ;171da: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;171dc: 2c780004
+ JSR $38(A6) ;171e0: 4eae0038
+ MOVEA.L (A7)+,A6 ;171e4: 2c5f
+ MOVE.L D0,$F90(A6) ;171e6: 2d400f90
+ BMI.S LAB_17222 ;171ea: 6b36
+ LEA $BC(A0),A0 ;171ec: 41e800bc
+ LEA $EEA(A6),A1 ;171f0: 43ee0eea
+ MOVEQ #$F,D0 ;171f4: 700f
+LAB_171F6:
+ CLR.W D1 ;171f6: 4241
+ MOVE.B (A0),D1 ;171f8: 1210
+ BEQ.S LAB_1720C ;171fa: 6710
+ SUBI.W #$0031,D1 ;171fc: 04410031
+ CMP.B #$07,D1 ;17200: b23c0007
+ BHI.S LAB_1720C ;17204: 6206
+ ASL.W #2,D1 ;17206: e541
+ MOVE.L A0,0(A1,D1.W) ;17208: 23881000
+LAB_1720C:
+ LEA $18(A0),A0 ;1720c: 41e80018
+ DBF D0,LAB_171F6 ;17210: 51c8ffe4
+ MOVE.L A6,-(A7) ;17214: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17216: 2c780004
+ JSR $20(A6) ;1721a: 4eae0020
+ MOVEA.L (A7)+,A6 ;1721e: 2c5f
+ MOVEQ #0,D0 ;17220: 7000
+LAB_17222:
+ RTS ;17222: 4e75
+LAB_17224:
+ MOVEA.L LAB_17254(PC),A6 ;17224: 2c7a002e
+ LEA $E6E(A6),A0 ;17228: 41ee0e6e
+ MOVEQ #$4F,D0 ;1722c: 704f
+ LSR.W #1,D2 ;1722e: e24a
+ SUB.W D2,D0 ;17230: 9042
+ DIVU #$000a,D0 ;17232: 80fc000a
+ ADDI.L #$00300030,D0 ;17236: 068000300030
+ MOVE.B D0,(A0) ;1723c: 1080
+ SWAP D0 ;1723e: 4840
+ MOVE.B D0,1(A0) ;17240: 11400001
+ CLR.B 2(A0) ;17244: 42280002
+ MOVE.W #$2a80,D1 ;17248: 323c2a80
+ MOVEQ #$63,D0 ;1724c: 7063
+ MOVEQ #0,D2 ;1724e: 7400
+ BRA.W SUB_19F44 ;17250: 60002cf2
+LAB_17254:
+ DS.L 1 ;17254
+LAB_17258:
+ MOVE.L #$ffffffe7,$F90(A6) ;17258: 2d7cffffffe70f90
+ BSR.W SUB_17528 ;17260: 610002c6
+LAB_17264:
+ MOVEA.L ABSEXECBASE.W,A0 ;17264: 20780004
+ PEA LAB_17224(PC) ;17268: 487affba
+ MOVE.L (A7)+,-20(A0) ;1726c: 215fffec
+ LEA LAB_17254(PC),A0 ;17270: 41faffe2
+ MOVE.L A6,(A0) ;17274: 208e
+ CLR.W $F38(A6) ;17276: 426e0f38
+ LEA LAB_172A8(PC),A0 ;1727a: 41fa002c
+ MOVE.L A0,$F34(A6) ;1727e: 2d480f34
+ JSR (A0) ;17282: 4e90
+ MOVEQ #0,D7 ;17284: 7e00
+ MOVE.W #$0004,$F40(A6) ;17286: 3d7c00040f40
+LAB_1728C:
+ LEA LAB_172D2(PC),A0 ;1728c: 41fa0044
+ BSR.W SUB_17402 ;17290: 61000170
+ BMI.S LAB_172A6 ;17294: 6b10
+ CMP.W #$0003,D3 ;17296: b67c0003
+ BLS.W LAB_17314 ;1729a: 63000078
+ CMP.W #$0004,D3 ;1729e: b67c0004
+ BEQ.W LAB_17332 ;172a2: 6700008e
+LAB_172A6:
+ RTS ;172a6: 4e75
+LAB_172A8:
+ LEA LAB_17524(PC),A0 ;172a8: 41fa027a
+ BSR.S LAB_172BA ;172ac: 610c
+ BTST #0,$F38(A6) ;172ae: 082e00000f38
+ BNE.W SUB_17302 ;172b4: 6600004c
+ RTS ;172b8: 4e75
+LAB_172BA:
+ MOVE.L A0,-(A7) ;172ba: 2f08
+ BSR.W SUB_14F72 ;172bc: 6100dcb4
+ MOVEA.L (A7)+,A0 ;172c0: 205f
+ BSR.W SUB_17530 ;172c2: 6100026c
+ BSR.W LAB_172E6 ;172c6: 6100001e
+ LEA strFormatBlank(PC),A0 ;172ca: 41fae8e3
+ BRA.W SUB_14FAA ;172ce: 6000dcda
+LAB_172D2:
+ DC.L $1e270847,$29320847,$1e274887,$29324887 ;172d2
+ DC.L $57602867 ;172e2
+LAB_172E6:
+ LEA LAB_1750C(PC),A0 ;172e6: 41fa0224
+ BSR.W SUB_14F8E ;172ea: 6100dca2
+ LEA strDF0(PC),A0 ;172ee: 41fae8d6
+ MOVEQ #$20,D0 ;172f2: 7020
+ BSR.W SUB_174EA ;172f4: 610001f4
+ LEA strDF1(PC),A0 ;172f8: 41fae8dc
+ MOVEQ #$2B,D0 ;172fc: 702b
+ BRA.W SUB_174EA ;172fe: 600001ea
+SUB_17302:
+ LEA LAB_17520(PC),A0 ;17302: 41fa021c
+ BSR.W SUB_14F8E ;17306: 6100dc86
+ LEA strOKFormat(PC),A0 ;1730a: 41fae8da
+ MOVEQ #$59,D0 ;1730e: 7059
+ BRA.W SUB_174EA ;17310: 600001d8
+LAB_17314:
+ MOVE.W D3,$F10(A6) ;17314: 3d430f10
+ LEA LAB_172D2(PC),A0 ;17318: 41faffb8
+ BSET #0,$F38(A6) ;1731c: 08ee00000f38
+ MOVE.W #$0005,$F40(A6) ;17322: 3d7c00050f40
+ BSR.S SUB_17302 ;17328: 61d8
+ BSR.W SUB_17580 ;1732a: 61000254
+ BRA.W LAB_1728C ;1732e: 6000ff5c
+LAB_17332:
+ MOVE.L #$ffffffe9,$F90(A6) ;17332: 2d7cffffffe90f90
+ BSR.W SUB_17528 ;1733a: 610001ec
+ BSR.W SUB_17580 ;1733e: 61000240
+ MOVE.L A6,-(A7) ;17342: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17344: 2c780004
+ JSR $3C(A6) ;17348: 4eae003c
+ MOVEA.L (A7)+,A6 ;1734c: 2c5f
+ MOVEQ #0,D0 ;1734e: 7000
+ MOVE.W $F10(A6),D0 ;17350: 302e0f10
+ MOVE.L A6,-(A7) ;17354: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17356: 2c780004
+ JSR $38(A6) ;1735a: 4eae0038
+ MOVEA.L (A7)+,A6 ;1735e: 2c5f
+ TST.L D0 ;17360: 4a80
+ BMI.S LAB_1737E ;17362: 6b1a
+ MOVE.L 4(A0),D1 ;17364: 22280004
+ ANDI.L #$dfdfdfff,D1 ;17368: 0281dfdfdfff
+ CMP.L #$46454431,D1 ;1736e: b2bc46454431
+ BEQ.S LAB_1739E ;17374: 6728
+ CMP.L #$46454432,D1 ;17376: b2bc46454432
+ BEQ.S LAB_1739E ;1737c: 6720
+LAB_1737E:
+ MOVEQ #0,D0 ;1737e: 7000
+ MOVE.W $F10(A6),D0 ;17380: 302e0f10
+ LEA str_EEEEE(PC),A0 ;17384: 41fa003e
+ LEA strSAVE(PC),A1 ;17388: 43fa004a
+ MOVE.L A6,-(A7) ;1738c: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;1738e: 2c780004
+ JSR $4C(A6) ;17392: 4eae004c
+ MOVEA.L (A7)+,A6 ;17396: 2c5f
+ MOVE.L D0,$F90(A6) ;17398: 2d400f90
+ BRA.S LAB_173A0 ;1739c: 6002
+LAB_1739E:
+ MOVEQ #-20,D0 ;1739e: 70ec
+LAB_173A0:
+ MOVE.L D0,$F90(A6) ;173a0: 2d400f90
+ MOVE.L A6,-(A7) ;173a4: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;173a6: 2c780004
+ JSR $20(A6) ;173aa: 4eae0020
+ MOVEA.L (A7)+,A6 ;173ae: 2c5f
+ TST.L $F90(A6) ;173b0: 4aae0f90
+ BPL.W LAB_16E28 ;173b4: 6a00fa72
+ BRA.W LAB_17264 ;173b8: 6000feaa
+SUB_173BC:
+ ST $F3E(A6) ;173bc: 50ee0f3e
+ BRA.W LAB_16E2C ;173c0: 6000fa6a
+str_EEEEE:
+ ;173c4
+ ;DC.B $45,$22,$45,$22,$45,$22,$45,$22,$45,$22,$45,$22,$45,$22,$45,$22
+ DC.B "E""E""E""E""E""E""E""E"""
+strSAVE:
+ ;173d4
+ ;DC.B $53,$41,$56,$45,$00
+ DC.B "SAVE",0
+strSAVE_:
+ ;173d9
+ ;DC.B $53,$41,$56,$45,$3a,$00,$00
+ DC.B "SAVE:",0,0
+SUB_173E0:
+ MOVE.L A0,-(A7) ;173e0: 2f08
+ BSR.W SUB_183E6 ;173e2: 61001002
+ MOVEA.L (A7)+,A0 ;173e6: 205f
+ BSR.W SUB_14FAA ;173e8: 6100dbc0
+ LEA $A4(A6),A0 ;173ec: 41ee00a4
+ CLR.L (A0)+ ;173f0: 4298
+ CLR.L (A0)+ ;173f2: 4298
+ MOVE.W D0,$98(A6) ;173f4: 3d400098
+ ST $9C(A6) ;173f8: 50ee009c
+ MOVEQ #1,D2 ;173fc: 7401
+ BRA.W SUB_19CE4 ;173fe: 600028e4
+SUB_17402:
+ MOVE.L A0,-(A7) ;17402: 2f08
+ MOVEM.W D0-D1/D7,-(A7) ;17404: 48a7c100
+ BSR.W SUB_17580 ;17408: 61000176
+ MOVEM.W (A7)+,D0-D1/D7 ;1740c: 4c9f0083
+ CMP.W #$04d2,D7 ;17410: be7c04d2
+ BEQ.S LAB_1741C ;17414: 6706
+LAB_17416:
+ BSR.W SUB_19D22 ;17416: 6100290a
+ BEQ.S LAB_17416 ;1741a: 67fa
+LAB_1741C:
+ MOVEA.L (A7),A0 ;1741c: 2057
+ BTST #0,D2 ;1741e: 08020000
+ BEQ.W LAB_174BC ;17422: 67000098
+ SUBI.W #$0020,D0 ;17426: 04400020
+ SUBI.W #$0036,D1 ;1742a: 04410036
+ MOVE.W D0,$100A(A6) ;1742e: 3d40100a
+ CMP.W #$008f,D0 ;17432: b07c008f
+ BHI.S LAB_17416 ;17436: 62de
+ CMP.W #$006f,D1 ;17438: b27c006f
+ BHI.S LAB_17416 ;1743c: 62d8
+ CMP.W #$000c,D1 ;1743e: b27c000c
+ BHI.S LAB_1744A ;17442: 6206
+ CMP.W #$000b,D0 ;17444: b07c000b
+ BLS.S LAB_174BC ;17448: 6372
+LAB_1744A:
+ MOVE.W $F40(A6),D2 ;1744a: 342e0f40
+ MOVEQ #0,D3 ;1744e: 7600
+LAB_17450:
+ CMP.B (A0),D1 ;17450: b210
+ BCS.S LAB_174A2 ;17452: 654e
+ CMP.B 1(A0),D1 ;17454: b2280001
+ BHI.S LAB_174A2 ;17458: 6248
+ CMP.B 2(A0),D0 ;1745a: b0280002
+ BCS.S LAB_174A2 ;1745e: 6542
+ CMP.B 3(A0),D0 ;17460: b0280003
+ BHI.S LAB_174A2 ;17464: 623c
+ MOVEM.L D0-D5,-(A7) ;17466: 48e7fc00
+ MOVE.L A0,-(A7) ;1746a: 2f08
+ MOVEA.L $F34(A6),A1 ;1746c: 226e0f34
+ JSR (A1) ;17470: 4e91
+ MOVEA.L (A7)+,A0 ;17472: 205f
+ CLR.W D1 ;17474: 4241
+ CLR.W D2 ;17476: 4242
+ CLR.W D3 ;17478: 4243
+ CLR.W D4 ;1747a: 4244
+ MOVE.B 2(A0),D1 ;1747c: 12280002
+ MOVE.B (A0),D2 ;17480: 1410
+ MOVE.B 3(A0),D3 ;17482: 16280003
+ MOVE.B 1(A0),D4 ;17486: 18280001
+ SUBQ.W #1,D3 ;1748a: 5343
+ SUBQ.W #1,D4 ;1748c: 5344
+ SUB.W D2,D4 ;1748e: 9842
+ SUB.W D1,D3 ;17490: 9641
+ MOVEQ #-102,D5 ;17492: 7a9a
+ BSR.W SUB_176B2 ;17494: 6100021c
+ MOVEM.L (A7)+,D0-D5 ;17498: 4cdf003f
+ MOVEA.L (A7)+,A0 ;1749c: 205f
+ TST.W D3 ;1749e: 4a43
+ RTS ;174a0: 4e75
+LAB_174A2:
+ ADDQ.W #4,A0 ;174a2: 5848
+ ADDQ.W #1,D3 ;174a4: 5243
+ SUBQ.W #1,D2 ;174a6: 5342
+ BNE.S LAB_17450 ;174a8: 66a6
+ BTST #1,$F38(A6) ;174aa: 082e00010f38
+ BEQ.W LAB_17416 ;174b0: 6700ff64
+ MOVEA.L (A7)+,A0 ;174b4: 205f
+ MOVEA.L $F3A(A6),A0 ;174b6: 206e0f3a
+ JMP (A0) ;174ba: 4ed0
+LAB_174BC:
+ MOVEA.L (A7)+,A0 ;174bc: 205f
+ MOVEQ #-1,D3 ;174be: 76ff
+ RTS ;174c0: 4e75
+SUB_174C2:
+ LEA LAB_17516(PC),A0 ;174c2: 41fa0052
+ TST.W $F3E(A6) ;174c6: 4a6e0f3e
+ BEQ.S LAB_174D0 ;174ca: 6704
+ LEA LAB_17518(PC),A0 ;174cc: 41fa004a
+LAB_174D0:
+ BSR.W SUB_14F8E ;174d0: 6100dabc
+ TST.W $F3E(A6) ;174d4: 4a6e0f3e
+ BNE.S LAB_174E4 ;174d8: 660a
+ LEA str_Format(PC),A0 ;174da: 41fae685
+ MOVEQ #$2A,D0 ;174de: 702a
+ BSR.W SUB_174EA ;174e0: 61000008
+LAB_174E4:
+ LEA get_directory(PC),A0 ;174e4: 41fae685
+ MOVEQ #$35,D0 ;174e8: 7035
+SUB_174EA:
+ MOVEM.L D0/A0,-(A7) ;174ea: 48e78080
+ ADDQ.W #1,D0 ;174ee: 5240
+ MOVE.B #$84,(A0) ;174f0: 10bc0084
+ MOVE.B D0,2(A0) ;174f4: 11400002
+ BSR.W SUB_14FAA ;174f8: 6100dab0
+ MOVEM.L (A7)+,D0/A0 ;174fc: 4cdf0101
+ MOVE.B #$81,(A0) ;17500: 10bc0081
+ MOVE.B D0,2(A0) ;17504: 11400002
+ BRA.W SUB_14FAA ;17508: 6000daa0
+LAB_1750C:
+ DC.L $05440547,$054a054d ;1750c
+ DC.W $ffff ;17514
+LAB_17516:
+ DC.W $053e ;17516
+LAB_17518:
+ DC.L $0541ffff ;17518
+LAB_1751C:
+ DC.L $0535ffff ;1751c
+LAB_17520:
+ DC.L $0538ffff ;17520
+LAB_17524:
+ DC.L $053bffff ;17524
+SUB_17528:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;17528: 48e7fffe
+ BRA.W LAB_17538 ;1752c: 6000000a
+SUB_17530:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;17530: 48e7fffe
+ BSR.W SUB_14F8E ;17534: 6100da58
+LAB_17538:
+ LEA LAB_1751C(PC),A0 ;17538: 41faffe2
+ BSR.W SUB_14F8E ;1753c: 6100da50
+ MOVE.L $F90(A6),D0 ;17540: 202e0f90
+ BMI.S LAB_17548 ;17544: 6b02
+ MOVEQ #0,D0 ;17546: 7000
+LAB_17548:
+ NOT.L D0 ;17548: 4680
+ ADDQ.W #1,D0 ;1754a: 5240
+ LEA LAB_176B8(PC),A0 ;1754c: 41fa016a
+ MOVE.B 0(A0,D0.W),D0 ;17550: 10300000
+ LEA DiskMsgs(PC),A0 ;17554: 41fae77d
+ ADDA.W D0,A0 ;17558: d0c0
+ MOVE.B #$64,2(A0) ;1755a: 117c00640002
+ MOVE.B #$85,(A0) ;17560: 10bc0085
+ MOVE.L A0,-(A7) ;17564: 2f08
+ BSR.W SUB_14FAA ;17566: 6100da42
+ MOVEA.L (A7)+,A0 ;1756a: 205f
+ MOVE.B #$99,(A0) ;1756c: 10bc0099
+ MOVE.B #$65,2(A0) ;17570: 117c00650002
+ BSR.W SUB_14FAA ;17576: 6100da32
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1757a: 4cdf7fff
+ RTS ;1757e: 4e75
+SUB_17580:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;17580: 48e7fffe
+ MOVEQ #1,D2 ;17584: 7401
+ BSR.W SUB_19CE4 ;17586: 6100275c
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1758a: 4cdf7fff
+ RTS ;1758e: 4e75
+SUB_17590:
+ JSR SUB_21BD2 ;17590: 4eb900021bd2
+ BPL.S SUB_17590 ;17596: 6af8
+ RTS ;17598: 4e75
+SUB_1759A:
+ BSR.S SUB_17590 ;1759a: 61f4
+LAB_1759C:
+ BSR.W SUB_17620 ;1759c: 61000082
+ BSR.W SUB_1763A ;175a0: 61000098
+ BSR.S SUB_17580 ;175a4: 61da
+LAB_175A6:
+ BSR.W SUB_19D22 ;175a6: 6100277a
+ BNE.S LAB_17608 ;175aa: 665c
+ JSR SUB_21BD2 ;175ac: 4eb900021bd2
+ BMI.S LAB_175A6 ;175b2: 6bf2
+ CMP.B #$02,D0 ;175b4: b03c0002
+ BEQ.S LAB_175F0 ;175b8: 6736
+ CMP.B #$01,D0 ;175ba: b03c0001
+ BEQ.S LAB_1760E ;175be: 674e
+ MOVE.W $F28(A6),D1 ;175c0: 322e0f28
+ CMP.W $F32(A6),D1 ;175c4: b26e0f32
+ BEQ.S LAB_175A6 ;175c8: 67dc
+ MOVE.W $100E(A6),D1 ;175ca: 322e100e
+ ADDQ.W #1,D1 ;175ce: 5241
+ CMP.W $100C(A6),D1 ;175d0: b26e100c
+ BLT.S LAB_175A6 ;175d4: 6dd0
+ MOVEA.L $F2E(A6),A0 ;175d6: 206e0f2e
+ MOVE.W $F32(A6),D1 ;175da: 322e0f32
+ MOVE.B D0,0(A0,D1.W) ;175de: 11801000
+ CLR.B 1(A0,D1.W) ;175e2: 42301001
+ ADDQ.W #1,$F32(A6) ;175e6: 526e0f32
+ BSR.W SUB_17620 ;175ea: 61000034
+ BRA.S LAB_1759C ;175ee: 60ac
+LAB_175F0:
+ MOVEA.L $F2E(A6),A0 ;175f0: 206e0f2e
+ MOVE.W $F32(A6),D1 ;175f4: 322e0f32
+ CLR.B 0(A0,D1.W) ;175f8: 42301000
+ BSR.W SUB_1763A ;175fc: 6100003c
+ BSR.W SUB_17580 ;17600: 6100ff7e
+ MOVEQ #0,D7 ;17604: 7e00
+ RTS ;17606: 4e75
+LAB_17608:
+ MOVE.W #$04d2,D7 ;17608: 3e3c04d2
+ RTS ;1760c: 4e75
+LAB_1760E:
+ TST.W $F32(A6) ;1760e: 4a6e0f32
+ BEQ.S LAB_175A6 ;17612: 6792
+ SUBQ.W #1,$F32(A6) ;17614: 536e0f32
+ BSR.W SUB_17620 ;17618: 61000006
+ BRA.W LAB_1759C ;1761c: 6000ff7e
+SUB_17620:
+ MOVEA.L $F2E(A6),A0 ;17620: 206e0f2e
+ MOVE.W $F32(A6),D0 ;17624: 302e0f32
+ MOVE.B #$99,0(A0,D0.W) ;17628: 11bc00990000
+ MOVE.B #$0f,1(A0,D0.W) ;1762e: 11bc000f0001
+ CLR.B 2(A0,D0.W) ;17634: 42300002
+ RTS ;17638: 4e75
+SUB_1763A:
+ MOVE.W $100E(A6),D0 ;1763a: 302e100e
+ ADDQ.W #6,D0 ;1763e: 5c40
+ MOVE.W $F2A(A6),D1 ;17640: 322e0f2a
+ MOVE.W $F2C(A6),D2 ;17644: 342e0f2c
+ MOVE.W D0,D3 ;17648: 3600
+ MOVE.W #$0007,D4 ;1764a: 383c0007
+ MOVEM.W D1-D4,-(A7) ;1764e: 48a77800
+ ADDQ.W #1,D1 ;17652: 5241
+ ADDQ.W #1,D2 ;17654: 5242
+ MOVEQ #-109,D5 ;17656: 7a93
+ BSR.W SUB_176B2 ;17658: 61000058
+ MOVEM.W (A7),D1-D4 ;1765c: 4c97001e
+ ADDQ.W #1,D2 ;17660: 5242
+ MOVEM.W D1-D4,-(A7) ;17662: 48a77800
+ SUBQ.W #2,D4 ;17666: 5544
+ MOVEQ #-108,D5 ;17668: 7a94
+ BSR.S SUB_176B2 ;1766a: 6146
+ MOVEM.W (A7)+,D1-D4 ;1766c: 4c9f001e
+ SUBQ.W #5,D4 ;17670: 5b44
+ MOVEQ #2,D0 ;17672: 7002
+LAB_17674:
+ MOVEM.W D0-D4,-(A7) ;17674: 48a7f800
+ MOVEQ #-108,D5 ;17678: 7a94
+ BSR.S SUB_176B2 ;1767a: 6136
+ MOVEM.W (A7)+,D0-D4 ;1767c: 4c9f001f
+ ADDQ.W #1,D2 ;17680: 5242
+ DBF D0,LAB_17674 ;17682: 51c8fff0
+ MOVEM.W (A7)+,D1-D4 ;17686: 4c9f001e
+ MOVEQ #-102,D5 ;1768a: 7a9a
+ BSR.S SUB_176B2 ;1768c: 6124
+ MOVE.W $F2A(A6),D0 ;1768e: 302e0f2a
+ MOVE.W $F2C(A6),D1 ;17692: 322e0f2c
+ ADDQ.W #1,D0 ;17696: 5240
+ ADDQ.W #2,D1 ;17698: 5441
+ MULU #$0014,D1 ;1769a: c2fc0014
+ MOVE.W D0,-(A7) ;1769e: 3f00
+ MOVEQ #-101,D2 ;176a0: 749b
+ MOVEA.L $F2E(A6),A0 ;176a2: 206e0f2e
+ BSR.W SUB_19F44 ;176a6: 6100289c
+ SUB.W (A7)+,D0 ;176aa: 905f
+ MOVE.W D0,$100C(A6) ;176ac: 3d40100c
+ RTS ;176b0: 4e75
+SUB_176B2:
+ JMP SUB_20B08 ;176b2: 4ef900020b08
+LAB_176B8:
+ DC.L $00122012,$12121232,$1212123f,$54681212 ;176b8
+ DC.L $7a121212,$91afbac4 ;176c8
+ DC.W $d100 ;176d0
+LAB_176D2:
+ MOVEQ #2,D5 ;176d2: 7a02
+ BRA.W LAB_17896 ;176d4: 600001c0
+LAB_176D8:
+ MOVEQ #0,D5 ;176d8: 7a00
+ BRA.W LAB_17896 ;176da: 600001ba
+LAB_176DE:
+ MOVEQ #1,D5 ;176de: 7a01
+ BRA.W LAB_17850 ;176e0: 6000016e
+LAB_176E4:
+ MOVEQ #3,D5 ;176e4: 7a03
+ BRA.W LAB_17850 ;176e6: 60000168
+LAB_176EA:
+ ST $98(A6) ;176ea: 50ee0098
+ MOVE.B $E22(A6),D0 ;176ee: 102e0e22
+ ANDI.W #$007f,D0 ;176f2: 0240007f
+ CMP.B #$62,D0 ;176f6: b03c0062
+ BEQ.S LAB_17712 ;176fa: 6716
+ CMP.B #$32,D0 ;176fc: b03c0032
+ BEQ.S LAB_1770C ;17700: 670a
+ BCLR #0,D0 ;17702: 08800000
+ CMP.B #$34,D0 ;17706: b03c0034
+ BNE.S LAB_17712 ;1770a: 6606
+LAB_1770C:
+ BRA.W LAB_17798 ;1770c: 6000008a
+ RTS ;17710: 4e75
+LAB_17712:
+ RTS ;17712: 4e75
+LAB_17714:
+ ST $98(A6) ;17714: 50ee0098
+ MOVE.B $E22(A6),D0 ;17718: 102e0e22
+ ANDI.W #$007f,D0 ;1771c: 0240007f
+ CMP.B #$31,D0 ;17720: b03c0031
+ BEQ.S LAB_1772C ;17724: 6706
+ CMP.B #$32,D0 ;17726: b03c0032
+ BNE.S LAB_17712 ;1772a: 66e6
+LAB_1772C:
+ BRA.W SUB_1777A ;1772c: 6000004c
+LAB_177e0:
+ SUBQ.W #1,$22(A6) ;17730: 536e0022
+SUB_17734:
+ ANDI.W #$0003,$22(A6) ;17734: 026e00030022
+ ADDI.L #$00010001,$2E(A6) ;1773a: 06ae00010001002e
+ ST $98(A6) ;17742: 50ee0098
+ BSR.W SUB_1785A ;17746: 61000112
+ BRA.W LAB_1AD2C ;1774a: 600035e0
+LAB_1774E:
+ ADDQ.W #1,$22(A6) ;1774e: 526e0022
+ BRA.S SUB_17734 ;17752: 60e0
+ RTS ;17754: 4e75
+LAB_17756:
+ MOVE.L A6,-(A7) ;17756: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17758: 2c780004
+ JSR $3C(A6) ;1775c: 4eae003c
+ MOVEA.L (A7)+,A6 ;17760: 2c5f
+ BSR.W LAB_19B7E ;17762: 6100241a
+ MOVE.L A6,-(A7) ;17766: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;17768: 2c780004
+ JSR $20(A6) ;1776c: 4eae0020
+ MOVEA.L (A7)+,A6 ;17770: 2c5f
+ JMP SUB_1CEE0 ;17772: 4ef90001cee0
+ RTS ;17778: 4e75
+SUB_1777A:
+ MOVE.W $20(A6),D0 ;1777a: 302e0020
+ MOVEA.L $B56(A6),A1 ;1777e: 226e0b56
+LAB_17782:
+ TST.L (A1) ;17782: 4a91
+ BEQ.S LAB_17796 ;17784: 6710
+ CMP.W (A1)+,D0 ;17786: b059
+ BEQ.S LAB_1778E ;17788: 6704
+ ADDQ.W #4,A1 ;1778a: 5849
+ BRA.S LAB_17782 ;1778c: 60f4
+LAB_1778E:
+ MOVE.W (A1),D0 ;1778e: 3011
+ MOVE.B 3(A1),D1 ;17790: 12290003
+ BRA.S LAB_177B8 ;17794: 6022
+LAB_17796:
+ RTS ;17796: 4e75
+LAB_17798:
+ MOVE.W $20(A6),D0 ;17798: 302e0020
+ MOVEA.L $B56(A6),A1 ;1779c: 226e0b56
+LAB_177A0:
+ TST.L (A1) ;177a0: 4a91
+ BEQ.S LAB_177B6 ;177a2: 6712
+ CMP.W 2(A1),D0 ;177a4: b0690002
+ BEQ.S LAB_177AE ;177a8: 6704
+ ADDQ.W #6,A1 ;177aa: 5c49
+ BRA.S LAB_177A0 ;177ac: 60f2
+LAB_177AE:
+ MOVE.W (A1),D0 ;177ae: 3011
+ MOVE.B 4(A1),D1 ;177b0: 12290004
+ BRA.S LAB_177B8 ;177b4: 6002
+LAB_177B6:
+ RTS ;177b6: 4e75
+LAB_177B8:
+ ST $296(A6) ;177b8: 50ee0296
+ ST $F54(A6) ;177bc: 50ee0f54
+ MOVE.B D1,$F55(A6) ;177c0: 1d410f55
+ MOVE.B D1,$AAA(A6) ;177c4: 1d410aaa
+ JSR SUB_2048C ;177c8: 4eb90002048c
+ BSR.W SUB_179EE ;177ce: 6100021e
+ CLR.W $F54(A6) ;177d2: 426e0f54
+ CMPI.W #$0001,$F54(A6) ;177d6: 0c6e00010f54
+ RTS ;177dc: 4e75
+SUB_177DE:
+ MOVE.B $E1A(A6),D0 ;177de: 102e0e1a
+ ANDI.W #$007f,D0 ;177e2: 0240007f
+ CMP.B #$1a,D0 ;177e6: b03c001a
+ BNE.S LAB_1784C ;177ea: 6660
+ MOVE.B $E12(A6),D0 ;177ec: 102e0e12
+ CMP.B #$20,D0 ;177f0: b03c0020
+ BEQ.S LAB_17824 ;177f4: 672e
+ CMP.B #$60,D0 ;177f6: b03c0060
+ BEQ.S LAB_17824 ;177fa: 6728
+ CMP.B #$6c,D0 ;177fc: b03c006c
+ BEQ.S LAB_17824 ;17800: 6722
+ CMP.B #$1e,D0 ;17802: b03c001e
+ BEQ.S LAB_17824 ;17806: 671c
+ CMP.B #$26,D0 ;17808: b03c0026
+ BEQ.S LAB_17824 ;1780c: 6716
+ CMP.B #$30,D0 ;1780e: b03c0030
+ BNE.S LAB_1784C ;17812: 6638
+ MOVEQ #-2,D3 ;17814: 76fe
+ BSR.W SUB_1A81C ;17816: 61003004
+ ANDI.B #$80,(A1) ;1781a: 02110080
+ ORI.B #$20,(A1) ;1781e: 00110020
+ BRA.S LAB_17836 ;17822: 6012
+LAB_17824:
+ MOVEQ #-2,D3 ;17824: 76fe
+ BSR.W SUB_1A81C ;17826: 61002ff4
+ ANDI.B #$80,(A1) ;1782a: 02110080
+ ORI.B #$1a,(A1) ;1782e: 0011001a
+ NOT.W $6C(A6) ;17832: 466e006c
+LAB_17836:
+ BSR.W SUB_1A82C ;17836: 61002ff4
+ ANDI.B #$80,(A1) ;1783a: 02110080
+ ORI.B #$20,(A1) ;1783e: 00110020
+ MOVEQ #$C,D0 ;17842: 700c
+ BSR.W SUB_17A78 ;17844: 61000232
+ MOVEQ #1,D7 ;17848: 7e01
+ RTS ;1784a: 4e75
+LAB_1784C:
+ MOVEQ #0,D7 ;1784c: 7e00
+ RTS ;1784e: 4e75
+LAB_17850:
+ BSR.S LAB_17896 ;17850: 6144
+ BEQ.S LAB_17858 ;17852: 6704
+ ADDQ.W #1,$30(A6) ;17854: 526e0030
+LAB_17858:
+ RTS ;17858: 4e75
+SUB_1785A:
+ TST.L $B7C(A6) ;1785a: 4aae0b7c
+ BEQ.S LAB_17872 ;1785e: 6712
+ CLR.W $B78(A6) ;17860: 426e0b78
+ MOVE.W #$0003,$B7A(A6) ;17864: 3d7c00030b7a
+ ST $C1A(A6) ;1786a: 50ee0c1a
+ ST $9E(A6) ;1786e: 50ee009e
+LAB_17872:
+ RTS ;17872: 4e75
+LAB_17874:
+ MOVEQ #3,D0 ;17874: 7003
+ LEA $298(A6),A0 ;17876: 41ee0298
+LAB_1787A:
+ TST.W $18(A0) ;1787a: 4a680018
+ BEQ.S LAB_17888 ;1787e: 6708
+ CMPI.B #$12,$C3(A0) ;17880: 0c28001200c3
+ BNE.S LAB_17892 ;17886: 660a
+LAB_17888:
+ LEA $1D2(A0),A0 ;17888: 41e801d2
+ DBF D0,LAB_1787A ;1788c: 51c8ffec
+ BRA.S LAB_178A4 ;17890: 6012
+LAB_17892:
+ MOVEQ #0,D0 ;17892: 7000
+ RTS ;17894: 4e75
+LAB_17896:
+ BSR.S SUB_1785A ;17896: 61c2
+ ST $98(A6) ;17898: 50ee0098
+ CMPI.W #$0002,$260(A6) ;1789c: 0c6e00020260
+ BHI.S LAB_17874 ;178a2: 62d0
+LAB_178A4:
+ MOVE.W $22(A6),D6 ;178a4: 3c2e0022
+ MOVE.W D5,-(A7) ;178a8: 3f05
+ ADD.W D5,D6 ;178aa: dc45
+ MOVE.W $20(A6),D0 ;178ac: 302e0020
+ BSR.W SUB_17AEC ;178b0: 6100023a
+ MOVE.W (A7)+,D5 ;178b4: 3a1f
+ TST.W D2 ;178b6: 4a42
+ BMI.W LAB_17900 ;178b8: 6b000046
+LAB_178BC:
+ TST.B (A1) ;178bc: 4a11
+ BMI.W LAB_17942 ;178be: 6b000082
+ CMPI.B #$6f,(A1) ;178c2: 0c11006f
+ BEQ.S LAB_17926 ;178c6: 675e
+ CMP.W #$0002,D2 ;178c8: b47c0002
+ BNE.S LAB_178D2 ;178cc: 6604
+ BSR.W LAB_179CC ;178ce: 610000fc
+LAB_178D2:
+ CMP.W #$fffa,D2 ;178d2: b47cfffa
+ BEQ.S LAB_178E4 ;178d6: 670c
+LAB_178D8:
+ BSR.W SUB_179EE ;178d8: 61000114
+ BEQ.S LAB_178E2 ;178dc: 6704
+ CMP.W #$fb3b,D7 ;178de: be7cfb3b
+LAB_178E2:
+ RTS ;178e2: 4e75
+LAB_178E4:
+ MOVE.B (A1),D2 ;178e4: 1411
+ ANDI.W #$0001,D2 ;178e6: 02420001
+ ADD.W D2,D2 ;178ea: d442
+ SUBQ.W #1,D2 ;178ec: 5342
+ ADD.W D2,$22(A6) ;178ee: d56e0022
+ MOVEM.L D0-D7/A0-A5,-(A7) ;178f2: 48e7fffc
+ BSR.W SUB_17734 ;178f6: 6100fe3c
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;178fa: 4cdf3fff
+ BRA.S LAB_178D8 ;178fe: 60d8
+LAB_17900:
+ CMP.W #$fffb,D2 ;17900: b47cfffb
+ BEQ.S LAB_178BC ;17904: 67b6
+ CMP.W #$fffc,D2 ;17906: b47cfffc
+ BEQ.S LAB_17926 ;1790a: 671a
+ CMP.W #$fff8,D2 ;1790c: b47cfff8
+ BEQ.S LAB_17926 ;17910: 6714
+ CMP.W #$fff7,D2 ;17912: b47cfff7
+ BEQ.S LAB_17920 ;17916: 6708
+ CMP.W #$ffff,D2 ;17918: b47cffff
+ BNE.S LAB_17942 ;1791c: 6624
+ BRA.S LAB_17926 ;1791e: 6006
+LAB_17920:
+ ADDI.W #$0014,$252(A6) ;17920: 066e00140252
+LAB_17926:
+ BSR.S LAB_17980 ;17926: 6158
+ MOVE.W D1,-(A7) ;17928: 3f01
+ BSR.S LAB_1792E ;1792a: 6102
+ MOVE.W (A7)+,D0 ;1792c: 301f
+LAB_1792E:
+ MOVE.L #$000000a0,D1 ;1792e: 223c000000a0
+ MOVEQ #2,D2 ;17934: 7402
+ BSR.W SUB_18188 ;17936: 61000850
+ MOVEQ #$14,D0 ;1793a: 7014
+ BSR.W SUB_17A78 ;1793c: 6100013a
+ BRA.S LAB_1795E ;17940: 601c
+LAB_17942:
+ TST.B (A1) ;17942: 4a11
+ BMI.S LAB_1795E ;17944: 6b18
+ CMP.W #$fffe,D2 ;17946: b47cfffe
+ BEQ.S LAB_17962 ;1794a: 6716
+ CMP.W #$fffd,D2 ;1794c: b47cfffd
+ BEQ.S LAB_178D8 ;17950: 6786
+ CMP.W #$fff9,D2 ;17952: b47cfff9
+ BEQ.S LAB_178D8 ;17956: 6780
+ CMP.W #$fffa,D2 ;17958: b47cfffa
+ BEQ.S LAB_178E4 ;1795c: 6786
+LAB_1795E:
+ CLR.W D0 ;1795e: 4240
+ RTS ;17960: 4e75
+LAB_17962:
+ BSR.S LAB_17980 ;17962: 611c
+ MOVE.W D1,-(A7) ;17964: 3f01
+ BSR.S LAB_1796A ;17966: 6102
+ MOVE.W (A7)+,D0 ;17968: 301f
+LAB_1796A:
+ MOVEQ #$64,D1 ;1796a: 7264
+ MOVEQ #5,D2 ;1796c: 7405
+ BSR.W SUB_18188 ;1796e: 61000818
+ MOVEQ #$10,D0 ;17972: 7010
+ BSR.W SUB_17A78 ;17974: 61000102
+ BRA.S LAB_1795E ;17978: 60e4
+LAB_1797A:
+ DC.B $01 ;1797a
+LAB_1797B:
+ DS.B 1 ;1797b
+ DC.L $02030100 ;1797c
+LAB_17980:
+ BSR.S LAB_179AE ;17980: 612c
+ MOVEM.L D0-D1/A0,-(A7) ;17982: 48e7c080
+ LEA $E3C(A6),A0 ;17986: 41ee0e3c
+ ADD.W D0,D0 ;1798a: d040
+ TST.W 0(A0,D0.W) ;1798c: 4a700000
+ BEQ.S LAB_179A8 ;17990: 6716
+ ADD.W D1,D1 ;17992: d241
+ TST.W 0(A0,D1.W) ;17994: 4a701000
+ BEQ.S LAB_179A8 ;17998: 670e
+ MOVEM.L (A7)+,D0-D1/A0 ;1799a: 4cdf0103
+ MOVE.W D5,-(A7) ;1799e: 3f05
+ ADDQ.W #2,D5 ;179a0: 5445
+ BSR.S LAB_179AE ;179a2: 610a
+ MOVE.W (A7)+,D5 ;179a4: 3a1f
+ RTS ;179a6: 4e75
+LAB_179A8:
+ MOVEM.L (A7)+,D0-D1/A0 ;179a8: 4cdf0103
+ RTS ;179ac: 4e75
+LAB_179AE:
+ CLR.W D0 ;179ae: 4240
+ CLR.W D1 ;179b0: 4241
+ ANDI.W #$0003,D5 ;179b2: 02450003
+ MOVE.B LAB_1797A(PC,D5.W),D0 ;179b6: 103b50c2
+ LEA $112(A6),A0 ;179ba: 41ee0112
+ MOVE.B 0(A0,D0.W),D0 ;179be: 10300000
+ MOVE.B LAB_1797B(PC,D5.W),D1 ;179c2: 123b50b7
+ MOVE.B 0(A0,D1.W),D1 ;179c6: 12301000
+ RTS ;179ca: 4e75
+LAB_179CC:
+ CMPI.B #$71,1(A1) ;179cc: 0c2900710001
+ BEQ.S LAB_179DE ;179d2: 670a
+ CMPI.B #$71,-1(A1) ;179d4: 0c290071ffff
+ BEQ.S LAB_179E6 ;179da: 670a
+ RTS ;179dc: 4e75
+LAB_179DE:
+ MOVE.W #$0002,$294(A6) ;179de: 3d7c00020294
+ RTS ;179e4: 4e75
+LAB_179E6:
+ MOVE.W #$0001,$294(A6) ;179e6: 3d7c00010294
+ RTS ;179ec: 4e75
+SUB_179EE:
+ MOVE.W D0,-(A7) ;179ee: 3f00
+ BSR.W SUB_17CD6 ;179f0: 610002e4
+ MOVE.W (A7)+,D0 ;179f4: 301f
+ TST.W D7 ;179f6: 4a47
+ BMI.W LAB_17A1C ;179f8: 6b000022
+ MOVE.W $20(A6),$24(A6) ;179fc: 3d6e00200024
+ MOVE.W D0,$20(A6) ;17a02: 3d400020
+ BSR.S LAB_17A20 ;17a06: 6118
+ ADDQ.W #1,$2E(A6) ;17a08: 526e002e
+ MOVE.W D7,-(A7) ;17a0c: 3f07
+ BSR.W SUB_180B6 ;17a0e: 610006a6
+ MOVE.W (A7)+,D7 ;17a12: 3e1f
+ MOVE.W D7,$A2(A6) ;17a14: 3d4700a2
+ MOVEQ #-1,D7 ;17a18: 7eff
+ RTS ;17a1a: 4e75
+LAB_17A1C:
+ MOVEQ #0,D7 ;17a1c: 7e00
+ RTS ;17a1e: 4e75
+LAB_17A20:
+ MOVE.W $20(A6),D0 ;17a20: 302e0020
+ MOVE.W D0,D1 ;17a24: 3200
+ ANDI.W #$001f,D1 ;17a26: 0241001f
+ MOVE.W D1,$1A(A6) ;17a2a: 3d41001a
+ LSR.W #5,D0 ;17a2e: ea48
+ MOVE.W D0,D1 ;17a30: 3200
+ ANDI.W #$001f,D1 ;17a32: 0241001f
+ MOVE.W D1,$1C(A6) ;17a36: 3d41001c
+ LSR.W #5,D0 ;17a3a: ea48
+ ANDI.W #$0007,D0 ;17a3c: 02400007
+ CMP.W $1E(A6),D0 ;17a40: b06e001e
+ BEQ.S LAB_17A4C ;17a44: 6706
+ MOVE.W D0,$1E(A6) ;17a46: 3d40001e
+ BRA.S LAB_17A58 ;17a4a: 600c
+LAB_17A4C:
+ MOVE.W D0,$1E(A6) ;17a4c: 3d40001e
+ TST.W $F54(A6) ;17a50: 4a6e0f54
+ BNE.S LAB_17A58 ;17a54: 6602
+ RTS ;17a56: 4e75
+LAB_17A58:
+ TST.W $F54(A6) ;17a58: 4a6e0f54
+ BNE.S LAB_17A68 ;17a5c: 660a
+ MOVEA.L $B20(A6),A1 ;17a5e: 226e0b20
+ MOVE.B 0(A1,D0.W),$AAA(A6) ;17a62: 1d7100000aaa
+LAB_17A68:
+ BRA.W LAB_19A56 ;17a68: 60001fec
+SUB_17A6C:
+ MOVEA.L $B20(A6),A1 ;17a6c: 226e0b20
+ MOVE.B 0(A1,D0.W),$AAA(A6) ;17a70: 1d7100000aaa
+ RTS ;17a76: 4e75
+SUB_17A78:
+ MOVEM.L D1-D7/A0-A5,-(A7) ;17a78: 48e77ffc
+ MOVE.W $20(A6),D2 ;17a7c: 342e0020
+ CLR.W D1 ;17a80: 4241
+ JSR SUB_207AA ;17a82: 4eb9000207aa
+ MOVEM.L (A7)+,D1-D7/A0-A5 ;17a88: 4cdf3ffe
+ RTS ;17a8c: 4e75
+SUB_17A8E:
+ ANDI.W #$0003,D6 ;17a8e: 02460003
+ MOVEM.W D2/D6,-(A7) ;17a92: 48a72200
+ ADD.W D6,D6 ;17a96: dc46
+ MOVE.W D0,D2 ;17a98: 3400
+ MOVE.W D0,D1 ;17a9a: 3200
+ LSR.W #5,D1 ;17a9c: ea49
+ ANDI.W #$001f,D1 ;17a9e: 0241001f
+ ANDI.W #$001f,D2 ;17aa2: 0242001f
+ ADD.B LAB_17AD0(PC,D6.W),D2 ;17aa6: d43b6028
+ CMP.W #$001f,D2 ;17aaa: b47c001f
+ BHI.S LAB_17AE0 ;17aae: 6230
+ ADD.B LAB_17AD1(PC,D6.W),D1 ;17ab0: d23b601f
+ CMP.W #$001f,D1 ;17ab4: b27c001f
+ BHI.S LAB_17AE0 ;17ab8: 6226
+ ADD.W LAB_17AD8(PC,D6.W),D0 ;17aba: d07b601c
+ MOVEM.W (A7)+,D2/D6 ;17abe: 4c9f0044
+ MOVEA.L $B3A(A6),A1 ;17ac2: 226e0b3a
+ ADDA.W D0,A1 ;17ac6: d2c0
+ MOVE.W D0,$44(A6) ;17ac8: 3d400044
+ MOVE.B (A1),D2 ;17acc: 1411
+ RTS ;17ace: 4e75
+LAB_17AD0:
+ DS.B 1 ;17ad0
+LAB_17AD1:
+ DC.B $ff ;17ad1
+ DC.L $ff000001 ;17ad2
+ DC.W $0100 ;17ad6
+LAB_17AD8:
+ DC.L $ffe0ffff,$00200001 ;17ad8
+LAB_17AE0:
+ MOVEM.W (A7)+,D2/D6 ;17ae0: 4c9f0044
+ LEA LAB_16C0E(PC),A1 ;17ae4: 43faf128
+ CLR.W D2 ;17ae8: 4242
+ RTS ;17aea: 4e75
+SUB_17AEC:
+ MOVE.W D0,$44(A6) ;17aec: 3d400044
+ MOVEA.L $B3A(A6),A1 ;17af0: 226e0b3a
+ ADDA.W D0,A1 ;17af4: d2c0
+ MOVE.L A1,$C26(A6) ;17af6: 2d490c26
+ BSR.S SUB_17A8E ;17afa: 6192
+ MOVE.W D0,-(A7) ;17afc: 3f00
+ MOVE.L A1,$C2A(A6) ;17afe: 2d490c2a
+ MOVEA.L A1,A2 ;17b02: 2449
+ CMP.W #$0001,D6 ;17b04: bc7c0001
+ BEQ.S LAB_17B14 ;17b08: 670a
+ CMP.W #$0002,D6 ;17b0a: bc7c0002
+ BEQ.S LAB_17B14 ;17b0e: 6704
+ MOVEA.L $C26(A6),A2 ;17b10: 246e0c26
+LAB_17B14:
+ MOVE.B (A2),D4 ;17b14: 1812
+ ANDI.W #$007f,D4 ;17b16: 0244007f
+ MOVEQ #$38,D3 ;17b1a: 7638
+ BTST #0,D6 ;17b1c: 08060000
+ BEQ.S LAB_17B24 ;17b20: 6702
+ ADDQ.W #1,D3 ;17b22: 5243
+LAB_17B24:
+ CMP.B D4,D3 ;17b24: b604
+ BEQ.W LAB_17BDE ;17b26: 670000b6
+ CMP.B #$3a,D4 ;17b2a: b83c003a
+ BEQ.W LAB_17BDE ;17b2e: 670000ae
+ MOVE.B D2,D3 ;17b32: 1602
+ MOVE.B D3,D5 ;17b34: 1a03
+ ANDI.W #$007f,D5 ;17b36: 0245007f
+ ANDI.W #$007e,D3 ;17b3a: 0243007e
+ CMP.W #$0020,D3 ;17b3e: b67c0020
+ BEQ.W LAB_17C7C ;17b42: 67000138
+ CMP.W #$0060,D3 ;17b46: b67c0060
+ BEQ.W LAB_17C7C ;17b4a: 67000130
+ CMP.W #$0063,D5 ;17b4e: ba7c0063
+ BEQ.W LAB_17C7C ;17b52: 67000128
+ CMP.W #$002c,D3 ;17b56: b67c002c
+ BEQ.W LAB_17C7C ;17b5a: 67000120
+ CMP.W #$003f,D5 ;17b5e: ba7c003f
+ BLS.S LAB_17B74 ;17b62: 6310
+ CMP.W #$004f,D5 ;17b64: ba7c004f
+ BLS.W LAB_17C9A ;17b68: 63000130
+ CMP.W #$005f,D5 ;17b6c: ba7c005f
+ BLS.W LAB_17C88 ;17b70: 63000116
+LAB_17B74:
+ CMP.W #$0062,D3 ;17b74: b67c0062
+ BEQ.S LAB_17BDE ;17b78: 6764
+ CMP.W #$006c,D3 ;17b7a: b67c006c
+ BEQ.S LAB_17BDE ;17b7e: 675e
+ CMP.W #$00ff,D3 ;17b80: b67c00ff
+ BEQ.S LAB_17BDE ;17b84: 6758
+ CMP.W #$001e,D3 ;17b86: b67c001e
+ BEQ.W LAB_17C82 ;17b8a: 670000f6
+ CMP.W #$0022,D3 ;17b8e: b67c0022
+ BEQ.W LAB_17C82 ;17b92: 670000ee
+ CMP.W #$0030,D5 ;17b96: ba7c0030
+ BEQ.S LAB_17BF0 ;17b9a: 6754
+ CMP.W #$006f,D3 ;17b9c: b67c006f
+ BEQ.S LAB_17BF0 ;17ba0: 674e
+ CMP.W #$001c,D3 ;17ba2: b67c001c
+ BEQ.S LAB_17BEA ;17ba6: 6742
+ CMP.W #$003c,D3 ;17ba8: b67c003c
+ BEQ.S LAB_17BF6 ;17bac: 6748
+ CMP.W #$0064,D5 ;17bae: ba7c0064
+ BEQ.S LAB_17C24 ;17bb2: 6770
+ CMP.W #$0065,D5 ;17bb4: ba7c0065
+ BEQ.S LAB_17C02 ;17bb8: 6748
+ CMP.W #$006b,D5 ;17bba: ba7c006b
+ BEQ.S LAB_17BFC ;17bbe: 673c
+ CMP.W #$0072,D5 ;17bc0: ba7c0072
+ BEQ.S LAB_17C18 ;17bc4: 6752
+ CMP.W #$0071,D5 ;17bc6: ba7c0071
+ BEQ.S LAB_17C12 ;17bca: 6746
+ CMP.W #$0073,D5 ;17bcc: ba7c0073
+ BEQ.S LAB_17C1E ;17bd0: 674c
+ CMP.B #$1b,D5 ;17bd2: ba3c001b
+ BHI.W LAB_17C7C ;17bd6: 620000a4
+ BEQ.W LAB_17C66 ;17bda: 6700008a
+LAB_17BDE:
+ MOVE.W (A7)+,D0 ;17bde: 301f
+ MOVEQ #-1,D2 ;17be0: 74ff
+ RTS ;17be2: 4e75
+ MOVE.W (A7)+,D0 ;17be4: 301f
+ MOVEQ #-2,D2 ;17be6: 74fe
+ RTS ;17be8: 4e75
+LAB_17BEA:
+ MOVE.W (A7)+,D0 ;17bea: 301f
+ MOVEQ #-3,D2 ;17bec: 74fd
+ RTS ;17bee: 4e75
+LAB_17BF0:
+ MOVE.W (A7)+,D0 ;17bf0: 301f
+ MOVEQ #-5,D2 ;17bf2: 74fb
+ RTS ;17bf4: 4e75
+LAB_17BF6:
+ MOVE.W (A7)+,D0 ;17bf6: 301f
+ MOVEQ #-6,D2 ;17bf8: 74fa
+ RTS ;17bfa: 4e75
+LAB_17BFC:
+ MOVE.W (A7)+,D0 ;17bfc: 301f
+ MOVEQ #-8,D2 ;17bfe: 74f8
+LAB_17C00:
+ RTS ;17c00: 4e75
+LAB_17C02:
+ MOVE.W (A7)+,D0 ;17c02: 301f
+ BSR.W SUB_17C26 ;17c04: 61000020
+ CMP.W #$fff9,D2 ;17c08: b47cfff9
+ BNE.S LAB_17C00 ;17c0c: 66f2
+ MOVEQ #0,D2 ;17c0e: 7400
+ RTS ;17c10: 4e75
+LAB_17C12:
+ MOVE.W (A7)+,D0 ;17c12: 301f
+ MOVEQ #-9,D2 ;17c14: 74f7
+ RTS ;17c16: 4e75
+LAB_17C18:
+ MOVE.W (A7)+,D0 ;17c18: 301f
+ MOVEQ #2,D2 ;17c1a: 7402
+ RTS ;17c1c: 4e75
+LAB_17C1E:
+ MOVE.W (A7)+,D0 ;17c1e: 301f
+ MOVEQ #3,D2 ;17c20: 7403
+ RTS ;17c22: 4e75
+LAB_17C24:
+ MOVE.W (A7)+,D0 ;17c24: 301f
+SUB_17C26:
+ MOVE.L A0,-(A7) ;17c26: 2f08
+ MOVEA.L $B42(A6),A0 ;17c28: 206e0b42
+LAB_17C2C:
+ TST.L (A0) ;17c2c: 4a90
+ BEQ.S LAB_17C3E ;17c2e: 670e
+ CMP.W (A0),D0 ;17c30: b050
+ BEQ.S LAB_17C38 ;17c32: 6704
+ ADDQ.L #4,A0 ;17c34: 5888
+ BRA.S LAB_17C2C ;17c36: 60f4
+LAB_17C38:
+ CMP.W 2(A0),D0 ;17c38: b0680002
+ BNE.S LAB_17C44 ;17c3c: 6606
+LAB_17C3E:
+ MOVEA.L (A7)+,A0 ;17c3e: 205f
+ MOVEQ #-1,D2 ;17c40: 74ff
+ RTS ;17c42: 4e75
+LAB_17C44:
+ MOVE.W D0,$EE4(A6) ;17c44: 3d400ee4
+ MOVE.W 2(A0),D0 ;17c48: 30280002
+ MOVEA.L $B3A(A6),A1 ;17c4c: 226e0b3a
+ ADDA.W D0,A1 ;17c50: d2c0
+ MOVE.L A1,$C2A(A6) ;17c52: 2d490c2a
+ MOVEA.L (A7)+,A0 ;17c56: 205f
+ TST.W $EE6(A6) ;17c58: 4a6e0ee6
+ BNE.S LAB_17C62 ;17c5c: 6604
+ MOVE.W D0,$EE4(A6) ;17c5e: 3d400ee4
+LAB_17C62:
+ MOVEQ #-7,D2 ;17c62: 74f9
+ RTS ;17c64: 4e75
+LAB_17C66:
+ BSR.W SUB_1A7E2 ;17c66: 61002b7a
+ TST.W D5 ;17c6a: 4a45
+ BMI.W LAB_17BDE ;17c6c: 6b00ff70
+ MOVE.B 2(A2),D1 ;17c70: 122a0002
+ CMP.B #$01,D1 ;17c74: b23c0001
+ BLS.W LAB_17BDE ;17c78: 6300ff64
+LAB_17C7C:
+ MOVE.W (A7)+,D0 ;17c7c: 301f
+ CLR.W D2 ;17c7e: 4242
+ RTS ;17c80: 4e75
+LAB_17C82:
+ MOVE.W (A7)+,D0 ;17c82: 301f
+ MOVEQ #1,D2 ;17c84: 7401
+ RTS ;17c86: 4e75
+LAB_17C88:
+ BSR.W SUB_1A7DC ;17c88: 61002b52
+ TST.W D5 ;17c8c: 4a45
+ BMI.S LAB_17C7C ;17c8e: 6bec
+ MOVE.B 2(A2),D1 ;17c90: 122a0002
+ CMP.B #$01,D1 ;17c94: b23c0001
+ BHI.S LAB_17C7C ;17c98: 62e2
+LAB_17C9A:
+ MOVE.W (A7)+,D0 ;17c9a: 301f
+ MOVEQ #-4,D2 ;17c9c: 74fc
+ RTS ;17c9e: 4e75
+SUB_17CA0:
+ MOVEQ #4,D2 ;17ca0: 7404
+SUB_17CA2:
+ LEA LAB_13A9C(PC),A0 ;17ca2: 41fabdf8
+ TST.W $25E(A6) ;17ca6: 4a6e025e
+ BNE.S LAB_17CC4 ;17caa: 6618
+ MOVE.W 2(A0),D1 ;17cac: 32280002
+ ADDI.W #$0014,D1 ;17cb0: 06410014
+LAB_17CB4:
+ CMP.W 2(A0),D1 ;17cb4: b2680002
+ BEQ.S LAB_17CC4 ;17cb8: 670a
+ MOVE.W 4(A0),D0 ;17cba: 30280004
+ SUB.W 2(A0),D0 ;17cbe: 90680002
+ BPL.S LAB_17CB4 ;17cc2: 6af0
+LAB_17CC4:
+ CLR.W (A0) ;17cc4: 4250
+LAB_17CC6:
+ TST.W (A0) ;17cc6: 4a50
+ BEQ.S LAB_17CC6 ;17cc8: 67fc
+ MOVE.W 2(A0),D0 ;17cca: 30280002
+ ADD.W D2,D0 ;17cce: d042
+ MOVE.W D0,4(A0) ;17cd0: 31400004
+ RTS ;17cd4: 4e75
+SUB_17CD6:
+ LEA $298(A6),A0 ;17cd6: 41ee0298
+ MOVEQ #1,D7 ;17cda: 7e01
+ CLR.W D0 ;17cdc: 4240
+LAB_17CDE:
+ MOVEM.L D0/A0,-(A7) ;17cde: 48e78080
+ TST.W $18(A0) ;17ce2: 4a680018
+ BEQ.S LAB_17CF4 ;17ce6: 670c
+ BSR.S SUB_17D16 ;17ce8: 612c
+ CMP.W D7,D6 ;17cea: bc47
+ BLS.S LAB_17CF0 ;17cec: 6302
+ MOVE.W D6,D7 ;17cee: 3e06
+LAB_17CF0:
+ BSR.W LAB_17D40 ;17cf0: 6100004e
+LAB_17CF4:
+ MOVEM.L (A7)+,D0/A0 ;17cf4: 4cdf0101
+ LEA $1D2(A0),A0 ;17cf8: 41e801d2
+ ADDQ.W #1,D0 ;17cfc: 5240
+ CMP.W #$0004,D0 ;17cfe: b07c0004
+ BLT.S LAB_17CDE ;17d02: 6dda
+ TST.W $288(A6) ;17d04: 4a6e0288
+ BEQ.S LAB_17D14 ;17d08: 670a
+ TST.W D7 ;17d0a: 4a47
+ CMP.W #$0001,D7 ;17d0c: be7c0001
+ BLT.S LAB_17D14 ;17d10: 6d02
+ SUBQ.W #1,D7 ;17d12: 5347
+LAB_17D14:
+ RTS ;17d14: 4e75
+SUB_17D16:
+ CLR.W D6 ;17d16: 4246
+ MOVEQ #0,D1 ;17d18: 7200
+ MOVE.W $CE(A0),D1 ;17d1a: 322800ce
+ MOVE.W $D0(A0),D2 ;17d1e: 342800d0
+ CMP.W D2,D1 ;17d22: b242
+ BHI.S LAB_17D34 ;17d24: 620e
+ MULU #$000a,D2 ;17d26: c4fc000a
+ LSR.L #4,D2 ;17d2a: e88a
+ CMP.W D2,D1 ;17d2c: b242
+ BHI.S LAB_17D3A ;17d2e: 620a
+ MOVEQ #8,D1 ;17d30: 7208
+ RTS ;17d32: 4e75
+LAB_17D34:
+ MOVEQ #3,D6 ;17d34: 7c03
+ MOVEQ #$20,D1 ;17d36: 7220
+ RTS ;17d38: 4e75
+LAB_17D3A:
+ MOVEQ #2,D6 ;17d3a: 7c02
+ MOVEQ #$10,D1 ;17d3c: 7210
+ RTS ;17d3e: 4e75
+LAB_17D40:
+ MOVEQ #0,D2 ;17d40: 7400
+ MOVE.W $1C(A0),D2 ;17d42: 3428001c
+ SUB.W D1,D2 ;17d46: 9441
+ BCC.S LAB_17D5C ;17d48: 6412
+ ASL.L #2,D1 ;17d4a: e581
+ MOVEM.L D6-D7/A0,-(A7) ;17d4c: 48e70380
+ MOVEQ #3,D2 ;17d50: 7403
+ BSR.W SUB_18188 ;17d52: 61000434
+ MOVEM.L (A7)+,D6-D7/A0 ;17d56: 4cdf01c0
+ MOVEQ #0,D2 ;17d5a: 7400
+LAB_17D5C:
+ MOVE.W D2,$1C(A0) ;17d5c: 3142001c
+ RTS ;17d60: 4e75
+SUB_17D62:
+ MOVEM.L D0-D2/A0,-(A7) ;17d62: 48e7e080
+ MOVEA.L A3,A0 ;17d66: 204b
+ MOVE.B $38(A0),D0 ;17d68: 10280038
+ ANDI.W #$0007,D0 ;17d6c: 02400007
+ ADD.W D0,D0 ;17d70: d040
+ MOVE.W D0,D2 ;17d72: 3400
+ ADD.W D0,D0 ;17d74: d040
+ ADD.W D2,D0 ;17d76: d042
+ LEA 0(A0,D0.W),A0 ;17d78: 41f00000
+ LSR.W #8,D1 ;17d7c: e049
+ ADDQ.W #1,D1 ;17d7e: 5241
+ ADD.L D1,$48(A0) ;17d80: d3a80048
+ MOVEM.L (A7)+,D0-D2/A0 ;17d84: 4cdf0107
+ RTS ;17d88: 4e75
+LAB_17D8A:
+ TST.W $EE8(A6) ;17d8a: 4a6e0ee8
+ BEQ.S LAB_17D94 ;17d8e: 6704
+ SUBQ.W #1,$EE8(A6) ;17d90: 536e0ee8
+LAB_17D94:
+ TST.W $252(A6) ;17d94: 4a6e0252
+ BEQ.S LAB_17D9E ;17d98: 6704
+ SUBQ.W #1,$252(A6) ;17d9a: 536e0252
+LAB_17D9E:
+ TST.W $EE4(A6) ;17d9e: 4a6e0ee4
+ BEQ.S LAB_17DB6 ;17da2: 6712
+ MOVE.W $EE4(A6),D2 ;17da4: 342e0ee4
+ MOVEQ #$17,D0 ;17da8: 7017
+ MOVEQ #0,D1 ;17daa: 7200
+ JSR SUB_207AA ;17dac: 4eb9000207aa
+ CLR.W $EE4(A6) ;17db2: 426e0ee4
+LAB_17DB6:
+ TST.W $294(A6) ;17db6: 4a6e0294
+ BEQ.S LAB_17DC2 ;17dba: 6706
+ JSR SUB_21C0E ;17dbc: 4eb900021c0e
+LAB_17DC2:
+ MOVE.L $276(A6),D0 ;17dc2: 202e0276
+ BEQ.S LAB_17E3A ;17dc6: 6772
+ TST.W $28C(A6) ;17dc8: 4a6e028c
+ BEQ.S LAB_17DD2 ;17dcc: 6704
+ SUBQ.W #1,$28C(A6) ;17dce: 536e028c
+LAB_17DD2:
+ MOVE.W $28A(A6),D1 ;17dd2: 322e028a
+ BEQ.S LAB_17E18 ;17dd6: 6740
+ SUBQ.W #1,$28A(A6) ;17dd8: 536e028a
+ MOVEA.L D0,A3 ;17ddc: 2640
+ MOVE.W 2(A3),D2 ;17dde: 342b0002
+ LSR.W #2,D2 ;17de2: e44a
+ SUBQ.W #4,D2 ;17de4: 5942
+ MOVE.W (A3),$44(A6) ;17de6: 3d530044
+ LEA $C(A3),A3 ;17dea: 47eb000c
+ LEA $BB2(A6),A2 ;17dee: 45ee0bb2
+ MOVE.L A3,2(A2) ;17df2: 254b0002
+LAB_17DF6:
+ SUB.W D1,(A3) ;17df6: 9353
+ BCC.S LAB_17E12 ;17df8: 6418
+ MOVE.W #$0001,(A3) ;17dfa: 36bc0001
+ MOVE.B #$14,$F74(A6) ;17dfe: 1d7c00140f74
+ MOVE.B #$67,$E5A(A6) ;17e04: 1d7c00670e5a
+ JSR SUB_1E30E ;17e0a: 4eb90001e30e
+ BRA.S LAB_17E18 ;17e10: 6006
+LAB_17E12:
+ ADDQ.W #4,A3 ;17e12: 584b
+ DBF D2,LAB_17DF6 ;17e14: 51caffe0
+LAB_17E18:
+ TST.W $292(A6) ;17e18: 4a6e0292
+ BEQ.S LAB_17E3A ;17e1c: 671c
+ SUBQ.W #1,$292(A6) ;17e1e: 536e0292
+ BNE.S LAB_17E3A ;17e22: 6616
+ MOVEA.L $276(A6),A0 ;17e24: 206e0276
+ MOVE.W $290(A6),$A(A0) ;17e28: 316e0290000a
+ MOVE.B $28E(A6),7(A0) ;17e2e: 116e028e0007
+ MOVE.B $28F(A6),9(A0) ;17e34: 116e028f0009
+LAB_17E3A:
+ TST.W $288(A6) ;17e3a: 4a6e0288
+ BEQ.S LAB_17E46 ;17e3e: 6706
+ SUBQ.W #1,$288(A6) ;17e40: 536e0288
+ BEQ.S LAB_17E76 ;17e44: 6730
+LAB_17E46:
+ TST.W $280(A6) ;17e46: 4a6e0280
+ BEQ.S LAB_17E52 ;17e4a: 6706
+ SUBQ.W #1,$280(A6) ;17e4c: 536e0280
+ BEQ.S LAB_17E76 ;17e50: 6724
+LAB_17E52:
+ TST.W $286(A6) ;17e52: 4a6e0286
+ BEQ.S LAB_17E5E ;17e56: 6706
+ SUBQ.W #1,$286(A6) ;17e58: 536e0286
+ BEQ.S LAB_17E76 ;17e5c: 6718
+LAB_17E5E:
+ TST.W $282(A6) ;17e5e: 4a6e0282
+ BEQ.S LAB_17E6A ;17e62: 6706
+ SUBQ.W #1,$282(A6) ;17e64: 536e0282
+ BEQ.S LAB_17E76 ;17e68: 670c
+LAB_17E6A:
+ TST.W $284(A6) ;17e6a: 4a6e0284
+ BEQ.S LAB_17E7E ;17e6e: 670e
+ SUBQ.W #1,$284(A6) ;17e70: 536e0284
+ BNE.S LAB_17E7E ;17e74: 6608
+LAB_17E76:
+ ST $C1A(A6) ;17e76: 50ee0c1a
+ ST $9E(A6) ;17e7a: 50ee009e
+LAB_17E7E:
+ TST.L $F78(A6) ;17e7e: 4aae0f78
+ BEQ.S LAB_17E88 ;17e82: 6704
+ BSR.W SUB_1AC6E ;17e84: 61002de8
+LAB_17E88:
+ BSR.W SUB_18058 ;17e88: 610001ce
+ MOVEA.L $B3A(A6),A1 ;17e8c: 226e0b3a
+ ADDA.W $20(A6),A1 ;17e90: d2ee0020
+ CLR.W D0 ;17e94: 4240
+ MOVE.B (A1),D0 ;17e96: 1011
+ ANDI.W #$007f,D0 ;17e98: 0240007f
+ MOVE.W D0,D2 ;17e9c: 3400
+ ANDI.W #$007e,D2 ;17e9e: 0242007e
+ CMP.W #$001e,D2 ;17ea2: b47c001e
+ BEQ.W LAB_17F14 ;17ea6: 6700006c
+ CMP.W #$0022,D2 ;17eaa: b47c0022
+ BEQ.W LAB_17F0C ;17eae: 6700005c
+ CLR.W $260(A6) ;17eb2: 426e0260
+ CMP.W #$0030,D0 ;17eb6: b07c0030
+ BEQ.W LAB_17F98 ;17eba: 670000dc
+ CMP.W #$0062,D0 ;17ebe: b07c0062
+ BEQ.W LAB_17FF6 ;17ec2: 67000132
+ CMP.W #$002f,D0 ;17ec6: b07c002f
+ BLS.S LAB_17EE0 ;17eca: 6314
+ CMP.W #$0032,D0 ;17ecc: b07c0032
+ BEQ.W LAB_17FE4 ;17ed0: 67000112
+ BLS.W LAB_17FC2 ;17ed4: 630000ec
+ CMP.W #$0035,D0 ;17ed8: b07c0035
+ BLS.W LAB_17FF6 ;17edc: 63000118
+LAB_17EE0:
+ TST.W $108(A6) ;17ee0: 4a6e0108
+ BNE.S LAB_17EEE ;17ee4: 6608
+ BSR.W SUB_18018 ;17ee6: 61000130
+ BSR.W SUB_18038 ;17eea: 6100014c
+LAB_17EEE:
+ CMP.W #$0060,D2 ;17eee: b47c0060
+ BEQ.S LAB_17F06 ;17ef2: 6712
+ CMP.W #$0063,D0 ;17ef4: b07c0063
+ BEQ.W LAB_17F7C ;17ef8: 67000082
+ CMP.W #$006e,D2 ;17efc: b47c006e
+ BEQ.W LAB_17F98 ;17f00: 67000096
+ RTS ;17f04: 4e75
+LAB_17F06:
+ ST $25A(A6) ;17f06: 50ee025a
+ RTS ;17f0a: 4e75
+LAB_17F0C:
+ MOVE.W #$ff94,$262(A6) ;17f0c: 3d7cff940262
+ BRA.S LAB_17F1A ;17f12: 6006
+LAB_17F14:
+ MOVE.W #$ff97,$262(A6) ;17f14: 3d7cff970262
+LAB_17F1A:
+ ADDQ.W #1,$260(A6) ;17f1a: 526e0260
+ CMPI.W #$000e,$260(A6) ;17f1e: 0c6e000e0260
+ BLS.S LAB_17F7A ;17f24: 6354
+ MOVEQ #3,D3 ;17f26: 7603
+ LEA $298(A6),A0 ;17f28: 41ee0298
+ MOVEQ #0,D0 ;17f2c: 7000
+ MOVEQ #0,D2 ;17f2e: 7400
+LAB_17F30:
+ TST.W $18(A0) ;17f30: 4a680018
+ BEQ.S LAB_17F52 ;17f34: 671c
+ CMPI.B #$12,$C3(A0) ;17f36: 0c28001200c3
+ BEQ.S LAB_17F52 ;17f3c: 6714
+ MOVE.L #$00018000,D1 ;17f3e: 223c00018000
+ MOVEQ #2,D2 ;17f44: 7402
+ MOVEM.L D0/D3/A0,-(A7) ;17f46: 48e79080
+ BSR.W SUB_18188 ;17f4a: 6100023c
+ MOVEM.L (A7)+,D0/D3/A0 ;17f4e: 4cdf0109
+LAB_17F52:
+ ADDQ.W #1,D0 ;17f52: 5240
+ LEA $1D2(A0),A0 ;17f54: 41e801d2
+ DBF D3,LAB_17F30 ;17f58: 51cbffd6
+ TST.W D2 ;17f5c: 4a42
+ BNE.S LAB_17F7A ;17f5e: 661a
+ TST.W $EE8(A6) ;17f60: 4a6e0ee8
+ BNE.S LAB_17F7A ;17f64: 6614
+ MOVE.W #$000d,$EE8(A6) ;17f66: 3d7c000d0ee8
+ MOVE.W $20(A6),D2 ;17f6c: 342e0020
+ MOVEQ #$32,D0 ;17f70: 7032
+ MOVEQ #0,D1 ;17f72: 7200
+ JMP SUB_207AA ;17f74: 4ef9000207aa
+LAB_17F7A:
+ RTS ;17f7a: 4e75
+LAB_17F7C:
+ MOVEQ #3,D3 ;17f7c: 7603
+ MOVEQ #0,D0 ;17f7e: 7000
+LAB_17F80:
+ MOVEQ #$40,D1 ;17f80: 7240
+ MOVEQ #2,D2 ;17f82: 7402
+ MOVEM.L D0/D3,-(A7) ;17f84: 48e79000
+ BSR.W SUB_18188 ;17f88: 610001fe
+ MOVEM.L (A7)+,D0/D3 ;17f8c: 4cdf0009
+ ADDQ.W #1,D0 ;17f90: 5240
+ DBF D3,LAB_17F80 ;17f92: 51cbffec
+ RTS ;17f96: 4e75
+LAB_17F98:
+ BSR.W SUB_16BF2 ;17f98: 6100ec58
+ BSR.W SUB_1777A ;17f9c: 6100f7dc
+ BEQ.W SUB_16BFA ;17fa0: 6700ec58
+ BSR.W SUB_16BFA ;17fa4: 6100ec54
+ MOVE.B #$02,$100(A6) ;17fa8: 1d7c00020100
+ LEA LAB_17FBA(PC),A0 ;17fae: 41fa000a
+ MOVE.W $20(A6),(A0) ;17fb2: 30ae0020
+ BRA.W SUB_1DF4E ;17fb6: 60005f96
+LAB_17FBA:
+ DC.L $00000004,$00040418 ;17fba
+LAB_17FC2:
+ TST.W $10C(A6) ;17fc2: 4a6e010c
+ BNE.S LAB_17FF4 ;17fc6: 662c
+ TST.W $108(A6) ;17fc8: 4a6e0108
+ BNE.S LAB_17FF4 ;17fcc: 6626
+ BSR.S SUB_18018 ;17fce: 6148
+SUB_17FD0:
+ BTST #0,$AB(A6) ;17fd0: 082e000000ab
+ BNE.S LAB_17FF4 ;17fd6: 661c
+ BSET #0,$AB(A6) ;17fd8: 08ee000000ab
+ ST $98(A6) ;17fde: 50ee0098
+ RTS ;17fe2: 4e75
+LAB_17FE4:
+ TST.W $10C(A6) ;17fe4: 4a6e010c
+ BNE.S LAB_17FF4 ;17fe8: 660a
+ TST.W $108(A6) ;17fea: 4a6e0108
+ BNE.S LAB_17FF4 ;17fee: 6604
+ BSR.S SUB_17FD0 ;17ff0: 61de
+ BSR.S SUB_18004 ;17ff2: 6110
+LAB_17FF4:
+ RTS ;17ff4: 4e75
+LAB_17FF6:
+ TST.W $10C(A6) ;17ff6: 4a6e010c
+ BNE.S LAB_17FF4 ;17ffa: 66f8
+ TST.W $108(A6) ;17ffc: 4a6e0108
+ BNE.S LAB_17FF4 ;18000: 66f2
+ BSR.S SUB_18038 ;18002: 6134
+SUB_18004:
+ BTST #0,$A7(A6) ;18004: 082e000000a7
+ BNE.S LAB_17FF4 ;1800a: 66e8
+ BSET #0,$A7(A6) ;1800c: 08ee000000a7
+ ST $98(A6) ;18012: 50ee0098
+ RTS ;18016: 4e75
+SUB_18018:
+ MOVE.B $A7(A6),D1 ;18018: 122e00a7
+ BTST #0,D1 ;1801c: 08010000
+ BEQ.S LAB_18036 ;18020: 6714
+ CMP.B $AF(A6),D1 ;18022: b22e00af
+ BNE.S LAB_18036 ;18026: 660e
+ BCLR #0,$A7(A6) ;18028: 08ae000000a7
+ ST $AF(A6) ;1802e: 50ee00af
+ ST $98(A6) ;18032: 50ee0098
+LAB_18036:
+ RTS ;18036: 4e75
+SUB_18038:
+ MOVE.B $AB(A6),D1 ;18038: 122e00ab
+ BTST #0,D1 ;1803c: 08010000
+ BEQ.S LAB_18036 ;18040: 67f4
+ CMP.B $B3(A6),D1 ;18042: b22e00b3
+ BNE.S LAB_18036 ;18046: 66ee
+ BCLR #0,$AB(A6) ;18048: 08ae000000ab
+ ST $B3(A6) ;1804e: 50ee00b3
+ ST $98(A6) ;18052: 50ee0098
+ RTS ;18056: 4e75
+SUB_18058:
+ MOVE.W $26E(A6),D0 ;18058: 302e026e
+ BEQ.S LAB_180B4 ;1805c: 6756
+ CMP.W $20(A6),D0 ;1805e: b06e0020
+ BNE.S LAB_180B4 ;18062: 6650
+ MOVEA.L $B3A(A6),A1 ;18064: 226e0b3a
+ ADDA.W $20(A6),A1 ;18068: d2ee0020
+ BCLR #7,(A1) ;1806c: 08910007
+ MOVEA.L $B3A(A6),A1 ;18070: 226e0b3a
+ ADDA.W $270(A6),A1 ;18074: d2ee0270
+ TST.B (A1) ;18078: 4a11
+ BMI.S LAB_1809C ;1807a: 6b20
+ MOVE.W $44(A6),-(A7) ;1807c: 3f2e0044
+ MOVE.W $20(A6),$44(A6) ;18080: 3d6e00200044
+ BSR.W SUB_1D5E8 ;18086: 61005560
+ MOVE.W (A7)+,$44(A6) ;1808a: 3d5f0044
+ MOVE.W $270(A6),$20(A6) ;1808e: 3d6e02700020
+ ADDI.L #$00010001,$2E(A6) ;18094: 06ae00010001002e
+LAB_1809C:
+ MOVEA.L $B3A(A6),A1 ;1809c: 226e0b3a
+ ADDA.W $20(A6),A1 ;180a0: d2ee0020
+ BSET #7,(A1) ;180a4: 08d10007
+ CLR.W $26E(A6) ;180a8: 426e026e
+ BSR.W LAB_17A20 ;180ac: 6100f972
+ BSR.W LAB_18128 ;180b0: 61000076
+LAB_180B4:
+ RTS ;180b4: 4e75
+SUB_180B6:
+ MOVEA.L $B3A(A6),A0 ;180b6: 206e0b3a
+ ADDA.W $24(A6),A0 ;180ba: d0ee0024
+ MOVE.B (A0),D0 ;180be: 1010
+ ANDI.W #$007e,D0 ;180c0: 0240007e
+ CMP.W #$0036,D0 ;180c4: b07c0036
+ BNE.S LAB_180D8 ;180c8: 660e
+ MOVEM.L D0/A0,-(A7) ;180ca: 48e78080
+ JSR SUB_1D40E ;180ce: 4eb90001d40e
+ MOVEM.L (A7)+,D0/A0 ;180d4: 4cdf0101
+LAB_180D8:
+ CMP.W #$002c,D0 ;180d8: b07c002c
+ BNE.S LAB_18128 ;180dc: 664a
+ MOVEA.L $B3A(A6),A1 ;180de: 226e0b3a
+ ADDA.W $20(A6),A1 ;180e2: d2ee0020
+ MOVE.B (A1),D1 ;180e6: 1211
+ ANDI.W #$007e,D1 ;180e8: 0241007e
+ CMP.W #$001e,D1 ;180ec: b27c001e
+ BNE.W LAB_18128 ;180f0: 66000036
+ MOVE.B (A0),D0 ;180f4: 1010
+ MOVE.B (A1),D1 ;180f6: 1211
+ ANDI.W #$0081,D1 ;180f8: 02410081
+ ANDI.W #$0081,D0 ;180fc: 02400081
+ ORI.W #$001e,D0 ;18100: 0040001e
+ ORI.W #$002c,D1 ;18104: 0041002c
+ MOVE.B D1,(A1) ;18108: 1281
+ MOVE.B D0,(A0) ;1810a: 1080
+ TST.W $EE8(A6) ;1810c: 4a6e0ee8
+ BNE.S LAB_18128 ;18110: 6616
+ MOVE.W #$0005,$EE8(A6) ;18112: 3d7c00050ee8
+ MOVE.W #$003a,D0 ;18118: 303c003a
+ MOVEQ #0,D1 ;1811c: 7200
+ MOVE.W $20(A6),D2 ;1811e: 342e0020
+ JSR SUB_207AA ;18122: 4eb9000207aa
+LAB_18128:
+ MOVEA.L $B3A(A6),A0 ;18128: 206e0b3a
+ ADDA.W $20(A6),A0 ;1812c: d0ee0020
+ CLR.W $68(A6) ;18130: 426e0068
+ CLR.W D0 ;18134: 4240
+ MOVE.B (A0),D0 ;18136: 1010
+ CMP.W #$0066,D0 ;18138: b07c0066
+ BEQ.S LAB_18154 ;1813c: 6716
+ ANDI.W #$007e,D0 ;1813e: 0240007e
+ CMP.W #$0036,D0 ;18142: b07c0036
+ BEQ.S SUB_18162 ;18146: 671a
+ CMP.B #$2e,D0 ;18148: b03c002e
+ BNE.S LAB_18152 ;1814c: 6604
+ BSR.W SUB_1689A ;1814e: 6100e74a
+LAB_18152:
+ RTS ;18152: 4e75
+LAB_18154:
+ ST $68(A6) ;18154: 50ee0068
+ BSR.W SUB_18162 ;18158: 61000008
+ CLR.W $68(A6) ;1815c: 426e0068
+ RTS ;18160: 4e75
+SUB_18162:
+ JMP LAB_1D396 ;18162: 4ef90001d396
+SUB_18168:
+ ANDI.W #$0003,D0 ;18168: 02400003
+ MOVE.W D0,D3 ;1816c: 3600
+ MULU #$01d2,D3 ;1816e: c6fc01d2
+ MOVE.W D2,$F62(A6) ;18172: 3d420f62
+ ASL.W #2,D2 ;18176: e542
+ LEA $298(A6),A3 ;18178: 47ee0298
+ ADDA.W D3,A3 ;1817c: d6c3
+ LEA 0(A3,D2.W),A0 ;1817e: 41f32000
+ LEA $B6(A0),A0 ;18182: 41e800b6
+ RTS ;18186: 4e75
+SUB_18188:
+ MOVEM.L D0-D7/A0-A1/A3,-(A7) ;18188: 48e7ffd0
+ BSR.S SUB_18168 ;1818c: 61da
+ CLR.W $E96(A6) ;1818e: 426e0e96
+LAB_18192:
+ MOVE.W $18(A3),D3 ;18192: 362b0018
+ BEQ.S LAB_181E4 ;18196: 674c
+ LSR.W #1,D3 ;18198: e24b
+ CMP.W D3,D1 ;1819a: b243
+ BLS.S LAB_181A2 ;1819c: 6304
+ BSET #7,(A0) ;1819e: 08d00007
+LAB_181A2:
+ MOVEQ #0,D3 ;181a2: 7600
+ MOVE.W $18(A3),D3 ;181a4: 362b0018
+ MOVE.W D3,D2 ;181a8: 3403
+ ANDI.L #$0000ffff,D1 ;181aa: 02810000ffff
+ SUB.L D1,D3 ;181b0: 9681
+ BPL.S LAB_181BE ;181b2: 6a0a
+ SUB.W D3,D2 ;181b4: 9443
+ MOVEQ #0,D3 ;181b6: 7600
+ CLR.W $18(A3) ;181b8: 426b0018
+ BRA.S LAB_181C2 ;181bc: 6004
+LAB_181BE:
+ MOVE.W D3,$18(A3) ;181be: 37430018
+LAB_181C2:
+ MOVE.W D2,D1 ;181c2: 3202
+ MOVE.W D3,D2 ;181c4: 3403
+ BSR.W SUB_181EA ;181c6: 61000022
+ MOVE.W D0,-(A7) ;181ca: 3f00
+ TST.B $E96(A6) ;181cc: 4a2e0e96
+ BEQ.S LAB_181DA ;181d0: 6708
+ MOVE.L A0,-(A7) ;181d2: 2f08
+ BSR.W SUB_1C1F4 ;181d4: 6100401e
+ MOVEA.L (A7)+,A0 ;181d8: 205f
+LAB_181DA:
+ MOVE.W (A7)+,D0 ;181da: 301f
+ CLR.W $E96(A6) ;181dc: 426e0e96
+ BSR.W SUB_1834C ;181e0: 6100016a
+LAB_181E4:
+ MOVEM.L (A7)+,D0-D7/A0-A1/A3 ;181e4: 4cdf0bff
+ RTS ;181e8: 4e75
+SUB_181EA:
+ MOVEM.L D0-D3/A1,-(A7) ;181ea: 48e7f040
+ ANDI.W #$0003,D0 ;181ee: 02400003
+ LEA $DC(A6),A1 ;181f2: 43ee00dc
+ ORI.B #$24,0(A1,D0.W) ;181f6: 003100240000
+ ST $98(A6) ;181fc: 50ee0098
+ ADD.W D0,D0 ;18200: d040
+ LEA $E8(A6),A1 ;18202: 43ee00e8
+ LSR.W #6,D1 ;18206: ec49
+ LSR.W #6,D2 ;18208: ec4a
+ SUB.W D2,D1 ;1820a: 9242
+ ADD.W D1,0(A1,D0.W) ;1820c: d3710000
+ MOVE.W D1,$22E(A6) ;18210: 3d41022e
+ MOVE.W D1,$B8A(A6) ;18214: 3d410b8a
+ MOVE.W #$0008,$10(A1,D0.W) ;18218: 33bc00080010
+ CLR.W 8(A1,D0.W) ;1821e: 42710008
+ MOVEM.L (A7)+,D0-D3/A1 ;18222: 4cdf020f
+ RTS ;18226: 4e75
+LAB_18228:
+ DC.L $00010203,$04050001,$02030405,$00010203 ;18228
+ DC.L $02020202,$02020202,$03030303,$03030303 ;18238
+ DC.L $00010300,$01030001,$03000103,$00010303 ;18248
+ DC.L $00010203,$04050001,$02030405,$03040205 ;18258
+ DC.L $03040503,$04050304,$05030405,$03040503 ;18268
+ DC.L $02020202,$02020202,$02020202,$02020202 ;18278
+LAB_18288:
+ BSR.W LAB_16D80 ;18288: 6100eaf6
+ CLR.W $E96(A6) ;1828c: 426e0e96
+ MOVE.W D2,-(A7) ;18290: 3f02
+ MOVE.W (A7)+,D2 ;18292: 341f
+ MOVEM.L D0-D7/A0-A1/A3,-(A7) ;18294: 48e7ffd0
+ MOVE.W D0,D7 ;18298: 3e00
+ LEA LAB_18228(PC),A1 ;1829a: 43faff8c
+ CLR.W D4 ;1829e: 4244
+ TST.B 2(A0) ;182a0: 4a280002
+ BNE.S LAB_182AE ;182a4: 6608
+ MOVE.B 3(A0),D4 ;182a6: 18280003
+ ASL.W #4,D4 ;182aa: e944
+ ADDA.W D4,A1 ;182ac: d2c4
+LAB_182AE:
+ LEA $C16(A6),A0 ;182ae: 41ee0c16
+ BSR.W SUB_19814 ;182b2: 61001560
+ MOVE.W D0,D4 ;182b6: 3800
+ ANDI.W #$000f,D4 ;182b8: 0244000f
+ LSR.W #4,D0 ;182bc: e848
+ MOVE.W D0,D2 ;182be: 3400
+ ANDI.W #$000f,D2 ;182c0: 0242000f
+ MOVE.B 0(A1,D2.W),D2 ;182c4: 14312000
+ LSR.W #4,D0 ;182c8: e848
+ MOVE.W D0,D6 ;182ca: 3c00
+ MOVE.W D7,D0 ;182cc: 3007
+ BSR.W SUB_18168 ;182ce: 6100fe98
+ CMP.L #$0000ffff,D1 ;182d2: b2bc0000ffff
+ BLS.S LAB_182E0 ;182d8: 6306
+ MOVE.L #$0000ffff,D1 ;182da: 223c0000ffff
+LAB_182E0:
+ BSR.W SUB_17D62 ;182e0: 6100fa80
+ MOVEQ #0,D0 ;182e4: 7000
+ MOVE.B 1(A0),D0 ;182e6: 10280001
+ ANDI.W #$007f,D0 ;182ea: 0240007f
+ BEQ.S LAB_18324 ;182ee: 6734
+ MOVEM.L A0,-(A7) ;182f0: 48e70080
+ CMP.B #$66,D0 ;182f4: b03c0066
+ BHI.S LAB_18320 ;182f8: 6226
+ CMPI.W #$0001,$F62(A6) ;182fa: 0c6e00010f62
+ BHI.S LAB_18308 ;18300: 6206
+ CMP.B #$21,D0 ;18302: b03c0021
+ BLS.S LAB_18320 ;18306: 6318
+LAB_18308:
+ ASL.W #3,D0 ;18308: e740
+ MOVEA.L #LAB_1629E,A0 ;1830a: 207c0001629e
+ MOVE.B 5(A0,D0.W),D0 ;18310: 10300005
+ ANDI.W #$00ff,D0 ;18314: 024000ff
+ MULU D1,D0 ;18318: c0c1
+ LSR.L #8,D0 ;1831a: e088
+ LSR.L #1,D0 ;1831c: e288
+ SUB.L D0,D1 ;1831e: 9280
+LAB_18320:
+ MOVEM.L (A7)+,A0 ;18320: 4cdf0100
+LAB_18324:
+ MOVEQ #2,D0 ;18324: 7002
+ MOVE.W $C16(A6),D6 ;18326: 3c2e0c16
+ MULU #$05e5,D6 ;1832a: ccfc05e5
+ ADDI.W #$0029,D6 ;1832e: 06460029
+ MOVE.W D6,$C16(A6) ;18332: 3d460c16
+ MULU D6,D1 ;18336: c2c6
+ SWAP D1 ;18338: 4841
+ ANDI.L #$0000ffff,D1 ;1833a: 02810000ffff
+ MOVE.W D7,D0 ;18340: 3007
+ BRA.W LAB_18192 ;18342: 6000fe4e
+ MOVEM.L (A7)+,D0-D7/A0-A1/A3 ;18346: 4cdf0bff
+ RTS ;1834a: 4e75
+SUB_1834C:
+ TST.W $18(A3) ;1834c: 4a6b0018
+ BNE.S LAB_1835E ;18350: 660c
+ MOVEM.L D0-D7/A0-A5,-(A7) ;18352: 48e7fffc
+ BSR.W SUB_1C1F4 ;18356: 61003e9c
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1835a: 4cdf3fff
+LAB_1835E:
+ RTS ;1835e: 4e75
+ TST.B $100(A6) ;18360: 4a2e0100
+ BEQ.S LAB_18370 ;18364: 670a
+ SUBQ.B #1,$100(A6) ;18366: 532e0100
+ BNE.S LAB_18370 ;1836a: 6604
+ ST $101(A6) ;1836c: 50ee0101
+LAB_18370:
+ BSR.S LAB_183B0 ;18370: 613e
+ MOVE.W $252(A6),D0 ;18372: 302e0252
+ BEQ.S LAB_183AA ;18376: 6732
+ CMP.W #$00c8,D0 ;18378: b07c00c8
+ BLS.S LAB_18386 ;1837c: 6308
+ MOVE.W #$00c8,D0 ;1837e: 303c00c8
+ MOVE.W D0,$252(A6) ;18382: 3d400252
+LAB_18386:
+ MOVE.W D0,D1 ;18386: 3200
+ CMP.W #$001f,D1 ;18388: b27c001f
+ BLS.S LAB_18390 ;1838c: 6302
+ MOVEQ #$1F,D1 ;1838e: 721f
+LAB_18390:
+ LEA LAB_183AC(PC),A3 ;18390: 47fa001a
+ ASL.W #3,D1 ;18394: e741
+ MOVE.B D1,2(A3) ;18396: 17410002
+ MOVE.W D0,-(A7) ;1839a: 3f00
+ JSR LAB_21278 ;1839c: 4eb900021278
+ MOVE.W (A7)+,D0 ;183a2: 301f
+ SUBI.W #$0020,D0 ;183a4: 04400020
+ BPL.S LAB_18386 ;183a8: 6adc
+LAB_183AA:
+ RTS ;183aa: 4e75
+LAB_183AC:
+ DC.L $00300000 ;183ac
+LAB_183B0:
+ CLR.W D0 ;183b0: 4240
+ BSR.W LAB_19836 ;183b2: 61001482
+ TST.W $18(A0) ;183b6: 4a680018
+ BEQ.S LAB_183E4 ;183ba: 6728
+ CMPI.B #$07,$BF(A0) ;183bc: 0c28000700bf
+ BNE.S LAB_183E4 ;183c2: 6620
+ TST.B $40(A0) ;183c4: 4a280040
+ BNE.S LAB_183E4 ;183c8: 661a
+ MOVE.L A0,-(A7) ;183ca: 2f08
+ BSR.S LAB_183E2 ;183cc: 6114
+ MOVEA.L (A7)+,A0 ;183ce: 205f
+ TST.B $44(A0) ;183d0: 4a280044
+ BNE.W LAB_184BE ;183d4: 660000e8
+ TST.W $260(A6) ;183d8: 4a6e0260
+ BNE.W LAB_1845E ;183dc: 66000080
+ RTS ;183e0: 4e75
+LAB_183E2:
+ BRA.S LAB_1840C ;183e2: 6028
+LAB_183E4:
+ BSR.S LAB_183F6 ;183e4: 6110
+SUB_183E6:
+ MOVE.W #$0aef,D0 ;183e6: 303c0aef
+ MOVEA.L $1022(A6),A0 ;183ea: 206e1022
+LAB_183EE:
+ CLR.L (A0)+ ;183ee: 4298
+ DBF D0,LAB_183EE ;183f0: 51c8fffc
+ RTS ;183f4: 4e75
+LAB_183F6:
+ LEA LAB_1ABF4(PC),A2 ;183f6: 45fa27fc
+ MOVE.W $22(A6),D2 ;183fa: 342e0022
+ ADDA.W D2,A2 ;183fe: d4c2
+ ASL.W #3,D2 ;18400: e742
+ ADDA.W D2,A2 ;18402: d4c2
+ MOVE.L A2,$C38(A6) ;18404: 2d4a0c38
+ BRA.W LAB_18660 ;18408: 60000256
+LAB_1840C:
+ BSR.S LAB_183F6 ;1840c: 61e8
+ BSR.W LAB_14266 ;1840e: 6100be56
+ MOVE.W $2E(A6),D0 ;18412: 302e002e
+ ANDI.W #$0001,D0 ;18416: 02400001
+ BSR.W LAB_198CC ;1841a: 610014b0
+ MOVEA.L $B14(A6),A0 ;1841e: 206e0b14
+ MOVEQ #2,D1 ;18422: 7202
+ MOVE.W $1E(A6),D0 ;18424: 302e001e
+ TST.B 0(A0,D0.W) ;18428: 4a300000
+ BNE.S LAB_18436 ;1842c: 6608
+ MOVEQ #$34,D1 ;1842e: 7234
+ MOVE.W $22(A6),D0 ;18430: 302e0022
+ BRA.S LAB_1843A ;18434: 6004
+LAB_18436:
+ MOVE.W $2E(A6),D0 ;18436: 302e002e
+LAB_1843A:
+ ADDQ.W #1,D0 ;1843a: 5240
+ ANDI.W #$0001,D0 ;1843c: 02400001
+ ADD.W D1,D0 ;18440: d041
+ BSR.W LAB_198CC ;18442: 61001488
+ MOVEQ #0,D7 ;18446: 7e00
+LAB_18448:
+ MOVE.W D7,-(A7) ;18448: 3f07
+ BSR.W LAB_18852 ;1844a: 61000406
+ MOVE.W (A7)+,D7 ;1844e: 3e1f
+ ADDQ.W #8,D7 ;18450: 5047
+ CMP.W #$0130,D7 ;18452: be7c0130
+ BLT.S LAB_18448 ;18456: 6df0
+ CLR.W $6C(A6) ;18458: 426e006c
+ RTS ;1845c: 4e75
+LAB_1845E:
+ MOVE.W $260(A6),D0 ;1845e: 302e0260
+ CMP.W #$000e,D0 ;18462: b07c000e
+ BLS.S LAB_1846A ;18466: 6302
+ MOVEQ #$E,D0 ;18468: 700e
+LAB_1846A:
+ ASL.W #3,D0 ;1846a: e740
+ MOVE.W #$0070,D1 ;1846c: 323c0070
+ SUB.W D0,D1 ;18470: 9240
+ MULU #$0014,D0 ;18472: c0fc0014
+ MOVEA.L $1022(A6),A0 ;18476: 206e1022
+ MOVEA.L A0,A1 ;1847a: 2248
+ ADDA.W D0,A0 ;1847c: d0c0
+ MULU #$0005,D1 ;1847e: c2fc0005
+ MOVE.W #$0230,D3 ;18482: 363c0230
+ SUB.W D1,D3 ;18486: 9641
+ MOVE.W $262(A6),D4 ;18488: 382e0262
+ MOVEQ #4,D2 ;1848c: 7404
+LAB_1848E:
+ MOVEM.L D1/D3/A0-A1,-(A7) ;1848e: 48e750c0
+ BRA.S LAB_18496 ;18492: 6002
+LAB_18494:
+ MOVE.L (A0)+,(A1)+ ;18494: 22d8
+LAB_18496:
+ DBF D1,LAB_18494 ;18496: 51c9fffc
+ MOVEQ #0,D5 ;1849a: 7a00
+ BTST #0,D4 ;1849c: 08040000
+ BEQ.S LAB_184A6 ;184a0: 6704
+ NOT.L D5 ;184a2: 4685
+LAB_184A4:
+ MOVE.L D5,(A1)+ ;184a4: 22c5
+LAB_184A6:
+ DBF D3,LAB_184A4 ;184a6: 51cbfffc
+ MOVEM.L (A7)+,D1/D3/A0-A1 ;184aa: 4cdf030a
+ LSR.W #1,D4 ;184ae: e24c
+ LEA $8C0(A0),A0 ;184b0: 41e808c0
+ LEA $8C0(A1),A1 ;184b4: 43e908c0
+ DBF D2,LAB_1848E ;184b8: 51caffd4
+ RTS ;184bc: 4e75
+LAB_184BE:
+ MOVEA.L $1022(A6),A0 ;184be: 206e1022
+ MOVEA.L $10C2(A6),A1 ;184c2: 226e10c2
+ MOVE.W $32(A6),D0 ;184c6: 302e0032
+ ANDI.W #$0007,D0 ;184ca: 02400007
+ ASL.W #5,D0 ;184ce: eb40
+ ADDA.W D0,A1 ;184d0: d2c0
+ MOVEQ #$6F,D2 ;184d2: 746f
+LAB_184D4:
+ MOVEQ #4,D1 ;184d4: 7204
+ MOVE.W D2,D4 ;184d6: 3802
+ ANDI.W #$000f,D4 ;184d8: 0244000f
+ ADD.W D4,D4 ;184dc: d844
+ MOVE.W 0(A1,D4.W),D3 ;184de: 36314000
+ SWAP D3 ;184e2: 4843
+ MOVE.W 0(A1,D4.W),D3 ;184e4: 36314000
+ AND.L (A0),D3 ;184e8: c690
+ MOVE.L D3,D4 ;184ea: 2803
+ NOT.L D4 ;184ec: 4684
+LAB_184EE:
+ AND.L D4,$8C0(A0) ;184ee: c9a808c0
+ OR.L D3,$1180(A0) ;184f2: 87a81180
+ OR.L D3,$1A40(A0) ;184f6: 87a81a40
+ OR.L D3,$2300(A0) ;184fa: 87a82300
+ OR.L D3,(A0)+ ;184fe: 8798
+ DBF D1,LAB_184EE ;18500: 51c9ffec
+ DBF D2,LAB_184D4 ;18504: 51caffce
+ RTS ;18508: 4e75
+ MOVEA.L $1022(A6),A0 ;1850a: 206e1022
+ LEA $14(A0),A0 ;1850e: 41e80014
+ MOVE.W #$0117,D1 ;18512: 323c0117
+LAB_18516:
+ MOVEQ #4,D0 ;18516: 7004
+LAB_18518:
+ CLR.L (A0)+ ;18518: 4298
+ DBF D0,LAB_18518 ;1851a: 51c8fffc
+ LEA $14(A0),A0 ;1851e: 41e80014
+ DBF D1,LAB_18516 ;18522: 51c9fff2
+ RTS ;18526: 4e75
+ MOVEA.L $1022(A6),A0 ;18528: 206e1022
+ LEA $14(A0),A0 ;1852c: 41e80014
+ MOVEQ #$37,D1 ;18530: 7237
+ MOVEQ #-1,D2 ;18532: 74ff
+LAB_18534:
+ MOVEQ #4,D0 ;18534: 7004
+LAB_18536:
+ MOVE.L D2,$1A40(A0) ;18536: 21421a40
+ CLR.L $8C0(A0) ;1853a: 42a808c0
+ CLR.L $1180(A0) ;1853e: 42a81180
+ CLR.L $2300(A0) ;18542: 42a82300
+ MOVE.L D2,(A0)+ ;18546: 20c2
+ DBF D0,LAB_18536 ;18548: 51c8ffec
+ LEA $14(A0),A0 ;1854c: 41e80014
+ DBF D1,LAB_18534 ;18550: 51c9ffe2
+ RTS ;18554: 4e75
+LAB_18556:
+ MOVEQ #$18,D6 ;18556: 7c18
+ MOVEQ #$20,D0 ;18558: 7020
+ LEA $E00(A6),A0 ;1855a: 41ee0e00
+ CMPI.B #$18,$B(A0) ;1855e: 0c280018000b
+ BHI.S LAB_18572 ;18564: 620c
+ MOVE.B D0,3(A0) ;18566: 11400003
+ MOVE.B D0,4(A0) ;1856a: 11400004
+ MOVE.B D0,$C(A0) ;1856e: 1140000c
+LAB_18572:
+ CMP.B 9(A0),D6 ;18572: bc280009
+ BLS.S LAB_18582 ;18576: 630a
+ MOVE.B D0,1(A0) ;18578: 11400001
+ MOVE.B D0,(A0) ;1857c: 1080
+ MOVE.B D0,8(A0) ;1857e: 11400008
+LAB_18582:
+ CMP.B $19(A0),D6 ;18582: bc280019
+ BHI.S LAB_18594 ;18586: 620c
+ CMP.B $11(A0),D6 ;18588: bc280011
+ BHI.S LAB_18594 ;1858c: 6206
+ CMP.B $21(A0),D6 ;1858e: bc280021
+ BLS.S LAB_1859A ;18592: 6306
+LAB_18594:
+ MOVE.B D0,(A0) ;18594: 1080
+ MOVE.B D0,8(A0) ;18596: 11400008
+LAB_1859A:
+ CMP.B $1B(A0),D6 ;1859a: bc28001b
+ BHI.S LAB_185AC ;1859e: 620c
+ CMP.B $13(A0),D6 ;185a0: bc280013
+ BHI.S LAB_185AC ;185a4: 6206
+ CMP.B $23(A0),D6 ;185a6: bc280023
+ BLS.S LAB_185B4 ;185aa: 6308
+LAB_185AC:
+ MOVE.B D0,4(A0) ;185ac: 11400004
+ MOVE.B D0,$C(A0) ;185b0: 1140000c
+LAB_185B4:
+ CMP.B $1A(A0),D6 ;185b4: bc28001a
+ BHI.S LAB_185C8 ;185b8: 620e
+ CMP.B $12(A0),D6 ;185ba: bc280012
+ BHI.S LAB_185DA ;185be: 621a
+ CMP.B $A(A0),D6 ;185c0: bc28000a
+ BHI.S LAB_185E8 ;185c4: 6222
+ RTS ;185c6: 4e75
+LAB_185C8:
+ BSR.S LAB_1860A ;185c8: 6140
+ BSR.S LAB_1861E ;185ca: 6152
+ MOVE.B D0,$12(A0) ;185cc: 11400012
+ MOVE.B D0,$A(A0) ;185d0: 1140000a
+ MOVE.B D0,2(A0) ;185d4: 11400002
+ RTS ;185d8: 4e75
+LAB_185DA:
+ MOVE.B D0,$A(A0) ;185da: 1140000a
+ BSR.S LAB_18610 ;185de: 6130
+ BSR.S LAB_18624 ;185e0: 6142
+ MOVE.B D0,2(A0) ;185e2: 11400002
+ RTS ;185e6: 4e75
+LAB_185E8:
+ CMP.B $11(A0),D6 ;185e8: bc280011
+ BLS.S LAB_185F6 ;185ec: 6308
+ MOVE.B D0,9(A0) ;185ee: 11400009
+ MOVE.B D0,1(A0) ;185f2: 11400001
+LAB_185F6:
+ CMP.B $13(A0),D6 ;185f6: bc280013
+ BLS.S LAB_18604 ;185fa: 6308
+ MOVE.B D0,$B(A0) ;185fc: 1140000b
+ MOVE.B D0,3(A0) ;18600: 11400003
+LAB_18604:
+ MOVE.B D0,2(A0) ;18604: 11400002
+ RTS ;18608: 4e75
+LAB_1860A:
+ CMP.B $21(A0),D6 ;1860a: bc280021
+ BHI.S LAB_18648 ;1860e: 6238
+LAB_18610:
+ CMP.B $19(A0),D6 ;18610: bc280019
+ BHI.S LAB_1864C ;18614: 6236
+ CMP.B $11(A0),D6 ;18616: bc280011
+ BHI.S LAB_18650 ;1861a: 6234
+ RTS ;1861c: 4e75
+LAB_1861E:
+ CMP.B $23(A0),D6 ;1861e: bc280023
+ BHI.S LAB_18632 ;18622: 620e
+LAB_18624:
+ CMP.B $1B(A0),D6 ;18624: bc28001b
+ BHI.S LAB_18636 ;18628: 620c
+ CMP.B $13(A0),D6 ;1862a: bc280013
+ BHI.S LAB_1863A ;1862e: 620a
+ RTS ;18630: 4e75
+LAB_18632:
+ MOVE.B D0,$1B(A0) ;18632: 1140001b
+LAB_18636:
+ MOVE.B D0,$13(A0) ;18636: 11400013
+LAB_1863A:
+ MOVE.B D0,$B(A0) ;1863a: 1140000b
+ MOVE.B D0,4(A0) ;1863e: 11400004
+ MOVE.B D0,3(A0) ;18642: 11400003
+ RTS ;18646: 4e75
+LAB_18648:
+ MOVE.B D0,$19(A0) ;18648: 11400019
+LAB_1864C:
+ MOVE.B D0,$11(A0) ;1864c: 11400011
+LAB_18650:
+ MOVE.B D0,9(A0) ;18650: 11400009
+ MOVE.B D0,8(A0) ;18654: 11400008
+ MOVE.B D0,(A0) ;18658: 1080
+ MOVE.B D0,1(A0) ;1865a: 11400001
+ RTS ;1865e: 4e75
+LAB_18660:
+ BSR.S LAB_18666 ;18660: 6104
+ BRA.W LAB_18556 ;18662: 6000fef2
+LAB_18666:
+ MOVE.W $1A(A6),D1 ;18666: 322e001a
+ MOVE.W $1C(A6),D2 ;1866a: 342e001c
+ MOVE.W $20(A6),D6 ;1866e: 3c2e0020
+ MOVEA.L $B3A(A6),A0 ;18672: 206e0b3a
+ LEA $E00(A6),A1 ;18676: 43ee0e00
+ MOVE.W $22(A6),D0 ;1867a: 302e0022
+ ANDI.W #$0003,D0 ;1867e: 02400003
+ BEQ.W LAB_187DA ;18682: 67000156
+ CMP.W #$0003,D0 ;18686: b07c0003
+ BEQ.W LAB_1876E ;1868a: 670000e2
+ CMP.W #$0002,D0 ;1868e: b07c0002
+ BEQ.W LAB_18702 ;18692: 6700006e
+ ADDQ.W #2,D2 ;18696: 5442
+ SUBQ.W #4,D1 ;18698: 5941
+ ADDI.W #$003c,D6 ;1869a: 0646003c
+ ADDA.W D6,A0 ;1869e: d0c6
+ MOVEQ #4,D3 ;186a0: 7604
+LAB_186A2:
+ MOVEM.L D2/A0,-(A7) ;186a2: 48e72080
+ CMP.W #$ffff,D1 ;186a6: b27cffff
+ BEQ.S LAB_186C2 ;186aa: 6716
+ CMP.W #$0020,D1 ;186ac: b27c0020
+ BEQ.S LAB_186C2 ;186b0: 6710
+ BLS.S LAB_186C8 ;186b2: 6314
+ MOVE.L #$20202020,(A1)+ ;186b4: 22fc20202020
+ MOVE.L #$20000000,(A1)+ ;186ba: 22fc20000000
+ BRA.S LAB_186F2 ;186c0: 6030
+LAB_186C2:
+ CLR.L (A1)+ ;186c2: 4299
+ CLR.L (A1)+ ;186c4: 4299
+ BRA.S LAB_186F2 ;186c6: 602a
+LAB_186C8:
+ MOVEQ #4,D4 ;186c8: 7804
+LAB_186CA:
+ CMP.W #$ffff,D2 ;186ca: b47cffff
+ BEQ.S LAB_186DE ;186ce: 670e
+ CMP.W #$0020,D2 ;186d0: b47c0020
+ BEQ.S LAB_186DE ;186d4: 6708
+ BLS.S LAB_186E2 ;186d6: 630a
+ MOVE.B #$20,(A1)+ ;186d8: 12fc0020
+ BRA.S LAB_186E4 ;186dc: 6006
+LAB_186DE:
+ CLR.B (A1)+ ;186de: 4219
+ BRA.S LAB_186E4 ;186e0: 6002
+LAB_186E2:
+ MOVE.B (A0),(A1)+ ;186e2: 12d0
+LAB_186E4:
+ LEA -32(A0),A0 ;186e4: 41e8ffe0
+ SUBQ.W #1,D2 ;186e8: 5342
+ DBF D4,LAB_186CA ;186ea: 51ccffde
+ LEA 3(A1),A1 ;186ee: 43e90003
+LAB_186F2:
+ MOVEM.L (A7)+,D2/A0 ;186f2: 4cdf0104
+ LEA 1(A0),A0 ;186f6: 41e80001
+ ADDQ.W #1,D1 ;186fa: 5241
+ DBF D3,LAB_186A2 ;186fc: 51cbffa4
+ RTS ;18700: 4e75
+LAB_18702:
+ ADDQ.W #4,D2 ;18702: 5842
+ ADDQ.W #2,D1 ;18704: 5441
+ ADDI.W #$0082,D6 ;18706: 06460082
+ ADDA.W D6,A0 ;1870a: d0c6
+ MOVEQ #4,D3 ;1870c: 7604
+LAB_1870E:
+ MOVEM.L D1/A0,-(A7) ;1870e: 48e74080
+ CMP.W #$ffff,D2 ;18712: b47cffff
+ BEQ.S LAB_1872E ;18716: 6716
+ CMP.W #$0020,D2 ;18718: b47c0020
+ BEQ.S LAB_1872E ;1871c: 6710
+ BLS.S LAB_18734 ;1871e: 6314
+ MOVE.L #$20202020,(A1)+ ;18720: 22fc20202020
+ MOVE.L #$20000000,(A1)+ ;18726: 22fc20000000
+ BRA.S LAB_1875E ;1872c: 6030
+LAB_1872E:
+ CLR.L (A1)+ ;1872e: 4299
+ CLR.L (A1)+ ;18730: 4299
+ BRA.S LAB_1875E ;18732: 602a
+LAB_18734:
+ MOVEQ #4,D4 ;18734: 7804
+LAB_18736:
+ CMP.W #$ffff,D1 ;18736: b27cffff
+ BEQ.S LAB_1874A ;1873a: 670e
+ CMP.W #$0020,D1 ;1873c: b27c0020
+ BEQ.S LAB_1874A ;18740: 6708
+ BLS.S LAB_1874E ;18742: 630a
+ MOVE.B #$20,(A1)+ ;18744: 12fc0020
+ BRA.S LAB_18750 ;18748: 6006
+LAB_1874A:
+ CLR.B (A1)+ ;1874a: 4219
+ BRA.S LAB_18750 ;1874c: 6002
+LAB_1874E:
+ MOVE.B (A0),(A1)+ ;1874e: 12d0
+LAB_18750:
+ LEA -1(A0),A0 ;18750: 41e8ffff
+ SUBQ.W #1,D1 ;18754: 5341
+ DBF D4,LAB_18736 ;18756: 51ccffde
+ LEA 3(A1),A1 ;1875a: 43e90003
+LAB_1875E:
+ MOVEM.L (A7)+,D1/A0 ;1875e: 4cdf0102
+ LEA -32(A0),A0 ;18762: 41e8ffe0
+ SUBQ.W #1,D2 ;18766: 5342
+ DBF D3,LAB_1870E ;18768: 51cbffa4
+ RTS ;1876c: 4e75
+LAB_1876E:
+ SUBQ.W #2,D2 ;1876e: 5542
+ ADDQ.W #4,D1 ;18770: 5841
+ ADDI.W #$ffc4,D6 ;18772: 0646ffc4
+ ADDA.W D6,A0 ;18776: d0c6
+ MOVEQ #4,D3 ;18778: 7604
+LAB_1877A:
+ MOVEM.L D2/A0,-(A7) ;1877a: 48e72080
+ CMP.W #$ffff,D1 ;1877e: b27cffff
+ BEQ.S LAB_1879A ;18782: 6716
+ CMP.W #$0020,D1 ;18784: b27c0020
+ BEQ.S LAB_1879A ;18788: 6710
+ BLS.S LAB_187A0 ;1878a: 6314
+ MOVE.L #$20202020,(A1)+ ;1878c: 22fc20202020
+ MOVE.L #$20000000,(A1)+ ;18792: 22fc20000000
+ BRA.S LAB_187CA ;18798: 6030
+LAB_1879A:
+ CLR.L (A1)+ ;1879a: 4299
+ CLR.L (A1)+ ;1879c: 4299
+ BRA.S LAB_187CA ;1879e: 602a
+LAB_187A0:
+ MOVEQ #4,D4 ;187a0: 7804
+LAB_187A2:
+ CMP.W #$ffff,D2 ;187a2: b47cffff
+ BEQ.S LAB_187B6 ;187a6: 670e
+ CMP.W #$0020,D2 ;187a8: b47c0020
+ BEQ.S LAB_187B6 ;187ac: 6708
+ BLS.S LAB_187BA ;187ae: 630a
+ MOVE.B #$20,(A1)+ ;187b0: 12fc0020
+ BRA.S LAB_187BC ;187b4: 6006
+LAB_187B6:
+ CLR.B (A1)+ ;187b6: 4219
+ BRA.S LAB_187BC ;187b8: 6002
+LAB_187BA:
+ MOVE.B (A0),(A1)+ ;187ba: 12d0
+LAB_187BC:
+ LEA $20(A0),A0 ;187bc: 41e80020
+ ADDQ.W #1,D2 ;187c0: 5242
+ DBF D4,LAB_187A2 ;187c2: 51ccffde
+ LEA 3(A1),A1 ;187c6: 43e90003
+LAB_187CA:
+ MOVEM.L (A7)+,D2/A0 ;187ca: 4cdf0104
+ LEA -1(A0),A0 ;187ce: 41e8ffff
+ SUBQ.W #1,D1 ;187d2: 5341
+ DBF D3,LAB_1877A ;187d4: 51cbffa4
+ RTS ;187d8: 4e75
+LAB_187DA:
+ SUBQ.W #4,D2 ;187da: 5942
+ SUBQ.W #2,D1 ;187dc: 5541
+ ADDI.W #$ff7e,D6 ;187de: 0646ff7e
+ ADDA.W D6,A0 ;187e2: d0c6
+ MOVEQ #4,D3 ;187e4: 7604
+LAB_187E6:
+ MOVEM.L D1/A0,-(A7) ;187e6: 48e74080
+ CMP.W #$ffff,D2 ;187ea: b47cffff
+ BEQ.S LAB_18806 ;187ee: 6716
+ CMP.W #$0020,D2 ;187f0: b47c0020
+ BEQ.S LAB_18806 ;187f4: 6710
+ BLS.S LAB_18818 ;187f6: 6320
+ MOVE.L #$20202020,(A1)+ ;187f8: 22fc20202020
+ MOVE.L #$20000000,(A1)+ ;187fe: 22fc20000000
+ BRA.S LAB_18842 ;18804: 603c
+LAB_18806:
+ MOVEQ #4,D4 ;18806: 7804
+LAB_18808:
+ CLR.B (A1)+ ;18808: 4219
+ ADDQ.W #1,D1 ;1880a: 5241
+ DBF D4,LAB_18808 ;1880c: 51ccfffa
+ BRA.S LAB_1883E ;18810: 602c
+ CLR.L (A1)+ ;18812: 4299
+ CLR.L (A1)+ ;18814: 4299
+ BRA.S LAB_18842 ;18816: 602a
+LAB_18818:
+ MOVEQ #4,D4 ;18818: 7804
+LAB_1881A:
+ CMP.W #$ffff,D1 ;1881a: b27cffff
+ BEQ.S LAB_1882E ;1881e: 670e
+ CMP.W #$0020,D1 ;18820: b27c0020
+ BEQ.S LAB_1882E ;18824: 6708
+ BLS.S LAB_18832 ;18826: 630a
+ MOVE.B #$20,(A1)+ ;18828: 12fc0020
+ BRA.S LAB_18834 ;1882c: 6006
+LAB_1882E:
+ CLR.B (A1)+ ;1882e: 4219
+ BRA.S LAB_18834 ;18830: 6002
+LAB_18832:
+ MOVE.B (A0),(A1)+ ;18832: 12d0
+LAB_18834:
+ LEA 1(A0),A0 ;18834: 41e80001
+ ADDQ.W #1,D1 ;18838: 5241
+ DBF D4,LAB_1881A ;1883a: 51ccffde
+LAB_1883E:
+ LEA 3(A1),A1 ;1883e: 43e90003
+LAB_18842:
+ MOVEM.L (A7)+,D1/A0 ;18842: 4cdf0102
+ LEA $20(A0),A0 ;18846: 41e80020
+ ADDQ.W #1,D2 ;1884a: 5242
+ DBF D3,LAB_187E6 ;1884c: 51cbff98
+ RTS ;18850: 4e75
+LAB_18852:
+ LEA LAB_16678(PC),A0 ;18852: 41fade24
+ ADDA.W D7,A0 ;18856: d0c7
+ MOVE.W (A0)+,D2 ;18858: 3418
+ MOVE.W (A0)+,D3 ;1885a: 3618
+ CLR.W D4 ;1885c: 4244
+ CLR.W D5 ;1885e: 4245
+ MOVE.B (A0)+,D4 ;18860: 1818
+ MOVE.W D4,$BB0(A6) ;18862: 3d440bb0
+ MOVE.B (A0)+,D5 ;18866: 1a18
+ MOVE.W $1A(A6),D0 ;18868: 302e001a
+ MOVE.W $1C(A6),D1 ;1886c: 322e001c
+ BSR.W LAB_19516 ;18870: 61000ca4
+ ADD.W D2,D0 ;18874: d042
+ ADD.W D3,D1 ;18876: d243
+ MOVE.W D5,-(A7) ;18878: 3f05
+ MOVE.W $1E(A6),D5 ;1887a: 3a2e001e
+ ASL.W #5,D5 ;1887e: eb45
+ OR.W D1,D5 ;18880: 8a41
+ ASL.W #5,D5 ;18882: eb45
+ OR.W D0,D5 ;18884: 8a40
+ MOVE.W D5,$44(A6) ;18886: 3d450044
+ MOVE.W (A7)+,D5 ;1888a: 3a1f
+ CLR.W D6 ;1888c: 4246
+ CLR.W D0 ;1888e: 4240
+ MOVE.B 1(A0),D6 ;18890: 1c280001
+ LEA $E00(A6),A1 ;18894: 43ee0e00
+ ADDA.W D6,A1 ;18898: d2c6
+ MOVE.B (A1),D0 ;1889a: 1011
+ BTST #3,D5 ;1889c: 08050003
+ BNE.S LAB_18908 ;188a0: 6666
+ TST.B D0 ;188a2: 4a00
+ BEQ.W LAB_1943E ;188a4: 67000b98
+ ANDI.B #$7f,D0 ;188a8: 0200007f
+ CMP.B #$20,D0 ;188ac: b03c0020
+ BEQ.S LAB_18906 ;188b0: 6754
+ CMP.B #$0f,D0 ;188b2: b03c000f
+ BLS.W LAB_1930E ;188b6: 63000a56
+ CMP.B #$3e,D0 ;188ba: b03c003e
+ BEQ.W LAB_18BB4 ;188be: 670002f4
+ CMP.B #$64,D0 ;188c2: b03c0064
+ BEQ.W LAB_19068 ;188c6: 670007a0
+ CMP.B #$65,D0 ;188ca: b03c0065
+ BEQ.W LAB_19068 ;188ce: 67000798
+ CMP.B #$1b,D0 ;188d2: b03c001b
+ BHI.S LAB_18906 ;188d6: 622e
+ CMP.B #$18,D0 ;188d8: b03c0018
+ BEQ.W LAB_190A8 ;188dc: 670007ca
+ CMP.B #$19,D0 ;188e0: b03c0019
+ BEQ.W LAB_190BA ;188e4: 670007d4
+ CMP.B #$1b,D0 ;188e8: b03c001b
+ BEQ.W LAB_19008 ;188ec: 6700071a
+ CMP.B #$1a,D0 ;188f0: b03c001a
+ BEQ.W LAB_19074 ;188f4: 6700077e
+ CMP.B #$10,D0 ;188f8: b03c0010
+ BLT.S LAB_18906 ;188fc: 6d08
+ CMP.B #$18,D0 ;188fe: b03c0018
+ BLT.W LAB_1912A ;18902: 6d000826
+LAB_18906:
+ RTS ;18906: 4e75
+LAB_18908:
+ MOVE.B D0,$7E(A6) ;18908: 1d40007e
+ ANDI.W #$007f,D0 ;1890c: 0240007f
+ CMP.B #$0f,D0 ;18910: b03c000f
+ BLS.S LAB_18906 ;18914: 63f0
+ CMP.B #$20,D0 ;18916: b03c0020
+ BEQ.W LAB_18D92 ;1891a: 67000476
+ CMP.B #$21,D0 ;1891e: b03c0021
+ BEQ.W LAB_18D92 ;18922: 6700046e
+ CMP.B #$2f,D0 ;18926: b03c002f
+ BLS.S LAB_18934 ;1892a: 6308
+ CMP.B #$34,D0 ;1892c: b03c0034
+ BLS.W LAB_18CCE ;18930: 6300039c
+LAB_18934:
+ CMP.B #$5f,D0 ;18934: b03c005f
+ BHI.S LAB_18942 ;18938: 6208
+ CMP.B #$3f,D0 ;1893a: b03c003f
+ BHI.W LAB_18A1E ;1893e: 620000de
+LAB_18942:
+ CMP.B #$37,D0 ;18942: b03c0037
+ BLS.S LAB_18950 ;18946: 6308
+ CMP.B #$3a,D0 ;18948: b03c003a
+ BLS.W LAB_1922C ;1894c: 630008de
+LAB_18950:
+ CMP.B #$1b,D0 ;18950: b03c001b
+ BEQ.W LAB_192FC ;18954: 670009a6
+ CMP.B #$19,D0 ;18958: b03c0019
+ BEQ.W LAB_1D644 ;1895c: 67004ce6
+ CMP.B #$66,D0 ;18960: b03c0066
+ BEQ.W LAB_192FC ;18964: 67000996
+ CMP.B #$63,D0 ;18968: b03c0063
+ BEQ.W LAB_18CA6 ;1896c: 67000338
+ CMP.B #$68,D0 ;18970: b03c0068
+ BEQ.W LAB_18E24 ;18974: 670004ae
+ CMP.B #$69,D0 ;18978: b03c0069
+ BEQ.W LAB_18E44 ;1897c: 670004c6
+ CMP.B #$6a,D0 ;18980: b03c006a
+ BEQ.W LAB_18E72 ;18984: 670004ec
+ CMP.B #$6b,D0 ;18988: b03c006b
+ BEQ.W LAB_18ECC ;1898c: 6700053e
+ CMP.B #$70,D0 ;18990: b03c0070
+ BEQ.W LAB_18BD2 ;18994: 6700023c
+ CMP.B #$71,D0 ;18998: b03c0071
+ BEQ.W LAB_18CA0 ;1899c: 67000302
+ CMP.B #$72,D0 ;189a0: b03c0072
+ BEQ.W LAB_18C02 ;189a4: 6700025c
+ CMP.B #$73,D0 ;189a8: b03c0073
+ BEQ.W LAB_18D34 ;189ac: 67000386
+ ANDI.B #$7e,D0 ;189b0: 0200007e
+ CMP.B #$1e,D0 ;189b4: b03c001e
+ BEQ.W LAB_18FB6 ;189b8: 670005fc
+ CMP.B #$2a,D0 ;189bc: b03c002a
+ BEQ.W LAB_18E0A ;189c0: 67000448
+ CMP.B #$22,D0 ;189c4: b03c0022
+ BEQ.W LAB_18FA8 ;189c8: 670005de
+ CMP.B #$2c,D0 ;189cc: b03c002c
+ BEQ.W LAB_18F58 ;189d0: 67000586
+ CMP.B #$6e,D0 ;189d4: b03c006e
+ BEQ.W LAB_18EFE ;189d8: 67000524
+ CMP.B #$26,D0 ;189dc: b03c0026
+ BEQ.W LAB_18EF4 ;189e0: 67000512
+ CMP.B #$34,D0 ;189e4: b03c0034
+ BEQ.W LAB_18CCE ;189e8: 670002e4
+ CMP.B #$24,D0 ;189ec: b03c0024
+ BEQ.W LAB_18D3A ;189f0: 67000348
+ CMP.B #$2e,D0 ;189f4: b03c002e
+ BEQ.W LAB_18BBE ;189f8: 670001c4
+ CMP.B #$36,D0 ;189fc: b03c0036
+ BEQ.W LAB_18BEE ;18a00: 670001ec
+ CMP.B #$3e,D0 ;18a04: b03c003e
+ BEQ.W LAB_18D34 ;18a08: 6700032a
+ CMP.B #$3c,D0 ;18a0c: b03c003c
+ BEQ.W LAB_18D34 ;18a10: 67000322
+ CMP.B #$60,D0 ;18a14: b03c0060
+ BEQ.W LAB_18D92 ;18a18: 67000378
+ RTS ;18a1c: 4e75
+LAB_18A1E:
+ MOVEM.L D0/D4/A1,-(A7) ;18a1e: 48e78840
+ BSR.W LAB_18DD0 ;18a22: 610003ac
+ MOVEM.L (A7),D0/D4/A1 ;18a26: 4cd70211
+ BSR.S LAB_18A34 ;18a2a: 6108
+ MOVEM.L (A7)+,D0/D4/A1 ;18a2c: 4cdf0211
+ BRA.W LAB_18D9C ;18a30: 6000036a
+LAB_18A34:
+ MOVE.W $22(A6),D6 ;18a34: 3c2e0022
+ MOVE.W D0,D1 ;18a38: 3200
+ ANDI.W #$000f,D1 ;18a3a: 0241000f
+ BTST #3,D0 ;18a3e: 08000003
+ BEQ.S LAB_18A46 ;18a42: 6702
+ ADDQ.W #1,D6 ;18a44: 5246
+LAB_18A46:
+ BTST #0,D6 ;18a46: 08060000
+ BNE.W LAB_18A86 ;18a4a: 6600003a
+ MOVE.W D0,$3E(A6) ;18a4e: 3d40003e
+ ANDI.W #$0007,D0 ;18a52: 02400007
+ BEQ.W LAB_18ACE ;18a56: 67000076
+ SUBQ.W #1,D0 ;18a5a: 5340
+ BEQ.W LAB_18B44 ;18a5c: 670000e6
+ SUBQ.W #1,D0 ;18a60: 5340
+ BEQ.W LAB_18AE2 ;18a62: 6700007e
+ SUBQ.W #1,D0 ;18a66: 5340
+ BEQ.W LAB_18B20 ;18a68: 670000b6
+ SUBQ.W #1,D0 ;18a6c: 5340
+ BEQ.W LAB_18B32 ;18a6e: 670000c2
+ SUBQ.W #1,D0 ;18a72: 5340
+ BEQ.W LAB_18AF2 ;18a74: 6700007c
+ SUBQ.W #1,D0 ;18a78: 5340
+ BEQ.W LAB_18B02 ;18a7a: 67000086
+ SUBQ.W #1,D0 ;18a7e: 5340
+ BEQ.W LAB_18B12 ;18a80: 67000090
+LAB_18A84:
+ RTS ;18a84: 4e75
+LAB_18A86:
+ CMP.W #$000c,D4 ;18a86: b87c000c
+ BNE.S LAB_18A84 ;18a8a: 66f8
+ MOVE.W D4,-(A7) ;18a8c: 3f04
+ MOVE.W #$01ec,D0 ;18a8e: 303c01ec
+ BSR.W LAB_198CC ;18a92: 61000e38
+ MOVE.W (A7)+,D4 ;18a96: 381f
+ MOVE.W #$01ed,D0 ;18a98: 303c01ed
+ BRA.W LAB_198CC ;18a9c: 60000e2e
+LAB_18AA0:
+ BSR.W LAB_18B7E ;18aa0: 610000dc
+LAB_18AA4:
+ BTST #4,$3F(A6) ;18aa4: 082e0004003f
+ BEQ.S LAB_18AC6 ;18aaa: 671a
+ BSR.W SUB_1A7DC ;18aac: 61001d2e
+ BMI.S LAB_18ACC ;18ab0: 6b1a
+ MOVE.B 2(A2),D3 ;18ab2: 162a0002
+ CMP.B #$03,D3 ;18ab6: b63c0003
+ BHI.S LAB_18ACA ;18aba: 620e
+ ADD.W D3,D3 ;18abc: d643
+ ANDI.W #$0006,D3 ;18abe: 02430006
+ MOVEQ #1,D6 ;18ac2: 7c01
+ RTS ;18ac4: 4e75
+LAB_18AC6:
+ CLR.W D6 ;18ac6: 4246
+ RTS ;18ac8: 4e75
+LAB_18ACA:
+ MOVEQ #-1,D6 ;18aca: 7cff
+LAB_18ACC:
+ RTS ;18acc: 4e75
+LAB_18ACE:
+ BSR.W LAB_18BAA ;18ace: 610000da
+ BSR.S LAB_18AA4 ;18ad2: 61d0
+ BMI.S LAB_18ACC ;18ad4: 6bf6
+ MOVE.W #$0416,D0 ;18ad6: 303c0416
+ BSR.S LAB_18B4E ;18ada: 6172
+ MOVE.W #$0428,D0 ;18adc: 303c0428
+ BRA.S LAB_18B4E ;18ae0: 606c
+LAB_18AE2:
+ BSR.S LAB_18AA0 ;18ae2: 61bc
+ BMI.S LAB_18ACC ;18ae4: 6be6
+ MOVE.W #$043a,D0 ;18ae6: 303c043a
+ BSR.S LAB_18B4E ;18aea: 6162
+ MOVE.W #$044c,D0 ;18aec: 303c044c
+ BRA.S LAB_18B4E ;18af0: 605c
+LAB_18AF2:
+ BSR.S LAB_18AA0 ;18af2: 61ac
+ BMI.S LAB_18ACC ;18af4: 6bd6
+ MOVE.W #$0470,D0 ;18af6: 303c0470
+ BSR.S LAB_18B4E ;18afa: 6152
+ MOVE.W #$0482,D0 ;18afc: 303c0482
+ BRA.S LAB_18B4E ;18b00: 604c
+LAB_18B02:
+ BSR.S LAB_18AA0 ;18b02: 619c
+ BMI.S LAB_18ACC ;18b04: 6bc6
+ MOVE.W #$0494,D0 ;18b06: 303c0494
+ BSR.S LAB_18B4E ;18b0a: 6142
+ MOVE.W #$04a6,D0 ;18b0c: 303c04a6
+ BRA.S LAB_18B4E ;18b10: 603c
+LAB_18B12:
+ BSR.S LAB_18AA0 ;18b12: 618c
+ BPL.S LAB_18B1A ;18b14: 6a04
+ MOVEQ #6,D3 ;18b16: 7606
+ MOVEQ #1,D6 ;18b18: 7c01
+LAB_18B1A:
+ MOVE.W #$04b8,D0 ;18b1a: 303c04b8
+ BRA.S LAB_18B4E ;18b1e: 602e
+LAB_18B20:
+ BSR.W LAB_18AA0 ;18b20: 6100ff7e
+ BMI.S LAB_18ACC ;18b24: 6ba6
+ TST.W D6 ;18b26: 4a46
+ BEQ.S LAB_18B2C ;18b28: 6702
+ MOVEQ #3,D6 ;18b2a: 7c03
+LAB_18B2C:
+ MOVE.W #$04b8,D0 ;18b2c: 303c04b8
+ BRA.S LAB_18B4E ;18b30: 601c
+LAB_18B32:
+ BSR.W LAB_18AA0 ;18b32: 6100ff6c
+ BMI.S LAB_18ACC ;18b36: 6b94
+ TST.W D6 ;18b38: 4a46
+ BEQ.S LAB_18B3E ;18b3a: 6702
+ MOVEQ #3,D6 ;18b3c: 7c03
+LAB_18B3E:
+ MOVE.W #$045e,D0 ;18b3e: 303c045e
+ BRA.S LAB_18B4E ;18b42: 600a
+LAB_18B44:
+ BSR.W LAB_18AA0 ;18b44: 6100ff5a
+ BMI.S LAB_18ACC ;18b48: 6b82
+ MOVE.W #$0404,D0 ;18b4a: 303c0404
+LAB_18B4E:
+ MOVEM.W D0/D3-D4/D6,-(A7) ;18b4e: 48a79a00
+ BSR.S LAB_18B64 ;18b52: 6110
+ MOVEM.W (A7),D0/D3-D4/D6 ;18b54: 4c970059
+ ADDI.W #$0009,D0 ;18b58: 06400009
+ BSR.S LAB_18B64 ;18b5c: 6106
+ MOVEM.W (A7)+,D0/D3-D4/D6 ;18b5e: 4c9f0059
+ RTS ;18b62: 4e75
+LAB_18B64:
+ TST.W D6 ;18b64: 4a46
+ BEQ.W LAB_18D42 ;18b66: 670001da
+ CMP.W #$0002,D6 ;18b6a: bc7c0002
+ BEQ.W LAB_198CC ;18b6e: 67000d5c
+ CMP.W #$0001,D6 ;18b72: bc7c0001
+ BEQ.W LAB_19612 ;18b76: 67000a9a
+ BRA.W LAB_19608 ;18b7a: 60000a8c
+LAB_18B7E:
+ MOVE.W #$01c7,D0 ;18b7e: 303c01c7
+ MOVE.W D4,-(A7) ;18b82: 3f04
+ BSR.W LAB_18D42 ;18b84: 610001bc
+ MOVE.W #$01d0,D0 ;18b88: 303c01d0
+ MOVE.W (A7),D4 ;18b8c: 3817
+ BSR.W LAB_18D42 ;18b8e: 610001b2
+ MOVE.W #$01d9,D0 ;18b92: 303c01d9
+ MOVE.W (A7),D4 ;18b96: 3817
+ BSR.W LAB_18D42 ;18b98: 610001a8
+ MOVE.W #$01e2,D0 ;18b9c: 303c01e2
+ MOVE.W (A7),D4 ;18ba0: 3817
+LAB_18BA2:
+ BSR.W LAB_18D42 ;18ba2: 6100019e
+ MOVE.W (A7)+,D4 ;18ba6: 381f
+ RTS ;18ba8: 4e75
+LAB_18BAA:
+ BSR.S LAB_18B7E ;18baa: 61d2
+ MOVE.W #$04ca,D0 ;18bac: 303c04ca
+ MOVE.W D4,-(A7) ;18bb0: 3f04
+ BRA.S LAB_18BA2 ;18bb2: 60ee
+LAB_18BB4:
+ TST.W $E60(A6) ;18bb4: 4a6e0e60
+ BEQ.W LAB_1943E ;18bb8: 67000884
+ RTS ;18bbc: 4e75
+LAB_18BBE:
+ MOVEM.W D0/D4,-(A7) ;18bbe: 48a78800
+ MOVE.W #$013f,D0 ;18bc2: 303c013f
+ BSR.W LAB_18D62 ;18bc6: 6100019a
+ MOVEM.W (A7)+,D0/D4 ;18bca: 4c9f0011
+ BRA.W LAB_18D3A ;18bce: 6000016a
+LAB_18BD2:
+ MOVEM.W D4,-(A7) ;18bd2: 48a70800
+ BSR.W LAB_18DD0 ;18bd6: 610001f8
+ MOVEM.W (A7),D4 ;18bda: 4c970010
+ BSR.W LAB_18D9C ;18bde: 610001bc
+ MOVEM.W (A7)+,D4 ;18be2: 4c9f0010
+ MOVE.W #$04f5,D0 ;18be6: 303c04f5
+ BRA.W LAB_18D7A ;18bea: 6000018e
+LAB_18BEE:
+ MOVEM.W D0/D4,-(A7) ;18bee: 48a78800
+ MOVE.W #$014b,D0 ;18bf2: 303c014b
+ BSR.W LAB_18D4A ;18bf6: 61000152
+ MOVEM.W (A7)+,D0/D4 ;18bfa: 4c9f0011
+ BRA.W LAB_18D3A ;18bfe: 6000013a
+LAB_18C02:
+ BSR.W LAB_18C64 ;18c02: 61000060
+ MOVEM.W D0/D4,-(A7) ;18c06: 48a78800
+ BSR.W LAB_18DD0 ;18c0a: 610001c4
+ MOVEM.W (A7),D0/D4 ;18c0e: 4c970011
+ BTST #0,$23(A6) ;18c12: 082e00000023
+ BNE.S LAB_18C48 ;18c18: 662e
+ MOVE.W #$0193,D0 ;18c1a: 303c0193
+ BSR.W LAB_18D4A ;18c1e: 6100012a
+ MOVEM.W (A7),D0/D4 ;18c22: 4c970011
+ MOVE.W #$019d,D0 ;18c26: 303c019d
+ BSR.W LAB_18D4A ;18c2a: 6100011e
+ MOVEM.W (A7),D0/D4 ;18c2e: 4c970011
+ MOVE.W #$01a7,D0 ;18c32: 303c01a7
+ BSR.W LAB_18D4A ;18c36: 61000112
+ MOVEM.W (A7),D0/D4 ;18c3a: 4c970011
+ MOVE.W #$01b1,D0 ;18c3e: 303c01b1
+ BSR.W LAB_18D4A ;18c42: 61000106
+ BRA.S LAB_18C5C ;18c46: 6014
+LAB_18C48:
+ MOVE.W #$017f,D0 ;18c48: 303c017f
+ BSR.W LAB_18D4A ;18c4c: 610000fc
+ MOVEM.W (A7),D0/D4 ;18c50: 4c970011
+ MOVE.W #$0189,D0 ;18c54: 303c0189
+ BSR.W LAB_18D4A ;18c58: 610000f0
+LAB_18C5C:
+ MOVEM.W (A7)+,D0/D4 ;18c5c: 4c9f0011
+ BRA.W LAB_18D9C ;18c60: 6000013a
+LAB_18C64:
+ MOVEM.W D0/D4,-(A7) ;18c64: 48a78800
+ BTST #0,$23(A6) ;18c68: 082e00000023
+ BNE.S LAB_18C86 ;18c6e: 6616
+ MOVE.W #$0155,D0 ;18c70: 303c0155
+ BSR.W LAB_18D62 ;18c74: 610000ec
+ MOVEM.W (A7),D0/D4 ;18c78: 4c970011
+ MOVE.W #$0161,D0 ;18c7c: 303c0161
+ BSR.W LAB_18D4A ;18c80: 610000c8
+ BRA.S LAB_18C9A ;18c84: 6014
+LAB_18C86:
+ MOVE.W #$016b,D0 ;18c86: 303c016b
+ BSR.W LAB_18D4A ;18c8a: 610000be
+ MOVEM.W (A7),D0/D4 ;18c8e: 4c970011
+ MOVE.W #$0175,D0 ;18c92: 303c0175
+ BSR.W LAB_18D4A ;18c96: 610000b2
+LAB_18C9A:
+ MOVEM.W (A7)+,D0/D4 ;18c9a: 4c9f0011
+ RTS ;18c9e: 4e75
+LAB_18CA0:
+ BSR.S LAB_18C64 ;18ca0: 61c2
+ BRA.W LAB_18D3A ;18ca2: 60000096
+LAB_18CA6:
+ MOVEM.W D4,-(A7) ;18ca6: 48a70800
+ BSR.W LAB_18DD0 ;18caa: 61000124
+ MOVEM.W (A7),D4 ;18cae: 4c970010
+ MOVE.W #$010c,D0 ;18cb2: 303c010c
+ BTST #3,$E4C(A6) ;18cb6: 082e00030e4c
+ BEQ.S LAB_18CC2 ;18cbc: 6704
+ MOVE.W #$0115,D0 ;18cbe: 303c0115
+LAB_18CC2:
+ BSR.W LAB_18D42 ;18cc2: 6100007e
+ MOVEM.W (A7)+,D4 ;18cc6: 4c9f0010
+ BRA.W LAB_18D9C ;18cca: 600000d0
+LAB_18CCE:
+ TST.W D4 ;18cce: 4a44
+ BEQ.S LAB_18D34 ;18cd0: 6762
+ CMP.B #$32,D0 ;18cd2: b03c0032
+ BHI.S LAB_18CE8 ;18cd6: 6210
+ MOVEM.W D0/D4,-(A7) ;18cd8: 48a78800
+ MOVE.W #$0133,D0 ;18cdc: 303c0133
+ BSR.W LAB_18D62 ;18ce0: 61000080
+ MOVEM.W (A7)+,D0/D4 ;18ce4: 4c9f0011
+LAB_18CE8:
+ BSR.W LAB_18DD0 ;18ce8: 610000e6
+ CMP.B #$30,D0 ;18cec: b03c0030
+ BEQ.S LAB_18D30 ;18cf0: 673e
+ CMP.B #$32,D0 ;18cf2: b03c0032
+ BHI.S LAB_18D08 ;18cf6: 6210
+ MOVEM.W D0/D4,-(A7) ;18cf8: 48a78800
+ MOVE.W #$01f6,D0 ;18cfc: 303c01f6
+ BSR.W LAB_18D42 ;18d00: 61000040
+ MOVEM.W (A7)+,D0/D4 ;18d04: 4c9f0011
+LAB_18D08:
+ CMP.B #$31,D0 ;18d08: b03c0031
+ BLS.S LAB_18D30 ;18d0c: 6322
+ MOVEM.W D0/D4,-(A7) ;18d0e: 48a78800
+ MOVE.W #$01bb,D0 ;18d12: 303c01bb
+ BSR.W LAB_18D62 ;18d16: 6100004a
+ MOVEM.W (A7),D0/D4 ;18d1a: 4c970011
+ CMP.B #$33,D0 ;18d1e: b03c0033
+ BEQ.S LAB_18D2C ;18d22: 6708
+ MOVE.W #$01ed,D0 ;18d24: 303c01ed
+ BSR.W LAB_18D42 ;18d28: 61000018
+LAB_18D2C:
+ MOVEM.W (A7)+,D0/D4 ;18d2c: 4c9f0011
+LAB_18D30:
+ BRA.W LAB_18D9C ;18d30: 6000006a
+LAB_18D34:
+ BSR.W LAB_18DD0 ;18d34: 6100009a
+ BRA.S LAB_18D30 ;18d38: 60f6
+LAB_18D3A:
+ BSR.W LAB_18DC8 ;18d3a: 6100008c
+ BRA.W LAB_18D94 ;18d3e: 60000054
+LAB_18D42:
+ CMP.W #$000a,D4 ;18d42: b87c000a
+ BHI.W LAB_194CA ;18d46: 62000782
+LAB_18D4A:
+ CMP.W #$000b,D4 ;18d4a: b87c000b
+ BEQ.W LAB_194CA ;18d4e: 6700077a
+ CMP.W #$000d,D4 ;18d52: b87c000d
+ BEQ.W LAB_194CA ;18d56: 67000772
+ CMP.W #$000c,D4 ;18d5a: b87c000c
+ BNE.S LAB_18D62 ;18d5e: 6602
+ SUBQ.W #1,D4 ;18d60: 5344
+LAB_18D62:
+ TST.W D4 ;18d62: 4a44
+ BEQ.W LAB_194CA ;18d64: 67000764
+ CMP.W #$0004,D4 ;18d68: b87c0004
+ BEQ.W LAB_194CA ;18d6c: 6700075c
+ BLS.S LAB_18D74 ;18d70: 6302
+ SUBQ.W #1,D4 ;18d72: 5344
+LAB_18D74:
+ ADD.W D4,D0 ;18d74: d044
+ BRA.W LAB_198CC ;18d76: 60000b54
+LAB_18D7A:
+ TST.W D4 ;18d7a: 4a44
+ BEQ.W LAB_194CA ;18d7c: 6700074c
+ CMP.W #$0004,D4 ;18d80: b87c0004
+ BEQ.W LAB_194CA ;18d84: 67000744
+ BLS.S LAB_18D8C ;18d88: 6302
+ SUBQ.W #1,D4 ;18d8a: 5344
+LAB_18D8C:
+ ADD.W D4,D0 ;18d8c: d044
+ BRA.W LAB_199E4 ;18d8e: 60000c54
+LAB_18D92:
+ BSR.S LAB_18DC8 ;18d92: 6134
+LAB_18D94:
+ BTST #0,$7E(A6) ;18d94: 082e0000007e
+ BEQ.S LAB_18DA8 ;18d9a: 670c
+LAB_18D9C:
+ MOVEM.L D0/D4/A0,-(A7) ;18d9c: 48e78880
+ BSR.W LAB_1B070 ;18da0: 610022ce
+ MOVEM.L (A7)+,D0/D4/A0 ;18da4: 4cdf0111
+LAB_18DA8:
+ TST.B $7E(A6) ;18da8: 4a2e007e
+ BPL.S LAB_18DBA ;18dac: 6a0c
+ MOVEM.L D0/D4/A0,-(A7) ;18dae: 48e78880
+ BSR.W LAB_1ADE2 ;18db2: 6100202e
+ MOVEM.L (A7)+,D0/D4/A0 ;18db6: 4cdf0111
+LAB_18DBA:
+ MOVEM.L D0/D4/A0,-(A7) ;18dba: 48e78880
+ BSR.W LAB_1D644 ;18dbe: 61004884
+ MOVEM.L (A7)+,D0/D4/A0 ;18dc2: 4cdf0111
+ RTS ;18dc6: 4e75
+LAB_18DC8:
+ BTST #0,$7E(A6) ;18dc8: 082e0000007e
+ BEQ.S LAB_18DE0 ;18dce: 6710
+LAB_18DD0:
+ MOVEM.L D0/D4/A0,-(A7) ;18dd0: 48e78880
+ BSR.W LAB_1ACBA ;18dd4: 61001ee4
+ BSR.W LAB_1B032 ;18dd8: 61002258
+ MOVEM.L (A7)+,D0/D4/A0 ;18ddc: 4cdf0111
+LAB_18DE0:
+ TST.B $7E(A6) ;18de0: 4a2e007e
+ BPL.S LAB_18E08 ;18de4: 6a22
+ MOVEM.L D0/D4/A0,-(A7) ;18de6: 48e78880
+ BSR.W SUB_1B2D6 ;18dea: 610024ea
+ CLR.W $F76(A6) ;18dee: 426e0f76
+ SUBQ.W #4,A3 ;18df2: 594b
+ CMPA.L $276(A6),A3 ;18df4: b7ee0276
+ BNE.S LAB_18E00 ;18df8: 6606
+ MOVE.W $28C(A6),$F76(A6) ;18dfa: 3d6e028c0f76
+LAB_18E00:
+ BSR.W LAB_1AD66 ;18e00: 61001f64
+ MOVEM.L (A7)+,D0/D4/A0 ;18e04: 4cdf0111
+LAB_18E08:
+ RTS ;18e08: 4e75
+LAB_18E0A:
+ MOVE.W D4,-(A7) ;18e0a: 3f04
+ MOVEQ #$52,D1 ;18e0c: 7252
+ BSR.W LAB_18FE8 ;18e0e: 610001d8
+ BSR.S LAB_18DC8 ;18e12: 61b4
+ MOVE.W (A7),D4 ;18e14: 3817
+ MOVE.W #$0129,D0 ;18e16: 303c0129
+ BSR.W LAB_18D4A ;18e1a: 6100ff2e
+ MOVE.W (A7)+,D4 ;18e1e: 381f
+ BRA.W LAB_18D94 ;18e20: 6000ff72
+LAB_18E24:
+ MOVE.W D4,-(A7) ;18e24: 3f04
+ MOVEQ #$52,D1 ;18e26: 7252
+ BSR.W LAB_18FE8 ;18e28: 610001be
+ BSR.S LAB_18DD0 ;18e2c: 61a2
+ MOVEQ #$6D,D0 ;18e2e: 706d
+ BSR.W LAB_18D42 ;18e30: 6100ff10
+ MOVE.W (A7),D4 ;18e34: 3817
+ MOVE.W #$00ac,D0 ;18e36: 303c00ac
+ BSR.W LAB_18D42 ;18e3a: 6100ff06
+ MOVE.W (A7)+,D4 ;18e3e: 381f
+ BRA.W LAB_18D9C ;18e40: 6000ff5a
+LAB_18E44:
+ MOVE.W D4,-(A7) ;18e44: 3f04
+ BSR.S LAB_18DD0 ;18e46: 6188
+ MOVEQ #$76,D0 ;18e48: 7076
+ BSR.W LAB_18D42 ;18e4a: 6100fef6
+ MOVE.W (A7),D4 ;18e4e: 3817
+ MOVE.W #$00b5,D0 ;18e50: 303c00b5
+ BSR.W LAB_18D42 ;18e54: 6100feec
+ MOVE.W (A7),D4 ;18e58: 3817
+ MOVE.W #$007f,D0 ;18e5a: 303c007f
+ BSR.W LAB_18D42 ;18e5e: 6100fee2
+ MOVE.W (A7),D4 ;18e62: 3817
+ MOVE.W #$00be,D0 ;18e64: 303c00be
+ BSR.W LAB_18D42 ;18e68: 6100fed8
+ MOVE.W (A7)+,D4 ;18e6c: 381f
+ BRA.W LAB_18D9C ;18e6e: 6000ff2c
+LAB_18E72:
+ MOVE.W D4,-(A7) ;18e72: 3f04
+ BSR.W LAB_18DD0 ;18e74: 6100ff5a
+ MOVE.W #$0088,D0 ;18e78: 303c0088
+ BSR.W LAB_18D42 ;18e7c: 6100fec4
+ MOVE.W (A7),D4 ;18e80: 3817
+ MOVE.W #$00c7,D0 ;18e82: 303c00c7
+ BSR.W LAB_18D42 ;18e86: 6100feba
+ MOVE.W (A7),D4 ;18e8a: 3817
+ MOVE.W #$0091,D0 ;18e8c: 303c0091
+ BSR.W LAB_18D42 ;18e90: 6100feb0
+ MOVE.W (A7),D4 ;18e94: 3817
+ MOVE.W #$00d0,D0 ;18e96: 303c00d0
+ BSR.W LAB_18D42 ;18e9a: 6100fea6
+ MOVE.W (A7),D4 ;18e9e: 3817
+ MOVE.W #$009a,D0 ;18ea0: 303c009a
+ BSR.W LAB_18D42 ;18ea4: 6100fe9c
+ MOVE.W (A7),D4 ;18ea8: 3817
+ MOVE.W #$00d9,D0 ;18eaa: 303c00d9
+ BSR.W LAB_18D42 ;18eae: 6100fe92
+ MOVE.W (A7),D4 ;18eb2: 3817
+ MOVE.W #$00a3,D0 ;18eb4: 303c00a3
+ BSR.W LAB_18D42 ;18eb8: 6100fe88
+ MOVE.W (A7),D4 ;18ebc: 3817
+ MOVE.W #$00e2,D0 ;18ebe: 303c00e2
+ BSR.W LAB_18D42 ;18ec2: 6100fe7e
+ MOVE.W (A7)+,D4 ;18ec6: 381f
+ BRA.W LAB_18D9C ;18ec8: 6000fed2
+LAB_18ECC:
+ MOVE.W D4,-(A7) ;18ecc: 3f04
+ BSR.W LAB_18DD0 ;18ece: 6100ff00
+ MOVE.W #$00eb,D0 ;18ed2: 303c00eb
+ BSR.W LAB_18D62 ;18ed6: 6100fe8a
+ MOVE.W (A7),D4 ;18eda: 3817
+ MOVE.W #$00f7,D0 ;18edc: 303c00f7
+ BSR.W LAB_18D62 ;18ee0: 6100fe80
+ MOVE.W (A7),D4 ;18ee4: 3817
+ MOVE.W #$0103,D0 ;18ee6: 303c0103
+ BSR.W LAB_18D42 ;18eea: 6100fe56
+ MOVE.W (A7)+,D4 ;18eee: 381f
+ BRA.W LAB_18D9C ;18ef0: 6000feaa
+LAB_18EF4:
+ MOVEQ #$52,D1 ;18ef4: 7252
+ BSR.W LAB_18FE8 ;18ef6: 610000f0
+ BRA.W LAB_18D3A ;18efa: 6000fe3e
+LAB_18EFE:
+ MOVE.W D4,-(A7) ;18efe: 3f04
+ BSR.W LAB_18DD0 ;18f00: 6100fece
+ BSR.S LAB_18F40 ;18f04: 613a
+ MOVE.W (A7),D4 ;18f06: 3817
+ CMPI.B #$6e,$7E(A6) ;18f08: 0c2e006e007e
+ BEQ.S LAB_18F28 ;18f0e: 6718
+ MOVE.W #$03e0,D0 ;18f10: 303c03e0
+ BSR.W LAB_18D42 ;18f14: 6100fe2c
+ MOVE.W (A7),D4 ;18f18: 3817
+ MOVE.W #$03e9,D0 ;18f1a: 303c03e9
+ BSR.W LAB_18D42 ;18f1e: 6100fe22
+ MOVE.W (A7)+,D4 ;18f22: 381f
+ BRA.W LAB_18D9C ;18f24: 6000fe76
+LAB_18F28:
+ MOVE.W #$03f2,D0 ;18f28: 303c03f2
+ BSR.W LAB_18D42 ;18f2c: 6100fe14
+ MOVE.W (A7),D4 ;18f30: 3817
+ MOVE.W #$03fb,D0 ;18f32: 303c03fb
+ BSR.W LAB_18D42 ;18f36: 6100fe0a
+ MOVE.W (A7)+,D4 ;18f3a: 381f
+ BRA.W LAB_18D9C ;18f3c: 6000fe5e
+LAB_18F40:
+ MOVE.W 4(A7),D4 ;18f40: 382f0004
+ MOVE.W #$03ce,D0 ;18f44: 303c03ce
+ BSR.W LAB_18D42 ;18f48: 6100fdf8
+ MOVE.W 4(A7),D4 ;18f4c: 382f0004
+ MOVE.W #$03d7,D0 ;18f50: 303c03d7
+ BRA.W LAB_18D42 ;18f54: 6000fdec
+LAB_18F58:
+ MOVE.W D4,$C42(A6) ;18f58: 3d440c42
+ MOVEQ #$36,D1 ;18f5c: 7236
+ BSR.S LAB_18FC8 ;18f5e: 6168
+ MOVE.W D4,-(A7) ;18f60: 3f04
+ BSR.W LAB_18DD0 ;18f62: 6100fe6c
+ MOVE.W (A7),D4 ;18f66: 3817
+ CLR.W $36(A6) ;18f68: 426e0036
+ TST.B $E4D(A6) ;18f6c: 4a2e0e4d
+ BPL.S LAB_18F78 ;18f70: 6a06
+ MOVE.B #$28,$36(A6) ;18f72: 1d7c00280036
+LAB_18F78:
+ MOVE.W #$011e,D0 ;18f78: 303c011e
+ BSR.W LAB_18D42 ;18f7c: 6100fdc4
+ MOVE.W (A7),D4 ;18f80: 3817
+ CMP.W #$000c,D4 ;18f82: b87c000c
+ BNE.S LAB_18F98 ;18f86: 6610
+ MOVE.W #$0129,D0 ;18f88: 303c0129
+ BSR.W LAB_198CC ;18f8c: 6100093e
+ MOVE.W #$0128,D0 ;18f90: 303c0128
+ BSR.W LAB_198CC ;18f94: 61000936
+LAB_18F98:
+ CLR.W $36(A6) ;18f98: 426e0036
+ MOVE.W (A7)+,D4 ;18f9c: 381f
+ BSR.W LAB_18D9C ;18f9e: 6100fdfc
+ CLR.W $C42(A6) ;18fa2: 426e0c42
+ RTS ;18fa6: 4e75
+LAB_18FA8:
+ MOVE.W D4,$C42(A6) ;18fa8: 3d440c42
+ BSR.W LAB_18D92 ;18fac: 6100fde4
+ CLR.W $C42(A6) ;18fb0: 426e0c42
+ RTS ;18fb4: 4e75
+LAB_18FB6:
+ MOVEQ #$36,D1 ;18fb6: 7236
+ BSR.S LAB_18FC8 ;18fb8: 610e
+ MOVE.W D4,$C42(A6) ;18fba: 3d440c42
+ BSR.W LAB_18D3A ;18fbe: 6100fd7a
+ CLR.W $C42(A6) ;18fc2: 426e0c42
+ RTS ;18fc6: 4e75
+LAB_18FC8:
+ MOVE.W D4,-(A7) ;18fc8: 3f04
+ MOVE.W D4,D0 ;18fca: 3004
+ ADD.W D0,D0 ;18fcc: d040
+ ANDI.W #$0007,D5 ;18fce: 02450007
+ SUB.W $32(A6),D5 ;18fd2: 9a6e0032
+ ANDI.W #$0004,D5 ;18fd6: 02450004
+ BEQ.S LAB_18FDE ;18fda: 6702
+ ADDQ.W #1,D0 ;18fdc: 5240
+LAB_18FDE:
+ ADD.W D1,D0 ;18fde: d041
+ BSR.W LAB_198CC ;18fe0: 610008ea
+ MOVE.W (A7)+,D4 ;18fe4: 381f
+ RTS ;18fe6: 4e75
+LAB_18FE8:
+ MOVE.W D4,-(A7) ;18fe8: 3f04
+ MOVE.W D4,D0 ;18fea: 3004
+ ADD.W D0,D0 ;18fec: d040
+ ANDI.W #$0007,D5 ;18fee: 02450007
+ SUB.W $2E(A6),D5 ;18ff2: 9a6e002e
+ ANDI.W #$0001,D5 ;18ff6: 02450001
+ BEQ.S LAB_18FFE ;18ffa: 6702
+ ADDQ.W #1,D0 ;18ffc: 5240
+LAB_18FFE:
+ ADD.W D1,D0 ;18ffe: d041
+ BSR.W LAB_198CC ;19000: 610008ca
+ MOVE.W (A7)+,D4 ;19004: 381f
+ RTS ;19006: 4e75
+LAB_19008:
+ MOVEM.L D0/D4-D5/A0,-(A7) ;19008: 48e78c80
+ BSR.W SUB_1A7E2 ;1900c: 610017d4
+ BMI.S LAB_1904E ;19010: 6b3c
+ MOVEM.L (A7)+,D0/D4-D5/A0 ;19012: 4cdf0131
+ MOVE.B 2(A2),D1 ;19016: 122a0002
+ CMP.B #$02,D1 ;1901a: b23c0002
+ BHI.S LAB_19066 ;1901e: 6246
+ CMP.B #$00,D1 ;19020: b23c0000
+ BEQ.S LAB_19044 ;19024: 671e
+ CMP.B #$01,D1 ;19026: b23c0001
+ BEQ.S LAB_1903C ;1902a: 6710
+ MOVE.B #$58,$36(A6) ;1902c: 1d7c00580036
+LAB_19032:
+ BSR.W LAB_1943E ;19032: 6100040a
+ CLR.W $36(A6) ;19036: 426e0036
+ RTS ;1903a: 4e75
+LAB_1903C:
+ MOVE.B #$38,$36(A6) ;1903c: 1d7c00380036
+ BRA.S LAB_19032 ;19042: 60ee
+LAB_19044:
+ MOVEM.L D0/D4-D5/A0,-(A7) ;19044: 48e78c80
+ MOVE.B #$18,$36(A6) ;19048: 1d7c00180036
+LAB_1904E:
+ MOVEM.L (A7),D0/D4-D5/A0 ;1904e: 4cd70131
+ BSR.W LAB_1943E ;19052: 610003ea
+ MOVE.W #$0386,D1 ;19056: 323c0386
+ MOVEM.L (A7)+,D0/D4-D5/A0 ;1905a: 4cdf0131
+ BSR.W LAB_190F4 ;1905e: 61000094
+ CLR.W $36(A6) ;19062: 426e0036
+LAB_19066:
+ RTS ;19066: 4e75
+LAB_19068:
+ MOVE.L A0,-(A7) ;19068: 2f08
+ BSR.W LAB_1943E ;1906a: 610003d2
+ MOVE.W #$04e5,D1 ;1906e: 323c04e5
+ BRA.S LAB_19094 ;19072: 6020
+LAB_19074:
+ MOVE.L A0,-(A7) ;19074: 2f08
+ TST.W $6C(A6) ;19076: 4a6e006c
+ BEQ.S LAB_19088 ;1907a: 670c
+ CMPI.B #$08,(A0) ;1907c: 0c100008
+ BNE.S LAB_19088 ;19080: 6606
+ MOVE.B #$98,$36(A6) ;19082: 1d7c00980036
+LAB_19088:
+ BSR.W LAB_1943E ;19088: 610003b4
+ CLR.W $36(A6) ;1908c: 426e0036
+ MOVE.W #$04d4,D1 ;19090: 323c04d4
+LAB_19094:
+ MOVEA.L (A7)+,A0 ;19094: 205f
+ CLR.W D0 ;19096: 4240
+ MOVE.B (A0),D0 ;19098: 1010
+ CMP.W #$0010,D0 ;1909a: b07c0010
+ BGT.S LAB_190A6 ;1909e: 6e06
+ ADD.W D1,D0 ;190a0: d041
+ BRA.W LAB_198CC ;190a2: 60000828
+LAB_190A6:
+ RTS ;190a6: 4e75
+LAB_190A8:
+ MOVEM.L D0/A0,-(A7) ;190a8: 48e78080
+ BSR.W LAB_1943E ;190ac: 61000390
+ MOVE.W #$0268,D1 ;190b0: 323c0268
+ MOVEM.L (A7)+,D0/A0 ;190b4: 4cdf0101
+ BRA.S LAB_190F4 ;190b8: 603a
+LAB_190BA:
+ CMPI.B #$0c,(A0) ;190ba: 0c10000c
+ BNE.S LAB_190C4 ;190be: 6604
+ BSR.W LAB_195B0 ;190c0: 610004ee
+LAB_190C4:
+ MOVEM.L D0/A0,-(A7) ;190c4: 48e78080
+ BSR.W LAB_1943E ;190c8: 61000374
+ MOVEM.L (A7),D0/A0 ;190cc: 4cd70101
+ CMPI.B #$0c,(A0) ;190d0: 0c10000c
+ BNE.S LAB_190DE ;190d4: 6608
+ BSR.W LAB_195DC ;190d6: 61000504
+ MOVEM.L (A7),D0/A0 ;190da: 4cd70101
+LAB_190DE:
+ MOVE.W #$0275,D1 ;190de: 323c0275
+ BSR.S LAB_190F4 ;190e2: 6110
+ MOVEM.L (A7),D0/A0 ;190e4: 4cd70101
+ MOVE.W #$0282,D1 ;190e8: 323c0282
+ BSR.S LAB_190F4 ;190ec: 6106
+ MOVEM.L (A7)+,D0/A0 ;190ee: 4cdf0101
+ RTS ;190f2: 4e75
+LAB_190F4:
+ CLR.W D0 ;190f4: 4240
+ MOVE.B (A0),D0 ;190f6: 1010
+ CMP.W #$000c,D0 ;190f8: b07c000c
+ BGT.S LAB_19104 ;190fc: 6e06
+ ADD.W D1,D0 ;190fe: d041
+ BRA.W LAB_198CC ;19100: 600007ca
+LAB_19104:
+ RTS ;19104: 4e75
+LAB_19106:
+ DC.L $00010607,$08020309,$0a0b0405,$0cffffff ;19106
+LAB_19116:
+ DC.L $00001010,$10000008,$08080000 ;19116
+ DS.L 1 ;19122
+LAB_19126:
+ DC.L $00030201 ;19126
+LAB_1912A:
+ MOVEM.L D0/A0,-(A7) ;1912a: 48e78080
+ BSR.W LAB_1943E ;1912e: 6100030e
+ MOVEM.L (A7)+,D2/A0 ;19132: 4cdf0104
+ CLR.W D1 ;19136: 4241
+ MOVE.B (A0),D1 ;19138: 1210
+ ANDI.W #$007f,D1 ;1913a: 0241007f
+ CMP.B #$0c,D1 ;1913e: b23c000c
+ BHI.S LAB_191C0 ;19142: 627c
+ CLR.W D0 ;19144: 4240
+ MOVE.B LAB_19106(PC,D1.W),D0 ;19146: 103b10be
+ BMI.S LAB_191C0 ;1914a: 6b74
+ MOVE.W D0,$C04(A6) ;1914c: 3d400c04
+ MOVE.B LAB_19116(PC,D1.W),$C06(A6) ;19150: 1d7b10c40c06
+ CLR.W D3 ;19156: 4243
+ MOVE.B -1(A0),D3 ;19158: 1628ffff
+ MOVE.B LAB_19126(PC,D3.W),D3 ;1915c: 163b30c8
+ MOVE.W D2,D5 ;19160: 3a02
+ ANDI.W #$007f,D2 ;19162: 0242007f
+ SUBI.W #$0012,D2 ;19166: 04420012
+ SUB.W D3,D2 ;1916a: 9443
+ SUB.W $22(A6),D2 ;1916c: 946e0022
+ ANDI.W #$0003,D2 ;19170: 02420003
+ BNE.S LAB_191C0 ;19174: 664a
+ BTST #2,D5 ;19176: 08050002
+ BEQ.W LAB_19212 ;1917a: 67000096
+ CLR.W D3 ;1917e: 4243
+ MOVE.B (A0),D3 ;19180: 1610
+ MOVE.B LAB_19190(PC,D3.W),$BB0(A6) ;19182: 1d7b300c0bb0
+ MOVE.B LAB_191A0(PC,D3.W),$BB1(A6) ;19188: 1d7b30160bb1
+ BRA.S LAB_191B0 ;1918e: 6020
+LAB_19190:
+ DC.L $00000408,$0c000010,$14180000,$1c000000 ;19190
+LAB_191A0:
+ DS.L 1 ;191a0
+ DC.L $00000002,$02020000,$04000000 ;191a4
+LAB_191B0:
+ MOVE.W D0,-(A7) ;191b0: 3f00
+ ADDI.W #$03a0,D0 ;191b2: 064003a0
+ BSR.W LAB_198CC ;191b6: 61000714
+ MOVE.W (A7)+,D0 ;191ba: 301f
+ SUBQ.W #6,D0 ;191bc: 5d40
+ BPL.S LAB_191C2 ;191be: 6a02
+LAB_191C0:
+ RTS ;191c0: 4e75
+LAB_191C2:
+ MOVE.W D0,-(A7) ;191c2: 3f00
+ ADDI.W #$03ad,D0 ;191c4: 064003ad
+ BSR.W LAB_198CC ;191c8: 61000702
+ MOVE.W (A7)+,D0 ;191cc: 301f
+ BSR.W LAB_1ACBA ;191ce: 61001aea
+ BSR.W LAB_1AD0C ;191d2: 61001b38
+ BSR.W SUB_1A7DC ;191d6: 61001604
+ BMI.S LAB_191C0 ;191da: 6be4
+ MOVE.B 2(A2),D3 ;191dc: 162a0002
+ CMP.B #$01,D3 ;191e0: b63c0001
+ BHI.S LAB_191C0 ;191e4: 62da
+ ADD.W D3,D3 ;191e6: d643
+ ANDI.W #$0006,D3 ;191e8: 02430006
+ MOVE.W $C04(A6),D0 ;191ec: 302e0c04
+ ADDI.W #$03b4,D0 ;191f0: 064003b4
+ CLR.W D4 ;191f4: 4244
+ MOVE.B $C06(A6),D4 ;191f6: 182e0c06
+ ADD.W D4,D3 ;191fa: d644
+ MOVEQ #1,D4 ;191fc: 7801
+ MOVEM.W D0/D3,-(A7) ;191fe: 48a79000
+ BSR.W LAB_1962E ;19202: 6100042a
+ MOVEM.W (A7)+,D0/D3 ;19206: 4c9f0009
+ ADDQ.W #7,D0 ;1920a: 5e40
+ BRA.W LAB_1962E ;1920c: 60000420
+ RTS ;19210: 4e75
+LAB_19212:
+ ADDI.W #$03b4,D0 ;19212: 064003b4
+ MOVE.W D0,-(A7) ;19216: 3f00
+ BSR.W LAB_198CC ;19218: 610006b2
+ MOVE.W (A7)+,D0 ;1921c: 301f
+ CMP.W #$03b9,D0 ;1921e: b07c03b9
+ BLS.S LAB_1922A ;19222: 6306
+ ADDQ.W #7,D0 ;19224: 5e40
+ BRA.W LAB_198CC ;19226: 600006a4
+LAB_1922A:
+ RTS ;1922a: 4e75
+LAB_1922C:
+ MOVE.W D4,D3 ;1922c: 3604
+ LEA LAB_1953E(PC),A2 ;1922e: 45fa030e
+ ADD.W D3,D3 ;19232: d643
+ MOVE.W $56(A2,D3.W),D6 ;19234: 3c323056
+ ANDI.W #$0003,D0 ;19238: 02400003
+ ADDQ.W #1,D0 ;1923c: 5240
+ MOVE.W $22(A6),D2 ;1923e: 342e0022
+ ANDI.W #$0003,D2 ;19242: 02420003
+ BEQ.S LAB_19256 ;19246: 670e
+ SUBQ.W #1,D2 ;19248: 5342
+ BEQ.S LAB_192B0 ;1924a: 6764
+ SUBQ.W #1,D2 ;1924c: 5342
+ BEQ.S LAB_19292 ;1924e: 6742
+ SUBQ.W #1,D2 ;19250: 5342
+ BEQ.S LAB_19276 ;19252: 6722
+ RTS ;19254: 4e75
+LAB_19256:
+ BTST #0,D0 ;19256: 08000000
+ BEQ.S LAB_19260 ;1925a: 6704
+ BSR.W LAB_192E4 ;1925c: 61000086
+LAB_19260:
+ BTST #1,D0 ;19260: 08000001
+ BEQ.S LAB_1926C ;19264: 6706
+ TST.W D6 ;19266: 4a46
+ BEQ.S LAB_19270 ;19268: 6706
+ BSR.S LAB_192CC ;1926a: 6160
+LAB_1926C:
+ BRA.W LAB_192FC ;1926c: 6000008e
+LAB_19270:
+ BSR.W LAB_192FC ;19270: 6100008a
+ BRA.S LAB_192CC ;19274: 6056
+LAB_19276:
+ BTST #1,D0 ;19276: 08000001
+ BEQ.S LAB_1927E ;1927a: 6702
+ BSR.S LAB_192E4 ;1927c: 6166
+LAB_1927E:
+ BTST #0,D0 ;1927e: 08000000
+ BEQ.S LAB_1928C ;19282: 6708
+ CMP.W #$0002,D6 ;19284: bc7c0002
+ BEQ.S LAB_1928E ;19288: 6704
+ BSR.S LAB_192D4 ;1928a: 6148
+LAB_1928C:
+ BRA.S LAB_192FC ;1928c: 606e
+LAB_1928E:
+ BSR.S LAB_192FC ;1928e: 616c
+ BRA.S LAB_192D4 ;19290: 6042
+LAB_19292:
+ BTST #1,D0 ;19292: 08000001
+ BEQ.S LAB_192A0 ;19296: 6708
+ CMP.W #$0002,D6 ;19298: bc7c0002
+ BEQ.S LAB_192A4 ;1929c: 6706
+ BSR.S LAB_192D4 ;1929e: 6134
+LAB_192A0:
+ BSR.S LAB_192FC ;192a0: 615a
+ BRA.S LAB_192A8 ;192a2: 6004
+LAB_192A4:
+ BSR.S LAB_192FC ;192a4: 6156
+ BSR.S LAB_192D4 ;192a6: 612c
+LAB_192A8:
+ BTST #0,D0 ;192a8: 08000000
+ BNE.S LAB_192DC ;192ac: 662e
+ RTS ;192ae: 4e75
+LAB_192B0:
+ BTST #0,D0 ;192b0: 08000000
+ BEQ.S LAB_192BC ;192b4: 6706
+ TST.W D6 ;192b6: 4a46
+ BEQ.S LAB_192C0 ;192b8: 6706
+ BSR.S LAB_192CC ;192ba: 6110
+LAB_192BC:
+ BSR.S LAB_192FC ;192bc: 613e
+ BRA.S LAB_192C4 ;192be: 6004
+LAB_192C0:
+ BSR.S LAB_192FC ;192c0: 613a
+ BSR.S LAB_192CC ;192c2: 6108
+LAB_192C4:
+ BTST #1,D0 ;192c4: 08000001
+ BNE.S LAB_192DC ;192c8: 6612
+ RTS ;192ca: 4e75
+LAB_192CC:
+ MOVEQ #1,D5 ;192cc: 7a01
+ MOVE.W 2(A2,D3.W),D7 ;192ce: 3e323002
+ BRA.S LAB_192EA ;192d2: 6016
+LAB_192D4:
+ MOVEQ #3,D5 ;192d4: 7a03
+ MOVE.W 0(A2,D3.W),D7 ;192d6: 3e323000
+ BRA.S LAB_192EA ;192da: 600e
+LAB_192DC:
+ MOVEQ #2,D5 ;192dc: 7a02
+ MOVE.W $3A(A2,D3.W),D7 ;192de: 3e32303a
+ BRA.S LAB_192EA ;192e2: 6006
+LAB_192E4:
+ MOVEQ #2,D5 ;192e4: 7a02
+ MOVE.W $1E(A2,D3.W),D7 ;192e6: 3e32301e
+LAB_192EA:
+ BMI.S LAB_192FA ;192ea: 6b0e
+ MOVEM.L D0/D3-D4/D6/A0-A2,-(A7) ;192ec: 48e79ae0
+ MOVE.W D7,D4 ;192f0: 3807
+ BSR.W LAB_1941E+4 ;192f2: 6100012e
+ MOVEM.L (A7)+,D0/D3-D4/D6/A0-A2 ;192f6: 4cdf0759
+LAB_192FA:
+ RTS ;192fa: 4e75
+LAB_192FC:
+ MOVEM.L D0/D3-D4/D6/A0-A2,-(A7) ;192fc: 48e79ae0
+ BSR.W LAB_18DD0 ;19300: 6100face
+ BSR.W LAB_18D9C ;19304: 6100fa96
+ MOVEM.L (A7)+,D0/D3-D4/D6/A0-A2 ;19308: 4cdf0759
+ RTS ;1930c: 4e75
+LAB_1930E:
+ MOVEM.L D0/A0,-(A7) ;1930e: 48e78080
+ BSR.W LAB_1943E ;19312: 6100012a
+ MOVEM.L (A7)+,D1/A0 ;19316: 4cdf0102
+ CLR.W D0 ;1931a: 4240
+ MOVE.B (A0),D0 ;1931c: 1010
+ CMP.W #$000c,D0 ;1931e: b07c000c
+ BHI.W LAB_193A8 ;19322: 62000084
+ MOVE.B -(A0),D2 ;19326: 1420
+ SUB.W $22(A6),D2 ;19328: 946e0022
+ ANDI.W #$0003,D2 ;1932c: 02420003
+ BTST D2,D1 ;19330: 0501
+ BEQ.S LAB_193A8 ;19332: 6774
+ CLR.W D2 ;19334: 4242
+ MOVE.B $238(A6),D2 ;19336: 142e0238
+ MOVE.W $44(A6),D1 ;1933a: 322e0044
+ CMP.W $236(A6),D1 ;1933e: b26e0236
+ BEQ.S LAB_19364 ;19342: 6720
+ MOVEA.L $B46(A6),A2 ;19344: 246e0b46
+ MOVEA.L A2,A3 ;19348: 264a
+LAB_1934A:
+ TST.W (A2) ;1934a: 4a52
+ BEQ.S LAB_19356 ;1934c: 6708
+ CMP.W (A2)+,D1 ;1934e: b25a
+ BEQ.S LAB_1935A ;19350: 6708
+ ADDQ.L #2,A2 ;19352: 548a
+ BRA.S LAB_1934A ;19354: 60f4
+LAB_19356:
+ MOVEQ #1,D7 ;19356: 7e01
+ RTS ;19358: 4e75
+LAB_1935A:
+ MOVE.W D1,$236(A6) ;1935a: 3d410236
+ MOVE.B (A2),D2 ;1935e: 1412
+ MOVE.B D2,$238(A6) ;19360: 1d420238
+LAB_19364:
+ ASL.W #2,D2 ;19364: e542
+ MOVEM.W D0/D2,-(A7) ;19366: 48a7a000
+ BSR.W LAB_1937A ;1936a: 6100000e
+ MOVEM.W (A7)+,D0/D2 ;1936e: 4c9f0005
+ ADDQ.W #2,D2 ;19372: 5442
+ MOVE.W LAB_193AA(PC,D2.W),D3 ;19374: 363b2034
+ BEQ.S LAB_193A8 ;19378: 672e
+LAB_1937A:
+ ADD.W LAB_193AA(PC,D2.W),D0 ;1937a: d07b202e
+ CMP.W #$0010,D2 ;1937e: b47c0010
+ BEQ.S LAB_1939A ;19382: 6716
+ CMP.W #$0014,D2 ;19384: b47c0014
+ BNE.W LAB_198CC ;19388: 66000542
+ MOVEA.L #LAB_1107A,A0 ;1938c: 207c0001107a
+ MOVE.W #$001e,(A0) ;19392: 30bc001e
+ BRA.W LAB_198CC ;19396: 60000534
+LAB_1939A:
+ MOVEA.L #LAB_1107A,A0 ;1939a: 207c0001107a
+ MOVE.W #$02c6,(A0) ;193a0: 30bc02c6
+ BRA.W LAB_198CC ;193a4: 60000526
+LAB_193A8:
+ RTS ;193a8: 4e75
+LAB_193AA:
+ DC.L $03790000,$03790000,$020d0000,$021a0000 ;193aa
+ DC.L $02000000,$02000000,$02410000,$024e0000 ;193ba
+ DC.L $02340000,$02270000,$032b0000,$03380000 ;193ca
+ DC.L $03450000,$03520000,$035f0000,$036c0000 ;193da
+ DC.L $025b0000,$028f029c,$02c30000,$02d00000 ;193ea
+ DC.L $02b60000,$02b602c3,$02b602d0,$02dd0000 ;193fa
+ DC.L $02ea0000,$02f70000,$03040000,$03110000 ;1940a
+ DC.L $031e0000 ;1941a
+LAB_1941E:
+ ANDI.L #$00003004,$6700(A1) ;1941e: 02a9000030046700
+ ORI.L #$ba7c0001,-(A4) ;19426: 00a4ba7c0001
+ BEQ.S LAB_19474 ;1942c: 6746
+ CMP.W #$0003,D5 ;1942e: ba7c0003
+ BEQ.S LAB_1949E ;19432: 676a
+ CMP.W #$0002,D5 ;19434: ba7c0002
+ BEQ.W LAB_194BC ;19438: 67000082
+ RTS ;1943c: 4e75
+LAB_1943E:
+ MOVE.W D4,D0 ;1943e: 3004
+ BEQ.W LAB_194CA ;19440: 67000088
+ CMP.W #$0001,D5 ;19444: ba7c0001
+ BEQ.S LAB_19458 ;19448: 670e
+ CMP.W #$0003,D5 ;1944a: ba7c0003
+ BEQ.S LAB_19482 ;1944e: 6732
+ CMP.W #$0002,D5 ;19450: ba7c0002
+ BEQ.S LAB_194AE ;19454: 6758
+ RTS ;19456: 4e75
+LAB_19458:
+ CMP.B #$1a,D0 ;19458: b03c001a
+ BEQ.S LAB_19466 ;1945c: 6708
+ CMPI.B #$1a,9(A1) ;1945e: 0c29001a0009
+ BLS.S LAB_194CA ;19464: 6364
+LAB_19466:
+ CMP.B #$1c,D0 ;19466: b03c001c
+ BEQ.S LAB_19474 ;1946a: 6708
+ CMPI.B #$1a,1(A1) ;1946c: 0c29001a0001
+ BLS.S LAB_194CA ;19472: 6356
+LAB_19474:
+ MOVE.W $2E(A6),D1 ;19474: 322e002e
+ ANDI.W #$0001,D1 ;19478: 02410001
+ ADD.W D1,D0 ;1947c: d041
+ BRA.W LAB_198CC ;1947e: 6000044c
+LAB_19482:
+ CMP.B #$22,D0 ;19482: b03c0022
+ BEQ.S LAB_19490 ;19486: 6708
+ CMPI.B #$1a,7(A1) ;19488: 0c29001a0007
+ BLS.S LAB_194CA ;1948e: 633a
+LAB_19490:
+ CMP.B #$24,D0 ;19490: b03c0024
+ BEQ.S LAB_1949E ;19494: 6708
+ CMPI.B #$1a,-1(A1) ;19496: 0c29001affff
+ BLS.S LAB_194CA ;1949c: 632c
+LAB_1949E:
+ MOVE.W $2E(A6),D1 ;1949e: 322e002e
+ ADDQ.W #1,D1 ;194a2: 5241
+ ANDI.W #$0001,D1 ;194a4: 02410001
+ ADD.W D1,D0 ;194a8: d041
+ BRA.W LAB_198CC ;194aa: 60000420
+LAB_194AE:
+ CMP.W #$0012,D0 ;194ae: b07c0012
+ BEQ.S LAB_194BC ;194b2: 6708
+ CMPI.B #$1a,8(A1) ;194b4: 0c29001a0008
+ BLS.S LAB_194CA ;194ba: 630e
+LAB_194BC:
+ MOVE.W $30(A6),D1 ;194bc: 322e0030
+ ANDI.W #$0001,D1 ;194c0: 02410001
+ ADD.W D1,D0 ;194c4: d041
+ BRA.W LAB_198CC ;194c6: 60000404
+LAB_194CA:
+ RTS ;194ca: 4e75
+LAB_194CC:
+ BSR.S LAB_19516 ;194cc: 6148
+LAB_194CE:
+ ADD.W D2,D0 ;194ce: d042
+ ADD.W D3,D1 ;194d0: d243
+ MOVE.B D0,$44(A6) ;194d2: 1d400044
+ MOVE.B D1,$45(A6) ;194d6: 1d410045
+ RTS ;194da: 4e75
+ BSR.S SUB_1951A ;194dc: 613c
+ BSR.S LAB_194CE ;194de: 61ee
+ BRA.S LAB_194F2 ;194e0: 6010
+ CLR.W D0 ;194e2: 4240
+ CLR.W D1 ;194e4: 4241
+ MOVE.B $44(A6),D0 ;194e6: 102e0044
+ MOVE.B $45(A6),D1 ;194ea: 122e0045
+ BRA.S LAB_194F2 ;194ee: 6002
+ BSR.S LAB_194CC ;194f0: 61da
+LAB_194F2:
+ CMP.W #$001f,D0 ;194f2: b07c001f
+ BHI.S LAB_1950E ;194f6: 6216
+ CMP.W #$001f,D1 ;194f8: b27c001f
+ BHI.S LAB_1950E ;194fc: 6210
+ MOVE.W D1,D2 ;194fe: 3401
+ MOVEA.L $B3A(A6),A1 ;19500: 226e0b3a
+ ASL.W #5,D2 ;19504: eb42
+ ADD.W D0,D2 ;19506: d440
+ ADDA.W D2,A1 ;19508: d2c2
+ MOVE.B (A1),D2 ;1950a: 1411
+ RTS ;1950c: 4e75
+LAB_1950E:
+ LEA LAB_16C0E(PC),A1 ;1950e: 43fad6fe
+ CLR.W D2 ;19512: 4242
+ RTS ;19514: 4e75
+LAB_19516:
+ MOVE.W $22(A6),D6 ;19516: 3c2e0022
+SUB_1951A:
+ ANDI.W #$0003,D6 ;1951a: 02460003
+ BEQ.S LAB_1953C ;1951e: 671c
+ CMP.W #$0002,D6 ;19520: bc7c0002
+ BEQ.S LAB_19532 ;19524: 670c
+ CMP.W #$0001,D6 ;19526: bc7c0001
+ BEQ.S LAB_19538 ;1952a: 670c
+ EXG D2,D3 ;1952c: c543
+ NEG.W D2 ;1952e: 4442
+ BRA.S LAB_1953C ;19530: 600a
+LAB_19532:
+ NEG.W D2 ;19532: 4442
+ NEG.W D3 ;19534: 4443
+ BRA.S LAB_1953C ;19536: 6004
+LAB_19538:
+ EXG D2,D3 ;19538: c543
+ NEG.W D3 ;1953a: 4443
+LAB_1953C:
+ RTS ;1953c: 4e75
+LAB_1953E:
+ DC.L $ffff0026,$0016001e,$0028ffff,$00180020 ;1953e
+ DC.L $ffff001a,$0022ffff,$001c0024,$ffff002a ;1954e
+ DC.L $002c002e,$00300032,$00040006,$0008000a ;1955e
+ DC.L $000c000e,$00100012,$0014ffff,$00040006 ;1956e
+ DC.L $0008ffff,$000a000c,$000e0010,$00120014 ;1957e
+ DC.L $ffffffff,$ffff0000,$00000001,$00020002 ;1958e
+ DC.L $00000001,$00020000,$00010002,$00000001 ;1959e
+ DC.W $0002 ;195ae
+LAB_195B0:
+ MOVEA.L $1022(A6),A2 ;195b0: 246e1022
+ LEA $3C7(A2),A2 ;195b4: 45ea03c7
+ LEA $C5B(A6),A3 ;195b8: 47ee0c5b
+ MOVEQ #4,D2 ;195bc: 7404
+LAB_195BE:
+ MOVEQ #$14,D1 ;195be: 7214
+ MOVE.L A2,-(A7) ;195c0: 2f0a
+LAB_195C2:
+ MOVE.B (A2)+,(A3)+ ;195c2: 16da
+ MOVE.W (A2)+,(A3)+ ;195c4: 36da
+ MOVE.B (A2),(A3)+ ;195c6: 16d2
+ LEA $11(A2),A2 ;195c8: 45ea0011
+ DBF D1,LAB_195C2 ;195cc: 51c9fff4
+ MOVEA.L (A7)+,A2 ;195d0: 245f
+ LEA $8C0(A2),A2 ;195d2: 45ea08c0
+ DBF D2,LAB_195BE ;195d6: 51caffe6
+ RTS ;195da: 4e75
+LAB_195DC:
+ MOVEA.L $1022(A6),A2 ;195dc: 246e1022
+ LEA $3C7(A2),A2 ;195e0: 45ea03c7
+ LEA $C5B(A6),A3 ;195e4: 47ee0c5b
+ MOVEQ #4,D2 ;195e8: 7404
+LAB_195EA:
+ MOVEQ #$14,D1 ;195ea: 7214
+ MOVE.L A2,-(A7) ;195ec: 2f0a
+LAB_195EE:
+ MOVE.B (A3)+,(A2)+ ;195ee: 14db
+ MOVE.W (A3)+,(A2)+ ;195f0: 34db
+ MOVE.B (A3)+,(A2) ;195f2: 149b
+ LEA $11(A2),A2 ;195f4: 45ea0011
+ DBF D1,LAB_195EE ;195f8: 51c9fff4
+ MOVEA.L (A7)+,A2 ;195fc: 245f
+ LEA $8C0(A2),A2 ;195fe: 45ea08c0
+ DBF D2,LAB_195EA ;19602: 51caffe6
+ RTS ;19606: 4e75
+LAB_19608:
+ BSR.S LAB_19636 ;19608: 612c
+ BMI.S LAB_19610 ;1960a: 6b04
+ BRA.W LAB_197D4 ;1960c: 600001c6
+LAB_19610:
+ RTS ;19610: 4e75
+LAB_19612:
+ BSR.S LAB_19636 ;19612: 6122
+ BMI.S LAB_1961E ;19614: 6b08
+ LEA LAB_19694(PC),A3 ;19616: 47fa007c
+ BRA.W LAB_19724 ;1961a: 60000108
+LAB_1961E:
+ RTS ;1961e: 4e75
+ BSR.S LAB_19636 ;19620: 6114
+ BMI.S LAB_1962C ;19622: 6b08
+ LEA LAB_196C4(PC),A3 ;19624: 47fa009e
+ BRA.W LAB_19724 ;19628: 600000fa
+LAB_1962C:
+ RTS ;1962c: 4e75
+LAB_1962E:
+ LEA LAB_196F4(PC),A3 ;1962e: 47fa00c4
+ BRA.W LAB_19724 ;19632: 600000f0
+LAB_19636:
+ TST.W D4 ;19636: 4a44
+ BEQ.S LAB_19660 ;19638: 6726
+ CMP.W #$000a,D4 ;1963a: b87c000a
+ BHI.S LAB_19660 ;1963e: 6220
+ CMP.W #$0004,D4 ;19640: b87c0004
+ BEQ.S LAB_19660 ;19644: 671a
+ BLS.S LAB_1964E ;19646: 6306
+ SUBQ.W #1,D4 ;19648: 5344
+ CMP.W #$0006,D4 ;1964a: b87c0006
+LAB_1964E:
+ BHI.S LAB_1965A ;1964e: 620a
+ ADDQ.W #8,D3 ;19650: 5043
+ CMP.W #$0003,D4 ;19652: b87c0003
+ BHI.S LAB_1965A ;19656: 6202
+ ADDQ.W #8,D3 ;19658: 5043
+LAB_1965A:
+ ADD.W D4,D0 ;1965a: d044
+ CMP.W D0,D0 ;1965c: b040
+ RTS ;1965e: 4e75
+LAB_19660:
+ MOVEQ #-1,D0 ;19660: 70ff
+ RTS ;19662: 4e75
+LAB_19664:
+ DC.L $00130026,$0039004c,$000d001a,$00270035 ;19664
+ DC.L $00090013,$001d0027,$02f805f0,$08e80be0 ;19674
+ DC.L $02080410,$06180848,$016802f8,$04880618 ;19684
+LAB_19694:
+ DC.L $00040003,$00020001,$00040003,$00020001 ;19694
+ DC.L $00030002,$00020001,$3f053f05,$3f053f05 ;196a4
+ DC.L $03040304,$03040304,$03030303,$03030303 ;196b4
+LAB_196C4:
+ DC.L $00080006,$00040002,$00070005,$00030001 ;196c4
+ DC.L $00050003,$00020001,$3f0a3f0a,$3f0a3f0a ;196d4
+ DC.L $03080308,$03080308,$03060306,$03060306 ;196e4
+LAB_196F4:
+ DC.L $00020001,$00010001,$00010001,$00010001 ;196f4
+ DC.L $00010001,$00010001,$7f037f03,$7f037f03 ;19704
+ DC.L $7f027f02,$7f027f02,$07020702,$07020702 ;19714
+LAB_19724:
+ ADDA.W D3,A3 ;19724: d6c3
+ ASL.W #3,D0 ;19726: e740
+ MOVEA.L $10A6(A6),A0 ;19728: 206e10a6
+ ADDA.W D0,A0 ;1972c: d0c0
+ MOVE.W (A0)+,D5 ;1972e: 3a18
+ MOVE.W (A0)+,D0 ;19730: 3018
+ CLR.W D1 ;19732: 4241
+ CLR.W D2 ;19734: 4242
+ CMP.W #$ffff,D0 ;19736: b07cffff
+ BEQ.W LAB_197D2 ;1973a: 67000096
+ MOVE.B (A0)+,D1 ;1973e: 1218
+ MOVE.B (A0)+,D2 ;19740: 1418
+ MOVE.B (A0)+,D3 ;19742: 1618
+ MOVE.B $36(A6),D4 ;19744: 182e0036
+ EOR.B D4,D3 ;19748: b903
+ BCLR #1,D3 ;1974a: 08830001
+ CMP.W #$0001,D1 ;1974e: b27c0001
+ BEQ.S LAB_197D2 ;19752: 677e
+ MOVE.W D1,D4 ;19754: 3801
+ TST.W (A3) ;19756: 4a53
+ BEQ.S LAB_197D2 ;19758: 6778
+ SUB.W (A3),D1 ;1975a: 9253
+ CMP.B $19(A3),D4 ;1975c: b82b0019
+ BEQ.S LAB_1978A ;19760: 6728
+ MOVE.W D4,$B9C(A6) ;19762: 3d440b9c
+ CLR.W D1 ;19766: 4241
+ MOVE.B $19(A3),D1 ;19768: 122b0019
+ SUB.W (A3),D1 ;1976c: 9253
+ SUB.W (A3),D4 ;1976e: 9853
+ BMI.S LAB_1977A ;19770: 6b08
+ BTST #0,D3 ;19772: 08030000
+ BEQ.S LAB_1977A ;19776: 6702
+ ADD.W D4,D0 ;19778: d044
+LAB_1977A:
+ ADD.W D1,D5 ;1977a: da41
+ MOVE.W (A3),D1 ;1977c: 3213
+ CMP.W $B9C(A6),D1 ;1977e: b26e0b9c
+ BLS.S LAB_19796 ;19782: 6312
+ MOVE.W $B9C(A6),D1 ;19784: 322e0b9c
+ BRA.S LAB_19796 ;19788: 600c
+LAB_1978A:
+ BTST #0,D3 ;1978a: 08030000
+ BEQ.S LAB_19792 ;1978e: 6702
+ ADD.W D1,D0 ;19790: d041
+LAB_19792:
+ ADD.W D1,D5 ;19792: da41
+ MOVE.W (A3),D1 ;19794: 3213
+LAB_19796:
+ CLR.W D4 ;19796: 4244
+ TST.W D1 ;19798: 4a41
+ BEQ.S LAB_197D2 ;1979a: 6736
+ MOVE.B (A0)+,D4 ;1979c: 1818
+ LEA $102A(A6),A2 ;1979e: 45ee102a
+ MOVEA.L 0(A2,D4.W),A2 ;197a2: 24724000
+ ADDA.W D5,A2 ;197a6: d4c5
+ MOVEM.L D0-D4/A0,-(A7) ;197a8: 48e7f880
+ MOVE.B $18(A3),D3 ;197ac: 162b0018
+ MOVEA.L $1036(A6),A1 ;197b0: 226e1036
+ LEA $137E(A1),A1 ;197b4: 43e9137e
+ BSR.W LAB_1411C ;197b8: 6100a962
+ MOVEM.L (A7)+,D0-D4/A0 ;197bc: 4cdf011f
+ MOVEA.L $1036(A6),A2 ;197c0: 246e1036
+ LEA $137E(A2),A2 ;197c4: 45ea137e
+ MOVEA.L $1022(A6),A1 ;197c8: 226e1022
+ ADDA.W D0,A1 ;197cc: d2c0
+ BRA.W LAB_19904 ;197ce: 60000134
+LAB_197D2:
+ RTS ;197d2: 4e75
+LAB_197D4:
+ LEA LAB_19664(PC),A3 ;197d4: 47fafe8e
+ ADDA.W D3,A3 ;197d8: d6c3
+ ASL.W #3,D0 ;197da: e740
+ MOVEA.L $10A6(A6),A0 ;197dc: 206e10a6
+ ADDA.W D0,A0 ;197e0: d0c0
+ MOVE.W (A0)+,D5 ;197e2: 3a18
+ MOVE.W (A0)+,D0 ;197e4: 3018
+ CMP.W #$ffff,D0 ;197e6: b07cffff
+ BEQ.S LAB_19812 ;197ea: 6726
+ CLR.W D1 ;197ec: 4241
+ CLR.W D2 ;197ee: 4242
+ MOVE.B (A0)+,D1 ;197f0: 1218
+ MOVE.B (A0)+,D2 ;197f2: 1418
+ MOVE.B (A0)+,D3 ;197f4: 1618
+ MOVE.B $36(A6),D4 ;197f6: 182e0036
+ EOR.B D4,D3 ;197fa: b903
+ SUB.W (A3),D2 ;197fc: 9453
+ CMP.W #$0001,D2 ;197fe: b47c0001
+ BLT.S LAB_19812 ;19802: 6d0e
+ BTST #3,D3 ;19804: 08030003
+ BNE.S LAB_1980E ;19808: 6604
+ ADD.W $18(A3),D5 ;1980a: da6b0018
+LAB_1980E:
+ BRA.W LAB_198EE ;1980e: 600000de
+LAB_19812:
+ RTS ;19812: 4e75
+SUB_19814:
+ MOVE.W (A0),D0 ;19814: 3010
+ MULU #$05e5,D0 ;19816: c0fc05e5
+ ADDI.W #$0029,D0 ;1981a: 06400029
+ MOVE.W D0,(A0) ;1981e: 3080
+ ROR.W #3,D0 ;19820: e658
+ EORI.W #$0800,D0 ;19822: 0a400800
+ RTS ;19826: 4e75
+SUB_19828:
+ MOVE.W (A0),D0 ;19828: 3010
+ MULU #$05e5,D0 ;1982a: c0fc05e5
+ ADDI.W #$0029,D0 ;1982e: 06400029
+ MOVE.W D0,(A0) ;19832: 3080
+ RTS ;19834: 4e75
+LAB_19836:
+ MOVE.W $10E(A6),D0 ;19836: 302e010e
+ MULU #$01d2,D0 ;1983a: c0fc01d2
+ LEA $298(A6),A0 ;1983e: 41ee0298
+ ADDA.W D0,A0 ;19842: d0c0
+ MOVE.W $10E(A6),D0 ;19844: 302e010e
+ RTS ;19848: 4e75
+ BRA.W LAB_1C32A ;1984a: 60002ade
+SUB_1984E:
+ BRA.W LAB_154DE ;1984e: 6000bc8e
+SUB_19852:
+ BRA.W LAB_1C37C ;19852: 60002b28
+ BRA.W SUB_1CE72 ;19856: 6000361a
+ BRA.W LAB_14722 ;1985a: 6000aec6
+SUB_1985E:
+ BRA.W LAB_14878 ;1985e: 6000b018
+LAB_19862:
+ BRA.W LAB_14848 ;19862: 6000afe4
+ BRA.W LAB_148F0 ;19866: 6000b088
+ BRA.W LAB_14960 ;1986a: 6000b0f4
+SUB_1986E:
+ BRA.W LAB_1DA22 ;1986e: 600041b2
+ BRA.W SUB_1562A ;19872: 6000bdb6
+SUB_19876:
+ BRA.W LAB_15554 ;19876: 6000bcdc
+LAB_1987A:
+ BRA.W LAB_14310 ;1987a: 6000aa94
+ BRA.W SUB_159F2 ;1987e: 6000c172
+LAB_19882:
+ BRA.W LAB_1B410 ;19882: 60001b8c
+ BRA.W SUB_15A84 ;19886: 6000c1fc
+SUB_1988A:
+ BRA.W LAB_15AD8 ;1988a: 6000c24c
+SUB_1988E:
+ BRA.W SUB_17AEC ;1988e: 6000e25c
+ BRA.W LAB_1CE4C ;19892: 600035b8
+SUB_19896:
+ BRA.W LAB_18288 ;19896: 6000e9f0
+LAB_1989A:
+ DS.W 1 ;1989a
+SUB_1989C:
+ MOVE.L $11E(A6),D0 ;1989c: 202e011e
+ CMP.L $C4A(A6),D0 ;198a0: b0ae0c4a
+ BEQ.S LAB_198B8 ;198a4: 6712
+ MOVE.L D0,$C4A(A6) ;198a6: 2d400c4a
+ MOVEQ #-1,D0 ;198aa: 70ff
+ MOVE.L D0,$C18(A6) ;198ac: 2d400c18
+ ST $9E(A6) ;198b0: 50ee009e
+ BRA.W LAB_14722 ;198b4: 6000ae6c
+LAB_198B8:
+ RTS ;198b8: 4e75
+SUB_198BA:
+ ASL.W #3,D0 ;198ba: e740
+ MOVEA.L $10A6(A6),A0 ;198bc: 206e10a6
+ ADDA.W D0,A0 ;198c0: d0c0
+ MOVE.W (A0)+,D5 ;198c2: 3a18
+ LEA 2(A0),A0 ;198c4: 41e80002
+ MOVE.W D1,D0 ;198c8: 3001
+ BRA.S LAB_198D8 ;198ca: 600c
+LAB_198CC:
+ ASL.W #3,D0 ;198cc: e740
+ MOVEA.L $10A6(A6),A0 ;198ce: 206e10a6
+ ADDA.W D0,A0 ;198d2: d0c0
+ MOVE.W (A0)+,D5 ;198d4: 3a18
+ MOVE.W (A0)+,D0 ;198d6: 3018
+LAB_198D8:
+ CMP.W #$ffff,D0 ;198d8: b07cffff
+ BEQ.S LAB_19932 ;198dc: 6754
+ CLR.W D1 ;198de: 4241
+ CLR.W D2 ;198e0: 4242
+ MOVE.B (A0)+,D1 ;198e2: 1218
+ MOVE.B (A0)+,D2 ;198e4: 1418
+ MOVE.B (A0)+,D3 ;198e6: 1618
+ MOVE.B $36(A6),D4 ;198e8: 182e0036
+ EOR.B D4,D3 ;198ec: b903
+LAB_198EE:
+ LEA $102A(A6),A2 ;198ee: 45ee102a
+ MOVEA.L $1022(A6),A1 ;198f2: 226e1022
+ ADDA.W D0,A1 ;198f6: d2c0
+ MOVE.B (A0)+,D4 ;198f8: 1818
+ ANDI.W #$003c,D4 ;198fa: 0244003c
+ MOVEA.L 0(A2,D4.W),A2 ;198fe: 24724000
+ ADDA.W D5,A2 ;19902: d4c5
+LAB_19904:
+ MOVE.W #$0028,$34(A6) ;19904: 3d7c00280034
+ BTST #3,D3 ;1990a: 08030003
+ BEQ.S LAB_19912 ;1990e: 6702
+ BSR.S SUB_19944 ;19910: 6132
+LAB_19912:
+ BTST #0,D3 ;19912: 08030000
+ BNE.W LAB_14182 ;19916: 6600a86a
+ BTST #1,D3 ;1991a: 08030001
+ BEQ.S LAB_19934 ;1991e: 6714
+ LSR.W #1,D1 ;19920: e249
+ SUBQ.W #1,D1 ;19922: 5341
+ SUBQ.W #1,D2 ;19924: 5342
+ BTST #2,D3 ;19926: 08030002
+ BEQ.W LAB_13EF4 ;1992a: 6700a5c8
+ BRA.W LAB_13F36 ;1992e: 6000a606
+LAB_19932:
+ RTS ;19932: 4e75
+LAB_19934:
+ SUBQ.W #1,D1 ;19934: 5341
+ SUBQ.W #1,D2 ;19936: 5342
+ BTST #2,D3 ;19938: 08030002
+ BEQ.W LAB_13FFE ;1993c: 6700a6c0
+ BRA.W LAB_13FFE ;19940: 6000a6bc
+SUB_19944:
+ MOVE.W D3,D5 ;19944: 3a03
+ ANDI.W #$00f0,D5 ;19946: 024500f0
+ BEQ.S LAB_199CA ;1994a: 677e
+ CMP.W #$0010,D5 ;1994c: ba7c0010
+ BEQ.S LAB_199B2 ;19950: 6760
+ CMP.W #$0030,D5 ;19952: ba7c0030
+ BEQ.S LAB_19998 ;19956: 6740
+ CMP.W #$0050,D5 ;19958: ba7c0050
+ BEQ.S LAB_1999E ;1995c: 6740
+ CMP.W #$0070,D5 ;1995e: ba7c0070
+ BEQ.S LAB_19988 ;19962: 6724
+ CMP.W #$0090,D5 ;19964: ba7c0090
+ BEQ.S LAB_19980 ;19968: 6716
+ CMP.W #$00d0,D5 ;1996a: ba7c00d0
+ BEQ.S LAB_199DE ;1996e: 676e
+ CMP.W #$0020,D5 ;19970: ba7c0020
+ BEQ.S LAB_19978 ;19974: 6702
+ RTS ;19976: 4e75
+LAB_19978:
+ ADDA.W #$0014,A1 ;19978: d2fc0014
+ SUBQ.W #1,D2 ;1997c: 5342
+ RTS ;1997e: 4e75
+LAB_19980:
+ ADDA.W #$0028,A2 ;19980: d4fc0028
+ SUBQ.W #1,D2 ;19984: 5342
+ RTS ;19986: 4e75
+LAB_19988:
+ MOVE.W $38(A6),D5 ;19988: 3a2e0038
+ CLR.W $38(A6) ;1998c: 426e0038
+ MULU #$0014,D5 ;19990: cafc0014
+ SUBA.W D5,A1 ;19994: 92c5
+ RTS ;19996: 4e75
+LAB_19998:
+ MOVE.W D2,D5 ;19998: 3a02
+ LSR.W #1,D5 ;1999a: e24d
+ BRA.S LAB_199AC ;1999c: 600e
+LAB_1999E:
+ MOVE.W D2,D5 ;1999e: 3a02
+ LSR.W #2,D5 ;199a0: e44d
+ MOVE.W D0,-(A7) ;199a2: 3f00
+ MOVE.W D5,D0 ;199a4: 3005
+ ADD.W D5,D5 ;199a6: da45
+ ADD.W D0,D5 ;199a8: da40
+ MOVE.W (A7)+,D0 ;199aa: 301f
+LAB_199AC:
+ CLR.W $38(A6) ;199ac: 426e0038
+ BRA.S LAB_199C0 ;199b0: 600e
+LAB_199B2:
+ MOVE.W D2,D5 ;199b2: 3a02
+ LSR.W #2,D5 ;199b4: e44d
+ MOVE.W D5,$38(A6) ;199b6: 3d450038
+ MOVE.B #$78,$36(A6) ;199ba: 1d7c00780036
+LAB_199C0:
+ SUB.W D5,D2 ;199c0: 9445
+ MULU #$0028,D5 ;199c2: cafc0028
+ ADDA.W D5,A2 ;199c6: d4c5
+ RTS ;199c8: 4e75
+LAB_199CA:
+ MOVE.W #$ffd8,$34(A6) ;199ca: 3d7cffd80034
+ MOVE.W D2,-(A7) ;199d0: 3f02
+ SUBQ.W #1,D2 ;199d2: 5342
+ MULU #$0028,D2 ;199d4: c4fc0028
+ ADDA.W D2,A2 ;199d8: d4c2
+ MOVE.W (A7)+,D2 ;199da: 341f
+ RTS ;199dc: 4e75
+LAB_199DE:
+ CLR.W $34(A6) ;199de: 426e0034
+ RTS ;199e2: 4e75
+LAB_199E4:
+ ASL.W #3,D0 ;199e4: e740
+ MOVEA.L $10A6(A6),A0 ;199e6: 206e10a6
+ ADDA.W D0,A0 ;199ea: d0c0
+ MOVE.W (A0)+,D5 ;199ec: 3a18
+ MOVE.W (A0)+,D0 ;199ee: 3018
+ CMP.W #$ffff,D0 ;199f0: b07cffff
+ BEQ.W LAB_19932 ;199f4: 6700ff3c
+ CLR.W D1 ;199f8: 4241
+ CLR.W D2 ;199fa: 4242
+ MOVE.B (A0)+,D1 ;199fc: 1218
+ MOVE.B (A0)+,D2 ;199fe: 1418
+ MOVEA.L $1022(A6),A1 ;19a00: 226e1022
+ ADDA.W D0,A1 ;19a04: d2c0
+ MOVE.W (A0),D6 ;19a06: 3c10
+ MOVE.B (A0)+,D6 ;19a08: 1c18
+ MOVE.B (A0)+,D3 ;19a0a: 1618
+ ADD.W $32(A6),D3 ;19a0c: d66e0032
+ LSR.W #1,D3 ;19a10: e24b
+ BCC.S LAB_19A18 ;19a12: 6404
+ LEA $14(A1),A1 ;19a14: 43e90014
+LAB_19A18:
+ LSR.W #1,D3 ;19a18: e24b
+ BCC.S LAB_19A1E ;19a1a: 6402
+LAB_19A1C:
+ ROL.W #2,D6 ;19a1c: e55e
+LAB_19A1E:
+ MOVEA.L A1,A0 ;19a1e: 2049
+ MOVE.W D1,D4 ;19a20: 3801
+LAB_19A22:
+ AND.W D6,$8C0(A1) ;19a22: cd6908c0
+ AND.W D6,$1180(A1) ;19a26: cd691180
+ AND.W D6,$1A40(A1) ;19a2a: cd691a40
+ AND.W D6,$2300(A1) ;19a2e: cd692300
+ AND.W D6,(A1)+ ;19a32: cd59
+ DBF D1,LAB_19A22 ;19a34: 51c9ffec
+ MOVE.W D4,D1 ;19a38: 3204
+ MOVEA.L A0,A1 ;19a3a: 2248
+ LEA $28(A1),A1 ;19a3c: 43e90028
+ DBF D2,LAB_19A1C ;19a40: 51caffda
+ RTS ;19a44: 4e75
+ LEA $E5A(A6),A3 ;19a46: 47ee0e5a
+ CLR.W -(A3) ;19a4a: 4263
+ CLR.L $236(A6) ;19a4c: 42ae0236
+ MOVE.W #$a765,-(A3) ;19a50: 373ca765
+ RTS ;19a54: 4e75
+LAB_19A56:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;19a56: 48e7fffe
+ MOVEA.L #LAB_223F8,A4 ;19a5a: 287c000223f8
+ BSR.W SUB_19A80 ;19a60: 6100001e
+ MOVE.L A6,-(A7) ;19a64: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;19a66: 2c780004
+ JSR $20(A6) ;19a6a: 4eae0020
+ MOVEA.L (A7)+,A6 ;19a6e: 2c5f
+ MOVEM.L (A7),D0-D7/A0-A6 ;19a70: 4cd77fff
+ JSR SUB_22434 ;19a74: 4eb900022434
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;19a7a: 4cdf7fff
+ RTS ;19a7e: 4e75
+SUB_19A80:
+ MOVE.W $1E(A6),D0 ;19a80: 302e001e
+ MOVEM.L D0/A4,-(A7) ;19a84: 48e78008
+ MOVEA.L $B18(A6),A1 ;19a88: 226e0b18
+ MOVE.B 0(A1,D0.W),D1 ;19a8c: 12310000
+ CMP.B $B29(A6),D1 ;19a90: b22e0b29
+ BEQ.S LAB_19AAC ;19a94: 6716
+ MOVE.B D1,$B29(A6) ;19a96: 1d410b29
+ ADDI.W #$0041,D1 ;19a9a: 06410041
+ LEA strKMShop(PC),A0 ;19a9e: 41fa00c2
+ MOVE.B D1,8(A0) ;19aa2: 11410008
+ MOVEA.L $1032(A6),A1 ;19aa6: 226e1032
+ JSR (A4) ;19aaa: 4e94
+LAB_19AAC:
+ MOVEM.L (A7),D0/A4 ;19aac: 4cd71001
+ MOVEA.L $B1C(A6),A1 ;19ab0: 226e0b1c
+ MOVE.B 0(A1,D0.W),D1 ;19ab4: 12310000
+ CMP.B $B2A(A6),D1 ;19ab8: b22e0b2a
+ BEQ.S LAB_19AD4 ;19abc: 6716
+ MOVE.B D1,$B2A(A6) ;19abe: 1d410b2a
+ ADDI.W #$0041,D1 ;19ac2: 06410041
+ LEA strKMDoor(PC),A0 ;19ac6: 41fa008c
+ MOVE.B D1,8(A0) ;19aca: 11410008
+ MOVEA.L $102E(A6),A1 ;19ace: 226e102e
+ JSR (A4) ;19ad2: 4e94
+LAB_19AD4:
+ MOVEM.L (A7),D0/A4 ;19ad4: 4cd71001
+ MOVE.B $AAA(A6),D1 ;19ad8: 122e0aaa
+ CMP.B $B2B(A6),D1 ;19adc: b22e0b2b
+ BEQ.S LAB_19B18 ;19ae0: 6736
+ MOVE.B D1,$B2B(A6) ;19ae2: 1d410b2b
+ MOVE.W D1,D0 ;19ae6: 3001
+ MOVEQ #$41,D1 ;19ae8: 7241
+ LEA $1046(A6),A2 ;19aea: 45ee1046
+ MOVEA.L $103A(A6),A1 ;19aee: 226e103a
+ MOVEQ #7,D2 ;19af2: 7407
+LAB_19AF4:
+ MOVEA.L A1,A3 ;19af4: 2649
+ LSR.W #1,D0 ;19af6: e248
+ BCC.S LAB_19B10 ;19af8: 6416
+ LEA strKMAln(PC),A0 ;19afa: 41fa0074
+ MOVE.B D1,7(A0) ;19afe: 11410007
+ MOVEM.L D0-D2/A0-A4,-(A7) ;19b02: 48e7e0f8
+ JSR (A4) ;19b06: 4e94
+ MOVEM.L (A7)+,D0-D2/A0-A4 ;19b08: 4cdf1f07
+ MOVEA.L $1042(A6),A1 ;19b0c: 226e1042
+LAB_19B10:
+ MOVE.L A3,(A2)+ ;19b10: 24cb
+ ADDQ.W #1,D1 ;19b12: 5241
+ DBF D2,LAB_19AF4 ;19b14: 51caffde
+LAB_19B18:
+ MOVEM.L (A7),D0/A4 ;19b18: 4cd71001
+ MOVEA.L $B14(A6),A1 ;19b1c: 226e0b14
+ MOVE.B 0(A1,D0.W),D1 ;19b20: 12310000
+ CMP.B $B28(A6),D1 ;19b24: b22e0b28
+ BEQ.S LAB_19B40 ;19b28: 6716
+ MOVE.B D1,$B28(A6) ;19b2a: 1d410b28
+ MOVEA.L $102A(A6),A1 ;19b2e: 226e102a
+ LEA strKMWall(PC),A0 ;19b32: 41fa0012
+ ADDI.W #$0041,D1 ;19b36: 06410041
+ MOVE.B D1,8(A0) ;19b3a: 11410008
+ JSR (A4) ;19b3e: 4e94
+LAB_19B40:
+ MOVEM.L (A7)+,D0/A4 ;19b40: 4cdf1001
+ RTS ;19b44: 4e75
+strKMWall:
+ ;19b46
+ ;DC.B $32,$4b,$4d,$57,$41,$4c,$4c,$2d,$3f,$2e,$50,$49,$43,$00
+ DC.B "2KMWALL-?.PIC",0
+strKMDoor:
+ ;19b54
+ ;DC.B $32,$4b,$4d,$44,$4f,$4f,$52,$2d,$3f,$2e,$50,$49,$43,$00
+ DC.B "2KMDOOR-?.PIC",0
+strKMShop:
+ ;19b62
+ ;DC.B $32,$4b,$4d,$53,$48,$4f,$50,$2d,$3f,$2e,$50,$49,$43,$00
+ DC.B "2KMSHOP-?.PIC",0
+strKMAln:
+ ;19b70
+ ;DC.B $32,$4b,$4d,$41,$4c,$4e,$2d,$3f,$2e,$50,$49,$43,$00,$00
+ DC.B "2KMALN-?.PIC",0,0
+LAB_19B7E:
+ JMP LAB_1AD2C ;19b7e: 4ef90001ad2c
+SUB_19B84:
+ MOVEA.L $1036(A6),A1 ;19b84: 226e1036
+ LEA fed5_pic(PC),A0 ;19b88: 41fa9fb8
+ BSR.S SUB_19BA8 ;19b8c: 611a
+ MOVEA.L $103E(A6),A1 ;19b8e: 226e103e
+ LEA fed8_pic(PC),A0 ;19b92: 41fa9fb8
+ BSR.S SUB_19BA8 ;19b96: 6110
+ RTS ;19b98: 4e75
+SUB_19B9A:
+ MOVE.L #$00009d50,$E44(A6) ;19b9a: 2d7c00009d500e44
+BuildFilename:
+ CLR.W $EA2(A6) ;19ba2: 426e0ea2
+ BRA.S LAB_19BB4 ;19ba6: 600c
+SUB_19BA8:
+ MOVE.L #$00009d50,$E44(A6) ;19ba8: 2d7c00009d500e44
+LAB_19BB0:
+ ST $EA2(A6) ;19bb0: 50ee0ea2
+LAB_19BB4:
+ LEA $E6E(A6),A2 ;19bb4: 45ee0e6e
+ LEA fed(PC),A4 ;19bb8: 49fa9f78
+ MOVE.B (A0),3(A4) ;19bbc: 19500003
+LAB_19BC0:
+ MOVE.B (A4)+,(A2)+ ;19bc0: 14dc
+ BNE.S LAB_19BC0 ;19bc2: 66fc
+ SUBQ.L #1,A2 ;19bc4: 538a
+ LEA LAB_19CB4(PC),A4 ;19bc6: 49fa00ec
+ MOVE.B (A0)+,(A4) ;19bca: 1898
+LAB_19BCC:
+ MOVE.B (A0)+,(A2)+ ;19bcc: 14d8
+ BNE.S LAB_19BCC ;19bce: 66fc
+ LEA $E6E(A6),A0 ;19bd0: 41ee0e6e
+ EXG A1,A0 ;19bd4: c348
+LAB_19BD6:
+ MOVEM.L A0-A3,-(A7) ;19bd6: 48e700f0
+ MOVEM.L (A7),A0-A3 ;19bda: 4cd70f00
+ MOVE.L $E44(A6),D1 ;19bde: 222e0e44
+ CMPA.L $1066(A6),A0 ;19be2: b1ee1066
+ SEQ $1012(A6) ;19be6: 57ee1012
+ BNE.S LAB_19BF2 ;19bea: 6606
+ JSR SUB_13CB8 ;19bec: 4eb900013cb8
+LAB_19BF2:
+ MOVE.W $EA2(A6),D0 ;19bf2: 302e0ea2
+ MOVE.L A6,-(A7) ;19bf6: 2f0e
+ JSR SUB_24B96 ;19bf8: 4eb900024b96
+ MOVEA.L (A7)+,A6 ;19bfe: 2c5f
+ MOVEM.L (A7)+,A0-A3 ;19c00: 4cdf0f00
+ TST.L D0 ;19c04: 4a80
+ BPL.W LAB_19C62 ;19c06: 6a00005a
+ MOVEM.L A0-A3,-(A7) ;19c0a: 48e700f0
+ MOVE.L A1,-(A7) ;19c0e: 2f09
+ TST.B $1012(A6) ;19c10: 4a2e1012
+ BEQ.S LAB_19C1C ;19c14: 6706
+ JSR LAB_13C38 ;19c16: 4eb900013c38
+LAB_19C1C:
+ MOVE.W #$0509,D0 ;19c1c: 303c0509
+ BSR.W LAB_198CC ;19c20: 6100fcaa
+ LEA LAB_19C8B(PC),A0 ;19c24: 41fa0065
+ BSR.W SUB_14FAA ;19c28: 6100b380
+ MOVEA.L (A7)+,A0 ;19c2c: 205f
+ MOVEQ #1,D2 ;19c2e: 7401
+ BSR.W SUB_19CE4 ;19c30: 610000b2
+ MOVEA.L #LAB_13A12,A0 ;19c34: 207c00013a12
+ CLR.W (A0) ;19c3a: 4250
+ CLR.W $BE8(A6) ;19c3c: 426e0be8
+LAB_19C40:
+ JSR SUB_17CA0 ;19c40: 4eb900017ca0
+ BSR.W SUB_19D22 ;19c46: 610000da
+ BEQ.S LAB_19C40 ;19c4a: 67f4
+ MOVE.W #$0509,D0 ;19c4c: 303c0509
+ BSR.W LAB_198CC ;19c50: 6100fc7a
+ MOVEQ #1,D2 ;19c54: 7401
+ BSR.W SUB_19CE4 ;19c56: 6100008c
+ MOVEM.L (A7)+,A0-A3 ;19c5a: 4cdf0f00
+ BRA.W LAB_19BD6 ;19c5e: 6000ff76
+LAB_19C62:
+ BSR.S SUB_19C70 ;19c62: 610c
+ TST.B $1012(A6) ;19c64: 4a2e1012
+ BEQ.S LAB_19C7A ;19c68: 6710
+ JMP LAB_13C38 ;19c6a: 4ef900013c38
+SUB_19C70:
+ MOVEA.L #start_A2,A2 ;19c70: 247c00010016
+ MOVEA.L (A2),A2 ;19c76: 2452
+ JSR (A2) ;19c78: 4e92
+LAB_19C7A:
+ RTS ;19c7a: 4e75
+LAB_19C7C:
+ DC.W $9108 ;19c7c
+ DC.B $14 ;19c7e
+ ;19c7f
+ ;DC.B $4c,$4f,$41,$44,$49,$4e,$47,$20,$2e,$2e,$2e,$00
+ DC.B "LOADING ...",0
+LAB_19C8B:
+ DC.B $8e ;19c8b
+ DC.W $1614 ;19c8c
+ DC.B $05 ;19c8e
+ ;19c8f
+ ;DC.B $50,$4c,$45,$41,$53,$45,$20,$49,$4e,$53,$45,$52,$54,$20,$44,$49
+ ;DC.B $53,$4b
+ DC.B "PLEASE INSERT DISK"
+ DC.B $0a ;19ca1
+ DC.W $021a ;19ca2
+ DC.B $91 ;19ca4
+ ;19ca5
+ ;DC.B $4b,$4e,$49,$47,$48,$54,$4d,$41,$52,$45,$2e,$44,$49,$53,$4b
+ DC.B "KNIGHTMARE.DISK"
+LAB_19CB4:
+ DC.L $3f0a0222 ;19cb4
+ DC.B $8e ;19cb8
+ ;19cb9
+ ;DC.B $49,$4e,$54,$4f,$20,$41,$4e,$59,$20,$44,$52,$49,$56,$45
+ DC.B "INTO ANY DRIVE"
+ DC.B $0a ;19cc7
+ DC.L $0a02099f ;19cc8
+ ;19ccc
+ ;DC.B $50,$52,$45,$53,$53,$20,$4d,$4f,$55,$53,$45,$20,$57,$48,$45,$4e
+ ;DC.B $20,$52,$45,$41,$44,$59,$06,$00
+ DC.B "PRESS MOUSE WHEN READY",6,0
+SUB_19CE4:
+ JSR SUB_17CA2 ;19ce4: 4eb900017ca2
+ BSR.W SUB_13D30 ;19cea: 6100a044
+ RTS ;19cee: 4e75
+LAB_19CF0:
+ CMPI.W #$0004,$BE8(A6) ;19cf0: 0c6e00040be8
+ BHI.S LAB_19D20 ;19cf6: 6228
+ MOVE.W $BEA(A6),D2 ;19cf8: 342e0bea
+ ANDI.W #$0003,D2 ;19cfc: 02420003
+ ADDQ.W #1,$BEA(A6) ;19d00: 526e0bea
+ ADDQ.W #1,$BE8(A6) ;19d04: 526e0be8
+ ADD.W D2,D2 ;19d08: d442
+ ADD.W D2,D2 ;19d0a: d442
+ LEA $BC8(A6),A1 ;19d0c: 43ee0bc8
+ ADDA.W D2,A1 ;19d10: d2c2
+ MOVE.W $BA2(A6),D1 ;19d12: 322e0ba2
+ LSR.W #1,D1 ;19d16: e249
+ MOVE.B D1,(A1)+ ;19d18: 12c1
+ MOVE.B $BA5(A6),(A1)+ ;19d1a: 12ee0ba5
+ MOVE.B D0,(A1)+ ;19d1e: 12c0
+LAB_19D20:
+ RTS ;19d20: 4e75
+SUB_19D22:
+ TST.W $BE8(A6) ;19d22: 4a6e0be8
+ BEQ.S LAB_19D56 ;19d26: 672e
+ MOVE.L A1,-(A7) ;19d28: 2f09
+ MOVE.W $BEA(A6),D0 ;19d2a: 302e0bea
+ SUB.W $BE8(A6),D0 ;19d2e: 906e0be8
+ SUBQ.W #1,$BE8(A6) ;19d32: 536e0be8
+ ANDI.W #$0003,D0 ;19d36: 02400003
+ ADD.W D0,D0 ;19d3a: d040
+ ADD.W D0,D0 ;19d3c: d040
+ LEA $BC8(A6),A1 ;19d3e: 43ee0bc8
+ ADDA.W D0,A1 ;19d42: d2c0
+ MOVEQ #0,D0 ;19d44: 7000
+ MOVEQ #0,D1 ;19d46: 7200
+ MOVE.B (A1)+,D0 ;19d48: 1019
+ MOVE.B (A1)+,D1 ;19d4a: 1219
+ MOVE.B (A1)+,D2 ;19d4c: 1419
+ MOVEA.L (A7)+,A1 ;19d4e: 225f
+ ADD.W D0,D0 ;19d50: d040
+ CMP.W #$fffe,D0 ;19d52: b07cfffe
+LAB_19D56:
+ RTS ;19d56: 4e75
+strClasses:
+ ;19d58
+ ;DC.B $41,$44,$56,$45,$4e,$54,$55,$52,$45,$52,$20,$00,$47,$4c,$41,$44
+ ;DC.B $49,$41,$54,$4f,$52,$20,$00,$53,$41,$4d,$55,$52,$41,$49,$20,$00
+ ;DC.B $57,$49,$5a,$41,$52,$44,$20,$00,$50,$52,$49,$45,$53,$54,$20,$00
+ ;DC.B $47,$45,$4e,$49,$45,$20,$00,$20,$48,$41,$4e,$44,$45,$44,$00,$43
+ ;DC.B $52,$41,$53,$48,$20,$48,$45,$4c,$4d,$45,$54,$00,$4d,$49,$4c,$4b
+ ;DC.B $20,$42,$4f,$54,$54,$4c,$45,$00,$45,$58,$50,$45,$52,$49,$45,$4e
+ ;DC.B $43,$45,$00,$20,$50,$4f,$54,$49,$4f,$4e,$00,$53,$45,$4c,$45,$43
+ ;DC.B $54,$20,$00,$20,$4b,$45,$59,$00,$20,$42,$4f,$54,$54,$4c,$45,$00
+ ;DC.B $41,$4e,$44,$20,$50,$4c,$41,$54,$45,$00,$48,$45,$41,$4c,$54,$48
+ ;DC.B $00,$43,$48,$41,$49,$4e,$20,$4d,$41,$49,$4c,$00,$4d,$00,$47,$00
+ ;DC.B $43,$00,$47,$00,$47,$41,$4d,$45,$20,$00,$44,$00,$5a,$00
+ DC.B "ADVENTURER ",0
+ DC.B "GLADIATOR ",0
+ DC.B "SAMURAI ",0
+ DC.B "WIZARD ",0
+ DC.B "PRIEST ",0
+ DC.B "GENIE ",0
+ DC.B " HANDED",0
+ DC.B "CRASH HELMET",0
+ DC.B "MILK BOTTLE",0
+ DC.B "EXPERIENCE",0
+ DC.B " POTION",0
+ DC.B "SELECT ",0
+ DC.B " KEY",0
+ DC.B " BOTTLE",0
+ DC.B "AND PLATE",0
+ DC.B "HEALTH",0
+ DC.B "CHAIN MAIL",0
+ DC.B "M",0
+ DC.B "G",0
+ DC.B "C",0
+ DC.B "G",0
+ DC.B "GAME ",0
+ DC.B "D",0
+ DC.B "Z",0
+LAB_19E06:
+ DC.L $000c1720,$2830373f,$4c58636b,$73788084 ;19e06
+ DC.L $8a919c9e,$a0a2a4aa ;19e16
+ DC.W $ac00 ;19e1e
+LAB_19E20:
+ CLR.W D2 ;19e20: 4242
+ MOVEA.L $116(A6),A3 ;19e22: 266e0116
+ MOVE.B (A0)+,D2 ;19e26: 1418
+ MOVE.L A0,-(A7) ;19e28: 2f08
+ MOVEM.L D0-D7/A1-A5,-(A7) ;19e2a: 48e7ff7c
+ SUBI.W #$0014,D2 ;19e2e: 04420014
+ MOVE.B LAB_19E06(PC,D2.W),D2 ;19e32: 143b20d2
+ LEA strClasses(PC),A0 ;19e36: 41faff20
+ ADDA.W D2,A0 ;19e3a: d0c2
+ BRA.W LAB_19F12 ;19e3c: 600000d4
+LAB_19E40:
+ CLR.W D2 ;19e40: 4242
+ MOVEA.L $116(A6),A3 ;19e42: 266e0116
+ MOVE.B (A0)+,D2 ;19e46: 1418
+ MOVE.L A0,-(A7) ;19e48: 2f08
+ MOVEM.L D0-D7/A1-A5,-(A7) ;19e4a: 48e7ff7c
+ CMP.W #$006a,D2 ;19e4e: b47c006a
+ BEQ.S LAB_19E78 ;19e52: 6724
+ CMP.W #$0023,D2 ;19e54: b47c0023
+ BLS.S LAB_19E60 ;19e58: 6306
+ CMP.W #$0034,D2 ;19e5a: b47c0034
+ BLS.S LAB_19EB8 ;19e5e: 6358
+LAB_19E60:
+ CMP.W #$0045,D2 ;19e60: b47c0045
+ BLS.S LAB_19E6C ;19e64: 6306
+ CMP.W #$0064,D2 ;19e66: b47c0064
+ BLS.S LAB_19E70 ;19e6a: 6304
+LAB_19E6C:
+ BRA.W LAB_19F16 ;19e6c: 600000a8
+LAB_19E70:
+ MOVE.W 0(A3,D2.W),D0 ;19e70: 30332000
+ LSR.W #2,D0 ;19e74: e448
+ BRA.S LAB_19E9E ;19e76: 6026
+LAB_19E78:
+ MOVE.W 0(A3,D2.W),D0 ;19e78: 30332000
+ LSR.W #3,D0 ;19e7c: e648
+ BSR.W SUB_15A84 ;19e7e: 6100bc04
+ LEA $FA3(A6),A0 ;19e82: 41ee0fa3
+ BSR.W SUB_15A02 ;19e86: 6100bb7a
+ LEA $FA2(A6),A0 ;19e8a: 41ee0fa2
+ MOVE.B #$97,(A0) ;19e8e: 10bc0097
+ CLR.B 7(A0) ;19e92: 42280007
+ BRA.S LAB_19F0C ;19e96: 6074
+ DC.L $30332000 ;19e98
+ DC.W $ea48 ;19e9c
+LAB_19E9E:
+ BSR.W SUB_15A84 ;19e9e: 6100bbe4
+ LEA $FA3(A6),A0 ;19ea2: 41ee0fa3
+ BSR.W SUB_159F6 ;19ea6: 6100bb4e
+ LEA $FA2(A6),A0 ;19eaa: 41ee0fa2
+ MOVE.B #$97,(A0) ;19eae: 10bc0097
+ CLR.B 3(A0) ;19eb2: 42280003
+ BRA.S LAB_19F0C ;19eb6: 6054
+LAB_19EB8:
+ MOVE.W 0(A3,D2.W),D0 ;19eb8: 30332000
+ MOVE.W 2(A3,D2.W),D1 ;19ebc: 32332002
+ MOVE.W D1,D2 ;19ec0: 3401
+ SUB.W D0,D2 ;19ec2: 9440
+ LSR.W #6,D0 ;19ec4: ec48
+ LSR.W #6,D1 ;19ec6: ec49
+ LEA LAB_19F28(PC),A0 ;19ec8: 41fa005e
+ MOVE.B #$9a,(A0) ;19ecc: 10bc009a
+ CMP.W D0,D1 ;19ed0: b240
+ BNE.S LAB_19EE2 ;19ed2: 660e
+ TST.W D2 ;19ed4: 4a42
+ BEQ.S LAB_19EEC ;19ed6: 6714
+ BMI.S LAB_19EE6 ;19ed8: 6b0c
+ SUBQ.W #1,D0 ;19eda: 5340
+LAB_19EDC:
+ MOVE.B #$99,(A0) ;19edc: 10bc0099
+ BRA.S LAB_19EEC ;19ee0: 600a
+LAB_19EE2:
+ BHI.S LAB_19EDC ;19ee2: 62f8
+ BRA.S LAB_19EE8 ;19ee4: 6002
+LAB_19EE6:
+ ADDQ.W #1,D0 ;19ee6: 5240
+LAB_19EE8:
+ MOVE.B #$9b,(A0) ;19ee8: 10bc009b
+LAB_19EEC:
+ MOVE.W D1,-(A7) ;19eec: 3f01
+ BSR.W SUB_15A84 ;19eee: 6100bb94
+ LEA LAB_19F29(PC),A0 ;19ef2: 41fa0035
+ BSR.W SUB_159F6 ;19ef6: 6100bafe
+ MOVE.W (A7)+,D0 ;19efa: 301f
+ BSR.W SUB_15A84 ;19efc: 6100bb86
+ LEA LAB_19F2F(PC),A0 ;19f00: 41fa002d
+ BSR.W SUB_159F6 ;19f04: 6100baf0
+ LEA LAB_19F28(PC),A0 ;19f08: 41fa001e
+LAB_19F0C:
+ MOVEM.L (A7),D0-D7/A1-A5 ;19f0c: 4cd73eff
+ ADDQ.W #1,D0 ;19f10: 5240
+LAB_19F12:
+ BSR.W LAB_19F58 ;19f12: 61000044
+LAB_19F16:
+ MOVE.W D0,$C2E(A6) ;19f16: 3d400c2e
+ MOVEM.L (A7)+,D0-D7/A1-A5 ;19f1a: 4cdf3eff
+ MOVEA.L (A7)+,A0 ;19f1e: 205f
+ MOVE.W $C2E(A6),D0 ;19f20: 302e0c2e
+ BRA.W LAB_19F58 ;19f24: 60000032
+LAB_19F28:
+ DC.B $9a ;19f28
+LAB_19F29:
+ DC.B $3f ;19f29
+ DC.L $3f9a025d ;19f2a
+ DC.B $2f ;19f2e
+LAB_19F2F:
+ DC.B $3f ;19f2f
+ DC.L $3f00993f,$3f3f0098,$3f3f3f3f,$3f2f3f3f ;19f30
+ DC.L $3f3f3f00 ;19f40
+SUB_19F44:
+ MOVEA.L $1066(A6),A5 ;19f44: 2a6e1066
+ MOVE.W D2,$B9A(A6) ;19f48: 3d420b9a
+ BEQ.S LAB_19F52 ;19f4c: 6704
+ MOVEA.L $1022(A6),A5 ;19f4e: 2a6e1022
+LAB_19F52:
+ ADDA.W D1,A5 ;19f52: dac1
+ MOVE.W D0,$42(A6) ;19f54: 3d400042
+LAB_19F58:
+ MOVEA.L A5,A1 ;19f58: 224d
+ MOVEA.L $109E(A6),A2 ;19f5a: 246e109e
+ CLR.W D2 ;19f5e: 4242
+ MOVE.B (A0)+,D2 ;19f60: 1418
+ BEQ.W LAB_1A086 ;19f62: 67000122
+ BPL.S LAB_19F72 ;19f66: 6a0a
+ ANDI.W #$007f,D2 ;19f68: 0242007f
+ MOVE.W D2,$B9A(A6) ;19f6c: 3d420b9a
+ BRA.S LAB_19F58 ;19f70: 60e6
+LAB_19F72:
+ CMP.W #$002a,D2 ;19f72: b47c002a
+ BEQ.W LAB_1A120 ;19f76: 670001a8
+ CMP.W #$000a,D2 ;19f7a: b47c000a
+ BEQ.W LAB_1A12C ;19f7e: 670001ac
+ BGT.W LAB_19FBE ;19f82: 6e00003a
+ SUBQ.W #1,D2 ;19f86: 5342
+ BEQ.S LAB_19F58 ;19f88: 67ce
+ SUBQ.W #1,D2 ;19f8a: 5342
+ BEQ.S LAB_19FAA ;19f8c: 671c
+ SUBQ.W #1,D2 ;19f8e: 5342
+ SUBQ.W #1,D2 ;19f90: 5342
+ BEQ.W LAB_19E20 ;19f92: 6700fe8c
+ SUBQ.W #1,D2 ;19f96: 5342
+ BEQ.W LAB_19FAE ;19f98: 67000014
+ SUBQ.W #1,D2 ;19f9c: 5342
+ BEQ.W LAB_19FB4 ;19f9e: 67000014
+ SUBQ.W #1,D2 ;19fa2: 5342
+ BEQ.W LAB_19E40 ;19fa4: 6700fe9a
+ BRA.S LAB_19F58 ;19fa8: 60ae
+LAB_19FAA:
+ MOVE.B (A0)+,D0 ;19faa: 1018
+ BRA.S LAB_19F58 ;19fac: 60aa
+LAB_19FAE:
+ ST $10A(A6) ;19fae: 50ee010a
+ BRA.S LAB_19F58 ;19fb2: 60a4
+LAB_19FB4:
+ CLR.W $10A(A6) ;19fb4: 426e010a
+ BRA.S LAB_19F58 ;19fb8: 609e
+LAB_19FBA:
+ ADDQ.W #4,D0 ;19fba: 5840
+ BRA.S LAB_19F58 ;19fbc: 609a
+LAB_19FBE:
+ CMP.W #$000d,D2 ;19fbe: b47c000d
+ BEQ.W LAB_1A146 ;19fc2: 67000182
+ CMP.W #$000e,D2 ;19fc6: b47c000e
+ BEQ.W LAB_1A160 ;19fca: 67000194
+ CMP.W #$0020,D2 ;19fce: b47c0020
+ BEQ.S LAB_19FBA ;19fd2: 67e6
+ CMP.B #$0f,D2 ;19fd4: b43c000f
+ BNE.S LAB_19FDE ;19fd8: 6604
+ MOVEQ #$40,D2 ;19fda: 7440
+ BRA.S LAB_19FF0 ;19fdc: 6012
+LAB_19FDE:
+ CMP.B #$40,D2 ;19fde: b43c0040
+ BNE.S LAB_19FE6 ;19fe2: 6602
+ MOVEQ #0,D2 ;19fe4: 7400
+LAB_19FE6:
+ CMP.B #$40,D2 ;19fe6: b43c0040
+ BLS.S LAB_19FF0 ;19fea: 6304
+ ANDI.W #$003f,D2 ;19fec: 0242003f
+LAB_19FF0:
+ ASL.W #3,D2 ;19ff0: e742
+ LEA 0(A2,D2.W),A3 ;19ff2: 47f22000
+ CLR.W D2 ;19ff6: 4242
+ MOVE.B (A3)+,D2 ;19ff8: 141b
+ MOVE.W D0,D3 ;19ffa: 3600
+ MOVE.W D0,D4 ;19ffc: 3800
+ ANDI.W #$0007,D4 ;19ffe: 02440007
+ LSR.W #3,D3 ;1a002: e64b
+ NOT.W D4 ;1a004: 4644
+ ANDI.W #$0007,D4 ;1a006: 02440007
+ MOVEQ #4,D7 ;1a00a: 7e04
+ MOVE.L A1,-(A7) ;1a00c: 2f09
+ TST.W $B9A(A6) ;1a00e: 4a6e0b9a
+ BEQ.S LAB_1A064 ;1a012: 6750
+ TST.W $10A(A6) ;1a014: 4a6e010a
+ BEQ.S LAB_1A040 ;1a018: 6726
+ BPL.W LAB_1A0FA ;1a01a: 6a0000de
+ ADDQ.W #1,D2 ;1a01e: 5242
+LAB_1A020:
+ CLR.W D6 ;1a020: 4246
+ MOVE.B (A3)+,D6 ;1a022: 1c1b
+ ASL.W D4,D6 ;1a024: e966
+ MOVE.W D6,D5 ;1a026: 3a06
+ ADD.W D5,D5 ;1a028: da45
+ OR.W D5,D6 ;1a02a: 8c45
+ MOVEM.L D1/D4/A1,-(A7) ;1a02c: 48e74840
+ BSR.S SUB_1A088 ;1a030: 6156
+ MOVEM.L (A7)+,D1/D4/A1 ;1a032: 4cdf0212
+ LEA $14(A1),A1 ;1a036: 43e90014
+ DBF D7,LAB_1A020 ;1a03a: 51cfffe4
+ BRA.S LAB_1A07E ;1a03e: 603e
+LAB_1A040:
+ CLR.W D6 ;1a040: 4246
+ MOVE.B (A3)+,D6 ;1a042: 1c1b
+ ASL.W D4,D6 ;1a044: e966
+ MOVEM.L D1/D4/A1,-(A7) ;1a046: 48e74840
+ BSR.S SUB_1A088 ;1a04a: 613c
+ MOVEM.L (A7)+,D1/D4/A1 ;1a04c: 4cdf0212
+ LEA $14(A1),A1 ;1a050: 43e90014
+ DBF D7,LAB_1A040 ;1a054: 51cfffea
+ BRA.S LAB_1A07E ;1a058: 6024
+LAB_1A05A:
+ DC.L $ff7f3f1f,$0f070301 ;1a05a
+ DS.W 1 ;1a062
+LAB_1A064:
+ MOVEQ #-1,D5 ;1a064: 7aff
+ MOVE.B LAB_1A05A(PC,D2.W),D5 ;1a066: 1a3b20f2
+ ROL.W D4,D5 ;1a06a: e97d
+LAB_1A06C:
+ CLR.W D6 ;1a06c: 4246
+ MOVE.B (A3)+,D6 ;1a06e: 1c1b
+ ASL.W D4,D6 ;1a070: e966
+ BSR.W SUB_13CD4 ;1a072: 61009c60
+ LEA $28(A1),A1 ;1a076: 43e90028
+ DBF D7,LAB_1A06C ;1a07a: 51cffff0
+LAB_1A07E:
+ MOVEA.L (A7)+,A1 ;1a07e: 225f
+ ADD.W D2,D0 ;1a080: d042
+ BRA.W LAB_19F58 ;1a082: 6000fed4
+LAB_1A086:
+ RTS ;1a086: 4e75
+SUB_1A088:
+ MOVE.W D6,D5 ;1a088: 3a06
+ NOT.W D5 ;1a08a: 4645
+SUB_1A08C:
+ CLR.W D4 ;1a08c: 4244
+ MOVE.W $B9A(A6),D1 ;1a08e: 322e0b9a
+ BTST #0,D3 ;1a092: 08030000
+ BNE.S LAB_1A0BA ;1a096: 6622
+ MOVE.W D3,-(A7) ;1a098: 3f03
+ ANDI.W #$00fe,D3 ;1a09a: 024300fe
+LAB_1A09E:
+ AND.W D5,0(A1,D3.W) ;1a09e: cb713000
+ BTST D4,D1 ;1a0a2: 0901
+ BEQ.S LAB_1A0AA ;1a0a4: 6704
+ OR.W D6,0(A1,D3.W) ;1a0a6: 8d713000
+LAB_1A0AA:
+ LEA $8C0(A1),A1 ;1a0aa: 43e908c0
+ ADDQ.W #1,D4 ;1a0ae: 5244
+ CMP.W #$0005,D4 ;1a0b0: b87c0005
+ BLT.S LAB_1A09E ;1a0b4: 6de8
+ MOVE.W (A7)+,D3 ;1a0b6: 361f
+ RTS ;1a0b8: 4e75
+LAB_1A0BA:
+ MOVEM.W D2-D3/D7,-(A7) ;1a0ba: 48a73100
+ ANDI.W #$00fe,D3 ;1a0be: 024300fe
+ MOVE.W D5,D2 ;1a0c2: 3405
+ MOVE.W D6,D7 ;1a0c4: 3e06
+ LSR.W #8,D2 ;1a0c6: e04a
+ LSR.W #8,D7 ;1a0c8: e04f
+LAB_1A0CA:
+ AND.B D5,2(A1,D3.W) ;1a0ca: cb313002
+ AND.B D2,1(A1,D3.W) ;1a0ce: c5313001
+ BTST D4,D1 ;1a0d2: 0901
+ BEQ.S LAB_1A0DE ;1a0d4: 6708
+ OR.B D6,2(A1,D3.W) ;1a0d6: 8d313002
+ OR.B D7,1(A1,D3.W) ;1a0da: 8f313001
+LAB_1A0DE:
+ LEA $8C0(A1),A1 ;1a0de: 43e908c0
+ ADDQ.W #1,D4 ;1a0e2: 5244
+ CMP.W #$0005,D4 ;1a0e4: b87c0005
+ BLT.S LAB_1A0CA ;1a0e8: 6de0
+ MOVEM.W (A7)+,D2-D3/D7 ;1a0ea: 4c9f008c
+ RTS ;1a0ee: 4e75
+LAB_1A0F0:
+ DC.L $ff7f3f1f,$0f070301 ;1a0f0
+ DS.W 1 ;1a0f8
+LAB_1A0FA:
+ MOVEQ #-1,D5 ;1a0fa: 7aff
+ MOVE.B LAB_1A0F0(PC,D2.W),D5 ;1a0fc: 1a3b20f2
+ ROL.W D4,D5 ;1a100: e97d
+ CLR.W D6 ;1a102: 4246
+ MOVE.B (A3)+,D6 ;1a104: 1c1b
+ ASL.W D4,D6 ;1a106: e966
+ MOVEM.L D1/D4/A1,-(A7) ;1a108: 48e74840
+ BSR.W SUB_1A08C ;1a10c: 6100ff7e
+ MOVEM.L (A7)+,D1/D4/A1 ;1a110: 4cdf0212
+ LEA $14(A1),A1 ;1a114: 43e90014
+ DBF D7,LAB_1A0FA ;1a118: 51cfffe0
+ BRA.W LAB_1A07E ;1a11c: 6000ff60
+LAB_1A120:
+ MOVE.W $42(A6),D0 ;1a120: 302e0042
+ LEA $A0(A5),A5 ;1a124: 4bed00a0
+ BRA.W LAB_19F58 ;1a128: 6000fe2e
+LAB_1A12C:
+ MOVE.W $42(A6),D0 ;1a12c: 302e0042
+ TST.W $B9A(A6) ;1a130: 4a6e0b9a
+ BEQ.S LAB_1A13E ;1a134: 6708
+ LEA $78(A5),A5 ;1a136: 4bed0078
+ BRA.W LAB_19F58 ;1a13a: 6000fe1c
+LAB_1A13E:
+ LEA $F0(A5),A5 ;1a13e: 4bed00f0
+ BRA.W LAB_19F58 ;1a142: 6000fe14
+LAB_1A146:
+ MOVE.W $42(A6),D0 ;1a146: 302e0042
+ TST.W $B9A(A6) ;1a14a: 4a6e0b9a
+ BEQ.S LAB_1A158 ;1a14e: 6708
+ LEA $3C(A5),A5 ;1a150: 4bed003c
+ BRA.W LAB_19F58 ;1a154: 6000fe02
+LAB_1A158:
+ LEA $78(A5),A5 ;1a158: 4bed0078
+ BRA.W LAB_19F58 ;1a15c: 6000fdfa
+LAB_1A160:
+ MOVE.W $42(A6),D0 ;1a160: 302e0042
+ TST.W $B9A(A6) ;1a164: 4a6e0b9a
+ BEQ.S LAB_1A172 ;1a168: 6708
+ LEA $8C(A5),A5 ;1a16a: 4bed008c
+ BRA.W LAB_19F58 ;1a16e: 6000fde8
+LAB_1A172:
+ LEA $118(A5),A5 ;1a172: 4bed0118
+ BRA.W LAB_19F58 ;1a176: 6000fde0
+SUB_1A17A:
+ MOVEA.L $FD8(A6),A3 ;1a17a: 266e0fd8
+ JMP (A3) ;1a17e: 4ed3
+ TST.W $B2C(A6) ;1a180: 4a6e0b2c
+ BPL.S LAB_1A190 ;1a184: 6a0a
+ MOVE.L $B2C(A6),$2E(A6) ;1a186: 2d6e0b2c002e
+ CLR.W $B2C(A6) ;1a18c: 426e0b2c
+LAB_1A190:
+ TST.W $254(A6) ;1a190: 4a6e0254
+ BMI.S LAB_1A19A ;1a194: 6b04
+ BSR.W LAB_1A19C ;1a196: 61000004
+LAB_1A19A:
+ RTS ;1a19a: 4e75
+LAB_1A19C:
+ SUBQ.W #1,$256(A6) ;1a19c: 536e0256
+ BPL.S LAB_1A1B4 ;1a1a0: 6a12
+ MOVE.W $254(A6),D2 ;1a1a2: 342e0254
+ MOVEQ #4,D0 ;1a1a6: 7004
+ ST D1 ;1a1a8: 50c1
+ JSR SUB_207AA ;1a1aa: 4eb9000207aa
+ ST $254(A6) ;1a1b0: 50ee0254
+LAB_1A1B4:
+ RTS ;1a1b4: 4e75
+LAB_1A1B6:
+ ASL.W #2,D1 ;1a1b6: e541
+ LEA LAB_1AC18(PC),A1 ;1a1b8: 43fa0a5e
+ ADDA.W D1,A1 ;1a1bc: d2c1
+ MOVE.B (A1),$83(A6) ;1a1be: 1d510083
+ BRA.W SUB_1A81C ;1a1c2: 60000658
+LAB_1A1C6:
+ MOVEQ #-1,D3 ;1a1c6: 76ff
+ EORI.W #$0002,D1 ;1a1c8: 0a410002
+ BRA.S LAB_1A1D0 ;1a1cc: 6002
+LAB_1A1CE:
+ CLR.W D3 ;1a1ce: 4243
+LAB_1A1D0:
+ BSR.S LAB_1A1B6 ;1a1d0: 61e4
+ BRA.W LAB_1A416 ;1a1d2: 60000242
+LAB_1A1D6:
+ MOVEQ #-1,D3 ;1a1d6: 76ff
+ EORI.W #$0002,D1 ;1a1d8: 0a410002
+ BRA.S LAB_1A1E0 ;1a1dc: 6002
+LAB_1A1DE:
+ CLR.W D3 ;1a1de: 4243
+LAB_1A1E0:
+ BSR.S LAB_1A1B6 ;1a1e0: 61d4
+LAB_1A1E2:
+ BSR.S SUB_1A1EE ;1a1e2: 610a
+ BNE.S LAB_1A1EC ;1a1e4: 6606
+ BSR.W LAB_1A276 ;1a1e6: 6100008e
+ MOVEQ #0,D0 ;1a1ea: 7000
+LAB_1A1EC:
+ RTS ;1a1ec: 4e75
+SUB_1A1EE:
+ MOVE.B (A1),D0 ;1a1ee: 1011
+ ANDI.W #$007f,D0 ;1a1f0: 0240007f
+ CMP.W #$0013,D0 ;1a1f4: b07c0013
+ BLS.S LAB_1A228 ;1a1f8: 632e
+ CMP.W #$0017,D0 ;1a1fa: b07c0017
+ BLS.S LAB_1A224 ;1a1fe: 6324
+ CMP.W #$001a,D0 ;1a200: b07c001a
+ BLS.S LAB_1A228 ;1a204: 6322
+ CMP.B #$1b,D0 ;1a206: b03c001b
+ BEQ.S LAB_1A252 ;1a20a: 6746
+ CMP.B #$2f,D0 ;1a20c: b03c002f
+ BLS.S LAB_1A224 ;1a210: 6312
+ CMP.B #$32,D0 ;1a212: b03c0032
+ BLS.S LAB_1A22C ;1a216: 6314
+ CMP.B #$6e,D0 ;1a218: b03c006e
+ BEQ.S LAB_1A22C ;1a21c: 670e
+ CMP.B #$6f,D0 ;1a21e: b03c006f
+ BEQ.S LAB_1A22C ;1a222: 6708
+LAB_1A224:
+ MOVEQ #0,D1 ;1a224: 7200
+ RTS ;1a226: 4e75
+LAB_1A228:
+ MOVEQ #-1,D1 ;1a228: 72ff
+ RTS ;1a22a: 4e75
+LAB_1A22C:
+ MOVE.W $44(A6),D1 ;1a22c: 322e0044
+ MOVEA.L $B56(A6),A1 ;1a230: 226e0b56
+LAB_1A234:
+ TST.L (A1) ;1a234: 4a91
+ BEQ.S LAB_1A228 ;1a236: 67f0
+ CMP.W (A1)+,D1 ;1a238: b259
+ BEQ.S LAB_1A240 ;1a23a: 6704
+ ADDQ.W #4,A1 ;1a23c: 5849
+ BRA.S LAB_1A234 ;1a23e: 60f4
+LAB_1A240:
+ MOVE.W (A1),$44(A6) ;1a240: 3d510044
+ MOVEA.L $B3A(A6),A1 ;1a244: 226e0b3a
+ ADDA.W $44(A6),A1 ;1a248: d2ee0044
+ MOVE.B (A1),D2 ;1a24c: 1411
+ CLR.W D1 ;1a24e: 4241
+ RTS ;1a250: 4e75
+LAB_1A252:
+ BSR.W SUB_1A7E2 ;1a252: 6100058e
+ TST.W D5 ;1a256: 4a45
+ BMI.S LAB_1A228 ;1a258: 6bce
+ BRA.S LAB_1A224 ;1a25a: 60c8
+SUB_1A25C:
+ LEA 4(A3),A2 ;1a25c: 45eb0004
+ MOVE.W $44(A6),D0 ;1a260: 302e0044
+LAB_1A264:
+ CMP.W (A2),D0 ;1a264: b052
+ BEQ.W LAB_1A274 ;1a266: 6700000c
+ MOVE.W 2(A2),D1 ;1a26a: 322a0002
+ BMI.S LAB_1A274 ;1a26e: 6b04
+ ADDA.W D1,A2 ;1a270: d4c1
+ BRA.S LAB_1A264 ;1a272: 60f0
+LAB_1A274:
+ RTS ;1a274: 4e75
+LAB_1A276:
+ ANDI.B #$7f,$80(A6) ;1a276: 022e007f0080
+ MOVE.B (A1),D0 ;1a27c: 1011
+ ANDI.W #$007f,D0 ;1a27e: 0240007f
+ CMP.B #$36,D0 ;1a282: b03c0036
+ BEQ.S LAB_1A294 ;1a286: 670c
+ CMP.B #$37,D0 ;1a288: b03c0037
+ BNE.S LAB_1A2C2 ;1a28c: 6634
+ BSET #7,$272(A6) ;1a28e: 08ee00070272
+LAB_1A294:
+ BSET #7,$273(A6) ;1a294: 08ee00070273
+ MOVE.W $44(A6),$274(A6) ;1a29a: 3d6e00440274
+ BSR.W SUB_1A322 ;1a2a0: 61000080
+ TST.L $80(A6) ;1a2a4: 4aae0080
+ BNE.S LAB_1A2B0 ;1a2a8: 6606
+ CLR.W $272(A6) ;1a2aa: 426e0272
+ RTS ;1a2ae: 4e75
+LAB_1A2B0:
+ MOVE.W $274(A6),$44(A6) ;1a2b0: 3d6e02740044
+ MOVEA.L $B3A(A6),A1 ;1a2b6: 226e0b3a
+ ADDA.W $44(A6),A1 ;1a2ba: d2ee0044
+ CLR.W $272(A6) ;1a2be: 426e0272
+LAB_1A2C2:
+ MOVEA.L $B62(A6),A3 ;1a2c2: 266e0b62
+ MOVE.W 2(A3),D0 ;1a2c6: 302b0002
+ CMP.W #$000a,D0 ;1a2ca: b07c000a
+ BLS.W LAB_1A364 ;1a2ce: 63000094
+ BSR.S SUB_1A25C ;1a2d2: 6188
+ BEQ.W LAB_1A32A ;1a2d4: 67000054
+ SUBQ.W #8,2(A3) ;1a2d8: 516b0002
+ MOVE.W $44(A6),(A2)+ ;1a2dc: 34ee0044
+ MOVE.W #$0008,(A2)+ ;1a2e0: 34fc0008
+ MOVE.L $80(A6),(A2)+ ;1a2e4: 24ee0080
+ MOVE.L #$88828881,(A2)+ ;1a2e8: 24fc88828881
+ MOVEQ #0,D2 ;1a2ee: 7400
+LAB_1A2F0:
+ MOVE.B (A1),D0 ;1a2f0: 1011
+ ANDI.B #$7f,D0 ;1a2f2: 0200007f
+ CMP.B #$34,D0 ;1a2f6: b03c0034
+ BEQ.S LAB_1A316 ;1a2fa: 671a
+ CMP.B #$36,D0 ;1a2fc: b03c0036
+ BEQ.S LAB_1A31C ;1a300: 671a
+ CMP.B #$60,D0 ;1a302: b03c0060
+ BEQ.S LAB_1A316 ;1a306: 670e
+ CMP.B #$1d,D0 ;1a308: b03c001d
+ BLS.S LAB_1A314 ;1a30c: 6306
+ CMP.B #$2e,D0 ;1a30e: b03c002e
+ BLS.S LAB_1A316 ;1a312: 6302
+LAB_1A314:
+ RTS ;1a314: 4e75
+LAB_1A316:
+ BSET #0,(A1) ;1a316: 08d10000
+ RTS ;1a31a: 4e75
+LAB_1A31C:
+ BSET #0,(A1) ;1a31c: 08d10000
+ RTS ;1a320: 4e75
+SUB_1A322:
+ MOVE.W $44(A6),D0 ;1a322: 302e0044
+ BRA.W LAB_1D34A ;1a326: 60003022
+LAB_1A32A:
+ MOVE.W 2(A2),D0 ;1a32a: 302a0002
+ LEA 0(A2,D0.W),A4 ;1a32e: 49f20000
+ ADDQ.W #4,2(A2) ;1a332: 586a0002
+ MOVEA.L A4,A2 ;1a336: 244c
+ MOVE.W (A3),D0 ;1a338: 3013
+ SUB.W 2(A3),D0 ;1a33a: 906b0002
+ ANDI.W #$fffe,D0 ;1a33e: 0240fffe
+ LEA 0(A3,D0.W),A5 ;1a342: 4bf30000
+ CMPI.L #$88828881,-4(A5) ;1a346: 0cad88828881fffc
+ BNE.S LAB_1A362 ;1a34e: 6612
+LAB_1A350:
+ CMPA.L A4,A5 ;1a350: bbcc
+ BLE.S LAB_1A35A ;1a352: 6f06
+ MOVE.L -(A5),4(A5) ;1a354: 2b650004
+ BRA.S LAB_1A350 ;1a358: 60f6
+LAB_1A35A:
+ MOVE.L $80(A6),(A2) ;1a35a: 24ae0080
+ SUBQ.W #4,2(A3) ;1a35e: 596b0002
+LAB_1A362:
+ RTS ;1a362: 4e75
+LAB_1A364:
+ LEA 4(A3),A2 ;1a364: 45eb0004
+LAB_1A368:
+ TST.W (A2) ;1a368: 4a52
+ BMI.S LAB_1A394 ;1a36a: 6b28
+ TST.B 7(A2) ;1a36c: 4a2a0007
+ BPL.S LAB_1A378 ;1a370: 6a06
+ ADDA.W 2(A2),A2 ;1a372: d4ea0002
+ BRA.S LAB_1A368 ;1a376: 60f0
+LAB_1A378:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1a378: 48e7fffc
+ MOVE.W $44(A6),-(A7) ;1a37c: 3f2e0044
+ MOVE.W (A2),$44(A6) ;1a380: 3d520044
+ BSR.W SUB_1A40A ;1a384: 61000084
+ MOVE.W (A7)+,$44(A6) ;1a388: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1a38c: 4cdf3fff
+ BRA.W LAB_1A276 ;1a390: 6000fee4
+LAB_1A394:
+ CLR.W D0 ;1a394: 4240
+ RTS ;1a396: 4e75
+LAB_1A398:
+ MOVEQ #4,D3 ;1a398: 7604
+ SUBQ.W #4,2(A4) ;1a39a: 596c0002
+ BRA.S SUB_1A3B0 ;1a39e: 6010
+LAB_1A3A0:
+ MOVEA.L A4,A2 ;1a3a0: 244c
+ BRA.S LAB_1A3A8 ;1a3a2: 6004
+ LEA 4(A3),A2 ;1a3a4: 45eb0004
+LAB_1A3A8:
+ BSR.W SUB_1A4D2+2 ;1a3a8: 61000128
+SUB_1A3AC:
+ MOVE.W 2(A2),D3 ;1a3ac: 362a0002
+SUB_1A3B0:
+ LEA 0(A2,D3.W),A4 ;1a3b0: 49f23000
+ MOVE.W (A3),D0 ;1a3b4: 3013
+ SUB.W 2(A3),D0 ;1a3b6: 906b0002
+ LEA 0(A3,D0.W),A5 ;1a3ba: 4bf30000
+ ADD.W D3,2(A3) ;1a3be: d76b0002
+LAB_1A3C2:
+ MOVE.L (A4)+,(A2)+ ;1a3c2: 24dc
+ CMPA.L A5,A4 ;1a3c4: b9cd
+ BLT.S LAB_1A3C2 ;1a3c6: 6dfa
+ CMPI.L #$88828881,-4(A2) ;1a3c8: 0caa88828881fffc
+ BNE.S LAB_1A3D4 ;1a3d0: 6602
+ RTS ;1a3d2: 4e75
+LAB_1A3D4:
+ MOVEM.L D0/A2-A3,-(A7) ;1a3d4: 48e78030
+ LEA 4(A3),A2 ;1a3d8: 45eb0004
+LAB_1A3DC:
+ MOVE.W 2(A2),D0 ;1a3dc: 302a0002
+ CMP.W #$1000,D0 ;1a3e0: b07c1000
+ BHI.S LAB_1A3F2 ;1a3e4: 620c
+ ANDI.W #$0003,D0 ;1a3e6: 02400003
+ BNE.S LAB_1A3F2 ;1a3ea: 6606
+ ADDA.W 2(A2),A2 ;1a3ec: d4ea0002
+ BRA.S LAB_1A3DC ;1a3f0: 60ea
+LAB_1A3F2:
+ MOVE.L #$88828881,(A2)+ ;1a3f2: 24fc88828881
+ MOVEQ #0,D0 ;1a3f8: 7000
+ MOVE.W (A3),D0 ;1a3fa: 3013
+ ADD.L A3,D0 ;1a3fc: d08b
+ SUB.L A2,D0 ;1a3fe: 908a
+ MOVE.W D0,2(A3) ;1a400: 37400002
+ MOVEM.L (A7)+,D0/A2-A3 ;1a404: 4cdf0c01
+ RTS ;1a408: 4e75
+SUB_1A40A:
+ MOVEA.L $B62(A6),A3 ;1a40a: 266e0b62
+ BSR.W SUB_1A25C ;1a40e: 6100fe4c
+ BEQ.S LAB_1A3A8 ;1a412: 6794
+ RTS ;1a414: 4e75
+LAB_1A416:
+ MOVEA.L $B62(A6),A3 ;1a416: 266e0b62
+ BSR.W SUB_1A25C ;1a41a: 6100fe40
+ BEQ.S LAB_1A424 ;1a41e: 6704
+ MOVEQ #1,D0 ;1a420: 7001
+ RTS ;1a422: 4e75
+LAB_1A424:
+ BSR.W LAB_1A45E ;1a424: 61000038
+ BEQ.S LAB_1A44A ;1a428: 6720
+SUB_1A42A:
+ MOVEA.L A2,A4 ;1a42a: 284a
+ MOVE.W 2(A2),D1 ;1a42c: 322a0002
+ ADDA.W D1,A2 ;1a430: d4c1
+ SUBQ.W #4,D1 ;1a432: 5941
+ LSR.W #2,D1 ;1a434: e449
+ SUBQ.W #1,D1 ;1a436: 5341
+ MOVE.W D1,D2 ;1a438: 3401
+LAB_1A43A:
+ MOVE.L -(A2),D0 ;1a43a: 2022
+ ANDI.W #$000f,D0 ;1a43c: 0240000f
+ CMP.B $83(A6),D0 ;1a440: b02e0083
+ BEQ.S LAB_1A44E ;1a444: 6708
+ DBF D1,LAB_1A43A ;1a446: 51c9fff2
+LAB_1A44A:
+ TST.W D1 ;1a44a: 4a41
+ RTS ;1a44c: 4e75
+LAB_1A44E:
+ MOVE.L (A2),D0 ;1a44e: 2012
+ MOVE.L D0,$80(A6) ;1a450: 2d400080
+ TST.W D2 ;1a454: 4a42
+ BEQ.W LAB_1A3A0 ;1a456: 6700ff48
+ BRA.W LAB_1A398 ;1a45a: 6000ff3c
+LAB_1A45E:
+ MOVEQ #0,D1 ;1a45e: 7200
+ MOVEM.L D1/A2-A3,-(A7) ;1a460: 48e74030
+ MOVE.W $44(A6),-(A7) ;1a464: 3f2e0044
+ MOVEA.L A2,A0 ;1a468: 204a
+ BSR.W SUB_1DEDA ;1a46a: 61003a6e
+ TST.B (A1) ;1a46e: 4a11
+ BPL.S LAB_1A4B2 ;1a470: 6a40
+ MOVE.W (A2),$44(A6) ;1a472: 3d520044
+ BSR.W SUB_1B2D6 ;1a476: 61000e5e
+ BEQ.S LAB_1A4B2 ;1a47a: 6736
+ MOVE.W (A2),D0 ;1a47c: 3012
+ SUBQ.W #1,D0 ;1a47e: 5340
+ BMI.S LAB_1A4B2 ;1a480: 6b30
+ CLR.W D1 ;1a482: 4241
+ MOVE.B $83(A6),D1 ;1a484: 122e0083
+ ANDI.W #$0003,D1 ;1a488: 02410003
+ ASL.W #2,D1 ;1a48c: e541
+ LEA LAB_1A4C2(PC),A0 ;1a48e: 41fa0032
+ ADDA.W D1,A0 ;1a492: d0c1
+ MOVEA.L 2(A2),A3 ;1a494: 266a0002
+LAB_1A498:
+ MOVE.B 2(A3),D1 ;1a498: 122b0002
+ ANDI.W #$000f,D1 ;1a49c: 0241000f
+ MOVEQ #3,D2 ;1a4a0: 7403
+LAB_1A4A2:
+ CMP.B 0(A0,D2.W),D1 ;1a4a2: b2302000
+ BEQ.S LAB_1A4B6 ;1a4a6: 670e
+ DBF D2,LAB_1A4A2 ;1a4a8: 51cafff8
+ ADDQ.W #4,A3 ;1a4ac: 584b
+ DBF D0,LAB_1A498 ;1a4ae: 51c8ffe8
+LAB_1A4B2:
+ ST 4(A7) ;1a4b2: 50ef0004
+LAB_1A4B6:
+ MOVE.W (A7)+,$44(A6) ;1a4b6: 3d5f0044
+ MOVEM.L (A7)+,D1/A2-A3 ;1a4ba: 4cdf0c02
+ TST.W D1 ;1a4be: 4a41
+ RTS ;1a4c0: 4e75
+LAB_1A4C2:
+ DC.L $00010304,$01020405,$03040607 ;1a4c2
+ DC.W $0405 ;1a4ce
+SUB_1A4D2:
+ MOVEP.W $48E7(A0),D3 ;1a4d0: 070848e7
+ ORI.W #$3f2e,$44(A0,D0.W) ;1a4d4: 00703f2e0044
+ BSR.S SUB_1A4E6 ;1a4da: 610a
+ MOVE.W (A7)+,$44(A6) ;1a4dc: 3d5f0044
+ MOVEM.L (A7)+,A1-A3 ;1a4e0: 4cdf0e00
+ RTS ;1a4e4: 4e75
+SUB_1A4E6:
+ MOVEA.L $B3A(A6),A1 ;1a4e6: 226e0b3a
+ MOVE.W (A2),$44(A6) ;1a4ea: 3d520044
+ ADDA.W (A2),A1 ;1a4ee: d2d2
+ MOVEQ #0,D2 ;1a4f0: 7400
+SUB_1A4F2:
+ MOVE.B (A1),D0 ;1a4f2: 1011
+ ANDI.W #$007e,D0 ;1a4f4: 0240007e
+ CMP.B #$34,D0 ;1a4f8: b03c0034
+ BEQ.S LAB_1A518 ;1a4fc: 671a
+ CMP.B #$36,D0 ;1a4fe: b03c0036
+ BEQ.S LAB_1A51E ;1a502: 671a
+ CMP.B #$60,D0 ;1a504: b03c0060
+ BEQ.S LAB_1A518 ;1a508: 670e
+ CMP.B #$1d,D0 ;1a50a: b03c001d
+ BLS.S LAB_1A516 ;1a50e: 6306
+ CMP.B #$2e,D0 ;1a510: b03c002e
+ BLS.S LAB_1A518 ;1a514: 6302
+LAB_1A516:
+ RTS ;1a516: 4e75
+LAB_1A518:
+ BCLR #0,(A1) ;1a518: 08910000
+ RTS ;1a51c: 4e75
+LAB_1A51E:
+ BCLR #0,(A1) ;1a51e: 08910000
+ TST.W D2 ;1a522: 4a42
+ BNE.S LAB_1A518 ;1a524: 66f2
+ MOVE.W $44(A6),D0 ;1a526: 302e0044
+ BRA.W LAB_1D326 ;1a52a: 60002dfa
+SUB_1A52E:
+ CLR.W $B0C(A6) ;1a52e: 426e0b0c
+SUB_1A532:
+ MOVE.W $44(A6),D0 ;1a532: 302e0044
+ MOVEA.L $B3A(A6),A1 ;1a536: 226e0b3a
+ ADDA.W D0,A1 ;1a53a: d2c0
+ MOVE.B (A1),D2 ;1a53c: 1411
+ BTST #4,D2 ;1a53e: 08020004
+ BEQ.S LAB_1A578 ;1a542: 6734
+ CMP.B #$0f,D2 ;1a544: b43c000f
+ BLS.W LAB_1A5A8 ;1a548: 6300005e
+ ANDI.W #$0007,D2 ;1a54c: 02420007
+ BSR.W SUB_1A7C4 ;1a550: 61000272
+ BMI.S LAB_1A576 ;1a554: 6b20
+ BEQ.S LAB_1A562 ;1a556: 670a
+ MOVE.W D2,(A2) ;1a558: 3482
+ BCHG #4,3(A2) ;1a55a: 086a00040003
+ RTS ;1a560: 4e75
+LAB_1A562:
+ MOVE.W D2,(A2) ;1a562: 3482
+ MOVE.B #$03,2(A2) ;1a564: 157c00030002
+ MOVE.B (A1),D0 ;1a56a: 1011
+ ANDI.W #$000f,D0 ;1a56c: 0240000f
+ MOVE.B D0,3(A2) ;1a570: 15400003
+ MOVEQ #0,D0 ;1a574: 7000
+LAB_1A576:
+ RTS ;1a576: 4e75
+LAB_1A578:
+ TST.W $B0C(A6) ;1a578: 4a6e0b0c
+ BNE.S LAB_1A576 ;1a57c: 66f8
+ CMP.B #$0f,D2 ;1a57e: b43c000f
+ BLS.W LAB_1A5A8 ;1a582: 63000024
+ BSR.W SUB_1A7C4 ;1a586: 6100023c
+ BMI.S LAB_1A576 ;1a58a: 6bea
+ BNE.S LAB_1A576 ;1a58c: 66e8
+ CLR.B 2(A2) ;1a58e: 422a0002
+ MOVE.W D2,(A2) ;1a592: 3482
+ MOVE.B (A1),D0 ;1a594: 1011
+ ANDI.W #$000f,D0 ;1a596: 0240000f
+ BSET #4,D0 ;1a59a: 08c00004
+ MOVE.B D0,3(A2) ;1a59e: 15400003
+ BSET #4,(A1) ;1a5a2: 08d10004
+ MOVEQ #0,D0 ;1a5a6: 7000
+LAB_1A5A8:
+ RTS ;1a5a8: 4e75
+SUB_1A5AA:
+ MOVEQ #-1,D0 ;1a5aa: 70ff
+ LEA $48(A6),A0 ;1a5ac: 41ee0048
+ MOVEQ #7,D1 ;1a5b0: 7207
+LAB_1A5B2:
+ MOVE.L D0,(A0)+ ;1a5b2: 20c0
+ DBF D1,LAB_1A5B2 ;1a5b4: 51c9fffc
+ MOVE.L D0,$C4A(A6) ;1a5b8: 2d400c4a
+ CLR.W $230(A6) ;1a5bc: 426e0230
+ MOVE.L D0,$236(A6) ;1a5c0: 2d400236
+ LEA $126(A6),A0 ;1a5c4: 41ee0126
+ MOVEQ #$1F,D0 ;1a5c8: 701f
+LAB_1A5CA:
+ MOVE.L #$88880000,(A0)+ ;1a5ca: 20fc88880000
+ CLR.L (A0)+ ;1a5d0: 4298
+ DBF D0,LAB_1A5CA ;1a5d2: 51c8fff6
+ MOVE.L #$20202020,$E28(A6) ;1a5d6: 2d7c202020200e28
+ MOVE.L #$20202020,$E2C(A6) ;1a5de: 2d7c202020200e2c
+ RTS ;1a5e6: 4e75
+LAB_1A5E8:
+ MOVE.W #$badf,D0 ;1a5e8: 303cbadf
+ MOVEQ #3,D3 ;1a5ec: 7603
+ LEA $58(A6),A2 ;1a5ee: 45ee0058
+LAB_1A5F2:
+ TST.L (A2)+ ;1a5f2: 4a9a
+ BMI.S LAB_1A606 ;1a5f4: 6b10
+ MOVEM.L D3/A2,-(A7) ;1a5f6: 48e71020
+ LEA -4(A2),A2 ;1a5fa: 45eafffc
+ BSR.W SUB_1A63C ;1a5fe: 6100003c
+ MOVEM.L (A7)+,D3/A2 ;1a602: 4cdf0408
+LAB_1A606:
+ DBF D3,LAB_1A5F2 ;1a606: 51cbffea
+ MOVEQ #3,D3 ;1a60a: 7603
+ LEA $48(A6),A2 ;1a60c: 45ee0048
+LAB_1A610:
+ TST.L (A2)+ ;1a610: 4a9a
+ BMI.S LAB_1A624 ;1a612: 6b10
+ MOVEM.L D3/A2,-(A7) ;1a614: 48e71020
+ LEA -4(A2),A2 ;1a618: 45eafffc
+ BSR.W SUB_1A768 ;1a61c: 6100014a
+ MOVEM.L (A7)+,D3/A2 ;1a620: 4cdf0408
+LAB_1A624:
+ DBF D3,LAB_1A610 ;1a624: 51cbffea
+ RTS ;1a628: 4e75
+LAB_1A62A:
+ ADDQ.B #1,D0 ;1a62a: 5200
+ CMP.B #$03,D0 ;1a62c: b03c0003
+ BHI.S LAB_1A638 ;1a630: 6206
+ MOVE.B D0,2(A2) ;1a632: 15400002
+ RTS ;1a636: 4e75
+LAB_1A638:
+ ST (A2) ;1a638: 50d2
+ RTS ;1a63a: 4e75
+SUB_1A63C:
+ MOVE.B 2(A2),D0 ;1a63c: 102a0002
+ MOVE.B 3(A2),D1 ;1a640: 122a0003
+ CMP.B #$ff,D1 ;1a644: b23c00ff
+ BEQ.S LAB_1A62A ;1a648: 67e0
+ MOVE.B 3(A2),D5 ;1a64a: 1a2a0003
+ ANDI.W #$0007,D5 ;1a64e: 02450007
+ CMP.W #$0001,D5 ;1a652: ba7c0001
+ BLS.S LAB_1A670 ;1a656: 6318
+ CMP.W #$0004,D5 ;1a658: ba7c0004
+ BHI.S LAB_1A670 ;1a65c: 6212
+ CMP.W #$0003,D5 ;1a65e: ba7c0003
+ BEQ.S LAB_1A668 ;1a662: 6704
+ MOVEQ #$B,D5 ;1a664: 7a0b
+ BRA.S LAB_1A66A ;1a666: 6002
+LAB_1A668:
+ MOVEQ #$B,D5 ;1a668: 7a0b
+LAB_1A66A:
+ BSR.W SUB_1A752 ;1a66a: 610000e6
+ BRA.S LAB_1A676 ;1a66e: 6006
+LAB_1A670:
+ MOVEQ #$B,D5 ;1a670: 7a0b
+ BSR.W SUB_1A742 ;1a672: 610000ce
+LAB_1A676:
+ BTST #4,D1 ;1a676: 08010004
+ BNE.S LAB_1A69C ;1a67a: 6620
+ BCLR #5,3(A2) ;1a67c: 08aa00050003
+ SUBQ.B #1,2(A2) ;1a682: 532a0002
+ BPL.W LAB_1A6E2 ;1a686: 6a00005a
+ BSR.W SUB_1A6C8 ;1a68a: 6100003c
+ ST (A2) ;1a68e: 50d2
+ CMP.B #$17,D2 ;1a690: b43c0017
+ BLS.S LAB_1A6A8 ;1a694: 6312
+ BCLR #4,(A1) ;1a696: 08910004
+ RTS ;1a69a: 4e75
+LAB_1A69C:
+ ADDQ.B #1,D0 ;1a69c: 5200
+ CMP.B #$03,D0 ;1a69e: b03c0003
+ BHI.S LAB_1A6AA ;1a6a2: 6206
+ MOVE.B D0,2(A2) ;1a6a4: 15400002
+LAB_1A6A8:
+ RTS ;1a6a8: 4e75
+LAB_1A6AA:
+ MOVE.B 3(A2),D1 ;1a6aa: 122a0003
+ BTST #5,D1 ;1a6ae: 08010005
+ BEQ.S LAB_1A6BC ;1a6b2: 6708
+ BCHG #4,3(A2) ;1a6b4: 086a00040003
+ RTS ;1a6ba: 4e75
+LAB_1A6BC:
+ ST (A2) ;1a6bc: 50d2
+ RTS ;1a6be: 4e75
+LAB_1A6C0:
+ DS.L 1 ;1a6c0
+ DC.L $01040410 ;1a6c4
+SUB_1A6C8:
+ MOVE.W (A2),D0 ;1a6c8: 3012
+ MOVE.W D0,$44(A6) ;1a6ca: 3d400044
+ MOVEA.L $B3A(A6),A1 ;1a6ce: 226e0b3a
+ ADDA.W D0,A1 ;1a6d2: d2c0
+ MOVE.B (A1),D2 ;1a6d4: 1411
+ RTS ;1a6d6: 4e75
+LAB_1A6D8:
+ BSR.S SUB_1A6C8 ;1a6d8: 61ee
+ MOVEQ #5,D0 ;1a6da: 7005
+ MOVE.W #$1064,D1 ;1a6dc: 323c1064
+ BRA.S LAB_1A6F4 ;1a6e0: 6012
+LAB_1A6E2:
+ BSR.S SUB_1A6C8 ;1a6e2: 61e4
+ MOVE.B 3(A2),D0 ;1a6e4: 102a0003
+ ANDI.W #$0007,D0 ;1a6e8: 02400007
+ MOVE.B LAB_1A73A(PC,D0.W),D0 ;1a6ec: 103b004c
+ MOVE.W #$0410,D1 ;1a6f0: 323c0410
+LAB_1A6F4:
+ TST.B 2(A2) ;1a6f4: 4a2a0002
+ BNE.S LAB_1A734 ;1a6f8: 663a
+ BTST #7,(A1) ;1a6fa: 08110007
+ BEQ.S LAB_1A734 ;1a6fe: 6734
+ LEA LAB_1A6C0(PC),A0 ;1a700: 41faffbe
+ MOVE.W $44(A6),(A0) ;1a704: 30ae0044
+ MOVE.B D0,3(A0) ;1a708: 11400003
+ MOVE.W D1,6(A0) ;1a70c: 31410006
+ MOVE.L A2,-(A7) ;1a710: 2f0a
+ ST $E4A(A6) ;1a712: 50ee0e4a
+ BSR.W SUB_1DF4E ;1a716: 61003836
+ BMI.S LAB_1A736 ;1a71a: 6b1a
+ MOVEA.L (A7)+,A2 ;1a71c: 245f
+ MOVEQ #5,D5 ;1a71e: 7a05
+ BSR.W SUB_1A752 ;1a720: 61000030
+ ADDQ.B #1,2(A2) ;1a724: 522a0002
+ BCHG #4,3(A2) ;1a728: 086a00040003
+ BSET #5,3(A2) ;1a72e: 08ea00050003
+LAB_1A734:
+ RTS ;1a734: 4e75
+LAB_1A736:
+ MOVEA.L (A7)+,A2 ;1a736: 245f
+ RTS ;1a738: 4e75
+LAB_1A73A:
+ DC.L $01020302,$03020202 ;1a73a
+SUB_1A742:
+ BTST #0,2(A2) ;1a742: 082a00000002
+ BNE.S LAB_1A766 ;1a748: 661c
+ CMPI.B #$03,2(A2) ;1a74a: 0c2a00030002
+ BHI.S LAB_1A766 ;1a750: 6214
+SUB_1A752:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1a752: 48e7fffe
+ MOVE.W (A2),D2 ;1a756: 3412
+ MOVE.W D5,D0 ;1a758: 3005
+ ST D1 ;1a75a: 50c1
+ JSR SUB_207AA ;1a75c: 4eb9000207aa
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1a762: 4cdf7fff
+LAB_1A766:
+ RTS ;1a766: 4e75
+SUB_1A768:
+ MOVE.B 2(A2),D0 ;1a768: 102a0002
+ MOVE.B 3(A2),D1 ;1a76c: 122a0003
+ MOVEQ #$C,D5 ;1a770: 7a0c
+ BSR.S SUB_1A742 ;1a772: 61ce
+ BTST #4,D1 ;1a774: 08010004
+ BEQ.S LAB_1A798 ;1a778: 671e
+ BCLR #5,3(A2) ;1a77a: 08aa00050003
+ SUBQ.B #1,2(A2) ;1a780: 532a0002
+ BPL.W LAB_1A6D8 ;1a784: 6a00ff52
+ MOVEQ #5,D5 ;1a788: 7a05
+ BSR.S SUB_1A752 ;1a78a: 61c6
+ MOVE.W (A2),$44(A6) ;1a78c: 3d520044
+ ST (A2) ;1a790: 50d2
+ BSR.W SUB_1A40A ;1a792: 6100fc76
+ RTS ;1a796: 4e75
+LAB_1A798:
+ ADDQ.B #1,D0 ;1a798: 5200
+ CMP.B #$03,D0 ;1a79a: b03c0003
+ BHI.S LAB_1A7A6 ;1a79e: 6206
+ MOVE.B D0,2(A2) ;1a7a0: 15400002
+ RTS ;1a7a4: 4e75
+LAB_1A7A6:
+ BCHG #4,3(A2) ;1a7a6: 086a00040003
+ BTST #5,D1 ;1a7ac: 08010005
+ BNE.S LAB_1A7B8 ;1a7b0: 6606
+ MOVE.B #$32,2(A2) ;1a7b2: 157c00320002
+LAB_1A7B8:
+ RTS ;1a7b8: 4e75
+LAB_1A7BA:
+ MOVE.W $44(A6),D0 ;1a7ba: 302e0044
+ MOVEA.L $B3A(A6),A1 ;1a7be: 226e0b3a
+ ADDA.W D0,A1 ;1a7c2: d2c0
+SUB_1A7C4:
+ LEA $64(A6),A3 ;1a7c4: 47ee0064
+ BSR.S SUB_1A7E8 ;1a7c8: 611e
+ BPL.S LAB_1A7CE ;1a7ca: 6a02
+ BRA.S LAB_1A806 ;1a7cc: 6038
+LAB_1A7CE:
+ RTS ;1a7ce: 4e75
+SUB_1A7D0:
+ LEA $54(A6),A3 ;1a7d0: 47ee0054
+ BSR.S SUB_1A7E8 ;1a7d4: 6112
+ BPL.S LAB_1A7DA ;1a7d6: 6a02
+ BRA.S LAB_1A806 ;1a7d8: 602c
+LAB_1A7DA:
+ RTS ;1a7da: 4e75
+SUB_1A7DC:
+ LEA $64(A6),A2 ;1a7dc: 45ee0064
+ BRA.S LAB_1A7EE ;1a7e0: 600c
+SUB_1A7E2:
+ LEA $54(A6),A2 ;1a7e2: 45ee0054
+ BRA.S LAB_1A7EE ;1a7e6: 6006
+SUB_1A7E8:
+ MOVE.W D0,$44(A6) ;1a7e8: 3d400044
+ MOVEA.L A3,A2 ;1a7ec: 244b
+LAB_1A7EE:
+ MOVE.W $44(A6),D2 ;1a7ee: 342e0044
+ MOVEQ #3,D3 ;1a7f2: 7603
+LAB_1A7F4:
+ CMP.W (A2),D2 ;1a7f4: b452
+ BEQ.S LAB_1A802 ;1a7f6: 670a
+ SUBQ.W #4,A2 ;1a7f8: 594a
+ DBF D3,LAB_1A7F4 ;1a7fa: 51cbfff8
+ MOVE.W D3,D5 ;1a7fe: 3a03
+ RTS ;1a800: 4e75
+LAB_1A802:
+ MOVEQ #1,D5 ;1a802: 7a01
+ RTS ;1a804: 4e75
+LAB_1A806:
+ MOVEQ #3,D3 ;1a806: 7603
+ MOVEA.L A3,A2 ;1a808: 244b
+LAB_1A80A:
+ TST.W (A2) ;1a80a: 4a52
+ BMI.S LAB_1A818 ;1a80c: 6b0a
+ SUBQ.W #4,A2 ;1a80e: 594a
+ DBF D3,LAB_1A80A ;1a810: 51cbfff8
+ MOVE.W D3,D5 ;1a814: 3a03
+ RTS ;1a816: 4e75
+LAB_1A818:
+ CLR.W D3 ;1a818: 4243
+ RTS ;1a81a: 4e75
+SUB_1A81C:
+ NEG.W D3 ;1a81c: 4443
+ ASL.W #2,D3 ;1a81e: e543
+ MOVE.W $22(A6),D6 ;1a820: 3c2e0022
+ ANDI.W #$0003,D6 ;1a824: 02460003
+ ADD.W D3,D6 ;1a828: dc43
+ BRA.S LAB_1A836 ;1a82a: 600a
+SUB_1A82C:
+ MOVE.W $22(A6),D6 ;1a82c: 3c2e0022
+ ANDI.W #$0003,D6 ;1a830: 02460003
+ ADDQ.W #4,D6 ;1a834: 5846
+LAB_1A836:
+ ADD.W D6,D6 ;1a836: dc46
+ MOVE.W $1A(A6),D0 ;1a838: 302e001a
+ ADD.B LAB_1A88C(PC,D6.W),D0 ;1a83c: d03b604e
+ CMP.W #$001f,D0 ;1a840: b07c001f
+ BHI.S LAB_1A86C ;1a844: 6226
+ MOVE.W $1C(A6),D1 ;1a846: 322e001c
+ ADD.B LAB_1A88D(PC,D6.W),D1 ;1a84a: d23b6041
+ CMP.W #$001f,D1 ;1a84e: b27c001f
+ BHI.S LAB_1A86C ;1a852: 6218
+ MOVE.W $20(A6),D0 ;1a854: 302e0020
+ ADD.W LAB_1A874(PC,D6.W),D0 ;1a858: d07b601a
+ MOVE.W D0,$44(A6) ;1a85c: 3d400044
+ MOVEA.L $B3A(A6),A1 ;1a860: 226e0b3a
+ ADDA.W $44(A6),A1 ;1a864: d2ee0044
+ MOVE.B (A1),D2 ;1a868: 1411
+ RTS ;1a86a: 4e75
+LAB_1A86C:
+ LEA LAB_1A8A4(PC),A1 ;1a86c: 43fa0036
+ CLR.W D2 ;1a870: 4242
+ RTS ;1a872: 4e75
+LAB_1A874:
+ DS.L 2 ;1a874
+ DC.L $ffe0ffff,$00200001,$ffc0fffe,$00400002 ;1a87c
+LAB_1A88C:
+ DS.B 1 ;1a88c
+LAB_1A88D:
+ DS.B 1 ;1a88d
+ DS.L 1 ;1a88e
+ DC.L $000000ff,$ff000001,$010000fe,$fe000002 ;1a892
+ DC.W $0200 ;1a8a2
+LAB_1A8A4:
+ DS.W 1 ;1a8a4
+LAB_1A8A6:
+ DC.L $06380000,$063a0001,$04ec0000,$04ee0001 ;1a8a6
+ DC.L $04f80000,$04fa0001,$03ac0000,$03ae0001 ;1a8b6
+ DC.L $03b80000,$03ba0001,$026c0000,$026e0001 ;1a8c6
+ DC.L $02780000,$027a0001,$012c0000,$012e0001 ;1a8d6
+ DC.L $01380000,$013a0001 ;1a8e6
+LAB_1A8EE:
+ DC.L $04ec0000,$04ee0001,$03ac0000,$03ae0001 ;1a8ee
+ DC.L $026c0000,$026e0001,$012c0000,$012e0001 ;1a8fe
+LAB_1A90E:
+ DC.L $04f80000,$04fa0001,$03b80000,$03ba0001 ;1a90e
+ DC.L $02780000,$027a0001,$01380000,$013a0001 ;1a91e
+LAB_1A92E:
+ DC.L $000e0011,$00140017,$001a001d,$00200023 ;1a92e
+LAB_1A93E:
+ DC.L $08a808ab,$0da80dab,$0b280b2b,$1028102b ;1a93e
+ DC.L $03000306,$03030309 ;1a94e
+LAB_1A956:
+ DC.L $0e020e05,$0e080e0c,$10d210d5,$10d810dc ;1a956
+LAB_1A966:
+ DC.L $14421445,$1448144b,$17da17dd,$17e017e3 ;1a966
+ DC.L $03100312,$10861087,$00260027,$031e031f ;1a976
+ DC.L $03140316,$11761177,$01160117,$040e040f ;1a986
+ DC.L $020604fe,$07c807ca,$1d2a1d2c,$1d2e1d30 ;1a996
+ DC.L $1e421e44,$1e461e48 ;1a9a6
+ DC.W $1b50 ;1a9ae
+LAB_1A9B0:
+ DC.L $000302aa,$01ba025a,$00070412,$02fa000c ;1a9b0
+ DC.L $014c000c,$00040296,$00780140,$02080140 ;1a9c0
+ DC.L $000703fe,$02d0007a,$02d0007a ;1a9d0
+LAB_1A9DC:
+ DC.L $ffffffff,$fff00052,$fffb0052,$ffffffff ;1a9dc
+ DC.L $ffffffff,$fff50053,$ffffffff,$ffffffff ;1a9ec
+ DC.L $ffffffff,$00110052,$001c0052,$00270052 ;1a9fc
+ DC.L $000d0053,$00180053,$00240053,$00080054 ;1aa0c
+ DC.L $00140054,$00210054,$003d0052,$00480052 ;1aa1c
+ DC.L $00530052,$003c0053,$00480053,$00540053 ;1aa2c
+ DC.L $003b0054,$00480054,$00550054,$00690052 ;1aa3c
+ DC.L $00740052,$007f0052,$006c0053,$00770053 ;1aa4c
+ DC.L $00830053,$006f0054,$007b0054,$00870054 ;1aa5c
+ DC.L $00950052,$00a00052,$ffffffff,$009b0053 ;1aa6c
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1aa7c
+ DC.L $ffffffff,$fffe0057,$000c0057,$00190057 ;1aa8c
+ DC.L $fff00059,$00030059,$00150059,$ffffffff ;1aa9c
+ DC.L $fffc005c,$0010005c,$00380057,$00480057 ;1aaac
+ DC.L $00580057,$00360059,$00480059,$005a0059 ;1aabc
+ DC.L $0034005c,$0048005c,$005c005c,$00770057 ;1aacc
+ DC.L $00840057,$00920057,$007b0059,$008d0059 ;1aadc
+ DC.L $00a00059,$0080005c,$0094005c,$ffffffff ;1aaec
+ DC.L $ffffffff,$ffec0061,$00040061,$ffffffff ;1aafc
+ DC.L $ffe40064,$fffe0064,$ffffffff,$ffdc0067 ;1ab0c
+ DC.L $fff80067,$00300061,$00480061,$00600061 ;1ab1c
+ DC.L $002e0064,$00480064,$00620064,$002c0067 ;1ab2c
+ DC.L $00480067,$00640067,$008c0061,$00a40061 ;1ab3c
+ DC.L $ffffffff,$00920064,$00ac0064,$ffffffff ;1ab4c
+ DC.L $00980067,$00b40067,$ffffffff,$ffffffff ;1ab5c
+ DC.L $ffffffff,$ffe8006e,$ffffffff,$ffffffff ;1ab6c
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1ab7c
+ DC.L $0028006e,$0048006e,$0068006e,$ffffffff ;1ab8c
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1ab9c
+ DC.L $ffffffff,$00a8006e,$ffffffff,$ffffffff ;1abac
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;1abbc
+ DC.L $ffffffff,$ffffffff ;1abcc
+LAB_1ABD4:
+ DC.L $ffffffff,$00100048,$00480048,$00800048 ;1abd4
+ DC.L $fff8004b,$0048004b,$0098004b,$00480050 ;1abe4
+LAB_1ABF4:
+ DC.L $00010203,$04050607,$08020508,$01040700 ;1abf4
+ DC.L $03060807,$06050403,$02010006,$03000704 ;1ac04
+ DC.L $01080502 ;1ac14
+LAB_1AC18:
+ DC.L $00010203,$02000301,$03020100,$01030002 ;1ac18
+LAB_1AC28:
+ LEA $27C(A6),A0 ;1ac28: 41ee027c
+ MOVEQ #6,D0 ;1ac2c: 7006
+ MOVE.W #$008e,D1 ;1ac2e: 323c008e
+ LEA LAB_1AC60(PC),A1 ;1ac32: 43fa002c
+LAB_1AC36:
+ TST.W (A0)+ ;1ac36: 4a58
+ BEQ.S LAB_1AC58 ;1ac38: 671e
+ MOVEM.L D0-D1/A0-A1,-(A7) ;1ac3a: 48e7c0c0
+ MOVEA.L #LAB_1291A,A0 ;1ac3e: 207c0001291a
+ MOVE.W (A1),(A0) ;1ac44: 3091
+ MOVE.W D1,2(A0) ;1ac46: 31410002
+ MOVE.W #$0520,D0 ;1ac4a: 303c0520
+ BSR.W LAB_198CC ;1ac4e: 6100ec7c
+ MOVEM.L (A7)+,D0-D1/A0-A1 ;1ac52: 4cdf0303
+ ADDQ.W #2,D1 ;1ac56: 5441
+LAB_1AC58:
+ ADDQ.W #2,A1 ;1ac58: 5449
+ DBF D0,LAB_1AC36 ;1ac5a: 51c8ffda
+ RTS ;1ac5e: 4e75
+LAB_1AC60:
+ DC.L $007c01e4,$0784061c,$034c04b4 ;1ac60
+ DC.W $08ec ;1ac6c
+SUB_1AC6E:
+ LEA $F78(A6),A0 ;1ac6e: 41ee0f78
+ MOVEQ #3,D0 ;1ac72: 7003
+LAB_1AC74:
+ TST.B (A0)+ ;1ac74: 4a18
+ BEQ.S LAB_1AC8C ;1ac76: 6714
+ MOVEM.L D0/A0/A2,-(A7) ;1ac78: 48e780a0
+ ADD.W D0,D0 ;1ac7c: d040
+ LEA LAB_1A9B0(PC),A2 ;1ac7e: 45fafd30
+ ADDA.W LAB_1AC92(PC,D0.W),A2 ;1ac82: d4fb000e
+ BSR.S SUB_1AC9A ;1ac86: 6112
+ MOVEM.L (A7)+,D0/A0/A2 ;1ac88: 4cdf0501
+LAB_1AC8C:
+ DBF D0,LAB_1AC74 ;1ac8c: 51c8ffe6
+ RTS ;1ac90: 4e75
+LAB_1AC92:
+ DC.L $00200014,$00080000 ;1ac92
+SUB_1AC9A:
+ MOVEA.L $1066(A6),A1 ;1ac9a: 226e1066
+ MOVE.W (A2)+,D0 ;1ac9e: 301a
+ ADDA.W (A2)+,A1 ;1aca0: d2da
+ CLR.W D1 ;1aca2: 4241
+ SUBQ.B #1,-(A0) ;1aca4: 5320
+ MOVE.B (A0),D1 ;1aca6: 1210
+ ADD.W D1,D1 ;1aca8: d241
+ MOVE.W 0(A2,D1.W),-(A7) ;1acaa: 3f321000
+ MOVEA.L $1036(A6),A2 ;1acae: 246e1036
+ ADDA.W (A7)+,A2 ;1acb2: d4df
+ MOVEQ #1,D1 ;1acb4: 7201
+ BRA.W LAB_19862 ;1acb6: 6000ebaa
+LAB_1ACBA:
+ LEA (A6),A3 ;1acba: 47d6
+ CLR.L (A3)+ ;1acbc: 429b
+ CLR.L (A3)+ ;1acbe: 429b
+ CLR.W (A3)+ ;1acc0: 425b
+ MOVEQ #-1,D0 ;1acc2: 70ff
+ MOVE.L D0,(A3)+ ;1acc4: 26c0
+ MOVE.L D0,(A3)+ ;1acc6: 26c0
+ MOVE.W D0,(A3)+ ;1acc8: 36c0
+ MOVE.W $22(A6),D0 ;1acca: 302e0022
+ ASL.W #2,D0 ;1acce: e540
+ LEA LAB_1AC18(PC),A3 ;1acd0: 47faff46
+ MOVE.L 0(A3,D0.W),$7A(A6) ;1acd4: 2d730000007a
+ BSR.W SUB_1B2FA ;1acda: 6100061e
+LAB_1ACDE:
+ RTS ;1acde: 4e75
+LAB_1ACE0:
+ JSR LAB_16D80 ;1ace0: 4eb900016d80
+ MOVE.B $11D(A6),D0 ;1ace6: 102e011d
+ MOVE.B $11C(A6),$11D(A6) ;1acea: 1d6e011c011d
+ CMP.B $11C(A6),D0 ;1acf0: b02e011c
+ BNE.W LAB_1AD00 ;1acf4: 6600000a
+ CMP.W $10C(A6),D1 ;1acf8: b26e010c
+ BEQ.W LAB_1CE16 ;1acfc: 67002118
+LAB_1AD00:
+ MOVE.W D1,$10C(A6) ;1ad00: 3d41010c
+ MOVE.W D1,$11A(A6) ;1ad04: 3d41011a
+ BRA.W LAB_1CE1E ;1ad08: 60002114
+LAB_1AD0C:
+ MOVE.W $BAA(A6),D0 ;1ad0c: 302e0baa
+ BEQ.S LAB_1ACDE ;1ad10: 67cc
+ MOVEA.L $BAC(A6),A3 ;1ad12: 266e0bac
+LAB_1AD16:
+ MOVEM.L D0/A3,-(A7) ;1ad16: 48e78010
+ BSR.W LAB_1B0E0 ;1ad1a: 610003c4
+ MOVEM.L (A7)+,D0/A3 ;1ad1e: 4cdf0801
+ LEA 4(A3),A3 ;1ad22: 47eb0004
+ SUBQ.W #1,D0 ;1ad26: 5340
+ BNE.S LAB_1AD16 ;1ad28: 66ec
+ RTS ;1ad2a: 4e75
+LAB_1AD2C:
+ MOVE.W $22(A6),D1 ;1ad2c: 322e0022
+ ASL.W #2,D1 ;1ad30: e541
+ ANDI.W #$000c,D1 ;1ad32: 0241000c
+ LEA LAB_1AD56(PC),A1 ;1ad36: 43fa001e
+ ADDA.W D1,A1 ;1ad3a: d2c1
+ MOVEQ #3,D3 ;1ad3c: 7603
+ LEA $112(A6),A0 ;1ad3e: 41ee0112
+ LEA $102(A6),A2 ;1ad42: 45ee0102
+LAB_1AD46:
+ MOVE.B (A0)+,D0 ;1ad46: 1018
+ ANDI.W #$0003,D0 ;1ad48: 02400003
+ MOVE.B (A1)+,0(A2,D0.W) ;1ad4c: 15990000
+ DBF D3,LAB_1AD46 ;1ad50: 51cbfff4
+ RTS ;1ad54: 4e75
+LAB_1AD56:
+ DC.L $00020608,$06000802,$08060200,$02080006 ;1ad56
+LAB_1AD66:
+ MOVE.W $BB2(A6),D0 ;1ad66: 302e0bb2
+ BEQ.S LAB_1AD94 ;1ad6a: 6728
+ MOVEA.L $C38(A6),A2 ;1ad6c: 246e0c38
+ MOVEA.L $BB4(A6),A3 ;1ad70: 266e0bb4
+ MOVE.B -4(A3),$F72(A6) ;1ad74: 1d6bfffc0f72
+LAB_1AD7A:
+ CLR.W D1 ;1ad7a: 4241
+ MOVE.B 2(A3),D1 ;1ad7c: 122b0002
+ ANDI.W #$000f,D1 ;1ad80: 0241000f
+ MOVE.B 0(A2,D1.W),D1 ;1ad84: 12321000
+ CMP.W #$0003,D1 ;1ad88: b27c0003
+ BLT.S LAB_1AD96 ;1ad8c: 6d08
+LAB_1AD8E:
+ ADDQ.W #4,A3 ;1ad8e: 584b
+ SUBQ.W #1,D0 ;1ad90: 5340
+ BNE.S LAB_1AD7A ;1ad92: 66e6
+LAB_1AD94:
+ RTS ;1ad94: 4e75
+LAB_1AD96:
+ BSR.W LAB_1AE24 ;1ad96: 6100008c
+ BRA.S LAB_1AD8E ;1ad9a: 60f2
+LAB_1AD9C:
+ MOVE.W $BB2(A6),D0 ;1ad9c: 302e0bb2
+ BEQ.S LAB_1ADCA ;1ada0: 6728
+ MOVEA.L $C38(A6),A2 ;1ada2: 246e0c38
+ MOVEA.L $BB4(A6),A3 ;1ada6: 266e0bb4
+LAB_1ADAA:
+ CLR.W D1 ;1adaa: 4241
+ MOVE.B 2(A3),D1 ;1adac: 122b0002
+ ANDI.W #$000f,D1 ;1adb0: 0241000f
+ MOVE.B 0(A2,D1.W),D1 ;1adb4: 12321000
+ CMP.B #$06,D1 ;1adb8: b23c0006
+ BGE.S LAB_1ADC4 ;1adbc: 6c06
+ CMP.B #$03,D1 ;1adbe: b23c0003
+ BGE.S LAB_1ADCC ;1adc2: 6c08
+LAB_1ADC4:
+ ADDQ.W #4,A3 ;1adc4: 584b
+ SUBQ.W #1,D0 ;1adc6: 5340
+ BNE.S LAB_1ADAA ;1adc8: 66e0
+LAB_1ADCA:
+ RTS ;1adca: 4e75
+LAB_1ADCC:
+ BTST #4,2(A3) ;1adcc: 082b00040002
+ BEQ.S LAB_1ADDE ;1add2: 670a
+ CMPI.B #$09,$BB1(A6) ;1add4: 0c2e00090bb1
+ BNE.S LAB_1ADDE ;1adda: 6602
+ ADDQ.W #3,D1 ;1addc: 5641
+LAB_1ADDE:
+ BSR.S LAB_1AE24 ;1adde: 6144
+ BRA.S LAB_1ADC4 ;1ade0: 60e2
+LAB_1ADE2:
+ BSR.S LAB_1AD9C ;1ade2: 61b8
+ MOVE.W $BB2(A6),D0 ;1ade4: 302e0bb2
+ BEQ.S LAB_1AE0C ;1ade8: 6722
+ MOVEA.L $C38(A6),A2 ;1adea: 246e0c38
+ MOVEA.L $BB4(A6),A3 ;1adee: 266e0bb4
+LAB_1ADF2:
+ CLR.W D1 ;1adf2: 4241
+ MOVE.B 2(A3),D1 ;1adf4: 122b0002
+ ANDI.W #$000f,D1 ;1adf8: 0241000f
+ MOVE.B 0(A2,D1.W),D1 ;1adfc: 12321000
+ CMP.B #$06,D1 ;1ae00: b23c0006
+ BGE.S LAB_1AE0E ;1ae04: 6c08
+LAB_1AE06:
+ ADDQ.W #4,A3 ;1ae06: 584b
+ SUBQ.W #1,D0 ;1ae08: 5340
+ BNE.S LAB_1ADF2 ;1ae0a: 66e6
+LAB_1AE0C:
+ RTS ;1ae0c: 4e75
+LAB_1AE0E:
+ BSR.S LAB_1AE24 ;1ae0e: 6114
+ BRA.S LAB_1AE06 ;1ae10: 60f4
+LAB_1AE12:
+ DC.L $08080808,$08040404 ;1ae12
+ DS.L 2 ;1ae1a
+ DS.W 1 ;1ae22
+LAB_1AE24:
+ MOVEM.L D0/A2-A3,-(A7) ;1ae24: 48e78030
+ CLR.W D4 ;1ae28: 4244
+ MOVE.B $BB1(A6),D4 ;1ae2a: 182e0bb1
+ CLR.W D2 ;1ae2e: 4242
+ MOVE.B LAB_1AE12(PC,D4.W),D2 ;1ae30: 143b40e0
+ MOVE.W D4,D5 ;1ae34: 3a04
+ ASL.W #3,D5 ;1ae36: e745
+ ADD.W D4,D5 ;1ae38: da44
+ ADD.W D1,D5 ;1ae3a: da41
+ ADD.W D5,D5 ;1ae3c: da45
+ ADD.W D5,D5 ;1ae3e: da45
+ LEA LAB_1A9DC(PC),A2 ;1ae40: 45fafb9a
+ ADDA.W D5,A2 ;1ae44: d4c5
+ CMPI.W #$ffff,(A2) ;1ae46: 0c52ffff
+ BEQ.W LAB_1AF70 ;1ae4a: 67000124
+ CLR.W $1010(A6) ;1ae4e: 426e1010
+ MOVE.B $78(A6),D0 ;1ae52: 102e0078
+ SUB.W $22(A6),D0 ;1ae56: 906e0022
+ ANDI.W #$0003,D0 ;1ae5a: 02400003
+ CMP.W #$0003,D0 ;1ae5e: b07c0003
+ BNE.S LAB_1AE6C ;1ae62: 6608
+ MOVE.W #$0080,$1010(A6) ;1ae64: 3d7c00801010
+ SUBQ.W #2,D0 ;1ae6a: 5540
+LAB_1AE6C:
+ ADD.W D0,D2 ;1ae6c: d440
+ ADD.W D2,D2 ;1ae6e: d442
+ BTST #5,2(A3) ;1ae70: 082b00050002
+ BEQ.S LAB_1AE80 ;1ae76: 6708
+ CMP.W #$0002,D0 ;1ae78: b07c0002
+ BNE.S LAB_1AE80 ;1ae7c: 6602
+ ADDQ.W #2,D2 ;1ae7e: 5442
+LAB_1AE80:
+ MOVE.B 2(A3),$E48(A6) ;1ae80: 1d6b00020e48
+ MOVE.B $F72(A6),D0 ;1ae86: 102e0f72
+ ANDI.W #$003f,D0 ;1ae8a: 0240003f
+ ADD.W D0,D0 ;1ae8e: d040
+ MOVEA.L $10AA(A6),A5 ;1ae90: 2a6e10aa
+ ADDA.W 0(A5,D0.W),A5 ;1ae94: daf50000
+ ADDA.W 0(A5,D2.W),A5 ;1ae98: daf52000
+ MOVE.W (A5)+,$76(A6) ;1ae9c: 3d5d0076
+ BEQ.W LAB_1AF70 ;1aea0: 670000ce
+ BSR.W LAB_1AF7C ;1aea4: 610000d6
+ MOVE.W 4(A5),$E54(A6) ;1aea8: 3d6d00040e54
+ MOVE.W $1010(A6),D5 ;1aeae: 3a2e1010
+ EOR.W D5,$E54(A6) ;1aeb2: bb6e0e54
+ BRA.S LAB_1AEF0 ;1aeb6: 6038
+LAB_1AEB8:
+ MOVE.W 4(A5),$E54(A6) ;1aeb8: 3d6d00040e54
+ MOVE.W $1010(A6),D5 ;1aebe: 3a2e1010
+ EOR.W D5,$E54(A6) ;1aec2: bb6e0e54
+ BTST #1,4(A5) ;1aec6: 082d00010004
+ BEQ.S LAB_1AED6 ;1aecc: 6708
+ TST.B $E48(A6) ;1aece: 4a2e0e48
+ BPL.W LAB_1AF5E ;1aed2: 6a00008a
+LAB_1AED6:
+ MOVE.W 4(A5),D5 ;1aed6: 3a2d0004
+ ROL.W #2,D5 ;1aeda: e55d
+ MOVE.W $F76(A6),D3 ;1aedc: 362e0f76
+ BNE.S LAB_1AEE6 ;1aee0: 6604
+ MOVE.W $E4E(A6),D3 ;1aee2: 362e0e4e
+LAB_1AEE6:
+ LSR.W #2,D3 ;1aee6: e44b
+ ANDI.W #$0003,D3 ;1aee8: 02430003
+ BTST D3,D5 ;1aeec: 0705
+ BNE.S LAB_1AF5E ;1aeee: 666e
+LAB_1AEF0:
+ MOVE.W $F76(A6),D3 ;1aef0: 362e0f76
+ BTST #0,4(A5) ;1aef4: 082d00000004
+ BEQ.S LAB_1AF30 ;1aefa: 6734
+ TST.W D3 ;1aefc: 4a43
+ BNE.S LAB_1AF06 ;1aefe: 6606
+ BCHG #7,$E55(A6) ;1af00: 086e00070e55
+LAB_1AF06:
+ BTST #5,4(A5) ;1af06: 082d00050004
+ BEQ.S LAB_1AF22 ;1af0c: 6714
+ BTST #2,$33(A6) ;1af0e: 082e00020033
+ BEQ.S LAB_1AF20 ;1af14: 670a
+ TST.W D3 ;1af16: 4a43
+ BNE.S LAB_1AF20 ;1af18: 6606
+ BCHG #7,$E55(A6) ;1af1a: 086e00070e55
+LAB_1AF20:
+ BRA.S LAB_1AF30 ;1af20: 600e
+LAB_1AF22:
+ BTST #6,$E48(A6) ;1af22: 082e00060e48
+ BEQ.S LAB_1AF30 ;1af28: 6706
+ BCHG #7,$E55(A6) ;1af2a: 086e00070e55
+LAB_1AF30:
+ BTST #7,$E55(A6) ;1af30: 082e00070e55
+ BEQ.S LAB_1AF3C ;1af36: 6704
+ NEG.W $BBA(A6) ;1af38: 446e0bba
+LAB_1AF3C:
+ ADD.W $BBA(A6),D0 ;1af3c: d06e0bba
+ BTST #4,4(A5) ;1af40: 082d00040004
+ BEQ.S LAB_1AF5A ;1af46: 6712
+ TST.W D3 ;1af48: 4a43
+ BNE.S LAB_1AF5A ;1af4a: 660e
+ BTST #3,$E4E(A6) ;1af4c: 082e00030e4e
+ BEQ.S LAB_1AF5A ;1af52: 6706
+ BCHG #6,$E55(A6) ;1af54: 086e00060e55
+LAB_1AF5A:
+ BSR.W LAB_1B1C2 ;1af5a: 61000266
+LAB_1AF5E:
+ ADDQ.W #6,A5 ;1af5e: 5c4d
+ SUBQ.W #1,$76(A6) ;1af60: 536e0076
+ BEQ.S LAB_1AF70 ;1af64: 670a
+ BSR.W LAB_1AFEC ;1af66: 61000084
+ TST.W D1 ;1af6a: 4a41
+ BPL.W LAB_1AEB8 ;1af6c: 6a00ff4a
+LAB_1AF70:
+ MOVEM.L (A7)+,D0/A2-A3 ;1af70: 4cdf0c01
+ BCLR #7,2(A3) ;1af74: 08ab00070002
+ RTS ;1af7a: 4e75
+LAB_1AF7C:
+ CLR.W $BBA(A6) ;1af7c: 426e0bba
+ MOVE.B (A5)+,D0 ;1af80: 101d
+ EXT.W D0 ;1af82: 4880
+ BTST #7,$1011(A6) ;1af84: 082e00071011
+ BEQ.S LAB_1AF8E ;1af8a: 6702
+ NEG.W D0 ;1af8c: 4440
+LAB_1AF8E:
+ ADD.W (A2)+,D0 ;1af8e: d05a
+ MOVE.B (A5)+,D1 ;1af90: 121d
+ EXT.W D1 ;1af92: 4881
+ ADD.W (A2)+,D1 ;1af94: d25a
+ TST.W $F76(A6) ;1af96: 4a6e0f76
+ BEQ.S LAB_1AFA0 ;1af9a: 6704
+ MOVEQ #0,D2 ;1af9c: 7400
+ BRA.S LAB_1AFAA ;1af9e: 600a
+LAB_1AFA0:
+ MOVE.W $E4E(A6),D2 ;1afa0: 342e0e4e
+ ROR.W #2,D2 ;1afa4: e45a
+ MOVE.W D2,$E4E(A6) ;1afa6: 3d420e4e
+LAB_1AFAA:
+ MOVE.W D2,D3 ;1afaa: 3602
+ BTST #2,4(A5) ;1afac: 082d00020004
+ BNE.S LAB_1AFBE ;1afb2: 660a
+ ANDI.W #$0003,D2 ;1afb4: 02420003
+ BEQ.S LAB_1AFBE ;1afb8: 6704
+ SUBQ.W #2,D2 ;1afba: 5542
+ ADD.W D2,D0 ;1afbc: d042
+LAB_1AFBE:
+ BTST #1,4(A5) ;1afbe: 082d00010004
+ BNE.S LAB_1AFD4 ;1afc4: 660e
+ MOVE.W D3,D2 ;1afc6: 3403
+ ROR.W #2,D2 ;1afc8: e45a
+ ANDI.W #$0003,D2 ;1afca: 02420003
+ BEQ.S LAB_1AFD4 ;1afce: 6704
+ SUBQ.W #2,D2 ;1afd0: 5542
+ ADD.W D2,D1 ;1afd2: d242
+LAB_1AFD4:
+ MOVEQ #0,D6 ;1afd4: 7c00
+ MOVEQ #0,D2 ;1afd6: 7400
+ MOVE.B 3(A5),D6 ;1afd8: 1c2d0003
+ SUB.W D6,D1 ;1afdc: 9246
+ MOVE.B 2(A5),D2 ;1afde: 142d0002
+ MOVE.W D0,$72(A6) ;1afe2: 3d400072
+ MOVE.W D1,$74(A6) ;1afe6: 3d410074
+ RTS ;1afea: 4e75
+LAB_1AFEC:
+ MOVE.W $72(A6),D0 ;1afec: 302e0072
+ MOVE.W $74(A6),D1 ;1aff0: 322e0074
+ MOVE.B (A5)+,D2 ;1aff4: 141d
+ EXT.W D2 ;1aff6: 4882
+ MOVE.W D2,$BBA(A6) ;1aff8: 3d420bba
+ MOVE.B (A5)+,D2 ;1affc: 141d
+ EXT.W D2 ;1affe: 4882
+ ADD.W D2,D1 ;1b000: d242
+ BTST #2,4(A5) ;1b002: 082d00020004
+ BEQ.S LAB_1B024 ;1b008: 671a
+ TST.W $F76(A6) ;1b00a: 4a6e0f76
+ BNE.S LAB_1B024 ;1b00e: 6614
+ MOVE.W $E50(A6),D2 ;1b010: 342e0e50
+ ROR.W #2,D2 ;1b014: e45a
+ MOVE.W D2,$E50(A6) ;1b016: 3d420e50
+ ANDI.W #$0003,D2 ;1b01a: 02420003
+ BEQ.S LAB_1B024 ;1b01e: 6704
+ SUBQ.W #2,D2 ;1b020: 5542
+ ADD.W D2,D1 ;1b022: d242
+LAB_1B024:
+ MOVEQ #0,D6 ;1b024: 7c00
+ MOVEQ #0,D2 ;1b026: 7400
+ MOVE.B 3(A5),D6 ;1b028: 1c2d0003
+ MOVE.B 2(A5),D2 ;1b02c: 142d0002
+ RTS ;1b030: 4e75
+LAB_1B032:
+ MOVE.W $BAA(A6),D0 ;1b032: 302e0baa
+ BEQ.S LAB_1B058 ;1b036: 6720
+ MOVEA.L $BAC(A6),A3 ;1b038: 266e0bac
+LAB_1B03C:
+ MOVE.B 3(A3),D1 ;1b03c: 122b0003
+ ANDI.W #$000f,D1 ;1b040: 0241000f
+ CMP.B $7A(A6),D1 ;1b044: b22e007a
+ BEQ.S LAB_1B05A ;1b048: 6710
+ CMP.B $7B(A6),D1 ;1b04a: b22e007b
+ BEQ.S LAB_1B05E ;1b04e: 670e
+LAB_1B050:
+ LEA 4(A3),A3 ;1b050: 47eb0004
+ SUBQ.W #1,D0 ;1b054: 5340
+ BNE.S LAB_1B03C ;1b056: 66e4
+LAB_1B058:
+ RTS ;1b058: 4e75
+LAB_1B05A:
+ CLR.W D1 ;1b05a: 4241
+ BRA.S LAB_1B060 ;1b05c: 6002
+LAB_1B05E:
+ MOVEQ #2,D1 ;1b05e: 7202
+LAB_1B060:
+ MOVEM.L D0-D1/A3,-(A7) ;1b060: 48e7c010
+ BSR.W LAB_1B0F4 ;1b064: 6100008e
+ MOVEM.L (A7)+,D0-D1/A3 ;1b068: 4cdf0803
+ BSR.S LAB_1B0AC ;1b06c: 613e
+ BRA.S LAB_1B050 ;1b06e: 60e0
+LAB_1B070:
+ MOVE.W $BAA(A6),D0 ;1b070: 302e0baa
+ BEQ.S LAB_1B096 ;1b074: 6720
+ MOVEA.L $BAC(A6),A3 ;1b076: 266e0bac
+LAB_1B07A:
+ MOVE.B 3(A3),D1 ;1b07a: 122b0003
+ ANDI.W #$000f,D1 ;1b07e: 0241000f
+ CMP.B $7C(A6),D1 ;1b082: b22e007c
+ BEQ.S LAB_1B098 ;1b086: 6710
+ CMP.B $7D(A6),D1 ;1b088: b22e007d
+ BEQ.S LAB_1B09C ;1b08c: 670e
+LAB_1B08E:
+ LEA 4(A3),A3 ;1b08e: 47eb0004
+ SUBQ.W #1,D0 ;1b092: 5340
+ BNE.S LAB_1B07A ;1b094: 66e4
+LAB_1B096:
+ RTS ;1b096: 4e75
+LAB_1B098:
+ MOVEQ #6,D1 ;1b098: 7206
+ BRA.S LAB_1B09E ;1b09a: 6002
+LAB_1B09C:
+ MOVEQ #8,D1 ;1b09c: 7208
+LAB_1B09E:
+ MOVEM.L D0-D1/A3,-(A7) ;1b09e: 48e7c010
+ BSR.S LAB_1B0F4 ;1b0a2: 6150
+ MOVEM.L (A7)+,D0-D1/A3 ;1b0a4: 4cdf0803
+ BSR.S LAB_1B0AC ;1b0a8: 6102
+ BRA.S LAB_1B08E ;1b0aa: 60e2
+LAB_1B0AC:
+ TST.W $27C(A6) ;1b0ac: 4a6e027c
+ BEQ.S LAB_1B0CC ;1b0b0: 671a
+ BTST #4,$E4C(A6) ;1b0b2: 082e00040e4c
+ BEQ.S LAB_1B0CC ;1b0b8: 6712
+ MOVEM.L D0/A3,-(A7) ;1b0ba: 48e78010
+ LEA $26A(A6),A3 ;1b0be: 47ee026a
+ MOVE.B #$66,(A3) ;1b0c2: 16bc0066
+ BSR.S LAB_1B0F4 ;1b0c6: 612c
+ MOVEM.L (A7)+,D0/A3 ;1b0c8: 4cdf0801
+LAB_1B0CC:
+ RTS ;1b0cc: 4e75
+LAB_1B0CE:
+ DS.L 1 ;1b0ce
+ DC.L $00020202,$04040406,$06060606 ;1b0d2
+ DC.W $0606 ;1b0de
+LAB_1B0E0:
+ CLR.W D2 ;1b0e0: 4242
+ MOVE.B $BB0(A6),D2 ;1b0e2: 142e0bb0
+ LEA LAB_1ABD4(PC),A2 ;1b0e6: 45fafaec
+ ADDA.W D2,A2 ;1b0ea: d4c2
+ MOVE.B $BB1(A6),D2 ;1b0ec: 142e0bb1
+ CLR.W D1 ;1b0f0: 4241
+ BRA.S LAB_1B11E ;1b0f2: 602a
+LAB_1B0F4:
+ CLR.W D4 ;1b0f4: 4244
+ MOVE.B $BB1(A6),D4 ;1b0f6: 182e0bb1
+ CLR.W D2 ;1b0fa: 4242
+ MOVE.B LAB_1B0CE(PC,D4.W),D2 ;1b0fc: 143b40d0
+ CMP.W #$0002,D1 ;1b100: b27c0002
+ BGT.S LAB_1B10C ;1b104: 6e06
+ SUBQ.W #1,D2 ;1b106: 5342
+ BPL.S LAB_1B10C ;1b108: 6a02
+ CLR.W D2 ;1b10a: 4242
+LAB_1B10C:
+ MOVE.W D4,D5 ;1b10c: 3a04
+ ASL.W #3,D5 ;1b10e: e745
+ ADD.W D4,D5 ;1b110: da44
+ ADD.W D1,D5 ;1b112: da41
+ ADD.W D5,D5 ;1b114: da45
+ ADD.W D5,D5 ;1b116: da45
+ LEA LAB_1A9DC(PC),A2 ;1b118: 45faf8c2
+ ADDA.W D5,A2 ;1b11c: d4c5
+LAB_1B11E:
+ CMPI.W #$ffff,(A2) ;1b11e: 0c52ffff
+ BEQ.S LAB_1B154 ;1b122: 6730
+ MOVE.B (A3),D5 ;1b124: 1a13
+ ANDI.W #$007f,D5 ;1b126: 0245007f
+ CMP.B $A(A6,D1.W),D5 ;1b12a: ba36100a
+ BNE.S LAB_1B146 ;1b12e: 6616
+ ADDQ.B #1,0(A6,D1.W) ;1b130: 52361000
+ CMPI.B #$01,0(A6,D1.W) ;1b134: 0c3600011000
+ BHI.S LAB_1B154 ;1b13a: 6218
+ CLR.W D6 ;1b13c: 4246
+ MOVE.B 0(A6,D1.W),D6 ;1b13e: 1c361000
+ ADD.W D6,D6 ;1b142: dc46
+ BRA.S LAB_1B150 ;1b144: 600a
+LAB_1B146:
+ MOVE.B D5,$A(A6,D1.W) ;1b146: 1d85100a
+ CLR.B 0(A6,D1.W) ;1b14a: 42361000
+ CLR.W D6 ;1b14e: 4246
+LAB_1B150:
+ CLR.W D7 ;1b150: 4247
+ BRA.S LAB_1B184 ;1b152: 6030
+LAB_1B154:
+ RTS ;1b154: 4e75
+LAB_1B156:
+ MOVE.W (A2)+,D0 ;1b156: 301a
+ ADD.W D6,D0 ;1b158: d046
+ MOVE.W (A2),D1 ;1b15a: 3212
+ LSR.W #1,D1 ;1b15c: e249
+ BTST #5,D3 ;1b15e: 08030005
+ BEQ.S LAB_1B172 ;1b162: 670e
+ MOVE.W D1,-(A7) ;1b164: 3f01
+ MOVEQ #$60,D1 ;1b166: 7260
+ SUB.W (A7)+,D1 ;1b168: 925f
+ BCHG #6,$E55(A6) ;1b16a: 086e00060e55
+ BRA.S LAB_1B176 ;1b170: 6004
+LAB_1B172:
+ ADDI.W #$001f,D1 ;1b172: 0641001f
+LAB_1B176:
+ BSR.S LAB_1B19E ;1b176: 6126
+ BMI.S LAB_1B182 ;1b178: 6b08
+ MOVE.W D6,D3 ;1b17a: 3606
+ LSR.W #1,D3 ;1b17c: e24b
+ ADD.W D3,D1 ;1b17e: d243
+ BRA.S LAB_1B1C0 ;1b180: 603e
+LAB_1B182:
+ RTS ;1b182: 4e75
+LAB_1B184:
+ CLR.W $E54(A6) ;1b184: 426e0e54
+ MOVE.W (A2)+,D0 ;1b188: 301a
+ ADD.W D6,D0 ;1b18a: d046
+ MOVE.W (A2),D1 ;1b18c: 3212
+ ADD.W D7,D1 ;1b18e: d247
+ BSR.S LAB_1B19E ;1b190: 610c
+ BMI.S LAB_1B182 ;1b192: 6bee
+ TST.W $C42(A6) ;1b194: 4a6e0c42
+ BNE.W LAB_1B266 ;1b198: 660000cc
+ BRA.S LAB_1B1C0 ;1b19c: 6022
+LAB_1B19E:
+ ADD.W D5,D5 ;1b19e: da45
+ MOVEA.L $10AE(A6),A5 ;1b1a0: 2a6e10ae
+ MOVE.W 0(A5,D5.W),D5 ;1b1a4: 3a355000
+ ADD.W D2,D2 ;1b1a8: d442
+ ADD.W D2,D5 ;1b1aa: da42
+ ADD.W D2,D2 ;1b1ac: d442
+ ADD.W D2,D5 ;1b1ae: da42
+ ADDA.W D5,A5 ;1b1b0: dac5
+ MOVEQ #0,D6 ;1b1b2: 7c00
+ MOVE.B 3(A5),D6 ;1b1b4: 1c2d0003
+ MOVEQ #0,D2 ;1b1b8: 7400
+ MOVE.B 2(A5),D2 ;1b1ba: 142d0002
+ RTS ;1b1be: 4e75
+LAB_1B1C0:
+ SUB.W D6,D1 ;1b1c0: 9246
+LAB_1B1C2:
+ MOVE.W (A5),D5 ;1b1c2: 3a15
+ MULU #$0014,D1 ;1b1c4: c2fc0014
+ MOVE.W D2,D3 ;1b1c8: 3602
+ ASL.W #2,D3 ;1b1ca: e543
+ ADD.W D3,D0 ;1b1cc: d043
+ CMP.W #$008f,D0 ;1b1ce: b07c008f
+ BLS.S LAB_1B1E8 ;1b1d2: 6314
+ MOVE.W D0,-(A7) ;1b1d4: 3f00
+ SUBI.W #$0090,D0 ;1b1d6: 04400090
+ LSR.W #3,D0 ;1b1da: e648
+ SUB.W D0,D2 ;1b1dc: 9440
+ MOVE.W (A7)+,D0 ;1b1de: 301f
+ TST.W D2 ;1b1e0: 4a42
+ BEQ.S LAB_1B216 ;1b1e2: 6732
+ BMI.S LAB_1B216 ;1b1e4: 6b30
+ ADDQ.W #1,D2 ;1b1e6: 5242
+LAB_1B1E8:
+ SUB.W D3,D0 ;1b1e8: 9043
+ SUB.W D3,D0 ;1b1ea: 9043
+ BPL.S LAB_1B218 ;1b1ec: 6a2a
+ MOVE.W D0,-(A7) ;1b1ee: 3f00
+ NOT.W D0 ;1b1f0: 4640
+ LSR.W #3,D0 ;1b1f2: e648
+ ANDI.W #$001e,D0 ;1b1f4: 0240001e
+ TST.B $E55(A6) ;1b1f8: 4a2e0e55
+ BPL.S LAB_1B202 ;1b1fc: 6a04
+ SUB.W D0,D5 ;1b1fe: 9a40
+ BRA.S LAB_1B204 ;1b200: 6002
+LAB_1B202:
+ ADD.W D0,D5 ;1b202: da40
+LAB_1B204:
+ SUB.W D0,D2 ;1b204: 9440
+ MOVE.W (A7)+,D0 ;1b206: 301f
+ ANDI.W #$000f,D0 ;1b208: 0240000f
+ SUBI.W #$0010,D0 ;1b20c: 04400010
+ CMP.W #$0001,D2 ;1b210: b47c0001
+ BGT.S LAB_1B218 ;1b214: 6e02
+LAB_1B216:
+ RTS ;1b216: 4e75
+LAB_1B218:
+ CMP.W #$0090,D0 ;1b218: b07c0090
+ BGE.S LAB_1B216 ;1b21c: 6cf8
+ MOVEA.L $1022(A6),A1 ;1b21e: 226e1022
+ MOVE.W D0,D3 ;1b222: 3600
+ ASR.W #3,D0 ;1b224: e640
+ ADD.W D0,D1 ;1b226: d240
+ ADDA.W D1,A1 ;1b228: d2c1
+ MOVE.W D6,D1 ;1b22a: 3206
+ LEA $102A(A6),A2 ;1b22c: 45ee102a
+ MOVE.W 4(A5),D4 ;1b230: 382d0004
+ ANDI.W #$003c,D4 ;1b234: 0244003c
+ MOVEA.L 0(A2,D4.W),A2 ;1b238: 24724000
+ ADDA.W D5,A2 ;1b23c: d4c5
+ BTST #6,$E55(A6) ;1b23e: 082e00060e55
+ BNE.S LAB_1B250 ;1b244: 660a
+ MOVE.W #$0028,$34(A6) ;1b246: 3d7c00280034
+ BRA.W LAB_1987A ;1b24c: 6000e62c
+LAB_1B250:
+ MOVE.W #$ffd8,$34(A6) ;1b250: 3d7cffd80034
+ MOVE.W D1,-(A7) ;1b256: 3f01
+ SUBQ.W #1,D1 ;1b258: 5341
+ MULU #$0028,D1 ;1b25a: c2fc0028
+ ADDA.W D1,A2 ;1b25e: d4c1
+ MOVE.W (A7)+,D1 ;1b260: 321f
+ BRA.W LAB_1987A ;1b262: 6000e616
+LAB_1B266:
+ ADDQ.W #1,$C42(A6) ;1b266: 526e0c42
+ MOVEM.W D1-D2,-(A7) ;1b26a: 48a76000
+ MOVE.W (A2),D2 ;1b26e: 3412
+ ADDI.W #$000b,D2 ;1b270: 0642000b
+ LSR.W #4,D2 ;1b274: e84a
+ SUBQ.W #5,D2 ;1b276: 5b42
+ ASL.W #4,D2 ;1b278: e942
+ MOVE.W -2(A2),D1 ;1b27a: 322afffe
+ LSR.W #1,D1 ;1b27e: e249
+ ADD.W $32(A6),D1 ;1b280: d26e0032
+ ADD.W $C42(A6),D1 ;1b284: d26e0c42
+ ANDI.W #$000f,D1 ;1b288: 0241000f
+ ADD.W D1,D2 ;1b28c: d441
+ MOVE.B LAB_1B2A6(PC,D2.W),D2 ;1b28e: 143b2016
+ SUB.W D2,D6 ;1b292: 9c42
+ MOVEM.W (A7)+,D1-D2 ;1b294: 4c9f0006
+ CMP.W #$0001,D6 ;1b298: bc7c0001
+ BGE.W LAB_1B1C0 ;1b29c: 6c00ff22
+ MOVEQ #1,D6 ;1b2a0: 7c01
+ BRA.W LAB_1B1C0 ;1b2a2: 6000ff1c
+LAB_1B2A6:
+ DS.L 1 ;1b2a6
+ DC.L $01010102,$02020202,$01010100,$00000001 ;1b2aa
+ DC.L $01010202,$03030302,$02020101,$00000001 ;1b2ba
+ DC.L $01020303,$04040403,$03020101 ;1b2ca
+SUB_1B2D6:
+ LEA $BB2(A6),A2 ;1b2d6: 45ee0bb2
+ MOVEA.L $B6E(A6),A3 ;1b2da: 266e0b6e
+ BSR.S SUB_1B304 ;1b2de: 6124
+ MOVE.W (A2),D0 ;1b2e0: 3012
+ BEQ.S LAB_1B2F8 ;1b2e2: 6714
+ ADDQ.L #8,2(A2) ;1b2e4: 50aa0002
+ SUBQ.W #2,D0 ;1b2e8: 5540
+ MOVE.W D0,(A2) ;1b2ea: 3480
+ MOVE.B 1(A3),$78(A6) ;1b2ec: 1d6b00010078
+ ORI.B #$14,1(A3) ;1b2f2: 002b00140001
+LAB_1B2F8:
+ RTS ;1b2f8: 4e75
+SUB_1B2FA:
+ LEA $BAA(A6),A2 ;1b2fa: 45ee0baa
+ MOVEA.L $B62(A6),A3 ;1b2fe: 266e0b62
+ ADDQ.L #4,A3 ;1b302: 588b
+SUB_1B304:
+ MOVE.W $44(A6),D1 ;1b304: 322e0044
+LAB_1B308:
+ CMP.W (A3),D1 ;1b308: b253
+ BNE.S LAB_1B31E ;1b30a: 6612
+ MOVE.W 2(A3),D0 ;1b30c: 302b0002
+ LSR.W #2,D0 ;1b310: e448
+ SUBQ.W #1,D0 ;1b312: 5340
+ MOVE.W D0,(A2) ;1b314: 3480
+ ADDQ.W #4,A3 ;1b316: 584b
+ MOVE.L A3,2(A2) ;1b318: 254b0002
+ RTS ;1b31c: 4e75
+LAB_1B31E:
+ MOVE.W 2(A3),D0 ;1b31e: 302b0002
+ BMI.S LAB_1B328 ;1b322: 6b04
+ ADDA.W D0,A3 ;1b324: d6c0
+ BRA.S LAB_1B308 ;1b326: 60e0
+LAB_1B328:
+ CLR.W (A2) ;1b328: 4252
+ RTS ;1b32a: 4e75
+SUB_1B32C:
+ BTST #6,$265(A6) ;1b32c: 082e00060265
+ BEQ.S LAB_1B36C ;1b332: 6738
+ SUBQ.B #1,$264(A6) ;1b334: 532e0264
+ BNE.S LAB_1B37E ;1b338: 6644
+ CLR.W $264(A6) ;1b33a: 426e0264
+ BRA.S LAB_1B37E ;1b33e: 603e
+LAB_1B340:
+ DC.W $132a ;1b340
+LAB_1B342:
+ DC.L $000c1942,$000c089c,$001c0eb4,$001c182c ;1b342
+ DC.L $002c114a,$00301762,$003016a2,$003813da ;1b352
+ DC.L $00140dd4,$001413ec ;1b362
+ DC.W $0014 ;1b36a
+LAB_1B36C:
+ ADDQ.B #1,$264(A6) ;1b36c: 522e0264
+ CMPI.B #$04,$264(A6) ;1b370: 0c2e00040264
+ BLS.S LAB_1B37E ;1b376: 6306
+ BCLR #7,$265(A6) ;1b378: 08ae00070265
+LAB_1B37E:
+ MOVEA.L $1066(A6),A3 ;1b37e: 266e1066
+ LEA $14B(A3),A3 ;1b382: 47eb014b
+ MOVEQ #0,D0 ;1b386: 7000
+ MOVE.B $264(A6),D0 ;1b388: 102e0264
+ ASL.W #5,D0 ;1b38c: eb40
+ MOVEA.L $10CE(A6),A0 ;1b38e: 206e10ce
+ ADDA.W D0,A0 ;1b392: d0c0
+ CLR.W D0 ;1b394: 4240
+ MOVE.B $265(A6),D0 ;1b396: 102e0265
+ ANDI.W #$000f,D0 ;1b39a: 0240000f
+ ASL.W #2,D0 ;1b39e: e540
+ MOVE.W LAB_1B342(PC,D0.W),D1 ;1b3a0: 323b00a0
+ LEA $102A(A6),A1 ;1b3a4: 43ee102a
+ MOVEA.L 0(A1,D1.W),A1 ;1b3a8: 22711000
+ ADDA.W LAB_1B340(PC,D0.W),A1 ;1b3ac: d2fb0092
+ MOVEA.L $1036(A6),A2 ;1b3b0: 246e1036
+ ADDA.W #$0d12,A2 ;1b3b4: d4fc0d12
+ MOVEQ #0,D1 ;1b3b8: 7200
+ MOVE.W #$0026,D5 ;1b3ba: 3a3c0026
+LAB_1B3BE:
+ MOVEM.L D5/A1-A3,-(A7) ;1b3be: 48e70470
+ LEA 0(A0,D1.W),A4 ;1b3c2: 49f01000
+ MOVEQ #4,D5 ;1b3c6: 7a04
+LAB_1B3C8:
+ MOVEQ #3,D7 ;1b3c8: 7e03
+ MOVE.L A4,-(A7) ;1b3ca: 2f0c
+LAB_1B3CC:
+ MOVE.B (A4)+,D2 ;1b3cc: 141c
+ MOVE.W D2,D3 ;1b3ce: 3602
+ NOT.W D3 ;1b3d0: 4643
+ MOVE.B (A2)+,D0 ;1b3d2: 101a
+ AND.B D3,D0 ;1b3d4: c003
+ MOVE.B (A1)+,D4 ;1b3d6: 1819
+ AND.B D2,D4 ;1b3d8: c802
+ OR.B D4,D0 ;1b3da: 8004
+ MOVE.B D0,(A3)+ ;1b3dc: 16c0
+ DBF D7,LAB_1B3CC ;1b3de: 51cfffec
+ MOVEA.L (A7)+,A4 ;1b3e2: 285f
+ LEA $1F3C(A2),A2 ;1b3e4: 45ea1f3c
+ LEA $1F3C(A1),A1 ;1b3e8: 43e91f3c
+ LEA $1F3C(A3),A3 ;1b3ec: 47eb1f3c
+ DBF D5,LAB_1B3C8 ;1b3f0: 51cdffd6
+ MOVEM.L (A7)+,D5/A1-A3 ;1b3f4: 4cdf0e20
+ ADDQ.W #4,D1 ;1b3f8: 5841
+ ANDI.W #$001c,D1 ;1b3fa: 0241001c
+ LEA $28(A2),A2 ;1b3fe: 45ea0028
+ LEA $28(A1),A1 ;1b402: 43e90028
+ LEA $28(A3),A3 ;1b406: 47eb0028
+ DBF D5,LAB_1B3BE ;1b40a: 51cdffb2
+ RTS ;1b40e: 4e75
+LAB_1B410:
+ BSR.W SUB_1BA92 ;1b410: 61000680
+ BSR.W SUB_1B7E6 ;1b414: 610003d0
+ BRA.W LAB_1B41C ;1b418: 60000002
+LAB_1B41C:
+ MOVEQ #3,D7 ;1b41c: 7e03
+ MOVEQ #0,D6 ;1b41e: 7c00
+ LEA $112(A6),A1 ;1b420: 43ee0112
+LAB_1B424:
+ CLR.W D0 ;1b424: 4240
+ LEA $DC(A6),A5 ;1b426: 4bee00dc
+ MOVE.B (A1)+,D0 ;1b42a: 1019
+ ADDA.W D0,A5 ;1b42c: dac0
+ MOVE.B (A5),D0 ;1b42e: 1015
+ CMP.B 4(A5),D0 ;1b430: b02d0004
+ BEQ.S LAB_1B448 ;1b434: 6712
+ ANDI.B #$83,(A5) ;1b436: 02150083
+ MOVE.B (A5),4(A5) ;1b43a: 1b550004
+ MOVEM.L D6-D7/A1/A5,-(A7) ;1b43e: 48e70344
+ BSR.S SUB_1B450 ;1b442: 610c
+ MOVEM.L (A7)+,D6-D7/A1/A5 ;1b444: 4cdf22c0
+LAB_1B448:
+ ADDQ.W #2,D6 ;1b448: 5446
+ DBF D7,LAB_1B424 ;1b44a: 51cfffd8
+ RTS ;1b44e: 4e75
+SUB_1B450:
+ CLR.W D1 ;1b450: 4241
+ MOVE.B -1(A1),D1 ;1b452: 1229ffff
+ MOVE.W D1,$B24(A6) ;1b456: 3d410b24
+ MULU #$01d2,D1 ;1b45a: c2fc01d2
+ MOVE.W D1,$B26(A6) ;1b45e: 3d410b26
+ MOVEM.W D0/D6,-(A7) ;1b462: 48a78200
+ BTST #5,D0 ;1b466: 08000005
+ BEQ.S LAB_1B47A ;1b46a: 670e
+ BSR.W SUB_1B4A6 ;1b46c: 61000038
+ MOVEM.W (A7),D0/D6 ;1b470: 4c970041
+ CMP.W #$ff85,D1 ;1b474: b27cff85
+ BEQ.S LAB_1B488 ;1b478: 670e
+LAB_1B47A:
+ BTST #4,D0 ;1b47a: 08000004
+ BEQ.S LAB_1B488 ;1b47e: 6708
+ BSR.W LAB_1B55C ;1b480: 610000da
+ MOVEM.W (A7),D0/D6 ;1b484: 4c970041
+LAB_1B488:
+ BTST #3,D0 ;1b488: 08000003
+ BEQ.S LAB_1B496 ;1b48c: 6708
+ BSR.W SUB_1B6EC ;1b48e: 6100025c
+ MOVEM.W (A7),D0/D6 ;1b492: 4c970041
+LAB_1B496:
+ BTST #2,D0 ;1b496: 08000002
+ BEQ.S LAB_1B4A0 ;1b49a: 6704
+ BSR.W SUB_1B5CC ;1b49c: 6100012e
+LAB_1B4A0:
+ MOVEM.W (A7)+,D0/D6 ;1b4a0: 4c9f0041
+ RTS ;1b4a4: 4e75
+SUB_1B4A6:
+ MOVE.W $B24(A6),D0 ;1b4a6: 302e0b24
+ ADD.W D0,D0 ;1b4aa: d040
+ LEA $E8(A6),A0 ;1b4ac: 41ee00e8
+ TST.W 8(A0,D0.W) ;1b4b0: 4a700008
+ BEQ.S LAB_1B4D8 ;1b4b4: 6722
+ SUBQ.W #1,$10(A0,D0.W) ;1b4b6: 53700010
+ BNE.S SUB_1B4CC ;1b4ba: 6610
+ CLR.W 8(A0,D0.W) ;1b4bc: 42700008
+ BRA.W LAB_1B55C ;1b4c0: 6000009a
+LAB_1B4C4:
+ CLR.W 8(A0,D0.W) ;1b4c4: 42700008
+ MOVEQ #0,D1 ;1b4c8: 7200
+ RTS ;1b4ca: 4e75
+SUB_1B4CC:
+ ORI.B #$20,(A5) ;1b4cc: 00150020
+ ST $98(A6) ;1b4d0: 50ee0098
+ MOVEQ #-123,D1 ;1b4d4: 7285
+ RTS ;1b4d6: 4e75
+LAB_1B4D8:
+ TST.W 0(A0,D0.W) ;1b4d8: 4a700000
+ BEQ.S LAB_1B4C4 ;1b4dc: 67e6
+ BSR.S SUB_1B4CC ;1b4de: 61ec
+ MOVE.W 0(A0,D0.W),D1 ;1b4e0: 32300000
+ MOVE.W D1,8(A0,D0.W) ;1b4e4: 31810008
+ CLR.W 0(A0,D0.W) ;1b4e8: 42700000
+ MOVE.W D6,-(A7) ;1b4ec: 3f06
+ MOVE.W D1,D0 ;1b4ee: 3001
+ CMP.W #$03e7,D0 ;1b4f0: b07c03e7
+ BLS.S LAB_1B4FA ;1b4f4: 6304
+ MOVE.W #$03e7,D0 ;1b4f6: 303c03e7
+LAB_1B4FA:
+ BSR.W SUB_15A84 ;1b4fa: 6100a588
+ MOVE.W (A7)+,D6 ;1b4fe: 3c1f
+ MOVE.L A1,-(A7) ;1b500: 2f09
+ MOVE.W D6,-(A7) ;1b502: 3f06
+ LEA $F84(A6),A0 ;1b504: 41ee0f84
+ BSR.W SUB_159F2 ;1b508: 6100a4e8
+ MOVE.W (A7),D6 ;1b50c: 3c17
+ MOVEA.L $1066(A6),A1 ;1b50e: 226e1066
+ ADDA.W LAB_1B544(PC,D6.W),A1 ;1b512: d2fb6030
+ MOVEA.L $1036(A6),A2 ;1b516: 246e1036
+ ADDA.W #$0448,A2 ;1b51a: d4fc0448
+ MOVEQ #$A,D0 ;1b51e: 700a
+ MOVEQ #5,D1 ;1b520: 7205
+ BSR.W SUB_1985E ;1b522: 6100e33a
+ MOVE.W (A7)+,D6 ;1b526: 3c1f
+ MOVEA.L (A7)+,A1 ;1b528: 225f
+ MOVE.W LAB_1B554(PC,D6.W),D0 ;1b52a: 303b6028
+ BSR.W SUB_1988A ;1b52e: 6100e35a
+ LEA $F84(A6),A0 ;1b532: 41ee0f84
+ MOVE.W LAB_1B54C(PC,D6.W),D1 ;1b536: 323b6014
+ MOVEQ #0,D2 ;1b53a: 7400
+ BSR.W SUB_19F44 ;1b53c: 6100ea06
+ MOVEQ #-123,D1 ;1b540: 7285
+ RTS ;1b542: 4e75
+LAB_1B544:
+ DC.L $04a204a9,$0aba0ac1 ;1b544
+LAB_1B54C:
+ DC.L $24182418,$2a302a30 ;1b54c
+LAB_1B554:
+ DC.L $00e00118,$00e00118 ;1b554
+LAB_1B55C:
+ MOVEA.L $1066(A6),A1 ;1b55c: 226e1066
+ ADDA.W LAB_1B5AE(PC,D6.W),A1 ;1b560: d2fb604c
+ MOVEA.L $1036(A6),A2 ;1b564: 246e1036
+ ADDA.W #$0290,A2 ;1b568: d4fc0290
+ MOVEQ #$A,D0 ;1b56c: 700a
+ MOVEQ #5,D1 ;1b56e: 7205
+ MOVE.W D6,-(A7) ;1b570: 3f06
+ BSR.W SUB_1985E ;1b572: 6100e2ea
+ MOVE.W (A7)+,D6 ;1b576: 3c1f
+ LEA $298(A6),A0 ;1b578: 41ee0298
+ ADDA.W $B26(A6),A0 ;1b57c: d0ee0b26
+ TST.B $45(A0) ;1b580: 4a280045
+ BEQ.S LAB_1B5AC ;1b584: 6726
+ TST.W $18(A0) ;1b586: 4a680018
+ BNE.S LAB_1B590 ;1b58a: 6604
+ LEA LAB_1B5C6(PC),A0 ;1b58c: 41fa0038
+LAB_1B590:
+ MOVE.W LAB_1B5B6(PC,D6.W),D1 ;1b590: 323b6024
+ MOVE.W LAB_1B5BE(PC,D6.W),D0 ;1b594: 303b6028
+ LSR.W #1,D6 ;1b598: e24e
+ ADDQ.W #1,D6 ;1b59a: 5246
+ CMP.W $110(A6),D6 ;1b59c: bc6e0110
+ BNE.S LAB_1B5A6 ;1b5a0: 6604
+ ADDI.W #$3e80,D1 ;1b5a2: 06413e80
+LAB_1B5A6:
+ MOVEQ #0,D2 ;1b5a6: 7400
+ BRA.W SUB_19F44 ;1b5a8: 6000e99a
+LAB_1B5AC:
+ RTS ;1b5ac: 4e75
+LAB_1B5AE:
+ DC.L $04a204a9,$0aba0ac1 ;1b5ae
+LAB_1B5B6:
+ DC.L $24182418,$2a302a30 ;1b5b6
+LAB_1B5BE:
+ DC.L $00d5010d,$00d5010d ;1b5be
+LAB_1B5C6:
+ ;1b5c6
+ ;DC.B $20,$20,$3c,$3d,$3e,$00
+ DC.B " <=>",0
+SUB_1B5CC:
+ LEA $298(A6),A3 ;1b5cc: 47ee0298
+ ADDA.W $B26(A6),A3 ;1b5d0: d6ee0b26
+ TST.B $45(A3) ;1b5d4: 4a2b0045
+ BEQ.S LAB_1B612 ;1b5d8: 6738
+ MOVE.W $18(A3),D1 ;1b5da: 322b0018
+ BEQ.S LAB_1B612 ;1b5de: 6732
+ ST D7 ;1b5e0: 50c7
+ MOVE.W $1A(A3),D2 ;1b5e2: 342b001a
+ MOVE.W LAB_1B614(PC,D6.W),D3 ;1b5e6: 363b602c
+ MOVEQ #7,D0 ;1b5ea: 7007
+ BSR.S LAB_1B62C ;1b5ec: 613e
+ CLR.W D7 ;1b5ee: 4247
+ MOVE.W $1C(A3),D1 ;1b5f0: 322b001c
+ MOVE.W $1E(A3),D2 ;1b5f4: 342b001e
+ MOVE.W LAB_1B61C(PC,D6.W),D3 ;1b5f8: 363b6022
+ MOVEQ #$1C,D0 ;1b5fc: 701c
+ BSR.S LAB_1B62C ;1b5fe: 612c
+ CLR.W D7 ;1b600: 4247
+ MOVE.W $20(A3),D1 ;1b602: 322b0020
+ MOVE.W $22(A3),D2 ;1b606: 342b0022
+ MOVE.W LAB_1B624(PC,D6.W),D3 ;1b60a: 363b6018
+ MOVEQ #$70,D0 ;1b60e: 7070
+ BRA.S LAB_1B62C ;1b610: 601a
+LAB_1B612:
+ RTS ;1b612: 4e75
+LAB_1B614:
+ DC.L $01d201d9,$07ea07f1 ;1b614
+LAB_1B61C:
+ DC.L $01d301da,$07eb07f2 ;1b61c
+LAB_1B624:
+ DC.L $01d401db,$07ec07f3 ;1b624
+LAB_1B62C:
+ MOVEA.L $1066(A6),A4 ;1b62c: 286e1066
+ ADDA.W D3,A4 ;1b630: d8c3
+ MOVE.W D1,D3 ;1b632: 3601
+ TST.W D1 ;1b634: 4a41
+ BEQ.S LAB_1B674 ;1b636: 673c
+ TST.W D2 ;1b638: 4a42
+ BEQ.S LAB_1B674 ;1b63a: 6738
+ LSR.W #6,D1 ;1b63c: ec49
+ LSR.W #6,D2 ;1b63e: ec4a
+ MULU #$000f,D1 ;1b640: c2fc000f
+ DIVU D2,D1 ;1b644: 82c2
+ CMP.W #$000f,D1 ;1b646: b27c000f
+ BLS.S LAB_1B64E ;1b64a: 6302
+ MOVEQ #$F,D1 ;1b64c: 720f
+LAB_1B64E:
+ SUBQ.W #1,D1 ;1b64e: 5341
+ BPL.S LAB_1B658 ;1b650: 6a06
+ TST.W D7 ;1b652: 4a47
+ BEQ.S LAB_1B674 ;1b654: 671e
+ MOVEQ #0,D1 ;1b656: 7200
+LAB_1B658:
+ MOVE.W D1,-(A7) ;1b658: 3f01
+ MOVEQ #$D,D2 ;1b65a: 740d
+ SUB.W D1,D2 ;1b65c: 9441
+ BMI.S LAB_1B664 ;1b65e: 6b04
+ MOVEQ #-109,D1 ;1b660: 7293
+ BSR.S LAB_1B678 ;1b662: 6114
+LAB_1B664:
+ MOVEQ #-101,D1 ;1b664: 729b
+ MOVE.W (A7)+,D2 ;1b666: 341f
+ CMP.W #$0002,D2 ;1b668: b47c0002
+ BHI.S LAB_1B678 ;1b66c: 620a
+ MOVEQ #-103,D1 ;1b66e: 7299
+ BRA.S LAB_1B678 ;1b670: 6006
+ RTS ;1b672: 4e75
+LAB_1B674:
+ MOVEQ #-109,D1 ;1b674: 7293
+ MOVEQ #$E,D2 ;1b676: 740e
+LAB_1B678:
+ MOVE.W D0,D7 ;1b678: 3e00
+ NOT.W D7 ;1b67a: 4647
+LAB_1B67C:
+ MOVEA.L A4,A0 ;1b67c: 204c
+ CLR.W D5 ;1b67e: 4245
+ MOVEQ #4,D3 ;1b680: 7604
+LAB_1B682:
+ BTST D5,D1 ;1b682: 0b01
+ BEQ.S LAB_1B68A ;1b684: 6704
+ OR.B D0,(A4) ;1b686: 8114
+ BRA.S LAB_1B68C ;1b688: 6002
+LAB_1B68A:
+ AND.B D7,(A4) ;1b68a: cf14
+LAB_1B68C:
+ LEA $1F40(A4),A4 ;1b68c: 49ec1f40
+ ADDQ.W #1,D5 ;1b690: 5245
+ DBF D3,LAB_1B682 ;1b692: 51cbffee
+ MOVEA.L A0,A4 ;1b696: 2848
+ LEA $28(A4),A4 ;1b698: 49ec0028
+ DBF D2,LAB_1B67C ;1b69c: 51caffde
+ RTS ;1b6a0: 4e75
+SUB_1B6A2:
+ MOVEM.W D1/D6,-(A7) ;1b6a2: 48a74200
+ MOVEA.L $1066(A6),A1 ;1b6a6: 226e1066
+ ADDA.W LAB_1B6DC(PC,D6.W),A1 ;1b6aa: d2fb6030
+ MOVEA.L $1036(A6),A2 ;1b6ae: 246e1036
+ MOVEM.L A1-A2,-(A7) ;1b6b2: 48e70060
+ ADDA.W #$1224,A2 ;1b6b6: d4fc1224
+ MOVEQ #$B,D0 ;1b6ba: 700b
+ MOVEQ #2,D1 ;1b6bc: 7202
+ BSR.W SUB_1985E ;1b6be: 6100e19e
+ MOVEM.L (A7)+,A1-A2 ;1b6c2: 4cdf0600
+ LEA $1E0(A1),A1 ;1b6c6: 43e901e0
+ ADDA.W #$133f,A2 ;1b6ca: d4fc133f
+ MOVEQ #4,D0 ;1b6ce: 7004
+ MOVEQ #2,D1 ;1b6d0: 7202
+ BSR.W SUB_1985E ;1b6d2: 6100e18a
+ MOVEM.W (A7)+,D1/D6 ;1b6d6: 4c9f0042
+ RTS ;1b6da: 4e75
+LAB_1B6DC:
+ DC.L $01ad01b4,$07c507cc ;1b6dc
+LAB_1B6E4:
+ DC.L $01d501dc,$07ed07f4 ;1b6e4
+SUB_1B6EC:
+ LEA LAB_1B6E4(PC),A0 ;1b6ec: 41fafff6
+ MOVEA.L $1066(A6),A4 ;1b6f0: 286e1066
+ ADDA.W 0(A0,D6.W),A4 ;1b6f4: d8f06000
+ MOVE.W $B24(A6),D1 ;1b6f8: 322e0b24
+ LEA $36A(A6),A1 ;1b6fc: 43ee036a
+ ADDA.W $B26(A6),A1 ;1b700: d2ee0b26
+ TST.B -141(A1) ;1b704: 4a29ff73
+ BEQ.W LAB_1B74A ;1b708: 67000040
+ TST.W -186(A1) ;1b70c: 4a69ff46
+ BEQ.W LAB_1B74A ;1b710: 67000038
+ CMPI.B #$07,-19(A1) ;1b714: 0c290007ffed
+ BNE.S LAB_1B724 ;1b71a: 6608
+ BSR.S SUB_1B6A2 ;1b71c: 6184
+ BSR.W SUB_1B7A0 ;1b71e: 61000080
+ BRA.S LAB_1B74A ;1b722: 6026
+LAB_1B724:
+ MOVEQ #4,D1 ;1b724: 7204
+LAB_1B726:
+ MOVEQ #$10,D2 ;1b726: 7410
+LAB_1B728:
+ MOVE.B (A1)+,(A4)+ ;1b728: 18d9
+ MOVE.B (A1)+,(A4)+ ;1b72a: 18d9
+ MOVE.B (A4),D3 ;1b72c: 1614
+ ANDI.W #$001f,D3 ;1b72e: 0243001f
+ OR.B (A1)+,D3 ;1b732: 8619
+ MOVE.B D3,(A4)+ ;1b734: 18c3
+ LEA $25(A4),A4 ;1b736: 49ec0025
+ DBF D2,LAB_1B728 ;1b73a: 51caffec
+ LEA $1C98(A4),A4 ;1b73e: 49ec1c98
+ DBF D1,LAB_1B726 ;1b742: 51c9ffe2
+ BSR.W SUB_1B7A0 ;1b746: 61000058
+LAB_1B74A:
+ LEA LAB_1B798(PC),A0 ;1b74a: 41fa004c
+ MOVEA.L $1066(A6),A4 ;1b74e: 286e1066
+ ADDA.W 0(A0,D6.W),A4 ;1b752: d8f06000
+ MOVE.W A4,D5 ;1b756: 3a0c
+ MOVE.W $B24(A6),D1 ;1b758: 322e0b24
+ MOVE.B LAB_1B77E(PC,D1.W),D4 ;1b75c: 183b1020
+ MOVEA.L $10BA(A6),A3 ;1b760: 266e10ba
+ LEA $2B0(A6),A1 ;1b764: 43ee02b0
+ ADDA.W $B26(A6),A1 ;1b768: d2ee0b26
+ TST.W (A1) ;1b76c: 4a51
+ BNE.S LAB_1B776 ;1b76e: 6606
+ MOVEA.L $10BE(A6),A3 ;1b770: 266e10be
+ MOVEQ #-109,D4 ;1b774: 7893
+LAB_1B776:
+ MOVEQ #$14,D2 ;1b776: 7414
+ BSR.S LAB_1B782 ;1b778: 6108
+ BSR.S LAB_1B782 ;1b77a: 6106
+ BRA.S LAB_1B782 ;1b77c: 6004
+LAB_1B77E:
+ DC.L $99989a97 ;1b77e
+LAB_1B782:
+ MOVEM.L D2/D4-D5/A3-A4,-(A7) ;1b782: 48e72c18
+ BSR.W SUB_20C16 ;1b786: 6100548e
+ MOVEM.L (A7)+,D2/D4-D5/A3-A4 ;1b78a: 4cdf1834
+ ADDQ.W #2,A4 ;1b78e: 544c
+ ADDQ.W #2,D5 ;1b790: 5445
+ ADDA.W #$002a,A3 ;1b792: d6fc002a
+ RTS ;1b796: 4e75
+LAB_1B798:
+ DC.L $015a0161,$07720779 ;1b798
+SUB_1B7A0:
+ LEA $2D6(A6),A1 ;1b7a0: 43ee02d6
+ ADDA.W $B26(A6),A1 ;1b7a4: d2ee0b26
+ MOVE.L (A1)+,D0 ;1b7a8: 2019
+ OR.W (A1),D0 ;1b7aa: 8051
+ TST.L D0 ;1b7ac: 4a80
+ BEQ.S LAB_1B7D4 ;1b7ae: 6724
+ MOVE.W D6,D0 ;1b7b0: 3006
+ ADD.W D0,D0 ;1b7b2: d040
+ LEA LAB_1B7D6(PC),A0 ;1b7b4: 41fa0020
+ MOVEM.L D6/A2-A4,-(A7) ;1b7b8: 48e70238
+ MOVE.W 0(A0,D0.W),D1 ;1b7bc: 32300000
+ MOVE.W 2(A0,D0.W),D2 ;1b7c0: 34300002
+ MOVEQ #0,D0 ;1b7c4: 7000
+ MOVEQ #$F,D3 ;1b7c6: 760f
+ MOVEQ #$D,D4 ;1b7c8: 780d
+ MOVEQ #$1B,D5 ;1b7ca: 7a1b
+ BSR.W SUB_20B24 ;1b7cc: 61005356
+ MOVEM.L (A7)+,D6/A2-A4 ;1b7d0: 4cdf1c40
+LAB_1B7D4:
+ RTS ;1b7d4: 4e75
+LAB_1B7D6:
+ DC.L $00e9000b,$0121000b,$00e90032,$01210032 ;1b7d6
+SUB_1B7E6:
+ TST.W $ADA(A6) ;1b7e6: 4a6e0ada
+ BEQ.S LAB_1B7F0 ;1b7ea: 6704
+ BSR.W SUB_1C706 ;1b7ec: 61000f18
+LAB_1B7F0:
+ TST.W $AD8(A6) ;1b7f0: 4a6e0ad8
+ BEQ.S LAB_1B7FA ;1b7f4: 6704
+ BSR.W SUB_1C822 ;1b7f6: 6100102a
+LAB_1B7FA:
+ MOVEQ #7,D7 ;1b7fa: 7e07
+ LEA $B4(A6),A5 ;1b7fc: 4bee00b4
+ MOVEQ #0,D6 ;1b800: 7c00
+LAB_1B802:
+ TST.B (A5) ;1b802: 4a15
+ BEQ.S LAB_1B810 ;1b804: 670a
+ MOVEM.L D6-D7/A5,-(A7) ;1b806: 48e70304
+ BSR.S SUB_1B81A ;1b80a: 610e
+ MOVEM.L (A7)+,D6-D7/A5 ;1b80c: 4cdf20c0
+LAB_1B810:
+ ADDQ.W #1,A5 ;1b810: 524d
+ ADDQ.W #2,D6 ;1b812: 5446
+ DBF D7,LAB_1B802 ;1b814: 51cfffec
+ RTS ;1b818: 4e75
+SUB_1B81A:
+ MOVEA.L $1036(A6),A2 ;1b81a: 246e1036
+ MOVEA.L $1066(A6),A1 ;1b81e: 226e1066
+ LEA LAB_1A966(PC),A0 ;1b822: 41faf142
+ ADDA.W 0(A0,D6.W),A1 ;1b826: d2f06000
+ MOVE.W D6,D1 ;1b82a: 3206
+ LSR.W #2,D1 ;1b82c: e449
+ LEA $112(A6),A0 ;1b82e: 41ee0112
+ MOVE.B 0(A0,D1.W),D1 ;1b832: 12301000
+ MOVE.W D1,D0 ;1b836: 3001
+ MULU #$01d2,D1 ;1b838: c2fc01d2
+ LEA $298(A6),A3 ;1b83c: 47ee0298
+ ADDA.W D1,A3 ;1b840: d6c1
+ MOVE.W D0,D1 ;1b842: 3200
+ ADD.W D1,D1 ;1b844: d241
+ BTST #1,D6 ;1b846: 08060001
+ BEQ.S LAB_1B84E ;1b84a: 6702
+ ADDQ.W #1,D1 ;1b84c: 5241
+LAB_1B84E:
+ TST.W $18(A3) ;1b84e: 4a6b0018
+ BEQ.W LAB_1B906 ;1b852: 670000b2
+ LEA $C4(A6),A4 ;1b856: 49ee00c4
+ TST.B 0(A4,D1.W) ;1b85a: 4a341000
+ BEQ.S LAB_1B88C ;1b85e: 672c
+ BTST #2,(A5) ;1b860: 08150002
+ BNE.S LAB_1B87E ;1b864: 6618
+ TST.W $AC8(A6) ;1b866: 4a6e0ac8
+ BEQ.S LAB_1B872 ;1b86a: 6706
+ CLR.B 0(A4,D1.W) ;1b86c: 42341000
+ BRA.S LAB_1B88C ;1b870: 601a
+LAB_1B872:
+ MOVEM.W D0-D1,-(A7) ;1b872: 48a7c000
+ BSR.W SUB_1BA08 ;1b876: 61000190
+ MOVEM.W (A7)+,D0-D1 ;1b87a: 4c9f0003
+LAB_1B87E:
+ BSET #2,(A5) ;1b87e: 08d50002
+ ST $98(A6) ;1b882: 50ee0098
+ SUBQ.B #1,0(A4,D1.W) ;1b886: 53341000
+ BNE.S LAB_1B890 ;1b88a: 6604
+LAB_1B88C:
+ BCLR #2,(A5) ;1b88c: 08950002
+LAB_1B890:
+ LEA $BC(A6),A4 ;1b890: 49ee00bc
+ TST.B 0(A4,D1.W) ;1b894: 4a341000
+ BEQ.S LAB_1B8E2 ;1b898: 6748
+ ST $98(A6) ;1b89a: 50ee0098
+ SUBQ.B #1,0(A4,D1.W) ;1b89e: 53341000
+ BNE.S LAB_1B8AE ;1b8a2: 660a
+ BSET #0,(A5) ;1b8a4: 08d50000
+ BCLR #1,(A5) ;1b8a8: 08950001
+ RTS ;1b8ac: 4e75
+LAB_1B8AE:
+ BSET #1,(A5) ;1b8ae: 08d50001
+ BTST #0,(A5) ;1b8b2: 08150000
+ BNE.S LAB_1B8BA ;1b8b6: 6602
+LAB_1B8B8:
+ RTS ;1b8b8: 4e75
+LAB_1B8BA:
+ TST.W $AC8(A6) ;1b8ba: 4a6e0ac8
+ BNE.S LAB_1B8B8 ;1b8be: 66f8
+ BTST #2,(A5) ;1b8c0: 08150002
+ BNE.S LAB_1B8B8 ;1b8c4: 66f2
+ BCLR #0,(A5) ;1b8c6: 08950000
+ MOVEM.L D0/D6/A1-A3,-(A7) ;1b8ca: 48e78270
+ BSR.W SUB_1B92E ;1b8ce: 6100005e
+ MOVEM.L (A7),D0/D6/A1-A3 ;1b8d2: 4cd70e41
+ BSR.W LAB_1B96A ;1b8d6: 61000092
+ MOVEM.L (A7)+,D0/D6/A1-A3 ;1b8da: 4cdf0e41
+ BRA.W LAB_1B95C ;1b8de: 6000007c
+LAB_1B8E2:
+ BCLR #1,(A5) ;1b8e2: 08950001
+ TST.W $AC8(A6) ;1b8e6: 4a6e0ac8
+ BNE.S LAB_1B8B8 ;1b8ea: 66cc
+ BTST #2,(A5) ;1b8ec: 08150002
+ BNE.S LAB_1B8B8 ;1b8f0: 66c6
+ BCLR #0,(A5) ;1b8f2: 08950000
+ MOVEM.L D0/D6/A1-A3,-(A7) ;1b8f6: 48e78270
+ BSR.W SUB_1B92E ;1b8fa: 61000032
+ MOVEM.L (A7)+,D0/D6/A1-A3 ;1b8fe: 4cdf0e41
+ BRA.W LAB_1B96A ;1b902: 60000066
+LAB_1B906:
+ TST.W $AC8(A6) ;1b906: 4a6e0ac8
+ BNE.S LAB_1B91C ;1b90a: 6610
+ BCLR #0,(A5) ;1b90c: 08950000
+ ADDA.W LAB_1B91E(PC,D6.W),A2 ;1b910: d4fb600c
+ MOVEQ #$13,D0 ;1b914: 7013
+ MOVEQ #3,D1 ;1b916: 7203
+ BRA.W SUB_1985E ;1b918: 6000df44
+LAB_1B91C:
+ RTS ;1b91c: 4e75
+LAB_1B91E:
+ DC.L $035e0362,$0366036a,$067e0682,$0686068a ;1b91e
+SUB_1B92E:
+ MOVEM.L D0/D6/A1-A2,-(A7) ;1b92e: 48e78260
+ ADDA.W LAB_1B91E(PC,D6.W),A2 ;1b932: d4fb60ea
+ MOVEQ #$E,D0 ;1b936: 700e
+ MOVEQ #3,D1 ;1b938: 7203
+ BSR.W SUB_1985E ;1b93a: 6100df22
+ MOVEM.L (A7)+,D0/D6/A1-A2 ;1b93e: 4cdf0641
+ ADD.W D0,D0 ;1b942: d040
+ ADDA.W #$0258,A1 ;1b944: d2fc0258
+ ADDA.W LAB_1B954(PC,D0.W),A2 ;1b948: d4fb000a
+ MOVEQ #4,D0 ;1b94c: 7004
+ MOVEQ #3,D1 ;1b94e: 7203
+ BRA.W SUB_1985E ;1b950: 6000df0c
+LAB_1B954:
+ DC.L $02a2029e,$0296029a ;1b954
+LAB_1B95C:
+ ADDQ.W #1,A1 ;1b95c: 5249
+ ADDA.W #$0462,A2 ;1b95e: d4fc0462
+ MOVEQ #$E,D0 ;1b962: 700e
+ MOVEQ #1,D1 ;1b964: 7201
+ BRA.W SUB_1985E ;1b966: 6000def6
+LAB_1B96A:
+ LEA $B6(A3),A0 ;1b96a: 41eb00b6
+ BTST #1,D6 ;1b96e: 08060001
+ BEQ.S LAB_1B976 ;1b972: 6702
+ ADDQ.W #4,A0 ;1b974: 5848
+LAB_1B976:
+ ADDQ.W #1,A1 ;1b976: 5249
+ TST.B 1(A0) ;1b978: 4a280001
+ BEQ.S LAB_1B99C ;1b97c: 671e
+ MOVEM.L A0-A2,-(A7) ;1b97e: 48e700e0
+ ST $101A(A6) ;1b982: 50ee101a
+ BSR.W SUB_19876 ;1b986: 6100deee
+ CLR.W $101A(A6) ;1b98a: 426e101a
+ MOVE.W D1,D0 ;1b98e: 3001
+ SUBQ.W #1,D0 ;1b990: 5340
+ MOVEQ #1,D1 ;1b992: 7201
+ BSR.W SUB_1985E ;1b994: 6100dec8
+ MOVEM.L (A7)+,A0-A2 ;1b998: 4cdf0700
+LAB_1B99C:
+ MOVE.B (A0),D0 ;1b99c: 1010
+ ANDI.W #$0007,D0 ;1b99e: 02400007
+ BNE.W LAB_1B9A8 ;1b9a2: 66000004
+ RTS ;1b9a6: 4e75
+LAB_1B9A8:
+ MOVEM.L D6/A1-A5,-(A7) ;1b9a8: 48e7027c
+ LEA $258(A1),A1 ;1b9ac: 43e90258
+ MOVEA.L $1036(A6),A2 ;1b9b0: 246e1036
+ ADDA.W #$0ade,A2 ;1b9b4: d4fc0ade
+ MOVEQ #4,D0 ;1b9b8: 7004
+ MOVEQ #1,D1 ;1b9ba: 7201
+ BSR.W SUB_1985E ;1b9bc: 6100dea0
+ MOVEM.L (A7)+,D6/A1-A5 ;1b9c0: 4cdf3e40
+ RTS ;1b9c4: 4e75
+LAB_1B9C6:
+ MOVEM.L D6/A1-A5,-(A7) ;1b9c6: 48e7027c
+ ADDA.W #$0ca8,A2 ;1b9ca: d4fc0ca8
+ MOVEQ #$C,D0 ;1b9ce: 700c
+ MOVEQ #3,D1 ;1b9d0: 7203
+ BSR.W SUB_1985E ;1b9d2: 6100de8a
+ MOVEM.L (A7)+,D6/A1-A5 ;1b9d6: 4cdf3e40
+ RTS ;1b9da: 4e75
+LAB_1B9DC:
+ MOVEM.L D6/A1-A5,-(A7) ;1b9dc: 48e7027c
+ ADDA.W #$1376,A2 ;1b9e0: d4fc1376
+ MOVEQ #$B,D0 ;1b9e4: 700b
+ MOVEQ #3,D1 ;1b9e6: 7203
+ BSR.W SUB_1985E ;1b9e8: 6100de74
+ MOVEM.L (A7)+,D6/A1-A5 ;1b9ec: 4cdf3e40
+ RTS ;1b9f0: 4e75
+LAB_1B9F2:
+ MOVEM.L D6/A1-A5,-(A7) ;1b9f2: 48e7027c
+ ADDA.W #$0eb0,A2 ;1b9f6: d4fc0eb0
+ MOVEQ #$F,D0 ;1b9fa: 700f
+ MOVEQ #3,D1 ;1b9fc: 7203
+ BSR.W SUB_1985E ;1b9fe: 6100de5e
+ MOVEM.L (A7)+,D6/A1-A5 ;1ba02: 4cdf3e40
+ RTS ;1ba06: 4e75
+SUB_1BA08:
+ ADD.W D1,D1 ;1ba08: d241
+ MOVE.W 8(A4,D1.W),D0 ;1ba0a: 30341008
+ CMP.W #$ffff,D0 ;1ba0e: b07cffff
+ BEQ.S LAB_1B9F2 ;1ba12: 67de
+ CMP.W #$fffe,D0 ;1ba14: b07cfffe
+ BEQ.S LAB_1B9DC ;1ba18: 67c2
+ CMP.W #$fffd,D0 ;1ba1a: b07cfffd
+ BEQ.S LAB_1B9C6 ;1ba1e: 67a6
+ MOVEM.L D0/D6/A1-A5,-(A7) ;1ba20: 48e7827c
+ ADDA.W #$0a92,A2 ;1ba24: d4fc0a92
+ MOVEQ #$F,D0 ;1ba28: 700f
+ MOVEQ #3,D1 ;1ba2a: 7203
+ BSR.W SUB_1985E ;1ba2c: 6100de30
+ MOVEM.L (A7),D0/D6/A1-A5 ;1ba30: 4cd73e41
+ MOVE.W D6,-(A7) ;1ba34: 3f06
+ CMP.W #$03e7,D0 ;1ba36: b07c03e7
+ BLS.S LAB_1BA40 ;1ba3a: 6304
+ MOVE.W #$03e7,D0 ;1ba3c: 303c03e7
+LAB_1BA40:
+ BSR.W SUB_15A84 ;1ba40: 6100a042
+ MOVE.W (A7)+,D6 ;1ba44: 3c1f
+ MOVE.L A1,-(A7) ;1ba46: 2f09
+ MOVE.W D6,-(A7) ;1ba48: 3f06
+ LEA $F84(A6),A0 ;1ba4a: 41ee0f84
+ BSR.W SUB_159F2 ;1ba4e: 61009fa2
+ MOVE.W (A7)+,D6 ;1ba52: 3c1f
+ MOVE.W LAB_1BA72(PC,D6.W),D1 ;1ba54: 323b601c
+ MOVE.W LAB_1BA82(PC,D6.W),D0 ;1ba58: 303b6028
+ MOVEA.L (A7)+,A1 ;1ba5c: 225f
+ BSR.W SUB_1988A ;1ba5e: 6100de2a
+ LEA $F84(A6),A0 ;1ba62: 41ee0f84
+ MOVEQ #0,D2 ;1ba66: 7400
+ BSR.W SUB_19F44 ;1ba68: 6100e4da
+ MOVEM.L (A7)+,D0/D6/A1-A5 ;1ba6c: 4cdf3e41
+ RTS ;1ba70: 4e75
+LAB_1BA72:
+ DC.L $34583458,$34583458,$37f037f0,$37f037f0 ;1ba72
+LAB_1BA82:
+ DC.L $00d900f1,$01090121,$00d900f1,$01090121 ;1ba82
+SUB_1BA92:
+ MOVEQ #7,D7 ;1ba92: 7e07
+ LEA $A4(A6),A5 ;1ba94: 4bee00a4
+ MOVEQ #0,D6 ;1ba98: 7c00
+LAB_1BA9A:
+ MOVE.B (A5),D0 ;1ba9a: 1015
+ CMP.B 8(A5),D0 ;1ba9c: b02d0008
+ BEQ.S LAB_1BAAC ;1baa0: 670a
+ MOVEM.L D6-D7/A5,-(A7) ;1baa2: 48e70304
+ BSR.S SUB_1BAB6 ;1baa6: 610e
+ MOVEM.L (A7)+,D6-D7/A5 ;1baa8: 4cdf20c0
+LAB_1BAAC:
+ ADDQ.L #1,A5 ;1baac: 528d
+ ADDQ.W #2,D6 ;1baae: 5446
+ DBF D7,LAB_1BA9A ;1bab0: 51cfffe8
+ RTS ;1bab4: 4e75
+SUB_1BAB6:
+ MOVEA.L $1066(A6),A1 ;1bab6: 226e1066
+ MOVEA.L $1036(A6),A2 ;1baba: 246e1036
+ LEA LAB_1A956(PC),A0 ;1babe: 41faee96
+ ADDA.W 0(A0,D6.W),A1 ;1bac2: d2f06000
+ MOVE.B D0,8(A5) ;1bac6: 1b400008
+ CMP.B #$01,D0 ;1baca: b03c0001
+ BNE.S LAB_1BAE0 ;1bace: 6610
+ LEA LAB_1A92E(PC),A0 ;1bad0: 41faee5c
+LAB_1BAD4:
+ ADDA.W 0(A0,D6.W),A2 ;1bad4: d4f06000
+ MOVEQ #$F,D0 ;1bad8: 700f
+ MOVEQ #2,D1 ;1bada: 7202
+ BRA.W LAB_19862 ;1badc: 6000dd84
+LAB_1BAE0:
+ BTST #1,D0 ;1bae0: 08000001
+ BEQ.S LAB_1BAF2 ;1bae4: 670c
+ BCLR #1,(A5) ;1bae6: 08950001
+ ST 8(A5) ;1baea: 50ed0008
+ ST $98(A6) ;1baee: 50ee0098
+LAB_1BAF2:
+ LEA LAB_1A93E(PC),A0 ;1baf2: 41faee4a
+ BRA.S LAB_1BAD4 ;1baf6: 60dc
+LAB_1BAF8:
+ MOVE.B (A0),(A3) ;1baf8: 1690
+ MOVE.B $1F40(A0),$1F40(A3) ;1bafa: 17681f401f40
+ MOVE.B $3E80(A0),$3E80(A3) ;1bb00: 17683e803e80
+ MOVE.B $5DC0(A0),$5DC0(A3) ;1bb06: 17685dc05dc0
+ MOVE.B $7D00(A0),$7D00(A3) ;1bb0c: 17687d007d00
+ LEA $28(A3),A3 ;1bb12: 47eb0028
+ DBF D2,LAB_1BAF8 ;1bb16: 51caffe0
+ RTS ;1bb1a: 4e75
+LAB_1BB1C:
+ CMP.W #$0020,D0 ;1bb1c: b07c0020
+ BLT.S LAB_1BB36 ;1bb20: 6d14
+ CMP.W #$00b0,D0 ;1bb22: b07c00b0
+ BGT.S LAB_1BB36 ;1bb26: 6e0e
+ CMP.W #$0037,D1 ;1bb28: b27c0037
+ BLT.S LAB_1BB36 ;1bb2c: 6d08
+ CMP.W #$00a6,D1 ;1bb2e: b27c00a6
+ BLT.W LAB_1BB7A ;1bb32: 6d000046
+LAB_1BB36:
+ CMP.W #$0010,D0 ;1bb36: b07c0010
+ BHI.S LAB_1BB70 ;1bb3a: 6234
+ CMP.W #$0040,D1 ;1bb3c: b27c0040
+ BLS.S LAB_1BB70 ;1bb40: 632e
+ CMP.W #$007f,D1 ;1bb42: b27c007f
+ BHI.S LAB_1BB70 ;1bb46: 6228
+ CLR.W D3 ;1bb48: 4243
+ CMP.W #$0050,D1 ;1bb4a: b27c0050
+ BLS.S LAB_1BB62 ;1bb4e: 6312
+ ADDQ.W #1,D3 ;1bb50: 5243
+ CMP.W #$0060,D1 ;1bb52: b27c0060
+ BLS.S LAB_1BB62 ;1bb56: 630a
+ ADDQ.W #1,D3 ;1bb58: 5243
+ CMP.W #$0070,D1 ;1bb5a: b27c0070
+ BLS.S LAB_1BB62 ;1bb5e: 6302
+ ADDQ.W #1,D3 ;1bb60: 5243
+LAB_1BB62:
+ BTST #0,D2 ;1bb62: 08020000
+ BEQ.S LAB_1BB6A ;1bb66: 6702
+ ADDQ.W #4,D3 ;1bb68: 5843
+LAB_1BB6A:
+ MOVE.B LAB_1BB72(PC,D3.W),$A0(A6) ;1bb6a: 1d7b300600a0
+LAB_1BB70:
+ RTS ;1bb70: 4e75
+LAB_1BB72:
+ DC.L $553119d4,$56311954 ;1bb72
+LAB_1BB7A:
+ TST.W $25E(A6) ;1bb7a: 4a6e025e
+ BEQ.S LAB_1BB86 ;1bb7e: 6706
+ JMP LAB_16D80 ;1bb80: 4ef900016d80
+LAB_1BB86:
+ TST.B D2 ;1bb86: 4a02
+ BNE.S LAB_1BBA4 ;1bb88: 661a
+ TST.W $10C(A6) ;1bb8a: 4a6e010c
+ BNE.S LAB_1BB9A ;1bb8e: 660a
+ MOVE.W $11A(A6),$10C(A6) ;1bb90: 3d6e011a010c
+ BRA.W LAB_1CE1E ;1bb96: 60001286
+LAB_1BB9A:
+ MOVE.W $10C(A6),$11A(A6) ;1bb9a: 3d6e010c011a
+ BRA.W LAB_1CE16 ;1bba0: 60001274
+LAB_1BBA4:
+ TST.W $10C(A6) ;1bba4: 4a6e010c
+ BNE.W LAB_1BFC2 ;1bba8: 66000418
+ MOVEA.L $FD0(A6),A3 ;1bbac: 266e0fd0
+ JMP (A3) ;1bbb0: 4ed3
+ MOVE.W D0,$C2E(A6) ;1bbb2: 3d400c2e
+ MOVE.W D1,$C30(A6) ;1bbb6: 3d410c30
+ MOVE.L $11E(A6),D3 ;1bbba: 262e011e
+ ASL.L #8,D3 ;1bbbe: e183
+ MOVE.L D3,$80(A6) ;1bbc0: 2d430080
+ CLR.W $F98(A6) ;1bbc4: 426e0f98
+ CMP.W #$0097,D1 ;1bbc8: b27c0097
+ BGE.S LAB_1BBD8 ;1bbcc: 6c0a
+ CMP.W #$0089,D1 ;1bbce: b27c0089
+ BGE.S LAB_1BC14 ;1bbd2: 6c40
+ BRA.W LAB_1BC60 ;1bbd4: 6000008a
+LAB_1BBD8:
+ MOVE.B $11F(A6),D7 ;1bbd8: 1e2e011f
+ MOVE.W $22(A6),D6 ;1bbdc: 3c2e0022
+ CMP.W #$0068,D0 ;1bbe0: b07c0068
+ BLT.S LAB_1BBE8 ;1bbe4: 6d02
+ SUBQ.W #1,D6 ;1bbe6: 5346
+LAB_1BBE8:
+ MOVE.W D6,D1 ;1bbe8: 3206
+ TST.B D7 ;1bbea: 4a07
+ BEQ.S LAB_1BBFE ;1bbec: 6710
+ BSR.W LAB_1A1DE ;1bbee: 6100e5ee
+ BNE.W LAB_1BC60 ;1bbf2: 6600006c
+LAB_1BBF6:
+ CLR.L $11E(A6) ;1bbf6: 42ae011e
+ BRA.W LAB_1C32A ;1bbfa: 6000072e
+LAB_1BBFE:
+ BSR.W LAB_1A1CE ;1bbfe: 6100e5ce
+ BNE.W LAB_1BC60 ;1bc02: 6600005c
+LAB_1BC06:
+ MOVE.L $80(A6),D0 ;1bc06: 202e0080
+ LSR.L #8,D0 ;1bc0a: e088
+ MOVE.L D0,$11E(A6) ;1bc0c: 2d40011e
+ BRA.W LAB_1C32A ;1bc10: 60000718
+LAB_1BC14:
+ MOVEM.W D0-D1,-(A7) ;1bc14: 48a7c000
+ MOVEQ #-1,D3 ;1bc18: 76ff
+ BSR.W SUB_1A81C ;1bc1a: 6100ec00
+ MOVE.B (A1),D2 ;1bc1e: 1411
+ MOVEM.W (A7)+,D0-D1 ;1bc20: 4c9f0003
+ ANDI.W #$007f,D2 ;1bc24: 0242007f
+ CMP.W #$0017,D2 ;1bc28: b47c0017
+ BLS.W LAB_1BC60 ;1bc2c: 63000032
+ MOVE.W $22(A6),D6 ;1bc30: 3c2e0022
+ CMP.W #$0068,D0 ;1bc34: b07c0068
+ BGE.S LAB_1BC3C ;1bc38: 6c02
+ SUBQ.W #1,D6 ;1bc3a: 5346
+LAB_1BC3C:
+ TST.W $F98(A6) ;1bc3c: 4a6e0f98
+ BNE.S LAB_1BC54 ;1bc40: 6612
+ ST $F98(A6) ;1bc42: 50ee0f98
+ MOVE.W D6,D1 ;1bc46: 3206
+ MOVE.B $11F(A6),D7 ;1bc48: 1e2e011f
+ BEQ.S LAB_1BC56 ;1bc4c: 6708
+ BSR.W LAB_1A1D6 ;1bc4e: 6100e586
+ BEQ.S LAB_1BBF6 ;1bc52: 67a2
+LAB_1BC54:
+ RTS ;1bc54: 4e75
+LAB_1BC56:
+ BSR.W LAB_1A1C6 ;1bc56: 6100e56e
+ BEQ.S LAB_1BC06 ;1bc5a: 67aa
+ BRA.W LAB_1BC60 ;1bc5c: 60000002
+LAB_1BC60:
+ MOVEQ #-1,D3 ;1bc60: 76ff
+ BSR.W SUB_1A81C ;1bc62: 6100ebb8
+ MOVE.B (A1),D2 ;1bc66: 1411
+ BPL.S LAB_1BC74 ;1bc68: 6a0a
+ TST.B $11F(A6) ;1bc6a: 4a2e011f
+ BNE.S LAB_1BC74 ;1bc6e: 6604
+ BSR.W LAB_1BF1C ;1bc70: 610002aa
+LAB_1BC74:
+ MOVE.W D2,D3 ;1bc74: 3602
+ ANDI.W #$007f,D2 ;1bc76: 0242007f
+ TST.W $1C(A6) ;1bc7a: 4a6e001c
+ BNE.S LAB_1BC88 ;1bc7e: 6608
+ TST.W $22(A6) ;1bc80: 4a6e0022
+ BEQ.W LAB_1BCF4 ;1bc84: 6700006e
+LAB_1BC88:
+ CMP.W #$003f,D2 ;1bc88: b47c003f
+ BLS.S LAB_1BC96 ;1bc8c: 6308
+ CMP.W #$005f,D2 ;1bc8e: b47c005f
+ BLS.W LAB_1BF6C ;1bc92: 630002d8
+LAB_1BC96:
+ MOVE.W $C2E(A6),D4 ;1bc96: 382e0c2e
+ MOVE.W $C30(A6),D5 ;1bc9a: 3a2e0c30
+ TST.W D2 ;1bc9e: 4a42
+ BEQ.S LAB_1BCF2 ;1bca0: 6750
+ CMP.W #$0028,D2 ;1bca2: b47c0028
+ BEQ.W LAB_1BD68 ;1bca6: 670000c0
+ CMP.W #$0029,D2 ;1bcaa: b47c0029
+ BEQ.W LAB_1BD68 ;1bcae: 670000b8
+ CMP.W #$000f,D2 ;1bcb2: b47c000f
+ BLS.W LAB_1BDB6 ;1bcb6: 630000fe
+ CMP.W #$000f,D2 ;1bcba: b47c000f
+ BLS.S LAB_1BCDA ;1bcbe: 631a
+ CMP.W #$0017,D2 ;1bcc0: b47c0017
+ BLS.S LAB_1BCF6 ;1bcc4: 6330
+ CMP.W #$001b,D2 ;1bcc6: b47c001b
+ BEQ.W LAB_1BD44 ;1bcca: 67000078
+ ANDI.W #$fffe,D2 ;1bcce: 0242fffe
+ CMP.W #$001c,D2 ;1bcd2: b47c001c
+ BEQ.W LAB_1BD64 ;1bcd6: 6700008c
+LAB_1BCDA:
+ CMP.W #$0018,D2 ;1bcda: b47c0018
+ BLT.S LAB_1BCF2 ;1bcde: 6d12
+LAB_1BCE0:
+ MOVE.W $C30(A6),D5 ;1bce0: 3a2e0c30
+ CMP.W #$004f,D5 ;1bce4: ba7c004f
+ BLS.S LAB_1BCF2 ;1bce8: 6308
+ CMP.W #$0084,D5 ;1bcea: ba7c0084
+ BLS.W LAB_1BD6C ;1bcee: 6300007c
+LAB_1BCF2:
+ RTS ;1bcf2: 4e75
+LAB_1BCF4:
+ RTS ;1bcf4: 4e75
+LAB_1BCF6:
+ MOVE.W D2,D6 ;1bcf6: 3c02
+ SUB.W $22(A6),D6 ;1bcf8: 9c6e0022
+ ANDI.W #$0003,D6 ;1bcfc: 02460003
+ BNE.S LAB_1BD20 ;1bd00: 661e
+ CMP.W #$005a,D5 ;1bd02: ba7c005a
+ BLS.S LAB_1BD22 ;1bd06: 631a
+ CMP.W #$0084,D5 ;1bd08: ba7c0084
+ BHI.S LAB_1BD22 ;1bd0c: 6214
+ CMP.W #$0013,D2 ;1bd0e: b47c0013
+ BLS.S LAB_1BD24 ;1bd12: 6310
+ CMP.W #$007a,D5 ;1bd14: ba7c007a
+ BLT.S LAB_1BD22 ;1bd18: 6d08
+ MOVEQ #2,D6 ;1bd1a: 7c02
+ BRA.W LAB_1BC3C ;1bd1c: 6000ff1e
+LAB_1BD20:
+ RTS ;1bd20: 4e75
+LAB_1BD22:
+ RTS ;1bd22: 4e75
+LAB_1BD24:
+ BSR.W LAB_1A7BA ;1bd24: 6100ea94
+ BMI.S LAB_1BD42 ;1bd28: 6b18
+ BNE.S LAB_1BD42 ;1bd2a: 6616
+ BSR.W SUB_1BFAC ;1bd2c: 6100027e
+ MOVE.B #$00,2(A2) ;1bd30: 157c00000002
+ MOVE.W D2,(A2) ;1bd36: 3482
+ MOVE.B #$ff,3(A2) ;1bd38: 157c00ff0003
+ BSET #2,(A1) ;1bd3e: 08d10002
+LAB_1BD42:
+ RTS ;1bd42: 4e75
+LAB_1BD44:
+ CMP.W #$0062,D5 ;1bd44: ba7c0062
+ BLS.S LAB_1BCE0 ;1bd48: 6396
+ CMP.W #$007c,D5 ;1bd4a: ba7c007c
+ BHI.S LAB_1BCE0 ;1bd4e: 6290
+ BSR.W SUB_1A7D0 ;1bd50: 6100ea7e
+ BMI.S LAB_1BCE0 ;1bd54: 6b8a
+ BNE.S LAB_1BCE0 ;1bd56: 6688
+ BSR.W SUB_1BFAC ;1bd58: 61000252
+ MOVE.W D2,(A2) ;1bd5c: 3482
+ CLR.W 2(A2) ;1bd5e: 426a0002
+ RTS ;1bd62: 4e75
+LAB_1BD64:
+ RTS ;1bd64: 4e75
+LAB_1BD66:
+ RTS ;1bd66: 4e75
+LAB_1BD68:
+ BRA.W LAB_1BCDA ;1bd68: 6000ff70
+LAB_1BD6C:
+ CLR.W D2 ;1bd6c: 4242
+ MOVE.W $C2E(A6),D4 ;1bd6e: 382e0c2e
+ MOVE.W $C30(A6),D5 ;1bd72: 3a2e0c30
+ CMP.W #$0030,D4 ;1bd76: b87c0030
+ BLT.S LAB_1BD66 ;1bd7a: 6dea
+ CMP.W #$0055,D4 ;1bd7c: b87c0055
+ BLT.S LAB_1BD92 ;1bd80: 6d10
+ ADDQ.W #1,D2 ;1bd82: 5242
+ CMP.W #$007a,D4 ;1bd84: b87c007a
+ BLS.S LAB_1BD92 ;1bd88: 6308
+ ADDQ.W #1,D2 ;1bd8a: 5242
+ CMP.W #$00a0,D4 ;1bd8c: b87c00a0
+ BGT.S LAB_1BD66 ;1bd90: 6ed4
+LAB_1BD92:
+ CMP.W #$0071,D5 ;1bd92: ba7c0071
+ BGT.S LAB_1BD9C ;1bd96: 6e04
+ ADDI.W #$0020,D2 ;1bd98: 06420020
+LAB_1BD9C:
+ TST.B $11F(A6) ;1bd9c: 4a2e011f
+ BNE.S LAB_1BDA4 ;1bda0: 6602
+ RTS ;1bda2: 4e75
+LAB_1BDA4:
+ LEA $11E(A6),A0 ;1bda4: 41ee011e
+ BSR.W LAB_1D76C ;1bda8: 610019c2
+ BMI.S LAB_1BD66 ;1bdac: 6bb8
+LAB_1BDAE:
+ CLR.L $11E(A6) ;1bdae: 42ae011e
+ BRA.W LAB_1C32A ;1bdb2: 60000576
+LAB_1BDB6:
+ MOVE.W $22(A6),D3 ;1bdb6: 362e0022
+ BTST #0,D3 ;1bdba: 08030000
+ BNE.S LAB_1BDC4 ;1bdbe: 6604
+ BCHG #1,D3 ;1bdc0: 08430001
+LAB_1BDC4:
+ ANDI.W #$0003,D3 ;1bdc4: 02430003
+ BTST D3,D2 ;1bdc8: 0702
+ BEQ.W LAB_1BF6A ;1bdca: 6700019e
+ MOVEA.L $B46(A6),A0 ;1bdce: 206e0b46
+ MOVE.W $44(A6),D0 ;1bdd2: 302e0044
+LAB_1BDD6:
+ TST.W (A0) ;1bdd6: 4a50
+ BEQ.S LAB_1BDE4 ;1bdd8: 670a
+ CMP.W (A0)+,D0 ;1bdda: b058
+ BEQ.S LAB_1BDE6 ;1bddc: 6708
+ LEA 2(A0),A0 ;1bdde: 41e80002
+ BRA.S LAB_1BDD6 ;1bde2: 60f2
+LAB_1BDE4:
+ RTS ;1bde4: 4e75
+LAB_1BDE6:
+ CLR.W D0 ;1bde6: 4240
+ MOVE.B (A0),D0 ;1bde8: 1010
+ CMP.B #$10,D0 ;1bdea: b03c0010
+ BEQ.W LAB_1BEE6 ;1bdee: 670000f6
+ CMP.B #$09,D0 ;1bdf2: b03c0009
+ BLS.S LAB_1BE00 ;1bdf6: 6308
+ CMP.B #$0f,D0 ;1bdf8: b03c000f
+ BLS.W LAB_1BEA6 ;1bdfc: 630000a8
+LAB_1BE00:
+ MOVE.W D0,D6 ;1be00: 3c00
+ LSR.W #1,D6 ;1be02: e24e
+ CMP.B #$02,D6 ;1be04: bc3c0002
+ BEQ.W LAB_1BE42 ;1be08: 67000038
+ CMP.B #$03,D6 ;1be0c: bc3c0003
+ BEQ.W LAB_1BE34 ;1be10: 67000022
+ CMP.B #$04,D6 ;1be14: bc3c0004
+ BEQ.W LAB_1BE34 ;1be18: 6700001a
+ CMP.B #$01,D6 ;1be1c: bc3c0001
+ BEQ.W LAB_1BE26 ;1be20: 67000004
+ RTS ;1be24: 4e75
+LAB_1BE26:
+ LEA LAB_1BE9E(PC),A2 ;1be26: 45fa0076
+ BRA.S LAB_1BE46 ;1be2a: 601a
+LAB_1BE2C:
+ DC.L $005d0070,$00620070 ;1be2c
+LAB_1BE34:
+ LEA LAB_1BE2C(PC),A2 ;1be34: 45fafff6
+ BRA.S LAB_1BE46 ;1be38: 600c
+LAB_1BE3A:
+ DC.L $0081008e,$004b005c ;1be3a
+LAB_1BE42:
+ LEA LAB_1BE3A(PC),A2 ;1be42: 45fafff6
+LAB_1BE46:
+ MOVE.L A0,-(A7) ;1be46: 2f08
+ BSR.W LAB_1BE7E ;1be48: 61000034
+ BEQ.S LAB_1BE62 ;1be4c: 6714
+ MOVEA.L $B4E(A6),A0 ;1be4e: 206e0b4e
+ MOVE.W $44(A6),D2 ;1be52: 342e0044
+LAB_1BE56:
+ TST.L (A0) ;1be56: 4a90
+ BEQ.S LAB_1BE62 ;1be58: 6708
+ CMP.W (A0)+,D2 ;1be5a: b458
+ BEQ.S LAB_1BE66 ;1be5c: 6708
+ ADDQ.L #4,A0 ;1be5e: 5888
+ BRA.S LAB_1BE56 ;1be60: 60f4
+LAB_1BE62:
+ MOVEA.L (A7)+,A0 ;1be62: 205f
+ RTS ;1be64: 4e75
+LAB_1BE66:
+ MOVE.W $20(A6),$AAE(A6) ;1be66: 3d6e00200aae
+ BSR.W SUB_1CFB6 ;1be6c: 61001148
+ BEQ.S LAB_1BE62 ;1be70: 67f0
+ MOVEA.L (A7)+,A0 ;1be72: 205f
+ BCHG #0,(A0) ;1be74: 08500000
+ ST $236(A6) ;1be78: 50ee0236
+ RTS ;1be7c: 4e75
+LAB_1BE7E:
+ MOVE.W $C2E(A6),D4 ;1be7e: 382e0c2e
+ MOVE.W $C30(A6),D5 ;1be82: 3a2e0c30
+ CMP.W (A2)+,D4 ;1be86: b85a
+ BLS.S LAB_1BE9A ;1be88: 6310
+ CMP.W (A2)+,D4 ;1be8a: b85a
+ BHI.S LAB_1BE9A ;1be8c: 620c
+ CMP.W (A2)+,D5 ;1be8e: ba5a
+ BLS.S LAB_1BE9A ;1be90: 6308
+ CMP.W (A2)+,D5 ;1be92: ba5a
+ BHI.S LAB_1BE9A ;1be94: 6204
+ MOVEQ #-1,D4 ;1be96: 78ff
+ RTS ;1be98: 4e75
+LAB_1BE9A:
+ MOVEQ #0,D4 ;1be9a: 7800
+ RTS ;1be9c: 4e75
+LAB_1BE9E:
+ ORI.W #$006e,-(A1) ;1be9e: 0061006e
+ ORI.W #$0078,-(A7) ;1bea2: 00670078
+LAB_1BEA6:
+ LEA LAB_1BE9E(PC),A2 ;1bea6: 45fafff6
+ BSR.S LAB_1BE7E ;1beaa: 61d2
+ BEQ.S LAB_1BECC ;1beac: 671e
+ SUBI.B #$ab,D0 ;1beae: 040000ab
+ CMP.B $11F(A6),D0 ;1beb2: b02e011f
+ BNE.S LAB_1BECC ;1beb6: 6614
+ MOVEA.L $B52(A6),A0 ;1beb8: 206e0b52
+ MOVE.W $44(A6),D2 ;1bebc: 342e0044
+LAB_1BEC0:
+ TST.L (A0) ;1bec0: 4a90
+ BEQ.S LAB_1BECC ;1bec2: 6708
+ CMP.W (A0)+,D2 ;1bec4: b458
+ BEQ.S LAB_1BECE ;1bec6: 6706
+ ADDQ.L #4,A0 ;1bec8: 5888
+ BRA.S LAB_1BEC0 ;1beca: 60f4
+LAB_1BECC:
+ RTS ;1becc: 4e75
+LAB_1BECE:
+ MOVE.W $20(A6),$AAE(A6) ;1bece: 3d6e00200aae
+ BSR.W SUB_1CFB6 ;1bed4: 610010e0
+ BEQ.S LAB_1BECC ;1bed8: 67f2
+ BRA.W LAB_1BDAE ;1beda: 6000fed2
+LAB_1BEDE:
+ ORI.W #$007c,(A0) ;1bede: 0050007c
+ ORI.W #$007f,(A7)+ ;1bee2: 005f007f
+LAB_1BEE6:
+ LEA LAB_1BEDE(PC),A2 ;1bee6: 45fafff6
+ BSR.S LAB_1BE7E ;1beea: 6192
+ BEQ.S LAB_1BF1A ;1beec: 672c
+ MOVE.W $44(A6),D2 ;1beee: 342e0044
+ MOVEA.L $B4A(A6),A0 ;1bef2: 206e0b4a
+LAB_1BEF6:
+ CMP.W 2(A0),D2 ;1bef6: b4680002
+ BEQ.S LAB_1BF04 ;1befa: 6708
+ TST.W (A0) ;1befc: 4a50
+ BEQ.S LAB_1BF1A ;1befe: 671a
+ ADDA.W (A0),A0 ;1bf00: d0d0
+ BRA.S LAB_1BEF6 ;1bf02: 60f2
+LAB_1BF04:
+ ADDQ.W #4,A0 ;1bf04: 5848
+LAB_1BF06:
+ MOVE.L A0,$B7C(A6) ;1bf06: 2d480b7c
+ MOVEQ #0,D0 ;1bf0a: 7000
+ MOVE.B (A0),D0 ;1bf0c: 1010
+ BSET #7,D0 ;1bf0e: 08c00007
+ MOVE.W D0,$264(A6) ;1bf12: 3d400264
+ BRA.W LAB_1C366 ;1bf16: 6000044e
+LAB_1BF1A:
+ RTS ;1bf1a: 4e75
+LAB_1BF1C:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1bf1c: 48e7fffc
+ MOVE.W $44(A6),-(A7) ;1bf20: 3f2e0044
+ BSR.W SUB_1B2D6 ;1bf24: 6100f3b0
+ BEQ.S LAB_1BF58 ;1bf28: 672e
+ MOVE.W (A2),D5 ;1bf2a: 3a12
+ MOVEA.L 2(A2),A0 ;1bf2c: 206a0002
+ MOVE.B -8(A0),D0 ;1bf30: 1028fff8
+ BEQ.S LAB_1BF58 ;1bf34: 6722
+ ANDI.W #$007f,D0 ;1bf36: 0240007f
+ MOVEA.L $B72(A6),A0 ;1bf3a: 206e0b72
+LAB_1BF3E:
+ TST.W (A0) ;1bf3e: 4a50
+ BEQ.S LAB_1BF58 ;1bf40: 6716
+ CMP.B 2(A0),D0 ;1bf42: b0280002
+ BEQ.S LAB_1BF4C ;1bf46: 6704
+ ADDA.W (A0),A0 ;1bf48: d0d0
+ BRA.S LAB_1BF3E ;1bf4a: 60f2
+LAB_1BF4C:
+ LEA 6(A0),A0 ;1bf4c: 41e80006
+ CMPI.B #$ff,(A0) ;1bf50: 0c1000ff
+ BEQ.S LAB_1BF58 ;1bf54: 6702
+ BSR.S LAB_1BF06 ;1bf56: 61ae
+LAB_1BF58:
+ MOVE.W (A7)+,$44(A6) ;1bf58: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1bf5c: 4cdf3fff
+ RTS ;1bf60: 4e75
+ ST $C1A(A6) ;1bf62: 50ee0c1a
+ ST $9E(A6) ;1bf66: 50ee009e
+LAB_1BF6A:
+ RTS ;1bf6a: 4e75
+LAB_1BF6C:
+ MOVE.W $C2E(A6),D4 ;1bf6c: 382e0c2e
+ MOVE.W $C30(A6),D5 ;1bf70: 3a2e0c30
+ MOVE.W D2,D1 ;1bf74: 3202
+ ANDI.W #$0007,D1 ;1bf76: 02410007
+ CMP.W #$0000,D1 ;1bf7a: b27c0000
+ BNE.W LAB_1BD6C ;1bf7e: 6600fdec
+ CMP.W #$008f,D4 ;1bf82: b87c008f
+ BLS.W LAB_1BD6C ;1bf86: 6300fde4
+ CMP.W #$006a,D5 ;1bf8a: ba7c006a
+ BLS.W LAB_1BD6C ;1bf8e: 6300fddc
+ CMP.W #$0072,D5 ;1bf92: ba7c0072
+ BHI.W LAB_1BD6C ;1bf96: 6200fdd4
+ MOVE.W D2,D0 ;1bf9a: 3002
+ CMP.W #$0096,D4 ;1bf9c: b87c0096
+ BHI.S LAB_1BFAA ;1bfa0: 6208
+ BSR.W SUB_1BFAC ;1bfa2: 61000008
+ BRA.W SUB_1A52E ;1bfa6: 6000e586
+LAB_1BFAA:
+ RTS ;1bfaa: 4e75
+SUB_1BFAC:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1bfac: 48e7fffc
+ MOVE.W $20(A6),D2 ;1bfb0: 342e0020
+ MOVEQ #4,D0 ;1bfb4: 7004
+ CLR.W D1 ;1bfb6: 4241
+ BSR.W SUB_207AA ;1bfb8: 610047f0
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1bfbc: 4cdf3fff
+ RTS ;1bfc0: 4e75
+LAB_1BFC2:
+ TST.B $11C(A6) ;1bfc2: 4a2e011c
+ BEQ.W LAB_1C034 ;1bfc6: 6700006c
+ CMP.W #$0043,D1 ;1bfca: b27c0043
+ BLT.W LAB_1BFD4 ;1bfce: 6d000004
+ RTS ;1bfd2: 4e75
+LAB_1BFD4:
+ CMP.W #$0030,D0 ;1bfd4: b07c0030
+ BLS.W LAB_1CE16 ;1bfd8: 63000e3c
+ MOVEQ #3,D1 ;1bfdc: 7203
+ CMP.W #$00a4,D0 ;1bfde: b07c00a4
+ BGE.S LAB_1BFF4 ;1bfe2: 6c10
+ SUBQ.W #1,D1 ;1bfe4: 5341
+ CMP.W #$009d,D0 ;1bfe6: b07c009d
+ BGE.S LAB_1BFF4 ;1bfea: 6c08
+ SUBQ.W #1,D1 ;1bfec: 5341
+ CMP.W #$0096,D0 ;1bfee: b07c0096
+ BLT.S LAB_1C024 ;1bff2: 6d30
+LAB_1BFF4:
+ CMP.W $10C(A6),D1 ;1bff4: b26e010c
+ BLT.S LAB_1BFFC ;1bff8: 6d02
+ ADDQ.W #1,D1 ;1bffa: 5241
+LAB_1BFFC:
+ MOVE.W D1,D0 ;1bffc: 3001
+ SUBQ.W #1,D0 ;1bffe: 5340
+ MULU #$01d2,D0 ;1c000: c0fc01d2
+ LEA $298(A6),A0 ;1c004: 41ee0298
+ ADDA.W D0,A0 ;1c008: d0c0
+ TST.B $45(A0) ;1c00a: 4a280045
+ BEQ.S LAB_1C014 ;1c00e: 6704
+ MOVE.W D1,$10C(A6) ;1c010: 3d41010c
+LAB_1C014:
+ ST $C18(A6) ;1c014: 50ee0c18
+ CLR.W $C4E(A6) ;1c018: 426e0c4e
+ MOVE.W #$ffff,$C50(A6) ;1c01c: 3d7cffff0c50
+ RTS ;1c022: 4e75
+LAB_1C024:
+ MOVE.B $11C(A6),D0 ;1c024: 102e011c
+ ADDQ.W #1,D0 ;1c028: 5240
+ ANDI.W #$0001,D0 ;1c02a: 02400001
+ MOVE.B D0,$11C(A6) ;1c02e: 1d40011c
+ BRA.S LAB_1C014 ;1c032: 60e0
+LAB_1C034:
+ CMP.W #$0043,D1 ;1c034: b27c0043
+ BLT.S LAB_1BFD4 ;1c038: 6d9a
+ CMP.W #$0045,D1 ;1c03a: b27c0045
+ BLT.W LAB_1C1A2 ;1c03e: 6d000162
+ CMP.W #$00a7,D0 ;1c042: b07c00a7
+ BGE.W LAB_1C1A2 ;1c046: 6c00015a
+ MOVEA.L $116(A6),A0 ;1c04a: 206e0116
+ LEA $B6(A0),A0 ;1c04e: 41e800b6
+ CMP.W #$0027,D0 ;1c052: b07c0027
+ BLT.W LAB_1C1A2 ;1c056: 6d00014a
+ CMP.W #$0047,D0 ;1c05a: b07c0047
+ BGE.S LAB_1C098 ;1c05e: 6c38
+ CMP.W #$0085,D1 ;1c060: b27c0085
+ BGE.W LAB_1C1A2 ;1c064: 6c00013c
+ SUBI.W #$0027,D0 ;1c068: 04400027
+ SUBI.W #$0045,D1 ;1c06c: 04410045
+ LSR.W #4,D0 ;1c070: e848
+ LSR.W #4,D1 ;1c072: e849
+ ADD.W D1,D1 ;1c074: d241
+ ADD.W D0,D1 ;1c076: d240
+ MOVE.B 1(A0),D0 ;1c078: 10280001
+ ANDI.W #$007f,D0 ;1c07c: 0240007f
+ CMP.B #$5c,D0 ;1c080: b03c005c
+ BEQ.W LAB_1C1AC ;1c084: 67000126
+ MOVE.B LAB_1C090(PC,D1.W),D0 ;1c088: 103b1006
+ BRA.W SUB_1C2F8 ;1c08c: 6000026a
+LAB_1C090:
+ DC.L $0e0f0a0b,$06070203 ;1c090
+LAB_1C098:
+ ADDQ.W #4,A0 ;1c098: 5848
+ CMP.W #$0087,D0 ;1c09a: b07c0087
+ BLT.W LAB_1C0E2 ;1c09e: 6d000042
+ CMP.W #$0095,D1 ;1c0a2: b27c0095
+ BGE.W LAB_1C1A2 ;1c0a6: 6c0000fa
+ SUBI.W #$0087,D0 ;1c0aa: 04400087
+ SUBI.W #$0045,D1 ;1c0ae: 04410045
+ LSR.W #4,D0 ;1c0b2: e848
+ LSR.W #4,D1 ;1c0b4: e849
+ ADD.W D1,D1 ;1c0b6: d241
+ ADD.W D0,D1 ;1c0b8: d240
+ CMP.W #$0007,D1 ;1c0ba: b27c0007
+ BHI.S LAB_1C0D0 ;1c0be: 6210
+ MOVE.B 1(A0),D0 ;1c0c0: 10280001
+ ANDI.W #$007f,D0 ;1c0c4: 0240007f
+ CMP.B #$5c,D0 ;1c0c8: b03c005c
+ BEQ.W LAB_1C1AC ;1c0cc: 670000de
+LAB_1C0D0:
+ MOVE.B LAB_1C0D8(PC,D1.W),D0 ;1c0d0: 103b1006
+ BRA.W SUB_1C2F8 ;1c0d4: 60000222
+LAB_1C0D8:
+ DC.L $10110c0d,$08090405 ;1c0d8
+ DC.W $0001 ;1c0e0
+LAB_1C0E2:
+ CMP.W #$004f,D0 ;1c0e2: b07c004f
+ BLT.W LAB_1C1A2 ;1c0e6: 6d0000ba
+ CMP.W #$005f,D0 ;1c0ea: b07c005f
+ BLT.W LAB_1C102 ;1c0ee: 6d000012
+ CMP.W #$006f,D0 ;1c0f2: b07c006f
+ BLT.W LAB_1C1A2 ;1c0f6: 6d0000aa
+ CMP.W #$007f,D0 ;1c0fa: b07c007f
+ BGE.W LAB_1C1A2 ;1c0fe: 6c0000a2
+LAB_1C102:
+ CMP.W #$0046,D1 ;1c102: b27c0046
+ BLT.W LAB_1C1A2 ;1c106: 6d00009a
+ CMP.W #$0056,D1 ;1c10a: b27c0056
+ BLT.W LAB_1C132 ;1c10e: 6d000022
+ CMP.W #$0059,D1 ;1c112: b27c0059
+ BLT.W LAB_1C1A2 ;1c116: 6d00008a
+ CMP.W #$0069,D1 ;1c11a: b27c0069
+ BLT.W LAB_1C132 ;1c11e: 6d000012
+ CMP.W #$006c,D1 ;1c122: b27c006c
+ BLT.W LAB_1C1A2 ;1c126: 6d00007a
+ CMP.W #$007c,D1 ;1c12a: b27c007c
+ BGE.W LAB_1C1A2 ;1c12e: 6c000072
+LAB_1C132:
+ SUBI.W #$0046,D1 ;1c132: 04410046
+ SUBI.W #$004f,D0 ;1c136: 0440004f
+ LSR.W #5,D0 ;1c13a: ea48
+ ANDI.L #$0000ffff,D1 ;1c13c: 02810000ffff
+ DIVU #$0013,D1 ;1c142: 82fc0013
+ ADD.W D1,D1 ;1c146: d241
+ ADD.W D0,D1 ;1c148: d240
+ CMP.W #$0002,D1 ;1c14a: b27c0002
+ BEQ.W LAB_1C2F0 ;1c14e: 670001a0
+ CMP.W #$0003,D1 ;1c152: b27c0003
+ BEQ.W LAB_1C2EC ;1c156: 67000194
+ MOVE.B $11F(A6),D0 ;1c15a: 102e011f
+ BEQ.S LAB_1C172 ;1c15e: 6712
+ CMP.B LAB_1C196(PC,D1.W),D0 ;1c160: b03b1034
+ BLS.W LAB_1C1A2 ;1c164: 6300003c
+ CMP.B LAB_1C19C(PC,D1.W),D0 ;1c168: b03b1032
+ BHI.W LAB_1C1A2 ;1c16c: 62000034
+ BSR.S SUB_1C17A ;1c170: 6108
+LAB_1C172:
+ MOVE.B LAB_1C190(PC,D1.W),D0 ;1c172: 103b101c
+ BSR.W SUB_1C2F8 ;1c176: 61000180
+SUB_1C17A:
+ CMPI.B #$07,$11F(A6) ;1c17a: 0c2e0007011f
+ BNE.S LAB_1C18E ;1c180: 660c
+ ST $98(A6) ;1c182: 50ee0098
+ MOVE.L #$08080808,$DC(A6) ;1c186: 2d7c0808080800dc
+LAB_1C18E:
+ RTS ;1c18e: 4e75
+LAB_1C190:
+ DC.L $14151213 ;1c190
+ DC.W $1617 ;1c194
+LAB_1C196:
+ DC.L $00080000 ;1c196
+ DC.W $121a ;1c19a
+LAB_1C19C:
+ DC.L $0812ffff ;1c19c
+ DC.W $1a21 ;1c1a0
+LAB_1C1A2:
+ RTS ;1c1a2: 4e75
+LAB_1C1A4:
+ DC.L $181c1014,$080c0004 ;1c1a4
+LAB_1C1AC:
+ MOVE.B LAB_1C1A4(PC,D1.W),D0 ;1c1ac: 103b10f6
+ CLR.W D1 ;1c1b0: 4241
+ MOVE.B 2(A0),D1 ;1c1b2: 12280002
+ ASL.W #5,D1 ;1c1b6: eb41
+ ADD.W D0,D1 ;1c1b8: d240
+ LEA $9E4(A6),A0 ;1c1ba: 41ee09e4
+ ADDA.W D1,A0 ;1c1be: d0c1
+ MOVE.L A0,-(A7) ;1c1c0: 2f08
+ LEA $11E(A6),A0 ;1c1c2: 41ee011e
+ MOVE.B 1(A0),D0 ;1c1c6: 10280001
+ ANDI.W #$007f,D0 ;1c1ca: 0240007f
+ JSR SUB_15630 ;1c1ce: 4eb900015630
+ MOVEA.L #LAB_1629E,A0 ;1c1d4: 207c0001629e
+ ASL.W #3,D0 ;1c1da: e740
+ ADDA.W D0,A0 ;1c1dc: d0c0
+ BTST #5,6(A0) ;1c1de: 082800050006
+ BNE.S LAB_1C1EC ;1c1e4: 6606
+ MOVEA.L (A7)+,A0 ;1c1e6: 205f
+ BRA.W SUB_1C310 ;1c1e8: 60000126
+LAB_1C1EC:
+ MOVEA.L (A7)+,A0 ;1c1ec: 205f
+ RTS ;1c1ee: 4e75
+LAB_1C1F0:
+ DC.L $005e0000 ;1c1f0
+SUB_1C1F4:
+ CLR.W $18(A3) ;1c1f4: 426b0018
+ LEA LAB_1C1F0(PC),A4 ;1c1f8: 49fafff6
+ MOVE.B #$5e,1(A4) ;1c1fc: 197c005e0001
+ MOVE.B D0,2(A4) ;1c202: 19400002
+ LEA $102(A6),A4 ;1c206: 49ee0102
+ MOVE.B 0(A4,D0.W),D0 ;1c20a: 10340000
+ LSR.W #1,D0 ;1c20e: e248
+ CMP.W #$0002,D0 ;1c210: b07c0002
+ BLS.S LAB_1C218 ;1c214: 6302
+ SUBQ.W #1,D0 ;1c216: 5340
+LAB_1C218:
+ MOVE.B D0,$83(A6) ;1c218: 1d400083
+ TST.W $E96(A6) ;1c21c: 4a6e0e96
+ BEQ.S LAB_1C226 ;1c220: 6704
+ BSR.S SUB_1C276 ;1c222: 6152
+ BRA.S LAB_1C242 ;1c224: 601c
+LAB_1C226:
+ LEA $6E(A3),A0 ;1c226: 41eb006e
+ MOVEQ #$17,D0 ;1c22a: 7017
+LAB_1C22C:
+ BSR.S SUB_1C246 ;1c22c: 6118
+ BMI.S LAB_1C242 ;1c22e: 6b12
+ DBF D0,LAB_1C22C ;1c230: 51c8fffa
+ LEA LAB_1C1F0(PC),A0 ;1c234: 41faffba
+ BSR.S SUB_1C246 ;1c238: 610c
+ CLR.L $CE(A3) ;1c23a: 42ab00ce
+ ST $C18(A6) ;1c23e: 50ee0c18
+LAB_1C242:
+ BRA.W SUB_1CE36 ;1c242: 60000bf2
+SUB_1C246:
+ CMPI.B #$07,1(A0) ;1c246: 0c2800070001
+ BNE.S LAB_1C252 ;1c24c: 6604
+ BSR.W SUB_1C2A4 ;1c24e: 61000054
+LAB_1C252:
+ TST.B 1(A0) ;1c252: 4a280001
+ BEQ.S LAB_1C264 ;1c256: 670c
+ MOVEM.L D0/A0/A3,-(A7) ;1c258: 48e78090
+ BSR.S SUB_1C288 ;1c25c: 612a
+ BNE.S LAB_1C26A ;1c25e: 660a
+LAB_1C260:
+ MOVEM.L (A7)+,D0/A0/A3 ;1c260: 4cdf0901
+LAB_1C264:
+ CLR.L (A0)+ ;1c264: 4298
+ CMP.W D0,D0 ;1c266: b040
+ RTS ;1c268: 4e75
+LAB_1C26A:
+ MOVEM.L (A7)+,D0/A0/A3 ;1c26a: 4cdf0901
+ LEA 4(A0),A0 ;1c26e: 41e80004
+ MOVEQ #-1,D1 ;1c272: 72ff
+ RTS ;1c274: 4e75
+SUB_1C276:
+ TST.B 1(A0) ;1c276: 4a280001
+ BEQ.S LAB_1C264 ;1c27a: 67e8
+ BSR.S SUB_1C288 ;1c27c: 610a
+ BNE.S LAB_1C26A ;1c27e: 66ea
+ MOVEM.L (A7),D0/A0/A3 ;1c280: 4cd70901
+ CLR.L (A0) ;1c284: 4290
+ BRA.S LAB_1C260 ;1c286: 60d8
+SUB_1C288:
+ CLR.W D3 ;1c288: 4243
+ BSR.W SUB_1A81C ;1c28a: 6100e590
+ MOVE.B 1(A0),$80(A6) ;1c28e: 1d6800010080
+ MOVE.B 2(A0),$81(A6) ;1c294: 1d6800020081
+ MOVE.B 3(A0),$82(A6) ;1c29a: 1d6800030082
+ BRA.W LAB_1A1E2 ;1c2a0: 6000df40
+SUB_1C2A4:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1c2a4: 48e7fffc
+ MOVEQ #3,D7 ;1c2a8: 7e03
+ LEA $298(A6),A2 ;1c2aa: 45ee0298
+LAB_1C2AE:
+ TST.W $18(A2) ;1c2ae: 4a6a0018
+ BEQ.S LAB_1C2D2 ;1c2b2: 671e
+ MOVE.B 1(A0),-(A7) ;1c2b4: 1f280001
+ MOVE.W 2(A0),-(A7) ;1c2b8: 3f280002
+ MOVE.B $BF(A2),1(A0) ;1c2bc: 116a00bf0001
+ MOVE.W $C0(A2),2(A0) ;1c2c2: 316a00c00002
+ MOVE.W (A7)+,$C0(A2) ;1c2c8: 355f00c0
+ MOVE.B (A7)+,$BF(A2) ;1c2cc: 155f00bf
+ BRA.S LAB_1C2DA ;1c2d0: 6008
+LAB_1C2D2:
+ LEA $1D2(A2),A2 ;1c2d2: 45ea01d2
+ DBF D7,LAB_1C2AE ;1c2d6: 51cfffd6
+LAB_1C2DA:
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1c2da: 4cdf3fff
+ ST $98(A6) ;1c2de: 50ee0098
+ MOVE.L #$08080808,$DC(A6) ;1c2e2: 2d7c0808080800dc
+LAB_1C2EA:
+ RTS ;1c2ea: 4e75
+LAB_1C2EC:
+ MOVEQ #$13,D0 ;1c2ec: 7013
+ BRA.S LAB_1C2F2 ;1c2ee: 6002
+LAB_1C2F0:
+ MOVEQ #$12,D0 ;1c2f0: 7012
+LAB_1C2F2:
+ BSR.S SUB_1C2F8 ;1c2f2: 6104
+ BRA.W SUB_1CE36 ;1c2f4: 60000b40
+SUB_1C2F8:
+ ASL.W #2,D0 ;1c2f8: e540
+ MOVEA.L $116(A6),A0 ;1c2fa: 206e0116
+ TST.B $45(A0) ;1c2fe: 4a280045
+ BEQ.S LAB_1C2EA ;1c302: 67e6
+ TST.W $18(A0) ;1c304: 4a680018
+ BEQ.S LAB_1C2EA ;1c308: 67e0
+ LEA $6E(A0),A0 ;1c30a: 41e8006e
+ ADDA.W D0,A0 ;1c30e: d0c0
+SUB_1C310:
+ MOVE.L (A0),-(A7) ;1c310: 2f10
+ MOVE.B $11F(A6),1(A0) ;1c312: 116e011f0001
+ MOVE.W $120(A6),2(A0) ;1c318: 316e01200002
+ ANDI.B #$80,(A0) ;1c31e: 02100080
+ MOVE.L (A7)+,$11E(A6) ;1c322: 2d5f011e
+ CLR.B $11E(A6) ;1c326: 422e011e
+LAB_1C32A:
+ ST $C18(A6) ;1c32a: 50ee0c18
+ TST.W $B78(A6) ;1c32e: 4a6e0b78
+ BNE.S LAB_1C33C ;1c332: 6608
+ TST.W $B7A(A6) ;1c334: 4a6e0b7a
+ BNE.S LAB_1C33C ;1c338: 6602
+ RTS ;1c33a: 4e75
+LAB_1C33C:
+ CLR.W $B78(A6) ;1c33c: 426e0b78
+ TST.B $11F(A6) ;1c340: 4a2e011f
+ BEQ.S LAB_1C34E ;1c344: 6708
+ MOVE.W #$0003,$B7A(A6) ;1c346: 3d7c00030b7a
+ RTS ;1c34c: 4e75
+LAB_1C34E:
+ MOVE.W #$0002,$B7A(A6) ;1c34e: 3d7c00020b7a
+ RTS ;1c354: 4e75
+LAB_1C356:
+ TST.B $11F(A6) ;1c356: 4a2e011f
+ BEQ.S LAB_1C37A ;1c35a: 671e
+ CLR.L $B7C(A6) ;1c35c: 42ae0b7c
+ MOVE.W #$0081,$264(A6) ;1c360: 3d7c00810264
+LAB_1C366:
+ TST.W $B78(A6) ;1c366: 4a6e0b78
+ BNE.S LAB_1C372 ;1c36a: 6606
+ MOVE.W #$0001,$B7A(A6) ;1c36c: 3d7c00010b7a
+LAB_1C372:
+ ST $C1A(A6) ;1c372: 50ee0c1a
+ ST $9E(A6) ;1c376: 50ee009e
+LAB_1C37A:
+ RTS ;1c37a: 4e75
+LAB_1C37C:
+ TST.W $AC8(A6) ;1c37c: 4a6e0ac8
+ BEQ.S LAB_1C3A2 ;1c380: 6720
+ MOVEA.L $ABA(A6),A0 ;1c382: 206e0aba
+ TST.W $18(A0) ;1c386: 4a680018
+ BEQ.S LAB_1C39A ;1c38a: 670e
+ MOVEA.L $AB6(A6),A0 ;1c38c: 206e0ab6
+ MOVE.B $ACB(A6),D0 ;1c390: 102e0acb
+ CMP.B 1(A0),D0 ;1c394: b0280001
+ BEQ.S LAB_1C3A2 ;1c398: 6708
+LAB_1C39A:
+ ST $ADA(A6) ;1c39a: 50ee0ada
+ ST $98(A6) ;1c39e: 50ee0098
+LAB_1C3A2:
+ BSR.W SUB_19D22 ;1c3a2: 6100d97e
+ BNE.S LAB_1C3AA ;1c3a6: 6602
+ RTS ;1c3a8: 4e75
+LAB_1C3AA:
+ CLR.W $F94(A6) ;1c3aa: 426e0f94
+ EXT.L D0 ;1c3ae: 48c0
+ EXT.L D1 ;1c3b0: 48c1
+ TST.W $230(A6) ;1c3b2: 4a6e0230
+ BEQ.S LAB_1C41C ;1c3b6: 6764
+ TST.B D2 ;1c3b8: 4a02
+ BNE.S LAB_1C3C2 ;1c3ba: 6606
+ CLR.W $230(A6) ;1c3bc: 426e0230
+ RTS ;1c3c0: 4e75
+LAB_1C3C2:
+ CLR.W D2 ;1c3c2: 4242
+ CMP.W #$0010,D0 ;1c3c4: b07c0010
+ BLT.S LAB_1C416 ;1c3c8: 6d4c
+ CMP.W #$00a0,D0 ;1c3ca: b07c00a0
+ BLT.S LAB_1C3DC ;1c3ce: 6d0c
+ CMP.W #$0130,D0 ;1c3d0: b07c0130
+ BGT.S LAB_1C416 ;1c3d4: 6e40
+ SUBI.W #$0090,D0 ;1c3d6: 04400090
+ ADDQ.W #1,D2 ;1c3da: 5242
+LAB_1C3DC:
+ CMP.W #$0064,D1 ;1c3dc: b27c0064
+ BLT.S LAB_1C3E8 ;1c3e0: 6d06
+ SUBI.W #$0064,D1 ;1c3e2: 04410064
+ ADDQ.W #2,D2 ;1c3e6: 5442
+LAB_1C3E8:
+ LEA $112(A6),A0 ;1c3e8: 41ee0112
+ MOVE.B 0(A0,D2.W),D2 ;1c3ec: 14302000
+ MOVE.W D2,D3 ;1c3f0: 3602
+ ADDQ.W #1,D3 ;1c3f2: 5243
+ MOVE.W D3,$C4E(A6) ;1c3f4: 3d430c4e
+ MOVE.W D3,$10C(A6) ;1c3f8: 3d43010c
+ LEA $298(A6),A0 ;1c3fc: 41ee0298
+ MULU #$01d2,D2 ;1c400: c4fc01d2
+ ADDA.W D2,A0 ;1c404: d0c2
+ MOVE.L A0,$116(A6) ;1c406: 2d480116
+ ADDI.W #$0010,D0 ;1c40a: 06400010
+ ADDI.W #$0037,D1 ;1c40e: 06410037
+ BRA.W LAB_1BFC2 ;1c412: 6000fbae
+LAB_1C416:
+ CLR.W $230(A6) ;1c416: 426e0230
+ RTS ;1c41a: 4e75
+LAB_1C41C:
+ CMP.W #$0056,D1 ;1c41c: b27c0056
+ BLS.W LAB_1C4CC ;1c420: 630000aa
+ CMP.W #$007e,D1 ;1c424: b27c007e
+ BHI.S LAB_1C480 ;1c428: 6256
+ CMP.W #$00d1,D0 ;1c42a: b07c00d1
+ BLS.W LAB_1C602 ;1c42e: 630001d2
+ CMP.W #$0119,D0 ;1c432: b07c0119
+ BLS.S LAB_1C44C ;1c436: 6314
+ CMP.W #$011c,D0 ;1c438: b07c011c
+ BLS.W LAB_1C602 ;1c43c: 630001c4
+ CMP.W #$0138,D0 ;1c440: b07c0138
+ BHI.W LAB_1C602 ;1c444: 620001bc
+ MOVEQ #3,D0 ;1c448: 7003
+ BRA.S LAB_1C454 ;1c44a: 6008
+LAB_1C44C:
+ SUBI.W #$00d2,D0 ;1c44c: 044000d2
+ DIVU #$0018,D0 ;1c450: 80fc0018
+LAB_1C454:
+ SUBI.W #$0057,D1 ;1c454: 04410057
+ DIVU #$0014,D1 ;1c458: 82fc0014
+ ASL.W #2,D1 ;1c45c: e541
+ ADD.W D0,D1 ;1c45e: d240
+ BTST #0,D2 ;1c460: 08020000
+ BNE.S LAB_1C468 ;1c464: 6602
+ ADDQ.W #8,D1 ;1c466: 5041
+LAB_1C468:
+ MOVE.B LAB_1C470(PC,D1.W),$A0(A6) ;1c468: 1d7b100600a0
+ RTS ;1c46e: 4e75
+LAB_1C470:
+ DC.L $3d3e3f1d,$2d1e2f1f,$3dbe3f1d,$2d1e2f1f ;1c470
+LAB_1C480:
+ TST.W $AC8(A6) ;1c480: 4a6e0ac8
+ BNE.W LAB_1C520 ;1c484: 6600009a
+ CMP.W #$00d3,D0 ;1c488: b07c00d3
+ BLS.W LAB_1C602 ;1c48c: 63000174
+ CMP.W #$0133,D0 ;1c490: b07c0133
+ BHI.W LAB_1C602 ;1c494: 6200016c
+ CMP.W #$007e,D1 ;1c498: b27c007e
+ BLS.W LAB_1C602 ;1c49c: 63000164
+ CMP.W #$00ac,D1 ;1c4a0: b27c00ac
+ BHI.W LAB_1C602 ;1c4a4: 6200015c
+ SUBI.W #$00d4,D0 ;1c4a8: 044000d4
+ DIVU #$0018,D0 ;1c4ac: 80fc0018
+ SUBI.W #$007f,D1 ;1c4b0: 0441007f
+ DIVU #$0017,D1 ;1c4b4: 82fc0017
+ ASL.W #2,D1 ;1c4b8: e541
+ ADD.W D1,D0 ;1c4ba: d041
+ TST.W $25E(A6) ;1c4bc: 4a6e025e
+ BNE.S LAB_1C4CA ;1c4c0: 6608
+ LEA $B4(A6),A0 ;1c4c2: 41ee00b4
+ BRA.W LAB_1C644 ;1c4c6: 6000017c
+LAB_1C4CA:
+ RTS ;1c4ca: 4e75
+LAB_1C4CC:
+ CMP.W #$013b,D0 ;1c4cc: b07c013b
+ BHI.W LAB_1C602 ;1c4d0: 62000130
+ CMP.W #$00cb,D0 ;1c4d4: b07c00cb
+ BLS.W LAB_1C602 ;1c4d8: 63000128
+ CMP.W #$0001,D1 ;1c4dc: b27c0001
+ BLS.W LAB_1C602 ;1c4e0: 63000120
+ CMP.W #$004f,D1 ;1c4e4: b27c004f
+ BHI.W LAB_1C602 ;1c4e8: 62000118
+ SUBQ.W #2,D1 ;1c4ec: 5541
+ DIVU #$0027,D1 ;1c4ee: 82fc0027
+ ADD.W D1,D1 ;1c4f2: d241
+ SUBI.W #$00cc,D0 ;1c4f4: 044000cc
+ DIVU #$0038,D0 ;1c4f8: 80fc0038
+ ADD.W D1,D0 ;1c4fc: d041
+ CLR.W D1 ;1c4fe: 4241
+ LEA $112(A6),A0 ;1c500: 41ee0112
+ MOVE.B 0(A0,D0.W),D1 ;1c504: 12300000
+ LEA $DC(A6),A0 ;1c508: 41ee00dc
+ TST.W $25E(A6) ;1c50c: 4a6e025e
+ BNE.S LAB_1C4CA ;1c510: 66b8
+ BSET #1,0(A0,D1.W) ;1c512: 08f000011000
+ ST $98(A6) ;1c518: 50ee0098
+ BRA.W LAB_1CCEE ;1c51c: 600007d0
+LAB_1C520:
+ CMP.W #$00bf,D0 ;1c520: b07c00bf
+ BLS.W LAB_1C602 ;1c524: 630000dc
+ MOVE.W $ABE(A6),D5 ;1c528: 3a2e0abe
+ MOVE.W D5,D3 ;1c52c: 3605
+ ANDI.W #$0003,D5 ;1c52e: 02450003
+ MULU #$0018,D5 ;1c532: cafc0018
+ ADDI.W #$00cc,D5 ;1c536: 064500cc
+ LSR.W #2,D3 ;1c53a: e44b
+ ANDI.W #$0001,D3 ;1c53c: 02430001
+ MULU #$0017,D3 ;1c540: c6fc0017
+ ADDI.W #$007e,D3 ;1c544: 0643007e
+ SUB.W D3,D1 ;1c548: 9243
+ BMI.W LAB_1C5C2 ;1c54a: 6b000076
+ SUB.W D5,D0 ;1c54e: 9045
+ BMI.W LAB_1C5C2 ;1c550: 6b000070
+ CMP.W #$0026,D0 ;1c554: b07c0026
+ BHI.W LAB_1C5C2 ;1c558: 62000068
+ MOVE.W $AC6(A6),D4 ;1c55c: 382e0ac6
+ ADDQ.W #6,D4 ;1c560: 5c44
+ ADDQ.W #5,D4 ;1c562: 5a44
+ CMP.W D4,D1 ;1c564: b244
+ BHI.W LAB_1C5C2 ;1c566: 6200005a
+ SUBQ.W #5,D4 ;1c56a: 5b44
+ CMP.W D4,D1 ;1c56c: b244
+ BHI.W LAB_1C5CA ;1c56e: 6200005a
+ DIVU #$0007,D1 ;1c572: 82fc0007
+ BEQ.W LAB_1C5CC ;1c576: 67000054
+ BSR.W SUB_1C87C ;1c57a: 61000300
+ ST $ADA(A6) ;1c57e: 50ee0ada
+ BSR.W SUB_1C59A ;1c582: 61000016
+ BTST #0,D2 ;1c586: 08020000
+ BNE.S LAB_1C598 ;1c58a: 660c
+ BSR.W SUB_1E620 ;1c58c: 61002092
+ MOVEA.L $AB6(A6),A0 ;1c590: 206e0ab6
+ ANDI.B #$80,(A0) ;1c594: 02100080
+LAB_1C598:
+ RTS ;1c598: 4e75
+SUB_1C59A:
+ MOVEA.L $AB6(A6),A0 ;1c59a: 206e0ab6
+ ANDI.W #$0007,D1 ;1c59e: 02410007
+ ANDI.B #$f8,(A0) ;1c5a2: 021000f8
+ OR.B D1,(A0) ;1c5a6: 8310
+ MOVEA.L $ABA(A6),A3 ;1c5a8: 266e0aba
+ MOVE.W $ABE(A6),D6 ;1c5ac: 3c2e0abe
+ MOVE.W $ACE(A6),D7 ;1c5b0: 3e2e0ace
+ MOVEA.L $AD4(A6),A5 ;1c5b4: 2a6e0ad4
+ BSET #0,(A5) ;1c5b8: 08d50000
+ ST $98(A6) ;1c5bc: 50ee0098
+ RTS ;1c5c0: 4e75
+LAB_1C5C2:
+ ST $ADA(A6) ;1c5c2: 50ee0ada
+ ST $98(A6) ;1c5c6: 50ee0098
+LAB_1C5CA:
+ RTS ;1c5ca: 4e75
+LAB_1C5CC:
+ MOVEA.L $AB6(A6),A0 ;1c5cc: 206e0ab6
+ MOVE.B 3(A0),D0 ;1c5d0: 10280003
+ LSR.W #3,D0 ;1c5d4: e648
+ ANDI.W #$0007,D0 ;1c5d6: 02400007
+ BTST #0,D2 ;1c5da: 08020000
+ BNE.S LAB_1C5E8 ;1c5de: 6608
+ TST.W D0 ;1c5e0: 4a40
+ BEQ.S LAB_1C5CA ;1c5e2: 67e6
+ SUBQ.W #1,D0 ;1c5e4: 5340
+ BRA.S LAB_1C5F0 ;1c5e6: 6008
+LAB_1C5E8:
+ CMP.W #$0005,D0 ;1c5e8: b07c0005
+ BEQ.S LAB_1C5CA ;1c5ec: 67dc
+ ADDQ.W #1,D0 ;1c5ee: 5240
+LAB_1C5F0:
+ ASL.W #3,D0 ;1c5f0: e740
+ ANDI.B #$c7,3(A0) ;1c5f2: 022800c70003
+ OR.B D0,3(A0) ;1c5f8: 81280003
+ ST $AD8(A6) ;1c5fc: 50ee0ad8
+ BRA.S LAB_1C5C2 ;1c600: 60c0
+LAB_1C602:
+ CMP.W #$0007,D1 ;1c602: b27c0007
+ BLE.S LAB_1C624 ;1c606: 6f1c
+ CMP.W #$002f,D1 ;1c608: b27c002f
+ BGT.W LAB_1BB1C ;1c60c: 6e00f50e
+ CMP.W #$0053,D0 ;1c610: b07c0053
+ BLT.W LAB_1BB1C ;1c614: 6d00f506
+ CMP.W #$007f,D0 ;1c618: b07c007f
+ BGT.W LAB_1BB1C ;1c61c: 6e00f4fe
+ BRA.W LAB_1C356 ;1c620: 6000fd34
+LAB_1C624:
+ LSR.W #6,D0 ;1c624: ec48
+ CMP.W #$0004,D0 ;1c626: b07c0004
+ BGE.S LAB_1C63A ;1c62a: 6c0e
+ LEA LAB_1C63C(PC),A0 ;1c62c: 41fa000e
+ MOVE.B 0(A0,D0.W),$A0(A6) ;1c630: 1d70000000a0
+ MOVE.B D2,$11C(A6) ;1c636: 1d42011c
+LAB_1C63A:
+ RTS ;1c63a: 4e75
+LAB_1C63C:
+ ;1c63c
+ ;DC.B $50,$51,$52,$53,$4e,$75,$4e,$75
+ DC.B "PQRSNuNu"
+LAB_1C644:
+ LEA 0(A0,D0.W),A5 ;1c644: 4bf00000
+ MOVE.W D0,D1 ;1c648: 3200
+ MOVE.W D0,D6 ;1c64a: 3c00
+ LSR.W #1,D1 ;1c64c: e249
+ MOVE.W D1,$ACC(A6) ;1c64e: 3d410acc
+ LEA $112(A6),A0 ;1c652: 41ee0112
+ MOVE.B 0(A0,D1.W),D1 ;1c656: 12301000
+ MOVE.W D1,$ACE(A6) ;1c65a: 3d410ace
+ MOVE.W D1,D3 ;1c65e: 3601
+ ADD.W D3,D3 ;1c660: d643
+ ANDI.W #$0001,D0 ;1c662: 02400001
+ ADD.W D0,D3 ;1c666: d640
+ ASL.W #2,D0 ;1c668: e540
+ LEA $298(A6),A0 ;1c66a: 41ee0298
+ BTST #0,D2 ;1c66e: 08020000
+ BNE.W LAB_1CCBE ;1c672: 6600064a
+ LEA $BC(A6),A4 ;1c676: 49ee00bc
+ ADDA.W D3,A4 ;1c67a: d8c3
+ TST.B (A4) ;1c67c: 4a14
+ BNE.W LAB_1C704 ;1c67e: 66000084
+ MOVE.L A4,$AD0(A6) ;1c682: 2d4c0ad0
+ MOVE.L A5,$AD4(A6) ;1c686: 2d4d0ad4
+ MOVE.W D1,D7 ;1c68a: 3e01
+ MULU #$01d2,D1 ;1c68c: c2fc01d2
+ LEA 0(A0,D1.W),A3 ;1c690: 47f01000
+ TST.B $41(A3) ;1c694: 4a2b0041
+ BNE.S LAB_1C704 ;1c698: 666a
+ TST.W $18(A3) ;1c69a: 4a6b0018
+ BEQ.S LAB_1C704 ;1c69e: 6764
+ LEA 0(A3,D0.W),A1 ;1c6a0: 43f30000
+ LEA $B6(A1),A0 ;1c6a4: 41e900b6
+ CMPI.B #$00,1(A0) ;1c6a8: 0c2800000001
+ BEQ.S LAB_1C6C0 ;1c6ae: 6710
+ CMPI.B #$21,1(A0) ;1c6b0: 0c2800210001
+ BLS.S LAB_1C704 ;1c6b6: 634c
+ CMPI.B #$5b,1(A0) ;1c6b8: 0c28005b0001
+ BHI.S LAB_1C704 ;1c6be: 6244
+LAB_1C6C0:
+ TST.W $AC8(A6) ;1c6c0: 4a6e0ac8
+ BEQ.S LAB_1C6CA ;1c6c4: 6704
+ ST $ADA(A6) ;1c6c6: 50ee0ada
+LAB_1C6CA:
+ MOVE.L A0,$AB6(A6) ;1c6ca: 2d480ab6
+ MOVE.B 1(A0),$ACB(A6) ;1c6ce: 1d6800010acb
+ MOVE.L A3,$ABA(A6) ;1c6d4: 2d4b0aba
+ MOVE.W D6,$ABE(A6) ;1c6d8: 3d460abe
+ ST $98(A6) ;1c6dc: 50ee0098
+ ST $AD8(A6) ;1c6e0: 50ee0ad8
+ MOVE.B (A0),D1 ;1c6e4: 1210
+ ANDI.W #$0007,D1 ;1c6e6: 02410007
+ BEQ.S LAB_1C704 ;1c6ea: 6718
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1c6ec: 48e7fffc
+ BSR.W SUB_1C8AE ;1c6f0: 610001bc
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1c6f4: 4cdf3fff
+ BSR.W SUB_1C59A ;1c6f8: 6100fea0
+ BSR.W SUB_1E620 ;1c6fc: 61001f22
+ CLR.W $AD8(A6) ;1c700: 426e0ad8
+LAB_1C704:
+ RTS ;1c704: 4e75
+SUB_1C706:
+ CLR.W $ADA(A6) ;1c706: 426e0ada
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1c70a: 48e7fffc
+ CLR.W $AC8(A6) ;1c70e: 426e0ac8
+ MOVEQ #$35,D0 ;1c712: 7035
+ CMPI.W #$0003,$AC0(A6) ;1c714: 0c6e00030ac0
+ BLS.S LAB_1C71E ;1c71a: 6302
+ MOVEQ #$32,D0 ;1c71c: 7032
+LAB_1C71E:
+ MOVEA.L $AC2(A6),A1 ;1c71e: 226e0ac2
+ MOVEA.L $1036(A6),A2 ;1c722: 246e1036
+ LEA $9A6(A2),A2 ;1c726: 45ea09a6
+ MOVEQ #7,D1 ;1c72a: 7207
+ BSR.W SUB_1985E ;1c72c: 6100d130
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1c730: 4cdf3fff
+ RTS ;1c734: 4e75
+LAB_1C736:
+ DC.L $13c813cc,$13ce13d0,$17601764,$17661768 ;1c736
+SUB_1C746:
+ MOVEQ #$35,D2 ;1c746: 7435
+ MOVE.W $ABE(A6),D0 ;1c748: 302e0abe
+ CMP.W #$0003,D0 ;1c74c: b07c0003
+ BLS.S LAB_1C754 ;1c750: 6302
+ MOVEQ #$32,D2 ;1c752: 7432
+LAB_1C754:
+ MOVEA.L $1036(A6),A1 ;1c754: 226e1036
+ LEA $9A6(A1),A1 ;1c758: 43e909a6
+ ADD.W D0,D0 ;1c75c: d040
+ MOVEA.L $1066(A6),A0 ;1c75e: 206e1066
+ ADDA.W LAB_1C736(PC,D0.W),A0 ;1c762: d0fb00d2
+ MOVE.L A0,$AC2(A6) ;1c766: 2d480ac2
+LAB_1C76A:
+ MOVEQ #1,D0 ;1c76a: 7001
+LAB_1C76C:
+ MOVE.L $1F40(A0),$1F40(A1) ;1c76c: 23681f401f40
+ MOVE.L $3E80(A0),$3E80(A1) ;1c772: 23683e803e80
+ MOVE.L $5DC0(A0),$5DC0(A1) ;1c778: 23685dc05dc0
+ MOVE.L $7D00(A0),$7D00(A1) ;1c77e: 23687d007d00
+ MOVE.L (A0)+,(A1)+ ;1c784: 22d8
+ DBF D0,LAB_1C76C ;1c786: 51c8ffe4
+ LEA $20(A1),A1 ;1c78a: 43e90020
+ LEA $20(A0),A0 ;1c78e: 41e80020
+ DBF D2,LAB_1C76A ;1c792: 51caffd6
+ RTS ;1c796: 4e75
+SUB_1C798:
+ MOVE.W #$051b,D0 ;1c798: 303c051b
+ BSR.W LAB_198CC ;1c79c: 6100d12e
+ MOVE.W #$051c,D0 ;1c7a0: 303c051c
+ BSR.W LAB_198CC ;1c7a4: 6100d126
+ BSR.W SUB_1C8B4 ;1c7a8: 6100010a
+ MOVEA.L #LAB_128F2,A0 ;1c7ac: 207c000128f2
+ MOVE.W $AC6(A6),D1 ;1c7b2: 322e0ac6
+ ADDQ.W #7,D1 ;1c7b6: 5e41
+ MULU #$0014,D1 ;1c7b8: c2fc0014
+ MOVE.W D1,$12(A0) ;1c7bc: 31410012
+ MOVE.W #$051d,D0 ;1c7c0: 303c051d
+ BSR.W LAB_198CC ;1c7c4: 6100d106
+ MOVE.W $AC6(A6),D1 ;1c7c8: 322e0ac6
+ ADDI.W #$000b,D1 ;1c7cc: 0641000b
+ MOVEA.L $1022(A6),A1 ;1c7d0: 226e1022
+ MOVEA.L $1036(A6),A0 ;1c7d4: 206e1036
+ ADDA.W #$137e,A0 ;1c7d8: d0fc137e
+LAB_1C7DC:
+ MOVE.L (A1),(A0) ;1c7dc: 2091
+ MOVE.L $8C0(A1),$1F40(A0) ;1c7de: 216908c01f40
+ MOVE.L $1180(A1),$3E80(A0) ;1c7e4: 216911803e80
+ MOVE.L $1A40(A1),$5DC0(A0) ;1c7ea: 21691a405dc0
+ MOVE.L $2300(A1),$7D00(A0) ;1c7f0: 216923007d00
+ MOVE.W 4(A1),4(A0) ;1c7f6: 316900040004
+ MOVE.W $8C4(A1),$1F44(A0) ;1c7fc: 316908c41f44
+ MOVE.W $1184(A1),$3E84(A0) ;1c802: 316911843e84
+ MOVE.W $1A44(A1),$5DC4(A0) ;1c808: 31691a445dc4
+ MOVE.W $2304(A1),$7D04(A0) ;1c80e: 316923047d04
+ LEA $14(A1),A1 ;1c814: 43e90014
+ LEA $28(A0),A0 ;1c818: 41e80028
+ DBF D1,LAB_1C7DC ;1c81c: 51c9ffbe
+ RTS ;1c820: 4e75
+SUB_1C822:
+ BSR.W SUB_1C798 ;1c822: 6100ff74
+ BSR.W SUB_1C746 ;1c826: 6100ff1e
+ MOVE.W $ABE(A6),$AC0(A6) ;1c82a: 3d6e0abe0ac0
+ CLR.W $AD8(A6) ;1c830: 426e0ad8
+ ST $AC8(A6) ;1c834: 50ee0ac8
+ MOVEQ #$35,D1 ;1c838: 7235
+ MOVE.W $AC6(A6),D0 ;1c83a: 302e0ac6
+ ADDI.W #$000b,D0 ;1c83e: 0640000b
+ MOVE.W $ABE(A6),D2 ;1c842: 342e0abe
+ CMP.W #$0003,D2 ;1c846: b47c0003
+ BLS.S LAB_1C84E ;1c84a: 6302
+ MOVEQ #$32,D1 ;1c84c: 7232
+LAB_1C84E:
+ CMP.W D1,D0 ;1c84e: b041
+ BLS.S LAB_1C854 ;1c850: 6302
+ MOVE.W D1,D0 ;1c852: 3001
+LAB_1C854:
+ ADD.W D2,D2 ;1c854: d442
+ MOVEA.L $1036(A6),A2 ;1c856: 246e1036
+ ADDA.W #$137e,A2 ;1c85a: d4fc137e
+ MOVEA.L $1066(A6),A1 ;1c85e: 226e1066
+ ADDA.W LAB_1C86C(PC,D2.W),A1 ;1c862: d2fb2008
+ MOVEQ #5,D1 ;1c866: 7205
+ BRA.W SUB_1985E ;1c868: 6000cff4
+LAB_1C86C:
+ DC.L $13c913cc,$13cf13d2,$17611764,$1767176a ;1c86c
+SUB_1C87C:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1c87c: 48e7fffc
+ MOVE.W $ABE(A6),D2 ;1c880: 342e0abe
+ ADD.W D2,D2 ;1c884: d442
+ MOVEA.L $1036(A6),A2 ;1c886: 246e1036
+ ADDA.W #$123e,A2 ;1c88a: d4fc123e
+ MOVEA.L $1066(A6),A1 ;1c88e: 226e1066
+ ADDA.W LAB_1C86C(PC,D2.W),A1 ;1c892: d2fb20d8
+ MULU #$0118,D1 ;1c896: c2fc0118
+ ADDI.W #$0029,D1 ;1c89a: 06410029
+ ADDA.W D1,A1 ;1c89e: d2c1
+ MOVEQ #4,D0 ;1c8a0: 7004
+ MOVEQ #3,D1 ;1c8a2: 7203
+ BSR.W SUB_1985E ;1c8a4: 6100cfb8
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1c8a8: 4cdf3fff
+ RTS ;1c8ac: 4e75
+SUB_1C8AE:
+ ST $AEE(A6) ;1c8ae: 50ee0aee
+ BRA.S LAB_1C8B8 ;1c8b2: 6004
+SUB_1C8B4:
+ CLR.W $AEE(A6) ;1c8b4: 426e0aee
+LAB_1C8B8:
+ MOVE.W $ACA(A6),D0 ;1c8b8: 302e0aca
+ ANDI.W #$007f,D0 ;1c8bc: 0240007f
+ JSR SUB_15630 ;1c8c0: 4eb900015630
+ MOVE.W D0,-(A7) ;1c8c6: 3f00
+ ASL.W #3,D0 ;1c8c8: e740
+ LEA LAB_1629E(PC),A0 ;1c8ca: 41fa99d2
+ ADDA.W D0,A0 ;1c8ce: d0c0
+ MOVEQ #0,D3 ;1c8d0: 7600
+ MOVE.B 2(A0),D3 ;1c8d2: 16280002
+ MOVE.W 6(A0),D2 ;1c8d6: 34280006
+ ANDI.W #$0007,D2 ;1c8da: 02420007
+ MULU #$0006,D2 ;1c8de: c4fc0006
+ MOVEA.L $ABA(A6),A0 ;1c8e2: 206e0aba
+ MOVE.W $20(A0),D0 ;1c8e6: 30280020
+ LSR.W #5,D0 ;1c8ea: ea48
+ MOVE.W D0,$ADC(A6) ;1c8ec: 3d400adc
+ LEA $46(A0),A0 ;1c8f0: 41e80046
+ MOVE.W 0(A0,D2.W),D2 ;1c8f4: 34302000
+ ADDQ.W #1,D2 ;1c8f8: 5242
+ CLR.W $ADE(A6) ;1c8fa: 426e0ade
+ CLR.W $AC6(A6) ;1c8fe: 426e0ac6
+ MOVE.W (A7)+,D0 ;1c902: 301f
+ BEQ.S LAB_1C90A ;1c904: 6704
+ SUBI.W #$002c,D0 ;1c906: 0440002c
+LAB_1C90A:
+ ADD.W D0,D0 ;1c90a: d040
+ LEA LAB_1CA10(PC),A0 ;1c90c: 41fa0102
+ ADDA.W 0(A0,D0.W),A0 ;1c910: d0f00000
+ MOVEQ #0,D1 ;1c914: 7200
+ MOVE.B (A0)+,D1 ;1c916: 1218
+ BPL.S LAB_1C966 ;1c918: 6a4c
+ MOVEM.L D1-D3/A0,-(A7) ;1c91a: 48e77080
+ MOVEA.L $AB6(A6),A0 ;1c91e: 206e0ab6
+ MOVE.B 3(A0),D0 ;1c922: 10280003
+ LSR.W #3,D0 ;1c926: e648
+ ANDI.W #$0007,D0 ;1c928: 02400007
+ MOVE.B D0,$ADF(A6) ;1c92c: 1d400adf
+ ADDI.W #$0031,D0 ;1c930: 06400031
+ LEA $F88(A6),A0 ;1c934: 41ee0f88
+ MOVE.B D0,(A0) ;1c938: 1080
+ ST $ADE(A6) ;1c93a: 50ee0ade
+ TST.W $AEE(A6) ;1c93e: 4a6e0aee
+ BNE.S LAB_1C962 ;1c942: 661e
+ MOVE.W #$0014,D1 ;1c944: 323c0014
+ MOVEQ #$15,D0 ;1c948: 7015
+ MOVEM.L D0-D1/A0,-(A7) ;1c94a: 48e7c080
+ ADDI.W #$0014,D1 ;1c94e: 06410014
+ MOVEQ #-100,D2 ;1c952: 749c
+ BSR.W SUB_19F44 ;1c954: 6100d5ee
+ MOVEM.L (A7)+,D0-D1/A0 ;1c958: 4cdf0103
+ MOVEQ #-109,D2 ;1c95c: 7493
+ BSR.W SUB_19F44 ;1c95e: 6100d5e4
+LAB_1C962:
+ MOVEM.L (A7)+,D1-D3/A0 ;1c962: 4cdf010e
+LAB_1C966:
+ MOVE.W #$00a0,D4 ;1c966: 383c00a0
+ ANDI.W #$007f,D1 ;1c96a: 0241007f
+ SUBQ.W #1,D1 ;1c96e: 5341
+ MOVEQ #0,D5 ;1c970: 7a00
+ MOVEQ #0,D6 ;1c972: 7c00
+ MOVE.W D3,D6 ;1c974: 3c03
+ LSR.W #1,D6 ;1c976: e24e
+ MOVE.B (A0)+,D5 ;1c978: 1a18
+ LEA $AE0(A6),A4 ;1c97a: 49ee0ae0
+LAB_1C97E:
+ MOVEQ #0,D7 ;1c97e: 7e00
+ MOVE.B (A0)+,D7 ;1c980: 1e18
+ CMP.W #$0034,D7 ;1c982: be7c0034
+ BEQ.S LAB_1C992 ;1c986: 670a
+ CMP.W #$000a,D7 ;1c988: be7c000a
+ BLS.S LAB_1C992 ;1c98c: 6304
+ CMP.W D3,D2 ;1c98e: b443
+ BLS.S LAB_1C9F2 ;1c990: 6360
+LAB_1C992:
+ TST.W $ADE(A6) ;1c992: 4a6e0ade
+ BEQ.S LAB_1C9BA ;1c996: 6722
+ MOVE.W D6,-(A7) ;1c998: 3f06
+ TST.W D6 ;1c99a: 4a46
+ BNE.S LAB_1C9A0 ;1c99c: 6602
+ ADDQ.W #1,D6 ;1c99e: 5246
+LAB_1C9A0:
+ MOVEQ #0,D0 ;1c9a0: 7000
+ MOVE.B $ADF(A6),D0 ;1c9a2: 102e0adf
+ MULU D6,D0 ;1c9a6: c0c6
+ LSR.W #1,D0 ;1c9a8: e248
+ ADD.W D6,D0 ;1c9aa: d046
+ ADDQ.W #1,D0 ;1c9ac: 5240
+ ANDI.W #$fffe,D0 ;1c9ae: 0240fffe
+ MOVE.W (A7)+,D6 ;1c9b2: 3c1f
+ CMP.W $ADC(A6),D0 ;1c9b4: b06e0adc
+ BHI.S LAB_1C9F2 ;1c9b8: 6238
+LAB_1C9BA:
+ MOVE.B D7,(A4)+ ;1c9ba: 18c7
+ MOVEM.L D1-D6/A0/A4,-(A7) ;1c9bc: 48e77e88
+ BSR.W SUB_1C9FC ;1c9c0: 6100003a
+ TST.W $AEE(A6) ;1c9c4: 4a6e0aee
+ BNE.S LAB_1C9E6 ;1c9c8: 661c
+ MOVE.W D4,D1 ;1c9ca: 3204
+ MOVEQ #7,D0 ;1c9cc: 7007
+ MOVEM.L D0-D1/A0,-(A7) ;1c9ce: 48e7c080
+ ADDI.W #$0014,D1 ;1c9d2: 06410014
+ MOVEQ #-100,D2 ;1c9d6: 749c
+ BSR.W SUB_19F44 ;1c9d8: 6100d56a
+ MOVEM.L (A7)+,D0-D1/A0 ;1c9dc: 4cdf0103
+ MOVEQ #-110,D2 ;1c9e0: 7492
+ BSR.W SUB_19F44 ;1c9e2: 6100d560
+LAB_1C9E6:
+ MOVEM.L (A7)+,D1-D6/A0/A4 ;1c9e6: 4cdf117e
+ ADDQ.W #7,$AC6(A6) ;1c9ea: 5e6e0ac6
+ ADDI.W #$008c,D4 ;1c9ee: 0644008c
+LAB_1C9F2:
+ ADDQ.W #2,D6 ;1c9f2: 5446
+ ADD.W D5,D3 ;1c9f4: d645
+ DBF D1,LAB_1C97E ;1c9f6: 51c9ff86
+ RTS ;1c9fa: 4e75
+SUB_1C9FC:
+ LEA strVerbs(PC),A0 ;1c9fc: 41fa0140
+ BRA.S LAB_1CA0A ;1ca00: 6008
+LAB_1CA02:
+ TST.B (A0) ;1ca02: 4a10
+ BEQ.S LAB_1CA0A ;1ca04: 6704
+LAB_1CA06:
+ TST.B (A0)+ ;1ca06: 4a18
+ BNE.S LAB_1CA06 ;1ca08: 66fc
+LAB_1CA0A:
+ DBF D7,LAB_1CA02 ;1ca0a: 51cffff6
+ RTS ;1ca0e: 4e75
+LAB_1CA10:
+ DC.L $0088011a,$011a011a,$011a011a,$011a011a ;1ca10
+ DC.L $011a011d,$011d011d,$01200120,$01200120 ;1ca20
+ DC.L $01200120,$01200120,$01200120,$01200120 ;1ca30
+ DC.L $008c0090,$0095009a,$009e00a3,$00a800a3 ;1ca40
+ DC.L $00ad00b4,$01230102,$01020105,$01020105 ;1ca50
+ DC.L $01020102,$00f500f5,$00f500f1,$00f100f5 ;1ca60
+ DC.L $00fe0102,$011600ba,$00c200ca,$00d200da ;1ca70
+ DC.L $00e200ea,$010f0129,$01090109,$0109010c ;1ca80
+ DC.L $010c0112,$00f800fb,$02020006,$0204010f ;1ca90
+ DC.L $0304013a,$11030401,$0f340204,$010b0304 ;1caa0
+ DC.L $010b0d03,$04010b0c,$0305010d,$10050501 ;1cab0
+ DC.L $0b0d0c0e,$0405010b,$0c0e8605,$12131415 ;1cac0
+ DC.L $16178602,$18191a1b,$1c1d8605,$1e1f2021 ;1cad0
+ DC.L $37228602,$24232526,$27288605,$292a2b35 ;1cae0
+ DC.L $2c2d8602,$2e30322f,$31338506,$3b3c3d3e ;1caf0
+ DC.L $3f020201,$35010001,$01000401,$00050202 ;1cb00
+ DC.L $01360100,$3402000f,$34010003,$01000281 ;1cb10
+ DC.L $00370202,$38390203,$093a0100,$07010008 ;1cb20
+ DC.L $01000a04,$06010d0c,$0e820640 ;1cb30
+ DC.W $4100 ;1cb3c
+strVerbs:
+ ;1cb3e
+ ;DC.B $50,$55,$4e,$43,$48,$00,$53,$57,$49,$4e,$47,$00,$42,$4c,$4f,$57
+ ;DC.B $00,$53,$48,$4f,$4f,$54,$00,$52,$4f,$4c,$4c,$00,$46,$4c,$49,$50
+ ;DC.B $00,$4b,$49,$43,$4b,$00,$45,$41,$54,$00,$44,$52,$49,$4e,$4b,$00
+ ;DC.B $43,$55,$54,$00,$53,$57,$41,$4c,$4c,$4f,$57,$00,$43,$48,$4f,$50
+ ;DC.B $00,$4d,$45,$4c,$45,$45,$00,$54,$48,$52,$55,$53,$54,$00,$42,$45
+ ;DC.B $52,$5a,$45,$52,$4b,$00,$53,$54,$41,$42,$00,$50,$45,$52,$52,$59
+ ;DC.B $00,$48,$41,$43,$4b,$00,$4f,$50,$45,$4e,$00,$47,$4c,$4f,$57,$00
+ ;DC.B $44,$41,$52,$54,$00,$44,$49,$53,$50,$45,$4c,$00,$43,$4c,$4f,$55
+ ;DC.B $44,$00,$42,$49,$52,$44,$53,$00,$43,$41,$54,$43,$48,$00,$46,$55
+ ;DC.B $52,$59,$00,$57,$49,$4e,$44,$00,$52,$4f,$43,$4b,$00,$41,$43,$49
+ ;DC.B $44,$00,$47,$4f,$4c,$45,$4d,$00,$52,$45,$4d,$00,$46,$49,$54,$4e
+ ;DC.B $45,$53,$53,$00,$52,$45,$53,$54,$4f,$52,$45,$00,$41,$49,$44,$00
+ ;DC.B $53,$45,$45,$00,$44,$45,$53,$54,$4f,$4e,$45,$00,$49,$51,$00,$59
+ ;DC.B $4f,$55,$54,$48,$00,$44,$45,$43,$52,$49,$50,$00,$46,$4f,$4f,$44
+ ;DC.B $00,$56,$49,$56,$49,$46,$59,$00,$43,$4f,$4e,$46,$55,$53,$45,$00
+ ;DC.B $52,$45,$4d,$4f,$56,$45,$00,$53,$48,$49,$45,$4c,$44,$00,$50,$4f
+ ;DC.B $57,$00,$41,$49,$4d,$00,$51,$55,$49,$43,$4b,$45,$4e,$00,$41,$47
+ ;DC.B $45,$00,$57,$45,$41,$4b,$45,$4e,$00,$50,$4f,$49,$53,$4f,$4e,$00
+ ;DC.B $52,$45,$54,$41,$52,$44,$00,$46,$52,$45,$45,$5a,$45,$00,$54,$48
+ ;DC.B $52,$4f,$57,$00,$42,$4c,$4f,$43,$4b,$00,$44,$49,$47,$00,$43,$55
+ ;DC.B $52,$45,$00,$53,$45,$52,$56,$45,$00,$53,$4d,$41,$53,$48,$00,$53
+ ;DC.B $4c,$41,$53,$48,$00,$56,$49,$54,$41,$4c,$00,$53,$54,$52,$45,$4e
+ ;DC.B $00,$41,$47,$49,$4c,$00,$44,$45,$58,$54,$45,$52,$00,$57,$49,$53
+ ;DC.B $44,$4f,$4d,$00,$53,$4d,$49,$4c,$45,$00,$43,$52,$59,$00,$00,$00
+ DC.B "PUNCH",0
+ DC.B "SWING",0
+ DC.B "BLOW",0
+ DC.B "SHOOT",0
+ DC.B "ROLL",0
+ DC.B "FLIP",0
+ DC.B "KICK",0
+ DC.B "EAT",0
+ DC.B "DRINK",0
+ DC.B "CUT",0
+ DC.B "SWALLOW",0
+ DC.B "CHOP",0
+ DC.B "MELEE",0
+ DC.B "THRUST",0
+ DC.B "BERZERK",0
+ DC.B "STAB",0
+ DC.B "PERRY",0
+ DC.B "HACK",0
+ DC.B "OPEN",0
+ DC.B "GLOW",0
+ DC.B "DART",0
+ DC.B "DISPEL",0
+ DC.B "CLOUD",0
+ DC.B "BIRDS",0
+ DC.B "CATCH",0
+ DC.B "FURY",0
+ DC.B "WIND",0
+ DC.B "ROCK",0
+ DC.B "ACID",0
+ DC.B "GOLEM",0
+ DC.B "REM",0
+ DC.B "FITNESS",0
+ DC.B "RESTORE",0
+ DC.B "AID",0
+ DC.B "SEE",0
+ DC.B "DESTONE",0
+ DC.B "IQ",0
+ DC.B "YOUTH",0
+ DC.B "DECRIP",0
+ DC.B "FOOD",0
+ DC.B "VIVIFY",0
+ DC.B "CONFUSE",0
+ DC.B "REMOVE",0
+ DC.B "SHIELD",0
+ DC.B "POW",0
+ DC.B "AIM",0
+ DC.B "QUICKEN",0
+ DC.B "AGE",0
+ DC.B "WEAKEN",0
+ DC.B "POISON",0
+ DC.B "RETARD",0
+ DC.B "FREEZE",0
+ DC.B "THROW",0
+ DC.B "BLOCK",0
+ DC.B "DIG",0
+ DC.B "CURE",0
+ DC.B "SERVE",0
+ DC.B "SMASH",0
+ DC.B "SLASH",0
+ DC.B "VITAL",0
+ DC.B "STREN",0
+ DC.B "AGIL",0
+ DC.B "DEXTER",0
+ DC.B "WISDOM",0
+ DC.B "SMILE",0
+ DC.B "CRY",0,0,0
+LAB_1CCBE:
+ MOVE.W D1,-(A7) ;1ccbe: 3f01
+ MULU #$01d2,D1 ;1ccc0: c2fc01d2
+ ADDA.W D1,A0 ;1ccc4: d0c1
+ TST.W $18(A0) ;1ccc6: 4a680018
+ BEQ.S LAB_1CCEA ;1ccca: 671e
+ TST.B $45(A0) ;1cccc: 4a280045
+ BEQ.S LAB_1CCEA ;1ccd0: 6718
+ ORI.B #$01,(A5) ;1ccd2: 00150001
+ ST $98(A6) ;1ccd6: 50ee0098
+ ADDI.W #$00b6,D0 ;1ccda: 064000b6
+ ADDA.W D0,A0 ;1ccde: d0c0
+ BSR.W SUB_1C310 ;1cce0: 6100f62e
+ MOVE.W (A7)+,D0 ;1cce4: 301f
+ BRA.W SUB_1CF4A ;1cce6: 60000262
+LAB_1CCEA:
+ MOVE.W (A7)+,D0 ;1ccea: 301f
+ RTS ;1ccec: 4e75
+LAB_1CCEE:
+ TST.B D2 ;1ccee: 4a02
+ BEQ.W LAB_1CE02 ;1ccf0: 67000110
+ TST.W $110(A6) ;1ccf4: 4a6e0110
+ BEQ.W LAB_1CDE4 ;1ccf8: 670000ea
+ MOVE.W $110(A6),D2 ;1ccfc: 342e0110
+ SUBQ.W #1,D2 ;1cd00: 5342
+ CLR.W $110(A6) ;1cd02: 426e0110
+ CMP.W D2,D0 ;1cd06: b042
+ BEQ.S LAB_1CD86 ;1cd08: 677c
+ LEA $112(A6),A1 ;1cd0a: 43ee0112
+ MOVE.B 0(A1,D0.W),D3 ;1cd0e: 16310000
+ MOVE.B 0(A1,D2.W),D4 ;1cd12: 18312000
+ MOVE.B D3,0(A1,D2.W) ;1cd16: 13832000
+ MOVE.B D4,0(A1,D0.W) ;1cd1a: 13840000
+ CLR.W $110(A6) ;1cd1e: 426e0110
+ TST.W $AC8(A6) ;1cd22: 4a6e0ac8
+ BEQ.S LAB_1CD4E ;1cd26: 6726
+ CMP.B $ACD(A6),D0 ;1cd28: b02e0acd
+ BEQ.S LAB_1CD36 ;1cd2c: 6708
+ EXG D0,D2 ;1cd2e: c142
+ CMP.B $ACD(A6),D0 ;1cd30: b02e0acd
+ BNE.S LAB_1CD4E ;1cd34: 6618
+LAB_1CD36:
+ MOVE.B D2,$ACD(A6) ;1cd36: 1d420acd
+ ANDI.W #$0001,$ABE(A6) ;1cd3a: 026e00010abe
+ ADD.W D2,D2 ;1cd40: d442
+ OR.W D2,$ABE(A6) ;1cd42: 856e0abe
+ ST $AD8(A6) ;1cd46: 50ee0ad8
+ ST $ADA(A6) ;1cd4a: 50ee0ada
+LAB_1CD4E:
+ BSR.W LAB_1AD2C ;1cd4e: 6100dfdc
+ MOVEQ #-1,D0 ;1cd52: 70ff
+ MOVE.L D0,$DC(A6) ;1cd54: 2d4000dc
+ ORI.L #$01010101,$B4(A6) ;1cd58: 00ae0101010100b4
+ ORI.L #$01010101,$B8(A6) ;1cd60: 00ae0101010100b8
+ MOVE.L $F0(A6),D0 ;1cd68: 202e00f0
+ ADD.L D0,$E8(A6) ;1cd6c: d1ae00e8
+ MOVE.L $F4(A6),D0 ;1cd70: 202e00f4
+ ADD.L D0,$EC(A6) ;1cd74: d1ae00ec
+ CLR.L $F0(A6) ;1cd78: 42ae00f0
+ CLR.L $F4(A6) ;1cd7c: 42ae00f4
+ ST $98(A6) ;1cd80: 50ee0098
+ RTS ;1cd84: 4e75
+LAB_1CD86:
+ MOVE.W D0,-(A7) ;1cd86: 3f00
+ LEA $112(A6),A0 ;1cd88: 41ee0112
+ MOVE.B 0(A0,D0.W),D0 ;1cd8c: 10300000
+ MULU #$01d2,D0 ;1cd90: c0fc01d2
+ LEA $298(A6),A0 ;1cd94: 41ee0298
+ MOVEA.L A0,A1 ;1cd98: 2248
+ ADDA.W D0,A0 ;1cd9a: d0c0
+ TST.W $18(A0) ;1cd9c: 4a680018
+ BEQ.S LAB_1CDDE ;1cda0: 673c
+ MOVEQ #3,D7 ;1cda2: 7e03
+LAB_1CDA4:
+ CMPI.B #$07,$BF(A1) ;1cda4: 0c29000700bf
+ BEQ.S LAB_1CDB6 ;1cdaa: 670a
+ LEA $1D2(A1),A1 ;1cdac: 43e901d2
+ DBF D7,LAB_1CDA4 ;1cdb0: 51cffff2
+ BRA.S LAB_1CDDE ;1cdb4: 6028
+LAB_1CDB6:
+ MOVE.B $BF(A0),-(A7) ;1cdb6: 1f2800bf
+ MOVE.B $BF(A1),$BF(A0) ;1cdba: 116900bf00bf
+ MOVE.B (A7)+,$BF(A1) ;1cdc0: 135f00bf
+ MOVE.W $C0(A0),-(A7) ;1cdc4: 3f2800c0
+ MOVE.W $C0(A1),$C0(A0) ;1cdc8: 316900c000c0
+ MOVE.W (A7)+,$C0(A1) ;1cdce: 335f00c0
+ ST $C18(A6) ;1cdd2: 50ee0c18
+ MOVE.L #$08080808,$DC(A6) ;1cdd6: 2d7c0808080800dc
+LAB_1CDDE:
+ MOVE.W (A7)+,D0 ;1cdde: 301f
+ ADDQ.W #1,D0 ;1cde0: 5240
+ BRA.S LAB_1CDEA ;1cde2: 6006
+LAB_1CDE4:
+ ADDQ.W #1,D0 ;1cde4: 5240
+ MOVE.W D0,$110(A6) ;1cde6: 3d400110
+LAB_1CDEA:
+ ST $98(A6) ;1cdea: 50ee0098
+ LEA $112(A6),A0 ;1cdee: 41ee0112
+ MOVE.B -1(A0,D0.W),D0 ;1cdf2: 103000ff
+ LEA $DC(A6),A0 ;1cdf6: 41ee00dc
+ ORI.B #$10,0(A0,D0.W) ;1cdfa: 003000100000
+ RTS ;1ce00: 4e75
+LAB_1CE02:
+ LEA $112(A6),A0 ;1ce02: 41ee0112
+ MOVE.B 0(A0,D0.W),D0 ;1ce06: 10300000
+ LEA LAB_1C63C(PC),A0 ;1ce0a: 41faf830
+ MOVE.B 0(A0,D0.W),$A0(A6) ;1ce0e: 1d70000000a0
+ RTS ;1ce14: 4e75
+LAB_1CE16:
+ CLR.W $10C(A6) ;1ce16: 426e010c
+ CLR.W $11C(A6) ;1ce1a: 426e011c
+LAB_1CE1E:
+ MOVEQ #-1,D0 ;1ce1e: 70ff
+ MOVE.L D0,$C18(A6) ;1ce20: 2d400c18
+ ST $9E(A6) ;1ce24: 50ee009e
+ BRA.S LAB_1CE4C ;1ce28: 6022
+ MOVEQ #-1,D0 ;1ce2a: 70ff
+ MOVE.L D0,$DC(A6) ;1ce2c: 2d4000dc
+ MOVE.L D0,$C3C(A6) ;1ce30: 2d400c3c
+ BRA.S LAB_1CE4C ;1ce34: 6016
+SUB_1CE36:
+ MOVEQ #-1,D0 ;1ce36: 70ff
+ MOVE.L D0,$DC(A6) ;1ce38: 2d4000dc
+ ORI.L #$01010101,$B4(A6) ;1ce3c: 00ae0101010100b4
+ ORI.L #$01010101,$B8(A6) ;1ce44: 00ae0101010100b8
+LAB_1CE4C:
+ ST $98(A6) ;1ce4c: 50ee0098
+ LEA $A4(A6),A0 ;1ce50: 41ee00a4
+ TST.W $10C(A6) ;1ce54: 4a6e010c
+ BEQ.S LAB_1CE64 ;1ce58: 670a
+ CLR.L (A0)+ ;1ce5a: 4298
+ CLR.L (A0) ;1ce5c: 4290
+ JMP LAB_17D8A ;1ce5e: 4ef900017d8a
+LAB_1CE64:
+ MOVE.L #$01010101,(A0)+ ;1ce64: 20fc01010101
+ MOVE.L #$01010101,(A0) ;1ce6a: 20bc01010101
+ RTS ;1ce70: 4e75
+SUB_1CE72:
+ BSR.S SUB_1CE84 ;1ce72: 6110
+ MOVEQ #-1,D0 ;1ce74: 70ff
+ ST $9E(A6) ;1ce76: 50ee009e
+ ST $C18(A6) ;1ce7a: 50ee0c18
+ MOVE.L D0,$C3C(A6) ;1ce7e: 2d400c3c
+ RTS ;1ce82: 4e75
+SUB_1CE84:
+ MOVEQ #-1,D0 ;1ce84: 70ff
+ MOVE.L D0,$DC(A6) ;1ce86: 2d4000dc
+ ORI.L #$01010101,$B4(A6) ;1ce8a: 00ae0101010100b4
+ ORI.L #$01010101,$B8(A6) ;1ce92: 00ae0101010100b8
+ MOVE.L D0,$A4(A6) ;1ce9a: 2d4000a4
+ MOVE.L D0,$A8(A6) ;1ce9e: 2d4000a8
+ CLR.B $A7(A6) ;1cea2: 422e00a7
+ CLR.B $AB(A6) ;1cea6: 422e00ab
+ MOVE.L #$80808080,D0 ;1ceaa: 203c80808080
+ OR.L D0,$E0(A6) ;1ceb0: 81ae00e0
+ MOVE.L D0,$AC(A6) ;1ceb4: 2d4000ac
+ MOVE.L D0,$B0(A6) ;1ceb8: 2d4000b0
+ ST $98(A6) ;1cebc: 50ee0098
+ ST $9C(A6) ;1cec0: 50ee009c
+ CLR.W D0 ;1cec4: 4240
+ JSR SUB_14EB4 ;1cec6: 4eb900014eb4
+ CLR.W $C52(A6) ;1cecc: 426e0c52
+ MOVE.W #$0015,$C54(A6) ;1ced0: 3d7c00150c54
+ MOVE.W #$0018,$C56(A6) ;1ced6: 3d7c00180c56
+ BRA.W LAB_1CE4C ;1cedc: 6000ff6e
+SUB_1CEE0:
+ MOVEQ #3,D0 ;1cee0: 7003
+ CLR.W $25E(A6) ;1cee2: 426e025e
+LAB_1CEE6:
+ MOVE.W D0,-(A7) ;1cee6: 3f00
+ BSR.W SUB_1CF4A ;1cee8: 61000060
+ BSR.W SUB_1CF74 ;1ceec: 61000086
+ MOVE.W (A7)+,D0 ;1cef0: 301f
+ DBF D0,LAB_1CEE6 ;1cef2: 51c8fff2
+ CLR.W $25A(A6) ;1cef6: 426e025a
+ BSR.W SUB_1CE72 ;1cefa: 6100ff76
+ BSR.W LAB_1AD2C ;1cefe: 6100de2c
+ LEA LAB_1CF1A(PC),A0 ;1cf02: 41fa0016
+ MOVEA.L A0,A2 ;1cf06: 2448
+ LEA $FAC(A6),A1 ;1cf08: 43ee0fac
+ MOVEQ #$B,D0 ;1cf0c: 700b
+LAB_1CF0E:
+ MOVEA.L A2,A3 ;1cf0e: 264a
+ ADDA.L (A0)+,A3 ;1cf10: d7d8
+ MOVE.L A3,(A1)+ ;1cf12: 22cb
+ DBF D0,LAB_1CF0E ;1cf14: 51c8fff8
+ RTS ;1cf18: 4e75
+LAB_1CF1A:
+ DC.L $ffffa7be,$ffffa7b8,$ffffa7c4,$ffffa7ca ;1cf1a
+ DC.L $ffffa834,$ffffa816,$ffffa7d0,$ffffa7fa ;1cf2a
+ DC.L $ffffa83a,$ffffec98,$ffffb446,$ffffd266 ;1cf3a
+SUB_1CF4A:
+ MOVE.W D0,-(A7) ;1cf4a: 3f00
+ BSR.S SUB_1CF9A ;1cf4c: 614c
+ MOVE.L A0,-(A7) ;1cf4e: 2f08
+ LEA $6E(A0),A0 ;1cf50: 41e8006e
+ MOVEQ #$17,D7 ;1cf54: 7e17
+ BSR.S SUB_1CF7C ;1cf56: 6124
+ MOVEA.L (A7),A0 ;1cf58: 2057
+ MOVE.W $C22(A6),$CE(A0) ;1cf5a: 316e0c2200ce
+ LEA $B6(A0),A0 ;1cf60: 41e800b6
+ MOVEQ #5,D7 ;1cf64: 7e05
+ BSR.S SUB_1CF7C ;1cf66: 6114
+ MOVEA.L (A7)+,A0 ;1cf68: 205f
+ MOVE.W $F60(A6),$6A(A0) ;1cf6a: 316e0f60006a
+ MOVE.W (A7)+,D0 ;1cf70: 301f
+ RTS ;1cf72: 4e75
+SUB_1CF74:
+ BSR.S SUB_1CF9A ;1cf74: 6124
+ JMP LAB_15270 ;1cf76: 4ef900015270
+SUB_1CF7C:
+ CLR.W $F60(A6) ;1cf7c: 426e0f60
+ CLR.W $C22(A6) ;1cf80: 426e0c22
+LAB_1CF84:
+ MOVE.B 1(A0),D0 ;1cf84: 10280001
+ ANDI.W #$007f,D0 ;1cf88: 0240007f
+ BEQ.S LAB_1CF92 ;1cf8c: 6704
+ BSR.W SUB_1984E ;1cf8e: 6100c8be
+LAB_1CF92:
+ ADDQ.W #4,A0 ;1cf92: 5848
+ DBF D7,LAB_1CF84 ;1cf94: 51cfffee
+ RTS ;1cf98: 4e75
+SUB_1CF9A:
+ MOVE.W D0,D7 ;1cf9a: 3e00
+ MULU #$01d2,D7 ;1cf9c: cefc01d2
+ LEA $298(A6),A0 ;1cfa0: 41ee0298
+ ADDA.W D7,A0 ;1cfa4: d0c7
+ RTS ;1cfa6: 4e75
+LAB_ACFA8:
+ MOVEA.L $232(A6),A1 ;1cfa8: 226e0232
+ MOVE.W D0,D4 ;1cfac: 3800
+ ASL.W #3,D4 ;1cfae: e744
+ MOVE.W -2(A1,D4.W),D4 ;1cfb0: 383140fe
+ RTS ;1cfb4: 4e75
+SUB_1CFB6:
+ MOVEA.L $B3A(A6),A1 ;1cfb6: 226e0b3a
+ ADDA.W (A0),A1 ;1cfba: d2d0
+ MOVE.W (A0)+,$44(A6) ;1cfbc: 3d580044
+ MOVE.B (A0),D0 ;1cfc0: 1010
+ BPL.S LAB_1CFCC ;1cfc2: 6a08
+ BTST #5,D0 ;1cfc4: 08000005
+ BNE.W LAB_1D096 ;1cfc8: 660000cc
+LAB_1CFCC:
+ BSET #5,(A0) ;1cfcc: 08d00005
+ ANDI.W #$001f,D0 ;1cfd0: 0240001f
+ CMP.B #$01,D0 ;1cfd4: b03c0001
+ BEQ.W LAB_1D08C ;1cfd8: 670000b2
+ CMP.B #$02,D0 ;1cfdc: b03c0002
+ BEQ.W LAB_1D07C ;1cfe0: 6700009a
+ CMP.B #$03,D0 ;1cfe4: b03c0003
+ BEQ.W LAB_1D03C ;1cfe8: 67000052
+ CMP.B #$04,D0 ;1cfec: b03c0004
+ BEQ.S LAB_1D05C ;1cff0: 676a
+ CMP.B #$07,D0 ;1cff2: b03c0007
+ BEQ.W LAB_1D2B8 ;1cff6: 670002c0
+ CMP.B #$05,D0 ;1cffa: b03c0005
+ BEQ.W LAB_1D2E2 ;1cffe: 670002e2
+ CMP.B #$0a,D0 ;1d002: b03c000a
+ BEQ.W LAB_1D0C0 ;1d006: 670000b8
+ CMP.B #$0b,D0 ;1d00a: b03c000b
+ BEQ.W LAB_1D22A ;1d00e: 6700021a
+ CMP.B #$0c,D0 ;1d012: b03c000c
+ BEQ.W LAB_1D144 ;1d016: 6700012c
+ CMP.B #$09,D0 ;1d01a: b03c0009
+ BEQ.W LAB_1D0DC ;1d01e: 670000bc
+ CMP.B #$0d,D0 ;1d022: b03c000d
+ BEQ.W LAB_1D0E8 ;1d026: 670000c0
+ CMP.B #$0e,D0 ;1d02a: b03c000e
+ BEQ.W LAB_1D10A ;1d02e: 670000da
+ CMP.B #$0f,D0 ;1d032: b03c000f
+ BEQ.W LAB_1D09A ;1d036: 67000062
+ BRA.S LAB_1D096 ;1d03a: 605a
+LAB_1D03C:
+ MOVE.B (A1),D2 ;1d03c: 1411
+ MOVE.B D2,D3 ;1d03e: 1602
+ ANDI.W #$007e,D3 ;1d040: 0243007e
+ CMP.B #$20,D3 ;1d044: b63c0020
+ BEQ.S LAB_1D096 ;1d048: 674c
+ ANDI.W #$0080,D2 ;1d04a: 02420080
+ ORI.B #$20,D2 ;1d04e: 00020020
+ MOVE.B D2,(A1) ;1d052: 1282
+ BSR.W SUB_1D506 ;1d054: 610004b0
+ BRA.W LAB_1D0A2 ;1d058: 60000048
+LAB_1D05C:
+ MOVE.B (A1),D2 ;1d05c: 1411
+ MOVE.B D2,D3 ;1d05e: 1602
+ ANDI.W #$007e,D3 ;1d060: 0243007e
+ CMP.B #$00,D3 ;1d064: b63c0000
+ BEQ.S LAB_1D096 ;1d068: 672c
+ ANDI.W #$0080,D2 ;1d06a: 02420080
+ ORI.B #$00,D2 ;1d06e: 00020000
+ MOVE.B D2,(A1) ;1d072: 1282
+ BSR.W SUB_1D506 ;1d074: 61000490
+ BRA.W LAB_1D0A2 ;1d078: 60000028
+LAB_1D07C:
+ ST $B0C(A6) ;1d07c: 50ee0b0c
+ BSR.W SUB_1A532 ;1d080: 6100d4b0
+ BNE.S LAB_1D08A ;1d084: 6604
+ BSR.W LAB_1D0A2 ;1d086: 6100001a
+LAB_1D08A:
+ RTS ;1d08a: 4e75
+LAB_1D08C:
+ BSR.W SUB_1A52E ;1d08c: 6100d4a0
+ BRA.W LAB_1D0A2 ;1d090: 60000010
+ RTS ;1d094: 4e75
+LAB_1D096:
+ MOVEQ #0,D0 ;1d096: 7000
+ RTS ;1d098: 4e75
+LAB_1D09A:
+ MOVE.W $44(A6),D0 ;1d09a: 302e0044
+ BRA.W LAB_2268E ;1d09e: 600055ee
+LAB_1D0A2:
+ TST.W $68(A6) ;1d0a2: 4a6e0068
+ BNE.S LAB_1D0BC ;1d0a6: 6614
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1d0a8: 48e7fffc
+ MOVE.W $AAE(A6),D2 ;1d0ac: 342e0aae
+ MOVEQ #4,D0 ;1d0b0: 7004
+ CLR.W D1 ;1d0b2: 4241
+ BSR.W SUB_207AA ;1d0b4: 610036f4
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1d0b8: 4cdf3fff
+LAB_1D0BC:
+ MOVEQ #-1,D0 ;1d0bc: 70ff
+ RTS ;1d0be: 4e75
+LAB_1D0C0:
+ MOVE.B (A1),D2 ;1d0c0: 1411
+ MOVE.W D2,D3 ;1d0c2: 3602
+ ANDI.W #$0080,D3 ;1d0c4: 02430080
+ ANDI.W #$007f,D2 ;1d0c8: 0242007f
+ OR.B 1(A0),D3 ;1d0cc: 86280001
+ MOVE.B D3,(A1) ;1d0d0: 1283
+ MOVE.B D2,1(A0) ;1d0d2: 11420001
+ BSR.W SUB_1D506 ;1d0d6: 6100042e
+ BRA.S LAB_1D0A2 ;1d0da: 60c6
+LAB_1D0DC:
+ MOVE.W $44(A6),D0 ;1d0dc: 302e0044
+ BSR.W SUB_1D39A ;1d0e0: 610002b8
+ BNE.S LAB_1D0A2 ;1d0e4: 66bc
+ RTS ;1d0e6: 4e75
+LAB_1D0E8:
+ TST.B $273(A6) ;1d0e8: 4a2e0273
+ BMI.S LAB_1D102 ;1d0ec: 6b14
+ MOVE.W $44(A6),$270(A6) ;1d0ee: 3d6e00440270
+ MOVE.W $44(A6),$EE4(A6) ;1d0f4: 3d6e00440ee4
+ MOVE.W $AAE(A6),$26E(A6) ;1d0fa: 3d6e0aae026e
+ BRA.S LAB_1D0A2 ;1d100: 60a0
+LAB_1D102:
+ MOVE.W $44(A6),$274(A6) ;1d102: 3d6e00440274
+ BRA.S LAB_1D0A2 ;1d108: 6098
+LAB_1D10A:
+ BSR.W SUB_1B2FA ;1d10a: 6100e1ee
+ MOVE.W (A2),D0 ;1d10e: 3012
+ BEQ.S LAB_1D12E ;1d110: 671c
+ MOVEA.L 2(A2),A0 ;1d112: 206a0002
+LAB_1D116:
+ MOVE.B (A0),D1 ;1d116: 1210
+ ADDQ.W #1,D1 ;1d118: 5241
+ CMP.B #$65,D1 ;1d11a: b23c0065
+ BLS.S LAB_1D122 ;1d11e: 6302
+ MOVEQ #1,D1 ;1d120: 7201
+LAB_1D122:
+ MOVE.B D1,(A0) ;1d122: 1081
+ ADDQ.W #4,A0 ;1d124: 5848
+ SUBQ.W #1,D0 ;1d126: 5340
+ BNE.S LAB_1D116 ;1d128: 66ec
+ BRA.W LAB_1D0A2 ;1d12a: 6000ff76
+LAB_1D12E:
+ RTS ;1d12e: 4e75
+LAB_1D130:
+ DC.L $00010020,$ffffffe0 ;1d130
+ DC.W $0001 ;1d138
+LAB_1D13A:
+ DC.L $0021001f,$ffdfffe1 ;1d13a
+ DC.W $0021 ;1d142
+LAB_1D144:
+ LEA LAB_1D130(PC),A2 ;1d144: 45faffea
+ BSR.S SUB_1D164 ;1d148: 611a
+ LEA LAB_1D13A(PC),A2 ;1d14a: 45faffee
+ BSR.S SUB_1D164 ;1d14e: 6114
+ MOVEA.L $B62(A6),A3 ;1d150: 266e0b62
+ BSR.W SUB_1A25C ;1d154: 6100d106
+ BNE.S LAB_1D160 ;1d158: 6606
+ MOVEA.L A2,A1 ;1d15a: 224a
+ BSR.W SUB_1D204 ;1d15c: 610000a6
+LAB_1D160:
+ BRA.W LAB_1D0A2 ;1d160: 6000ff40
+SUB_1D164:
+ LEA $F42(A6),A3 ;1d164: 47ee0f42
+ MOVEM.L A1-A3,-(A7) ;1d168: 48e70070
+ MOVEQ #3,D7 ;1d16c: 7e03
+LAB_1D16E:
+ MOVE.W (A2)+,D0 ;1d16e: 301a
+ MOVE.B 0(A1,D0.W),(A3)+ ;1d170: 16f10000
+ DBF D7,LAB_1D16E ;1d174: 51cffff8
+ MOVEM.L (A7),A1-A3 ;1d178: 4cd70e00
+ ADDQ.W #2,A2 ;1d17c: 544a
+ MOVEQ #3,D7 ;1d17e: 7e03
+LAB_1D180:
+ MOVE.W (A2)+,D4 ;1d180: 381a
+ MOVE.B (A3)+,D0 ;1d182: 101b
+ ANDI.W #$007f,D0 ;1d184: 0240007f
+ CMP.B #$3f,D0 ;1d188: b03c003f
+ BLS.S LAB_1D198 ;1d18c: 630a
+ CMP.B #$5f,D0 ;1d18e: b03c005f
+ BHI.S LAB_1D198 ;1d192: 6204
+ BCHG #3,D0 ;1d194: 08400003
+LAB_1D198:
+ ANDI.B #$80,0(A1,D4.W) ;1d198: 023100804000
+ OR.B D0,0(A1,D4.W) ;1d19e: 81314000
+ DBF D7,LAB_1D180 ;1d1a2: 51cfffdc
+ MOVEM.L (A7),A1-A3 ;1d1a6: 4cd70e00
+ MOVE.W $44(A6),$F52(A6) ;1d1aa: 3d6e00440f52
+ MOVEQ #3,D7 ;1d1b0: 7e03
+LAB_1D1B2:
+ MOVE.W (A2)+,D0 ;1d1b2: 301a
+ MOVE.W $F52(A6),$44(A6) ;1d1b4: 3d6e0f520044
+ ADD.W D0,$44(A6) ;1d1ba: d16e0044
+ MOVEM.L A2-A3,-(A7) ;1d1be: 48e70030
+ MOVEQ #0,D6 ;1d1c2: 7c00
+ MOVEA.L $B62(A6),A3 ;1d1c4: 266e0b62
+ BSR.W SUB_1A25C ;1d1c8: 6100d092
+ BNE.S LAB_1D1D0 ;1d1cc: 6602
+ MOVE.L A2,D6 ;1d1ce: 2c0a
+LAB_1D1D0:
+ MOVEM.L (A7)+,A2-A3 ;1d1d0: 4cdf0c00
+ MOVE.L D6,(A3)+ ;1d1d4: 26c6
+ DBF D7,LAB_1D1B2 ;1d1d6: 51cfffda
+ MOVEM.L (A7),A1-A3 ;1d1da: 4cd70e00
+ ADDQ.W #2,A2 ;1d1de: 544a
+ MOVEQ #3,D7 ;1d1e0: 7e03
+LAB_1D1E2:
+ MOVE.W $F52(A6),D0 ;1d1e2: 302e0f52
+ ADD.W (A2)+,D0 ;1d1e6: d05a
+ MOVE.L (A3)+,D1 ;1d1e8: 221b
+ BEQ.S LAB_1D1F4 ;1d1ea: 6708
+ MOVEA.L D1,A1 ;1d1ec: 2241
+ MOVE.W D0,(A1) ;1d1ee: 3280
+ BSR.W SUB_1D204 ;1d1f0: 61000012
+LAB_1D1F4:
+ DBF D7,LAB_1D1E2 ;1d1f4: 51cfffec
+ MOVE.W $F52(A6),$44(A6) ;1d1f8: 3d6e0f520044
+ MOVEM.L (A7)+,A1-A3 ;1d1fe: 4cdf0e00
+ RTS ;1d202: 4e75
+SUB_1D204:
+ MOVE.W 2(A1),D0 ;1d204: 30290002
+ LSR.W #2,D0 ;1d208: e448
+ SUBQ.W #2,D0 ;1d20a: 5540
+ BMI.S LAB_1D228 ;1d20c: 6b1a
+LAB_1D20E:
+ ADDQ.W #4,A1 ;1d20e: 5849
+ MOVE.B 3(A1),D1 ;1d210: 12290003
+ ADDQ.W #1,D1 ;1d214: 5241
+ ANDI.W #$0003,D1 ;1d216: 02410003
+ ANDI.B #$fc,3(A1) ;1d21a: 022900fc0003
+ OR.B D1,3(A1) ;1d220: 83290003
+ DBF D0,LAB_1D20E ;1d224: 51c8ffe8
+LAB_1D228:
+ RTS ;1d228: 4e75
+LAB_1D22A:
+ TST.B (A1) ;1d22a: 4a11
+ BMI.W LAB_1D2B0 ;1d22c: 6b000082
+ MOVEQ #0,D3 ;1d230: 7600
+ MOVE.B 1(A0),D3 ;1d232: 16280001
+ MOVEA.L $B3E(A6),A2 ;1d236: 246e0b3e
+LAB_1D23A:
+ TST.W (A2) ;1d23a: 4a52
+ BEQ.W LAB_1D2B0 ;1d23c: 67000072
+ CMP.B 2(A2),D3 ;1d240: b62a0002
+ BEQ.S SUB_1D24A ;1d244: 6704
+ ADDA.W (A2),A2 ;1d246: d4d2
+ BRA.S LAB_1D23A ;1d248: 60f0
+SUB_1D24A:
+ MOVE.W (A2),D0 ;1d24a: 3012
+ MOVEA.L $B6A(A6),A3 ;1d24c: 266e0b6a
+ MOVE.W 2(A3),D1 ;1d250: 322b0002
+ SUB.W D0,D1 ;1d254: 9240
+ BMI.S LAB_1D2B0 ;1d256: 6b58
+ CMP.W #$0008,D1 ;1d258: b27c0008
+ BLS.S LAB_1D2B0 ;1d25c: 6352
+ LEA 4(A3),A4 ;1d25e: 49eb0004
+ MOVE.W $44(A6),D5 ;1d262: 3a2e0044
+LAB_1D266:
+ CMP.W (A4),D5 ;1d266: ba54
+ BEQ.S LAB_1D2B0 ;1d268: 6746
+ TST.W (A4) ;1d26a: 4a54
+ BMI.S LAB_1D274 ;1d26c: 6b06
+ ADDA.W 2(A4),A4 ;1d26e: d8ec0002
+ BRA.S LAB_1D266 ;1d272: 60f2
+LAB_1D274:
+ LSR.W #1,D0 ;1d274: e248
+ MOVE.W $44(A6),(A4)+ ;1d276: 38ee0044
+ MOVE.W (A2)+,(A4)+ ;1d27a: 38da
+ SUBQ.W #2,D0 ;1d27c: 5540
+ ADDQ.W #2,A2 ;1d27e: 544a
+ BRA.S LAB_1D284 ;1d280: 6002
+LAB_1D282:
+ MOVE.W (A2)+,(A4)+ ;1d282: 38da
+LAB_1D284:
+ DBF D0,LAB_1D282 ;1d284: 51c8fffc
+ MOVE.L #$88828881,(A4)+ ;1d288: 28fc88828881
+ MOVE.W D1,2(A3) ;1d28e: 37410002
+ BSET #7,(A1) ;1d292: 08d10007
+ LEA LAB_1D2B4(PC),A0 ;1d296: 41fa001c
+ MOVE.W #$1401,D5 ;1d29a: 3a3c1401
+ CLR.W D3 ;1d29e: 4243
+ MOVE.B #$04,D2 ;1d2a0: 143c0004
+ MOVE.W $44(A6),D0 ;1d2a4: 302e0044
+ BSR.W SUB_1D99C ;1d2a8: 610006f2
+ BRA.W LAB_1D0A2 ;1d2ac: 6000fdf4
+LAB_1D2B0:
+ MOVEQ #0,D0 ;1d2b0: 7000
+ RTS ;1d2b2: 4e75
+LAB_1D2B4:
+ DC.L $007903ff ;1d2b4
+LAB_1D2B8:
+ MOVE.W $44(A6),D0 ;1d2b8: 302e0044
+ MOVE.B 1(A0),D3 ;1d2bc: 16280001
+ ROL.B #2,D3 ;1d2c0: e51b
+ ANDI.W #$0003,D3 ;1d2c2: 02430003
+ MOVE.B LAB_1D2DA(PC,D3.W),D2 ;1d2c6: 143b3012
+ MOVE.W #$5208,D5 ;1d2ca: 3a3c5208
+ LEA LAB_1D2DE(PC),A0 ;1d2ce: 41fa000e
+ BSR.W SUB_1D99C ;1d2d2: 610006c8
+ BRA.W LAB_1D0A2 ;1d2d6: 6000fdca
+LAB_1D2DA:
+ DC.L $21232725 ;1d2da
+LAB_1D2DE:
+ DC.L $006b000a ;1d2de
+LAB_1D2E2:
+ MOVEA.L $B5E(A6),A1 ;1d2e2: 226e0b5e
+ CLR.W D0 ;1d2e6: 4240
+ MOVE.B -1(A0),D0 ;1d2e8: 1028ffff
+ ASL.W #2,D0 ;1d2ec: e540
+ ADDA.W D0,A1 ;1d2ee: d2c0
+ MOVE.B 2(A1),D0 ;1d2f0: 10290002
+ MOVE.W D0,D1 ;1d2f4: 3200
+ ANDI.W #$00e0,D0 ;1d2f6: 024000e0
+ ANDI.W #$001f,D1 ;1d2fa: 0241001f
+ BEQ.W LAB_1D096 ;1d2fe: 6700fd96
+ MOVE.B D0,2(A1) ;1d302: 13400002
+ BRA.W LAB_1D0A2 ;1d306: 6000fd9a
+SUB_1D30A:
+ MOVE.W D0,$AAE(A6) ;1d30a: 3d400aae
+ MOVEA.L $B5A(A6),A1 ;1d30e: 226e0b5a
+LAB_1D312:
+ CMP.W 2(A1),D0 ;1d312: b0690002
+ BEQ.S LAB_1D322 ;1d316: 670a
+ TST.W (A1) ;1d318: 4a51
+ BEQ.S LAB_1D320 ;1d31a: 6704
+ ADDA.W (A1),A1 ;1d31c: d2d1
+ BRA.S LAB_1D312 ;1d31e: 60f2
+LAB_1D320:
+ MOVEQ #-1,D0 ;1d320: 70ff
+LAB_1D322:
+ ADDQ.W #4,A1 ;1d322: 5849
+ RTS ;1d324: 4e75
+LAB_1D326:
+ TST.B (A1) ;1d326: 4a11
+ BMI.S LAB_1D348 ;1d328: 6b1e
+ BSR.S SUB_1D30A ;1d32a: 61de
+ BMI.S LAB_1D348 ;1d32c: 6b1a
+ MOVE.B (A1),D0 ;1d32e: 1011
+ ANDI.W #$0030,D0 ;1d330: 02400030
+ CMP.W #$0010,D0 ;1d334: b07c0010
+ BNE.S LAB_1D348 ;1d338: 660e
+ MOVE.B (A1),D0 ;1d33a: 1011
+ ANDI.W #$00c0,D0 ;1d33c: 024000c0
+ CMP.W #$0080,D0 ;1d340: b07c0080
+ BEQ.W LAB_1D3C0 ;1d344: 6700007a
+LAB_1D348:
+ RTS ;1d348: 4e75
+LAB_1D34A:
+ MOVEA.L A1,A0 ;1d34a: 2049
+ BSR.S SUB_1D30A ;1d34c: 61bc
+ BMI.S LAB_1D37A ;1d34e: 6b2a
+ MOVE.B (A1),D0 ;1d350: 1011
+ ANDI.W #$00c0,D0 ;1d352: 024000c0
+ CMP.W #$00c0,D0 ;1d356: b07c00c0
+ BEQ.S LAB_1D37C ;1d35a: 6720
+ TST.B $272(A6) ;1d35c: 4a2e0272
+ BPL.S LAB_1D36E ;1d360: 6a0c
+ BSR.W SUB_1D3EE ;1d362: 6100008a
+ BNE.S LAB_1D37A ;1d366: 6612
+ MOVE.B (A1),D0 ;1d368: 1011
+ ANDI.W #$00c0,D0 ;1d36a: 024000c0
+LAB_1D36E:
+ CMP.W #$0080,D0 ;1d36e: b07c0080
+ BNE.S LAB_1D37A ;1d372: 6606
+ TST.B (A0) ;1d374: 4a10
+ BMI.S LAB_1D37A ;1d376: 6b02
+ BRA.S LAB_1D3C0 ;1d378: 6046
+LAB_1D37A:
+ RTS ;1d37a: 4e75
+LAB_1D37C:
+ MOVE.B (A1),D0 ;1d37c: 1011
+ MOVE.W D0,D1 ;1d37e: 3200
+ ANDI.W #$000f,D1 ;1d380: 0241000f
+ MOVE.B 2(A1,D1.W),D0 ;1d384: 10311002
+ CMP.B $80(A6),D0 ;1d388: b02e0080
+ BNE.S LAB_1D37A ;1d38c: 66ec
+ CLR.L $80(A6) ;1d38e: 42ae0080
+ BRA.W LAB_1D3C0 ;1d392: 6000002c
+LAB_1D396:
+ MOVE.W $20(A6),D0 ;1d396: 302e0020
+SUB_1D39A:
+ BSR.W SUB_1D30A ;1d39a: 6100ff6e
+ BMI.S LAB_1D3EA ;1d39e: 6b4a
+ MOVE.B (A1),D0 ;1d3a0: 1011
+ ANDI.W #$00c0,D0 ;1d3a2: 024000c0
+ CMP.W #$00c0,D0 ;1d3a6: b07c00c0
+ BEQ.S LAB_1D3EA ;1d3aa: 673e
+ CMP.W #$0080,D0 ;1d3ac: b07c0080
+ BNE.S LAB_1D3C0 ;1d3b0: 660e
+ BSR.W SUB_1D3EE ;1d3b2: 6100003a
+ BEQ.W LAB_1D3C0 ;1d3b6: 67000008
+ CMPI.B #$37,(A0) ;1d3ba: 0c100037
+ BEQ.S LAB_1D3EA ;1d3be: 672a
+LAB_1D3C0:
+ MOVEQ #0,D0 ;1d3c0: 7000
+ MOVE.B (A1)+,D0 ;1d3c2: 1019
+ MOVE.W D0,D1 ;1d3c4: 3200
+ ANDI.W #$000f,D1 ;1d3c6: 0241000f
+LAB_1D3CA:
+ MOVEA.L $B5E(A6),A0 ;1d3ca: 206e0b5e
+ CLR.W D0 ;1d3ce: 4240
+ MOVE.B (A1)+,D0 ;1d3d0: 1019
+ ASL.W #2,D0 ;1d3d2: e540
+ ADDA.W D0,A0 ;1d3d4: d0c0
+ MOVEM.L D1/A1,-(A7) ;1d3d6: 48e74040
+ BSR.W SUB_1CFB6 ;1d3da: 6100fbda
+ MOVEM.L (A7)+,D1/A1 ;1d3de: 4cdf0202
+ DBF D1,LAB_1D3CA ;1d3e2: 51c9ffe6
+ MOVEQ #-1,D0 ;1d3e6: 70ff
+ RTS ;1d3e8: 4e75
+LAB_1D3EA:
+ MOVEQ #0,D0 ;1d3ea: 7000
+ RTS ;1d3ec: 4e75
+SUB_1D3EE:
+ MOVE.L A0,-(A7) ;1d3ee: 2f08
+ MOVEA.L $B5E(A6),A0 ;1d3f0: 206e0b5e
+ CLR.W D0 ;1d3f4: 4240
+ MOVE.B 1(A1),D0 ;1d3f6: 10290001
+ ASL.W #2,D0 ;1d3fa: e540
+ ADDA.W D0,A0 ;1d3fc: d0c0
+ MOVE.B 2(A0),D0 ;1d3fe: 10280002
+ ANDI.W #$001f,D0 ;1d402: 0240001f
+ CMP.B #$0d,D0 ;1d406: b03c000d
+ MOVEA.L (A7)+,A0 ;1d40a: 205f
+ RTS ;1d40c: 4e75
+SUB_1D40E:
+ MOVE.W $24(A6),D0 ;1d40e: 302e0024
+ BSR.W SUB_1D30A ;1d412: 6100fef6
+ BMI.S LAB_1D3EA ;1d416: 6bd2
+ MOVE.B (A1),D0 ;1d418: 1011
+ ANDI.W #$0030,D0 ;1d41a: 02400030
+ CMP.W #$0010,D0 ;1d41e: b07c0010
+ BNE.S LAB_1D3EA ;1d422: 66c6
+ MOVE.B (A1),D0 ;1d424: 1011
+ ANDI.W #$00c0,D0 ;1d426: 024000c0
+ CMP.W #$00c0,D0 ;1d42a: b07c00c0
+ BEQ.S LAB_1D3EA ;1d42e: 67ba
+ CMP.W #$0080,D0 ;1d430: b07c0080
+ BNE.S LAB_1D3C0 ;1d434: 668a
+ MOVE.B (A0),D1 ;1d436: 1210
+ ANDI.W #$007f,D1 ;1d438: 0241007f
+ CMP.W #$0036,D1 ;1d43c: b27c0036
+ BEQ.W LAB_1D3C0 ;1d440: 6700ff7e
+ RTS ;1d444: 4e75
+SUB_1D446:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1d446: 48e7fffe
+ MOVE.W $44(A6),-(A7) ;1d44a: 3f2e0044
+ MOVE.W $44(A6),D0 ;1d44e: 302e0044
+ BSR.S SUB_1D45E ;1d452: 610a
+ MOVE.W (A7)+,$44(A6) ;1d454: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1d458: 4cdf7fff
+LAB_1D45C:
+ RTS ;1d45c: 4e75
+SUB_1D45E:
+ MOVEA.L A3,A0 ;1d45e: 204b
+ MOVE.L A3,D0 ;1d460: 200b
+ SUB.L $B3A(A6),D0 ;1d462: 90ae0b3a
+ MOVE.W D0,$44(A6) ;1d466: 3d400044
+ BSR.W SUB_1D30A ;1d46a: 6100fe9e
+ BMI.S LAB_1D45C ;1d46e: 6bec
+ MOVE.B (A1),D0 ;1d470: 1011
+ ANDI.W #$00c0,D0 ;1d472: 024000c0
+ CMP.W #$0040,D0 ;1d476: b07c0040
+ BEQ.W LAB_1D3C0 ;1d47a: 6700ff44
+ CMP.W #$0080,D0 ;1d47e: b07c0080
+ BNE.S LAB_1D45C ;1d482: 66d8
+ MOVE.B (A0),D1 ;1d484: 1210
+ ANDI.W #$007f,D1 ;1d486: 0241007f
+ CMP.W #$0036,D1 ;1d48a: b27c0036
+ BEQ.W LAB_1D3C0 ;1d48e: 6700ff30
+ RTS ;1d492: 4e75
+SUB_1D494:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1d494: 48e7fffe
+ MOVE.W $44(A6),-(A7) ;1d498: 3f2e0044
+ MOVE.W $44(A6),D0 ;1d49c: 302e0044
+ BSR.S SUB_1D4C4 ;1d4a0: 6122
+ MOVE.W (A7)+,$44(A6) ;1d4a2: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1d4a6: 4cdf7fff
+ RTS ;1d4aa: 4e75
+SUB_1D4AC:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1d4ac: 48e7fffe
+ MOVE.W $44(A6),-(A7) ;1d4b0: 3f2e0044
+ MOVE.W $44(A6),D0 ;1d4b4: 302e0044
+ BSR.S SUB_1D4D0 ;1d4b8: 6116
+ MOVE.W (A7)+,$44(A6) ;1d4ba: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1d4be: 4cdf7fff
+ RTS ;1d4c2: 4e75
+SUB_1D4C4:
+ MOVEA.L A1,A0 ;1d4c4: 2049
+ MOVE.L A1,D0 ;1d4c6: 2009
+ SUB.L $B3A(A6),D0 ;1d4c8: 90ae0b3a
+ MOVE.W D0,$44(A6) ;1d4cc: 3d400044
+SUB_1D4D0:
+ BSR.W SUB_1D30A ;1d4d0: 6100fe38
+ BMI.S LAB_1D504 ;1d4d4: 6b2e
+ MOVE.B (A1),D0 ;1d4d6: 1011
+ ANDI.W #$0030,D0 ;1d4d8: 02400030
+ CMP.W #$0010,D0 ;1d4dc: b07c0010
+ BNE.S LAB_1D504 ;1d4e0: 6622
+ MOVE.B (A1),D0 ;1d4e2: 1011
+ ANDI.W #$00c0,D0 ;1d4e4: 024000c0
+ CMP.W #$0040,D0 ;1d4e8: b07c0040
+ BEQ.W LAB_1D3C0 ;1d4ec: 6700fed2
+ CMP.W #$0080,D0 ;1d4f0: b07c0080
+ BNE.S LAB_1D504 ;1d4f4: 660e
+ MOVE.B (A0),D1 ;1d4f6: 1210
+ ANDI.W #$007f,D1 ;1d4f8: 0241007f
+ CMP.W #$0036,D1 ;1d4fc: b27c0036
+ BEQ.W LAB_1D3C0 ;1d500: 6700febe
+LAB_1D504:
+ RTS ;1d504: 4e75
+SUB_1D506:
+ MOVE.B (A1),D0 ;1d506: 1011
+ ANDI.W #$007f,D0 ;1d508: 0240007f
+ CMP.W #$0030,D0 ;1d50c: b07c0030
+ BEQ.S LAB_1D528 ;1d510: 6716
+ CMP.W #$0031,D0 ;1d512: b07c0031
+ BEQ.S LAB_1D528 ;1d516: 6710
+ CMP.W #$0032,D0 ;1d518: b07c0032
+ BEQ.S LAB_1D528 ;1d51c: 670a
+ JSR SUB_1A4F2 ;1d51e: 4eb90001a4f2
+ BRA.W LAB_1D576 ;1d524: 60000050
+LAB_1D528:
+ MOVE.L A1,$B80(A6) ;1d528: 2d490b80
+ MOVE.W $44(A6),$B84(A6) ;1d52c: 3d6e00440b84
+ MOVE.L $80(A6),$B86(A6) ;1d532: 2d6e00800b86
+ BSR.S LAB_1D588 ;1d538: 614e
+ TST.B (A1) ;1d53a: 4a11
+ BPL.S LAB_1D574 ;1d53c: 6a36
+ BSR.W SUB_1B2D6 ;1d53e: 6100dd96
+ BEQ.S LAB_1D574 ;1d542: 6730
+ MOVEA.L 2(A2),A3 ;1d544: 266a0002
+ MOVE.W $44(A6),D1 ;1d548: 322e0044
+ MOVEA.L $B56(A6),A1 ;1d54c: 226e0b56
+LAB_1D550:
+ TST.L (A1) ;1d550: 4a91
+ BEQ.S LAB_1D574 ;1d552: 6720
+ CMP.W (A1)+,D1 ;1d554: b259
+ BEQ.S LAB_1D55C ;1d556: 6704
+ ADDQ.W #4,A1 ;1d558: 5849
+ BRA.S LAB_1D550 ;1d55a: 60f4
+LAB_1D55C:
+ MOVE.W (A1)+,-12(A3) ;1d55c: 3759fff4
+ MOVEA.L $B3A(A6),A1 ;1d560: 226e0b3a
+ ADDA.W -12(A3),A1 ;1d564: d2ebfff4
+ BSET #7,(A1) ;1d568: 08d10007
+ MOVEA.L $B80(A6),A1 ;1d56c: 226e0b80
+ BCLR #7,(A1) ;1d570: 08910007
+LAB_1D574:
+ RTS ;1d574: 4e75
+LAB_1D576:
+ MOVEA.L $B62(A6),A3 ;1d576: 266e0b62
+ BSR.W SUB_1A25C ;1d57a: 6100cce0
+ BNE.S LAB_1D586 ;1d57e: 6606
+ JMP LAB_1A2F0 ;1d580: 4ef90001a2f0
+LAB_1D586:
+ RTS ;1d586: 4e75
+LAB_1D588:
+ MOVE.W $B84(A6),$44(A6) ;1d588: 3d6e0b840044
+LAB_1D58E:
+ MOVEA.L $B62(A6),A3 ;1d58e: 266e0b62
+ JSR SUB_1A25C ;1d592: 4eb90001a25c
+ BNE.S LAB_1D5E6 ;1d598: 664c
+ MOVEA.L $B80(A6),A1 ;1d59a: 226e0b80
+ MOVE.B 7(A2),D0 ;1d59e: 102a0007
+ ANDI.W #$000f,D0 ;1d5a2: 0240000f
+ MOVE.B D0,$83(A6) ;1d5a6: 1d400083
+ JSR SUB_1A42A ;1d5aa: 4eb90001a42a
+ BNE.S LAB_1D5DA ;1d5b0: 6628
+ MOVE.W $B84(A6),$44(A6) ;1d5b2: 3d6e0b840044
+ ANDI.B #$0f,$83(A6) ;1d5b8: 022e000f0083
+ MOVEA.L $B80(A6),A1 ;1d5be: 226e0b80
+ JSR LAB_1A1E2 ;1d5c2: 4eb90001a1e2
+ MOVEA.L $B80(A6),A1 ;1d5c8: 226e0b80
+ MOVE.W $B84(A6),$44(A6) ;1d5cc: 3d6e0b840044
+ MOVE.L $B86(A6),$80(A6) ;1d5d2: 2d6e0b860080
+ BRA.S LAB_1D58E ;1d5d8: 60b4
+LAB_1D5DA:
+ MOVE.W $B84(A6),$44(A6) ;1d5da: 3d6e0b840044
+ MOVE.L $B86(A6),$80(A6) ;1d5e0: 2d6e0b860080
+LAB_1D5E6:
+ RTS ;1d5e6: 4e75
+SUB_1D5E8:
+ MOVEA.L $B3A(A6),A1 ;1d5e8: 226e0b3a
+ ADDA.W $44(A6),A1 ;1d5ec: d2ee0044
+ MOVE.L A1,$B80(A6) ;1d5f0: 2d490b80
+ MOVE.W $44(A6),$B84(A6) ;1d5f4: 3d6e00440b84
+ MOVE.W $270(A6),$44(A6) ;1d5fa: 3d6e02700044
+ MOVEA.L $B62(A6),A3 ;1d600: 266e0b62
+ JSR SUB_1A25C ;1d604: 4eb90001a25c
+ BEQ.S LAB_1D63E ;1d60a: 6732
+ MOVE.W $20(A6),$44(A6) ;1d60c: 3d6e00200044
+ MOVEA.L $B62(A6),A3 ;1d612: 266e0b62
+ JSR SUB_1A25C ;1d616: 4eb90001a25c
+ BNE.S LAB_1D642 ;1d61c: 6624
+ MOVE.W $270(A6),(A2) ;1d61e: 34ae0270
+ MOVEA.L $B3A(A6),A1 ;1d622: 226e0b3a
+ ADDA.W $20(A6),A1 ;1d626: d2ee0020
+ JSR SUB_1A4F2 ;1d62a: 4eb90001a4f2
+ MOVEA.L $B3A(A6),A1 ;1d630: 226e0b3a
+ ADDA.W $270(A6),A1 ;1d634: d2ee0270
+ JMP LAB_1A2F0 ;1d638: 4ef90001a2f0
+LAB_1D63E:
+ BRA.W LAB_1D588 ;1d63e: 6000ff48
+LAB_1D642:
+ RTS ;1d642: 4e75
+LAB_1D644:
+ MOVEA.L $C38(A6),A2 ;1d644: 246e0c38
+ LEA $126(A6),A0 ;1d648: 41ee0126
+ MOVEQ #$1F,D1 ;1d64c: 721f
+ MOVE.W $44(A6),D2 ;1d64e: 342e0044
+LAB_1D652:
+ CMP.W (A0),D2 ;1d652: b450
+ BNE.W LAB_1D6A4 ;1d654: 6600004e
+ MOVEM.L D0-D2/D4/A0/A2,-(A7) ;1d658: 48e7e8a0
+ LEA 2(A0),A3 ;1d65c: 47e80002
+ CMP.W $20(A6),D2 ;1d660: b46e0020
+ BNE.S LAB_1D682 ;1d664: 661c
+ CMPI.B #$78,(A3) ;1d666: 0c130078
+ BLS.S LAB_1D682 ;1d66a: 6316
+ CMPI.B #$7b,(A3) ;1d66c: 0c13007b
+ BHI.S LAB_1D682 ;1d670: 6210
+ MOVEM.L A0/A2-A3,-(A7) ;1d672: 48e700b0
+ JSR LAB_21278 ;1d676: 4eb900021278
+ MOVEM.L (A7)+,A0/A2-A3 ;1d67c: 4cdf0d00
+ BRA.S LAB_1D6A0 ;1d680: 601e
+LAB_1D682:
+ CMPI.B #$6a,(A3) ;1d682: 0c13006a
+ BNE.S LAB_1D68E ;1d686: 6606
+ TST.B 2(A3) ;1d688: 4a2b0002
+ BNE.S LAB_1D6A0 ;1d68c: 6612
+LAB_1D68E:
+ MOVE.B 3(A3),D1 ;1d68e: 122b0003
+ MOVE.W D1,D3 ;1d692: 3601
+ ANDI.W #$000f,D1 ;1d694: 0241000f
+ MOVE.B 0(A2,D1.W),D1 ;1d698: 12321000
+ BSR.W LAB_1D6AE ;1d69c: 61000010
+LAB_1D6A0:
+ MOVEM.L (A7)+,D0-D2/D4/A0/A2 ;1d6a0: 4cdf0517
+LAB_1D6A4:
+ LEA 8(A0),A0 ;1d6a4: 41e80008
+ DBF D1,LAB_1D652 ;1d6a8: 51c9ffa8
+ RTS ;1d6ac: 4e75
+LAB_1D6AE:
+ CLR.W $E54(A6) ;1d6ae: 426e0e54
+ MOVEQ #0,D4 ;1d6b2: 7800
+ MOVE.W D4,D2 ;1d6b4: 3404
+ MOVE.B $BB1(A6),D4 ;1d6b6: 182e0bb1
+ MOVE.W D4,D5 ;1d6ba: 3a04
+ ASL.W #3,D5 ;1d6bc: e745
+ ADD.W D4,D5 ;1d6be: da44
+ ADD.W D1,D5 ;1d6c0: da41
+ ADD.W D5,D5 ;1d6c2: da45
+ ADD.W D5,D5 ;1d6c4: da45
+ LEA LAB_1A9DC(PC),A2 ;1d6c6: 45fad314
+ ADDA.W D5,A2 ;1d6ca: d4c5
+ CMPI.W #$ffff,(A2) ;1d6cc: 0c52ffff
+ BEQ.S LAB_1D718 ;1d6d0: 6746
+ MOVE.B (A3),D5 ;1d6d2: 1a13
+ ANDI.W #$007f,D5 ;1d6d4: 0245007f
+ CMP.B #$3c,D5 ;1d6d8: ba3c003c
+ BLS.S LAB_1D702 ;1d6dc: 6324
+ CMP.B #$3f,D5 ;1d6de: ba3c003f
+ BHI.S LAB_1D6E8 ;1d6e2: 6204
+ MOVEQ #$7D,D5 ;1d6e4: 7a7d
+ BRA.S LAB_1D702 ;1d6e6: 601a
+LAB_1D6E8:
+ CMP.B #$7b,D5 ;1d6e8: ba3c007b
+ BHI.S LAB_1D702 ;1d6ec: 6214
+ CMP.B #$6a,D5 ;1d6ee: ba3c006a
+ BLS.S LAB_1D702 ;1d6f2: 630e
+ SUBI.W #$006b,D5 ;1d6f4: 0445006b
+ ADD.W D5,D5 ;1d6f8: da45
+ LEA LAB_1D72C(PC,D5.W),A1 ;1d6fa: 43fb5030
+ ADDA.W (A1),A1 ;1d6fe: d2d1
+ JMP (A1) ;1d700: 4ed1
+LAB_1D702:
+ MOVE.B LAB_1D71A(PC,D4.W),D2 ;1d702: 143b4016
+ CMP.W #$0002,D1 ;1d706: b27c0002
+ BGT.S LAB_1D712 ;1d70a: 6e06
+ SUBQ.W #1,D2 ;1d70c: 5342
+ BPL.S LAB_1D712 ;1d70e: 6a02
+ CLR.W D2 ;1d710: 4242
+LAB_1D712:
+ CLR.W D6 ;1d712: 4246
+ BRA.W LAB_1B156 ;1d714: 6000da40
+LAB_1D718:
+ RTS ;1d718: 4e75
+LAB_1D71A:
+ DS.L 1 ;1d71a
+ DC.L $00020202,$04040406,$06060606 ;1d71e
+ DC.W $0606 ;1d72a
+LAB_1D72C:
+ MOVE.W (A4),(A4) ;1d72c: 3894
+ MOVE.W A2,(A4) ;1d72e: 388a
+ MOVE.W D0,(A4) ;1d730: 3880
+ MOVEA.W $4C(A6,D3.L),A4 ;1d732: 3876384c
+ MOVEA.W A2,A4 ;1d736: 384a
+ MOVE.W -(A0),D4 ;1d738: 3820
+ MOVE.W (A6)+,D4 ;1d73a: 381e
+ MOVE.W (A4)+,D4 ;1d73c: 381c
+ MOVE.W (A2)+,D4 ;1d73e: 381a
+ MOVE.W (A0)+,D4 ;1d740: 3818
+ MOVE.W (A6),D4 ;1d742: 3816
+ MOVEA.W (A6),A4 ;1d744: 3856
+ MOVEA.W D6,A4 ;1d746: 3846
+ MOVE.W (A6)+,(A4)+ ;1d748: 38de
+ MOVE.W (A4),(A4)+ ;1d74a: 38d4
+ MOVE.W D6,(A4)+ ;1d74c: 38c6
+ CLR.W $C22(A6) ;1d74e: 426e0c22
+ BSR.W SUB_1984E ;1d752: 6100c0fa
+ MOVE.W $C22(A6),D0 ;1d756: 302e0c22
+ RTS ;1d75a: 4e75
+LAB_1D75C:
+ DC.L $00010200,$06030000,$08070600,$02050800 ;1d75c
+LAB_1D76C:
+ MOVE.L A0,-(A7) ;1d76c: 2f08
+ BSR.W LAB_19836 ;1d76e: 6100c0c6
+ MOVEA.L A0,A2 ;1d772: 2448
+ MOVEA.L (A7)+,A0 ;1d774: 205f
+ MOVEM.L D7/A0,-(A7) ;1d776: 48e70180
+ LEA $112(A6),A0 ;1d77a: 41ee0112
+ MOVE.W #$0000,D7 ;1d77e: 3e3c0000
+LAB_1D782:
+ CMP.B (A0)+,D0 ;1d782: b018
+ BEQ.S LAB_1D790 ;1d784: 670a
+ ADDQ.W #1,D7 ;1d786: 5247
+ CMP.W #$0003,D7 ;1d788: be7c0003
+ BLS.S LAB_1D782 ;1d78c: 63f4
+ MOVEQ #0,D7 ;1d78e: 7e00
+LAB_1D790:
+ ADD.W D7,D7 ;1d790: de47
+ ADD.W D0,D0 ;1d792: d040
+ BTST #0,$39(A2) ;1d794: 082a00000039
+ BNE.S LAB_1D7A0 ;1d79a: 6604
+ ADDQ.W #1,D0 ;1d79c: 5240
+ ADDQ.W #1,D7 ;1d79e: 5247
+LAB_1D7A0:
+ MOVE.W D0,$E6(A6) ;1d7a0: 3d4000e6
+ MOVE.W D7,$E4(A6) ;1d7a4: 3d4700e4
+ MOVEM.L (A7)+,D7/A0 ;1d7a8: 4cdf0180
+ CLR.W $F5E(A6) ;1d7ac: 426e0f5e
+SUB_1D7B0:
+ CLR.W $E38(A6) ;1d7b0: 426e0e38
+ MOVE.W $20(A6),D0 ;1d7b4: 302e0020
+ MOVE.W $22(A6),D3 ;1d7b8: 362e0022
+ MOVE.W D2,D5 ;1d7bc: 3a02
+ ANDI.W #$0003,D2 ;1d7be: 02420003
+ ANDI.W #$0020,D5 ;1d7c2: 02450020
+ ANDI.W #$0003,D3 ;1d7c6: 02430003
+ MOVE.W D3,D4 ;1d7ca: 3803
+ ASL.W #2,D4 ;1d7cc: e544
+ ADD.W D2,D4 ;1d7ce: d842
+ ANDI.W #$001f,D4 ;1d7d0: 0244001f
+ LEA LAB_1D75C(PC),A1 ;1d7d4: 43faff86
+ MOVE.B 0(A1,D4.W),D2 ;1d7d8: 14314000
+ OR.B D5,D2 ;1d7dc: 8405
+ MOVEM.L D0-D4,-(A7) ;1d7de: 48e7f800
+ MOVE.L A0,-(A7) ;1d7e2: 2f08
+ MOVE.L A1,-(A7) ;1d7e4: 2f09
+ MOVE.B 1(A0),D0 ;1d7e6: 10280001
+ ANDI.W #$007f,D0 ;1d7ea: 0240007f
+ CLR.W $C22(A6) ;1d7ee: 426e0c22
+ JSR SUB_154DC ;1d7f2: 4eb9000154dc
+ MOVE.W $C22(A6),D1 ;1d7f8: 322e0c22
+ MOVEA.L $101C(A6),A0 ;1d7fc: 206e101c
+ MOVE.W 6(A0),D0 ;1d800: 30280006
+ MOVEA.L (A7)+,A1 ;1d804: 225f
+ MOVE.W $28(A2),D5 ;1d806: 3a2a0028
+ ADD.W $24(A2),D5 ;1d80a: da6a0024
+ SUBI.W #$0780,D5 ;1d80e: 04450780
+ CMP.W #$03c0,D5 ;1d812: ba7c03c0
+ BHI.S LAB_1D81C ;1d816: 6204
+ MOVE.W #$03c0,D5 ;1d818: 3a3c03c0
+LAB_1D81C:
+ MOVE.W D5,$23A(A6) ;1d81c: 3d45023a
+ MOVE.W D1,D3 ;1d820: 3601
+ MOVE.W $28(A2),D2 ;1d822: 342a0028
+ MOVE.W D2,D4 ;1d826: 3802
+ LSR.W #7,D2 ;1d828: ee4a
+ MULU #$0003,D4 ;1d82a: c8fc0003
+ LSR.W #8,D4 ;1d82e: e04c
+ LSR.W #1,D4 ;1d830: e24c
+ CMP.W D2,D3 ;1d832: b642
+ BHI.S LAB_1D852 ;1d834: 621c
+ CMP.W D4,D3 ;1d836: b644
+ BHI.S LAB_1D84A ;1d838: 6210
+ MOVE.W D5,D2 ;1d83a: 3405
+ LSR.W #1,D2 ;1d83c: e24a
+ ADDQ.W #1,D4 ;1d83e: 5244
+ MULU D2,D3 ;1d840: c6c2
+ DIVU D4,D3 ;1d842: 86c4
+ ADD.W D5,D3 ;1d844: d645
+ LSR.W #2,D3 ;1d846: e44b
+ BRA.S LAB_1D86A ;1d848: 6020
+LAB_1D84A:
+ MULU D5,D3 ;1d84a: c6c5
+ DIVU D2,D3 ;1d84c: 86c2
+ LSR.W #1,D3 ;1d84e: e24b
+ BRA.S LAB_1D86A ;1d850: 6018
+LAB_1D852:
+ MOVE.W $28(A2),D4 ;1d852: 382a0028
+ LSR.W #5,D4 ;1d856: ea4c
+ MOVE.W D4,D2 ;1d858: 3404
+ SUB.W D3,D2 ;1d85a: 9443
+ BPL.S LAB_1D862 ;1d85c: 6a04
+ MOVEQ #1,D3 ;1d85e: 7601
+ BRA.S LAB_1D88C ;1d860: 602a
+LAB_1D862:
+ MULU D5,D2 ;1d862: c4c5
+ DIVU D4,D2 ;1d864: 84c4
+ MOVE.W D2,D3 ;1d866: 3602
+ LSR.W #1,D3 ;1d868: e24b
+LAB_1D86A:
+ LSR.W #7,D3 ;1d86a: ee4b
+ MOVE.W $C16(A6),D2 ;1d86c: 342e0c16
+ MULU #$05e5,D2 ;1d870: c4fc05e5
+ ADDI.W #$0029,D2 ;1d874: 06420029
+ MOVE.W D2,$C16(A6) ;1d878: 3d420c16
+ ROR.W #2,D2 ;1d87c: e45a
+ MULU #$0003,D2 ;1d87e: c4fc0003
+ SWAP D2 ;1d882: 4842
+ ADD.W D2,D3 ;1d884: d642
+ SUBQ.W #2,D3 ;1d886: 5543
+ BPL.S LAB_1D88C ;1d888: 6a02
+ MOVEQ #0,D3 ;1d88a: 7600
+LAB_1D88C:
+ TST.B $6A(A6) ;1d88c: 4a2e006a
+ BEQ.S LAB_1D89E ;1d890: 670c
+ MOVEQ #0,D1 ;1d892: 7200
+ MOVE.B $6B(A6),D1 ;1d894: 122e006b
+ MULU D1,D3 ;1d898: c6c1
+ LSR.W #2,D3 ;1d89a: e44b
+ ADDQ.W #5,D3 ;1d89c: 5a43
+LAB_1D89E:
+ MOVEA.L A2,A0 ;1d89e: 204a
+ MOVEM.L D0-D5/D7/A0-A5,-(A7) ;1d8a0: 48e7fdfc
+ ANDI.W #$0007,D0 ;1d8a4: 02400007
+ CMP.W #$0002,D0 ;1d8a8: b07c0002
+ BLS.S LAB_1D8B0 ;1d8ac: 6302
+ MOVEQ #0,D0 ;1d8ae: 7000
+LAB_1D8B0:
+ MOVEQ #0,D1 ;1d8b0: 7200
+ MOVE.W D3,D1 ;1d8b2: 3203
+ TST.B $6A(A6) ;1d8b4: 4a2e006a
+ BEQ.S LAB_1D8BC ;1d8b8: 6702
+ ADD.W D1,D1 ;1d8ba: d241
+LAB_1D8BC:
+ ADDQ.W #1,D1 ;1d8bc: 5241
+ BSR.W SUB_1F71A ;1d8be: 61001e5a
+ MOVEM.L (A7),D0-D5/D7/A0-A5 ;1d8c2: 4cd73fbf
+ ANDI.L #$0000ffff,D1 ;1d8c6: 02810000ffff
+ ASL.W #2,D1 ;1d8cc: e541
+ MOVE.W D1,-(A7) ;1d8ce: 3f01
+ MOVE.L A2,D0 ;1d8d0: 200a
+ PEA $298(A6) ;1d8d2: 486e0298
+ SUB.L (A7)+,D0 ;1d8d6: 909f
+ DIVU #$01d2,D0 ;1d8d8: 80fc01d2
+ MOVEA.L A2,A0 ;1d8dc: 204a
+ JSR LAB_17D40 ;1d8de: 4eb900017d40
+ MOVE.W (A7)+,D1 ;1d8e4: 321f
+ LSR.W #4,D1 ;1d8e6: e849
+ ADDQ.W #3,D1 ;1d8e8: 5641
+ ST $98(A6) ;1d8ea: 50ee0098
+ MOVE.W $E6(A6),D0 ;1d8ee: 302e00e6
+ LEA $BC(A6),A0 ;1d8f2: 41ee00bc
+ MOVE.B D1,0(A0,D0.W) ;1d8f6: 11810000
+ MOVE.W $E4(A6),D0 ;1d8fa: 302e00e4
+ BSET #0,-8(A0,D0.W) ;1d8fe: 08f0000000f8
+ MOVEQ #$16,D0 ;1d904: 7016
+ MOVEQ #0,D1 ;1d906: 7200
+ MOVE.W $20(A6),D2 ;1d908: 342e0020
+ BSR.W SUB_207AA ;1d90c: 61002e9c
+ MOVEM.L (A7)+,D0-D5/D7/A0-A5 ;1d910: 4cdf3fbf
+ LSR.W #3,D0 ;1d914: e648
+ ANDI.W #$0003,D0 ;1d916: 02400003
+ BEQ.S LAB_1D93A ;1d91a: 671e
+ CMP.B #$02,D0 ;1d91c: b03c0002
+ BEQ.S LAB_1D938 ;1d920: 6716
+ CMP.B #$03,D0 ;1d922: b03c0003
+ BEQ.S LAB_1D930 ;1d926: 6708
+ MOVE.W D3,D0 ;1d928: 3003
+ LSR.W #1,D0 ;1d92a: e248
+ ADD.W D0,D3 ;1d92c: d640
+ BRA.S LAB_1D93A ;1d92e: 600a
+LAB_1D930:
+ MOVE.W D3,D0 ;1d930: 3003
+ LSR.W #1,D0 ;1d932: e248
+ SUB.W D0,D3 ;1d934: 9640
+ BRA.S LAB_1D93A ;1d936: 6002
+LAB_1D938:
+ ADD.W D3,D3 ;1d938: d643
+LAB_1D93A:
+ TST.W $282(A6) ;1d93a: 4a6e0282
+ BEQ.S LAB_1D946 ;1d93e: 6706
+ MOVE.W D3,-(A7) ;1d940: 3f03
+ LSR.W #2,D3 ;1d942: e44b
+ ADD.W (A7)+,D3 ;1d944: d65f
+LAB_1D946:
+ TST.B $BA(A2) ;1d946: 4a2a00ba
+ BPL.S LAB_1D94E ;1d94a: 6a02
+ LSR.W #1,D3 ;1d94c: e24b
+LAB_1D94E:
+ TST.W $F5E(A6) ;1d94e: 4a6e0f5e
+ BEQ.S LAB_1D95C ;1d952: 6708
+ LSR.W #1,D3 ;1d954: e24b
+ MOVE.W D3,-(A7) ;1d956: 3f03
+ LSR.W #1,D3 ;1d958: e24b
+ ADD.W (A7)+,D3 ;1d95a: d65f
+LAB_1D95C:
+ CLR.W $F5E(A6) ;1d95c: 426e0f5e
+ TST.W D3 ;1d960: 4a43
+ BNE.S LAB_1D966 ;1d962: 6602
+ MOVEQ #1,D3 ;1d964: 7601
+LAB_1D966:
+ CMP.W #$00ff,D3 ;1d966: b67c00ff
+ BLS.S LAB_1D970 ;1d96a: 6304
+ MOVE.W #$00ff,D3 ;1d96c: 363c00ff
+LAB_1D970:
+ LSR.W #3,D1 ;1d970: e649
+ ADDQ.W #4,D1 ;1d972: 5841
+ TST.W D1 ;1d974: 4a41
+ BNE.S LAB_1D97A ;1d976: 6602
+ ADDQ.W #1,D1 ;1d978: 5241
+LAB_1D97A:
+ CMP.W #$00ff,D1 ;1d97a: b27c00ff
+ BLS.S LAB_1D984 ;1d97e: 6304
+ MOVE.W #$00ff,D1 ;1d980: 323c00ff
+LAB_1D984:
+ MOVE.W D3,D5 ;1d984: 3a03
+ ASL.W #8,D5 ;1d986: e145
+ MOVE.B D1,D5 ;1d988: 1a01
+ MOVEA.L (A7)+,A0 ;1d98a: 205f
+ CMPI.B #$6b,1(A0) ;1d98c: 0c28006b0001
+ BNE.S LAB_1D998 ;1d992: 6604
+ MOVE.W #$7ffe,D5 ;1d994: 3a3c7ffe
+LAB_1D998:
+ MOVEM.L (A7)+,D0-D4 ;1d998: 4cdf001f
+SUB_1D99C:
+ ANDI.W #$0003,D3 ;1d99c: 02430003
+ ROR.B #2,D3 ;1d9a0: e41b
+ OR.W D2,D3 ;1d9a2: 8642
+SUB_1D9A4:
+ MOVEQ #$1F,D6 ;1d9a4: 7c1f
+LAB_1D9A6:
+ MOVE.W $226(A6),D7 ;1d9a6: 3e2e0226
+ ADDQ.W #8,D7 ;1d9aa: 5047
+ ANDI.W #$00f8,D7 ;1d9ac: 024700f8
+ MOVE.W D7,$226(A6) ;1d9b0: 3d470226
+ LEA $126(A6),A1 ;1d9b4: 43ee0126
+ ADDA.W D7,A1 ;1d9b8: d2c7
+ TST.W (A1) ;1d9ba: 4a51
+ BPL.S LAB_1D9D4 ;1d9bc: 6a16
+ MOVE.W D0,(A1)+ ;1d9be: 32c0
+ MOVE.B 1(A0),(A1)+ ;1d9c0: 12e80001
+ MOVE.B 2(A0),(A1)+ ;1d9c4: 12e80002
+ MOVE.B 3(A0),(A1)+ ;1d9c8: 12e80003
+ MOVE.B D3,(A1)+ ;1d9cc: 12c3
+ MOVE.W D5,(A1)+ ;1d9ce: 32c5
+ CMP.W D5,D5 ;1d9d0: ba45
+ RTS ;1d9d2: 4e75
+LAB_1D9D4:
+ DBF D6,LAB_1D9A6 ;1d9d4: 51ceffd0
+ MOVEQ #-1,D0 ;1d9d8: 70ff
+ RTS ;1d9da: 4e75
+LAB_1D9DC:
+ MOVEM.L D0-D3/D5-D7/A0-A1/A3,-(A7) ;1d9dc: 48e7f7d0
+ MOVEA.L A0,A3 ;1d9e0: 2648
+ MOVE.W (A3)+,D0 ;1d9e2: 301b
+ MOVE.B 3(A3),D3 ;1d9e4: 162b0003
+ MOVE.W #$0200,D5 ;1d9e8: 3a3c0200
+ LEA $F58(A6),A0 ;1d9ec: 41ee0f58
+ MOVE.L #$007700ff,(A0) ;1d9f0: 20bc007700ff
+ BSR.S SUB_1D9A4 ;1d9f6: 61ac
+ MOVEM.L (A7)+,D0-D3/D5-D7/A0-A1/A3 ;1d9f8: 4cdf0bef
+ RTS ;1d9fc: 4e75
+LAB_1D9FE:
+ DC.L $86878883,$84850001,$02828100,$85840388 ;1d9fe
+ DC.L $87060607,$08838485,$80818202,$81800584 ;1da0e
+ DC.L $83088786 ;1da1e
+LAB_1DA22:
+ ST $EE6(A6) ;1da22: 50ee0ee6
+ LEA $126(A6),A0 ;1da26: 41ee0126
+ MOVEQ #$1F,D1 ;1da2a: 721f
+LAB_1DA2C:
+ TST.W (A0) ;1da2c: 4a50
+ BMI.S LAB_1DA3C ;1da2e: 6b0c
+ MOVEM.L D0-D2/D4/A0/A2,-(A7) ;1da30: 48e7e8a0
+ BSR.W SUB_1DAA0 ;1da34: 6100006a
+ MOVEM.L (A7)+,D0-D2/D4/A0/A2 ;1da38: 4cdf0517
+LAB_1DA3C:
+ ADDQ.W #8,A0 ;1da3c: 5048
+ DBF D1,LAB_1DA2C ;1da3e: 51c9ffec
+ BSR.W SUB_1F834 ;1da42: 61001df0
+ ST $F9E(A6) ;1da46: 50ee0f9e
+ LEA $126(A6),A0 ;1da4a: 41ee0126
+ MOVEQ #$1F,D1 ;1da4e: 721f
+LAB_1DA50:
+ TST.W (A0) ;1da50: 4a50
+ BMI.S LAB_1DA6C ;1da52: 6b18
+ TST.B 2(A0) ;1da54: 4a280002
+ BMI.S LAB_1DA66 ;1da58: 6b0c
+ MOVEM.L D0-D2/D4/A0/A2,-(A7) ;1da5a: 48e7e8a0
+ BSR.W SUB_1DA7E ;1da5e: 6100001e
+ MOVEM.L (A7)+,D0-D2/D4/A0/A2 ;1da62: 4cdf0517
+LAB_1DA66:
+ BCLR #7,2(A0) ;1da66: 08a800070002
+LAB_1DA6C:
+ ADDQ.W #8,A0 ;1da6c: 5048
+ DBF D1,LAB_1DA50 ;1da6e: 51c9ffe0
+ CLR.W $F9E(A6) ;1da72: 426e0f9e
+ CLR.W $EE6(A6) ;1da76: 426e0ee6
+ BRA.W LAB_1A5E8 ;1da7a: 6000cb6c
+SUB_1DA7E:
+ MOVE.B 2(A0),D1 ;1da7e: 12280002
+ ANDI.W #$007f,D1 ;1da82: 0241007f
+ CMP.B #$76,D1 ;1da86: b23c0076
+ BHI.S LAB_1DA9E ;1da8a: 6212
+ CMPI.B #$01,6(A0) ;1da8c: 0c2800010006
+ BLS.W LAB_1DA9E ;1da92: 6300000a
+ BSR.W SUB_1DEDA ;1da96: 61000442
+ BMI.W LAB_1DDF4 ;1da9a: 6b000358
+LAB_1DA9E:
+ RTS ;1da9e: 4e75
+SUB_1DAA0:
+ SUBQ.B #1,6(A0) ;1daa0: 53280006
+ BEQ.W LAB_1DD46 ;1daa4: 670002a0
+ BTST #4,5(A0) ;1daa8: 082800040005
+ BNE.W LAB_1DC78 ;1daae: 660001c8
+ MOVE.B 2(A0),D1 ;1dab2: 12280002
+ ANDI.W #$007f,D1 ;1dab6: 0241007f
+ CMP.B #$76,D1 ;1daba: b23c0076
+ BHI.S LAB_1DA9E ;1dabe: 62de
+ CMPI.B #$67,2(A0) ;1dac0: 0c2800670002
+ BNE.S LAB_1DAE2 ;1dac6: 661a
+ MOVE.W D1,-(A7) ;1dac8: 3f01
+ MOVE.B 3(A0),D1 ;1daca: 12280003
+ ASL.W #8,D1 ;1dace: e141
+ MOVE.B 4(A0),D1 ;1dad0: 12280004
+ LSR.W #1,D1 ;1dad4: e249
+ MOVE.B D1,4(A0) ;1dad6: 11410004
+ LSR.W #8,D1 ;1dada: e049
+ MOVE.B D1,3(A0) ;1dadc: 11410003
+ MOVE.W (A7)+,D1 ;1dae0: 321f
+LAB_1DAE2:
+ MOVE.B 5(A0),D1 ;1dae2: 12280005
+ MOVE.B D1,D0 ;1dae6: 1001
+ MOVE.W D0,D4 ;1dae8: 3800
+ ANDI.W #$00e0,D4 ;1daea: 024400e0
+ ANDI.W #$000f,D1 ;1daee: 0241000f
+ ROL.B #2,D0 ;1daf2: e518
+ ANDI.W #$0003,D0 ;1daf4: 02400003
+ MOVE.W D0,D2 ;1daf8: 3400
+ ADD.W D0,D1 ;1dafa: d240
+ ASL.W #3,D0 ;1dafc: e740
+ ADD.W D1,D0 ;1dafe: d041
+ LEA LAB_1D9FE(PC),A1 ;1db00: 43fafefc
+ MOVE.B 0(A1,D0.W),D1 ;1db04: 12310000
+ BMI.S LAB_1DB14 ;1db08: 6b0a
+ OR.B D1,D4 ;1db0a: 8801
+ MOVE.B D4,5(A0) ;1db0c: 11440005
+ BRA.W LAB_1DDDA ;1db10: 600002c8
+LAB_1DB14:
+ BCLR #7,2(A0) ;1db14: 08a800070002
+ BSR.W SUB_1DEE6 ;1db1a: 610003ca
+ CMP.W #$ffff,D2 ;1db1e: b47cffff
+ BEQ.W LAB_1DBE2 ;1db22: 670000be
+ CMP.W #$fffa,D2 ;1db26: b47cfffa
+ BEQ.S LAB_1DB82 ;1db2a: 6756
+ CMP.W #$fff8,D2 ;1db2c: b47cfff8
+ BEQ.S LAB_1DB9C ;1db30: 676a
+ CMP.W #$fffc,D2 ;1db32: b47cfffc
+ BNE.S LAB_1DB9C ;1db36: 6664
+ MOVE.B (A1),D2 ;1db38: 1411
+ ANDI.W #$0007,D2 ;1db3a: 02420007
+ CMP.W #$0003,D2 ;1db3e: b47c0003
+ BEQ.S LAB_1DB64 ;1db42: 6720
+ CMP.W #$0004,D2 ;1db44: b47c0004
+ BEQ.S LAB_1DBBE ;1db48: 6774
+ CMP.W #$0005,D2 ;1db4a: b47c0005
+ BEQ.S LAB_1DBB4 ;1db4e: 6764
+ CMP.W #$0006,D2 ;1db50: b47c0006
+ BEQ.W LAB_1DBE0 ;1db54: 6700008a
+ CMP.W #$0007,D2 ;1db58: b47c0007
+ BNE.S LAB_1DB88 ;1db5c: 662a
+ BSR.W SUB_1DB68 ;1db5e: 61000008
+ BRA.S LAB_1DB88 ;1db62: 6024
+LAB_1DB64:
+ BSR.S SUB_1DB76 ;1db64: 6110
+ BRA.S LAB_1DB9C ;1db66: 6034
+SUB_1DB68:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;1db68: 48e7fffe
+ BSR.W SUB_1A52E ;1db6c: 6100c9c0
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;1db70: 4cdf7fff
+ RTS ;1db74: 4e75
+SUB_1DB76:
+ MOVEQ #7,D5 ;1db76: 7a07
+ BSR.W SUB_1DDC6 ;1db78: 6100024c
+ EORI.W #$0080,D4 ;1db7c: 0a440080
+ RTS ;1db80: 4e75
+LAB_1DB82:
+ BSR.W SUB_2050C ;1db82: 61002988
+ BRA.S LAB_1DB9C ;1db86: 6014
+LAB_1DB88:
+ CMPI.B #$40,(A1) ;1db88: 0c110040
+ BEQ.S LAB_1DB94 ;1db8c: 6706
+ CMPI.B #$48,(A1) ;1db8e: 0c110048
+ BNE.S LAB_1DB98 ;1db92: 6604
+LAB_1DB94:
+ BSR.W SUB_1DCCE ;1db94: 61000138
+LAB_1DB98:
+ BSET #4,D4 ;1db98: 08c40004
+LAB_1DB9C:
+ CMPI.B #$6f,(A1) ;1db9c: 0c11006f
+ BNE.S LAB_1DBA6 ;1dba0: 6604
+ BSR.W SUB_1DC9C ;1dba2: 610000f8
+LAB_1DBA6:
+ MOVE.W D0,(A0) ;1dba6: 3080
+ MOVE.B D4,5(A0) ;1dba8: 11440005
+ TST.B (A1) ;1dbac: 4a11
+ BMI.W LAB_1DDF4 ;1dbae: 6b000244
+ RTS ;1dbb2: 4e75
+LAB_1DBB4:
+ MOVE.B 5(A0),D2 ;1dbb4: 14280005
+ BRA.S LAB_1DBC8 ;1dbb8: 600e
+LAB_1DBBA:
+ DC.L $01030705 ;1dbba
+LAB_1DBBE:
+ MOVE.B 5(A0),D2 ;1dbbe: 14280005
+ BTST #5,D2 ;1dbc2: 08020005
+ BEQ.S LAB_1DBE0 ;1dbc6: 6718
+LAB_1DBC8:
+ MOVE.W D2,D3 ;1dbc8: 3602
+ ANDI.W #$000f,D3 ;1dbca: 0243000f
+ CMP.W #$0004,D3 ;1dbce: b67c0004
+ BEQ.S LAB_1DC10 ;1dbd2: 673c
+ ROL.B #2,D2 ;1dbd4: e51a
+ ANDI.W #$0003,D2 ;1dbd6: 02420003
+ CMP.B LAB_1DBBA(PC,D2.W),D3 ;1dbda: b63b20de
+ BEQ.S LAB_1DB9C ;1dbde: 67bc
+LAB_1DBE0:
+ BRA.S LAB_1DB88 ;1dbe0: 60a6
+LAB_1DBE2:
+ CMPI.B #$19,(A1) ;1dbe2: 0c110019
+ BEQ.S LAB_1DBEE ;1dbe6: 6706
+ CMPI.B #$1b,(A1) ;1dbe8: 0c11001b
+ BNE.S LAB_1DC30 ;1dbec: 6642
+LAB_1DBEE:
+ MOVE.B 5(A0),D2 ;1dbee: 14280005
+ BTST #5,D2 ;1dbf2: 08020005
+ BEQ.S LAB_1DC30 ;1dbf6: 6738
+ MOVE.W D2,D3 ;1dbf8: 3602
+ ANDI.W #$000f,D3 ;1dbfa: 0243000f
+ CMP.W #$0004,D3 ;1dbfe: b67c0004
+ BEQ.S LAB_1DC10 ;1dc02: 670c
+ ROL.B #2,D2 ;1dc04: e51a
+ ANDI.W #$0003,D2 ;1dc06: 02420003
+ CMP.B LAB_1DBBA(PC,D2.W),D3 ;1dc0a: b63b20ae
+ BNE.S LAB_1DC30 ;1dc0e: 6620
+LAB_1DC10:
+ CMPI.B #$1b,(A1) ;1dc10: 0c11001b
+ BNE.S LAB_1DB9C ;1dc14: 6686
+ MOVEM.L D0-D1/D4/A0-A1,-(A7) ;1dc16: 48e7c8c0
+ BSR.W SUB_1A7D0 ;1dc1a: 6100cbb4
+ BMI.W LAB_1DC2C ;1dc1e: 6b00000c
+ BNE.W LAB_1DC2C ;1dc22: 66000008
+ MOVE.W D2,(A2) ;1dc26: 3482
+ CLR.W 2(A2) ;1dc28: 426a0002
+LAB_1DC2C:
+ MOVEM.L (A7)+,D0-D1/D4/A0-A1 ;1dc2c: 4cdf0313
+LAB_1DC30:
+ MOVEQ #$24,D5 ;1dc30: 7a24
+ MOVEM.L D0-D2/A0-A1,-(A7) ;1dc32: 48e7e0c0
+ MOVE.B 2(A0),D0 ;1dc36: 10280002
+ ANDI.W #$007f,D0 ;1dc3a: 0240007f
+ CMP.B #$65,D0 ;1dc3e: b03c0065
+ BHI.S LAB_1DC6E ;1dc42: 622a
+ ADDQ.W #1,A0 ;1dc44: 5248
+ CLR.W $C22(A6) ;1dc46: 426e0c22
+ JSR SUB_154DC ;1dc4a: 4eb9000154dc
+ MOVE.W $C22(A6),D1 ;1dc50: 322e0c22
+ MOVEA.L $101C(A6),A0 ;1dc54: 206e101c
+ MOVE.B 7(A0),D0 ;1dc58: 10280007
+ LSR.W #5,D0 ;1dc5c: ea48
+ ANDI.W #$0003,D0 ;1dc5e: 02400003
+ MOVE.B LAB_1DC74(PC,D0.W),D5 ;1dc62: 1a3b0010
+ ASL.W #4,D1 ;1dc66: e941
+ NEG.W D1 ;1dc68: 4441
+ MOVE.W D1,$F6E(A6) ;1dc6a: 3d410f6e
+LAB_1DC6E:
+ MOVEM.L (A7)+,D0-D2/A0-A1 ;1dc6e: 4cdf0307
+ BRA.S LAB_1DC7A ;1dc72: 6006
+LAB_1DC74:
+ DC.L $24131911 ;1dc74
+LAB_1DC78:
+ MOVEQ #$26,D5 ;1dc78: 7a26
+LAB_1DC7A:
+ BCLR #4,5(A0) ;1dc7a: 08a800040005
+ MOVE.B 2(A0),D2 ;1dc80: 14280002
+ ANDI.W #$007f,D2 ;1dc84: 0242007f
+ CMP.B #$41,D2 ;1dc88: b43c0041
+ BNE.S LAB_1DCFC ;1dc8c: 666e
+LAB_1DC8E:
+ MOVEQ #7,D5 ;1dc8e: 7a07
+ BSR.W SUB_1DDC6 ;1dc90: 61000134
+ EORI.B #$80,5(A0) ;1dc94: 0a2800800005
+ RTS ;1dc9a: 4e75
+SUB_1DC9C:
+ CMPI.B #$70,2(A0) ;1dc9c: 0c2800700002
+ BNE.S LAB_1DCCC ;1dca2: 6628
+ MOVE.W D0,-(A7) ;1dca4: 3f00
+ MOVE.B 3(A0),D0 ;1dca6: 10280003
+ ANDI.W #$0003,D0 ;1dcaa: 02400003
+ CMP.B #$02,D0 ;1dcae: b03c0002
+ BNE.S LAB_1DCCA ;1dcb2: 6616
+ MOVE.B #$6e,(A1) ;1dcb4: 12bc006e
+ MOVE.B #$7a,2(A0) ;1dcb8: 117c007a0002
+ MOVE.B #$06,6(A0) ;1dcbe: 117c00060006
+ MOVE.B #$ff,5(A0) ;1dcc4: 117c00ff0005
+LAB_1DCCA:
+ MOVE.W (A7)+,D0 ;1dcca: 301f
+LAB_1DCCC:
+ RTS ;1dccc: 4e75
+SUB_1DCCE:
+ CMPI.B #$70,2(A0) ;1dcce: 0c2800700002
+ BNE.S LAB_1DCFA ;1dcd4: 6624
+ MOVE.W D0,-(A7) ;1dcd6: 3f00
+ MOVE.B 3(A0),D0 ;1dcd8: 10280003
+ ANDI.W #$0003,D0 ;1dcdc: 02400003
+ CMP.B #$03,D0 ;1dce0: b03c0003
+ BNE.S LAB_1DCF8 ;1dce4: 6612
+ MOVE.W $44(A6),-(A7) ;1dce6: 3f2e0044
+ MOVE.W 2(A7),$44(A6) ;1dcea: 3d6f00020044
+ BSR.W SUB_1A52E ;1dcf0: 6100c83c
+ MOVE.B (A7)+,$44(A6) ;1dcf4: 1d5f0044
+LAB_1DCF8:
+ MOVE.W (A7)+,D0 ;1dcf8: 301f
+LAB_1DCFA:
+ RTS ;1dcfa: 4e75
+LAB_1DCFC:
+ BCLR #7,2(A0) ;1dcfc: 08a800070002
+ MOVE.B 2(A0),D1 ;1dd02: 12280002
+ CMP.B #$6b,D1 ;1dd06: b23c006b
+ BNE.S LAB_1DD38 ;1dd0a: 662c
+LAB_1DD0C:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1dd0c: 48e7fffc
+ MOVEQ #$3E,D0 ;1dd10: 703e
+ MOVEQ #1,D1 ;1dd12: 7201
+ MOVE.W (A0),D2 ;1dd14: 3410
+ BSR.W SUB_207AA ;1dd16: 61002a92
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1dd1a: 4cdf3fff
+ MOVE.L A3,-(A7) ;1dd1e: 2f0b
+ LEA 2(A0),A3 ;1dd20: 47e80002
+ BSR.W SUB_20F2C ;1dd24: 61003206
+ MOVEA.L (A7)+,A3 ;1dd28: 265f
+ MOVE.B #$7a,2(A0) ;1dd2a: 117c007a0002
+ MOVE.B #$06,6(A0) ;1dd30: 117c00060006
+ RTS ;1dd36: 4e75
+LAB_1DD38:
+ BSR.W SUB_1DDC6 ;1dd38: 6100008c
+ BSR.W LAB_1D9DC ;1dd3c: 6100fc9e
+ ST $EDC(A6) ;1dd40: 50ee0edc
+ BRA.S LAB_1DD4A ;1dd44: 6004
+LAB_1DD46:
+ CLR.W $EDC(A6) ;1dd46: 426e0edc
+LAB_1DD4A:
+ BCLR #7,2(A0) ;1dd4a: 08a800070002
+ CMPI.B #$65,2(A0) ;1dd50: 0c2800650002
+ BHI.S LAB_1DDB6 ;1dd56: 625e
+ BSR.W SUB_1DEDA ;1dd58: 61000180
+ MOVE.W (A0),$44(A6) ;1dd5c: 3d500044
+ TST.W $EDC(A6) ;1dd60: 4a6e0edc
+ BNE.S LAB_1DD7E ;1dd64: 6618
+ ANDI.W #$007e,D2 ;1dd66: 0242007e
+ CMP.B #$1e,D2 ;1dd6a: b43c001e
+ BNE.S LAB_1DD7E ;1dd6e: 660e
+ MOVE.L A0,-(A7) ;1dd70: 2f08
+ MOVEQ #$39,D0 ;1dd72: 7039
+ MOVEQ #1,D1 ;1dd74: 7201
+ MOVE.W (A0),D2 ;1dd76: 3410
+ BSR.W SUB_207AA ;1dd78: 61002a30
+ MOVEA.L (A7)+,A0 ;1dd7c: 205f
+LAB_1DD7E:
+ MOVE.B 2(A0),D2 ;1dd7e: 14280002
+ CMP.B #$65,D2 ;1dd82: b43c0065
+ BEQ.S LAB_1DD94 ;1dd86: 670c
+ CMP.B #$29,D2 ;1dd88: b43c0029
+ BLS.S LAB_1DD9A ;1dd8c: 630c
+ CMP.B #$2f,D2 ;1dd8e: b43c002f
+ BHI.S LAB_1DD9A ;1dd92: 6206
+LAB_1DD94:
+ MOVE.B #$4a,2(A0) ;1dd94: 117c004a0002
+LAB_1DD9A:
+ MOVE.B 5(A0),D2 ;1dd9a: 14280005
+ ANDI.W #$000f,D2 ;1dd9e: 0242000f
+ MOVE.L 2(A0),$80(A6) ;1dda2: 2d6800020080
+ MOVE.B LAB_1DDBC(PC,D2.W),$83(A6) ;1dda8: 1d7b20120083
+ MOVE.L A0,-(A7) ;1ddae: 2f08
+ BSR.W LAB_1A1E2 ;1ddb0: 6100c430
+ MOVEA.L (A7)+,A0 ;1ddb4: 205f
+LAB_1DDB6:
+ MOVE.W #$c0c0,(A0) ;1ddb6: 30bcc0c0
+ RTS ;1ddba: 4e75
+LAB_1DDBC:
+ DC.L $00000102,$00010203 ;1ddbc
+ DC.W $0300 ;1ddc4
+SUB_1DDC6:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1ddc6: 48e7fffc
+ MOVE.W (A0),D2 ;1ddca: 3410
+ MOVE.W D5,D0 ;1ddcc: 3005
+ ST D1 ;1ddce: 50c1
+ BSR.W SUB_207AA ;1ddd0: 610029d8
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1ddd4: 4cdf3fff
+ RTS ;1ddd8: 4e75
+LAB_1DDDA:
+ BSR.W SUB_1DEDA ;1ddda: 610000fe
+ BMI.S LAB_1DDF4 ;1ddde: 6b14
+ CMPI.B #$63,(A1) ;1dde0: 0c110063
+ BNE.S LAB_1DDF2 ;1dde4: 660c
+ CMPI.B #$5e,2(A0) ;1dde6: 0c28005e0002
+ BNE.S LAB_1DDF2 ;1ddec: 6604
+ BRA.W LAB_1DEFE ;1ddee: 6000010e
+LAB_1DDF2:
+ RTS ;1ddf2: 4e75
+LAB_1DDF4:
+ TST.B 2(A0) ;1ddf4: 4a280002
+ BMI.W LAB_1DECC ;1ddf8: 6b0000d2
+ MOVE.L A0,-(A7) ;1ddfc: 2f08
+ CLR.W $E4A(A6) ;1ddfe: 426e0e4a
+ BSR.W SUB_1DF4E ;1de02: 6100014a
+ MOVEA.L (A7)+,A0 ;1de06: 205f
+ TST.W D6 ;1de08: 4a46
+ BMI.W LAB_1DEC6 ;1de0a: 6b0000ba
+ CMP.W #$0001,D6 ;1de0e: bc7c0001
+ BNE.S LAB_1DE20 ;1de12: 660c
+ TST.W $F9E(A6) ;1de14: 4a6e0f9e
+ BEQ.W LAB_1DC8E ;1de18: 6700fe74
+ BRA.W LAB_1DECC ;1de1c: 600000ae
+LAB_1DE20:
+ MOVE.W $AEC(A6),D1 ;1de20: 322e0aec
+ BEQ.S LAB_1DE62 ;1de24: 673c
+ BMI.S LAB_1DE5C ;1de26: 6b34
+ CMP.W #$0002,D1 ;1de28: b27c0002
+ BEQ.S LAB_1DE54 ;1de2c: 6726
+ CMP.W #$0003,D1 ;1de2e: b27c0003
+ BEQ.S LAB_1DE4A ;1de32: 6716
+ MOVEQ #0,D1 ;1de34: 7200
+ MOVE.B 6(A0),D1 ;1de36: 12280006
+ ASL.W #2,D1 ;1de3a: e541
+ CMP.W #$00ff,D1 ;1de3c: b27c00ff
+ BLS.S LAB_1DE46 ;1de40: 6304
+ MOVE.W #$00ff,D1 ;1de42: 323c00ff
+LAB_1DE46:
+ MOVE.B D1,6(A0) ;1de46: 11410006
+LAB_1DE4A:
+ ORI.B #$80,2(A0) ;1de4a: 002800800002
+ BRA.W LAB_1DC8E ;1de50: 6000fe3c
+LAB_1DE54:
+ ORI.B #$80,2(A0) ;1de54: 002800800002
+ RTS ;1de5a: 4e75
+LAB_1DE5C:
+ MOVE.B #$69,2(A0) ;1de5c: 117c00690002
+LAB_1DE62:
+ MOVE.B 2(A0),D0 ;1de62: 10280002
+ ANDI.W #$007f,D0 ;1de66: 0240007f
+ CMP.B #$6b,D0 ;1de6a: b03c006b
+ BEQ.W LAB_1DD0C ;1de6e: 6700fe9c
+ CMP.B #$67,D0 ;1de72: b03c0067
+ BNE.S LAB_1DEAE ;1de76: 6636
+ MOVE.W $B8A(A6),D1 ;1de78: 322e0b8a
+ ADDI.W #$0014,D1 ;1de7c: 06410014
+ CMP.W #$00fe,D1 ;1de80: b27c00fe
+ BLS.S LAB_1DE8A ;1de84: 6304
+ MOVE.W #$00fe,D1 ;1de86: 323c00fe
+LAB_1DE8A:
+ MOVE.B #$78,2(A0) ;1de8a: 117c00780002
+ MOVE.B #$00,3(A0) ;1de90: 117c00000003
+ MOVE.B D1,4(A0) ;1de96: 11410004
+ MOVE.B #$01,6(A0) ;1de9a: 117c00010006
+ MOVEQ #0,D1 ;1dea0: 7200
+ MOVEQ #$24,D5 ;1dea2: 7a24
+ TST.W $F64(A6) ;1dea4: 4a6e0f64
+ BEQ.W SUB_1DDC6 ;1dea8: 6700ff1c
+ RTS ;1deac: 4e75
+LAB_1DEAE:
+ CMPI.B #$7b,2(A0) ;1deae: 0c28007b0002
+ BEQ.S LAB_1DEBC ;1deb4: 6706
+ MOVE.B #$01,6(A0) ;1deb6: 117c00010006
+LAB_1DEBC:
+ MOVEQ #$24,D5 ;1debc: 7a24
+ BSR.W SUB_1DDC6 ;1debe: 6100ff06
+ BRA.W LAB_1D9DC ;1dec2: 6000fb18
+LAB_1DEC6:
+ CMP.W #$fffe,D6 ;1dec6: bc7cfffe
+ BEQ.S LAB_1DECE ;1deca: 6702
+LAB_1DECC:
+ RTS ;1decc: 4e75
+LAB_1DECE:
+ BSR.W SUB_1DEDA ;1dece: 6100000a
+ ANDI.B #$7f,(A1) ;1ded2: 0211007f
+ BRA.W LAB_1DE20 ;1ded6: 6000ff48
+SUB_1DEDA:
+ MOVE.W (A0),D0 ;1deda: 3010
+ MOVEA.L $B3A(A6),A1 ;1dedc: 226e0b3a
+ ADDA.W D0,A1 ;1dee0: d2c0
+ MOVE.B (A1),D2 ;1dee2: 1411
+ RTS ;1dee4: 4e75
+SUB_1DEE6:
+ MOVE.W D2,D6 ;1dee6: 3c02
+ ANDI.W #$000f,D1 ;1dee8: 0241000f
+ OR.B D1,D4 ;1deec: 8801
+ MOVE.W (A0),D0 ;1deee: 3010
+ MOVEM.L D4/A0,-(A7) ;1def0: 48e70880
+ BSR.W SUB_1988E ;1def4: 6100b998
+ MOVEM.L (A7)+,D4/A0 ;1def8: 4cdf0110
+ RTS ;1defc: 4e75
+LAB_1DEFE:
+ BSR.S SUB_1DF1A ;1defe: 611a
+ MOVE.B #$7a,2(A0) ;1df00: 117c007a0002
+ MOVE.B #$fe,4(A0) ;1df06: 117c00fe0004
+ MOVE.B #$01,3(A0) ;1df0c: 117c00010003
+ MOVE.B #$06,6(A0) ;1df12: 117c00060006
+ RTS ;1df18: 4e75
+SUB_1DF1A:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1df1a: 48e7fffc
+ MOVEQ #0,D3 ;1df1e: 7600
+ MOVE.B 3(A0),D3 ;1df20: 16280003
+ ANDI.W #$0003,D3 ;1df24: 02430003
+ MULU #$01d2,D3 ;1df28: c6fc01d2
+ LEA $298(A6),A1 ;1df2c: 43ee0298
+ ADDA.W D3,A1 ;1df30: d2c3
+ MOVE.W $1A(A1),D3 ;1df32: 3629001a
+ LSR.W #3,D3 ;1df36: e64b
+ ADDI.W #$0040,D3 ;1df38: 06430040
+ MOVE.W D3,$18(A1) ;1df3c: 33430018
+ LSR $1C(A1) ;1df40: e2e9001c
+ BSR.W SUB_1CE36 ;1df44: 6100eef0
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1df48: 4cdf3fff
+ RTS ;1df4c: 4e75
+SUB_1DF4E:
+ CLR.W $AEC(A6) ;1df4e: 426e0aec
+ CLR.W $F64(A6) ;1df52: 426e0f64
+ MOVE.L 2(A0),$E5A(A6) ;1df56: 2d6800020e5a
+ MOVE.B 5(A0),D2 ;1df5c: 14280005
+ ANDI.W #$000f,D2 ;1df60: 0242000f
+ ADD.W D2,D2 ;1df64: d442
+ MOVE.W (A0),D0 ;1df66: 3010
+ CMP.W $20(A6),D0 ;1df68: b06e0020
+ BNE.W LAB_1E0C4 ;1df6c: 66000156
+ TST.W $E64(A6) ;1df70: 4a6e0e64
+ BEQ.S LAB_1DF7A ;1df74: 6704
+ MOVEQ #1,D6 ;1df76: 7c01
+ RTS ;1df78: 4e75
+LAB_1DF7A:
+ MOVEQ #3,D5 ;1df7a: 7a03
+ CLR.W D4 ;1df7c: 4244
+ LEA $102(A6),A2 ;1df7e: 45ee0102
+ LEA $298(A6),A3 ;1df82: 47ee0298
+LAB_1DF86:
+ MOVE.B (A2)+,D6 ;1df86: 1c1a
+ TST.W $18(A3) ;1df88: 4a6b0018
+ BEQ.S LAB_1DF92 ;1df8c: 6704
+ BSR.W SUB_1E512 ;1df8e: 61000582
+LAB_1DF92:
+ LEA $1D2(A3),A3 ;1df92: 47eb01d2
+ DBF D5,LAB_1DF86 ;1df96: 51cdffee
+ TST.W D4 ;1df9a: 4a44
+ BEQ.W LAB_1E0BC ;1df9c: 6700011e
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1dfa0: 48e7fffc
+ MOVE.W $20(A6),D2 ;1dfa4: 342e0020
+ MOVEQ #$25,D0 ;1dfa8: 7025
+ ST $F64(A6) ;1dfaa: 50ee0f64
+ CLR.W D1 ;1dfae: 4241
+ BSR.W SUB_207AA ;1dfb0: 610027f8
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1dfb4: 4cdf3fff
+ TST.W $286(A6) ;1dfb8: 4a6e0286
+ BEQ.S LAB_1DFCE ;1dfbc: 6710
+ CLR.W $286(A6) ;1dfbe: 426e0286
+ ST $C1A(A6) ;1dfc2: 50ee0c1a
+ ST $9E(A6) ;1dfc6: 50ee009e
+ BRA.W LAB_1E0B8 ;1dfca: 600000ec
+LAB_1DFCE:
+ CLR.W $F5C(A6) ;1dfce: 426e0f5c
+ CMP.W #$0001,D4 ;1dfd2: b87c0001
+ BEQ.S LAB_1DFE2 ;1dfd6: 670a
+ TST.B $E4C(A6) ;1dfd8: 4a2e0e4c
+ BPL.S LAB_1DFE2 ;1dfdc: 6a04
+ ST $F5C(A6) ;1dfde: 50ee0f5c
+LAB_1DFE2:
+ BSR.W SUB_1E4E8 ;1dfe2: 61000504
+ BSR.W SUB_1E498 ;1dfe6: 610004b0
+ TST.W $280(A6) ;1dfea: 4a6e0280
+ BEQ.S LAB_1DFF6 ;1dfee: 6706
+ MOVE.L D1,D5 ;1dff0: 2a01
+ LSR.L #2,D5 ;1dff2: e48d
+ SUB.L D5,D1 ;1dff4: 9285
+LAB_1DFF6:
+ CLR.L $22C(A6) ;1dff6: 42ae022c
+ MOVEQ #3,D5 ;1dffa: 7a03
+ LEA $102(A6),A2 ;1dffc: 45ee0102
+ LEA $298(A6),A3 ;1e000: 47ee0298
+ CLR.W D7 ;1e004: 4247
+LAB_1E006:
+ MOVE.B (A2)+,D6 ;1e006: 1c1a
+ TST.W $18(A3) ;1e008: 4a6b0018
+ BEQ.W LAB_1E0A4 ;1e00c: 67000096
+ CMPI.B #$6b,$E5A(A6) ;1e010: 0c2e006b0e5a
+ BEQ.W LAB_1E096 ;1e016: 6700007e
+ BSR.W SUB_1E512 ;1e01a: 610004f6
+ BMI.W LAB_1E0A4 ;1e01e: 6b000084
+ MOVE.B $E5A(A6),D0 ;1e022: 102e0e5a
+ CMP.B #$70,D0 ;1e026: b03c0070
+ BNE.S LAB_1E058 ;1e02a: 662c
+ ADDQ.W #4,$252(A6) ;1e02c: 586e0252
+ MOVE.B $E5B(A6),D0 ;1e030: 102e0e5b
+ ANDI.W #$0003,D0 ;1e034: 02400003
+ CMP.B #$00,D0 ;1e038: b03c0000
+ BNE.S LAB_1E0A4 ;1e03c: 6666
+ MOVE.B $E4C(A6),D0 ;1e03e: 102e0e4c
+ ANDI.W #$0003,D0 ;1e042: 02400003
+ BNE.S LAB_1E04A ;1e046: 6602
+ ADDQ.W #2,D0 ;1e048: 5440
+LAB_1E04A:
+ ADD.W D0,$22(A6) ;1e04a: d16e0022
+ JSR SUB_17734 ;1e04e: 4eb900017734
+ CLR.W D6 ;1e054: 4246
+ RTS ;1e056: 4e75
+LAB_1E058:
+ CMP.B #$70,D0 ;1e058: b03c0070
+ BLS.S LAB_1E07C ;1e05c: 631e
+ CMP.B #$76,D0 ;1e05e: b03c0076
+ BHI.S LAB_1E096 ;1e062: 6232
+ TST.B $F5C(A6) ;1e064: 4a2e0f5c
+ BNE.S LAB_1E076 ;1e068: 660c
+ LEA $E5A(A6),A1 ;1e06a: 43ee0e5a
+ MOVEA.L A3,A0 ;1e06e: 204b
+ BSR.W LAB_1F0DA ;1e070: 61001068
+ BRA.S LAB_1E0B8 ;1e074: 6042
+LAB_1E076:
+ CLR.W $F5C(A6) ;1e076: 426e0f5c
+ BRA.S LAB_1E0A4 ;1e07a: 6028
+LAB_1E07C:
+ CMP.B #$6c,D0 ;1e07c: b03c006c
+ BNE.S LAB_1E096 ;1e080: 6614
+ MOVE.B $E5B(A6),D0 ;1e082: 102e0e5b
+ ANDI.W #$0003,D0 ;1e086: 02400003
+ CMP.W #$0003,D0 ;1e08a: b07c0003
+ BNE.S LAB_1E096 ;1e08e: 6606
+ BSR.W SUB_1F0B0 ;1e090: 6100101e
+ BRA.S LAB_1E0A4 ;1e094: 600e
+LAB_1E096:
+ MOVEM.L A0/A2,-(A7) ;1e096: 48e700a0
+ MOVE.W D7,D0 ;1e09a: 3007
+ BSR.W SUB_19896 ;1e09c: 6100b7f8
+ MOVEM.L (A7)+,A0/A2 ;1e0a0: 4cdf0500
+LAB_1E0A4:
+ ADDQ.W #1,D7 ;1e0a4: 5247
+ LEA $1D2(A3),A3 ;1e0a6: 47eb01d2
+ DBF D5,LAB_1E006 ;1e0aa: 51cdff5a
+ MOVE.L $22C(A6),D1 ;1e0ae: 222e022c
+ BEQ.S LAB_1E0B8 ;1e0b2: 6704
+ BSR.W SUB_1F67C ;1e0b4: 610015c6
+LAB_1E0B8:
+ CLR.W D6 ;1e0b8: 4246
+ RTS ;1e0ba: 4e75
+LAB_1E0BC:
+ MOVEQ #-1,D6 ;1e0bc: 7cff
+ RTS ;1e0be: 4e75
+LAB_1E0C0:
+ MOVEQ #-2,D6 ;1e0c0: 7cfe
+ RTS ;1e0c2: 4e75
+LAB_1E0C4:
+ CLR.L $22C(A6) ;1e0c4: 42ae022c
+ MOVE.W D0,$44(A6) ;1e0c8: 3d400044
+ BSR.W SUB_1B2D6 ;1e0cc: 6100d208
+ BEQ.S LAB_1E0C0 ;1e0d0: 67ee
+ MOVE.W (A2),D5 ;1e0d2: 3a12
+ CLR.W D4 ;1e0d4: 4244
+ SUBQ.W #1,D5 ;1e0d6: 5345
+ MOVEA.L 2(A2),A3 ;1e0d8: 266a0002
+ MOVE.L -4(A3),$F72(A6) ;1e0dc: 2d6bfffc0f72
+LAB_1E0E2:
+ MOVE.B 2(A3),D6 ;1e0e2: 1c2b0002
+ ANDI.W #$000f,D6 ;1e0e6: 0246000f
+ BSR.W SUB_1E5D2 ;1e0ea: 610004e6
+ BMI.S LAB_1E0F4 ;1e0ee: 6b04
+ BSR.W SUB_1E512 ;1e0f0: 61000420
+LAB_1E0F4:
+ ADDQ.W #4,A3 ;1e0f4: 584b
+ DBF D5,LAB_1E0E2 ;1e0f6: 51cdffea
+ MOVE.W D4,$22A(A6) ;1e0fa: 3d44022a
+ SUBQ.W #1,$22A(A6) ;1e0fe: 536e022a
+ TST.W D4 ;1e102: 4a44
+ BEQ.S LAB_1E0BC ;1e104: 67b6
+ BSR.W SUB_1E4B4 ;1e106: 610003ac
+ BSR.W SUB_1E498 ;1e10a: 6100038c
+ MOVE.W (A2),D5 ;1e10e: 3a12
+ SUBQ.W #1,D5 ;1e110: 5345
+ MOVEA.L 2(A2),A3 ;1e112: 266a0002
+ MOVE.W $228(A6),D0 ;1e116: 302e0228
+ MULU #$05e5,D0 ;1e11a: c0fc05e5
+ ADDI.W #$0029,D0 ;1e11e: 06400029
+ MOVE.W D0,$228(A6) ;1e122: 3d400228
+ TST.W $E4A(A6) ;1e126: 4a6e0e4a
+ BEQ.S LAB_1E142 ;1e12a: 6716
+ CMPI.B #$1c,-4(A3) ;1e12c: 0c2b001cfffc
+ BEQ.S LAB_1E0BC ;1e132: 6788
+ CMP.W #$95f0,D0 ;1e134: b07c95f0
+ BHI.S LAB_1E156 ;1e138: 621c
+ BSET #5,-7(A3) ;1e13a: 08eb0005fff9
+ BRA.S LAB_1E156 ;1e140: 6014
+LAB_1E142:
+ CMP.W #$ce20,D0 ;1e142: b07cce20
+ BHI.S LAB_1E156 ;1e146: 620e
+ BTST #4,-7(A3) ;1e148: 082b0004fff9
+ BEQ.S LAB_1E156 ;1e14e: 6706
+ BSET #3,-7(A3) ;1e150: 08eb0003fff9
+LAB_1E156:
+ MOVE.B 2(A3),D6 ;1e156: 1c2b0002
+ ANDI.W #$000f,D6 ;1e15a: 0246000f
+ BSR.W SUB_1E512 ;1e15e: 610003b2
+ BMI.S LAB_1E168 ;1e162: 6b04
+ BSR.W SUB_1E198 ;1e164: 61000032
+LAB_1E168:
+ ADDQ.L #4,A3 ;1e168: 588b
+ DBF D5,LAB_1E156 ;1e16a: 51cdffea
+ CLR.W $E6A(A6) ;1e16e: 426e0e6a
+ MOVE.L $22C(A6),D6 ;1e172: 2c2e022c
+ BEQ.S LAB_1E194 ;1e176: 671c
+ CMP.L #$0000ffff,D6 ;1e178: bcbc0000ffff
+ BLT.S LAB_1E186 ;1e17e: 6d06
+ MOVE.L #$0000ffff,D6 ;1e180: 2c3c0000ffff
+LAB_1E186:
+ MOVE.W D6,D1 ;1e186: 3206
+ BSR.W SUB_1F67C ;1e188: 610014f2
+ MOVE.W D6,$AB2(A6) ;1e18c: 3d460ab2
+ MOVE.W D6,$B8A(A6) ;1e190: 3d460b8a
+LAB_1E194:
+ CLR.W D6 ;1e194: 4246
+ RTS ;1e196: 4e75
+SUB_1E198:
+ MOVEM.L D1-D3/A0,-(A7) ;1e198: 48e77080
+ MOVEA.L 2(A2),A0 ;1e19c: 206a0002
+ TST.W -10(A0) ;1e1a0: 4a68fff6
+ BPL.S LAB_1E1AC ;1e1a4: 6a06
+ MOVEM.L (A7)+,D1-D3/A0 ;1e1a6: 4cdf010e
+ RTS ;1e1aa: 4e75
+LAB_1E1AC:
+ TST.B -8(A0) ;1e1ac: 4a28fff8
+ BEQ.S LAB_1E1F6 ;1e1b0: 6744
+ MOVE.B -8(A0),D6 ;1e1b2: 1c28fff8
+ ANDI.W #$007f,D6 ;1e1b6: 0246007f
+ MOVEA.L $B72(A6),A0 ;1e1ba: 206e0b72
+LAB_1E1BE:
+ TST.W (A0) ;1e1be: 4a50
+ BEQ.S LAB_1E1F6 ;1e1c0: 6734
+ CMP.B 2(A0),D6 ;1e1c2: bc280002
+ BEQ.S LAB_1E1CC ;1e1c6: 6704
+ ADDA.W (A0),A0 ;1e1c8: d0d0
+ BRA.S LAB_1E1BE ;1e1ca: 60f2
+LAB_1E1CC:
+ MOVE.B 3(A0),D6 ;1e1cc: 1c280003
+ CMPI.B #$65,$E5A(A6) ;1e1d0: 0c2e00650e5a
+ BHI.S LAB_1E1E2 ;1e1d6: 620a
+ TST.B D6 ;1e1d8: 4a06
+ BEQ.S LAB_1E1F6 ;1e1da: 671a
+ MOVE.W #$0001,$AEC(A6) ;1e1dc: 3d7c00010aec
+LAB_1E1E2:
+ CMP.B $E5A(A6),D6 ;1e1e2: bc2e0e5a
+ BNE.S LAB_1E1F6 ;1e1e6: 660e
+ ST $E6A(A6) ;1e1e8: 50ee0e6a
+ CMP.B #$65,D6 ;1e1ec: bc3c0065
+ BHI.S LAB_1E1F6 ;1e1f0: 6204
+ ST $AEC(A6) ;1e1f2: 50ee0aec
+LAB_1E1F6:
+ LEA $3C(A6),A0 ;1e1f6: 41ee003c
+ BSR.W SUB_19828 ;1e1fa: 6100b62c
+ MULU #$e646,D0 ;1e1fe: c0fce646
+ SWAP D0 ;1e202: 4840
+ ADDI.W #$1996,D0 ;1e204: 06401996
+ ANDI.L #$0000ffff,D0 ;1e208: 02800000ffff
+ MOVE.L D0,D6 ;1e20e: 2c00
+ TST.W $E6A(A6) ;1e210: 4a6e0e6a
+ BEQ.S LAB_1E21E ;1e214: 6708
+ MOVE.L #$0001ffff,D1 ;1e216: 223c0001ffff
+ BRA.S LAB_1E23E ;1e21c: 6020
+LAB_1E21E:
+ MOVE.W D1,D2 ;1e21e: 3401
+ LSR.W #3,D2 ;1e220: e64a
+ MULU D0,D1 ;1e222: c2c0
+ CLR.W D1 ;1e224: 4241
+ SWAP D1 ;1e226: 4841
+ CMPI.B #$00,$E5A(A6) ;1e228: 0c2e00000e5a
+ BNE.S LAB_1E238 ;1e22e: 6608
+ CMPI.B #$01,$E5C(A6) ;1e230: 0c2e00010e5c
+ BEQ.S LAB_1E23E ;1e236: 6706
+LAB_1E238:
+ CMP.W D2,D1 ;1e238: b242
+ BLS.W LAB_1E2F8 ;1e23a: 630000bc
+LAB_1E23E:
+ MOVE.B $E5A(A6),D3 ;1e23e: 162e0e5a
+ TST.W $E6A(A6) ;1e242: 4a6e0e6a
+ BNE.W LAB_1E2EE ;1e246: 660000a6
+ CMP.B #$70,D3 ;1e24a: b63c0070
+ BNE.S LAB_1E292 ;1e24e: 6642
+ MOVE.B $E5B(A6),D3 ;1e250: 162e0e5b
+ ANDI.W #$0003,D3 ;1e254: 02430003
+ CMP.B #$00,D3 ;1e258: b63c0000
+ BNE.W LAB_1E2F8 ;1e25c: 6600009a
+ MOVE.B $F73(A6),D3 ;1e260: 162e0f73
+ ADDI.W #$0023,D1 ;1e264: 06410023
+ CMP.W D1,D3 ;1e268: b641
+ BHI.W LAB_1E2F8 ;1e26a: 6200008c
+ MOVEQ #1,D5 ;1e26e: 7a01
+ MOVE.L D5,$22C(A6) ;1e270: 2d45022c
+ MOVEA.L 2(A2),A3 ;1e274: 266a0002
+ MOVE.B -7(A3),D0 ;1e278: 102bfff9
+ ADD.W $E4C(A6),D0 ;1e27c: d06e0e4c
+ ANDI.W #$0003,D0 ;1e280: 02400003
+ ANDI.B #$fc,-7(A3) ;1e284: 022b00fcfff9
+ OR.B D0,-7(A3) ;1e28a: 812bfff9
+ SUBQ.W #1,D5 ;1e28e: 5345
+ BRA.S LAB_1E2F8 ;1e290: 6066
+LAB_1E292:
+ CMP.B #$6a,D3 ;1e292: b63c006a
+ BLS.S LAB_1E2D8 ;1e296: 6340
+ CMP.B #$76,D3 ;1e298: b63c0076
+ BHI.S LAB_1E2D8 ;1e29c: 623a
+ BSR.W SUB_1F47A ;1e29e: 610011da
+ CMP.L #$ffffffff,D1 ;1e2a2: b2bcffffffff
+ BEQ.S LAB_1E2C6 ;1e2a8: 671c
+ CMP.L #$fffffffe,D1 ;1e2aa: b2bcfffffffe
+ BEQ.S LAB_1E2FE ;1e2b0: 674c
+ CMP.L #$fffffffd,D1 ;1e2b2: b2bcfffffffd
+ BNE.S LAB_1E2D8 ;1e2b8: 661e
+ MOVE.W #$0003,$AEC(A6) ;1e2ba: 3d7c00030aec
+ MOVEM.L (A7)+,D1-D3/A0 ;1e2c0: 4cdf010e
+ RTS ;1e2c4: 4e75
+LAB_1E2C6:
+ MOVEM.L (A7)+,D1-D3/A0 ;1e2c6: 4cdf010e
+ MOVE.B #$7b,2(A0) ;1e2ca: 117c007b0002
+ MOVE.B #$06,6(A0) ;1e2d0: 117c00060006
+ RTS ;1e2d6: 4e75
+LAB_1E2D8:
+ CLR.W D3 ;1e2d8: 4243
+ MOVE.B $F73(A6),D3 ;1e2da: 162e0f73
+ MULU D1,D3 ;1e2de: c6c1
+ LSR.L #8,D3 ;1e2e0: e08b
+ SUB.L D3,D1 ;1e2e2: 9283
+ TST.W D1 ;1e2e4: 4a41
+ BNE.S LAB_1E2EA ;1e2e6: 6602
+ MOVEQ #1,D1 ;1e2e8: 7201
+LAB_1E2EA:
+ ADD.L D1,$22C(A6) ;1e2ea: d3ae022c
+LAB_1E2EE:
+ MOVEQ #0,D0 ;1e2ee: 7000
+ MOVE.W (A3),D0 ;1e2f0: 3013
+ SUB.L D1,D0 ;1e2f2: 9081
+ BMI.S LAB_1E30A ;1e2f4: 6b14
+ MOVE.W D0,(A3) ;1e2f6: 3680
+LAB_1E2F8:
+ MOVEM.L (A7)+,D1-D3/A0 ;1e2f8: 4cdf010e
+ RTS ;1e2fc: 4e75
+LAB_1E2FE:
+ MOVE.W #$0002,$AEC(A6) ;1e2fe: 3d7c00020aec
+ MOVEM.L (A7)+,D1-D3/A0 ;1e304: 4cdf010e
+ RTS ;1e308: 4e75
+LAB_1E30A:
+ MOVEM.L (A7)+,D1-D3/A0 ;1e30a: 4cdf010e
+SUB_1E30E:
+ MOVE.B #$04,$F79(A6) ;1e30e: 1d7c00040f79
+ TST.L $276(A6) ;1e314: 4aae0276
+ BEQ.S LAB_1E346 ;1e318: 672c
+ MOVE.L A0,-(A7) ;1e31a: 2f08
+ MOVEA.L $BB4(A6),A0 ;1e31c: 206e0bb4
+ LEA -12(A0),A0 ;1e320: 41e8fff4
+ CMPA.L $276(A6),A0 ;1e324: b1ee0276
+ BLS.S LAB_1E344 ;1e328: 631a
+ MOVEA.L $276(A6),A0 ;1e32a: 206e0276
+ MOVE.B $28F(A6),9(A0) ;1e32e: 116e028f0009
+ MOVE.B $28E(A6),7(A0) ;1e334: 116e028e0007
+ MOVE.W $290(A6),$A(A0) ;1e33a: 316e0290000a
+ CLR.L $276(A6) ;1e340: 42ae0276
+LAB_1E344:
+ MOVEA.L (A7)+,A0 ;1e344: 205f
+LAB_1E346:
+ MOVEM.L D1-D7/A0-A3,-(A7) ;1e346: 48e77ff0
+ MOVEQ #0,D3 ;1e34a: 7600
+ MOVE.B $F74(A6),D3 ;1e34c: 162e0f74
+ ADDQ.W #3,D3 ;1e350: 5643
+ MOVEQ #1,D0 ;1e352: 7001
+ ADDQ.L #1,$9E0(A6) ;1e354: 52ae09e0
+ MOVEQ #3,D1 ;1e358: 7203
+ LEA $298(A6),A0 ;1e35a: 41ee0298
+ MOVEM.L D2/A1,-(A7) ;1e35e: 48e72040
+LAB_1E362:
+ TST.W $3C(A0) ;1e362: 4a68003c
+ BNE.S LAB_1E392 ;1e366: 662a
+ MOVE.W D3,-(A7) ;1e368: 3f03
+ MOVEQ #0,D0 ;1e36a: 7000
+ MOVE.W $34(A0),D0 ;1e36c: 30280034
+ MULU D0,D3 ;1e370: c6c0
+ LSR.L #8,D3 ;1e372: e08b
+ LSR.L #3,D3 ;1e374: e68b
+ MOVEM.L D1-D7/A0-A5,-(A7) ;1e376: 48e77ffc
+ LSR.L #2,D3 ;1e37a: e48b
+ ADDQ.W #1,D3 ;1e37c: 5243
+ MOVE.B $38(A0),D0 ;1e37e: 10280038
+ ANDI.W #$0007,D0 ;1e382: 02400007
+ MOVE.L D3,D1 ;1e386: 2203
+ BSR.W SUB_1F71A ;1e388: 61001390
+ MOVEM.L (A7)+,D1-D7/A0-A5 ;1e38c: 4cdf3ffe
+ MOVE.W (A7)+,D3 ;1e390: 361f
+LAB_1E392:
+ LEA $1D2(A0),A0 ;1e392: 41e801d2
+ DBF D1,LAB_1E362 ;1e396: 51c9ffca
+ MOVEM.L (A7)+,D2/A1 ;1e39a: 4cdf0204
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1e39e: 48e7fffc
+ MOVE.W $44(A6),-(A7) ;1e3a2: 3f2e0044
+ MOVEA.L 2(A2),A0 ;1e3a6: 206a0002
+ SUBA.W #$000c,A0 ;1e3aa: 90fc000c
+ BSR.W SUB_1E568 ;1e3ae: 610001b8
+ CMPI.W #$0010,2(A0) ;1e3b2: 0c6800100002
+ BNE.S LAB_1E3F8 ;1e3b8: 663e
+ TST.B 4(A0) ;1e3ba: 4a280004
+ BEQ.S LAB_1E3F8 ;1e3be: 6738
+ MOVE.L D3,-(A7) ;1e3c0: 2f03
+ MOVE.B 4(A0),D0 ;1e3c2: 10280004
+ ANDI.W #$007f,D0 ;1e3c6: 0240007f
+ MOVE.L A0,-(A7) ;1e3ca: 2f08
+ MOVEA.L $B72(A6),A0 ;1e3cc: 206e0b72
+LAB_1E3D0:
+ TST.W (A0) ;1e3d0: 4a50
+ BEQ.S LAB_1E3DE ;1e3d2: 670a
+ CMP.B 2(A0),D0 ;1e3d4: b0280002
+ BEQ.S LAB_1E3E4 ;1e3d8: 670a
+ ADDA.W (A0),A0 ;1e3da: d0d0
+ BRA.S LAB_1E3D0 ;1e3dc: 60f2
+LAB_1E3DE:
+ MOVEA.L (A7)+,A0 ;1e3de: 205f
+ MOVE.L (A7)+,D3 ;1e3e0: 261f
+ BRA.S LAB_1E3F8 ;1e3e2: 6014
+LAB_1E3E4:
+ MOVE.L 4(A0),D3 ;1e3e4: 26280004
+ ANDI.L #$ff000000,D3 ;1e3e8: 0283ff000000
+ BEQ.S LAB_1E3DE ;1e3ee: 67ee
+ MOVEA.L (A7)+,A0 ;1e3f0: 205f
+ BSR.W SUB_1E3FA ;1e3f2: 61000006
+ MOVE.L (A7)+,D3 ;1e3f6: 261f
+LAB_1E3F8:
+ BRA.S LAB_1E42A ;1e3f8: 6030
+SUB_1E3FA:
+ MOVEM.L D0/D6/A0/A3,-(A7) ;1e3fa: 48e78290
+ MOVE.B 2(A3),D0 ;1e3fe: 102b0002
+ ANDI.W #$000f,D0 ;1e402: 0240000f
+ MOVE.B LAB_1E420(PC,D0.W),D3 ;1e406: 163b0018
+ MOVE.L D3,$80(A6) ;1e40a: 2d430080
+ BSR.W SUB_1DEDA ;1e40e: 6100faca
+ MOVE.W (A0),$44(A6) ;1e412: 3d500044
+ BSR.W LAB_1A1E2 ;1e416: 6100bdca
+ MOVEM.L (A7)+,D0/D6/A0/A3 ;1e41a: 4cdf0941
+ RTS ;1e41e: 4e75
+LAB_1E420:
+ DC.L $00000102,$00010203 ;1e420
+ DC.W $0300 ;1e428
+LAB_1E42A:
+ MOVE.W (A7)+,$44(A6) ;1e42a: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1e42e: 4cdf3fff
+ MOVEA.L 2(A2),A0 ;1e432: 206a0002
+ LEA -12(A0),A4 ;1e436: 49e8fff4
+ CMPI.W #$0010,2(A4) ;1e43a: 0c6c00100002
+ BNE.S LAB_1E478 ;1e440: 6636
+ MOVE.B $C(A4),-(A7) ;1e442: 1f2c000c
+ MOVEA.L $B6A(A6),A3 ;1e446: 266e0b6a
+ MOVEA.L A4,A2 ;1e44a: 244c
+ BSR.W SUB_1A3AC ;1e44c: 6100bf5e
+ MOVEA.L $B3A(A6),A1 ;1e450: 226e0b3a
+ ADDA.W $44(A6),A1 ;1e454: d2ee0044
+ BCLR #7,(A1) ;1e458: 08910007
+ MOVE.B (A1),D0 ;1e45c: 1011
+ ANDI.W #$007e,D0 ;1e45e: 0240007e
+ CMP.B #$36,D0 ;1e462: b03c0036
+ BNE.S LAB_1E46C ;1e466: 6604
+ BSR.W SUB_1D4AC ;1e468: 6100f042
+LAB_1E46C:
+ MOVE.B (A7)+,D0 ;1e46c: 101f
+LAB_1E46E:
+ MOVEM.L (A7)+,D1-D7/A0-A3 ;1e46e: 4cdf0ffe
+ LEA -4(A3),A3 ;1e472: 47ebfffc
+ RTS ;1e476: 4e75
+LAB_1E478:
+ CMPI.W #$37c8,$228(A6) ;1e478: 0c6e37c80228
+ BHI.S LAB_1E486 ;1e47e: 6206
+ BSET #5,-7(A2) ;1e480: 08ea0005fff9
+LAB_1E486:
+ MOVEA.L A3,A2 ;1e486: 244b
+ MOVEQ #4,D3 ;1e488: 7604
+ SUBQ.W #4,2(A4) ;1e48a: 596c0002
+ MOVEA.L $B6A(A6),A3 ;1e48e: 266e0b6a
+ BSR.W SUB_1A3B0 ;1e492: 6100bf1c
+ BRA.S LAB_1E46E ;1e496: 60d6
+SUB_1E498:
+ CMPI.B #$00,2(A0) ;1e498: 0c2800000002
+ BEQ.S LAB_1E4AA ;1e49e: 670a
+ CMPI.B #$6b,2(A0) ;1e4a0: 0c28006b0002
+ BEQ.S LAB_1E4AA ;1e4a6: 6702
+ DIVU D4,D1 ;1e4a8: 82c4
+LAB_1E4AA:
+ ANDI.L #$0000ffff,D1 ;1e4aa: 02810000ffff
+ ADDQ.W #1,D1 ;1e4b0: 5241
+ RTS ;1e4b2: 4e75
+SUB_1E4B4:
+ CLR.W D0 ;1e4b4: 4240
+ MOVEQ #0,D1 ;1e4b6: 7200
+ BCLR #7,2(A0) ;1e4b8: 08a800070002
+ CMPI.B #$67,2(A0) ;1e4be: 0c2800670002
+ BEQ.S LAB_1E4DC ;1e4c4: 6716
+ CMPI.B #$68,2(A0) ;1e4c6: 0c2800680002
+ BEQ.S LAB_1E4DC ;1e4cc: 670e
+ MOVE.B 6(A0),D0 ;1e4ce: 10280006
+ MOVE.B 7(A0),D1 ;1e4d2: 12280007
+ MULU D0,D1 ;1e4d6: c2c0
+ LSR.L #2,D1 ;1e4d8: e489
+ RTS ;1e4da: 4e75
+LAB_1E4DC:
+ MOVE.B 3(A0),D1 ;1e4dc: 12280003
+ ASL.W #8,D1 ;1e4e0: e141
+ MOVE.B 4(A0),D1 ;1e4e2: 12280004
+ RTS ;1e4e6: 4e75
+SUB_1E4E8:
+ BSR.S SUB_1E4B4 ;1e4e8: 61ca
+ ASL.L #6,D1 ;1e4ea: ed81
+ CMP.L #$0000fff0,D1 ;1e4ec: b2bc0000fff0
+ BLS.S LAB_1E4FA ;1e4f2: 6306
+ MOVE.L #$0000fff0,D1 ;1e4f4: 223c0000fff0
+LAB_1E4FA:
+ RTS ;1e4fa: 4e75
+ MOVEQ #-3,D1 ;1e4fc: 72fd
+ RTS ;1e4fe: 4e75
+LAB_1E500:
+ DC.L $00000005,$000c0011,$00180022,$0029002e ;1e500
+ DC.W $0035 ;1e510
+SUB_1E512:
+ MOVE.W LAB_1E500(PC,D2.W),D0 ;1e512: 303b20ec
+ LEA LAB_1E52E(PC),A4 ;1e516: 49fa0016
+ ADDA.W D0,A4 ;1e51a: d8c0
+ MOVE.B (A4)+,D0 ;1e51c: 101c
+LAB_1E51E:
+ CMP.B (A4)+,D6 ;1e51e: bc1c
+ BEQ.S LAB_1E52A ;1e520: 6708
+ DBF D0,LAB_1E51E ;1e522: 51c8fffa
+ TST.W D0 ;1e526: 4a40
+ RTS ;1e528: 4e75
+LAB_1E52A:
+ ADDQ.W #1,D4 ;1e52a: 5244
+ RTS ;1e52c: 4e75
+LAB_1E52E:
+ DC.L $03000103,$04050001,$02030405,$03010204 ;1e52e
+ DC.L $05050001,$03040607,$08000102,$03040506 ;1e53e
+ DC.L $07080502,$05080104,$07030304,$06070603 ;1e54e
+ DC.L $04050607,$08030405 ;1e55e
+ DC.W $0708 ;1e566
+SUB_1E568:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1e568: 48e7fffc
+ MOVE.W (A0),D0 ;1e56c: 3010
+ CLR.W D2 ;1e56e: 4242
+ MOVE.B $F72(A6),D2 ;1e570: 142e0f72
+ ADD.W D2,D2 ;1e574: d442
+ LEA LAB_20038(PC),A0 ;1e576: 41fa1ac0
+ MOVE.W 0(A0,D2.W),D2 ;1e57a: 34302000
+ MOVE.W D2,D3 ;1e57e: 3602
+ LEA LAB_1E5CE(PC),A0 ;1e580: 41fa004c
+ ANDI.W #$000f,D3 ;1e584: 0243000f
+ ASL.W #4,D3 ;1e588: e943
+ ADDI.W #$000f,D3 ;1e58a: 0643000f
+ MOVE.B D3,3(A0) ;1e58e: 11430003
+ MOVEQ #1,D3 ;1e592: 7601
+ BTST #4,D2 ;1e594: 08020004
+ BEQ.S LAB_1E59E ;1e598: 6704
+ BSET #5,D3 ;1e59a: 08c30005
+LAB_1E59E:
+ BTST #5,D2 ;1e59e: 08020005
+ BEQ.S LAB_1E5A8 ;1e5a2: 6704
+ BSET #2,D3 ;1e5a4: 08c30002
+LAB_1E5A8:
+ BTST #6,D2 ;1e5a8: 08020006
+ BEQ.S LAB_1E5B2 ;1e5ac: 6704
+ BSET #6,D3 ;1e5ae: 08c30006
+LAB_1E5B2:
+ MOVE.B D3,2(A0) ;1e5b2: 11430002
+ MOVE.B 2(A3),D2 ;1e5b6: 142b0002
+ ANDI.W #$000f,D2 ;1e5ba: 0242000f
+ MOVE.W #$1401,D5 ;1e5be: 3a3c1401
+ CLR.W D3 ;1e5c2: 4243
+ BSR.W SUB_1D99C ;1e5c4: 6100f3d6
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1e5c8: 4cdf3fff
+ RTS ;1e5cc: 4e75
+LAB_1E5CE:
+ DC.L $00790000 ;1e5ce
+SUB_1E5D2:
+ CMPI.B #$00,2(A0) ;1e5d2: 0c2800000002
+ BEQ.S LAB_1E612 ;1e5d8: 6738
+ MOVE.L A3,-(A7) ;1e5da: 2f0b
+ MOVEQ #0,D0 ;1e5dc: 7000
+ MOVE.B $F72(A6),D0 ;1e5de: 102e0f72
+ LEA LAB_20038(PC),A3 ;1e5e2: 47fa1a54
+ ADD.W D0,D0 ;1e5e6: d040
+ MOVE.W 0(A3,D0.W),D0 ;1e5e8: 30330000
+ MOVEA.L (A7)+,A3 ;1e5ec: 265f
+ BTST #$C,D0 ;1e5ee: 0800000c
+ BEQ.S LAB_1E604 ;1e5f2: 6710
+ CMPI.B #$6a,2(A0) ;1e5f4: 0c28006a0002
+ BLS.S LAB_1E61C ;1e5fa: 6320
+ CMPI.B #$7b,2(A0) ;1e5fc: 0c28007b0002
+ BHI.S LAB_1E61C ;1e602: 6218
+LAB_1E604:
+ BTST #5,5(A0) ;1e604: 082800050005
+ BEQ.S LAB_1E616 ;1e60a: 670a
+ BTST #$B,D0 ;1e60c: 0800000b
+ BNE.S LAB_1E61C ;1e610: 660a
+LAB_1E612:
+ CLR.W D0 ;1e612: 4240
+ RTS ;1e614: 4e75
+LAB_1E616:
+ BTST #$A,D0 ;1e616: 0800000a
+ BEQ.S LAB_1E612 ;1e61a: 67f6
+LAB_1E61C:
+ MOVEQ #-1,D0 ;1e61c: 70ff
+ RTS ;1e61e: 4e75
+SUB_1E620:
+ CLR.W $E38(A6) ;1e620: 426e0e38
+ MOVEM.L D1-D2/A0,-(A7) ;1e624: 48e76080
+ MOVE.B 1(A0),D0 ;1e628: 10280001
+ ANDI.W #$007f,D0 ;1e62c: 0240007f
+ CMP.B #$66,D0 ;1e630: b03c0066
+ BLS.S LAB_1E638 ;1e634: 6302
+ MOVEQ #$66,D0 ;1e636: 7066
+LAB_1E638:
+ JSR SUB_15630 ;1e638: 4eb900015630
+ MOVE.W D0,$F6C(A6) ;1e63e: 3d400f6c
+ MOVEA.L #LAB_1629E,A0 ;1e642: 207c0001629e
+ ASL.W #3,D0 ;1e648: e740
+ ADDA.W D0,A0 ;1e64a: d0c0
+ MOVE.L A0,$F66(A6) ;1e64c: 2d480f66
+ MOVE.W 6(A0),$F6A(A6) ;1e650: 3d6800060f6a
+ MOVEM.L (A7)+,D1-D2/A0 ;1e656: 4cdf0106
+ MOVEQ #0,D0 ;1e65a: 7000
+ MOVE.B 1(A0),D0 ;1e65c: 10280001
+ BEQ.S LAB_1E6C0 ;1e660: 675e
+ CMP.W #$0021,D0 ;1e662: b07c0021
+ BLS.S LAB_1E68A ;1e666: 6322
+ CMP.W #$004a,D0 ;1e668: b07c004a
+ BLS.S LAB_1E6D2 ;1e66c: 6364
+ CMP.W #$004a,D0 ;1e66e: b07c004a
+ BLS.S LAB_1E68A ;1e672: 6316
+ CMP.W #$0053,D0 ;1e674: b07c0053
+ BLS.W LAB_1EBB4 ;1e678: 6300053a
+ CMP.W #$0053,D0 ;1e67c: b07c0053
+ BLS.S LAB_1E68A ;1e680: 6308
+ CMP.W #$0059,D0 ;1e682: b07c0059
+ BLS.W LAB_1E9C0 ;1e686: 63000338
+LAB_1E68A:
+ CMP.W #$005a,D0 ;1e68a: b07c005a
+ BEQ.W LAB_1E69C ;1e68e: 6700000c
+ CMP.W #$005b,D0 ;1e692: b07c005b
+ BEQ.W LAB_1E6BA ;1e696: 67000022
+ RTS ;1e69a: 4e75
+LAB_1E69C:
+ BSR.W SUB_20C8C ;1e69c: 610025ee
+ MULU #$000c,D0 ;1e6a0: c0fc000c
+ SWAP D0 ;1e6a4: 4840
+ ORI.W #$0020,D0 ;1e6a6: 00400020
+LAB_1E6AA:
+ MOVE.B D0,2(A0) ;1e6aa: 11400002
+ MOVEA.L $AD0(A6),A1 ;1e6ae: 226e0ad0
+ MOVE.B #$03,(A1) ;1e6b2: 12bc0003
+ BRA.W SUB_1EE00 ;1e6b6: 60000748
+LAB_1E6BA:
+ BSR.W SUB_20C8C ;1e6ba: 610025d0
+ BRA.S LAB_1E6AA ;1e6be: 60ea
+LAB_1E6C0:
+ MOVEQ #0,D3 ;1e6c0: 7600
+ MOVE.B (A0),D3 ;1e6c2: 1610
+ ANDI.W #$0007,D3 ;1e6c4: 02430007
+ SUBQ.W #1,D3 ;1e6c8: 5343
+ MOVE.W D3,$B04(A6) ;1e6ca: 3d430b04
+ ADD.W D3,D3 ;1e6ce: d643
+ BRA.S LAB_1E6E2 ;1e6d0: 6010
+LAB_1E6D2:
+ MOVEQ #0,D3 ;1e6d2: 7600
+ MOVE.B (A0),D3 ;1e6d4: 1610
+ ANDI.W #$0007,D3 ;1e6d6: 02430007
+ SUBQ.W #1,D3 ;1e6da: 5343
+ MOVE.W D3,$B04(A6) ;1e6dc: 3d430b04
+ ASL.W #2,D3 ;1e6e0: e543
+LAB_1E6E2:
+ MOVE.B (A0),D5 ;1e6e2: 1a10
+ ANDI.W #$0007,D5 ;1e6e4: 02450007
+ SUBQ.W #1,D5 ;1e6e8: 5345
+ LEA $AE0(A6),A5 ;1e6ea: 4bee0ae0
+ MOVE.B 0(A5,D5.W),D5 ;1e6ee: 1a355000
+ MOVE.W D5,$B0A(A6) ;1e6f2: 3d450b0a
+ CLR.W $F56(A6) ;1e6f6: 426e0f56
+ CMP.B #$34,D5 ;1e6fa: ba3c0034
+ BEQ.W SUB_1E922 ;1e6fe: 67000222
+ CMP.B #$35,D5 ;1e702: ba3c0035
+ BEQ.W LAB_1EB16 ;1e706: 6700040e
+ CMP.B #$36,D5 ;1e70a: ba3c0036
+ BEQ.W LAB_1EB24 ;1e70e: 67000414
+ CMP.B #$07,D5 ;1e712: ba3c0007
+ BEQ.W LAB_1EAC0 ;1e716: 670003a8
+ CMP.B #$08,D5 ;1e71a: ba3c0008
+ BEQ.W LAB_1EAA6 ;1e71e: 67000386
+ CMP.B #$0a,D5 ;1e722: ba3c000a
+ BEQ.W LAB_1EA84 ;1e726: 6700035c
+ BSR.W SUB_1E8CE ;1e72a: 610001a2
+ MOVE.W $24(A3),D5 ;1e72e: 3a2b0024
+ LSR.W #5,D5 ;1e732: ea4d
+ ADD.W $30(A3),D5 ;1e734: da6b0030
+ MOVE.W $1C(A3),D6 ;1e738: 3c2b001c
+ MULU #$0064,D6 ;1e73c: ccfc0064
+ DIVU $1E(A3),D6 ;1e740: 8ceb001e
+ MOVE.L A0,-(A7) ;1e744: 2f08
+ BSR.W SUB_1E8F2 ;1e746: 610001aa
+ MOVEA.L (A7)+,A0 ;1e74a: 205f
+ BMI.W LAB_1EA58 ;1e74c: 6b00030a
+ CLR.W $AB2(A6) ;1e750: 426e0ab2
+ MOVEA.L $F66(A6),A1 ;1e754: 226e0f66
+ MOVE.W $F6C(A6),D0 ;1e758: 302e0f6c
+ MOVE.W D3,D4 ;1e75c: 3803
+ ADD.B 3(A1),D4 ;1e75e: d8290003
+ ADDQ.W #4,D3 ;1e762: 5843
+ ADD.B 2(A1),D3 ;1e764: d6290002
+ ADDQ.W #2,D4 ;1e768: 5444
+ ADDQ.W #1,D3 ;1e76a: 5243
+ CMP.W #$0014,D6 ;1e76c: bc7c0014
+ BHI.S LAB_1E774 ;1e770: 6202
+ LSR.W #1,D5 ;1e772: e24d
+LAB_1E774:
+ ADDI.W #$0500,D5 ;1e774: 06450500
+ MOVEQ #0,D1 ;1e778: 7200
+ MOVE.W 6(A1),D1 ;1e77a: 32290006
+ ANDI.W #$0007,D1 ;1e77e: 02410007
+ MOVE.W D1,$B12(A6) ;1e782: 3d410b12
+ ADD.W D1,D1 ;1e786: d241
+ MOVE.W D1,D2 ;1e788: 3401
+ ADD.W D2,D2 ;1e78a: d442
+ ADD.W D2,D1 ;1e78c: d242
+ ADDI.W #$0046,D1 ;1e78e: 06410046
+ ADD.L A3,D1 ;1e792: d28b
+ MOVE.L D1,$B0E(A6) ;1e794: 2d410b0e
+ MOVEA.L D1,A2 ;1e798: 2441
+ MOVEQ #0,D1 ;1e79a: 7200
+ MOVE.W $28(A3),D1 ;1e79c: 322b0028
+ ADDI.W #$0380,D1 ;1e7a0: 06410380
+ MOVE.W (A2),D2 ;1e7a4: 3412
+ LSR.W #1,D1 ;1e7a6: e249
+ ADDI.W #$0020,D2 ;1e7a8: 06420020
+ MULU D2,D1 ;1e7ac: c2c2
+ LSR.L #6,D1 ;1e7ae: ec89
+ MOVE.W D3,-(A7) ;1e7b0: 3f03
+ CLR.W D3 ;1e7b2: 4243
+ MOVE.B $B05(A6),D3 ;1e7b4: 162e0b05
+ ADDQ.W #8,D3 ;1e7b8: 5043
+ MULU D3,D1 ;1e7ba: c2c3
+ LSR.L #3,D1 ;1e7bc: e689
+ MOVE.W (A7)+,D3 ;1e7be: 361f
+ MULU D4,D1 ;1e7c0: c2c4
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1e7c2: 48e7fffc
+ MOVEQ #0,D1 ;1e7c6: 7200
+ MOVE.W D3,D1 ;1e7c8: 3203
+ MOVE.L D1,-(A7) ;1e7ca: 2f01
+ ASL.W #2,D1 ;1e7cc: e541
+ MOVEA.L A3,A0 ;1e7ce: 204b
+ MOVE.W $ACE(A6),D0 ;1e7d0: 302e0ace
+ MOVEQ #3,D2 ;1e7d4: 7403
+ JSR LAB_17D40 ;1e7d6: 4eb900017d40
+ BSR.W SUB_1EE00 ;1e7dc: 61000622
+ MOVE.L (A7)+,D1 ;1e7e0: 221f
+ LSR.L #2,D1 ;1e7e2: e489
+ ADDQ.L #1,D1 ;1e7e4: 5281
+ MOVE.W $B12(A6),D0 ;1e7e6: 302e0b12
+ MOVEA.L A3,A0 ;1e7ea: 204b
+ BSR.W SUB_1F71A ;1e7ec: 61000f2c
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1e7f0: 4cdf3fff
+ MOVE.W $AB0(A6),D2 ;1e7f4: 342e0ab0
+ MULU #$05e5,D2 ;1e7f8: c4fc05e5
+ ADDI.W #$0029,D2 ;1e7fc: 06420029
+ MOVE.W D2,$AB0(A6) ;1e800: 3d420ab0
+ MULU #$1900,D2 ;1e804: c4fc1900
+ SWAP D2 ;1e808: 4842
+ MOVE.W (A2),D0 ;1e80a: 3012
+ ASL.W #7,D0 ;1e80c: ef40
+ ADD.W D0,D5 ;1e80e: da40
+ MOVE.W D3,D0 ;1e810: 3003
+ ASL.W #7,D0 ;1e812: ef40
+ SUB.W D0,D5 ;1e814: 9a40
+ BMI.S LAB_1E81E ;1e816: 6b06
+ CMP.W #$0280,D5 ;1e818: ba7c0280
+ BHI.S LAB_1E822 ;1e81c: 6204
+LAB_1E81E:
+ MOVE.W #$0280,D5 ;1e81e: 3a3c0280
+LAB_1E822:
+ CMP.W #$1680,D5 ;1e822: ba7c1680
+ BLS.S LAB_1E82C ;1e826: 6304
+ MOVE.W #$1680,D5 ;1e828: 3a3c1680
+LAB_1E82C:
+ CMP.W D2,D5 ;1e82c: ba42
+ BHI.S LAB_1E832 ;1e82e: 6202
+ MOVEQ #0,D1 ;1e830: 7200
+LAB_1E832:
+ LSR.W #5,D2 ;1e832: ea4a
+ CMP.W #$0030,D2 ;1e834: b47c0030
+ BNE.S LAB_1E83C ;1e838: 6602
+ ADD.L D1,D1 ;1e83a: d281
+LAB_1E83C:
+ LSR.L #8,D1 ;1e83c: e089
+ MOVEA.L $AD0(A6),A1 ;1e83e: 226e0ad0
+ ADDQ.W #4,D3 ;1e842: 5843
+ LSR.W #4,D6 ;1e844: e84e
+ SUB.W D6,D3 ;1e846: 9646
+ TST.W $288(A6) ;1e848: 4a6e0288
+ BEQ.S LAB_1E854 ;1e84c: 6706
+ MOVE.B D3,D0 ;1e84e: 1003
+ LSR.B #2,D0 ;1e850: e408
+ SUB.B D0,D3 ;1e852: 9600
+LAB_1E854:
+ MOVE.B D3,(A1) ;1e854: 1283
+ TST.W D1 ;1e856: 4a41
+ BEQ.S LAB_1E8C8 ;1e858: 676e
+ ADDQ.L #3,D1 ;1e85a: 5681
+ LSR.L #1,D1 ;1e85c: e289
+ MOVE.L D1,D0 ;1e85e: 2001
+ LSR.L #2,D0 ;1e860: e488
+ SUB.W D0,D1 ;1e862: 9240
+ TST.W $284(A6) ;1e864: 4a6e0284
+ BEQ.S LAB_1E870 ;1e868: 6706
+ MOVE.W D1,-(A7) ;1e86a: 3f01
+ LSR.W #2,D1 ;1e86c: e449
+ ADD.W (A7)+,D1 ;1e86e: d25f
+LAB_1E870:
+ TST.W $F5E(A6) ;1e870: 4a6e0f5e
+ BEQ.S LAB_1E87E ;1e874: 6708
+ LSR.W #1,D1 ;1e876: e249
+ MOVE.W D1,-(A7) ;1e878: 3f01
+ LSR.W #1,D1 ;1e87a: e249
+ ADD.W (A7)+,D1 ;1e87c: d25f
+LAB_1E87E:
+ MOVE.W D1,$AB4(A6) ;1e87e: 3d410ab4
+ TST.B $40(A3) ;1e882: 4a2b0040
+ BEQ.S LAB_1E88C ;1e886: 6704
+ LSR.L #1,D1 ;1e888: e289
+ ADDQ.L #1,D1 ;1e88a: 5281
+LAB_1E88C:
+ BSR.W SUB_1EE24 ;1e88c: 61000596
+ MOVE.W $ACE(A6),D5 ;1e890: 3a2e0ace
+ ANDI.W #$0003,D5 ;1e894: 02450003
+ ADD.W D5,D5 ;1e898: da45
+ BTST #0,$ABF(A6) ;1e89a: 082e00000abf
+ BEQ.S LAB_1E8A4 ;1e8a0: 6702
+ ADDQ.W #1,D5 ;1e8a2: 5245
+LAB_1E8A4:
+ ASL.W #3,D5 ;1e8a4: e745
+ MOVE.W $B12(A6),D0 ;1e8a6: 302e0b12
+ ANDI.W #$0007,D0 ;1e8aa: 02400007
+ OR.W D0,D5 ;1e8ae: 8a40
+ ORI.W #$0380,D5 ;1e8b0: 00450380
+ MOVE.W $20(A6),D0 ;1e8b4: 302e0020
+ MOVE.W $22(A6),D3 ;1e8b8: 362e0022
+ LEA LAB_1E8CA(PC),A0 ;1e8bc: 41fa000c
+ MOVE.W D1,2(A0) ;1e8c0: 31410002
+ BRA.W SUB_1D99C ;1e8c4: 6000f0d6
+LAB_1E8C8:
+ RTS ;1e8c8: 4e75
+LAB_1E8CA:
+ DC.L $00e70000 ;1e8ca
+SUB_1E8CE:
+ CLR.W $F5E(A6) ;1e8ce: 426e0f5e
+ BTST #0,$39(A3) ;1e8d2: 082b00000039
+ BEQ.S LAB_1E8E8 ;1e8d8: 670e
+ BTST #0,$ABF(A6) ;1e8da: 082e00000abf
+ BEQ.S LAB_1E8E6 ;1e8e0: 6704
+LAB_1E8E2:
+ ST $F5E(A6) ;1e8e2: 50ee0f5e
+LAB_1E8E6:
+ RTS ;1e8e6: 4e75
+LAB_1E8E8:
+ BTST #0,$ABF(A6) ;1e8e8: 082e00000abf
+ BEQ.S LAB_1E8E2 ;1e8ee: 67f2
+ RTS ;1e8f0: 4e75
+SUB_1E8F2:
+ MOVE.W $ACC(A6),D1 ;1e8f2: 322e0acc
+ CMP.W #$0001,D1 ;1e8f6: b27c0001
+ BLS.S LAB_1E91C ;1e8fa: 6320
+ ANDI.W #$0001,D1 ;1e8fc: 02410001
+ LEA $112(A6),A0 ;1e900: 41ee0112
+ MOVE.B 0(A0,D1.W),D1 ;1e904: 12301000
+ MULU #$01d2,D1 ;1e908: c2fc01d2
+ LEA $298(A6),A0 ;1e90c: 41ee0298
+ ADDA.W D1,A0 ;1e910: d0c1
+ TST.W $18(A0) ;1e912: 4a680018
+ BEQ.S LAB_1E91A ;1e916: 6702
+ MOVEQ #-3,D2 ;1e918: 74fd
+LAB_1E91A:
+ RTS ;1e91a: 4e75
+LAB_1E91C:
+ ANDI.W #$0001,D1 ;1e91c: 02410001
+ RTS ;1e920: 4e75
+SUB_1E922:
+ BSR.S SUB_1E8CE ;1e922: 61aa
+ MOVE.W $ACE(A6),D0 ;1e924: 302e0ace
+ ADD.W D0,D0 ;1e928: d040
+ BTST #0,$ABF(A6) ;1e92a: 082e00000abf
+ BEQ.S LAB_1E934 ;1e930: 6702
+ ADDQ.W #1,D0 ;1e932: 5240
+LAB_1E934:
+ MOVE.W D0,$E6(A6) ;1e934: 3d4000e6
+ MOVE.W $ABE(A6),$E4(A6) ;1e938: 3d6e0abe00e4
+ MOVE.W D0,-(A7) ;1e93e: 3f00
+ MOVE.W $ABE(A6),D0 ;1e940: 302e0abe
+ ANDI.W #$0001,D0 ;1e944: 02400001
+ MOVE.W $ACC(A6),D2 ;1e948: 342e0acc
+ ANDI.W #$0001,D2 ;1e94c: 02420001
+ ADD.W D0,D2 ;1e950: d440
+ OR.W $F56(A6),D2 ;1e952: 846e0f56
+ MOVE.W (A7)+,D0 ;1e956: 301f
+ MOVEA.L A3,A2 ;1e958: 244b
+ MOVE.L A0,-(A7) ;1e95a: 2f08
+ BSR.W SUB_1D7B0 ;1e95c: 6100ee52
+ MOVEA.L (A7)+,A0 ;1e960: 205f
+ BMI.S LAB_1E96C ;1e962: 6b08
+ ANDI.W #$f800,(A0) ;1e964: 0250f800
+ BSR.W SUB_1E978 ;1e968: 6100000e
+LAB_1E96C:
+ RTS ;1e96c: 4e75
+LAB_1E96E:
+ ;1e96e
+ ;DC.B $32,$3c,$3e,$3d,$3f,$40,$41,$3b,$49,$00
+ DC.B "2<>=?@A;I",0
+SUB_1E978:
+ BSR.W SUB_1EBA0 ;1e978: 61000226
+ MOVEQ #$11,D0 ;1e97c: 7011
+LAB_1E97E:
+ MOVE.B $6A(A6),D1 ;1e97e: 122e006a
+ BEQ.S LAB_1E98C ;1e982: 6708
+ CMP.B 1(A2),D1 ;1e984: b22a0001
+ BEQ.S LAB_1E9A4 ;1e988: 671a
+ BRA.S LAB_1E99C ;1e98a: 6010
+LAB_1E98C:
+ LEA LAB_1E96E(PC),A1 ;1e98c: 43faffe0
+ MOVE.B 1(A2),D1 ;1e990: 122a0001
+LAB_1E994:
+ CMP.B (A1)+,D1 ;1e994: b219
+ BEQ.S LAB_1E9A4 ;1e996: 670c
+ TST.B (A1) ;1e998: 4a11
+ BNE.S LAB_1E994 ;1e99a: 66f8
+LAB_1E99C:
+ ADDQ.W #4,A2 ;1e99c: 584a
+ DBF D0,LAB_1E97E ;1e99e: 51c8ffde
+ RTS ;1e9a2: 4e75
+LAB_1E9A4:
+ MOVE.B (A0),D0 ;1e9a4: 1010
+ ANDI.W #$0080,D0 ;1e9a6: 02400080
+ MOVE.L (A2),(A0) ;1e9aa: 2092
+ AND.B D0,(A0) ;1e9ac: c110
+ CLR.L (A2) ;1e9ae: 4292
+ RTS ;1e9b0: 4e75
+LAB_1E9B2:
+ ;1e9b2
+ ;DC.B $54,$3d,$55,$3d,$56,$3d,$57,$40,$58,$3e,$59,$41,$00,$00
+ DC.B "T=U=V=W@X>YA",0,0
+LAB_1E9C0:
+ MOVEQ #0,D3 ;1e9c0: 7600
+ MOVE.B (A0),D3 ;1e9c2: 1610
+ ANDI.W #$0007,D3 ;1e9c4: 02430007
+ SUBQ.W #1,D3 ;1e9c8: 5343
+ MOVE.W D3,$B04(A6) ;1e9ca: 3d430b04
+ LEA $AE0(A6),A2 ;1e9ce: 45ee0ae0
+ MOVE.B 0(A2,D3.W),$B0B(A6) ;1e9d2: 1d7230000b0b
+ CLR.W $F56(A6) ;1e9d8: 426e0f56
+ CMPI.W #$0038,$B0A(A6) ;1e9dc: 0c6e00380b0a
+ BNE.S LAB_1E9EA ;1e9e2: 6606
+ ORI.W #$0020,$F56(A6) ;1e9e4: 006e00200f56
+LAB_1E9EA:
+ MOVEA.L $F66(A6),A2 ;1e9ea: 246e0f66
+ MOVE.B 1(A0),D0 ;1e9ee: 10280001
+ LEA LAB_1E9B2(PC),A1 ;1e9f2: 43faffbe
+LAB_1E9F6:
+ CMP.B (A1)+,D0 ;1e9f6: b019
+ BEQ.S LAB_1EA00 ;1e9f8: 6706
+ TST.B (A1)+ ;1e9fa: 4a19
+ BNE.S LAB_1E9F6 ;1e9fc: 66f8
+ RTS ;1e9fe: 4e75
+LAB_1EA00:
+ MOVE.L A0,-(A7) ;1ea00: 2f08
+ MOVE.L A5,-(A7) ;1ea02: 2f0d
+ ADDQ.W #1,A5 ;1ea04: 524d
+ ADDQ.W #4,A0 ;1ea06: 5848
+ BTST #0,$ABF(A6) ;1ea08: 082e00000abf
+ BEQ.S LAB_1EA14 ;1ea0e: 6704
+ SUBQ.W #8,A0 ;1ea10: 5148
+ SUBQ.W #2,A5 ;1ea12: 554d
+LAB_1EA14:
+ BSET #0,(A5) ;1ea14: 08d50000
+ MOVEA.L (A7)+,A5 ;1ea18: 2a5f
+ ST $98(A6) ;1ea1a: 50ee0098
+ MOVE.B 1(A0),D0 ;1ea1e: 10280001
+ CMP.B (A1),D0 ;1ea22: b011
+ BNE.S LAB_1EA54 ;1ea24: 662e
+ ANDI.B #$f8,(A0) ;1ea26: 021000f8
+ MOVE.B D0,$6A(A6) ;1ea2a: 1d40006a
+ MOVEQ #3,D6 ;1ea2e: 7c03
+ ADD.B 3(A2),D6 ;1ea30: dc2a0003
+ ADD.W $B04(A6),D6 ;1ea34: dc6e0b04
+ MOVE.B D6,$6B(A6) ;1ea38: 1d46006b
+ BSR.W SUB_1E922 ;1ea3c: 6100fee4
+ BSR.W SUB_1EE00 ;1ea40: 610003be
+ CLR.W $6A(A6) ;1ea44: 426e006a
+ MOVEA.L (A7)+,A0 ;1ea48: 205f
+ MOVEA.L $AD0(A6),A1 ;1ea4a: 226e0ad0
+ ADDQ.B #8,(A1) ;1ea4e: 5011
+ MOVEQ #0,D0 ;1ea50: 7000
+ RTS ;1ea52: 4e75
+LAB_1EA54:
+ MOVEA.L (A7)+,A0 ;1ea54: 205f
+ MOVEQ #-2,D2 ;1ea56: 74fe
+LAB_1EA58:
+ MOVEA.L $AD0(A6),A1 ;1ea58: 226e0ad0
+ MOVE.B #$06,(A1) ;1ea5c: 12bc0006
+ MOVE.W $ABE(A6),D0 ;1ea60: 302e0abe
+ ANDI.W #$0001,D0 ;1ea64: 02400001
+ ADD.W $ACE(A6),D0 ;1ea68: d06e0ace
+ ADD.W $ACE(A6),D0 ;1ea6c: d06e0ace
+ LEA $C4(A6),A0 ;1ea70: 41ee00c4
+ MOVE.B #$04,0(A0,D0.W) ;1ea74: 11bc00040000
+ ADD.W D0,D0 ;1ea7a: d040
+ MOVE.W D2,8(A0,D0.W) ;1ea7c: 31820008
+ MOVEQ #-1,D0 ;1ea80: 70ff
+ RTS ;1ea82: 4e75
+LAB_1EA84:
+ MOVE.L A0,-(A7) ;1ea84: 2f08
+ LEA 1(A0),A1 ;1ea86: 43e80001
+ MOVEA.L A3,A0 ;1ea8a: 204b
+ BSR.W SUB_1F0CA ;1ea8c: 6100063c
+ MOVE.B #$04,$F7B(A6) ;1ea90: 1d7c00040f7b
+ MOVEA.L (A7)+,A0 ;1ea96: 205f
+ MOVE.B #$65,1(A0) ;1ea98: 117c00650001
+ CLR.W 2(A0) ;1ea9e: 42680002
+ BRA.W SUB_1EE00 ;1eaa2: 6000035c
+LAB_1EAA6:
+ BSR.S SUB_1EACA ;1eaa6: 6122
+ ADDQ.B #1,1(A0) ;1eaa8: 52280001
+ CMPI.B #$2d,1(A0) ;1eaac: 0c28002d0001
+ BNE.S LAB_1EABE ;1eab2: 660a
+ MOVE.B #$65,1(A0) ;1eab4: 117c00650001
+ ANDI.B #$80,(A0) ;1eaba: 02100080
+LAB_1EABE:
+ RTS ;1eabe: 4e75
+LAB_1EAC0:
+ BSR.S SUB_1EACA ;1eac0: 6108
+ ANDI.L #$80000000,(A0) ;1eac2: 029080000000
+ RTS ;1eac8: 4e75
+SUB_1EACA:
+ MOVE.B #$04,$F7B(A6) ;1eaca: 1d7c00040f7b
+ MOVEA.L $AD0(A6),A1 ;1ead0: 226e0ad0
+ MOVE.B #$05,(A1) ;1ead4: 12bc0005
+ MOVE.B 1(A0),D0 ;1ead8: 10280001
+ SUBI.W #$0022,D0 ;1eadc: 04400022
+ ANDI.W #$001f,D0 ;1eae0: 0240001f
+ ADD.W D0,D0 ;1eae4: d040
+ MOVE.W LAB_1EB00(PC,D0.W),D0 ;1eae6: 303b0018
+ MOVE.W $3A(A3),D1 ;1eaea: 322b003a
+ ADD.W D0,D1 ;1eaee: d240
+ BCC.S LAB_1EAF4 ;1eaf0: 6402
+ MOVEQ #-1,D1 ;1eaf2: 72ff
+LAB_1EAF4:
+ MOVE.W D1,$3A(A3) ;1eaf4: 3741003a
+ ST $C18(A6) ;1eaf8: 50ee0c18
+ BRA.W SUB_1EE00 ;1eafc: 60000302
+LAB_1EB00:
+ DC.L $24b84042,$49705f78,$353eb798,$5bcc8084 ;1eb00
+ DC.L $49704970 ;1eb10
+ DC.W $4970 ;1eb14
+LAB_1EB16:
+ MOVEA.L $AD0(A6),A1 ;1eb16: 226e0ad0
+ MOVE.B #$0c,(A1) ;1eb1a: 12bc000c
+ ADDQ.W #2,$286(A6) ;1eb1e: 546e0286
+ RTS ;1eb22: 4e75
+LAB_1EB24:
+ MOVEA.L $AD0(A6),A1 ;1eb24: 226e0ad0
+ MOVE.B #$0c,(A1) ;1eb28: 12bc000c
+ MOVEA.L $B3A(A6),A1 ;1eb2c: 226e0b3a
+ MOVE.W $20(A6),$44(A6) ;1eb30: 3d6e00200044
+ ADDA.W $20(A6),A1 ;1eb36: d2ee0020
+ MOVE.B (A1),D0 ;1eb3a: 1011
+ ANDI.W #$007e,D0 ;1eb3c: 0240007e
+ CMP.B #$26,D0 ;1eb40: b03c0026
+ BEQ.S SUB_1EB70 ;1eb44: 672a
+ CMP.B #$2a,D0 ;1eb46: b03c002a
+ BEQ.S LAB_1EB4E ;1eb4a: 6702
+ RTS ;1eb4c: 4e75
+LAB_1EB4E:
+ BSR.S SUB_1EB70 ;1eb4e: 6120
+ CLR.L $80(A6) ;1eb50: 42ae0080
+ MOVE.B #$24,$80(A6) ;1eb54: 1d7c00240080
+ MOVE.W $22(A6),D2 ;1eb5a: 342e0022
+ ANDI.W #$0003,D2 ;1eb5e: 02420003
+ MOVE.B LAB_1EB6C(PC,D2.W),$83(A6) ;1eb62: 1d7b20080083
+ BRA.W LAB_1A1E2 ;1eb68: 6000b678
+LAB_1EB6C:
+ DC.L $00020301 ;1eb6c
+SUB_1EB70:
+ MOVEQ #$20,D2 ;1eb70: 7420
+ MOVEQ #-32,D0 ;1eb72: 70e0
+ BSR.S SUB_1EB92 ;1eb74: 611c
+ BEQ.S LAB_1EB8A ;1eb76: 6712
+ MOVEQ #$20,D0 ;1eb78: 7020
+ BSR.S SUB_1EB92 ;1eb7a: 6116
+ BEQ.S LAB_1EB8A ;1eb7c: 670c
+ MOVEQ #-1,D0 ;1eb7e: 70ff
+ BSR.S SUB_1EB92 ;1eb80: 6110
+ BEQ.S LAB_1EB8A ;1eb82: 6706
+ MOVEQ #1,D0 ;1eb84: 7001
+ BSR.S SUB_1EB92 ;1eb86: 610a
+ BNE.S LAB_1EB8C ;1eb88: 6602
+LAB_1EB8A:
+ MOVEQ #$1E,D2 ;1eb8a: 741e
+LAB_1EB8C:
+ MOVE.B D2,(A1) ;1eb8c: 1282
+ BRA.W LAB_1D576 ;1eb8e: 6000e9e6
+SUB_1EB92:
+ MOVE.B 0(A1,D0.W),D0 ;1eb92: 10310000
+ ANDI.W #$007e,D0 ;1eb96: 0240007e
+ CMP.B #$1e,D0 ;1eb9a: b03c001e
+ RTS ;1eb9e: 4e75
+SUB_1EBA0:
+ MOVE.W $ACE(A6),D0 ;1eba0: 302e0ace
+ MULU #$01d2,D0 ;1eba4: c0fc01d2
+ LEA $298(A6),A2 ;1eba8: 45ee0298
+ ADDA.W D0,A2 ;1ebac: d4c0
+ LEA $6E(A2),A2 ;1ebae: 45ea006e
+ RTS ;1ebb2: 4e75
+LAB_1EBB4:
+ MOVEQ #0,D3 ;1ebb4: 7600
+ MOVE.B 3(A0),D3 ;1ebb6: 16280003
+ LSR.W #3,D3 ;1ebba: e64b
+ ANDI.W #$0007,D3 ;1ebbc: 02430007
+ MOVE.B D3,$B05(A6) ;1ebc0: 1d430b05
+ MOVE.B (A0),D3 ;1ebc4: 1610
+ SUBQ.W #1,D3 ;1ebc6: 5343
+ ANDI.W #$0007,D3 ;1ebc8: 02430007
+ LEA $AE0(A6),A1 ;1ebcc: 43ee0ae0
+ MOVE.B 0(A1,D3.W),$B0B(A6) ;1ebd0: 1d7130000b0b
+ MOVE.L A3,-(A7) ;1ebd6: 2f0b
+ JSR SUB_15630 ;1ebd8: 4eb900015630
+ MOVEA.L (A7)+,A3 ;1ebde: 265f
+ MOVE.W D0,D4 ;1ebe0: 3800
+ SUBI.W #$005f,D4 ;1ebe2: 0444005f
+ ADD.W D4,D4 ;1ebe6: d844
+ LEA LAB_1F328(PC),A1 ;1ebe8: 43fa073e
+ ADDA.W 0(A1,D4.W),A1 ;1ebec: d2f14000
+ MOVEQ #0,D2 ;1ebf0: 7400
+ MOVE.B 0(A1,D3.W),D2 ;1ebf2: 14313000
+ LEA LAB_1F366(PC),A1 ;1ebf6: 43fa076e
+ ASL.W #2,D2 ;1ebfa: e542
+ MOVE.B 0(A1,D2.W),$F59(A6) ;1ebfc: 1d7120000f59
+ MOVE.B 3(A1,D2.W),D4 ;1ec02: 18312003
+ MOVE.B D4,$B08(A6) ;1ec06: 1d440b08
+ ANDI.W #$0003,D4 ;1ec0a: 02440003
+ MOVE.B D4,$F5A(A6) ;1ec0e: 1d440f5a
+ MOVEQ #0,D4 ;1ec12: 7800
+ MOVE.B 2(A1,D2.W),$B01(A6) ;1ec14: 1d7120020b01
+ CLR.W $F56(A6) ;1ec1a: 426e0f56
+ MOVE.B 1(A1,D2.W),D5 ;1ec1e: 1a312001
+ MOVE.B D5,$FA0(A6) ;1ec22: 1d450fa0
+ BTST #7,D5 ;1ec26: 08050007
+ BEQ.S LAB_1EC32 ;1ec2a: 6706
+ ORI.W #$0020,$F56(A6) ;1ec2c: 006e00200f56
+LAB_1EC32:
+ MOVE.W $34(A3),D5 ;1ec32: 3a2b0034
+ LSR.W #5,D5 ;1ec36: ea4d
+ ADD.W $24(A3),D5 ;1ec38: da6b0024
+ CLR.W $AB2(A6) ;1ec3c: 426e0ab2
+ MOVEA.L $F66(A6),A1 ;1ec40: 226e0f66
+ ASL.W #2,D3 ;1ec44: e543
+ MOVE.W D3,D4 ;1ec46: 3803
+ ADD.B 2(A1),D3 ;1ec48: d6290002
+ MOVE.W D3,D1 ;1ec4c: 3203
+ LSR.W #1,D1 ;1ec4e: e249
+ BNE.S LAB_1EC54 ;1ec50: 6602
+ MOVEQ #1,D1 ;1ec52: 7201
+LAB_1EC54:
+ MOVE.W D1,D2 ;1ec54: 3401
+ MULU $B04(A6),D1 ;1ec56: c2ee0b04
+ LSR.W #1,D1 ;1ec5a: e249
+ ADD.W D2,D1 ;1ec5c: d242
+ MOVE.W D1,$B06(A6) ;1ec5e: 3d410b06
+ ADDQ.W #1,D1 ;1ec62: 5241
+ ANDI.W #$fffe,D1 ;1ec64: 0241fffe
+ ASL.W #5,D1 ;1ec68: eb41
+ MOVE.W $20(A3),D2 ;1ec6a: 342b0020
+ SUB.W D1,D2 ;1ec6e: 9441
+ BCC.S LAB_1EC74 ;1ec70: 6402
+ RTS ;1ec72: 4e75
+LAB_1EC74:
+ MOVE.W D2,$20(A3) ;1ec74: 37420020
+ ADDI.W #$000c,D3 ;1ec78: 0643000c
+ MOVEQ #0,D1 ;1ec7c: 7200
+ MOVE.W 6(A1),D1 ;1ec7e: 32290006
+ ANDI.W #$0007,D1 ;1ec82: 02410007
+ MOVE.W D1,$B12(A6) ;1ec86: 3d410b12
+ ADD.W D1,D1 ;1ec8a: d241
+ MOVE.W D1,D2 ;1ec8c: 3401
+ ADD.W D2,D2 ;1ec8e: d442
+ ADD.W D2,D1 ;1ec90: d242
+ ADDI.W #$0046,D1 ;1ec92: 06410046
+ ADD.L A3,D1 ;1ec96: d28b
+ MOVE.L D1,$B0E(A6) ;1ec98: 2d410b0e
+ MOVEA.L D1,A2 ;1ec9c: 2441
+ MOVE.W (A2),D2 ;1ec9e: 3412
+ SUB.W D2,D3 ;1eca0: 9642
+ ASL.W #2,D3 ;1eca2: e543
+ BSR.W SUB_1EE00 ;1eca4: 6100015a
+ MOVE.W $B04(A6),D0 ;1eca8: 302e0b04
+ ASL.W #3,D0 ;1ecac: e740
+ ADD.W D0,D3 ;1ecae: d640
+ TST.W D3 ;1ecb0: 4a43
+ BMI.S LAB_1ECD0 ;1ecb2: 6b1c
+ MOVE.W $AB0(A6),D2 ;1ecb4: 342e0ab0
+ MULU #$05e5,D2 ;1ecb8: c4fc05e5
+ ADDI.W #$0029,D2 ;1ecbc: 06420029
+ MOVE.W D2,$AB0(A6) ;1ecc0: 3d420ab0
+ MULU #$0064,D2 ;1ecc4: c4fc0064
+ SWAP D2 ;1ecc8: 4842
+ CMP.W D3,D2 ;1ecca: b443
+ BLS.W LAB_1ED96 ;1eccc: 630000c8
+LAB_1ECD0:
+ MOVE.W (A2),D2 ;1ecd0: 3412
+ MOVE.W $B04(A6),D3 ;1ecd2: 362e0b04
+ ADDQ.W #1,D3 ;1ecd6: 5243
+ MULU D3,D2 ;1ecd8: c4c3
+ LSR.W #2,D2 ;1ecda: e44a
+ ADDQ.W #2,D2 ;1ecdc: 5442
+ CMP.W #$00fe,D2 ;1ecde: b47c00fe
+ BLS.S LAB_1ECE8 ;1ece2: 6304
+ MOVE.W #$00fe,D2 ;1ece4: 343c00fe
+LAB_1ECE8:
+ MOVE.W $B00(A6),D0 ;1ece8: 302e0b00
+ ADDI.W #$000a,D5 ;1ecec: 0645000a
+ MULU D5,D0 ;1ecf0: c0c5
+ DIVU #$9600,D0 ;1ecf2: 80fc9600
+ ADDQ.W #3,D0 ;1ecf6: 5640
+ CMP.W #$00fe,D0 ;1ecf8: b07c00fe
+ BLS.S LAB_1ED02 ;1ecfc: 6304
+ MOVE.W #$00fe,D0 ;1ecfe: 303c00fe
+LAB_1ED02:
+ TST.B $B08(A6) ;1ed02: 4a2e0b08
+ BPL.S LAB_1ED0A ;1ed06: 6a02
+ ADDQ.W #4,D2 ;1ed08: 5842
+LAB_1ED0A:
+ ADD.W $B04(A6),D2 ;1ed0a: d46e0b04
+ MOVE.W D2,D5 ;1ed0e: 3a02
+ ASL.W #8,D5 ;1ed10: e145
+ MOVE.B D0,D5 ;1ed12: 1a00
+ MULU D0,D2 ;1ed14: c4c0
+ LSR.W #2,D2 ;1ed16: e44a
+ MOVE.W D2,$AB4(A6) ;1ed18: 3d420ab4
+ BSR.W SUB_1EE24 ;1ed1c: 61000106
+ MOVE.W $20(A6),D0 ;1ed20: 302e0020
+ MOVE.W $22(A6),D3 ;1ed24: 362e0022
+ CLR.W $F80(A6) ;1ed28: 426e0f80
+SUB_1ED2C:
+ MOVE.L A3,-(A7) ;1ed2c: 2f0b
+ LEA $F58(A6),A0 ;1ed2e: 41ee0f58
+ TST.W $F80(A6) ;1ed32: 4a6e0f80
+ BEQ.S LAB_1ED3E ;1ed36: 6706
+ ORI.B #$80,1(A0) ;1ed38: 002800800001
+LAB_1ED3E:
+ MOVE.B 1(A0),D7 ;1ed3e: 1e280001
+ ANDI.W #$007f,D7 ;1ed42: 0247007f
+ CMP.B #$70,D7 ;1ed46: be3c0070
+ BLS.S LAB_1ED5C ;1ed4a: 6310
+ CMP.B #$73,D7 ;1ed4c: be3c0073
+ BLS.W LAB_1F05E ;1ed50: 6300030c
+ CMP.B #$76,D7 ;1ed54: be3c0076
+ BLS.W LAB_1F020 ;1ed58: 630002c6
+LAB_1ED5C:
+ CMP.B #$66,D7 ;1ed5c: be3c0066
+ BEQ.W LAB_1EE62 ;1ed60: 67000100
+ OR.W $F56(A6),D2 ;1ed64: 846e0f56
+ BSR.W SUB_1D99C ;1ed68: 6100ec32
+LAB_1ED6C:
+ MOVEA.L (A7)+,A3 ;1ed6c: 265f
+ TST.W $F80(A6) ;1ed6e: 4a6e0f80
+ BNE.S LAB_1EDCE ;1ed72: 665a
+ MOVE.W $B06(A6),D1 ;1ed74: 322e0b06
+ ADD.W D1,D1 ;1ed78: d241
+ ADDQ.W #4,D1 ;1ed7a: 5841
+ TST.W $288(A6) ;1ed7c: 4a6e0288
+ BEQ.S LAB_1ED88 ;1ed80: 6706
+ MOVE.B D1,D0 ;1ed82: 1001
+ LSR.B #2,D0 ;1ed84: e408
+ SUB.B D0,D1 ;1ed86: 9200
+LAB_1ED88:
+ MOVEA.L $AD0(A6),A1 ;1ed88: 226e0ad0
+ MOVE.B D1,(A1) ;1ed8c: 1281
+ MOVEQ #0,D1 ;1ed8e: 7200
+ MOVE.W $B06(A6),D1 ;1ed90: 322e0b06
+ BRA.S LAB_1EDCE ;1ed94: 6038
+LAB_1ED96:
+ TST.W $F80(A6) ;1ed96: 4a6e0f80
+ BNE.S LAB_1EDCE ;1ed9a: 6632
+ MOVEA.L $AD0(A6),A1 ;1ed9c: 226e0ad0
+ MOVE.B #$06,(A1) ;1eda0: 12bc0006
+ MOVE.W $ABE(A6),D0 ;1eda4: 302e0abe
+ ANDI.W #$0001,D0 ;1eda8: 02400001
+ ADD.W $ACE(A6),D0 ;1edac: d06e0ace
+ ADD.W $ACE(A6),D0 ;1edb0: d06e0ace
+ LEA $C4(A6),A0 ;1edb4: 41ee00c4
+ MOVE.B #$04,0(A0,D0.W) ;1edb8: 11bc00040000
+ ADD.W D0,D0 ;1edbe: d040
+ MOVE.W #$ffff,8(A0,D0.W) ;1edc0: 31bcffff0008
+ MOVEQ #0,D1 ;1edc6: 7200
+ MOVE.W $B06(A6),D1 ;1edc8: 322e0b06
+ LSR.W #1,D1 ;1edcc: e249
+LAB_1EDCE:
+ TST.W $F80(A6) ;1edce: 4a6e0f80
+ BNE.S LAB_1EE22 ;1edd2: 664e
+ ST $98(A6) ;1edd4: 50ee0098
+ MOVE.L A3,-(A7) ;1edd8: 2f0b
+ MOVE.W $B12(A6),D0 ;1edda: 302e0b12
+ ADD.W D1,D1 ;1edde: d241
+ ADDQ.W #6,D1 ;1ede0: 5c41
+ MOVEA.L A3,A0 ;1ede2: 204b
+ BSR.W SUB_1F71A ;1ede4: 61000934
+ MOVEA.L (A7)+,A3 ;1ede8: 265f
+ MOVEQ #0,D1 ;1edea: 7200
+ MOVE.W $B06(A6),D1 ;1edec: 322e0b06
+ ASL.W #4,D1 ;1edf0: e941
+ MOVEA.L A3,A0 ;1edf2: 204b
+ MOVE.W $ACE(A6),D0 ;1edf4: 302e0ace
+ MOVEQ #3,D2 ;1edf8: 7403
+ JMP LAB_17D40 ;1edfa: 4ef900017d40
+SUB_1EE00:
+ MOVE.L D0,-(A7) ;1ee00: 2f00
+ MOVE.W $F6A(A6),D0 ;1ee02: 302e0f6a
+ LSR.W #7,D0 ;1ee06: ee48
+ ANDI.W #$003f,D0 ;1ee08: 0240003f
+ BEQ.S LAB_1EE20 ;1ee0c: 6712
+ MOVEM.L D1-D7/A0-A5,-(A7) ;1ee0e: 48e77ffc
+ MOVEQ #0,D1 ;1ee12: 7200
+ MOVE.W $20(A6),D2 ;1ee14: 342e0020
+ BSR.W SUB_207AA ;1ee18: 61001990
+ MOVEM.L (A7)+,D1-D7/A0-A5 ;1ee1c: 4cdf3ffe
+LAB_1EE20:
+ MOVE.L (A7)+,D0 ;1ee20: 201f
+LAB_1EE22:
+ RTS ;1ee22: 4e75
+SUB_1EE24:
+ LEA $116(A6),A2 ;1ee24: 45ee0116
+ MOVE.W D3,-(A7) ;1ee28: 3f03
+ MOVE.W $ACC(A6),D3 ;1ee2a: 362e0acc
+ ANDI.W #$0001,D3 ;1ee2e: 02430001
+ MOVE.W $22(A6),D2 ;1ee32: 342e0022
+ ANDI.W #$0003,D2 ;1ee36: 02420003
+ ADD.W D2,D2 ;1ee3a: d442
+ ADD.W D3,D2 ;1ee3c: d443
+ ADD.W D2,D2 ;1ee3e: d442
+ BTST #0,$ABF(A6) ;1ee40: 082e00000abf
+ BEQ.S LAB_1EE4A ;1ee46: 6702
+ ADDQ.W #1,D2 ;1ee48: 5242
+LAB_1EE4A:
+ MOVE.B LAB_1EE52(PC,D2.W),D2 ;1ee4a: 143b2006
+ MOVE.W (A7)+,D3 ;1ee4e: 361f
+ RTS ;1ee50: 4e75
+LAB_1EE52:
+ DC.L $00010102,$06030300,$08070706,$02050508 ;1ee52
+LAB_1EE62:
+ MOVE.W $B0A(A6),D6 ;1ee62: 3c2e0b0a
+ TST.W $F80(A6) ;1ee66: 4a6e0f80
+ BNE.S LAB_1EEB4 ;1ee6a: 6648
+ CMP.W #$0013,D6 ;1ee6c: bc7c0013
+ BEQ.W LAB_1EEE4 ;1ee70: 67000072
+ CMP.W #$001e,D6 ;1ee74: bc7c001e
+ BEQ.W LAB_1EEEA ;1ee78: 67000070
+ CMP.W #$0028,D6 ;1ee7c: bc7c0028
+ BEQ.W LAB_1EF6E ;1ee80: 670000ec
+ CMP.W #$002b,D6 ;1ee84: bc7c002b
+ BEQ.W LAB_1EED2 ;1ee88: 67000048
+ CMP.W #$0035,D6 ;1ee8c: bc7c0035
+ BEQ.W LAB_1EECC ;1ee90: 6700003a
+ CMP.W #$002c,D6 ;1ee94: bc7c002c
+ BEQ.W LAB_1EEDE ;1ee98: 67000044
+ CMP.W #$002d,D6 ;1ee9c: bc7c002d
+ BEQ.W LAB_1EED8 ;1eea0: 67000036
+ CMP.W #$002e,D6 ;1eea4: bc7c002e
+ BEQ.W LAB_1EEC0 ;1eea8: 67000016
+ CMP.W #$002a,D6 ;1eeac: bc7c002a
+ BEQ.W LAB_1EFB0 ;1eeb0: 670000fe
+LAB_1EEB4:
+ CMP.W #$001d,D6 ;1eeb4: bc7c001d
+ BEQ.W LAB_1EF12 ;1eeb8: 67000058
+ BRA.W LAB_1ED6C ;1eebc: 6000feae
+LAB_1EEC0:
+ ANDI.W #$ff00,D5 ;1eec0: 0245ff00
+ LSR.W #4,D5 ;1eec4: e84d
+ LEA $288(A6),A0 ;1eec6: 41ee0288
+ BRA.S LAB_1EEFC ;1eeca: 6030
+LAB_1EECC:
+ LEA $286(A6),A0 ;1eecc: 41ee0286
+ BRA.S LAB_1EEF6 ;1eed0: 6024
+LAB_1EED2:
+ LEA $280(A6),A0 ;1eed2: 41ee0280
+ BRA.S LAB_1EEF6 ;1eed6: 601e
+LAB_1EED8:
+ LEA $282(A6),A0 ;1eed8: 41ee0282
+ BRA.S LAB_1EEF6 ;1eedc: 6018
+LAB_1EEDE:
+ LEA $284(A6),A0 ;1eede: 41ee0284
+ BRA.S LAB_1EEF6 ;1eee2: 6012
+LAB_1EEE4:
+ LEA $27C(A6),A0 ;1eee4: 41ee027c
+ BRA.S LAB_1EEF6 ;1eee8: 600c
+LAB_1EEEA:
+ ANDI.W #$ff00,D5 ;1eeea: 0245ff00
+ LSR.W #6,D5 ;1eeee: ec4d
+ LEA $27E(A6),A0 ;1eef0: 41ee027e
+ BRA.S LAB_1EEFC ;1eef4: 6006
+LAB_1EEF6:
+ ANDI.W #$ff00,D5 ;1eef6: 0245ff00
+ LSR.W #5,D5 ;1eefa: ea4d
+LAB_1EEFC:
+ ADDQ.W #1,D5 ;1eefc: 5245
+ TST.W (A0) ;1eefe: 4a50
+ BMI.W LAB_1ED6C ;1ef00: 6b00fe6a
+ ADD.W D5,(A0) ;1ef04: db50
+ ST $C1A(A6) ;1ef06: 50ee0c1a
+ ST $9E(A6) ;1ef0a: 50ee009e
+ BRA.W LAB_1ED6C ;1ef0e: 6000fe5c
+LAB_1EF12:
+ ANDI.W #$ff80,D5 ;1ef12: 0245ff80
+ LSR.W #7,D5 ;1ef16: ee4d
+ SUBQ.W #5,D5 ;1ef18: 5b45
+ BCS.S LAB_1EF5A ;1ef1a: 653e
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1ef1c: 48e7fffc
+ MOVE.W D5,-(A7) ;1ef20: 3f05
+ MOVE.W D3,D6 ;1ef22: 3c03
+ ANDI.W #$0003,D6 ;1ef24: 02460003
+ JSR SUB_17AEC ;1ef28: 4eb900017aec
+ MOVE.W (A7)+,D5 ;1ef2e: 3a1f
+ CMP.B #$ff,D2 ;1ef30: b43c00ff
+ BEQ.S LAB_1EF56 ;1ef34: 6720
+ TST.B (A1) ;1ef36: 4a11
+ BMI.S LAB_1EF56 ;1ef38: 6b1c
+ LEA LAB_1EF5E(PC),A2 ;1ef3a: 45fa0022
+ ASL.W #1,D5 ;1ef3e: e345
+ MOVE.W D5,$C(A2) ;1ef40: 3545000c
+ LSR.W #5,D5 ;1ef44: ea4d
+ ADDQ.W #8,D5 ;1ef46: 5045
+ MOVE.B D5,$B(A2) ;1ef48: 1545000b
+ MOVE.B $23(A6),5(A2) ;1ef4c: 156e00230005
+ BSR.W SUB_1D24A ;1ef52: 6100e2f6
+LAB_1EF56:
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1ef56: 4cdf3fff
+LAB_1EF5A:
+ BRA.W LAB_1ED6C ;1ef5a: 6000fe10
+LAB_1EF5E:
+ DC.L $00100000,$00000107,$0f015014,$00640400 ;1ef5e
+LAB_1EF6E:
+ BSR.W SUB_1F006 ;1ef6e: 61000096
+ MOVE.B 3(A0),D0 ;1ef72: 10280003
+ CMP.B $E4C(A6),D0 ;1ef76: b02e0e4c
+ BHI.W LAB_1ED6C ;1ef7a: 6200fdf0
+ MOVEM.L D0-D7/A0-A4,-(A7) ;1ef7e: 48e7fff8
+ MOVE.L A5,-(A7) ;1ef82: 2f0d
+ MOVEQ #$5E,D6 ;1ef84: 7c5e
+ BSR.W SUB_1F044 ;1ef86: 610000bc
+ BNE.S LAB_1EF9A ;1ef8a: 660e
+ LEA -1(A5),A0 ;1ef8c: 41edffff
+ BSR.W SUB_1DF1A ;1ef90: 6100ef88
+ ANDI.L #$80000000,(A5) ;1ef94: 029580000000
+LAB_1EF9A:
+ MOVEA.L (A7),A5 ;1ef9a: 2a57
+ ADD.W D7,D7 ;1ef9c: de47
+ SUBQ.W #1,D7 ;1ef9e: 5347
+ BSET #0,0(A5,D7.W) ;1efa0: 08f500007000
+ MOVEA.L (A7)+,A5 ;1efa6: 2a5f
+ MOVEM.L (A7)+,D0-D7/A0-A4 ;1efa8: 4cdf1fff
+ BRA.W LAB_1ED6C ;1efac: 6000fdbe
+LAB_1EFB0:
+ BSR.W SUB_1F006 ;1efb0: 61000054
+ MOVE.B 3(A0),D0 ;1efb4: 10280003
+ CMP.B $E4C(A6),D0 ;1efb8: b02e0e4c
+ BLS.S LAB_1F002 ;1efbc: 6344
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1efbe: 48e7fffc
+ MOVEA.L $B3A(A6),A1 ;1efc2: 226e0b3a
+ ADDA.W $20(A6),A1 ;1efc6: d2ee0020
+ MOVE.B (A1),D2 ;1efca: 1411
+ ANDI.W #$007f,D2 ;1efcc: 0242007f
+ CMP.B #$3e,D2 ;1efd0: b43c003e
+ BEQ.S LAB_1EFFE ;1efd4: 6728
+ CMP.B #$3f,D2 ;1efd6: b43c003f
+ BLS.S LAB_1EFE2 ;1efda: 6306
+ CMP.B #$5f,D2 ;1efdc: b43c005f
+ BLS.S LAB_1EFFE ;1efe0: 631c
+LAB_1EFE2:
+ MOVEQ #-1,D3 ;1efe2: 76ff
+ JSR SUB_1A81C ;1efe4: 4eb90001a81c
+ MOVE.B (A1),D2 ;1efea: 1411
+ ANDI.W #$007f,D2 ;1efec: 0242007f
+ CMP.B #$3e,D2 ;1eff0: b43c003e
+ BNE.S LAB_1EFFE ;1eff4: 6608
+ ANDI.B #$80,(A1) ;1eff6: 02110080
+ ORI.B #$70,(A1) ;1effa: 00110070
+LAB_1EFFE:
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1effe: 4cdf3fff
+LAB_1F002:
+ BRA.W LAB_1ED6C ;1f002: 6000fd68
+SUB_1F006:
+ MOVEM.L D2-D3/A3,-(A7) ;1f006: 48e73010
+ CLR.W D2 ;1f00a: 4242
+ MOVE.B D5,D2 ;1f00c: 1405
+ MOVE.W D5,D3 ;1f00e: 3605
+ LSR.W #8,D3 ;1f010: e04b
+ LEA 1(A0),A3 ;1f012: 47e80001
+ BSR.W SUB_20F24 ;1f016: 61001f0c
+ MOVEM.L (A7)+,D2-D3/A3 ;1f01a: 4cdf080c
+ RTS ;1f01e: 4e75
+LAB_1F020:
+ BSR.S SUB_1F006 ;1f020: 61e4
+ MOVE.L A5,-(A7) ;1f022: 2f0d
+ MOVE.L A0,-(A7) ;1f024: 2f08
+ TST.W $F80(A6) ;1f026: 4a6e0f80
+ BNE.S LAB_1F088 ;1f02a: 665c
+ BTST #7,$FA0(A6) ;1f02c: 082e00070fa0
+ BEQ.S LAB_1F088 ;1f032: 6754
+ BSR.W SUB_1E8F2 ;1f034: 6100f8bc
+ BPL.S LAB_1F088 ;1f038: 6a4e
+ MOVEA.L (A7)+,A1 ;1f03a: 225f
+ ADDQ.W #1,A1 ;1f03c: 5249
+ BSR.W LAB_1F0DA ;1f03e: 6100009a
+ BRA.S LAB_1F082 ;1f042: 603e
+SUB_1F044:
+ MOVEA.L $ABA(A6),A5 ;1f044: 2a6e0aba
+ LEA $B6(A5),A5 ;1f048: 4bed00b6
+ MOVEQ #0,D7 ;1f04c: 7e00
+ CMP.B 1(A5),D6 ;1f04e: bc2d0001
+ BEQ.S LAB_1F05C ;1f052: 6708
+ ADDQ.W #1,D7 ;1f054: 5247
+ ADDQ.W #4,A5 ;1f056: 584d
+ CMP.B 1(A5),D6 ;1f058: bc2d0001
+LAB_1F05C:
+ RTS ;1f05c: 4e75
+LAB_1F05E:
+ BSR.S SUB_1F006 ;1f05e: 61a6
+ MOVE.L A5,-(A7) ;1f060: 2f0d
+ TST.W $F80(A6) ;1f062: 4a6e0f80
+ BEQ.S LAB_1F06C ;1f066: 6704
+ MOVE.L A0,-(A7) ;1f068: 2f08
+ BRA.S LAB_1F088 ;1f06a: 601c
+LAB_1F06C:
+ MOVEQ #$65,D6 ;1f06c: 7c65
+ BSR.S SUB_1F044 ;1f06e: 61d4
+ BEQ.S LAB_1F090 ;1f070: 671e
+ MOVE.L A0,-(A7) ;1f072: 2f08
+ BSR.W SUB_1E8F2 ;1f074: 6100f87c
+ BPL.S LAB_1F088 ;1f078: 6a0e
+ MOVEA.L (A7)+,A1 ;1f07a: 225f
+ ADDQ.W #1,A1 ;1f07c: 5249
+ BSR.W LAB_1F0DA ;1f07e: 6100005a
+LAB_1F082:
+ MOVEA.L (A7)+,A5 ;1f082: 2a5f
+LAB_1F084:
+ BRA.W LAB_1ED6C ;1f084: 6000fce6
+LAB_1F088:
+ MOVEA.L (A7)+,A0 ;1f088: 205f
+ BSR.W SUB_1D99C ;1f08a: 6100e910
+ BRA.S LAB_1F082 ;1f08e: 60f2
+LAB_1F090:
+ MOVE.B 1(A0),1(A5) ;1f090: 1b6800010001
+ SUBI.B #$44,1(A5) ;1f096: 042d00440001
+ MOVE.W 2(A0),2(A5) ;1f09c: 3b6800020002
+ MOVEA.L (A7)+,A5 ;1f0a2: 2a5f
+ ADD.W D7,D7 ;1f0a4: de47
+ SUBQ.W #1,D7 ;1f0a6: 5347
+ BSET #0,0(A5,D7.W) ;1f0a8: 08f500007000
+ BRA.S LAB_1F084 ;1f0ae: 60d4
+SUB_1F0B0:
+ CLR.L $27C(A6) ;1f0b0: 42ae027c
+ CLR.L $280(A6) ;1f0b4: 42ae0280
+ CLR.L $282(A6) ;1f0b8: 42ae0282
+ CLR.L $286(A6) ;1f0bc: 42ae0286
+ ST $C1A(A6) ;1f0c0: 50ee0c1a
+ ST $9E(A6) ;1f0c4: 50ee009e
+LAB_1F0C8:
+ RTS ;1f0c8: 4e75
+SUB_1F0CA:
+ MOVE.B (A1),D0 ;1f0ca: 1011
+ SUBI.W #$002d,D0 ;1f0cc: 0440002d
+ CLR.W D2 ;1f0d0: 4242
+ MOVE.B 2(A1),D2 ;1f0d2: 14290002
+ BRA.W LAB_1F12E ;1f0d6: 60000056
+LAB_1F0DA:
+ MOVEM.L D1-D7/A0-A6,-(A7) ;1f0da: 48e77ffe
+ MOVE.L EXT_0.W,D0 ;1f0de: 20380000
+ CMP.L ABSEXECBASE.W,D0 ;1f0e2: b0b80004
+ BNE.S LAB_1F0FE ;1f0e6: 6616
+ MOVEA.L D0,A0 ;1f0e8: 2040
+ MOVE.W #$03dd,D0 ;1f0ea: 303c03dd
+ MOVE.L #$51bac3a1,D1 ;1f0ee: 223c51bac3a1
+LAB_1F0F4:
+ SUB.L (A0)+,D1 ;1f0f4: 9298
+ DBF D0,LAB_1F0F4 ;1f0f6: 51c8fffc
+ SUBQ.L #1,D1 ;1f0fa: 5381
+ BEQ.S LAB_1F110 ;1f0fc: 6712
+LAB_1F0FE:
+ LEA LAB_1F0DA(PC),A0 ;1f0fe: 41faffda
+ LEA LAB_1F0C8(PC),A1 ;1f102: 43faffc4
+ MOVEQ #$A,D1 ;1f106: 720a
+LAB_1F108:
+ MOVE.L (A0)+,(A1)+ ;1f108: 22d8
+ DBF D1,LAB_1F108 ;1f10a: 51c9fffc
+ RTS ;1f10e: 4e75
+LAB_1F110:
+ MOVEM.L (A7)+,D1-D7/A0-A6 ;1f110: 4cdf7ffe
+ CLR.W D0 ;1f114: 4240
+ MOVE.B (A1),D0 ;1f116: 1011
+ SUBI.W #$0071,D0 ;1f118: 04400071
+ CLR.W D2 ;1f11c: 4242
+ MOVE.B 2(A1),D2 ;1f11e: 14290002
+ MOVE.W D1,-(A7) ;1f122: 3f01
+ MOVE.W D2,D1 ;1f124: 3202
+ LSR.W #3,D1 ;1f126: e649
+ MOVE.W D1,$252(A6) ;1f128: 3d410252
+ MOVE.W (A7)+,D1 ;1f12c: 321f
+LAB_1F12E:
+ MOVE.W D2,D1 ;1f12e: 3202
+ LSR.W #6,D1 ;1f130: ec49
+ ADDQ.W #1,D1 ;1f132: 5241
+ ADD.B D1,$44(A0) ;1f134: d3280044
+ CMPI.B #$14,$44(A0) ;1f138: 0c2800140044
+ BLS.S LAB_1F146 ;1f13e: 6306
+ MOVE.B #$14,$44(A0) ;1f140: 117c00140044
+LAB_1F146:
+ MOVE.B 1(A1),D1 ;1f146: 12290001
+ ANDI.W #$0003,D1 ;1f14a: 02410003
+ ANDI.W #$007f,D0 ;1f14e: 0240007f
+ ASL.W #2,D0 ;1f152: e540
+ ADD.W D1,D0 ;1f154: d041
+ SUBI.W #$0028,D2 ;1f156: 04420028
+ BCC.S LAB_1F15E ;1f15a: 6402
+ MOVEQ #0,D2 ;1f15c: 7400
+LAB_1F15E:
+ ADDQ.W #1,D2 ;1f15e: 5242
+ ST $C18(A6) ;1f160: 50ee0c18
+ ADD.W D0,D0 ;1f164: d040
+ LEA LAB_1F174(PC),A1 ;1f166: 43fa000c
+ ADDA.W 0(A1,D0.W),A1 ;1f16a: d2f10000
+ MOVE.L A0,$1016(A6) ;1f16e: 2d481016
+ JMP (A1) ;1f172: 4ed1
+LAB_1F174:
+ DC.L $00a40088,$00cc012e,$0134013a,$01400146 ;1f174
+ DC.L $014c019e,$019c0078,$010a0110,$0116011c ;1f184
+ DC.L $01220040,$0038003c,$00300034,$01280078 ;1f194
+LAB_01F1A4:
+ MOVEQ #$24,D0 ;1f1a4: 7024
+ BRA.S LAB_1F1B6 ;1f1a6: 600e
+LAB_01F1A8:
+ MOVEQ #$34,D0 ;1f1a8: 7034
+ BRA.S LAB_1F1B6 ;1f1aa: 600a
+LAB_01F1AC:
+ MOVEQ #$28,D0 ;1f1ac: 7028
+ BRA.S LAB_1F1B6 ;1f1ae: 6006
+LAB_01F1B0:
+ MOVEQ #$30,D0 ;1f1b0: 7030
+ BRA.S LAB_1F1B6 ;1f1b2: 6002
+LAB_01FB4:
+ MOVEQ #$2C,D0 ;1f1b4: 702c
+LAB_1F1B6:
+ MOVE.L D1,-(A7) ;1f1b6: 2f01
+ MOVE.W 2(A0,D0.W),D1 ;1f1b8: 32300002
+ CMP.W #$18c0,D1 ;1f1bc: b27c18c0
+ BHI.S LAB_1F1EA ;1f1c0: 6228
+ CMPI.W #$18c0,0(A0,D0.W) ;1f1c2: 0c7018c00000
+ BHI.S LAB_1F1EA ;1f1c8: 6220
+ SUB.W 0(A0,D0.W),D1 ;1f1ca: 92700000
+ ADDI.W #$0500,D1 ;1f1ce: 06410500
+ MULU D2,D1 ;1f1d2: c2c2
+ DIVU #$0200,D1 ;1f1d4: 82fc0200
+ ADD.W D1,0(A0,D0.W) ;1f1d8: d3700000
+ CMPI.W #$18c0,0(A0,D0.W) ;1f1dc: 0c7018c00000
+ BLS.S LAB_1F1EA ;1f1e2: 6306
+ MOVE.W #$18c0,0(A0,D0.W) ;1f1e4: 31bc18c00000
+LAB_1F1EA:
+ MOVE.L (A7)+,D1 ;1f1ea: 221f
+ RTS ;1f1ec: 4e75
+LAB_1F1EE:
+ ASL.W #5,D2 ;1f1ee: eb42
+ MOVE.W D2,-(A7) ;1f1f0: 3f02
+ MULU $E4C(A6),D2 ;1f1f2: c4ee0e4c
+ SWAP D2 ;1f1f6: 4842
+ ADD.W (A7)+,D2 ;1f1f8: d45f
+ RTS ;1f1fa: 4e75
+ BSR.S LAB_1F1EE ;1f1fc: 61f0
+ ADD.W D2,D2 ;1f1fe: d442
+ MOVE.W $18(A0),D0 ;1f200: 30280018
+ ADD.W D2,D0 ;1f204: d042
+ BCS.S LAB_1F20E ;1f206: 6506
+ CMP.W $1A(A0),D0 ;1f208: b068001a
+ BLS.S LAB_1F212 ;1f20c: 6304
+LAB_1F20E:
+ MOVE.W $1A(A0),D0 ;1f20e: 3028001a
+LAB_1F212:
+ MOVE.W D0,$18(A0) ;1f212: 31400018
+ BRA.S LAB_1F232 ;1f216: 601a
+ BSR.S LAB_1F1EE ;1f218: 61d4
+ ADD.W D2,D2 ;1f21a: d442
+ MOVE.W $1C(A0),D0 ;1f21c: 3028001c
+ ADD.W D2,D0 ;1f220: d042
+ BCS.S LAB_1F22A ;1f222: 6506
+ CMP.W $1E(A0),D0 ;1f224: b068001e
+ BLS.S LAB_1F22E ;1f228: 6304
+LAB_1F22A:
+ MOVE.W $1E(A0),D0 ;1f22a: 3028001e
+LAB_1F22E:
+ MOVE.W D0,$1C(A0) ;1f22e: 3140001c
+LAB_1F232:
+ ORI.L #$04040404,$DC(A6) ;1f232: 00ae0404040400dc
+ ST $9A(A6) ;1f23a: 50ee009a
+ RTS ;1f23e: 4e75
+ ADDI.W #$0014,D2 ;1f240: 06420014
+ BCC.S LAB_1F24A ;1f244: 6404
+ MOVE.W #$00ff,D2 ;1f246: 343c00ff
+LAB_1F24A:
+ LEA $B6(A0),A0 ;1f24a: 41e800b6
+ MOVE.W $E4C(A6),D0 ;1f24e: 302e0e4c
+ MOVEQ #5,D1 ;1f252: 7205
+LAB_1F254:
+ CMP.B D2,D0 ;1f254: b002
+ BHI.S LAB_1F25C ;1f256: 6204
+ ANDI.B #$7f,(A0) ;1f258: 0210007f
+LAB_1F25C:
+ MULU #$05e5,D0 ;1f25c: c0fc05e5
+ ADDI.W #$0029,D0 ;1f260: 06400029
+ ADDQ.W #4,A0 ;1f264: 5848
+ DBF D1,LAB_1F254 ;1f266: 51c9ffec
+ RTS ;1f26a: 4e75
+ ADDI.W #$001e,D2 ;1f26c: 0642001e
+ BCC.S LAB_1F276 ;1f270: 6404
+ MOVE.W #$00ff,D2 ;1f272: 343c00ff
+LAB_1F276:
+ MOVE.B $E4C(A6),D0 ;1f276: 102e0e4c
+ CMP.B D2,D0 ;1f27a: b002
+ RTS ;1f27c: 4e75
+LAB_1F27E:
+ LEA $3E(A0),A0 ;1f27e: 41e8003e
+ BRA.S LAB_1F2FE ;1f282: 607a
+ LEA $42(A0),A0 ;1f284: 41e80042
+ BRA.S LAB_1F2FE ;1f288: 6074
+ LEA $43(A0),A0 ;1f28a: 41e80043
+ BRA.S LAB_1F2FE ;1f28e: 606e
+ LEA $3F(A0),A0 ;1f290: 41e8003f
+ BRA.S LAB_1F2FE ;1f294: 6068
+ LEA $41(A0),A0 ;1f296: 41e80041
+ BRA.S LAB_1F2FE ;1f29a: 6062
+ LEA $40(A0),A0 ;1f29c: 41e80040
+ BRA.S LAB_1F2FE ;1f2a0: 605c
+ LEA $42(A0),A0 ;1f2a2: 41e80042
+ BRA.S LAB_1F2C4 ;1f2a6: 601c
+ LEA $40(A0),A0 ;1f2a8: 41e80040
+ BRA.S LAB_1F2C4 ;1f2ac: 6016
+ LEA $3F(A0),A0 ;1f2ae: 41e8003f
+ BRA.S LAB_1F2C4 ;1f2b2: 6010
+ LEA $41(A0),A0 ;1f2b4: 41e80041
+ BRA.S LAB_1F2C4 ;1f2b8: 600a
+ LEA $3E(A0),A0 ;1f2ba: 41e8003e
+ BRA.S LAB_1F2C4 ;1f2be: 6004
+ LEA $43(A0),A0 ;1f2c0: 41e80043
+LAB_1F2C4:
+ LSR.W #1,D2 ;1f2c4: e24a
+ ADDQ.W #1,D2 ;1f2c6: 5242
+ MOVE.B (A0),D0 ;1f2c8: 1010
+ SUB.B D2,D0 ;1f2ca: 9002
+ BCC.S LAB_1F2D2 ;1f2cc: 6404
+ MOVEQ #0,D0 ;1f2ce: 7000
+ BSR.S LAB_1F2D6 ;1f2d0: 6104
+LAB_1F2D2:
+ MOVE.B D0,(A0) ;1f2d2: 1080
+ RTS ;1f2d4: 4e75
+LAB_1F2D6:
+ MOVEM.L D0/A0,-(A7) ;1f2d6: 48e78080
+ MOVEA.L $1016(A6),A0 ;1f2da: 206e1016
+ PEA $298(A6) ;1f2de: 486e0298
+ SUBA.L (A7)+,A0 ;1f2e2: 91df
+ MOVE.L A0,D0 ;1f2e4: 2008
+ DIVU #$01d2,D0 ;1f2e6: 80fc01d2
+ LEA $DC(A6),A0 ;1f2ea: 41ee00dc
+ ORI.B #$08,0(A0,D0.W) ;1f2ee: 003000080000
+ ST $98(A6) ;1f2f4: 50ee0098
+ MOVEM.L (A7)+,D0/A0 ;1f2f8: 4cdf0101
+ RTS ;1f2fc: 4e75
+LAB_1F2FE:
+ BSR.S LAB_1F2D6 ;1f2fe: 61d6
+ MOVE.B (A0),D0 ;1f300: 1010
+ LSR.W #1,D2 ;1f302: e24a
+ ADDQ.W #1,D2 ;1f304: 5242
+ ADD.B D2,D0 ;1f306: d002
+ BCC.S LAB_1F30E ;1f308: 6404
+ MOVE.W #$ffff,D0 ;1f30a: 303cffff
+LAB_1F30E:
+ MOVE.B D0,(A0) ;1f30e: 1080
+ RTS ;1f310: 4e75
+ BSR.W LAB_1F1EE ;1f312: 6100feda
+ ASL.W #2,D2 ;1f316: e542
+ MOVE.W $3A(A0),D0 ;1f318: 3028003a
+ ADD.W D2,D0 ;1f31c: d042
+ BCC.S LAB_1F322 ;1f31e: 6402
+ MOVEQ #-1,D0 ;1f320: 70ff
+LAB_1F322:
+ MOVE.W D0,$3A(A0) ;1f322: 3140003a
+ RTS ;1f326: 4e75
+LAB_1F328:
+ DC.L $00120018,$001e0024,$002a0030,$0036003b ;1f328
+ DC.L $003c0001,$02030405,$06070809,$0a0b0f10 ;1f338
+ DC.L $11121314,$15161718,$191a1b1c,$1d1e1f20 ;1f348
+ DC.L $21242522,$23262728,$292a2b0e ;1f358
+ DC.W $0c0d ;1f364
+LAB_1F366:
+ DC.L $f00001c3,$e6000100,$ed004642,$ec005003 ;1f366
+ DC.L $eb005a01,$ee806402,$ed007303,$eb008200 ;1f376
+ DC.L $eb009603,$ec00a001,$eb00b402,$e6098200 ;1f386
+ DC.L $ee006402,$eb006400,$f00001c2,$e6010100 ;1f396
+ DC.L $7100a000,$7101a001,$7102a002,$7103a003 ;1f3a6
+ DC.L $7205a000,$7204a001,$7206a002,$7207a003 ;1f3b6
+ DC.L $7308a000,$7309a001,$e608a000,$f0006440 ;1f3c6
+ DC.L $e602a000,$e603a000,$e604a000,$e605a000 ;1f3d6
+ DC.L $e606a000,$e607a000,$f400a000,$f400a001 ;1f3e6
+ DC.L $f400a002,$f400a003,$f500a000,$f580a001 ;1f3f6
+ DC.L $f580a002,$f580a003,$f680a000,$f680a001 ;1f406
+ DC.L $f600a002 ;1f416
+LAB_1F41A:
+ DC.L $01e801d6,$01ce01c6,$009401ca,$009401d2 ;1f41a
+ DC.L $00940094,$01e201de,$00940094,$01da0094 ;1f42a
+ DC.L $00940094,$00940094,$00940094,$00940094 ;1f43a
+ DC.L $011600f4,$00f400fa,$00940102,$01080110 ;1f44a
+ DC.L $01160094,$00940094,$013a0144,$015e017a ;1f45a
+ DC.L $01820094,$00940094,$00940094,$00940094 ;1f46a
+SUB_1F47A:
+ MOVEM.L D2/A0/A2,-(A7) ;1f47a: 48e720a0
+ LEA LAB_1F41A(PC),A0 ;1f47e: 41faff9a
+ SUBI.W #$006b,D3 ;1f482: 0443006b
+ ANDI.W #$00ff,D3 ;1f486: 024300ff
+ ASL.W #2,D3 ;1f48a: e543
+ CLR.W D2 ;1f48c: 4242
+ MOVE.B $E5B(A6),D2 ;1f48e: 142e0e5b
+ ANDI.W #$0003,D2 ;1f492: 02420003
+ ADD.W D2,D3 ;1f496: d642
+ ADD.W D3,D3 ;1f498: d643
+ ADDA.W 0(A0,D3.W),A0 ;1f49a: d0f03000
+ MOVEA.L 2(A2),A2 ;1f49e: 246a0002
+ LEA -12(A2),A2 ;1f4a2: 45eafff4
+ JSR (A0) ;1f4a6: 4e90
+ MOVEM.L (A7)+,D2/A0/A2 ;1f4a8: 4cdf0504
+ RTS ;1f4ac: 4e75
+LAB_1F4AE:
+ MOVEQ #0,D1 ;1f4ae: 7200
+ RTS ;1f4b0: 4e75
+LAB_1F4B2:
+ BSR.W LAB_1F5CC ;1f4b2: 61000118
+LAB_1F4B6:
+ MOVEA.L $BB4(A6),A0 ;1f4b6: 206e0bb4
+ LEA -12(A0),A0 ;1f4ba: 41e8fff4
+ CMPA.L $276(A6),A0 ;1f4be: b1ee0276
+ BEQ.S LAB_1F4FC ;1f4c2: 6738
+ TST.L $276(A6) ;1f4c4: 4aae0276
+ BEQ.S LAB_1F4E4 ;1f4c8: 671a
+ MOVE.L A0,-(A7) ;1f4ca: 2f08
+ MOVEA.L $276(A6),A0 ;1f4cc: 206e0276
+ MOVE.B $28E(A6),7(A0) ;1f4d0: 116e028e0007
+ MOVE.B $28F(A6),9(A0) ;1f4d6: 116e028f0009
+ MOVE.W $290(A6),$A(A0) ;1f4dc: 316e0290000a
+ MOVEA.L (A7)+,A0 ;1f4e2: 205f
+LAB_1F4E4:
+ MOVE.L A0,$276(A6) ;1f4e4: 2d480276
+ CLR.L $28A(A6) ;1f4e8: 42ae028a
+ CLR.W $292(A6) ;1f4ec: 426e0292
+ MOVE.L 8(A0),$28E(A6) ;1f4f0: 2d680008028e
+ MOVE.B 7(A0),$28E(A6) ;1f4f6: 1d680007028e
+LAB_1F4FC:
+ RTS ;1f4fc: 4e75
+LAB_1F4FE:
+ ADDI.W #$0064,$292(A6) ;1f4fe: 066e00640292
+ BCC.S LAB_1F50C ;1f504: 6406
+ MOVE.W #$ffff,$292(A6) ;1f506: 3d7cffff0292
+LAB_1F50C:
+ RTS ;1f50c: 4e75
+ BSR.S LAB_1F4B2 ;1f50e: 61a2
+ MOVEQ #9,D0 ;1f510: 7009
+ BRA.S LAB_1F536 ;1f512: 6022
+ BSR.S LAB_1F4B2 ;1f514: 619c
+ LEA $28A(A6),A0 ;1f516: 41ee028a
+ BRA.S LAB_1F548 ;1f51a: 602c
+ BSR.S LAB_1F4B2 ;1f51c: 6194
+ MOVEQ #$A,D0 ;1f51e: 700a
+ BRA.S LAB_1F536 ;1f520: 6014
+ BSR.S LAB_1F4B2 ;1f522: 618e
+ LEA $28C(A6),A0 ;1f524: 41ee028c
+ BRA.S LAB_1F548 ;1f528: 601e
+ BSR.S LAB_1F4B2 ;1f52a: 6186
+ MOVEQ #$B,D0 ;1f52c: 700b
+ BRA.S LAB_1F536 ;1f52e: 6006
+ BSR.S LAB_1F4B2 ;1f530: 6180
+ MOVEQ #7,D0 ;1f532: 7007
+ BRA.S LAB_1F57E ;1f534: 6048
+LAB_1F536:
+ BSR.S LAB_1F4FE ;1f536: 61c6
+ LSR.W #4,D1 ;1f538: e849
+ ADDA.W D0,A0 ;1f53a: d0c0
+ ADD.B D1,(A0) ;1f53c: d310
+ BCC.S LAB_1F544 ;1f53e: 6404
+ MOVE.B #$fe,(A0) ;1f540: 10bc00fe
+LAB_1F544:
+ MOVEQ #-1,D1 ;1f544: 72ff
+ RTS ;1f546: 4e75
+LAB_1F548:
+ BSR.S LAB_1F4FE ;1f548: 61b4
+ SUB.W D1,(A0) ;1f54a: 9350
+ BCC.S LAB_1F550 ;1f54c: 6402
+ CLR.W (A0) ;1f54e: 4250
+LAB_1F550:
+ MOVEQ #-1,D1 ;1f550: 72ff
+ RTS ;1f552: 4e75
+ MOVEQ #$C,D2 ;1f554: 740c
+ BSR.S LAB_1F5AA ;1f556: 6152
+ LSR.W #1,D1 ;1f558: e249
+ MOVEQ #$B,D0 ;1f55a: 700b
+ BRA.S LAB_1F57E ;1f55c: 6020
+ MOVEQ #$D,D2 ;1f55e: 740d
+ BSR.S LAB_1F5AA ;1f560: 6148
+ LEA $28A(A6),A0 ;1f562: 41ee028a
+ LSR.W #4,D1 ;1f566: e849
+ ADDQ.W #1,D1 ;1f568: 5241
+LAB_1F56A:
+ BSR.S LAB_1F4FE ;1f56a: 6192
+ ADD.W D1,(A0) ;1f56c: d350
+ BCC.S LAB_1F574 ;1f56e: 6404
+ MOVE.W #$fffe,(A0) ;1f570: 30bcfffe
+LAB_1F574:
+ MOVEQ #-1,D1 ;1f574: 72ff
+ RTS ;1f576: 4e75
+ MOVEQ #$E,D2 ;1f578: 740e
+ BSR.S LAB_1F5AA ;1f57a: 612e
+ MOVEQ #$B,D0 ;1f57c: 700b
+LAB_1F57E:
+ LSR.W #4,D1 ;1f57e: e849
+ ADDQ.W #1,D1 ;1f580: 5241
+ BSR.W LAB_1F4FE ;1f582: 6100ff7a
+ ADDA.W D0,A0 ;1f586: d0c0
+ SUB.B D1,(A0) ;1f588: 9310
+ BCC.S LAB_1F58E ;1f58a: 6402
+ CLR.B (A0) ;1f58c: 4210
+LAB_1F58E:
+ ADDQ.B #1,(A0) ;1f58e: 5210
+ MOVEQ #-1,D1 ;1f590: 72ff
+ RTS ;1f592: 4e75
+ MOVEQ #$F,D2 ;1f594: 740f
+ BSR.S LAB_1F5AA ;1f596: 6112
+ MOVEQ #$A,D0 ;1f598: 700a
+ BRA.S LAB_1F57E ;1f59a: 60e2
+ MOVEQ #$F,D2 ;1f59c: 740f
+ MOVEQ #0,D3 ;1f59e: 7600
+ ASL.L #2,D1 ;1f5a0: e581
+ BSR.S LAB_1F5AC ;1f5a2: 6108
+ LEA $28C(A6),A0 ;1f5a4: 41ee028c
+ BRA.S LAB_1F56A ;1f5a8: 60c0
+LAB_1F5AA:
+ MOVEQ #2,D3 ;1f5aa: 7602
+LAB_1F5AC:
+ MOVE.B $F72(A6),D0 ;1f5ac: 102e0f72
+ ASL.W #2,D0 ;1f5b0: e540
+ ANDI.W #$00ff,D0 ;1f5b2: 024000ff
+ LEA LAB_1FFB0(PC),A0 ;1f5b6: 41fa09f8
+ ADDA.W D0,A0 ;1f5ba: d0c0
+ MOVE.W 0(A0,D3.W),D0 ;1f5bc: 30303000
+ LSR.W D2,D0 ;1f5c0: e468
+ ANDI.W #$0001,D0 ;1f5c2: 02400001
+ BEQ.S LAB_1F5DA ;1f5c6: 6712
+ BSR.W LAB_1F4B6 ;1f5c8: 6100feec
+LAB_1F5CC:
+ CLR.W D3 ;1f5cc: 4243
+ MOVE.B $F73(A6),D3 ;1f5ce: 162e0f73
+ MULU D1,D3 ;1f5d2: c6c1
+ LSR.L #8,D3 ;1f5d4: e08b
+ SUB.L D3,D1 ;1f5d6: 9283
+ RTS ;1f5d8: 4e75
+LAB_1F5DA:
+ MOVE.L (A7)+,D1 ;1f5da: 221f
+ MOVEQ #-2,D1 ;1f5dc: 72fe
+ RTS ;1f5de: 4e75
+ MOVEQ #3,D2 ;1f5e0: 7403
+ BRA.S LAB_1F604 ;1f5e2: 6020
+ MOVEQ #6,D2 ;1f5e4: 7406
+ BRA.S LAB_1F604 ;1f5e6: 601c
+ MOVEQ #9,D2 ;1f5e8: 7409
+ BRA.S LAB_1F604 ;1f5ea: 6018
+ MOVEQ #3,D2 ;1f5ec: 7403
+ BRA.S LAB_1F5FE ;1f5ee: 600e
+ MOVEQ #6,D2 ;1f5f0: 7406
+ BRA.S LAB_1F5FE ;1f5f2: 600a
+ MOVEQ #9,D2 ;1f5f4: 7409
+ BRA.S LAB_1F5FE ;1f5f6: 6006
+ MOVEQ #$C,D2 ;1f5f8: 740c
+ BRA.S LAB_1F5FE ;1f5fa: 6002
+ MOVEQ #0,D2 ;1f5fc: 7400
+LAB_1F5FE:
+ MOVEQ #0,D3 ;1f5fe: 7600
+ BRA.S LAB_1F606 ;1f600: 6004
+ MOVEQ #0,D2 ;1f602: 7400
+LAB_1F604:
+ MOVEQ #2,D3 ;1f604: 7602
+LAB_1F606:
+ MOVE.B $F72(A6),D0 ;1f606: 102e0f72
+ ASL.W #2,D0 ;1f60a: e540
+ ANDI.W #$00ff,D0 ;1f60c: 024000ff
+ LEA LAB_1FFB0(PC),A0 ;1f610: 41fa099e
+ ADDA.W D0,A0 ;1f614: d0c0
+ MOVE.W 0(A0,D3.W),D0 ;1f616: 30303000
+ LSR.W D2,D0 ;1f61a: e468
+ ANDI.W #$0007,D0 ;1f61c: 02400007
+ BEQ.S LAB_1F63E ;1f620: 671c
+ SUBQ.W #1,D0 ;1f622: 5340
+ BEQ.S LAB_1F642 ;1f624: 671c
+ SUBQ.W #1,D0 ;1f626: 5340
+ BEQ.S LAB_1F664 ;1f628: 673a
+ SUBQ.W #1,D0 ;1f62a: 5340
+ BEQ.S LAB_1F662 ;1f62c: 6734
+ SUBQ.W #1,D0 ;1f62e: 5340
+ BEQ.S LAB_1F66A ;1f630: 6738
+ SUBQ.W #1,D0 ;1f632: 5340
+ BEQ.S LAB_1F670 ;1f634: 673a
+ SUBQ.W #1,D0 ;1f636: 5340
+ BEQ.S LAB_1F676 ;1f638: 673c
+ MOVEQ #-3,D1 ;1f63a: 72fd
+ RTS ;1f63c: 4e75
+LAB_1F63E:
+ MOVEQ #-2,D1 ;1f63e: 72fe
+ RTS ;1f640: 4e75
+LAB_1F642:
+ MULU #$0019,D1 ;1f642: c2fc0019
+ ADDQ.W #1,D1 ;1f646: 5241
+LAB_1F648:
+ CMP.L #$0063f9c0,D1 ;1f648: b2bc0063f9c0
+ BLS.S LAB_1F658 ;1f64e: 6308
+ MOVE.L #$0000fff0,D1 ;1f650: 223c0000fff0
+ RTS ;1f656: 4e75
+LAB_1F658:
+ DIVU #$0064,D1 ;1f658: 82fc0064
+ ANDI.L #$0000ffff,D1 ;1f65c: 02810000ffff
+LAB_1F662:
+ RTS ;1f662: 4e75
+LAB_1F664:
+ MULU #$003c,D1 ;1f664: c2fc003c
+ BRA.S LAB_1F648 ;1f668: 60de
+LAB_1F66A:
+ MULU #$0096,D1 ;1f66a: c2fc0096
+ BRA.S LAB_1F648 ;1f66e: 60d8
+LAB_1F670:
+ MULU #$00fa,D1 ;1f670: c2fc00fa
+ BRA.S LAB_1F648 ;1f674: 60d2
+LAB_1F676:
+ MULU #$0190,D1 ;1f676: c2fc0190
+ BRA.S LAB_1F648 ;1f67a: 60cc
+SUB_1F67C:
+ BCLR #7,2(A0) ;1f67c: 08a800070002
+ CMPI.B #$67,2(A0) ;1f682: 0c2800670002
+ BEQ.S LAB_1F694 ;1f688: 670a
+ CMPI.B #$68,2(A0) ;1f68a: 0c2800680002
+ BNE.W LAB_1F718 ;1f690: 66000086
+LAB_1F694:
+ TST.B 7(A0) ;1f694: 4a280007
+ BPL.W LAB_1F718 ;1f698: 6a00007e
+ MOVE.B #$04,$F7A(A6) ;1f69c: 1d7c00040f7a
+ MOVEM.L D0-D7/A0-A5,-(A7) ;1f6a2: 48e7fffc
+ MOVE.W D1,D3 ;1f6a6: 3601
+ MOVE.B 7(A0),D0 ;1f6a8: 10280007
+ MOVE.W D0,D1 ;1f6ac: 3200
+ LSR.W #3,D0 ;1f6ae: e648
+ MOVE.W D0,D2 ;1f6b0: 3400
+ LSR.W #1,D0 ;1f6b2: e248
+ ANDI.W #$0003,D0 ;1f6b4: 02400003
+ ANDI.W #$0001,D2 ;1f6b8: 02420001
+ ANDI.W #$0007,D1 ;1f6bc: 02410007
+ MOVEM.W D0-D3,-(A7) ;1f6c0: 48a7f000
+ LEA $298(A6),A0 ;1f6c4: 41ee0298
+ MULU #$01d2,D0 ;1f6c8: c0fc01d2
+ ADDA.W D0,A0 ;1f6cc: d0c0
+ MOVE.W D1,D0 ;1f6ce: 3001
+ MOVEQ #$10,D1 ;1f6d0: 7210
+ BSR.W SUB_1F71A ;1f6d2: 61000046
+ MOVEM.W (A7),D0-D3 ;1f6d6: 4c97000f
+ ADD.W D0,D0 ;1f6da: d040
+ ADD.W D0,D2 ;1f6dc: d440
+ LEA $C4(A6),A0 ;1f6de: 41ee00c4
+ MOVE.B #$08,0(A0,D2.W) ;1f6e2: 11bc00082000
+ ADD.W D2,D2 ;1f6e8: d442
+ MOVE.W D3,8(A0,D2.W) ;1f6ea: 31832008
+ MOVEM.W (A7)+,D0-D3 ;1f6ee: 4c9f000f
+ MOVEQ #3,D5 ;1f6f2: 7a03
+ MOVEQ #0,D4 ;1f6f4: 7800
+ LEA $112(A6),A0 ;1f6f6: 41ee0112
+LAB_1F6FA:
+ CMP.B (A0)+,D0 ;1f6fa: b018
+ BEQ.S LAB_1F704 ;1f6fc: 6706
+ ADDQ.W #2,D4 ;1f6fe: 5444
+ DBF D5,LAB_1F6FA ;1f700: 51cdfff8
+LAB_1F704:
+ ADD.W D2,D4 ;1f704: d842
+ LEA $B4(A6),A0 ;1f706: 41ee00b4
+ BSET #0,0(A0,D4.W) ;1f70a: 08f000004000
+ ST $98(A6) ;1f710: 50ee0098
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;1f714: 4cdf3fff
+LAB_1F718:
+ RTS ;1f718: 4e75
+SUB_1F71A:
+ MOVEQ #0,D4 ;1f71a: 7800
+ ANDI.L #$0000ffff,D1 ;1f71c: 02810000ffff
+ ADDQ.W #1,D1 ;1f722: 5241
+ MOVE.W D0,D4 ;1f724: 3800
+ ADD.W D0,D0 ;1f726: d040
+ MOVE.W D0,D2 ;1f728: 3400
+ ADD.W D0,D0 ;1f72a: d040
+ ADD.W D2,D0 ;1f72c: d042
+ ADDI.W #$0046,D0 ;1f72e: 06400046
+ LEA 0(A0,D0.W),A1 ;1f732: 43f00000
+ MOVEQ #0,D2 ;1f736: 7400
+ MOVE.W (A1),D0 ;1f738: 3011
+ LSR.W #2,D0 ;1f73a: e448
+ ADDQ.W #6,D0 ;1f73c: 5c40
+ CMP.W #$001e,D0 ;1f73e: b07c001e
+ BLS.S LAB_1F746 ;1f742: 6302
+ MOVEQ #$1E,D0 ;1f744: 701e
+LAB_1F746:
+ BSET D0,D2 ;1f746: 01c2
+ MOVE.L 2(A1),D0 ;1f748: 20290002
+ ADD.L D1,D0 ;1f74c: d081
+ CMP.L D2,D0 ;1f74e: b082
+ BLS.W LAB_1F76A ;1f750: 63000018
+ SUB.L D2,D0 ;1f754: 9082
+ BPL.S LAB_1F75A ;1f756: 6a02
+ MOVEQ #0,D0 ;1f758: 7000
+LAB_1F75A:
+ ADDQ.W #1,(A1) ;1f75a: 5251
+ MOVE.L D0,2(A1) ;1f75c: 23400002
+ MOVE.W (A1),D0 ;1f760: 3011
+ ANDI.W #$0003,D0 ;1f762: 02400003
+ BEQ.S LAB_1F770 ;1f766: 6708
+ RTS ;1f768: 4e75
+LAB_1F76A:
+ MOVE.L D0,2(A1) ;1f76a: 23400002
+ RTS ;1f76e: 4e75
+LAB_1F770:
+ ASL.W #3,D4 ;1f770: e744
+ LEA LAB_1F804(PC),A2 ;1f772: 45fa0090
+ ADDA.W D4,A2 ;1f776: d4c4
+ MOVE.L A3,-(A7) ;1f778: 2f0b
+ LEA $1A(A0),A3 ;1f77a: 47e8001a
+ MOVEQ #2,D1 ;1f77e: 7202
+ LEA LAB_1F7F8(PC),A4 ;1f780: 49fa0076
+LAB_1F784:
+ MOVEQ #0,D4 ;1f784: 7800
+ MOVE.B (A2)+,D4 ;1f786: 181a
+ BEQ.S LAB_1F7D0 ;1f788: 6746
+ MOVE.W $B76(A6),D5 ;1f78a: 3a2e0b76
+ MULU #$05e5,D5 ;1f78e: cafc05e5
+ ADDI.W #$0029,D5 ;1f792: 06450029
+ MOVE.W D5,$B76(A6) ;1f796: 3d450b76
+ MULU #$00aa,D5 ;1f79a: cafc00aa
+ CLR.W D5 ;1f79e: 4245
+ SWAP D5 ;1f7a0: 4845
+ ADDI.L #$00000015,D5 ;1f7a2: 068500000015
+ MOVEQ #0,D2 ;1f7a8: 7400
+ MOVE.W (A3),D2 ;1f7aa: 3413
+ MOVE.L D2,-(A7) ;1f7ac: 2f02
+ MULU D4,D2 ;1f7ae: c4c4
+ DIVU (A4)+,D2 ;1f7b0: 84dc
+ ANDI.L #$0000ffff,D2 ;1f7b2: 02820000ffff
+ ADD.L D5,D2 ;1f7b8: d485
+ MOVEQ #0,D5 ;1f7ba: 7a00
+ MOVE.W (A4)+,D5 ;1f7bc: 3a1c
+ ADD.L D5,D2 ;1f7be: d485
+ ADD.L (A7)+,D2 ;1f7c0: d49f
+ CMP.L #$0000f9c0,D2 ;1f7c2: b4bc0000f9c0
+ BLS.S LAB_1F7CE ;1f7c8: 6304
+ MOVE.W #$f9c0,D2 ;1f7ca: 343cf9c0
+LAB_1F7CE:
+ MOVE.W D2,(A3) ;1f7ce: 3682
+LAB_1F7D0:
+ ADDQ.W #4,A3 ;1f7d0: 584b
+ DBF D1,LAB_1F784 ;1f7d2: 51c9ffb0
+ MOVEQ #4,D1 ;1f7d6: 7204
+LAB_1F7D8:
+ MOVEQ #0,D4 ;1f7d8: 7800
+ MOVE.B (A2)+,D4 ;1f7da: 181a
+ MOVE.W (A3),D2 ;1f7dc: 3413
+ ADD.W D4,D2 ;1f7de: d444
+ CMP.W #$18c0,D2 ;1f7e0: b47c18c0
+ BLS.S LAB_1F7EA ;1f7e4: 6304
+ MOVE.W #$18c0,D2 ;1f7e6: 343c18c0
+LAB_1F7EA:
+ MOVE.W D2,(A3) ;1f7ea: 3682
+ LEA 4(A3),A3 ;1f7ec: 47eb0004
+ DBF D1,LAB_1F7D8 ;1f7f0: 51c9ffe6
+ MOVEA.L (A7)+,A3 ;1f7f4: 265f
+ RTS ;1f7f6: 4e75
+LAB_1F7F8:
+ DC.L $00fa0100,$00fa0100,$00b40080 ;1f7f8
+LAB_1F804:
+ DC.L $0707000c,$18080c08,$0b090010,$40082000 ;1f804
+ DC.L $090e0014,$28044008,$02000810,$00040828 ;1f814
+ DC.L $02000404,$00280018,$02000828,$00040408 ;1f824
+SUB_1F834:
+ MOVE.W $E4C(A6),D2 ;1f834: 342e0e4c
+ MULU #$05e5,D2 ;1f838: c4fc05e5
+ ADDI.W #$0029,D2 ;1f83c: 06420029
+ MOVE.W D2,$E4C(A6) ;1f840: 3d420e4c
+ ROR.W #2,D2 ;1f844: e45a
+ MOVE.W D2,$E4E(A6) ;1f846: 3d420e4e
+ MOVE.W $32(A6),D0 ;1f84a: 302e0032
+ ANDI.W #$0003,D0 ;1f84e: 02400003
+ BEQ.S LAB_1F858 ;1f852: 6704
+ MOVE.W D2,$E52(A6) ;1f854: 3d420e52
+LAB_1F858:
+ MOVE.W $E52(A6),$E50(A6) ;1f858: 3d6e0e520e50
+ MOVEA.L #SUB_17AEC,A5 ;1f85e: 2a7c00017aec
+ MOVEA.L $B6E(A6),A0 ;1f864: 206e0b6e
+LAB_1F868:
+ MOVE.W 2(A0),D7 ;1f868: 3e280002
+ BMI.S LAB_1F892 ;1f86c: 6b24
+ SUBQ.B #1,6(A0) ;1f86e: 53280006
+ BPL.S LAB_1F88E ;1f872: 6a1a
+ MOVE.B 7(A0),6(A0) ;1f874: 116800070006
+ MOVE.L A0,-(A7) ;1f87a: 2f08
+ MOVE.L 8(A0),$F72(A6) ;1f87c: 2d6800080f72
+ BSR.S SUB_1F894 ;1f882: 6110
+ MOVEA.L (A7)+,A0 ;1f884: 205f
+ MOVE.W 2(A0),D7 ;1f886: 3e280002
+ BPL.S LAB_1F88E ;1f88a: 6a02
+ RTS ;1f88c: 4e75
+LAB_1F88E:
+ ADDA.W D7,A0 ;1f88e: d0c7
+ BRA.S LAB_1F868 ;1f890: 60d6
+LAB_1F892:
+ RTS ;1f892: 4e75
+SUB_1F894:
+ CLR.W $E8E(A6) ;1f894: 426e0e8e
+ MOVE.B 5(A0),D6 ;1f898: 1c280005
+ BTST #2,D6 ;1f89c: 08060002
+ BEQ.S LAB_1F8E2 ;1f8a0: 6740
+ CMPA.L $276(A6),A0 ;1f8a2: b1ee0276
+ BNE.S LAB_1F8B0 ;1f8a6: 6608
+ TST.W $28C(A6) ;1f8a8: 4a6e028c
+ BEQ.S LAB_1F8B0 ;1f8ac: 6702
+ RTS ;1f8ae: 4e75
+LAB_1F8B0:
+ BSR.W SUB_1FF70 ;1f8b0: 610006be
+ CMPI.B #$0f,$F72(A6) ;1f8b4: 0c2e000f0f72
+ BNE.S LAB_1F8E2 ;1f8ba: 6626
+ ANDI.W #$0003,D6 ;1f8bc: 02460003
+ MOVE.W (A0),D0 ;1f8c0: 3010
+ MOVEM.L D6-D7/A0/A5,-(A7) ;1f8c2: 48e70384
+ JSR (A5) ;1f8c6: 4e95
+ MOVEM.L (A7)+,D6-D7/A0/A5 ;1f8c8: 4cdf21c0
+ TST.B (A1) ;1f8cc: 4a11
+ BMI.S LAB_1F8DC ;1f8ce: 6b0c
+ BSR.W SUB_1FCD0 ;1f8d0: 610003fe
+ BEQ.W LAB_1FB0E ;1f8d4: 67000238
+ BRA.W LAB_1FA9C ;1f8d8: 600001c2
+LAB_1F8DC:
+ MOVE.W (A0),D0 ;1f8dc: 3010
+ BRA.W LAB_20234 ;1f8de: 60000954
+LAB_1F8E2:
+ BTST #4,D6 ;1f8e2: 08060004
+ BEQ.W LAB_1FA9C ;1f8e6: 670001b4
+ ANDI.W #$0003,D6 ;1f8ea: 02460003
+ CMPI.W #$3333,$E4E(A6) ;1f8ee: 0c6e33330e4e
+ BHI.S LAB_1F8FC ;1f8f4: 6206
+ BSET #3,5(A0) ;1f8f6: 08e800030005
+LAB_1F8FC:
+ BTST #3,5(A0) ;1f8fc: 082800030005
+ BEQ.W LAB_1FA9C ;1f902: 67000198
+ CLR.W D4 ;1f906: 4244
+ MOVE.B $F72(A6),D4 ;1f908: 182e0f72
+ MOVE.W (A0),D0 ;1f90c: 3010
+ MOVE.W D0,D1 ;1f90e: 3200
+ LSR.W #5,D1 ;1f910: ea49
+ MOVE.W D1,D2 ;1f912: 3401
+ LSR.W #5,D2 ;1f914: ea4a
+ ANDI.W #$0007,D2 ;1f916: 02420007
+ ANDI.W #$001f,D1 ;1f91a: 0241001f
+ ANDI.W #$001f,D0 ;1f91e: 0240001f
+ CMP.W $1E(A6),D2 ;1f922: b46e001e
+ BNE.W LAB_1FA9C ;1f926: 66000174
+ MOVE.W D0,D2 ;1f92a: 3400
+ MOVE.W D1,D3 ;1f92c: 3601
+ SUB.W $1A(A6),D2 ;1f92e: 946e001a
+ BPL.S LAB_1F936 ;1f932: 6a02
+ NEG.W D2 ;1f934: 4442
+LAB_1F936:
+ CMP.W #$0006,D2 ;1f936: b47c0006
+ BHI.W LAB_1FA9C ;1f93a: 62000160
+ SUB.W $1C(A6),D3 ;1f93e: 966e001c
+ BPL.S LAB_1F946 ;1f942: 6a02
+ NEG.W D3 ;1f944: 4443
+LAB_1F946:
+ CMP.W #$0006,D3 ;1f946: b67c0006
+ BHI.W LAB_1FA9C ;1f94a: 62000150
+ TST.W D3 ;1f94e: 4a43
+ BNE.S LAB_1F964 ;1f950: 6612
+ MOVE.W D2,D5 ;1f952: 3a02
+ BEQ.W LAB_1FA9C ;1f954: 67000146
+ MOVEQ #3,D2 ;1f958: 7403
+ CMP.W $1A(A6),D0 ;1f95a: b06e001a
+ BLS.S LAB_1F978 ;1f95e: 6318
+ MOVEQ #1,D2 ;1f960: 7401
+ BRA.S LAB_1F978 ;1f962: 6014
+LAB_1F964:
+ TST.W D2 ;1f964: 4a42
+ BNE.S LAB_1F99C ;1f966: 6634
+ MOVE.W D3,D5 ;1f968: 3a03
+ BEQ.W LAB_1FA9C ;1f96a: 67000130
+ MOVEQ #2,D2 ;1f96e: 7402
+ CMP.W $1C(A6),D1 ;1f970: b26e001c
+ BLS.S LAB_1F978 ;1f974: 6302
+ MOVEQ #0,D2 ;1f976: 7400
+LAB_1F978:
+ BTST #5,5(A0) ;1f978: 082800050005
+ BEQ.S LAB_1F986 ;1f97e: 6706
+ EORI.W #$0002,D2 ;1f980: 0a420002
+ BRA.S LAB_1F994 ;1f984: 600e
+LAB_1F986:
+ CMP.W #$0001,D5 ;1f986: ba7c0001
+ BEQ.W LAB_1FA16 ;1f98a: 6700008a
+ CMP.W D2,D6 ;1f98e: bc42
+ BEQ.W LAB_1FA16 ;1f990: 67000084
+LAB_1F994:
+ MOVE.W D6,-(A7) ;1f994: 3f06
+ MOVE.W D2,D6 ;1f996: 3c02
+ BRA.W LAB_1FAB8 ;1f998: 6000011e
+LAB_1F99C:
+ MOVEQ #0,D4 ;1f99c: 7800
+ CMP.W $1A(A6),D0 ;1f99e: b06e001a
+ BEQ.S LAB_1F9AC ;1f9a2: 6708
+ BLT.S LAB_1F9AA ;1f9a4: 6d04
+ MOVEQ #2,D4 ;1f9a6: 7802
+ BRA.S LAB_1F9AC ;1f9a8: 6002
+LAB_1F9AA:
+ MOVEQ #8,D4 ;1f9aa: 7808
+LAB_1F9AC:
+ CMP.W $1C(A6),D1 ;1f9ac: b26e001c
+ BEQ.S LAB_1F9BE ;1f9b0: 670c
+ BLT.S LAB_1F9BA ;1f9b2: 6d06
+ BSET #0,D4 ;1f9b4: 08c40000
+ BRA.S LAB_1F9BE ;1f9b8: 6004
+LAB_1F9BA:
+ BSET #2,D4 ;1f9ba: 08c40002
+LAB_1F9BE:
+ BTST #5,5(A0) ;1f9be: 082800050005
+ BEQ.W LAB_1F9CC ;1f9c4: 67000006
+ EORI.W #$000f,D4 ;1f9c8: 0a44000f
+LAB_1F9CC:
+ BTST D6,D4 ;1f9cc: 0d04
+ BEQ.S LAB_1F9F8 ;1f9ce: 6728
+ BCLR D6,D4 ;1f9d0: 0d84
+ TST.W D4 ;1f9d2: 4a44
+ BEQ.W LAB_1FB0E ;1f9d4: 67000138
+ MOVEQ #0,D2 ;1f9d8: 7400
+ BTST #0,D4 ;1f9da: 08040000
+ BNE.S LAB_1F9F2 ;1f9de: 6612
+ MOVEQ #3,D2 ;1f9e0: 7403
+ BTST #3,D4 ;1f9e2: 08040003
+ BNE.S LAB_1F9F2 ;1f9e6: 660a
+ MOVEQ #2,D2 ;1f9e8: 7402
+ BTST #2,D4 ;1f9ea: 08040002
+ BNE.S LAB_1F9F2 ;1f9ee: 6602
+ MOVEQ #1,D2 ;1f9f0: 7401
+LAB_1F9F2:
+ MOVE.W D2,-(A7) ;1f9f2: 3f02
+ BRA.W LAB_1FAB8 ;1f9f4: 600000c2
+LAB_1F9F8:
+ MOVE.B $E4C(A6),D1 ;1f9f8: 122e0e4c
+ MOVEQ #3,D2 ;1f9fc: 7403
+LAB_1F9FE:
+ ANDI.W #$0003,D1 ;1f9fe: 02410003
+ BTST D1,D4 ;1fa02: 0304
+ BNE.S LAB_1FA10 ;1fa04: 660a
+ ADDQ.W #1,D1 ;1fa06: 5241
+ DBF D2,LAB_1F9FE ;1fa08: 51cafff4
+ BRA.W LAB_1FA9C ;1fa0c: 6000008e
+LAB_1FA10:
+ MOVE.W D1,D6 ;1fa10: 3c01
+ BRA.W LAB_1FB0E ;1fa12: 600000fa
+LAB_1FA16:
+ CMP.W D2,D6 ;1fa16: bc42
+ BNE.S LAB_1FA54 ;1fa18: 663a
+ CLR.W $F82(A6) ;1fa1a: 426e0f82
+ CMP.W #$0001,D5 ;1fa1e: ba7c0001
+ BLS.S LAB_1FA3E ;1fa22: 631a
+ LEA LAB_20080(PC),A4 ;1fa24: 49fa065a
+ TST.B 0(A4,D4.W) ;1fa28: 4a344000
+ BEQ.W LAB_1FB0E ;1fa2c: 670000e0
+ ST $F82(A6) ;1fa30: 50ee0f82
+ CMPI.W #$31e0,$E4C(A6) ;1fa34: 0c6e31e00e4c
+ BLS.W LAB_1FB0E ;1fa3a: 630000d2
+LAB_1FA3E:
+ MOVE.W (A0),D0 ;1fa3e: 3010
+ BSR.W SUB_20238 ;1fa40: 610007f6
+ BRA.W LAB_1FBA6 ;1fa44: 60000160
+LAB_1FA48:
+ TST.W $E8E(A6) ;1fa48: 4a6e0e8e
+ BNE.W LAB_1FB0E ;1fa4c: 660000c0
+ BRA.W LAB_1FB46 ;1fa50: 600000f4
+LAB_1FA54:
+ MOVE.B 5(A0),D3 ;1fa54: 16280005
+ SUB.B D2,D3 ;1fa58: 9602
+ ANDI.W #$0003,D3 ;1fa5a: 02430003
+ BEQ.W LAB_1FB0E ;1fa5e: 670000ae
+ CMP.W #$0002,D3 ;1fa62: b67c0002
+ BEQ.S LAB_1FA48 ;1fa66: 67e0
+ CMP.W #$0001,D3 ;1fa68: b67c0001
+ BEQ.S LAB_1FA72 ;1fa6c: 6704
+ MOVEQ #1,D1 ;1fa6e: 7201
+ BRA.S LAB_1FA74 ;1fa70: 6002
+LAB_1FA72:
+ MOVEQ #-1,D1 ;1fa72: 72ff
+LAB_1FA74:
+ CMPI.W #$1c71,$E4C(A6) ;1fa74: 0c6e1c710e4c
+ BHI.W LAB_1FB5E ;1fa7a: 620000e2
+ CMP.W #$0001,D5 ;1fa7e: ba7c0001
+ BLS.S LAB_1FA90 ;1fa82: 630c
+ LEA LAB_20080(PC),A4 ;1fa84: 49fa05fa
+ TST.B 0(A4,D4.W) ;1fa88: 4a344000
+ BEQ.W LAB_1FB5E ;1fa8c: 670000d0
+LAB_1FA90:
+ ADD.W D1,D6 ;1fa90: dc41
+ BSR.W SUB_1FADA ;1fa92: 61000046
+ MOVE.W (A0),D0 ;1fa96: 3010
+ BRA.W LAB_20234 ;1fa98: 6000079a
+LAB_1FA9C:
+ TST.B 4(A0) ;1fa9c: 4a280004
+ BMI.W LAB_1FBA6 ;1faa0: 6b000104
+ BSR.W SUB_1FC88 ;1faa4: 610001e2
+ ROR.W #3,D0 ;1faa8: e658
+ BTST #0,D0 ;1faaa: 08000000
+ BEQ.S LAB_1FB0E ;1faae: 675e
+ MOVE.W D6,-(A7) ;1fab0: 3f06
+ ADD.W D0,D6 ;1fab2: dc40
+ ANDI.W #$0003,D6 ;1fab4: 02460003
+LAB_1FAB8:
+ MOVE.W (A0),D0 ;1fab8: 3010
+ TST.B 4(A0) ;1faba: 4a280004
+ BMI.W LAB_1FB0C ;1fabe: 6b00004c
+ MOVEM.L D6-D7/A0/A5,-(A7) ;1fac2: 48e70384
+ JSR (A5) ;1fac6: 4e95
+ MOVEM.L (A7)+,D6-D7/A0/A5 ;1fac8: 4cdf21c0
+ BSR.W SUB_1FCD0 ;1facc: 61000202
+ BEQ.S LAB_1FB0C ;1fad0: 673a
+ MOVE.W (A7)+,D6 ;1fad2: 3c1f
+ ANDI.W #$0003,D6 ;1fad4: 02460003
+ BRA.S LAB_1FB0E ;1fad8: 6034
+SUB_1FADA:
+ ANDI.W #$0003,D6 ;1fada: 02460003
+ MOVE.B 5(A0),D1 ;1fade: 12280005
+ ANDI.W #$0003,D1 ;1fae2: 02410003
+ EORI.W #$0002,D1 ;1fae6: 0a410002
+ CMP.W D1,D6 ;1faea: bc41
+ BNE.S LAB_1FB00 ;1faec: 6612
+ MOVE.W $E4C(A6),D1 ;1faee: 322e0e4c
+ ANDI.W #$0001,D1 ;1faf2: 02410001
+ ADD.W D1,D1 ;1faf6: d241
+ SUBQ.W #1,D1 ;1faf8: 5341
+ SUB.W D1,D6 ;1fafa: 9c41
+ ANDI.W #$0003,D6 ;1fafc: 02460003
+LAB_1FB00:
+ ANDI.B #$fc,5(A0) ;1fb00: 022800fc0005
+ OR.B D6,5(A0) ;1fb06: 8d280005
+ RTS ;1fb0a: 4e75
+LAB_1FB0C:
+ MOVE.W (A7)+,D0 ;1fb0c: 301f
+LAB_1FB0E:
+ MOVE.W (A0),D0 ;1fb0e: 3010
+ TST.B 4(A0) ;1fb10: 4a280004
+ BPL.W LAB_1FB1E ;1fb14: 6a000008
+ BSR.S SUB_1FADA ;1fb18: 61c0
+ BRA.W LAB_1FBA6 ;1fb1a: 6000008a
+LAB_1FB1E:
+ MOVEM.L D6-D7/A0/A5,-(A7) ;1fb1e: 48e70384
+ JSR (A5) ;1fb22: 4e95
+ MOVEM.L (A7)+,D6-D7/A0/A5 ;1fb24: 4cdf21c0
+ BSR.S SUB_1FADA ;1fb28: 61b0
+ BSR.W SUB_1FCD0 ;1fb2a: 610001a4
+ BEQ.S LAB_1FB70 ;1fb2e: 6740
+ CMP.W #$fb2e,D2 ;1fb30: b47cfb2e
+ BEQ.W LAB_1FBA6 ;1fb34: 67000070
+ BTST #6,5(A0) ;1fb38: 082800060005
+ BNE.S LAB_1FB46 ;1fb3e: 6606
+ BCLR #3,5(A0) ;1fb40: 08a800030005
+LAB_1FB46:
+ MOVE.B 6(A0),D1 ;1fb46: 12280006
+ LSR.B #1,D1 ;1fb4a: e209
+ MOVE.B D1,6(A0) ;1fb4c: 11410006
+ MOVE.W $E4C(A6),D0 ;1fb50: 302e0e4c
+ MOVEQ #-1,D1 ;1fb54: 72ff
+ BTST #6,D0 ;1fb56: 08000006
+ BEQ.S LAB_1FB5E ;1fb5a: 6702
+ ADDQ.W #2,D1 ;1fb5c: 5441
+LAB_1FB5E:
+ ADD.W D1,D6 ;1fb5e: dc41
+ ANDI.W #$0003,D6 ;1fb60: 02460003
+ ANDI.B #$fc,5(A0) ;1fb64: 022800fc0005
+ OR.B D6,5(A0) ;1fb6a: 8d280005
+ BRA.S LAB_1FBA6 ;1fb6e: 6036
+LAB_1FB70:
+ MOVEA.L A1,A3 ;1fb70: 2649
+ MOVEA.L $C26(A6),A1 ;1fb72: 226e0c26
+ BCLR #7,(A1) ;1fb76: 08910007
+ BSET #7,(A3) ;1fb7a: 08d30007
+ MOVE.W D0,(A0) ;1fb7e: 3080
+ CMPA.L A1,A3 ;1fb80: b7c9
+ BEQ.W LAB_1FBA6 ;1fb82: 67000022
+ MOVE.B (A1),D1 ;1fb86: 1211
+ ANDI.W #$007e,D1 ;1fb88: 0241007e
+ CMP.B #$36,D1 ;1fb8c: b23c0036
+ BNE.S LAB_1FB96 ;1fb90: 6604
+ BSR.W SUB_1D494 ;1fb92: 6100d900
+LAB_1FB96:
+ MOVE.B (A3),D1 ;1fb96: 1213
+ ANDI.W #$007e,D1 ;1fb98: 0241007e
+ CMP.B #$36,D1 ;1fb9c: b23c0036
+ BNE.S LAB_1FBA6 ;1fba0: 6604
+ BSR.W SUB_1D446 ;1fba2: 6100d8a2
+LAB_1FBA6:
+ CMPI.W #$afc8,$AB0(A6) ;1fba6: 0c6eafc80ab0
+ BHI.S LAB_1FBC8 ;1fbac: 621a
+ BCLR #5,5(A0) ;1fbae: 08a800050005
+ TST.B 5(A0) ;1fbb4: 4a280005
+ BPL.S LAB_1FBC8 ;1fbb8: 6a0e
+ CMPI.W #$2710,$AB0(A6) ;1fbba: 0c6e27100ab0
+ BLS.S LAB_1FBC8 ;1fbc0: 6306
+ BSET #5,5(A0) ;1fbc2: 08e800050005
+LAB_1FBC8:
+ BTST #2,5(A0) ;1fbc8: 082800020005
+ BEQ.S LAB_1FBF2 ;1fbce: 6722
+ BCLR #2,5(A0) ;1fbd0: 08a800020005
+ CMP.W #$0010,D7 ;1fbd6: be7c0010
+ BEQ.S LAB_1FBF4 ;1fbda: 6718
+ CMP.W #$0030,D7 ;1fbdc: be7c0030
+ BEQ.S LAB_1FBF2 ;1fbe0: 6710
+ BTST #4,$E(A0) ;1fbe2: 08280004000e
+ BEQ.S LAB_1FC02 ;1fbe8: 6718
+ CMP.W #$0014,D7 ;1fbea: be7c0014
+ BEQ.W LAB_1FC9A ;1fbee: 670000aa
+LAB_1FBF2:
+ RTS ;1fbf2: 4e75
+LAB_1FBF4:
+ ANDI.B #$e0,$E(A0) ;1fbf4: 022800e0000e
+ ORI.B #$14,$E(A0) ;1fbfa: 00280014000e
+ RTS ;1fc00: 4e75
+LAB_1FC02:
+ CMPI.W #$3a98,$E4C(A6) ;1fc02: 0c6e3a980e4c
+ BHI.S LAB_1FBF2 ;1fc08: 62e8
+ MOVE.W D7,D3 ;1fc0a: 3607
+ SUBI.W #$0010,D3 ;1fc0c: 04430010
+ LSR.W #2,D3 ;1fc10: e44b
+ CMP.W #$0006,D3 ;1fc12: b67c0006
+ BHI.S LAB_1FBF2 ;1fc16: 62da
+ MOVE.W D3,D4 ;1fc18: 3803
+ CLR.W D2 ;1fc1a: 4242
+ LEA $E(A0),A1 ;1fc1c: 43e8000e
+LAB_1FC20:
+ MOVE.B (A1),D0 ;1fc20: 1011
+ ANDI.W #$000f,D0 ;1fc22: 0240000f
+ BSET D0,D2 ;1fc26: 01c2
+ ADDQ.W #4,A1 ;1fc28: 5849
+ DBF D4,LAB_1FC20 ;1fc2a: 51ccfff4
+ LEA LAB_1FD70(PC),A2 ;1fc2e: 45fa0140
+ ASL.W #4,D6 ;1fc32: e946
+ MOVE.W D6,D5 ;1fc34: 3a06
+ ADD.W D3,D5 ;1fc36: da43
+ SUBQ.W #1,D5 ;1fc38: 5345
+ ASL.W #3,D5 ;1fc3a: e745
+ ADDA.W D5,A2 ;1fc3c: d4c5
+ MOVE.W D3,D4 ;1fc3e: 3803
+LAB_1FC40:
+ MOVE.B (A2)+,D0 ;1fc40: 101a
+ BTST D0,D2 ;1fc42: 0102
+ BEQ.S LAB_1FC4C ;1fc44: 6706
+ DBF D4,LAB_1FC40 ;1fc46: 51ccfff8
+ RTS ;1fc4a: 4e75
+LAB_1FC4C:
+ MOVE.W D0,D1 ;1fc4c: 3200
+ LEA LAB_1FDA8(PC),A2 ;1fc4e: 45fa0158
+ MOVE.W D6,D5 ;1fc52: 3a06
+ ADD.W D1,D5 ;1fc54: da41
+ ASL.W #3,D5 ;1fc56: e745
+ ADDA.W D5,A2 ;1fc58: d4c5
+ MOVEQ #7,D4 ;1fc5a: 7807
+LAB_1FC5C:
+ MOVE.B (A2)+,D0 ;1fc5c: 101a
+ BTST D0,D2 ;1fc5e: 0102
+ BNE.S LAB_1FC68 ;1fc60: 6606
+ DBF D4,LAB_1FC5C ;1fc62: 51ccfff8
+ RTS ;1fc66: 4e75
+LAB_1FC68:
+ MOVE.W D3,D4 ;1fc68: 3803
+ LEA $E(A0),A1 ;1fc6a: 43e8000e
+LAB_1FC6E:
+ MOVE.B (A1),D3 ;1fc6e: 1611
+ ANDI.W #$000f,D3 ;1fc70: 0243000f
+ CMP.B D0,D3 ;1fc74: b600
+ BEQ.S LAB_1FC80 ;1fc76: 6708
+ ADDQ.W #4,A1 ;1fc78: 5849
+ DBF D4,LAB_1FC6E ;1fc7a: 51ccfff2
+ RTS ;1fc7e: 4e75
+LAB_1FC80:
+ ANDI.B #$f0,(A1) ;1fc80: 021100f0
+ OR.B D1,(A1) ;1fc84: 8311
+ RTS ;1fc86: 4e75
+SUB_1FC88:
+ LEA $E4C(A6),A1 ;1fc88: 43ee0e4c
+ MOVE.W (A1),D0 ;1fc8c: 3011
+ MULU #$05e5,D0 ;1fc8e: c0fc05e5
+ ADDI.W #$0029,D0 ;1fc92: 06400029
+ MOVE.W D0,(A1) ;1fc96: 3280
+ RTS ;1fc98: 4e75
+LAB_1FC9A:
+ MOVEM.L D1-D3/A2,-(A7) ;1fc9a: 48e77020
+ ANDI.W #$0003,D6 ;1fc9e: 02460003
+ MOVE.W D6,D1 ;1fca2: 3206
+ ADD.W D1,D1 ;1fca4: d241
+ LEA LAB_1FCC8(PC),A2 ;1fca6: 45fa0020
+ ADDA.W D1,A2 ;1fcaa: d4c1
+ LEA $E(A0),A1 ;1fcac: 43e8000e
+ MOVEQ #1,D3 ;1fcb0: 7601
+LAB_1FCB2:
+ MOVE.B (A1),D2 ;1fcb2: 1411
+ ANDI.W #$00e0,D2 ;1fcb4: 024200e0
+ OR.B (A2)+,D2 ;1fcb8: 841a
+ MOVE.B D2,(A1) ;1fcba: 1282
+ ADDQ.W #4,A1 ;1fcbc: 5849
+ DBF D3,LAB_1FCB2 ;1fcbe: 51cbfff2
+ MOVEM.L (A7)+,D1-D3/A2 ;1fcc2: 4cdf040e
+ RTS ;1fcc6: 4e75
+LAB_1FCC8:
+ DC.L $13151117,$15131711 ;1fcc8
+SUB_1FCD0:
+ TST.B (A1) ;1fcd0: 4a11
+ BMI.W LAB_1FD5E ;1fcd2: 6b00008a
+ TST.B 4(A0) ;1fcd6: 4a280004
+ BEQ.S LAB_1FCE2 ;1fcda: 6706
+ CMPI.B #$1b,(A1) ;1fcdc: 0c11001b
+ BEQ.S LAB_1FD0E ;1fce0: 672c
+LAB_1FCE2:
+ LEA LAB_20038(PC),A3 ;1fce2: 47fa0354
+ MOVEQ #0,D3 ;1fce6: 7600
+ MOVE.B $F72(A6),D3 ;1fce8: 162e0f72
+ ADD.W D3,D3 ;1fcec: d643
+ MOVE.W 0(A3,D3.W),D3 ;1fcee: 36333000
+ BTST #8,D3 ;1fcf2: 08030008
+ BNE.W LAB_1FD58 ;1fcf6: 66000060
+ CMP.W #$fffa,D2 ;1fcfa: b47cfffa
+ BEQ.S LAB_1FD12 ;1fcfe: 6712
+ BTST #9,D3 ;1fd00: 08030009
+ BNE.S LAB_1FD3C ;1fd04: 6636
+LAB_1FD06:
+ TST.W D2 ;1fd06: 4a42
+ BNE.S LAB_1FD0C ;1fd08: 6602
+ CLR.W D2 ;1fd0a: 4242
+LAB_1FD0C:
+ RTS ;1fd0c: 4e75
+LAB_1FD0E:
+ MOVEQ #-1,D2 ;1fd0e: 74ff
+ RTS ;1fd10: 4e75
+LAB_1FD12:
+ MOVE.B (A1),D2 ;1fd12: 1411
+ ANDI.W #$0001,D2 ;1fd14: 02420001
+ ADD.W D2,D2 ;1fd18: d442
+ SUBQ.W #1,D2 ;1fd1a: 5342
+ ADD.B 5(A0),D2 ;1fd1c: d4280005
+ ANDI.W #$0003,D2 ;1fd20: 02420003
+ ANDI.B #$fc,5(A0) ;1fd24: 022800fc0005
+ OR.B D2,5(A0) ;1fd2a: 85280005
+ MOVEQ #0,D2 ;1fd2e: 7400
+ RTS ;1fd30: 4e75
+LAB_1FD32:
+ CMP.W #$0001,D2 ;1fd32: b47c0001
+ BNE.S LAB_1FD06 ;1fd36: 66ce
+ CLR.W D2 ;1fd38: 4242
+ BRA.S LAB_1FD06 ;1fd3a: 60ca
+LAB_1FD3C:
+ CMP.W #$fffb,D2 ;1fd3c: b47cfffb
+ BEQ.S LAB_1FD54 ;1fd40: 6712
+ CMP.W #$fff7,D2 ;1fd42: b47cfff7
+ BEQ.S LAB_1FD54 ;1fd46: 670c
+ CMP.W #$fff8,D2 ;1fd48: b47cfff8
+ BEQ.S LAB_1FD54 ;1fd4c: 6706
+ CMP.W #$0001,D2 ;1fd4e: b47c0001
+ BNE.S LAB_1FD06 ;1fd52: 66b2
+LAB_1FD54:
+ CLR.W D2 ;1fd54: 4242
+ RTS ;1fd56: 4e75
+LAB_1FD58:
+ CMP.W #$0001,D2 ;1fd58: b47c0001
+ RTS ;1fd5c: 4e75
+LAB_1FD5E:
+ CMP.W $20(A6),D0 ;1fd5e: b06e0020
+ BNE.S LAB_1FD0C ;1fd62: 66a8
+ ORI.B #$1c,5(A0) ;1fd64: 0028001c0005
+ MOVE.W #$fb2e,D2 ;1fd6a: 343cfb2e
+ RTS ;1fd6e: 4e75
+LAB_1FD70:
+ DC.L $0002ffff,$ffffffff,$000207ff,$ffffffff ;1fd70
+ DC.L $00020608,$ffffffff,$00020106,$08ffffff ;1fd80
+ DC.L $00020104,$0608ffff,$00020104,$030507ff ;1fd90
+ DC.L $00020104,$03050608 ;1fda0
+LAB_1FDA8:
+ DC.L $01030406,$07050802,$04030507,$06080002 ;1fda8
+ DC.L $01050408,$07030600,$06070408,$05000102 ;1fdb8
+ DC.L $07030506,$08010002,$08070406,$03020100 ;1fdc8
+ DC.L $07080305,$04000102,$06080403,$05010002 ;1fdd8
+ DC.L $07060503,$04020100,$0600ffff,$ffffffff ;1fde8
+ DC.L $060005ff,$ffffffff,$06000802,$ffffffff ;1fdf8
+ DC.L $06000308,$02ffffff,$06000304,$0802ffff ;1fe08
+ DC.L $06000304,$070105ff,$06000304,$07010802 ;1fe18
+ DC.L $03010402,$05070806,$02050408,$07000306 ;1fe28
+ DC.L $05080107,$04000306,$04070105,$08020600 ;1fe38
+ DC.L $05070108,$02030600,$08020407,$01030600 ;1fe48
+ DC.L $03070408,$05010200,$08050402,$01060300 ;1fe58
+ DC.L $05020701,$04060300,$0806ffff,$ffffffff ;1fe68
+ DC.L $080601ff,$ffffffff,$08060200,$ffffffff ;1fe78
+ DC.L $08060702,$00ffffff,$08060704,$0200ffff ;1fe88
+ DC.L $08060704,$050301ff,$08060704,$05030200 ;1fe98
+ DC.L $03000701,$04060708,$02000405,$03070806 ;1fea8
+ DC.L $01000503,$04080706,$00010402,$05060708 ;1feb8
+ DC.L $01050302,$00070806,$02010400,$03080706 ;1fec8
+ DC.L $07030400,$01050208,$04050301,$02000806 ;1fed8
+ DC.L $07050402,$01030006,$0208ffff,$ffffffff ;1fee8
+ DC.L $020803ff,$ffffffff,$02080006,$ffffffff ;1fef8
+ DC.L $02080500,$06ffffff,$02080504,$0006ffff ;1ff08
+ DC.L $02080504,$010703ff,$02080504,$01070006 ;1ff18
+ DC.L $03060107,$04020508,$00030406,$07020508 ;1ff28
+ DC.L $05010400,$03070608,$00060401,$07050208 ;1ff38
+ DC.L $03010700,$06050208,$04010703,$00060208 ;1ff48
+ DC.L $03000701,$04080502,$06030400,$01080502 ;1ff58
+ DC.L $05070406,$03010002 ;1ff68
+SUB_1FF70:
+ MOVEM.L D0/D4/A0,-(A7) ;1ff70: 48e78880
+ MOVE.W D7,D4 ;1ff74: 3807
+ LSR.W #2,D4 ;1ff76: e44c
+ SUBQ.W #4,D4 ;1ff78: 5944
+ MOVE.W $228(A6),D0 ;1ff7a: 302e0228
+ MULU #$05e5,D0 ;1ff7e: c0fc05e5
+ ADDI.W #$0029,D0 ;1ff82: 06400029
+ MOVE.W D0,$228(A6) ;1ff86: 3d400228
+ LEA $C(A0),A0 ;1ff8a: 41e8000c
+LAB_1FF8E:
+ BCLR #5,2(A0) ;1ff8e: 08a800050002
+ BCLR #6,2(A0) ;1ff94: 08a800060002
+ ASL.W #1,D0 ;1ff9a: e340
+ BCC.S LAB_1FFA4 ;1ff9c: 6406
+ BSET #6,2(A0) ;1ff9e: 08e800060002
+LAB_1FFA4:
+ ADDQ.W #4,A0 ;1ffa4: 5848
+ DBF D4,LAB_1FF8E ;1ffa6: 51ccffe6
+ MOVEM.L (A7)+,D0/D4/A0 ;1ffaa: 4cdf0111
+ RTS ;1ffae: 4e75
+LAB_1FFB0:
+ DC.L $a8c5fd8e,$80000a06,$eac6858a,$8742e6b3 ;1ffb0
+ DC.L $727764e7,$7fff0fff,$c4c9da99,$42e18861 ;1ffc0
+ DC.L $12590489,$83436a8c,$745188d3,$7459868a ;1ffd0
+ DC.L $9ac5da45,$9cc6d6de,$c6b1d450,$eb75fdae ;1ffe0
+ DC.L $bb4dc6af,$9542d8d1,$c945fccb,$b745fd55 ;1fff0
+ DC.L $c505fd5d,$22ccfd61,$228b9d61,$b2c1dda5 ;20000
+ DC.L $ed86fdb6,$12621249,$ffcf0fff,$92711249 ;20010
+ DC.L $00300000,$ad46fc76,$156e6cf7,$a343fd37 ;20020
+ DC.L $237691c1,$ec06f34c ;20030
+LAB_20038:
+ DC.L $0019001a,$0803001f,$020a001a,$000c026f ;20038
+ DC.L $021f000f,$001e001f,$082f0a07,$023a0018 ;20048
+ DC.L $000f0019,$0019001a,$001b001d,$001f001f ;20058
+ DC.L $001d0019,$020c021f,$127f0268,$000f000a ;20068
+ DC.L $021f0328,$001e001f ;20078
+LAB_20080:
+ DS.L 1 ;20080
+ DC.L $01000000,$00000101,$00000101,$01000000 ;20084
+ DC.L $00010100,$00010100,$00000101,$01000101 ;20094
+LAB_200A4:
+ DC.L $00510055,$0059005d,$00650049,$0061007e ;200a4
+ DC.L $0166007a,$00b400ca,$00720076,$01660049 ;200b4
+ DC.L $00850049,$00490049,$00490097,$00a4008c ;200c4
+ DC.L $00490093,$00e00049,$00490105,$010c0119 ;200d4
+ DC.L $01230133,$0137014a,$0001e715,$0001e715 ;200e4
+ DC.L $8001e72f,$0001e731,$0001e728,$0001e730 ;200f4
+ DC.L $0001e727,$8004022c,$81082c81,$092c8106 ;20104
+ DC.L $2c8101e7,$2d0001e7,$2e0001e7,$2a8002e7 ;20114
+ DC.L $2700e727,$8002e73b,$80073b81,$02e73d00 ;20124
+ DC.L $233d0101,$26210104,$e7150007,$15010215 ;20134
+ DC.L $01001501,$05e71500,$0715011b,$15010315 ;20144
+ DC.L $01001501,$07071c81,$081d8109,$1e81061f ;20154
+ DC.L $81001581,$2c1f8125,$21810707,$1e81051f ;20164
+ DC.L $811b2081,$03218122,$21812421,$810b2181 ;20174
+ DC.L $0c071e81,$081f8105,$1f811b20,$81032181 ;20184
+ DC.L $22218124,$21812621,$81252181,$2321812c ;20194
+ DC.L $21810b21,$8102e73d,$80233d81,$04e72b00 ;201a4
+ DC.L $072b010a,$2b012c2b,$8103e73c,$00073c01 ;201b4
+ DC.L $073c0105,$e7298009,$29810929,$81092981 ;201c4
+ DC.L $2c298101,$e7390006,$10218111,$22811223 ;201d4
+ DC.L $81132281,$14218115,$21810915,$23811623 ;201e4
+ DC.L $81172281,$18228127,$21812821,$81292281 ;201f4
+ DC.L $2a21812b,$238103e7,$15800015,$01051f81 ;20204
+LAB_20214:
+ DC.L $00010213,$14150000,$06030017,$14110000 ;20214
+ DC.L $08070615,$14130000,$02050811,$14170000 ;20224
+LAB_20234:
+ CLR.W $F82(A6) ;20234: 426e0f82
+SUB_20238:
+ BTST #4,5(A0) ;20238: 082800040005
+ BNE.S LAB_20242 ;2023e: 6602
+ RTS ;20240: 4e75
+LAB_20242:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;20242: 48e7fffc
+ MOVE.B 6(A0),D2 ;20246: 14280006
+ LSR.B #1,D2 ;2024a: e20a
+ MOVE.B D2,6(A0) ;2024c: 11420006
+ SUBI.W #$0010,D7 ;20250: 04470010
+ LSR.W #2,D7 ;20254: e44f
+ MOVEA.L A0,A4 ;20256: 2848
+ LEA $C(A0),A0 ;20258: 41e8000c
+ LEA $BB2(A6),A2 ;2025c: 45ee0bb2
+ MOVE.L A0,2(A2) ;20260: 25480002
+ LEA LAB_20214(PC),A2 ;20264: 45faffae
+ ANDI.W #$0003,D6 ;20268: 02460003
+ MOVE.W D6,D2 ;2026c: 3406
+ ASL.W #3,D2 ;2026e: e742
+ ADDA.W D2,A2 ;20270: d4c2
+LAB_20272:
+ MOVEA.L A2,A3 ;20272: 264a
+ MOVEQ #5,D3 ;20274: 7605
+ MOVE.B 2(A0),D2 ;20276: 14280002
+ ANDI.W #$001f,D2 ;2027a: 0242001f
+LAB_2027E:
+ CMP.B (A3)+,D2 ;2027e: b41b
+ BNE.S LAB_20298 ;20280: 6616
+ MOVEM.L D0-D3/D6-D7/A0/A2-A3,-(A7) ;20282: 48e7f3b0
+ BSR.W SUB_202D2 ;20286: 6100004a
+ MOVEM.L (A7)+,D0-D3/D6-D7/A0/A2-A3 ;2028a: 4cdf0dcf
+ CMPI.B #$0f,$F72(A6) ;2028e: 0c2e000f0f72
+ BEQ.S LAB_202A8 ;20294: 6712
+ BRA.S LAB_2029C ;20296: 6004
+LAB_20298:
+ DBF D3,LAB_2027E ;20298: 51cbffe4
+LAB_2029C:
+ ADDQ.W #4,A0 ;2029c: 5848
+ DBF D7,LAB_20272 ;2029e: 51cfffd2
+LAB_202A2:
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;202a2: 4cdf3fff
+ RTS ;202a6: 4e75
+LAB_202A8:
+ SUBQ.W #5,(A0) ;202a8: 5b50
+ BCC.S LAB_2029C ;202aa: 64f0
+ LEA $BB2(A6),A2 ;202ac: 45ee0bb2
+ MOVEA.L 2(A2),A3 ;202b0: 266a0002
+ MOVE.W -12(A3),$44(A6) ;202b4: 3d6bfff40044
+ MOVEA.L A0,A3 ;202ba: 2648
+ MOVE.W #$0001,(A3) ;202bc: 36bc0001
+ MOVE.B #$14,$F74(A6) ;202c0: 1d7c00140f74
+ MOVE.B #$67,$E5A(A6) ;202c6: 1d7c00670e5a
+ BSR.W SUB_1E30E ;202cc: 6100e040
+ BRA.S LAB_202A2 ;202d0: 60d0
+SUB_202D2:
+ CMP.W #$0002,D3 ;202d2: b67c0002
+ BHI.S LAB_202DA ;202d6: 6202
+ SUBQ.W #3,A3 ;202d8: 574b
+LAB_202DA:
+ SUBQ.W #1,A3 ;202da: 534b
+ CLR.W D4 ;202dc: 4244
+ MOVE.B $F72(A6),D4 ;202de: 182e0f72
+ ADD.W D4,D4 ;202e2: d844
+ LEA LAB_200A4(PC),A1 ;202e4: 43fafdbe
+ ADDA.W 0(A1,D4.W),A1 ;202e8: d2f14000
+ CLR.W D5 ;202ec: 4245
+ MOVE.B (A1)+,D5 ;202ee: 1a19
+ BEQ.W LAB_203A2 ;202f0: 670000b0
+ MOVE.W $228(A6),D2 ;202f4: 342e0228
+ MULU #$05e5,D2 ;202f8: c4fc05e5
+ ADDI.W #$0029,D2 ;202fc: 06420029
+ MOVE.W D2,$228(A6) ;20300: 3d420228
+ LSR.W #3,D2 ;20304: e64a
+ ANDI.W #$00ff,D2 ;20306: 024200ff
+ CLR.W D3 ;2030a: 4243
+ MOVE.B $F74(A6),D3 ;2030c: 162e0f74
+ ADDI.W #$0014,D3 ;20310: 06430014
+ CMP.W D3,D2 ;20314: b443
+ BHI.W LAB_203A2 ;20316: 6200008a
+ CMP.W #$0001,D5 ;2031a: ba7c0001
+ BEQ.S LAB_2033C ;2031e: 671c
+ TST.W $F82(A6) ;20320: 4a6e0f82
+ BEQ.S LAB_20330 ;20324: 670a
+ CMPI.B #$e7,(A1) ;20326: 0c1100e7
+ BNE.S LAB_20330 ;2032a: 6604
+ ADDQ.W #3,A1 ;2032c: 5649
+ SUBQ.W #1,D5 ;2032e: 5345
+LAB_20330:
+ MULU $228(A6),D5 ;20330: caee0228
+ SWAP D5 ;20334: 4845
+ MULU #$0003,D5 ;20336: cafc0003
+ ADDA.W D5,A1 ;2033a: d2c5
+LAB_2033C:
+ MOVE.B (A1),D2 ;2033c: 1411
+ MOVEM.L D5/A3,-(A7) ;2033e: 48e70410
+ MOVE.W D6,-(A7) ;20342: 3f06
+ MOVE.W #$0300,D5 ;20344: 3a3c0300
+ MOVEQ #0,D6 ;20348: 7c00
+ MOVE.B $F75(A6),D6 ;2034a: 1c2e0f75
+ MOVE.L A0,-(A7) ;2034e: 2f08
+ LEA LAB_203A4(PC),A0 ;20350: 41fa0052
+ ASL.W #2,D6 ;20354: e546
+ MOVE.W D6,2(A0) ;20356: 31460002
+ MOVEA.L (A7)+,A0 ;2035a: 205f
+ TST.W D6 ;2035c: 4a46
+ MOVEM.W (A7)+,D6 ;2035e: 4c9f0040
+ BEQ.S LAB_2039E ;20362: 673a
+ BSET #5,2(A0) ;20364: 08e800050002
+ BTST #2,5(A4) ;2036a: 082c00020005
+ BEQ.S LAB_20378 ;20370: 6706
+ BSET #7,2(A0) ;20372: 08e800070002
+LAB_20378:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;20378: 48e7fffc
+ MOVE.W D0,D2 ;2037c: 3400
+ CLR.W D0 ;2037e: 4240
+ ST D1 ;20380: 50c1
+ MOVE.B 1(A1),D0 ;20382: 10290001
+ CMP.B #$ff,D0 ;20386: b03c00ff
+ BEQ.S LAB_20390 ;2038a: 6704
+ BSR.W SUB_207AA ;2038c: 6100041c
+LAB_20390:
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;20390: 4cdf3fff
+ LEA LAB_203A4(PC),A0 ;20394: 41fa000e
+ MOVE.B D2,1(A0) ;20398: 11420001
+ BSR.S SUB_203A8 ;2039c: 610a
+LAB_2039E:
+ MOVEM.L (A7)+,D5/A3 ;2039e: 4cdf0820
+LAB_203A2:
+ RTS ;203a2: 4e75
+LAB_203A4:
+ DC.W $006a ;203a4
+LAB_203A6:
+ DS.W 1 ;203a6
+SUB_203A8:
+ MOVEM.L D5-D6/A0-A1/A3,-(A7) ;203a8: 48e706d0
+ MOVE.W D6,D3 ;203ac: 3606
+ CLR.W D2 ;203ae: 4242
+ MOVE.B (A3),D2 ;203b0: 1413
+ CMPI.B #$e7,1(A0) ;203b2: 0c2800e70001
+ BNE.S LAB_203C4 ;203b8: 660a
+ CMPI.B #$14,3(A3) ;203ba: 0c2b00140003
+ BNE.S LAB_203C4 ;203c0: 6602
+ BSR.S SUB_203E0 ;203c2: 611c
+LAB_203C4:
+ BTST #0,2(A1) ;203c4: 082900000002
+ BNE.S LAB_203FC ;203ca: 6630
+ TST.B 2(A1) ;203cc: 4a290002
+ BPL.S LAB_203D6 ;203d0: 6a04
+ ORI.W #$0020,D2 ;203d2: 00420020
+LAB_203D6:
+ BSR.W SUB_1D99C ;203d6: 6100d5c4
+ MOVEM.L (A7)+,D5-D6/A0-A1/A3 ;203da: 4cdf0b60
+ RTS ;203de: 4e75
+SUB_203E0:
+ MOVE.W D6,D2 ;203e0: 3406
+ ADD.W D2,D2 ;203e2: d442
+ BTST #7,$E4C(A6) ;203e4: 082e00070e4c
+ BEQ.S LAB_203EE ;203ea: 6702
+ ADDQ.W #1,D2 ;203ec: 5242
+LAB_203EE:
+ MOVE.B LAB_203F4(PC,D2.W),D2 ;203ee: 143b2004
+ RTS ;203f2: 4e75
+LAB_203F4:
+ DC.L $00020006,$08060802 ;203f4
+LAB_203FC:
+ MOVEM.W D0/D2-D3,-(A7) ;203fc: 48a7b000
+ MOVE.B 2(A1),-(A7) ;20400: 1f290002
+ CLR.W D6 ;20404: 4246
+ MOVE.B (A1),D6 ;20406: 1c11
+ LEA LAB_1F366(PC),A1 ;20408: 43faef5c
+ ASL.W #2,D6 ;2040c: e546
+ MOVE.B 0(A1,D6.W),$F59(A6) ;2040e: 1d7160000f59
+ MOVE.B 3(A1,D6.W),D4 ;20414: 18316003
+ MOVE.B D4,$B08(A6) ;20418: 1d440b08
+ ANDI.W #$0003,D4 ;2041c: 02440003
+ MOVE.B D4,$F5A(A6) ;20420: 1d440f5a
+ MOVE.B 2(A1,D6.W),$B01(A6) ;20424: 1d7160020b01
+ CLR.W $F56(A6) ;2042a: 426e0f56
+ MOVE.B 1(A1,D6.W),D5 ;2042e: 1a316001
+ MOVE.B D5,$FA0(A6) ;20432: 1d450fa0
+ TST.B (A7)+ ;20436: 4a1f
+ BPL.S LAB_20440 ;20438: 6a06
+ ORI.W #$0020,$F56(A6) ;2043a: 006e00200f56
+LAB_20440:
+ MOVE.W LAB_203A6(PC),D5 ;20440: 3a3aff64
+ CLR.W $AB2(A6) ;20444: 426e0ab2
+ MOVE.W $B00(A6),D0 ;20448: 302e0b00
+ MULU #$0006,D5 ;2044c: cafc0006
+ ADDI.W #$000a,D5 ;20450: 0645000a
+ MULU D5,D0 ;20454: c0c5
+ DIVU #$9600,D0 ;20456: 80fc9600
+ ADDQ.W #1,D0 ;2045a: 5240
+ CMP.W #$00fe,D0 ;2045c: b07c00fe
+ BLS.S LAB_20466 ;20460: 6304
+ MOVE.W #$00fe,D0 ;20462: 303c00fe
+LAB_20466:
+ CLR.W D2 ;20466: 4242
+ TST.B $B08(A6) ;20468: 4a2e0b08
+ BPL.S LAB_20470 ;2046c: 6a02
+ ADDQ.W #4,D2 ;2046e: 5842
+LAB_20470:
+ ADDI.W #$0032,D2 ;20470: 06420032
+ MOVE.W D2,D5 ;20474: 3a02
+ ASL.W #8,D5 ;20476: e145
+ MOVE.B D0,D5 ;20478: 1a00
+ MOVEM.W (A7)+,D0/D2-D3 ;2047a: 4c9f000d
+ ST $F80(A6) ;2047e: 50ee0f80
+ BSR.W SUB_1ED2C ;20482: 6100e8a8
+ MOVEM.L (A7)+,D5-D6/A0-A1/A3 ;20486: 4cdf0b60
+ RTS ;2048a: 4e75
+SUB_2048C:
+ MOVEM.L D0-D7/A0-A6,-(A7) ;2048c: 48e7fffe
+ MOVE.W $44(A6),-(A7) ;20490: 3f2e0044
+ MOVE.W D0,$44(A6) ;20494: 3d400044
+ LEA LAB_204EC(PC),A0 ;20498: 41fa0052
+ MOVE.W D0,(A0) ;2049c: 3080
+ BSR.W SUB_1B2D6 ;2049e: 6100ae36
+ BEQ.S LAB_20502 ;204a2: 675e
+ LEA -4(A3),A0 ;204a4: 41ebfffc
+ MOVE.B 8(A0),$F72(A6) ;204a8: 1d6800080f72
+ MOVEQ #3,D7 ;204ae: 7e03
+ MOVE.W $E4C(A6),D6 ;204b0: 3c2e0e4c
+LAB_204B4:
+ ANDI.W #$0003,D6 ;204b4: 02460003
+ MOVE.W $44(A6),-(A7) ;204b8: 3f2e0044
+ MOVE.W $44(A6),D0 ;204bc: 302e0044
+ MOVEM.L D6-D7/A0/A5,-(A7) ;204c0: 48e70384
+ JSR SUB_17AEC ;204c4: 4eb900017aec
+ MOVEM.L (A7)+,D6-D7/A0/A5 ;204ca: 4cdf21c0
+ BSR.W SUB_1FCD0 ;204ce: 6100f800
+ BEQ.S LAB_204F2 ;204d2: 671e
+ MOVE.W (A7)+,$44(A6) ;204d4: 3d5f0044
+ ADDQ.W #1,D6 ;204d8: 5246
+ DBF D7,LAB_204B4 ;204da: 51cfffd8
+ LEA LAB_204EC(PC),A0 ;204de: 41fa000c
+ ST $E6A(A6) ;204e2: 50ee0e6a
+ BSR.W SUB_1DF4E ;204e6: 6100da66
+ BRA.S LAB_20502 ;204ea: 6016
+LAB_204EC:
+ DC.L $00000004 ;204ec
+ DC.W $0004 ;204f0
+LAB_204F2:
+ ADDQ.L #2,A7 ;204f2: 548f
+ BSET #7,(A1) ;204f4: 08d10007
+ MOVEA.L $C26(A6),A1 ;204f8: 226e0c26
+ BCLR #7,(A1) ;204fc: 08910007
+ MOVE.W D0,(A0) ;20500: 3080
+LAB_20502:
+ MOVE.W (A7)+,$44(A6) ;20502: 3d5f0044
+ MOVEM.L (A7)+,D0-D7/A0-A6 ;20506: 4cdf7fff
+ RTS ;2050a: 4e75
+SUB_2050C:
+ MOVE.B (A1),D2 ;2050c: 1411
+ ANDI.W #$0001,D2 ;2050e: 02420001
+ ADD.W D2,D2 ;20512: d442
+ SUBQ.W #1,D2 ;20514: 5342
+ ROR.B #2,D2 ;20516: e41a
+ ANDI.W #$00c0,D2 ;20518: 024200c0
+ ADD.W D4,D2 ;2051c: d444
+ ANDI.W #$00c0,D2 ;2051e: 024200c0
+ ANDI.B #$3f,D4 ;20522: 0204003f
+ OR.B D2,D4 ;20526: 8802
+ MOVE.W D4,-(A7) ;20528: 3f04
+ ROL.B #2,D2 ;2052a: e51a
+ ANDI.W #$0001,D2 ;2052c: 02420001
+ BTST #0,(A1) ;20530: 08110000
+ BEQ.S LAB_2053A ;20534: 6704
+ BCHG #0,D2 ;20536: 08420000
+LAB_2053A:
+ MULU #$0009,D2 ;2053a: c4fc0009
+ ANDI.W #$000f,D4 ;2053e: 0244000f
+ ADD.W D4,D2 ;20542: d444
+ MOVE.W (A7)+,D4 ;20544: 381f
+ MOVE.B LAB_20552(PC,D2.W),D2 ;20546: 143b200a
+ ANDI.B #$f0,D4 ;2054a: 020400f0
+ OR.B D2,D4 ;2054e: 8802
+ RTS ;20550: 4e75
+LAB_20552:
+ DC.L $08050207,$04010603,$00000306,$01040702 ;20552
+ DC.W $0508 ;20562
+LAB_20564:
+ RTS ;20564: 4e75
+LAB_20566:
+ DS.L 3 ;20566
+ DC.L $042e0000,$0000085e,$01b90000,$00000bd2 ;20572
+ DC.L $02d70000,$00001182,$01e50000,$0000154e ;20582
+ DC.L $01c00000,$000018d0,$0db30000,$00003438 ;20592
+ DC.L $036e0000,$00003b16,$01c50000,$00003ea2 ;205a2
+ DC.L $06090000,$00004ab6,$035c0000,$00005170 ;205b2
+ DC.L $06aa0000,$00005ec6,$06970000,$00006bf6 ;205c2
+ DC.L $013e0000,$00006e74,$03410000,$000074f8 ;205d2
+ DC.L $04020000,$00007cfe,$01570000,$00007fae ;205e2
+ DC.L $06770000,$00008c9e,$025f0000 ;205f2
+LAB_205FE:
+ DC.L $0000915e,$05210000,$00009ba2,$031c0000 ;205fe
+ DC.L $0000a1dc,$04fa0000,$0000abd2,$02c20000 ;2060e
+ DC.L $0000b158,$03ae0000,$0000b8b6,$036f0000 ;2061e
+ DC.L $0000bf96 ;2062e
+ DS.L 2 ;20632
+ DC.L $061bffff,$00000c38,$07740024,$00001b22 ;2063a
+ DC.L $047c0008,$0000241c,$0425000f,$00002c68 ;2064a
+ DC.L $0501ffff,$0000366c,$058effff,$0000418a ;2065a
+ DC.L $0210000a,$000045ac,$080dffff,$000055c8 ;2066a
+ DC.L $0c66ffff,$00006e96,$05740003,$00007980 ;2067a
+ DS.L 1 ;2068a
+LAB_2068E:
+ DS.L 2 ;2068e
+SUB_20696:
+ LEA LAB_205FE(PC),A0 ;20696: 41faff66
+ LEA LAB_2068E(PC),A1 ;2069a: 43fafff2
+ MOVE.L (A0)+,(A1) ;2069e: 2298
+ ADDI.L #$000002a6,(A1)+ ;206a0: 0699000002a6
+ MOVE.L (A0)+,(A1) ;206a6: 2298
+ SUBI.W #$0153,(A1) ;206a8: 04510153
+ RTS ;206ac: 4e75
+LAB_206AE:
+ DC.L $03840000,$03840000,$038e0100,$038e0200 ;206ae
+ DC.L $00cb0200,$06560200,$01e20300,$01fc0400 ;206be
+ DC.L $06b10500,$01fc0600,$038e0700,$02c60700 ;206ce
+ DC.L $07680800,$031a0900,$02520a00,$04a80b00 ;206de
+ DC.L $01f70c00,$01c70d00,$01430e00,$012c0e00 ;206ee
+ DC.L $031a0f00,$02ff1000,$02691000,$03391100 ;206fe
+ DC.L $02531200,$00e61700,$01e21300,$03c31400 ;2070e
+ DC.L $07f01500,$06b01500,$05f01500,$05501500 ;2071e
+ DC.L $05001500,$03f81500,$07101500,$04701500 ;2072e
+ DC.L $01fc1600,$02801800,$02381700,$038f1000 ;2073e
+ DC.L $01301300,$01941300,$02851300,$03241300 ;2074e
+ DC.L $04a80b00,$01920b00,$00e20600,$02fe1400 ;2075e
+ DC.L $02bc0900,$01c70700,$07861a00,$02f81b00 ;2076e
+ DC.L $03881c00,$03b51d00,$04711e00,$02c91f00 ;2077e
+ DC.L $05fb2000,$029f2100,$02542200,$06b12500 ;2078e
+ DC.L $04592500,$00e40300,$082a2300 ;2079e
+SUB_207AA:
+ TST.W $25E(A6) ;207aa: 4a6e025e
+ BEQ.S LAB_207B2 ;207ae: 6702
+ RTS ;207b0: 4e75
+LAB_207B2:
+ MOVEM.W D0-D1/D4,-(A7) ;207b2: 48a7c800
+ MOVE.W D2,D3 ;207b6: 3602
+ LSR.W #5,D3 ;207b8: ea4b
+ MOVE.W D3,D4 ;207ba: 3803
+ LSR.W #5,D4 ;207bc: ea4c
+ ANDI.W #$001f,D2 ;207be: 0242001f
+ ANDI.W #$001f,D3 ;207c2: 0243001f
+ ANDI.W #$0007,D4 ;207c6: 02440007
+ CMP.W $1E(A6),D4 ;207ca: b86e001e
+ BEQ.S LAB_207D6 ;207ce: 6706
+ MOVEM.W (A7)+,D0-D1/D4 ;207d0: 4c9f0013
+ RTS ;207d4: 4e75
+LAB_207D6:
+ SUB.W $1A(A6),D2 ;207d6: 946e001a
+ SUB.W $1C(A6),D3 ;207da: 966e001c
+ MOVE.W $22(A6),D6 ;207de: 3c2e0022
+ BTST #0,D6 ;207e2: 08060000
+ BEQ.S LAB_207EC ;207e6: 6704
+ BCHG #1,D6 ;207e8: 08460001
+LAB_207EC:
+ JSR SUB_1951A ;207ec: 4eb90001951a
+ MOVEM.W (A7)+,D0-D1/D4 ;207f2: 4c9f0013
+ ADDQ.W #7,D3 ;207f6: 5e43
+ CMP.W #$000e,D3 ;207f8: b67c000e
+ BHI.S LAB_20806 ;207fc: 6208
+ ADDQ.W #7,D2 ;207fe: 5e42
+ CMP.W #$000e,D2 ;20800: b47c000e
+ BLS.S LAB_20808 ;20804: 6302
+LAB_20806:
+ RTS ;20806: 4e75
+LAB_20808:
+ MOVEM.L A0-A5,-(A7) ;20808: 48e700fc
+ ASL.W #4,D3 ;2080c: e943
+ MOVE.W D3,D6 ;2080e: 3c03
+ MOVE.W D3,D7 ;20810: 3e03
+ ADDI.W #$000e,D7 ;20812: 0647000e
+ SUB.W D2,D7 ;20816: 9e42
+ ADD.W D2,D6 ;20818: dc42
+ LEA LAB_20920(PC),A4 ;2081a: 49fa0104
+ TST.B 0(A4,D6.W) ;2081e: 4a346000
+ BNE.S LAB_2082C ;20822: 6608
+ TST.B 0(A4,D7.W) ;20824: 4a347000
+ BEQ.W LAB_20916 ;20828: 670000ec
+LAB_2082C:
+ LEA LAB_206AE(PC),A0 ;2082c: 41fafe80
+ MOVE.W D0,$EDA(A6) ;20830: 3d400eda
+ ASL.W #2,D0 ;20834: e540
+ ADDA.W D0,A0 ;20836: d0c0
+ MOVE.W (A0)+,$ED6(A6) ;20838: 3d580ed6
+ CLR.W D0 ;2083c: 4240
+ MOVE.B (A0)+,D0 ;2083e: 1018
+ BEQ.W LAB_20916 ;20840: 670000d4
+ LEA LAB_20566(PC),A0 ;20844: 41fafd20
+ ASL.W #3,D0 ;20848: e740
+ ADDA.W D0,A0 ;2084a: d0c0
+ MOVE.L (A0)+,$ED2(A6) ;2084c: 2d580ed2
+ MOVE.W (A0)+,$ED8(A6) ;20850: 3d580ed8
+ TST.W (A0) ;20854: 4a50
+ BEQ.S LAB_20866 ;20856: 670e
+ MOVE.L $EE0(A6),D4 ;20858: 282e0ee0
+ BNE.S LAB_2086A ;2085c: 660c
+ MOVE.W (A0),D0 ;2085e: 3010
+ BMI.W LAB_20916 ;20860: 6b0000b4
+ BRA.S LAB_2082C ;20864: 60c6
+LAB_20866:
+ MOVE.L $1086(A6),D4 ;20866: 282e1086
+LAB_2086A:
+ ADD.L D4,$ED2(A6) ;2086a: d9ae0ed2
+ MOVE.B #$02,$F78(A6) ;2086e: 1d7c00020f78
+ MOVEQ #0,D4 ;20874: 7800
+ MOVE.W $E4C(A6),D4 ;20876: 382e0e4c
+ ANDI.W #$001f,D4 ;2087a: 0244001f
+ SUBI.W #$0010,D4 ;2087e: 04440010
+ CMPI.W #$0013,$EDA(A6) ;20882: 0c6e00130eda
+ BNE.S LAB_2088E ;20888: 6604
+ ADD.W $F6E(A6),D4 ;2088a: d86e0f6e
+LAB_2088E:
+ TST.W D1 ;2088e: 4a41
+ BEQ.S LAB_2089C ;20890: 670a
+ LEA $EC6(A6),A1 ;20892: 43ee0ec6
+ LEA $EBA(A6),A2 ;20896: 45ee0eba
+ BRA.S LAB_208A4 ;2089a: 6008
+LAB_2089C:
+ LEA $EA2(A6),A1 ;2089c: 43ee0ea2
+ LEA $EAE(A6),A2 ;208a0: 45ee0eae
+LAB_208A4:
+ CLR.B $A(A1) ;208a4: 4229000a
+ CLR.B $A(A2) ;208a8: 422a000a
+ MOVE.L $ED2(A6),(A1) ;208ac: 22ae0ed2
+ MOVE.L $ED2(A6),(A2) ;208b0: 24ae0ed2
+ MOVE.B 0(A4,D6.W),9(A1) ;208b4: 137460000009
+ MOVE.W 8(A1),D3 ;208ba: 36290008
+ MULU $AA8(A6),D3 ;208be: c6ee0aa8
+ SWAP D3 ;208c2: 4843
+ SUB.W D3,8(A1) ;208c4: 97690008
+ MOVE.B 0(A4,D7.W),9(A2) ;208c8: 157470000009
+ MOVE.W 8(A2),D3 ;208ce: 362a0008
+ MULU $AA8(A6),D3 ;208d2: c6ee0aa8
+ SWAP D3 ;208d6: 4843
+ SUB.W D3,8(A2) ;208d8: 976a0008
+ MOVE.W $ED8(A6),4(A1) ;208dc: 336e0ed80004
+ MOVE.W $ED8(A6),4(A2) ;208e2: 356e0ed80004
+ LEA LAB_20A10(PC),A4 ;208e8: 49fa0126
+ MOVE.W $ED6(A6),D3 ;208ec: 362e0ed6
+ SUB.W D4,D3 ;208f0: 9644
+ CLR.W D2 ;208f2: 4242
+ MOVE.B 0(A4,D6.W),D2 ;208f4: 14346000
+ ADD.W D3,D2 ;208f8: d443
+ MOVE.W D2,6(A1) ;208fa: 33420006
+ CLR.W D2 ;208fe: 4242
+ MOVE.B 0(A4,D7.W),D2 ;20900: 14347000
+ ADD.W D3,D2 ;20904: d443
+ MOVE.W D2,6(A2) ;20906: 35420006
+ MOVE.B #$01,$A(A1) ;2090a: 137c0001000a
+ MOVE.B #$01,$A(A2) ;20910: 157c0001000a
+LAB_20916:
+ MOVEM.L (A7)+,A0-A5 ;20916: 4cdf3f00
+ RTS ;2091a: 4e75
+LAB_2091C:
+ BRA.W LAB_20B00 ;2091c: 600001e2
+LAB_20920:
+ DC.L $00000004,$06080a0c,$09060300 ;20920
+ DS.L 1 ;2092c
+ DC.L $00010406,$090d1013,$0a090603,$01000000 ;20930
+ DC.L $0205090c,$1013171b,$120c0906,$03020000 ;20940
+ DC.L $03070c10,$151a1f22,$1a110c07,$04020100 ;20950
+ DC.L $050a0f14,$1d21272a,$1f160f0b,$08030200 ;20960
+ DC.L $070d131a,$21272f31,$27190d09,$05020100 ;20970
+ DC.L $0a10171d,$262f3338,$2a170c07,$04020100 ;20980
+ DC.L $0c131b22,$2a31383f,$23130b06,$03020100 ;20990
+ DC.L $0a0e141c,$242d311f,$110a0904,$03020000 ;209a0
+ DC.L $06090d14,$1c28230f,$09070503,$02010000 ;209b0
+ DC.L $0405090b,$13190d08,$06040302,$01000000 ;209c0
+ DC.L $02030508,$0b100504,$03020100 ;209d0
+ DS.L 1 ;209dc
+ DC.L $01020304,$04040302,$01010000 ;209e0
+ DS.L 1 ;209ec
+ DC.L $00010203,$03030201 ;209f0
+ DS.L 2 ;209f8
+ DC.L $00000001,$01010000 ;20a00
+ DS.L 2 ;20a08
+LAB_20A10:
+ DC.L $14141210,$100e0e0e,$10121416,$181a1c00 ;20a10
+ DC.L $1412100e,$0e0c0c0c,$0e101012,$14161a00 ;20a20
+ DC.L $12100e0c,$0c0a0a0a,$0c0e0e10,$12141800 ;20a30
+ DC.L $100e0c0a,$0a0a0808,$0a0c0e10,$12141600 ;20a40
+ DC.L $100e0c0a,$08080606,$080a0c0e,$10121400 ;20a50
+ DC.L $0e0c0a08,$06060404,$06080a0c,$0e101400 ;20a60
+ DC.L $0c0a0a08,$06040202,$04060a0c,$0e101200 ;20a70
+ DC.L $0c0a0806,$04020000,$0406080a,$0c0e1000 ;20a80
+ DC.L $0e0c0a08,$06040404,$06080a0c,$0e101200 ;20a90
+ DC.L $100e0c0c,$0a080808,$0a0a0c0e,$10121400 ;20aa0
+ DC.L $1412100e,$0c0c0c0c,$0c0e1012,$14141600 ;20ab0
+ DC.L $18161412,$10101010,$10121414,$16181c00 ;20ac0
+ DC.L $1e1c1a18,$16141414,$1416181a,$1c1e2000 ;20ad0
+ DC.L $22201e1e,$1c1a1818,$181a1c1e,$20222400 ;20ae0
+ DC.L $26242220,$1e1e1c1c,$1e202224,$26282a00 ;20af0
+LAB_20B00:
+ BSR.W SUB_20696 ;20b00: 6100fb94
+ RTS ;20b04: 4e75
+ RTS ;20b06: 4e75
+SUB_20B08:
+ MOVEA.L $1022(A6),A0 ;20b08: 206e1022
+ LINK.W A6,#-8 ;20b0c: 4e56fff8
+ MOVEQ #3,D7 ;20b10: 7e03
+ MOVE.W #$0002,-(A6) ;20b12: 3d3c0002
+ MOVE.W #$00fe,-(A6) ;20b16: 3d3c00fe
+ MOVE.W #$0014,-(A6) ;20b1a: 3d3c0014
+ MOVE.W #$08c0,-(A6) ;20b1e: 3d3c08c0
+ BRA.S LAB_20B3E ;20b22: 601a
+SUB_20B24:
+ BSR.W SUB_20BC2 ;20b24: 6100009c
+ LINK.W A6,#-8 ;20b28: 4e56fff8
+ MOVEQ #3,D7 ;20b2c: 7e03
+ MOVE.W #$0002,-(A6) ;20b2e: 3d3c0002
+ MOVE.W #$00fe,-(A6) ;20b32: 3d3c00fe
+ MOVE.W #$0028,-(A6) ;20b36: 3d3c0028
+ MOVE.W #$1f40,-(A6) ;20b3a: 3d3c1f40
+LAB_20B3E:
+ MULU 2(A6),D2 ;20b3e: c4ee0002
+ ADDA.W D2,A0 ;20b42: d0c2
+ MOVE.W D1,D2 ;20b44: 3401
+ LSR.W D7,D2 ;20b46: ee6a
+ AND.W 4(A6),D2 ;20b48: c46e0004
+ ADDA.W D2,A0 ;20b4c: d0c2
+ MOVE.W D1,D2 ;20b4e: 3401
+ NOT.W D2 ;20b50: 4642
+ MOVEM.L D2/A0,-(A7) ;20b52: 48e72080
+ TST.W D3 ;20b56: 4a43
+ BEQ.S LAB_20B60 ;20b58: 6706
+ BSR.S SUB_20B7C ;20b5a: 6120
+ TST.W D4 ;20b5c: 4a44
+ BEQ.S LAB_20B72 ;20b5e: 6712
+LAB_20B60:
+ BSR.S SUB_20B90 ;20b60: 612e
+ TST.W D3 ;20b62: 4a43
+ BEQ.S LAB_20B72 ;20b64: 670c
+ MOVEM.L (A7),D2/A0 ;20b66: 4cd70104
+ BSR.S SUB_20B90 ;20b6a: 6124
+ ADDQ.W #1,D3 ;20b6c: 5243
+ BSR.W SUB_20B7C ;20b6e: 6100000c
+LAB_20B72:
+ MOVEM.L (A7)+,D2/A0 ;20b72: 4cdf0104
+ ADDQ.L #8,A6 ;20b76: 508e
+ UNLK A6 ;20b78: 4e5e
+ RTS ;20b7a: 4e75
+SUB_20B7C:
+ MOVE.W D3,D7 ;20b7c: 3e03
+LAB_20B7E:
+ BSR.W SUB_20B9E ;20b7e: 6100001e
+ SUBQ.W #1,D2 ;20b82: 5342
+ BPL.S LAB_20B8A ;20b84: 6a04
+ ADDA.W 6(A6),A0 ;20b86: d0ee0006
+LAB_20B8A:
+ DBF D7,LAB_20B7E ;20b8a: 51cffff2
+ RTS ;20b8e: 4e75
+SUB_20B90:
+ MOVE.W D4,D7 ;20b90: 3e04
+LAB_20B92:
+ BSR.S SUB_20B9E ;20b92: 610a
+ ADDA.W 2(A6),A0 ;20b94: d0ee0002
+ DBF D7,LAB_20B92 ;20b98: 51cffff8
+ RTS ;20b9c: 4e75
+SUB_20B9E:
+ ANDI.W #$000f,D2 ;20b9e: 0242000f
+ CLR.W D0 ;20ba2: 4240
+ MOVEA.L A0,A1 ;20ba4: 2248
+LAB_20BA6:
+ MOVE.W (A1),D6 ;20ba6: 3c11
+ BTST D0,D5 ;20ba8: 0105
+ BEQ.S LAB_20BB0 ;20baa: 6704
+ BSET D2,D6 ;20bac: 05c6
+ BRA.S LAB_20BB2 ;20bae: 6002
+LAB_20BB0:
+ BCLR D2,D6 ;20bb0: 0586
+LAB_20BB2:
+ MOVE.W D6,(A1) ;20bb2: 3286
+ ADDA.W (A6),A1 ;20bb4: d2d6
+ ADDQ.W #1,D0 ;20bb6: 5240
+ CMP.W #$0004,D0 ;20bb8: b07c0004
+ BLS.S LAB_20BA6 ;20bbc: 63e8
+ RTS ;20bbe: 4e75
+ RTS ;20bc0: 4e75
+SUB_20BC2:
+ MOVEA.L $1066(A6),A0 ;20bc2: 206e1066
+ ASL.W #3,D0 ;20bc6: e740
+ ADDA.W D0,A0 ;20bc8: d0c0
+ RTS ;20bca: 4e75
+LAB_20BCC:
+ MOVEQ #$10,D4 ;20bcc: 7810
+ TST.B D3 ;20bce: 4a03
+ BEQ.S LAB_20BEA ;20bd0: 6718
+ MOVE.W #$008e,D4 ;20bd2: 383c008e
+ CMP.B #$33,D3 ;20bd6: b63c0033
+ BLS.S LAB_20BEA ;20bda: 630e
+ MOVE.W #$0099,D4 ;20bdc: 383c0099
+ CMP.B #$80,D3 ;20be0: b63c0080
+ BLS.S LAB_20BEA ;20be4: 6304
+ MOVE.W #$009f,D4 ;20be6: 383c009f
+LAB_20BEA:
+ MOVE.L A4,-(A7) ;20bea: 2f0c
+ MOVE.W (A3)+,D6 ;20bec: 3c1b
+ CLR.W D5 ;20bee: 4245
+ MOVEQ #4,D3 ;20bf0: 7604
+LAB_20BF2:
+ BTST D5,D4 ;20bf2: 0b04
+ BEQ.S LAB_20BFA ;20bf4: 6704
+ OR.W D6,(A4) ;20bf6: 8d54
+ BRA.S LAB_20C00 ;20bf8: 6006
+LAB_20BFA:
+ NOT.W D6 ;20bfa: 4646
+ AND.W D6,(A4) ;20bfc: cd54
+ NOT.W D6 ;20bfe: 4646
+LAB_20C00:
+ LEA $1F40(A4),A4 ;20c00: 49ec1f40
+ ADDQ.W #1,D5 ;20c04: 5245
+ DBF D3,LAB_20BF2 ;20c06: 51cbffea
+ MOVEA.L (A7)+,A4 ;20c0a: 285f
+ LEA $28(A4),A4 ;20c0c: 49ec0028
+ DBF D2,LAB_20BEA ;20c10: 51caffd8
+ RTS ;20c14: 4e75
+SUB_20C16:
+ BTST #0,D5 ;20c16: 08050000
+ BEQ.S LAB_20BEA ;20c1a: 67ce
+ MOVE.W D7,-(A7) ;20c1c: 3f07
+LAB_20C1E:
+ MOVE.L A4,-(A7) ;20c1e: 2f0c
+ MOVE.B (A3)+,D6 ;20c20: 1c1b
+ MOVE.B (A3)+,D7 ;20c22: 1e1b
+ CLR.W D5 ;20c24: 4245
+ MOVEQ #4,D3 ;20c26: 7604
+LAB_20C28:
+ BTST D5,D4 ;20c28: 0b04
+ BEQ.S LAB_20C34 ;20c2a: 6708
+ OR.B D6,(A4) ;20c2c: 8d14
+ OR.B D7,1(A4) ;20c2e: 8f2c0001
+ BRA.S LAB_20C42 ;20c32: 600e
+LAB_20C34:
+ NOT.W D6 ;20c34: 4646
+ NOT.W D7 ;20c36: 4647
+ AND.B D6,(A4) ;20c38: cd14
+ AND.B D7,1(A4) ;20c3a: cf2c0001
+ NOT.W D6 ;20c3e: 4646
+ NOT.W D7 ;20c40: 4647
+LAB_20C42:
+ LEA $1F40(A4),A4 ;20c42: 49ec1f40
+ ADDQ.W #1,D5 ;20c46: 5245
+ DBF D3,LAB_20C28 ;20c48: 51cbffde
+ MOVEA.L (A7)+,A4 ;20c4c: 285f
+ LEA $28(A4),A4 ;20c4e: 49ec0028
+ DBF D2,LAB_20C1E ;20c52: 51caffca
+ MOVE.W (A7)+,D7 ;20c56: 3e1f
+ RTS ;20c58: 4e75
+SUB_20C5A:
+ MOVEM.L D0-D5/A0-A2,-(A7) ;20c5a: 48e7fce0
+ MOVE.B 2(A0),D1 ;20c5e: 12280002
+ BSR.W SUB_20CF8 ;20c62: 61000094
+ MOVEM.L (A7)+,D0-D5/A0-A2 ;20c66: 4cdf073f
+ RTS ;20c6a: 4e75
+SUB_20C6C:
+ MOVEM.L D0-D5/A0-A2,-(A7) ;20c6c: 48e7fce0
+ MOVE.L A0,-(A7) ;20c70: 2f08
+ BSR.W SUB_20C9E ;20c72: 6100002a
+ MOVEA.L (A7)+,A0 ;20c76: 205f
+ CLR.W D0 ;20c78: 4240
+ MOVE.B 2(A0),D0 ;20c7a: 10280002
+ ANDI.W #$000f,D0 ;20c7e: 0240000f
+ BSR.W SUB_20CB0 ;20c82: 6100002c
+ MOVEM.L (A7)+,D0-D5/A0-A2 ;20c86: 4cdf073f
+ RTS ;20c8a: 4e75
+SUB_20C8C:
+ MOVE.W $C58(A6),D0 ;20c8c: 302e0c58
+ MULU #$05e5,D0 ;20c90: c0fc05e5
+ ADDI.W #$0029,D0 ;20c94: 06400029
+ MOVE.W D0,$C58(A6) ;20c98: 3d400c58
+ RTS ;20c9c: 4e75
+SUB_20C9E:
+ MOVEA.L $1036(A6),A2 ;20c9e: 246e1036
+ LEA $E50(A2),A0 ;20ca2: 41ea0e50
+ ADDA.W #$1008,A2 ;20ca6: d4fc1008
+ MOVEQ #9,D4 ;20caa: 7809
+ BRA.W LAB_20D12 ;20cac: 60000064
+SUB_20CB0:
+ ORI.W #$0020,D0 ;20cb0: 00400020
+ LEA LAB_20D52(PC),A1 ;20cb4: 43fa009c
+ MOVE.W #$006c,D7 ;20cb8: 3e3c006c
+LAB_20CBC:
+ CMP.B (A1)+,D0 ;20cbc: b019
+ BEQ.S LAB_20CC8 ;20cbe: 6708
+ DBF D7,LAB_20CBC ;20cc0: 51cffffa
+ LEA LAB_20D53(PC),A1 ;20cc4: 43fa008d
+LAB_20CC8:
+ CLR.W D1 ;20cc8: 4241
+ MOVE.B (A1)+,D1 ;20cca: 1219
+LAB_20CCC:
+ MOVEA.L $1036(A6),A2 ;20ccc: 246e1036
+ LEA $E00(A2),A0 ;20cd0: 41ea0e00
+ ADDA.W #$1198,A2 ;20cd4: d4fc1198
+ CLR.W D0 ;20cd8: 4240
+ MOVE.B (A1)+,D0 ;20cda: 1019
+ MULU #$0028,D0 ;20cdc: c0fc0028
+ LEA 0(A2,D0.W),A2 ;20ce0: 45f20000
+ CLR.W D0 ;20ce4: 4240
+ MOVE.B (A1)+,D0 ;20ce6: 1019
+ MULU #$0028,D0 ;20ce8: c0fc0028
+ LEA 0(A0,D0.W),A0 ;20cec: 41f00000
+ BSR.S SUB_20D10 ;20cf0: 611e
+ DBF D1,LAB_20CCC ;20cf2: 51c9ffd8
+ RTS ;20cf6: 4e75
+SUB_20CF8:
+ MOVEA.L #LAB_1352C,A3 ;20cf8: 267c0001352c
+ ASL.L #2,D0 ;20cfe: e580
+ MOVE.W #$0a90,(A3) ;20d00: 36bc0a90
+ BTST #3,D1 ;20d04: 08010003
+ BEQ.S LAB_20D0E ;20d08: 6704
+ MOVE.W #$0c20,(A3) ;20d0a: 36bc0c20
+LAB_20D0E:
+ RTS ;20d0e: 4e75
+SUB_20D10:
+ MOVEQ #3,D4 ;20d10: 7803
+LAB_20D12:
+ MOVE.W (A2),D2 ;20d12: 3412
+ OR.W $1F40(A2),D2 ;20d14: 846a1f40
+ OR.W $3E80(A2),D2 ;20d18: 846a3e80
+ OR.W $5DC0(A2),D2 ;20d1c: 846a5dc0
+ OR.W $7D00(A2),D2 ;20d20: 846a7d00
+ NOT.W D2 ;20d24: 4642
+ MOVEQ #4,D3 ;20d26: 7604
+ MOVEM.L A0/A2,-(A7) ;20d28: 48e700a0
+LAB_20D2C:
+ MOVE.W (A0),D5 ;20d2c: 3a10
+ AND.W D2,D5 ;20d2e: ca42
+ OR.W (A2),D5 ;20d30: 8a52
+ MOVE.W D5,(A0) ;20d32: 3085
+ LEA $1F40(A0),A0 ;20d34: 41e81f40
+ LEA $1F40(A2),A2 ;20d38: 45ea1f40
+ DBF D3,LAB_20D2C ;20d3c: 51cbffee
+ MOVEM.L (A7)+,A0/A2 ;20d40: 4cdf0500
+ LEA $28(A0),A0 ;20d44: 41e80028
+ LEA $28(A2),A2 ;20d48: 45ea0028
+ DBF D4,LAB_20D12 ;20d4c: 51ccffc4
+ RTS ;20d50: 4e75
+LAB_20D52:
+ DC.B $20 ;20d52
+LAB_20D53:
+ DS.B 1 ;20d53
+ DC.L $04052101,$00020808,$22020002,$04050808 ;20d54
+ DC.L $23030802,$00020808,$00082404,$08020002 ;20d64
+ DC.L $04050808,$00082505,$08020402,$00020808 ;20d74
+ DC.L $04080008,$26000405,$27010802,$00082802 ;20d84
+ DC.L $08020405,$00082903,$08020002,$08080008 ;20d94
+ DC.L $2a040802,$00020405,$08080008,$2b050802 ;20da4
+ DC.L $08050002,$08080005 ;20db4
+ DC.W $0008 ;20dbc
+LAB_20DBE:
+ BSR.S LAB_20DCA ;20dbe: 610a
+ LEA $28(A4),A4 ;20dc0: 49ec0028
+ DBF D1,LAB_20DBE ;20dc4: 51c9fff8
+ RTS ;20dc8: 4e75
+LAB_20DCA:
+ MOVE.L A4,-(A7) ;20dca: 2f0c
+ MOVE.L (A3)+,D6 ;20dcc: 2c1b
+ CLR.W D5 ;20dce: 4245
+ MOVEQ #4,D3 ;20dd0: 7604
+LAB_20DD2:
+ NOT.L D6 ;20dd2: 4686
+ AND.L D6,(A4) ;20dd4: cd94
+ NOT.L D6 ;20dd6: 4686
+ BTST D5,D4 ;20dd8: 0b04
+ BEQ.S LAB_20DDE ;20dda: 6702
+ OR.L D6,(A4) ;20ddc: 8d94
+LAB_20DDE:
+ LEA $1F40(A4),A4 ;20dde: 49ec1f40
+ ADDQ.W #1,D5 ;20de2: 5245
+ DBF D3,LAB_20DD2 ;20de4: 51cbffec
+ MOVEA.L (A7)+,A4 ;20de8: 285f
+ RTS ;20dea: 4e75
+LAB_20DEC:
+ MOVEM.L D0/D3,-(A7) ;20dec: 48e79000
+ SUBQ.W #1,D3 ;20df0: 5343
+ TST.W D4 ;20df2: 4a44
+ BEQ.S LAB_20E04 ;20df4: 670e
+ SUBQ.W #1,D4 ;20df6: 5344
+ BEQ.S LAB_20E4C ;20df8: 6752
+ SUBQ.W #1,D4 ;20dfa: 5344
+ BEQ.W LAB_20E94 ;20dfc: 67000096
+ BRA.W LAB_20EDC ;20e00: 600000da
+LAB_20E04:
+ MOVE.L (A1),D0 ;20e04: 2011
+ OR.L $1F40(A1),D0 ;20e06: 80a91f40
+ MOVE.L D0,$7D00(A1) ;20e0a: 23407d00
+ MOVE.L D0,$5DC0(A1) ;20e0e: 23405dc0
+ MOVE.L 4(A1),D0 ;20e12: 20290004
+ OR.L $1F44(A1),D0 ;20e16: 80a91f44
+ MOVE.L D0,$7D04(A1) ;20e1a: 23407d04
+ MOVE.L D0,$5DC4(A1) ;20e1e: 23405dc4
+ MOVE.W 8(A1),D0 ;20e22: 30290008
+ OR.W $1F48(A1),D0 ;20e26: 80691f48
+ MOVE.W D0,$7D08(A1) ;20e2a: 33407d08
+ MOVE.W D0,$5DC8(A1) ;20e2e: 33405dc8
+ CLR.L $3E80(A1) ;20e32: 42a93e80
+ CLR.L $3E84(A1) ;20e36: 42a93e84
+ CLR.W $3E88(A1) ;20e3a: 42693e88
+ LEA $28(A1),A1 ;20e3e: 43e90028
+ DBF D3,LAB_20E04 ;20e42: 51cbffc0
+ MOVEM.L (A7)+,D0/D3 ;20e46: 4cdf0009
+ RTS ;20e4a: 4e75
+LAB_20E4C:
+ MOVE.L (A1),D0 ;20e4c: 2011
+ OR.L $1F40(A1),D0 ;20e4e: 80a91f40
+ MOVE.L D0,$7D00(A1) ;20e52: 23407d00
+ MOVE.L 4(A1),D0 ;20e56: 20290004
+ OR.L $1F44(A1),D0 ;20e5a: 80a91f44
+ MOVE.L D0,$7D04(A1) ;20e5e: 23407d04
+ MOVE.W 8(A1),D0 ;20e62: 30290008
+ OR.W $1F48(A1),D0 ;20e66: 80691f48
+ MOVE.W D0,$7D08(A1) ;20e6a: 33407d08
+ CLR.L $5DC0(A1) ;20e6e: 42a95dc0
+ CLR.L $5DC4(A1) ;20e72: 42a95dc4
+ CLR.W $5DC8(A1) ;20e76: 42695dc8
+ CLR.L $3E80(A1) ;20e7a: 42a93e80
+ CLR.L $3E84(A1) ;20e7e: 42a93e84
+ CLR.W $3E88(A1) ;20e82: 42693e88
+ LEA $28(A1),A1 ;20e86: 43e90028
+ DBF D3,LAB_20E4C ;20e8a: 51cbffc0
+ MOVEM.L (A7)+,D0/D3 ;20e8e: 4cdf0009
+ RTS ;20e92: 4e75
+LAB_20E94:
+ MOVE.L $1F40(A1),D0 ;20e94: 20291f40
+ OR.L (A1),D0 ;20e98: 8091
+ MOVE.L D0,$7D00(A1) ;20e9a: 23407d00
+ MOVE.L D0,$3E80(A1) ;20e9e: 23403e80
+ MOVE.L $1F44(A1),D0 ;20ea2: 20291f44
+ OR.L 4(A1),D0 ;20ea6: 80a90004
+ MOVE.L D0,$7D04(A1) ;20eaa: 23407d04
+ MOVE.L D0,$3E84(A1) ;20eae: 23403e84
+ MOVE.W $1F48(A1),D0 ;20eb2: 30291f48
+ OR.W 8(A1),D0 ;20eb6: 80690008
+ MOVE.W D0,$7D08(A1) ;20eba: 33407d08
+ MOVE.W D0,$3E88(A1) ;20ebe: 33403e88
+ CLR.L $5DC0(A1) ;20ec2: 42a95dc0
+ CLR.L $5DC4(A1) ;20ec6: 42a95dc4
+ CLR.W $5DC8(A1) ;20eca: 42695dc8
+ LEA $28(A1),A1 ;20ece: 43e90028
+ DBF D3,LAB_20E94 ;20ed2: 51cbffc0
+ MOVEM.L (A7)+,D0/D3 ;20ed6: 4cdf0009
+ RTS ;20eda: 4e75
+LAB_20EDC:
+ MOVE.L $1F40(A1),D0 ;20edc: 20291f40
+ OR.L (A1),D0 ;20ee0: 8091
+ MOVE.L D0,$7D00(A1) ;20ee2: 23407d00
+ MOVE.L D0,$5DC0(A1) ;20ee6: 23405dc0
+ MOVE.L D0,$3E80(A1) ;20eea: 23403e80
+ MOVE.L $1F44(A1),D0 ;20eee: 20291f44
+ OR.L 4(A1),D0 ;20ef2: 80a90004
+ MOVE.L D0,$7D04(A1) ;20ef6: 23407d04
+ MOVE.L D0,$5DC4(A1) ;20efa: 23405dc4
+ MOVE.L D0,$3E84(A1) ;20efe: 23403e84
+ MOVE.W $1F48(A1),D0 ;20f02: 30291f48
+ OR.W 8(A1),D0 ;20f06: 80690008
+ MOVE.W D0,$7D08(A1) ;20f0a: 33407d08
+ MOVE.W D0,$5DC8(A1) ;20f0e: 33405dc8
+ MOVE.W D0,$3E88(A1) ;20f12: 33403e88
+ LEA $28(A1),A1 ;20f16: 43e90028
+ DBF D3,LAB_20EDC ;20f1a: 51cbffc0
+ MOVEM.L (A7)+,D0/D3 ;20f1e: 4cdf0009
+ RTS ;20f22: 4e75
+SUB_20F24:
+ MOVEM.L D2-D3,-(A7) ;20f24: 48e73000
+ BRA.W LAB_20F3C ;20f28: 60000012
+SUB_20F2C:
+ MOVEM.L D2-D3,-(A7) ;20f2c: 48e73000
+ MOVEQ #0,D2 ;20f30: 7400
+ MOVEQ #0,D3 ;20f32: 7600
+ MOVE.B 4(A3),D2 ;20f34: 142b0004
+ MOVE.B 5(A3),D3 ;20f38: 162b0005
+LAB_20F3C:
+ MULU D2,D3 ;20f3c: c6c2
+ DIVU #$0007,D3 ;20f3e: 86fc0007
+ ADDI.W #$0027,D3 ;20f42: 06430027
+ CMP.W #$00ff,D3 ;20f46: b67c00ff
+ BLS.S LAB_20F4E ;20f4a: 6302
+ ST D3 ;20f4c: 50c3
+LAB_20F4E:
+ MOVE.B D3,2(A3) ;20f4e: 17430002
+ MOVEM.L (A7)+,D2-D3 ;20f52: 4cdf000c
+ RTS ;20f56: 4e75
+ MOVE.W #$ffff,$AFC(A6) ;20f58: 3d7cffff0afc
+ MOVE.L $10C6(A6),$AF4(A6) ;20f5e: 2d6e10c60af4
+LAB_20F64:
+ TST.B $E4C(A6) ;20f64: 4a2e0e4c
+ BPL.S LAB_20F70 ;20f68: 6a06
+ BCHG #5,1(A3) ;20f6a: 086b00050001
+LAB_20F70:
+ TST.B $E4D(A6) ;20f70: 4a2e0e4d
+ BPL.S LAB_20F7C ;20f74: 6a06
+ BCHG #2,1(A3) ;20f76: 086b00020001
+LAB_20F7C:
+ BRA.W LAB_20FD0 ;20f7c: 60000052
+ CLR.W $AFC(A6) ;20f80: 426e0afc
+ MOVE.L $10C6(A6),$AF4(A6) ;20f84: 2d6e10c60af4
+ BRA.S LAB_20FCC ;20f8a: 6040
+ MOVE.W #$ff01,$AFC(A6) ;20f8c: 3d7cff010afc
+ MOVE.L $10D6(A6),$AF4(A6) ;20f92: 2d6e10d60af4
+ BRA.S LAB_20FD0 ;20f98: 6036
+ MOVE.W #$00ff,$AFC(A6) ;20f9a: 3d7c00ff0afc
+ MOVE.L $10DA(A6),$AF4(A6) ;20fa0: 2d6e10da0af4
+ BRA.S LAB_20F64 ;20fa6: 60bc
+ MOVE.L $10CA(A6),$AF4(A6) ;20fa8: 2d6e10ca0af4
+ BRA.S LAB_20FC6 ;20fae: 6016
+ MOVE.L $10D2(A6),$AF4(A6) ;20fb0: 2d6e10d20af4
+ BRA.S LAB_20FC6 ;20fb6: 600e
+ MOVE.L $10DE(A6),$AF4(A6) ;20fb8: 2d6e10de0af4
+ BRA.S LAB_20FC6 ;20fbe: 6006
+ MOVE.L $10C6(A6),$AF4(A6) ;20fc0: 2d6e10c60af4
+LAB_20FC6:
+ MOVE.W #$ffff,$AFC(A6) ;20fc6: 3d7cffff0afc
+LAB_20FCC:
+ BSR.W SUB_20F2C ;20fcc: 6100ff5e
+LAB_20FD0:
+ LEA LAB_21258(PC),A1 ;20fd0: 43fa0286
+ MOVE.L A1,$AF0(A6) ;20fd4: 2d490af0
+ MOVE.W #$0080,$AF8(A6) ;20fd8: 3d7c00800af8
+ MOVEQ #$20,D2 ;20fde: 7420
+ MOVEQ #$20,D0 ;20fe0: 7020
+ BRA.S LAB_21042 ;20fe2: 605e
+LAB_20FE4:
+ DC.L $00017000,$00012000,$0000d800,$00009000 ;20fe4
+ DC.L $00004000 ;20ff4
+ DS.L 2 ;20ff8
+LAB_21000:
+ DS.L 1 ;21000
+ DC.L $00080808,$10101018,$18181818,$1800426e ;21004
+ DC.W $0afc ;21014
+LAB_21016:
+ MOVE.L $10B6(A6),$AF4(A6) ;21016: 2d6e10b60af4
+ BRA.S LAB_21030 ;2101c: 6012
+ MOVE.W #$00ff,$AFC(A6) ;2101e: 3d7c00ff0afc
+ BRA.S LAB_2102A ;21024: 6004
+ CLR.W $AFC(A6) ;21026: 426e0afc
+LAB_2102A:
+ MOVE.L $10B2(A6),$AF4(A6) ;2102a: 2d6e10b20af4
+LAB_21030:
+ LEA LAB_21238(PC),A1 ;21030: 43fa0206
+ MOVE.L A1,$AF0(A6) ;21034: 2d490af0
+ MOVE.W #$02f8,$AF8(A6) ;21038: 3d7c02f80af8
+ MOVEQ #$50,D2 ;2103e: 7450
+ MOVEQ #$4C,D0 ;21040: 704c
+LAB_21042:
+ MOVE.W D3,-(A7) ;21042: 3f03
+ MOVE.W D2,-(A7) ;21044: 3f02
+ MOVE.B LAB_21000(PC,D4.W),D2 ;21046: 143b40b8
+ CMP.W #$0002,D1 ;2104a: b27c0002
+ BLS.S LAB_21052 ;2104e: 6302
+ ADDQ.W #4,D2 ;21050: 5842
+LAB_21052:
+ MOVE.B D5,$AFA(A6) ;21052: 1d450afa
+ MOVE.L LAB_20FE4(PC,D2.W),D6 ;21056: 2c3b208c
+ MOVE.W (A7)+,D1 ;2105a: 321f
+ MOVE.L D0,D2 ;2105c: 2400
+ MOVEQ #0,D0 ;2105e: 7000
+ MOVE.B 2(A3),D0 ;21060: 102b0002
+ ADDQ.W #1,D0 ;21064: 5240
+ CMP.W #$0010,D0 ;21066: b07c0010
+ BHI.S LAB_2106E ;2106a: 6202
+ MOVEQ #$11,D0 ;2106c: 7011
+LAB_2106E:
+ MOVE.L #$00100000,D4 ;2106e: 283c00100000
+ DIVU D0,D4 ;21074: 88c0
+ ANDI.L #$0000ffff,D4 ;21076: 02840000ffff
+ ASL.L #4,D4 ;2107c: e984
+ ADD.L D4,D6 ;2107e: dc84
+ MOVE.L D6,D7 ;21080: 2e06
+ TST.B $AFC(A6) ;21082: 4a2e0afc
+ BNE.S LAB_2108C ;21086: 6604
+ BSR.W LAB_21180 ;21088: 610000f6
+LAB_2108C:
+ MOVE.B 1(A3),D0 ;2108c: 102b0001
+ MOVE.W D0,-(A7) ;21090: 3f00
+ BTST #5,D0 ;21092: 08000005
+ BEQ.S LAB_2109A ;21096: 6702
+ ADD.L D7,D7 ;21098: de87
+LAB_2109A:
+ BTST #2,D0 ;2109a: 08000002
+ BEQ.S LAB_210A2 ;2109e: 6702
+ ADD.L D6,D6 ;210a0: dc86
+LAB_210A2:
+ BTST #3,D0 ;210a2: 08000003
+ BEQ.S LAB_210AA ;210a6: 6702
+ LSR.L #1,D6 ;210a8: e28e
+LAB_210AA:
+ CMP.L #$000f0000,D6 ;210aa: bcbc000f0000
+ BLS.S LAB_210B8 ;210b0: 6306
+ MOVE.L #$000f0000,D6 ;210b2: 2c3c000f0000
+LAB_210B8:
+ BTST #4,D0 ;210b8: 08000004
+ BEQ.S LAB_210C0 ;210bc: 6702
+ LSR.W #1,D2 ;210be: e24a
+LAB_210C0:
+ SUBQ.W #1,D2 ;210c0: 5342
+ SUBQ.W #1,D1 ;210c2: 5341
+ MOVEA.L $1036(A6),A1 ;210c4: 226e1036
+ LEA $137E(A1),A1 ;210c8: 43e9137e
+ MOVEA.W D1,A5 ;210cc: 3a41
+ MOVE.W D2,$B80(A6) ;210ce: 3d420b80
+ ANDI.W #$0003,D0 ;210d2: 02400003
+ MOVE.W D0,-(A7) ;210d6: 3f00
+ MOVE.L A1,-(A7) ;210d8: 2f09
+ MOVEA.L A1,A3 ;210da: 2649
+ ADDA.W #$1f40,A3 ;210dc: d6fc1f40
+ BSR.W LAB_21194 ;210e0: 610000b2
+ MOVEA.L (A7)+,A1 ;210e4: 225f
+ MOVE.W (A7)+,D4 ;210e6: 381f
+ BSR.W LAB_20DEC ;210e8: 6100fd02
+ LEA LAB_2117A(PC),A5 ;210ec: 4bfa008c
+ BSR.W SUB_1FC88 ;210f0: 6100eb96
+ MOVE.W D0,D5 ;210f4: 3a00
+ ANDI.W #$00c0,D5 ;210f6: 024500c0
+ BTST #4,1(A7) ;210fa: 082f00040001
+ BEQ.S LAB_21106 ;21100: 6704
+ ANDI.W #$0080,D5 ;21102: 02450080
+LAB_21106:
+ ADDI.W #$000c,D5 ;21106: 0645000c
+ MOVE.W D5,$E54(A6) ;2110a: 3d450e54
+ MOVE.W D3,D6 ;2110e: 3c03
+ LSR.W #1,D2 ;21110: e24a
+ MOVE.W D2,D3 ;21112: 3602
+ ADDQ.W #7,D3 ;21114: 5e43
+ ANDI.W #$0ff8,D3 ;21116: 02430ff8
+ SUB.W D3,D2 ;2111a: 9443
+ MOVE.W (A2)+,D0 ;2111c: 301a
+ TST.B D5 ;2111e: 4a05
+ BPL.S LAB_21124 ;21120: 6a02
+ NEG.W D2 ;21122: 4442
+LAB_21124:
+ SUB.W D2,D0 ;21124: 9042
+ MOVE.W (A2),D1 ;21126: 3212
+ MOVE.W (A7)+,D2 ;21128: 341f
+ BTST #6,D2 ;2112a: 08020006
+ BEQ.S LAB_21132 ;2112e: 6702
+ SUB.W D6,D1 ;21130: 9246
+LAB_21132:
+ MOVE.W D3,D2 ;21132: 3403
+ LSR.W #2,D2 ;21134: e44a
+ MOVE.W (A7)+,D3 ;21136: 361f
+ MOVE.B D2,2(A5) ;21138: 1b420002
+ MOVE.B D6,3(A5) ;2113c: 1b460003
+ TST.B $AFD(A6) ;21140: 4a2e0afd
+ BMI.S LAB_21150 ;21144: 6b0a
+ BNE.S LAB_2114C ;21146: 6604
+ BRA.W LAB_1B1C0 ;21148: 6000a076
+LAB_2114C:
+ MOVEQ #$41,D1 ;2114c: 7241
+ BRA.S LAB_21166 ;2114e: 6016
+LAB_21150:
+ LSR.W #1,D1 ;21150: e249
+ BTST #5,D3 ;21152: 08030005
+ BEQ.S LAB_21160 ;21156: 6708
+ MOVE.W D1,-(A7) ;21158: 3f01
+ MOVEQ #$60,D1 ;2115a: 7260
+ SUB.W (A7)+,D1 ;2115c: 925f
+ BRA.S LAB_21164 ;2115e: 6004
+LAB_21160:
+ ADDI.W #$001f,D1 ;21160: 0641001f
+LAB_21164:
+ BMI.S LAB_21178 ;21164: 6b12
+LAB_21166:
+ MOVE.W D6,D3 ;21166: 3606
+ LSR.W #1,D3 ;21168: e24b
+ ADD.W D3,D1 ;2116a: d243
+ CMP.W #$0070,D1 ;2116c: b27c0070
+ BLS.S LAB_21174 ;21170: 6302
+ MOVEQ #$70,D1 ;21172: 7270
+LAB_21174:
+ BRA.W LAB_1B1C0 ;21174: 6000a04a
+LAB_21178:
+ RTS ;21178: 4e75
+LAB_2117A:
+ DC.L $137e0202 ;2117a
+ DC.W $000c ;2117e
+LAB_21180:
+ MOVEQ #0,D0 ;21180: 7000
+ MOVE.B 2(A3),D0 ;21182: 102b0002
+ MOVE.W D0,D4 ;21186: 3800
+ ASL.W #3,D0 ;21188: e740
+ SUB.W D4,D0 ;2118a: 9044
+ LSR.W #3,D0 ;2118c: e648
+ MOVE.B D0,2(A3) ;2118e: 17400002
+ RTS ;21192: 4e75
+LAB_21194:
+ MOVEM.L D4-D7/A0-A5,-(A7) ;21194: 48e70ffc
+ MOVEA.L $AF4(A6),A0 ;21198: 206e0af4
+ MOVEA.L A0,A2 ;2119c: 2448
+ ADDA.W $AF8(A6),A2 ;2119e: d4ee0af8
+ MOVEA.L $AF0(A6),A4 ;211a2: 286e0af0
+ MOVEQ #0,D1 ;211a6: 7200
+ MOVE.W D1,$AFE(A6) ;211a8: 3d410afe
+LAB_211AC:
+ MOVEQ #0,D0 ;211ac: 7000
+ MOVEQ #7,D4 ;211ae: 7807
+ MOVE.W D0,D5 ;211b0: 3a00
+ CLR.L (A1) ;211b2: 4291
+ CLR.L 4(A1) ;211b4: 42a90004
+ CLR.W 8(A1) ;211b8: 42690008
+ CLR.L (A3) ;211bc: 4293
+ CLR.L 4(A3) ;211be: 42ab0004
+ CLR.W 8(A3) ;211c2: 426b0008
+ ADDQ.W #1,$AFE(A6) ;211c6: 526e0afe
+LAB_211CA:
+ MOVE.L D0,D2 ;211ca: 2400
+ SWAP D2 ;211cc: 4842
+ CMP.W A5,D2 ;211ce: b44d
+ BHI.S LAB_211FC ;211d0: 622a
+ MOVE.W D2,D3 ;211d2: 3602
+ NOT.W D2 ;211d4: 4642
+ ANDI.W #$0007,D2 ;211d6: 02420007
+ LSR.W #3,D3 ;211da: e64b
+ BTST D2,0(A0,D3.W) ;211dc: 05303000
+ BEQ.S LAB_211E6 ;211e0: 6704
+ BSET D4,0(A1,D5.W) ;211e2: 09f15000
+LAB_211E6:
+ BTST D2,0(A2,D3.W) ;211e6: 05323000
+ BEQ.S LAB_211F0 ;211ea: 6704
+ BSET D4,0(A3,D5.W) ;211ec: 09f35000
+LAB_211F0:
+ ADD.L D7,D0 ;211f0: d087
+ SUBQ.W #1,D4 ;211f2: 5344
+ BPL.S LAB_211FA ;211f4: 6a04
+ MOVEQ #7,D4 ;211f6: 7807
+ ADDQ.W #1,D5 ;211f8: 5245
+LAB_211FA:
+ BRA.S LAB_211CA ;211fa: 60ce
+LAB_211FC:
+ LEA $28(A1),A1 ;211fc: 43e90028
+ LEA $28(A3),A3 ;21200: 47eb0028
+ MOVE.L D1,D0 ;21204: 2001
+ ADD.L D6,D1 ;21206: d286
+ MOVE.L D1,D2 ;21208: 2401
+ SWAP D0 ;2120a: 4840
+ SWAP D2 ;2120c: 4842
+ CMP.W $B80(A6),D2 ;2120e: b46e0b80
+ BHI.S LAB_21222 ;21212: 620e
+ SUB.W D0,D2 ;21214: 9440
+ ADD.W D2,D2 ;21216: d442
+ ADDA.W 0(A4,D2.W),A2 ;21218: d4f42000
+ ADDA.W 0(A4,D2.W),A0 ;2121c: d0f42000
+ BRA.S LAB_211AC ;21220: 608a
+LAB_21222:
+ MOVE.W D5,D2 ;21222: 3405
+ ASL.W #3,D2 ;21224: e742
+ NOT.W D4 ;21226: 4644
+ ANDI.W #$0007,D4 ;21228: 02440007
+ ADD.W D4,D2 ;2122c: d444
+ MOVE.W $AFE(A6),D3 ;2122e: 362e0afe
+ MOVEM.L (A7)+,D4-D7/A0-A5 ;21232: 4cdf3ff0
+ RTS ;21236: 4e75
+LAB_21238:
+ DC.L $0000000a,$0014001e,$00280032,$003c0046 ;21238
+ DC.L $0050005a,$0064006e,$00780082,$008c0096 ;21248
+LAB_21258:
+ DC.L $00000004,$0008000c,$00100014,$0018001c ;21258
+ DC.L $00200024,$0028002c,$00300034,$0038003c ;21268
+LAB_21278:
+ MOVEQ #0,D7 ;21278: 7e00
+ MOVE.B 2(A3),D7 ;2127a: 1e2b0002
+ LSR.W #3,D7 ;2127e: e64f
+ BSR.W LAB_2131C ;21280: 6100009a
+ BSR.W LAB_21180 ;21284: 6100fefa
+ MOVE.B 1(A3),D0 ;21288: 102b0001
+ MOVEA.L $1036(A6),A1 ;2128c: 226e1036
+ ANDI.W #$0003,D0 ;21290: 02400003
+ MOVE.W D0,-(A7) ;21294: 3f00
+ LEA $137E(A1),A1 ;21296: 43e9137e
+ MOVEA.L A1,A3 ;2129a: 2649
+ BSR.W LAB_21360 ;2129c: 610000c2
+ MOVEA.L A3,A1 ;212a0: 224b
+ ADDA.W #$1f40,A1 ;212a2: d2fc1f40
+ BSR.W LAB_21360 ;212a6: 610000b8
+ MOVEA.L A3,A1 ;212aa: 224b
+ MOVE.W (A7)+,D4 ;212ac: 381f
+ MOVEQ #$38,D3 ;212ae: 7638
+ BSR.W LAB_20DEC ;212b0: 6100fb3a
+ MOVE.W $F96(A6),D0 ;212b4: 302e0f96
+ ANDI.W #$00c0,D0 ;212b8: 024000c0
+ ADDI.W #$000c,D0 ;212bc: 0640000c
+ MOVE.W D0,$E54(A6) ;212c0: 3d400e54
+ LEA LAB_212EC(PC),A5 ;212c4: 4bfa0026
+ BSR.W LAB_212E0 ;212c8: 61000016
+ LEA LAB_212F8(PC),A5 ;212cc: 4bfa002a
+ BSR.W LAB_212E0 ;212d0: 6100000e
+ LEA LAB_21304(PC),A5 ;212d4: 4bfa002e
+ BSR.W LAB_212E0 ;212d8: 61000006
+ LEA LAB_21310(PC),A5 ;212dc: 4bfa0032
+LAB_212E0:
+ MOVEQ #$38,D6 ;212e0: 7c38
+ MOVE.W (A5)+,D2 ;212e2: 341d
+ MOVE.W (A5)+,D0 ;212e4: 301d
+ MOVE.W (A5)+,D1 ;212e6: 321d
+ BRA.W LAB_1B1C0 ;212e8: 60009ed6
+LAB_212EC:
+ DC.L $000a0028,$0038137e,$0a38000c ;212ec
+LAB_212F8:
+ DC.L $00080070,$0038137e,$0838000c ;212f8
+LAB_21304:
+ DC.L $000a0028,$0070137e,$0a38000c ;21304
+LAB_21310:
+ DC.L $00080070,$0070137e,$0838000c ;21310
+LAB_2131C:
+ MOVEA.L $106E(A6),A0 ;2131c: 206e106e
+ MOVE.W $F96(A6),D0 ;21320: 302e0f96
+ MOVEQ #0,D1 ;21324: 7200
+LAB_21326:
+ MULU #$05e5,D0 ;21326: c0fc05e5
+ ADDI.W #$0029,D0 ;2132a: 06400029
+ BSET D0,D1 ;2132e: 01c1
+ DBF D7,LAB_21326 ;21330: 51cffff4
+ MOVEQ #7,D7 ;21334: 7e07
+LAB_21336:
+ MULU #$05e5,D0 ;21336: c0fc05e5
+ ADDI.W #$0029,D0 ;2133a: 06400029
+ MOVE.W D0,D2 ;2133e: 3400
+ ROR.L D2,D1 ;21340: e4b9
+ MOVE.L D1,(A0)+ ;21342: 20c1
+ ROR.W #4,D2 ;21344: e85a
+ ROR.L D2,D1 ;21346: e4b9
+ MOVE.L D1,(A0)+ ;21348: 20c1
+ ROR.W #4,D2 ;2134a: e85a
+ ROR.L D2,D1 ;2134c: e4b9
+ MOVE.L D1,(A0)+ ;2134e: 20c1
+ ROR.W #4,D2 ;21350: e85a
+ ROR.L D2,D1 ;21352: e4b9
+ MOVE.L D1,(A0)+ ;21354: 20c1
+ DBF D7,LAB_21336 ;21356: 51cfffde
+ MOVE.W D0,$F96(A6) ;2135a: 3d400f96
+ RTS ;2135e: 4e75
+LAB_21360:
+ MOVEM.L A2-A3,-(A7) ;21360: 48e70030
+ MOVEA.L $106E(A6),A3 ;21364: 266e106e
+ MOVEA.L $1092(A6),A2 ;21368: 246e1092
+ MOVE.W $F96(A6),D0 ;2136c: 302e0f96
+ MOVE.W D0,D1 ;21370: 3200
+ ANDI.W #$007e,D0 ;21372: 0240007e
+ MULU #$05e5,D1 ;21376: c2fc05e5
+ ADDI.W #$0029,D1 ;2137a: 06410029
+ MOVE.W D1,$F96(A6) ;2137e: 3d410f96
+ ANDI.W #$007e,D1 ;21382: 0241007e
+ MOVE.W $1026(A6),D5 ;21386: 3a2e1026
+ ANDI.W #$0007,D5 ;2138a: 02450007
+ ADD.W D5,D5 ;2138e: da45
+ MOVE.W D5,D4 ;21390: 3805
+ ADDQ.W #2,D4 ;21392: 5444
+ ADDQ.W #4,D5 ;21394: 5845
+ MOVEQ #$37,D7 ;21396: 7e37
+LAB_21398:
+ MOVE.L 0(A2,D0.W),D6 ;21398: 2c320000
+ AND.L 0(A3,D1.W),D6 ;2139c: ccb31000
+ MOVE.L D6,(A1)+ ;213a0: 22c6
+ MOVE.L 4(A2,D0.W),D6 ;213a2: 2c320004
+ AND.L 4(A3,D1.W),D6 ;213a6: ccb31004
+ MOVE.L D6,(A1)+ ;213aa: 22c6
+ MOVE.W 8(A2,D0.W),D6 ;213ac: 3c320008
+ AND.W 8(A3,D1.W),D6 ;213b0: cc731008
+ MOVE.W D6,(A1) ;213b4: 3286
+ ADD.W D5,D0 ;213b6: d045
+ CMP.W #$0075,D0 ;213b8: b07c0075
+ BLS.S LAB_213C2 ;213bc: 6304
+ SUBI.W #$0076,D0 ;213be: 04400076
+LAB_213C2:
+ ADD.W D4,D1 ;213c2: d244
+ CMP.W #$0075,D1 ;213c4: b27c0075
+ BLS.S LAB_213CE ;213c8: 6304
+ SUBI.W #$0076,D1 ;213ca: 04410076
+LAB_213CE:
+ LEA $20(A1),A1 ;213ce: 43e90020
+ DBF D7,LAB_21398 ;213d2: 51cfffc4
+ MOVEM.L (A7)+,A2-A3 ;213d6: 4cdf0c00
+ RTS ;213da: 4e75
+SUB_213DC:
+ JMP LAB_198CC ;213dc: 4ef9000198cc
+SUB_213E2:
+ MOVEA.L #LAB_13A12,A0 ;213e2: 207c00013a12
+ CLR.W (A0) ;213e8: 4250
+ CLR.W $BE8(A6) ;213ea: 426e0be8
+ RTS ;213ee: 4e75
+LAB_213F0:
+ LEA $A64(A6),A0 ;213f0: 41ee0a64
+ MOVEQ #$22,D0 ;213f4: 7022
+LAB_213F6:
+ MOVE.W (A0)+,-(A7) ;213f6: 3f18
+ DBF D0,LAB_213F6 ;213f8: 51c8fffc
+ MOVE.W $B8C(A6),-(A7) ;213fc: 3f2e0b8c
+ BSR.W SUB_2142C ;21400: 6100002a
+ CMP.L #$01234567,D7 ;21404: bebc01234567
+ BEQ.S LAB_21424 ;2140a: 6718
+ MOVE.W (A7)+,$B8C(A6) ;2140c: 3d5f0b8c
+ LEA $AAA(A6),A0 ;21410: 41ee0aaa
+ MOVEQ #$22,D0 ;21414: 7022
+LAB_21416:
+ MOVE.W (A7)+,-(A0) ;21416: 311f
+ DBF D0,LAB_21416 ;21418: 51c8fffc
+ BSR.W LAB_215F6 ;2141c: 610001d8
+ BRA.W LAB_2091C ;21420: 6000f4fa
+LAB_21424:
+ LEA $48(A7),A7 ;21424: 4fef0048
+ BRA.W LAB_2091C ;21428: 6000f4f2
+SUB_2142C:
+ ST $F90(A6) ;2142c: 50ee0f90
+ CLR.W $C3C(A6) ;21430: 426e0c3c
+LAB_21434:
+ BSR.W SUB_21620 ;21434: 610001ea
+LAB_21438:
+ BSR.W SUB_21710 ;21438: 610002d6
+ MOVEQ #0,D2 ;2143c: 7400
+ JSR SUB_19CE4 ;2143e: 4eb900019ce4
+ JSR SUB_19D22 ;21444: 4eb900019d22
+ BNE.S LAB_21458 ;2144a: 660c
+ JSR SUB_139DE ;2144c: 4eb9000139de
+ TST.W D0 ;21452: 4a40
+ BEQ.S LAB_21438 ;21454: 67e2
+ BRA.S LAB_21468 ;21456: 6010
+LAB_21458:
+ TST.B D2 ;21458: 4a02
+ BEQ.S LAB_21468 ;2145a: 670c
+ BSR.W SUB_2146E ;2145c: 61000010
+ CMP.L #$01234567,D7 ;21460: bebc01234567
+ BNE.S LAB_21434 ;21466: 66cc
+LAB_21468:
+ ST $C18(A6) ;21468: 50ee0c18
+ RTS ;2146c: 4e75
+SUB_2146E:
+ CMP.W #$0087,D1 ;2146e: b27c0087
+ BHI.S LAB_21480 ;21472: 620c
+ CMP.W #$0068,D1 ;21474: b27c0068
+ BHI.W LAB_215A8 ;21478: 6200012e
+ BRA.S LAB_214B4 ;2147c: 6036
+LAB_2147E:
+ RTS ;2147e: 4e75
+LAB_21480:
+ CMP.W #$00a6,D1 ;21480: b27c00a6
+ BHI.S LAB_2147E ;21484: 62f8
+ CMP.W #$0027,D0 ;21486: b07c0027
+ BLS.S LAB_2147E ;2148a: 63f2
+ CMP.W #$00a7,D0 ;2148c: b07c00a7
+ BHI.S LAB_2147E ;21490: 62ec
+ SUBI.W #$0028,D0 ;21492: 04400028
+ LSR.W #4,D0 ;21496: e848
+ SUBI.W #$0087,D1 ;21498: 04410087
+ ANDI.W #$00f8,D1 ;2149c: 024100f8
+ ADD.W D1,D0 ;214a0: d041
+ MOVE.W D0,$C3C(A6) ;214a2: 3d400c3c
+ BSET #2,$F90(A6) ;214a6: 08ee00020f90
+ BSET #0,$F90(A6) ;214ac: 08ee00000f90
+LAB_214B2:
+ RTS ;214b2: 4e75
+LAB_214B4:
+ CMP.W #$0051,D0 ;214b4: b07c0051
+ BLS.S LAB_214F4 ;214b8: 633a
+ CMP.W #$0080,D0 ;214ba: b07c0080
+ BHI.W LAB_21542 ;214be: 62000082
+ SUBI.W #$0052,D0 ;214c2: 04400052
+ CMP.W #$0029,D0 ;214c6: b07c0029
+ BHI.S LAB_214B2 ;214ca: 62e6
+ SUBI.W #$0016,D0 ;214cc: 04400016
+ SUBI.W #$0046,D1 ;214d0: 04410046
+ CMP.W #$001c,D1 ;214d4: b27c001c
+ BHI.S LAB_214B2 ;214d8: 62d8
+ SUBI.W #$000e,D1 ;214da: 0441000e
+ ASR.W #1,D0 ;214de: e240
+ MOVE.W D0,$AA4(A6) ;214e0: 3d400aa4
+ MOVE.W D1,$AA6(A6) ;214e4: 3d410aa6
+ BSET #1,$F90(A6) ;214e8: 08ee00010f90
+ JMP LAB_13C38 ;214ee: 4ef900013c38
+LAB_214F4:
+ SUBI.W #$0027,D0 ;214f4: 04400027
+ CMP.W #$001f,D0 ;214f8: b07c001f
+ BHI.S LAB_21530 ;214fc: 6232
+ CMP.W #$005a,D1 ;214fe: b27c005a
+ BLS.S LAB_21518 ;21502: 6314
+ CMP.W #$0063,D1 ;21504: b27c0063
+ BHI.S LAB_21518 ;21508: 620e
+ BSR.S SUB_21532 ;2150a: 6126
+ MOVE.W D0,$AA8(A6) ;2150c: 3d400aa8
+ BSET #4,$F90(A6) ;21510: 08ee00040f90
+ RTS ;21516: 4e75
+LAB_21518:
+ CMP.W #$004b,D1 ;21518: b27c004b
+ BLS.S LAB_21530 ;2151c: 6312
+ CMP.W #$0054,D1 ;2151e: b27c0054
+ BHI.S LAB_21530 ;21522: 620c
+ BSR.S SUB_21532 ;21524: 610c
+ MOVE.W D0,$B8C(A6) ;21526: 3d400b8c
+ BSET #5,$F90(A6) ;2152a: 08ee00050f90
+LAB_21530:
+ RTS ;21530: 4e75
+SUB_21532:
+ ADD.W D0,D0 ;21532: d040
+ ADDQ.W #1,D0 ;21534: 5240
+ EORI.W #$003f,D0 ;21536: 0a40003f
+ ANDI.W #$003f,D0 ;2153a: 0240003f
+ ROR.W #6,D0 ;2153e: ec58
+ RTS ;21540: 4e75
+LAB_21542:
+ SUBI.W #$004b,D1 ;21542: 0441004b
+ CMP.W #$0008,D1 ;21546: b27c0008
+ BHI.S LAB_2155E ;2154a: 6212
+ SUBI.W #$008e,D0 ;2154c: 0440008e
+ CMP.W #$0012,D0 ;21550: b07c0012
+ BHI.S LAB_2155C ;21554: 6206
+ MOVE.L #$01234567,D7 ;21556: 2e3c01234567
+LAB_2155C:
+ RTS ;2155c: 4e75
+LAB_2155E:
+ SUBI.W #$000c,D1 ;2155e: 0441000c
+ CMP.W #$0008,D1 ;21562: b27c0008
+ BHI.S LAB_2155C ;21566: 62f4
+ SUBI.W #$0085,D0 ;21568: 04400085
+ CMP.W #$0015,D0 ;2156c: b07c0015
+ BLS.S LAB_21580 ;21570: 630e
+ CMP.W #$0026,D0 ;21572: b07c0026
+ BHI.S LAB_2155C ;21576: 62e4
+ MOVEA.L #palette2,A0 ;21578: 207c00013bb8
+ BRA.S LAB_21586 ;2157e: 6006
+LAB_21580:
+ MOVEA.L #palette1,A0 ;21580: 207c00013b78
+LAB_21586:
+ CLR.L $AA4(A6) ;21586: 42ae0aa4
+ MOVE.W #$b000,$B8C(A6) ;2158a: 3d7cb0000b8c
+ CLR.W $AA8(A6) ;21590: 426e0aa8
+ ST $F90(A6) ;21594: 50ee0f90
+ LEA $A64(A6),A1 ;21598: 43ee0a64
+ MOVEQ #$1F,D0 ;2159c: 701f
+LAB_2159E:
+ MOVE.W (A0)+,(A1)+ ;2159e: 32d8
+ DBF D0,LAB_2159E ;215a0: 51c8fffc
+ BRA.W LAB_215F6 ;215a4: 60000050
+LAB_215A8:
+ SUBI.W #$002c,D0 ;215a8: 0440002c
+ CMP.W #$007f,D0 ;215ac: b07c007f
+ BHI.S LAB_2155C ;215b0: 62aa
+ SUBI.W #$0068,D1 ;215b2: 04410068
+ CMP.W #$001a,D1 ;215b6: b27c001a
+ BHI.S LAB_2155C ;215ba: 62a0
+ ANDI.L #$000000ff,D1 ;215bc: 0281000000ff
+ DIVU #$0009,D1 ;215c2: 82fc0009
+ LSR.W #3,D0 ;215c6: e648
+ MOVE.W $C3C(A6),D4 ;215c8: 382e0c3c
+ LEA LAB_21874(PC),A0 ;215cc: 41fa02a6
+ MOVE.B 0(A0,D4.W),D4 ;215d0: 18304000
+ LEA $A64(A6),A0 ;215d4: 41ee0a64
+ ADD.W D4,D4 ;215d8: d844
+ ADD.W D1,D1 ;215da: d241
+ MOVE.W 0(A0,D4.W),D3 ;215dc: 36304000
+ MOVE.W LAB_21614(PC,D1.W),D2 ;215e0: 343b1032
+ AND.W D2,D3 ;215e4: c642
+ MOVE.W LAB_2161A(PC,D1.W),D2 ;215e6: 343b1032
+ ROL.W D2,D0 ;215ea: e578
+ OR.W D0,D3 ;215ec: 8640
+ MOVE.W D3,0(A0,D4.W) ;215ee: 31834000
+ MOVE.W (A0),$26(A0) ;215f2: 31500026
+LAB_215F6:
+ MOVEQ #$1F,D7 ;215f6: 7e1f
+ LEA $A64(A6),A0 ;215f8: 41ee0a64
+ MOVEA.L #LAB_13BF8,A1 ;215fc: 227c00013bf8
+LAB_21602:
+ MOVE.W (A0)+,(A1)+ ;21602: 32d8
+ DBF D7,LAB_21602 ;21604: 51cffffc
+ BSET #2,$F90(A6) ;21608: 08ee00020f90
+ JMP LAB_13C38 ;2160e: 4ef900013c38
+LAB_21614:
+ DC.L $00ff0f0f ;21614
+ DC.W $0ff0 ;21618
+LAB_2161A:
+ DC.L $00080004 ;2161a
+ DS.W 1 ;2161e
+SUB_21620:
+ BTST #3,$F90(A6) ;21620: 082e00030f90
+ BEQ.S LAB_21676 ;21626: 674e
+ BCLR #3,$F90(A6) ;21628: 08ae00030f90
+ MOVE.W #$0509,D0 ;2162e: 303c0509
+ JSR LAB_198CC ;21632: 4eb9000198cc
+ MOVEQ #7,D6 ;21638: 7c07
+ MOVEQ #$32,D2 ;2163a: 7432
+ MOVEQ #-111,D5 ;2163c: 7a91
+ MOVEQ #0,D3 ;2163e: 7600
+ MOVEQ #$E,D1 ;21640: 720e
+ MOVEQ #$19,D4 ;21642: 7819
+LAB_21644:
+ MOVEM.W D0-D6,-(A7) ;21644: 48a7fe00
+ BSR.W SUB_20B08 ;21648: 6100f4be
+ MOVEM.W (A7)+,D0-D6 ;2164c: 4c9f007f
+ ADDI.W #$0010,D1 ;21650: 06410010
+ DBF D6,LAB_21644 ;21654: 51ceffee
+ MOVEQ #$14,D2 ;21658: 7414
+ MOVEQ #-103,D5 ;2165a: 7a99
+ MOVEQ #$12,D3 ;2165c: 7612
+ MOVEQ #$6F,D1 ;2165e: 726f
+ MOVEQ #7,D4 ;21660: 7807
+ BSR.W SUB_217E2 ;21662: 6100017e
+ MOVEQ #-103,D5 ;21666: 7a99
+ MOVEQ #$20,D2 ;21668: 7420
+ MOVE.W #$0026,D3 ;2166a: 363c0026
+ MOVEQ #$65,D1 ;2166e: 7265
+ MOVEQ #7,D4 ;21670: 7807
+ BSR.W SUB_217E2 ;21672: 6100016e
+LAB_21676:
+ BTST #0,$F90(A6) ;21676: 082e00000f90
+ BEQ.S LAB_21688 ;2167c: 670a
+ BCLR #0,$F90(A6) ;2167e: 08ae00000f90
+ BSR.W SUB_21810 ;21684: 6100018a
+LAB_21688:
+ MOVE.W $C3C(A6),D7 ;21688: 3e2e0c3c
+ LEA LAB_21874(PC),A0 ;2168c: 41fa01e6
+ MOVE.B 0(A0,D7.W),D7 ;21690: 1e307000
+ ADD.W D7,D7 ;21694: de47
+ LEA $A64(A6),A0 ;21696: 41ee0a64
+ MOVE.W 0(A0,D7.W),D7 ;2169a: 3e307000
+ BTST #2,$F90(A6) ;2169e: 082e00020f90
+ BEQ.S LAB_216BE ;216a4: 6718
+ BCLR #2,$F90(A6) ;216a6: 08ae00020f90
+ MOVEQ #$33,D2 ;216ac: 7433
+ BSR.W SUB_217AE ;216ae: 610000fe
+ MOVEQ #$3C,D2 ;216b2: 743c
+ BSR.W SUB_217AE ;216b4: 610000f8
+ MOVEQ #$45,D2 ;216b8: 7445
+ BSR.W SUB_217AE ;216ba: 610000f2
+LAB_216BE:
+ BTST #1,$F90(A6) ;216be: 082e00010f90
+ BEQ.S LAB_216D0 ;216c4: 670a
+ BCLR #1,$F90(A6) ;216c6: 08ae00010f90
+ BSR.W SUB_2173C ;216cc: 6100006e
+LAB_216D0:
+ BTST #4,$F90(A6) ;216d0: 082e00040f90
+ BEQ.S LAB_216EA ;216d6: 6712
+ BCLR #4,$F90(A6) ;216d8: 08ae00040f90
+ MOVE.W #$0022,D2 ;216de: 343c0022
+ MOVE.W $AA8(A6),D7 ;216e2: 3e2e0aa8
+ BSR.W SUB_21770 ;216e6: 61000088
+LAB_216EA:
+ BTST #5,$F90(A6) ;216ea: 082e00050f90
+ BEQ.S LAB_21704 ;216f0: 6712
+ BCLR #5,$F90(A6) ;216f2: 08ae00050f90
+ MOVE.W #$0013,D2 ;216f8: 343c0013
+ MOVE.W $B8C(A6),D7 ;216fc: 3e2e0b8c
+ BSR.W SUB_21770 ;21700: 6100006e
+LAB_21704:
+ LEA strPrefs(PC),A0 ;21704: 41fa01d6
+ JSR SUB_14FAA ;21708: 4eb900014faa
+ RTS ;2170e: 4e75
+SUB_21710:
+ ADDQ.W #1,$32(A6) ;21710: 526e0032
+ MOVE.W $32(A6),D5 ;21714: 3a2e0032
+ ORI.W #$0080,D5 ;21718: 00450080
+ MOVE.W $C3C(A6),D1 ;2171c: 322e0c3c
+ MOVE.W D1,D2 ;21720: 3401
+ ANDI.W #$0007,D1 ;21722: 02410007
+ ASL.W #3,D1 ;21726: e741
+ ADD.W D1,D1 ;21728: d241
+ ADDQ.W #8,D1 ;2172a: 5041
+ ANDI.W #$00f8,D2 ;2172c: 024200f8
+ ADDI.W #$0051,D2 ;21730: 06420051
+ MOVEQ #$D,D3 ;21734: 760d
+ MOVEQ #5,D4 ;21736: 7805
+ BRA.W SUB_20B08 ;21738: 6000f3ce
+SUB_2173C:
+ MOVE.W #$0030,D1 ;2173c: 323c0030
+ MOVE.W #$000f,D2 ;21740: 343c000f
+ MOVE.W #$002b,D3 ;21744: 363c002b
+ MOVE.W #$001e,D4 ;21748: 383c001e
+ MOVEQ #-103,D5 ;2174c: 7a99
+ BSR.W SUB_217E2 ;2174e: 61000092
+ MOVE.W $AA4(A6),D1 ;21752: 322e0aa4
+ ADD.W D1,D1 ;21756: d241
+ ADDI.W #$0047,D1 ;21758: 06410047
+ MOVE.W $AA6(A6),D2 ;2175c: 342e0aa6
+ ADDI.W #$001d,D2 ;21760: 0642001d
+ MOVEQ #1,D3 ;21764: 7601
+ MOVEQ #1,D4 ;21766: 7801
+ MOVE.W #$ff9b,D5 ;21768: 3a3cff9b
+ BRA.W SUB_20B08 ;2176c: 6000f39a
+SUB_21770:
+ MOVEM.W D2/D7,-(A7) ;21770: 48a72100
+ MOVEQ #6,D1 ;21774: 7206
+ MOVEQ #-101,D5 ;21776: 7a9b
+ MOVEQ #9,D3 ;21778: 7609
+ MOVEQ #0,D4 ;2177a: 7800
+ BSR.W SUB_21802 ;2177c: 61000084
+ ADDQ.W #3,D1 ;21780: 5641
+ SUBQ.W #3,D3 ;21782: 5743
+ SUBQ.W #1,D2 ;21784: 5342
+ BSR.W SUB_21802 ;21786: 6100007a
+ ADDQ.W #3,D1 ;2178a: 5641
+ SUBQ.W #3,D3 ;2178c: 5743
+ SUBQ.W #1,D2 ;2178e: 5342
+ BSR.W SUB_21802 ;21790: 61000070
+ MOVEM.W (A7)+,D2/D7 ;21794: 4c9f0084
+ ADDQ.W #3,D2 ;21798: 5642
+ ROL.W #6,D7 ;2179a: ed5f
+ EORI.W #$003f,D7 ;2179c: 0a47003f
+ SUBQ.W #2,D7 ;217a0: 5547
+ LSR.W #1,D7 ;217a2: e24f
+ MOVEQ #6,D1 ;217a4: 7206
+ MOVE.W #$0022,D3 ;217a6: 363c0022
+ BRA.W SUB_217C8 ;217aa: 6000001c
+SUB_217AE:
+ ROL.W #4,D7 ;217ae: e95f
+ MOVE.W D7,-(A7) ;217b0: 3f07
+ ROL.W #4,D7 ;217b2: e95f
+ ANDI.W #$000f,D7 ;217b4: 0247000f
+ ASL.W #3,D7 ;217b8: e747
+ MOVEQ #$C,D1 ;217ba: 720c
+ MOVE.W #$007c,D3 ;217bc: 363c007c
+ BSR.W SUB_217C8 ;217c0: 61000006
+ MOVE.W (A7)+,D7 ;217c4: 3e1f
+ RTS ;217c6: 4e75
+SUB_217C8:
+ MOVE.W D7,-(A7) ;217c8: 3f07
+ MOVEQ #4,D4 ;217ca: 7804
+ MOVEQ #-103,D5 ;217cc: 7a99
+ BSR.W SUB_217E2 ;217ce: 61000012
+ MOVE.W (A7)+,D7 ;217d2: 3e1f
+ SUBQ.W #3,D2 ;217d4: 5742
+ ADD.W D7,D1 ;217d6: d247
+ MOVEQ #2,D3 ;217d8: 7602
+ MOVEQ #2,D4 ;217da: 7802
+ MOVEQ #-101,D5 ;217dc: 7a9b
+ BRA.W SUB_20B08 ;217de: 6000f328
+SUB_217E2:
+ BSR.W SUB_21802 ;217e2: 6100001e
+ ADDQ.W #1,D1 ;217e6: 5241
+ SUBQ.W #1,D3 ;217e8: 5343
+ MOVE.W D4,D7 ;217ea: 3e04
+ SUBQ.W #1,D7 ;217ec: 5347
+LAB_217EE:
+ MOVE.W D7,-(A7) ;217ee: 3f07
+ BSR.W SUB_217FC ;217f0: 6100000a
+ MOVE.W (A7)+,D7 ;217f4: 3e1f
+ DBF D7,LAB_217EE ;217f6: 51cffff6
+ RTS ;217fa: 4e75
+SUB_217FC:
+ MOVEQ #-109,D5 ;217fc: 7a93
+ ADDQ.W #1,D2 ;217fe: 5242
+ MOVEQ #0,D4 ;21800: 7800
+SUB_21802:
+ MOVEM.W D1-D5,-(A7) ;21802: 48a77c00
+ BSR.W SUB_20B08 ;21806: 6100f300
+ MOVEM.W (A7)+,D1-D5 ;2180a: 4c9f003e
+ RTS ;2180e: 4e75
+SUB_21810:
+ MOVEA.L $1022(A6),A0 ;21810: 206e1022
+ LEA $640(A0),A0 ;21814: 41e80640
+ LEA LAB_21874(PC),A1 ;21818: 43fa005a
+ LEA LAB_21894(PC),A2 ;2181c: 45fa0076
+ MOVEQ #3,D7 ;21820: 7e03
+LAB_21822:
+ MOVEQ #-2,D6 ;21822: 7cfe
+ MOVE.L A0,-(A7) ;21824: 2f08
+ MOVEQ #$11,D0 ;21826: 7011
+LAB_21828:
+ CLR.W D1 ;21828: 4241
+ MOVE.B (A2)+,D1 ;2182a: 121a
+ MOVE.B 0(A1,D1.W),D1 ;2182c: 12311000
+ MOVEQ #4,D2 ;21830: 7404
+ MOVE.L A0,-(A7) ;21832: 2f08
+LAB_21834:
+ MOVEQ #0,D3 ;21834: 7600
+ MOVEQ #6,D4 ;21836: 7806
+ BTST #0,D1 ;21838: 08010000
+ BEQ.S LAB_21840 ;2183c: 6702
+ MOVE.W D6,D3 ;2183e: 3606
+LAB_21840:
+ CLR.B (A0) ;21840: 4210
+ MOVE.L A0,-(A7) ;21842: 2f08
+LAB_21844:
+ LEA $14(A0),A0 ;21844: 41e80014
+ MOVE.B D3,(A0) ;21848: 1083
+ DBF D4,LAB_21844 ;2184a: 51ccfff8
+ LSR.W #1,D1 ;2184e: e249
+ MOVEA.L (A7)+,A0 ;21850: 205f
+ LEA $8C0(A0),A0 ;21852: 41e808c0
+ DBF D2,LAB_21834 ;21856: 51caffdc
+ BCHG #0,D6 ;2185a: 08460000
+ MOVEA.L (A7)+,A0 ;2185e: 205f
+ LEA 1(A0),A0 ;21860: 41e80001
+ DBF D0,LAB_21828 ;21864: 51c8ffc2
+ MOVEA.L (A7)+,A0 ;21868: 205f
+ LEA $A0(A0),A0 ;2186a: 41e800a0
+ DBF D7,LAB_21822 ;2186e: 51cfffb2
+ RTS ;21872: 4e75
+LAB_21874:
+ DC.L $05151411,$0c0d0e0f,$06121d1e,$1f010203 ;21874
+ DC.L $0710080b,$1c161704,$19181a1b,$090a0000 ;21884
+LAB_21894:
+ DC.L $1f000001,$01020203,$03040405,$05060607 ;21894
+ DC.L $071f1f08,$0809090a,$0a0b0b0c,$0c0d0d0e ;218a4
+ DC.L $0e0f0f1f,$1f101011,$11121213,$13141415 ;218b4
+ DC.L $15161617,$171f1f18,$1819191a,$1a1b1b1c ;218c4
+ DC.L $1c1d1d1e,$1e1e1e1f ;218d4
+strPrefs:
+ DC.L $9a1f0405 ;218dc
+ ;218e0
+ ;DC.B $50,$52,$45,$46,$45,$52,$45,$4e,$43,$45,$53,$20,$56,$31,$2e,$34
+ DC.B "PREFERENCES V1.4"
+ DC.L $060a0a9b ;218f0
+ DC.W $0210 ;218f4
+ ;218f6
+ ;DC.B $4d,$4f,$55,$53,$45
+ DC.B "MOUSE"
+ DC.B $0a ;218fb
+ DC.W $9702 ;218fc
+ DC.B $71 ;218fe
+ ;218ff
+ ;DC.B $55,$53,$45
+ DC.B "USE"
+ DC.L $0a0d9102 ;21902
+ DC.B $10 ;21906
+ ;21907
+ ;DC.B $56,$4f,$4c
+ DC.B "VOL"
+ DC.L $0d910267 ;2190a
+ ;2190e
+ ;DC.B $44,$45,$46,$41,$55,$4c,$54
+ DC.B "DEFAULT"
+ DC.B $0a ;21915
+ DC.L $0a0a0204 ;21916
+ ;2191a
+ ;DC.B $52
+ DC.B "R"
+ DC.B $0a ;2191b
+ DC.W $0d02 ;2191c
+ DC.B $04 ;2191e
+ ;2191f
+ ;DC.B $47
+ DC.B "G"
+ DC.L $0a0d0204 ;21920
+ ;21924
+ ;DC.B $42
+ DC.B "B"
+ DC.B $0a ;21925
+ DC.W $0d00 ;21926
+LAB_21928:
+ MOVE.W #$052e,D0 ;21928: 303c052e
+ BSR.W SUB_213DC ;2192c: 6100faae
+ LEA guru1(PC),A0 ;21930: 41fa00a6
+ BSR.W LAB_21948 ;21934: 61000012
+ CLR.W -(A7) ;21938: 4267
+; ?
+ MOVE.W EXT_44.W,-(A7) ;2193a: 3f380044
+ RTS ;2193e: 4e75
+SUB_21940:
+ LEA guru2(PC),A0 ;21940: 41fa00e3
+ BRA.W LAB_21948 ;21944: 60000002
+LAB_21948:
+ MOVE.L A0,-(A7) ;21948: 2f08
+ MOVEA.L $1022(A6),A0 ;2194a: 206e1022
+ MOVEQ #4,D1 ;2194e: 7204
+LAB_21950:
+ LEA $320(A0),A1 ;21950: 43e80320
+ LEA $5A0(A0),A2 ;21954: 45e805a0
+ LEA $5A0(A1),A3 ;21958: 47e905a0
+ MOVE.W #$0167,D0 ;2195c: 303c0167
+LAB_21960:
+ MOVE.L -(A2),-(A3) ;21960: 2722
+ DBF D0,LAB_21960 ;21962: 51c8fffc
+ MOVE.W #$00c7,D0 ;21966: 303c00c7
+LAB_2196A:
+ CLR.L -(A3) ;2196a: 42a3
+ DBF D0,LAB_2196A ;2196c: 51c8fffc
+ LEA $8C0(A0),A0 ;21970: 41e808c0
+ DBF D1,LAB_21950 ;21974: 51c9ffda
+ MOVEA.L (A7)+,A0 ;21978: 205f
+ JSR SUB_14FAA ;2197a: 4eb900014faa
+ BSR.W SUB_213E2 ;21980: 6100fa60
+ CLR.W D5 ;21984: 4245
+LAB_21986:
+ ADDQ.W #1,D5 ;21986: 5245
+ MOVE.W D5,-(A7) ;21988: 3f05
+ BSR.W SUB_219A4 ;2198a: 61000018
+ MOVEQ #$B,D2 ;2198e: 740b
+ JSR SUB_19CE4 ;21990: 4eb900019ce4
+ JSR SUB_19D22 ;21996: 4eb900019d22
+ MOVEM.W (A7)+,D5 ;2199c: 4c9f0020
+ BEQ.S LAB_21986 ;219a0: 67e4
+ RTS ;219a2: 4e75
+SUB_219A4:
+ MOVE.W #$ff93,D0 ;219a4: 303cff93
+ BTST #0,D5 ;219a8: 08050000
+ BEQ.S LAB_219B2 ;219ac: 6704
+ MOVE.W #$ff99,D0 ;219ae: 303cff99
+LAB_219B2:
+ MOVE.W D0,D5 ;219b2: 3a00
+ MOVEQ #0,D1 ;219b4: 7200
+ MOVEQ #0,D2 ;219b6: 7400
+ MOVE.W #$008e,D3 ;219b8: 363c008e
+ MOVE.W #$0025,D4 ;219bc: 383c0025
+ MOVEQ #2,D7 ;219c0: 7e02
+LAB_219C2:
+ MOVE.W D7,-(A7) ;219c2: 3f07
+ BSR.W SUB_21802 ;219c4: 6100fe3c
+ MOVE.W (A7)+,D7 ;219c8: 3e1f
+ ADDQ.W #1,D1 ;219ca: 5241
+ ADDQ.W #1,D2 ;219cc: 5242
+ SUBQ.W #2,D3 ;219ce: 5543
+ SUBQ.W #2,D4 ;219d0: 5544
+ DBF D7,LAB_219C2 ;219d2: 51cfffee
+ RTS ;219d6: 4e75
+guru1:
+ DC.W $9906 ;219d8
+ DC.B $08 ;219da
+ ;219db
+ ;DC.B $47,$55,$52,$55,$20,$4d,$45,$44,$49,$54,$41,$54,$49,$4f,$4e,$20
+ ;DC.B $23,$38,$30,$30,$31,$30,$30,$30,$30,$2e,$30,$30
+ DC.B "GURU MEDITATION #80010000.00"
+ DC.B $0a ;219f7
+ DC.W $0d02 ;219f8
+ DC.B $19 ;219fa
+ ;219fb
+ ;DC.B $4f,$55,$54,$20,$4f,$46,$20,$4d,$45,$4d,$4f,$52,$59,$20,$45,$52
+ ;DC.B $52,$4f,$52
+ DC.B "OUT OF MEMORY ERROR"
+ DC.L $0a0d021c ;21a0e
+ ;21a12
+ ;DC.B $4c,$45,$46,$54,$20,$4d,$4f,$55,$53,$45,$20,$54,$4f,$20,$42,$4f
+ ;DC.B $4f,$54,$00
+ DC.B "LEFT MOUSE TO BOOT",0
+guru2:
+ DC.B $99 ;21a25
+ DC.W $0608 ;21a26
+ ;21a28
+ ;DC.B $47,$55,$52,$55,$20,$4d,$45,$44,$49,$54,$41,$54,$49,$4f,$4e,$20
+ ;DC.B $23,$30,$34,$30,$30,$30,$30,$30,$44,$2e,$31,$30
+ DC.B "GURU MEDITATION #0400000D.10"
+ DC.L $0a0d021c ;21a44
+ ;21a48
+ ;DC.B $53,$54,$55,$44,$49,$4f,$20,$4e,$45,$45,$44,$53,$20,$52,$45,$50
+ ;DC.B $41,$49,$52,$53
+ DC.B "STUDIO NEEDS REPAIRS"
+ DC.L $0a0d021a ;21a5c
+ ;21a60
+ ;DC.B $4c,$45,$46,$54,$20,$4d,$4f,$55,$53,$45,$20,$54,$4f,$20,$52,$45
+ ;DC.B $50,$41,$49,$52,$00,$00
+ DC.B "LEFT MOUSE TO REPAIR",0,0
+SUB_21A76:
+ MOVEA.L #LAB_14A6C,A0 ;21a76: 207c00014a6c
+ MOVEA.L (A0),A0 ;21a7c: 2050
+ MOVE.W 4(A0),$20(A6) ;21a7e: 3d6800040020
+ MOVE.W #$0002,$22(A6) ;21a84: 3d7c00020022
+SUB_21A8A:
+ MOVEA.L #LAB_14A6C,A0 ;21a8a: 207c00014a6c
+ MOVEA.L (A0),A0 ;21a90: 2050
+ MOVE.L A0,D0 ;21a92: 2008
+ MOVE.L 6(A0),$B3A(A6) ;21a94: 2d6800060b3a
+ ADD.L D0,$B3A(A6) ;21a9a: d1ae0b3a
+ MOVE.L $52(A0),$B62(A6) ;21a9e: 2d6800520b62
+ ADD.L D0,$B62(A6) ;21aa4: d1ae0b62
+ MOVE.L $4E(A0),$B6A(A6) ;21aa8: 2d68004e0b6a
+ ADD.L D0,$B6A(A6) ;21aae: d1ae0b6a
+ MOVE.L $2E(A0),$B42(A6) ;21ab2: 2d68002e0b42
+ ADD.L D0,$B42(A6) ;21ab8: d1ae0b42
+ MOVE.L $42(A0),$B46(A6) ;21abc: 2d6800420b46
+ ADD.L D0,$B46(A6) ;21ac2: d1ae0b46
+ MOVE.L $46(A0),$B4E(A6) ;21ac6: 2d6800460b4e
+ ADD.L D0,$B4E(A6) ;21acc: d1ae0b4e
+ MOVE.L $3A(A0),$B52(A6) ;21ad0: 2d68003a0b52
+ ADD.L D0,$B52(A6) ;21ad6: d1ae0b52
+ MOVE.L $36(A0),$B56(A6) ;21ada: 2d6800360b56
+ ADD.L D0,$B56(A6) ;21ae0: d1ae0b56
+ MOVE.L $32(A0),$B5A(A6) ;21ae4: 2d6800320b5a
+ ADD.L D0,$B5A(A6) ;21aea: d1ae0b5a
+ MOVE.L $3E(A0),$B5E(A6) ;21aee: 2d68003e0b5e
+ ADD.L D0,$B5E(A6) ;21af4: d1ae0b5e
+ MOVE.L $2A(A0),$B4A(A6) ;21af8: 2d68002a0b4a
+ ADD.L D0,$B4A(A6) ;21afe: d1ae0b4a
+ MOVE.L $4A(A0),$B72(A6) ;21b02: 2d68004a0b72
+ ADD.L D0,$B72(A6) ;21b08: d1ae0b72
+ MOVE.L $56(A0),$B3E(A6) ;21b0c: 2d6800560b3e
+ ADD.L D0,$B3E(A6) ;21b12: d1ae0b3e
+ LEA $A(A0),A1 ;21b16: 43e8000a
+ MOVE.L A1,$B14(A6) ;21b1a: 2d490b14
+ LEA $12(A0),A1 ;21b1e: 43e80012
+ MOVE.L A1,$B18(A6) ;21b22: 2d490b18
+ LEA $1A(A0),A1 ;21b26: 43e8001a
+ MOVE.L A1,$B1C(A6) ;21b2a: 2d490b1c
+ LEA $22(A0),A1 ;21b2e: 43e80022
+ MOVE.L A1,$B20(A6) ;21b32: 2d490b20
+ MOVE.L $B62(A6),$B66(A6) ;21b36: 2d6e0b620b66
+ ADDQ.L #4,$B66(A6) ;21b3c: 58ae0b66
+ MOVE.L $B6A(A6),$B6E(A6) ;21b40: 2d6e0b6a0b6e
+ ADDQ.L #4,$B6E(A6) ;21b46: 58ae0b6e
+ MOVE.W $20(A6),D0 ;21b4a: 302e0020
+ BSR.S SUB_21B62 ;21b4e: 6112
+ MOVE.W D0,$1A(A6) ;21b50: 3d40001a
+ MOVE.W D1,$1C(A6) ;21b54: 3d41001c
+ MOVE.W D2,$1E(A6) ;21b58: 3d42001e
+ JMP LAB_1AD2C ;21b5c: 4ef90001ad2c
+SUB_21B62:
+ MOVE.W D0,D1 ;21b62: 3200
+ LSR.W #5,D1 ;21b64: ea49
+ MOVE.W D1,D2 ;21b66: 3401
+ LSR.W #5,D2 ;21b68: ea4a
+ ANDI.W #$0007,D2 ;21b6a: 02420007
+ ANDI.W #$001f,D1 ;21b6e: 0241001f
+ ANDI.W #$001f,D0 ;21b72: 0240001f
+ RTS ;21b76: 4e75
+LAB_21B78:
+ ;21b78
+ ;DC.B $31,$32,$33,$34,$35,$36,$37,$38,$39,$30,$01,$01,$51,$57,$45,$52
+ ;DC.B $54,$59,$55,$49,$4f,$50,$41,$53,$44,$46,$47,$48,$4a,$4b,$4c,$02
+ ;DC.B $02,$5a,$58,$43,$56,$42,$4e,$4d,$3d,$2e,$2f,$20
+ DC.B "1234567890",1,1,"QWERTYUIOPASDFGHJKL",2,2,"ZXCVBNM=./ "
+LAB_21BA4:
+ DC.L $01020304,$05060708,$090a4146,$10111213 ;21ba4
+ DC.L $14151617,$18192021,$22232425,$26272844 ;21bb4
+ DC.L $43313233,$34353637,$0c393a40 ;21bc4
+ DC.W $ff00 ;21bd0
+SUB_21BD2:
+ JSR SUB_139DE ;21bd2: 4eb9000139de
+ TST.W D0 ;21bd8: 4a40
+ BEQ.W LAB_21C0A ;21bda: 6700002e
+ LEA LAB_21BA4(PC),A0 ;21bde: 41faffc4
+ MOVEQ #-1,D1 ;21be2: 72ff
+LAB_21BE4:
+ TST.B (A0) ;21be4: 4a10
+ BMI.W LAB_21C0A ;21be6: 6b000022
+ ADDQ.W #1,D1 ;21bea: 5241
+ CMP.B (A0)+,D0 ;21bec: b018
+ BNE.S LAB_21BE4 ;21bee: 66f4
+ LEA LAB_21B78(PC),A0 ;21bf0: 41faff86
+ CLR.W D0 ;21bf4: 4240
+ MOVE.B 0(A0,D1.W),D0 ;21bf6: 10301000
+ MOVE.W D0,-(A7) ;21bfa: 3f00
+ JSR SUB_1BFAC ;21bfc: 4eb90001bfac
+ MOVE.W (A7)+,D0 ;21c02: 301f
+ ANDI.W #$007f,D0 ;21c04: 0240007f
+ RTS ;21c08: 4e75
+LAB_21C0A:
+ MOVEQ #-1,D0 ;21c0a: 70ff
+ RTS ;21c0c: 4e75
+SUB_21C0E:
+ MOVEA.L $B3A(A6),A0 ;21c0e: 206e0b3a
+ ADDA.W $20(A6),A0 ;21c12: d0ee0020
+ MOVE.W $294(A6),D0 ;21c16: 302e0294
+ ADD.W D0,D0 ;21c1a: d040
+ SUBQ.W #3,D0 ;21c1c: 5740
+ MOVE.B (A0),D1 ;21c1e: 1210
+ ANDI.W #$007f,D1 ;21c20: 0241007f
+ CMP.B #$72,D1 ;21c24: b23c0072
+ BNE.S LAB_21C6C ;21c28: 6642
+ MOVE.B 0(A0,D0.W),D1 ;21c2a: 12300000
+ CMP.B #$71,D1 ;21c2e: b23c0071
+ BNE.S LAB_21C64 ;21c32: 6630
+ MOVE.B #$71,(A0) ;21c34: 10bc0071
+ MOVE.B #$f2,0(A0,D0.W) ;21c38: 11bc00f20000
+ ADD.W D0,$20(A6) ;21c3e: d16e0020
+ ADDI.L #$00010001,$2E(A6) ;21c42: 06ae00010001002e
+ BTST #0,$33(A6) ;21c4a: 082e00000033
+ BEQ.S LAB_21C5E ;21c50: 670c
+ MOVEQ #$38,D0 ;21c52: 7038
+ MOVEQ #0,D1 ;21c54: 7200
+ MOVE.W $20(A6),D2 ;21c56: 342e0020
+ BSR.W SUB_207AA ;21c5a: 6100eb4e
+LAB_21C5E:
+ JMP LAB_17A20 ;21c5e: 4ef900017a20
+LAB_21C64:
+ EORI.W #$0003,$294(A6) ;21c64: 0a6e00030294
+ RTS ;21c6a: 4e75
+LAB_21C6C:
+ CLR.W $294(A6) ;21c6c: 426e0294
+ RTS ;21c70: 4e75
+SUB_21C72:
+ LEA $298(A6),A0 ;21c72: 41ee0298
+ LEA strNames(PC),A1 ;21c76: 43fa0020
+ MOVEQ #3,D0 ;21c7a: 7003
+LAB_21C7C:
+ LEA (A0),A2 ;21c7c: 45d0
+LAB_21C7E:
+ MOVE.B (A1)+,(A2)+ ;21c7e: 14d9
+ BNE.S LAB_21C7E ;21c80: 66fc
+LAB_21C82:
+ MOVE.B (A1)+,(A2)+ ;21c82: 14d9
+ BNE.S LAB_21C82 ;21c84: 66fc
+ MOVE.B (A1)+,$38(A0) ;21c86: 11590038
+ MOVE.B (A1)+,$39(A0) ;21c8a: 11590039
+ LEA $1D2(A0),A0 ;21c8e: 41e801d2
+ DBF D0,LAB_21C7C ;21c92: 51c8ffe8
+ RTS ;21c96: 4e75
+strNames:
+ ;21c98
+ ;DC.B $52,$41,$54,$54,$00,$54,$48,$45,$20,$54,$48,$49,$4e,$4b,$45,$52
+ ;DC.B $00
+ DC.B "RATT",0
+ DC.B "THE THINKER",0
+ DS.B 1 ;21ca9
+ DS.B 1 ;21caa
+ ;21cab
+ ;DC.B $4a,$41,$4d,$45,$53,$00,$4d,$45,$41,$54,$42,$41,$53,$48,$45,$52
+ ;DC.B $00
+ DC.B "JAMES",0
+ DC.B "MEATBASHER",0
+ DC.W $0101 ;21cbc
+ ;21cbe
+ ;DC.B $44,$49,$43,$4b,$4f,$4e,$00,$54,$48,$45,$20,$47,$52,$45,$41,$54
+ ;DC.B $00
+ DC.B "DICKON",0
+ DC.B "THE GREAT",0
+ DC.B $03 ;21ccf
+ DS.B 1 ;21cd0
+ ;21cd1
+ ;DC.B $53,$45,$41,$4e,$00,$54,$48,$45,$20,$48,$45,$41,$4c,$45,$52,$00
+ DC.B "SEAN",0
+ DC.B "THE HEALER",0
+ DC.B $04 ;21ce1
+ DS.B 1 ;21ce2
+strKMRoof:
+ ;21ce3
+ ;DC.B $32,$4b,$4d,$52,$4f,$4f,$46,$2e,$50,$49,$43,$00,$00
+ DC.B "2KMROOF.PIC",0,0
+SUB_21CF0:
+ CLR.W $27A(A6) ;21cf0: 426e027a
+ CLR.W $1014(A6) ;21cf4: 426e1014
+ JSR LAB_13C38 ;21cf8: 4eb900013c38
+ BSR.W SUB_21D36 ;21cfe: 61000036
+ BMI.S SUB_21D26 ;21d02: 6b22
+ ADDQ.W #1,$1014(A6) ;21d04: 526e1014
+ BSR.W SUB_21D36 ;21d08: 6100002c
+ BMI.S SUB_21D26 ;21d0c: 6b18
+ ADDQ.W #1,$1014(A6) ;21d0e: 526e1014
+ BSR.W SUB_21D36 ;21d12: 61000022
+ BMI.S SUB_21D26 ;21d16: 6b0e
+ ADDQ.W #1,$1014(A6) ;21d18: 526e1014
+ BSR.W SUB_21D36 ;21d1c: 61000018
+ BMI.S SUB_21D26 ;21d20: 6b04
+ ADDQ.W #1,$1014(A6) ;21d22: 526e1014
+SUB_21D26:
+ BSR.W SUB_2216C ;21d26: 61000444
+ MOVE.L #$ffffffff,$DC(A6) ;21d2a: 2d7cffffffff00dc
+ BRA.W LAB_1B41C ;21d32: 600096e8
+SUB_21D36:
+ BSR.S SUB_21D26 ;21d36: 61ee
+ MOVE.W $1014(A6),D0 ;21d38: 302e1014
+ ANDI.W #$0003,D0 ;21d3c: 02400003
+ MULU #$01d2,D0 ;21d40: c0fc01d2
+ LEA $298(A6),A0 ;21d44: 41ee0298
+ ADDA.W D0,A0 ;21d48: d0c0
+ MOVE.B $38(A0),D0 ;21d4a: 10280038
+ ANDI.W #$0007,D0 ;21d4e: 02400007
+ MOVE.W D0,$1006(A6) ;21d52: 3d401006
+ MOVE.B $38(A0),D0 ;21d56: 10280038
+ ANDI.W #$0038,D0 ;21d5a: 02400038
+ LSR.W #3,D0 ;21d5e: e648
+ MOVE.W D0,$1004(A6) ;21d60: 3d401004
+ MOVE.B $39(A0),D0 ;21d64: 10280039
+ ANDI.W #$0001,D0 ;21d68: 02400001
+ EORI.B #$01,D0 ;21d6c: 0a000001
+ MOVE.W D0,$1008(A6) ;21d70: 3d401008
+ LEA (A0),A0 ;21d74: 41d0
+ LEA $FDC(A6),A1 ;21d76: 43ee0fdc
+LAB_21D7A:
+ MOVE.B (A0)+,(A1)+ ;21d7a: 12d8
+ BNE.S LAB_21D7A ;21d7c: 66fc
+ LEA $FF0(A6),A1 ;21d7e: 43ee0ff0
+LAB_21D82:
+ MOVE.B (A0)+,(A1)+ ;21d82: 12d8
+ BNE.S LAB_21D82 ;21d84: 66fc
+ CLR.W $F38(A6) ;21d86: 426e0f38
+ LEA LAB_21F0C(PC),A0 ;21d8a: 41fa0180
+ MOVE.L A0,$F34(A6) ;21d8e: 2d480f34
+ BSR.W SUB_21F1A ;21d92: 61000186
+ MOVEQ #0,D7 ;21d96: 7e00
+ MOVE.W #$0006,$F40(A6) ;21d98: 3d7c00060f40
+LAB_21D9E:
+ LEA LAB_21EF4(PC),A0 ;21d9e: 41fa0154
+ JSR SUB_17402 ;21da2: 4eb900017402
+ BMI.S LAB_21DD0 ;21da8: 6b26
+ CMP.W #$0000,D3 ;21daa: b67c0000
+ BEQ.W LAB_21E3E ;21dae: 6700008e
+ SUBQ.W #1,D3 ;21db2: 5343
+ BEQ.W LAB_21E48 ;21db4: 67000092
+ SUBQ.W #1,D3 ;21db8: 5343
+ BEQ.W LAB_21EB6 ;21dba: 670000fa
+ SUBQ.W #1,D3 ;21dbe: 5343
+ BEQ.W LAB_21EC6 ;21dc0: 67000104
+ SUBQ.W #1,D3 ;21dc4: 5343
+ BEQ.W LAB_21ED6 ;21dc6: 6700010e
+ SUBQ.W #1,D3 ;21dca: 5343
+ BEQ.W LAB_21DD2 ;21dcc: 67000004
+LAB_21DD0:
+ RTS ;21dd0: 4e75
+LAB_21DD2:
+ JSR SUB_17580 ;21dd2: 4eb900017580
+ MOVE.W $1014(A6),D0 ;21dd8: 302e1014
+ ANDI.W #$0003,D0 ;21ddc: 02400003
+ MULU #$01d2,D0 ;21de0: c0fc01d2
+ LEA $298(A6),A0 ;21de4: 41ee0298
+ ADDA.W D0,A0 ;21de8: d0c0
+ MOVE.W $1004(A6),D0 ;21dea: 302e1004
+ ANDI.W #$0007,D0 ;21dee: 02400007
+ ASL.W #3,D0 ;21df2: e740
+ MOVE.B D0,$38(A0) ;21df4: 11400038
+ MOVE.B $1007(A6),D0 ;21df8: 102e1007
+ ANDI.W #$0007,D0 ;21dfc: 02400007
+ OR.B D0,$38(A0) ;21e00: 81280038
+ MOVE.B $1009(A6),$39(A0) ;21e04: 116e10090039
+ EORI.B #$01,$39(A0) ;21e0a: 0a2800010039
+ LEA (A0),A0 ;21e10: 41d0
+ LEA $FDC(A6),A1 ;21e12: 43ee0fdc
+LAB_21E16:
+ MOVE.B (A1)+,(A0)+ ;21e16: 10d9
+ BEQ.S LAB_21E26 ;21e18: 670c
+ CMPI.B #$99,-1(A0) ;21e1a: 0c280099ffff
+ BNE.S LAB_21E16 ;21e20: 66f4
+ CLR.B -1(A0) ;21e22: 4228ffff
+LAB_21E26:
+ LEA $FF0(A6),A1 ;21e26: 43ee0ff0
+LAB_21E2A:
+ MOVE.B (A1)+,(A0)+ ;21e2a: 10d9
+ BEQ.S LAB_21E3A ;21e2c: 670c
+ CMPI.B #$99,-1(A0) ;21e2e: 0c280099ffff
+ BNE.S LAB_21E2A ;21e34: 66f4
+ CLR.B -1(A0) ;21e36: 4228ffff
+LAB_21E3A:
+ MOVEQ #0,D0 ;21e3a: 7000
+ RTS ;21e3c: 4e75
+LAB_21E3E:
+ BSR.W SUB_21F1A ;21e3e: 610000da
+ BSR.W SUB_21E5A ;21e42: 61000016
+ BRA.S LAB_21E50 ;21e46: 6008
+LAB_21E48:
+ BSR.W SUB_21F1A ;21e48: 610000d0
+ BSR.W SUB_21E78 ;21e4c: 6100002a
+LAB_21E50:
+ JSR SUB_1759A ;21e50: 4eb90001759a
+ BRA.W LAB_21D9E ;21e56: 6000ff46
+SUB_21E5A:
+ MOVE.W #$0006,$F28(A6) ;21e5a: 3d7c00060f28
+ MOVE.W #$0010,$F2A(A6) ;21e60: 3d7c00100f2a
+ MOVE.W #$0036,$F2C(A6) ;21e66: 3d7c00360f2c
+ MOVE.W #$0024,$100E(A6) ;21e6c: 3d7c0024100e
+ LEA $FDC(A6),A1 ;21e72: 43ee0fdc
+ BRA.S LAB_21E94 ;21e76: 601c
+SUB_21E78:
+ MOVE.W #$0010,$F28(A6) ;21e78: 3d7c00100f28
+ MOVE.W #$0042,$F2A(A6) ;21e7e: 3d7c00420f2a
+ MOVE.W #$0036,$F2C(A6) ;21e84: 3d7c00360f2c
+ MOVE.W #$003c,$100E(A6) ;21e8a: 3d7c003c100e
+ LEA $FF0(A6),A1 ;21e90: 43ee0ff0
+LAB_21E94:
+ MOVE.L A1,$F2E(A6) ;21e94: 2d490f2e
+ MOVEQ #-1,D0 ;21e98: 70ff
+LAB_21E9A:
+ ADDQ.W #1,D0 ;21e9a: 5240
+ CMPI.B #$99,(A1) ;21e9c: 0c110099
+ BEQ.S LAB_21EA6 ;21ea0: 6704
+ TST.B (A1)+ ;21ea2: 4a19
+ BNE.S LAB_21E9A ;21ea4: 66f4
+LAB_21EA6:
+ CLR.B (A1) ;21ea6: 4211
+ MOVE.W D0,$F32(A6) ;21ea8: 3d400f32
+ LEA LAB_21F0E(PC),A0 ;21eac: 41fa0060
+ MOVE.L A0,$F3A(A6) ;21eb0: 2d480f3a
+ RTS ;21eb4: 4e75
+LAB_21EB6:
+ BSR.S SUB_21EEC ;21eb6: 6134
+ SUBQ.W #1,D0 ;21eb8: 5340
+ CMP.W #$0007,D0 ;21eba: b07c0007
+ BHI.S LAB_21EDE ;21ebe: 621e
+ MOVE.W D0,$1004(A6) ;21ec0: 3d401004
+ BRA.S LAB_21EDE ;21ec4: 6018
+LAB_21EC6:
+ BSR.S SUB_21EEC ;21ec6: 6124
+ SUBQ.W #3,D0 ;21ec8: 5740
+ CMP.W #$0005,D0 ;21eca: b07c0005
+ BHI.S LAB_21EDE ;21ece: 620e
+ MOVE.W D0,$1006(A6) ;21ed0: 3d401006
+ BRA.S LAB_21EDE ;21ed4: 6008
+LAB_21ED6:
+ BSR.S SUB_21EEC ;21ed6: 6114
+ SUBQ.W #7,D0 ;21ed8: 5f40
+ MOVE.W D0,$1008(A6) ;21eda: 3d401008
+LAB_21EDE:
+ BSR.W SUB_21F1A ;21ede: 6100003a
+ JSR SUB_17580 ;21ee2: 4eb900017580
+ BRA.W LAB_21D9E ;21ee8: 6000feb4
+SUB_21EEC:
+ MOVE.W $100A(A6),D0 ;21eec: 302e100a
+ LSR.W #3,D0 ;21ef0: e648
+ RTS ;21ef2: 4e75
+LAB_21EF4:
+ DC.L $363e0c32,$363e3e82,$454b0847,$4e541847 ;21ef4
+ DC.L $575d3847,$636a2867 ;21f04
+LAB_21F0C:
+ RTS ;21f0c: 4e75
+LAB_21F0E:
+ MOVE.L (A7)+,D0 ;21f0e: 201f
+ JSR SUB_1759A ;21f10: 4eb90001759a
+ BRA.W LAB_21D9E ;21f16: 6000fe86
+SUB_21F1A:
+ MOVEA.L #LAB_1526C,A1 ;21f1a: 227c0001526c
+ MOVE.W $1014(A6),D0 ;21f20: 302e1014
+ MOVEA.L #strDefinePlr,A0 ;21f24: 207c00015bf5
+ MOVE.B 0(A1,D0.W),(A0) ;21f2a: 10b10000
+ ORI.B #$80,(A0) ;21f2e: 00100080
+ ADDI.W #$0031,D0 ;21f32: 06400031
+ MOVE.B D0,$12(A0) ;21f36: 11400012
+ JSR SUB_14F72 ;21f3a: 4eb900014f72
+ MOVEA.L #strDefinePlr,A0 ;21f40: 207c00015bf5
+ JSR SUB_14FAA ;21f46: 4eb900014faa
+ BSR.S SUB_21F92 ;21f4c: 6144
+ LEA LAB_220DE(PC),A0 ;21f4e: 41fa018e
+ JSR SUB_14F8E ;21f52: 4eb900014f8e
+ MOVEA.L #str_Name,A0 ;21f58: 207c00015c0a
+ MOVEQ #$E,D0 ;21f5e: 700e
+ MOVE.W #$03ac,D1 ;21f60: 323c03ac
+ BSR.W SUB_2202E ;21f64: 610000c8
+ BSR.W SUB_21FE6 ;21f68: 6100007c
+ MOVEA.L #str_OK,A0 ;21f6c: 207c00015c16
+ MOVE.W #$0064,D0 ;21f72: 303c0064
+ JSR SUB_174EA ;21f76: 4eb9000174ea
+ BSR.W SUB_21E5A ;21f7c: 6100fedc
+ JSR SUB_1763A ;21f80: 4eb90001763a
+ BSR.W SUB_21E78 ;21f86: 6100fef0
+ JSR SUB_1763A ;21f8a: 4eb90001763a
+ RTS ;21f90: 4e75
+SUB_21F92:
+ MOVE.W #$055a,D0 ;21f92: 303c055a
+ BSR.S SUB_21FDA ;21f96: 6142
+ MOVE.W $1014(A6),D1 ;21f98: 322e1014
+ MULU #$0003,D1 ;21f9c: c2fc0003
+ MOVE.W D1,-(A7) ;21fa0: 3f01
+ MOVE.W $1004(A6),D0 ;21fa2: 302e1004
+ MULU #$02a8,D0 ;21fa6: c0fc02a8
+ ADD.W D1,D0 ;21faa: d041
+ MOVEA.L #LAB_12AF2,A0 ;21fac: 207c00012af2
+ MOVE.W D0,(A0) ;21fb2: 3080
+ MOVE.W #$055b,D0 ;21fb4: 303c055b
+ BSR.S SUB_21FDA ;21fb8: 6120
+ MOVE.W (A7)+,D1 ;21fba: 321f
+ MOVE.W $1006(A6),D0 ;21fbc: 302e1006
+ SUBQ.W #1,D0 ;21fc0: 5340
+ BMI.S LAB_21FE0 ;21fc2: 6b1c
+ MULU #$02a8,D0 ;21fc4: c0fc02a8
+ ADD.W D1,D0 ;21fc8: d041
+ ADDI.W #$000c,D0 ;21fca: 0640000c
+ MOVEA.L #LAB_12AFA,A0 ;21fce: 207c00012afa
+ MOVE.W D0,(A0) ;21fd4: 3080
+ MOVE.W #$055c,D0 ;21fd6: 303c055c
+SUB_21FDA:
+ JMP LAB_198CC ;21fda: 4ef9000198cc
+LAB_21FE0:
+ RTS ;21fe0: 4e75
+LAB_21FE2:
+ DC.L $0556ffff ;21fe2
+SUB_21FE6:
+ LEA LAB_21FE2(PC),A0 ;21fe6: 41fafffa
+ JSR SUB_14F8E ;21fea: 4eb900014f8e
+ MOVE.W #$058c,D1 ;21ff0: 323c058c
+ MOVEA.L #Races,A0 ;21ff4: 207c00015c1c
+ MOVE.W $1004(A6),D0 ;21ffa: 302e1004
+ MOVEQ #0,D7 ;21ffe: 7e00
+ BSR.W SUB_220C8 ;22000: 610000c6
+ BSR.W SUB_2202C ;22004: 61000026
+ MOVEA.L #LAB_15C9D,A0 ;22008: 207c00015c9d
+ MOVE.W $1006(A6),D0 ;2200e: 302e1006
+ MOVEQ #6,D7 ;22012: 7e06
+ BSR.W SUB_220C8 ;22014: 610000b2
+ BSR.W SUB_2202C ;22018: 61000012
+ MOVEA.L #left_right,A0 ;2201c: 207c00015caf
+ MOVE.W $1008(A6),D0 ;22022: 302e1008
+ MOVEQ #$C,D7 ;22026: 7e0c
+ BSR.W SUB_220C8 ;22028: 6100009e
+SUB_2202C:
+ MOVEQ #$4C,D0 ;2202c: 704c
+SUB_2202E:
+ MOVE.L #$ff95ff9c,D2 ;2202e: 243cff95ff9c
+ MOVEM.L D0-D2/A0,-(A7) ;22034: 48e7e080
+ JSR SUB_19F44 ;22038: 4eb900019f44
+ MOVEM.L (A7),D0-D2/A0 ;2203e: 4cd70107
+ SUBI.W #$0014,D1 ;22042: 04410014
+ SWAP D2 ;22046: 4842
+ JSR SUB_19F44 ;22048: 4eb900019f44
+ MOVEM.L (A7)+,D0-D2/A0 ;2204e: 4cdf0107
+ ADDI.W #$00b4,D1 ;22052: 064100b4
+ RTS ;22056: 4e75
+LAB_22058:
+ DC.B $08 ;22058
+LAB_22059:
+ DC.B $45 ;22059
+LAB_2205A:
+ DC.W $3f03 ;2205a
+LAB_2205C:
+ DC.L $0556184e,$2f030557,$38570f03 ;2205c
+ DC.W $0558 ;22068
+SUB_2206A:
+ CLR.W D1 ;2206a: 4241
+ CLR.W D2 ;2206c: 4242
+ CLR.W D3 ;2206e: 4243
+ MOVE.W LAB_2205C(PC,D7.W),D6 ;22070: 3c3b70ea
+ MOVE.B LAB_2205A(PC,D7.W),D3 ;22074: 163b70e4
+ MOVEQ #4,D4 ;22078: 7804
+ MOVE.B LAB_22058(PC,D7.W),D1 ;2207a: 123b70dc
+ MOVE.B LAB_22059(PC,D7.W),D2 ;2207e: 143b70d9
+ MOVEM.W D0-D2,-(A7) ;22082: 48a7e000
+ MOVEQ #-109,D5 ;22086: 7a93
+ MOVEM.W D1-D4/D6,-(A7) ;22088: 48a77a00
+ ADDQ.W #1,D1 ;2208c: 5241
+ ADDQ.W #1,D2 ;2208e: 5242
+ BSR.W SUB_20B08 ;22090: 6100ea76
+ MOVEM.W (A7),D1-D4/D6 ;22094: 4c97005e
+ MOVE.W D6,D0 ;22098: 3006
+ BSR.S SUB_220C2 ;2209a: 6126
+ MOVEM.W (A7)+,D1-D4/D6 ;2209c: 4c9f005e
+ MOVEQ #-102,D5 ;220a0: 7a9a
+ BSR.W SUB_20B08 ;220a2: 6100ea64
+ MOVEM.W (A7)+,D0-D2 ;220a6: 4c9f0007
+ LSR.W #3,D1 ;220aa: e649
+ ADDQ.W #1,D2 ;220ac: 5242
+ MULU #$0014,D2 ;220ae: c4fc0014
+ ADD.W D1,D2 ;220b2: d441
+ ADD.W D0,D2 ;220b4: d440
+ MOVEA.L #LAB_12AE4,A0 ;220b6: 207c00012ae4
+ MOVE.W D2,(A0) ;220bc: 3082
+ MOVE.W #$0559,D0 ;220be: 303c0559
+SUB_220C2:
+ JMP LAB_198CC ;220c2: 4ef9000198cc
+SUB_220C8:
+ MOVEM.L D0-D1/A0,-(A7) ;220c8: 48e7c080
+ BSR.S SUB_2206A ;220cc: 619c
+ MOVEM.L (A7)+,D0-D1/A0 ;220ce: 4cdf0103
+LAB_220D2:
+ SUBQ.W #1,D0 ;220d2: 5340
+ BMI.S LAB_220DC ;220d4: 6b06
+LAB_220D6:
+ TST.B (A0)+ ;220d6: 4a18
+ BNE.S LAB_220D6 ;220d8: 66fc
+ BRA.S LAB_220D2 ;220da: 60f6
+LAB_220DC:
+ RTS ;220dc: 4e75
+LAB_220DE:
+ DC.L $05500553 ;220de
+ DC.W $ffff ;220e2
+SUB_220E4:
+ MOVE.B (A1)+,D1 ;220e4: 1219
+ BEQ.S LAB_220EC ;220e6: 6704
+ BSR.S SUB_220EE ;220e8: 6104
+ BRA.S SUB_220E4 ;220ea: 60f8
+LAB_220EC:
+ RTS ;220ec: 4e75
+SUB_220EE:
+ EXT.W D1 ;220ee: 4881
+ ADD.W D1,D0 ;220f0: d041
+ MULU #$05e5,D0 ;220f2: c0fc05e5
+ ADDI.W #$0029,D0 ;220f6: 06400029
+ RTS ;220fa: 4e75
+LAB_220FC:
+ DC.L $282d0230,$2b282837,$28280428,$272d2d37 ;220fc
+ DC.L $23280a23,$2f322d23,$371e0520,$3723191e ;2210c
+ DC.L $193c1929,$1e372d32,$1e2c0934,$212f3232 ;2211c
+ DC.L $3221011c,$391b1a19,$2d170f31,$25251f3c ;2212c
+LAB_2213C:
+ DC.L $0800000a,$0503020a,$14040000,$0a060a00 ;2213c
+ DC.L $0c020106,$080a0805,$03050a02,$00000404 ;2214c
+ DC.L $00090800,$000a0504,$040a0600,$04000a04 ;2215c
+SUB_2216C:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;2216c: 48e7fffc
+ BSR.W SUB_22240 ;22170: 610000ce
+ LEA $298(A6),A0 ;22174: 41ee0298
+ MOVEQ #3,D7 ;22178: 7e03
+LAB_2217A:
+ MOVEM.L D7/A0,-(A7) ;2217a: 48e70180
+ MOVEQ #0,D0 ;2217e: 7000
+ MOVE.W D7,D0 ;22180: 3007
+ LEA $3A(A0),A1 ;22182: 43e8003a
+ MOVE.W #$ffff,(A1)+ ;22186: 32fcffff
+ MOVE.W #$0095,D1 ;2218a: 323c0095
+LAB_2218E:
+ CLR.B (A1)+ ;2218e: 4219
+ DBF D1,LAB_2218E ;22190: 51c9fffc
+ LEA (A0),A1 ;22194: 43d0
+ BSR.W SUB_220E4 ;22196: 6100ff4c
+ BSR.W SUB_220E4 ;2219a: 6100ff48
+ MOVE.B $39(A0),D1 ;2219e: 12280039
+ BSR.W SUB_220EE ;221a2: 6100ff4a
+ MOVE.B $38(A0),D1 ;221a6: 12280038
+ BSR.W SUB_220EE ;221aa: 6100ff42
+ LEA $18(A0),A1 ;221ae: 43e80018
+ MOVEQ #7,D2 ;221b2: 7407
+ MOVE.B $38(A0),D5 ;221b4: 1a280038
+ ANDI.W #$0038,D5 ;221b8: 02450038
+ LEA LAB_220FC(PC),A3 ;221bc: 47faff3e
+ ADDA.W D5,A3 ;221c0: d6c5
+ MOVE.B $38(A0),D5 ;221c2: 1a280038
+ ASL.W #3,D5 ;221c6: e745
+ ANDI.W #$0038,D5 ;221c8: 02450038
+ LEA LAB_2213C(PC),A4 ;221cc: 49faff6e
+ ADDA.W D5,A4 ;221d0: d8c5
+LAB_221D2:
+ MOVEQ #0,D3 ;221d2: 7600
+ MOVE.B (A3)+,D3 ;221d4: 161b
+ MOVEQ #0,D4 ;221d6: 7800
+ MOVE.B (A4)+,D4 ;221d8: 181c
+ ADD.W D4,D3 ;221da: d644
+ MOVE.W D0,D4 ;221dc: 3800
+ ANDI.W #$00ff,D4 ;221de: 024400ff
+ ASL.W #6,D3 ;221e2: ed43
+ ADD.W D4,D3 ;221e4: d644
+ MOVE.W D3,(A1)+ ;221e6: 32c3
+ MOVE.W D3,(A1)+ ;221e8: 32c3
+ MULU #$05e5,D0 ;221ea: c0fc05e5
+ ADDI.W #$0029,D0 ;221ee: 06400029
+ DBF D2,LAB_221D2 ;221f2: 51caffde
+ MOVEM.L (A7)+,D7/A0 ;221f6: 4cdf0180
+ LEA $46(A0),A1 ;221fa: 43e80046
+ MOVE.B $38(A0),D0 ;221fe: 10280038
+ ANDI.W #$0007,D0 ;22202: 02400007
+ MULU #$0006,D0 ;22206: c0fc0006
+ MOVE.W #$0004,0(A1,D0.W) ;2220a: 33bc00040000
+ LEA $1D2(A0),A0 ;22210: 41e801d2
+ DBF D7,LAB_2217A ;22214: 51cfff64
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;22218: 4cdf3fff
+ LEA $298(A6),A0 ;2221c: 41ee0298
+ MOVEQ #3,D0 ;22220: 7003
+ MOVE.W $1014(A6),D1 ;22222: 322e1014
+LAB_22226:
+ SUBQ.W #1,D1 ;22226: 5341
+ TST.W D1 ;22228: 4a41
+ BMI.S LAB_22232 ;2222a: 6b06
+ ST $45(A0) ;2222c: 50e80045
+ BRA.S LAB_22236 ;22230: 6004
+LAB_22232:
+ CLR.W $18(A0) ;22232: 42680018
+LAB_22236:
+ LEA $1D2(A0),A0 ;22236: 41e801d2
+ DBF D0,LAB_22226 ;2223a: 51c8ffea
+ RTS ;2223e: 4e75
+SUB_22240:
+ MOVEQ #3,D7 ;22240: 7e03
+ LEA $298(A6),A0 ;22242: 41ee0298
+ MOVEQ #0,D1 ;22246: 7200
+LAB_22248:
+ MOVE.W D1,-(A7) ;22248: 3f01
+ MOVE.B $38(A0),D0 ;2224a: 10280038
+ LSR.W #3,D0 ;2224e: e648
+ ANDI.W #$0007,D0 ;22250: 02400007
+ MULU #$02a8,D0 ;22254: c0fc02a8
+ ADD.W D1,D0 ;22258: d041
+ MOVEA.L $102A(A6),A1 ;2225a: 226e102a
+ ADDA.W D0,A1 ;2225e: d2c0
+ MOVE.B $38(A0),D6 ;22260: 1c280038
+ ANDI.W #$0007,D6 ;22264: 02460007
+ SUBQ.W #1,D6 ;22268: 5346
+ MOVE.W D6,D0 ;2226a: 3006
+ MULU #$02a8,D0 ;2226c: c0fc02a8
+ ADD.W D1,D0 ;22270: d041
+ MOVEA.L $102A(A6),A3 ;22272: 266e102a
+ ADDA.W D0,A3 ;22276: d6c0
+ LEA $C(A3),A3 ;22278: 47eb000c
+ LEA $D2(A0),A2 ;2227c: 45e800d2
+ MOVEQ #$10,D1 ;22280: 7210
+LAB_22282:
+ MOVEQ #2,D2 ;22282: 7402
+LAB_22284:
+ MOVE.B $1F40(A1),$33(A2) ;22284: 15691f400033
+ MOVE.B $3E80(A1),$66(A2) ;2228a: 15693e800066
+ MOVE.B $5DC0(A1),$99(A2) ;22290: 15695dc00099
+ MOVE.B $7D00(A1),$CC(A2) ;22296: 15697d0000cc
+ TST.W D6 ;2229c: 4a46
+ BPL.S LAB_222A4 ;2229e: 6a04
+ MOVE.B (A1)+,(A2)+ ;222a0: 14d9
+ BRA.S LAB_222F0 ;222a2: 604c
+LAB_222A4:
+ MOVE.B (A1)+,(A2) ;222a4: 1499
+ MOVE.B (A3),D0 ;222a6: 1013
+ OR.B $1F40(A3),D0 ;222a8: 802b1f40
+ OR.B $3E80(A3),D0 ;222ac: 802b3e80
+ OR.B $5DC0(A3),D0 ;222b0: 802b5dc0
+ OR.B $7D00(A3),D0 ;222b4: 802b7d00
+ NOT.W D0 ;222b8: 4640
+ MOVE.B $1F40(A3),D3 ;222ba: 162b1f40
+ AND.B D0,$33(A2) ;222be: c12a0033
+ OR.B D3,$33(A2) ;222c2: 872a0033
+ MOVE.B $3E80(A3),D3 ;222c6: 162b3e80
+ AND.B D0,$66(A2) ;222ca: c12a0066
+ OR.B D3,$66(A2) ;222ce: 872a0066
+ MOVE.B $5DC0(A3),D3 ;222d2: 162b5dc0
+ AND.B D0,$99(A2) ;222d6: c12a0099
+ OR.B D3,$99(A2) ;222da: 872a0099
+ MOVE.B $7D00(A3),D3 ;222de: 162b7d00
+ AND.B D0,$CC(A2) ;222e2: c12a00cc
+ OR.B D3,$CC(A2) ;222e6: 872a00cc
+ MOVE.B (A3)+,D3 ;222ea: 161b
+ AND.B D0,(A2) ;222ec: c112
+ OR.B D3,(A2)+ ;222ee: 871a
+LAB_222F0:
+ DBF D2,LAB_22284 ;222f0: 51caff92
+ LEA $25(A1),A1 ;222f4: 43e90025
+ LEA $25(A3),A3 ;222f8: 47eb0025
+ DBF D1,LAB_22282 ;222fc: 51c9ff84
+ LEA $1D2(A0),A0 ;22300: 41e801d2
+ MOVE.W (A7)+,D1 ;22304: 321f
+ ADDQ.W #3,D1 ;22306: 5641
+ DBF D7,LAB_22248 ;22308: 51cfff3e
+ RTS ;2230c: 4e75
+SUB_2230E:
+ MOVE.W #$055d,D0 ;2230e: 303c055d
+ JMP LAB_198CC ;22312: 4ef9000198cc
+SUB_22318:
+ CLR.W $1014(A6) ;22318: 426e1014
+ LEA strKMRoof(PC),A0 ;2231c: 41faf9c5
+ MOVE.L #$00009d50,$E44(A6) ;22320: 2d7c00009d500e44
+ ST $B28(A6) ;22328: 50ee0b28
+ MOVEA.L $102A(A6),A1 ;2232c: 226e102a
+ JSR BuildFilename ;22330: 4eb900019ba2
+ MOVE.L A6,-(A7) ;22336: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;22338: 2c780004
+ JSR $20(A6) ;2233c: 4eae0020
+ MOVEA.L (A7)+,A6 ;22340: 2c5f
+ MOVE.W #$fead,$20(A6) ;22342: 3d7cfead0020
+LAB_22348:
+ CLR.W $F38(A6) ;22348: 426e0f38
+ LEA LAB_21F0C(PC),A0 ;2234c: 41fafbbe
+ MOVE.L A0,$F34(A6) ;22350: 2d480f34
+ BSR.S SUB_2230E ;22354: 61b8
+ MOVEQ #0,D7 ;22356: 7e00
+ MOVE.W #$0003,$F40(A6) ;22358: 3d7c00030f40
+LAB_2235E:
+ LEA LAB_22380(PC),A0 ;2235e: 41fa0020
+ JSR SUB_17402 ;22362: 4eb900017402
+ BMI.S LAB_2235E ;22368: 6bf4
+ CMP.W #$0000,D3 ;2236a: b67c0000
+ BEQ.W LAB_223AA ;2236e: 6700003a
+ SUBQ.W #1,D3 ;22372: 5343
+ BEQ.W LAB_223D8 ;22374: 67000062
+ SUBQ.W #1,D3 ;22378: 5343
+ BEQ.W LAB_223B8 ;2237a: 6700003c
+ RTS ;2237e: 4e75
+LAB_22380:
+ DC.L $08110a42,$08114d85,$5f682c64 ;22380
+SUB_2238C:
+ MOVE.W $1014(A6),D1 ;2238c: 322e1014
+ BEQ.S LAB_22394 ;22390: 6702
+ BPL.S LAB_2239A ;22392: 6a06
+LAB_22394:
+ MOVE.W $AAC(A6),$1014(A6) ;22394: 3d6e0aac1014
+LAB_2239A:
+ BSR.W SUB_2216C ;2239a: 6100fdd0
+ MOVE.L #$ffffffff,$DC(A6) ;2239e: 2d7cffffffff00dc
+ BRA.W LAB_1B41C ;223a6: 60009074
+LAB_223AA:
+ JSR SUB_17580 ;223aa: 4eb900017580
+ BSR.W SUB_21CF0 ;223b0: 6100f93e
+ BSR.S SUB_2238C ;223b4: 61d6
+ BRA.S LAB_22348 ;223b6: 6090
+LAB_223B8:
+ JSR SUB_17580 ;223b8: 4eb900017580
+ ST $B30(A6) ;223be: 50ee0b30
+ CLR.W $F3E(A6) ;223c2: 426e0f3e
+ BSR.S SUB_2238C ;223c6: 61c4
+ MOVE.W $1014(A6),$AAC(A6) ;223c8: 3d6e10140aac
+ MOVE.B #$07,$357(A6) ;223ce: 1d7c00070357
+ BRA.W SUB_22410 ;223d4: 6000003a
+LAB_223D8:
+ JSR SUB_17580 ;223d8: 4eb900017580
+ MOVE.W #$fead,$20(A6) ;223de: 3d7cfead0020
+ JSR SUB_173BC ;223e4: 4eb9000173bc
+ CMPI.W #$fead,$20(A6) ;223ea: 0c6efead0020
+ BEQ.W LAB_22348 ;223f0: 6700ff56
+ BRA.W LAB_1B41C ;223f4: 60009026
+LAB_223F8:
+ MOVE.L #$00009d50,$E44(A6) ;223f8: 2d7c00009d500e44
+SUB_22400:
+ MOVEM.L D0-D7/A0-A5,-(A7) ;22400: 48e7fffc
+ BSR.S SUB_22410 ;22404: 610a
+ MOVEM.L (A7)+,D0-D7/A0-A5 ;22406: 4cdf3fff
+ JMP LAB_19BB0 ;2240a: 4ef900019bb0
+SUB_22410:
+ TST.W $F3E(A6) ;22410: 4a6e0f3e
+ BNE.S LAB_22432 ;22414: 661c
+ MOVE.L #$04000500,COLOR06 ;22416: 23fc0400050000dff18c
+ TST.W $B30(A6) ;22420: 4a6e0b30
+ BEQ.S LAB_22432 ;22424: 670c
+ CLR.W $B30(A6) ;22426: 426e0b30
+ MOVEQ #1,D5 ;2242a: 7a01
+ MOVEQ #1,D6 ;2242c: 7c01
+ BRA.W SUB_22488 ;2242e: 60000058
+LAB_22432:
+ RTS ;22432: 4e75
+SUB_22434:
+ CLR.W D4 ;22434: 4244
+SUB_22436:
+ TST.W $B30(A6) ;22436: 4a6e0b30
+ BNE.S LAB_2245A ;2243a: 661e
+ MOVE.L $2E(A6),$B2C(A6) ;2243c: 2d6e002e0b2c
+ BSET #7,$B2C(A6) ;22442: 08ee00070b2c
+ ST $B30(A6) ;22448: 50ee0b30
+ MOVEQ #-1,D5 ;2244c: 7aff
+ MOVEQ #9,D6 ;2244e: 7c09
+ BSR.W SUB_22488 ;22450: 61000036
+ JMP LAB_13C38 ;22454: 4ef900013c38
+LAB_2245A:
+ RTS ;2245a: 4e75
+LAB_2245C:
+ MOVE.L $B90(A6),D0 ;2245c: 202e0b90
+ BEQ.S LAB_22486 ;22460: 6724
+ TST.W $B30(A6) ;22462: 4a6e0b30
+ BNE.S LAB_22486 ;22466: 661e
+ MOVEA.L D0,A0 ;22468: 2040
+ ADDA.L #$00009c40,A0 ;2246a: d1fc00009c40
+ MOVEA.L $1022(A6),A1 ;22470: 226e1022
+ MOVE.W #$022f,D1 ;22474: 323c022f
+LAB_22478:
+ MOVEQ #8,D0 ;22478: 7008
+LAB_2247A:
+ MOVE.W (A1)+,(A0)+ ;2247a: 30d9
+ DBF D0,LAB_2247A ;2247c: 51c8fffc
+ ADDQ.W #2,A1 ;22480: 5449
+ DBF D1,LAB_22478 ;22482: 51c9fff4
+LAB_22486:
+ RTS ;22486: 4e75
+SUB_22488:
+ TST.L $B90(A6) ;22488: 4aae0b90
+ BNE.S LAB_22490 ;2248c: 6602
+ RTS ;2248e: 4e75
+LAB_22490:
+ MOVEM.W D5-D6,-(A7) ;22490: 48a70600
+ TST.W D4 ;22494: 4a44
+ BNE.S LAB_224A2 ;22496: 660a
+ TST.W D5 ;22498: 4a45
+ BPL.S LAB_224A2 ;2249a: 6a06
+ JSR SUB_14ECC ;2249c: 4eb900014ecc
+LAB_224A2:
+ MOVEA.L $B90(A6),A0 ;224a2: 206e0b90
+ MOVEA.L $1022(A6),A1 ;224a6: 226e1022
+ MOVE.W #$0aef,D0 ;224aa: 303c0aef
+LAB_224AE:
+ MOVE.L (A1)+,(A0)+ ;224ae: 20d9
+ DBF D0,LAB_224AE ;224b0: 51c8fffc
+ MOVEM.W (A7)+,D5-D6 ;224b4: 4c9f0060
+ MOVEQ #8,D7 ;224b8: 7e08
+LAB_224BA:
+ MOVEA.L $B90(A6),A0 ;224ba: 206e0b90
+ MOVEA.L $1022(A6),A1 ;224be: 226e1022
+ MOVE.W #$0aef,D0 ;224c2: 303c0aef
+LAB_224C6:
+ MOVE.L (A0)+,(A1)+ ;224c6: 22d8
+ DBF D0,LAB_224C6 ;224c8: 51c8fffc
+ MOVEA.L $B90(A6),A0 ;224cc: 206e0b90
+ ADDA.L #$00009c40,A0 ;224d0: d1fc00009c40
+ MOVEA.L $1022(A6),A1 ;224d6: 226e1022
+ MOVEM.L D5-D7,-(A7) ;224da: 48e70700
+ MOVE.W D6,D1 ;224de: 3206
+ BSR.W SUB_224F8 ;224e0: 61000016
+ MOVEQ #5,D2 ;224e4: 7405
+ JSR SUB_19CE4 ;224e6: 4eb900019ce4
+ MOVEM.L (A7)+,D5-D7 ;224ec: 4cdf00e0
+ ADD.W D5,D6 ;224f0: dc45
+ DBF D7,LAB_224BA ;224f2: 51cfffc6
+ RTS ;224f6: 4e75
+SUB_224F8:
+ MOVE.W D6,D1 ;224f8: 3206
+ ADDA.W #$0009,A0 ;224fa: d0fc0009
+ MOVEM.L A0-A1,-(A7) ;224fe: 48e700c0
+ SUBA.W D1,A0 ;22502: 90c1
+ BSR.S SUB_22512 ;22504: 610c
+ MOVEM.L (A7)+,A0-A1 ;22506: 4cdf0300
+ MOVE.W D6,D1 ;2250a: 3206
+ ADDA.W #$0012,A1 ;2250c: d2fc0012
+ SUBA.W D1,A1 ;22510: 92c1
+SUB_22512:
+ SUBQ.W #1,D1 ;22512: 5341
+ BMI.S LAB_2254A ;22514: 6b34
+ MOVEQ #$6F,D2 ;22516: 746f
+LAB_22518:
+ MOVEM.L D1/A0-A1,-(A7) ;22518: 48e740c0
+LAB_2251C:
+ MOVE.B $7E0(A0),$8C0(A1) ;2251c: 136807e008c0
+ MOVE.B $FC0(A0),$1180(A1) ;22522: 13680fc01180
+ MOVE.B $17A0(A0),$1A40(A1) ;22528: 136817a01a40
+ MOVE.B $1F80(A0),$2300(A1) ;2252e: 13681f802300
+ MOVE.B (A0)+,(A1)+ ;22534: 12d8
+ DBF D1,LAB_2251C ;22536: 51c9ffe4
+ MOVEM.L (A7)+,D1/A0-A1 ;2253a: 4cdf0302
+ LEA $12(A0),A0 ;2253e: 41e80012
+ LEA $14(A1),A1 ;22542: 43e90014
+ DBF D2,LAB_22518 ;22546: 51caffd0
+LAB_2254A:
+ RTS ;2254a: 4e75
+LAB_2254C:
+ MOVE.B (A2)+,D0 ;2254c: 101a
+ BEQ.S LAB_2255A ;2254e: 670a
+ SUBQ.B #1,D0 ;22550: 5300
+ BEQ.S LAB_2255C ;22552: 6708
+ SUBQ.B #1,D0 ;22554: 5300
+ BEQ.S LAB_22578 ;22556: 6720
+ BRA.S LAB_2254C ;22558: 60f2
+LAB_2255A:
+ RTS ;2255a: 4e75
+LAB_2255C:
+ CLR.W D0 ;2255c: 4240
+ MOVE.B (A2)+,D0 ;2255e: 101a
+ BMI.S LAB_22572 ;22560: 6b10
+ MOVE.L A0,-(A7) ;22562: 2f08
+ LEA $B36(A6),A0 ;22564: 41ee0b36
+ ANDI.W #$0007,D0 ;22568: 02400007
+ MOVE.B 0(A0,D0.W),D0 ;2256c: 10300000
+ MOVEA.L (A7)+,A0 ;22570: 205f
+LAB_22572:
+ MOVE.W D0,$B32(A6) ;22572: 3d400b32
+ BRA.S LAB_2254C ;22576: 60d4
+LAB_22578:
+ MOVE.W $B32(A6),D5 ;22578: 3a2e0b32
+ MOVEQ #0,D1 ;2257c: 7200
+ MOVE.W D1,D2 ;2257e: 3401
+ MOVE.W D1,D3 ;22580: 3601
+ MOVE.W D1,D4 ;22582: 3801
+ MOVE.B (A2)+,D1 ;22584: 121a
+ MOVE.B (A2)+,D2 ;22586: 141a
+ MOVE.B (A2)+,D3 ;22588: 161a
+ MOVE.B (A2)+,D4 ;2258a: 181a
+ MOVE.L A2,-(A7) ;2258c: 2f0a
+ BSR.W SUB_20B08 ;2258e: 6100e578
+ MOVEA.L (A7)+,A2 ;22592: 245f
+ BRA.S LAB_2254C ;22594: 60b6
+SUB_22596:
+ LEA LAB_2259C(PC),A2 ;22596: 45fa0004
+ BRA.S LAB_2254C ;2259a: 60b0
+LAB_2259C:
+ DC.L $0101027a,$07010102,$7a080101,$01020281 ;2259c
+ DC.L $07010102,$81080101,$01030288,$07010102 ;225ac
+ DC.L $88080101 ;225bc
+ DS.W 1 ;225c0
+LAB_225C2:
+ DC.L $32534547,$30000101,$01010101,$01010101 ;225c2
+ DC.L $01331504,$04040404,$04050607,$ff010101 ;225d2
+ DC.L $01010101,$01010101,$01010101,$01010101 ;225e2
+ DC.L $01010101,$01010101,$01010909,$09090909 ;225f2
+ DC.L $09090909,$09090909,$09090909,$09090909 ;22602
+ DC.L $09090909,$090f0f0a,$09090909,$0909c80a ;22612
+ DC.L $0a0a0a08,$06050403 ;22622
+ DC.W $02ff ;2262a
+LAB_2262C:
+ DC.W $01fe ;2262c
+LAB_2262E:
+ DC.L $ff9a3131 ;2262e
+ DS.L 1 ;22632
+ DC.L $ffa53131,$00090000,$ffb13131,$00120000 ;22636
+ DC.L $ffbe3131,$001b0000,$ffce3232,$00240000 ;22646
+strMusic:
+ ;22656
+ ;DC.B $31,$58,$41,$33,$2e,$4d,$55,$53,$00,$31,$58,$41,$31,$2e,$4d,$55
+ ;DC.B $53,$00,$31,$58,$41,$32,$2e,$4d,$55,$53,$00,$31,$58,$41,$34,$2e
+ ;DC.B $4d,$55,$53,$00,$32,$58,$44,$45,$41,$54,$48,$2e,$4d,$55,$53,$00
+ DC.B "1XA3.MUS",0
+ DC.B "1XA1.MUS",0
+ DC.B "1XA2.MUS",0
+ DC.B "1XA4.MUS",0
+ DC.B "2XDEATH.MUS",0
+SUB_22686:
+ MOVEQ #4,D0 ;22686: 7004
+ CLR.W $1018(A6) ;22688: 426e1018
+ BEQ.S LAB_22692 ;2268c: 6704
+LAB_2268E:
+ ST $1018(A6) ;2268e: 50ee1018
+LAB_22692:
+ CMP.W #$0004,D0 ;22692: b07c0004
+ BLS.S LAB_2269A ;22696: 6302
+ RTS ;22698: 4e75
+LAB_2269A:
+ MOVE.W D0,$1016(A6) ;2269a: 3d401016
+ MOVE.L #$12345678,D1 ;2269e: 223c12345678
+ MOVEA.L $102A(A6),A0 ;226a4: 206e102a
+ MOVE.L (A0),-(A7) ;226a8: 2f10
+ MOVE.L D1,(A0) ;226aa: 2081
+ MOVEA.L $102E(A6),A0 ;226ac: 206e102e
+ MOVE.L (A0),-(A7) ;226b0: 2f10
+ MOVE.L D1,(A0) ;226b2: 2081
+ MOVEA.L $1032(A6),A0 ;226b4: 206e1032
+ MOVE.L (A0),-(A7) ;226b8: 2f10
+ MOVE.L D1,(A0) ;226ba: 2081
+ MOVEA.L $103A(A6),A0 ;226bc: 206e103a
+ MOVE.L (A0),-(A7) ;226c0: 2f10
+ MOVE.L D1,(A0) ;226c2: 2081
+ BSR.S SUB_22712 ;226c4: 614c
+ MOVE.L #$12345678,D1 ;226c6: 223c12345678
+ MOVEA.L $103A(A6),A0 ;226cc: 206e103a
+ CMP.L (A0),D1 ;226d0: b290
+ BEQ.S LAB_226D8 ;226d2: 6704
+ ST $B2B(A6) ;226d4: 50ee0b2b
+LAB_226D8:
+ MOVE.L (A7)+,(A0) ;226d8: 209f
+ MOVEA.L $1032(A6),A0 ;226da: 206e1032
+ CMP.L (A0),D1 ;226de: b290
+ BEQ.S LAB_226E6 ;226e0: 6704
+ ST $B29(A6) ;226e2: 50ee0b29
+LAB_226E6:
+ MOVE.L (A7)+,(A0) ;226e6: 209f
+ MOVEA.L $102E(A6),A0 ;226e8: 206e102e
+ CMP.L (A0),D1 ;226ec: b290
+ BEQ.S LAB_226F4 ;226ee: 6704
+ ST $B2A(A6) ;226f0: 50ee0b2a
+LAB_226F4:
+ MOVE.L (A7)+,(A0) ;226f4: 209f
+ MOVEA.L $102A(A6),A0 ;226f6: 206e102a
+ CMP.L (A0),D1 ;226fa: b290
+ BEQ.S LAB_22702 ;226fc: 6704
+ ST $B28(A6) ;226fe: 50ee0b28
+LAB_22702:
+ MOVE.L (A7)+,(A0) ;22702: 209f
+ TST.W $1018(A6) ;22704: 4a6e1018
+ BEQ.S LAB_22710 ;22708: 6706
+ JMP LAB_19A56 ;2270a: 4ef900019a56
+LAB_22710:
+ RTS ;22710: 4e75
+SUB_22712:
+ LEA LAB_225C2(PC),A0 ;22712: 41fafeae
+ MOVE.L A4,-(A7) ;22716: 2f0c
+ LEA LAB_2262E(PC),A4 ;22718: 49faff14
+ MOVE.W $1016(A6),D0 ;2271c: 302e1016
+ ASL.W #3,D0 ;22720: e740
+ MOVE.B 2(A4,D0.W),(A0) ;22722: 10b40002
+ MOVEA.L (A7)+,A4 ;22726: 285f
+ MOVE.W $1016(A6),D0 ;22728: 302e1016
+ ADDI.W #$0030,D0 ;2272c: 06400030
+ MOVE.B D0,4(A0) ;22730: 11400004
+ MOVEA.L $102A(A6),A1 ;22734: 226e102a
+ MOVE.L #$00031290,$E44(A6) ;22738: 2d7c000312900e44
+ BSR.W SUB_22400 ;22740: 6100fcbe
+ ADDQ.L #8,D0 ;22744: 5080
+ BCLR #0,D0 ;22746: 08800000
+ MOVEA.L $102A(A6),A1 ;2274a: 226e102a
+ ADDA.L D0,A1 ;2274e: d3c0
+ MOVE.L A1,$F70(A6) ;22750: 2d490f70
+ LEA LAB_2262E(PC),A4 ;22754: 49fafed8
+ MOVE.W $1016(A6),D0 ;22758: 302e1016
+ ASL.W #3,D0 ;2275c: e740
+ LEA strMusic(PC),A0 ;2275e: 41fafef6
+ ADDA.W 4(A4,D0.W),A0 ;22762: d0f40004
+ BSR.W SUB_22400 ;22766: 6100fc98
+ MOVEA.L $F70(A6),A1 ;2276a: 226e0f70
+ JSR $20(A1) ;2276e: 4ea90020
+ MOVEA.L $102A(A6),A0 ;22772: 206e102a
+ MOVEQ #$14,D0 ;22776: 7014
+ BSR.W SUB_2284C ;22778: 610000d2
+ MOVEA.L $102A(A6),A0 ;2277c: 206e102a
+ MOVEA.L $1022(A6),A1 ;22780: 226e1022
+ BSR.W SUB_22886 ;22784: 61000100
+ ST D4 ;22788: 50c4
+ BSR.W SUB_22436 ;2278a: 6100fcaa
+ BSR.W SUB_213E2 ;2278e: 6100ec52
+ MOVE.L A6,-(A7) ;22792: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;22794: 2c780004
+ JSR $20(A6) ;22798: 4eae0020
+ MOVEA.L (A7)+,A6 ;2279c: 2c5f
+ MOVEA.L $102A(A6),A0 ;2279e: 206e102a
+ MOVEQ #$14,D0 ;227a2: 7014
+ BSR.W SUB_2284C ;227a4: 610000a6
+LAB_227A8:
+ LEA LAB_2262E(PC),A4 ;227a8: 49fafe84
+ MOVE.W $1016(A6),D0 ;227ac: 302e1016
+ ASL.W #3,D0 ;227b0: e740
+ ADDA.W 0(A4,D0.W),A4 ;227b2: d8f40000
+ ADDQ.W #1,A4 ;227b6: 524c
+LAB_227B8:
+ CMPI.B #$fe,(A4) ;227b8: 0c1400fe
+ BEQ.S LAB_227A8 ;227bc: 67ea
+ MOVE.L A4,-(A7) ;227be: 2f0c
+ CMPI.B #$ff,(A4) ;227c0: 0c1400ff
+ BEQ.S LAB_22808 ;227c4: 6742
+ MOVEA.L $102A(A6),A0 ;227c6: 206e102a
+ MOVEA.L $1022(A6),A1 ;227ca: 226e1022
+ BSR.W SUB_22886 ;227ce: 610000b6
+ MOVEA.L (A7),A4 ;227d2: 2857
+ BNE.S LAB_227EA ;227d4: 6614
+ CMPI.B #$ff,1(A4) ;227d6: 0c2c00ff0001
+ BEQ.S LAB_227EA ;227dc: 670c
+ CMPI.B #$ff,(A4) ;227de: 0c1400ff
+ BEQ.S LAB_227EC ;227e2: 6708
+ LEA LAB_2262C(PC),A4 ;227e4: 49fafe46
+ MOVE.L A4,(A7) ;227e8: 2e8c
+LAB_227EA:
+ ADDQ.L #1,(A7) ;227ea: 5297
+LAB_227EC:
+ MOVEQ #0,D2 ;227ec: 7400
+ MOVE.B (A4),D2 ;227ee: 1414
+ CMP.W #$00ff,D2 ;227f0: b47c00ff
+ BNE.S LAB_227F8 ;227f4: 6602
+ MOVEQ #9,D2 ;227f6: 7409
+LAB_227F8:
+ MOVE.W D2,-(A7) ;227f8: 3f02
+ JSR SUB_19CE4 ;227fa: 4eb900019ce4
+ MOVE.W (A7)+,D2 ;22800: 341f
+ SUBI.W #$000a,D2 ;22802: 0442000a
+ BPL.S LAB_227F8 ;22806: 6af0
+LAB_22808:
+ JSR SUB_19D22 ;22808: 4eb900019d22
+ BNE.S LAB_22816 ;2280e: 6606
+ JSR SUB_139DE ;22810: 4eb9000139de
+LAB_22816:
+ MOVEA.L (A7)+,A4 ;22816: 285f
+ BEQ.S LAB_227B8 ;22818: 679e
+ MOVEA.L $F70(A6),A1 ;2281a: 226e0f70
+ JSR $24(A1) ;2281e: 4ea90024
+ MOVE.W $1016(A6),D0 ;22822: 302e1016
+ CMP.W #$0001,D0 ;22826: b07c0001
+ BNE.S LAB_2284A ;2282a: 661e
+ MOVEA.L $102A(A6),A1 ;2282c: 226e102a
+ LEA strEndDemo(PC),A0 ;22830: 41fa000e
+ BSR.W SUB_22400 ;22834: 6100fbca
+ MOVEA.L $102A(A6),A0 ;22838: 206e102a
+ JMP $20(A0) ;2283c: 4ee80020
+strEndDemo:
+ ;22840
+ ;DC.B $31,$45,$4e,$44,$44,$45,$4d,$4f,$00
+ DC.B "1ENDDEMO",0
+ DS.B 1 ;22849
+LAB_2284A:
+ RTS ;2284a: 4e75
+SUB_2284C:
+ MOVE.L A1,-(A7) ;2284c: 2f09
+ LEA LAB_2287A(PC),A1 ;2284e: 43fa002a
+ CLR.W (A1) ;22852: 4251
+ MOVE.W D0,2(A1) ;22854: 33400002
+ MOVE.W 4(A0),D1 ;22858: 32280004
+ MULU 6(A0),D1 ;2285c: c2e80006
+ MOVE.W D1,4(A1) ;22860: 33410004
+ MULU D0,D1 ;22864: c2c0
+ SUBQ.W #1,D1 ;22866: 5341
+ MOVE.L D1,6(A1) ;22868: 23410006
+ MOVE.W 2(A0),D1 ;2286c: 32280002
+ LSR.W #3,D1 ;22870: e649
+ MOVE.W D1,$A(A1) ;22872: 3341000a
+ MOVEA.L (A7)+,A1 ;22876: 225f
+ RTS ;22878: 4e75
+LAB_2287A:
+ DS.W 1 ;2287a
+LAB_2287C:
+ DS.W 1 ;2287c
+LAB_2287E:
+ DS.W 1 ;2287e
+LAB_22880:
+ DS.L 1 ;22880
+LAB_22884:
+ DS.W 1 ;22884
+SUB_22886:
+ MOVEM.L D1-D4/A2-A3,-(A7) ;22886: 48e77830
+ MOVEA.L A0,A2 ;2288a: 2448
+ MOVE.W LAB_2287A(PC),D0 ;2288c: 303affec
+ ASL.W #2,D0 ;22890: e540
+ ADDA.L 8(A0,D0.W),A2 ;22892: d5f00008
+ MOVEA.L A1,A3 ;22896: 2649
+ MOVE.W LAB_22884(PC),D2 ;22898: 343affea
+ SUBQ.W #1,D2 ;2289c: 5342
+ MOVE.W LAB_2287C(PC),D1 ;2289e: 323affdc
+ MOVE.W LAB_2287E(PC),D3 ;228a2: 363affda
+ SUBQ.W #1,D3 ;228a6: 5343
+ TST.W D0 ;228a8: 4a40
+ BNE.S LAB_228C2 ;228aa: 6616
+LAB_228AC:
+ MOVE.B (A2)+,(A3) ;228ac: 169a
+ ADDA.W D1,A3 ;228ae: d6c1
+ DBF D3,LAB_228AC ;228b0: 51cbfffa
+ ADD.W LAB_2287E(PC),D3 ;228b4: d67affc8
+ SUBA.L LAB_22880(PC),A3 ;228b8: 97faffc6
+ DBF D2,LAB_228AC ;228bc: 51caffee
+ BRA.S LAB_228FA ;228c0: 6038
+LAB_228C2:
+ CLR.W D4 ;228c2: 4244
+ MOVE.B (A2)+,D4 ;228c4: 181a
+ BPL.S LAB_228E0 ;228c6: 6a18
+ NEG.B D4 ;228c8: 4404
+ SUB.W D4,D3 ;228ca: 9644
+ BPL.S LAB_228DA ;228cc: 6a0c
+ ADD.W LAB_2287E(PC),D3 ;228ce: d67affae
+ SUBQ.W #1,D2 ;228d2: 5342
+ BMI.S LAB_228FA ;228d4: 6b24
+ SUBA.L LAB_22880(PC),A3 ;228d6: 97faffa8
+LAB_228DA:
+ MULU D1,D4 ;228da: c8c1
+ ADDA.W D4,A3 ;228dc: d6c4
+ BRA.S LAB_228C2 ;228de: 60e2
+LAB_228E0:
+ MOVE.B (A2)+,(A3) ;228e0: 169a
+ DBF D3,LAB_228F2 ;228e2: 51cb000e
+ ADD.W LAB_2287E(PC),D3 ;228e6: d67aff96
+ SUBQ.W #1,D2 ;228ea: 5342
+ BMI.S LAB_228FA ;228ec: 6b0c
+ SUBA.L LAB_22880(PC),A3 ;228ee: 97faff90
+LAB_228F2:
+ ADDA.W D1,A3 ;228f2: d6c1
+ DBF D4,LAB_228E0 ;228f4: 51ccffea
+ BRA.S LAB_228C2 ;228f8: 60c8
+LAB_228FA:
+ MOVEM.L (A7)+,D1-D4/A2-A3 ;228fa: 4cdf0c1e
+ LEA LAB_2287A(PC),A1 ;228fe: 43faff7a
+ MOVE.W (A1),D0 ;22902: 3011
+ ADDQ.W #1,D0 ;22904: 5240
+ CMP.W (A0),D0 ;22906: b050
+ BLE.S LAB_2290C ;22908: 6f02
+ MOVEQ #0,D0 ;2290a: 7000
+LAB_2290C:
+ MOVE.W D0,(A1) ;2290c: 3280
+ RTS ;2290e: 4e75
+; ------------------------------------------------------------------------------
+; Probably various graphics
+; ------------------------------------------------------------------------------
+LAB_22910:
+ DC.L $015c0048,$024802ec,$039004ee,$05340600 ;22910
+ DC.L $07a4084c,$0a200ba8,$0d400ddc,$0e700ef6 ;22920
+ DC.L $0fc2117a,$124e132a,$140e14fa,$1612172a ;22930
+ DC.L $17de18a2,$19821aca,$1b7e1c46,$1e4a1f22 ;22940
+ DC.L $20b221ca,$0a200ba8,$00860074,$0018004a ;22950
+ DC.L $00cc00ba,$00980098,$010200f0,$00de00de ;22960
+ DC.L $00060000,$1a840610,$072000ca,$00200836 ;22970
+ DC.L $012000e8,$0bdc041d,$c12200e8,$10640421 ;22980
+ DC.L $c12100e8,$158c041d,$812300e8,$1a140421 ;22990
+ DC.L $41230005,$00001a84,$06100720,$00ca0020 ;229a0
+ DC.L $08360120,$00e81064,$04218122,$00e81a14 ;229b0
+ DC.L $04214121,$00e90890,$08150120,$00020000 ;229c0
+ DC.L $12140611,$06a000ca,$00200836,$01200002 ;229d0
+ DC.L $00001d04,$060f0720,$00ca0020,$08360120 ;229e0
+ DC.L $00040001,$1da0040b,$072000db,$14bc0625 ;229f0
+ DC.L $0120fff2,$194a0212,$8122fff2,$1c1a0215 ;22a00
+ DC.L $41210002,$00010bd8,$040c06a0,$00db14bc ;22a10
+ DC.L $06250120,$00020001,$1da0040b,$072000db ;22a20
+ DC.L $14bc0625,$01200002,$00000cc4,$04070720 ;22a30
+ DC.L $00e708dc,$04190120,$00020000,$0ddc0407 ;22a40
+ DC.L $06a000e7,$08dc0419,$01200002,$00000cc4 ;22a50
+ DC.L $04070720,$00e708dc,$04190120,$00860074 ;22a60
+ DC.L $004a0018,$00b400a2,$00900090,$00e200d0 ;22a70
+ DC.L $00be00be,$00060006,$0464061b,$071c00e7 ;22a80
+ DC.L $0004061b,$211c00fb,$09d00208,$611d00f4 ;22a90
+ DC.L $09a80201,$e11e00f1,$08b80206,$611f00f4 ;22aa0
+ DC.L $0db80201,$231c0005,$000505f0,$0419251c ;22ab0
+ DC.L $00df0000,$0426011c,$01f30c76,$0207811e ;22ac0
+ DC.L $01ec0c4e,$0201811f,$01ea0bae,$0204411f ;22ad0
+ DC.L $00020005,$0ed8041b,$069c00e6,$09d80420 ;22ae0
+ DC.L $049c0001,$00041310,$0436011c,$00020004 ;22af0
+ DC.L $000c0412,$271c00ec,$1b580418,$051c0002 ;22b00
+ DC.L $00040674,$0415069c,$00ee02dc,$0417049c ;22b10
+ DC.L $00010003,$09bc0426,$011c0002,$00030b9a ;22b20
+ DC.L $020d271c,$00f308f2,$0211051c,$00020003 ;22b30
+ DC.L $069a020f,$069c00f3,$041a0210,$049c0001 ;22b40
+ DC.L $0002000a,$021a011c,$0054005e,$003a0018 ;22b50
+ DC.L $0072007c,$00680068,$0090009a,$00860086 ;22b60
+ DC.L $00040004,$0fac041e,$011cfe08,$09560205 ;22b70
+ DC.L $411ffe0a,$0a1e0207,$811efe12,$08b60204 ;22b80
+ DC.L $411f0003,$00021a6c,$041f011c,$fd0b1dea ;22b90
+ DC.L $0205411f,$fd101eb2,$0204811e,$00010003 ;22ba0
+ DC.L $14e80217,$011c0001,$00020cf2,$0415009c ;22bb0
+ DC.L $00010003,$146e0211,$011c0001,$00020d8e ;22bc0
+ DC.L $020f011c,$00010003,$1d18040e,$009c0001 ;22bd0
+ DC.L $0001145e,$020a011c,$00010000,$145c020b ;22be0
+ DC.L $011c0001,$00011dd6,$0209009c,$0032003c ;22bf0
+ DC.L $00180082,$0050005a,$00460046,$006e0078 ;22c00
+ DC.L $00640064,$00030006,$06720847,$01200010 ;22c10
+ DC.L $00060401,$c122000c,$002e0405,$81230001 ;22c20
+ DC.L $00000e88,$063a0120,$00010000,$04d8063e ;22c30
+ DC.L $00a00001,$00041798,$06300120,$00010000 ;22c40
+ DC.L $07d60429,$01200001,$000100f6,$042c00a0 ;22c50
+ DC.L $00010003,$0e3e0423,$01200001,$000013b8 ;22c60
+ DC.L $021d0120,$00010000,$13b6021d,$00a00004 ;22c70
+ DC.L $00020000,$061f0120,$00de000a,$08292120 ;22c80
+ DC.L $01eb1742,$0205e120,$01f4180a,$0208a122 ;22c90
+ DC.L $009600a8,$006c0018,$00e400f6,$00ca0052 ;22ca0
+ DC.L $014c0132,$01180118,$00070000,$1c2a0811 ;22cb0
+ DC.L $032000bc,$118a0844,$0120e9cc,$1cc60410 ;22cc0
+ DC.L $c122e9cc,$0ef40410,$012108cf,$1e660206 ;22cd0
+ DC.L $812208d9,$1ed20202,$412308d5,$144a020c ;22ce0
+ DC.L $c1200003,$00001c82,$060c0320,$00d014da ;22cf0
+ DC.L $06310120,$f6db0400,$040b0120,$00050000 ;22d00
+ DC.L $1c2a0811,$032000bc,$118a0844,$0120ffd0 ;22d10
+ DC.L $00180419,$012008cf,$1e660206,$812208d7 ;22d20
+ DC.L $162a0207,$01230002,$00001c2a,$08110320 ;22d30
+ DC.L $00bf0ab2,$06410520,$00040000,$1c2a0811 ;22d40
+ DC.L $02a000bc,$00120644,$00a020d4,$001c020b ;22d50
+ DC.L $00a0d8e9,$183e041d,$00a00003,$00001c82 ;22d60
+ DC.L $060c0320,$00cf14da,$06310120,$fdde05b8 ;22d70
+ DC.L $04100120,$00020000,$1c82060c,$032000d3 ;22d80
+ DC.L $01d4042d,$05200004,$00001c82,$060c02a0 ;22d90
+ DC.L $00d11508,$042f00a0,$18e1001e,$020900a0 ;22da0
+ DC.L $ece8189a,$021900a0,$00030000,$1c600408 ;22db0
+ DC.L $032000ee,$0d100412,$012003dd,$0fe00411 ;22dc0
+ DC.L $01200003,$00001c60,$040802a0,$00ee0d10 ;22dd0
+ DC.L $041200a0,$04de1288,$041000a0,$00020000 ;22de0
+ DC.L $1c600408,$032000e1,$0838041f,$01200018 ;22df0
+ DC.L $00180018,$00180032,$00320032,$0032003c ;22e00
+ DC.L $003c003c,$003c0003,$fced0010,$0439041c ;22e10
+ DC.L $092a0b10,$0208401f,$092a0c50,$0209c01d ;22e20
+ DC.L $000100f6,$08f8042a,$041c0001,$fff70fe6 ;22e30
+ DC.L $021d041c,$005c0076,$003a0018,$009200a4 ;22e40
+ DC.L $00800080,$00b800c2,$00ae00ae,$00040204 ;22e50
+ DC.L $00140655,$271c2019,$1990021b,$211c1f15 ;22e60
+ DC.L $1de80209,$a31efb0c,$1f080202,$e11e0004 ;22e70
+ DC.L $000013ca,$044a031c,$e8190de0,$022d011c ;22e80
+ DC.L $d8361dc8,$0208011c,$110f1de8,$0209811e ;22e90
+ DC.L $00030000,$001a044e,$011ce818,$0de0022d ;22ea0
+ DC.L $011cd835,$1dc80208,$011c0001,$00000d5c ;22eb0
+ DC.L $064e029c,$00020201,$0baa0434,$031ce826 ;22ec0
+ DC.L $1e5c0206,$011c0002,$0001163c,$0434031c ;22ed0
+ DC.L $e8261e5c,$0206011c,$00010001,$0f880436 ;22ee0
+ DC.L $029c0001,$0000198c,$0424031c,$00010000 ;22ef0
+ DC.L $001e0424,$031c0001,$000017f8,$0426029c ;22f00
+ DC.L $008c00be,$00520018,$01020134,$00e000e0 ;22f10
+ DC.L $01700192,$015e015e,$00070009,$000e0a18 ;22f20
+ DC.L $032400b9,$1270044f,$0124e8ce,$07ac0220 ;22f30
+ DC.L $012418ce,$0cac021d,$01241801,$048c0214 ;22f40
+ DC.L $0164f5f1,$04d20218,$412505fa,$00240210 ;22f50
+ DC.L $41250007,$0004000e,$0a180364,$00bb0000 ;22f60
+ DC.L $04530124,$e8d30004,$021d0124,$20d00cf8 ;22f70
+ DC.L $04230124,$18ae048c,$02140124,$f7f704d2 ;22f80
+ DC.L $021841a5,$07000024,$021041a5,$0006000a ;22f90
+ DC.L $000e0a18,$032400e7,$043e0421,$0124f0cc ;22fa0
+ DC.L $0006041b,$0024f1cc,$0006041b,$00a400b7 ;22fb0
+ DC.L $09660415,$012418aa,$048c0214,$01240004 ;22fc0
+ DC.L $0006000e,$0a180264,$00bd0cae,$044d00a4 ;22fd0
+ DC.L $1abd000a,$042e00a4,$f5af048c,$02140024 ;22fe0
+ DC.L $00040007,$03d00610,$036400d9,$073a062e ;22ff0
+ DC.L $012400cf,$1c74020a,$012410c6,$11340213 ;23000
+ DC.L $01240006,$000803d0,$06100324,$00f21c26 ;23010
+ DC.L $04140124,$f0dc18b6,$04160024,$f1dc18b6 ;23020
+ DC.L $041600a4,$00d114d6,$020b0124,$10c91134 ;23030
+ DC.L $02130124,$00050007,$03d00610,$026400d1 ;23040
+ DC.L $142c0235,$00a4f0df,$168e020d,$00a410dc ;23050
+ DC.L $03ce0215,$00a4f4c9,$11340213,$00240002 ;23060
+ DC.L $00031bda,$040a0364,$00d50e6a,$042c0124 ;23070
+ DC.L $00040002,$1bda040a,$0324f8e7,$0e6e021d ;23080
+ DC.L $0024f9e7,$0e6e021d,$00a405db,$12f6020c ;23090
+ DC.L $01240002,$00031bda,$040a0264,$00d9154a ;230a0
+ DC.L $042a00a4,$009e009e,$00180018,$009e009e ;230b0
+ DC.L $004a0018,$009e009e,$007c0018,$00060003 ;230c0
+ DC.L $1e460807,$031c00ec,$0026020d,$011cf09d ;230d0
+ DC.L $0022044f,$001cf19d,$0022044f,$009c00be ;230e0
+ DC.L $05be0403,$401f00d5,$06360410,$041c0006 ;230f0
+ DC.L $00021d80,$0604031c,$00f20a26,$020a011c ;23100
+ DC.L $f8aa0cf6,$0248001c,$f9aa0cf6,$0248009c ;23110
+ DC.L $e8af1836,$0224001c,$e9af1836,$0224009c ;23120
+ DC.L $00040001,$0c7a0403,$031c00f5,$0bb60208 ;23130
+ DC.L $011cf8c2,$022e0233,$001cf9c2,$022e0233 ;23140
+ DC.L $009c0001,$00001f2c,$0201001c,$00ac00d6 ;23150
+ DC.L $00620018,$011a0144,$00f800f8,$018801b2 ;23160
+ DC.L $01660166,$00090000,$0e58082f,$07a4fb0c ;23170
+ DC.L $17300623,$01a4fcd1,$0d58063f,$01241ce7 ;23180
+ DC.L $18960213,$012414fa,$13ee0624,$012406d6 ;23190
+ DC.L $02a4041c,$01240cdf,$1d760205,$41270ce8 ;231a0
+ DC.L $1e660206,$c1260cea,$1d780205,$81270009 ;231b0
+ DC.L $00000e58,$082f0724,$fb0c1730,$06230124 ;231c0
+ DC.L $fcd10d58,$063f0124,$1ce71896,$02130124 ;231d0
+ DC.L $2cf203d6,$06190124,$0cdf1ec8,$0203c126 ;231e0
+ DC.L $0cdf1eca,$02034127,$0ce71ed4,$0203c125 ;231f0
+ DC.L $0ce91e04,$02048127,$00050000,$0e58082f ;23200
+ DC.L $07240c09,$08900425,$0524f40a,$08900425 ;23210
+ DC.L $0524f0cd,$15340441,$0024f0cd,$15340441 ;23220
+ DC.L $00a40004,$00000e58,$082f06a4,$0907074c ;23230
+ DC.L $042204a4,$f70d074c,$042204a4,$06d315b0 ;23240
+ DC.L $083e00a4,$00040001,$0ec60621,$0724fa08 ;23250
+ DC.L $198e0619,$0124fee0,$07be062d,$01241ef7 ;23260
+ DC.L $1d6a020c,$01240005,$00010ec6,$06210724 ;23270
+ DC.L $090b1b8e,$02180524,$f7091b8e,$02180524 ;23280
+ DC.L $f0de0704,$042f0024,$f0de0704,$042f00a4 ;23290
+ DC.L $00040001,$0ec60621,$06a40705,$00180418 ;232a0
+ DC.L $04a4f909,$00180418,$04a404e1,$0650062d ;232b0
+ DC.L $00a40004,$00000c9c,$04170724,$00061ca8 ;232c0
+ DC.L $04110124,$00ea1034,$04200124,$18fa1d6c ;232d0
+ DC.L $02090124,$00050000,$0c9c0417,$0724f907 ;232e0
+ DC.L $00260210,$05240306,$00260210,$0524f8ea ;232f0
+ DC.L $03400222,$0024f8ea,$03400222,$00a40004 ;23300
+ DC.L $00000c9c,$041706a4,$05041cac,$021104a4 ;23310
+ DC.L $fb061cac,$021104a4,$03ea0224,$042100a4 ;23320
+ DC.L $0052006c,$0018010a,$009800b2,$007e0154 ;23330
+ DC.L $00de00f8,$00c4016e,$00070008,$00000824 ;23340
+ DC.L $0128f0d2,$02de0434,$0028f1d2,$02de0434 ;23350
+ DC.L $00a800d6,$12ac0422,$40ab00d6,$12ac0422 ;23360
+ DC.L $c02a09f5,$17320209,$00ab08f5,$17320209 ;23370
+ DC.L $802a0003,$00060000,$08240128,$f0d3127e ;23380
+ DC.L $042f0028,$f1d3127e,$042f00a8,$0002fc07 ;23390
+ DC.L $00000824,$012800d3,$04180632,$04a80003 ;233a0
+ DC.L $00060008,$061a0128,$f8e01930,$02250028 ;233b0
+ DC.L $f8e01930,$022500a8,$00030005,$0008061a ;233c0
+ DC.L $0128f8e2,$19320222,$0028f9e2,$19320222 ;233d0
+ DC.L $00a80002,$fd050008,$061a0128,$00e119d6 ;233e0
+ DC.L $042304a8,$00030002,$000e0412,$0128f8eb ;233f0
+ DC.L $00120219,$0028f9eb,$00120219,$00a80003 ;23400
+ DC.L $0001000e,$04120128,$f8ec076a,$02190028 ;23410
+ DC.L $f9ec076a,$021900a8,$0002fe01,$000e0412 ;23420
+ DC.L $012800ec,$1a940418,$04a80009,$00080000 ;23430
+ DC.L $08240128,$f0d20afe,$04300028,$f1d20afe ;23440
+ DC.L $043000a8,$00d30018,$021e402b,$00f01bba ;23450
+ DC.L $0206c028,$f6e204c8,$020e002b,$f7e204c8 ;23460
+ DC.L $020e80aa,$e8e11caa,$0210802a,$e9e11caa ;23470
+ DC.L $021000ab,$00030006,$0008061a,$0128f0e0 ;23480
+ DC.L $19c80422,$0028f0e0,$19c80422,$00a80003 ;23490
+ DC.L $0002000e,$04120128,$f8eb03fa,$02160028 ;234a0
+ DC.L $f9eb03fa,$021600a8,$005a0074,$00180112 ;234b0
+ DC.L $00a000ba,$00860164,$00e60100,$00cc017e ;234c0
+ DC.L $00080008,$05a00829,$0128f0d1,$11d40438 ;234d0
+ DC.L $0028f0d1,$11d40438,$00a800f2,$0b520215 ;234e0
+ DC.L $012808da,$189a0209,$002b00e6,$1a02020b ;234f0
+ DC.L $c02af6f5,$0ae00207,$802bf6f5,$0ae00207 ;23500
+ DC.L $80aa0003,$000605a0,$08290128,$f0d2030c ;23510
+ DC.L $04300028,$f1d2030c,$043000a8,$0002fc07 ;23520
+ DC.L $05a00829,$012800d2,$10700638,$04a80003 ;23530
+ DC.L $00060be8,$061d0128,$f8df1934,$02270028 ;23540
+ DC.L $f8df1934,$022700a8,$00030005,$0be8061d ;23550
+ DC.L $0128f8e1,$0e9a0220,$0028f9e1,$0e9a0220 ;23560
+ DC.L $00a80002,$fd050be8,$061d0128,$00e00c08 ;23570
+ DC.L $042604a8,$00030002,$00140413,$0128f8e9 ;23580
+ DC.L $11f8021a,$0028f9e9,$11f8021a,$00a80003 ;23590
+ DC.L $00010014,$04130128,$f8ea139a,$02170028 ;235a0
+ DC.L $f9ea139a,$021700a8,$0002fe01,$00140413 ;235b0
+ DC.L $012800ea,$16080418,$04a8000a,$000805a0 ;235c0
+ DC.L $08290128,$f0d10a8c,$04340028,$f0d10a8c ;235d0
+ DC.L $043400a8,$00f20b52,$02150128,$08db189a ;235e0
+ DC.L $0209002b,$00e71a02,$020bc02a,$f7e50928 ;235f0
+ DC.L $020b802a,$f7e50928,$020b40aa,$e7e206f8 ;23600
+ DC.L $020e002b,$e7e206f8,$020e80a9,$00030006 ;23610
+ DC.L $0be8061d,$0128f0df,$0c0c0425,$0028f0df ;23620
+ DC.L $0c0c0425,$00a80003,$00020014,$04130128 ;23630
+ DC.L $f8e911fa,$021a0028,$f9e911fa,$021a00a8 ;23640
+ DC.L $00180022,$002c003e,$0050005a,$00640064 ;23650
+ DC.L $00760080,$008a008a,$00010004,$07c20a2d ;23660
+ DC.L $03280001,$0003001a,$0a3100a8,$00020004 ;23670
+ DC.L $07c20a2d,$03280011,$17fc041b,$21280002 ;23680
+ DC.L $000407c2,$0a2d0128,$000f11a2,$06202128 ;23690
+ DC.L $00010004,$1a600820,$03280001,$000319e0 ;236a0
+ DC.L $082300a8,$00020004,$1a600820,$0328000b ;236b0
+ DC.L $1c340413,$21280001,$00031674,$06160328 ;236c0
+ DC.L $00010002,$16a20618,$00a80002,$00031674 ;236d0
+ DC.L $06160328,$00080bf8,$020d2128,$00180022 ;236e0
+ DC.L $002c003e,$0050005a,$00640064,$00760080 ;236f0
+ DC.L $008a008a,$00010000,$0024041d,$21280001 ;23700
+ DC.L $00031124,$062200a8,$00020000,$0024041d ;23710
+ DC.L $01280003,$12100419,$21280002,$00000024 ;23720
+ DC.L $041d0128,$000315f8,$04192128,$00010000 ;23730
+ DC.L $0ef00414,$21280001,$00020de4,$041800a8 ;23740
+ DC.L $00020000,$0ef00414,$01280001,$0ed20212 ;23750
+ DC.L $21280001,$00000ed0,$020f2128,$00010001 ;23760
+ DC.L $0b3c0411,$00a80001,$00000ef6,$020e2128 ;23770
+ DC.L $00180018,$00180018,$00520052,$00520052 ;23780
+ DC.L $006c006c,$006c006c,$00070003,$1e460807 ;23790
+ DC.L $031c10b4,$158a0433,$009c10b4,$158a0433 ;237a0
+ DC.L $001c00d0,$126a0405,$401f00d2,$11f20403 ;237b0
+ DC.L $c01d00d0,$112a0405,$021c00e5,$1332040f ;237c0
+ DC.L $051c0003,$00021d80,$0604031c,$07c91716 ;237d0
+ DC.L $022e009c,$08c91716,$022e001c,$00030001 ;237e0
+ DC.L $0c7a0403,$031c07da,$18800220,$009c08da ;237f0
+ DC.L $18800220,$001c0086,$007c004a,$001800a4 ;23800
+ DC.L $009a0090,$009000c2,$00b800ae,$00ae0006 ;23810
+ DC.L $00000a58,$041e030c,$00ec0fd0,$0414010c ;23820
+ DC.L $0a0407d6,$020e410d,$00f00ee4,$0203410e ;23830
+ DC.L $00f30dcc,$0207010f,$00f60f5c,$0207c10e ;23840
+ DC.L $00060000,$07380432,$030c000f,$0f080405 ;23850
+ DC.L $410ff814,$118e0208,$010c0a18,$07d6020e ;23860
+ DC.L $410d0005,$12040209,$c10e0005,$1074020a ;23870
+ DC.L $810f0001,$00000008,$042e000c,$00010000 ;23880
+ DC.L $0a540432,$030c0001,$00000014,$04230114 ;23890
+ DC.L $00010000,$08cc0420,$000c0001,$0000058c ;238a0
+ DC.L $04230114,$00010000,$04160218,$010c0001 ;238b0
+ DC.L $0000007e,$0217000c,$00010000,$0dce0218 ;238c0
+ DC.L $010c0018,$01060042,$00a40118,$016e0122 ;238d0
+ DC.L $01440180,$018a0194,$01a60005,$00000d0c ;238e0
+ DC.L $0201062c,$e8c91248,$0637012c,$e9c91248 ;238f0
+ DC.L $063701ac,$fda116be,$0628012c,$f7c908c8 ;23900
+ DC.L $0236012c,$000c0005,$0d0c0201,$062cfbc3 ;23910
+ DC.L $16ae0407,$012ce3c3,$08c0063d,$012ce6c3 ;23920
+ DC.L $08c0063d,$01acdbcb,$1032022a,$412fdecb ;23930
+ DC.L $1032022a,$01afffaa,$1ae00619,$012c03c8 ;23940
+ DC.L $08c60236,$012c0ce0,$00100223,$c12c07e5 ;23950
+ DC.L $06220620,$012f06e6,$0db20207,$812e06ea ;23960
+ DC.L $0eca0209,$412f000c,$00050d0c,$0201062c ;23970
+ DC.L $e3c308c0,$063d012c,$e6c308c0,$063d01ac ;23980
+ DC.L $dbcb1032,$022a412f,$decb1032,$022a01af ;23990
+ DC.L $ffaa1ae0,$0619012c,$00d81136,$0423012c ;239a0
+ DC.L $fdb1000a,$0627012c,$02d217c6,$0410412d ;239b0
+ DC.L $fdbf0a3a,$0208c12d,$fdc50a3c,$0208012f ;239c0
+ DC.L $fec80b22,$061d032c,$00020003,$00000a38 ;239d0
+ DC.L $062c10dc,$16da0624,$002c0001,$00000b78 ;239e0
+ DC.L $0643072c,$00040007,$0dfe0438,$072c01f9 ;239f0
+ DC.L $07740407,$012ce80a,$06d2022c,$012c180a ;23a00
+ DC.L $001a022b,$012c0005,$00020606,$0433072c ;23a10
+ DC.L $01f90774,$0407012c,$e80a06d2,$022c012c ;23a20
+ DC.L $180a001a,$022b012c,$000f1a46,$0413032c ;23a30
+ DC.L $00020003,$00120826,$062c10e5,$0602041b ;23a40
+ DC.L $002c0001,$0000001c,$042e072c,$00010001 ;23a50
+ DC.L $0faa062e,$062c0002,$000215f0,$0629072c ;23a60
+ DC.L $02060588,$0226012c,$00020002,$15f00629 ;23a70
+ DC.L $072cf711,$1d3e020d,$032c0084,$008e0018 ;23a80
+ DC.L $004a00a2,$00ac0098,$009800c0,$00ca00b6 ;23a90
+ DC.L $00b60006,$0000088c,$0436072c,$00f41c18 ;23aa0
+ DC.L $0213802c,$00fc1cfe,$020ec02e,$00f41c1a ;23ab0
+ DC.L $0215402f,$08131c5a,$020dc12d,$f8191d74 ;23ac0
+ DC.L $0207412f,$00070000,$11c80442,$072c161d ;23ad0
+ DC.L $13840212,$012c1611,$11a4020b,$012d0e14 ;23ae0
+ DC.L $1d00040f,$c12e0001,$1c7a0212,$812f0007 ;23af0
+ DC.L $1c7c020e,$412ff83a,$1c5c0207,$c12e0001 ;23b00
+ DC.L $00000020,$0442072c,$00010000,$00240442 ;23b10
+ DC.L $062c0001,$00010a70,$042f072c,$00010001 ;23b20
+ DC.L $0a74042e,$072c0001,$000110fc,$042e062c ;23b30
+ DC.L $00010000,$16a60221,$072c0001,$00001654 ;23b40
+ DC.L $0221072c,$00010000,$11a60220,$062c004c ;23b50
+ DC.L $005e0032,$00180082,$00940070,$007000b8 ;23b60
+ DC.L $00ca00a6,$00a60003,$000017ee,$04290130 ;23b70
+ DC.L $01f81184,$02080130,$000111be,$040e0330 ;23b80
+ DC.L $00030000,$00000428,$013000f7,$00040209 ;23b90
+ DC.L $01300009,$000a0408,$41320002,$000013d8 ;23ba0
+ DC.L $042a0130,$00f81044,$02080130,$00020000 ;23bb0
+ DC.L $00060428,$003000f6,$093c020a,$00300002 ;23bc0
+ DC.L $00010b22,$041d0130,$00fa15ee,$02060130 ;23bd0
+ DC.L $00020001,$014a041c,$013000fa,$190e0206 ;23be0
+ DC.L $01300002,$00011a94,$021b0030,$fef90560 ;23bf0
+ DC.L $02070030,$00020000,$16620214,$013000fc ;23c00
+ DC.L $1b3c0204,$01300002,$000019fe,$02140130 ;23c10
+ DC.L $01fc1a9c,$02040130,$00020000,$10720213 ;23c20
+ DC.L $003000fa,$1e560206,$00300054,$00660032 ;23c30
+ DC.L $0018008a,$009c0078,$007800c0,$00d200ae ;23c40
+ DC.L $00ae0003,$000017ee,$04290130,$01f812c4 ;23c50
+ DC.L $020c0130,$000111be,$040e0330,$00040000 ;23c60
+ DC.L $00000428,$013000f8,$0dc0040d,$01300009 ;23c70
+ DC.L $000a0408,$41320002,$06bc0203,$01330002 ;23c80
+ DC.L $000013d8,$042a0130,$00f91636,$040b0130 ;23c90
+ DC.L $00020000,$00060428,$003001f7,$0734020d ;23ca0
+ DC.L $00300002,$00010b22,$041d0130,$00fa14ae ;23cb0
+ DC.L $02080130,$00020001,$014a041c,$013001fb ;23cc0
+ DC.L $17f60207,$01300002,$00011a94,$021b0030 ;23cd0
+ DC.L $fef90420,$02080030,$00020000,$16620214 ;23ce0
+ DC.L $013000fc,$1bdc0206,$01300002,$000019fe ;23cf0
+ DC.L $02140130,$00fc19ac,$02060130,$00020000 ;23d00
+ DC.L $10720213,$003000fb,$1e580205,$0030005c ;23d10
+ DC.L $006e0032,$00180092,$00a40080,$008000c8 ;23d20
+ DC.L $00da00b6,$00b60003,$000017ee,$04290130 ;23d30
+ DC.L $01f714a4,$020f0130,$000111be,$040e0330 ;23d40
+ DC.L $00050000,$00000428,$013000f6,$043c0210 ;23d50
+ DC.L $01300009,$000a0408,$41320001,$034c0206 ;23d60
+ DC.L $c1310002,$0194020b,$c1320002,$000013d8 ;23d70
+ DC.L $042a0130,$00f70eb4,$020a0130,$00020000 ;23d80
+ DC.L $00060428,$0030fef7,$0646040e,$00300002 ;23d90
+ DC.L $00010b22,$041d0130,$00fa12f6,$020b0130 ;23da0
+ DC.L $00020001,$014a041c,$013001f9,$16de0207 ;23db0
+ DC.L $01300002,$00011a94,$021b0030,$fef902b8 ;23dc0
+ DC.L $02090030,$00020000,$16620214,$013000fb ;23dd0
+ DC.L $1ccc0208,$01300002,$000019fe,$02140130 ;23de0
+ DC.L $01fb1894,$02070130,$00020000,$10720213 ;23df0
+ DC.L $0030fffa,$1d920208,$00300054,$0066003a ;23e00
+ DC.L $001800a4,$00b60092,$007800f4,$010600e2 ;23e10
+ DC.L $00c80004,$000002a8,$04170130,$00e60fc8 ;23e20
+ DC.L $041a0130,$00dd16fc,$02170130,$00eb1a68 ;23e30
+ DC.L $04083131,$00030000,$00000428,$013000ed ;23e40
+ DC.L $0a000418,$01300009,$000a0408,$41320002 ;23e50
+ DC.L $000013d8,$042a0130,$00ed129e,$04170130 ;23e60
+ DC.L $00020000,$00060428,$003001ec,$0acc0219 ;23e70
+ DC.L $00300003,$000105aa,$04230130,$00f902b6 ;23e80
+ DC.L $02110130,$00040faa,$04053131,$00020001 ;23e90
+ DC.L $0b22041d,$0130fff3,$055e0211,$01300002 ;23ea0
+ DC.L $0001014a,$041c0130,$00f2000e,$02110130 ;23eb0
+ DC.L $00020001,$1a94021b,$003001f2,$0806020f ;23ec0
+ DC.L $00300003,$0000136a,$02130130,$00f51982 ;23ed0
+ DC.L $020b0130,$00fc1cf2,$02043131,$00020000 ;23ee0
+ DC.L $16620214,$0130fff6,$0678020b,$01300002 ;23ef0
+ DC.L $000019fe,$02140130,$00f716b4,$020c0130 ;23f00
+ DC.L $00020000,$10720213,$003000f5,$1d1e020d ;23f10
+ DC.L $00300054,$0066003a,$001800a4,$00b60092 ;23f20
+ DC.L $007800f4,$010600e2,$00c80004,$000002a8 ;23f30
+ DC.L $04170130,$00e60fc8,$041a0130,$00de1ba8 ;23f40
+ DC.L $04130130,$00eb1a68,$04083131,$00030000 ;23f50
+ DC.L $00000428,$013000ec,$06400418,$01300009 ;23f60
+ DC.L $000a0408,$41320002,$000013d8,$042a0130 ;23f70
+ DC.L $00ee0dc6,$041f0130,$00020000,$00060428 ;23f80
+ DC.L $003000ec,$08760422,$00300003,$000105aa ;23f90
+ DC.L $04230130,$00fb0e1e,$020e0130,$00040faa ;23fa0
+ DC.L $04053131,$00020001,$0b22041d,$013000f3 ;23fb0
+ DC.L $104e0211,$01300002,$0001014a,$041c0130 ;23fc0
+ DC.L $00f30a5e,$02180130,$00020001,$1a94021b ;23fd0
+ DC.L $003001f2,$00100211,$00300003,$0000136a ;23fe0
+ DC.L $02130130,$00f61b3a,$020b0130,$00fc1cf2 ;23ff0
+ DC.L $02043131,$00020000,$16620214,$0130fff6 ;24000
+ DC.L $14d4020c,$01300002,$000019fe,$02140130 ;24010
+ DC.L $01f7127c,$020f0130,$00020000,$10720213 ;24020
+ DC.L $003002f5,$1074020d,$00300044,$00560022 ;24030
+ DC.L $00180072,$007c0068,$00680098,$00a2008e ;24040
+ DC.L $008e0001,$0004079a,$063e2130,$00040004 ;24050
+ DC.L $00120437,$2130e815,$0830021c,$2133f014 ;24060
+ DC.L $13700222,$e1300013,$18c0020f,$e1310002 ;24070
+ DC.L $000308aa,$04352130,$18110c90,$02202130 ;24080
+ DC.L $00020000,$00160a21,$0030efe9,$10f20417 ;24090
+ DC.L $00300001,$0003148a,$04262130,$00010003 ;240a0
+ DC.L $053e0425,$21300002,$00010020,$08160030 ;240b0
+ DC.L $f3ef0b06,$04110030,$00010002,$1a7a041b ;240c0
+ DC.L $21300001,$00010dae,$041a2130,$00020000 ;240d0
+ DC.L $0542060f,$0030f8f4,$1190020c,$0030006c ;240e0
+ DC.L $007e003a,$00180092,$009c0088,$008800b0 ;240f0
+ DC.L $00ba00a6,$00a60004,$000006d8,$041a0130 ;24100
+ DC.L $18161ecc,$02030130,$00e713ee,$041a0130 ;24110
+ DC.L $fc021c10,$02124132,$00060000,$0390042f ;24120
+ DC.L $0130182b,$1ecc0203,$0130f8fa,$1a3c0211 ;24130
+ DC.L $0133f8fb,$1ba60210,$c13005fe,$17940211 ;24140
+ DC.L $c130fc17,$1c100212,$41320002,$00000ae8 ;24150
+ DC.L $04340130,$18301ecc,$020301b0,$00010000 ;24160
+ DC.L $03940437,$00b00001,$000111cc,$04250130 ;24170
+ DC.L $00010001,$0c2c0424,$01300001,$000117fe ;24180
+ DC.L $022600b0,$00010000,$1796021a,$01300001 ;24190
+ DC.L $00001800,$021a0130,$00010000,$1b18021b ;241a0
+ DC.L $00b00074,$007e003a,$0018009c,$00a60092 ;241b0
+ DC.L $008800cc,$00d600b8,$00c20004,$00001590 ;241c0
+ DC.L $042e0134,$00f713d8,$040b0137,$00f71220 ;241d0
+ DC.L $040bc134,$02000008,$0209c134,$00070000 ;241e0
+ DC.L $075c0429,$0134f901,$0170021b,$0137f901 ;241f0
+ DC.L $05a80219,$c136f901,$0990021a,$c13500f1 ;24200
+ DC.L $0004040f,$e13400f0,$025c0410,$613700f0 ;24210
+ DC.L $04dc0410,$81370001,$000208e8,$043b0134 ;24220
+ DC.L $00010000,$00000439,$00340001,$0001000a ;24230
+ DC.L $02280134,$00010001,$0da00228,$01340001 ;24240
+ DC.L $000313e0,$022a0134,$00020001,$1cc00407 ;24250
+ DC.L $0034fedf,$064a0221,$00340001,$00000b72 ;24260
+ DC.L $021d0134,$00010000,$0ffa021c,$01340001 ;24270
+ DC.L $00011a70,$021e0134,$00010000,$145a021d ;24280
+ DC.L $0034008c,$009e0018,$005a00dc,$00e600c2 ;24290
+ DC.L $00a80124,$013e010a,$00f00008,$00000010 ;242a0
+ DC.L $02410134,$10000012,$02420137,$10000a62 ;242b0
+ DC.L $0242c136,$100014b2,$0242c135,$f0010a38 ;242c0
+ DC.L $023f4135,$f0011410,$023f8136,$00f31b62 ;242d0
+ DC.L $02106137,$00f318e2,$020d8134,$00060000 ;242e0
+ DC.L $00100241,$0134f001,$0a38023f,$4135f001 ;242f0
+ DC.L $1410023f,$81361015,$0014022d,$01340aeb ;24300
+ DC.L $0c14042a,$013407e8,$13800215,$03340002 ;24310
+ DC.L $0000000c,$044d0134,$e81916c8,$022e0134 ;24320
+ DC.L $00010000,$0dc40450,$00340003,$0000001c ;24330
+ DC.L $02010034,$fccb0016,$02360134,$09c2071c ;24340
+ DC.L $023f0134,$00030000,$001c0201,$0034fccb ;24350
+ DC.L $00160236,$013409d4,$10f4022e,$01340001 ;24360
+ DC.L $000112a4,$04350134,$00010001,$08860239 ;24370
+ DC.L $00340003,$0000001c,$02010034,$03d41824 ;24380
+ DC.L $022d0134,$f3e01a44,$02200134,$00030000 ;24390
+ DC.L $001c0201,$003403da,$116e0227,$0134f3e0 ;243a0
+ DC.L $1a440220,$01340003,$00001a46,$02200134 ;243b0
+ DC.L $f0061aec,$02170134,$00fa1d6a,$02060134 ;243c0
+ DC.L $00010000,$17860228,$0034005c,$00660032 ;243d0
+ DC.L $0018007a,$00840070,$007000a0,$00aa0096 ;243e0
+ DC.L $00960003,$000005bc,$04240134,$03e00b5c ;243f0
+ DC.L $04200134,$01ea1e5a,$02064137,$00050000 ;24400
+ DC.L $001c0448,$0134fe05,$1de80209,$0137ff0f ;24410
+ DC.L $1dc60206,$4137fe05,$1aee0210,$c136fe05 ;24420
+ DC.L $00200210,$c1350001,$00001328,$04480134 ;24430
+ DC.L $00010000,$08380446,$00340001,$00010018 ;24440
+ DC.L $04340134,$00010001,$105c0434,$01340002 ;24450
+ DC.L $00fb187c,$042c0034,$062c1e68,$02060034 ;24460
+ DC.L $00010000,$02a00224,$01340001,$00000840 ;24470
+ DC.L $02250134,$00010000,$0e080223,$0034006a ;24480
+ DC.L $006a006a,$001800b4,$00b400b4,$00b400be ;24490
+ DC.L $00be00be,$00be000a,$00e2001c,$02010034 ;244a0
+ DC.L $030016f4,$04180134,$00cf072a,$06310134 ;244b0
+ DC.L $f1c3149a,$020c0137,$ecc5149a,$020cc1b4 ;244c0
+ DC.L $14c512ba,$020c0137,$10c312ba,$020cc1b4 ;244d0
+ DC.L $fedd1062,$020f4137,$ffe41df8,$02088137 ;244e0
+ DC.L $fee21e6a,$0206c135,$000900e2,$001c0201 ;244f0
+ DC.L $00340300,$16f40418,$013400d3,$0fec042d ;24500
+ DC.L $0134edee,$167a0212,$0134e1eb,$194a0214 ;24510
+ DC.L $013418ed,$1c6a0213,$013401e2,$0efe0206 ;24520
+ DC.L $4137fee2,$1e840205,$8137feda,$1d6e020c ;24530
+ DC.L $c1350001,$00fa0022,$062d0134,$000100fb ;24540
+ DC.L $1ab4041e,$01340072,$00f6009c,$00180110 ;24550
+ DC.L $016c013a,$013a018e,$01ea01b8,$01b8000b ;24560
+ DC.L $00020008,$06070038,$f0c813d8,$041f003b ;24570
+ DC.L $f1c813d8,$041f00bb,$f0b60d20,$042bc03a ;24580
+ DC.L $f1b60d20,$042bc0ba,$f0b60d20,$041bc039 ;24590
+ DC.L $f1b60d20,$041bc0b9,$f0d118b0,$0411c039 ;245a0
+ DC.L $f1d118b0,$0411c0b9,$ffcb16fc,$020d0038 ;245b0
+ DC.L $ffd61904,$0201403a,$00050002,$00080607 ;245c0
+ DC.L $0038f0c8,$13d8041f,$003bf1c8,$13d8041f ;245d0
+ DC.L $00bbf0b6,$0d20042b,$c038f1b6,$0d20042b ;245e0
+ DC.L $c0b8000b,$00020008,$06070038,$f0c813d8 ;245f0
+ DC.L $041f003b,$f1c813d8,$041f00bb,$f0b60d20 ;24600
+ DC.L $042bc03a,$f1b60d20,$042bc0ba,$f0b60d20 ;24610
+ DC.L $041bc039,$f1b60d20,$041bc0b9,$f0d118b0 ;24620
+ DC.L $0411c039,$f1d118b0,$0411c0b9,$ffca106c ;24630
+ DC.L $02120038,$ffd7133c,$0205403a,$00030002 ;24640
+ DC.L $00080607,$003801b6,$0000042c,$003b01c6 ;24650
+ DC.L $06e00428,$c0380005,$00021dc2,$04040038 ;24660
+ DC.L $f0d81b58,$0416003b,$f1d81b58,$041600bb ;24670
+ DC.L $f8cc192c,$021ec038,$f9cc192c,$021ec0b8 ;24680
+ DC.L $00060002,$1dc20404,$0038f0d8,$1b580416 ;24690
+ DC.L $003bf1d8,$1b580416,$00bbf8cc,$192c021e ;246a0
+ DC.L $c038f9cc,$192c021e,$c0b800db,$1404020c ;246b0
+ DC.L $01380004,$00021dc2,$04040038,$00d804b4 ;246c0
+ DC.L $021b003b,$00cd0004,$021ec038,$f0e008ec ;246d0
+ DC.L $02080038,$00050001,$1ec80403,$0038f8e3 ;246e0
+ DC.L $034e020f,$003bf8e3,$034e020f,$00bbf8db ;246f0
+ DC.L $00060215,$c038f9db,$00060215,$c0b80006 ;24700
+ DC.L $00011ec8,$04030038,$f8e3034e,$020f003b ;24710
+ DC.L $f8e3034e,$020f00bb,$f8db0006,$0215c038 ;24720
+ DC.L $f9db0006,$0215c0b8,$01e615e4,$02070038 ;24730
+ DC.L $00030001,$1ec80403,$0038ffe3,$0d740213 ;24740
+ DC.L $003bffdc,$0a2c0215,$c038007a,$007a007a ;24750
+ DC.L $001800c4,$00c400c4,$00c400ce,$00ce00ce ;24760
+ DC.L $00ce000c,$00010000,$02010638,$f8cd000e ;24770
+ DC.L $08330138,$f8c00ce6,$040d0138,$ea001e62 ;24780
+ DC.L $04060138,$f7d60b96,$0207413b,$20e50cae ;24790
+ DC.L $020d0138,$f3dc1ddc,$0206413a,$f6df049e ;247a0
+ DC.L $0411c139,$04dd0120,$06220138,$24e30af6 ;247b0
+ DC.L $02040138,$00d80746,$04240338,$18cc05a6 ;247c0
+ DC.L $02220338,$00090001,$00000201,$0638f8cd ;247d0
+ DC.L $000e0833,$0138f8c0,$0ce6040d,$0138ea00 ;247e0
+ DC.L $1e620406,$0138f7d6,$0b960207,$413b20e5 ;247f0
+ DC.L $0cae020d,$0138f3dc,$1ddc0206,$413af6df ;24800
+ DC.L $049e0411,$c13914c3,$0016041d,$01380001 ;24810
+ DC.L $00050806,$08300738,$00010003,$06700622 ;24820
+ DC.L $073800bc,$00de0018,$00720134,$0146011a ;24830
+ DC.L $0100017c,$0186016a,$0158000b,$00000eee ;24840
+ DC.L $04290138,$082913cc,$02050138,$e818119c ;24850
+ DC.L $020e0139,$ecfe0f86,$041dc13a,$d4021ecc ;24860
+ DC.L $0203c13a,$02f3129e,$021b4138,$12f31ece ;24870
+ DC.L $02024138,$00f61956,$021d813b,$18070c9c ;24880
+ DC.L $02200139,$16fe0f8a,$041fc13a,$2e041dde ;24890
+ DC.L $0206c13a,$00090000,$0eee0429,$01380829 ;248a0
+ DC.L $13cc0205,$0138e818,$119c020e,$0139ecfe ;248b0
+ DC.L $0f86041d,$c13ad402,$1ecc0203,$c13a01ff ;248c0
+ DC.L $16d60210,$013816fe,$0f8a041f,$c13a2e04 ;248d0
+ DC.L $1dde0206,$c13a1807,$0c9c0220,$01390004 ;248e0
+ DC.L $00031556,$042d0138,$e8140814,$020f0138 ;248f0
+ DC.L $180d042c,$02190138,$00f20a6c,$020e0138 ;24900
+ DC.L $00040003,$0bc0062e,$0038e01b,$0ff60205 ;24910
+ DC.L $0038fbf4,$10be020c,$00382022,$0eb60208 ;24920
+ DC.L $00380003,$000418c2,$04200138,$e80f19fc ;24930
+ DC.L $020c0138,$fafe17f4,$020d0138,$00030004 ;24940
+ DC.L $18c20420,$0138e80f,$19fc020c,$0138faf7 ;24950
+ DC.L $14d40214,$01380002,$0002140e,$04290138 ;24960
+ DC.L $e81c001a,$02060138,$00020001,$12f00427 ;24970
+ DC.L $00381815,$1bdc0212,$00380002,$00021c5e ;24980
+ DC.L $04100138,$fff8010a,$02080138,$00020002 ;24990
+ DC.L $1c5e0410,$0138fff4,$12f4020c,$01380001 ;249a0
+ DC.L $00011a76,$041c0138,$00010001,$1462041c ;249b0
+ DC.L $00380084,$00960018,$005200cc,$00de00ba ;249c0
+ DC.L $00a80104,$010e00fa,$00f00007,$0003135a ;249d0
+ DC.L $06150738,$06d70022,$06290138,$f6d50c9a ;249e0
+ DC.L $022b013b,$16d61352,$0223413a,$07e218ca ;249f0
+ DC.L $0206c13a,$07ea19ba,$0203c139,$07ea1a32 ;24a00
+ DC.L $0203813b,$00060003,$135a0615,$073805d7 ;24a10
+ DC.L $068a0629,$0138f6ea,$06d20216,$013b14ea ;24a20
+ DC.L $0a42020f,$413a05ea,$001c020b,$813b05e7 ;24a30
+ DC.L $01d4020f,$c13a0002,$0003135a,$06150738 ;24a40
+ DC.L $06d70cf2,$06290138,$00020003,$135a0615 ;24a50
+ DC.L $063802d8,$19080428,$00380002,$0002001e ;24a60
+ DC.L $040d0738,$02e40fbe,$041c0138,$00020002 ;24a70
+ DC.L $001e040d,$073803e3,$0226041d,$01380002 ;24a80
+ DC.L $0002001e,$040d0738,$02e306ae,$041d0138 ;24a90
+ DC.L $00020002,$001e040d,$063801e3,$0b36041d ;24aa0
+ DC.L $00380001,$00001ad2,$041d0738,$00010000 ;24ab0
+ DC.L $141e041d,$07380001,$000018a6,$041d0738 ;24ac0
+ DC.L $00010000,$024a021d,$06380034,$003e002a ;24ad0
+ DC.L $00180052,$005c0048,$00480070,$007a0066 ;24ae0
+ DC.L $00660002,$00031408,$043a011c,$041a118a ;24af0
+ DC.L $0210411c,$00010003,$0e920212,$031c0001 ;24b00
+ DC.L $00031188,$0210031c,$00010000,$17c40411 ;24b10
+ DC.L $021c0001,$00030f80,$020d031c,$00010003 ;24b20
+ DC.L $0df0020a,$031c0001,$0001160c,$040b021c ;24b30
+ DC.L $00010001,$0cb00208,$031c0001,$00010b70 ;24b40
+ DC.L $0208031c,$00010000,$14cc0408 ;24b50
+ DC.W $021c ;24b5c
+LAB_24B5E:
+ DS.L 3 ;24b5e
+ DS.W 1 ;24b6a
+LAB_24B6C:
+ DS.L 1 ;24b6c
+SUB_24B70:
+ LEA LAB_24B5E(PC),A0 ;24b70: 41faffec
+ CLR.L (A0) ;24b74: 4290
+ RTS ;24b76: 4e75
+LAB_24B78:
+ LEA LAB_24B5E(PC),A4 ;24b78: 49faffe4
+LAB_24B7C:
+ MOVE.L (A4),D0 ;24b7c: 2014
+ BEQ.S LAB_24B94 ;24b7e: 6714
+ CLR.L (A4) ;24b80: 4294
+ MOVEA.L D0,A0 ;24b82: 2040
+ MOVEA.L A0,A4 ;24b84: 2848
+ MOVE.L A6,-(A7) ;24b86: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;24b88: 2c780004
+ JSR $70(A6) ;24b8c: 4eae0070
+ MOVEA.L (A7)+,A6 ;24b90: 2c5f
+ BRA.S LAB_24B7C ;24b92: 60e8
+LAB_24B94:
+ RTS ;24b94: 4e75
+SUB_24B96:
+ MOVEM.L D1/A0-A2/A6,-(A7) ;24b96: 48e740e2
+ MOVEA.L ABSEXECBASE.W,A6 ;24b9a: 2c780004
+ MOVE.W D0,-(A7) ;24b9e: 3f00
+ LEA LAB_24B5E(PC),A2 ;24ba0: 45faffbc
+ BSR.W SUB_24BF4 ;24ba4: 6100004e
+ BEQ.S LAB_24BC4 ;24ba8: 671a
+ MOVE.L A6,-(A7) ;24baa: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;24bac: 2c780004
+ JSR $1C(A6) ;24bb0: 4eae001c
+ MOVEA.L (A7)+,A6 ;24bb4: 2c5f
+ TST.L D0 ;24bb6: 4a80
+ BPL.W LAB_24C1E ;24bb8: 6a000064
+ ADDQ.L #2,A7 ;24bbc: 548f
+ MOVEM.L (A7)+,D1/A0-A2/A6 ;24bbe: 4cdf4702
+ RTS ;24bc2: 4e75
+LAB_24BC4:
+ TST.W (A7)+ ;24bc4: 4a5f
+ MOVEM.L (A7),D1/A0-A2/A6 ;24bc6: 4cd74702
+ MOVE.L 8(A3),D0 ;24bca: 202b0008
+ LEA $2C(A3),A3 ;24bce: 47eb002c
+ MOVE.L D0,D1 ;24bd2: 2200
+ LSR.L #2,D1 ;24bd4: e489
+ BRA.S LAB_24BDA ;24bd6: 6002
+LAB_24BD8:
+ MOVE.L (A3)+,(A0)+ ;24bd8: 20db
+LAB_24BDA:
+ SUBQ.L #1,D1 ;24bda: 5381
+ BPL.S LAB_24BD8 ;24bdc: 6afa
+ BTST #1,D0 ;24bde: 08000001
+ BEQ.S LAB_24BE6 ;24be2: 6702
+ MOVE.W (A3)+,(A0)+ ;24be4: 30db
+LAB_24BE6:
+ BTST #0,D0 ;24be6: 08000000
+ BEQ.S LAB_24BEE ;24bea: 6702
+ MOVE.B (A3)+,(A0)+ ;24bec: 10db
+LAB_24BEE:
+ MOVEM.L (A7)+,D1/A0-A2/A6 ;24bee: 4cdf4702
+ RTS ;24bf2: 4e75
+SUB_24BF4:
+ MOVEM.L A4-A5,-(A7) ;24bf4: 48e7000c
+ MOVE.L (A2),D0 ;24bf8: 2012
+LAB_24BFA:
+ TST.L D0 ;24bfa: 4a80
+ BEQ.S LAB_24C16 ;24bfc: 6718
+ MOVEA.L D0,A3 ;24bfe: 2640
+ LEA $C(A3),A5 ;24c00: 4beb000c
+ MOVEA.L A1,A4 ;24c04: 2849
+LAB_24C06:
+ CMPM.B (A4)+,(A5)+ ;24c06: bb0c
+ BNE.S LAB_24C12 ;24c08: 6608
+ TST.B -1(A5) ;24c0a: 4a2dffff
+ BNE.S LAB_24C06 ;24c0e: 66f6
+ BRA.S LAB_24C18 ;24c10: 6006
+LAB_24C12:
+ MOVE.L (A3),D0 ;24c12: 2013
+ BNE.S LAB_24BFA ;24c14: 66e4
+LAB_24C16:
+ MOVEQ #-1,D0 ;24c16: 70ff
+LAB_24C18:
+ MOVEM.L (A7)+,A4-A5 ;24c18: 4cdf3000
+ RTS ;24c1c: 4e75
+LAB_24C1E:
+ MOVEM.L D1/A0/A2,-(A7) ;24c1e: 48e740a0
+ MOVEA.L $12(A7),A0 ;24c22: 206f0012
+ JSR SUB_19C70 ;24c26: 4eb900019c70
+ MOVEM.L (A7)+,D1/A0/A2 ;24c2c: 4cdf0502
+ MOVE.L D0,$E(A2) ;24c30: 2540000e
+ MOVE.W (A7)+,D0 ;24c34: 301f
+ BEQ.W LAB_24CAC ;24c36: 67000074
+ MOVE.L $E(A2),D1 ;24c3a: 222a000e
+ ADDI.L #$0000002c,D1 ;24c3e: 06810000002c
+ MOVEQ #2,D0 ;24c44: 7002
+ MOVE.L A6,-(A7) ;24c46: 2f0e
+ MOVEA.L ABSEXECBASE.W,A6 ;24c48: 2c780004
+ JSR $6C(A6) ;24c4c: 4eae006c
+ MOVEA.L (A7)+,A6 ;24c50: 2c5f
+ TST.L D0 ;24c52: 4a80
+ BEQ.S LAB_24CAC ;24c54: 6756
+ MOVEA.L A2,A3 ;24c56: 264a
+ MOVEM.L (A7),D1/A0-A2/A6 ;24c58: 4cd74702
+ MOVEA.L A3,A2 ;24c5c: 244b
+ LEA (A2),A3 ;24c5e: 47d2
+LAB_24C60:
+ MOVE.L (A3),D1 ;24c60: 2213
+ BEQ.S LAB_24C68 ;24c62: 6704
+ MOVEA.L D1,A3 ;24c64: 2641
+ BRA.S LAB_24C60 ;24c66: 60f8
+LAB_24C68:
+ MOVE.L D0,(A3) ;24c68: 2680
+ EXG D0,A3 ;24c6a: c18b
+ MOVE.L D0,4(A3) ;24c6c: 27400004
+ CLR.L (A3) ;24c70: 4293
+ MOVE.L $E(A2),8(A3) ;24c72: 276a000e0008
+ LEA $C(A3),A2 ;24c78: 45eb000c
+LAB_24C7C:
+ MOVE.B (A1)+,(A2)+ ;24c7c: 14d9
+ BNE.S LAB_24C7C ;24c7e: 66fc
+ MOVE.L LAB_24B6C(PC),D0 ;24c80: 203afeea
+ LEA $2C(A3),A2 ;24c84: 45eb002c
+ MOVE.L D0,D1 ;24c88: 2200
+ LSR.L #2,D1 ;24c8a: e489
+ BRA.S LAB_24C90 ;24c8c: 6002
+LAB_24C8E:
+ MOVE.L (A0)+,(A2)+ ;24c8e: 24d8
+LAB_24C90:
+ SUBQ.L #1,D1 ;24c90: 5381
+ BPL.S LAB_24C8E ;24c92: 6afa
+ BRA.S LAB_24CA6 ;24c94: 6010
+LAB_24C96:
+ BTST #1,D0 ;24c96: 08000001
+ BEQ.S LAB_24C9E ;24c9a: 6702
+ MOVE.W (A0)+,(A2)+ ;24c9c: 34d8
+LAB_24C9E:
+ BTST #0,D0 ;24c9e: 08000000
+ BEQ.S LAB_24CA6 ;24ca2: 6702
+ MOVE.B (A0)+,(A2)+ ;24ca4: 14d8
+LAB_24CA6:
+ MOVEM.L (A7)+,D1/A0-A2/A6 ;24ca6: 4cdf4702
+ RTS ;24caa: 4e75
+LAB_24CAC:
+ MOVE.L $E(A2),D0 ;24cac: 202a000e
+ MOVEM.L (A7)+,D1/A0-A2/A6 ;24cb0: 4cdf4702
+ RTS ;24cb4: 4e75
+LAB_24CB6:
+ DC.L $0401f802,$00000080,$01080000,$00020008 ;24cb6
+ DC.L $00480700,$00800004,$10040049,$51500100 ;24cc6
+ DC.L $00080802,$41240785,$80008010,$04010814 ;24cd6
+ DC.L $52504c00,$00200200,$8529244a,$dd010040 ;24ce6
+ DC.L $00004021,$69508a10,$00800088,$64961355 ;24cf6
+ DC.L $aa808180,$00613090,$b5349024,$23000014 ;24d06
+ DC.L $5a6a9f6b,$2644b600,$00020cdc,$6de96009 ;24d16
+ DC.L $4c02002d,$2f2a4fe7,$89185804,$0003c3fe ;24d26
+ DC.L $e53bd27c,$b008012e,$efdf7dad,$e6b2e070 ;24d36
+ DC.L $0082faf7,$bdfeccfb,$c1e00819,$757a9dbd ;24d46
+ DC.L $3d5fb780,$00119ebf,$c9ed79f6,$7f80014c ;24d56
+ DC.L $cb4fc13b,$efecf500,$048fe7a6,$c032cf71 ;24d66
+ DC.L $5c200067,$f3135123,$8de3f842,$093fd999 ;24d76
+ DC.L $49271ac5,$f300423f,$e8c20006,$408fde30 ;24d86
+ DC.L $08ddbd40,$0544a117,$fd8007fa,$fe20bea1 ;24d96
+ DC.L $010f7708,$037fbb48,$7b13e21c,$b8b050df ;24da6
+ DC.L $cd247485,$1419ea30,$05718216,$261a8802 ;24db6
+ DC.L $e9e481f8,$d0f9ba47,$4847bf08,$687e3c30 ;24dc6
+ DC.L $6dc7828a,$6eb23ff7,$12c2d8e0,$fd1dfa3c ;24dd6
+ DC.L $16ffc491,$e25a62a3,$37f007ee,$e303efef ;24de6
+ DC.L $2861f3aa,$42fd6105,$7fffb023,$8d8206be ;24df6
+ DC.L $5891dfff,$ae107047,$1beb831c,$bffffbb9 ;24e06
+ DC.L $fe58d6ff,$8117ffdf,$be14da5f,$2eee06c1 ;24e16
+ DC.L $fdff7c0f,$df810351,$65a77f7f,$fb007ff2 ;24e26
+ DC.L $06df8b5b,$deffffbf,$02891bfe,$35e6fcfe ;24e36
+ DC.L $ff503f38,$34e7e004,$feffefc3,$ffe087bf ;24e46
+ DC.L $8f43fdff,$df09d7dc,$1a3f3565,$effeffb0 ;24e56
+ DC.L $ff6128da,$f622befe,$df817910,$41778eed ;24e66
+ DC.L $9f79cf1b,$9ec607ce,$d8681f03,$f62dffb0 ;24e76
+ DC.L $111bd1fc,$0f9fe81e,$712c22e6,$67128725 ;24e86
+ DC.L $b8811852,$053fc218,$50136ed2,$ce1008fa ;24e96
+ DC.L $850fa884,$dd2071a4,$01d7dec7,$5b03168c ;24ea6
+ DC.L $1e60067e,$b5826d28,$1387c7d8,$0ced5b12 ;24eb6
+ DC.L $c610a025,$bd5e119b,$f628d06f,$8803ff29 ;24ec6
+ DC.L $0217ecd3,$8a461493,$6dc4003d,$bba99268 ;24ed6
+ DC.L $88c9f368,$005f76bb,$8642cee6,$f8a000ba ;24ee6
+ DC.L $7f5ea669,$76b36ec0,$01e0da6b,$252dfaeb ;24ef6
+ DC.L $b76001c4,$cdab6f6f,$bffdddc0,$02019b4b ;24f06
+ DC.L $af7bfbe6,$ee300401,$971eefdf,$5d7b4704 ;24f16
+ DC.L $080b14bc,$fd7ddd3f,$a1801012,$2a15d5d9 ;24f26
+ DC.L $ce4c5060,$00005058,$7fdc6e04,$08100004 ;24f36
+ DC.L $661b37eb,$53a20400,$0008d0b0,$4e802d08 ;24f46
+ DC.L $02040001,$a435b59b,$06c08100,$000151a4 ;24f56
+ DC.L $5b489084,$40800002,$0203e302,$60520040 ;24f66
+ DC.L $0000011c,$9f914400,$00200000,$00489148 ;24f76
+ DC.L $10000810,$00080240,$cd590210,$00080010 ;24f86
+ DC.L $00024500,$00080000,$00200000,$04002000 ;24f96
+ DC.L $00000040,$00000900,$00020000 ;24fa6
+ DS.L $B ;24fb2
+ DC.L $01000000 ;24fde
+ DS.L 9 ;24fe2
+ DC.L $0a000000,$00000020,$00000080,$00000100 ;25006
+ DC.L $00001000,$02000000,$02000000,$00040010 ;25016
+ DC.L $40000400,$00040400,$0ac00000,$08000000 ;25026
+ DC.L $00008252,$00001000,$00010108,$42010000 ;25036
+ DC.L $20000000,$8a856242,$00a04040,$00006140 ;25046
+ DC.L $36120201,$80000000,$34b03ec4,$10130200 ;25056
+ DC.L $00001859,$3fcd308e,$80000000,$0cecbedc ;25066
+ DC.L $721c0000,$00002666,$bed8e53a ;25076
+ DS.L 1 ;25082
+ DC.L $173ffff9,$ff702000,$000243bf,$fffbfee8 ;25086
+ DC.L $00000005,$01dfffff,$fff08000,$008044ff ;25096
+ DC.L $ffffffe3,$44000020,$32ffffff,$ffe61000 ;250a6
+ DC.L $000e7dff,$fffffffd,$00000007,$2f3fffff ;250b6
+ DC.L $fff84000,$0001c3ff,$fffffff5,$90000008 ;250c6
+ DC.L $fdffffff,$ffe20000,$00003fff,$ffffffdc ;250d6
+ DC.L $c8000001,$1fffffff,$fffe0c00,$00029fff ;250e6
+ DC.L $fffffffc,$70000101,$a7ffffff,$ffff8000 ;250f6
+ DC.L $00147fff,$fffffffe ;25106
+ DS.L 1 ;2510e
+ DC.L $7fffffff,$fffb2000,$0111ffff,$fffffff0 ;25112
+ DC.L $2000002e,$9fffffff,$ffff8000,$00207fff ;25122
+ DC.L $ffffffff,$fd000001,$ffffffff,$ffffc000 ;25132
+ DC.L $00181fff,$fffffffc,$00000040,$70ffffff ;25142
+ DC.L $fffe2800,$0000cbff,$ffffffff,$00800025 ;25152
+ DC.L $0fffffff,$fffe8600,$000071ff,$fffffffc ;25162
+ DC.L $60000001,$27ffffff,$fffe0000,$00042fff ;25172
+ DC.L $ffffffff,$80000001,$9fffffff,$ffffe000 ;25182
+ DC.L $00003dff,$ffffffff,$30000005,$7affffff ;25192
+ DC.L $ffff8e00,$0008213f,$bffffff3,$e1800001 ;251a2
+ DC.L $4a7fbfff,$ff783820,$0002a4ef,$3dffffda ;251b2
+ DC.L $42000004,$09d73fbf,$fffc0000,$0008132e ;251c2
+ DC.L $7dbfef6c,$90000000,$44567db7,$77360000 ;251d2
+ DC.L $00200944,$79bf3319,$00000040,$00a15996 ;251e2
+ DC.L $894c8000,$00002584,$dad20514,$40000000 ;251f2
+ DC.L $02049090,$40022000,$00000404,$50840411 ;25202
+ DS.L 1 ;25212
+ DC.L $08001020,$a0048000,$00000800,$02800000 ;25216
+ DC.L $40000000,$10082a00,$00002000,$00002000 ;25226
+ DS.L 1 ;25236
+ DC.L $10000000 ;2523a
+ DS.L 1 ;2523e
+ DC.L $00000800 ;25242
+ DS.L 1 ;25246
+ DC.L $01000000,$04000000,$00000200 ;2524a
+ DS.L $15 ;25256
+ DC.L $0401f802 ;252aa
+ DS.L 1 ;252ae
+ DC.L $00078000 ;252b2
+ DS.L 1 ;252b6
+ DC.L $0000000b,$40000000,$00010e60,$001fa000 ;252ba
+ DC.L $00000004,$fff80037,$a0000000,$0009e7f8 ;252ca
+ DC.L $006fe000,$0000001a,$1dfc0057,$c003e000 ;252da
+ DC.L $00140bfc,$00554007,$f8000008,$0bfe0011 ;252ea
+ DC.L $00387c00,$002801f8,$0080008b,$ea000000 ;252fa
+ DC.L $041800c0,$00201e00,$005003c0,$00a00481 ;2530a
+ DC.L $7e000040,$00000100,$0a02fe00,$004000c0 ;2531a
+ DC.L $02003803,$fa000060,$01000500,$2002fa00 ;2532a
+ DC.L $00200200,$0600c001,$7c000000,$02000c01 ;2533a
+ DC.L $00f08400,$00200200,$0c000168,$38000040 ;2534a
+ DC.L $02000400,$07fc0000,$00200100,$07f8083c ;2535a
+ DC.L $00000030,$00c0004c,$06040000,$00180028 ;2536a
+ DC.L $003e1498,$00000008,$0007801a,$08000000 ;2537a
+ DC.L $00040004,$1e0a0800,$1e000002,$000b6302 ;2538a
+ DC.L $1003c008,$0001000b,$8104100f,$bf340000 ;2539a
+ DC.L $4007e084,$10080008,$1f8021ba,$c0841030 ;253aa
+ DC.L $00046038,$00037040,$0040000b,$5f860000 ;253ba
+ DC.L $40042000,$000bbef8,$80001044,$0100000b ;253ca
+ DC.L $bf834000,$08204100,$001bbf40,$50000420 ;253da
+ DC.L $820003f7,$bf400c00,$02230200,$04375f80 ;253ea
+ DC.L $03000104,$020005ff,$37800080,$00480100 ;253fa
+ DC.L $03fe0d40,$00406000,$000303fe,$03800020 ;2540a
+ DC.L $90000005,$87fc0000,$00008ec0,$000883c0 ;2541a
+ DS.L 1 ;2542a
+ DC.L $87800020,$81100000,$0fe08000,$21008000 ;2542e
+ DC.L $000031ff,$00000001,$80000000,$de0e0000 ;2543e
+ DC.L $80000000,$0001787c,$00010002 ;2544e
+ DS.L 1 ;2545a
+ DC.L $fa000001,$00020000,$0003f400,$02020002 ;2545e
+ DC.L $00000001,$f0000402,$20020000,$0001e807 ;2546e
+ DC.L $90630002,$00000001,$d01c0042,$90020000 ;2547e
+ DC.L $07c21060,$00010800,$00000b81,$e0c00042 ;2548e
+ DC.L $440180c0,$1fa00180,$00064400,$01800fe0 ;2549e
+ DC.L $0300008b,$460042d0,$3fc00e00,$000f4100 ;254ae
+ DC.L $c7c03fe0,$14001e0f,$430067e0,$3fa05800 ;254be
+ DC.L $200a8280,$3fe00fc3,$3000c007,$01401ff0 ;254ce
+ DC.L $1ffcc001,$80000120,$0fe007fb,$00028000 ;254de
+ DC.L $00e00420,$05cc0005,$00000090,$000001e0 ;254ee
+ DC.L $00050000,$00b00000,$00000008,$00000020 ;254fe
+ DS.L 1 ;2550e
+ DC.L $000a0000,$00680000,$00000012,$00000068 ;25512
+ DS.L 1 ;25522
+ DC.L $00120000,$38580000,$00000022,$00005a58 ;25526
+ DS.L 1 ;25536
+ DC.L $00287000,$b9580000,$00000029,$9000bf58 ;2553a
+ DS.L 1 ;2554a
+ DC.L $005efc00,$ff780000,$0000005f,$f800feb8 ;2554e
+ DS.L 1 ;2555e
+ DC.L $005ff800,$bfb80000,$0000002f,$f8007f70 ;25562
+ DS.L 1 ;25572
+ DC.L $002ffc00,$27f00000,$00000017,$f0001fb0 ;25576
+ DS.L 1 ;25586
+ DC.L $0008c800,$07e00000,$00000004,$30000000 ;2558a
+ DS.L 1 ;2559a
+ DC.L $0001e000 ;2559e
+ DS.L 4 ;255a2
+ DC.L $00000007,$80000000,$0000ff80,$001fc000 ;255b2
+ DC.L $00000003,$fff0003f,$c0000000,$00061ffc ;255c2
+ DC.L $0037c000,$00000004,$03fe0027,$c0000000 ;255d2
+ DC.L $000807fe,$0063800f,$e0000010,$07fc0060 ;255e2
+ DC.L $001ff800,$001007fc,$00600070,$1c000030 ;255f2
+ DC.L $03e00060,$01c07c00,$00200000,$00400300 ;25602
+ DC.L $fc000020,$000000c0,$0401fc00,$00200000 ;25612
+ DC.L $01800001,$fc000000,$00000200,$0001fc00 ;25622
+ DC.L $00400000 ;25632
+ DS.L 1 ;25636
+ DC.L $f8000040 ;2563a
+ DS.L 1 ;2563e
+ DC.L $00007800,$00400000,$000000f0,$00000020 ;25642
+ DS.L 1 ;25652
+ DC.L $03f80000 ;25656
+ DS.L 1 ;2565a
+ DC.L $000007f8 ;2565e
+ DS.L 1 ;25662
+ DC.L $00000038,$08f80000 ;25666
+ DS.L 1 ;2566e
+ DC.L $000c0860 ;25672
+ DS.L 1 ;25676
+ DC.L $00000004,$10000000,$00000003,$80041000 ;2567a
+ DC.L $01c00000,$00078004,$00003ff0,$00000007 ;2568a
+ DC.L $c0000000,$00f80000,$0003c000,$0000000e ;2569a
+ DC.L $00000001,$e0000000,$00061fc0,$0000e000 ;256aa
+ DC.L $00000006,$3ff80000,$30000000,$00067f07 ;256ba
+ DC.L $00000800,$00000006,$7f008000,$04000000 ;256ca
+ DC.L $00067f80,$20000000,$0000000e,$7f800000 ;256da
+ DS.L 1 ;256ea
+ DC.L $03fe3fc0 ;256ee
+ DS.L 1 ;256f2
+ DC.L $000003fe,$0fc00000 ;256f6
+ DS.L 1 ;256fe
+ DC.L $07fc0380 ;25702
+ DS.L 1 ;25706
+ DC.L $000007fc ;2570a
+ DS.L 2 ;2570e
+ DC.L $03f80000 ;25716
+ DS.L 1 ;2571a
+ DC.L $000001f8 ;2571e
+ DS.L 2 ;25722
+ DC.L $00e00000 ;2572a
+ DS.L 2 ;2572e
+ DC.L $00000fe3 ;25736
+ DS.L 2 ;2573a
+ DC.L $3ffc0000,$00010000,$0000ff80,$00000001 ;25742
+ DC.L $00000001,$fc000000,$00010000,$0001f800 ;25752
+ DC.L $00000001,$00000003,$f8000000,$00010000 ;25762
+ DC.L $0003f000,$00000001,$00000003,$e0000001 ;25772
+ DC.L $00018000,$0001e000,$00008001,$800007c0 ;25782
+ DC.L $00000001,$80008000,$0fc00000,$00018000 ;25792
+ DC.L $c1e01fc0,$00000007,$8000e3e0,$1fe00000 ;257a2
+ DC.L $00078200,$77f01fc0,$08000007,$80003ff0 ;257b2
+ DC.L $1fc02000,$00070100,$3ff01f80,$c0000000 ;257c2
+ DC.L $00803fe0,$0f830000,$000000c0,$1fe00ffc ;257d2
+ DC.L $00010000,$004003c0,$03f00002,$00000060 ;257e2
+ DS.L 1 ;257f2
+ DC.L $00020000,$00600000,$00000006,$00000070 ;257f6
+ DS.L 1 ;25806
+ DC.L $00040000,$00300000,$0000000c,$00000030 ;2580a
+ DS.L 1 ;2581a
+ DC.L $000c0000,$00300000,$0000001c,$00003c30 ;2581e
+ DS.L 1 ;2582e
+ DC.L $001e0000,$7e300000,$0000001e,$78007e30 ;25832
+ DS.L 1 ;25842
+ DC.L $003ff800,$7e300000,$0000003f,$fc007f70 ;25846
+ DS.L 1 ;25856
+ DC.L $003ffc00,$7f700000,$0000001f,$fc003fe0 ;2585a
+ DS.L 1 ;2586a
+ DC.L $001ff800,$1fe00000,$0000000f,$f80007c0 ;2586e
+ DS.L 1 ;2587e
+ DC.L $0007f000 ;25882
+ DS.L 1 ;25886
+ DC.L $00000003,$c0000000 ;2588a
+ DS.L 3 ;25892
+ DC.L $04062001 ;2589e
+ DS.L 8 ;258a2
+ DC.L $0082220a,$10014400,$001800b0,$02400124 ;258c2
+ DC.L $09910d00,$40000210,$04090814,$04409202 ;258d2
+ DC.L $01111086,$10201225,$6a12c580,$2060a266 ;258e2
+ DC.L $14810282,$08a41208,$49086a56,$024145b0 ;258f2
+ DC.L $77454969,$3d93aebc,$6e2d736b,$52e59d86 ;25902
+ DC.L $81515d53,$2cba2425,$b7668750,$5abc5aaf ;25912
+ DC.L $47fd762f,$bbec9fde,$fb8ffffe,$7ff7edd7 ;25922
+ DC.L $d9fbfe6f,$92d7ecc6,$5fdb1dde,$bfbef5fb ;25932
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;25942
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;25952
+ DC.L $04018002,$00041000,$00cda200,$00bef880 ;25962
+ DC.L $03f7bf60,$00eef5e0,$0b50f3c0,$06a725c0 ;25972
+ DC.L $2ec3f6f8,$2c7ecba8,$3a66249c,$7cba95ba ;25982
+ DC.L $7f8eee5e,$b17a925f,$b75a4fee,$a62cd452 ;25992
+ DC.L $abbfcc93,$b94fa7d5,$4a6f8999,$7d969dbb ;259a2
+ DC.L $ecb233de,$454e4636,$ffadf25b,$632e6dd2 ;259b2
+ DC.L $33b5b9b4,$2b2da524,$17e83628,$25ce5f48 ;259c2
+ DC.L $0d63e8f0,$05b087a0,$02cf5f00,$0075b200 ;259d2
+ DC.L $000f4000 ;259e2
+ DS.L 3 ;259e6
+ DC.L $00004000,$00010000,$000f0000,$0118fa00 ;259f2
+ DC.L $013c0900,$0381f440,$0589fa60,$03676a40 ;25a02
+ DC.L $007791a0,$0e8f7da0,$09fdf090,$19ffeba8 ;25a12
+ DC.L $14cffb68,$06bffde8,$05bff7e4,$037fe244 ;25a22
+ DC.L $134ffc20,$1a37ffc8,$007bcfe4,$1cf1922c ;25a32
+ DC.L $0cce4248,$04de5ac8,$001fc9c0,$021fa080 ;25a42
+ DC.L $029c1700,$004f3800,$00302000 ;25a52
+ DS.L 2 ;25a5e
+ DC.L $04018002,$00070000,$00050000,$200d8000 ;25a66
+ DC.L $000f8000,$01068438,$0006806c,$000780f4 ;25a76
+ DC.L $010780fc,$100381f0,$044311c0,$00633380 ;25a86
+ DC.L $60234700,$d8114e01,$f8054808,$ff041380 ;25a96
+ DC.L $07d38400,$0006f004,$00038000,$0077ffc0 ;25aa6
+ DC.L $0185c3f6,$001078ff,$09045c1e,$002b2000 ;25ab6
+ DC.L $08082000,$00311080,$00201040,$02640820 ;25ac6
+ DC.L $03c00c30,$17a00e08,$0f810e00,$0f000500 ;25ad6
+ DC.L $06000700 ;25ae6
+ DS.L 1 ;25aea
+ DC.L $00020000,$00030000,$00010000,$00010000 ;25aee
+ DC.L $00010018,$00000008 ;25afe
+ DS.L 5 ;25b06
+ DC.L $38000000,$04000000 ;25b1a
+ DS.L 2 ;25b22
+ DC.L $0001c000,$00004000 ;25b2a
+ DS.L 1 ;25b32
+ DC.L $0000000c,$00000002 ;25b36
+ DS.L 3 ;25b3e
+ DC.L $00200000,$00400000,$00800000 ;25b4a
+ DS.L 2 ;25b56
+ DC.L $00000200,$00000200 ;25b5e
+ DS.L 1 ;25b66
+ DC.L $04018002,$001ff000,$00fc7e00,$01c10700 ;25b6a
+ DC.L $070001c0,$0c010060,$1c000070,$1206c090 ;25b7a
+ DC.L $30111018,$6021080c,$6000040c,$40a10a04 ;25b8a
+ DC.L $c1011106,$c0092006,$c2054086,$82038082 ;25b9a
+ DC.L $abbffbaa,$82038082,$c2054086,$c0092006 ;25baa
+ DC.L $c1010106,$40a10a04,$6040000c,$6021080c ;25bba
+ DC.L $30111018,$1207c090,$1c000070,$0c010060 ;25bca
+ DC.L $070001c0,$01c10700,$00fc7e00,$001ff000 ;25bda
+ DS.L 2 ;25bea
+ DC.L $00038000,$00301800,$00810200,$02000080 ;25bf2
+ DC.L $00010000,$08010020,$010fe100,$109ff210 ;25c02
+ DC.L $00793c00,$20610c08,$20d11608,$01c92700 ;25c12
+ DC.L $0187c300,$4187c304,$57ffffd4,$4187c304 ;25c22
+ DC.L $0187c300,$01c92700,$20d11608,$20610c08 ;25c32
+ DC.L $00793c00,$109ff210,$010fe100,$08010020 ;25c42
+ DC.L $00010000,$02000080,$00810200,$00301800 ;25c52
+ DC.L $00038000 ;25c62
+ DS.L 2 ;25c66
+ DC.L $04018002 ;25c6e
+ DS.L 1 ;25c72
+ DC.L $00008000,$00002000 ;25c76
+ DS.L 4 ;25c7e
+ DC.L $00002000,$00008000,$00080000,$00008200 ;25c8e
+ DC.L $00228000,$00118000,$0048a400,$0007e800 ;25c9e
+ DC.L $0006d800,$0003c000,$000b8000,$001ae200 ;25cae
+ DC.L $01000000,$00180000,$00118000,$00408480 ;25cbe
+ DC.L $00880030,$00000010,$04008000 ;25cce
+ DS.L 1 ;25cda
+ DC.L $00400000 ;25cde
+ DS.L 5 ;25ce2
+ DC.L $00008000,$00002000,$00000200 ;25cf6
+ DS.L 1 ;25d02
+ DC.L $02008010 ;25d06
+ DS.L 1 ;25d0a
+ DC.L $00002040,$00008000,$00088100,$00408200 ;25d0e
+ DC.L $00228000,$00118000,$0048a400,$0007e800 ;25d1e
+ DC.L $0007d800,$0003c000,$000b8000,$001ee200 ;25d2e
+ DC.L $01001000,$00180000,$00118000,$00408480 ;25d3e
+ DC.L $00880030,$0000001c,$04008000 ;25d4e
+ DS.L 1 ;25d5a
+ DC.L $10400000 ;25d5e
+ DS.L 4 ;25d62
+ DC.L $04018002,$00f83000,$01fef800,$01bfea00 ;25d72
+ DC.L $031fef80,$0e9fa580,$0f3ea2c0,$1c0dc160 ;25d82
+ DC.L $3a1b4260,$70afcde0,$702fdde0,$7a1fffb8 ;25d92
+ DC.L $fc5eef30,$cfaffdb8,$e791f38c,$fbe3e1e7 ;25da2
+ DC.L $3bfbf1f7,$3dfffcf2,$3ffbf4ea,$0fe6fdfc ;25db2
+ DC.L $32e8ff7e,$77d8edfe,$b984c95c,$7f1190d8 ;25dc2
+ DC.L $dc839b18,$698ffd70,$7ce014e0,$3e787fa0 ;25dd2
+ DC.L $39fc3b40,$003f7180,$001fb880,$000df800 ;25de2
+ DC.L $0000f800,$00f83000,$01fef800,$01f5fe00 ;25df2
+ DC.L $03e05f80,$0fe0df80,$0fc1dfc0,$1ff3bfe0 ;25e02
+ DC.L $3fe7bde0,$7f5f33e0,$7fdb23e0,$7ff301f8 ;25e12
+ DC.L $ffe31ff0,$f7d23f78,$fbee1f7c,$fcfc1f1f ;25e22
+ DC.L $3c3c0f8f,$3e1403ce,$3c044bf6,$1019827c ;25e32
+ DC.L $3d1790fe,$78277e3e,$befb7ffc,$7feefff8 ;25e42
+ DC.L $fffe7cf8,$7e7c3ef0,$7f3fffe0,$3fffffe0 ;25e52
+ DC.L $39fffbc0,$003ff180,$001ff880,$000df800 ;25e62
+ DC.L $0000f800,$04018002 ;25e72
+ DS.L 5 ;25e7a
+ DC.L $8000000d,$1000000a,$58000054,$280000a8 ;25e8e
+ DC.L $140000d0,$0a0001a0,$0b000340,$05800680 ;25e9e
+ DC.L $02e00d80,$00611d00,$00339800,$00bbd800 ;25eae
+ DC.L $005fb400,$005ab400,$00144000,$0022c800 ;25ebe
+ DC.L $00044000,$000c6000 ;25ece
+ DS.L $C ;25ed6
+ DC.L $00000001,$80000003,$40000006,$6000001c ;25f06
+ DC.L $30000038,$1c000070,$0e0001e0,$070003c0 ;25f16
+ DC.L $07800780,$03c00f00,$01e11e00,$01f3be00 ;25f26
+ DC.L $00fbfe00,$007ffc00,$003ff800,$003ff800 ;25f36
+ DC.L $003b9800,$00110000,$00038000 ;25f46
+ DS.L $A ;25f52
+ DC.L $04082001,$4004e00f,$50142828,$14500fe0 ;25f7a
+ DC.L $04400440,$04400fe0,$14502828,$5014e00f ;25f8a
+ DC.L $40044004,$20084004,$a00b1010,$0ba00440 ;25f9a
+ DC.L $08200820,$08200440,$0ba01010,$a00b4004 ;25faa
+ DC.L $20082008,$10102008,$600c9393,$0c600820 ;25fba
+ DC.L $10101010,$10100820,$0c609393,$600c2008 ;25fca
+ DC.L $10101010,$08201010,$23885454,$88231010 ;25fda
+ DC.L $20082008,$20081010,$88235454,$23881010 ;25fea
+ DC.L $08200820,$04400fe0,$14502828,$5014e00f ;25ffa
+ DC.L $40044004,$4004e00f,$50142828,$14500fe0 ;2600a
+ DC.L $04400440,$08200440,$0ba01010,$a00b4004 ;2601a
+ DC.L $20082008,$20084004,$a00b1010,$0ba00440 ;2602a
+ DC.L $08200820,$10100820,$0c609393,$600c2008 ;2603a
+ DC.L $10101010,$10102008,$600c9393,$0c600820 ;2604a
+ DC.L $10101010,$20081010,$88235454,$23881010 ;2605a
+ DC.L $08200820,$08201010,$23885454,$88231010 ;2606a
+ DC.L $20082008,$04032a01,$1fff3fff,$30413041 ;2607a
+ DC.L $30413041,$30413041,$30413041,$30411041 ;2608a
+ DC.L $10411041,$10411041,$30413041,$30413fff ;2609a
+ DC.L $1ffffc3f,$ffff0700,$07000700,$07000700 ;260aa
+ DC.L $07000700,$07000700,$07000700,$07000700 ;260ba
+ DC.L $07000700,$07000700,$ffffffff,$fff8fffc ;260ca
+ DC.L $001c001c,$001c001c,$001c001c,$001c001c ;260da
+ DC.L $001c0018,$00180018,$00180018,$0018001c ;260ea
+ DC.L $001cfffc,$fff80403,$2a011fff,$3fff3fff ;260fa
+ DC.L $3fff3fff,$3fff3fff,$3fff3fff,$3fff3fff ;2610a
+ DC.L $1fff1fff,$1fff1fff,$1fff3fff,$3fff3fff ;2611a
+ DC.L $3fff1fff,$fc3fffff,$ffffffff,$ffffffff ;2612a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$ffffffff ;2613a
+ DC.L $ffffffff,$ffffffff,$ffffffff,$fffffff8 ;2614a
+ DC.L $fffcfffc,$fffcfffc,$fffcfffc,$fffcfffc ;2615a
+ DC.L $fffcfffc,$fff8fff8,$fff8fff8,$fff8fff8 ;2616a
+ DC.L $fffcfffc,$fffcfff8,$04018001,$954a4914 ;2617a
+ DC.L $22d92dd5,$9649b25d,$a95a9102,$229045a5 ;2618a
+ DC.L $54ab6d55,$91154492,$ca2c49b8,$82429625 ;2619a
+ DC.L $a5b332ad,$5696454b,$2408996a,$60222b18 ;261aa
+ DC.L $4b534524,$54acb4c6,$96a4a85b,$ad4813ba ;261ba
+ DC.L $b2a33193,$922648c9,$25164a39,$d869d556 ;261ca
+ DC.L $56d50a8a,$2b1822d3,$94946aec,$24a54ca4 ;261da
+ DC.L $4a4250ad,$c9161a59,$2268bd86,$a42aa454 ;261ea
+ DC.L $5d321589,$30c05112,$a495a45a,$04012004 ;261fa
+ DC.L $c000b000,$baa04ff8,$3eac3e7e,$1bf60dde ;2620a
+ DC.L $0fb61ff7,$77fb57ff,$3e7f1fdb,$03ff003e ;2621a
+ DC.L $c000f000,$baa04d58,$2e8c3e26,$1ac60c1a ;2622a
+ DC.L $0b321cf3,$41fb77ff,$307f1f1b,$03ff003e ;2623a
+ DS.L 1 ;2624a
+ DC.L $600032a0,$11700df8,$07a802ac,$045c036c ;2624e
+ DC.L $3f2c1c8c,$0fc400fc ;2625e
+ DS.L 2 ;26266
+ DC.L $20000000,$08200c70,$03e0009c,$013002f0 ;2626e
+ DC.L $21f817fc,$087c00d8 ;2627e
+ DS.L 1 ;26286
+ DC.L $01410801,$04000000 ;2628a
+ DS.L 1 ;26292
+ DC.L $05609090,$f0900000,$05e090e0,$90e00000 ;26296
+ DC.L $05609080,$90600000,$05e09090,$90e00000 ;262a6
+ DC.L $05f080e0,$80f00000,$05f080e0,$80800000 ;262b6
+ DC.L $056080b0,$90700000,$059090f0,$90900000 ;262c6
+ DC.L $02808080,$80800000,$04e04040,$40800000 ;262d6
+ DC.L $0590a0c0,$a0900000,$05808080,$80f00000 ;262e6
+ DC.L $0650f8a8,$a8880000,$05e09090,$90900000 ;262f6
+ DC.L $05609090,$90600000,$05e09090,$e0800000 ;26306
+ DC.L $05609090,$a0700000,$05e090e0,$90900000 ;26316
+ DC.L $05708060,$10e00000,$04e04040,$40400000 ;26326
+ DC.L $05909090,$90600000,$06888850,$50200000 ;26336
+ DC.L $068888a8,$f8500000,$05909060,$90900000 ;26346
+ DC.L $05909070,$10600000,$05f02040,$80f00000 ;26356
+ DC.L $04e08080,$80e00000,$06804020,$10080000 ;26366
+ DC.L $04e02020,$20e00000,$0880a6ca,$a6020000 ;26376
+ DC.L $06000000,$00fc0000,$04000000 ;26386
+ DS.L 1 ;26392
+ DC.L $02808080,$00800000,$04a0a000 ;26396
+ DS.L 1 ;263a2
+ DC.L $0650f850,$f8500000,$0670a070,$28700000 ;263a6
+ DC.L $06c8d020,$58980000,$07205074,$88740000 ;263b6
+ DC.L $02808000 ;263c6
+ DS.L 1 ;263ca
+ DC.L $03408080,$80400000,$03804040,$40800000 ;263ce
+ DC.L $06a870f8,$70a80000,$040040e0,$40000000 ;263de
+ DC.L $04000000,$40800000,$040000e0 ;263ee
+ DS.L 1 ;263fa
+ DC.L $02000000,$80800000,$04002040,$80000000 ;263fe
+ DC.L $05609090,$90600000,$04c04040,$40e00000 ;2640e
+ DC.L $05e01060,$80f00000,$05f02010,$90600000 ;2641e
+ DC.L $05a0a0f0,$20200000,$05f080e0,$10e00000 ;2642e
+ DC.L $057080e0,$90600000,$05f01020,$40400000 ;2643e
+ DC.L $05609060,$90600000,$05609090,$70100000 ;2644e
+ DC.L $02008000,$80000000,$03004000,$40800000 ;2645e
+ DC.L $06008078,$80000000,$077cfe92,$926c0000 ;2646e
+ DC.L $0600087c,$08000000,$05609020,$00200000 ;2647e
+ DC.L $06f8f8f8,$f8f8f8f8,$04018001,$ffedfbfd ;2648e
+ DC.L $f7feeffd,$9d77ffbb,$b73f727e,$ee7bdf3f ;2649e
+ DC.L $3ebbf7f7,$4b6d9ede,$eeb6fb8b,$b56feddf ;264ae
+ DC.L $b9ee7aba,$c6bbdb6a,$2ccd4c9d,$51166de3 ;264be
+ DC.L $35b14a5c,$42a436a1,$cf7b46ea,$3a133432 ;264ce
+ DC.L $90b84954,$0e21c462,$d4ca3909,$645caaa3 ;264de
+ DC.L $a1220290,$0a88a15b,$a6a08105,$100c1428 ;264ee
+ DC.L $8550a082,$42221330,$80096850,$09400404 ;264fe
+ DC.L $02010020,$20881080,$00008010 ;2650e
+ DS.W 1 ;2651a
+ END
diff --git a/src/federation.cnf b/src/federation.cnf
new file mode 100644
index 0000000..b58af68
--- /dev/null
+++ b/src/federation.cnf
@@ -0,0 +1,731 @@
+MACHINE 68000
+ENTRY $00010000
+OFFSET $00010000
+CODE $00010000 - $0001000E
+CODE $00013614 - $000137FA
+CODE $00013810 - $00013A12
+CODE $00013AA2 - $00013AAC
+CODE $00013AD2 - $00013B32
+CODE $00013C38 - $00013DFE
+CODE $00013E0E - $0001449C
+CODE $00014520 - $00014590
+CODE $0001459C - $000147D4
+CODE $000147F4 - $00014994
+CODE $00014A74 - $00014E9E
+CODE $00014EA6 - $00014F50
+CODE $00014F72 - $0001516E
+CODE $0001517A - $000151AA
+CODE $000151B2 - $00015236
+CODE $00015238 - $0001526C
+CODE $00015270 - $000159EC
+CODE $000159F2 - $00015ACE
+CODE $00015AD8 - $00015B1C
+CODE $000167E6 - $0001686C
+CODE $00016876 - $00016C0E
+CODE $00016C10 - $00016D9A
+CODE $00016DA4 - $00016E10
+CODE $00016E22 - $0001710C
+CODE $00017130 - $00017254
+CODE $00017258 - $000172D2
+CODE $000172E6 - $000173C4
+CODE $000173E0 - $0001750C
+CODE $00017528 - $000176B8
+CODE $000176D2 - $0001797A
+CODE $00017980 - $00017AD0
+CODE $00017AE0 - $00017FBA
+CODE $00017FC2 - $00018228
+CODE $00018288 - $000183AC
+CODE $000183B0 - $00019106
+CODE $0001912A - $00019190
+CODE $000191B0 - $000193AA
+CODE $0001941E - $0001953E
+CODE $000195B0 - $00019664
+CODE $00019724 - $0001989A
+CODE $0001989C - $00019B46
+CODE $00019B7E - $00019C7C
+CODE $00019CE4 - $00019D58
+CODE $00019E20 - $00019E98
+CODE $00019E9E - $00019F28
+CODE $00019F44 - $0001A05A
+CODE $0001A064 - $0001A0F0
+CODE $0001A0FA - $0001A4C2
+CODE $0001A4D0 - $0001A6C0
+CODE $0001A6C8 - $0001A73A
+CODE $0001A742 - $0001A874
+CODE $0001AC28 - $0001AC60
+CODE $0001AC6E - $0001AC92
+CODE $0001AC9A - $0001AD56
+CODE $0001AD66 - $0001AE12
+CODE $0001AE24 - $0001B0CE
+CODE $0001B0E0 - $0001B2A6
+CODE $0001B2D6 - $0001B340
+CODE $0001B36C - $0001B544
+CODE $0001B55C - $0001B5AE
+CODE $0001B5CC - $0001B614
+CODE $0001B62C - $0001B6DC
+CODE $0001B6EC - $0001B77E
+CODE $0001B782 - $0001B798
+CODE $0001B7A0 - $0001B7D6
+CODE $0001B7E6 - $0001B91E
+CODE $0001B92E - $0001B954
+CODE $0001B95C - $0001BA72
+CODE $0001BA92 - $0001BB72
+CODE $0001BB7A - $0001BE2C
+CODE $0001BE34 - $0001BE3A
+CODE $0001BE42 - $0001C090
+CODE $0001C098 - $0001C0D8
+CODE $0001C0E2 - $0001C190
+CODE $0001C1A2 - $0001C1A4
+CODE $0001C1AC - $0001C1F0
+CODE $0001C1F4 - $0001C470
+CODE $0001C480 - $0001C63C
+CODE $0001C644 - $0001C736
+CODE $0001C746 - $0001C86C
+CODE $0001C87C - $0001CA10
+CODE $0001CCBE - $0001CF1A
+CODE $0001CF4A - $0001D130
+CODE $0001D144 - $0001D2B4
+CODE $0001D2B8 - $0001D2DA
+CODE $0001D2E2 - $0001D71A
+CODE $0001D72C - $0001D75C
+CODE $0001D76C - $0001D9FE
+CODE $0001DA22 - $0001DBBA
+CODE $0001DBBE - $0001DC74
+CODE $0001DC78 - $0001DDBC
+CODE $0001DDC6 - $0001E420
+CODE $0001E42A - $0001E500
+CODE $0001E512 - $0001E52E
+CODE $0001E568 - $0001E5CE
+CODE $0001E5D2 - $0001E8CA
+CODE $0001E8CE - $0001E96E
+CODE $0001E978 - $0001E9B2
+CODE $0001E9C0 - $0001EB00
+CODE $0001EB16 - $0001EB6C
+CODE $0001EB70 - $0001EE52
+CODE $0001EE62 - $0001EF5E
+CODE $0001EF6E - $0001F174
+CODE $0001F1A4 - $0001F328
+CODE $0001F47A - $0001F7F8
+CODE $0001F834 - $0001FCC8
+CODE $0001FCD0 - $0001FD70
+CODE $0001FF70 - $0001FFB0
+CODE $00020234 - $000203A4
+CODE $000203A8 - $000203F4
+CODE $000203FC - $000204EC
+CODE $000204F2 - $00020552
+CODE $00020564 - $00020566
+CODE $00020696 - $000206AE
+CODE $000207AA - $00020920
+CODE $00020B00 - $00020D52
+CODE $00020DBE - $00020FE4
+CODE $00021016 - $0002117A
+CODE $00021180 - $00021238
+CODE $00021278 - $000212EC
+CODE $0002131C - $00021614
+CODE $00021620 - $00021874
+CODE $00021928 - $000219D8
+CODE $00021A76 - $00021B78
+CODE $00021BD2 - $00021C98
+CODE $00021CF0 - $00021EF4
+CODE $00021F0C - $00021FE2
+CODE $00021FE6 - $00022058
+CODE $0002206A - $000220DE
+CODE $000220E4 - $000220FC
+CODE $0002216C - $00022380
+CODE $0002238C - $0002259C
+CODE $00022686 - $00022840
+CODE $0002284A - $0002287A
+CODE $00022886 - $00022910
+CODE $00024B70 - $00024CB6
+TEXT $00013B32 - $00013B78
+TEXT $00015B1F - $00015B25
+TEXT $00015B26 - $00015B2D
+TEXT $00015B2E - $00015B34
+TEXT $00015B35 - $00015B38
+TEXT $00015B3A - $00015B45
+TEXT $00015B48 - $00015B4E
+TEXT $00015B4F - $00015B5E
+TEXT $00015B64 - $00015B6B
+TEXT $00015B6E - $00015B7C
+TEXT $00015B80 - $00015B85
+TEXT $00015B8D - $00015B96
+TEXT $00015B9C - $00015BA4
+TEXT $00015BA7 - $00015BAF
+TEXT $00015BB3 - $00015BC6
+TEXT $00015BCA - $00015BD6
+TEXT $00015BDA - $00015BE6
+TEXT $00015BEA - $00015BF5
+TEXT $00015BF9 - $00015C0E
+TEXT $00015C10 - $00015C16
+TEXT $00015C19 - $00015C9D
+TEXT $00015CAF - $00015CB3
+TEXT $00015CB6 - $00015CBB
+TEXT $00015CBE - $00015CD3
+TEXT $00015CD6 - $00015CE5
+TEXT $00015CE8 - $00015CF3
+TEXT $00015CF6 - $00015D05
+TEXT $00015D08 - $00015D12
+TEXT $00015D15 - $00015D27
+TEXT $00015D2A - $00015D3B
+TEXT $00015D3E - $00015D4D
+TEXT $00015D50 - $00015D64
+TEXT $00015D67 - $00015D82
+TEXT $00015D85 - $00015D8D
+TEXT $00015D90 - $00015D97
+TEXT $00015D9A - $00015DA4
+TEXT $00015DA7 - $00015DB9
+TEXT $00015DBC - $00015DC8
+TEXT $00015DCE - $00015DDA
+TEXT $00015DE0 - $00015DED
+TEXT $00015DF3 - $00015DFE
+TEXT $00015E04 - $00015E10
+TEXT $00015E16 - $00015E20
+TEXT $00015E27 - $00015E31
+TEXT $00015E36 - $00015E79
+TEXT $00015E85 - $00015F0A
+TEXT $00015F0B - $00015F0E
+TEXT $00015F0F - $00015F12
+TEXT $00015F13 - $00015F55
+TEXT $00015F56 - $00015F59
+TEXT $00015F5A - $00015F5D
+TEXT $00015F5E - $00015F89
+TEXT $00015F8A - $00015F8D
+TEXT $00015F8E - $00015FE0
+TEXT $00015FE2 - $00015FE4
+TEXT $00015FE6 - $00015FE8
+TEXT $00015FEA - $00015FF3
+TEXT $00015FF5 - $00015FFE
+TEXT $00016000 - $00016021
+TEXT $00016023 - $0001603F
+TEXT $00016041 - $00016048
+TEXT $0001604A - $00016058
+TEXT $0001605A - $0001606A
+TEXT $0001606C - $0001606E
+TEXT $00016070 - $00016175
+TEXT $00016176 - $00016261
+TEXT $00016262 - $00016269
+TEXT $0001626A - $00016273
+TEXT $00016274 - $0001627A
+TEXT $0001627B - $00016283
+TEXT $00016284 - $0001628B
+TEXT $0001628C - $00016294
+TEXT $00016E13 - $00016E22
+TEXT $000173C4 - $000173DF
+TEXT $00019B46 - $00019B7D
+TEXT $00019C7F - $00019C8B
+TEXT $00019C8F - $00019CA1
+TEXT $00019CA5 - $00019CB5
+TEXT $00019CB9 - $00019CC7
+TEXT $00019CCC - $00019CE4
+TEXT $00019D58 - $00019E06
+TEXT $0001CB3E - $0001CCBE
+TEXT $000218E0 - $000218F0
+TEXT $000218F6 - $000218FB
+TEXT $000218FF - $00021902
+TEXT $00021907 - $0002190A
+TEXT $0002190E - $00021915
+TEXT $0002191A - $0002191B
+TEXT $0002191F - $00021920
+TEXT $00021924 - $00021925
+TEXT $000219DB - $000219F7
+TEXT $000219FB - $00021A0E
+TEXT $00021A12 - $00021A25
+TEXT $00021A28 - $00021A44
+TEXT $00021A48 - $00021A5C
+TEXT $00021A60 - $00021A76
+TEXT $00021B78 - $00021BA4
+TEXT $00021C98 - $00021CA9
+TEXT $00021CAB - $00021CBC
+TEXT $00021CBE - $00021CCF
+TEXT $00021CD1 - $00021CE1
+TEXT $00021CE3 - $00021CF0
+TEXT $00022656 - $00022686
+TEXT $00022840 - $00022849
+SYMBOL start_A0 $0001000E
+SYMBOL start_A1 $00010012
+SYMBOL start_A2 $00010016
+SYMBOL SUB_13614 $00013614
+SYMBOL SUB_13682 $00013682
+SYMBOL SUB_136B6 $000136B6
+SYMBOL SUB_136FE $000136FE
+SYMBOL SUB_13770 $00013770
+SYMBOL SUB_137A6 $000137A6
+SYMBOL GraphicsLib $000137FA
+SYMBOL SUB_1393A $0001393A
+SYMBOL SUB_139DE $000139DE
+SYMBOL SUB_13A0A $00013A0A
+SYMBOL SUB_13AD2 $00013AD2
+SYMBOL fed $00013B32
+SYMBOL fed4_pic $00013B38
+SYMBOL fed5_pic $00013B42
+SYMBOL fed8_pic $00013B4C
+SYMBOL fed_sounds $00013B56
+SYMBOL fed_sounds2 $00013B62
+SYMBOL str2bl_maps $00013B6F
+SYMBOL palette1 $00013B78
+SYMBOL palette2 $00013BB8
+SYMBOL SUB_13CB8 $00013CB8
+SYMBOL SUB_13CD4 $00013CD4
+SYMBOL SUB_13D0E $00013D0E
+SYMBOL SUB_13D20 $00013D20
+SYMBOL SUB_13D30 $00013D30
+SYMBOL SUB_13E0E $00013E0E
+SYMBOL SUB_13E90 $00013E90
+SYMBOL SUB_13ED4 $00013ED4
+SYMBOL SUB_13F50 $00013F50
+SYMBOL SUB_1445A $0001445A
+SYMBOL start $00014A74
+SYMBOL SUB_14A76 $00014A76
+SYMBOL SUB_14D54 $00014D54
+SYMBOL SUB_14D70 $00014D70
+SYMBOL SUB_14DE4 $00014DE4
+SYMBOL SUB_14E20 $00014E20
+SYMBOL SUB_14E22 $00014E22
+SYMBOL SUB_14EA6 $00014EA6
+SYMBOL SUB_14EB4 $00014EB4
+SYMBOL SUB_14ECC $00014ECC
+SYMBOL SUB_14F72 $00014F72
+SYMBOL SUB_14F86 $00014F86
+SYMBOL SUB_14F8E $00014F8E
+SYMBOL SUB_14FAA $00014FAA
+SYMBOL SUB_14FBE $00014FBE
+SYMBOL SUB_150BE $000150BE
+SYMBOL SUB_15114 $00015114
+SYMBOL SUB_1517A $0001517A
+SYMBOL SUB_151B2 $000151B2
+SYMBOL SUB_15208 $00015208
+SYMBOL SUB_15238 $00015238
+SYMBOL SUB_152D2 $000152D2
+SYMBOL SUB_153E6 $000153E6
+SYMBOL SUB_153EE $000153EE
+SYMBOL SUB_1544A $0001544A
+SYMBOL SUB_1546C $0001546C
+SYMBOL SUB_154DC $000154DC
+SYMBOL SUB_1551C $0001551C
+SYMBOL SUB_1556E $0001556E
+SYMBOL SUB_15582 $00015582
+SYMBOL SUB_1559A $0001559A
+SYMBOL SUB_155AC $000155AC
+SYMBOL SUB_155CA $000155CA
+SYMBOL SUB_1562A $0001562A
+SYMBOL SUB_15630 $00015630
+SYMBOL SUB_156D8 $000156D8
+SYMBOL SUB_15700 $00015700
+SYMBOL SUB_15728 $00015728
+SYMBOL SUB_15736 $00015736
+SYMBOL SUB_1574E $0001574E
+SYMBOL SUB_15782 $00015782
+SYMBOL SUB_1584A $0001584A
+SYMBOL SUB_158AE $000158AE
+SYMBOL SUB_159A0 $000159A0
+SYMBOL SUB_159C4 $000159C4
+SYMBOL SUB_159F2 $000159F2
+SYMBOL SUB_159F6 $000159F6
+SYMBOL SUB_15A02 $00015A02
+SYMBOL SUB_15A04 $00015A04
+SYMBOL SUB_15A82 $00015A82
+SYMBOL SUB_15A84 $00015A84
+SYMBOL SUB_15AFE $00015AFE
+SYMBOL strHealth $00015B1C
+SYMBOL str999_ $00015B35
+SYMBOL str999_9 $00015B3F
+SYMBOL str9999_9_ $00015B48
+SYMBOL str9999_9 $00015B50
+SYMBOL str_Noname $00015B57
+SYMBOL str_Format $00015B61
+SYMBOL get_directory $00015B6B
+SYMBOL strSAVE__ $00015B7C
+SYMBOL strRestore $00015B89
+SYMBOL strOKSave $00015B99
+SYMBOL strOKLoad $00015BA4
+SYMBOL strFormatBlank $00015BAF
+SYMBOL strDF0 $00015BC6
+SYMBOL strDF1 $00015BD6
+SYMBOL strOKFormat $00015BE6
+SYMBOL strDefinePlr $00015BF5
+SYMBOL str_Name $00015C0A
+SYMBOL str_OK $00015C16
+SYMBOL Races $00015C1C
+SYMBOL Ranks $00015C4C
+SYMBOL left_right $00015CAF
+SYMBOL RightHand $00015CBE
+SYMBOL DiskMsgs $00015CD3
+SYMBOL SUB_167E6 $000167E6
+SYMBOL SUB_1682A $0001682A
+SYMBOL SUB_16846 $00016846
+SYMBOL SUB_1687E $0001687E
+SYMBOL SUB_1689A $0001689A
+SYMBOL SUB_168A0 $000168A0
+SYMBOL SUB_168A6 $000168A6
+SYMBOL SUB_16942 $00016942
+SYMBOL SUB_16A8E $00016A8E
+SYMBOL SUB_16AA0 $00016AA0
+SYMBOL SUB_16AF6 $00016AF6
+SYMBOL SUB_16B26 $00016B26
+SYMBOL SUB_16B4C $00016B4C
+SYMBOL SUB_16B5E $00016B5E
+SYMBOL SUB_16B70 $00016B70
+SYMBOL SUB_16B7C $00016B7C
+SYMBOL SUB_16B94 $00016B94
+SYMBOL SUB_16BEC $00016BEC
+SYMBOL SUB_16BF2 $00016BF2
+SYMBOL SUB_16BFA $00016BFA
+SYMBOL SUB_16C02 $00016C02
+SYMBOL SUB_16C10 $00016C10
+SYMBOL SUB_16D78 $00016D78
+SYMBOL PartyOnHold $00016E10
+SYMBOL SUB_16E8C $00016E8C
+SYMBOL SUB_16F0A $00016F0A
+SYMBOL SUB_16FFA $00016FFA
+SYMBOL SUB_17042 $00017042
+SYMBOL SUB_1705A $0001705A
+SYMBOL SUB_170F0 $000170F0
+SYMBOL SUB_171CE $000171CE
+SYMBOL SUB_17302 $00017302
+SYMBOL SUB_173BC $000173BC
+SYMBOL str_EEEEE $000173C4
+SYMBOL strSAVE $000173D4
+SYMBOL strSAVE_ $000173D9
+SYMBOL SUB_173E0 $000173E0
+SYMBOL SUB_17402 $00017402
+SYMBOL SUB_174C2 $000174C2
+SYMBOL SUB_174EA $000174EA
+SYMBOL SUB_17528 $00017528
+SYMBOL SUB_17530 $00017530
+SYMBOL SUB_17580 $00017580
+SYMBOL SUB_17590 $00017590
+SYMBOL SUB_1759A $0001759A
+SYMBOL SUB_17620 $00017620
+SYMBOL SUB_1763A $0001763A
+SYMBOL SUB_176B2 $000176B2
+SYMBOL SUB_17734 $00017734
+SYMBOL SUB_1777A $0001777A
+SYMBOL SUB_177DE $000177DE
+SYMBOL SUB_1785A $0001785A
+SYMBOL SUB_179EE $000179EE
+SYMBOL SUB_17A6C $00017A6C
+SYMBOL SUB_17A78 $00017A78
+SYMBOL SUB_17A8E $00017A8E
+SYMBOL SUB_17AEC $00017AEC
+SYMBOL SUB_17C26 $00017C26
+SYMBOL SUB_17CA0 $00017CA0
+SYMBOL SUB_17CA2 $00017CA2
+SYMBOL SUB_17CD6 $00017CD6
+SYMBOL SUB_17D16 $00017D16
+SYMBOL SUB_17D62 $00017D62
+SYMBOL SUB_17FD0 $00017FD0
+SYMBOL SUB_18004 $00018004
+SYMBOL SUB_18018 $00018018
+SYMBOL SUB_18038 $00018038
+SYMBOL SUB_18058 $00018058
+SYMBOL SUB_180B6 $000180B6
+SYMBOL SUB_18162 $00018162
+SYMBOL SUB_18168 $00018168
+SYMBOL SUB_18188 $00018188
+SYMBOL SUB_181EA $000181EA
+SYMBOL SUB_1834C $0001834C
+SYMBOL SUB_183E6 $000183E6
+SYMBOL SUB_1951A $0001951A
+SYMBOL SUB_19814 $00019814
+SYMBOL SUB_19828 $00019828
+SYMBOL SUB_1984E $0001984E
+SYMBOL SUB_19852 $00019852
+SYMBOL SUB_1985E $0001985E
+SYMBOL SUB_1986E $0001986E
+SYMBOL SUB_19876 $00019876
+SYMBOL SUB_1988A $0001988A
+SYMBOL SUB_1988E $0001988E
+SYMBOL SUB_19896 $00019896
+SYMBOL SUB_1989C $0001989C
+SYMBOL SUB_198BA $000198BA
+SYMBOL SUB_19944 $00019944
+SYMBOL SUB_19A80 $00019A80
+SYMBOL strKMWall $00019B46
+SYMBOL strKMDoor $00019B54
+SYMBOL strKMShop $00019B62
+SYMBOL strKMAln $00019B70
+SYMBOL SUB_19B84 $00019B84
+SYMBOL SUB_19B9A $00019B9A
+SYMBOL BuildFilename $00019BA2
+SYMBOL SUB_19BA8 $00019BA8
+SYMBOL SUB_19C70 $00019C70
+SYMBOL SUB_19CE4 $00019CE4
+SYMBOL SUB_19D22 $00019D22
+SYMBOL strClasses $00019D58
+SYMBOL SUB_19F44 $00019F44
+SYMBOL SUB_1A088 $0001A088
+SYMBOL SUB_1A08C $0001A08C
+SYMBOL SUB_1A17A $0001A17A
+SYMBOL SUB_1A1EE $0001A1EE
+SYMBOL SUB_1A25C $0001A25C
+SYMBOL SUB_1A322 $0001A322
+SYMBOL SUB_1A3AC $0001A3AC
+SYMBOL SUB_1A3B0 $0001A3B0
+SYMBOL SUB_1A40A $0001A40A
+SYMBOL SUB_1A42A $0001A42A
+SYMBOL SUB_1A4D2 $0001A4D2
+SYMBOL SUB_1A4E6 $0001A4E6
+SYMBOL SUB_1A4F2 $0001A4F2
+SYMBOL SUB_1A52E $0001A52E
+SYMBOL SUB_1A532 $0001A532
+SYMBOL SUB_1A5AA $0001A5AA
+SYMBOL SUB_1A63C $0001A63C
+SYMBOL SUB_1A6C8 $0001A6C8
+SYMBOL SUB_1A742 $0001A742
+SYMBOL SUB_1A752 $0001A752
+SYMBOL SUB_1A768 $0001A768
+SYMBOL SUB_1A7C4 $0001A7C4
+SYMBOL SUB_1A7D0 $0001A7D0
+SYMBOL SUB_1A7DC $0001A7DC
+SYMBOL SUB_1A7E2 $0001A7E2
+SYMBOL SUB_1A7E8 $0001A7E8
+SYMBOL SUB_1A81C $0001A81C
+SYMBOL SUB_1A82C $0001A82C
+SYMBOL SUB_1AC6E $0001AC6E
+SYMBOL SUB_1AC9A $0001AC9A
+SYMBOL SUB_1B2D6 $0001B2D6
+SYMBOL SUB_1B2FA $0001B2FA
+SYMBOL SUB_1B304 $0001B304
+SYMBOL SUB_1B32C $0001B32C
+SYMBOL SUB_1B450 $0001B450
+SYMBOL SUB_1B4A6 $0001B4A6
+SYMBOL SUB_1B4CC $0001B4CC
+SYMBOL SUB_1B5CC $0001B5CC
+SYMBOL SUB_1B6A2 $0001B6A2
+SYMBOL SUB_1B6EC $0001B6EC
+SYMBOL SUB_1B7A0 $0001B7A0
+SYMBOL SUB_1B7E6 $0001B7E6
+SYMBOL SUB_1B81A $0001B81A
+SYMBOL SUB_1B92E $0001B92E
+SYMBOL SUB_1BA08 $0001BA08
+SYMBOL SUB_1BA92 $0001BA92
+SYMBOL SUB_1BAB6 $0001BAB6
+SYMBOL SUB_1BFAC $0001BFAC
+SYMBOL SUB_1C17A $0001C17A
+SYMBOL SUB_1C1F4 $0001C1F4
+SYMBOL SUB_1C246 $0001C246
+SYMBOL SUB_1C276 $0001C276
+SYMBOL SUB_1C288 $0001C288
+SYMBOL SUB_1C2A4 $0001C2A4
+SYMBOL SUB_1C2F8 $0001C2F8
+SYMBOL SUB_1C310 $0001C310
+SYMBOL SUB_1C59A $0001C59A
+SYMBOL SUB_1C706 $0001C706
+SYMBOL SUB_1C746 $0001C746
+SYMBOL SUB_1C798 $0001C798
+SYMBOL SUB_1C822 $0001C822
+SYMBOL SUB_1C87C $0001C87C
+SYMBOL SUB_1C8AE $0001C8AE
+SYMBOL SUB_1C8B4 $0001C8B4
+SYMBOL SUB_1C9FC $0001C9FC
+SYMBOL strVerbs $0001CB3E
+SYMBOL SUB_1CE36 $0001CE36
+SYMBOL SUB_1CE72 $0001CE72
+SYMBOL SUB_1CE84 $0001CE84
+SYMBOL SUB_1CEE0 $0001CEE0
+SYMBOL SUB_1CF4A $0001CF4A
+SYMBOL SUB_1CF74 $0001CF74
+SYMBOL SUB_1CF7C $0001CF7C
+SYMBOL SUB_1CF9A $0001CF9A
+SYMBOL SUB_1CFB6 $0001CFB6
+SYMBOL SUB_1D164 $0001D164
+SYMBOL SUB_1D204 $0001D204
+SYMBOL SUB_1D24A $0001D24A
+SYMBOL SUB_1D30A $0001D30A
+SYMBOL SUB_1D39A $0001D39A
+SYMBOL SUB_1D3EE $0001D3EE
+SYMBOL SUB_1D40E $0001D40E
+SYMBOL SUB_1D446 $0001D446
+SYMBOL SUB_1D45E $0001D45E
+SYMBOL SUB_1D494 $0001D494
+SYMBOL SUB_1D4AC $0001D4AC
+SYMBOL SUB_1D4C4 $0001D4C4
+SYMBOL SUB_1D4D0 $0001D4D0
+SYMBOL SUB_1D506 $0001D506
+SYMBOL SUB_1D5E8 $0001D5E8
+SYMBOL SUB_1D7B0 $0001D7B0
+SYMBOL SUB_1D99C $0001D99C
+SYMBOL SUB_1D9A4 $0001D9A4
+SYMBOL SUB_1DA7E $0001DA7E
+SYMBOL SUB_1DAA0 $0001DAA0
+SYMBOL SUB_1DB68 $0001DB68
+SYMBOL SUB_1DB76 $0001DB76
+SYMBOL SUB_1DC9C $0001DC9C
+SYMBOL SUB_1DCCE $0001DCCE
+SYMBOL SUB_1DDC6 $0001DDC6
+SYMBOL SUB_1DEDA $0001DEDA
+SYMBOL SUB_1DEE6 $0001DEE6
+SYMBOL SUB_1DF1A $0001DF1A
+SYMBOL SUB_1DF4E $0001DF4E
+SYMBOL SUB_1E198 $0001E198
+SYMBOL SUB_1E30E $0001E30E
+SYMBOL SUB_1E3FA $0001E3FA
+SYMBOL SUB_1E498 $0001E498
+SYMBOL SUB_1E4B4 $0001E4B4
+SYMBOL SUB_1E4E8 $0001E4E8
+SYMBOL SUB_1E512 $0001E512
+SYMBOL SUB_1E568 $0001E568
+SYMBOL SUB_1E5D2 $0001E5D2
+SYMBOL SUB_1E620 $0001E620
+SYMBOL SUB_1E8CE $0001E8CE
+SYMBOL SUB_1E8F2 $0001E8F2
+SYMBOL SUB_1E922 $0001E922
+SYMBOL SUB_1E978 $0001E978
+SYMBOL SUB_1EACA $0001EACA
+SYMBOL SUB_1EB70 $0001EB70
+SYMBOL SUB_1EB92 $0001EB92
+SYMBOL SUB_1EBA0 $0001EBA0
+SYMBOL SUB_1ED2C $0001ED2C
+SYMBOL SUB_1EE00 $0001EE00
+SYMBOL SUB_1EE24 $0001EE24
+SYMBOL SUB_1F006 $0001F006
+SYMBOL SUB_1F044 $0001F044
+SYMBOL SUB_1F0B0 $0001F0B0
+SYMBOL SUB_1F0CA $0001F0CA
+SYMBOL SUB_1F47A $0001F47A
+SYMBOL SUB_1F67C $0001F67C
+SYMBOL SUB_1F71A $0001F71A
+SYMBOL SUB_1F834 $0001F834
+SYMBOL SUB_1F894 $0001F894
+SYMBOL SUB_1FADA $0001FADA
+SYMBOL SUB_1FC88 $0001FC88
+SYMBOL SUB_1FCD0 $0001FCD0
+SYMBOL SUB_1FF70 $0001FF70
+SYMBOL SUB_20238 $00020238
+SYMBOL SUB_202D2 $000202D2
+SYMBOL SUB_203A8 $000203A8
+SYMBOL SUB_203E0 $000203E0
+SYMBOL SUB_2048C $0002048C
+SYMBOL SUB_2050C $0002050C
+SYMBOL SUB_20696 $00020696
+SYMBOL SUB_207AA $000207AA
+SYMBOL SUB_20B08 $00020B08
+SYMBOL SUB_20B24 $00020B24
+SYMBOL SUB_20B7C $00020B7C
+SYMBOL SUB_20B90 $00020B90
+SYMBOL SUB_20B9E $00020B9E
+SYMBOL SUB_20BC2 $00020BC2
+SYMBOL SUB_20C16 $00020C16
+SYMBOL SUB_20C5A $00020C5A
+SYMBOL SUB_20C6C $00020C6C
+SYMBOL SUB_20C8C $00020C8C
+SYMBOL SUB_20C9E $00020C9E
+SYMBOL SUB_20CB0 $00020CB0
+SYMBOL SUB_20CF8 $00020CF8
+SYMBOL SUB_20D10 $00020D10
+SYMBOL SUB_20F24 $00020F24
+SYMBOL SUB_20F2C $00020F2C
+SYMBOL SUB_213DC $000213DC
+SYMBOL SUB_213E2 $000213E2
+SYMBOL SUB_2142C $0002142C
+SYMBOL SUB_2146E $0002146E
+SYMBOL SUB_21532 $00021532
+SYMBOL SUB_21620 $00021620
+SYMBOL SUB_21710 $00021710
+SYMBOL SUB_2173C $0002173C
+SYMBOL SUB_21770 $00021770
+SYMBOL SUB_217AE $000217AE
+SYMBOL SUB_217C8 $000217C8
+SYMBOL SUB_217E2 $000217E2
+SYMBOL SUB_217FC $000217FC
+SYMBOL SUB_21802 $00021802
+SYMBOL SUB_21810 $00021810
+SYMBOL strPrefs $000218DC
+SYMBOL SUB_21940 $00021940
+SYMBOL SUB_219A4 $000219A4
+SYMBOL guru1 $000219D8
+SYMBOL guru2 $00021A25
+SYMBOL SUB_21A76 $00021A76
+SYMBOL SUB_21A8A $00021A8A
+SYMBOL SUB_21B62 $00021B62
+SYMBOL SUB_21BD2 $00021BD2
+SYMBOL SUB_21C0E $00021C0E
+SYMBOL SUB_21C72 $00021C72
+SYMBOL strNames $00021C98
+SYMBOL strKMRoof $00021CE3
+SYMBOL SUB_21CF0 $00021CF0
+SYMBOL SUB_21D26 $00021D26
+SYMBOL SUB_21D36 $00021D36
+SYMBOL SUB_21E5A $00021E5A
+SYMBOL SUB_21E78 $00021E78
+SYMBOL SUB_21EEC $00021EEC
+SYMBOL SUB_21F1A $00021F1A
+SYMBOL SUB_21F92 $00021F92
+SYMBOL SUB_21FDA $00021FDA
+SYMBOL SUB_21FE6 $00021FE6
+SYMBOL SUB_2202C $0002202C
+SYMBOL SUB_2202E $0002202E
+SYMBOL SUB_2206A $0002206A
+SYMBOL SUB_220C2 $000220C2
+SYMBOL SUB_220C8 $000220C8
+SYMBOL SUB_220E4 $000220E4
+SYMBOL SUB_220EE $000220EE
+SYMBOL SUB_2216C $0002216C
+SYMBOL SUB_22240 $00022240
+SYMBOL SUB_2230E $0002230E
+SYMBOL SUB_22318 $00022318
+SYMBOL SUB_2238C $0002238C
+SYMBOL SUB_22400 $00022400
+SYMBOL SUB_22410 $00022410
+SYMBOL SUB_22434 $00022434
+SYMBOL SUB_22436 $00022436
+SYMBOL SUB_22488 $00022488
+SYMBOL SUB_224F8 $000224F8
+SYMBOL SUB_22512 $00022512
+SYMBOL SUB_22596 $00022596
+SYMBOL strMusic $00022656
+SYMBOL SUB_22686 $00022686
+SYMBOL SUB_22712 $00022712
+SYMBOL strEndDemo $00022840
+SYMBOL SUB_2284C $0002284C
+SYMBOL SUB_22886 $00022886
+SYMBOL SUB_24B70 $00024B70
+SYMBOL SUB_24B96 $00024B96
+SYMBOL SUB_24BF4 $00024BF4
+LABEL LAB_1001A $0001001A
+LABEL LAB_137CC $000137CC
+LABEL LAB_13AA2 $00013AA2
+LABEL LAB_176D2 $000176D2
+LABEL LAB_176D8 $000176D8
+LABEL LAB_176DE $000176DE
+LABEL LAB_176E4 $000176E4
+LABEL LAB_176EA $000176EA
+LABEL LAB_17714 $00017714
+LABEL LAB_177e0 $00017730
+LABEL LAB_1774E $0001774E
+LABEL LAB_17756 $00017756
+LABEL LAB_19C7C $00019C7C
+LABEL LAB_ACFA8 $0001CFA8
+LABEL LAB_01F1A4 $0001F1A4
+LABEL LAB_01F1A8 $0001F1A8
+LABEL LAB_01F1AC $0001F1AC
+LABEL LAB_01F1B0 $0001F1B0
+LABEL LAB_01FB4 $0001F1B4
+LABEL LAB_1F27E $0001F27E
+LABEL LAB_1F4AE $0001F4AE
+LABEL LAB_1FD32 $0001FD32
+LABEL LAB_20BCC $00020BCC
+LABEL LAB_21016 $00021016
+LABEL LAB_2245C $0002245C
+LABEL LAB_22910 $00022910
+LABEL LAB_24C96 $00024C96
+LABEL LAB_24CB6 $00024CB6
+COMMENT $13736 interrupt
+COMMENT $13B38 Main game screen background
+COMMENT $13B42 Main game screen graphics
+COMMENT $13B4C Weapons, sprites, items
+COMMENT $14C6A map loads in at $6b622
+COMMENT $2193A ?
+BANNER $10000 KNIGHTMARE
+BANNER $10000 Main game executable
+BANNER $10000 Filename is "federation" after the working title
+BANNER $10000 of Knightmare's precursor Captive - "Federation Wars"
+BANNER $10000 Relocates to $24DC (including hunk header), i.e. $24FC
+BANNER $10000
+BANNER $10000 Work in progress.
+BANNER $15B1C Strings
+BANNER $22910 Probably various graphics
+EQU _LVOOpenLibrary $137DA.W
+EQU _LVOCloseLibrary $137F4.W
+EQU copinit $137E6.W
+END
diff --git a/src/readme.md b/src/readme.md
new file mode 100644
index 0000000..a5d37db
--- /dev/null
+++ b/src/readme.md
@@ -0,0 +1,27 @@
+# Knightmare disassembled source
+
+The files in this directory are disassembled from the various program files of
+the dungeon crawler _Knightmare_ (Amiga, 1991).
+
+- __RaTtDOS__: Tony Crowther's disk operating system.
+- __fed_bootfile__: A small startup program which loads the intro and main game.
+- __fed_Demo__: Intro.
+- __federation__: The main game program of Knightmare. It's named "federation"
+ after _Federation Wars_, the working title for Crowther's previous game,
+ _Captive_.
+- __EndDEMO__: Outro, which plays when you beat the game.
+
+Disassembly was made using
+[Aira Force](https://howprice.itch.io/aira-force), a GUI based on the
+[ira disassembler](https://aminet.net/package/dev/asm/ira). For each of the
+game's programs, there is a `.asm` file, which is 68k assembly language, and a
+`.cnf` file, which is the ira config file used to produce the disassembly from
+the program. The original programs can be extracted from the disks using the
+Knightmare WHDLoad.
+
+Disassembly of this game is believed to constitute fair use for the purposes of
+analysis and commentary.
+
+More information and analysis can be found at the project website:
+
+