--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/source/page03/initial.asm Wed May 07 06:24:31 2014 -0400
@@ -0,0 +1,11869 @@
+Page03_3828:
+ call Page0Call_3CFF
+ rst 28h
+; ---------------------------------------------------------------------------
+ .dw 808Ah
+; ---------------------------------------------------------------------------
+ ld hl, 1
+ ld (curRow), hl
+ ld hl, aBaseCode1_19
+ call Page0Call_3C87
+ bit 1, (iy+35h)
+ jr z, p03loc_401F
+ ld a, 79h ; 'y'
+ call Page0Call_3C45
+ jr z, p03loc_4031
+
+p03loc_401F: ; CODE XREF: seg001:4016j
+ ld hl, p03loc_40FF
+ call p03sub_40E7
+ ld hl, p03loc_4112
+ call p03sub_40E7
+ ld hl, p03loc_412F
+ call p03sub_40E7
+
+p03loc_4031: ; CODE XREF: seg001:401Dj
+ call Page0Call_3F09
+ call Page0Call_3F21
+ cp 5
+ jp nz, JForceCmdNoChar
+ call Page0Call_3E8B
+ ld hl, 403h
+ ld (curRow), hl
+ ld hl, aStart?
+ call Page0Call_3C87
+ call Page0Call_3F21
+ cp 5
+ jp nz, JForceCmdNoChar
+ call Page0Call_3E8B
+ res 4, (iy+33h)
+ set 2, (iy+24h)
+ res 2, (iy+8)
+ ld hl, 0
+ ld (curGStyle), hl
+ rst 28h
+; ---------------------------------------------------------------------------
+ .dw 807Eh
+; ---------------------------------------------------------------------------
+ ld hl, aId
+ jp z, p03loc_4077
+ call p03sub_429B
+ call Page0Call_3E8B
+
+p03loc_4077: ; CODE XREF: seg001:406Ej
+ call p03sub_4146
+ ld sp, 8D4Fh
+
+p03loc_407D: ; CODE XREF: seg001:p03loc_4198j
+ ld hl, 403h
+ ld (curRow), hl
+ ld hl, (curGStyle)
+ push hl
+ call Page0Call_3C7B
+ ei
+ pop hl
+ inc hl
+ ld (curGStyle), hl
+ xor a
+ call p03sub_409E
+ ld hl, aRom
+ or a
+ jp nz, p03loc_4295
+ jp p03loc_4172
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_409E: ; CODE XREF: seg001:4091p
+
+; FUNCTION CHUNK AT 41AB SIZE 000000A0 BYTES
+
+ ld b, 0
+ jr p03loc_40AC
+; ---------------------------------------------------------------------------
+
+p03loc_40A2: ; CODE XREF: p03sub_409E+25j
+ ld b, 18h
+ call NZIf83Plus
+ jr nz, p03loc_40AB
+ ld b, 78h ; 'x'
+
+p03loc_40AB: ; CODE XREF: p03sub_409E+9j
+ ; p03sub_409E:p03loc_40E3j
+ pop af
+
+p03loc_40AC: ; CODE XREF: p03sub_409E+2j
+ ld hl, 4000h
+
+p03loc_40AF: ; CODE XREF: p03sub_409E+18j p03sub_409E+38j
+ call LoadCIndPaged
+ add a, c
+ inc hl
+ bit 7, h
+ jr z, p03loc_40AF
+ call page0_189
+ jp nz, p03loc_41AB
+ push af
+ inc b
+ ld a, b
+ cp 8
+ jr z, p03loc_40A2
+ call NZIf83Plus
+ jr nz, p03loc_40CE
+ cp 7Ah ; 'z'
+ jr p03loc_40D0
+; ---------------------------------------------------------------------------
+
+p03loc_40CE: ; CODE XREF: p03sub_409E+2Aj
+ cp 1Ah
+
+p03loc_40D0: ; CODE XREF: p03sub_409E+2Ej
+ jr nz, p03loc_40D8
+ pop af
+ ld hl, 4200h
+ jr p03loc_40AF
+; ---------------------------------------------------------------------------
+
+p03loc_40D8: ; CODE XREF: p03sub_409E:p03loc_40D0j
+ call NZIf83Plus
+ jr nz, p03loc_40E1
+ cp 7Eh ; '~'
+ jr p03loc_40E3
+; ---------------------------------------------------------------------------
+
+p03loc_40E1: ; CODE XREF: p03sub_409E+3Dj
+ cp 1Eh
+
+p03loc_40E3: ; CODE XREF: p03sub_409E+41j
+ jr nz, p03loc_40AB
+ pop af
+ ret
+; End of function p03sub_409E
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_40E7: ; CODE XREF: seg001:4022p seg001:4028p ...
+ push hl
+ call ldHLind
+ ld (penCol), hl
+ pop hl
+ inc hl
+ inc hl
+ ld bc, 20h ; ' '
+ ld de, OP1
+ push de
+ ldir
+ pop hl
+ call Page0Call_3D4D
+ ret
+; End of function p03sub_40E7
+
+p03loc_40FF:
+ .db 12h
+ .db 18h
+aEnterSelfTest?:.asc 'Enter Self-Test?',0
+p03loc_4112:
+ .db 4
+ .db 24h ; $
+aThisWillClearA:.asc 'This will clear all memory',0
+p03loc_412F:
+ .db 0Ch
+ .db 3Ah ; :
+aPressOnToCance:.asc 'Press ',0C1h,'ON] to cancel',0
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4146: ; CODE XREF: seg001:p03loc_4077p
+ call NZIf83Plus
+ ret nz
+ di
+ ld a, 45h ; 'E'
+ out (36h), a
+ xor a
+ out (37h), a
+ ld a, 80h ; '�'
+ out (38h), a
+ ld hl, 0
+
+p03loc_4159: ; CODE XREF: p03sub_4146+18j
+ inc hl
+ in a, (4)
+ bit 7, a
+ jr z, p03loc_4159
+ ei
+ ld de, 503h
+ ld (curRow), de
+ call Page0Call_3C7B
+ call Page0Call_3F21
+ call Page0Call_3CFF
+ ret
+; End of function p03sub_4146
+
+; ---------------------------------------------------------------------------
+
+p03loc_4172: ; CODE XREF: seg001:409Bj
+ ld de, 8D4Fh
+ call p03sub_4368
+ jr nz, p03loc_41AB
+ call NZIf83Plus
+ jr nz, p03loc_4198
+ xor a
+ out (27h), a
+ ld a, 2
+
+p03loc_4184: ; CODE XREF: seg001:4193j
+ push af
+ out (5), a
+ ld de, 0C000h
+ call p03sub_4368
+ jr nz, p03loc_419B
+ pop af
+ inc a
+ cp 8
+ jr c, p03loc_4184
+ xor a
+ out (5), a
+
+p03loc_4198: ; CODE XREF: seg001:417Dj
+ jp p03loc_407D
+; ---------------------------------------------------------------------------
+
+p03loc_419B: ; CODE XREF: seg001:418Dj
+ pop bc
+ xor a
+ out (5), a
+ jr p03loc_41AB
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_41A1: ; CODE XREF: p03sub_409E+154p
+ ; p03sub_409E+16Ap
+ add a, 18h
+ or 0C0h ; '�'
+ di
+ call page0_AB9
+ ei
+ ret
+; End of function p03sub_41A1
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_409E
+
+p03loc_41AB: ; CODE XREF: p03sub_409E+1Dj seg001:4178j ...
+ xor a
+ ld (unk_9CAF), a
+ res 4, (iy+9)
+ ld de, 8181h
+ call p03sub_424B
+ ld d, 0FFh
+ ld b, 80h ; '�'
+ call p03sub_427C
+ ld b, 0BFh ; '�'
+ call p03sub_427C
+ call p03sub_4274
+ ld a, 0FFh
+ call p03sub_426F
+ sub a
+ call p03sub_426F
+ ld d, 55h ; 'U'
+ ld e, 0AAh ; '�'
+ call p03sub_424B
+ call Page0Call_3F21
+ or a
+ jr z, p03loc_41FE
+ ld de, 0FFh
+ call p03sub_424B
+ call Page0Call_3F21
+ or a
+ jr z, p03loc_41FE
+ ld a, 0AAh ; '�'
+ call p03sub_426F
+ ld c, 27h ; '''
+
+p03loc_41F1: ; CODE XREF: p03sub_409E+15Ej
+ ld a, c
+ call p03sub_41A1
+ call Page0Call_3F21
+ or a
+ jr z, p03loc_41FE
+ dec c
+ jr nz, p03loc_41F1
+
+p03loc_41FE: ; CODE XREF: p03sub_409E+13Ej
+ ; p03sub_409E+14Aj ...
+ res 4, (iy+9)
+ call Page0Call_3E8B
+ ld a, (contrast)
+ call p03sub_41A1
+ ld ix, p03loc_42B3
+ ld b, 31h ; '1'
+ call page0_B8D
+
+p03loc_4214: ; CODE XREF: p03sub_409E+196j
+ ld hl, 503h
+ ld (curRow), hl
+ ld l, (ix+1)
+ ld h, 0
+ call Page0Call_3C7B
+ ei
+
+p03loc_4223: ; CODE XREF: p03sub_409E+190j
+ call GetCSC
+ call page0_189
+ jr nz, p03loc_4248
+ cp (ix+0)
+ jr nz, p03loc_4223
+ inc ix
+ inc ix
+ djnz p03loc_4214
+ call Page0Call_3E8B
+ ld hl, 703h
+ ld (curRow), hl
+ ld hl, aOk
+ call Page0Call_3C87
+ call Page0Call_3F21
+
+p03loc_4248: ; CODE XREF: p03sub_409E+18Bj
+ 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_409E+137p ...
+ di
+ ld c, 20h ; ' '
+
+p03loc_424E: ; CODE XREF: p03sub_424B+20j
+ ld a, 80h ; '�'
+ call page0_AB9
+ ld a, c
+ call page0_AB9
+ ld b, 20h ; ' '
+
+p03loc_4259: ; CODE XREF: p03sub_424B+1Aj
+ ld a, d
+ call lcd_busy
+ out (11h), a
+ ld a, e
+ call lcd_busy
+ out (11h), a
+ djnz p03loc_4259
+ inc c
+ ld a, c
+ cp 2Ch ; ','
+ jr nz, p03loc_424E
+ ei
+ ret
+; End of function p03sub_424B
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_426F: ; CODE XREF: p03sub_409E+12Cp
+ ; p03sub_409E+130p ...
+ ld d, a
+ ld e, a
+ call p03sub_424B
+; End of function p03sub_426F
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4274: ; CODE XREF: p03sub_409E+127p
+ call Page0Call_3F21
+ pop hl
+ or a
+ jr z, p03loc_41FE
+ jp (hl)
+; End of function p03sub_4274
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_427C: ; CODE XREF: p03sub_409E+11Fp
+ ; p03sub_409E+124p
+ di
+ ld c, 20h ; ' '
+
+p03loc_427F: ; CODE XREF: p03sub_427C+15j
+ ld a, b
+ call page0_AB9
+ ld a, c
+ call page0_AB9
+ ld a, d
+ call lcd_busy
+ out (11h), a
+ inc c
+ ld a, c
+ cp 2Ch ; ','
+ jr nz, p03loc_427F
+ ei
+ ret
+; End of function p03sub_427C
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_4368
+
+p03loc_4295: ; CODE XREF: seg001:4098j p03sub_4368+48j
+ call p03sub_429B
+ jp resetRam
+; END OF FUNCTION CHUNK FOR p03sub_4368
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_429B: ; CODE XREF: seg001:4071p
+ ; p03sub_4368:p03loc_4295p
+ push hl
+ call Page0Call_3E8B
+ ld hl, 503h
+ ld (curRow), hl
+ pop hl
+ call Page0Call_3C87
+ ld hl, aFail
+ call Page0Call_3C87
+ call Page0Call_3F21
+ ret
+; End of function p03sub_429B
+
+p03loc_42B3:
+ .db 35h ; 5
+ .db 0Bh
+ .db 34h ; 4
+ .db 0Ch
+ .db 33h ; 3
+ .db 0Dh
+ .db 32h ; 2
+ .db 0Eh
+ .db 31h ; 1
+ .db 0Fh
+ .db 36h ; 6
+ .db 15h
+ .db 37h ; 7
+ .db 16h
+ .db 38h ; 8
+ .db 17h
+ .db 2
+ .db 18h
+ .db 4
+ .db 19h
+ .db 3
+ .db 1Ah
+ .db 30h ; 0
+ .db 1Fh
+ .db 28h ; (
+ .db 20h
+ .db 20h
+ .db 21h ; !
+ .db 1
+ .db 22h ; "
+ .db 2Fh ; /
+ .db 29h ; )
+ .db 27h ; '
+ .db 2Ah ; *
+ .db 1Fh
+ .db 2Bh ; +
+ .db 17h
+ .db 2Ch ; ,
+ .db 0Fh
+ .db 2Dh ; -
+ .db 2Eh ; .
+ .db 33h ; 3
+ .db 26h ; &
+ .db 34h ; 4
+ .db 1Eh
+ .db 35h ; 5
+ .db 16h
+ .db 36h ; 6
+ .db 0Eh
+ .db 37h ; 7
+ .db 2Dh ; -
+ .db 3Dh ; =
+ .db 25h ; %
+ .db 3Eh ; >
+ .db 1Dh
+ .db 3Fh ; ?
+ .db 15h
+ .db 40h ; @
+ .db 0Dh
+ .db 41h ; A
+ .db 2Ch ; ,
+ .db 47h ; G
+ .db 24h ; $
+ .db 48h ; H
+ .db 1Ch
+ .db 49h ; I
+ .db 14h
+ .db 4Ah ; J
+ .db 0Ch
+ .db 4Bh ; K
+ .db 2Bh ; +
+ .db 51h ; Q
+ .db 23h ; #
+ .db 52h ; R
+ .db 1Bh
+ .db 53h ; S
+ .db 13h
+ .db 54h ; T
+ .db 0Bh
+ .db 55h ; U
+ .db 2Ah ; *
+ .db 5Bh ; [
+ .db 22h ; "
+ .db 5Ch ; \
+ .db 1Ah
+ .db 5Dh ; ]
+ .db 12h
+ .db 5Eh ; ^
+ .db 0Ah
+ .db 5Fh ; _
+ .db 21h ; !
+ .db 66h ; f
+ .db 19h
+ .db 67h ; g
+ .db 11h
+ .db 68h ; h
+ .db 9
+ .db 69h ; i
+; ---------------------------------------------------------------------------
+
+EVALF3A:
+ ld hl, kbdGetKy
+ ld a, (hl)
+ or a
+ jr nz, p03loc_4320
+ ld h, a
+ ld l, a
+ jr p03loc_432A
+; ---------------------------------------------------------------------------
+
+p03loc_4320: ; CODE XREF: seg001:431Aj
+ ld e, a
+ ld d, 0
+ ld (hl), d
+ ld hl, p03loc_4330-1
+ add hl, de
+ ld l, (hl)
+ ld h, d
+
+p03loc_432A: ; CODE XREF: seg001:431Ej
+ call SetXXXXOP2
+ jp GetCSC
+p03loc_4330:
+ .db 22h ; "
+ .db 18h
+ .db 1Ah
+ .db 19h
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 69h ; i
+ .db 5Fh ; _
+ .db 55h ; U
+ .db 4Bh ; K
+ .db 41h ; A
+ .db 37h ; 7
+ .db 2Dh ; -
+ .db 0
+ .db 68h ; h
+ .db 5Eh ; ^
+ .db 54h ; T
+ .db 4Ah ; J
+ .db 40h ; @
+ .db 36h ; 6
+ .db 2Ch ; ,
+ .db 0
+ .db 67h ; g
+ .db 5Dh ; ]
+ .db 53h ; S
+ .db 49h ; I
+ .db 3Fh ; ?
+ .db 35h ; 5
+ .db 2Bh ; +
+ .db 21h ; !
+ .db 66h ; f
+ .db 5Ch ; \
+ .db 52h ; R
+ .db 48h ; H
+ .db 3Eh ; >
+ .db 34h ; 4
+ .db 2Ah ; *
+ .db 20h
+ .db 0
+ .db 5Bh ; [
+ .db 51h ; Q
+ .db 47h ; G
+ .db 3Dh ; =
+ .db 33h ; 3
+ .db 29h ; )
+ .db 1Fh
+ .db 0Fh
+ .db 0Eh
+ .db 0Dh
+ .db 0Ch
+ .db 0Bh
+ .db 15h
+ .db 16h
+ .db 17h
+
+; =============== 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
+
+ ld hl, 0
+ or a
+ sbc hl, de
+ ex de, hl
+ push de
+ push hl
+
+p03loc_4371: ; CODE XREF: p03sub_4368+18j
+ ld b, 0
+
+p03loc_4373: ; CODE XREF: p03sub_4368+16j
+ ld (hl), b
+ inc hl
+ dec de
+ ld a, e
+ or d
+ jr z, p03loc_4382
+ inc b
+ ld a, b
+ cp 0FBh ; '�'
+ jr c, p03loc_4373
+ jr p03loc_4371
+; ---------------------------------------------------------------------------
+
+p03loc_4382: ; CODE XREF: p03sub_4368+10j
+ pop hl
+ pop de
+
+p03loc_4384: ; CODE XREF: p03sub_4368+3Aj
+ ld b, 0
+
+p03loc_4386: ; CODE XREF: p03sub_4368+38j
+ push de
+ push hl
+ ld de, 9C86h
+ or a
+ sbc hl, de
+ pop hl
+ pop de
+ jr z, p03loc_4396
+ ld a, (hl)
+ cp b
+ jr nz, p03loc_43A4
+
+p03loc_4396: ; CODE XREF: p03sub_4368+28j
+ inc hl
+ dec de
+ ld a, e
+ or d
+ jr z, p03loc_43B3
+ inc b
+ ld a, b
+ cp 0FBh ; '�'
+ jr c, p03loc_4386
+ jr p03loc_4384
+; ---------------------------------------------------------------------------
+
+p03loc_43A4: ; CODE XREF: p03sub_4368+2Cj
+ in a, (2)
+ and 80h ; '�'
+ jr z, p03loc_43AD
+ xor a
+ out (5), a
+
+p03loc_43AD: ; CODE XREF: p03sub_4368+40j
+ ld hl, aRam
+ jp p03loc_4295
+; ---------------------------------------------------------------------------
+
+p03loc_43B3: ; CODE XREF: p03sub_4368+32j
+ call page0_189
+ ret
+; End of function p03sub_4368
+
+; ---------------------------------------------------------------------------
+ ld a, 2
+ ld de, 1
+ jr p03loc_43C6
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_3714: ; CODE XREF: seg001:5747p seg001:579Ep ...
+ ld hl, OP3
+
+GetK:
+ ld a, 1
+ ld de, 0
+
+p03loc_43C6: ; CODE XREF: seg001:43BCj
+ call CheckSplitFlag
+ jr z, p03loc_43CF
+ add a, 3
+ ld e, a
+ inc a
+
+p03loc_43CF: ; CODE XREF: Page03_3714+Bj
+ ld (winTop), a
+ ld (curRow), de
+ call Page0Call_3C87
+ call Page0Call_3D1D
+ ret
+; End of function Page03_3714
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_43DD: ; CODE XREF: seg001:56FCp p03sub_5779+3p
+ push ix
+ ld ix, (unk_9700)
+ ld a, 1
+ call CheckSplitFlag
+ jr z, p03loc_43EC
+ ld a, 5
+
+p03loc_43EC: ; CODE XREF: p03sub_43DD+Bj
+ ld (curRow), a
+ ld a, (mcxCurApp)
+ cp 53h ; 'S'
+ jr nz, p03loc_43FA
+ ld hl, curRow
+ dec (hl)
+
+p03loc_43FA: ; CODE XREF: p03sub_43DD+17j p03sub_43DD+3Cj
+ sub a
+ ld (curRow+1), a
+ ld a, (curRow)
+ ld hl, winBtm
+ cp (hl)
+ jr nc, p03loc_441E
+ call p03sub_4E6C
+ inc a
+ jr z, p03loc_441B
+ call setTitle
+ ld de, 3
+ add ix, de
+ ld hl, curRow
+ inc (hl)
+ jr p03loc_43FA
+; ---------------------------------------------------------------------------
+
+p03loc_441B: ; CODE XREF: p03sub_43DD+2Ej
+ call Page0Call_3D29
+
+p03loc_441E: ; CODE XREF: p03sub_43DD+28j
+ pop ix
+ ret
+; End of function p03sub_43DD
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_3720: ; CODE XREF: seg001:47EFp
+ sub a
+ ld (curRow+1), a
+ ld a, (curRow)
+ ld hl, winBtm
+ cp (hl)
+ jr nc, p03loc_445C
+ ld a, 20h ; ' '
+ call Page0Call_3F9F
+ ld a, (unk_9813)
+ ld e, a
+ ld d, 5Eh ; '^'
+ call Page0Call_3DB9
+ call Page0Call_3C93
+ ld a, 28h ; '('
+ call Page0Call_3F9F
+ ld e, 1Fh
+ ld d, 63h ; 'c'
+ call Page0Call_3DB9
+ call Page0Call_3C93
+ ld a, 29h ; ')'
+ call Page0Call_3F9F
+ call Page0Call_3627
+ call Page0Call_3F9F
+ call Page0Call_3D1D
+
+p03loc_445C: ; CODE XREF: Page03_3720+Bj
+ call Page0Call_3CC9
+; End of function Page03_3720
+
+; START OF FUNCTION CHUNK FOR DisplayEditSysVar
+
+p03loc_445F: ; CODE XREF: DisplayEditSysVar+Dj
+ call Page03_3726
+ call Page0Call_3AC5
+ or a
+ ret z
+ push af
+ ld a, 7Bh ; '{'
+ call Page0Call_3CAB
+ call Page03_3726
+ ld de, OP1
+ call mov9B2
+ call p03sub_44C6
+ pop af
+ cp 1
+ jr z, p03loc_4490
+ ld a, 2Ch ; ','
+ call p03sub_4492
+ call Page03_3726
+ ex de, hl
+ ld de, OP1
+ call mov9B2
+ call p03sub_44C6
+
+p03loc_4490: ; CODE XREF: DisplayEditSysVar-67Ej
+ 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
+ ld b, a
+ ld a, (curRow)
+ inc a
+ ld hl, winBtm
+ cp (hl)
+ ld a, b
+ jr nc, p03loc_44AB
+
+p03loc_449E: ; CODE XREF: p03sub_4492+1Dj
+ ld de, (curRow)
+ push de
+ call Page0Call_3CAB
+ pop hl
+ ld (curRow), hl
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_44AB: ; CODE XREF: p03sub_4492+Aj
+ bit 2, (iy+0Dh)
+ jr z, p03loc_449E
+ res 2, (iy+0Dh)
+ ld de, (curRow)
+ push de
+ call Page0Call_3CAB
+ pop hl
+ ld (curRow), hl
+ set 2, (iy+0Dh)
+ ret
+; End of function p03sub_4492
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_44C6: ; CODE XREF: DisplayEditSysVar-684p
+ ; DisplayEditSysVar-66Dp
+ bit 2, (iy+0Dh)
+ jp z, p03loc_4587
+ res 2, (iy+0Dh)
+ call p03loc_4587
+ set 2, (iy+0Dh)
+ ret
+; End of function p03sub_44C6
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_3726: ; CODE XREF: DisplayEditSysVar:p03loc_445Fp
+ ; DisplayEditSysVar-68Dp ...
+ ld a, (unk_9813)
+ res 7, a
+ ld hl, u0
+ ld de, u02
+ dec a
+ ret m
+ ld hl, v0
+ ld de, v02
+ dec a
+ ret m
+ ld hl, w0
+ ld de, w02
+ ret
+; End of function Page03_3726
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+setTitle: ; CODE XREF: p03sub_43DD+30p seg001:4705p ...
+ sub a
+ ld (curRow+1), a
+ ld a, (winBtm)
+ dec a
+ ld hl, curRow
+ cp (hl)
+ jr nz, p03loc_451A
+ ld a, 1
+ bit 2, (iy+35h)
+ jr z, p03loc_4510
+ call Page0Call_362D
+ jr nz, p03loc_4513
+
+p03loc_4510: ; CODE XREF: setTitle+14j
+ ld a, (ix+3)
+
+p03loc_4513: ; CODE XREF: setTitle+19j
+ inc a
+ jr z, p03loc_453E
+ ld a, 1Fh
+ jr p03loc_4540
+; ---------------------------------------------------------------------------
+
+p03loc_451A: ; CODE XREF: setTitle+Cj
+ ld a, (winTop)
+ cp (hl)
+ jr nz, p03loc_453E
+ ld a, (mcxCurApp)
+ cp 53h ; 'S'
+ jr z, p03loc_453E
+ ld a, 2
+ bit 2, (iy+35h)
+ jr z, p03loc_4534
+ call Page0Call_362D
+ jr nz, p03loc_4537
+
+p03loc_4534: ; CODE XREF: setTitle+38j
+ ld a, (ix+0FDh)
+
+p03loc_4537: ; CODE XREF: setTitle+3Dj
+ inc a
+ jr z, p03loc_453E
+ ld a, 1Eh
+ jr p03loc_4540
+; ---------------------------------------------------------------------------
+
+p03loc_453E: ; CODE XREF: setTitle+1Fj setTitle+29j ...
+ ld a, 20h ; ' '
+
+p03loc_4540: ; CODE XREF: setTitle+23j setTitle+47j
+ call Page0Call_3F9F
+ bit 2, (iy+35h)
+ jr z, p03loc_454F
+ ld a, 3
+ call Page0Call_362D
+ ret nz
+
+p03loc_454F: ; CODE XREF: setTitle+52j
+ ld l, (ix+1)
+ ld h, (ix+2)
+ bit 1, (iy+35h)
+ jr z, p03loc_4565
+ push bc
+ ld b, (ix+0)
+ ld a, 14h
+ call Page0Call_3C45
+ pop bc
+
+p03loc_4565: ; CODE XREF: setTitle+64j
+ call p03sub_7530
+ ret z
+ call p03sub_4D49
+ ld a, 3Dh ; '='
+ call Page0Call_3F9F
+ call Page0Call_3CC9
+
+p03loc_4574: ; CODE XREF: DisplayEditSysVar:p03loc_4B16j
+ call p03sub_7530
+ jr nz, p03sub_4581
+ ld a, (ix+0)
+ call Rcl_StatVar
+ jr p03loc_4587
+; End of function setTitle
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4581: ; CODE XREF: setTitle+82j p03sub_4581+29p
+ ld a, (ix+0)
+ call Page0Call_3633
+
+p03loc_4587: ; CODE XREF: p03sub_44C6+4j p03sub_44C6+Bp ...
+ ld a, 15h
+ call Page0Call_3639
+ ld hl, OP3
+ call Page0Call_3CB7
+ ld a, (ix+0)
+ cp 30h ; '0'
+ ret nz
+ ld a, (mcxCurApp)
+ cp 53h ; 'S'
+ ret nz
+ ld hl, curRow
+ inc (hl)
+ call Page0Call_3CC9
+ ld de, 3
+ add ix, de
+ call p03sub_4581
+ ld hl, curRow
+ dec (hl)
+ call Page0Call_3CC9
+ ld de, 0FFFDh
+ add ix, de
+ ret
+; End of function p03sub_4581
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_45BA: ; CODE XREF: seg001:57F4p
+ ld a, 6
+ ld (curRow), a
+ jr p03loc_45E3
+; End of function p03sub_45BA
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_45C1: ; CODE XREF: seg001:57EDp
+ ld a, 2
+ call CheckSplitFlag
+ jr z, p03loc_45D5
+ ld a, 6
+ jr p03loc_45D5
+; End of function p03sub_45C1
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_3732: ; CODE XREF: seg001:5707p seg001:574Dp ...
+ ld a, 1
+ call CheckSplitFlag
+ jr z, p03loc_45D5
+ ld a, 5
+
+p03loc_45D5: ; CODE XREF: p03sub_45C1+5j p03sub_45C1+9j ...
+ ld (curRow), a
+ ld a, (mcxCurApp)
+ cp 53h ; 'S'
+ jr nz, p03loc_45E3
+ ld hl, curRow
+ dec (hl)
+
+p03loc_45E3: ; CODE XREF: p03sub_45BA+5j
+ ; Page03_3732+11j ...
+ call CanAlphIns
+ call RecallEd
+ ld hl, (unk_9700)
+ call p03sub_7530
+ jr nz, p03loc_4602
+ ld a, (hl)
+ call Rcl_StatVar
+ call CkOP1Real
+ cp 0Eh
+ jr nz, p03loc_4600
+ xor a
+ ld (OP1), a
+
+p03loc_4600: ; CODE XREF: Page03_3732+2Ej
+ jr Page03_3738
+; ---------------------------------------------------------------------------
+
+p03loc_4602: ; CODE XREF: Page03_3732+23j
+ 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
+ ld a, (hl)
+ call Page0Call_3633
+
+Page03_3738: ; CODE XREF: Page03_3732:p03loc_4600j
+ ; Page03_3732+41j
+ call Page0Call_363F
+
+dispVarVal:
+ jr nc, Page03_3744
+ call releaseBuffer
+ jp Page0Call_24F9
+; ---------------------------------------------------------------------------
+
+Page03_3744: ; CODE XREF: Page03_3732:dispVarValj
+ call Page0Call_3645
+ call Page0Call_3DE3
+ res 5, (iy+5)
+ ret
+; End of function Page03_3732
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_374A: ; CODE XREF: seg001:4717j
+ ; seg001:p03loc_47F7p
+ call RecallEd
+ call Page03_3726
+ call Page0Call_3AC5
+ or a
+ ret z
+ call Page0Call_364B
+ jr nc, p03loc_463F
+ call releaseBuffer
+ jp Page0Call_24F9
+; ---------------------------------------------------------------------------
+
+p03loc_463F: ; CODE XREF: Page03_374A+Ej
+ call Page0Call_3645
+ call Page0Call_3DE3
+ res 5, (iy+5)
+ ret
+; End of function Page03_374A
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+RecallEd: ; CODE XREF: Page03_3732+1Ap
+ ; Page03_374Ap
+ call Page03_37B0
+
+Page03_3756:
+ call Page03_37AA
+ set 6, (iy+5)
+ call createNumEditBuf
+ ld (editSym), hl
+ call Page0Call_3651
+ ret
+; End of function RecallEd
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+createNumEditBuf: ; CODE XREF: RecallEd+Ap
+ call releaseBuffer
+ ld hl, Page0Call_24F9
+ call pushErrorHandleR
+ ld hl, 14h
+ call CreateEqu
+ call popErrorHandleR
+ ret
+; End of function createNumEditBuf
+
+; ---------------------------------------------------------------------------
+
+ProcessBufKeys:
+ push af
+ call CallCommon
+ pop af
+ ret
+; ---------------------------------------------------------------------------
+ bit 2, (iy+35h)
+ jr z, p03loc_4690
+ ld b, a
+ push ix
+ ld ix, (unk_9700)
+ ld c, (ix+0FDh)
+ ld a, 0Ah
+ call Page0Call_362D
+ pop ix
+ ret nz
+ ld a, b
+
+p03loc_4690: ; CODE XREF: seg001:467Bj
+ cp 27h ; '''
+ jr nz, p03loc_46B4
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ ret z
+ call p03sub_4B7F
+ ld a, (mcxCurApp)
+ cp 48h ; 'H'
+ jp z, Page03_3A38
+ cp 51h ; 'Q'
+ jp z, Page03_3A6E
+ cp 4Bh ; 'K'
+ jp z, Page03_3A4A
+ cp 53h ; 'S'
+ jp z, Page03_3A7A
+
+p03loc_46B4: ; CODE XREF: seg001:4692j
+ cp 5
+ jr z, p03loc_46BD
+ cp 4
+ jp nz, p03loc_474F
+
+p03loc_46BD: ; CODE XREF: seg001:46B6j
+ call p03sub_473A
+ jr nz, p03loc_4710
+ call IsEditEmpty
+ ret z
+ call ParseAndStoreSysVar
+ call DisplayEditSysVar
+ ld a, 1
+ bit 2, (iy+35h)
+ jr z, p03loc_46D9
+ call Page0Call_362D
+ jr nz, p03loc_46DC
+
+p03loc_46D9: ; CODE XREF: seg001:46D2j
+ ld a, (ix+3)
+
+p03loc_46DC: ; CODE XREF: seg001:46D7j
+ inc a
+ jr nz, p03loc_46EE
+ ld a, (mcxCurApp)
+ cp 4Bh ; 'K'
+ jp z, Page0Call_3657
+ cp 53h ; 'S'
+ jr nz, p03loc_470D
+ jp Page0Call_365D
+; ---------------------------------------------------------------------------
+
+p03loc_46EE: ; CODE XREF: seg001:46DDj
+ call p03sub_4742
+ jp nz, Page0Call_3663
+ ld de, 3
+ add ix, de
+ ld (unk_9700), ix
+ call p03sub_4987
+ jr c, p03loc_470A
+ ld (curRow+1), a
+ call setTitle
+ jr p03loc_470D
+; ---------------------------------------------------------------------------
+
+p03loc_470A: ; CODE XREF: seg001:4700j
+ ld (curRow), a
+
+p03loc_470D: ; CODE XREF: seg001:46E9j seg001:4708j
+ jp p03loc_45E3
+; ---------------------------------------------------------------------------
+
+p03loc_4710: ; CODE XREF: seg001:46C0j
+ call p03sub_4727
+ ld a, (ix+3)
+ inc a
+ jp z, Page03_374A
+ ld de, 3
+ add ix, de
+ ld (unk_9700), ix
+ call Page0Call_3669
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4727: ; CODE XREF: seg001:p03loc_4710p
+ ; seg001:Page03_3774p
+ call ParseAndStoreSysVar
+ bit 4, (iy+1)
+ call z, DisplayEditSysVar
+ res 4, (iy+1)
+ ld ix, (unk_9700)
+ ret
+; End of function p03sub_4727
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_473A: ; CODE XREF: seg001:p03loc_46BDp
+ ; seg001:Page03_3768p ...
+ ld hl, (unk_9700)
+ ld a, (hl)
+ cp 1Fh
+ jr z, p03loc_4749
+; End of function p03sub_473A
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4742: ; CODE XREF: seg001:p03loc_46EEp
+ ; ParseAndStoreSysVar+5p
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jr z, p03loc_474B
+
+p03loc_4749: ; CODE XREF: p03sub_473A+6j
+ xor a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_474B: ; CODE XREF: p03sub_4742+5j
+ call page0_19D
+ ret
+; End of function p03sub_4742
+
+; ---------------------------------------------------------------------------
+
+p03loc_474F: ; CODE XREF: seg001:46BAj
+ cp 6
+ jr nz, p03loc_4797
+ ld a, (mcxCurApp)
+ cp 53h ; 'S'
+ ret nz
+ ld hl, (unk_9700)
+ ld a, (hl)
+ cp 30h ; '0'
+ ret nc
+ push af
+ call Page0Call_366F
+ call closeeditbufnor
+ pop af
+ sub 2Bh ; '+'
+ ld hl, p03loc_4D62
+ ld e, a
+ ld d, 0
+ add hl, de
+ ld a, (hl)
+ call Page0Call_395D
+ ld hl, (unk_9700)
+ ld a, (hl)
+ call Page0Call_3675
+ call p03sub_4AE9
+ set 1, (iy+19h)
+ ld hl, (curRow)
+ push hl
+ sub a
+ ld (curRow+1), a
+ ld a, 0D0h ; '�'
+ call Page0Call_3F9F
+ pop hl
+ ld (curRow), hl
+ jp p03loc_45E3
+; ---------------------------------------------------------------------------
+
+p03loc_4797: ; CODE XREF: seg001:4751j
+ cp 3
+ jr nz, p03loc_4814
+
+Page03_3768:
+ call p03sub_473A
+ jr nz, Page03_3774
+ call IsEditEmpty
+ ret z
+ call ParseAndStoreSysVar
+ call DisplayEditSysVar
+ ld a, 2
+ bit 2, (iy+35h)
+ jr z, p03loc_47B7
+ call Page0Call_362D
+ jr nz, p03loc_47BA
+
+p03loc_47B7: ; CODE XREF: seg001:47B0j
+ ld a, (ix+0FDh)
+
+p03loc_47BA: ; CODE XREF: seg001:47B5j
+ inc a
+ jr nz, p03loc_47C8
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jr nz, p03loc_47DE
+ call Page0Call_367B
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_47C8: ; CODE XREF: seg001:47BBj
+ ld de, 0FFFDh
+ add ix, de
+ ld (unk_9700), ix
+ call Page03_378C
+ jr nc, p03loc_47DB
+ call setTitle
+ jr p03loc_47DE
+; ---------------------------------------------------------------------------
+
+p03loc_47DB: ; CODE XREF: seg001:47D4j
+ ld (curRow), a
+
+p03loc_47DE: ; CODE XREF: seg001:47C2j seg001:47D9j
+ jp p03loc_45E3
+; ---------------------------------------------------------------------------
+
+Page03_376E:
+ ld de, 0FFFDh
+ add ix, de
+ ld (unk_9700), ix
+ call Page03_378C
+ jr nc, p03loc_47F4
+ call Page03_3720
+ jr p03loc_47F7
+; ---------------------------------------------------------------------------
+
+p03loc_47F4: ; CODE XREF: seg001:47EDj
+ ld (curRow), a
+
+p03loc_47F7: ; CODE XREF: seg001:47F2j
+ call Page03_374A
+ call InitNumVec
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3774: ; CODE XREF: seg001:479Ej
+ call p03sub_4727
+ ld a, (ix+0FDh)
+ inc a
+ jr z, p03loc_4810
+ ld de, 0FFFDh
+ add ix, de
+ ld (unk_9700), ix
+
+p03loc_4810: ; CODE XREF: seg001:4805j
+ call Page0Call_3687
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4814: ; CODE XREF: seg001:4799j
+ bit 7, (iy+0Eh)
+ jr nz, CallCommon
+ cp 8Ah ; '�'
+ ret z
+
+; =============== 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
+
+ cp 9
+ jr nz, p03loc_482E
+ set 5, (iy+5)
+ call CanAlphIns
+ call Page0Call_366F
+ jp fDel
+; ---------------------------------------------------------------------------
+
+p03loc_482E: ; CODE XREF: CallCommon+2j
+ cp 0Dh
+ jp nz, p03loc_4858
+ set 5, (iy+0Ch)
+ set 5, (iy+5)
+ call Page0Call_366F
+ call CanAlphIns
+ call Page0Call_3645
+ call Page03_37AA
+ call GETLASTENTRY
+ call Page0Call_368D
+ res 5, (iy+0Ch)
+ call Page0Call_3645
+ call Page0Call_3DE3
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4858: ; CODE XREF: CallCommon+13j
+ cp 2
+ jr nz, p03loc_489E
+ res 4, (iy+5)
+ call Page0Call_3BD3
+ jp z, p03sub_48F5
+; End of function CallCommon
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+CommonKeys: ; CODE XREF: CallCommon+107p
+
+; FUNCTION CHUNK AT 48FE SIZE 00000005 BYTES
+
+ res 2, (iy+5)
+ call IsAtTop
+ jp z, p03loc_48FE
+ ld hl, (editTail)
+ call Page0Call_3C0F
+ call Page0Call_3DAD
+ ld b, a
+ ld a, (curRow+1)
+ sub b
+ jr c, p03loc_4890
+ ld hl, winLeftEdge
+ cp (hl)
+ jr c, p03loc_4890
+ jr z, p03loc_4890
+
+p03loc_4888: ; CODE XREF: CommonKeys+36j
+ ld (curRow+1), a
+ call Page0Call_3DE3
+ jr p03sub_48F5
+; ---------------------------------------------------------------------------
+
+p03loc_4890: ; CODE XREF: CommonKeys+18j
+ ; CommonKeys+1Ej ...
+ ld a, (winLeftEdge)
+ inc a
+ ld (curRow+1), a
+ push af
+ call Page0Call_3BD9
+ pop af
+ jr p03loc_4888
+; End of function CommonKeys
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR CallCommon
+
+p03loc_489E: ; CODE XREF: CallCommon+3Dj
+ cp 1
+ jr nz, p03loc_48FA
+ res 4, (iy+5)
+ call Page0Call_3693
+ ret z
+ call Page0Call_3DAD
+ ld hl, curCol
+ add a, (hl)
+ push af
+ call Page0Call_3699
+ pop bc
+ ld a, b
+ cp 0Fh
+ jr c, p03loc_48F2
+ jr nz, p03loc_48C3
+ bit 1, (iy+0Eh)
+ jr z, p03loc_48F2
+
+p03loc_48C3: ; CODE XREF: CallCommon+9Ej
+ ld a, 0Eh
+ ld (curRow+1), a
+ call Page0Call_3699
+ jr nz, p03loc_48DA
+ call Page0Call_3BD3
+ push de
+ call Page0Call_3699
+ pop de
+ call Page0Call_3C9F
+ jr p03sub_48F5
+; ---------------------------------------------------------------------------
+
+p03loc_48DA: ; CODE XREF: CallCommon+AEj
+ push de
+ call Page0Call_3DAD
+ pop de
+ push af
+ scf
+ call Page0Call_3CA5
+ call Page0Call_3BD3
+ pop bc
+ ld a, (curRow+1)
+ sub b
+ ld hl, winLeftEdge
+ cp (hl)
+ jr c, p03loc_4890
+
+p03loc_48F2: ; CODE XREF: CallCommon+9Cj
+ ; CallCommon+A4j
+ ld (curRow+1), a
+; END OF FUNCTION CHUNK FOR CallCommon
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_48F5: ; CODE XREF: CallCommon+46j
+ ; CommonKeys+28j ...
+ res 6, (iy+5)
+ ret
+; End of function p03sub_48F5
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR CallCommon
+
+p03loc_48FA: ; CODE XREF: CallCommon+83j
+ cp 0Eh
+ jr nz, p03loc_4903
+; END OF FUNCTION CHUNK FOR CallCommon
+; START OF FUNCTION CHUNK FOR CommonKeys
+
+p03loc_48FE: ; CODE XREF: CommonKeys+7j
+ call Page03_37E6
+ jr p03sub_48F5
+; END OF FUNCTION CHUNK FOR CommonKeys
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR CallCommon
+
+p03loc_4903: ; CODE XREF: CallCommon+DFj
+ cp 0Fh
+ jr nz, p03loc_490C
+ call p03sub_4B73
+ jr p03sub_48F5
+; ---------------------------------------------------------------------------
+
+p03loc_490C: ; CODE XREF: CallCommon+E8j
+ cp 0Bh
+ jr nz, p03loc_4917
+ call p03sub_48F5
+ call Page0Call_369F
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4917: ; CODE XREF: CallCommon+F1j
+ cp 21h ; '!'
+ jr nz, p03loc_4929
+ res 4, (iy+5)
+ call Page0Call_3BD3
+ jr z, p03sub_48F5
+ call CommonKeys
+ jr p03loc_492D
+; ---------------------------------------------------------------------------
+
+p03loc_4929: ; CODE XREF: CallCommon+FCj
+ cp 0Ah
+ jr nz, p03loc_4943
+
+p03loc_492D: ; CODE XREF: CallCommon+10Aj
+ call Page0Call_366F
+ call p03sub_48F5
+
+Leftmore:
+ res 4, (iy+5)
+ call Page0Call_36A5
+ ret z
+ set 5, (iy+5)
+ call Page0Call_3DE3
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4943: ; CODE XREF: CallCommon+10Ej
+ cp 0Ch
+ call z, Page0Call_36AB
+ or a
+ ret z
+ cp 5Ah ; 'Z'
+ ret c
+ cp 0FBh ; '�'
+ jr nz, p03loc_4960
+ ld a, (keyExtend)
+ cp 0Dh
+ jr c, p03loc_495E
+ cp 8Ch ; '�'
+ ret c
+ cp 0A6h ; '�'
+ ret nc
+
+p03loc_495E: ; CODE XREF: CallCommon+139j
+ ld a, 0FBh ; '�'
+
+p03loc_4960: ; CODE XREF: CallCommon+132j
+ call Page0Call_366F
+ bit 7, (iy+0Eh)
+ jr nz, p03loc_4972
+ bit 1, (iy+2Ah)
+ jr nz, p03loc_4972
+ cp 0C6h ; '�'
+ ret z
+
+p03loc_4972: ; CODE XREF: CallCommon+14Aj
+ ; CallCommon+150j
+ set 5, (iy+5)
+ bit 6, (iy+5)
+ call nz, fDel
+ call page0_1808
+ jp nz, fClear
+ call Page0Call_36B1
+ ret
+; END OF FUNCTION CHUNK FOR CallCommon
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4987: ; CODE XREF: seg001:46FDp seg001:737Fp
+ ld a, (curRow)
+ inc a
+ ld hl, winBtm
+ cp (hl)
+ ret c
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jr nz, p03loc_499B
+ call Page0Call_3CE1
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_499B: ; CODE XREF: p03sub_4987+Ej
+ call Page03_37BC
+ call Page0Call_3CE1
+ call p03sub_4A39
+ sub a
+ ret
+; End of function p03sub_4987
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_378C: ; CODE XREF: seg001:47D1p seg001:47EAp ...
+ ld a, (curRow)
+ or a
+ jr z, p03loc_49BE
+ dec a
+ ld hl, winTop
+ cp (hl)
+ ret nc
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jr nz, p03loc_49BE
+ call Page0Call_3CF9
+ scf
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_49BE: ; CODE XREF: Page03_378C+4j
+ ; Page03_378C+11j
+ call Page03_37BC
+ call Page0Call_3CF9
+ call p03sub_4A40
+ scf
+ ret
+; End of function Page03_378C
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+fDel: ; CODE XREF: CallCommon+Ej
+ ; CallCommon+15Dp
+ call p03sub_48F5
+ call Page0Call_36B7
+ call Page03_37AA
+ call Page0Call_3D1D
+
+p03loc_49D5: ; CODE XREF: seg001:4CADp
+ res 0, (iy+0Eh)
+
+Page03_3C42:
+ res 1, (iy+0Eh)
+ ret
+; End of function fDel
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR CallCommon
+
+fClear: ; CODE XREF: CallCommon+163j
+ call Page0Call_3BBB
+
+finsDisp:
+ push de
+ bit 4, (iy+5)
+ jr nz, p03loc_49F1
+ call Page0Call_36BD
+ pop de
+ ret z
+ call Page0Call_3C9F
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_49F1: ; CODE XREF: CallCommon+1C9j
+ call Page0Call_36C3
+ pop de
+ ret z
+ call Page0Call_3C9F
+ ret
+; END OF FUNCTION CHUNK FOR CallCommon
+; ---------------------------------------------------------------------------
+
+Page03_37A4:
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_37AA: ; CODE XREF: RecallEd:Page03_3756p
+ ; CallCommon+27p ...
+ push af
+ bit 1, (iy+2Ah)
+ jr z, p03loc_4A07
+ pop af
+ call Page0Call_36C9
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4A07: ; CODE XREF: Page03_37AA+5j
+ ld a, (winLeftEdge)
+ ld (curRow+1), a
+ pop af
+ ret
+; End of function Page03_37AA
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_37B0: ; CODE XREF: RecallEdp seg001:4C60p ...
+ ld a, 1
+ ld (curRow+1), a
+ ld c, a
+ call Page0Call_3D35
+ ld b, 0Eh
+
+p03loc_4A1A: ; CODE XREF: Page03_37B0+1Ej
+ ld a, (hl)
+ inc hl
+ inc c
+ cp 3Dh ; '='
+ jr z, p03loc_4A31
+ cp 3Ah ; ':'
+ jr z, p03loc_4A31
+ cp 3Fh ; '?'
+ jr z, p03loc_4A31
+ cp 7Fh ; ''
+ jr z, p03loc_4A31
+ djnz p03loc_4A1A
+ sub a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4A31: ; CODE XREF: Page03_37B0+10j
+ ; Page03_37B0+14j ...
+ ld a, c
+ ld (winLeftEdge), a
+ ld (curRow+1), a
+ ret
+; End of function Page03_37B0
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4A39: ; CODE XREF: p03sub_4987+1Ap seg001:4BA3j
+ ld c, 1Eh
+ ld a, (winTop)
+ jr FinsDisp02
+; End of function p03sub_4A39
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4A40: ; CODE XREF: Page03_378C+1Ep
+ ld c, 1Fh
+ jr p03loc_4A46
+; ---------------------------------------------------------------------------
+
+Page03_37B6:
+ ld c, 20h ; ' '
+
+p03loc_4A46: ; CODE XREF: p03sub_4A40+2j
+ ld a, (winBtm)
+ dec a
+ jr FinsDisp02
+; End of function p03sub_4A40
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_37BC: ; CODE XREF: p03sub_4987:p03loc_499Bp
+ ; Page03_378C:p03loc_49BEp ...
+ ld a, (curRow)
+ ld c, 20h ; ' '
+
+FinsDisp02: ; CODE XREF: p03sub_4A39+5j p03sub_4A40+Aj ...
+ ld b, a
+ ld a, (winLeftEdge)
+ push af
+ ld hl, (curRow)
+ push hl
+ ld hl, curRow
+ ld (hl), b
+ sub a
+ ld (curRow+1), a
+ ld a, c
+ call Page0Call_3F9F
+ pop hl
+ ld (curRow), hl
+ pop af
+ ld (winLeftEdge), a
+ ret
+; End of function Page03_37BC
+
+; ---------------------------------------------------------------------------
+
+p03loc_4A6F: ; CODE XREF: seg001:4CB6j seg001:7DE3j
+ call p03sub_48F5
+ ld bc, (errOffset)
+
+p03loc_4A76: ; CODE XREF: seg001:4A85j
+ ld a, c
+ or b
+ jr z, p03loc_4A87
+ call Page0Call_3699
+ jr z, p03loc_4A87
+ push bc
+ call Page0Call_3C9F
+ pop bc
+ dec bc
+ jr p03loc_4A76
+; ---------------------------------------------------------------------------
+
+p03loc_4A87: ; CODE XREF: seg001:4A78j seg001:4A7Dj
+ call Page0Call_3DE3
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+closeeditbufnor: ; CODE XREF: seg001:4764p
+ ; ParseAndStoreSysVar+Ap ...
+ call CanAlphIns
+ bit 2, (iy+1)
+ ret z
+ call Page0Call_36CF
+ ret
+; End of function closeeditbufnor
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+ParseAndStoreSysVar: ; CODE XREF: seg001:46C6p p03sub_4727p ...
+ call IsEditEmpty
+ jr nz, p03loc_4AAB
+ call p03sub_4742
+ jr z, p03loc_4AAB
+ call closeeditbufnor
+ ld a, 0Eh
+ ld (OP1), a
+ jr p03loc_4ABE
+; ---------------------------------------------------------------------------
+
+p03loc_4AAB: ; CODE XREF: ParseAndStoreSysVar+3j
+ ; ParseAndStoreSysVar+8j
+ set 6, (iy+5)
+ call closeeditbufnor
+ bit 4, (iy+1)
+ jr nz, p03sub_4AE9
+ call page0_166E
+ call Page0Call_36D5
+
+p03loc_4ABE: ; CODE XREF: ParseAndStoreSysVar+12j
+ ld hl, (unk_9700)
+ bit 5, (iy+5)
+ jr z, p03sub_4AE9
+ call p03sub_7530
+ jr nz, p03loc_4AD8
+ call page0_1717
+ call EOP1NotReal
+ ld a, (hl)
+ call STO_STATVAR
+ jr p03sub_4AE9
+; ---------------------------------------------------------------------------
+
+p03loc_4AD8: ; CODE XREF: ParseAndStoreSysVar+33j
+ bit 2, (iy+35h)
+ jr z, p03loc_4AE5
+ ld a, 6
+ call Page0Call_362D
+ jr nz, p03sub_4AE9
+
+p03loc_4AE5: ; CODE XREF: ParseAndStoreSysVar+45j
+ ld a, (hl)
+ call Page0Call_3675
+; End of function ParseAndStoreSysVar
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4AE9: ; CODE XREF: seg001:477Cp
+ ; ParseAndStoreSysVar+1Fj ...
+ call Page0Call_36DB
+ jr releaseBuffer
+
+p03loc_4AEE:
+ res 3, (iy+14h)
+
+; =============== S U B R O U T I N E =======================================
+
+
+releaseBuffer: ; CODE XREF: Page03_3732+4Cp
+ ; Page03_374A+10p ...
+ call page0_166E
+ rst 10h
+ call nc, DelVar
+ ret
+; End of function releaseBuffer
+
+
+; =============== 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
+
+ call Page03_37AA
+ call Page0Call_3CC9
+ ld ix, (unk_9700)
+ call p03sub_473A
+ jp nz, p03loc_445F
+ bit 2, (iy+35h)
+ jr z, p03loc_4B16
+ ld a, 9
+ call Page0Call_362D
+ ret nz
+
+p03loc_4B16: ; CODE XREF: DisplayEditSysVar+14j
+ jp p03loc_4574
+; End of function DisplayEditSysVar
+
+; ---------------------------------------------------------------------------
+
+Page03_37D4:
+ ld hl, (editSym)
+
+varnameToOP1hl:
+ push hl
+ call ZeroOP1
+ pop hl
+ ld a, (hl)
+ and 1Fh
+ ld (OP1), a
+ ld b, 2
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ cp 1
+ jr z, p03loc_4B37
+ cp 0Dh
+ jr nz, p03loc_4B48
+
+p03loc_4B37: ; CODE XREF: seg001:4B31j
+ ld a, (hl)
+ cp 3Ah ; ':'
+ jr z, p03loc_4B40
+ ld b, (hl)
+ dec b
+ jr p03loc_4B47
+; ---------------------------------------------------------------------------
+
+p03loc_4B40: ; CODE XREF: seg001:4B3Aj
+ dec hl
+ ld a, (hl)
+ inc hl
+ or a
+ jr z, p03loc_4B48
+ ld b, (hl)
+
+p03loc_4B47: ; CODE XREF: seg001:4B3Ej
+ dec hl
+
+p03loc_4B48: ; CODE XREF: seg001:4B35j seg001:4B44j
+ ld de, 8479h
+ jr p03loc_4B5E
+; ---------------------------------------------------------------------------
+
+nameToOP1:
+ call ZeroOP1
+ ld hl, (editSym)
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ dec hl
+ ld b, (hl)
+ inc b
+ ld de, 8479h
+
+p03loc_4B5E: ; CODE XREF: seg001:4B4Bj seg001:4B62j
+ ld a, (hl)
+ dec hl
+ ld (de), a
+ inc de
+ djnz p03loc_4B5E
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_37E6: ; CODE XREF: CommonKeys:p03loc_48FEp
+ res 0, (iy+0Eh)
+ call Page0Call_3645
+ call Page03_37AA
+ call Page0Call_3DE3
+ ret
+; End of function Page03_37E6
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4B73: ; CODE XREF: CallCommon+EAp
+ ; p03sub_4B73+7j
+ call Page0Call_3699
+ ret z
+ call Page0Call_3C9F
+ jr p03sub_4B73
+; End of function p03sub_4B73
+
+; ---------------------------------------------------------------------------
+
+numPPutAway: ; CODE XREF: seg001:74C2j
+ jp Page0Call_3D6B
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4B7F: ; CODE XREF: seg001:469Ap
+ ; p03sub_748F:p03loc_74A0p
+ ld hl, p03loc_4AEE
+ call pushErrorHandleR
+ call ParseAndStoreSysVar
+ call popErrorHandleR
+ res 3, (iy+14h)
+ ret
+; End of function p03sub_4B7F
+
+p03loc_4B90:
+ jr c, p03loc_4BD2
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jr nz, p03loc_4B9D
+ call Page0Call_3CED
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4B9D: ; CODE XREF: seg001:4B97j
+ cp 53h ; 'S'
+ ret z
+ call Page0Call_3CED
+ jp p, p03sub_4A39
+ ld a, 7
+ sub b
+ ld b, a
+ ld a, (curRow)
+ ld c, a
+ ld de, 3
+ ld hl, (unk_9700)
+
+p03loc_4BB4: ; CODE XREF: seg001:4BCAj
+ ld a, b
+ cp c
+ jr c, p03loc_4BCC
+ add hl, de
+ ld a, 8
+ bit 2, (iy+35h)
+ jr z, p03loc_4BC6
+ call Page0Call_362D
+ jr nz, p03loc_4BC7
+
+p03loc_4BC6: ; CODE XREF: seg001:4BBFj
+ ld a, (hl)
+
+p03loc_4BC7: ; CODE XREF: seg001:4BC4j
+ inc a
+ ret z
+ inc c
+ jr p03loc_4BB4
+; ---------------------------------------------------------------------------
+
+p03loc_4BCC: ; CODE XREF: seg001:4BB6j
+ ld c, 1Fh
+ ld a, b
+ jp FinsDisp02
+; ---------------------------------------------------------------------------
+
+p03loc_4BD2: ; CODE XREF: seg001:4B90j
+ ld a, (mcxCurApp)
+ cp 49h ; 'I'
+ jp z, p03loc_4C68
+ cp 53h ; 'S'
+ jp z, p03loc_4C71
+ ld a, 7
+ sub b
+ ld b, a
+ ld ix, (unk_9700)
+ ld a, (curRow)
+ ld c, a
+ ld de, 3
+
+p03loc_4BEE: ; CODE XREF: seg001:4BF9j
+ inc c
+ add ix, de
+ call p03sub_4E6C
+ inc a
+ jr z, p03loc_4C24
+ ld a, c
+ cp b
+ jr nz, p03loc_4BEE
+ ld hl, (curRow)
+ push hl
+ dec a
+ ld (curRow), a
+ call Page03_37BC
+ ld hl, curRow
+ inc (hl)
+ ld a, (mcxCurApp)
+ cp 56h ; 'V'
+ jr nz, p03loc_4C1E
+ ld a, (unk_8D0B+1)
+ push af
+ call p03sub_7278
+ pop af
+ ld (unk_8D0B+1), a
+ jr p03loc_4C21
+; ---------------------------------------------------------------------------
+
+p03loc_4C1E: ; CODE XREF: seg001:4C0Fj
+ call setTitle
+
+p03loc_4C21: ; CODE XREF: seg001:4C1Cj seg001:4C6Fj ...
+ pop hl
+ jr p03loc_4C5B
+; ---------------------------------------------------------------------------
+
+p03loc_4C24: ; CODE XREF: seg001:4BF5j
+ ld a, (winTop)
+ dec a
+ ld b, a
+ ld ix, (unk_9700)
+ ld a, (curRow)
+ ld c, a
+ ld de, 0FFFDh
+
+p03loc_4C34: ; CODE XREF: seg001:4C3Ej
+ dec c
+ add ix, de
+ call p03sub_4E6C
+ inc a
+ ret z
+ ld a, c
+ cp b
+ jr nz, p03loc_4C34
+ ld hl, (curRow)
+ push hl
+ inc a
+ ld (curRow), a
+ ld a, (unk_89FE)
+ push af
+ call Page03_37BC
+ call Page0Call_3CF9
+ call setTitle
+ pop af
+ ld (unk_89FE), a
+ pop hl
+ inc l
+
+p03loc_4C5B: ; CODE XREF: seg001:4C22j
+ ld (curRow), hl
+ ld a, h
+ push af
+ call Page03_37B0
+ pop af
+ ld (curRow+1), a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_4C68: ; CODE XREF: seg001:4BD7j
+ ld hl, (curRow)
+ push hl
+ call Page0Call_36E1
+ jr p03loc_4C21
+; ---------------------------------------------------------------------------
+
+p03loc_4C71: ; CODE XREF: seg001:4BDCj
+ ld hl, (curRow)
+ push hl
+ ld a, 7
+ call Page0Call_36E7
+ call Page0Call_36ED
+ jr p03loc_4C21
+; ---------------------------------------------------------------------------
+ set 4, (iy+0Ch)
+
+numRedisp:
+ jp Page0Call_3D77
+; ---------------------------------------------------------------------------
+
+Page03_37FE:
+ bit 5, (iy+36h)
+ call nz, Page0Call_36F3
+ jr nz, numError02
+ call Page0Call_3D7D
+ call Page0Call_36F9
+
+numError02: ; CODE XREF: seg001:4C8Dj seg001:7DD2j
+ bit 2, (iy+1)
+ jr nz, p03loc_4CAA
+ call page0_166E
+ call Page0Call_36FF
+ ld hl, p03loc_4CBD
+ call pushErrorHandleR
+ call popErrorHandleR
+
+p03loc_4CAA: ; CODE XREF: seg001:4C99j
+ call Page0Call_3645
+ call p03loc_49D5
+ call Page03_37AA
+ call page0_193
+ jp nz, p03loc_4A6F
+ call Page0Call_3DE3
+ ret
+p03loc_4CBD:
+ call Page0Call_36CF
+ call releaseBuffer
+ jp Page0Call_24F9
+; ---------------------------------------------------------------------------
+
+Page03_3810:
+ push hl
+ ld hl, (chkDelPtr1)
+ ld a, (hl)
+ inc hl
+ or (hl)
+ ld a, (OP1M)
+ jr z, p03loc_4D27
+ pop bc
+ bit 5, a
+ jr z, p03loc_4CEF
+ push bc
+ push af
+ xor 1
+ ld (OP1M), a
+ rst 10h
+ jp c, ErrUndefined
+ pop af
+ pop bc
+ ld (OP1M), a
+ ex de, hl
+ ld a, (hl)
+ inc hl
+ or (hl)
+ ret z
+ ex de, hl
+ set 5, (hl)
+
+p03loc_4CEF: ; CODE XREF: seg001:4CD5j
+ ld hl, (chkDelPtr3)
+ set 5, (hl)
+
+p03loc_4CF4: ; CODE XREF: seg001:4D32j
+ ld a, (OP1M)
+ bit 6, a
+ jr z, p03loc_4D15
+ call page0_198
+
+p03loc_4CFE: ; CODE XREF: seg001:4D20j seg001:4D25j ...
+ ret z
+ ld a, b
+ and 1Fh
+ cp 3
+ jp z, SetTblGraphDraw
+ bit 1, (iy+17h)
+ jp nz, SetTblGraphDraw
+ set 0, (iy+17h)
+ jp page0_91
+; ---------------------------------------------------------------------------
+
+p03loc_4D15: ; CODE XREF: seg001:4CF9j
+ bit 5, a
+ jr nz, p03loc_4D44
+ bit 4, a
+ jr z, p03loc_4D22
+ call page0_13
+ jr p03loc_4CFE
+; ---------------------------------------------------------------------------
+
+p03loc_4D22: ; CODE XREF: seg001:4D1Bj
+ call page0_19D
+ jr p03loc_4CFE
+; ---------------------------------------------------------------------------
+
+p03loc_4D27: ; CODE XREF: seg001:4CD0j
+ pop bc
+ ld hl, (chkDelPtr3)
+ bit 5, (hl)
+ ret z
+ res 5, (hl)
+ bit 5, a
+ jr z, p03loc_4CF4
+ push af
+ xor 1
+ ld (OP1M), a
+ rst 10h
+ jp c, ErrUndefined
+ pop af
+ ld (OP1M), a
+ res 5, (hl)
+
+p03loc_4D44: ; CODE XREF: seg001:4D17j
+ 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 ...
+ push bc
+ push af
+ ld a, (winBtm)
+ ld b, a
+
+p03loc_4D4F: ; CODE XREF: p03sub_4D49+13j
+ ld a, (hl)
+ inc hl
+ or a
+ scf
+ jr z, p03loc_4D5E
+ call Page0Call_3F9F
+ ld a, (curRow)
+ cp b
+ jr c, p03loc_4D4F
+
+p03loc_4D5E: ; CODE XREF: p03sub_4D49+Aj
+ pop bc
+ ld a, b
+ pop bc
+ ret
+; End of function p03sub_4D49
+
+p03loc_4D62:
+ .db 23h ; #
+ .db 21h ; !
+ .db 22h ; "
+ .db 20h
+ .db 24h ; $
+
+Page03_3816:
+ ld a, (ix+0)
+ ret
+; ---------------------------------------------------------------------------
+
+Load_SFont:
+ push bc
+ bit 5, (iy+35h)
+ jr z, p03loc_4D7B
+ ld b, a
+ ld a, 0
+ call Page0Call_3705
+ ld a, b
+ jr z, p03loc_4D97
+
+p03loc_4D7B: ; CODE XREF: seg001:4D70j
+ bit 1, (iy+35h)
+ jr z, p03loc_4D8A
+ ld b, a
+ ld a, 75h ; 'u'
+ call Page0Call_3C45
+ ld a, b
+ jr z, p03loc_4D97
+
+p03loc_4D8A: ; CODE XREF: seg001:4D7Fj
+ 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
+ pop bc
+ ret
+; ---------------------------------------------------------------------------
+
+SFont_Len:
+ bit 5, (iy+35h)
+ jr z, p03loc_4DA7
+ ld b, a
+ ld a, 2
+ call Page0Call_3705
+ ld a, b
+ ret z
+
+p03loc_4DA7: ; CODE XREF: seg001:4D9Dj
+ bit 1, (iy+35h)
+ jr z, p03loc_4DB5
+ ld b, a
+ ld a, 77h ; 'w'
+ call Page0Call_3C45
+ ld a, b
+ ret z
+
+p03loc_4DB5: ; CODE XREF: seg001:4DABj
+ ld de, p03loc_4E74
+ add hl, de
+ ld b, (hl)
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_381C:
+ push bc
+ or a
+ jp z, ErrDomain
+ call CheckSplitFlag
+ jr z, p03loc_4DC7
+ add a, 4
+
+p03loc_4DC7: ; CODE XREF: seg001:4DC3j
+ pop hl
+ ld l, a
+ push hl
+ call OP3ToOP1
+ pop hl
+
+OutputExpr:
+ push hl
+ call Page0Call_3ED3
+ pop hl
+ ld a, h
+ dec a
+ jp m, ErrDomain
+ cp 10h
+ jp p, ErrDomain
+ ld h, a
+ ld a, (winBtm)
+ ld b, a
+ ld a, l
+ dec a
+ jp m, ErrDomain
+ cp b
+ jp p, ErrDomain
+ ld l, a
+ ld de, (curRow)
+ push de
+ ld (curRow), hl
+ ld hl, p03loc_4E65
+ call pushErrorHandleR
+ ld hl, (FPS)
+ ld (editTop), hl
+ ld (editCursor), hl
+ ex de, hl
+ ld hl, (OPS)
+ ld (editTail), hl
+ ld (editBtm), hl
+ call CpHLDE
+ jp c, Page0Call_24F9
+ ld de, ioPrompt
+ call MovFrOP1
+ ld hl, ioPrompt
+ ld a, (hl)
+ and 1Fh
+ jr z, p03loc_4E40
+ cp 0Ch
+ jr nz, p03loc_4E3E
+ rst 10h
+ jr nc, p03loc_4E3F
+ ld a, 0Ch
+ ld hl, OP1
+ ld de, OP3
+ call mov9B2
+ ld hl, OP2
+ call mov9B2
+ ld hl, OP3
+ jr p03loc_4E40
+; ---------------------------------------------------------------------------
+
+p03loc_4E3E: ; CODE XREF: seg001:4E23j
+ rst 10h
+
+p03loc_4E3F: ; CODE XREF: seg001:4E26j
+ ex de, hl
+
+p03loc_4E40: ; CODE XREF: seg001:4E1Fj seg001:4E3Cj
+ call Page0Call_370B
+ jp c, ErrMemory
+ call popErrorHandleR
+ res 2, (iy+0Dh)
+ ld hl, (editCursor)
+ ld de, (rclQueue)
+ call Page0Call_3E01
+ set 2, (iy+0Dh)
+ pop hl
+ ld (curRow), hl
+ res 5, (iy+0)
+ ei
+ ret
+p03loc_4E65:
+ pop hl
+ ld (curRow), hl
+ jp JErrorNo
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_4E6C: ; CODE XREF: p03sub_43DD+2Ap seg001:4BF1p ...
+ ld a, 0
+ bit 2, (iy+35h)
+ jr z, p03loc_4E78
+p03loc_4E74:
+ call Page0Call_362D
+ ret nz
+
+p03loc_4E78: ; CODE XREF: p03sub_4E6C+6j
+ ld a, (ix+0)
+ ret
+; End of function p03sub_4E6C
+
+; ---------------------------------------------------------------------------
+ .db 6
+ .db 0
+ .db 0
+ .db 2Ch ; ,
+ .db 12h
+ .db 12h
+ .db 24h ; $
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ch
+ .db 0Eh
+ .db 0Ch
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 1Fh
+ .db 0Eh
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 4
+ .db 4
+ .db 4
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0Eh
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 4
+ .db 4
+ .db 0
+ .db 7
+ .db 2
+ .db 1
+ .db 6
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 1Eh
+ .db 18h
+ .db 1Eh
+ .db 18h
+ .db 18h
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 4
+ .db 4
+ .db 0Ch
+ .db 4
+ .db 0
+ .db 5
+ .db 0
+ .db 6
+ .db 2
+ .db 1Ah
+ .db 2
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 2
+ .db 4
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 5
+ .db 0
+ .db 0Ch
+ .db 12h
+ .db 12h
+ .db 0Ch
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 16h
+ .db 18h
+ .db 10h
+ .db 10h
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 6
+ .db 18h
+ .db 6
+ .db 0
+ .db 1Eh
+ .db 0
+ .db 6
+ .db 0
+ .db 4
+ .db 3Eh ; >
+ .db 8
+ .db 3Eh ; >
+ .db 10h
+ .db 0
+ .db 5
+ .db 0
+ .db 18h
+ .db 6
+ .db 18h
+ .db 0
+ .db 1Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 5
+ .db 0
+ .db 8
+ .db 4
+ .db 1Eh
+ .db 4
+ .db 8
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 2Eh ; .
+ .db 2Ah ; *
+ .db 2Ah ; *
+ .db 2Eh ; .
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 7
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 7
+ .db 2
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 0
+ .db 0
+ .db 6
+ .db 0
+ .db 14h
+ .db 3Eh ; >
+ .db 14h
+ .db 3Eh ; >
+ .db 14h
+ .db 0
+ .db 6
+ .db 0
+ .db 1Ch
+ .db 28h ; (
+ .db 1Ch
+ .db 0Ah
+ .db 3Ch ; <
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 2
+ .db 4
+ .db 8
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 0
+ .db 8
+ .db 14h
+ .db 8
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 4
+ .db 4
+ .db 4
+ .db 2
+ .db 0
+ .db 3
+ .db 0
+ .db 4
+ .db 2
+ .db 2
+ .db 2
+ .db 4
+ .db 0
+ .db 6
+ .db 0
+ .db 8
+ .db 2Ah ; *
+ .db 1Ch
+ .db 2Ah ; *
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 4
+ .db 0Eh
+ .db 4
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 0
+ .db 2
+ .db 2
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0
+ .db 0
+ .db 2
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 2
+ .db 4
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ch
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ah
+ .db 0Eh
+ .db 2
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 2
+ .db 4
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 2
+ .db 0
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 4
+ .db 8
+ .db 4
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 4
+ .db 2
+ .db 4
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 0
+ .db 1Ch
+ .db 2
+ .db 1Ah
+ .db 2Ah ; *
+ .db 1Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 8
+ .db 8
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 0Ah
+ .db 0Ah
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 8
+ .db 8
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Eh
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 4
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 4
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 4
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 2
+ .db 4
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 8
+ .db 4
+ .db 2
+ .db 2
+ .db 0
+ .db 3
+ .db 0
+ .db 6
+ .db 2
+ .db 2
+ .db 2
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 3
+ .db 0
+ .db 4
+ .db 2
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 6
+ .db 0Ah
+ .db 0Ah
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 6
+ .db 8
+ .db 8
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 6
+ .db 0Ah
+ .db 0Ah
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 4
+ .db 6
+ .db 4
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 0Ah
+ .db 6
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 8
+ .db 0Ah
+ .db 0Ch
+ .db 0Ah
+ .db 0
+ .db 3
+ .db 0
+ .db 6
+ .db 2
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 34h ; 4
+ .db 2Ah ; *
+ .db 2Ah ; *
+ .db 22h ; "
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 6
+ .db 0Ah
+ .db 6
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ch
+ .db 8
+ .db 8
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 6
+ .db 4
+ .db 2
+ .db 6
+ .db 0
+ .db 3
+ .db 0
+ .db 4
+ .db 6
+ .db 4
+ .db 4
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 4
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 22h ; "
+ .db 2Ah ; *
+ .db 2Ah ; *
+ .db 14h
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 4
+ .db 8
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 1Eh
+ .db 4
+ .db 8
+ .db 1Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 4
+ .db 8
+ .db 4
+ .db 6
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 4
+ .db 2
+ .db 4
+ .db 0Ch
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 14h
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 6
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ah
+ .db 0Eh
+ .db 2
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 2
+ .db 4
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0Ah
+ .db 0Eh
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 5
+ .db 2
+ .db 4
+ .db 0Ch
+ .db 12h
+ .db 1Eh
+ .db 12h
+ .db 0
+ .db 5
+ .db 10h
+ .db 8
+ .db 0Ch
+ .db 12h
+ .db 1Eh
+ .db 12h
+ .db 0
+ .db 5
+ .db 0Ch
+ .db 12h
+ .db 0Ch
+ .db 12h
+ .db 1Eh
+ .db 12h
+ .db 0
+ .db 5
+ .db 12h
+ .db 0
+ .db 0Ch
+ .db 12h
+ .db 1Eh
+ .db 12h
+ .db 0
+ .db 5
+ .db 4
+ .db 8
+ .db 0
+ .db 0Ch
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 10h
+ .db 8
+ .db 0
+ .db 0Ch
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 8
+ .db 14h
+ .db 0
+ .db 0Ch
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 0
+ .db 14h
+ .db 0
+ .db 0Ch
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 10h
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 5
+ .db 2
+ .db 1Ch
+ .db 10h
+ .db 18h
+ .db 10h
+ .db 1Ch
+ .db 0
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0Eh
+ .db 0Ch
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Eh
+ .db 8
+ .db 0Ch
+ .db 8
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 4
+ .db 2
+ .db 4
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 8
+ .db 4
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 2
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 8
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0Ch
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0
+ .db 0Ch
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 6
+ .db 4
+ .db 8
+ .db 1Ch
+ .db 22h ; "
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 10h
+ .db 8
+ .db 1Ch
+ .db 22h ; "
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 8
+ .db 14h
+ .db 1Ch
+ .db 22h ; "
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 14h
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 4
+ .db 8
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 10h
+ .db 8
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 8
+ .db 14h
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 6
+ .db 0
+ .db 14h
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 1Ch
+ .db 0
+ .db 4
+ .db 2
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 8
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0Ah
+ .db 0Ah
+ .db 0Ah
+ .db 0Eh
+ .db 0
+ .db 5
+ .db 4
+ .db 8
+ .db 0
+ .db 14h
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 10h
+ .db 8
+ .db 0
+ .db 14h
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 8
+ .db 14h
+ .db 0
+ .db 14h
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 0
+ .db 14h
+ .db 0
+ .db 14h
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 8
+ .db 6
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 6
+ .db 8
+ .db 6
+ .db 0Ch
+ .db 0
+ .db 5
+ .db 0Ah
+ .db 14h
+ .db 12h
+ .db 1Ah
+ .db 16h
+ .db 12h
+ .db 0
+ .db 5
+ .db 0Ah
+ .db 14h
+ .db 0
+ .db 1Ch
+ .db 12h
+ .db 12h
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 4
+ .db 2
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 8
+ .db 6
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 0
+ .db 2
+ .db 2
+ .db 2
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 0Ah
+ .db 14h
+ .db 14h
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 0
+ .db 5
+ .db 0
+ .db 2
+ .db 0Ah
+ .db 14h
+ .db 4
+ .db 4
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 8
+ .db 14h
+ .db 22h ; "
+ .db 3Eh ; >
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 8
+ .db 4
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 4
+ .db 0
+ .db 6
+ .db 8
+ .db 0Eh
+ .db 8
+ .db 6
+ .db 0
+ .db 3
+ .db 0
+ .db 6
+ .db 4
+ .db 4
+ .db 4
+ .db 6
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 4
+ .db 4
+ .db 0Ah
+ .db 0Ah
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 14h
+ .db 14h
+ .db 1Eh
+ .db 10h
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 3Eh ; >
+ .db 14h
+ .db 14h
+ .db 14h
+ .db 0
+ .db 5
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 8
+ .db 10h
+ .db 0
+ .db 5
+ .db 0
+ .db 1Eh
+ .db 8
+ .db 4
+ .db 8
+ .db 1Eh
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 0Eh
+ .db 14h
+ .db 14h
+ .db 8
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 1Ch
+ .db 8
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 6
+ .db 0
+ .db 8
+ .db 1Ch
+ .db 2Ah ; *
+ .db 1Ch
+ .db 8
+ .db 0
+ .db 6
+ .db 0
+ .db 1Ch
+ .db 22h ; "
+ .db 22h ; "
+ .db 14h
+ .db 36h ; 6
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 7
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 6
+ .db 0Eh
+ .db 6
+ .db 2
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 6
+ .db 6
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 2
+ .db 2
+ .db 4
+ .db 8
+ .db 8
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ch
+ .db 2
+ .db 4
+ .db 0Eh
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 4
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 4
+ .db 2
+ .db 0Ch
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0
+ .db 8
+ .db 0Ah
+ .db 0Ch
+ .db 0
+ .db 4
+ .db 0
+ .db 4
+ .db 0Ch
+ .db 0Ah
+ .db 0Ch
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 8
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 2
+ .db 0
+ .db 4
+ .db 0
+ .db 0Eh
+ .db 8
+ .db 0Eh
+ .db 8
+ .db 8
+ .db 0
+ .db 4
+ .db 0
+ .db 0
+ .db 4
+ .db 0Ah
+ .db 0Ch
+ .db 6
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 4
+ .db 4
+ .db 4
+ .db 7
+ .db 0
+ .db 3
+ .db 0
+ .db 6
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 0Ah
+ .db 3
+ .db 0
+ .db 6
+ .db 4
+ .db 6
+ .db 4
+ .db 6
+ .db 0
+ .db 3
+ .db 0
+ .db 2
+ .db 7
+ .db 7
+ .db 7
+ .db 2
+ .db 0
+ .db 6
+ .db 20h
+ .db 20h
+ .db 21h ; !
+ .db 24h ; $
+ .db 28h ; (
+ .db 20h
+ .db 3Fh ; ?
+ .db 5
+ .db 0
+ .db 2
+ .db 0
+ .db 8
+ .db 0
+ .db 0
+ .db 1Fh
+ .db 6
+ .db 20h
+ .db 20h
+ .db 23h ; #
+ .db 24h ; $
+ .db 28h ; (
+ .db 30h ; 0
+ .db 3Fh ; ?
+ .db 5
+ .db 4
+ .db 0Ah
+ .db 11h
+ .db 0
+ .db 0
+ .db 0
+ .db 1Fh
+ .db 6
+ .db 0Fh
+ .db 29h ; )
+ .db 39h ; 9
+ .db 29h ; )
+ .db 0Fh
+ .db 0
+ .db 3Fh ; ?
+ .db 5
+ .db 18h
+ .db 9
+ .db 0Fh
+ .db 9
+ .db 18h
+ .db 0
+ .db 1Fh
+ .db 6
+ .db 0Eh
+ .db 0Ah
+ .db 0Bh
+ .db 0Ah
+ .db 3Ah ; :
+ .db 2Ah ; *
+ .db 3Fh ; ?
+ .db 5
+ .db 0
+ .db 0
+ .db 10h
+ .db 1Ch
+ .db 17h
+ .db 15h
+ .db 1Fh
+ .db 6
+ .db 0Eh
+ .db 2Ah ; *
+ .db 3Bh ; ;
+ .db 2Ah ; *
+ .db 0Eh
+ .db 0
+ .db 3Fh ; ?
+ .db 5
+ .db 0
+ .db 10h
+ .db 15h
+ .db 10h
+ .db 0
+ .db 0
+ .db 1Fh
+ .db 6
+ .db 20h
+ .db 20h
+ .db 21h ; !
+ .db 26h ; &
+ .db 28h ; (
+ .db 20h
+ .db 3Fh ; ?
+ .db 5
+ .db 6
+ .db 8
+ .db 10h
+ .db 0
+ .db 0
+ .db 0
+ .db 1Fh
+ .db 2
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 3
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 6
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 4
+ .db 0
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 4
+ .db 0Ah
+ .db 0
+ .db 6
+ .db 0
+ .db 1Ch
+ .db 28h ; (
+ .db 1Ch
+ .db 0Ah
+ .db 3Ch ; <
+ .db 0
+ .db 5
+ .db 0
+ .db 4
+ .db 0Eh
+ .db 1Fh
+ .db 0Eh
+ .db 0
+ .db 0
+ .db 5
+ .db 0
+ .db 0Ch
+ .db 12h
+ .db 14h
+ .db 12h
+ .db 14h
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 1
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+; ---------------------------------------------------------------------------
+
+Page03_3A50: ; CODE XREF: seg001:56BCj
+ ld hl, p03loc_569D
+ call AppInit
+ call Page0Call_36DB
+ set 3, (iy+14h)
+
+p03loc_5681: ; CODE XREF: seg001:569Aj
+ sub a
+ ld (winTop), a
+ call Page0Call_3D17
+ call Page0Call_3E07
+ jr p03loc_568D
+
+p03loc_568D:
+ res 2, (iy+0Ch)
+ res 3, (iy+0Ch)
+ set 4, (iy+0Ch)
+ ret
+p03loc_569A:
+ jp p03loc_5681
+p03loc_569D:
+ .dw p03loc_56BA
+ .dw Page0Call_37E9
+ .dw p03loc_56AA
+ .dw p03loc_56B6
+ .dw p03loc_56B7
+ .dw p03loc_569A
+ .db 0Ah
+p03loc_56AA:
+ res 4, (iy+0Ch)
+ res 3, (iy+14h)
+ xor a
+ ld (varClass), a
+p03loc_56B6:
+ ret
+p03loc_56B7:
+ jp JForceCmdNoChar
+p03loc_56BA:
+ cp 27h ; '''
+ jp z, Page03_3A50
+ cp 9
+ jp z, JForceCmdNoChar
+ cp 5Ah ; 'Z'
+ ret c
+ jp JForceCmd
+; ---------------------------------------------------------------------------
+ call page0_176F
+ ld hl, p03loc_5814
+ call AppInit
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3A7A: ; CODE XREF: seg001:46B1j
+ res 1, (iy+19h)
+ set 3, (iy+14h)
+ call RESETWINTOP
+ bit 0, (iy+9)
+ jr z, p03loc_56F0
+ call Page0Call_3F5D
+ call cxPPutAway
+ ld a, 53h ; 'S'
+ ld (mcxCurApp), a
+
+p03loc_56F0: ; CODE XREF: seg001:56E3j
+ ld hl, p03loc_5814
+ call AppInit
+ ld hl, p03loc_58AB
+ ld (unk_9700), hl
+ call p03sub_43DD
+ ld a, 7
+ call Page0Call_36E7
+ call Page0Call_35F1
+ call Page03_3732
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3A38: ; CODE XREF: seg001:46A2j
+ bit 0, (iy+9)
+ jr z, JForceWindowSettings
+ call Page0Call_3F5D
+ call cxPPutAway
+ ld a, 48h ; 'H'
+ ld (mcxCurApp), a
+
+JForceWindowSettings: ; CODE XREF: seg001:570Fj
+ call page0_176F
+ ld hl, p03loc_5814
+ call AppInit
+ bit 2, (iy+35h)
+ jr z, p03loc_5732
+ ld a, 4
+ call Page0Call_362D
+ jr nz, p03loc_574A
+
+p03loc_5732: ; CODE XREF: seg001:5729j
+ ld hl, p03loc_595D
+ ld a, 11h
+ bit 1, (iy+35h)
+ call nz, Page0Call_3C45
+ ld de, OP3
+ call Mov8B
+ call Mov8B
+ call Page03_3714
+
+p03loc_574A: ; CODE XREF: seg001:5730j
+ call p03sub_5751
+ call Page03_3732
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5751: ; CODE XREF: seg001:p03loc_574Ap
+ 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
+ ld hl, p03loc_5836
+ call page0_13
+ jr nz, p03sub_5779
+ ld hl, p03loc_584E
+ call page0_198
+ jr nz, p03sub_5779
+ ld hl, p03loc_588D
+ call page0_1A2
+ jr nz, p03sub_5779
+ ld hl, p03loc_586C
+; End of function p03sub_5751
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5779: ; CODE XREF: p03sub_5751+Bj p03sub_5751+13j ...
+ ld (unk_9700), hl
+ call p03sub_43DD
+ ret
+; End of function p03sub_5779
+
+; ---------------------------------------------------------------------------
+
+Page03_3A6E: ; CODE XREF: seg001:46A7j
+ ld hl, p03loc_5814
+ call AppInit
+ call page0_176F
+ ld hl, p03loc_5970
+ ld a, 12h
+ bit 1, (iy+35h)
+ call nz, Page0Call_3C45
+ ld de, OP3
+ call Mov8B
+ call Mov8B
+ call Page03_3714
+ ld hl, p03loc_5824
+ call p03sub_5779
+ call Page03_3732
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3A4A: ; CODE XREF: seg001:46ACj
+ bit 0, (iy+9)
+ jp nz, Page0Call_35F7
+ call InitNumVec
+ set 3, (iy+14h)
+ ld hl, p03loc_5964
+ ld a, 13h
+ bit 1, (iy+35h)
+ call nz, Page0Call_3C45
+ ld de, OP3
+ call Mov8B
+ call Mov8B
+ call Page03_3714
+ ld hl, p03loc_582D
+ call p03sub_5779
+ ld a, 3
+ call Page0Call_35FD
+ call Page0Call_3603
+ call Page03_3732
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+InitNumVec: ; CODE XREF: seg001:47FAp seg001:57B2p ...
+ ld hl, p03loc_5814
+ call AppInit
+ ret
+; End of function InitNumVec
+
+; ---------------------------------------------------------------------------
+
+Page03_360C:
+ call InitNumVec
+ call p03sub_45C1
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3612:
+ call InitNumVec
+ call p03sub_45BA
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3618:
+ ld ix, p03loc_586C
+ ld (unk_9700), ix
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_361E:
+ ld hl, p03loc_58C3
+ ld (unk_9700), hl
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3624:
+ push ix
+ ld ix, p03loc_586C
+ call setTitle
+ pop ix
+ ret
+p03loc_5814:
+ .db 77h
+ .db 46h
+ .db 0E9h
+ .db 37h ; 7
+ .db 7Fh ;
+ .db 4Bh ; K
+ .db 0EFh ; �
+ .db 37h ; 7
+ .db 0FBh ; �
+ .db 37h ; 7
+ .db 90h ; �
+ .db 4Bh ; K
+ .db 0Ah
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_5824:
+ .db 28h ; (
+ .db 0D6h ; �
+ .db 58h ; X
+ .db 29h ; )
+ .db 0DCh ; �
+ .db 58h ; X
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_582D:
+ .db 1Ah
+ .db 0E2h ; �
+ .db 58h ; X
+ .db 21h ; !
+ .db 0EBh ;
+ .db 58h ; X
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_5836:
+ .db 0Ah
+ .db 0
+ .db 59h ; Y
+ .db 0Bh
+ .db 0FBh ; �
+ .db 58h ; X
+ .db 2
+ .db 5
+ .db 59h ; Y
+ .db 0Ch
+ .db 0Fh
+ .db 59h ; Y
+ .db 0Dh
+ .db 0Ah
+ .db 59h ; Y
+ .db 3
+ .db 14h
+ .db 59h ; Y
+ .db 36h ; 6
+ .db 19h
+ .db 59h ; Y
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_584E:
+ .db 10h
+ .db 23h ; #
+ .db 59h ; Y
+ .db 11h
+ .db 1Eh
+ .db 59h ; Y
+ .db 23h ; #
+ .db 28h ; (
+ .db 59h ; Y
+ .db 0Ah
+ .db 0
+ .db 59h ; Y
+ .db 0Bh
+ .db 0FBh ; �
+ .db 58h ; X
+ .db 2
+ .db 5
+ .db 59h ; Y
+ .db 0Ch
+ .db 0Fh
+ .db 59h ; Y
+ .db 0Dh
+ .db 0Ah
+ .db 59h ; Y
+ .db 3
+ .db 14h
+ .db 59h ; Y
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_586C:
+ .db 1Fh
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 1Dh
+ .db 58h ; X
+ .db 59h ; Y
+ .db 1Bh
+ .db 45h ; E
+ .db 59h ; Y
+ .db 34h ; 4
+ .db 4Fh ; O
+ .db 59h ; Y
+ .db 0Ah
+ .db 0
+ .db 59h ; Y
+ .db 0Bh
+ .db 0FBh ; �
+ .db 58h ; X
+ .db 2
+ .db 5
+ .db 59h ; Y
+ .db 0Ch
+ .db 0Fh
+ .db 59h ; Y
+ .db 0Dh
+ .db 0Ah
+ .db 59h ; Y
+ .db 3
+ .db 14h
+ .db 59h ; Y
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_588D:
+ .db 0Eh
+ .db 0D6h ; �
+ .db 26h ; &
+ .db 0Fh
+ .db 0D1h ; �
+ .db 26h ; &
+ .db 22h ; "
+ .db 0F5h ; �
+ .db 58h ; X
+ .db 0Ah
+ .db 0
+ .db 59h ; Y
+ .db 0Bh
+ .db 0FBh ; �
+ .db 58h ; X
+ .db 2
+ .db 5
+ .db 59h ; Y
+ .db 0Ch
+ .db 0Fh
+ .db 59h ; Y
+ .db 0Dh
+ .db 0Ah
+ .db 59h ; Y
+ .db 3
+ .db 14h
+ .db 59h ; Y
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_58AB:
+ .db 2Bh ; +
+ .db 2Eh ; .
+ .db 59h ; Y
+ .db 2Ch ; ,
+ .db 30h ; 0
+ .db 59h ; Y
+ .db 2Dh ; -
+ .db 33h ; 3
+ .db 59h ; Y
+ .db 2Eh ; .
+ .db 36h ; 6
+ .db 59h ; Y
+ .db 2Fh ; /
+ .db 3Ah ; :
+ .db 59h ; Y
+ .db 30h ; 0
+ .db 3Dh ; =
+ .db 59h ; Y
+ .db 31h ; 1
+ .db 41h ; A
+ .db 59h ; Y
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_58C3:
+ .db 4
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 4
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 5
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 5
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 32h ; 2
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 32h ; 2
+ .db 0F0h ; �
+ .db 58h ; X
+ .db 0FFh
+ .db 58h ; X
+ .db 46h ; F
+ .db 61h ; a
+ .db 63h ; c
+ .db 74h ; t
+ .db 0
+ .db 59h ; Y
+ .db 46h ; F
+ .db 61h ; a
+ .db 63h ; c
+ .db 74h ; t
+ .db 0
+ .db 54h ; T
+ .db 62h ; b
+ .db 6Ch ; l
+ .db 53h ; S
+ .db 74h ; t
+ .db 61h ; a
+ .db 72h ; r
+ .db 74h ; t
+ .db 0
+ .db 0BEh ; �
+ .db 54h ; T
+ .db 62h ; b
+ .db 6Ch ; l
+ .db 0
+ .db 1
+ .db 4Dh ; M
+ .db 69h ; i
+ .db 6Eh ; n
+ .db 0
+ .db 54h ; T
+ .db 73h ; s
+ .db 74h ; t
+ .db 65h ; e
+ .db 70h ; p
+ .db 0
+ .db 58h ; X
+ .db 6Dh ; m
+ .db 61h ; a
+ .db 78h ; x
+ .db 0
+ .db 58h ; X
+ .db 6Dh ; m
+ .db 69h ; i
+ .db 6Eh ; n
+ .db 0
+ .db 58h ; X
+ .db 73h ; s
+ .db 63h ; c
+ .db 6Ch ; l
+ .db 0
+ .db 59h ; Y
+ .db 6Dh ; m
+ .db 61h ; a
+ .db 78h ; x
+ .db 0
+ .db 59h ; Y
+ .db 6Dh ; m
+ .db 69h ; i
+ .db 6Eh ; n
+ .db 0
+ .db 59h ; Y
+ .db 73h ; s
+ .db 63h ; c
+ .db 6Ch ; l
+ .db 0
+ .db 58h ; X
+ .db 72h ; r
+ .db 65h ; e
+ .db 73h ; s
+ .db 0
+ .db 5Bh ; [
+ .db 6Dh ; m
+ .db 61h ; a
+ .db 78h ; x
+ .db 0
+ .db 5Bh ; [
+ .db 6Dh ; m
+ .db 69h ; i
+ .db 6Eh ; n
+ .db 0
+ .db 5Bh ; [
+ .db 73h ; s
+ .db 74h ; t
+ .db 65h ; e
+ .db 70h ; p
+ .db 0
+ .db 0DDh ; �
+ .db 0
+ .db 49h ; I
+ .db 25h ; %
+ .db 0
+ .db 50h ; P
+ .db 56h ; V
+ .db 0
+ .db 50h ; P
+ .db 4Dh ; M
+ .db 54h ; T
+ .db 0
+ .db 46h ; F
+ .db 56h ; V
+ .db 0
+ .db 50h ; P
+ .db 2Fh ; /
+ .db 59h ; Y
+ .db 0
+ .db 43h ; C
+ .db 2Fh ; /
+ .db 59h ; Y
+ .db 0
+ .db 50h ; P
+ .db 6Ch ; l
+ .db 6Fh ; o
+ .db 74h ; t
+ .db 53h ; S
+ .db 74h ; t
+ .db 61h ; a
+ .db 72h ; r
+ .db 74h ; t
+ .db 0
+ .db 50h ; P
+ .db 6Ch ; l
+ .db 6Fh ; o
+ .db 74h ; t
+ .db 53h ; S
+ .db 74h ; t
+ .db 65h ; e
+ .db 70h ; p
+ .db 0
+ .db 1
+ .db 4Dh ; M
+ .db 61h ; a
+ .db 78h ; x
+ .db 0
+p03loc_595D:
+ .db 57h ; W
+ .db 49h ; I
+ .db 4Eh ; N
+ .db 44h ; D
+ .db 4Fh ; O
+ .db 57h ; W
+ .db 0
+p03loc_5964:
+ .db 54h ; T
+ .db 41h ; A
+ .db 42h ; B
+ .db 4Ch ; L
+ .db 45h ; E
+ .db 20h
+ .db 53h ; S
+ .db 45h ; E
+ .db 54h ; T
+ .db 55h ; U
+ .db 50h ; P
+ .db 0
+p03loc_5970:
+ .db 5Ah ; Z
+ .db 4Fh ; O
+ .db 4Fh ; O
+ .db 4Dh ; M
+ .db 20h
+ .db 46h ; F
+ .db 41h ; A
+ .db 43h ; C
+ .db 54h ; T
+ .db 4Fh ; O
+ .db 52h ; R
+ .db 53h ; S
+ .db 0
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_597D: ; CODE XREF: SetXXOP2+9p
+ push af
+ call ShRAcc
+ ld b, a
+ pop af
+ and 0Fh
+ inc b
+ add a, 0
+ daa
+ jr p03loc_598E
+; ---------------------------------------------------------------------------
+
+p03loc_598B: ; CODE XREF: p03sub_597D:p03loc_598Ej
+ add a, 16h
+ daa
+
+p03loc_598E: ; CODE XREF: p03sub_597D+Cj
+ djnz p03loc_598B
+ ret
+; End of function p03sub_597D
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+SetXXOP1: ; CODE XREF: p03sub_62BC+1p
+ ld hl, OP1
+ jr p03loc_5999
+; End of function SetXXOP1
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+SetXXOP2: ; CODE XREF: p03sub_614B+3Ap
+ ld hl, OP2
+
+p03loc_5999: ; CODE XREF: SetXXOP1+3j
+ push hl
+ push af
+ call OPSet0
+ pop af
+ call p03sub_597D
+ pop hl
+ inc hl
+ cp 10h
+ jr nc, p03loc_59AD
+ call ShLAcc
+ jr p03loc_59AE
+; ---------------------------------------------------------------------------
+
+p03loc_59AD: ; CODE XREF: SetXXOP2+10j
+ inc (hl)
+
+p03loc_59AE: ; CODE XREF: SetXXOP2+15j
+ inc hl
+ ld (hl), a
+ ret
+; End of function SetXXOP2
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+SetXXXXOP2: ; CODE XREF: seg001:p03loc_432Ap
+ ; p03sub_5E3D+20p ...
+ push hl
+ call OP2Set0
+ pop hl
+ ld a, h
+ or l
+ ret z
+ ld a, l
+ and 0Fh
+ add a, 0
+ daa
+ ld (unk_8487), a
+ ld a, h
+ call ShRAcc
+ ld de, 4096h
+ call p03sub_59FA
+ ld a, h
+ and 0Fh
+ ld de, 256h
+ call p03sub_59FA
+ ld a, l
+ call ShRAcc
+ ld de, 16h
+ call p03sub_59FA
+ ld hl, 8484h
+ ld (hl), 85h ; '�'
+
+p03loc_59E4: ; CODE XREF: SetXXXXOP2+47j
+ ld a, (OP2M)
+ cp 10h
+ ret nc
+ ld hl, 8487h
+ xor a
+ rld
+ dec hl
+ rld
+ dec hl
+ rld
+ dec hl
+ dec (hl)
+ jr p03loc_59E4
+; End of function SetXXXXOP2
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_59FA: ; CODE XREF: SetXXXXOP2+18p
+ ; SetXXXXOP2+21p ...
+ ret z
+ push hl
+ ld b, a
+
+p03loc_59FD: ; CODE XREF: p03sub_59FA+15j
+ ld hl, 8487h
+ ld a, (hl)
+ add a, e
+ daa
+ ld (hl), a
+ dec hl
+ ld a, (hl)
+ adc a, d
+ daa
+ ld (hl), a
+ dec hl
+ ld a, (hl)
+ adc a, 0
+ daa
+ ld (hl), a
+ djnz p03loc_59FD
+ pop hl
+ ret
+; End of function p03sub_59FA
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5A13: ; CODE XREF: CLine:p03loc_5BB2p
+ ; CLine+17Bp
+ call PopRealO6
+ call PopRealO5
+ ld de, OP5
+ ld hl, OP6
+ call Page0Call_347D
+ ret
+; End of function p03sub_5A13
+
+; ---------------------------------------------------------------------------
+
+UCLineS:
+ push af
+ scf
+ jr p03loc_5A49
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5A27: ; CODE XREF: CLine:p03loc_5A96p CLine+67p
+ ld hl, (FPS)
+ ld de, 0FFE5h
+ add hl, de
+ ld de, 0FFF7h
+ call p03sub_7084
+ push af
+ call p03sub_707D
+ pop hl
+ ld l, a
+ ret
+; End of function p03sub_5A27
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+CLine: ; CODE XREF: p03sub_614B+6Cp p03sub_614B+E8p ...
+ bit 5, (iy+14h)
+ jr z, p03loc_5A41
+
+p03loc_5A41:
+ call PUSHMCPLXO3
+ call PUSHMCPLXO1
+
+CLineS:
+ push af
+ or a
+
+p03loc_5A49: ; CODE XREF: seg001:5A25j
+ ld a, 2
+ bit 7, (iy+35h)
+ call nz, Page0Call_3483
+ jr z, p03loc_5A57
+ pop af
+ ret
+; ---------------------------------------------------------------------------
+
+BCALL_503E:
+ push af
+
+p03loc_5A57: ; CODE XREF: CLine+17j
+ push bc
+ push de
+ push hl
+ push af
+ ld c, 1
+ push bc
+ ld ix, 0
+ add ix, sp
+ ld a, 0Ah
+ push af
+ ld de, 0FFE5h
+ call Page0Call_3489
+ jp nz, p03loc_5C20
+ ld de, 0FFF7h
+ call Page0Call_3489
+ jp nz, p03loc_5C10
+ call p03sub_5C38
+ jr z, p03loc_5A96
+ call CpyTo1FPS3
+ ld de, OP1
+ call Page0Call_348F
+ ld (unk_9188), a
+ call CpyTo1FPS1
+ ld de, OP1
+ call Page0Call_348F
+ ld (unk_9189), a
+
+p03loc_5A96: ; CODE XREF: CLine+41j
+ call p03sub_5A27
+ ld (unk_918A), hl
+
+p03loc_5A9C: ; CODE XREF: CLine+167j CLine+174j
+ pop af
+ dec a
+ push af
+ jp z, p03loc_5D38
+ call p03sub_5A27
+ and h
+ jr z, p03loc_5ACB
+ cp 4
+ jr nc, p03loc_5AC4
+ push af
+ call p03sub_5C38
+ jp z, p03loc_5D37
+ ld a, (unk_9189)
+ ld b, a
+ ld a, (unk_9188)
+ pop hl
+ bit 0, h
+ jr z, p03loc_5AC7
+ ld e, 3Fh ; '?'
+
+p03loc_5AC1: ; CODE XREF: CLine+8Ej
+ call p03sub_5C4D
+
+p03loc_5AC4: ; CODE XREF: CLine+6Fj
+ jp p03loc_5D38
+; ---------------------------------------------------------------------------
+
+p03loc_5AC7: ; CODE XREF: CLine+82j
+ ld e, 1
+ jr p03loc_5AC1
+; ---------------------------------------------------------------------------
+
+p03loc_5ACB: ; CODE XREF: CLine+6Bj
+ ld a, h
+ or l
+ jp z, p03loc_5BB2
+ push hl
+ ld hl, (FPS)
+ ld de, 0FFE5h
+ add hl, de
+ ld (chkDelPtr2), hl
+ ld de, 0FFF7h
+ add hl, de
+ ld (chkDelPtr1), hl
+ bit 0, (ix+0)
+ jr z, p03loc_5B24
+ res 0, (ix+0)
+ call CpyTo1FPS1
+ call CpyTo2FPS3
+ ld b, 0Ch
+ call p03sub_5D0A
+ call FPSub
+ call CkOP1FP0
+ jr nz, p03loc_5B05
+
+p03loc_5AFF: ; CODE XREF: CLine+DEj
+ set 2, (ix+0)
+ jr p03loc_5B24
+; ---------------------------------------------------------------------------
+
+p03loc_5B05: ; CODE XREF: CLine+C2j
+ call OP1ToOP5
+ call CpyTo1FPST
+ call CpyTo2FPS2
+ ld b, 3
+ call p03sub_5D0A
+ call FPSub
+ call CkOP1FP0
+ jr z, p03loc_5AFF
+ call OP5ToOP2
+ call fpdiv
+ call OP1ToOP6
+
+p03loc_5B24: ; CODE XREF: CLine+ABj CLine+C8j
+ pop hl
+ bit 1, (ix+0)
+ jr nz, p03loc_5B33
+ xor a
+ or h
+ jr nz, p03loc_5B44
+ set 1, (ix+0)
+
+p03loc_5B33: ; CODE XREF: CLine+EEj
+ push hl
+ ld hl, (FPS)
+ ld de, 0FFF7h
+ add hl, de
+ ld (chkDelPtr2), hl
+ add hl, de
+ ld (chkDelPtr1), hl
+ pop hl
+ ld h, l
+
+p03loc_5B44: ; CODE XREF: CLine+F2j
+ bit 0, h
+ jr z, p03loc_5B5D
+ ld hl, Ymax
+
+p03loc_5B4B: ; CODE XREF: CLine+129j
+ ld (chkDelPtr2), hl
+ bit 2, (ix+0)
+ jr nz, p03loc_5B8A
+ scf
+ call p03sub_5C71
+ ld de, OP1
+ jr p03loc_5B8E
+; ---------------------------------------------------------------------------
+
+p03loc_5B5D: ; CODE XREF: CLine+10Bj
+ bit 1, h
+ jr z, p03loc_5B66
+ ld hl, Ymin
+ jr p03loc_5B4B
+; ---------------------------------------------------------------------------
+
+p03loc_5B66: ; CODE XREF: CLine+124j
+ bit 2, h
+ jr z, p03loc_5B6F
+ ld de, Xmax
+ jr p03loc_5B76
+; ---------------------------------------------------------------------------
+
+p03loc_5B6F: ; CODE XREF: CLine+12Dj
+ bit 3, h
+ jr z, p03loc_5B8A
+ ld de, Xmin
+
+p03loc_5B76: ; CODE XREF: CLine+132j
+ bit 2, (ix+0)
+ jr nz, p03loc_5B8E
+ ex de, hl
+ ld (chkDelPtr1), hl
+ or a
+ call p03sub_5C71
+ ld hl, OP1
+ ld (chkDelPtr2), hl
+
+p03loc_5B8A: ; CODE XREF: CLine+117j CLine+136j
+ ld de, (chkDelPtr1)
+
+p03loc_5B8E: ; CODE XREF: CLine+120j CLine+13Fj
+ bit 1, (ix+0)
+ jr nz, p03loc_5BA5
+ call CpyToFPS3
+ ld de, (chkDelPtr2)
+ call CpyToFPS2
+ set 3, (ix+0)
+ jp p03loc_5A9C
+; ---------------------------------------------------------------------------
+
+p03loc_5BA5: ; CODE XREF: CLine+157j
+ call CpyToFPS1
+ ld de, (chkDelPtr2)
+ call CpyToFPST
+ jp p03loc_5A9C
+; ---------------------------------------------------------------------------
+
+p03loc_5BB2: ; CODE XREF: CLine+92j
+ call p03sub_5A13
+ push bc
+ call p03sub_5A13
+ push bc
+ call p03sub_5C38
+ jr z, p03loc_5BD7
+ ld a, (unk_9188)
+ cp b
+ jr z, p03loc_5BD7
+ ld hl, (unk_918A)
+ bit 0, h
+ jr z, p03loc_5BD3
+ ld e, 3Fh ; '?'
+
+p03loc_5BCE: ; CODE XREF: CLine+19Aj
+ call p03sub_5C4D
+ jr p03loc_5BD7
+; ---------------------------------------------------------------------------
+
+p03loc_5BD3: ; CODE XREF: CLine+18Fj
+ ld e, 1
+ jr p03loc_5BCE
+; ---------------------------------------------------------------------------
+
+p03loc_5BD7: ; CODE XREF: CLine+182j CLine+188j ...
+ pop bc
+ pop de
+ pop hl
+ pop hl
+ pop af
+ ld h, 1
+ jr nc, p03loc_5BE1
+ dec h
+
+p03loc_5BE1: ; CODE XREF: CLine+1A3j
+ push de
+ call Page0Call_3495
+ pop de
+ call p03sub_5C38
+ jr z, p03loc_5C33
+ ld a, (unk_9189)
+ cp d
+ jr z, p03loc_5C33
+ ld b, a
+ ld a, d
+ ld hl, pixWide_m_2
+ cp (hl)
+ jr z, p03loc_5C33
+ ld hl, (unk_918A)
+ bit 0, l
+ jr z, p03loc_5C07
+ ld e, 3Fh ; '?'
+
+p03loc_5C02: ; CODE XREF: CLine+1CEj
+ call p03sub_5C4D
+ jr p03loc_5C33
+; ---------------------------------------------------------------------------
+
+p03loc_5C07: ; CODE XREF: CLine+1C3j
+ ld e, 1
+ jr p03loc_5C02
+; End of function CLine
+
+; ---------------------------------------------------------------------------
+ call Page0Call_3495
+ jr p03loc_5C33
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_5C71
+
+p03loc_5C10: ; CODE XREF: CLine+3Bj p03sub_5C71+4Fj
+ call FPOPCPLX
+ pop hl
+ pop hl
+ pop af
+ ld a, 1
+ jr nc, p03loc_5C1B
+ dec a
+
+p03loc_5C1B: ; CODE XREF: p03sub_5C71-59j
+ call Page0Call_349B
+ jr p03loc_5C33
+; ---------------------------------------------------------------------------
+
+p03loc_5C20: ; CODE XREF: CLine+32j p03sub_5C71+48j ...
+ pop hl
+ pop hl
+ pop af
+ ld a, 1
+ jr nc, p03loc_5C28
+ dec a
+
+p03loc_5C28: ; CODE XREF: p03sub_5C71-4Cj
+ call Page0Call_349B
+ call FPOPCPLX
+ jr p03loc_5C33
+; END OF FUNCTION CHUNK FOR p03sub_5C71
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_5D0A
+
+p03loc_5C30: ; CODE XREF: p03sub_5D0A+34j
+ 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 ...
+ pop hl
+ pop de
+ pop bc
+ pop af
+ ret
+; END OF FUNCTION CHUNK FOR p03sub_5C71
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5C38: ; CODE XREF: CLine+3Ep CLine+72p ...
+ bit 5, (iy+14h)
+ ret z
+ ld a, (unk_9775)
+ cp 2
+ jr c, p03loc_5C4B
+ cp 4
+ jr nc, p03loc_5C4B
+ or 1
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_5C4B: ; CODE XREF: p03sub_5C38+Aj p03sub_5C38+Ej
+ xor a
+ ret
+; End of function p03sub_5C38
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5C4D: ; CODE XREF: CLine:p03loc_5AC1p
+ ; CLine:p03loc_5BCEp ...
+ push bc
+ ld c, e
+ ld b, a
+ ld a, (unk_9775)
+ cp 2
+ ld a, e
+ jr z, p03loc_5C5E
+ cp 1
+ jr nz, p03loc_5C62
+
+p03loc_5C5C: ; CODE XREF: p03sub_5C4D+13j
+ pop af
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_5C5E: ; CODE XREF: p03sub_5C4D+9j
+ cp 3Fh ; '?'
+ jr z, p03loc_5C5C
+
+p03loc_5C62: ; CODE XREF: p03sub_5C4D+Dj
+ pop af
+
+p03loc_5C63: ; CODE XREF: p03sub_5C4D+21j
+ push af
+ push bc
+ ld d, 3
+ call Page0Call_34A1
+ pop bc
+ inc b
+ pop af
+ cp b
+ jr nc, p03loc_5C63
+ ret
+; End of function p03sub_5C4D
+
+
+; =============== 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
+
+ push af
+ rst 20h
+ ld hl, (FPS)
+ ld de, 0FFDCh
+ add hl, de
+ ex de, hl
+ ld hl, 9
+ add hl, de
+ pop af
+ push af
+ jr c, p03loc_5C84
+ ex de, hl
+
+p03loc_5C84: ; CODE XREF: p03sub_5C71+10j
+ push hl
+ ld bc, 12h
+ add hl, bc
+ inc hl
+ ld b, (hl)
+ inc hl
+ ld a, (hl)
+ pop hl
+ or a
+ jr z, p03loc_5CCB
+ call CkOP1FP0
+ jr z, p03loc_5CD2
+ push de
+ push hl
+ push bc
+ call Mov9ToOP2
+ call CkOP2FP0
+ jr z, p03loc_5CC6
+ ld a, (OP2+1)
+ ld d, a
+ ld a, (OP1+1)
+ add a, 0Dh
+ cp d
+ pop bc
+ jr nc, p03loc_5CEF
+ sub b
+ pop hl
+ pop de
+ jr nc, p03loc_5CCB
+ pop af
+ pop hl
+ bit 3, (ix+0)
+ jp nz, p03loc_5C20
+ bit 1, (ix+0)
+ jp nz, p03loc_5C10
+ jp p03loc_5C20
+; ---------------------------------------------------------------------------
+
+p03loc_5CC6: ; CODE XREF: p03sub_5C71+2Ej
+ pop bc
+
+p03loc_5CC7: ; CODE XREF: p03sub_5C71+7Fj
+ pop hl
+ pop de
+ jr p03loc_5CD2
+; ---------------------------------------------------------------------------
+
+p03loc_5CCB: ; CODE XREF: p03sub_5C71+1Ej p03sub_5C71+40j ...
+ 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 ...
+ pop af
+ push de
+ push af
+ call page0_C25
+ call OP6ToOP2
+ pop af
+ push af
+ call c, fpdiv
+ pop af
+ call nc, FPMult
+ pop hl
+ call page0_BEC
+ ld hl, OP1
+ call Page0Call_34A7
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_5CEF: ; CODE XREF: p03sub_5C71+3Bj
+ sub b
+ jr c, p03loc_5CC7
+ sub 0Dh
+ jr nc, p03loc_5CF7
+ cpl
+
+p03loc_5CF7: ; CODE XREF: p03sub_5C71+83j
+ ld b, a
+ ld a, (OP2+1)
+ ld d, a
+ ld a, (OP1+1)
+ sub d
+ jr nc, p03loc_5D03
+ cpl
+
+p03loc_5D03: ; CODE XREF: p03sub_5C71+8Fj
+ sub b
+ pop hl
+ pop de
+ jr c, p03loc_5CD2
+ jr p03loc_5CCB
+; End of function p03sub_5C71
+
+
+; =============== 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
+
+ call CkOP1FP0
+ ret z
+ call CkOP2FP0
+ ret z
+ ld a, (OP1+1)
+ ld hl, 8484h
+ sub (hl)
+ jr c, p03loc_5D32
+ sub 0Ch
+ ret c
+
+p03loc_5D1E: ; CODE XREF: p03sub_5D0A+2Bj
+ pop hl
+ pop de
+ push af
+ ld a, d
+ and b
+ jr z, p03loc_5D29
+ ld a, e
+ and b
+ jr nz, p03loc_5D37
+
+p03loc_5D29: ; CODE XREF: p03sub_5D0A+19j
+ pop af
+ push de
+ push hl
+ jp nc, OP2Set0
+ jp OP1Set0
+; ---------------------------------------------------------------------------
+
+p03loc_5D32: ; CODE XREF: p03sub_5D0A+Fj
+ sub 0F5h ; '�'
+ ret nc
+ jr p03loc_5D1E
+; ---------------------------------------------------------------------------
+
+p03loc_5D37: ; CODE XREF: CLine+75j p03sub_5D0A+1Dj
+ pop af
+
+p03loc_5D38: ; CODE XREF: CLine+64j CLine:p03loc_5AC4j
+ ld de, 24h ; '$'
+ call DeallocFPS1
+ jp p03loc_5C30
+; End of function p03sub_5D0A
+
+; ---------------------------------------------------------------------------
+
+XRootY:
+ call CkOP1FP0
+ jr z, p03loc_5D6C
+ set 1, (iy+1Eh)
+ set 2, (iy+1Eh)
+ call OP1ExOP2
+ jr p03loc_5D5B
+; ---------------------------------------------------------------------------
+
+YToX:
+ res 1, (iy+1Eh)
+ res 2, (iy+1Eh)
+
+p03loc_5D5B: ; CODE XREF: seg001:5D51j
+ call page0_FB5
+ call CkOP1FP0
+ jr nz, p03loc_5D6F
+ call CkOP2FP0
+ jr z, p03loc_5D6C
+ call ckop2pos
+ ret z
+
+p03loc_5D6C: ; CODE XREF: seg001:5D44j seg001:5D66j
+ jp ErrDomain
+; ---------------------------------------------------------------------------
+
+p03loc_5D6F: ; CODE XREF: seg001:5D61j
+ call CkOP2FP0
+ jp z, OP1Set1
+ xor a
+ push af
+ call OP2ToOP6
+ call CkOP1Pos
+ jr z, p03loc_5DDF
+ call PUSHMCPLXO1
+ ld a, (OP2+1)
+ cp 75h ; 'u'
+ jp c, Page0Call_38AF
+ call OP2ToOP1
+ call GETEXP
+ jr nc, p03loc_5D9D
+ ld a, (iy+1Eh)
+ xor 4
+ ld (iy+1Eh), a
+ call fprecip
+
+p03loc_5D9D: ; CODE XREF: seg001:5D90j
+ call Page0Call_3AA7
+ jr c, p03loc_5DB3
+ ld hl, 8484h
+ call CKOdd
+ jr nz, p03loc_5DC1
+ bit 2, (iy+1Eh)
+ jp z, Page0Call_38AF
+ jr p03loc_5DD6
+; ---------------------------------------------------------------------------
+
+p03loc_5DB3: ; CODE XREF: seg001:5DA0j
+ ld d, 0Ch
+ call Page0Call_39C9
+ ld hl, 8479h
+ call CKInt
+ jp nz, Page0Call_38AF
+
+p03loc_5DC1: ; CODE XREF: seg001:5DA8j
+ ld hl, 8479h
+ call CKOdd
+ jr nz, p03loc_5DD2
+ bit 2, (iy+1Eh)
+ jp nz, Page0Call_38AF
+ jr p03loc_5DD6
+; ---------------------------------------------------------------------------
+
+p03loc_5DD2: ; CODE XREF: seg001:5DC7j
+ pop af
+ or 80h ; '�'
+ push af
+
+p03loc_5DD6: ; CODE XREF: seg001:5DB1j seg001:5DD0j
+ call PopRealO2
+ call PopRealO1
+ call ClrOP1S
+
+p03loc_5DDF: ; CODE XREF: seg001:5D7Dj
+ call OP1ToOP6
+ call OP2ToOP1
+ bit 1, (iy+1Eh)
+ call nz, fprecip
+ rst 8
+ call OP1ExOP6
+ ld a, (OP2+1)
+ cp 82h ; '�'
+ jr nc, p03loc_5E1D
+ ld hl, OP2
+ bit 7, (hl)
+ jr nz, p03loc_5E1D
+ inc hl
+ call CKInt
+ jr nz, p03loc_5E1D
+ ld a, (OP2+1)
+ cp 80h ; '�'
+ ld a, (OP2M)
+ call z, ShRAcc
+ rst 8
+ jr p03loc_5E18
+; ---------------------------------------------------------------------------
+
+p03loc_5E12: ; CODE XREF: seg001:5E19j
+ daa
+ push af
+ call FPMult
+ pop af
+
+p03loc_5E18: ; CODE XREF: seg001:5E10j
+ dec a
+ jr nz, p03loc_5E12
+ jr p03loc_5E38
+; ---------------------------------------------------------------------------
+
+p03loc_5E1D: ; CODE XREF: seg001:5DF5j seg001:5DFCj ...
+ ld c, 1
+ call Page0Call_3861
+ call CkOP1FP0
+ jr nz, p03loc_5E2C
+ call OP1Set1
+ jr p03loc_5E38
+; ---------------------------------------------------------------------------
+
+p03loc_5E2C: ; CODE XREF: seg001:5E25j
+ call OP6ToOP2
+ call page0_CFA
+ call LJNORND
+ call Page0Call_3867
+
+p03loc_5E38: ; CODE XREF: seg001:5E1Bj seg001:5E2Aj
+ pop af
+ ld (OP1), a
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5E3D: ; CODE XREF: seg001:6043p seg001:6048p ...
+ call p03sub_67B2
+ bit 0, (hl)
+ ret z
+ cp 3
+ ret nz
+ push af
+ push hl
+ call p03sub_7053
+ pop hl
+ pop af
+ call p03sub_65F5
+ call p03sub_6AF7
+ ld hl, (fOutDat)
+ ld a, h
+ or a
+ jr nz, p03loc_5E65
+ push bc
+ pop hl
+ push hl
+ call SetXXXXOP2
+ call OP2ToOP1
+ jr p03loc_5E79
+; ---------------------------------------------------------------------------
+
+p03loc_5E65: ; CODE XREF: p03sub_5E3D+1Bj
+ push bc
+ ld (OP6), bc
+ ld (iMathPtr1), hl
+ ld hl, 1
+ ld (OP6M), hl
+ call Page0Call_3B3D
+ call p03sub_6AF7
+
+p03loc_5E79: ; CODE XREF: p03sub_5E3D+26j
+ call Page0Call_38A3
+ ld hl, p03loc_6AFE
+ call page0_EC1
+ call Plus1
+ call int
+ rst 18h
+ pop hl
+ push hl
+ ld (OP6), hl
+ call Page0Call_3B31
+ rst 18h
+ call p03sub_6B07
+ jr z, p03loc_5EA5
+ call OP1ToOP3
+ call CpyTo2FPS2
+ call cpop1op2
+ jr nc, p03loc_5EA8
+ call OP3ToOP1
+
+p03loc_5EA5: ; CODE XREF: p03sub_5E3D+58j
+ call CpyO1ToFPS2
+
+p03loc_5EA8: ; CODE XREF: p03sub_5E3D+63j
+ pop hl
+ ld (OP6), hl
+ call Page0Call_3B37
+ call PopRealO2
+ call OP1ToOP5
+ call FPSub
+ call PopRealO2
+ call fpdiv
+ call p03sub_6B07
+ jr z, p03loc_5ED1
+ call OP1ToOP3
+ call CpyTo2FPS4
+ call cpop1op2
+ jr c, p03loc_5ED4
+ call OP3ToOP1
+
+p03loc_5ED1: ; CODE XREF: p03sub_5E3D+84j
+ call CpyO1ToFPS4
+
+p03loc_5ED4: ; CODE XREF: p03sub_5E3D+8Fj
+ call OP5ToOP1
+ call CpyTo2FPS4
+ rst 30h
+ call p03sub_6B07
+ set 7, (iy+1Ah)
+ set 1, (iy+1Ah)
+ set 4, (iy+1Ah)
+ jr z, p03loc_5EF9
+ call OP1ToOP3
+ call CpyTo2FPS1
+ call cpop1op2
+ ret c
+ call OP3ToOP1
+
+p03loc_5EF9: ; CODE XREF: p03sub_5E3D+ADj
+ jp CpyO1ToFPS1
+; End of function p03sub_5E3D
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5EFC: ; CODE XREF: seg001:60ADp seg001:60B2p ...
+ ld (curPlotNumber), a
+ call p03sub_67B2
+ bit 0, (hl)
+ ret z
+ cp 3
+ ret z
+ push af
+ push af
+ push hl
+ call p03sub_7053
+ pop hl
+ pop af
+ call p03sub_65F5
+ call p03sub_6AF7
+ pop af
+ push af
+ push bc
+ ld (OP6), bc
+ cp 2
+ jr nc, p03loc_5F3B
+ ld hl, (YOutDat)
+ ld (iMathPtr1), hl
+ call Page0Call_3B37
+ call p03sub_5FEB
+ pop hl
+ push hl
+ ld (OP6), hl
+ call Page0Call_3B31
+ call p03sub_6AF7
+ call p03sub_5FC3
+
+p03loc_5F3B: ; CODE XREF: p03sub_5EFC+23j
+ pop hl
+ push hl
+ ld (OP6), hl
+ call Page0Call_3B37
+ call p03sub_5FE2
+ jr nz, p03loc_5F53
+ bit 6, (iy+1Ah)
+ jr nz, p03loc_5F53
+ call p03sub_5FEB
+ jr p03loc_5F56
+; ---------------------------------------------------------------------------
+
+p03loc_5F53: ; CODE XREF: p03sub_5EFC+4Aj p03sub_5EFC+50j
+ call p03sub_5F89
+
+p03loc_5F56: ; CODE XREF: p03sub_5EFC+55j
+ pop hl
+ push hl
+ ld (OP6), hl
+ call Page0Call_3B31
+ call p03sub_5FE2
+ jr nz, p03loc_5F6E
+ bit 6, (iy+1Ah)
+ jr nz, p03loc_5F6E
+ call p03sub_5FC3
+ jr p03loc_5F71
+; ---------------------------------------------------------------------------
+
+p03loc_5F6E: ; CODE XREF: p03sub_5EFC+65j p03sub_5EFC+6Bj
+ call p03sub_5FA4
+
+p03loc_5F71: ; CODE XREF: p03sub_5EFC+70j
+ pop hl
+ pop af
+ cp 5
+ jr nz, locret_5F88
+ set 2, (iy+1Dh)
+ call SetTblGraphDraw
+ ld hl, curPlotNumber
+ call p03sub_640C
+ res 2, (iy+1Dh)
+
+locret_5F88: ; CODE XREF: p03sub_5EFC+79j
+ ret
+; End of function p03sub_5EFC
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5F89: ; CODE XREF: p03sub_5EFC:p03loc_5F53p
+ ; p03sub_640C:p03loc_632Cp
+ call OP1ToOP3
+ bit 4, (iy+1Ah)
+ jr z, p03loc_5F9C
+ call CpyTo2FPS1
+ call cpop1op2
+ ret c
+ call OP3ToOP1
+
+p03loc_5F9C: ; CODE XREF: p03sub_5F89+7j
+ call CpyO1ToFPS1
+ res 7, (iy+1Ah)
+ ret
+; End of function p03sub_5F89
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5FA4: ; CODE XREF: p03sub_5EFC:p03loc_5F6Ep
+ ; p03sub_640C-DAp
+ call OP1ToOP3
+ bit 4, (iy+1Ah)
+ set 4, (iy+1Ah)
+ jr z, p03loc_5FBB
+ call CpyTo2FPST
+ call cpop1op2
+ ret nc
+ call OP3ToOP1
+
+p03loc_5FBB: ; CODE XREF: p03sub_5FA4+Bj
+ call CpyO1ToFPST
+ res 7, (iy+1Ah)
+ ret
+; End of function p03sub_5FA4
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5FC3: ; CODE XREF: p03sub_5EFC+3Cp p03sub_5EFC+6Dp ...
+ call OP1ToOP3
+ bit 1, (iy+1Ah)
+ set 1, (iy+1Ah)
+ jr z, p03loc_5FDA
+ call CpyTo2FPS2
+ call cpop1op2
+ ret nc
+ call OP3ToOP1
+
+p03loc_5FDA: ; CODE XREF: p03sub_5FC3+Bj
+ call CpyO1ToFPS2
+ res 7, (iy+1Ah)
+ ret
+; End of function p03sub_5FC3
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5FE2: ; CODE XREF: p03sub_5EFC+47p p03sub_5EFC+62p
+ pop de
+ pop hl
+ pop af
+ push af
+ push hl
+ push de
+ cp 5
+ ret
+; End of function p03sub_5FE2
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_5FEB: ; CODE XREF: p03sub_5EFC+2Ep p03sub_5EFC+52p ...
+ call OP1ToOP3
+ bit 1, (iy+1Ah)
+ jr z, p03loc_5FFE
+ call CpyTo2FPS3
+ call cpop1op2
+ ret c
+ call OP3ToOP1
+
+p03loc_5FFE: ; CODE XREF: p03sub_5FEB+7j
+ call CpyO1ToFPS3
+ res 7, (iy+1Ah)
+ ret
+; End of function p03sub_5FEB
+
+; ---------------------------------------------------------------------------
+
+ZmStats: ; CODE XREF: seg001:7091j
+ call Page0Call_3549
+ call Bit_VertSplit
+ jr z, p03loc_6019
+ bit 7, (iy+1Dh)
+ call nz, Page0Call_34AD
+ res 2, (iy+1Fh)
+
+p03loc_6019: ; CODE XREF: seg001:600Cj
+ ld hl, 2Dh ; '-'
+ call AllocFPS1
+ res 4, (iy+1Ah)
+ res 1, (iy+1Ah)
+ res 7, (iy+1Ah)
+ ld hl, Xscl
+ rst 20h
+ call CpyO1ToFPS4
+ ld hl, Ymin
+ rst 20h
+ call CpyO1ToFPS2
+ ld hl, Ymax
+ rst 20h
+ call CpyO1ToFPS3
+ xor a
+ ld a, 1
+ call p03sub_5E3D
+ ld a, 2
+ call p03sub_5E3D
+ ld a, 3
+ call p03sub_5E3D
+ call p03sub_6B07
+ jr z, p03loc_60AB
+ ld b, 5
+
+p03loc_6057: ; CODE XREF: seg001:605Dj
+ push bc
+ call CpyTo1FPS4
+ rst 18h
+ pop bc
+ djnz p03loc_6057
+ call p03sub_60BA
+ call OP1Set0
+ rst 18h
+ ld a, 1
+ call p03sub_6138
+ call p03sub_612E
+ ld a, 2
+ call p03sub_6138
+ call p03sub_612E
+ ld a, 3
+ call p03sub_6138
+ call p03sub_612E
+ call PopRealO1
+ call OP2Set1
+ ld a, 11h
+ ld (OP2M), a
+ ld a, 70h ; 'p'
+ ld (unk_8486), a
+ call FPMult
+ call CpyO1ToFPS3
+ ld hl, 257Fh
+ call CheckSplitFlag
+ jr z, p03loc_609F
+ ld hl, 807Fh
+
+p03loc_609F: ; CODE XREF: seg001:609Aj
+ ld (OP2+1), hl
+ call FPMult
+ call InvOP1S
+ call CpyO1ToFPS2
+
+p03loc_60AB: ; CODE XREF: seg001:6053j
+ ld a, 1
+ call p03sub_5EFC
+ ld a, 2
+ call p03sub_5EFC
+ ld a, 3
+ call p03sub_5EFC
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_60BA: ; CODE XREF: seg001:605Fp
+ bit 4, (iy+1Ah)
+ ld de, 2Dh ; '-'
+ jp z, DeallocFPS1
+ ld a, 0Ah
+ cp a
+ call p03sub_60E6
+ call CpyTo1FPS2
+ call CkValidNum
+ ld a, 2
+ call Page0Call_3675
+ bit 1, (iy+1Ah)
+ ld a, 0Ch
+ push af
+ call z, FPOPCPLX
+ pop af
+ call nz, p03sub_60E6
+ jp FPOPREAL
+; End of function p03sub_60BA
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_60E6: ; CODE XREF: p03sub_60BA+Dp p03sub_60BA+26p
+ push af
+ call CpyTo1FPS1
+ call CpyTo2FPST
+ call FPSub
+ call ClrOP1S
+ call OP2Set1
+ ld a, 7Fh ; ''
+ ld (OP2+1), a
+ pop af
+ push af
+ jr z, p03loc_6104
+ ld a, 17h
+ ld (OP2M), a
+
+p03loc_6104: ; CODE XREF: p03sub_60E6+17j
+ call FPMult
+ call p03sub_6B07
+ call nz, OP1Set0
+ call CpyTo2FPST
+ call CpyO1ToFPST
+ call InvSub
+ call CkValidNum
+ pop af
+ push af
+ call Page0Call_3675
+ call PopRealO1
+ call PopRealO2
+ rst 30h
+ call CkValidNum
+ pop af
+ inc a
+ call Page0Call_3675
+ ret
+; End of function p03sub_60E6
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_612E: ; CODE XREF: seg001:606Bp seg001:6073p ...
+ call CpyTo2FPST
+ call cpop1op2
+ ret c
+ jp CpyO1ToFPST
+; End of function p03sub_612E
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6138: ; CODE XREF: seg001:6068p seg001:6070p ...
+ call p03sub_67B2
+ bit 0, (hl)
+ ret z
+ cp 3
+ ret nz
+ push af
+ push hl
+ call p03sub_7053
+ pop hl
+ pop af
+ call p03sub_65F5
+; End of function p03sub_6138
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_614B: ; CODE XREF: p03sub_640C+2Cj seg001:66E7p
+ call OP1Set0
+ call p03sub_6B07
+ call nz, PushRealO1
+ ld hl, Xmax
+ rst 20h
+ ld hl, Xmin
+ call Mov9ToOP2
+ rst 18h
+ call PushRealO2
+ rst 18h
+ rst 18h
+ call FPSub
+ ld hl, Xscl
+ call Mov9ToOP2
+ call CkOP2FP0
+ jp z, ErrStat
+ call fpdiv
+ call ClrOP1S
+ rst 18h
+ call Page0Call_34B3
+ call CkOP1FP0
+ jp z, ErrStat
+ ld a, 30h ; '0'
+ call SetXXOP2
+ call cpop1op2
+ jp nc, ErrStat
+ call PopRealO2
+ call cpop1op2
+ call z, Plus1
+ call CpyO1ToFPS3
+ call Page0Call_3B5B
+ push af
+ ld hl, Xmin
+ rst 20h
+ ld de, OP3
+ call mov9B2
+ call OP2Set0
+ call OP4Set0
+ call p03sub_6B07
+ jr nz, p03loc_61BA
+ bit 3, (iy+13h)
+ call z, CLine
+
+p03loc_61BA: ; CODE XREF: p03sub_614B+66j
+ pop bc
+ ld c, 1
+
+p03loc_61BD: ; CODE XREF: p03sub_627F+16j
+ ld hl, (XOutDat)
+ call ldHLind
+
+p03loc_61C3: ; CODE XREF: p03sub_614B+110j
+ push bc
+ push hl
+ push hl
+ call p03sub_62BC
+ call CpyO1ToFPS1
+
+p03loc_61CC: ; CODE XREF: p03sub_6298+21j
+ call FPSMINUS9
+ ex de, hl
+ call OPSet0DE
+ pop hl
+
+p03loc_61D4: ; CODE XREF: p03sub_614B+CCj
+ call p03sub_6B07
+ jr nz, p03loc_61DE
+ call page0_189
+ jr nz, p03loc_6224
+
+p03loc_61DE: ; CODE XREF: p03sub_614B+8Cj
+ push hl
+ ld de, (XOutDat)
+ call Page0Call_3AF5
+ call CpyTo2FPS2
+ call cpop1op2
+ jr c, p03loc_6213
+ call CpyTo2FPS1
+ call cpop1op2
+ jr nc, p03loc_6213
+ call OP1Set1
+ ld de, (fOutDat)
+ ld a, d
+ or a
+ jr z, p03loc_620C
+ pop hl
+ push hl
+ call Page0Call_3AF5
+ call CkOP1Pos
+ jp nz, ErrStat
+
+p03loc_620C: ; CODE XREF: p03sub_614B+B4j
+ call CpyTo2FPST
+ rst 30h
+ call CpyO1ToFPST
+
+p03loc_6213: ; CODE XREF: p03sub_614B+A1j p03sub_614B+A9j
+ pop hl
+ dec hl
+ ld a, h
+ or l
+ jr nz, p03loc_61D4
+ call p03sub_6B07
+ jr nz, p03loc_626B
+ bit 3, (iy+13h)
+ jr z, p03loc_6227
+
+p03loc_6224: ; CODE XREF: p03sub_614B+91j
+ pop hl
+ pop bc
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6227: ; CODE XREF: p03sub_614B+D7j
+ call CpyTo4FPST
+ call CpyTo3FPS2
+ call OP2Set0
+ call OP3ToOP1
+ call CLine
+ call CpyTo4FPST
+ call CpyTo3FPS1
+ call OP4ToOP2
+ call CpyTo1FPS2
+ call CLine
+ call OP4Set0
+ call CpyTo3FPS1
+ call CpyTo2FPST
+ call OP3ToOP1
+ call CpyO1ToFPS2
+ call CLine
+
+p03loc_6257: ; CODE XREF: p03sub_614B+132j
+ pop hl
+ pop bc
+ inc c
+ dec b
+ jp nz, p03loc_61C3
+ ld de, 24h ; '$'
+ call DeallocFPS1
+ call p03sub_6B07
+ ret z
+ jp PopRealO1
+; ---------------------------------------------------------------------------
+
+p03loc_626B: ; CODE XREF: p03sub_614B+D1j
+ call CpyTo1FPST
+ call CpyTo2FPS4
+ call cpop1op2
+ call nc, CpyO1ToFPS4
+ call CpyTo1FPS1
+ call CpyO1ToFPS2
+ jr p03loc_6257
+; End of function p03sub_614B
+
+
+; =============== S U B R O U T I N E =======================================
+p03sub_627F: ; CODE XREF: seg001:p03loc_66ECp
+ call CpyTo1FPS3
+ call Page0Call_3B5B
+ ld hl, 8E65h
+ cp (hl)
+ ret z
+ ld c, (hl)
+ inc c
+ push bc
+ inc (hl)
+ call CpyTo1FPS1
+ call CpyO1ToFPS2
+ pop bc
+ jp p03loc_61BD
+; End of function p03sub_627F
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6298: ; CODE XREF: seg001:68F9p
+ ld a, (unk_8E65)
+ dec a
+ ret z
+ ld c, a
+ ld (unk_8E65), a
+ push bc
+ call CpyTo1FPS2
+ call CpyO1ToFPS1
+ pop bc
+ push bc
+ dec c
+ call p03sub_62BC
+ call CpyO1ToFPS2
+ ld hl, (XOutDat)
+ call ldHLind
+ push hl
+ push hl
+ jp p03loc_61CC
+; End of function p03sub_6298
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_62BC: ; CODE XREF: p03sub_614B+7Bp p03sub_6298+13p
+ ld a, c
+ call SetXXOP1
+ ld hl, Xscl
+ call Mov9ToOP2
+ ld hl, OP2
+ res 7, (hl)
+ call FPMult
+ ld hl, Xmin
+ jp page0_BEC
+; End of function p03sub_62BC
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_640C
+
+p03loc_62D4: ; CODE XREF: p03sub_640C-Fj
+ set 4, (iy+3)
+ jr p03loc_62DE
+; ---------------------------------------------------------------------------
+
+p03loc_62DA: ; CODE XREF: p03sub_640C-12j
+ res 4, (iy+3)
+
+p03loc_62DE: ; CODE XREF: p03sub_640C-134j
+ res 3, (iy+1Dh)
+
+p03loc_62E2: ; CODE XREF: p03sub_640C+72j
+ ld b, d
+ ld hl, (XOutDat)
+ call ldHLind
+ push hl
+ ld de, 1
+ push de
+ push bc
+ bit 2, (iy+1Dh)
+ jr nz, p03loc_6306
+ or a
+ sbc hl, de
+ jr nz, p03loc_62FE
+ res 4, (iy+3)
+
+p03loc_62FE: ; CODE XREF: p03sub_640C-114j
+ rst 18h
+ rst 18h
+
+p03loc_6300: ; CODE XREF: p03sub_640C-75j
+ call page0_189
+ jp nz, p03loc_639A
+
+p03loc_6306: ; CODE XREF: p03sub_640C-119j
+ pop af
+ pop hl
+ push hl
+ push af
+ push hl
+ bit 3, (iy+1Dh)
+ jr z, p03loc_633D
+ pop hl
+ call p03sub_6AD6
+ bit 2, (iy+1Dh)
+ jr z, p03loc_6338
+ bit 6, (iy+1Ah)
+ jr z, p03loc_632C
+ call p03sub_5FEB
+ call OP3ToOP1
+ call p03sub_5FC3
+ jr p03loc_6335
+; ---------------------------------------------------------------------------
+
+p03loc_632C: ; CODE XREF: p03sub_640C-EDj
+ call p03sub_5F89
+ call OP3ToOP1
+ call p03sub_5FA4
+
+p03loc_6335: ; CODE XREF: p03sub_640C-E2j
+ jp p03loc_638D
+; ---------------------------------------------------------------------------
+
+p03loc_6338: ; CODE XREF: p03sub_640C-F3j
+ call PUSHMCPLXO1
+ jr p03loc_634E
+; ---------------------------------------------------------------------------
+
+p03loc_633D: ; CODE XREF: p03sub_640C-FDj
+ ld de, (XOutDat)
+ call Page0Call_3AF5
+ rst 18h
+ pop hl
+ ld de, (YOutDat)
+ call Page0Call_3AF5
+ rst 18h
+
+p03loc_634E: ; CODE XREF: p03sub_640C-D1j
+ call POINT_STAT_HLP
+ jr z, p03loc_635B
+ bit 4, (iy+3)
+ jr nz, p03loc_6373
+ jr p03loc_638D
+; ---------------------------------------------------------------------------
+
+p03loc_635B: ; CODE XREF: p03sub_640C-BBj
+ pop af
+ push af
+ call Page0Call_34B9
+ jr c, p03loc_636D
+ bit 4, (iy+3)
+ jr nz, p03loc_6373
+ call Page0Call_34BF
+ jr p03loc_638D
+; ---------------------------------------------------------------------------
+
+p03loc_636D: ; CODE XREF: p03sub_640C-ACj
+ bit 4, (iy+3)
+ jr z, p03loc_638D
+
+p03loc_6373: ; CODE XREF: p03sub_640C-B5j p03sub_640C-A6j
+ res 1, (iy+2)
+ call CpyTo3FPS1
+ call CpyTo4FPST
+ call CpyO1ToFPS1
+ call CpyO2ToFPST
+ pop af
+ pop hl
+ push hl
+ push af
+ dec hl
+ ld a, h
+ or l
+ call nz, CLine
+
+p03loc_638D: ; CODE XREF: p03sub_640C:p03loc_6335j
+ ; p03sub_640C-B3j ...
+ pop af
+ pop de
+ pop hl
+ push hl
+ inc de
+ push de
+ push af
+ or a
+ sbc hl, de
+ jp nc, p03loc_6300
+
+p03loc_639A: ; CODE XREF: p03sub_640C-109j
+ pop hl
+ pop hl
+ pop hl
+ bit 2, (iy+1Dh)
+ ret nz
+ jp FPOPCPLX
+; END OF FUNCTION CHUNK FOR p03sub_640C
+
+; =============== S U B R O U T I N E =======================================
+
+
+nullsub_1: ; CODE XREF: seg001:66F4p seg001:672Dp ...
+ ret
+; End of function nullsub_1
+
+; ---------------------------------------------------------------------------
+ call page0_189
+ ret z
+ pop hl
+ call Page0Call_34C5
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+POINT_STAT_HLP: ; CODE XREF: p03sub_640C:p03loc_634Ep
+ ; p03sub_654A+Dp
+ ld de, 0FFF7h
+ call Page0Call_3489
+ jr nz, p03loc_63BD
+ call p03sub_707D
+ or a
+ jr z, p03loc_63C3
+
+p03loc_63BD: ; CODE XREF: POINT_STAT_HLP+6j
+ call POPMCPLXO1
+ or 1
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_63C3: ; CODE XREF: POINT_STAT_HLP+Cj
+ call CpyTo1FPS1
+ ld de, OP1
+ call Page0Call_348F
+ ld (curGY+1), a
+ call CpyTo1FPST
+ ld de, OP1
+ call Page0Call_34CB
+ ld (curGY), a
+ call POPMCPLXO1
+ xor a
+ ret
+; End of function POINT_STAT_HLP
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_63E0: ; CODE XREF: p03sub_640C+7Ap seg001:6727p
+ set 3, (iy+16h)
+ res 4, (iy+16h)
+ call p03sub_6AF7
+ ld hl, (fOutDat)
+ ld (iMathPtr5), hl
+ call Page0Call_3927
+ res 3, (iy+16h)
+ ret
+; End of function p03sub_63E0
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_640C
+
+p03loc_63F9: ; CODE XREF: p03sub_640C+1Ej
+ or a
+ jp z, p03loc_62DA
+ jp p03loc_62D4
+; END OF FUNCTION CHUNK FOR p03sub_640C
+; ---------------------------------------------------------------------------
+
+DRAWSPLOT:
+ res 7, (iy+1Ah)
+ res 2, (iy+1Dh)
+ ld hl, curPlotNumber
+ inc (hl)
+
+; =============== 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
+
+ ld a, (hl)
+ push af
+ call p03sub_69E7
+ rst 10h
+ call nc, DelVar
+ pop af
+ res 3, (iy+13h)
+ call p03sub_67B2
+ bit 0, (hl)
+ ret z
+ push af
+ push hl
+ call p03sub_7053
+ pop hl
+ pop af
+ call p03sub_65F5
+ jr c, p03loc_63F9
+ cp 3
+ set 6, (iy+14h)
+ jr c, p03loc_6485
+ res 6, (iy+14h)
+ jp z, p03sub_614B
+ cp 4
+ jr z, p03loc_6481
+ push de
+ call p03sub_6AF7
+ call ldHLind
+ push hl
+ add hl, hl
+ call p03sub_69E7
+ call CreateStrng
+ ld (iMathPtr4), de
+ ld (YOutDat), de
+ pop hl
+ push hl
+ inc hl
+ push hl
+
+p03loc_645A: ; CODE XREF: p03sub_640C+5Aj
+ pop bc
+ dec bc
+ ld a, b
+ or c
+ jr z, p03loc_6468
+ push bc
+ pop hl
+ push hl
+ call PUT_INDEX_LST
+ jr p03loc_645A
+; ---------------------------------------------------------------------------
+
+p03loc_6468: ; CODE XREF: p03sub_640C+52j
+ pop hl
+ ld de, 1
+ call HEAP_SORT
+ ld hl, (iMathPtr4)
+ ld (unk_84E7), hl
+ set 3, (iy+1Dh)
+ res 4, (iy+3)
+ pop de
+ jp p03loc_62E2
+; ---------------------------------------------------------------------------
+
+p03loc_6481: ; CODE XREF: p03sub_640C+31j
+ res 6, (iy+14h)
+
+p03loc_6485: ; CODE XREF: p03sub_640C+26j
+ push de
+ call p03sub_63E0
+ call p03sub_6583
+ rst 18h
+ ld (ES), de
+ rst 8
+ call CPYTO1ES5
+ call CPYTO3ES2
+ call OP2ToOP4
+ call CLine
+ call CpyTo2FPST
+ call OP2ToOP4
+ call CPYTO1ES1
+ call CPYTO3ES4
+ call CLine
+ ld de, p03loc_65D1
+ call p03sub_6586
+ call CpyO1ToFPST
+ call CPYTO1ES1
+ call CpyTo2FPST
+ call p03sub_6571
+ ld de, p03loc_65DA
+ call p03sub_6586
+ rst 18h
+ rst 8
+ call CPYTO1ES2
+ call p03sub_6571
+ call CPYTO1ES2
+ call CpyTo2FPST
+ call p03sub_657B
+ call CPYTO1ES1
+ call CPYTO2EST
+ call p03sub_657B
+ call CpyTo4FPST
+ call CPYTO2EST
+ call CPYTO1ES3
+ call OP1ToOP3
+ call CLine
+ ld de, p03loc_65E3
+ call p03sub_6586
+ call CpyO1ToFPS1
+ ld de, p03loc_65EC
+ call p03sub_6586
+ call CpyO1ToFPST
+ call CPYTO1ES5
+ call p03sub_6566
+ call CPYTO1ES4
+ call p03sub_6566
+ call p03sub_6583
+ call CpyO1ToFPST
+ call CPYTO1ES6
+ call OP1ToOP6
+ pop af
+ ld (unk_84B5), a
+
+p03loc_651C: ; CODE XREF: p03sub_640C+120j
+ ld bc, (OP6)
+ dec bc
+ ld (OP6), bc
+ ld a, c
+ or b
+ jr z, p03loc_652E
+ call p03sub_654A
+ jr p03loc_651C
+; ---------------------------------------------------------------------------
+
+p03loc_652E: ; CODE XREF: p03sub_640C+11Bj
+ ; p03sub_640C+136j
+ ld bc, (OP6M)
+ inc bc
+ ld (OP6M), bc
+ ld hl, (unk_84B3)
+ or a
+ sbc hl, bc
+ jr c, p03loc_6544
+ call p03sub_654A
+ jr p03loc_652E
+; ---------------------------------------------------------------------------
+
+p03loc_6544: ; CODE XREF: p03sub_640C+131j
+ ld de, 48h ; 'H'
+ jp DeallocFPS1
+; End of function p03sub_640C
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_654A: ; CODE XREF: p03sub_640C+11Dp
+ ; p03sub_640C+133p
+ ld (OP6), bc
+ call GET_X_INDIRECT
+ call CpyTo2FPST
+ call PUSHMCPLXO1
+ call POINT_STAT_HLP
+ ret nz
+ ld a, (unk_84B5)
+ call Page0Call_34B9
+ ret c
+ call Page0Call_34BF
+ ret
+; End of function p03sub_654A
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6566: ; CODE XREF: p03sub_640C+F7p p03sub_640C+FDp
+ call OP1ToOP3
+ call CpyTo2FPS1
+ call CpyTo4FPST
+ jr p03loc_6577
+; End of function p03sub_6566
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6571: ; CODE XREF: p03sub_640C+B0p p03sub_640C+BEp
+ call CPYTO3ES2
+ call CPYTO4EST
+
+p03loc_6577: ; CODE XREF: p03sub_6566+9j p03sub_657B+6j
+ call CLine
+ ret
+; End of function p03sub_6571
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_657B: ; CODE XREF: p03sub_640C+C7p p03sub_640C+D0p
+ call CPYTO3ES1
+ call CpyTo4FPST
+ jr p03loc_6577
+; End of function p03sub_657B
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6583: ; CODE XREF: p03sub_640C+7Dp
+ ; p03sub_640C+100p ...
+ ld de, p03loc_65C8
+; End of function p03sub_6583
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6586: ; CODE XREF: p03sub_640C+A4p p03sub_640C+B6p ...
+ ld a, (unk_8E64)
+ ld c, a
+ ld hl, curPlotNumber
+ and 0Fh
+ cp (hl)
+ ld a, 1
+ jr z, p03loc_659F
+ ld a, c
+ call ShRAcc
+ cp (hl)
+ ld a, 2
+ jr z, p03loc_659F
+ ld a, 3
+
+p03loc_659F: ; CODE XREF: p03sub_6586+Cj p03sub_6586+15j
+ dec a
+ call CheckSplitFlag
+ jr z, p03loc_65A7
+ add a, 3
+
+p03loc_65A7: ; CODE XREF: p03sub_6586+1Dj
+ call Bit_VertSplit
+ jr z, p03loc_65AE
+ add a, 6
+
+p03loc_65AE: ; CODE XREF: p03sub_6586+24j
+ ld l, a
+ ld h, 0
+ add hl, de
+ ld l, (hl)
+ ld h, 0
+ call SetXXXXOP2
+ ld hl, deltaY
+ rst 20h
+ call FPMult
+ ld hl, Ymax
+ call Mov9ToOP2
+ jp InvSub
+; End of function p03sub_6586
+
+p03loc_65C8:
+ .db 8
+ .db 17h
+ .db 27h ; '
+ .db 5
+ .db 0Fh
+ .db 19h
+ .db 6
+ .db 11h
+ .db 1Fh
+p03loc_65D1:
+ .db 2
+ .db 11h
+ .db 21h ; !
+ .db 2
+ .db 0Ch
+ .db 16h
+ .db 2
+ .db 0Dh
+ .db 1Bh
+p03loc_65DA:
+ .db 0Eh
+ .db 1Dh
+ .db 2Dh ; -
+ .db 8
+ .db 12h
+ .db 1Ch
+ .db 0Ah
+ .db 15h
+ .db 23h ; #
+p03loc_65E3:
+ .db 7
+ .db 16h
+ .db 26h ; &
+ .db 4
+ .db 0Eh
+ .db 18h
+ .db 5
+ .db 10h
+ .db 1Eh
+p03loc_65EC:
+ .db 9
+ .db 18h
+ .db 28h ; (
+ .db 6
+ .db 10h
+ .db 1Ah
+ .db 7
+ .db 12h
+ .db 20h
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_65F5: ; CODE XREF: p03sub_5E3D+10p p03sub_5EFC+14p ...
+ ld de, 0FFF0h
+ add hl, de
+ ld b, a
+ ld a, (hl)
+ or a
+ sbc hl, de
+ call ShRAcc
+ push af
+ ld a, b
+ push af
+ set 6, (iy+1Ah)
+ ld a, (hl)
+ call ShRAcc
+ jr z, p03loc_6612
+ res 6, (iy+1Ah)
+
+p03loc_6612: ; CODE XREF: p03sub_65F5+17j
+ ld de, 0FFF1h
+ add hl, de
+ call p03sub_6646
+ pop af
+ push af
+ cp 5
+ jr z, p03loc_663A
+ cp 2
+ push de
+ jr c, p03loc_663E
+ add hl, bc
+ call p03sub_665C
+ ex de, hl
+ pop bc
+ ld a, (fOutDat+1)
+ or a
+ jr z, p03loc_6635
+
+p03loc_6630: ; CODE XREF: p03sub_65F5+4Fj
+ sbc hl, bc
+ jp nz, ErrDimMismatch
+
+p03loc_6635: ; CODE XREF: p03sub_65F5+39j p03sub_65F5+47j
+ pop af
+ cp 2
+ pop de
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_663A: ; CODE XREF: p03sub_65F5+28j
+ push de
+ pop bc
+ jr p03loc_6635
+; ---------------------------------------------------------------------------
+
+p03loc_663E: ; CODE XREF: p03sub_65F5+2Dj
+ call p03sub_6653
+ ex de, hl
+ pop bc
+ or a
+ jr p03loc_6630
+; End of function p03sub_65F5
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6646: ; CODE XREF: p03sub_65F5+21p
+ push hl
+ call p03sub_6675
+ ld (XOutDat), hl
+
+p03loc_664D: ; CODE XREF: p03sub_6653+7j p03sub_665C+Aj ...
+ pop hl
+ ld bc, 5
+ add hl, bc
+ ret
+; End of function p03sub_6646
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6653: ; CODE XREF: p03sub_65F5:p03loc_663Ep
+ push hl
+ call p03sub_6675
+ ld (YOutDat), hl
+ jr p03loc_664D
+; End of function p03sub_6653
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_665C: ; CODE XREF: p03sub_65F5+30p
+ push hl
+ ld a, (hl)
+ cp 31h ; '1'
+ jr nz, p03loc_6668
+ xor a
+ ld (fOutDat+1), a
+ jr p03loc_664D
+; ---------------------------------------------------------------------------
+
+p03loc_6668: ; CODE XREF: p03sub_665C+4j
+ call p03sub_6675
+
+p03loc_666B: ; CODE XREF: seg001:6673j
+ ld (fOutDat), hl
+ jr p03loc_664D
+; End of function p03sub_665C
+
+; ---------------------------------------------------------------------------
+ ld hl, 0
+ jr p03loc_666B
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6675: ; CODE XREF: p03sub_6646+1p p03sub_6653+1p ...
+ call p03sub_6692
+ call Page0Call_241E
+ jp c, ErrStatPlot
+ and 1Fh
+ cp 0Dh
+ jp z, ErrStatPlot
+ set 6, (hl)
+ ex de, hl
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ dec hl
+ ld a, d
+ or e
+ jp z, ErrDimension
+ ret
+; End of function p03sub_6675
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6692: ; CODE XREF: p03sub_6675p p03sub_67CD+9p ...
+ ld de, 8479h
+ ld a, 5Dh ; ']'
+ ld (de), a
+ inc de
+ call page0_118B
+ ex de, hl
+ ld (hl), 0
+ ret
+; End of function p03sub_6692
+
+; ---------------------------------------------------------------------------
+
+INITNEWTRACEP:
+ res 7, (iy+1Ah)
+ call Page0Call_34D1
+ ld (curPlotNumber), a
+ ld hl, (unk_8D1F)
+ ld (unk_8E65), hl
+ call p03sub_67B2
+ call p03sub_65F5
+ ld b, a
+ cp 1
+ jr nz, p03loc_66BC
+
+p03loc_66BB: ; CODE XREF: seg001:66BEj
+ xor a
+
+p03loc_66BC: ; CODE XREF: seg001:66B9j
+ cp 5
+ jr z, p03loc_66BB
+ ld hl, 8D1Eh
+ cp (hl)
+ jr z, p03loc_66CC
+ ld hl, 1
+ ld (unk_8E65), hl
+
+p03loc_66CC: ; CODE XREF: seg001:66C4j
+ ld a, b
+ cp 2
+ jp c, p03loc_6897
+ set 6, (iy+14h)
+ jr z, p03loc_671A
+ res 6, (iy+14h)
+ cp 4
+ jr z, p03loc_671A
+ jp nc, p03loc_68C5
+ set 3, (iy+13h)
+ call p03sub_614B
+ jr p03loc_66EF
+; ---------------------------------------------------------------------------
+
+p03loc_66EC: ; CODE XREF: seg001:68BAj
+ call p03sub_627F
+
+p03loc_66EF: ; CODE XREF: seg001:66EAj seg001:68FCj
+ ld a, 4
+ ld (unk_8D1E), a
+ call nullsub_1
+ call CpyTo1FPST
+ call Page0Call_34D7
+ call CpyTo2FPS1
+ call CpyTo1FPS2
+ call InvSub
+ call TimesPt5
+ call CpyTo2FPS2
+ rst 30h
+
+p03loc_670D: ; CODE XREF: seg001:6736j
+ call Page0Call_34DD
+ ld hl, (curGY)
+ ld (freeSaveY), hl
+
+p03loc_6716: ; CODE XREF: seg001:67ACj
+ call Page0Call_34E3
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_671A: ; CODE XREF: seg001:66D6j seg001:66DEj
+ ld de, 3
+ cp (hl)
+ jr z, p03loc_6724
+ ld (unk_8E65), de
+
+p03loc_6724: ; CODE XREF: seg001:671Ej
+ ld (unk_8D1E), a
+ call p03sub_63E0
+
+p03loc_672A: ; CODE XREF: seg001:p03loc_6907j
+ call p03sub_6583
+ call nullsub_1
+ call Page0Call_34D7
+ call p03sub_6738
+ jr p03loc_670D
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6738: ; CODE XREF: seg001:6733p
+ call CpyTo1FPS5
+ ld hl, (unk_8E65)
+ ld a, l
+ or h
+ jr z, p03loc_674A
+ ld de, 6
+ call CpHLDE
+ jr c, p03loc_6768
+
+p03loc_674A: ; CODE XREF: p03sub_6738+8j
+ ld de, (OP1)
+ dec hl
+ bit 7, h
+ jr nz, p03loc_675B
+ ld de, 0FFFCh
+ add hl, de
+ ld de, (OP1M)
+
+p03loc_675B: ; CODE XREF: p03sub_6738+19j
+ add hl, de
+ ld b, h
+ ld c, l
+ call GET_X_INDIRECT
+ ld hl, 3
+ ld (unk_8D1F), hl
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6768: ; CODE XREF: p03sub_6738+10j
+ ld (unk_8D1F), hl
+ cp 2
+ jp z, CpyTo1FPS1
+ jp c, CpyTo1FPS4
+ cp 4
+ jp z, CpyTo1FPST
+ jp c, CpyTo1FPS2
+ jp CpyTo1FPS3
+; End of function p03sub_6738
+
+; ---------------------------------------------------------------------------
+
+p03loc_677E: ; CODE XREF: seg001:68ABj
+ ld (unk_8D1F), bc
+ call nullsub_1
+ ld l, c
+ ld h, b
+ pop af
+ cp 5
+ jr nz, p03loc_679A
+ call p03sub_6AD6
+ call PushRealO2
+ call Page0Call_34DD
+ call PopRealO1
+ jr p03loc_67A9
+; ---------------------------------------------------------------------------
+
+p03loc_679A: ; CODE XREF: seg001:678Aj
+ push hl
+ call Page0Call_3AF5
+ call Page0Call_34DD
+ ld de, (YOutDat)
+ pop hl
+ call Page0Call_3AF5
+
+p03loc_67A9: ; CODE XREF: seg001:6798j
+ 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
+ ld a, (curPlotNumber)
+; End of function p03sub_67AF
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_67B2: ; CODE XREF: p03sub_5E3Dp p03sub_5EFC+3p ...
+ add a, a
+ ld e, a
+ ld d, 0
+ ld hl, p03loc_67C7-2
+ add hl, de
+ call ldHLind
+ push hl
+ ld bc, 0FFF0h
+ add hl, bc
+ ld a, (hl)
+ and 0Fh
+ pop hl
+ ret
+; End of function p03sub_67B2
+
+p03loc_67C7:
+ .dw 92D9h
+ .dw 92EAh
+ .dw 92FBh
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_67CD: ; CODE XREF: seg001:6828p seg001:6842p
+ ld a, (hl)
+ cp 0Fh
+ ret z
+ ld de, (curGY)
+ push de
+ call p03sub_6692
+ push de
+ call CMPPRGNAMLEN
+ ld c, a
+ dec c
+ ld hl, 8479h
+ ld a, (OP1M)
+ cp 6
+ jr nc, p03loc_67EB
+ inc c
+ dec hl
+
+p03loc_67EB: ; CODE XREF: p03sub_67CD+1Aj
+ ld b, 0
+ set 4, (iy+11h)
+ call Page0Call_34E9
+ res 4, (iy+11h)
+ pop hl
+ pop de
+ ld (curGY), de
+ ret
+; End of function p03sub_67CD
+
+; ---------------------------------------------------------------------------
+
+SPLOTCOORD:
+ push af
+ set 1, (iy+5)
+ bit 0, (iy+18h)
+ jr nz, p03loc_6847
+ ld hl, 0
+ ld (penCol), hl
+ ld a, 50h ; 'P'
+ call Page0Call_3D47
+ pop af
+ push af
+ call Page0Call_34EF
+ ld a, 3Ah ; ':'
+ call Page0Call_3D47
+ pop af
+ call p03sub_67B2
+ push af
+ ld de, 0FFF1h
+ add hl, de
+ call p03sub_67CD
+ pop af
+ cp 2
+ jr c, p03loc_683D
+ cp 5
+ jr z, p03loc_6868
+ ld de, 5
+ add hl, de
+ ld a, (hl)
+ cp 31h ; '1'
+ jr z, p03loc_6868
+
+p03loc_683D: ; CODE XREF: seg001:682Ej
+ ld a, 2Ch ; ','
+ call Page0Call_3D47
+ call p03sub_67CD
+ jr p03loc_6868
+; ---------------------------------------------------------------------------
+
+p03loc_6847: ; CODE XREF: seg001:6808j
+ bit 4, (iy+4)
+ jr z, p03loc_684F
+ pop af
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_684F: ; CODE XREF: seg001:684Bj
+ ld hl, 56h ; 'V'
+ call Bit_VertSplit
+ jr z, p03loc_6859
+ ld l, 26h ; '&'
+
+p03loc_6859: ; CODE XREF: seg001:6855j
+ ld (penCol), hl
+ call Page0Call_34F5
+ ld a, 50h ; 'P'
+ call Page0Call_3D47
+ pop af
+ call Page0Call_34EF
+
+p03loc_6868: ; CODE XREF: seg001:6832j seg001:683Bj ...
+ call p03sub_67AF
+ cp 5
+ jp z, Page0Call_34FB
+ cp 2
+ jp c, Page0Call_34FB
+ jr z, p03loc_687C
+ cp 4
+ jp nz, Page0Call_3501
+
+p03loc_687C: ; CODE XREF: seg001:6875j
+ jp Page0Call_3507
+; ---------------------------------------------------------------------------
+
+SPLOTRIGHT:
+ call Page0Call_3EFD
+ call Page0Call_34D1
+ call p03sub_67B2
+ ld hl, (unk_8E65)
+ cp 5
+ jr z, p03loc_6893
+ cp 2
+ jr nc, p03loc_68B6
+
+p03loc_6893: ; CODE XREF: seg001:688Dj
+ inc hl
+
+p03loc_6894: ; CODE XREF: seg001:68EFj
+ ld (unk_8E65), hl
+
+p03loc_6897: ; CODE XREF: seg001:66CFj seg001:68D4j ...
+ push af
+ xor a
+ ld (unk_8D1E), a
+ ld hl, (XOutDat)
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ dec hl
+ ex de, hl
+ ld bc, (unk_8E65)
+
+p03loc_68A8: ; CODE XREF: seg001:68B4j
+ or a
+ sbc hl, bc
+ jp nc, p03loc_677E
+ add hl, bc
+ dec bc
+ ld (unk_8E65), bc
+ jr p03loc_68A8
+; ---------------------------------------------------------------------------
+
+p03loc_68B6: ; CODE XREF: seg001:6891j
+ jr z, p03loc_68BD
+ cp 4
+ jp nz, p03loc_66EC
+
+p03loc_68BD: ; CODE XREF: seg001:p03loc_68B6j
+ call Page03_35A6
+ jr z, p03loc_6907
+ inc hl
+ jr p03loc_6904
+; ---------------------------------------------------------------------------
+
+p03loc_68C5: ; CODE XREF: seg001:66E0j
+ call p03sub_69E7
+ call Page0Call_241E
+ jp c, ErrStat
+ ld (unk_84E7), de
+ ld a, 5
+ jr p03loc_6897
+; ---------------------------------------------------------------------------
+
+SPLOTLEFT:
+ call Page0Call_3EFD
+ call Page0Call_34D1
+ call p03sub_67B2
+ ld hl, (unk_8E65)
+ cp 5
+ jr z, p03loc_68EA
+ cp 2
+ jr nc, p03loc_68F3
+
+p03loc_68EA: ; CODE XREF: seg001:68E4j
+ dec hl
+ ld b, a
+ ld a, h
+ or l
+ ld a, b
+ jr nz, p03loc_6894
+ jr p03loc_6897
+; ---------------------------------------------------------------------------
+
+p03loc_68F3: ; CODE XREF: seg001:68E8j
+ jr z, p03loc_68FF
+ cp 4
+ jr z, p03loc_68FF
+ call p03sub_6298
+ jp p03loc_66EF
+; ---------------------------------------------------------------------------
+
+p03loc_68FF: ; CODE XREF: seg001:p03loc_68F3j
+ ; seg001:68F7j
+ call Page03_35A0
+ jr z, p03loc_6907
+
+p03loc_6904: ; CODE XREF: seg001:68C3j
+ ld (unk_8E65), hl
+
+p03loc_6907: ; CODE XREF: seg001:68C0j seg001:6902j
+ jp p03loc_672A
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_35A0: ; CODE XREF: seg001:p03loc_68FFp
+ dec hl
+ push hl
+ call CpyTo2FPS5
+ pop hl
+ push hl
+ ld de, (OP2)
+ add hl, de
+ dec hl
+ ld a, h
+ or l
+ pop hl
+ ret
+; End of function Page03_35A0
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_35A6: ; CODE XREF: seg001:p03loc_68BDp
+ push hl
+ call CpyTo2FPS5
+ ld de, (unk_8487)
+ ld hl, 5
+ add hl, de
+ ld de, (OP2M)
+ or a
+ sbc hl, de
+ ex de, hl
+ pop hl
+ jp CpHLDE
+; End of function Page03_35A6
+
+; ---------------------------------------------------------------------------
+
+CMPBOXINFO:
+ ld a, 3
+ ld (curPlotNumber), a
+ xor a
+ push af
+
+p03loc_693A: ; CODE XREF: seg001:6953j
+ call p03sub_67AF
+ bit 0, (hl)
+ ld hl, curPlotNumber
+ jr z, p03loc_6952
+ cp 2
+ jr z, p03loc_694C
+ cp 4
+ jr nz, p03loc_6952
+
+p03loc_694C: ; CODE XREF: seg001:6946j
+ pop af
+ call ShLAcc
+ or (hl)
+ push af
+
+p03loc_6952: ; CODE XREF: seg001:6942j seg001:694Aj
+ dec (hl)
+ jr nz, p03loc_693A
+ pop af
+ ld (unk_8E64), a
+ ret
+
+; =============== 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
+
+ pop hl
+ ld b, a
+ ld a, (curGStyle)
+ cp 7Fh ; ''
+ jr z, p03loc_6967
+ cp 51h ; 'Q'
+ jr nz, p03loc_6987
+
+p03loc_6967: ; CODE XREF: p03sub_695A+7j
+ ld a, b
+ jp (hl)
+; End of function p03sub_695A
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6969: ; CODE XREF: seg001:698Ap seg001:6999p
+ push af
+ call p03sub_67B2
+ ld b, a
+ cp 2
+ jr c, p03loc_697C
+ ld a, (curGStyle)
+ cp 7Fh ; ''
+ jr nz, p03loc_697C
+ pop af
+ cp a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_697C: ; CODE XREF: p03sub_6969+7j p03sub_6969+Ej
+ pop af
+ bit 0, (hl)
+ ret
+; End of function p03sub_6969
+
+; ---------------------------------------------------------------------------
+
+NEXTPLOT:
+ call p03sub_695A
+
+p03loc_6983: ; CODE XREF: seg001:698Dj
+ cp 3
+ jr nz, Page03_35B8
+; START OF FUNCTION CHUNK FOR p03sub_695A
+
+p03loc_6987: ; CODE XREF: p03sub_695A+Bj seg001:6996j
+ xor a
+ ret
+; END OF FUNCTION CHUNK FOR p03sub_695A
+; ---------------------------------------------------------------------------
+
+Page03_35B8: ; CODE XREF: seg001:6985j
+ inc a
+ call p03sub_6969
+ jr z, p03loc_6983
+ or a
+ ret
+; ---------------------------------------------------------------------------
+
+PREVPLOT:
+ call p03sub_695A
+
+p03loc_6994: ; CODE XREF: seg001:699Cj
+ cp 1
+ jr z, p03loc_6987
+ dec a
+ call p03sub_6969
+ jr z, p03loc_6994
+ or a
+ ret
+; ---------------------------------------------------------------------------
+
+CLRPREVPLOT:
+ call p03sub_67B2
+ cp 3
+ jr z, p03loc_69B4
+ cp 4
+ jr z, p03loc_69AF
+ cp 2
+ jr nz, p03loc_69BA
+
+p03loc_69AF: ; CODE XREF: seg001:69A9j
+ ld de, 36h ; '6'
+ jr p03loc_69B7
+; ---------------------------------------------------------------------------
+
+p03loc_69B4: ; CODE XREF: seg001:69A5j
+ ld de, 24h ; '$'
+
+p03loc_69B7: ; CODE XREF: seg001:69B2j
+ call DeallocFPS1
+
+p03loc_69BA: ; CODE XREF: seg001:69ADj
+ ld a, (curPlotNumber)
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_69BE: ; CODE XREF: HEAP_SORT+2Ep
+ ; HEAP_SORT+41p ...
+ push hl
+ ld hl, (unk_84B7)
+ add hl, bc
+ ld b, h
+ ld c, l
+ pop hl
+; End of function p03sub_69BE
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+PUT_INDEX_LST: ; CODE XREF: p03sub_640C+57p
+ ld de, (iMathPtr4)
+ sla c
+ rl b
+ ex de, hl
+ add hl, bc
+ ld (hl), e
+ inc hl
+ ld (hl), d
+ ret
+; End of function PUT_INDEX_LST
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_69D4: ; CODE XREF: HEAP_SORT+20p
+ ; HEAP_SORT+29p ...
+ ld hl, (unk_84B7)
+ add hl, bc
+ ld b, h
+ ld c, l
+
+GET_INDEX_LST:
+ ld de, (iMathPtr4)
+; End of function p03sub_69D4
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_69DE: ; CODE XREF: p03sub_6AD6+Fp
+ sla c
+ rl b
+ ex de, hl
+ add hl, bc
+ jp ldHLind
+; End of function p03sub_69DE
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_69E7: ; CODE XREF: p03sub_640C+2p p03sub_640C+3Cp ...
+ ld a, (curPlotNumber)
+ add a, 26h ; '&'
+ ld (OP1+1), a
+ ld de, 0
+ ld (OP1M), de
+ ret
+; End of function p03sub_69E7
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+HEAP_SORT: ; CODE XREF: p03sub_640C+60p
+ or a
+ sbc hl, de
+ inc hl
+ ld (unk_84B3), hl
+ dec de
+ ld (unk_84B7), de
+ sra h
+ rr l
+ ret z
+ inc hl
+
+p03loc_6A09: ; CODE XREF: HEAP_SORT+BEj
+ ld de, 2
+ call CpHLDE
+ jr nc, p03loc_6A3D
+ push hl
+ ld bc, (unk_84B3)
+ push bc
+ call p03sub_69D4
+ ld (unk_84B5), hl
+ ld bc, 1
+ call p03sub_69D4
+ pop bc
+ push bc
+ call p03sub_69BE
+ pop hl
+ dec hl
+ ld (unk_84B3), hl
+ dec hl
+ ld a, h
+ or l
+ jr nz, p03loc_6A47
+ ld bc, 1
+ ld hl, (unk_84B5)
+ call p03sub_69BE
+ pop hl
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6A3D: ; CODE XREF: HEAP_SORT+18j
+ dec hl
+ push hl
+ pop bc
+ push bc
+ call p03sub_69D4
+ ld (unk_84B5), hl
+
+p03loc_6A47: ; CODE XREF: HEAP_SORT+39j
+ pop hl
+ push hl
+ ld (OP6M), hl
+ add hl, hl
+
+p03loc_6A4D: ; CODE XREF: HEAP_SORT+ABj
+ ; HEAP_SORT+B1j
+ ld (OP6), hl
+ ld de, (unk_84B3)
+ call CpHLDE
+ jr z, p03loc_6A5B
+ jr nc, p03loc_6AAA
+
+p03loc_6A5B: ; CODE XREF: HEAP_SORT+60j
+ push af
+ push hl
+ pop bc
+ push bc
+ call p03sub_69D4
+ call Page0Call_3B01
+ pop bc
+ pop af
+ jr z, p03loc_6A77
+ inc bc
+ call p03sub_69D4
+ call Page0Call_3E6D
+ call cpop1op2
+ jr z, p03loc_6A77
+ jr nc, p03loc_6A7C
+
+p03loc_6A77: ; CODE XREF: HEAP_SORT+70j
+ ; HEAP_SORT+7Cj
+ call OP2ToOP1
+ jr p03loc_6A83
+; ---------------------------------------------------------------------------
+
+p03loc_6A7C: ; CODE XREF: HEAP_SORT+7Ej
+ ld hl, (OP6)
+ inc hl
+ ld (OP6), hl
+
+p03loc_6A83: ; CODE XREF: HEAP_SORT+83j
+ ld hl, (unk_84B5)
+ call Page0Call_3B01
+ call cpop1op2
+ jr c, p03loc_6AA4
+ ld bc, (OP6)
+ push bc
+ call p03sub_69D4
+ ld bc, (OP6M)
+ call p03sub_69BE
+ pop hl
+ ld (OP6M), hl
+ add hl, hl
+ jr p03loc_6A4D
+; ---------------------------------------------------------------------------
+
+p03loc_6AA4: ; CODE XREF: HEAP_SORT+95j
+ ld hl, (unk_84B3)
+ inc hl
+ jr p03loc_6A4D
+; ---------------------------------------------------------------------------
+
+p03loc_6AAA: ; CODE XREF: HEAP_SORT+62j
+ ld hl, (unk_84B5)
+ ld bc, (OP6M)
+ call p03sub_69BE
+ pop hl
+ jp p03loc_6A09
+; End of function HEAP_SORT
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6AB8: ; CODE XREF: p03sub_6AD6+1p
+ call SetXXXXOP2
+ ld hl, 0FC3h
+ rst 20h
+ call InvSub
+ ld hl, (XOutDat)
+ call ldHLind
+ call SetXXXXOP2
+ call fpdiv
+ ld a, 1Eh
+ call Page0Call_396F
+ jp InvOP1S
+; End of function p03sub_6AB8
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6AD6: ; CODE XREF: p03sub_640C-FAp seg001:678Cp
+ push hl
+ call p03sub_6AB8
+ rst 8
+ ld de, (unk_84E7)
+ pop bc
+ bit 2, (iy+1Dh)
+ ret nz
+ call p03sub_69DE
+ ld de, (XOutDat)
+ call Page0Call_3AF5
+ bit 6, (iy+1Ah)
+ call z, OP1ExOP2
+ ret
+; End of function p03sub_6AD6
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6AF7: ; CODE XREF: p03sub_5E3D+13p p03sub_5E3D+39p ...
+ ld hl, (XOutDat)
+ ld (iMathPtr1), hl
+ ret
+; End of function p03sub_6AF7
+
+p03loc_6AFE:
+ .db 0
+ .db 7Fh ;
+ .db 30h ; 0
+ .db 10h
+ .db 29h ; )
+ .db 99h ; �
+ .db 56h ; V
+ .db 63h ; c
+ .db 98h ; �
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6B07: ; CODE XREF: p03sub_5E3D+55p p03sub_5E3D+81p ...
+ bit 7, (iy+1Ah)
+ ret
+; End of function p03sub_6B07
+
+; ---------------------------------------------------------------------------
+
+StoGDB2: ; CODE XREF: seg001:7096j
+ xor a
+ ld (ioData), a
+ ld de, 867Eh
+ call MovFrOP1
+ ld a, (OP1+1)
+ cp 61h ; 'a'
+ jp nz, ErrDataType
+ call Page0Call_350D
+ call OP4ToOP1
+ ld a, (OP3M)
+ ld e, a
+ ld d, 0
+ ld hl, (OP3)
+ add hl, de
+ add hl, de
+ add hl, de
+ inc hl
+ inc hl
+ inc hl
+ inc hl
+ inc hl
+ ld de, 57h ; 'W'
+ call page0_198
+ jr nz, p03loc_6B4D
+ call page0_1A2
+ jr nz, p03loc_6B4D
+ ld de, 49h ; 'I'
+ call page0_13
+ jr nz, p03loc_6B4D
+ ld de, 93h ; '�'
+
+p03loc_6B4D: ; CODE XREF: seg001:6B3Bj seg001:6B40j ...
+ add hl, de
+ push hl
+ ld a, (OP1)
+ cp 0FFh
+ jr nz, p03loc_6B62
+ call CreateGDB
+ ld (chkDelPtr1), de
+ ld (chkDelPtr3), hl
+ jr p03loc_6B73
+; ---------------------------------------------------------------------------
+
+p03loc_6B62: ; CODE XREF: seg001:6B54j
+ ld (OP1), a
+ inc hl
+ inc hl
+ ex de, hl
+ ld hl, (chkDelPtr3)
+ bit 6, (hl)
+ call nz, SetTblGraphDraw
+ call CHKDELA
+
+p03loc_6B73: ; CODE XREF: seg001:6B60j
+ ld hl, (chkDelPtr1)
+ pop bc
+ ld (hl), c
+ inc hl
+ ld (hl), b
+ inc hl
+ ld (hl), 0
+ inc hl
+ ld a, (iy+2)
+ ld (hl), a
+ inc hl
+ ld a, (iy+4)
+ res 7, a
+ ld (hl), a
+ inc hl
+ ld a, (iy+0Fh)
+ ld (hl), a
+ inc hl
+ ld a, (iy+18h)
+ ld (hl), a
+ inc hl
+ ex de, hl
+ ld hl, Xmin
+ ld bc, 36h ; '6'
+ ldir
+ call p03sub_6D9F
+ ldir
+ call page0_19D
+ jr z, p03loc_6BAD
+ ld hl, w02
+ call mov9B2
+
+p03loc_6BAD: ; CODE XREF: seg001:6BA5j
+ call p03sub_6DC1
+ ldir
+ ld (chkDelPtr1), de
+ xor a
+
+p03loc_6BB7: ; CODE XREF: seg001:6C0Ej
+ call Page0Call_3513
+ or a
+ jr nz, p03loc_6BCC
+ ld hl, 867Eh
+ rst 20h
+ rst 10h
+ call Page0Call_240B
+ ld a, (ioData)
+ ld (hl), a
+ jp FPOPCPLX
+; ---------------------------------------------------------------------------
+
+p03loc_6BCC: ; CODE XREF: seg001:6BBBj
+ push af
+
+p03loc_6BCD: ; CODE XREF: seg001:6C0Bj
+ call Page0Call_241E
+ push hl
+ push de
+ call Page0Call_240A
+ ld e, (hl)
+ dec hl
+ ld d, (hl)
+ dec hl
+ ld b, (hl)
+ call Page0Call_3519
+ ld d, a
+ ld a, (ioData)
+ cp d
+ jr nc, p03loc_6BE8
+ ld a, d
+ ld (ioData), a
+
+p03loc_6BE8: ; CODE XREF: seg001:6BE2j
+ pop de
+ pop hl
+ ld a, (hl)
+ ld hl, (chkDelPtr1)
+ ld (hl), a
+ inc hl
+ ex de, hl
+ ld c, (hl)
+ inc hl
+ ld b, (hl)
+ dec hl
+ inc bc
+ inc bc
+ ldir
+ ld (chkDelPtr1), de
+ call page0_1A2
+ jr z, p03loc_6C0D
+ ld hl, OP1M
+ bit 0, (hl)
+ jr nz, p03loc_6C0D
+ set 0, (hl)
+ jr p03loc_6BCD
+; ---------------------------------------------------------------------------
+
+p03loc_6C0D: ; CODE XREF: seg001:6C00j seg001:6C07j
+ pop af
+ jr p03loc_6BB7
+; ---------------------------------------------------------------------------
+ ld hl, (chkDelPtr3)
+ inc hl
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ dec hl
+ dec hl
+ call DelVarNoArc
+ jp ErrSyntax
+; ---------------------------------------------------------------------------
+
+RclGDB2: ; CODE XREF: seg001:709Bj
+ ld a, (OP1+1)
+ cp 61h ; 'a'
+ jp nz, ErrDataType
+ call CkOP1Real
+ cp 1Fh
+ jp z, ErrUndefined
+ ld hl, (chkDelPtr1)
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ inc hl
+ ld a, (hl)
+ res 1, (iy+1Eh)
+ or a
+ jr nz, p03loc_6C60
+ ld a, 10h
+ ld c, 4Ch ; 'L'
+ ld b, 1Eh
+ inc hl
+ bit 4, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld c, 5Ah ; 'Z'
+ ld b, 12h
+ bit 5, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld b, 24h ; '$'
+ bit 6, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld c, 96h ; '�'
+ ld b, 9
+ jr p03loc_6C83
+; ---------------------------------------------------------------------------
+
+p03loc_6C60: ; CODE XREF: seg001:6C3Cj
+ set 1, (iy+1Eh)
+ ld a, 10h
+ ld c, 39h ; '9'
+ ld b, 1Eh
+ bit 4, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld c, 54h ; 'T'
+ ld b, 12h
+ bit 5, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld b, 24h ; '$'
+ bit 6, (hl)
+ jr nz, p03loc_6C83
+ add a, a
+ ld c, 66h ; 'f'
+ ld b, 6
+
+p03loc_6C83: ; CODE XREF: seg001:6C47j seg001:6C50j ...
+ push af
+ push bc
+ ld b, 0
+ add hl, bc
+ ex de, hl
+ sbc hl, bc
+ pop bc
+ ld c, b
+ ld b, 0
+ sbc hl, bc
+ pop bc
+ push hl
+ ld a, (iy+2)
+ ld c, a
+ push bc
+ and 0Fh
+ or b
+ ld (iy+2), a
+ call Page0Call_350D
+ ld de, (OP3)
+ call FPOPCPLX
+ pop bc
+ pop hl
+ ld a, (OP3M)
+ call page0_1A2
+ jr z, p03loc_6CB4
+ srl a
+
+p03loc_6CB4: ; CODE XREF: seg001:6CB0j
+ push af
+ or a
+ sbc hl, de
+ jr c, p03loc_6CD0
+ jr z, p03loc_6CD0
+ push bc
+ ld (unk_8493), hl
+ ld hl, p03loc_6D97
+ call pushErrorHandleR
+ ld hl, (unk_8493)
+ call ErrNotEnoughMem
+ call popErrorHandleR
+ pop bc
+
+p03loc_6CD0: ; CODE XREF: seg001:6CB8j seg001:6CBAj
+ call SetTblGraphDraw
+ bit 4, b
+ push bc
+ call nz, Page0Call_3843
+ pop bc
+ bit 5, b
+ push bc
+ call nz, Page0Call_384F
+ pop bc
+ bit 6, b
+ push bc
+ call nz, Page0Call_3849
+ pop bc
+ bit 7, b
+ push bc
+ call nz, Page0Call_3855
+ pop bc
+ ld a, 5
+ call Page0Call_351F
+ ld hl, (chkDelPtr1)
+ call p03sub_6E19
+ jr nz, p03loc_6CFD
+ inc hl
+
+p03loc_6CFD: ; CODE XREF: seg001:6CFAj
+ inc hl
+ inc hl
+ inc hl
+ ld a, (hl)
+ ld (iy+4), a
+ inc hl
+ ld a, (hl)
+ res 7, a
+ call p03sub_6E19
+ jr z, p03loc_6D0F
+ and 1
+
+p03loc_6D0F: ; CODE XREF: seg001:6D0Bj
+ ld (iy+0Fh), a
+ call p03sub_6E19
+ jr nz, p03loc_6D25
+ inc hl
+ ld a, (hl)
+ res 0, (iy+18h)
+ bit 0, a
+ jr z, p03loc_6D25
+ set 0, (iy+18h)
+
+p03loc_6D25: ; CODE XREF: seg001:6D15j seg001:6D1Fj
+ inc hl
+ ld de, Xmin
+ ld bc, 36h ; '6'
+ ldir
+ call p03sub_6E19
+ jr z, p03loc_6D47
+ call page0_13
+ jr nz, p03loc_6D58
+ call page0_19D
+ jr z, p03loc_6D47
+ ld de, PlotStart
+ ld bc, 2Dh ; '-'
+ ldir
+ jr p03loc_6D64
+; ---------------------------------------------------------------------------
+
+p03loc_6D47: ; CODE XREF: seg001:6D31j seg001:6D3Bj
+ call p03sub_6D9E
+ ex de, hl
+ ldir
+ call page0_19D
+ jr z, p03loc_6D58
+ ld de, w02
+ call mov9B2
+
+p03loc_6D58: ; CODE XREF: seg001:6D36j seg001:6D50j
+ call p03sub_6E19
+ jr nz, p03loc_6D64
+ ex de, hl
+ call p03sub_6DC1
+ ex de, hl
+ ldir
+
+p03loc_6D64: ; CODE XREF: seg001:6D45j seg001:6D5Bj
+ ld (chkDelPtr1), hl
+ xor a
+ pop bc
+
+p03loc_6D69: ; CODE XREF: seg001:6D94j
+ push bc
+ ld hl, (chkDelPtr1)
+ inc a
+ push af
+ call Page0Call_385B
+ ld hl, (chkDelPtr1)
+ ld a, (hl)
+ inc hl
+ call p03sub_6DE3
+ call page0_1A2
+ jr z, p03loc_6D91
+ pop af
+ push af
+ call Page0Call_385B
+ ld hl, OP1M
+ set 0, (hl)
+ ld hl, (chkDelPtr1)
+ ld a, (hl)
+ inc hl
+ call p03sub_6DE3
+
+p03loc_6D91: ; CODE XREF: seg001:6D7Dj
+ pop af
+ pop bc
+ cp b
+ jr nz, p03loc_6D69
+ ret
+p03loc_6D97:
+ pop bc
+ ld (iy+2), c
+ jp JErrorNo
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6D9E: ; CODE XREF: seg001:p03loc_6D47p
+ ex de, hl
+; End of function p03sub_6D9E
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6D9F: ; CODE XREF: seg001:6B9Dp
+ ld hl, XresO
+ ld bc, 9
+ call page0_13
+ ret nz
+ ld hl, ThetaMin
+ ld bc, 1Bh
+ call page0_198
+ ret nz
+ ld hl, TminPar
+ call page0_1A2
+ ret nz
+ ld bc, 51h ; 'Q'
+ ld hl, PlotStart
+ ret
+; End of function p03sub_6D9F
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6DC1: ; CODE XREF: seg001:p03loc_6BADp
+ ; seg001:6D5Ep
+ ld bc, 6
+ ld hl, polar1LineType
+ call page0_198
+ ret nz
+ ld hl, para1LineType
+ call page0_1A2
+ ret nz
+ ld bc, 0Ah
+ ld hl, y1LineType
+ call page0_13
+ ret nz
+ ld bc, 3
+ ld hl, secULineType
+ ret
+; End of function p03sub_6DC1
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6DE3: ; CODE XREF: seg001:6D77p seg001:6D8Ep
+ push af
+ call p03sub_6E19
+ jr z, p03loc_6DF5
+ ld a, (OP1M)
+ cp 82h ; '�'
+ jr nz, p03loc_6DF5
+ call Create0Equ
+ pop af
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6DF5: ; CODE XREF: p03sub_6DE3+4j p03sub_6DE3+Bj
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ inc hl
+ ld (chkDelPtr1), hl
+ ex de, hl
+ push hl
+ call CreateEqu
+ inc de
+ inc de
+ pop bc
+ push hl
+ ld a, b
+ or c
+ jr z, p03loc_6E11
+ ld hl, (chkDelPtr1)
+ ldir
+ ld (chkDelPtr1), hl
+
+p03loc_6E11: ; CODE XREF: p03sub_6DE3+24j
+ pop hl
+ pop af
+ bit 5, a
+ ret z
+ set 5, (hl)
+ ret
+; End of function p03sub_6DE3
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6E19: ; CODE XREF: seg001:6CF7p seg001:6D08p ...
+ bit 1, (iy+1Eh)
+ ret
+; End of function p03sub_6E19
+
+; ---------------------------------------------------------------------------
+
+CircCmd: ; CODE XREF: seg001:70A0j
+ call Page0Call_3525
+ call page0_189
+ jr z, p03loc_6E2A
+
+p03loc_6E26: ; CODE XREF: seg001:6E2Dj
+ call Page0Call_34C5
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6E2A: ; CODE XREF: seg001:6E24j
+ 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
+ bit 4, (iy+3Ch)
+ jr z, p03loc_6E39
+ call Page0Call_352B
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_6E39: ; CODE XREF: p03sub_6E2F+4j
+ ld hl, (FPS)
+ ld (inputDat), hl
+ call OP1Set0
+ rst 18h
+ ld a, 60h ; '`'
+ ld (OP1M), a
+ bit 2, (iy+0)
+ call z, DToR
+ rst 18h
+ set 5, (iy+3)
+ ld b, 3Dh ; '='
+
+p03loc_6E56: ; CODE XREF: p03sub_6E2F+9Cj
+ push bc
+ ld hl, (inputDat)
+ ld de, 0FFF7h
+ add hl, de
+ rst 20h
+ inc de
+ inc de
+ call mov9B2
+ ld hl, p03loc_6ED3
+ call pushErrorHandleR
+ call Page0Call_3ACB
+ call OP1ToOP4
+ ld hl, (inputDat)
+ ld de, 0FFEEh
+ add hl, de
+ rst 20h
+ rst 30h
+ call OP4ToOP2
+ call OP1ToOP4
+ ld hl, (inputDat)
+ ld de, 0FFE5h
+ add hl, de
+ rst 20h
+ rst 30h
+ call OP4ToOP2
+ call popErrorHandleR
+
+p03loc_6E8E: ; CODE XREF: seg001:6EDBj
+ bit 5, (iy+3)
+ jr z, p03loc_6E9D
+ call PUSHMCPLXO1
+ res 5, (iy+3)
+ jr p03loc_6EB4
+; ---------------------------------------------------------------------------
+
+p03loc_6E9D: ; CODE XREF: p03sub_6E2F+63j
+ ld de, OP3
+ call CPYFPS1
+ inc de
+ inc de
+ call mov9B2
+ call CpyO1ToFPS1
+ ld de, OP2
+ call CpyToFPST
+ call CLine
+
+p03loc_6EB4: ; CODE XREF: p03sub_6E2F+6Cj
+ ld hl, (inputDat)
+ rst 20h
+ inc de
+ inc de
+ call mov9B2
+ rst 30h
+ ld de, (inputDat)
+ call MovFrOP1
+ pop bc
+ call page0_189
+ jr nz, p03loc_6ECD
+ djnz p03loc_6E56
+
+p03loc_6ECD: ; CODE XREF: p03sub_6E2F+9Aj
+ ld de, 3Fh ; '?'
+ jp DeallocFPS1
+; End of function p03sub_6E2F
+
+p03loc_6ED3:
+ ld a, 20h ; ' '
+ ld (OP1), a
+ ld (OP2), a
+ jr p03loc_6E8E
+; ---------------------------------------------------------------------------
+
+GrphCirc: ; CODE XREF: seg001:708Cj
+ ld hl, (FPS)
+ ld (EQS), hl
+ ld hl, 5Ah ; 'Z'
+ call AllocFPS1
+ ld de, (EQS)
+ ld hl, 8E6Ah
+ call Mov18B
+ ld hl, Xmin
+ call Mov18B
+ ld hl, Ymin
+ call Mov18B
+ ld hl, deltaX
+ call p03sub_6F88
+ ld hl, p03loc_6F91
+ call pushErrorHandleR
+ call OP1Set0
+ ld de, 8E6Ah
+ call MovFrOP1
+ call MovFrOP1
+ ld de, Xmin
+ call MovFrOP1
+ ld hl, p03loc_6F97
+ call mov9B2
+ ld de, Ymin
+ call MovFrOP1
+ ld hl, p03loc_6FA0
+ call mov9B2
+ ld de, deltaX
+ call p03sub_6F88
+ ld bc, (curGY2)
+ call Page0Call_3531
+ rst 18h
+ call PushRealO4
+ ld bc, (curGY)
+ call Page0Call_3531
+ call CpyTo2FPS1
+ call FPSub
+ call FPSquare
+ call OP1ToOP5
+ call OP4ToOP1
+ call CpyTo2FPST
+ call FPSub
+ call FPSquare
+ call OP5ToOP2
+ rst 30h
+ call Page0Call_3A05
+ rst 18h
+ call p03sub_6E2F
+ call popErrorHandleR
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6F6D: ; CODE XREF: seg001:6F91p
+ ld hl, (EQS)
+ ld (FPS), hl
+ ld de, 8E6Ah
+ call Mov18B
+ ld de, Xmin
+ call Mov18B
+ ld de, Ymin
+ call Mov18B
+ ld de, deltaX
+; End of function p03sub_6F6D
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_6F88: ; CODE XREF: seg001:6F02p seg001:6F32p
+ call Mov18B
+; End of function p03sub_6F88
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Mov18B: ; CODE XREF: seg001:6EF0p seg001:6EF6p ...
+ call mov9B2
+ jp mov9B2
+; End of function Mov18B
+
+p03loc_6F91:
+ call p03sub_6F6D
+ jp JErrorNo
+p03loc_6F97:
+ .db 0
+ .db 81h ; �
+ .db 57h ; W
+ .db 96h ; �
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+p03loc_6FA0:
+ .db 0
+ .db 81h ; �
+ .db 28h ; (
+ .db 52h ; R
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 7Fh ;
+ .db 46h ; F
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 7Fh ;
+ .db 46h ; F
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 80h ; �
+ .db 21h ; !
+ .db 73h ; s
+ .db 90h ; �
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+ .db 80h ; �
+ .db 21h ; !
+ .db 73h ; s
+ .db 90h ; �
+ .db 0
+ .db 0
+ .db 0
+ .db 0
+; ---------------------------------------------------------------------------
+
+Page03_35DC:
+ call page0_18E
+ ret z
+ ld hl, (FPS)
+ ld de, 0FFF7h
+ add hl, de
+ ld a, (hl)
+ inc a
+ jr nz, p03loc_6FE2
+ call CpyO1ToFPS1
+ jp CpyO1ToFPST
+; ---------------------------------------------------------------------------
+
+p03loc_6FE2: ; CODE XREF: seg001:6FDAj
+ call OP1ToOP5
+ call CpyTo2FPS1
+ call cpop1op2
+ jp c, CpyO5ToFPS1
+ call OP5ToOP2
+ call CpyTo1FPST
+ call cpop1op2
+ ret nc
+ call OP5ToOP1
+ jp CpyO1ToFPST
+; ---------------------------------------------------------------------------
+
+p03loc_6FFE: ; CODE XREF: seg001:70AAj
+ scf
+
+ZOOMXYCMD: ; CODE XREF: seg001:70A5j
+ push de
+ push af
+ push hl
+ ld a, 1
+ call Page0Call_3537
+ call PushRealO5
+ jr p03loc_7016
+; ---------------------------------------------------------------------------
+
+Page03_35E2:
+ push de
+ push af
+ push hl
+ call Page0Call_38F1
+ rst 18h
+ call Page0Call_353D
+
+p03loc_7016: ; CODE XREF: seg001:700Aj
+ call OP1ToOP5
+ ld hl, Ymin
+ pop de
+ pop af
+ push af
+ call Page0Call_3543
+ call OP4ToOP2
+ call PopRealO5
+ call PUSHMCPLXO1
+ ld hl, Xmin
+ pop af
+ pop de
+ call Page0Call_3543
+
+Page03_35E8:
+ call Page0Call_3549
+ ld de, Xmin
+ call MovFrOP1
+ ld hl, OP4
+ call mov9B2
+ call PopRealO2
+ call PopRealO1
+ ld de, Ymin
+ call MovFrOP1
+ inc hl
+ inc hl
+ jp mov9B2
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7053: ; CODE XREF: p03sub_5E3D+Bp p03sub_5EFC+Fp ...
+ push af
+ ld de, 0FFF1h
+ add hl, de
+ call p03sub_7070
+ pop af
+ cp 5
+ ret z
+ cp 2
+ jr c, p03loc_706C
+ add hl, bc
+ ld a, (hl)
+ cp 31h ; '1'
+ ret z
+ call p03sub_7070
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_706C: ; CODE XREF: p03sub_7053+Ej
+ call p03sub_7070
+ ret
+; End of function p03sub_7053
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7070: ; CODE XREF: p03sub_7053+5p p03sub_7053+15p ...
+ push hl
+ call p03sub_6692
+ call Page0Call_354F
+ pop hl
+ ld bc, 5
+ add hl, bc
+ ret
+; End of function p03sub_7070
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_707D: ; CODE XREF: p03sub_5A27+Ep
+ ; POINT_STAT_HLP+8p
+ ld hl, (FPS)
+ ld de, 0FFF7h
+ add hl, de
+; End of function p03sub_707D
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7084: ; CODE XREF: p03sub_5A27+Ap
+ ex de, hl
+ add hl, de
+ ex de, hl
+ call Page0Call_3555
+ ret
+; End of function p03sub_7084
+
+; ---------------------------------------------------------------------------
+
+Page03_35EE:
+ or a
+ jp z, GrphCirc
+ cp 8Fh ; '�'
+ jp z, ZmStats
+ cp 9Ah ; '�'
+ jp z, StoGDB2
+ cp 9Bh ; '�'
+ jp z, RclGDB2
+ cp 0A5h ; '�'
+ jp z, CircCmd
+ cp 8Ah ; '�'
+ jp z, ZOOMXYCMD
+ cp 89h ; '�'
+ jp z, p03loc_6FFE
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_70AE: ; CODE XREF: seg001:731Fj
+ call p03sub_748F
+
+Page03_3A8C:
+ ld a, (keyExtend)
+ call p03sub_7CBB
+ jr z, p03loc_70BF
+ set 4, a
+ set 4, (iy+1Ch)
+
+p03loc_70BF: ; CODE XREF: seg001:70B7j
+ ld (unk_8D0A), a
+ ld hl, p03loc_7650
+ call page0_7C1
+ set 3, (iy+14h)
+
+p03loc_70CC: ; CODE XREF: seg001:7D45j
+ call p03sub_71FC
+ inc hl
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ ex de, hl
+ ld a, 74h ; 't'
+ bit 1, (iy+35h)
+ call nz, Page0Call_3C45
+ ld de, OP3
+ call Mov8B
+ call Mov8B
+ call Page03_3714
+ call Page0Call_3D17
+ call p03sub_722B
+ ld a, 1
+ ld (curRow), a
+
+p03loc_70F4: ; CODE XREF: seg001:p03loc_7392j
+ call p03sub_74AD
+ ld hl, (unk_9700)
+ ld a, (hl)
+ ld (unk_8D0B), a
+ call p03sub_7264
+ call p03sub_7316
+ jp nz, p03loc_710B
+ call p03loc_45E3
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_710B: ; CODE XREF: seg001:7104j
+ res 6, (iy+1Ch)
+ set 5, (iy+1Ch)
+ cp 8
+ jr z, p03loc_7132
+ res 5, (iy+1Ch)
+ cp 2
+ jr z, p03loc_7132
+ cp 3
+ jr nz, p03loc_7129
+ set 1, (iy+18h)
+ jr p03loc_7132
+; ---------------------------------------------------------------------------
+
+p03loc_7129: ; CODE XREF: seg001:7121j
+ cp 9
+ jp nz, p03loc_71CB
+ set 6, (iy+1Ch)
+
+p03loc_7132: ; CODE XREF: seg001:7115j seg001:711Dj ...
+ set 7, (iy+1Ch)
+ call Page03_37B0
+ set 6, (iy+5)
+ call Page0Call_3417
+ ld hl, 84C9h
+ bit 5, (iy+1Ch)
+ jr nz, p03loc_7152
+ bit 6, (iy+1Ch)
+ jr nz, p03loc_7152
+ ld hl, 84CCh
+
+p03loc_7152: ; CODE XREF: seg001:7147j seg001:714Dj
+ ld (editBtm), hl
+ ld (editTail), hl
+ ld a, (unk_8D0B)
+ call Page0Call_3E61
+ inc hl
+ bit 6, (iy+1Ch)
+ jr z, p03loc_716E
+ ld a, (hl)
+ cp 5Eh ; '^'
+ jr z, p03loc_7174
+ call page0_3A4
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_716E: ; CODE XREF: seg001:7163j
+ bit 5, (iy+1Ch)
+ jr z, p03loc_7185
+
+p03loc_7174: ; CODE XREF: seg001:7168j
+ ld de, nameBuff
+ call page0_118B
+ call page0_3A4
+ call Page03_37AA
+ ld bc, 2
+ jr p03loc_7191
+; ---------------------------------------------------------------------------
+
+p03loc_7185: ; CODE XREF: seg001:7172j
+ call Page0Call_341D
+ call Page0Call_3423
+ call Page03_37AA
+ call Page0Call_3429
+
+p03loc_7191: ; CODE XREF: seg001:7183j
+ ld hl, (editBtm)
+ sbc hl, bc
+ ld (editTail), hl
+ ld hl, nameBuff
+ add hl, bc
+ dec hl
+ ld de, (editBtm)
+ dec de
+ lddr
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_71A6: ; CODE XREF: seg001:71CEp p03sub_7278+25p
+ push af
+ sub 52h ; 'R'
+ ld hl, p03loc_7AD2
+ call page0_732
+ pop af
+ cp 58h ; 'X'
+ jr c, p03loc_71BA
+ cp 5Ah ; 'Z'
+ jr z, p03loc_71BE
+ jr p03loc_71C2
+; ---------------------------------------------------------------------------
+
+p03loc_71BA: ; CODE XREF: p03sub_71A6+Cj
+ ld a, 3
+ jr p03loc_71C4
+; ---------------------------------------------------------------------------
+
+p03loc_71BE: ; CODE XREF: p03sub_71A6+10j
+ ld a, 1
+ jr p03loc_71C4
+; ---------------------------------------------------------------------------
+
+p03loc_71C2: ; CODE XREF: p03sub_71A6+12j
+ ld a, 2
+
+p03loc_71C4: ; CODE XREF: p03sub_71A6+16j p03sub_71A6+1Aj
+ ld (unk_97A1), a
+ ld (unk_979F), hl
+ ret
+; End of function p03sub_71A6
+
+; ---------------------------------------------------------------------------
+
+p03loc_71CB: ; CODE XREF: seg001:712Bj
+ ld a, (unk_8D0B)
+ call p03sub_71A6
+ ld (unk_97A3), hl
+ ld a, (unk_8D0B)
+ cp 58h ; 'X'
+ jr z, p03loc_71DF
+ res 4, (iy+1Ch)
+
+p03loc_71DF: ; CODE XREF: seg001:71D9j
+ set 6, (iy+0Dh)
+ res 1, (iy+0Dh)
+ call CanAlphIns
+ bit 4, (iy+1Ch)
+ ret z
+ res 4, (iy+1Ch)
+ call p03sub_7CBB
+ ret z
+ ld a, 1
+ jp p03loc_7D84
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_71FC: ; CODE XREF: seg001:p03loc_70CCp
+ ; p03sub_7C6Cp
+ ld a, (unk_8D0A)
+ sla a
+ sla a
+ ld e, a
+ ld d, 0
+ ld hl, p03loc_78AF
+ add hl, de
+ ld e, (hl)
+ inc hl
+ ld d, (hl)
+ ld (unk_9700), de
+ ret
+; End of function p03sub_71FC
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7212: ; CODE XREF: Page03_347A:p03loc_7E15p
+ push ix
+ ld ix, (unk_9700)
+ ld a, (curRow)
+ or a
+ jr z, p03loc_7235
+ dec a
+ jr z, p03loc_7235
+ ld b, a
+ ld de, 0FFFDh
+
+p03loc_7225: ; CODE XREF: p03sub_7212+15j
+ add ix, de
+ djnz p03loc_7225
+ jr p03loc_7235
+; End of function p03sub_7212
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_722B: ; CODE XREF: seg001:70ECp
+ push ix
+ ld ix, (unk_9700)
+ res 5, (iy+1Dh)
+
+p03loc_7235: ; CODE XREF: p03sub_7212+Aj p03sub_7212+Dj ...
+ ld a, 1
+ ld (curRow), a
+
+p03loc_723A: ; CODE XREF: p03sub_722B+31j
+ sub a
+ ld (curRow+1), a
+ ld a, (curRow)
+ ld hl, winBtm
+ cp (hl)
+ jr nc, p03loc_7261
+ ld a, (ix+0)
+ ld (unk_8D0B), a
+ inc a
+ jr z, p03loc_725E
+ call p03sub_7278
+ ld de, 3
+ add ix, de
+ ld hl, curRow
+ inc (hl)
+ jr p03loc_723A
+; ---------------------------------------------------------------------------
+
+p03loc_725E: ; CODE XREF: p03sub_722B+23j
+ call Page0Call_3D29
+
+p03loc_7261: ; CODE XREF: p03sub_722B+1Aj
+ pop ix
+ ret
+; End of function p03sub_722B
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7264: ; CODE XREF: seg001:70FEp p03sub_7278p ...
+ push hl
+ sub 47h ; 'G'
+ ld e, a
+ ld a, 0
+ jr c, p03loc_7273
+ ld d, 0
+ ld hl, p03loc_765D
+ add hl, de
+ ld a, (hl)
+
+p03loc_7273: ; CODE XREF: p03sub_7264+6j
+ ld (unk_8D0B+1), a
+ pop hl
+ ret
+; End of function p03sub_7264
+
+
+; =============== 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
+
+ call p03sub_7264
+ call setTitle
+ call p03sub_4D49
+ ld a, (ix+0)
+ cp 5Ah ; 'Z'
+ ret z
+ cp 5Bh ; '['
+ jp nc, p03loc_72BC
+ cp 54h ; 'T'
+ jr z, p03loc_7295
+ ld a, 3Ah ; ':'
+ call Page0Call_3F9F
+
+p03loc_7295: ; CODE XREF: p03sub_7278+16j
+ ld a, (ix+0)
+ cp 52h ; 'R'
+ jp c, p03loc_72D9
+ call p03sub_71A6
+ push ix
+ call p03sub_7D48
+ pop ix
+ ret
+; ---------------------------------------------------------------------------
+ ld a, (unk_89F5)
+ push af
+ set 3, (iy+5)
+ set 0, (iy+8)
+ call p03sub_4D49
+ pop af
+ ld (unk_89F5), a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_72BC: ; CODE XREF: p03sub_7278+11j
+ ld a, 20h ; ' '
+ call Page0Call_3F9F
+ ld hl, p03loc_7A64
+ ld a, 71h ; 'q'
+ bit 1, (iy+35h)
+ call nz, Page0Call_3C45
+ call p03sub_4D49
+ ret c
+ ld a, (curRow)
+ dec a
+ ld (curRow), a
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_72D9: ; CODE XREF: p03sub_7278+22j
+ bit 5, (iy+1Dh)
+ ret nz
+ call Rcl_StatVar
+ ld a, (ix+0)
+ cp 51h ; 'Q'
+ jr nz, p03loc_72F1
+ call CkOP1Real
+ cp 3
+ ret nz
+ jp p03loc_7DBC
+; ---------------------------------------------------------------------------
+
+p03loc_72F1: ; CODE XREF: p03sub_7278+6Ej
+ call CkOP1Real
+ cp 2
+ jp z, p03loc_7DBC
+ cp 1
+ jr z, p03loc_7301
+ cp 0Dh
+ jr nz, p03loc_7308
+
+p03loc_7301: ; CODE XREF: p03sub_7278+83j
+ ld hl, 8479h
+ call Page0Call_3423
+ ret
+; ---------------------------------------------------------------------------
+
+p03loc_7308: ; CODE XREF: p03sub_7278+87j
+ cp 0Eh
+ jr nz, p03loc_7310
+ xor a
+ ld (OP1), a
+
+p03loc_7310: ; CODE XREF: p03sub_7278+92j
+ call Page0Call_3CC9
+ jp p03loc_4587
+; End of function p03sub_7278
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7316: ; CODE XREF: seg001:7101p
+ ; seg001:p03loc_7332p ...
+ ld b, a
+ ld a, (unk_8D0B+1)
+ or a
+ ld a, b
+ ret
+; End of function p03sub_7316
+
+p03loc_731D:
+ cp 27h ; '''
+ jp z, p03loc_70AE
+ bit 7, (iy+1Ch)
+ jp nz, Page0Call_342F
+ cp 5
+ jr z, p03loc_7332
+ cp 4
+ jp nz, p03loc_7395
+
+p03loc_7332: ; CODE XREF: seg001:732Bj
+ call p03sub_7316
+ jr nz, p03loc_7343
+ call IsEditEmpty
+ ret z
+ call ParseAndStoreSysVar
+ call DisplayEditSysVar
+ jr p03loc_7366
+; ---------------------------------------------------------------------------
+
+p03loc_7343: ; CODE XREF: seg001:7335j
+ cp 5
+ jr z, p03loc_7356
+ push ix
+ ld ix, (unk_9700)
+ ld a, (ix+3)
+ pop ix
+ inc a
+ ret z
+ jr p03loc_7366
+; ---------------------------------------------------------------------------
+
+p03loc_7356: ; CODE XREF: seg001:7345j
+ ld a, (unk_8D0B+1)
+ cp 6
+ jp z, p03loc_75C0
+ cp 7
+ jp z, p03loc_75C0
+ jp p03loc_7D23
+; ---------------------------------------------------------------------------
+
+p03loc_7366: ; CODE XREF: seg001:7341j seg001:7354j ...
+ call p03sub_74B9
+ call p03sub_7474
+ ld ix, (unk_9700)
+ ld a, (ix+3)
+ inc a
+ jr z, p03loc_7392
+ ld de, 3
+ add ix, de
+ ld (unk_9700), ix
+ call p03sub_4987
+ jr c, p03loc_738F
+ ld (curRow+1), a
+
+p03loc_7387: ; CODE XREF: seg001:73D5j
+ ld a, (ix+0)
+ call p03sub_7278
+ jr p03loc_7392
+; ---------------------------------------------------------------------------
+
+p03loc_738F: ; CODE XREF: seg001:7382j seg001:73D3j
+ ld (curRow), a
+
+p03loc_7392: ; CODE XREF: seg001:7374j seg001:738Dj ...
+ jp p03loc_70F4
+; ---------------------------------------------------------------------------
+
+p03loc_7395: ; CODE XREF: seg001:732Fj
+ cp 3
+ jr nz, p03loc_73D7
+ call p03sub_7316
+ jr z, p03loc_73AD
+ push ix
+ ld ix, (unk_9700)
+ ld a, (ix+0FDh)
+ pop ix
+ inc a
+ ret z
+ jr p03loc_73B7
+; ---------------------------------------------------------------------------
+
+p03loc_73AD: ; CODE XREF: seg001:739Cj
+ call IsEditEmpty
+ ret z
+ call ParseAndStoreSysVar
+ call DisplayEditSysVar
+
+p03loc_73B7: ; CODE XREF: seg001:73ABj seg001:7469j
+ call p03sub_74B9
+ call p03sub_7474
+ ld ix, (unk_9700)
+ ld a, (ix+0FDh)
+ inc a
+ jr z, p03loc_7392
+ ld de, 0FFFDh
+ add ix, de
+ ld (unk_9700), ix
+ call Page03_378C
+ jr nc, p03loc_738F
+ jr p03loc_7387
+; ---------------------------------------------------------------------------
+
+p03loc_73D7: ; CODE XREF: seg001:7397j
+ bit 7, (iy+0Eh)
+ jr nz, p03loc_73E0
+ cp 8Ah ; '�'
+ ret z
+
+p03loc_73E0: ; CODE XREF: seg001:73DBj
+ call p03sub_7316
+ jp z, CallCommon
+ jp p03loc_7D84
+; ---------------------------------------------------------------------------
+ cp 9
+ ret z
+ cp 0Dh
+ ret z
+ cp 2
+ ret z
+ cp 1
+ ret z
+ cp 0Eh
+ ret z
+ cp 0Fh
+ ret z
+ cp 0Bh
+ ret z
+ cp 0Ah
+ ret z
+ cp 0Ch
+ ret z
+ or a
+ ret z
+ ret
+; ---------------------------------------------------------------------------
+
+Page03_3468:
+ call CanAlphIns
+ bit 5, (iy+1Ch)
+ jr nz, p03loc_7426
+ bit 6, (iy+1Ch)
+ jr nz, p03loc_7426
+ ld hl, nameBuff
+ ld de, 8479h
+ ld bc, 5
+ ldir
+ ld a, 1
+ ld (OP1), a
+
+p03loc_7426: ; CODE XREF: seg001:740Ej seg001:7414j
+ ld hl, p03loc_746C
+ call pushErrorHandleR
+ ld a, (unk_8D0B)
+ call STO_STATVAR
+ ld de, OP1
+ ld a, (de)
+ cp 1
+ jr nz, p03loc_7457
+ inc de
+ ld a, (de)
+ cp 31h ; '1'
+ jr z, p03loc_7457
+ cp 5Dh ; ']'
+ jr z, p03loc_7450
+ ld a, 5Dh ; ']'
+ ld (de), a
+ inc de
+ ld hl, nameBuff
+ ld bc, 5
+ ldir
+
+p03loc_7450: ; CODE XREF: seg001:7442j
+ rst 10h
+ ld hl, 0
+ call c, CreateRList
+
+p03loc_7457: ; CODE XREF: seg001:7438j seg001:743Ej
+ call popErrorHandleR
+ bit 4, (iy+1)
+ ret nz
+ ld hl, 92C5h
+ bit 2, (hl)
+ jp z, p03loc_7366
+ res 2, (hl)
+ jp p03loc_73B7
+p03loc_746C:
+ bit 4, (iy+1)
+ ret nz
+ jp JError
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7474: ; CODE XREF: seg001:7369p seg001:73BAp ...
+ ld a, 8
+ ld (winBtm), a
+ ret
+; End of function p03sub_7474
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_747A: ; CODE XREF: p03sub_748F+Cp
+ set 4, (iy+1)
+ ld hl, p03loc_748A
+ call pushErrorHandleR
+ call Page0Call_3435
+ call popErrorHandleR
+p03loc_748A:
+ res 4, (iy+1)
+ ret
+; End of function p03sub_747A
+
+
+; =============== S U B R O U T I N E =======================================
+
+p03loc_748F:
+p03sub_748F: ; CODE XREF: seg001:p03loc_70AEp
+ call p03sub_74B9
+ call p03sub_7316
+ jr z, p03loc_74A0
+ bit 7, (iy+1Ch)
+ call nz, p03sub_747A
+ jr p03loc_74A3
+; ---------------------------------------------------------------------------
+
+p03loc_74A0: ; CODE XREF: p03sub_748F+6j
+ call p03sub_4B7F
+
+p03loc_74A3: ; CODE XREF: p03sub_748F+Fj
+ call page0_740
+ call p03sub_7474
+ res 3, (iy+14h)
+; End of function p03sub_748F
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_74AD: ; CODE XREF: seg001:p03loc_70F4p
+ res 1, (iy+18h)
+ res 7, (iy+1Ch)
+ res 6, (iy+1Ch)
+; End of function p03sub_74AD
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_74B9: ; CODE XREF: seg001:p03loc_7366p
+ ; seg001:p03loc_73B7p ...
+ res 6, (iy+0Dh)
+ set 1, (iy+0Dh)
+ ret
+; End of function p03sub_74B9
+
+p03loc_74C2:
+ jp numPPutAway
+
+Page03_346E:
+ call OP1Set0
+ ld a, 3Dh ; '='
+ call Page0Call_3E61
+ ex de, hl
+ ld a, 9
+
+p03loc_74D0: ; CODE XREF: seg001:74D5j
+ call MovFrOP1
+ sub 1
+ jr nz, p03loc_74D0
+ ld hl, 957Fh
+ ld (OP1+1), hl
+ call MovFrOP1
+ ld a, 1
+ ld (OP1), a
+ ld hl, 31h ; '1'
+ ld (OP1+1), hl
+ call MovFrOP1
+ call MovFrOP1
+ call MovFrOP1
+ ld a, 5Dh ; ']'
+ ld (OP1+1), a
+ xor a
+ ld (OP1M), a
+ call MovFrOP1
+ call MovFrOP1
+ call MovFrOP1
+ ld a, 1
+ ld (OP1M), a
+ call MovFrOP1
+ call MovFrOP1
+ call ZeroOP1
+ ld hl, p03loc_5C02
+ ld (OP1), hl
+ call MovFrOP1
+ ld a, 1
+ ld (OP1M), a
+ call MovFrOP1
+ ld (iy+1Ch), 0
+ call ZeroOP1
+ call MovFrOP1
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7530: ; CODE XREF: setTitle:p03loc_4565p
+ ; setTitle:p03loc_4574p ...
+ ld b, a
+ ld a, (mcxCurApp)
+ cp 56h ; 'V'
+ ld a, b
+ ret
+; End of function p03sub_7530
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_3474: ; CODE XREF: p03sub_7D48+Dp
+ push bc
+ ld a, (unk_89F5)
+ push af
+ ld a, (curRow)
+ push af
+ ld a, (ix+5)
+ ld (curRow+1), a
+ jr nc, p03loc_756F
+ bit 1, (iy+35h)
+ jr z, p03loc_755C
+ ld h, (ix+0Dh)
+ ld l, (ix+0Eh)
+ ld a, 0
+ call Page0Call_3C45
+ jr z, p03loc_7561
+
+p03loc_755C: ; CODE XREF: Page03_3474+15j
+ ld a, (ix+6)
+ and 0Fh
+
+p03loc_7561: ; CODE XREF: Page03_3474+22j
+ ld b, a
+ set 3, (iy+5)
+ ld a, 20h ; ' '
+
+p03loc_7568: ; CODE XREF: Page03_3474+33j
+ call Page0Call_3F9F
+ djnz p03loc_7568
+ jr p03loc_75B1
+; ---------------------------------------------------------------------------
+
+p03loc_756F: ; CODE XREF: Page03_3474+Fj
+ ld l, (ix+9)
+ ld h, (ix+0Ah)
+ ld a, (hl)
+ and (ix+0Ch)
+ cp (ix+0Bh)
+ jr nz, p03loc_7584
+ set 3, (iy+5)
+ jr p03loc_7588
+; ---------------------------------------------------------------------------
+
+p03loc_7584: ; CODE XREF: Page03_3474+44j
+ set 0, (iy+8)
+
+p03loc_7588: ; CODE XREF: Page03_3474+4Aj
+ bit 1, (iy+35h)
+ jr z, p03loc_759B
+ ld h, (ix+0Dh)
+ ld l, (ix+0Eh)
+ ld a, 1
+ call Page0Call_3C45
+ jr z, p03loc_75B1
+
+p03loc_759B: ; CODE XREF: Page03_3474+54j
+ ld l, (ix+7)
+ ld h, (ix+8)
+ ld de, OP1
+
+p03loc_75A4: ; CODE XREF: Page03_3474+71j
+ ld a, (hl)
+ ld (de), a
+ inc hl
+ inc de
+ or a
+ jr nz, p03loc_75A4
+ ld hl, OP1
+ call Page0Call_343B
+
+p03loc_75B1: ; CODE XREF: Page03_3474+35j
+ ; Page03_3474+61j
+ pop af
+ ld (curRow), a
+ pop af
+ ld (unk_89F5), a
+ pop bc
+ ret
+; End of function Page03_3474
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_75BB: ; CODE XREF: seg001:75CAp
+ set 5, (iy+1Ch)
+ ret
+; End of function p03sub_75BB
+
+; ---------------------------------------------------------------------------
+
+p03loc_75C0: ; CODE XREF: seg001:735Bj seg001:7360j
+ ld hl, (unk_97A3)
+ ld de, (unk_979F)
+ or a
+ sbc hl, de
+ call nz, p03sub_75BB
+ ld hl, p03loc_7639
+ call pushErrorHandleR
+ call p03sub_7C6C
+ call PopRealO1
+ res 3, (iy+14h)
+ call p03sub_7474
+ call p03sub_74B9
+ call Page0Call_3D0B
+ ld a, (unk_8D0A)
+ and 0Fh
+ cp 0Eh
+ jr nz, p03loc_75FD
+ ld b, 19h
+ ld a, (nameBuff)
+ call Page0Call_3441
+ res 2, (iy+1Ah)
+ jr p03loc_760E
+; ---------------------------------------------------------------------------
+
+p03loc_75FD: ; CODE XREF: seg001:75EDj
+ ld d, 0
+ ld e, a
+ ld hl, p03loc_7C5D
+ add hl, de
+ ld e, (hl)
+ ld a, (nameBuff)
+ call Page0Call_3447
+ call CHKERRBREAK
+
+p03loc_760E: ; CODE XREF: seg001:75FBj
+ call popErrorHandleR
+ bit 5, (iy+1Ch)
+ jr z, p03loc_7621
+ ld a, 44h ; 'D'
+ call newContext
+ ld a, 44h ; 'D'
+ jp sendKPress
+; ---------------------------------------------------------------------------
+
+p03loc_7621: ; CODE XREF: seg001:7615j
+ bit 7, (iy+9)
+ call nz, Page0Call_344D
+ bit 0, (iy+14h)
+ call nz, Page0Call_3E55
+ set 6, (iy+1Ch)
+ ld a, 40h ; '@'
+ call newContext
+ ret
+p03loc_7639:
+ res 6, (iy+9)
+ res 7, (iy+9)
+ res 7, a
+ jp JError
+; ---------------------------------------------------------------------------
+ ld hl, (mcxMain)
+ ld de, p03loc_731D
+ or a
+ sbc hl, de
+ ret
+p03loc_7650:
+ .dw p03loc_731D
+ .dw p03loc_74C2
+ .dw p03loc_748F
+ .dw Page0Call_37EF
+ .dw p03loc_7DC7
+ .dw p03loc_4B90
+ .db 0Ah
+p03loc_765D:
+ .db 3
+ .db 3
+ .db 3
+ .db 2
+ .db 2
+ .db 2
+ .db 2
+ .db 2
+ .db 8
+ .db 8
+ .db 9
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 5
+ .db 7
+ .db 6
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7675:
+ ld e, b
+ ld l, c
+ ld a, d
+ dec a
+ ret
+; ---------------------------------------------------------------------------
+ .db 79h ; y
+ .db 3Eh ; >
+ .db 0CCh ;
+ .db 79h ; y
+ .db 4Bh ; K
+ .db 0CEh ; �
+ .db 79h ; y
+ .db 47h ; G
+ .db 0D3h ; �
+ .db 79h ; y
+ .db 52h ; R
+ .db 44h ; D
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_768D:
+ ld e, b
+ ld l, c
+ ld a, d
+ dec a
+ ret
+; ---------------------------------------------------------------------------
+ .db 79h ; y
+ .db 4Bh ; K
+ .db 0CEh ; �
+ .db 79h ; y
+ .db 47h ; G
+ .db 0D3h ; �
+ .db 79h ; y
+ .db 52h ; R
+ .db 44h ; D
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_76A2:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 4Ch ; L
+ .db 0D8h ; +
+ .db 79h ; y
+ .db 4Eh ; N
+ .db 0DEh ; ¦
+ .db 79h ; y
+ .db 48h ; H
+ .db 0E4h ; S
+ .db 79h ; y
+ .db 49h ; I
+ .db 0EAh ; O
+ .db 79h ; y
+ .db 53h ; S
+ .db 46h ; F
+ .db 7Ah ; z
+ .db 59h ; Y
+ .db 6Eh ; n
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_76BD:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Fh ; ?
+ .db 4
+ .db 7Ah ; z
+ .db 40h ; @
+ .db 7
+ .db 7Ah ; z
+ .db 4Ch ; L
+ .db 0D8h ; +
+ .db 79h ; y
+ .db 4Eh ; N
+ .db 0DEh ; ¦
+ .db 79h ; y
+ .db 48h ; H
+ .db 0E4h ; S
+ .db 79h ; y
+ .db 49h ; I
+ .db 0EAh ; O
+ .db 79h ; y
+ .db 53h ; S
+ .db 46h ; F
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_76DB:
+ .db 41h ; A
+ .db 0Ah
+ .db 7Ah ; z
+ .db 42h ; B
+ .db 0Dh
+ .db 7Ah ; z
+ .db 43h ; C
+ .db 0Fh
+ .db 7Ah ; z
+ .db 54h ; T
+ .db 49h ; I
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_76ED:
+ .db 44h ; D
+ .db 11h
+ .db 7Ah ; z
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 45h ; E
+ .db 14h
+ .db 7Ah ; z
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 55h ; U
+ .db 4Eh ; N
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7702:
+ .db 4Fh ; O
+ .db 1Fh
+ .db 7Ah ; z
+ .db 50h ; P
+ .db 28h ; (
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_770E:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 4Ch ; L
+ .db 0D8h ; +
+ .db 79h ; y
+ .db 4Eh ; N
+ .db 0DEh ; ¦
+ .db 79h ; y
+ .db 48h ; H
+ .db 0E4h ; S
+ .db 79h ; y
+ .db 49h ; I
+ .db 0EAh ; O
+ .db 79h ; y
+ .db 56h ; V
+ .db 51h ; Q
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7726:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Eh ; >
+ .db 0CCh ; ¦
+ .db 79h ; y
+ .db 4Bh ; K
+ .db 0CEh ; +
+ .db 79h ; y
+ .db 47h ; G
+ .db 0D3h ; +
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_773B:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 4Bh ; K
+ .db 0CEh ; +
+ .db 79h ; y
+ .db 47h ; G
+ .db 0D3h ; +
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_774D:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 4Ch ; L
+ .db 0D8h ; +
+ .db 79h ; y
+ .db 4Eh ; N
+ .db 0DEh ; ¦
+ .db 79h ; y
+ .db 48h ; H
+ .db 0E4h ; S
+ .db 79h ; y
+ .db 49h ; I
+ .db 0EAh ; O
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 59h ; Y
+ .db 6Eh ; n
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7768:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Fh ; ?
+ .db 4
+ .db 7Ah ; z
+ .db 40h ; @
+ .db 7
+ .db 7Ah ; z
+ .db 4Ch ; L
+ .db 0D8h ; +
+ .db 79h ; y
+ .db 4Eh ; N
+ .db 0DEh ; ¦
+ .db 79h ; y
+ .db 48h ; H
+ .db 0E4h ; S
+ .db 79h ; y
+ .db 49h ; I
+ .db 0EAh ; O
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7786:
+ .db 42h ; B
+ .db 0Dh
+ .db 7Ah ; z
+ .db 43h ; C
+ .db 0Fh
+ .db 7Ah ; z
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7795:
+ .db 44h ; D
+ .db 11h
+ .db 7Ah ; z
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 45h ; E
+ .db 14h
+ .db 7Ah ; z
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_77AA:
+ .db 4Ah ; J
+ .db 31h ; 1
+ .db 7Ah ; z
+ .db 4Dh ; M
+ .db 37h ; 7
+ .db 7Ah ; z
+ .db 47h ; G
+ .db 0D3h ; +
+ .db 79h ; y
+ .db 57h ; W
+ .db 54h ; T
+ .db 7Ah ; z
+ .db 51h ; Q
+ .db 0CCh ; ¦
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_77BF:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Dh ; =
+ .db 0C9h ; +
+ .db 79h ; y
+ .db 3Eh ; >
+ .db 0CCh ; ¦
+ .db 79h ; y
+ .db 3
+ .db 3Dh ; =
+ .db 7Ah ; z
+ .db 2
+ .db 3Fh ; ?
+ .db 7Ah ; z
+ .db 52h ; R
+ .db 44h ; D
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_77D7:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Dh ; =
+ .db 0C9h ; +
+ .db 79h ; y
+ .db 3
+ .db 3Dh ; =
+ .db 7Ah ; z
+ .db 6
+ .db 41h ; A
+ .db 7Ah ; z
+ .db 2
+ .db 3Fh ; ?
+ .db 7Ah ; z
+ .db 52h ; R
+ .db 44h ; D
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_77EF:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 2Bh ; +
+ .db 0F3h ; =
+ .db 79h ; y
+ .db 2Ch ; ,
+ .db 0F6h ; ÷
+ .db 79h ; y
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 2Eh ; .
+ .db 0FDh ; ²
+ .db 79h ; y
+ .db 2Fh ; /
+ .db 0
+ .db 7Ah ; z
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 53h ; S
+ .db 46h ; F
+ .db 7Ah ; z
+ .db 59h ; Y
+ .db 6Eh ; n
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7810:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Fh ; ?
+ .db 4
+ .db 7Ah ; z
+ .db 40h ; @
+ .db 7
+ .db 7Ah ; z
+ .db 2Bh ; +
+ .db 0F3h ; =
+ .db 79h ; y
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 2Eh ; .
+ .db 0FDh ; ²
+ .db 79h ; y
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 53h ; S
+ .db 46h ; F
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_782E:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 2Ch ; ,
+ .db 0F6h ; ÷
+ .db 79h ; y
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 2Fh ; /
+ .db 0
+ .db 7Ah ; z
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 56h ; V
+ .db 51h ; Q
+ .db 7Ah ; z
+ .db 5Bh ; [
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7846:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Eh ; >
+ .db 0CCh ; ¦
+ .db 79h ; y
+ .db 3
+ .db 3Dh ; =
+ .db 7Ah ; z
+ .db 2
+ .db 3Fh ; ?
+ .db 7Ah ; z
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_785B:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3
+ .db 3Dh ; =
+ .db 7Ah ; z
+ .db 6
+ .db 41h ; A
+ .db 7Ah ; z
+ .db 2
+ .db 3Fh ; ?
+ .db 7Ah ; z
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7870:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 2Bh ; +
+ .db 0F3h ; =
+ .db 79h ; y
+ .db 2Ch ; ,
+ .db 0F6h ; ÷
+ .db 79h ; y
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 2Eh ; .
+ .db 0FDh ; ²
+ .db 79h ; y
+ .db 2Fh ; /
+ .db 0
+ .db 7Ah ; z
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 59h ; Y
+ .db 6Eh ; n
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_7891:
+ .db 58h ; X
+ .db 69h ; i
+ .db 7Ah ; z
+ .db 3Fh ; ?
+ .db 4
+ .db 7Ah ; z
+ .db 40h ; @
+ .db 7
+ .db 7Ah ; z
+ .db 2Bh ; +
+ .db 0F3h ; =
+ .db 79h ; y
+ .db 2Dh ; -
+ .db 0F0h ; =
+ .db 79h ; y
+ .db 2Eh ; .
+ .db 0FDh ; ²
+ .db 79h ; y
+ .db 30h ; 0
+ .db 0FAh ; ·
+ .db 79h ; y
+ .db 46h ; F
+ .db 17h
+ .db 7Ah ; z
+ .db 5Ah ; Z
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0FFh
+ .db 0
+ .db 0
+p03loc_78AF:
+ .dw p03loc_7675
+ .dw p03loc_792B
+ .dw p03loc_768D
+ .dw p03loc_7932
+ .dw p03loc_76BD
+ .dw p03loc_7945
+ .dw p03loc_76A2
+ .dw p03loc_7939
+ .dw p03loc_76DB
+ .dw p03loc_7951
+ .dw p03loc_76ED
+ .dw p03loc_795D
+ .dw p03loc_7726
+ .dw p03loc_797D
+ .dw p03loc_773B
+ .dw p03loc_7987
+ .dw p03loc_7768
+ .dw p03loc_799C
+ .dw p03loc_774D
+ .dw p03loc_7991
+ .dw p03loc_7786
+ .dw p03loc_79A7
+ .dw p03loc_7795
+ .dw p03loc_79B2
+ .dw p03loc_7702
+ .dw p03loc_7969
+ .dw p03loc_770E
+ .dw p03loc_7971
+ .dw p03loc_77AA
+ .dw p03loc_79BD
+ .dw p03loc_77AA
+ .dw p03loc_79BD
+ .dw p03loc_77BF
+ .dw p03loc_792B
+ .dw p03loc_77D7
+ .dw p03loc_7932
+ .dw p03loc_7810
+ .dw p03loc_7945
+ .dw p03loc_77EF
+ .dw p03loc_7939
+ .dw p03loc_76DB
+ .dw p03loc_7951
+ .dw p03loc_76ED
+ .dw p03loc_795D
+ .dw p03loc_7846
+ .dw p03loc_797D
+ .dw p03loc_785B
+ .dw p03loc_7987
+ .dw p03loc_7891
+ .dw p03loc_799C
+ .dw p03loc_7870
+ .dw p03loc_7991
+ .dw p03loc_7786
+ .dw p03loc_79A7
+ .dw p03loc_7795
+ .dw p03loc_79B2
+ .dw p03loc_7702
+ .dw p03loc_7969
+ .dw p03loc_782E
+ .dw p03loc_7971
+ .dw p03loc_77AA
+ .dw p03loc_79BD
+p03loc_792B:
+ .db 5Ah ; Z
+ .db 2Dh ; -
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7932:
+ .db 54h ; T
+ .db 2Dh ; -
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7939:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 53h ; S
+ .db 61h ; a
+ .db 6Dh ; m
+ .db 70h ; p
+ .db 54h ; T
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7945:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 53h ; S
+ .db 61h ; a
+ .db 6Dh ; m
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7951:
+ .db 31h ; 1
+ .db 2Dh ; -
+ .db 50h ; P
+ .db 72h ; r
+ .db 6Fh ; o
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_795D:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 50h ; P
+ .db 72h ; r
+ .db 6Fh ; o
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7969:
+ .db 0D9h ; �
+ .db 12h
+ .db 2Dh ; -
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_7971:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 53h ; S
+ .db 61h ; a
+ .db 6Dh ; m
+ .db 70h ; p
+ .db 0DAh ; �
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+p03loc_797D:
+ .db 5Ah ; Z
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 65h ; e
+ .db 72h ; r
+ .db 76h ; v
+ .db 61h ; a
+ .db 6Ch ; l
+ .db 0
+p03loc_7987:
+ .db 54h ; T
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 65h ; e
+ .db 72h ; r
+ .db 76h ; v
+ .db 61h ; a
+ .db 6Ch ; l
+ .db 0
+p03loc_7991:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 53h ; S
+ .db 61h ; a
+ .db 6Dh ; m
+ .db 70h ; p
+ .db 54h ; T
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 0
+p03loc_799C:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 53h ; S
+ .db 61h ; a
+ .db 6Dh ; m
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 0
+p03loc_79A7:
+ .db 31h ; 1
+ .db 2Dh ; -
+ .db 50h ; P
+ .db 72h ; r
+ .db 6Fh ; o
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 0
+p03loc_79B2:
+ .db 32h ; 2
+ .db 2Dh ; -
+ .db 50h ; P
+ .db 72h ; r
+ .db 6Fh ; o
+ .db 70h ; p
+ .db 5Ah ; Z
+ .db 49h ; I
+ .db 6Eh ; n
+ .db 74h ; t
+ .db 0
+p03loc_79BD:
+ .db 4Ch ; L
+ .db 69h ; i
+ .db 6Eh ; n
+ .db 52h ; R
+ .db 65h ; e
+ .db 67h ; g
+ .db 54h ; T
+ .db 54h ; T
+ .db 65h ; e
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+ .db 0C3h ; �
+ .db 80h ; �
+ .db 0
+ .db 0C7h ; �
+ .db 0
+ .db 4Ch ; L
+ .db 69h ; i
+ .db 73h ; s
+ .db 74h ; t
+ .db 0
+ .db 46h ; F
+ .db 72h ; r
+ .db 65h ; e
+ .db 71h ; q
+ .db 0
+ .db 4Ch ; L
+ .db 69h ; i
+ .db 73h ; s
+ .db 74h ; t
+ .db 31h ; 1
+ .db 0
+ .db 4Ch ; L
+ .db 69h ; i
+ .db 73h ; s
+ .db 74h ; t
+ .db 32h ; 2
+ .db 0
+ .db 46h ; F
+ .db 72h ; r
+ .db 65h ; e
+ .db 71h ; q
+ .db 31h ; 1
+ .db 0
+ .db 46h ; F
+ .db 72h ; r
+ .db 65h ; e
+ .db 71h ; q
+ .db 32h ; 2
+ .db 0
+ .db 6Eh ; n
+ .db 31h ; 1
+ .db 0
+ .db 0CBh ;
+ .db 31h ; 1
+ .db 0
+ .db 53h ; S
+ .db 78h ; x
+ .db 31h ; 1
+ .db 0
+ .db 6Eh ; n
+ .db 32h ; 2
+ .db 0
+ .db 0CBh ;
+ .db 32h ; 2
+ .db 0
+ .db 53h ; S
+ .db 78h ; x
+ .db 32h ; 2
+ .db 0
+ .db 0C7h ; �
+ .db 31h ; 1
+ .db 0
+ .db 0C7h ; �
+ .db 32h ; 2
+ .db 0
+ .db 70h ; p
+ .db 80h ; �
+ .db 0
+ .db 78h ; x
+ .db 0
+ .db 6Eh ; n
+ .db 0
+ .db 78h ; x
+ .db 31h ; 1
+ .db 0
+ .db 78h ; x
+ .db 32h ; 2
+ .db 0
+ .db 43h ; C
+ .db 2Dh ; -
+ .db 4Ch ; L
+ .db 65h ; e
+ .db 76h ; v
+ .db 65h ; e
+ .db 6Ch ; l
+ .db 0
+aObserved: .asc 'Observed',0
+aExpected: .asc 'Expected',0
+aXlist: .asc 'Xlist',0
+aYlist: .asc 'Ylist',0
+ .asc 0CBh,0
+aN: .asc 'n',0
+aSx: .asc 'Sx',0
+ .asc 0C3h,0
+a1: .asc 0C3h,'1',0
+aProp: .asc 'prop',0
+aP1: .asc 'p1',0
+a1_0: .asc 0C7h,'1',0
+ .asc 0BCh,' ',026h,' ',0C5h,0
+aCalculate: .asc 'Calculate',0
+p03loc_7A64:
+aDraw: .asc 'Draw',0
+aInpt: .asc 'Inpt',0
+aPooled: .asc 'Pooled',0
+aYes: .asc 'Yes',0
+aNo: .asc 'No',0
+aData: .asc 'Data',0
+aStats: .asc 'Stats',0
+ .db 18h
+ .db 0C3h ; �
+ .db 80h ; �
+ .db 0
+ .db 3Eh ; >
+ .db 0C3h ; �
+ .db 80h ; �
+ .db 0
+ .db 3Ch ; <
+ .db 0C3h ; �
+ .db 80h ; �
+ .db 0
+ .db 18h
+ .db 0C3h ; �
+ .db 32h ; 2
+ .db 0
+ .db 3Eh ; >
+ .db 0C3h ; �
+ .db 32h ; 2
+ .db 0
+ .db 3Ch ; <
+ .db 0C3h ; �
+ .db 32h ; 2
+ .db 0
+ .db 18h
+ .db 70h ; p
+ .db 80h ; �
+ .db 0
+ .db 3Eh ; >
+ .db 70h ; p
+ .db 80h ; �
+ .db 0
+ .db 3Ch ; <
+ .db 70h ; p
+ .db 80h ; �
+ .db 0
+ .db 18h
+ .db 70h ; p
+ .db 32h ; 2
+ .db 0
+ .db 3Eh ; >
+ .db 70h ; p
+ .db 32h ; 2
+ .db 0
+ .db 3Ch ; <
+ .db 70h ; p
+ .db 32h ; 2
+ .db 0
+ .db 18h
+ .db 0C7h ; �
+ .db 32h ; 2
+ .db 0
+ .db 3Eh ; >
+ .db 0C7h ; �
+ .db 32h ; 2
+ .db 0
+ .db 3Ch ; <
+ .db 0C7h ; �
+ .db 32h ; 2
+ .db 0
+ .db 18h
+ .db 30h ; 0
+ .db 0
+ .db 3Eh ; >
+ .db 30h ; 0
+ .db 0
+ .db 3Ch ; <
+ .db 30h ; 0
+ .db 0
+ .db 52h ; R
+ .db 65h ; e
+ .db 67h ; g
+ .db 45h ; E
+ .db 51h ; Q
+ .db 0
+p03loc_7AD2:
+ .dw p03loc_7AE6
+ .dw p03loc_7B13
+ .dw p03loc_7B40
+ .dw p03loc_7B6D
+ .dw p03loc_7B9A
+ .dw p03loc_7BC7
+ .dw p03loc_7BF4
+ .dw p03loc_7C12
+ .dw p03loc_7C4E
+ .dw p03loc_7C30
+p03loc_7AE6:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 3
+ .db 3
+ .db 87h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 7Dh ; }
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 7
+ .db 3
+ .db 8Fh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 7Eh ; ~
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Bh
+ .db 3
+ .db 8Bh ;
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 7Fh ;
+p03loc_7B13:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 4
+ .db 3
+ .db 93h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 80h ; �
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 8
+ .db 3
+ .db 9Bh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 81h ; �
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Ch
+ .db 3
+ .db 97h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 82h ; �
+p03loc_7B40:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 5
+ .db 3
+ .db 9Fh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 83h ; �
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 9
+ .db 3
+ .db 0A7h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 84h ; �
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Dh
+ .db 3
+ .db 0A3h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 85h ; �
+p03loc_7B6D:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 4
+ .db 3
+ .db 0ABh ;
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 86h ; �
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 8
+ .db 3
+ .db 0B3h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 87h ; �
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Ch
+ .db 3
+ .db 0AFh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 88h ; �
+p03loc_7B9A:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 4
+ .db 3
+ .db 0B7h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 89h ;
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 8
+ .db 3
+ .db 0BFh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 8Ah ;
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Ch
+ .db 3
+ .db 0BBh ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 8Bh ;
+p03loc_7BC7:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 7
+ .db 2
+ .db 0C3h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 3
+ .db 0FEh ; �
+ .db 8Ch ;
+ .db 2
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Ah
+ .db 2
+ .db 0C9h ;
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 1
+ .db 3
+ .db 0FEh ; �
+ .db 8Dh ;
+ .db 2
+ .db 1
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 5
+ .db 0Dh
+ .db 2
+ .db 0C6h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 2
+ .db 3
+ .db 0FEh ; �
+ .db 8Eh ; �
+p03loc_7BF4:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 1
+ .db 6
+ .db 4
+ .db 7Ch ; |
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 8
+ .db 0FEh ; �
+ .db 77h ; w
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 1
+ .db 0Bh
+ .db 5
+ .db 81h ; �
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 8
+ .db 8
+ .db 0FEh ; �
+ .db 78h ; x
+p03loc_7C12:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 7
+ .db 8
+ .db 2
+ .db 79h ; y
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 0
+ .db 4
+ .db 0FEh ; �
+ .db 79h ; y
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 7
+ .db 0Bh
+ .db 3
+ .db 75h ; u
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 4
+ .db 4
+ .db 0FEh ; �
+ .db 7Ah ; z
+p03loc_7C30:
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 6
+ .db 1
+ .db 9
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 20h
+ .db 20h
+ .db 0FEh ; �
+ .db 7Bh ; {
+ .db 1
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 6
+ .db 0Bh
+ .db 4
+ .db 64h ; d
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 20h
+ .db 20h
+ .db 0FEh ; �
+ .db 7Ch ; |
+p03loc_7C4E:
+ .db 0
+ .db 0
+ .db 0FEh ; �
+ .db 0FEh ; �
+ .db 6
+ .db 1
+ .db 9
+ .db 5Ah ; Z
+ .db 7Ah ; z
+ .db 0Ch
+ .db 8Ah ;
+ .db 20h
+ .db 20h
+ .db 0FEh ; �
+ .db 7Bh ; {
+p03loc_7C5D:
+ .db 22h ; "
+ .db 23h ; #
+ .db 24h ; $
+ .db 2Dh ; -
+ .db 25h ; %
+ .db 26h ; &
+ .db 28h ; (
+ .db 2Fh ; /
+ .db 29h ; )
+ .db 30h ; 0
+ .db 2Ah ; *
+ .db 2Bh ; +
+ .db 27h ; '
+ .db 2Eh ; .
+ .db 22h ; "
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7C6C: ; CODE XREF: seg001:75D3p
+ call p03sub_71FC
+ push ix
+ ld ix, (unk_9700)
+ ld a, 0
+ ld (nameBuff), a
+
+p03loc_7C7A: ; CODE XREF: p03sub_7C6C+1Fj
+ ld a, (ix+0)
+ ld (unk_8D0B), a
+ inc a
+ jr z, p03loc_7C8D
+ call p03sub_7C90
+ ld de, 3
+ add ix, de
+ jr p03loc_7C7A
+; ---------------------------------------------------------------------------
+
+p03loc_7C8D: ; CODE XREF: p03sub_7C6C+15j
+ pop ix
+ ret
+; End of function p03sub_7C6C
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7C90: ; CODE XREF: p03sub_7C6C+17p
+
+; FUNCTION CHUNK AT 7CC0 SIZE 00000063 BYTES
+
+ call p03sub_7264
+ call OP1Set0
+ ld a, (ix+0)
+ cp 5Ah ; 'Z'
+ ret z
+ cp 5Bh ; '['
+ jr z, p03loc_7CD7
+ cp 52h ; 'R'
+ jp c, p03loc_7CDF
+ cp 58h ; 'X'
+ jr c, p03loc_7CC0
+ ret z
+ bit 2, (iy+1Ch)
+ jr z, p03loc_7CB3
+
+p03loc_7CB0: ; CODE XREF: p03sub_7C90+4Bj
+ call OP1Set1
+
+p03loc_7CB3: ; CODE XREF: p03sub_7C90+1Ej p03sub_7C90+35j ...
+ ld hl, nameBuff
+ inc (hl)
+ call PushRealO1
+ ret
+; End of function p03sub_7C90
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7CBB: ; CODE XREF: seg001:70B4p seg001:71F3p ...
+ bit 3, (iy+1Ch)
+ ret
+; End of function p03sub_7CBB
+
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_7C90
+
+p03loc_7CC0: ; CODE XREF: p03sub_7C90+17j
+ ld a, (unk_8A0C)
+ and 3
+ jr z, p03loc_7CB3
+ push af
+ call OP1Set1
+ pop af
+ cp 2
+ jr z, p03loc_7CB3
+ ld a, 80h ; '�'
+ ld (OP1), a
+ jr p03loc_7CB3
+; ---------------------------------------------------------------------------
+
+p03loc_7CD7: ; CODE XREF: p03sub_7C90+Ej
+ bit 5, (iy+1Ch)
+ jr nz, p03loc_7CB0
+ jr p03loc_7CB3
+; ---------------------------------------------------------------------------
+
+p03loc_7CDF: ; CODE XREF: p03sub_7C90+12j
+ call Rcl_StatVar
+ ld a, (ix+0)
+ cp 51h ; 'Q'
+ jr nz, p03loc_7CF1
+ call CkOP1Real
+ cp 3
+ ret nz
+ jr p03loc_7CB3
+; ---------------------------------------------------------------------------
+
+p03loc_7CF1: ; CODE XREF: p03sub_7C90+57j
+ call CkOP1Real
+ cp 1
+ jr z, p03loc_7CFC
+ cp 0Dh
+ jr nz, p03loc_7D19
+
+p03loc_7CFC: ; CODE XREF: p03sub_7C90+66j
+ ld a, (OP1+1)
+ cp 31h ; '1'
+ ret z
+ cp 5Dh ; ']'
+ jr z, p03loc_7D14
+ ld hl, 847Dh
+ ld de, 847Eh
+ ld bc, 5
+ lddr
+ ld a, 5Dh ; ']'
+ ld (de), a
+
+p03loc_7D14: ; CODE XREF: p03sub_7C90+74j
+ call Page0Call_354F
+ jr p03loc_7CB3
+; ---------------------------------------------------------------------------
+
+p03loc_7D19: ; CODE XREF: p03sub_7C90+6Aj
+ cp 0Eh
+ jr nz, p03loc_7D21
+ xor a
+ ld (OP1), a
+
+p03loc_7D21: ; CODE XREF: p03sub_7C90+8Bj
+ jr p03loc_7CB3
+; END OF FUNCTION CHUNK FOR p03sub_7C90
+; ---------------------------------------------------------------------------
+
+p03loc_7D23: ; CODE XREF: seg001:7363j
+ ld ix, (unk_97A3)
+ call p03sub_7D60
+ bit 4, (iy+1Ch)
+ jr z, p03sub_7D48
+ ld hl, 8D0Ah
+ res 4, (hl)
+ call p03sub_7CBB
+ jr z, p03loc_7D3C
+ set 4, (hl)
+
+p03loc_7D3C: ; CODE XREF: seg001:7D38j
+ call p03sub_74B9
+ call p03sub_7474
+ call Page0Call_3E8B
+ jp p03loc_70CC
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7D48: ; CODE XREF: p03sub_7278+2Ap seg001:7D2Ej
+ res 1, (iy+15h)
+ ld a, (unk_97A1)
+ ld b, a
+ ld ix, (unk_979F)
+
+p03loc_7D54: ; CODE XREF: p03sub_7D48+15j
+ or a
+ call Page03_3474
+ ld de, 0Fh
+ add ix, de
+ djnz p03loc_7D54
+ ret
+; End of function p03sub_7D48
+
+
+; =============== S U B R O U T I N E =======================================
+
+
+p03sub_7D60: ; CODE XREF: seg001:7D27p
+ res 4, (iy+1Ch)
+ ld l, (ix+9)
+ ld h, (ix+0Ah)
+ ld a, (hl)
+ and (ix+0Ch)
+ cp (ix+0Bh)
+ ret z
+ ld a, (ix+0Ch)
+ cp 8
+ jr nz, p03loc_7D7D
+ set 4, (iy+1Ch)
+
+p03loc_7D7D: ; CODE XREF: p03sub_7D60+17j
+ cpl
+ and (hl)
+ or (ix+0Bh)
+ ld (hl), a
+ ret
+; End of function p03sub_7D60
+
+; ---------------------------------------------------------------------------
+
+p03loc_7D84: ; CODE XREF: seg001:71F9j seg001:73E6j
+ ld ix, (unk_97A3)
+ cp 1
+ jr z, p03loc_7D91
+ cp 2
+ jp nz, Page0Call_3453
+
+p03loc_7D91: ; CODE XREF: seg001:7D8Aj
+ dec a
+ ld e, a
+ ld d, 0
+ add ix, de
+ ld a, (ix+0)
+ ld (unk_97A2), a
+ ld a, (unk_97A2)
+ ld l, a
+ ld h, 0
+ ld e, l
+ ld d, h
+ add hl, hl
+ add hl, de
+ add hl, hl
+ add hl, hl
+ add hl, de
+ add hl, de
+ add hl, de
+ ld de, (unk_979F)
+ add hl, de
+ ld (unk_97A3), hl
+ push hl
+ pop ix
+ ret
+; ---------------------------------------------------------------------------
+ cp 9
+ ret z
+ ret
+; ---------------------------------------------------------------------------
+; START OF FUNCTION CHUNK FOR p03sub_7278
+
+p03loc_7DBC: ; CODE XREF: p03sub_7278+76j p03sub_7278+7Ej
+ ld de, (OP1+1)
+ ld a, e
+ ld e, d
+ ld d, a
+ call Page0Call_3459
+ ret
+p03loc_7DC7:
+ ld hl, 92C5h
+ res 2, (hl)
+ call Page03_347A
+ call p03sub_7316
+ jp z, numError02
+ bit 7, (iy+1Ch)
+ ret z
+ call Page0Call_3645
+ call Page03_37B0
+ call page0_193
+ jp nz, p03loc_4A6F
+ call Page0Call_3DE3
+ ret
+
+; =============== S U B R O U T I N E =======================================
+
+
+Page03_347A: ; CODE XREF: seg001:7DCCp
+ call p03sub_74B9
+ ld a, (winLeftEdge)
+ push af
+ ld hl, (curRow)
+ push hl
+ ld hl, (unk_8D0B)
+ push hl
+ ld a, (unk_97A1)
+ push af
+ ld hl, (unk_979F)
+ push hl
+ set 5, (iy+1Dh)
+ call Page0Call_345F
+ jr nz, p03loc_7E15
+ ld hl, (promptRow)
+ ld (curRow), hl
+ ld a, 7
+ ld (winBtm), a
+
+p03loc_7E15: ; CODE XREF: Page03_347A+1Ej
+ call p03sub_7212
+ res 5, (iy+1Dh)
+ call p03sub_7474
+ pop hl
+ ld (unk_979F), hl
+ pop af
+ ld (unk_97A1), a
+ pop hl
+ ld (unk_8D0B), hl
+ pop hl
+ ld (curRow), hl
+ pop af
+ ld (winLeftEdge), a
+ ret