--- a/source/page03/initial.asm Wed May 07 06:56:39 2014 -0400
+++ b/source/page03/initial.asm Wed May 07 07:00:37 2014 -0400
@@ -14,7 +14,7 @@
call Page0Call_3C45
jr z, p03loc_4031
-p03loc_401F: ; CODE XREF: seg001:4016j
+p03loc_401F:
ld hl, p03loc_40FF
call p03sub_40E7
ld hl, p03loc_4112
@@ -22,7 +22,7 @@
ld hl, p03loc_412F
call p03sub_40E7
-p03loc_4031: ; CODE XREF: seg001:401Dj
+p03loc_4031:
call Page0Call_3F09
call Page0Call_3F21
cp 5
@@ -50,11 +50,11 @@
call p03sub_429B
call Page0Call_3E8B
-p03loc_4077: ; CODE XREF: seg001:406Ej
+p03loc_4077:
call p03sub_4146
ld sp, 8D4Fh
-p03loc_407D: ; CODE XREF: seg001:p03loc_4198j
+p03loc_407D:
ld hl, 403h
ld (curRow), hl
ld hl, (curGStyle)
@@ -74,28 +74,28 @@
; =============== S U B R O U T I N E =======================================
-p03sub_409E: ; CODE XREF: seg001:4091p
-
-; FUNCTION CHUNK AT 41AB SIZE 000000A0 BYTES
+p03sub_409E:
+
+
ld b, 0
jr p03loc_40AC
; ---------------------------------------------------------------------------
-p03loc_40A2: ; CODE XREF: p03sub_409E+25j
+p03loc_40A2:
ld b, 18h
call NZIf83Plus
jr nz, p03loc_40AB
ld b, 78h ; 'x'
-p03loc_40AB: ; CODE XREF: p03sub_409E+9j
+p03loc_40AB:
; p03sub_409E:p03loc_40E3j
pop af
-p03loc_40AC: ; CODE XREF: p03sub_409E+2j
+p03loc_40AC:
ld hl, 4000h
-p03loc_40AF: ; CODE XREF: p03sub_409E+18j p03sub_409E+38j
+p03loc_40AF:
call LoadCIndPaged
add a, c
inc hl
@@ -114,27 +114,27 @@
jr p03loc_40D0
; ---------------------------------------------------------------------------
-p03loc_40CE: ; CODE XREF: p03sub_409E+2Aj
+p03loc_40CE:
cp 1Ah
-p03loc_40D0: ; CODE XREF: p03sub_409E+2Ej
+p03loc_40D0:
jr nz, p03loc_40D8
pop af
ld hl, 4200h
jr p03loc_40AF
; ---------------------------------------------------------------------------
-p03loc_40D8: ; CODE XREF: p03sub_409E:p03loc_40D0j
+p03loc_40D8:
call NZIf83Plus
jr nz, p03loc_40E1
cp 7Eh ; '~'
jr p03loc_40E3
; ---------------------------------------------------------------------------
-p03loc_40E1: ; CODE XREF: p03sub_409E+3Dj
+p03loc_40E1:
cp 1Eh
-p03loc_40E3: ; CODE XREF: p03sub_409E+41j
+p03loc_40E3:
jr nz, p03loc_40AB
pop af
ret
@@ -144,7 +144,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_40E7: ; CODE XREF: seg001:4022p seg001:4028p ...
+p03sub_40E7:
push hl
call ldHLind
ld (penCol), hl
@@ -176,7 +176,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4146: ; CODE XREF: seg001:p03loc_4077p
+p03sub_4146:
call NZIf83Plus
ret nz
di
@@ -188,7 +188,7 @@
out (38h), a
ld hl, 0
-p03loc_4159: ; CODE XREF: p03sub_4146+18j
+p03loc_4159:
inc hl
in a, (4)
bit 7, a
@@ -204,7 +204,7 @@
; ---------------------------------------------------------------------------
-p03loc_4172: ; CODE XREF: seg001:409Bj
+p03loc_4172:
ld de, 8D4Fh
call p03sub_4368
jr nz, p03loc_41AB
@@ -214,7 +214,7 @@
out (27h), a
ld a, 2
-p03loc_4184: ; CODE XREF: seg001:4193j
+p03loc_4184:
push af
out (5), a
ld de, 0C000h
@@ -227,11 +227,11 @@
xor a
out (5), a
-p03loc_4198: ; CODE XREF: seg001:417Dj
+p03loc_4198:
jp p03loc_407D
; ---------------------------------------------------------------------------
-p03loc_419B: ; CODE XREF: seg001:418Dj
+p03loc_419B:
pop bc
xor a
out (5), a
@@ -240,7 +240,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_41A1: ; CODE XREF: p03sub_409E+154p
+p03sub_41A1:
; p03sub_409E+16Ap
add a, 18h
or 0C0h ; '�'
@@ -253,7 +253,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_409E
-p03loc_41AB: ; CODE XREF: p03sub_409E+1Dj seg001:4178j ...
+p03loc_41AB:
xor a
ld (unk_9CAF), a
res 4, (iy+9)
@@ -284,7 +284,7 @@
call p03sub_426F
ld c, 27h ; '''
-p03loc_41F1: ; CODE XREF: p03sub_409E+15Ej
+p03loc_41F1:
ld a, c
call p03sub_41A1
call Page0Call_3F21
@@ -293,7 +293,7 @@
dec c
jr nz, p03loc_41F1
-p03loc_41FE: ; CODE XREF: p03sub_409E+13Ej
+p03loc_41FE:
; p03sub_409E+14Aj ...
res 4, (iy+9)
call Page0Call_3E8B
@@ -303,7 +303,7 @@
ld b, 31h ; '1'
call page0_B8D
-p03loc_4214: ; CODE XREF: p03sub_409E+196j
+p03loc_4214:
ld hl, 503h
ld (curRow), hl
ld l, (ix+1)
@@ -311,7 +311,7 @@
call Page0Call_3C7B
ei
-p03loc_4223: ; CODE XREF: p03sub_409E+190j
+p03loc_4223:
call GetCSC
call page0_189
jr nz, p03loc_4248
@@ -327,26 +327,26 @@
call Page0Call_3C87
call Page0Call_3F21
-p03loc_4248: ; CODE XREF: p03sub_409E+18Bj
+p03loc_4248:
jp resetRam
; END OF FUNCTION CHUNK FOR p03sub_409E
; =============== S U B R O U T I N E =======================================
-p03sub_424B: ; CODE XREF: p03sub_409E+118p
+p03sub_424B:
; p03sub_409E+137p ...
di
ld c, 20h ; ' '
-p03loc_424E: ; CODE XREF: p03sub_424B+20j
+p03loc_424E:
ld a, 80h ; '�'
call page0_AB9
ld a, c
call page0_AB9
ld b, 20h ; ' '
-p03loc_4259: ; CODE XREF: p03sub_424B+1Aj
+p03loc_4259:
ld a, d
call lcd_busy
out (11h), a
@@ -366,7 +366,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_426F: ; CODE XREF: p03sub_409E+12Cp
+p03sub_426F:
; p03sub_409E+130p ...
ld d, a
ld e, a
@@ -377,7 +377,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4274: ; CODE XREF: p03sub_409E+127p
+p03sub_4274:
call Page0Call_3F21
pop hl
or a
@@ -389,12 +389,12 @@
; =============== S U B R O U T I N E =======================================
-p03sub_427C: ; CODE XREF: p03sub_409E+11Fp
+p03sub_427C:
; p03sub_409E+124p
di
ld c, 20h ; ' '
-p03loc_427F: ; CODE XREF: p03sub_427C+15j
+p03loc_427F:
ld a, b
call page0_AB9
ld a, c
@@ -413,7 +413,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_4368
-p03loc_4295: ; CODE XREF: seg001:4098j p03sub_4368+48j
+p03loc_4295:
call p03sub_429B
jp resetRam
; END OF FUNCTION CHUNK FOR p03sub_4368
@@ -421,7 +421,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_429B: ; CODE XREF: seg001:4071p
+p03sub_429B:
; p03sub_4368:p03loc_4295p
push hl
call Page0Call_3E8B
@@ -546,7 +546,7 @@
jr p03loc_432A
; ---------------------------------------------------------------------------
-p03loc_4320: ; CODE XREF: seg001:431Aj
+p03loc_4320:
ld e, a
ld d, 0
ld (hl), d
@@ -555,7 +555,7 @@
ld l, (hl)
ld h, d
-p03loc_432A: ; CODE XREF: seg001:431Ej
+p03loc_432A:
call SetXXXXOP2
jp GetCSC
p03loc_4330:
@@ -619,9 +619,9 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4368: ; CODE XREF: seg001:4175p seg001:418Ap
-
-; FUNCTION CHUNK AT 4295 SIZE 00000006 BYTES
+p03sub_4368:
+
+
ld hl, 0
or a
@@ -630,10 +630,10 @@
push de
push hl
-p03loc_4371: ; CODE XREF: p03sub_4368+18j
+p03loc_4371:
ld b, 0
-p03loc_4373: ; CODE XREF: p03sub_4368+16j
+p03loc_4373:
ld (hl), b
inc hl
dec de
@@ -647,14 +647,14 @@
jr p03loc_4371
; ---------------------------------------------------------------------------
-p03loc_4382: ; CODE XREF: p03sub_4368+10j
+p03loc_4382:
pop hl
pop de
-p03loc_4384: ; CODE XREF: p03sub_4368+3Aj
+p03loc_4384:
ld b, 0
-p03loc_4386: ; CODE XREF: p03sub_4368+38j
+p03loc_4386:
push de
push hl
ld de, 9C86h
@@ -667,7 +667,7 @@
cp b
jr nz, p03loc_43A4
-p03loc_4396: ; CODE XREF: p03sub_4368+28j
+p03loc_4396:
inc hl
dec de
ld a, e
@@ -680,19 +680,19 @@
jr p03loc_4384
; ---------------------------------------------------------------------------
-p03loc_43A4: ; CODE XREF: p03sub_4368+2Cj
+p03loc_43A4:
in a, (2)
and 80h ; '�'
jr z, p03loc_43AD
xor a
out (5), a
-p03loc_43AD: ; CODE XREF: p03sub_4368+40j
+p03loc_43AD:
ld hl, aRam
jp p03loc_4295
; ---------------------------------------------------------------------------
-p03loc_43B3: ; CODE XREF: p03sub_4368+32j
+p03loc_43B3:
call page0_189
ret
; End of function p03sub_4368
@@ -705,21 +705,21 @@
; =============== S U B R O U T I N E =======================================
-Page03_3714: ; CODE XREF: seg001:5747p seg001:579Ep ...
+Page03_3714:
ld hl, OP3
GetK:
ld a, 1
ld de, 0
-p03loc_43C6: ; CODE XREF: seg001:43BCj
+p03loc_43C6:
call CheckSplitFlag
jr z, p03loc_43CF
add a, 3
ld e, a
inc a
-p03loc_43CF: ; CODE XREF: Page03_3714+Bj
+p03loc_43CF:
ld (winTop), a
ld (curRow), de
call Page0Call_3C87
@@ -731,7 +731,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_43DD: ; CODE XREF: seg001:56FCp p03sub_5779+3p
+p03sub_43DD:
push ix
ld ix, (unk_9700)
ld a, 1
@@ -739,7 +739,7 @@
jr z, p03loc_43EC
ld a, 5
-p03loc_43EC: ; CODE XREF: p03sub_43DD+Bj
+p03loc_43EC:
ld (curRow), a
ld a, (mcxCurApp)
cp 53h ; 'S'
@@ -747,7 +747,7 @@
ld hl, curRow
dec (hl)
-p03loc_43FA: ; CODE XREF: p03sub_43DD+17j p03sub_43DD+3Cj
+p03loc_43FA:
sub a
ld (curRow+1), a
ld a, (curRow)
@@ -765,10 +765,10 @@
jr p03loc_43FA
; ---------------------------------------------------------------------------
-p03loc_441B: ; CODE XREF: p03sub_43DD+2Ej
+p03loc_441B:
call Page0Call_3D29
-p03loc_441E: ; CODE XREF: p03sub_43DD+28j
+p03loc_441E:
pop ix
ret
; End of function p03sub_43DD
@@ -777,7 +777,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_3720: ; CODE XREF: seg001:47EFp
+Page03_3720:
sub a
ld (curRow+1), a
ld a, (curRow)
@@ -803,13 +803,13 @@
call Page0Call_3F9F
call Page0Call_3D1D
-p03loc_445C: ; CODE XREF: Page03_3720+Bj
+p03loc_445C:
call Page0Call_3CC9
; End of function Page03_3720
; START OF FUNCTION CHUNK FOR DisplayEditSysVar
-p03loc_445F: ; CODE XREF: DisplayEditSysVar+Dj
+p03loc_445F:
call Page03_3726
call Page0Call_3AC5
or a
@@ -832,14 +832,14 @@
call mov9B2
call p03sub_44C6
-p03loc_4490: ; CODE XREF: DisplayEditSysVar-67Ej
+p03loc_4490:
ld a, 7Dh ; '}'
; END OF FUNCTION CHUNK FOR DisplayEditSysVar
; =============== S U B R O U T I N E =======================================
-p03sub_4492: ; CODE XREF: DisplayEditSysVar-67Ap
+p03sub_4492:
ld b, a
ld a, (curRow)
inc a
@@ -848,7 +848,7 @@
ld a, b
jr nc, p03loc_44AB
-p03loc_449E: ; CODE XREF: p03sub_4492+1Dj
+p03loc_449E:
ld de, (curRow)
push de
call Page0Call_3CAB
@@ -857,7 +857,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_44AB: ; CODE XREF: p03sub_4492+Aj
+p03loc_44AB:
bit 2, (iy+0Dh)
jr z, p03loc_449E
res 2, (iy+0Dh)
@@ -874,7 +874,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_44C6: ; CODE XREF: DisplayEditSysVar-684p
+p03sub_44C6:
; DisplayEditSysVar-66Dp
bit 2, (iy+0Dh)
jp z, p03loc_4587
@@ -888,7 +888,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_3726: ; CODE XREF: DisplayEditSysVar:p03loc_445Fp
+Page03_3726:
; DisplayEditSysVar-68Dp ...
ld a, (unk_9813)
res 7, a
@@ -909,7 +909,7 @@
; =============== S U B R O U T I N E =======================================
-setTitle: ; CODE XREF: p03sub_43DD+30p seg001:4705p ...
+setTitle:
sub a
ld (curRow+1), a
ld a, (winBtm)
@@ -923,17 +923,17 @@
call Page0Call_362D
jr nz, p03loc_4513
-p03loc_4510: ; CODE XREF: setTitle+14j
+p03loc_4510:
ld a, (ix+3)
-p03loc_4513: ; CODE XREF: setTitle+19j
+p03loc_4513:
inc a
jr z, p03loc_453E
ld a, 1Fh
jr p03loc_4540
; ---------------------------------------------------------------------------
-p03loc_451A: ; CODE XREF: setTitle+Cj
+p03loc_451A:
ld a, (winTop)
cp (hl)
jr nz, p03loc_453E
@@ -946,20 +946,20 @@
call Page0Call_362D
jr nz, p03loc_4537
-p03loc_4534: ; CODE XREF: setTitle+38j
+p03loc_4534:
ld a, (ix+0FDh)
-p03loc_4537: ; CODE XREF: setTitle+3Dj
+p03loc_4537:
inc a
jr z, p03loc_453E
ld a, 1Eh
jr p03loc_4540
; ---------------------------------------------------------------------------
-p03loc_453E: ; CODE XREF: setTitle+1Fj setTitle+29j ...
+p03loc_453E:
ld a, 20h ; ' '
-p03loc_4540: ; CODE XREF: setTitle+23j setTitle+47j
+p03loc_4540:
call Page0Call_3F9F
bit 2, (iy+35h)
jr z, p03loc_454F
@@ -967,7 +967,7 @@
call Page0Call_362D
ret nz
-p03loc_454F: ; CODE XREF: setTitle+52j
+p03loc_454F:
ld l, (ix+1)
ld h, (ix+2)
bit 1, (iy+35h)
@@ -978,7 +978,7 @@
call Page0Call_3C45
pop bc
-p03loc_4565: ; CODE XREF: setTitle+64j
+p03loc_4565:
call p03sub_7530
ret z
call p03sub_4D49
@@ -986,7 +986,7 @@
call Page0Call_3F9F
call Page0Call_3CC9
-p03loc_4574: ; CODE XREF: DisplayEditSysVar:p03loc_4B16j
+p03loc_4574:
call p03sub_7530
jr nz, p03sub_4581
ld a, (ix+0)
@@ -998,11 +998,11 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4581: ; CODE XREF: setTitle+82j p03sub_4581+29p
+p03sub_4581:
ld a, (ix+0)
call Page0Call_3633
-p03loc_4587: ; CODE XREF: p03sub_44C6+4j p03sub_44C6+Bp ...
+p03loc_4587:
ld a, 15h
call Page0Call_3639
ld hl, OP3
@@ -1031,7 +1031,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_45BA: ; CODE XREF: seg001:57F4p
+p03sub_45BA:
ld a, 6
ld (curRow), a
jr p03loc_45E3
@@ -1041,7 +1041,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_45C1: ; CODE XREF: seg001:57EDp
+p03sub_45C1:
ld a, 2
call CheckSplitFlag
jr z, p03loc_45D5
@@ -1053,13 +1053,13 @@
; =============== S U B R O U T I N E =======================================
-Page03_3732: ; CODE XREF: seg001:5707p seg001:574Dp ...
+Page03_3732:
ld a, 1
call CheckSplitFlag
jr z, p03loc_45D5
ld a, 5
-p03loc_45D5: ; CODE XREF: p03sub_45C1+5j p03sub_45C1+9j ...
+p03loc_45D5:
ld (curRow), a
ld a, (mcxCurApp)
cp 53h ; 'S'
@@ -1067,7 +1067,7 @@
ld hl, curRow
dec (hl)
-p03loc_45E3: ; CODE XREF: p03sub_45BA+5j
+p03loc_45E3:
; Page03_3732+11j ...
call CanAlphIns
call RecallEd
@@ -1082,22 +1082,22 @@
xor a
ld (OP1), a
-p03loc_4600: ; CODE XREF: Page03_3732+2Ej
+p03loc_4600:
jr Page03_3738
; ---------------------------------------------------------------------------
-p03loc_4602: ; CODE XREF: Page03_3732+23j
+p03loc_4602:
bit 2, (iy+35h)
jr z, p03loc_460F
ld a, 5
call Page0Call_362D
jr nz, Page03_3738
-p03loc_460F: ; CODE XREF: Page03_3732+3Aj
+p03loc_460F:
ld a, (hl)
call Page0Call_3633
-Page03_3738: ; CODE XREF: Page03_3732:p03loc_4600j
+Page03_3738:
; Page03_3732+41j
call Page0Call_363F
@@ -1107,7 +1107,7 @@
jp Page0Call_24F9
; ---------------------------------------------------------------------------
-Page03_3744: ; CODE XREF: Page03_3732:dispVarValj
+Page03_3744:
call Page0Call_3645
call Page0Call_3DE3
res 5, (iy+5)
@@ -1118,8 +1118,8 @@
; =============== S U B R O U T I N E =======================================
-Page03_374A: ; CODE XREF: seg001:4717j
- ; seg001:p03loc_47F7p
+Page03_374A:
+
call RecallEd
call Page03_3726
call Page0Call_3AC5
@@ -1131,7 +1131,7 @@
jp Page0Call_24F9
; ---------------------------------------------------------------------------
-p03loc_463F: ; CODE XREF: Page03_374A+Ej
+p03loc_463F:
call Page0Call_3645
call Page0Call_3DE3
res 5, (iy+5)
@@ -1142,7 +1142,7 @@
; =============== S U B R O U T I N E =======================================
-RecallEd: ; CODE XREF: Page03_3732+1Ap
+RecallEd:
; Page03_374Ap
call Page03_37B0
@@ -1159,7 +1159,7 @@
; =============== S U B R O U T I N E =======================================
-createNumEditBuf: ; CODE XREF: RecallEd+Ap
+createNumEditBuf:
call releaseBuffer
ld hl, Page0Call_24F9
call pushErrorHandleR
@@ -1189,7 +1189,7 @@
ret nz
ld a, b
-p03loc_4690: ; CODE XREF: seg001:467Bj
+p03loc_4690:
cp 27h ; '''
jr nz, p03loc_46B4
ld a, (mcxCurApp)
@@ -1206,13 +1206,13 @@
cp 53h ; 'S'
jp z, Page03_3A7A
-p03loc_46B4: ; CODE XREF: seg001:4692j
+p03loc_46B4:
cp 5
jr z, p03loc_46BD
cp 4
jp nz, p03loc_474F
-p03loc_46BD: ; CODE XREF: seg001:46B6j
+p03loc_46BD:
call p03sub_473A
jr nz, p03loc_4710
call IsEditEmpty
@@ -1225,10 +1225,10 @@
call Page0Call_362D
jr nz, p03loc_46DC
-p03loc_46D9: ; CODE XREF: seg001:46D2j
+p03loc_46D9:
ld a, (ix+3)
-p03loc_46DC: ; CODE XREF: seg001:46D7j
+p03loc_46DC:
inc a
jr nz, p03loc_46EE
ld a, (mcxCurApp)
@@ -1239,7 +1239,7 @@
jp Page0Call_365D
; ---------------------------------------------------------------------------
-p03loc_46EE: ; CODE XREF: seg001:46DDj
+p03loc_46EE:
call p03sub_4742
jp nz, Page0Call_3663
ld de, 3
@@ -1252,14 +1252,14 @@
jr p03loc_470D
; ---------------------------------------------------------------------------
-p03loc_470A: ; CODE XREF: seg001:4700j
+p03loc_470A:
ld (curRow), a
-p03loc_470D: ; CODE XREF: seg001:46E9j seg001:4708j
+p03loc_470D:
jp p03loc_45E3
; ---------------------------------------------------------------------------
-p03loc_4710: ; CODE XREF: seg001:46C0j
+p03loc_4710:
call p03sub_4727
ld a, (ix+3)
inc a
@@ -1273,8 +1273,8 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4727: ; CODE XREF: seg001:p03loc_4710p
- ; seg001:Page03_3774p
+p03sub_4727:
+
call ParseAndStoreSysVar
bit 4, (iy+1)
call z, DisplayEditSysVar
@@ -1287,8 +1287,8 @@
; =============== S U B R O U T I N E =======================================
-p03sub_473A: ; CODE XREF: seg001:p03loc_46BDp
- ; seg001:Page03_3768p ...
+p03sub_473A:
+
ld hl, (unk_9700)
ld a, (hl)
cp 1Fh
@@ -1299,25 +1299,25 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4742: ; CODE XREF: seg001:p03loc_46EEp
+p03sub_4742:
; ParseAndStoreSysVar+5p
ld a, (mcxCurApp)
cp 49h ; 'I'
jr z, p03loc_474B
-p03loc_4749: ; CODE XREF: p03sub_473A+6j
+p03loc_4749:
xor a
ret
; ---------------------------------------------------------------------------
-p03loc_474B: ; CODE XREF: p03sub_4742+5j
+p03loc_474B:
call page0_19D
ret
; End of function p03sub_4742
; ---------------------------------------------------------------------------
-p03loc_474F: ; CODE XREF: seg001:46BAj
+p03loc_474F:
cp 6
jr nz, p03loc_4797
ld a, (mcxCurApp)
@@ -1354,7 +1354,7 @@
jp p03loc_45E3
; ---------------------------------------------------------------------------
-p03loc_4797: ; CODE XREF: seg001:4751j
+p03loc_4797:
cp 3
jr nz, p03loc_4814
@@ -1371,10 +1371,10 @@
call Page0Call_362D
jr nz, p03loc_47BA
-p03loc_47B7: ; CODE XREF: seg001:47B0j
+p03loc_47B7:
ld a, (ix+0FDh)
-p03loc_47BA: ; CODE XREF: seg001:47B5j
+p03loc_47BA:
inc a
jr nz, p03loc_47C8
ld a, (mcxCurApp)
@@ -1384,7 +1384,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_47C8: ; CODE XREF: seg001:47BBj
+p03loc_47C8:
ld de, 0FFFDh
add ix, de
ld (unk_9700), ix
@@ -1394,10 +1394,10 @@
jr p03loc_47DE
; ---------------------------------------------------------------------------
-p03loc_47DB: ; CODE XREF: seg001:47D4j
+p03loc_47DB:
ld (curRow), a
-p03loc_47DE: ; CODE XREF: seg001:47C2j seg001:47D9j
+p03loc_47DE:
jp p03loc_45E3
; ---------------------------------------------------------------------------
@@ -1411,16 +1411,16 @@
jr p03loc_47F7
; ---------------------------------------------------------------------------
-p03loc_47F4: ; CODE XREF: seg001:47EDj
+p03loc_47F4:
ld (curRow), a
-p03loc_47F7: ; CODE XREF: seg001:47F2j
+p03loc_47F7:
call Page03_374A
call InitNumVec
ret
; ---------------------------------------------------------------------------
-Page03_3774: ; CODE XREF: seg001:479Ej
+Page03_3774:
call p03sub_4727
ld a, (ix+0FDh)
inc a
@@ -1429,12 +1429,12 @@
add ix, de
ld (unk_9700), ix
-p03loc_4810: ; CODE XREF: seg001:4805j
+p03loc_4810:
call Page0Call_3687
ret
; ---------------------------------------------------------------------------
-p03loc_4814: ; CODE XREF: seg001:4799j
+p03loc_4814:
bit 7, (iy+0Eh)
jr nz, CallCommon
cp 8Ah ; '�'
@@ -1443,12 +1443,12 @@
; =============== S U B R O U T I N E =======================================
-CallCommon: ; CODE XREF: seg001:4672p seg001:4818j ...
-
-; FUNCTION CHUNK AT 489E SIZE 00000057 BYTES
-; FUNCTION CHUNK AT 48FA SIZE 00000004 BYTES
-; FUNCTION CHUNK AT 4903 SIZE 00000084 BYTES
-; FUNCTION CHUNK AT 49DE SIZE 0000001C BYTES
+CallCommon:
+
+
+
+
+
cp 9
jr nz, p03loc_482E
@@ -1458,7 +1458,7 @@
jp fDel
; ---------------------------------------------------------------------------
-p03loc_482E: ; CODE XREF: CallCommon+2j
+p03loc_482E:
cp 0Dh
jp nz, p03loc_4858
set 5, (iy+0Ch)
@@ -1475,7 +1475,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4858: ; CODE XREF: CallCommon+13j
+p03loc_4858:
cp 2
jr nz, p03loc_489E
res 4, (iy+5)
@@ -1487,9 +1487,9 @@
; =============== S U B R O U T I N E =======================================
-CommonKeys: ; CODE XREF: CallCommon+107p
-
-; FUNCTION CHUNK AT 48FE SIZE 00000005 BYTES
+CommonKeys:
+
+
res 2, (iy+5)
call IsAtTop
@@ -1506,13 +1506,13 @@
jr c, p03loc_4890
jr z, p03loc_4890
-p03loc_4888: ; CODE XREF: CommonKeys+36j
+p03loc_4888:
ld (curRow+1), a
call Page0Call_3DE3
jr p03sub_48F5
; ---------------------------------------------------------------------------
-p03loc_4890: ; CODE XREF: CommonKeys+18j
+p03loc_4890:
; CommonKeys+1Ej ...
ld a, (winLeftEdge)
inc a
@@ -1526,7 +1526,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR CallCommon
-p03loc_489E: ; CODE XREF: CallCommon+3Dj
+p03loc_489E:
cp 1
jr nz, p03loc_48FA
res 4, (iy+5)
@@ -1545,7 +1545,7 @@
bit 1, (iy+0Eh)
jr z, p03loc_48F2
-p03loc_48C3: ; CODE XREF: CallCommon+9Ej
+p03loc_48C3:
ld a, 0Eh
ld (curRow+1), a
call Page0Call_3699
@@ -1558,7 +1558,7 @@
jr p03sub_48F5
; ---------------------------------------------------------------------------
-p03loc_48DA: ; CODE XREF: CallCommon+AEj
+p03loc_48DA:
push de
call Page0Call_3DAD
pop de
@@ -1573,7 +1573,7 @@
cp (hl)
jr c, p03loc_4890
-p03loc_48F2: ; CODE XREF: CallCommon+9Cj
+p03loc_48F2:
; CallCommon+A4j
ld (curRow+1), a
; END OF FUNCTION CHUNK FOR CallCommon
@@ -1581,7 +1581,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_48F5: ; CODE XREF: CallCommon+46j
+p03sub_48F5:
; CommonKeys+28j ...
res 6, (iy+5)
ret
@@ -1590,27 +1590,27 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR CallCommon
-p03loc_48FA: ; CODE XREF: CallCommon+83j
+p03loc_48FA:
cp 0Eh
jr nz, p03loc_4903
; END OF FUNCTION CHUNK FOR CallCommon
; START OF FUNCTION CHUNK FOR CommonKeys
-p03loc_48FE: ; CODE XREF: CommonKeys+7j
+p03loc_48FE:
call Page03_37E6
jr p03sub_48F5
; END OF FUNCTION CHUNK FOR CommonKeys
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR CallCommon
-p03loc_4903: ; CODE XREF: CallCommon+DFj
+p03loc_4903:
cp 0Fh
jr nz, p03loc_490C
call p03sub_4B73
jr p03sub_48F5
; ---------------------------------------------------------------------------
-p03loc_490C: ; CODE XREF: CallCommon+E8j
+p03loc_490C:
cp 0Bh
jr nz, p03loc_4917
call p03sub_48F5
@@ -1618,7 +1618,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4917: ; CODE XREF: CallCommon+F1j
+p03loc_4917:
cp 21h ; '!'
jr nz, p03loc_4929
res 4, (iy+5)
@@ -1628,11 +1628,11 @@
jr p03loc_492D
; ---------------------------------------------------------------------------
-p03loc_4929: ; CODE XREF: CallCommon+FCj
+p03loc_4929:
cp 0Ah
jr nz, p03loc_4943
-p03loc_492D: ; CODE XREF: CallCommon+10Aj
+p03loc_492D:
call Page0Call_366F
call p03sub_48F5
@@ -1645,7 +1645,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4943: ; CODE XREF: CallCommon+10Ej
+p03loc_4943:
cp 0Ch
call z, Page0Call_36AB
or a
@@ -1662,10 +1662,10 @@
cp 0A6h ; '�'
ret nc
-p03loc_495E: ; CODE XREF: CallCommon+139j
+p03loc_495E:
ld a, 0FBh ; '�'
-p03loc_4960: ; CODE XREF: CallCommon+132j
+p03loc_4960:
call Page0Call_366F
bit 7, (iy+0Eh)
jr nz, p03loc_4972
@@ -1674,7 +1674,7 @@
cp 0C6h ; '�'
ret z
-p03loc_4972: ; CODE XREF: CallCommon+14Aj
+p03loc_4972:
; CallCommon+150j
set 5, (iy+5)
bit 6, (iy+5)
@@ -1688,7 +1688,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4987: ; CODE XREF: seg001:46FDp seg001:737Fp
+p03sub_4987:
ld a, (curRow)
inc a
ld hl, winBtm
@@ -1701,7 +1701,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_499B: ; CODE XREF: p03sub_4987+Ej
+p03loc_499B:
call Page03_37BC
call Page0Call_3CE1
call p03sub_4A39
@@ -1713,7 +1713,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_378C: ; CODE XREF: seg001:47D1p seg001:47EAp ...
+Page03_378C:
ld a, (curRow)
or a
jr z, p03loc_49BE
@@ -1729,7 +1729,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_49BE: ; CODE XREF: Page03_378C+4j
+p03loc_49BE:
; Page03_378C+11j
call Page03_37BC
call Page0Call_3CF9
@@ -1742,14 +1742,14 @@
; =============== S U B R O U T I N E =======================================
-fDel: ; CODE XREF: CallCommon+Ej
+fDel:
; CallCommon+15Dp
call p03sub_48F5
call Page0Call_36B7
call Page03_37AA
call Page0Call_3D1D
-p03loc_49D5: ; CODE XREF: seg001:4CADp
+p03loc_49D5:
res 0, (iy+0Eh)
Page03_3C42:
@@ -1760,7 +1760,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR CallCommon
-fClear: ; CODE XREF: CallCommon+163j
+fClear:
call Page0Call_3BBB
finsDisp:
@@ -1774,7 +1774,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_49F1: ; CODE XREF: CallCommon+1C9j
+p03loc_49F1:
call Page0Call_36C3
pop de
ret z
@@ -1789,7 +1789,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_37AA: ; CODE XREF: RecallEd:Page03_3756p
+Page03_37AA:
; CallCommon+27p ...
push af
bit 1, (iy+2Ah)
@@ -1799,7 +1799,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4A07: ; CODE XREF: Page03_37AA+5j
+p03loc_4A07:
ld a, (winLeftEdge)
ld (curRow+1), a
pop af
@@ -1810,14 +1810,14 @@
; =============== S U B R O U T I N E =======================================
-Page03_37B0: ; CODE XREF: RecallEdp seg001:4C60p ...
+Page03_37B0:
ld a, 1
ld (curRow+1), a
ld c, a
call Page0Call_3D35
ld b, 0Eh
-p03loc_4A1A: ; CODE XREF: Page03_37B0+1Ej
+p03loc_4A1A:
ld a, (hl)
inc hl
inc c
@@ -1834,7 +1834,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4A31: ; CODE XREF: Page03_37B0+10j
+p03loc_4A31:
; Page03_37B0+14j ...
ld a, c
ld (winLeftEdge), a
@@ -1846,7 +1846,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4A39: ; CODE XREF: p03sub_4987+1Ap seg001:4BA3j
+p03sub_4A39:
ld c, 1Eh
ld a, (winTop)
jr FinsDisp02
@@ -1856,7 +1856,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4A40: ; CODE XREF: Page03_378C+1Ep
+p03sub_4A40:
ld c, 1Fh
jr p03loc_4A46
; ---------------------------------------------------------------------------
@@ -1864,7 +1864,7 @@
Page03_37B6:
ld c, 20h ; ' '
-p03loc_4A46: ; CODE XREF: p03sub_4A40+2j
+p03loc_4A46:
ld a, (winBtm)
dec a
jr FinsDisp02
@@ -1874,12 +1874,12 @@
; =============== S U B R O U T I N E =======================================
-Page03_37BC: ; CODE XREF: p03sub_4987:p03loc_499Bp
+Page03_37BC:
; Page03_378C:p03loc_49BEp ...
ld a, (curRow)
ld c, 20h ; ' '
-FinsDisp02: ; CODE XREF: p03sub_4A39+5j p03sub_4A40+Aj ...
+FinsDisp02:
ld b, a
ld a, (winLeftEdge)
push af
@@ -1900,11 +1900,11 @@
; ---------------------------------------------------------------------------
-p03loc_4A6F: ; CODE XREF: seg001:4CB6j seg001:7DE3j
+p03loc_4A6F:
call p03sub_48F5
ld bc, (errOffset)
-p03loc_4A76: ; CODE XREF: seg001:4A85j
+p03loc_4A76:
ld a, c
or b
jr z, p03loc_4A87
@@ -1917,14 +1917,14 @@
jr p03loc_4A76
; ---------------------------------------------------------------------------
-p03loc_4A87: ; CODE XREF: seg001:4A78j seg001:4A7Dj
+p03loc_4A87:
call Page0Call_3DE3
ret
; =============== S U B R O U T I N E =======================================
-closeeditbufnor: ; CODE XREF: seg001:4764p
+closeeditbufnor:
; ParseAndStoreSysVar+Ap ...
call CanAlphIns
bit 2, (iy+1)
@@ -1937,7 +1937,7 @@
; =============== S U B R O U T I N E =======================================
-ParseAndStoreSysVar: ; CODE XREF: seg001:46C6p p03sub_4727p ...
+ParseAndStoreSysVar:
call IsEditEmpty
jr nz, p03loc_4AAB
call p03sub_4742
@@ -1948,7 +1948,7 @@
jr p03loc_4ABE
; ---------------------------------------------------------------------------
-p03loc_4AAB: ; CODE XREF: ParseAndStoreSysVar+3j
+p03loc_4AAB:
; ParseAndStoreSysVar+8j
set 6, (iy+5)
call closeeditbufnor
@@ -1957,7 +1957,7 @@
call page0_166E
call Page0Call_36D5
-p03loc_4ABE: ; CODE XREF: ParseAndStoreSysVar+12j
+p03loc_4ABE:
ld hl, (unk_9700)
bit 5, (iy+5)
jr z, p03sub_4AE9
@@ -1970,14 +1970,14 @@
jr p03sub_4AE9
; ---------------------------------------------------------------------------
-p03loc_4AD8: ; CODE XREF: ParseAndStoreSysVar+33j
+p03loc_4AD8:
bit 2, (iy+35h)
jr z, p03loc_4AE5
ld a, 6
call Page0Call_362D
jr nz, p03sub_4AE9
-p03loc_4AE5: ; CODE XREF: ParseAndStoreSysVar+45j
+p03loc_4AE5:
ld a, (hl)
call Page0Call_3675
; End of function ParseAndStoreSysVar
@@ -1986,7 +1986,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4AE9: ; CODE XREF: seg001:477Cp
+p03sub_4AE9:
; ParseAndStoreSysVar+1Fj ...
call Page0Call_36DB
jr releaseBuffer
@@ -1997,7 +1997,7 @@
; =============== S U B R O U T I N E =======================================
-releaseBuffer: ; CODE XREF: Page03_3732+4Cp
+releaseBuffer:
; Page03_374A+10p ...
call page0_166E
rst 10h
@@ -2009,9 +2009,9 @@
; =============== S U B R O U T I N E =======================================
-DisplayEditSysVar: ; CODE XREF: seg001:46C9p p03sub_4727+7p ...
-
-; FUNCTION CHUNK AT 445F SIZE 00000033 BYTES
+DisplayEditSysVar:
+
+
call Page03_37AA
call Page0Call_3CC9
@@ -2024,7 +2024,7 @@
call Page0Call_362D
ret nz
-p03loc_4B16: ; CODE XREF: DisplayEditSysVar+14j
+p03loc_4B16:
jp p03loc_4574
; End of function DisplayEditSysVar
@@ -2052,7 +2052,7 @@
cp 0Dh
jr nz, p03loc_4B48
-p03loc_4B37: ; CODE XREF: seg001:4B31j
+p03loc_4B37:
ld a, (hl)
cp 3Ah ; ':'
jr z, p03loc_4B40
@@ -2061,7 +2061,7 @@
jr p03loc_4B47
; ---------------------------------------------------------------------------
-p03loc_4B40: ; CODE XREF: seg001:4B3Aj
+p03loc_4B40:
dec hl
ld a, (hl)
inc hl
@@ -2069,10 +2069,10 @@
jr z, p03loc_4B48
ld b, (hl)
-p03loc_4B47: ; CODE XREF: seg001:4B3Ej
+p03loc_4B47:
dec hl
-p03loc_4B48: ; CODE XREF: seg001:4B35j seg001:4B44j
+p03loc_4B48:
ld de, 8479h
jr p03loc_4B5E
; ---------------------------------------------------------------------------
@@ -2090,7 +2090,7 @@
inc b
ld de, 8479h
-p03loc_4B5E: ; CODE XREF: seg001:4B4Bj seg001:4B62j
+p03loc_4B5E:
ld a, (hl)
dec hl
ld (de), a
@@ -2101,7 +2101,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_37E6: ; CODE XREF: CommonKeys:p03loc_48FEp
+Page03_37E6:
res 0, (iy+0Eh)
call Page0Call_3645
call Page03_37AA
@@ -2113,7 +2113,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4B73: ; CODE XREF: CallCommon+EAp
+p03sub_4B73:
; p03sub_4B73+7j
call Page0Call_3699
ret z
@@ -2123,13 +2123,13 @@
; ---------------------------------------------------------------------------
-numPPutAway: ; CODE XREF: seg001:74C2j
+numPPutAway:
jp Page0Call_3D6B
; =============== S U B R O U T I N E =======================================
-p03sub_4B7F: ; CODE XREF: seg001:469Ap
+p03sub_4B7F:
; p03sub_748F:p03loc_74A0p
ld hl, p03loc_4AEE
call pushErrorHandleR
@@ -2148,7 +2148,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4B9D: ; CODE XREF: seg001:4B97j
+p03loc_4B9D:
cp 53h ; 'S'
ret z
call Page0Call_3CED
@@ -2161,7 +2161,7 @@
ld de, 3
ld hl, (unk_9700)
-p03loc_4BB4: ; CODE XREF: seg001:4BCAj
+p03loc_4BB4:
ld a, b
cp c
jr c, p03loc_4BCC
@@ -2172,23 +2172,23 @@
call Page0Call_362D
jr nz, p03loc_4BC7
-p03loc_4BC6: ; CODE XREF: seg001:4BBFj
+p03loc_4BC6:
ld a, (hl)
-p03loc_4BC7: ; CODE XREF: seg001:4BC4j
+p03loc_4BC7:
inc a
ret z
inc c
jr p03loc_4BB4
; ---------------------------------------------------------------------------
-p03loc_4BCC: ; CODE XREF: seg001:4BB6j
+p03loc_4BCC:
ld c, 1Fh
ld a, b
jp FinsDisp02
; ---------------------------------------------------------------------------
-p03loc_4BD2: ; CODE XREF: seg001:4B90j
+p03loc_4BD2:
ld a, (mcxCurApp)
cp 49h ; 'I'
jp z, p03loc_4C68
@@ -2202,7 +2202,7 @@
ld c, a
ld de, 3
-p03loc_4BEE: ; CODE XREF: seg001:4BF9j
+p03loc_4BEE:
inc c
add ix, de
call p03sub_4E6C
@@ -2229,15 +2229,15 @@
jr p03loc_4C21
; ---------------------------------------------------------------------------
-p03loc_4C1E: ; CODE XREF: seg001:4C0Fj
+p03loc_4C1E:
call setTitle
-p03loc_4C21: ; CODE XREF: seg001:4C1Cj seg001:4C6Fj ...
+p03loc_4C21:
pop hl
jr p03loc_4C5B
; ---------------------------------------------------------------------------
-p03loc_4C24: ; CODE XREF: seg001:4BF5j
+p03loc_4C24:
ld a, (winTop)
dec a
ld b, a
@@ -2246,7 +2246,7 @@
ld c, a
ld de, 0FFFDh
-p03loc_4C34: ; CODE XREF: seg001:4C3Ej
+p03loc_4C34:
dec c
add ix, de
call p03sub_4E6C
@@ -2269,7 +2269,7 @@
pop hl
inc l
-p03loc_4C5B: ; CODE XREF: seg001:4C22j
+p03loc_4C5B:
ld (curRow), hl
ld a, h
push af
@@ -2279,14 +2279,14 @@
ret
; ---------------------------------------------------------------------------
-p03loc_4C68: ; CODE XREF: seg001:4BD7j
+p03loc_4C68:
ld hl, (curRow)
push hl
call Page0Call_36E1
jr p03loc_4C21
; ---------------------------------------------------------------------------
-p03loc_4C71: ; CODE XREF: seg001:4BDCj
+p03loc_4C71:
ld hl, (curRow)
push hl
ld a, 7
@@ -2307,7 +2307,7 @@
call Page0Call_3D7D
call Page0Call_36F9
-numError02: ; CODE XREF: seg001:4C8Dj seg001:7DD2j
+numError02:
bit 2, (iy+1)
jr nz, p03loc_4CAA
call page0_166E
@@ -2316,7 +2316,7 @@
call pushErrorHandleR
call popErrorHandleR
-p03loc_4CAA: ; CODE XREF: seg001:4C99j
+p03loc_4CAA:
call Page0Call_3645
call p03loc_49D5
call Page03_37AA
@@ -2358,17 +2358,17 @@
ex de, hl
set 5, (hl)
-p03loc_4CEF: ; CODE XREF: seg001:4CD5j
+p03loc_4CEF:
ld hl, (chkDelPtr3)
set 5, (hl)
-p03loc_4CF4: ; CODE XREF: seg001:4D32j
+p03loc_4CF4:
ld a, (OP1M)
bit 6, a
jr z, p03loc_4D15
call page0_198
-p03loc_4CFE: ; CODE XREF: seg001:4D20j seg001:4D25j ...
+p03loc_4CFE:
ret z
ld a, b
and 1Fh
@@ -2380,7 +2380,7 @@
jp page0_91
; ---------------------------------------------------------------------------
-p03loc_4D15: ; CODE XREF: seg001:4CF9j
+p03loc_4D15:
bit 5, a
jr nz, p03loc_4D44
bit 4, a
@@ -2389,12 +2389,12 @@
jr p03loc_4CFE
; ---------------------------------------------------------------------------
-p03loc_4D22: ; CODE XREF: seg001:4D1Bj
+p03loc_4D22:
call page0_19D
jr p03loc_4CFE
; ---------------------------------------------------------------------------
-p03loc_4D27: ; CODE XREF: seg001:4CD0j
+p03loc_4D27:
pop bc
ld hl, (chkDelPtr3)
bit 5, (hl)
@@ -2411,20 +2411,20 @@
ld (OP1M), a
res 5, (hl)
-p03loc_4D44: ; CODE XREF: seg001:4D17j
+p03loc_4D44:
call page0_1A2
jr p03loc_4CFE
; =============== S U B R O U T I N E =======================================
-p03sub_4D49: ; CODE XREF: setTitle+74p p03sub_7278+6p ...
+p03sub_4D49:
push bc
push af
ld a, (winBtm)
ld b, a
-p03loc_4D4F: ; CODE XREF: p03sub_4D49+13j
+p03loc_4D4F:
ld a, (hl)
inc hl
or a
@@ -2435,7 +2435,7 @@
cp b
jr c, p03loc_4D4F
-p03loc_4D5E: ; CODE XREF: p03sub_4D49+Aj
+p03loc_4D5E:
pop bc
ld a, b
pop bc
@@ -2464,7 +2464,7 @@
ld a, b
jr z, p03loc_4D97
-p03loc_4D7B: ; CODE XREF: seg001:4D70j
+p03loc_4D7B:
bit 1, (iy+35h)
jr z, p03loc_4D8A
ld b, a
@@ -2473,14 +2473,14 @@
ld a, b
jr z, p03loc_4D97
-p03loc_4D8A: ; CODE XREF: seg001:4D7Fj
+p03loc_4D8A:
ld de, p03loc_4E74
add hl, de
ld de, sFont_record
call Mov8B
ld hl, sFont_record
-p03loc_4D97: ; CODE XREF: seg001:4D79j seg001:4D88j
+p03loc_4D97:
pop bc
ret
; ---------------------------------------------------------------------------
@@ -2494,7 +2494,7 @@
ld a, b
ret z
-p03loc_4DA7: ; CODE XREF: seg001:4D9Dj
+p03loc_4DA7:
bit 1, (iy+35h)
jr z, p03loc_4DB5
ld b, a
@@ -2503,7 +2503,7 @@
ld a, b
ret z
-p03loc_4DB5: ; CODE XREF: seg001:4DABj
+p03loc_4DB5:
ld de, p03loc_4E74
add hl, de
ld b, (hl)
@@ -2518,7 +2518,7 @@
jr z, p03loc_4DC7
add a, 4
-p03loc_4DC7: ; CODE XREF: seg001:4DC3j
+p03loc_4DC7:
pop hl
ld l, a
push hl
@@ -2577,13 +2577,13 @@
jr p03loc_4E40
; ---------------------------------------------------------------------------
-p03loc_4E3E: ; CODE XREF: seg001:4E23j
+p03loc_4E3E:
rst 10h
-p03loc_4E3F: ; CODE XREF: seg001:4E26j
+p03loc_4E3F:
ex de, hl
-p03loc_4E40: ; CODE XREF: seg001:4E1Fj seg001:4E3Cj
+p03loc_4E40:
call Page0Call_370B
jp c, ErrMemory
call popErrorHandleR
@@ -2605,7 +2605,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_4E6C: ; CODE XREF: p03sub_43DD+2Ap seg001:4BF1p ...
+p03sub_4E6C:
ld a, 0
bit 2, (iy+35h)
jr z, p03loc_4E78
@@ -2613,7 +2613,7 @@
call Page0Call_362D
ret nz
-p03loc_4E78: ; CODE XREF: p03sub_4E6C+6j
+p03loc_4E78:
ld a, (ix+0)
ret
; End of function p03sub_4E6C
@@ -4661,13 +4661,13 @@
.db 0
; ---------------------------------------------------------------------------
-Page03_3A50: ; CODE XREF: seg001:56BCj
+Page03_3A50:
ld hl, p03loc_569D
call AppInit
call Page0Call_36DB
set 3, (iy+14h)
-p03loc_5681: ; CODE XREF: seg001:569Aj
+p03loc_5681:
sub a
ld (winTop), a
call Page0Call_3D17
@@ -4713,7 +4713,7 @@
ret
; ---------------------------------------------------------------------------
-Page03_3A7A: ; CODE XREF: seg001:46B1j
+Page03_3A7A:
res 1, (iy+19h)
set 3, (iy+14h)
call RESETWINTOP
@@ -4724,7 +4724,7 @@
ld a, 53h ; 'S'
ld (mcxCurApp), a
-p03loc_56F0: ; CODE XREF: seg001:56E3j
+p03loc_56F0:
ld hl, p03loc_5814
call AppInit
ld hl, p03loc_58AB
@@ -4737,7 +4737,7 @@
ret
; ---------------------------------------------------------------------------
-Page03_3A38: ; CODE XREF: seg001:46A2j
+Page03_3A38:
bit 0, (iy+9)
jr z, JForceWindowSettings
call Page0Call_3F5D
@@ -4745,7 +4745,7 @@
ld a, 48h ; 'H'
ld (mcxCurApp), a
-JForceWindowSettings: ; CODE XREF: seg001:570Fj
+JForceWindowSettings:
call page0_176F
ld hl, p03loc_5814
call AppInit
@@ -4755,7 +4755,7 @@
call Page0Call_362D
jr nz, p03loc_574A
-p03loc_5732: ; CODE XREF: seg001:5729j
+p03loc_5732:
ld hl, p03loc_595D
ld a, 11h
bit 1, (iy+35h)
@@ -4765,7 +4765,7 @@
call Mov8B
call Page03_3714
-p03loc_574A: ; CODE XREF: seg001:5730j
+p03loc_574A:
call p03sub_5751
call Page03_3732
ret
@@ -4773,14 +4773,14 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5751: ; CODE XREF: seg001:p03loc_574Ap
+p03sub_5751:
bit 2, (iy+35h)
jr z, p03loc_575E
ld a, 7
call Page0Call_362D
jr nz, p03sub_5779
-p03loc_575E: ; CODE XREF: p03sub_5751+4j
+p03loc_575E:
ld hl, p03loc_5836
call page0_13
jr nz, p03sub_5779
@@ -4797,7 +4797,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5779: ; CODE XREF: p03sub_5751+Bj p03sub_5751+13j ...
+p03sub_5779:
ld (unk_9700), hl
call p03sub_43DD
ret
@@ -4805,7 +4805,7 @@
; ---------------------------------------------------------------------------
-Page03_3A6E: ; CODE XREF: seg001:46A7j
+Page03_3A6E:
ld hl, p03loc_5814
call AppInit
call page0_176F
@@ -4823,7 +4823,7 @@
ret
; ---------------------------------------------------------------------------
-Page03_3A4A: ; CODE XREF: seg001:46ACj
+Page03_3A4A:
bit 0, (iy+9)
jp nz, Page0Call_35F7
call InitNumVec
@@ -4847,7 +4847,7 @@
; =============== S U B R O U T I N E =======================================
-InitNumVec: ; CODE XREF: seg001:47FAp seg001:57B2p ...
+InitNumVec:
ld hl, p03loc_5814
call AppInit
ret
@@ -5262,7 +5262,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_597D: ; CODE XREF: SetXXOP2+9p
+p03sub_597D:
push af
call ShRAcc
ld b, a
@@ -5274,11 +5274,11 @@
jr p03loc_598E
; ---------------------------------------------------------------------------
-p03loc_598B: ; CODE XREF: p03sub_597D:p03loc_598Ej
+p03loc_598B:
add a, 16h
daa
-p03loc_598E: ; CODE XREF: p03sub_597D+Cj
+p03loc_598E:
djnz p03loc_598B
ret
; End of function p03sub_597D
@@ -5287,7 +5287,7 @@
; =============== S U B R O U T I N E =======================================
-SetXXOP1: ; CODE XREF: p03sub_62BC+1p
+SetXXOP1:
ld hl, OP1
jr p03loc_5999
; End of function SetXXOP1
@@ -5296,10 +5296,10 @@
; =============== S U B R O U T I N E =======================================
-SetXXOP2: ; CODE XREF: p03sub_614B+3Ap
+SetXXOP2:
ld hl, OP2
-p03loc_5999: ; CODE XREF: SetXXOP1+3j
+p03loc_5999:
push hl
push af
call OPSet0
@@ -5313,10 +5313,10 @@
jr p03loc_59AE
; ---------------------------------------------------------------------------
-p03loc_59AD: ; CODE XREF: SetXXOP2+10j
+p03loc_59AD:
inc (hl)
-p03loc_59AE: ; CODE XREF: SetXXOP2+15j
+p03loc_59AE:
inc hl
ld (hl), a
ret
@@ -5326,7 +5326,7 @@
; =============== S U B R O U T I N E =======================================
-SetXXXXOP2: ; CODE XREF: seg001:p03loc_432Ap
+SetXXXXOP2:
; p03sub_5E3D+20p ...
push hl
call OP2Set0
@@ -5354,7 +5354,7 @@
ld hl, 8484h
ld (hl), 85h ; '�'
-p03loc_59E4: ; CODE XREF: SetXXXXOP2+47j
+p03loc_59E4:
ld a, (OP2M)
cp 10h
ret nc
@@ -5374,13 +5374,13 @@
; =============== S U B R O U T I N E =======================================
-p03sub_59FA: ; CODE XREF: SetXXXXOP2+18p
+p03sub_59FA:
; SetXXXXOP2+21p ...
ret z
push hl
ld b, a
-p03loc_59FD: ; CODE XREF: p03sub_59FA+15j
+p03loc_59FD:
ld hl, 8487h
ld a, (hl)
add a, e
@@ -5405,7 +5405,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5A13: ; CODE XREF: CLine:p03loc_5BB2p
+p03sub_5A13:
; CLine+17Bp
call PopRealO6
call PopRealO5
@@ -5425,7 +5425,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5A27: ; CODE XREF: CLine:p03loc_5A96p CLine+67p
+p03sub_5A27:
ld hl, (FPS)
ld de, 0FFE5h
add hl, de
@@ -5442,7 +5442,7 @@
; =============== S U B R O U T I N E =======================================
-CLine: ; CODE XREF: p03sub_614B+6Cp p03sub_614B+E8p ...
+CLine:
bit 5, (iy+14h)
jr z, p03loc_5A41
@@ -5454,7 +5454,7 @@
push af
or a
-p03loc_5A49: ; CODE XREF: seg001:5A25j
+p03loc_5A49:
ld a, 2
bit 7, (iy+35h)
call nz, Page0Call_3483
@@ -5466,7 +5466,7 @@
BCALL_503E:
push af
-p03loc_5A57: ; CODE XREF: CLine+17j
+p03loc_5A57:
push bc
push de
push hl
@@ -5494,11 +5494,11 @@
call Page0Call_348F
ld (unk_9189), a
-p03loc_5A96: ; CODE XREF: CLine+41j
+p03loc_5A96:
call p03sub_5A27
ld (unk_918A), hl
-p03loc_5A9C: ; CODE XREF: CLine+167j CLine+174j
+p03loc_5A9C:
pop af
dec a
push af
@@ -5519,19 +5519,19 @@
jr z, p03loc_5AC7
ld e, 3Fh ; '?'
-p03loc_5AC1: ; CODE XREF: CLine+8Ej
+p03loc_5AC1:
call p03sub_5C4D
-p03loc_5AC4: ; CODE XREF: CLine+6Fj
+p03loc_5AC4:
jp p03loc_5D38
; ---------------------------------------------------------------------------
-p03loc_5AC7: ; CODE XREF: CLine+82j
+p03loc_5AC7:
ld e, 1
jr p03loc_5AC1
; ---------------------------------------------------------------------------
-p03loc_5ACB: ; CODE XREF: CLine+6Bj
+p03loc_5ACB:
ld a, h
or l
jp z, p03loc_5BB2
@@ -5554,12 +5554,12 @@
call CkOP1FP0
jr nz, p03loc_5B05
-p03loc_5AFF: ; CODE XREF: CLine+DEj
+p03loc_5AFF:
set 2, (ix+0)
jr p03loc_5B24
; ---------------------------------------------------------------------------
-p03loc_5B05: ; CODE XREF: CLine+C2j
+p03loc_5B05:
call OP1ToOP5
call CpyTo1FPST
call CpyTo2FPS2
@@ -5572,7 +5572,7 @@
call fpdiv
call OP1ToOP6
-p03loc_5B24: ; CODE XREF: CLine+ABj CLine+C8j
+p03loc_5B24:
pop hl
bit 1, (ix+0)
jr nz, p03loc_5B33
@@ -5581,7 +5581,7 @@
jr nz, p03loc_5B44
set 1, (ix+0)
-p03loc_5B33: ; CODE XREF: CLine+EEj
+p03loc_5B33:
push hl
ld hl, (FPS)
ld de, 0FFF7h
@@ -5592,12 +5592,12 @@
pop hl
ld h, l
-p03loc_5B44: ; CODE XREF: CLine+F2j
+p03loc_5B44:
bit 0, h
jr z, p03loc_5B5D
ld hl, Ymax
-p03loc_5B4B: ; CODE XREF: CLine+129j
+p03loc_5B4B:
ld (chkDelPtr2), hl
bit 2, (ix+0)
jr nz, p03loc_5B8A
@@ -5607,26 +5607,26 @@
jr p03loc_5B8E
; ---------------------------------------------------------------------------
-p03loc_5B5D: ; CODE XREF: CLine+10Bj
+p03loc_5B5D:
bit 1, h
jr z, p03loc_5B66
ld hl, Ymin
jr p03loc_5B4B
; ---------------------------------------------------------------------------
-p03loc_5B66: ; CODE XREF: CLine+124j
+p03loc_5B66:
bit 2, h
jr z, p03loc_5B6F
ld de, Xmax
jr p03loc_5B76
; ---------------------------------------------------------------------------
-p03loc_5B6F: ; CODE XREF: CLine+12Dj
+p03loc_5B6F:
bit 3, h
jr z, p03loc_5B8A
ld de, Xmin
-p03loc_5B76: ; CODE XREF: CLine+132j
+p03loc_5B76:
bit 2, (ix+0)
jr nz, p03loc_5B8E
ex de, hl
@@ -5636,10 +5636,10 @@
ld hl, OP1
ld (chkDelPtr2), hl
-p03loc_5B8A: ; CODE XREF: CLine+117j CLine+136j
+p03loc_5B8A:
ld de, (chkDelPtr1)
-p03loc_5B8E: ; CODE XREF: CLine+120j CLine+13Fj
+p03loc_5B8E:
bit 1, (ix+0)
jr nz, p03loc_5BA5
call CpyToFPS3
@@ -5649,14 +5649,14 @@
jp p03loc_5A9C
; ---------------------------------------------------------------------------
-p03loc_5BA5: ; CODE XREF: CLine+157j
+p03loc_5BA5:
call CpyToFPS1
ld de, (chkDelPtr2)
call CpyToFPST
jp p03loc_5A9C
; ---------------------------------------------------------------------------
-p03loc_5BB2: ; CODE XREF: CLine+92j
+p03loc_5BB2:
call p03sub_5A13
push bc
call p03sub_5A13
@@ -5671,17 +5671,17 @@
jr z, p03loc_5BD3
ld e, 3Fh ; '?'
-p03loc_5BCE: ; CODE XREF: CLine+19Aj
+p03loc_5BCE:
call p03sub_5C4D
jr p03loc_5BD7
; ---------------------------------------------------------------------------
-p03loc_5BD3: ; CODE XREF: CLine+18Fj
+p03loc_5BD3:
ld e, 1
jr p03loc_5BCE
; ---------------------------------------------------------------------------
-p03loc_5BD7: ; CODE XREF: CLine+182j CLine+188j ...
+p03loc_5BD7:
pop bc
pop de
pop hl
@@ -5691,7 +5691,7 @@
jr nc, p03loc_5BE1
dec h
-p03loc_5BE1: ; CODE XREF: CLine+1A3j
+p03loc_5BE1:
push de
call Page0Call_3495
pop de
@@ -5710,12 +5710,12 @@
jr z, p03loc_5C07
ld e, 3Fh ; '?'
-p03loc_5C02: ; CODE XREF: CLine+1CEj
+p03loc_5C02:
call p03sub_5C4D
jr p03loc_5C33
; ---------------------------------------------------------------------------
-p03loc_5C07: ; CODE XREF: CLine+1C3j
+p03loc_5C07:
ld e, 1
jr p03loc_5C02
; End of function CLine
@@ -5726,7 +5726,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_5C71
-p03loc_5C10: ; CODE XREF: CLine+3Bj p03sub_5C71+4Fj
+p03loc_5C10:
call FPOPCPLX
pop hl
pop hl
@@ -5735,12 +5735,12 @@
jr nc, p03loc_5C1B
dec a
-p03loc_5C1B: ; CODE XREF: p03sub_5C71-59j
+p03loc_5C1B:
call Page0Call_349B
jr p03loc_5C33
; ---------------------------------------------------------------------------
-p03loc_5C20: ; CODE XREF: CLine+32j p03sub_5C71+48j ...
+p03loc_5C20:
pop hl
pop hl
pop af
@@ -5748,7 +5748,7 @@
jr nc, p03loc_5C28
dec a
-p03loc_5C28: ; CODE XREF: p03sub_5C71-4Cj
+p03loc_5C28:
call Page0Call_349B
call FPOPCPLX
jr p03loc_5C33
@@ -5756,14 +5756,14 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_5D0A
-p03loc_5C30: ; CODE XREF: p03sub_5D0A+34j
+p03loc_5C30:
pop hl
pop hl
pop af
; END OF FUNCTION CHUNK FOR p03sub_5D0A
; START OF FUNCTION CHUNK FOR p03sub_5C71
-p03loc_5C33: ; CODE XREF: CLine+1AEj CLine+1B4j ...
+p03loc_5C33:
pop hl
pop de
pop bc
@@ -5774,7 +5774,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5C38: ; CODE XREF: CLine+3Ep CLine+72p ...
+p03sub_5C38:
bit 5, (iy+14h)
ret z
ld a, (unk_9775)
@@ -5786,7 +5786,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_5C4B: ; CODE XREF: p03sub_5C38+Aj p03sub_5C38+Ej
+p03loc_5C4B:
xor a
ret
; End of function p03sub_5C38
@@ -5795,7 +5795,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5C4D: ; CODE XREF: CLine:p03loc_5AC1p
+p03sub_5C4D:
; CLine:p03loc_5BCEp ...
push bc
ld c, e
@@ -5807,19 +5807,19 @@
cp 1
jr nz, p03loc_5C62
-p03loc_5C5C: ; CODE XREF: p03sub_5C4D+13j
+p03loc_5C5C:
pop af
ret
; ---------------------------------------------------------------------------
-p03loc_5C5E: ; CODE XREF: p03sub_5C4D+9j
+p03loc_5C5E:
cp 3Fh ; '?'
jr z, p03loc_5C5C
-p03loc_5C62: ; CODE XREF: p03sub_5C4D+Dj
+p03loc_5C62:
pop af
-p03loc_5C63: ; CODE XREF: p03sub_5C4D+21j
+p03loc_5C63:
push af
push bc
ld d, 3
@@ -5836,10 +5836,10 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5C71: ; CODE XREF: CLine+11Ap CLine+146p
-
-; FUNCTION CHUNK AT 5C10 SIZE 00000020 BYTES
-; FUNCTION CHUNK AT 5C33 SIZE 00000005 BYTES
+p03sub_5C71:
+
+
+
push af
rst 20h
@@ -5854,7 +5854,7 @@
jr c, p03loc_5C84
ex de, hl
-p03loc_5C84: ; CODE XREF: p03sub_5C71+10j
+p03loc_5C84:
push hl
ld bc, 12h
add hl, bc
@@ -5893,23 +5893,23 @@
jp p03loc_5C20
; ---------------------------------------------------------------------------
-p03loc_5CC6: ; CODE XREF: p03sub_5C71+2Ej
+p03loc_5CC6:
pop bc
-p03loc_5CC7: ; CODE XREF: p03sub_5C71+7Fj
+p03loc_5CC7:
pop hl
pop de
jr p03loc_5CD2
; ---------------------------------------------------------------------------
-p03loc_5CCB: ; CODE XREF: p03sub_5C71+1Ej p03sub_5C71+40j ...
+p03loc_5CCB:
ld bc, 12h
add hl, bc
ex de, hl
add hl, bc
ex de, hl
-p03loc_5CD2: ; CODE XREF: p03sub_5C71+23j p03sub_5C71+58j ...
+p03loc_5CD2:
pop af
push de
push af
@@ -5927,14 +5927,14 @@
ret
; ---------------------------------------------------------------------------
-p03loc_5CEF: ; CODE XREF: p03sub_5C71+3Bj
+p03loc_5CEF:
sub b
jr c, p03loc_5CC7
sub 0Dh
jr nc, p03loc_5CF7
cpl
-p03loc_5CF7: ; CODE XREF: p03sub_5C71+83j
+p03loc_5CF7:
ld b, a
ld a, (OP2+1)
ld d, a
@@ -5943,7 +5943,7 @@
jr nc, p03loc_5D03
cpl
-p03loc_5D03: ; CODE XREF: p03sub_5C71+8Fj
+p03loc_5D03:
sub b
pop hl
pop de
@@ -5955,9 +5955,9 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5D0A: ; CODE XREF: CLine+B9p CLine+D5p
-
-; FUNCTION CHUNK AT 5C30 SIZE 00000003 BYTES
+p03sub_5D0A:
+
+
call CkOP1FP0
ret z
@@ -5970,7 +5970,7 @@
sub 0Ch
ret c
-p03loc_5D1E: ; CODE XREF: p03sub_5D0A+2Bj
+p03loc_5D1E:
pop hl
pop de
push af
@@ -5981,7 +5981,7 @@
and b
jr nz, p03loc_5D37
-p03loc_5D29: ; CODE XREF: p03sub_5D0A+19j
+p03loc_5D29:
pop af
push de
push hl
@@ -5989,16 +5989,16 @@
jp OP1Set0
; ---------------------------------------------------------------------------
-p03loc_5D32: ; CODE XREF: p03sub_5D0A+Fj
+p03loc_5D32:
sub 0F5h ; '�'
ret nc
jr p03loc_5D1E
; ---------------------------------------------------------------------------
-p03loc_5D37: ; CODE XREF: CLine+75j p03sub_5D0A+1Dj
+p03loc_5D37:
pop af
-p03loc_5D38: ; CODE XREF: CLine+64j CLine:p03loc_5AC4j
+p03loc_5D38:
ld de, 24h ; '$'
call DeallocFPS1
jp p03loc_5C30
@@ -6019,7 +6019,7 @@
res 1, (iy+1Eh)
res 2, (iy+1Eh)
-p03loc_5D5B: ; CODE XREF: seg001:5D51j
+p03loc_5D5B:
call page0_FB5
call CkOP1FP0
jr nz, p03loc_5D6F
@@ -6028,11 +6028,11 @@
call ckop2pos
ret z
-p03loc_5D6C: ; CODE XREF: seg001:5D44j seg001:5D66j
+p03loc_5D6C:
jp ErrDomain
; ---------------------------------------------------------------------------
-p03loc_5D6F: ; CODE XREF: seg001:5D61j
+p03loc_5D6F:
call CkOP2FP0
jp z, OP1Set1
xor a
@@ -6052,7 +6052,7 @@
ld (iy+1Eh), a
call fprecip
-p03loc_5D9D: ; CODE XREF: seg001:5D90j
+p03loc_5D9D:
call Page0Call_3AA7
jr c, p03loc_5DB3
ld hl, 8484h
@@ -6063,14 +6063,14 @@
jr p03loc_5DD6
; ---------------------------------------------------------------------------
-p03loc_5DB3: ; CODE XREF: seg001:5DA0j
+p03loc_5DB3:
ld d, 0Ch
call Page0Call_39C9
ld hl, 8479h
call CKInt
jp nz, Page0Call_38AF
-p03loc_5DC1: ; CODE XREF: seg001:5DA8j
+p03loc_5DC1:
ld hl, 8479h
call CKOdd
jr nz, p03loc_5DD2
@@ -6079,17 +6079,17 @@
jr p03loc_5DD6
; ---------------------------------------------------------------------------
-p03loc_5DD2: ; CODE XREF: seg001:5DC7j
+p03loc_5DD2:
pop af
or 80h ; '�'
push af
-p03loc_5DD6: ; CODE XREF: seg001:5DB1j seg001:5DD0j
+p03loc_5DD6:
call PopRealO2
call PopRealO1
call ClrOP1S
-p03loc_5DDF: ; CODE XREF: seg001:5D7Dj
+p03loc_5DDF:
call OP1ToOP6
call OP2ToOP1
bit 1, (iy+1Eh)
@@ -6113,19 +6113,19 @@
jr p03loc_5E18
; ---------------------------------------------------------------------------
-p03loc_5E12: ; CODE XREF: seg001:5E19j
+p03loc_5E12:
daa
push af
call FPMult
pop af
-p03loc_5E18: ; CODE XREF: seg001:5E10j
+p03loc_5E18:
dec a
jr nz, p03loc_5E12
jr p03loc_5E38
; ---------------------------------------------------------------------------
-p03loc_5E1D: ; CODE XREF: seg001:5DF5j seg001:5DFCj ...
+p03loc_5E1D:
ld c, 1
call Page0Call_3861
call CkOP1FP0
@@ -6134,13 +6134,13 @@
jr p03loc_5E38
; ---------------------------------------------------------------------------
-p03loc_5E2C: ; CODE XREF: seg001:5E25j
+p03loc_5E2C:
call OP6ToOP2
call page0_CFA
call LJNORND
call Page0Call_3867
-p03loc_5E38: ; CODE XREF: seg001:5E1Bj seg001:5E2Aj
+p03loc_5E38:
pop af
ld (OP1), a
ret
@@ -6148,7 +6148,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5E3D: ; CODE XREF: seg001:6043p seg001:6048p ...
+p03sub_5E3D:
call p03sub_67B2
bit 0, (hl)
ret z
@@ -6173,7 +6173,7 @@
jr p03loc_5E79
; ---------------------------------------------------------------------------
-p03loc_5E65: ; CODE XREF: p03sub_5E3D+1Bj
+p03loc_5E65:
push bc
ld (OP6), bc
ld (iMathPtr1), hl
@@ -6182,7 +6182,7 @@
call Page0Call_3B3D
call p03sub_6AF7
-p03loc_5E79: ; CODE XREF: p03sub_5E3D+26j
+p03loc_5E79:
call Page0Call_38A3
ld hl, p03loc_6AFE
call page0_EC1
@@ -6202,10 +6202,10 @@
jr nc, p03loc_5EA8
call OP3ToOP1
-p03loc_5EA5: ; CODE XREF: p03sub_5E3D+58j
+p03loc_5EA5:
call CpyO1ToFPS2
-p03loc_5EA8: ; CODE XREF: p03sub_5E3D+63j
+p03loc_5EA8:
pop hl
ld (OP6), hl
call Page0Call_3B37
@@ -6222,10 +6222,10 @@
jr c, p03loc_5ED4
call OP3ToOP1
-p03loc_5ED1: ; CODE XREF: p03sub_5E3D+84j
+p03loc_5ED1:
call CpyO1ToFPS4
-p03loc_5ED4: ; CODE XREF: p03sub_5E3D+8Fj
+p03loc_5ED4:
call OP5ToOP1
call CpyTo2FPS4
rst 30h
@@ -6240,7 +6240,7 @@
ret c
call OP3ToOP1
-p03loc_5EF9: ; CODE XREF: p03sub_5E3D+ADj
+p03loc_5EF9:
jp CpyO1ToFPS1
; End of function p03sub_5E3D
@@ -6248,7 +6248,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5EFC: ; CODE XREF: seg001:60ADp seg001:60B2p ...
+p03sub_5EFC:
ld (curPlotNumber), a
call p03sub_67B2
bit 0, (hl)
@@ -6280,7 +6280,7 @@
call p03sub_6AF7
call p03sub_5FC3
-p03loc_5F3B: ; CODE XREF: p03sub_5EFC+23j
+p03loc_5F3B:
pop hl
push hl
ld (OP6), hl
@@ -6293,10 +6293,10 @@
jr p03loc_5F56
; ---------------------------------------------------------------------------
-p03loc_5F53: ; CODE XREF: p03sub_5EFC+4Aj p03sub_5EFC+50j
+p03loc_5F53:
call p03sub_5F89
-p03loc_5F56: ; CODE XREF: p03sub_5EFC+55j
+p03loc_5F56:
pop hl
push hl
ld (OP6), hl
@@ -6309,10 +6309,10 @@
jr p03loc_5F71
; ---------------------------------------------------------------------------
-p03loc_5F6E: ; CODE XREF: p03sub_5EFC+65j p03sub_5EFC+6Bj
+p03loc_5F6E:
call p03sub_5FA4
-p03loc_5F71: ; CODE XREF: p03sub_5EFC+70j
+p03loc_5F71:
pop hl
pop af
cp 5
@@ -6323,7 +6323,7 @@
call p03sub_640C
res 2, (iy+1Dh)
-locret_5F88: ; CODE XREF: p03sub_5EFC+79j
+locret_5F88:
ret
; End of function p03sub_5EFC
@@ -6331,7 +6331,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5F89: ; CODE XREF: p03sub_5EFC:p03loc_5F53p
+p03sub_5F89:
; p03sub_640C:p03loc_632Cp
call OP1ToOP3
bit 4, (iy+1Ah)
@@ -6341,7 +6341,7 @@
ret c
call OP3ToOP1
-p03loc_5F9C: ; CODE XREF: p03sub_5F89+7j
+p03loc_5F9C:
call CpyO1ToFPS1
res 7, (iy+1Ah)
ret
@@ -6351,7 +6351,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5FA4: ; CODE XREF: p03sub_5EFC:p03loc_5F6Ep
+p03sub_5FA4:
; p03sub_640C-DAp
call OP1ToOP3
bit 4, (iy+1Ah)
@@ -6362,7 +6362,7 @@
ret nc
call OP3ToOP1
-p03loc_5FBB: ; CODE XREF: p03sub_5FA4+Bj
+p03loc_5FBB:
call CpyO1ToFPST
res 7, (iy+1Ah)
ret
@@ -6372,7 +6372,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5FC3: ; CODE XREF: p03sub_5EFC+3Cp p03sub_5EFC+6Dp ...
+p03sub_5FC3:
call OP1ToOP3
bit 1, (iy+1Ah)
set 1, (iy+1Ah)
@@ -6382,7 +6382,7 @@
ret nc
call OP3ToOP1
-p03loc_5FDA: ; CODE XREF: p03sub_5FC3+Bj
+p03loc_5FDA:
call CpyO1ToFPS2
res 7, (iy+1Ah)
ret
@@ -6392,7 +6392,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5FE2: ; CODE XREF: p03sub_5EFC+47p p03sub_5EFC+62p
+p03sub_5FE2:
pop de
pop hl
pop af
@@ -6407,7 +6407,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_5FEB: ; CODE XREF: p03sub_5EFC+2Ep p03sub_5EFC+52p ...
+p03sub_5FEB:
call OP1ToOP3
bit 1, (iy+1Ah)
jr z, p03loc_5FFE
@@ -6416,7 +6416,7 @@
ret c
call OP3ToOP1
-p03loc_5FFE: ; CODE XREF: p03sub_5FEB+7j
+p03loc_5FFE:
call CpyO1ToFPS3
res 7, (iy+1Ah)
ret
@@ -6424,7 +6424,7 @@
; ---------------------------------------------------------------------------
-ZmStats: ; CODE XREF: seg001:7091j
+ZmStats:
call Page0Call_3549
call Bit_VertSplit
jr z, p03loc_6019
@@ -6432,7 +6432,7 @@
call nz, Page0Call_34AD
res 2, (iy+1Fh)
-p03loc_6019: ; CODE XREF: seg001:600Cj
+p03loc_6019:
ld hl, 2Dh ; '-'
call AllocFPS1
res 4, (iy+1Ah)
@@ -6458,7 +6458,7 @@
jr z, p03loc_60AB
ld b, 5
-p03loc_6057: ; CODE XREF: seg001:605Dj
+p03loc_6057:
push bc
call CpyTo1FPS4
rst 18h
@@ -6489,13 +6489,13 @@
jr z, p03loc_609F
ld hl, 807Fh
-p03loc_609F: ; CODE XREF: seg001:609Aj
+p03loc_609F:
ld (OP2+1), hl
call FPMult
call InvOP1S
call CpyO1ToFPS2
-p03loc_60AB: ; CODE XREF: seg001:6053j
+p03loc_60AB:
ld a, 1
call p03sub_5EFC
ld a, 2
@@ -6506,7 +6506,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_60BA: ; CODE XREF: seg001:605Fp
+p03sub_60BA:
bit 4, (iy+1Ah)
ld de, 2Dh ; '-'
jp z, DeallocFPS1
@@ -6530,7 +6530,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_60E6: ; CODE XREF: p03sub_60BA+Dp p03sub_60BA+26p
+p03sub_60E6:
push af
call CpyTo1FPS1
call CpyTo2FPST
@@ -6545,7 +6545,7 @@
ld a, 17h
ld (OP2M), a
-p03loc_6104: ; CODE XREF: p03sub_60E6+17j
+p03loc_6104:
call FPMult
call p03sub_6B07
call nz, OP1Set0
@@ -6570,7 +6570,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_612E: ; CODE XREF: seg001:606Bp seg001:6073p ...
+p03sub_612E:
call CpyTo2FPST
call cpop1op2
ret c
@@ -6581,7 +6581,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6138: ; CODE XREF: seg001:6068p seg001:6070p ...
+p03sub_6138:
call p03sub_67B2
bit 0, (hl)
ret z
@@ -6599,7 +6599,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_614B: ; CODE XREF: p03sub_640C+2Cj seg001:66E7p
+p03sub_614B:
call OP1Set0
call p03sub_6B07
call nz, PushRealO1
@@ -6643,34 +6643,34 @@
bit 3, (iy+13h)
call z, CLine
-p03loc_61BA: ; CODE XREF: p03sub_614B+66j
+p03loc_61BA:
pop bc
ld c, 1
-p03loc_61BD: ; CODE XREF: p03sub_627F+16j
+p03loc_61BD:
ld hl, (XOutDat)
call ldHLind
-p03loc_61C3: ; CODE XREF: p03sub_614B+110j
+p03loc_61C3:
push bc
push hl
push hl
call p03sub_62BC
call CpyO1ToFPS1
-p03loc_61CC: ; CODE XREF: p03sub_6298+21j
+p03loc_61CC:
call FPSMINUS9
ex de, hl
call OPSet0DE
pop hl
-p03loc_61D4: ; CODE XREF: p03sub_614B+CCj
+p03loc_61D4:
call p03sub_6B07
jr nz, p03loc_61DE
call page0_189
jr nz, p03loc_6224
-p03loc_61DE: ; CODE XREF: p03sub_614B+8Cj
+p03loc_61DE:
push hl
ld de, (XOutDat)
call Page0Call_3AF5
@@ -6691,12 +6691,12 @@
call CkOP1Pos
jp nz, ErrStat
-p03loc_620C: ; CODE XREF: p03sub_614B+B4j
+p03loc_620C:
call CpyTo2FPST
rst 30h
call CpyO1ToFPST
-p03loc_6213: ; CODE XREF: p03sub_614B+A1j p03sub_614B+A9j
+p03loc_6213:
pop hl
dec hl
ld a, h
@@ -6707,13 +6707,13 @@
bit 3, (iy+13h)
jr z, p03loc_6227
-p03loc_6224: ; CODE XREF: p03sub_614B+91j
+p03loc_6224:
pop hl
pop bc
ret
; ---------------------------------------------------------------------------
-p03loc_6227: ; CODE XREF: p03sub_614B+D7j
+p03loc_6227:
call CpyTo4FPST
call CpyTo3FPS2
call OP2Set0
@@ -6731,7 +6731,7 @@
call CpyO1ToFPS2
call CLine
-p03loc_6257: ; CODE XREF: p03sub_614B+132j
+p03loc_6257:
pop hl
pop bc
inc c
@@ -6744,7 +6744,7 @@
jp PopRealO1
; ---------------------------------------------------------------------------
-p03loc_626B: ; CODE XREF: p03sub_614B+D1j
+p03loc_626B:
call CpyTo1FPST
call CpyTo2FPS4
call cpop1op2
@@ -6756,7 +6756,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_627F: ; CODE XREF: seg001:p03loc_66ECp
+p03sub_627F:
call CpyTo1FPS3
call Page0Call_3B5B
ld hl, 8E65h
@@ -6776,7 +6776,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6298: ; CODE XREF: seg001:68F9p
+p03sub_6298:
ld a, (unk_8E65)
dec a
ret z
@@ -6801,7 +6801,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_62BC: ; CODE XREF: p03sub_614B+7Bp p03sub_6298+13p
+p03sub_62BC:
ld a, c
call SetXXOP1
ld hl, Xscl
@@ -6816,18 +6816,18 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_640C
-p03loc_62D4: ; CODE XREF: p03sub_640C-Fj
+p03loc_62D4:
set 4, (iy+3)
jr p03loc_62DE
; ---------------------------------------------------------------------------
-p03loc_62DA: ; CODE XREF: p03sub_640C-12j
+p03loc_62DA:
res 4, (iy+3)
-p03loc_62DE: ; CODE XREF: p03sub_640C-134j
+p03loc_62DE:
res 3, (iy+1Dh)
-p03loc_62E2: ; CODE XREF: p03sub_640C+72j
+p03loc_62E2:
ld b, d
ld hl, (XOutDat)
call ldHLind
@@ -6842,15 +6842,15 @@
jr nz, p03loc_62FE
res 4, (iy+3)
-p03loc_62FE: ; CODE XREF: p03sub_640C-114j
+p03loc_62FE:
rst 18h
rst 18h
-p03loc_6300: ; CODE XREF: p03sub_640C-75j
+p03loc_6300:
call page0_189
jp nz, p03loc_639A
-p03loc_6306: ; CODE XREF: p03sub_640C-119j
+p03loc_6306:
pop af
pop hl
push hl
@@ -6870,21 +6870,21 @@
jr p03loc_6335
; ---------------------------------------------------------------------------
-p03loc_632C: ; CODE XREF: p03sub_640C-EDj
+p03loc_632C:
call p03sub_5F89
call OP3ToOP1
call p03sub_5FA4
-p03loc_6335: ; CODE XREF: p03sub_640C-E2j
+p03loc_6335:
jp p03loc_638D
; ---------------------------------------------------------------------------
-p03loc_6338: ; CODE XREF: p03sub_640C-F3j
+p03loc_6338:
call PUSHMCPLXO1
jr p03loc_634E
; ---------------------------------------------------------------------------
-p03loc_633D: ; CODE XREF: p03sub_640C-FDj
+p03loc_633D:
ld de, (XOutDat)
call Page0Call_3AF5
rst 18h
@@ -6893,7 +6893,7 @@
call Page0Call_3AF5
rst 18h
-p03loc_634E: ; CODE XREF: p03sub_640C-D1j
+p03loc_634E:
call POINT_STAT_HLP
jr z, p03loc_635B
bit 4, (iy+3)
@@ -6901,7 +6901,7 @@
jr p03loc_638D
; ---------------------------------------------------------------------------
-p03loc_635B: ; CODE XREF: p03sub_640C-BBj
+p03loc_635B:
pop af
push af
call Page0Call_34B9
@@ -6912,11 +6912,11 @@
jr p03loc_638D
; ---------------------------------------------------------------------------
-p03loc_636D: ; CODE XREF: p03sub_640C-ACj
+p03loc_636D:
bit 4, (iy+3)
jr z, p03loc_638D
-p03loc_6373: ; CODE XREF: p03sub_640C-B5j p03sub_640C-A6j
+p03loc_6373:
res 1, (iy+2)
call CpyTo3FPS1
call CpyTo4FPST
@@ -6931,7 +6931,7 @@
or l
call nz, CLine
-p03loc_638D: ; CODE XREF: p03sub_640C:p03loc_6335j
+p03loc_638D:
; p03sub_640C-B3j ...
pop af
pop de
@@ -6944,7 +6944,7 @@
sbc hl, de
jp nc, p03loc_6300
-p03loc_639A: ; CODE XREF: p03sub_640C-109j
+p03loc_639A:
pop hl
pop hl
pop hl
@@ -6956,7 +6956,7 @@
; =============== S U B R O U T I N E =======================================
-nullsub_1: ; CODE XREF: seg001:66F4p seg001:672Dp ...
+nullsub_1:
ret
; End of function nullsub_1
@@ -6970,7 +6970,7 @@
; =============== S U B R O U T I N E =======================================
-POINT_STAT_HLP: ; CODE XREF: p03sub_640C:p03loc_634Ep
+POINT_STAT_HLP:
; p03sub_654A+Dp
ld de, 0FFF7h
call Page0Call_3489
@@ -6979,13 +6979,13 @@
or a
jr z, p03loc_63C3
-p03loc_63BD: ; CODE XREF: POINT_STAT_HLP+6j
+p03loc_63BD:
call POPMCPLXO1
or 1
ret
; ---------------------------------------------------------------------------
-p03loc_63C3: ; CODE XREF: POINT_STAT_HLP+Cj
+p03loc_63C3:
call CpyTo1FPS1
ld de, OP1
call Page0Call_348F
@@ -7003,7 +7003,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_63E0: ; CODE XREF: p03sub_640C+7Ap seg001:6727p
+p03sub_63E0:
set 3, (iy+16h)
res 4, (iy+16h)
call p03sub_6AF7
@@ -7017,7 +7017,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_640C
-p03loc_63F9: ; CODE XREF: p03sub_640C+1Ej
+p03loc_63F9:
or a
jp z, p03loc_62DA
jp p03loc_62D4
@@ -7033,10 +7033,10 @@
; =============== S U B R O U T I N E =======================================
-p03sub_640C: ; CODE XREF: p03sub_5EFC+85p
-
-; FUNCTION CHUNK AT 62D4 SIZE 000000D1 BYTES
-; FUNCTION CHUNK AT 63F9 SIZE 00000007 BYTES
+p03sub_640C:
+
+
+
ld a, (hl)
push af
@@ -7076,7 +7076,7 @@
inc hl
push hl
-p03loc_645A: ; CODE XREF: p03sub_640C+5Aj
+p03loc_645A:
pop bc
dec bc
ld a, b
@@ -7089,7 +7089,7 @@
jr p03loc_645A
; ---------------------------------------------------------------------------
-p03loc_6468: ; CODE XREF: p03sub_640C+52j
+p03loc_6468:
pop hl
ld de, 1
call HEAP_SORT
@@ -7101,10 +7101,10 @@
jp p03loc_62E2
; ---------------------------------------------------------------------------
-p03loc_6481: ; CODE XREF: p03sub_640C+31j
+p03loc_6481:
res 6, (iy+14h)
-p03loc_6485: ; CODE XREF: p03sub_640C+26j
+p03loc_6485:
push de
call p03sub_63E0
call p03sub_6583
@@ -7160,7 +7160,7 @@
pop af
ld (unk_84B5), a
-p03loc_651C: ; CODE XREF: p03sub_640C+120j
+p03loc_651C:
ld bc, (OP6)
dec bc
ld (OP6), bc
@@ -7171,7 +7171,7 @@
jr p03loc_651C
; ---------------------------------------------------------------------------
-p03loc_652E: ; CODE XREF: p03sub_640C+11Bj
+p03loc_652E:
; p03sub_640C+136j
ld bc, (OP6M)
inc bc
@@ -7184,7 +7184,7 @@
jr p03loc_652E
; ---------------------------------------------------------------------------
-p03loc_6544: ; CODE XREF: p03sub_640C+131j
+p03loc_6544:
ld de, 48h ; 'H'
jp DeallocFPS1
; End of function p03sub_640C
@@ -7193,7 +7193,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_654A: ; CODE XREF: p03sub_640C+11Dp
+p03sub_654A:
; p03sub_640C+133p
ld (OP6), bc
call GET_X_INDIRECT
@@ -7212,7 +7212,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6566: ; CODE XREF: p03sub_640C+F7p p03sub_640C+FDp
+p03sub_6566:
call OP1ToOP3
call CpyTo2FPS1
call CpyTo4FPST
@@ -7223,11 +7223,11 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6571: ; CODE XREF: p03sub_640C+B0p p03sub_640C+BEp
+p03sub_6571:
call CPYTO3ES2
call CPYTO4EST
-p03loc_6577: ; CODE XREF: p03sub_6566+9j p03sub_657B+6j
+p03loc_6577:
call CLine
ret
; End of function p03sub_6571
@@ -7236,7 +7236,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_657B: ; CODE XREF: p03sub_640C+C7p p03sub_640C+D0p
+p03sub_657B:
call CPYTO3ES1
call CpyTo4FPST
jr p03loc_6577
@@ -7246,7 +7246,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6583: ; CODE XREF: p03sub_640C+7Dp
+p03sub_6583:
; p03sub_640C+100p ...
ld de, p03loc_65C8
; End of function p03sub_6583
@@ -7255,7 +7255,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6586: ; CODE XREF: p03sub_640C+A4p p03sub_640C+B6p ...
+p03sub_6586:
ld a, (unk_8E64)
ld c, a
ld hl, curPlotNumber
@@ -7270,18 +7270,18 @@
jr z, p03loc_659F
ld a, 3
-p03loc_659F: ; CODE XREF: p03sub_6586+Cj p03sub_6586+15j
+p03loc_659F:
dec a
call CheckSplitFlag
jr z, p03loc_65A7
add a, 3
-p03loc_65A7: ; CODE XREF: p03sub_6586+1Dj
+p03loc_65A7:
call Bit_VertSplit
jr z, p03loc_65AE
add a, 6
-p03loc_65AE: ; CODE XREF: p03sub_6586+24j
+p03loc_65AE:
ld l, a
ld h, 0
add hl, de
@@ -7350,7 +7350,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_65F5: ; CODE XREF: p03sub_5E3D+10p p03sub_5EFC+14p ...
+p03sub_65F5:
ld de, 0FFF0h
add hl, de
ld b, a
@@ -7367,7 +7367,7 @@
jr z, p03loc_6612
res 6, (iy+1Ah)
-p03loc_6612: ; CODE XREF: p03sub_65F5+17j
+p03loc_6612:
ld de, 0FFF1h
add hl, de
call p03sub_6646
@@ -7386,24 +7386,24 @@
or a
jr z, p03loc_6635
-p03loc_6630: ; CODE XREF: p03sub_65F5+4Fj
+p03loc_6630:
sbc hl, bc
jp nz, ErrDimMismatch
-p03loc_6635: ; CODE XREF: p03sub_65F5+39j p03sub_65F5+47j
+p03loc_6635:
pop af
cp 2
pop de
ret
; ---------------------------------------------------------------------------
-p03loc_663A: ; CODE XREF: p03sub_65F5+28j
+p03loc_663A:
push de
pop bc
jr p03loc_6635
; ---------------------------------------------------------------------------
-p03loc_663E: ; CODE XREF: p03sub_65F5+2Dj
+p03loc_663E:
call p03sub_6653
ex de, hl
pop bc
@@ -7415,12 +7415,12 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6646: ; CODE XREF: p03sub_65F5+21p
+p03sub_6646:
push hl
call p03sub_6675
ld (XOutDat), hl
-p03loc_664D: ; CODE XREF: p03sub_6653+7j p03sub_665C+Aj ...
+p03loc_664D:
pop hl
ld bc, 5
add hl, bc
@@ -7431,7 +7431,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6653: ; CODE XREF: p03sub_65F5:p03loc_663Ep
+p03sub_6653:
push hl
call p03sub_6675
ld (YOutDat), hl
@@ -7442,7 +7442,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_665C: ; CODE XREF: p03sub_65F5+30p
+p03sub_665C:
push hl
ld a, (hl)
cp 31h ; '1'
@@ -7452,10 +7452,10 @@
jr p03loc_664D
; ---------------------------------------------------------------------------
-p03loc_6668: ; CODE XREF: p03sub_665C+4j
+p03loc_6668:
call p03sub_6675
-p03loc_666B: ; CODE XREF: seg001:6673j
+p03loc_666B:
ld (fOutDat), hl
jr p03loc_664D
; End of function p03sub_665C
@@ -7467,7 +7467,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6675: ; CODE XREF: p03sub_6646+1p p03sub_6653+1p ...
+p03sub_6675:
call p03sub_6692
call Page0Call_241E
jp c, ErrStatPlot
@@ -7490,7 +7490,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6692: ; CODE XREF: p03sub_6675p p03sub_67CD+9p ...
+p03sub_6692:
ld de, 8479h
ld a, 5Dh ; ']'
ld (de), a
@@ -7515,10 +7515,10 @@
cp 1
jr nz, p03loc_66BC
-p03loc_66BB: ; CODE XREF: seg001:66BEj
+p03loc_66BB:
xor a
-p03loc_66BC: ; CODE XREF: seg001:66B9j
+p03loc_66BC:
cp 5
jr z, p03loc_66BB
ld hl, 8D1Eh
@@ -7527,7 +7527,7 @@
ld hl, 1
ld (unk_8E65), hl
-p03loc_66CC: ; CODE XREF: seg001:66C4j
+p03loc_66CC:
ld a, b
cp 2
jp c, p03loc_6897
@@ -7542,10 +7542,10 @@
jr p03loc_66EF
; ---------------------------------------------------------------------------
-p03loc_66EC: ; CODE XREF: seg001:68BAj
+p03loc_66EC:
call p03sub_627F
-p03loc_66EF: ; CODE XREF: seg001:66EAj seg001:68FCj
+p03loc_66EF:
ld a, 4
ld (unk_8D1E), a
call nullsub_1
@@ -7558,27 +7558,27 @@
call CpyTo2FPS2
rst 30h
-p03loc_670D: ; CODE XREF: seg001:6736j
+p03loc_670D:
call Page0Call_34DD
ld hl, (curGY)
ld (freeSaveY), hl
-p03loc_6716: ; CODE XREF: seg001:67ACj
+p03loc_6716:
call Page0Call_34E3
ret
; ---------------------------------------------------------------------------
-p03loc_671A: ; CODE XREF: seg001:66D6j seg001:66DEj
+p03loc_671A:
ld de, 3
cp (hl)
jr z, p03loc_6724
ld (unk_8E65), de
-p03loc_6724: ; CODE XREF: seg001:671Ej
+p03loc_6724:
ld (unk_8D1E), a
call p03sub_63E0
-p03loc_672A: ; CODE XREF: seg001:p03loc_6907j
+p03loc_672A:
call p03sub_6583
call nullsub_1
call Page0Call_34D7
@@ -7588,7 +7588,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6738: ; CODE XREF: seg001:6733p
+p03sub_6738:
call CpyTo1FPS5
ld hl, (unk_8E65)
ld a, l
@@ -7598,7 +7598,7 @@
call CpHLDE
jr c, p03loc_6768
-p03loc_674A: ; CODE XREF: p03sub_6738+8j
+p03loc_674A:
ld de, (OP1)
dec hl
bit 7, h
@@ -7607,7 +7607,7 @@
add hl, de
ld de, (OP1M)
-p03loc_675B: ; CODE XREF: p03sub_6738+19j
+p03loc_675B:
add hl, de
ld b, h
ld c, l
@@ -7617,7 +7617,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_6768: ; CODE XREF: p03sub_6738+10j
+p03loc_6768:
ld (unk_8D1F), hl
cp 2
jp z, CpyTo1FPS1
@@ -7630,7 +7630,7 @@
; ---------------------------------------------------------------------------
-p03loc_677E: ; CODE XREF: seg001:68ABj
+p03loc_677E:
ld (unk_8D1F), bc
call nullsub_1
ld l, c
@@ -7645,7 +7645,7 @@
jr p03loc_67A9
; ---------------------------------------------------------------------------
-p03loc_679A: ; CODE XREF: seg001:678Aj
+p03loc_679A:
push hl
call Page0Call_3AF5
call Page0Call_34DD
@@ -7653,15 +7653,15 @@
pop hl
call Page0Call_3AF5
-p03loc_67A9: ; CODE XREF: seg001:6798j
+p03loc_67A9:
call Page0Call_34D7
jp p03loc_6716
; =============== S U B R O U T I N E =======================================
-p03sub_67AF: ; CODE XREF: seg001:p03loc_6868p
- ; seg001:p03loc_693Ap
+p03sub_67AF:
+
ld a, (curPlotNumber)
; End of function p03sub_67AF
@@ -7669,7 +7669,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_67B2: ; CODE XREF: p03sub_5E3Dp p03sub_5EFC+3p ...
+p03sub_67B2:
add a, a
ld e, a
ld d, 0
@@ -7693,7 +7693,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_67CD: ; CODE XREF: seg001:6828p seg001:6842p
+p03sub_67CD:
ld a, (hl)
cp 0Fh
ret z
@@ -7711,7 +7711,7 @@
inc c
dec hl
-p03loc_67EB: ; CODE XREF: p03sub_67CD+1Aj
+p03loc_67EB:
ld b, 0
set 4, (iy+11h)
call Page0Call_34E9
@@ -7755,27 +7755,27 @@
cp 31h ; '1'
jr z, p03loc_6868
-p03loc_683D: ; CODE XREF: seg001:682Ej
+p03loc_683D:
ld a, 2Ch ; ','
call Page0Call_3D47
call p03sub_67CD
jr p03loc_6868
; ---------------------------------------------------------------------------
-p03loc_6847: ; CODE XREF: seg001:6808j
+p03loc_6847:
bit 4, (iy+4)
jr z, p03loc_684F
pop af
ret
; ---------------------------------------------------------------------------
-p03loc_684F: ; CODE XREF: seg001:684Bj
+p03loc_684F:
ld hl, 56h ; 'V'
call Bit_VertSplit
jr z, p03loc_6859
ld l, 26h ; '&'
-p03loc_6859: ; CODE XREF: seg001:6855j
+p03loc_6859:
ld (penCol), hl
call Page0Call_34F5
ld a, 50h ; 'P'
@@ -7783,7 +7783,7 @@
pop af
call Page0Call_34EF
-p03loc_6868: ; CODE XREF: seg001:6832j seg001:683Bj ...
+p03loc_6868:
call p03sub_67AF
cp 5
jp z, Page0Call_34FB
@@ -7793,7 +7793,7 @@
cp 4
jp nz, Page0Call_3501
-p03loc_687C: ; CODE XREF: seg001:6875j
+p03loc_687C:
jp Page0Call_3507
; ---------------------------------------------------------------------------
@@ -7807,13 +7807,13 @@
cp 2
jr nc, p03loc_68B6
-p03loc_6893: ; CODE XREF: seg001:688Dj
+p03loc_6893:
inc hl
-p03loc_6894: ; CODE XREF: seg001:68EFj
+p03loc_6894:
ld (unk_8E65), hl
-p03loc_6897: ; CODE XREF: seg001:66CFj seg001:68D4j ...
+p03loc_6897:
push af
xor a
ld (unk_8D1E), a
@@ -7825,7 +7825,7 @@
ex de, hl
ld bc, (unk_8E65)
-p03loc_68A8: ; CODE XREF: seg001:68B4j
+p03loc_68A8:
or a
sbc hl, bc
jp nc, p03loc_677E
@@ -7835,19 +7835,19 @@
jr p03loc_68A8
; ---------------------------------------------------------------------------
-p03loc_68B6: ; CODE XREF: seg001:6891j
+p03loc_68B6:
jr z, p03loc_68BD
cp 4
jp nz, p03loc_66EC
-p03loc_68BD: ; CODE XREF: seg001:p03loc_68B6j
+p03loc_68BD:
call Page03_35A6
jr z, p03loc_6907
inc hl
jr p03loc_6904
; ---------------------------------------------------------------------------
-p03loc_68C5: ; CODE XREF: seg001:66E0j
+p03loc_68C5:
call p03sub_69E7
call Page0Call_241E
jp c, ErrStat
@@ -7866,7 +7866,7 @@
cp 2
jr nc, p03loc_68F3
-p03loc_68EA: ; CODE XREF: seg001:68E4j
+p03loc_68EA:
dec hl
ld b, a
ld a, h
@@ -7876,7 +7876,7 @@
jr p03loc_6897
; ---------------------------------------------------------------------------
-p03loc_68F3: ; CODE XREF: seg001:68E8j
+p03loc_68F3:
jr z, p03loc_68FF
cp 4
jr z, p03loc_68FF
@@ -7884,21 +7884,21 @@
jp p03loc_66EF
; ---------------------------------------------------------------------------
-p03loc_68FF: ; CODE XREF: seg001:p03loc_68F3j
- ; seg001:68F7j
+p03loc_68FF:
+
call Page03_35A0
jr z, p03loc_6907
-p03loc_6904: ; CODE XREF: seg001:68C3j
+p03loc_6904:
ld (unk_8E65), hl
-p03loc_6907: ; CODE XREF: seg001:68C0j seg001:6902j
+p03loc_6907:
jp p03loc_672A
; =============== S U B R O U T I N E =======================================
-Page03_35A0: ; CODE XREF: seg001:p03loc_68FFp
+Page03_35A0:
dec hl
push hl
call CpyTo2FPS5
@@ -7917,7 +7917,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_35A6: ; CODE XREF: seg001:p03loc_68BDp
+Page03_35A6:
push hl
call CpyTo2FPS5
ld de, (unk_8487)
@@ -7939,7 +7939,7 @@
xor a
push af
-p03loc_693A: ; CODE XREF: seg001:6953j
+p03loc_693A:
call p03sub_67AF
bit 0, (hl)
ld hl, curPlotNumber
@@ -7949,13 +7949,13 @@
cp 4
jr nz, p03loc_6952
-p03loc_694C: ; CODE XREF: seg001:6946j
+p03loc_694C:
pop af
call ShLAcc
or (hl)
push af
-p03loc_6952: ; CODE XREF: seg001:6942j seg001:694Aj
+p03loc_6952:
dec (hl)
jr nz, p03loc_693A
pop af
@@ -7965,10 +7965,10 @@
; =============== S U B R O U T I N E =======================================
-p03sub_695A: ; CODE XREF: seg001:NEXTPLOTp
- ; seg001:PREVPLOTp
-
-; FUNCTION CHUNK AT 6987 SIZE 00000002 BYTES
+p03sub_695A:
+
+
+
pop hl
ld b, a
@@ -7978,7 +7978,7 @@
cp 51h ; 'Q'
jr nz, p03loc_6987
-p03loc_6967: ; CODE XREF: p03sub_695A+7j
+p03loc_6967:
ld a, b
jp (hl)
; End of function p03sub_695A
@@ -7987,7 +7987,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6969: ; CODE XREF: seg001:698Ap seg001:6999p
+p03sub_6969:
push af
call p03sub_67B2
ld b, a
@@ -8001,7 +8001,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_697C: ; CODE XREF: p03sub_6969+7j p03sub_6969+Ej
+p03loc_697C:
pop af
bit 0, (hl)
ret
@@ -8012,18 +8012,18 @@
NEXTPLOT:
call p03sub_695A
-p03loc_6983: ; CODE XREF: seg001:698Dj
+p03loc_6983:
cp 3
jr nz, Page03_35B8
; START OF FUNCTION CHUNK FOR p03sub_695A
-p03loc_6987: ; CODE XREF: p03sub_695A+Bj seg001:6996j
+p03loc_6987:
xor a
ret
; END OF FUNCTION CHUNK FOR p03sub_695A
; ---------------------------------------------------------------------------
-Page03_35B8: ; CODE XREF: seg001:6985j
+Page03_35B8:
inc a
call p03sub_6969
jr z, p03loc_6983
@@ -8034,7 +8034,7 @@
PREVPLOT:
call p03sub_695A
-p03loc_6994: ; CODE XREF: seg001:699Cj
+p03loc_6994:
cp 1
jr z, p03loc_6987
dec a
@@ -8053,25 +8053,25 @@
cp 2
jr nz, p03loc_69BA
-p03loc_69AF: ; CODE XREF: seg001:69A9j
+p03loc_69AF:
ld de, 36h ; '6'
jr p03loc_69B7
; ---------------------------------------------------------------------------
-p03loc_69B4: ; CODE XREF: seg001:69A5j
+p03loc_69B4:
ld de, 24h ; '$'
-p03loc_69B7: ; CODE XREF: seg001:69B2j
+p03loc_69B7:
call DeallocFPS1
-p03loc_69BA: ; CODE XREF: seg001:69ADj
+p03loc_69BA:
ld a, (curPlotNumber)
ret
; =============== S U B R O U T I N E =======================================
-p03sub_69BE: ; CODE XREF: HEAP_SORT+2Ep
+p03sub_69BE:
; HEAP_SORT+41p ...
push hl
ld hl, (unk_84B7)
@@ -8085,7 +8085,7 @@
; =============== S U B R O U T I N E =======================================
-PUT_INDEX_LST: ; CODE XREF: p03sub_640C+57p
+PUT_INDEX_LST:
ld de, (iMathPtr4)
sla c
rl b
@@ -8101,7 +8101,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_69D4: ; CODE XREF: HEAP_SORT+20p
+p03sub_69D4:
; HEAP_SORT+29p ...
ld hl, (unk_84B7)
add hl, bc
@@ -8116,7 +8116,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_69DE: ; CODE XREF: p03sub_6AD6+Fp
+p03sub_69DE:
sla c
rl b
ex de, hl
@@ -8128,7 +8128,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_69E7: ; CODE XREF: p03sub_640C+2p p03sub_640C+3Cp ...
+p03sub_69E7:
ld a, (curPlotNumber)
add a, 26h ; '&'
ld (OP1+1), a
@@ -8141,7 +8141,7 @@
; =============== S U B R O U T I N E =======================================
-HEAP_SORT: ; CODE XREF: p03sub_640C+60p
+HEAP_SORT:
or a
sbc hl, de
inc hl
@@ -8153,7 +8153,7 @@
ret z
inc hl
-p03loc_6A09: ; CODE XREF: HEAP_SORT+BEj
+p03loc_6A09:
ld de, 2
call CpHLDE
jr nc, p03loc_6A3D
@@ -8181,7 +8181,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_6A3D: ; CODE XREF: HEAP_SORT+18j
+p03loc_6A3D:
dec hl
push hl
pop bc
@@ -8189,13 +8189,13 @@
call p03sub_69D4
ld (unk_84B5), hl
-p03loc_6A47: ; CODE XREF: HEAP_SORT+39j
+p03loc_6A47:
pop hl
push hl
ld (OP6M), hl
add hl, hl
-p03loc_6A4D: ; CODE XREF: HEAP_SORT+ABj
+p03loc_6A4D:
; HEAP_SORT+B1j
ld (OP6), hl
ld de, (unk_84B3)
@@ -8203,7 +8203,7 @@
jr z, p03loc_6A5B
jr nc, p03loc_6AAA
-p03loc_6A5B: ; CODE XREF: HEAP_SORT+60j
+p03loc_6A5B:
push af
push hl
pop bc
@@ -8220,18 +8220,18 @@
jr z, p03loc_6A77
jr nc, p03loc_6A7C
-p03loc_6A77: ; CODE XREF: HEAP_SORT+70j
+p03loc_6A77:
; HEAP_SORT+7Cj
call OP2ToOP1
jr p03loc_6A83
; ---------------------------------------------------------------------------
-p03loc_6A7C: ; CODE XREF: HEAP_SORT+7Ej
+p03loc_6A7C:
ld hl, (OP6)
inc hl
ld (OP6), hl
-p03loc_6A83: ; CODE XREF: HEAP_SORT+83j
+p03loc_6A83:
ld hl, (unk_84B5)
call Page0Call_3B01
call cpop1op2
@@ -8247,13 +8247,13 @@
jr p03loc_6A4D
; ---------------------------------------------------------------------------
-p03loc_6AA4: ; CODE XREF: HEAP_SORT+95j
+p03loc_6AA4:
ld hl, (unk_84B3)
inc hl
jr p03loc_6A4D
; ---------------------------------------------------------------------------
-p03loc_6AAA: ; CODE XREF: HEAP_SORT+62j
+p03loc_6AAA:
ld hl, (unk_84B5)
ld bc, (OP6M)
call p03sub_69BE
@@ -8265,7 +8265,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6AB8: ; CODE XREF: p03sub_6AD6+1p
+p03sub_6AB8:
call SetXXXXOP2
ld hl, 0FC3h
rst 20h
@@ -8283,7 +8283,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6AD6: ; CODE XREF: p03sub_640C-FAp seg001:678Cp
+p03sub_6AD6:
push hl
call p03sub_6AB8
rst 8
@@ -8303,7 +8303,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6AF7: ; CODE XREF: p03sub_5E3D+13p p03sub_5E3D+39p ...
+p03sub_6AF7:
ld hl, (XOutDat)
ld (iMathPtr1), hl
ret
@@ -8323,14 +8323,14 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6B07: ; CODE XREF: p03sub_5E3D+55p p03sub_5E3D+81p ...
+p03sub_6B07:
bit 7, (iy+1Ah)
ret
; End of function p03sub_6B07
; ---------------------------------------------------------------------------
-StoGDB2: ; CODE XREF: seg001:7096j
+StoGDB2:
xor a
ld (ioData), a
ld de, 867Eh
@@ -8362,7 +8362,7 @@
jr nz, p03loc_6B4D
ld de, 93h ; '�'
-p03loc_6B4D: ; CODE XREF: seg001:6B3Bj seg001:6B40j ...
+p03loc_6B4D:
add hl, de
push hl
ld a, (OP1)
@@ -8374,7 +8374,7 @@
jr p03loc_6B73
; ---------------------------------------------------------------------------
-p03loc_6B62: ; CODE XREF: seg001:6B54j
+p03loc_6B62:
ld (OP1), a
inc hl
inc hl
@@ -8384,7 +8384,7 @@
call nz, SetTblGraphDraw
call CHKDELA
-p03loc_6B73: ; CODE XREF: seg001:6B60j
+p03loc_6B73:
ld hl, (chkDelPtr1)
pop bc
ld (hl), c
@@ -8417,13 +8417,13 @@
ld hl, w02
call mov9B2
-p03loc_6BAD: ; CODE XREF: seg001:6BA5j
+p03loc_6BAD:
call p03sub_6DC1
ldir
ld (chkDelPtr1), de
xor a
-p03loc_6BB7: ; CODE XREF: seg001:6C0Ej
+p03loc_6BB7:
call Page0Call_3513
or a
jr nz, p03loc_6BCC
@@ -8436,10 +8436,10 @@
jp FPOPCPLX
; ---------------------------------------------------------------------------
-p03loc_6BCC: ; CODE XREF: seg001:6BBBj
+p03loc_6BCC:
push af
-p03loc_6BCD: ; CODE XREF: seg001:6C0Bj
+p03loc_6BCD:
call Page0Call_241E
push hl
push de
@@ -8457,7 +8457,7 @@
ld a, d
ld (ioData), a
-p03loc_6BE8: ; CODE XREF: seg001:6BE2j
+p03loc_6BE8:
pop de
pop hl
ld a, (hl)
@@ -8482,7 +8482,7 @@
jr p03loc_6BCD
; ---------------------------------------------------------------------------
-p03loc_6C0D: ; CODE XREF: seg001:6C00j seg001:6C07j
+p03loc_6C0D:
pop af
jr p03loc_6BB7
; ---------------------------------------------------------------------------
@@ -8497,7 +8497,7 @@
jp ErrSyntax
; ---------------------------------------------------------------------------
-RclGDB2: ; CODE XREF: seg001:709Bj
+RclGDB2:
ld a, (OP1+1)
cp 61h ; 'a'
jp nz, ErrDataType
@@ -8534,7 +8534,7 @@
jr p03loc_6C83
; ---------------------------------------------------------------------------
-p03loc_6C60: ; CODE XREF: seg001:6C3Cj
+p03loc_6C60:
set 1, (iy+1Eh)
ld a, 10h
ld c, 39h ; '9'
@@ -8554,7 +8554,7 @@
ld c, 66h ; 'f'
ld b, 6
-p03loc_6C83: ; CODE XREF: seg001:6C47j seg001:6C50j ...
+p03loc_6C83:
push af
push bc
ld b, 0
@@ -8583,7 +8583,7 @@
jr z, p03loc_6CB4
srl a
-p03loc_6CB4: ; CODE XREF: seg001:6CB0j
+p03loc_6CB4:
push af
or a
sbc hl, de
@@ -8598,7 +8598,7 @@
call popErrorHandleR
pop bc
-p03loc_6CD0: ; CODE XREF: seg001:6CB8j seg001:6CBAj
+p03loc_6CD0:
call SetTblGraphDraw
bit 4, b
push bc
@@ -8623,7 +8623,7 @@
jr nz, p03loc_6CFD
inc hl
-p03loc_6CFD: ; CODE XREF: seg001:6CFAj
+p03loc_6CFD:
inc hl
inc hl
inc hl
@@ -8636,7 +8636,7 @@
jr z, p03loc_6D0F
and 1
-p03loc_6D0F: ; CODE XREF: seg001:6D0Bj
+p03loc_6D0F:
ld (iy+0Fh), a
call p03sub_6E19
jr nz, p03loc_6D25
@@ -8647,7 +8647,7 @@
jr z, p03loc_6D25
set 0, (iy+18h)
-p03loc_6D25: ; CODE XREF: seg001:6D15j seg001:6D1Fj
+p03loc_6D25:
inc hl
ld de, Xmin
ld bc, 36h ; '6'
@@ -8664,7 +8664,7 @@
jr p03loc_6D64
; ---------------------------------------------------------------------------
-p03loc_6D47: ; CODE XREF: seg001:6D31j seg001:6D3Bj
+p03loc_6D47:
call p03sub_6D9E
ex de, hl
ldir
@@ -8673,7 +8673,7 @@
ld de, w02
call mov9B2
-p03loc_6D58: ; CODE XREF: seg001:6D36j seg001:6D50j
+p03loc_6D58:
call p03sub_6E19
jr nz, p03loc_6D64
ex de, hl
@@ -8681,12 +8681,12 @@
ex de, hl
ldir
-p03loc_6D64: ; CODE XREF: seg001:6D45j seg001:6D5Bj
+p03loc_6D64:
ld (chkDelPtr1), hl
xor a
pop bc
-p03loc_6D69: ; CODE XREF: seg001:6D94j
+p03loc_6D69:
push bc
ld hl, (chkDelPtr1)
inc a
@@ -8708,7 +8708,7 @@
inc hl
call p03sub_6DE3
-p03loc_6D91: ; CODE XREF: seg001:6D7Dj
+p03loc_6D91:
pop af
pop bc
cp b
@@ -8722,7 +8722,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6D9E: ; CODE XREF: seg001:p03loc_6D47p
+p03sub_6D9E:
ex de, hl
; End of function p03sub_6D9E
@@ -8730,7 +8730,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6D9F: ; CODE XREF: seg001:6B9Dp
+p03sub_6D9F:
ld hl, XresO
ld bc, 9
call page0_13
@@ -8751,8 +8751,8 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6DC1: ; CODE XREF: seg001:p03loc_6BADp
- ; seg001:6D5Ep
+p03sub_6DC1:
+
ld bc, 6
ld hl, polar1LineType
call page0_198
@@ -8773,7 +8773,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6DE3: ; CODE XREF: seg001:6D77p seg001:6D8Ep
+p03sub_6DE3:
push af
call p03sub_6E19
jr z, p03loc_6DF5
@@ -8785,7 +8785,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_6DF5: ; CODE XREF: p03sub_6DE3+4j p03sub_6DE3+Bj
+p03loc_6DF5:
ld e, (hl)
inc hl
ld d, (hl)
@@ -8805,7 +8805,7 @@
ldir
ld (chkDelPtr1), hl
-p03loc_6E11: ; CODE XREF: p03sub_6DE3+24j
+p03loc_6E11:
pop hl
pop af
bit 5, a
@@ -8818,39 +8818,39 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6E19: ; CODE XREF: seg001:6CF7p seg001:6D08p ...
+p03sub_6E19:
bit 1, (iy+1Eh)
ret
; End of function p03sub_6E19
; ---------------------------------------------------------------------------
-CircCmd: ; CODE XREF: seg001:70A0j
+CircCmd:
call Page0Call_3525
call page0_189
jr z, p03loc_6E2A
-p03loc_6E26: ; CODE XREF: seg001:6E2Dj
+p03loc_6E26:
call Page0Call_34C5
ret
; ---------------------------------------------------------------------------
-p03loc_6E2A: ; CODE XREF: seg001:6E24j
+p03loc_6E2A:
call p03sub_6E2F
jr p03loc_6E26
; =============== S U B R O U T I N E =======================================
-p03sub_6E2F: ; CODE XREF: seg001:p03loc_6E2Ap
- ; seg001:6F67p
+p03sub_6E2F:
+
bit 4, (iy+3Ch)
jr z, p03loc_6E39
call Page0Call_352B
ret
; ---------------------------------------------------------------------------
-p03loc_6E39: ; CODE XREF: p03sub_6E2F+4j
+p03loc_6E39:
ld hl, (FPS)
ld (inputDat), hl
call OP1Set0
@@ -8863,7 +8863,7 @@
set 5, (iy+3)
ld b, 3Dh ; '='
-p03loc_6E56: ; CODE XREF: p03sub_6E2F+9Cj
+p03loc_6E56:
push bc
ld hl, (inputDat)
ld de, 0FFF7h
@@ -8891,7 +8891,7 @@
call OP4ToOP2
call popErrorHandleR
-p03loc_6E8E: ; CODE XREF: seg001:6EDBj
+p03loc_6E8E:
bit 5, (iy+3)
jr z, p03loc_6E9D
call PUSHMCPLXO1
@@ -8899,7 +8899,7 @@
jr p03loc_6EB4
; ---------------------------------------------------------------------------
-p03loc_6E9D: ; CODE XREF: p03sub_6E2F+63j
+p03loc_6E9D:
ld de, OP3
call CPYFPS1
inc de
@@ -8910,7 +8910,7 @@
call CpyToFPST
call CLine
-p03loc_6EB4: ; CODE XREF: p03sub_6E2F+6Cj
+p03loc_6EB4:
ld hl, (inputDat)
rst 20h
inc de
@@ -8924,7 +8924,7 @@
jr nz, p03loc_6ECD
djnz p03loc_6E56
-p03loc_6ECD: ; CODE XREF: p03sub_6E2F+9Aj
+p03loc_6ECD:
ld de, 3Fh ; '?'
jp DeallocFPS1
; End of function p03sub_6E2F
@@ -8936,7 +8936,7 @@
jr p03loc_6E8E
; ---------------------------------------------------------------------------
-GrphCirc: ; CODE XREF: seg001:708Cj
+GrphCirc:
ld hl, (FPS)
ld (EQS), hl
ld hl, 5Ah ; 'Z'
@@ -8990,7 +8990,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6F6D: ; CODE XREF: seg001:6F91p
+p03sub_6F6D:
ld hl, (EQS)
ld (FPS), hl
ld de, 8E6Ah
@@ -9006,7 +9006,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_6F88: ; CODE XREF: seg001:6F02p seg001:6F32p
+p03sub_6F88:
call Mov18B
; End of function p03sub_6F88
@@ -9014,7 +9014,7 @@
; =============== S U B R O U T I N E =======================================
-Mov18B: ; CODE XREF: seg001:6EF0p seg001:6EF6p ...
+Mov18B:
call mov9B2
jp mov9B2
; End of function Mov18B
@@ -9093,7 +9093,7 @@
jp CpyO1ToFPST
; ---------------------------------------------------------------------------
-p03loc_6FE2: ; CODE XREF: seg001:6FDAj
+p03loc_6FE2:
call OP1ToOP5
call CpyTo2FPS1
call cpop1op2
@@ -9106,10 +9106,10 @@
jp CpyO1ToFPST
; ---------------------------------------------------------------------------
-p03loc_6FFE: ; CODE XREF: seg001:70AAj
+p03loc_6FFE:
scf
-ZOOMXYCMD: ; CODE XREF: seg001:70A5j
+ZOOMXYCMD:
push de
push af
push hl
@@ -9127,7 +9127,7 @@
rst 18h
call Page0Call_353D
-p03loc_7016: ; CODE XREF: seg001:700Aj
+p03loc_7016:
call OP1ToOP5
ld hl, Ymin
pop de
@@ -9159,7 +9159,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7053: ; CODE XREF: p03sub_5E3D+Bp p03sub_5EFC+Fp ...
+p03sub_7053:
push af
ld de, 0FFF1h
add hl, de
@@ -9177,7 +9177,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_706C: ; CODE XREF: p03sub_7053+Ej
+p03loc_706C:
call p03sub_7070
ret
; End of function p03sub_7053
@@ -9186,7 +9186,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7070: ; CODE XREF: p03sub_7053+5p p03sub_7053+15p ...
+p03sub_7070:
push hl
call p03sub_6692
call Page0Call_354F
@@ -9200,7 +9200,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_707D: ; CODE XREF: p03sub_5A27+Ep
+p03sub_707D:
; POINT_STAT_HLP+8p
ld hl, (FPS)
ld de, 0FFF7h
@@ -9211,7 +9211,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7084: ; CODE XREF: p03sub_5A27+Ap
+p03sub_7084:
ex de, hl
add hl, de
ex de, hl
@@ -9239,7 +9239,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_70AE: ; CODE XREF: seg001:731Fj
+p03loc_70AE:
call p03sub_748F
Page03_3A8C:
@@ -9249,13 +9249,13 @@
set 4, a
set 4, (iy+1Ch)
-p03loc_70BF: ; CODE XREF: seg001:70B7j
+p03loc_70BF:
ld (unk_8D0A), a
ld hl, p03loc_7650
call page0_7C1
set 3, (iy+14h)
-p03loc_70CC: ; CODE XREF: seg001:7D45j
+p03loc_70CC:
call p03sub_71FC
inc hl
ld e, (hl)
@@ -9274,7 +9274,7 @@
ld a, 1
ld (curRow), a
-p03loc_70F4: ; CODE XREF: seg001:p03loc_7392j
+p03loc_70F4:
call p03sub_74AD
ld hl, (unk_9700)
ld a, (hl)
@@ -9286,7 +9286,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_710B: ; CODE XREF: seg001:7104j
+p03loc_710B:
res 6, (iy+1Ch)
set 5, (iy+1Ch)
cp 8
@@ -9300,12 +9300,12 @@
jr p03loc_7132
; ---------------------------------------------------------------------------
-p03loc_7129: ; CODE XREF: seg001:7121j
+p03loc_7129:
cp 9
jp nz, p03loc_71CB
set 6, (iy+1Ch)
-p03loc_7132: ; CODE XREF: seg001:7115j seg001:711Dj ...
+p03loc_7132:
set 7, (iy+1Ch)
call Page03_37B0
set 6, (iy+5)
@@ -9317,7 +9317,7 @@
jr nz, p03loc_7152
ld hl, 84CCh
-p03loc_7152: ; CODE XREF: seg001:7147j seg001:714Dj
+p03loc_7152:
ld (editBtm), hl
ld (editTail), hl
ld a, (unk_8D0B)
@@ -9332,11 +9332,11 @@
ret
; ---------------------------------------------------------------------------
-p03loc_716E: ; CODE XREF: seg001:7163j
+p03loc_716E:
bit 5, (iy+1Ch)
jr z, p03loc_7185
-p03loc_7174: ; CODE XREF: seg001:7168j
+p03loc_7174:
ld de, nameBuff
call page0_118B
call page0_3A4
@@ -9345,13 +9345,13 @@
jr p03loc_7191
; ---------------------------------------------------------------------------
-p03loc_7185: ; CODE XREF: seg001:7172j
+p03loc_7185:
call Page0Call_341D
call Page0Call_3423
call Page03_37AA
call Page0Call_3429
-p03loc_7191: ; CODE XREF: seg001:7183j
+p03loc_7191:
ld hl, (editBtm)
sbc hl, bc
ld (editTail), hl
@@ -9366,7 +9366,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_71A6: ; CODE XREF: seg001:71CEp p03sub_7278+25p
+p03sub_71A6:
push af
sub 52h ; 'R'
ld hl, p03loc_7AD2
@@ -9379,20 +9379,20 @@
jr p03loc_71C2
; ---------------------------------------------------------------------------
-p03loc_71BA: ; CODE XREF: p03sub_71A6+Cj
+p03loc_71BA:
ld a, 3
jr p03loc_71C4
; ---------------------------------------------------------------------------
-p03loc_71BE: ; CODE XREF: p03sub_71A6+10j
+p03loc_71BE:
ld a, 1
jr p03loc_71C4
; ---------------------------------------------------------------------------
-p03loc_71C2: ; CODE XREF: p03sub_71A6+12j
+p03loc_71C2:
ld a, 2
-p03loc_71C4: ; CODE XREF: p03sub_71A6+16j p03sub_71A6+1Aj
+p03loc_71C4:
ld (unk_97A1), a
ld (unk_979F), hl
ret
@@ -9400,7 +9400,7 @@
; ---------------------------------------------------------------------------
-p03loc_71CB: ; CODE XREF: seg001:712Bj
+p03loc_71CB:
ld a, (unk_8D0B)
call p03sub_71A6
ld (unk_97A3), hl
@@ -9409,7 +9409,7 @@
jr z, p03loc_71DF
res 4, (iy+1Ch)
-p03loc_71DF: ; CODE XREF: seg001:71D9j
+p03loc_71DF:
set 6, (iy+0Dh)
res 1, (iy+0Dh)
call CanAlphIns
@@ -9424,7 +9424,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_71FC: ; CODE XREF: seg001:p03loc_70CCp
+p03sub_71FC:
; p03sub_7C6Cp
ld a, (unk_8D0A)
sla a
@@ -9444,7 +9444,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7212: ; CODE XREF: Page03_347A:p03loc_7E15p
+p03sub_7212:
push ix
ld ix, (unk_9700)
ld a, (curRow)
@@ -9455,7 +9455,7 @@
ld b, a
ld de, 0FFFDh
-p03loc_7225: ; CODE XREF: p03sub_7212+15j
+p03loc_7225:
add ix, de
djnz p03loc_7225
jr p03loc_7235
@@ -9465,16 +9465,16 @@
; =============== S U B R O U T I N E =======================================
-p03sub_722B: ; CODE XREF: seg001:70ECp
+p03sub_722B:
push ix
ld ix, (unk_9700)
res 5, (iy+1Dh)
-p03loc_7235: ; CODE XREF: p03sub_7212+Aj p03sub_7212+Dj ...
+p03loc_7235:
ld a, 1
ld (curRow), a
-p03loc_723A: ; CODE XREF: p03sub_722B+31j
+p03loc_723A:
sub a
ld (curRow+1), a
ld a, (curRow)
@@ -9493,10 +9493,10 @@
jr p03loc_723A
; ---------------------------------------------------------------------------
-p03loc_725E: ; CODE XREF: p03sub_722B+23j
+p03loc_725E:
call Page0Call_3D29
-p03loc_7261: ; CODE XREF: p03sub_722B+1Aj
+p03loc_7261:
pop ix
ret
; End of function p03sub_722B
@@ -9505,7 +9505,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7264: ; CODE XREF: seg001:70FEp p03sub_7278p ...
+p03sub_7264:
push hl
sub 47h ; 'G'
ld e, a
@@ -9516,7 +9516,7 @@
add hl, de
ld a, (hl)
-p03loc_7273: ; CODE XREF: p03sub_7264+6j
+p03loc_7273:
ld (unk_8D0B+1), a
pop hl
ret
@@ -9526,9 +9526,9 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7278: ; CODE XREF: seg001:4C15p p03sub_722B+25p ...
-
-; FUNCTION CHUNK AT 7DBC SIZE 0000000B BYTES
+p03sub_7278:
+
+
call p03sub_7264
call setTitle
@@ -9543,7 +9543,7 @@
ld a, 3Ah ; ':'
call Page0Call_3F9F
-p03loc_7295: ; CODE XREF: p03sub_7278+16j
+p03loc_7295:
ld a, (ix+0)
cp 52h ; 'R'
jp c, p03loc_72D9
@@ -9563,7 +9563,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_72BC: ; CODE XREF: p03sub_7278+11j
+p03loc_72BC:
ld a, 20h ; ' '
call Page0Call_3F9F
ld hl, p03loc_7A64
@@ -9578,7 +9578,7 @@
ret
; ---------------------------------------------------------------------------
-p03loc_72D9: ; CODE XREF: p03sub_7278+22j
+p03loc_72D9:
bit 5, (iy+1Dh)
ret nz
call Rcl_StatVar
@@ -9591,7 +9591,7 @@
jp p03loc_7DBC
; ---------------------------------------------------------------------------
-p03loc_72F1: ; CODE XREF: p03sub_7278+6Ej
+p03loc_72F1:
call CkOP1Real
cp 2
jp z, p03loc_7DBC
@@ -9600,19 +9600,19 @@
cp 0Dh
jr nz, p03loc_7308
-p03loc_7301: ; CODE XREF: p03sub_7278+83j
+p03loc_7301:
ld hl, 8479h
call Page0Call_3423
ret
; ---------------------------------------------------------------------------
-p03loc_7308: ; CODE XREF: p03sub_7278+87j
+p03loc_7308:
cp 0Eh
jr nz, p03loc_7310
xor a
ld (OP1), a
-p03loc_7310: ; CODE XREF: p03sub_7278+92j
+p03loc_7310:
call Page0Call_3CC9
jp p03loc_4587
; End of function p03sub_7278
@@ -9621,8 +9621,8 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7316: ; CODE XREF: seg001:7101p
- ; seg001:p03loc_7332p ...
+p03sub_7316:
+
ld b, a
ld a, (unk_8D0B+1)
or a
@@ -9640,7 +9640,7 @@
cp 4
jp nz, p03loc_7395
-p03loc_7332: ; CODE XREF: seg001:732Bj
+p03loc_7332:
call p03sub_7316
jr nz, p03loc_7343
call IsEditEmpty
@@ -9650,7 +9650,7 @@
jr p03loc_7366
; ---------------------------------------------------------------------------
-p03loc_7343: ; CODE XREF: seg001:7335j
+p03loc_7343:
cp 5
jr z, p03loc_7356
push ix
@@ -9662,7 +9662,7 @@
jr p03loc_7366
; ---------------------------------------------------------------------------
-p03loc_7356: ; CODE XREF: seg001:7345j
+p03loc_7356:
ld a, (unk_8D0B+1)
cp 6
jp z, p03loc_75C0
@@ -9671,7 +9671,7 @@
jp p03loc_7D23
; ---------------------------------------------------------------------------
-p03loc_7366: ; CODE XREF: seg001:7341j seg001:7354j ...
+p03loc_7366:
call p03sub_74B9
call p03sub_7474
ld ix, (unk_9700)
@@ -9685,20 +9685,20 @@
jr c, p03loc_738F
ld (curRow+1), a
-p03loc_7387: ; CODE XREF: seg001:73D5j
+p03loc_7387:
ld a, (ix+0)
call p03sub_7278
jr p03loc_7392
; ---------------------------------------------------------------------------
-p03loc_738F: ; CODE XREF: seg001:7382j seg001:73D3j
+p03loc_738F:
ld (curRow), a
-p03loc_7392: ; CODE XREF: seg001:7374j seg001:738Dj ...
+p03loc_7392:
jp p03loc_70F4
; ---------------------------------------------------------------------------
-p03loc_7395: ; CODE XREF: seg001:732Fj
+p03loc_7395:
cp 3
jr nz, p03loc_73D7
call p03sub_7316
@@ -9712,13 +9712,13 @@
jr p03loc_73B7
; ---------------------------------------------------------------------------
-p03loc_73AD: ; CODE XREF: seg001:739Cj
+p03loc_73AD:
call IsEditEmpty
ret z
call ParseAndStoreSysVar
call DisplayEditSysVar
-p03loc_73B7: ; CODE XREF: seg001:73ABj seg001:7469j
+p03loc_73B7:
call p03sub_74B9
call p03sub_7474
ld ix, (unk_9700)
@@ -9733,13 +9733,13 @@
jr p03loc_7387
; ---------------------------------------------------------------------------
-p03loc_73D7: ; CODE XREF: seg001:7397j
+p03loc_73D7:
bit 7, (iy+0Eh)
jr nz, p03loc_73E0
cp 8Ah ; '�'
ret z
-p03loc_73E0: ; CODE XREF: seg001:73DBj
+p03loc_73E0:
call p03sub_7316
jp z, CallCommon
jp p03loc_7D84
@@ -9780,7 +9780,7 @@
ld a, 1
ld (OP1), a
-p03loc_7426: ; CODE XREF: seg001:740Ej seg001:7414j
+p03loc_7426:
ld hl, p03loc_746C
call pushErrorHandleR
ld a, (unk_8D0B)
@@ -9802,12 +9802,12 @@
ld bc, 5
ldir
-p03loc_7450: ; CODE XREF: seg001:7442j
+p03loc_7450:
rst 10h
ld hl, 0
call c, CreateRList
-p03loc_7457: ; CODE XREF: seg001:7438j seg001:743Ej
+p03loc_7457:
call popErrorHandleR
bit 4, (iy+1)
ret nz
@@ -9824,7 +9824,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7474: ; CODE XREF: seg001:7369p seg001:73BAp ...
+p03sub_7474:
ld a, 8
ld (winBtm), a
ret
@@ -9834,7 +9834,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_747A: ; CODE XREF: p03sub_748F+Cp
+p03sub_747A:
set 4, (iy+1)
ld hl, p03loc_748A
call pushErrorHandleR
@@ -9849,7 +9849,7 @@
; =============== S U B R O U T I N E =======================================
p03loc_748F:
-p03sub_748F: ; CODE XREF: seg001:p03loc_70AEp
+p03sub_748F:
call p03sub_74B9
call p03sub_7316
jr z, p03loc_74A0
@@ -9858,10 +9858,10 @@
jr p03loc_74A3
; ---------------------------------------------------------------------------
-p03loc_74A0: ; CODE XREF: p03sub_748F+6j
+p03loc_74A0:
call p03sub_4B7F
-p03loc_74A3: ; CODE XREF: p03sub_748F+Fj
+p03loc_74A3:
call page0_740
call p03sub_7474
res 3, (iy+14h)
@@ -9871,7 +9871,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_74AD: ; CODE XREF: seg001:p03loc_70F4p
+p03sub_74AD:
res 1, (iy+18h)
res 7, (iy+1Ch)
res 6, (iy+1Ch)
@@ -9881,8 +9881,8 @@
; =============== S U B R O U T I N E =======================================
-p03sub_74B9: ; CODE XREF: seg001:p03loc_7366p
- ; seg001:p03loc_73B7p ...
+p03sub_74B9:
+
res 6, (iy+0Dh)
set 1, (iy+0Dh)
ret
@@ -9898,7 +9898,7 @@
ex de, hl
ld a, 9
-p03loc_74D0: ; CODE XREF: seg001:74D5j
+p03loc_74D0:
call MovFrOP1
sub 1
jr nz, p03loc_74D0
@@ -9938,7 +9938,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7530: ; CODE XREF: setTitle:p03loc_4565p
+p03sub_7530:
; setTitle:p03loc_4574p ...
ld b, a
ld a, (mcxCurApp)
@@ -9951,7 +9951,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_3474: ; CODE XREF: p03sub_7D48+Dp
+Page03_3474:
push bc
ld a, (unk_89F5)
push af
@@ -9968,22 +9968,22 @@
call Page0Call_3C45
jr z, p03loc_7561
-p03loc_755C: ; CODE XREF: Page03_3474+15j
+p03loc_755C:
ld a, (ix+6)
and 0Fh
-p03loc_7561: ; CODE XREF: Page03_3474+22j
+p03loc_7561:
ld b, a
set 3, (iy+5)
ld a, 20h ; ' '
-p03loc_7568: ; CODE XREF: Page03_3474+33j
+p03loc_7568:
call Page0Call_3F9F
djnz p03loc_7568
jr p03loc_75B1
; ---------------------------------------------------------------------------
-p03loc_756F: ; CODE XREF: Page03_3474+Fj
+p03loc_756F:
ld l, (ix+9)
ld h, (ix+0Ah)
ld a, (hl)
@@ -9994,10 +9994,10 @@
jr p03loc_7588
; ---------------------------------------------------------------------------
-p03loc_7584: ; CODE XREF: Page03_3474+44j
+p03loc_7584:
set 0, (iy+8)
-p03loc_7588: ; CODE XREF: Page03_3474+4Aj
+p03loc_7588:
bit 1, (iy+35h)
jr z, p03loc_759B
ld h, (ix+0Dh)
@@ -10006,12 +10006,12 @@
call Page0Call_3C45
jr z, p03loc_75B1
-p03loc_759B: ; CODE XREF: Page03_3474+54j
+p03loc_759B:
ld l, (ix+7)
ld h, (ix+8)
ld de, OP1
-p03loc_75A4: ; CODE XREF: Page03_3474+71j
+p03loc_75A4:
ld a, (hl)
ld (de), a
inc hl
@@ -10021,7 +10021,7 @@
ld hl, OP1
call Page0Call_343B
-p03loc_75B1: ; CODE XREF: Page03_3474+35j
+p03loc_75B1:
; Page03_3474+61j
pop af
ld (curRow), a
@@ -10035,14 +10035,14 @@
; =============== S U B R O U T I N E =======================================
-p03sub_75BB: ; CODE XREF: seg001:75CAp
+p03sub_75BB:
set 5, (iy+1Ch)
ret
; End of function p03sub_75BB
; ---------------------------------------------------------------------------
-p03loc_75C0: ; CODE XREF: seg001:735Bj seg001:7360j
+p03loc_75C0:
ld hl, (unk_97A3)
ld de, (unk_979F)
or a
@@ -10067,7 +10067,7 @@
jr p03loc_760E
; ---------------------------------------------------------------------------
-p03loc_75FD: ; CODE XREF: seg001:75EDj
+p03loc_75FD:
ld d, 0
ld e, a
ld hl, p03loc_7C5D
@@ -10077,7 +10077,7 @@
call Page0Call_3447
call CHKERRBREAK
-p03loc_760E: ; CODE XREF: seg001:75FBj
+p03loc_760E:
call popErrorHandleR
bit 5, (iy+1Ch)
jr z, p03loc_7621
@@ -10087,7 +10087,7 @@
jp sendKPress
; ---------------------------------------------------------------------------
-p03loc_7621: ; CODE XREF: seg001:7615j
+p03loc_7621:
bit 7, (iy+9)
call nz, Page0Call_344D
bit 0, (iy+14h)
@@ -11571,14 +11571,14 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7C6C: ; CODE XREF: seg001:75D3p
+p03sub_7C6C:
call p03sub_71FC
push ix
ld ix, (unk_9700)
ld a, 0
ld (nameBuff), a
-p03loc_7C7A: ; CODE XREF: p03sub_7C6C+1Fj
+p03loc_7C7A:
ld a, (ix+0)
ld (unk_8D0B), a
inc a
@@ -11589,7 +11589,7 @@
jr p03loc_7C7A
; ---------------------------------------------------------------------------
-p03loc_7C8D: ; CODE XREF: p03sub_7C6C+15j
+p03loc_7C8D:
pop ix
ret
; End of function p03sub_7C6C
@@ -11598,9 +11598,9 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7C90: ; CODE XREF: p03sub_7C6C+17p
-
-; FUNCTION CHUNK AT 7CC0 SIZE 00000063 BYTES
+p03sub_7C90:
+
+
call p03sub_7264
call OP1Set0
@@ -11617,10 +11617,10 @@
bit 2, (iy+1Ch)
jr z, p03loc_7CB3
-p03loc_7CB0: ; CODE XREF: p03sub_7C90+4Bj
+p03loc_7CB0:
call OP1Set1
-p03loc_7CB3: ; CODE XREF: p03sub_7C90+1Ej p03sub_7C90+35j ...
+p03loc_7CB3:
ld hl, nameBuff
inc (hl)
call PushRealO1
@@ -11631,7 +11631,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7CBB: ; CODE XREF: seg001:70B4p seg001:71F3p ...
+p03sub_7CBB:
bit 3, (iy+1Ch)
ret
; End of function p03sub_7CBB
@@ -11639,7 +11639,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_7C90
-p03loc_7CC0: ; CODE XREF: p03sub_7C90+17j
+p03loc_7CC0:
ld a, (unk_8A0C)
and 3
jr z, p03loc_7CB3
@@ -11653,13 +11653,13 @@
jr p03loc_7CB3
; ---------------------------------------------------------------------------
-p03loc_7CD7: ; CODE XREF: p03sub_7C90+Ej
+p03loc_7CD7:
bit 5, (iy+1Ch)
jr nz, p03loc_7CB0
jr p03loc_7CB3
; ---------------------------------------------------------------------------
-p03loc_7CDF: ; CODE XREF: p03sub_7C90+12j
+p03loc_7CDF:
call Rcl_StatVar
ld a, (ix+0)
cp 51h ; 'Q'
@@ -11670,14 +11670,14 @@
jr p03loc_7CB3
; ---------------------------------------------------------------------------
-p03loc_7CF1: ; CODE XREF: p03sub_7C90+57j
+p03loc_7CF1:
call CkOP1Real
cp 1
jr z, p03loc_7CFC
cp 0Dh
jr nz, p03loc_7D19
-p03loc_7CFC: ; CODE XREF: p03sub_7C90+66j
+p03loc_7CFC:
ld a, (OP1+1)
cp 31h ; '1'
ret z
@@ -11690,23 +11690,23 @@
ld a, 5Dh ; ']'
ld (de), a
-p03loc_7D14: ; CODE XREF: p03sub_7C90+74j
+p03loc_7D14:
call Page0Call_354F
jr p03loc_7CB3
; ---------------------------------------------------------------------------
-p03loc_7D19: ; CODE XREF: p03sub_7C90+6Aj
+p03loc_7D19:
cp 0Eh
jr nz, p03loc_7D21
xor a
ld (OP1), a
-p03loc_7D21: ; CODE XREF: p03sub_7C90+8Bj
+p03loc_7D21:
jr p03loc_7CB3
; END OF FUNCTION CHUNK FOR p03sub_7C90
; ---------------------------------------------------------------------------
-p03loc_7D23: ; CODE XREF: seg001:7363j
+p03loc_7D23:
ld ix, (unk_97A3)
call p03sub_7D60
bit 4, (iy+1Ch)
@@ -11717,7 +11717,7 @@
jr z, p03loc_7D3C
set 4, (hl)
-p03loc_7D3C: ; CODE XREF: seg001:7D38j
+p03loc_7D3C:
call p03sub_74B9
call p03sub_7474
call Page0Call_3E8B
@@ -11726,13 +11726,13 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7D48: ; CODE XREF: p03sub_7278+2Ap seg001:7D2Ej
+p03sub_7D48:
res 1, (iy+15h)
ld a, (unk_97A1)
ld b, a
ld ix, (unk_979F)
-p03loc_7D54: ; CODE XREF: p03sub_7D48+15j
+p03loc_7D54:
or a
call Page03_3474
ld de, 0Fh
@@ -11745,7 +11745,7 @@
; =============== S U B R O U T I N E =======================================
-p03sub_7D60: ; CODE XREF: seg001:7D27p
+p03sub_7D60:
res 4, (iy+1Ch)
ld l, (ix+9)
ld h, (ix+0Ah)
@@ -11758,7 +11758,7 @@
jr nz, p03loc_7D7D
set 4, (iy+1Ch)
-p03loc_7D7D: ; CODE XREF: p03sub_7D60+17j
+p03loc_7D7D:
cpl
and (hl)
or (ix+0Bh)
@@ -11768,14 +11768,14 @@
; ---------------------------------------------------------------------------
-p03loc_7D84: ; CODE XREF: seg001:71F9j seg001:73E6j
+p03loc_7D84:
ld ix, (unk_97A3)
cp 1
jr z, p03loc_7D91
cp 2
jp nz, Page0Call_3453
-p03loc_7D91: ; CODE XREF: seg001:7D8Aj
+p03loc_7D91:
dec a
ld e, a
ld d, 0
@@ -11807,7 +11807,7 @@
; ---------------------------------------------------------------------------
; START OF FUNCTION CHUNK FOR p03sub_7278
-p03loc_7DBC: ; CODE XREF: p03sub_7278+76j p03sub_7278+7Ej
+p03loc_7DBC:
ld de, (OP1+1)
ld a, e
ld e, d
@@ -11832,7 +11832,7 @@
; =============== S U B R O U T I N E =======================================
-Page03_347A: ; CODE XREF: seg001:7DCCp
+Page03_347A:
call p03sub_74B9
ld a, (winLeftEdge)
push af
@@ -11852,7 +11852,7 @@
ld a, 7
ld (winBtm), a
-p03loc_7E15: ; CODE XREF: Page03_347A+1Ej
+p03loc_7E15:
call p03sub_7212
res 5, (iy+1Dh)
call p03sub_7474