source/page03/initial.asm
changeset 46 09e7d89fba35
parent 43 486c42a314bc
equal deleted inserted replaced
45:78c162ac1d82 46:09e7d89fba35
     1 Page03_3825:
     1 Page03_3825:
     2 		call	j_ClrLCD
     2 		call	j_ClrLCD
     3 		rst		28h
     3 		b_call(_dispBootVer)
     4 ; ---------------------------------------------------------------------------
       
     5 		.dw		808Ah
       
     6 ; ---------------------------------------------------------------------------
       
     7 		ld		hl, 1
     4 		ld		hl, 1
     8 		ld		(curRow), hl
     5 		ld		(curRow), hl
     9 		ld		hl, aBaseCode1_19
     6 		ld		hl, aBaseCode1_19
    10 		call	j_PutS
     7 		call	j_PutS
    11 		bit		localizeHookActive, (iy+hookflags3)
     8 		bit		localizeHookActive, (iy+hookflags3)
    12 		jr		z, p03loc_401F
     9 		jr		z, p03loc_401F
    13 		ld		a, 79h ; 'y'
    10 		ld		a, 79h
    14 		call	j_call_character_hook
    11 		call	j_call_character_hook
    15 		jr		z, p03loc_4031
    12 		jr		z, p03loc_4031
    16 
       
    17 p03loc_401F:
    13 p03loc_401F:
    18 		ld		hl, p03loc_40FF
    14 		ld		hl, aEnterSelfTest
    19 		call	p03sub_40E7
    15 		call	p03sub_40E7
    20 		ld		hl, p03loc_4112
    16 		ld		hl, aThisWillClearAllMemory
    21 		call	p03sub_40E7
    17 		call	p03sub_40E7
    22 		ld		hl, p03loc_412F
    18 		ld		hl, aPressOnToCancel
    23 		call	p03sub_40E7
    19 		call	p03sub_40E7
    24 
       
    25 p03loc_4031:
    20 p03loc_4031:
    26 		call	j_RunIndicOff
    21 		call	j_RunIndicOff
    27 		call	j_getkey
    22 		call	j_getkey
    28 		cp		5
    23 		cp		5
    29 		jp		nz, JForceCmdNoChar
    24 		jp		nz, JForceCmdNoChar
    39 		res		bPLinkOn, (iy+hookflags1)
    34 		res		bPLinkOn, (iy+hookflags1)
    40 		set		resetOnPowerOn, (iy+selfTestFlag)
    35 		set		resetOnPowerOn, (iy+selfTestFlag)
    41 		res		apdAble, (iy+apdFlags)
    36 		res		apdAble, (iy+apdFlags)
    42 		ld		hl, 0
    37 		ld		hl, 0
    43 		ld		(curGStyle), hl
    38 		ld		(curGStyle), hl
    44 		rst		28h
    39 		b_call(_getSerial)
    45 ; ---------------------------------------------------------------------------
       
    46 		.dw		807Eh
       
    47 ; ---------------------------------------------------------------------------
       
    48 		ld		hl, aId
    40 		ld		hl, aId
    49 		jp		z, p03loc_4077
    41 		jp		z, p03loc_4077
    50 		call	p03sub_429B
    42 		call	p03sub_429B
    51 		call	j_ClrScrn
    43 		call	j_ClrScrn
    52 
       
    53 p03loc_4077:
    44 p03loc_4077:
    54 		call	p03sub_4146
    45 		call	p03sub_4146
    55 		ld		sp, 8D4Fh
    46 		ld		sp, 8D4Fh
    56 
       
    57 p03loc_407D:
    47 p03loc_407D:
    58 		ld		hl, 403h
    48 		ld		hl, 403h
    59 		ld		(curRow), hl
    49 		ld		(curRow), hl
    60 		ld		hl, (curGStyle)
    50 		ld		hl, (curGStyle)
    61 		push	hl
    51 		push	hl
    69 		ld		hl, aRom
    59 		ld		hl, aRom
    70 		or		a
    60 		or		a
    71 		jp		nz, p03loc_4295
    61 		jp		nz, p03loc_4295
    72 		jp		p03loc_4172
    62 		jp		p03loc_4172
    73 
    63 
    74 ; =============== S U B	R O U T	I N E =======================================
       
    75 
       
    76 
       
    77 p03sub_409E:
    64 p03sub_409E:
    78 
       
    79 
       
    80 
       
    81 		ld		b, 0
    65 		ld		b, 0
    82 		jr		p03loc_40AC
    66 		jr		p03loc_40AC
    83 ; ---------------------------------------------------------------------------
       
    84 
       
    85 p03loc_40A2:
    67 p03loc_40A2:
    86 		ld		b, 18h
    68 		ld		b, 18h
    87 		call	NZIf83Plus
    69 		call	NZIf83Plus
    88 		jr		nz, p03loc_40AB
    70 		jr		nz, p03loc_40AB
    89 		ld		b, 78h ; 'x'
    71 		ld		b, 78h
    90 
       
    91 p03loc_40AB:
    72 p03loc_40AB:
    92 		; p03sub_409E:p03loc_40E3j
       
    93 		pop		af
    73 		pop		af
    94 
       
    95 p03loc_40AC:
    74 p03loc_40AC:
    96 		ld		hl, 4000h
    75 		ld		hl, 4000h
    97 
       
    98 p03loc_40AF:
    76 p03loc_40AF:
    99 		call	LoadCIndPaged
    77 		call	LoadCIndPaged
   100 		add		a, c
    78 		add		a, c
   101 		inc		hl
    79 		inc		hl
   102 		bit		7, h
    80 		bit		7, h
   108 		ld		a, b
    86 		ld		a, b
   109 		cp		8
    87 		cp		8
   110 		jr		z, p03loc_40A2
    88 		jr		z, p03loc_40A2
   111 		call	NZIf83Plus
    89 		call	NZIf83Plus
   112 		jr		nz, p03loc_40CE
    90 		jr		nz, p03loc_40CE
   113 		cp		7Ah ; 'z'
    91 		cp		7Ah
   114 		jr		p03loc_40D0
    92 		jr		p03loc_40D0
   115 ; ---------------------------------------------------------------------------
       
   116 
       
   117 p03loc_40CE:
    93 p03loc_40CE:
   118 		cp		1Ah
    94 		cp		1Ah
   119 
       
   120 p03loc_40D0:
    95 p03loc_40D0:
   121 		jr		nz, p03loc_40D8
    96 		jr		nz, p03loc_40D8
   122 		pop		af
    97 		pop		af
   123 		ld		hl, 4200h
    98 		ld		hl, 4200h
   124 		jr		p03loc_40AF
    99 		jr		p03loc_40AF
   125 ; ---------------------------------------------------------------------------
       
   126 
       
   127 p03loc_40D8:
   100 p03loc_40D8:
   128 		call	NZIf83Plus
   101 		call	NZIf83Plus
   129 		jr		nz, p03loc_40E1
   102 		jr		nz, p03loc_40E1
   130 		cp		7Eh ; '~'
   103 		cp		7Eh
   131 		jr		p03loc_40E3
   104 		jr		p03loc_40E3
   132 ; ---------------------------------------------------------------------------
       
   133 
       
   134 p03loc_40E1:
   105 p03loc_40E1:
   135 		cp		1Eh
   106 		cp		1Eh
   136 
       
   137 p03loc_40E3:
   107 p03loc_40E3:
   138 		jr		nz, p03loc_40AB
   108 		jr		nz, p03loc_40AB
   139 		pop		af
   109 		pop		af
   140 		ret
   110 		ret
   141 ; End of function p03sub_409E
       
   142 
       
   143 
       
   144 ; =============== S U B	R O U T	I N E =======================================
       
   145 
       
   146 
   111 
   147 p03sub_40E7:
   112 p03sub_40E7:
   148 		push	hl
   113 		push	hl
   149 		call	ldHLind
   114 		call	ldHLind
   150 		ld		(penCol), hl
   115 		ld		(penCol), hl
   151 		pop		hl
   116 		pop		hl
   152 		inc		hl
   117 		inc		hl
   153 		inc		hl
   118 		inc		hl
   154 		ld		bc, 20h	; ' '
   119 		ld		bc, 20h
   155 		ld		de, OP1
   120 		ld		de, OP1
   156 		push	de
   121 		push	de
   157 		ldir
   122 		ldir
   158 		pop		hl
   123 		pop		hl
   159 		call	j_VPutS
   124 		call	j_VPutS
   160 		ret
   125 		ret
   161 ; End of function p03sub_40E7
   126 
   162 
   127 aEnterSelfTest:
   163 p03loc_40FF:
       
   164 		.db		12h
   128 		.db		12h
   165 		.db		18h
   129 		.db		18h
   166 aEnterSelfTest?:.asc 'Enter Self-Test?',0
   130 		.asc 'Enter Self-Test?',0
   167 p03loc_4112:
   131 aThisWillClearAllMemory:
   168 		.db		4
   132 		.db		4
   169 		.db		24h	; $
   133 		.db		24h
   170 aThisWillClearA:.asc 'This will clear all memory',0
   134 		.asc 'This will clear all memory',0
   171 p03loc_412F:
   135 aPressOnToCancel:
   172 		.db		0Ch
   136 		.db		0Ch
   173 		.db		3Ah	; :
   137 		.db		3Ah
   174 aPressOnToCance:.asc 'Press ',0C1h,'ON] to cancel',0
   138 		.asc 'Press ',0C1h,'ON] to cancel',0
   175 
       
   176 ; =============== S U B	R O U T	I N E =======================================
       
   177 
       
   178 
   139 
   179 p03sub_4146:
   140 p03sub_4146:
   180 		call	NZIf83Plus
   141 		call	NZIf83Plus
   181 		ret		nz
   142 		ret		nz
   182 		di
   143 		di
   183 		ld		a, 45h ; 'E'
   144 		ld		a, 45h
   184 		out		(36h), a
   145 		out		(36h), a
   185 		xor		a
   146 		xor		a
   186 		out		(37h), a
   147 		out		(37h), a
   187 		ld		a, 80h ; '�'
   148 		ld		a, 80h
   188 		out		(38h), a
   149 		out		(38h), a
   189 		ld		hl, 0
   150 		ld		hl, 0
   190 
       
   191 p03loc_4159:
   151 p03loc_4159:
   192 		inc		hl
   152 		inc		hl
   193 		in		a, (4)
   153 		in		a, (4)
   194 		bit		7, a
   154 		bit		7, a
   195 		jr		z, p03loc_4159
   155 		jr		z, p03loc_4159
   198 		ld		(curRow), de
   158 		ld		(curRow), de
   199 		call	j_DispHL
   159 		call	j_DispHL
   200 		call	j_getkey
   160 		call	j_getkey
   201 		call	j_ClrLCD
   161 		call	j_ClrLCD
   202 		ret
   162 		ret
   203 ; End of function p03sub_4146
       
   204 
       
   205 ; ---------------------------------------------------------------------------
       
   206 
   163 
   207 p03loc_4172:
   164 p03loc_4172:
   208 		ld		de, 8D4Fh
   165 		ld		de, 8D4Fh
   209 		call	p03sub_4368
   166 		call	p03sub_4368
   210 		jr		nz, p03loc_41AB
   167 		jr		nz, p03loc_41AB
   211 		call	NZIf83Plus
   168 		call	NZIf83Plus
   212 		jr		nz, p03loc_4198
   169 		jr		nz, p03loc_4198
   213 		xor		a
   170 		xor		a
   214 		out		(27h), a
   171 		out		(27h), a
   215 		ld		a, 2
   172 		ld		a, 2
   216 
       
   217 p03loc_4184:
   173 p03loc_4184:
   218 		push	af
   174 		push	af
   219 		out		(5), a
   175 		out		(5), a
   220 		ld		de, 0C000h
   176 		ld		de, 0C000h
   221 		call	p03sub_4368
   177 		call	p03sub_4368
   224 		inc		a
   180 		inc		a
   225 		cp		8
   181 		cp		8
   226 		jr		c, p03loc_4184
   182 		jr		c, p03loc_4184
   227 		xor		a
   183 		xor		a
   228 		out		(5), a
   184 		out		(5), a
   229 
       
   230 p03loc_4198:
   185 p03loc_4198:
   231 		jp		p03loc_407D
   186 		jp		p03loc_407D
   232 ; ---------------------------------------------------------------------------
       
   233 
       
   234 p03loc_419B:
   187 p03loc_419B:
   235 		pop		bc
   188 		pop		bc
   236 		xor		a
   189 		xor		a
   237 		out		(5), a
   190 		out		(5), a
   238 		jr		p03loc_41AB
   191 		jr		p03loc_41AB
   239 
   192 
   240 ; =============== S U B	R O U T	I N E =======================================
       
   241 
       
   242 
       
   243 p03sub_41A1:
   193 p03sub_41A1:
   244 		; p03sub_409E+16Ap
       
   245 		add		a, 18h
   194 		add		a, 18h
   246 		or		0C0h ; '�'
   195 		or		0C0h
   247 		di
   196 		di
   248 		call	OutLCDCommand
   197 		call	OutLCDCommand
   249 		ei
   198 		ei
   250 		ret
   199 		ret
   251 ; End of function p03sub_41A1
       
   252 
       
   253 ; ---------------------------------------------------------------------------
       
   254 ; START	OF FUNCTION CHUNK FOR p03sub_409E
       
   255 
   200 
   256 p03loc_41AB:
   201 p03loc_41AB:
   257 		xor		a
   202 		xor		a
   258 		ld		(unk_9CAF), a
   203 		ld		(unk_9CAF), a
   259 		res		onInterrupt, (iy+onFlags)
   204 		res		onInterrupt, (iy+onFlags)
   260 		ld		de, 8181h
   205 		ld		de, 8181h
   261 		call	p03sub_424B
   206 		call	p03sub_424B
   262 		ld		d, 0FFh
   207 		ld		d, 0FFh
   263 		ld		b, 80h ; '�'
   208 		ld		b, 80h
   264 		call	p03sub_427C
   209 		call	p03sub_427C
   265 		ld		b, 0BFh	; '�'
   210 		ld		b, 0BFh
   266 		call	p03sub_427C
   211 		call	p03sub_427C
   267 		call	p03sub_4274
   212 		call	p03sub_4274
   268 		ld		a, 0FFh
   213 		ld		a, 0FFh
   269 		call	p03sub_426F
   214 		call	p03sub_426F
   270 		sub		a
   215 		sub		a
   271 		call	p03sub_426F
   216 		call	p03sub_426F
   272 		ld		d, 55h ; 'U'
   217 		ld		d, 55h
   273 		ld		e, 0AAh	; '�'
   218 		ld		e, 0AAh
   274 		call	p03sub_424B
   219 		call	p03sub_424B
   275 		call	j_getkey
   220 		call	j_getkey
   276 		or		a
   221 		or		a
   277 		jr		z, p03loc_41FE
   222 		jr		z, p03loc_41FE
   278 		ld		de, 0FFh
   223 		ld		de, 0FFh
   279 		call	p03sub_424B
   224 		call	p03sub_424B
   280 		call	j_getkey
   225 		call	j_getkey
   281 		or		a
   226 		or		a
   282 		jr		z, p03loc_41FE
   227 		jr		z, p03loc_41FE
   283 		ld		a, 0AAh	; '�'
   228 		ld		a, 0AAh
   284 		call	p03sub_426F
   229 		call	p03sub_426F
   285 		ld		c, 27h ; '''
   230 		ld		c, 27h
   286 
       
   287 p03loc_41F1:
   231 p03loc_41F1:
   288 		ld		a, c
   232 		ld		a, c
   289 		call	p03sub_41A1
   233 		call	p03sub_41A1
   290 		call	j_getkey
   234 		call	j_getkey
   291 		or		a
   235 		or		a
   292 		jr		z, p03loc_41FE
   236 		jr		z, p03loc_41FE
   293 		dec		c
   237 		dec		c
   294 		jr		nz, p03loc_41F1
   238 		jr		nz, p03loc_41F1
   295 
       
   296 p03loc_41FE:
   239 p03loc_41FE:
   297 		; p03sub_409E+14Aj ...
       
   298 		res		onInterrupt, (iy+onFlags)
   240 		res		onInterrupt, (iy+onFlags)
   299 		call	j_ClrScrn
   241 		call	j_ClrScrn
   300 		ld		a, (contrast)
   242 		ld		a, (contrast)
   301 		call	p03sub_41A1
   243 		call	p03sub_41A1
   302 		ld		ix, p03loc_42B3
   244 		ld		ix, p03loc_42B3
   303 		ld		b, 31h ; '1'
   245 		ld		b, 31h
   304 		call	SetSlowSpeed
   246 		call	SetSlowSpeed
   305 
       
   306 p03loc_4214:
   247 p03loc_4214:
   307 		ld		hl, 503h
   248 		ld		hl, 503h
   308 		ld		(curRow), hl
   249 		ld		(curRow), hl
   309 		ld		l, (ix+1)
   250 		ld		l, (ix+1)
   310 		ld		h, 0
   251 		ld		h, 0
   311 		call	j_DispHL
   252 		call	j_DispHL
   312 		ei
   253 		ei
   313 
       
   314 p03loc_4223:
   254 p03loc_4223:
   315 		call	GetCSC
   255 		call	GetCSC
   316 		call	IsOnInterruptSet
   256 		call	IsOnInterruptSet
   317 		jr		nz, p03loc_4248
   257 		jr		nz, p03loc_4248
   318 		cp		(ix+0)
   258 		cp		(ix+0)
   324 		ld		hl, 703h
   264 		ld		hl, 703h
   325 		ld		(curRow), hl
   265 		ld		(curRow), hl
   326 		ld		hl, aOk
   266 		ld		hl, aOk
   327 		call	j_PutS
   267 		call	j_PutS
   328 		call	j_getkey
   268 		call	j_getkey
   329 
       
   330 p03loc_4248:
   269 p03loc_4248:
   331 		jp		resetRam
   270 		jp		resetRam
   332 ; END OF FUNCTION CHUNK	FOR p03sub_409E
       
   333 
       
   334 ; =============== S U B	R O U T	I N E =======================================
       
   335 
       
   336 
   271 
   337 p03sub_424B:
   272 p03sub_424B:
   338 		; p03sub_409E+137p ...
       
   339 		di
   273 		di
   340 		ld		c, 20h ; ' '
   274 		ld		c, 20h
   341 
       
   342 p03loc_424E:
   275 p03loc_424E:
   343 		ld		a, 80h ; '�'
   276 		ld		a, 80h
   344 		call	OutLCDCommand
   277 		call	OutLCDCommand
   345 		ld		a, c
   278 		ld		a, c
   346 		call	OutLCDCommand
   279 		call	OutLCDCommand
   347 		ld		b, 20h ; ' '
   280 		ld		b, 20h
   348 
       
   349 p03loc_4259:
   281 p03loc_4259:
   350 		ld		a, d
   282 		ld		a, d
   351 		call	lcd_busy
   283 		call	lcd_busy
   352 		out		(11h), a
   284 		out		(11h), a
   353 		ld		a, e
   285 		ld		a, e
   354 		call	lcd_busy
   286 		call	lcd_busy
   355 		out		(11h), a
   287 		out		(11h), a
   356 		djnz	p03loc_4259
   288 		djnz	p03loc_4259
   357 		inc		c
   289 		inc		c
   358 		ld		a, c
   290 		ld		a, c
   359 		cp		2Ch ; ','
   291 		cp		2Ch
   360 		jr		nz, p03loc_424E
   292 		jr		nz, p03loc_424E
   361 		ei
   293 		ei
   362 		ret
   294 		ret
   363 ; End of function p03sub_424B
       
   364 
       
   365 
       
   366 ; =============== S U B	R O U T	I N E =======================================
       
   367 
       
   368 
   295 
   369 p03sub_426F:
   296 p03sub_426F:
   370 		; p03sub_409E+130p ...
       
   371 		ld		d, a
   297 		ld		d, a
   372 		ld		e, a
   298 		ld		e, a
   373 		call	p03sub_424B
   299 		call	p03sub_424B
   374 ; End of function p03sub_426F
       
   375 
       
   376 
       
   377 ; =============== S U B	R O U T	I N E =======================================
       
   378 
       
   379 
   300 
   380 p03sub_4274:
   301 p03sub_4274:
   381 		call	j_getkey
   302 		call	j_getkey
   382 		pop		hl
   303 		pop		hl
   383 		or		a
   304 		or		a
   384 		jr		z, p03loc_41FE
   305 		jr		z, p03loc_41FE
   385 		jp		(hl)
   306 		jp		(hl)
   386 ; End of function p03sub_4274
       
   387 
       
   388 
       
   389 ; =============== S U B	R O U T	I N E =======================================
       
   390 
       
   391 
   307 
   392 p03sub_427C:
   308 p03sub_427C:
   393 		; p03sub_409E+124p
       
   394 		di
   309 		di
   395 		ld		c, 20h ; ' '
   310 		ld		c, 20h
   396 
       
   397 p03loc_427F:
   311 p03loc_427F:
   398 		ld		a, b
   312 		ld		a, b
   399 		call	OutLCDCommand
   313 		call	OutLCDCommand
   400 		ld		a, c
   314 		ld		a, c
   401 		call	OutLCDCommand
   315 		call	OutLCDCommand
   402 		ld		a, d
   316 		ld		a, d
   403 		call	lcd_busy
   317 		call	lcd_busy
   404 		out		(11h), a
   318 		out		(11h), a
   405 		inc		c
   319 		inc		c
   406 		ld		a, c
   320 		ld		a, c
   407 		cp		2Ch ; ','
   321 		cp		2Ch
   408 		jr		nz, p03loc_427F
   322 		jr		nz, p03loc_427F
   409 		ei
   323 		ei
   410 		ret
   324 		ret
   411 ; End of function p03sub_427C
       
   412 
       
   413 ; ---------------------------------------------------------------------------
       
   414 ; START	OF FUNCTION CHUNK FOR p03sub_4368
       
   415 
   325 
   416 p03loc_4295:
   326 p03loc_4295:
   417 		call	p03sub_429B
   327 		call	p03sub_429B
   418 		jp		resetRam
   328 		jp		resetRam
   419 ; END OF FUNCTION CHUNK	FOR p03sub_4368
       
   420 
       
   421 ; =============== S U B	R O U T	I N E =======================================
       
   422 
       
   423 
   329 
   424 p03sub_429B:
   330 p03sub_429B:
   425 		; p03sub_4368:p03loc_4295p
       
   426 		push	hl
   331 		push	hl
   427 		call	j_ClrScrn
   332 		call	j_ClrScrn
   428 		ld		hl, 503h
   333 		ld		hl, 503h
   429 		ld		(curRow), hl
   334 		ld		(curRow), hl
   430 		pop		hl
   335 		pop		hl
   431 		call	j_PutS
   336 		call	j_PutS
   432 		ld		hl, aFail
   337 		ld		hl, aFail
   433 		call	j_PutS
   338 		call	j_PutS
   434 		call	j_getkey
   339 		call	j_getkey
   435 		ret
   340 		ret
   436 ; End of function p03sub_429B
       
   437 
   341 
   438 p03loc_42B3:
   342 p03loc_42B3:
   439 		.db		35h	; 5
   343 		.db		35h
   440 		.db		0Bh
   344 		.db		0Bh
   441 		.db		34h	; 4
   345 		.db		34h
   442 		.db		0Ch
   346 		.db		0Ch
   443 		.db		33h	; 3
   347 		.db		33h
   444 		.db		0Dh
   348 		.db		0Dh
   445 		.db		32h	; 2
   349 		.db		32h
   446 		.db		0Eh
   350 		.db		0Eh
   447 		.db		31h	; 1
   351 		.db		31h
   448 		.db		0Fh
   352 		.db		0Fh
   449 		.db		36h	; 6
   353 		.db		36h
   450 		.db		15h
   354 		.db		15h
   451 		.db		37h	; 7
   355 		.db		37h
   452 		.db		16h
   356 		.db		16h
   453 		.db		38h	; 8
   357 		.db		38h
   454 		.db		17h
   358 		.db		17h
   455 		.db		2
   359 		.db		02h
   456 		.db		18h
   360 		.db		18h
   457 		.db		4
   361 		.db		04h 
   458 		.db		19h
   362 		.db		19h
   459 		.db		3
   363 		.db		03h 
   460 		.db		1Ah
   364 		.db		1Ah
   461 		.db		30h	; 0
   365 		.db		30h
   462 		.db		1Fh
   366 		.db		1Fh
   463 		.db		28h	; (
   367 		.db		28h
   464 		.db		20h
   368 		.db		20h
   465 		.db		20h
   369 		.db		20h
   466 		.db		21h	; !
   370 		.db		21h
   467 		.db		1
   371 		.db		01h  
   468 		.db		22h	; "
   372 		.db		22h
   469 		.db		2Fh	; /
   373 		.db		2Fh
   470 		.db		29h	; )
   374 		.db		29h
   471 		.db		27h	; '
   375 		.db		27h
   472 		.db		2Ah	; *
   376 		.db		2Ah
   473 		.db		1Fh
   377 		.db		1Fh
   474 		.db		2Bh	; +
   378 		.db		2Bh
   475 		.db		17h
   379 		.db		17h
   476 		.db		2Ch	; ,
   380 		.db		2Ch
   477 		.db		0Fh
   381 		.db		0Fh
   478 		.db		2Dh	; -
   382 		.db		2Dh
   479 		.db		2Eh	; .
   383 		.db		2Eh
   480 		.db		33h	; 3
   384 		.db		33h
   481 		.db		26h	; &
   385 		.db		26h
   482 		.db		34h	; 4
   386 		.db		34h
   483 		.db		1Eh
   387 		.db		1Eh
   484 		.db		35h	; 5
   388 		.db		35h
   485 		.db		16h
   389 		.db		16h
   486 		.db		36h	; 6
   390 		.db		36h
   487 		.db		0Eh
   391 		.db		0Eh
   488 		.db		37h	; 7
   392 		.db		37h
   489 		.db		2Dh	; -
   393 		.db		2Dh
   490 		.db		3Dh	; =
   394 		.db		3Dh
   491 		.db		25h	; %
   395 		.db		25h
   492 		.db		3Eh	; >
   396 		.db		3Eh
   493 		.db		1Dh
   397 		.db		1Dh
   494 		.db		3Fh	; ?
   398 		.db		3Fh
   495 		.db		15h
   399 		.db		15h
   496 		.db		40h	; @
   400 		.db		40h
   497 		.db		0Dh
   401 		.db		0Dh
   498 		.db		41h	; A
   402 		.db		41h
   499 		.db		2Ch	; ,
   403 		.db		2Ch
   500 		.db		47h	; G
   404 		.db		47h
   501 		.db		24h	; $
   405 		.db		24h
   502 		.db		48h	; H
   406 		.db		48h
   503 		.db		1Ch
   407 		.db		1Ch
   504 		.db		49h	; I
   408 		.db		49h
   505 		.db		14h
   409 		.db		14h
   506 		.db		4Ah	; J
   410 		.db		4Ah
   507 		.db		0Ch
   411 		.db		0Ch
   508 		.db		4Bh	; K
   412 		.db		4Bh
   509 		.db		2Bh	; +
   413 		.db		2Bh
   510 		.db		51h	; Q
   414 		.db		51h
   511 		.db		23h	; #
   415 		.db		23h
   512 		.db		52h	; R
   416 		.db		52h
   513 		.db		1Bh
   417 		.db		1Bh
   514 		.db		53h	; S
   418 		.db		53h
   515 		.db		13h
   419 		.db		13h
   516 		.db		54h	; T
   420 		.db		54h
   517 		.db		0Bh
   421 		.db		0Bh
   518 		.db		55h	; U
   422 		.db		55h
   519 		.db		2Ah	; *
   423 		.db		2Ah
   520 		.db		5Bh	; [
   424 		.db		5Bh
   521 		.db		22h	; "
   425 		.db		22h
   522 		.db		5Ch	; \
   426 		.db		5Ch
   523 		.db		1Ah
   427 		.db		1Ah
   524 		.db		5Dh	; ]
   428 		.db		5Dh
   525 		.db		12h
   429 		.db		12h
   526 		.db		5Eh	; ^
   430 		.db		5Eh
   527 		.db		0Ah
   431 		.db		0Ah
   528 		.db		5Fh	; _
   432 		.db		5Fh
   529 		.db		21h	; !
   433 		.db		21h
   530 		.db		66h	; f
   434 		.db		66h
   531 		.db		19h
   435 		.db		19h
   532 		.db		67h	; g
   436 		.db		67h
   533 		.db		11h
   437 		.db		11h
   534 		.db		68h	; h
   438 		.db		68h
   535 		.db		9
   439 		.db		09h
   536 		.db		69h	; i
   440 		.db		69h
   537 ; ---------------------------------------------------------------------------
       
   538 
   441 
   539 EVALF3A:
   442 EVALF3A:
   540 		ld		hl, kbdGetKy
   443 		ld		hl, kbdGetKy
   541 		ld		a, (hl)
   444 		ld		a, (hl)
   542 		or		a
   445 		or		a
   543 		jr		nz, p03loc_4320
   446 		jr		nz, p03loc_4320
   544 		ld		h, a
   447 		ld		h, a
   545 		ld		l, a
   448 		ld		l, a
   546 		jr		p03loc_432A
   449 		jr		p03loc_432A
   547 ; ---------------------------------------------------------------------------
       
   548 
       
   549 p03loc_4320:
   450 p03loc_4320:
   550 		ld		e, a
   451 		ld		e, a
   551 		ld		d, 0
   452 		ld		d, 0
   552 		ld		(hl), d
   453 		ld		(hl), d
   553 		ld		hl, p03loc_4330-1
   454 		ld		hl, p03loc_4330-1
   554 		add		hl, de
   455 		add		hl, de
   555 		ld		l, (hl)
   456 		ld		l, (hl)
   556 		ld		h, d
   457 		ld		h, d
   557 
       
   558 p03loc_432A:
   458 p03loc_432A:
   559 		call	SetXXXXOP2
   459 		call	SetXXXXOP2
   560 		jp		GetCSC
   460 		jp		GetCSC
   561 p03loc_4330:
   461 p03loc_4330:
   562 		.db		22h	; "
   462 		.db		22h
   563 		.db		18h
   463 		.db		18h
   564 		.db		1Ah
   464 		.db		1Ah
   565 		.db		19h
   465 		.db		19h
   566 		.db		0
   466 		.db		00h
   567 		.db		0
   467 		.db		00h
   568 		.db		0
   468 		.db		00h
   569 		.db		0
   469 		.db		00h
   570 		.db		69h	; i
   470 		.db		69h
   571 		.db		5Fh	; _
   471 		.db		5Fh
   572 		.db		55h	; U
   472 		.db		55h
   573 		.db		4Bh	; K
   473 		.db		4Bh
   574 		.db		41h	; A
   474 		.db		41h
   575 		.db		37h	; 7
   475 		.db		37h
   576 		.db		2Dh	; -
   476 		.db		2Dh
   577 		.db		0
   477 		.db		00h
   578 		.db		68h	; h
   478 		.db		68h
   579 		.db		5Eh	; ^
   479 		.db		5Eh
   580 		.db		54h	; T
   480 		.db		54h
   581 		.db		4Ah	; J
   481 		.db		4Ah
   582 		.db		40h	; @
   482 		.db		40h
   583 		.db		36h	; 6
   483 		.db		36h
   584 		.db		2Ch	; ,
   484 		.db		2Ch
   585 		.db		0
   485 		.db		00h
   586 		.db		67h	; g
   486 		.db		67h
   587 		.db		5Dh	; ]
   487 		.db		5Dh
   588 		.db		53h	; S
   488 		.db		53h
   589 		.db		49h	; I
   489 		.db		49h
   590 		.db		3Fh	; ?
   490 		.db		3Fh
   591 		.db		35h	; 5
   491 		.db		35h
   592 		.db		2Bh	; +
   492 		.db		2Bh
   593 		.db		21h	; !
   493 		.db		21h
   594 		.db		66h	; f
   494 		.db		66h
   595 		.db		5Ch	; \
   495 		.db		5Ch
   596 		.db		52h	; R
   496 		.db		52h
   597 		.db		48h	; H
   497 		.db		48h
   598 		.db		3Eh	; >
   498 		.db		3Eh
   599 		.db		34h	; 4
   499 		.db		34h
   600 		.db		2Ah	; *
   500 		.db		2Ah
   601 		.db		20h
   501 		.db		20h
   602 		.db		0
   502 		.db		00h
   603 		.db		5Bh	; [
   503 		.db		5Bh
   604 		.db		51h	; Q
   504 		.db		51h
   605 		.db		47h	; G
   505 		.db		47h
   606 		.db		3Dh	; =
   506 		.db		3Dh
   607 		.db		33h	; 3
   507 		.db		33h
   608 		.db		29h	; )
   508 		.db		29h
   609 		.db		1Fh
   509 		.db		1Fh
   610 		.db		0Fh
   510 		.db		0Fh
   611 		.db		0Eh
   511 		.db		0Eh
   612 		.db		0Dh
   512 		.db		0Dh
   613 		.db		0Ch
   513 		.db		0Ch
   614 		.db		0Bh
   514 		.db		0Bh
   615 		.db		15h
   515 		.db		15h
   616 		.db		16h
   516 		.db		16h
   617 		.db		17h
   517 		.db		17h
   618 
   518 
   619 ; =============== S U B	R O U T	I N E =======================================
       
   620 
       
   621 
       
   622 p03sub_4368:
   519 p03sub_4368:
   623 
       
   624 
       
   625 
       
   626 		ld		hl, 0
   520 		ld		hl, 0
   627 		or		a
   521 		or		a
   628 		sbc		hl, de
   522 		sbc		hl, de
   629 		ex		de, hl
   523 		ex		de, hl
   630 		push	de
   524 		push	de
   631 		push	hl
   525 		push	hl
   632 
       
   633 p03loc_4371:
   526 p03loc_4371:
   634 		ld		b, 0
   527 		ld		b, 0
   635 
       
   636 p03loc_4373:
   528 p03loc_4373:
   637 		ld		(hl), b
   529 		ld		(hl), b
   638 		inc		hl
   530 		inc		hl
   639 		dec		de
   531 		dec		de
   640 		ld		a, e
   532 		ld		a, e
   641 		or		d
   533 		or		d
   642 		jr		z, p03loc_4382
   534 		jr		z, p03loc_4382
   643 		inc		b
   535 		inc		b
   644 		ld		a, b
   536 		ld		a, b
   645 		cp		0FBh ; '�'
   537 		cp		0FBh
   646 		jr		c, p03loc_4373
   538 		jr		c, p03loc_4373
   647 		jr		p03loc_4371
   539 		jr		p03loc_4371
   648 ; ---------------------------------------------------------------------------
       
   649 
       
   650 p03loc_4382:
   540 p03loc_4382:
   651 		pop		hl
   541 		pop		hl
   652 		pop		de
   542 		pop		de
   653 
       
   654 p03loc_4384:
   543 p03loc_4384:
   655 		ld		b, 0
   544 		ld		b, 0
   656 
       
   657 p03loc_4386:
   545 p03loc_4386:
   658 		push	de
   546 		push	de
   659 		push	hl
   547 		push	hl
   660 		ld		de, 9C86h
   548 		ld		de, 9C86h
   661 		or		a
   549 		or		a
   664 		pop		de
   552 		pop		de
   665 		jr		z, p03loc_4396
   553 		jr		z, p03loc_4396
   666 		ld		a, (hl)
   554 		ld		a, (hl)
   667 		cp		b
   555 		cp		b
   668 		jr		nz, p03loc_43A4
   556 		jr		nz, p03loc_43A4
   669 
       
   670 p03loc_4396:
   557 p03loc_4396:
   671 		inc		hl
   558 		inc		hl
   672 		dec		de
   559 		dec		de
   673 		ld		a, e
   560 		ld		a, e
   674 		or		d
   561 		or		d
   675 		jr		z, p03loc_43B3
   562 		jr		z, p03loc_43B3
   676 		inc		b
   563 		inc		b
   677 		ld		a, b
   564 		ld		a, b
   678 		cp		0FBh ; '�'
   565 		cp		0FBh
   679 		jr		c, p03loc_4386
   566 		jr		c, p03loc_4386
   680 		jr		p03loc_4384
   567 		jr		p03loc_4384
   681 ; ---------------------------------------------------------------------------
       
   682 
       
   683 p03loc_43A4:
   568 p03loc_43A4:
   684 		in		a, (2)
   569 		in		a, (2)
   685 		and		80h ; '�'
   570 		and		80h
   686 		jr		z, p03loc_43AD
   571 		jr		z, p03loc_43AD
   687 		xor		a
   572 		xor		a
   688 		out		(5), a
   573 		out		(5), a
   689 
       
   690 p03loc_43AD:
   574 p03loc_43AD:
   691 		ld		hl, aRam
   575 		ld		hl, aRam
   692 		jp		p03loc_4295
   576 		jp		p03loc_4295
   693 ; ---------------------------------------------------------------------------
       
   694 
       
   695 p03loc_43B3:
   577 p03loc_43B3:
   696 		call	IsOnInterruptSet
   578 		call	IsOnInterruptSet
   697 		ret
   579 		ret
   698 ; End of function p03sub_4368
   580 
   699 
   581 #ifndef DEVIATE_FROM_ORIGINAL_FILE
   700 ; ---------------------------------------------------------------------------
   582 ;Not referenced anywhere.
   701 		ld		a, 2
   583 		ld		a, 2
   702 		ld		de, 1
   584 		ld		de, 1
   703 		jr		p03loc_43C6
   585 		jr		p03loc_43C6
   704 
   586 #endif
   705 ; =============== S U B	R O U T	I N E =======================================
       
   706 
       
   707 
   587 
   708 Page03_3711:
   588 Page03_3711:
   709 		ld		hl, OP3
   589 		ld		hl, OP3
   710 
   590 GetK:	ld		a, 1
   711 GetK:
       
   712 		ld		a, 1
       
   713 		ld		de, 0
   591 		ld		de, 0
   714 
       
   715 p03loc_43C6:
   592 p03loc_43C6:
   716 		call	CheckSplitFlag
   593 		call	CheckSplitFlag
   717 		jr		z, p03loc_43CF
   594 		jr		z, p03loc_43CF
   718 		add		a, 3
   595 		add		a, 3
   719 		ld		e, a
   596 		ld		e, a
   720 		inc		a
   597 		inc		a
   721 
       
   722 p03loc_43CF:
   598 p03loc_43CF:
   723 		ld		(winTop), a
   599 		ld		(winTop), a
   724 		ld		(curRow), de
   600 		ld		(curRow), de
   725 		call	j_PutS
   601 		call	j_PutS
   726 		call	j_EraseEOL
   602 		call	j_EraseEOL
   727 		ret
   603 		ret
   728 ; End of function Page03_3711
       
   729 
       
   730 
       
   731 ; =============== S U B	R O U T	I N E =======================================
       
   732 
       
   733 
   604 
   734 p03sub_43DD:
   605 p03sub_43DD:
   735 		push	ix
   606 		push	ix
   736 		ld		ix, (unk_9700)
   607 		ld		ix, (unk_9700)
   737 		ld		a, 1
   608 		ld		a, 1
   738 		call	CheckSplitFlag
   609 		call	CheckSplitFlag
   739 		jr		z, p03loc_43EC
   610 		jr		z, p03loc_43EC
   740 		ld		a, 5
   611 		ld		a, 5
   741 
       
   742 p03loc_43EC:
   612 p03loc_43EC:
   743 		ld		(curRow), a
   613 		ld		(curRow), a
   744 		ld		a, (mcxCurApp)
   614 		ld		a, (mcxCurApp)
   745 		cp		53h ; 'S'
   615 		cp		kSolveTVM
   746 		jr		nz, p03loc_43FA
   616 		jr		nz, p03loc_43FA
   747 		ld		hl, curRow
   617 		ld		hl, curRow
   748 		dec		(hl)
   618 		dec		(hl)
   749 
       
   750 p03loc_43FA:
   619 p03loc_43FA:
   751 		sub		a
   620 		sub		a
   752 		ld		(curRow+1), a
   621 		ld		(curCol), a
   753 		ld		a, (curRow)
   622 		ld		a, (curRow)
   754 		ld		hl, winBtm
   623 		ld		hl, winBtm
   755 		cp		(hl)
   624 		cp		(hl)
   756 		jr		nc, p03loc_441E
   625 		jr		nc, p03loc_441E
   757 		call	p03sub_4E6C
   626 		call	p03sub_4E6C
   761 		ld		de, 3
   630 		ld		de, 3
   762 		add		ix, de
   631 		add		ix, de
   763 		ld		hl, curRow
   632 		ld		hl, curRow
   764 		inc		(hl)
   633 		inc		(hl)
   765 		jr		p03loc_43FA
   634 		jr		p03loc_43FA
   766 ; ---------------------------------------------------------------------------
       
   767 
       
   768 p03loc_441B:
   635 p03loc_441B:
   769 		call	j_EraseEOW2
   636 		call	j_EraseEOW2
   770 
       
   771 p03loc_441E:
   637 p03loc_441E:
   772 		pop		ix
   638 		pop		ix
   773 		ret
   639 		ret
   774 ; End of function p03sub_43DD
       
   775 
       
   776 
       
   777 ; =============== S U B	R O U T	I N E =======================================
       
   778 
       
   779 
   640 
   780 Page03_371D:
   641 Page03_371D:
   781 		sub		a
   642 		sub		a
   782 		ld		(curRow+1), a
   643 		ld		(curCol), a
   783 		ld		a, (curRow)
   644 		ld		a, (curRow)
   784 		ld		hl, winBtm
   645 		ld		hl, winBtm
   785 		cp		(hl)
   646 		cp		(hl)
   786 		jr		nc, p03loc_445C
   647 		jr		nc, p03loc_445C
   787 		ld		a, 20h ; ' '
   648 		ld		a, ' '
   788 		call	j_PutC
   649 		call	j_PutC
   789 		ld		a, (unk_9813)
   650 		ld		a, (unk_9813)
   790 		ld		e, a
   651 		ld		e, a
   791 		ld		d, 5Eh ; '^'
   652 		ld		d, 5Eh
   792 		call	j_GETTOKSTRING
   653 		call	j_GETTOKSTRING
   793 		call	j_PutPS
   654 		call	j_PutPS
   794 		ld		a, 28h ; '('
   655 		ld		a, '('
   795 		call	j_PutC
   656 		call	j_PutC
   796 		ld		e, 1Fh
   657 		ld		e, 1Fh
   797 		ld		d, 63h ; 'c'
   658 		ld		d, 63h
   798 		call	j_GETTOKSTRING
   659 		call	j_GETTOKSTRING
   799 		call	j_PutPS
   660 		call	j_PutPS
   800 		ld		a, 29h ; ')'
   661 		ld		a, ')'
   801 		call	j_PutC
   662 		call	j_PutC
   802 		call	Page0Call_3627
   663 		call	Page0Call_3627
   803 		call	j_PutC
   664 		call	j_PutC
   804 		call	j_EraseEOL
   665 		call	j_EraseEOL
   805 
       
   806 p03loc_445C:
   666 p03loc_445C:
   807 		call	j_setNumWindow
   667 		call	j_setNumWindow
   808 ; End of function Page03_371D
       
   809 
       
   810 ; START	OF FUNCTION CHUNK FOR DisplayEditSysVar
       
   811 
       
   812 p03loc_445F:
   668 p03loc_445F:
   813 		call	Page03_3723
   669 		call	Page03_3723
   814 		call	j_CMP_NUM_INIT
   670 		call	j_CMP_NUM_INIT
   815 		or		a
   671 		or		a
   816 		ret		z
   672 		ret		z
   817 		push	af
   673 		push	af
   818 		ld		a, 7Bh ; '{'
   674 		ld		a, 7Bh ;'{'
   819 		call	j_wputc
   675 		call	j_wputc
   820 		call	Page03_3723
   676 		call	Page03_3723
   821 		ld		de, OP1
   677 		ld		de, OP1
   822 		call	mov9B2
   678 		call	mov9B2
   823 		call	p03sub_44C6
   679 		call	p03sub_44C6
   824 		pop		af
   680 		pop		af
   825 		cp		1
   681 		cp		1
   826 		jr		z, p03loc_4490
   682 		jr		z, p03loc_4490
   827 		ld		a, 2Ch ; ','
   683 		ld		a, ','
   828 		call	p03sub_4492
   684 		call	p03sub_4492
   829 		call	Page03_3723
   685 		call	Page03_3723
   830 		ex		de, hl
   686 		ex		de, hl
   831 		ld		de, OP1
   687 		ld		de, OP1
   832 		call	mov9B2
   688 		call	mov9B2
   833 		call	p03sub_44C6
   689 		call	p03sub_44C6
   834 
       
   835 p03loc_4490:
   690 p03loc_4490:
   836 		ld		a, 7Dh ; '}'
   691 		ld		a, '}'
   837 ; END OF FUNCTION CHUNK	FOR DisplayEditSysVar
       
   838 
       
   839 ; =============== S U B	R O U T	I N E =======================================
       
   840 
       
   841 
       
   842 p03sub_4492:
   692 p03sub_4492:
   843 		ld		b, a
   693 		ld		b, a
   844 		ld		a, (curRow)
   694 		ld		a, (curRow)
   845 		inc		a
   695 		inc		a
   846 		ld		hl, winBtm
   696 		ld		hl, winBtm
   847 		cp		(hl)
   697 		cp		(hl)
   848 		ld		a, b
   698 		ld		a, b
   849 		jr		nc, p03loc_44AB
   699 		jr		nc, p03loc_44AB
   850 
       
   851 p03loc_449E:
   700 p03loc_449E:
   852 		ld		de, (curRow)
   701 		ld		de, (curRow)
   853 		push	de
   702 		push	de
   854 		call	j_wputc
   703 		call	j_wputc
   855 		pop		hl
   704 		pop		hl
   856 		ld		(curRow), hl
   705 		ld		(curRow), hl
   857 		ret
   706 		ret
   858 ; ---------------------------------------------------------------------------
       
   859 
   707 
   860 p03loc_44AB:
   708 p03loc_44AB:
   861 		bit		appAutoScroll, (iy+appFlags)
   709 		bit		appAutoScroll, (iy+appFlags)
   862 		jr		z, p03loc_449E
   710 		jr		z, p03loc_449E
   863 		res		appAutoScroll, (iy+appFlags)
   711 		res		appAutoScroll, (iy+appFlags)
   866 		call	j_wputc
   714 		call	j_wputc
   867 		pop		hl
   715 		pop		hl
   868 		ld		(curRow), hl
   716 		ld		(curRow), hl
   869 		set		appAutoScroll, (iy+appFlags)
   717 		set		appAutoScroll, (iy+appFlags)
   870 		ret
   718 		ret
   871 ; End of function p03sub_4492
       
   872 
       
   873 
       
   874 ; =============== S U B	R O U T	I N E =======================================
       
   875 
       
   876 
   719 
   877 p03sub_44C6:
   720 p03sub_44C6:
   878 		bit		appAutoScroll, (iy+appFlags)
   721 		bit		appAutoScroll, (iy+appFlags)
   879 		jp		z, p03loc_4587
   722 		jp		z, p03loc_4587
   880 		res		appAutoScroll, (iy+appFlags)
   723 		res		appAutoScroll, (iy+appFlags)
   881 		call	p03loc_4587
   724 		call	p03loc_4587
   882 		set		appAutoScroll, (iy+appFlags)
   725 		set		appAutoScroll, (iy+appFlags)
   883 		ret
   726 		ret
   884 ; End of function p03sub_44C6
       
   885 
       
   886 
       
   887 ; =============== S U B	R O U T	I N E =======================================
       
   888 
       
   889 
   727 
   890 Page03_3723:
   728 Page03_3723:
   891 		ld		a, (unk_9813)
   729 		ld		a, (unk_9813)
   892 		res		7, a
   730 		res		7, a
   893 		ld		hl, u0
   731 		ld		hl, u0
   899 		dec		a
   737 		dec		a
   900 		ret		m
   738 		ret		m
   901 		ld		hl, w0
   739 		ld		hl, w0
   902 		ld		de, w02
   740 		ld		de, w02
   903 		ret
   741 		ret
   904 ; End of function Page03_3723
       
   905 
       
   906 
       
   907 ; =============== S U B	R O U T	I N E =======================================
       
   908 
       
   909 
   742 
   910 setTitle:
   743 setTitle:
   911 		sub		a
   744 		sub		a
   912 		ld		(curRow+1), a
   745 		ld		(curCol), a
   913 		ld		a, (winBtm)
   746 		ld		a, (winBtm)
   914 		dec		a
   747 		dec		a
   915 		ld		hl, curRow
   748 		ld		hl, curRow
   916 		cp		(hl)
   749 		cp		(hl)
   917 		jr		nz, p03loc_451A
   750 		jr		nz, p03loc_451A
   918 		ld		a, 1
   751 		ld		a, 1
   919 		bit		windowHookActive, (iy+hookflags3)
   752 		bit		windowHookActive, (iy+hookflags3)
   920 		jr		z, p03loc_4510
   753 		jr		z, p03loc_4510
   921 		call	Page0Call_362D
   754 		call	Page0Call_362D
   922 		jr		nz, p03loc_4513
   755 		jr		nz, p03loc_4513
   923 
       
   924 p03loc_4510:
   756 p03loc_4510:
   925 		ld		a, (ix+3)
   757 		ld		a, (ix+3)
   926 
       
   927 p03loc_4513:
   758 p03loc_4513:
   928 		inc		a
   759 		inc		a
   929 		jr		z, p03loc_453E
   760 		jr		z, p03loc_453E
   930 		ld		a, 1Fh
   761 		ld		a, 1Fh
   931 		jr		p03loc_4540
   762 		jr		p03loc_4540
   932 ; ---------------------------------------------------------------------------
       
   933 
       
   934 p03loc_451A:
   763 p03loc_451A:
   935 		ld		a, (winTop)
   764 		ld		a, (winTop)
   936 		cp		(hl)
   765 		cp		(hl)
   937 		jr		nz, p03loc_453E
   766 		jr		nz, p03loc_453E
   938 		ld		a, (mcxCurApp)
   767 		ld		a, (mcxCurApp)
   939 		cp		53h ; 'S'
   768 		cp		kSolveTVM
   940 		jr		z, p03loc_453E
   769 		jr		z, p03loc_453E
   941 		ld		a, 2
   770 		ld		a, 2
   942 		bit		windowHookActive, (iy+hookflags3)
   771 		bit		windowHookActive, (iy+hookflags3)
   943 		jr		z, p03loc_4534
   772 		jr		z, p03loc_4534
   944 		call	Page0Call_362D
   773 		call	Page0Call_362D
   945 		jr		nz, p03loc_4537
   774 		jr		nz, p03loc_4537
   946 
       
   947 p03loc_4534:
   775 p03loc_4534:
   948 		ld		a, (ix+0FDh)
   776 		ld		a, (ix+0FDh)
   949 
       
   950 p03loc_4537:
   777 p03loc_4537:
   951 		inc		a
   778 		inc		a
   952 		jr		z, p03loc_453E
   779 		jr		z, p03loc_453E
   953 		ld		a, 1Eh
   780 		ld		a, 1Eh
   954 		jr		p03loc_4540
   781 		jr		p03loc_4540
   955 ; ---------------------------------------------------------------------------
       
   956 
       
   957 p03loc_453E:
   782 p03loc_453E:
   958 		ld		a, 20h ; ' '
   783 		ld		a, ' '
   959 
       
   960 p03loc_4540:
   784 p03loc_4540:
   961 		call	j_PutC
   785 		call	j_PutC
   962 		bit		windowHookActive, (iy+hookflags3)
   786 		bit		windowHookActive, (iy+hookflags3)
   963 		jr		z, p03loc_454F
   787 		jr		z, p03loc_454F
   964 		ld		a, 3
   788 		ld		a, 3
   965 		call	Page0Call_362D
   789 		call	Page0Call_362D
   966 		ret		nz
   790 		ret		nz
   967 
       
   968 p03loc_454F:
   791 p03loc_454F:
   969 		ld		l, (ix+1)
   792 		ld		l, (ix+1)
   970 		ld		h, (ix+2)
   793 		ld		h, (ix+2)
   971 		bit		localizeHookActive, (iy+hookflags3)
   794 		bit		localizeHookActive, (iy+hookflags3)
   972 		jr		z, p03loc_4565
   795 		jr		z, p03loc_4565
   973 		push	bc
   796 		push	bc
   974 		ld		b, (ix+0)
   797 		ld		b, (ix+0)
   975 		ld		a, 14h
   798 		ld		a, 14h
   976 		call	j_call_character_hook
   799 		call	j_call_character_hook
   977 		pop		bc
   800 		pop		bc
   978 
       
   979 p03loc_4565:
   801 p03loc_4565:
   980 		call	p03sub_7530
   802 		call	IsInfStatContext
   981 		ret		z
   803 		ret		z
   982 		call	p03sub_4D49
   804 		call	p03sub_4D49
   983 		ld		a, 3Dh ; '='
   805 		ld		a, '='
   984 		call	j_PutC
   806 		call	j_PutC
   985 		call	j_setNumWindow
   807 		call	j_setNumWindow
   986 
       
   987 p03loc_4574:
   808 p03loc_4574:
   988 		call	p03sub_7530
   809 		call	IsInfStatContext
   989 		jr		nz, p03sub_4581
   810 		jr		nz, p03sub_4581
   990 		ld		a, (ix+0)
   811 		ld		a, (ix+0)
   991 		call	Rcl_StatVar
   812 		call	Rcl_StatVar
   992 		jr		p03loc_4587
   813 		jr		p03loc_4587
   993 ; End of function setTitle
       
   994 
       
   995 
       
   996 ; =============== S U B	R O U T	I N E =======================================
       
   997 
       
   998 
       
   999 p03sub_4581:
   814 p03sub_4581:
  1000 		ld		a, (ix+0)
   815 		ld		a, (ix+0)
  1001 		call	j_RclSysTok
   816 		call	j_RclSysTok
  1002 
       
  1003 p03loc_4587:
   817 p03loc_4587:
  1004 		ld		a, 15h
   818 		ld		a, 15h
  1005 		call	j_FormEReal
   819 		call	j_FormEReal
  1006 		ld		hl, OP3
   820 		ld		hl, OP3
  1007 		call	j_wputsEOL
   821 		call	j_wputsEOL
  1008 		ld		a, (ix+0)
   822 		ld		a, (ix+0)
  1009 		cp		30h ; '0'
   823 		cp		'0'
  1010 		ret		nz
   824 		ret		nz
  1011 		ld		a, (mcxCurApp)
   825 		ld		a, (mcxCurApp)
  1012 		cp		53h ; 'S'
   826 		cp		kSolveTVM
  1013 		ret		nz
   827 		ret		nz
  1014 		ld		hl, curRow
   828 		ld		hl, curRow
  1015 		inc		(hl)
   829 		inc		(hl)
  1016 		call	j_setNumWindow
   830 		call	j_setNumWindow
  1017 		ld		de, 3
   831 		ld		de, 3
  1021 		dec		(hl)
   835 		dec		(hl)
  1022 		call	j_setNumWindow
   836 		call	j_setNumWindow
  1023 		ld		de, 0FFFDh
   837 		ld		de, 0FFFDh
  1024 		add		ix, de
   838 		add		ix, de
  1025 		ret
   839 		ret
  1026 ; End of function p03sub_4581
       
  1027 
       
  1028 
       
  1029 ; =============== S U B	R O U T	I N E =======================================
       
  1030 
       
  1031 
   840 
  1032 p03sub_45BA:
   841 p03sub_45BA:
  1033 		ld		a, 6
   842 		ld		a, 6
  1034 		ld		(curRow), a
   843 		ld		(curRow), a
  1035 		jr		p03loc_45E3
   844 		jr		p03loc_45E3
  1036 ; End of function p03sub_45BA
       
  1037 
       
  1038 
       
  1039 ; =============== S U B	R O U T	I N E =======================================
       
  1040 
       
  1041 
       
  1042 p03sub_45C1:
   845 p03sub_45C1:
  1043 		ld		a, 2
   846 		ld		a, 2
  1044 		call	CheckSplitFlag
   847 		call	CheckSplitFlag
  1045 		jr		z, p03loc_45D5
   848 		jr		z, p03loc_45D5
  1046 		ld		a, 6
   849 		ld		a, 6
  1047 		jr		p03loc_45D5
   850 		jr		p03loc_45D5
  1048 ; End of function p03sub_45C1
       
  1049 
       
  1050 
       
  1051 ; =============== S U B	R O U T	I N E =======================================
       
  1052 
       
  1053 
       
  1054 Page03_372F:
   851 Page03_372F:
  1055 		ld		a, 1
   852 		ld		a, 1
  1056 		call	CheckSplitFlag
   853 		call	CheckSplitFlag
  1057 		jr		z, p03loc_45D5
   854 		jr		z, p03loc_45D5
  1058 		ld		a, 5
   855 		ld		a, 5
  1059 
       
  1060 p03loc_45D5:
   856 p03loc_45D5:
  1061 		ld		(curRow), a
   857 		ld		(curRow), a
  1062 		ld		a, (mcxCurApp)
   858 		ld		a, (mcxCurApp)
  1063 		cp		53h ; 'S'
   859 		cp		kSolveTVM
  1064 		jr		nz, p03loc_45E3
   860 		jr		nz, p03loc_45E3
  1065 		ld		hl, curRow
   861 		ld		hl, curRow
  1066 		dec		(hl)
   862 		dec		(hl)
  1067 
       
  1068 p03loc_45E3:
   863 p03loc_45E3:
  1069 		; Page03_372F+11j ...
       
  1070 		call	CanAlphIns
   864 		call	CanAlphIns
  1071 		call	RecallEd
   865 		call	RecallEd
  1072 		ld		hl, (unk_9700)
   866 		ld		hl, (unk_9700)
  1073 		call	p03sub_7530
   867 		call	IsInfStatContext
  1074 		jr		nz, p03loc_4602
   868 		jr		nz, p03loc_4602
  1075 		ld		a, (hl)
   869 		ld		a, (hl)
  1076 		call	Rcl_StatVar
   870 		call	Rcl_StatVar
  1077 		call	CkOP1Real
   871 		call	CkOP1Real
  1078 		cp		0Eh
   872 		cp		0Eh
  1079 		jr		nz, p03loc_4600
   873 		jr		nz, p03loc_4600
  1080 		xor		a
   874 		xor		a
  1081 		ld		(OP1), a
   875 		ld		(OP1), a
  1082 
       
  1083 p03loc_4600:
   876 p03loc_4600:
  1084 		jr		Page03_3735
   877 		jr		Page03_3735
  1085 ; ---------------------------------------------------------------------------
       
  1086 
       
  1087 p03loc_4602:
   878 p03loc_4602:
  1088 		bit		windowHookActive, (iy+hookflags3)
   879 		bit		windowHookActive, (iy+hookflags3)
  1089 		jr		z, p03loc_460F
   880 		jr		z, p03loc_460F
  1090 		ld		a, 5
   881 		ld		a, 5
  1091 		call	Page0Call_362D
   882 		call	Page0Call_362D
  1092 		jr		nz, Page03_3735
   883 		jr		nz, Page03_3735
  1093 
       
  1094 p03loc_460F:
   884 p03loc_460F:
  1095 		ld		a, (hl)
   885 		ld		a, (hl)
  1096 		call	j_RclSysTok
   886 		call	j_RclSysTok
  1097 
       
  1098 Page03_3735:
   887 Page03_3735:
  1099 		; Page03_372F+41j
       
  1100 		call	j_OP1toEdit
   888 		call	j_OP1toEdit
  1101 
       
  1102 dispVarVal:
   889 dispVarVal:
  1103 		jr		nc, Page03_3741
   890 		jr		nc, Page03_3741
  1104 		call	releaseBuffer
   891 		call	releaseBuffer
  1105 		jp		ErrMemory_NoGoTo
   892 		jp		ErrMemory_NoGoTo
  1106 ; ---------------------------------------------------------------------------
       
  1107 
       
  1108 Page03_3741:
   893 Page03_3741:
  1109 		call	j_BufToTop
   894 		call	j_BufToTop
  1110 		call	j_fdispEOL
   895 		call	j_fdispEOL
  1111 		res		5, (iy+5)
   896 		res		5, (iy+5)
  1112 		ret
   897 		ret
  1113 ; End of function Page03_372F
       
  1114 
       
  1115 
       
  1116 ; =============== S U B	R O U T	I N E =======================================
       
  1117 
       
  1118 
   898 
  1119 Page03_3747:
   899 Page03_3747:
  1120 
       
  1121 		call	RecallEd
   900 		call	RecallEd
  1122 		call	Page03_3723
   901 		call	Page03_3723
  1123 		call	j_CMP_NUM_INIT
   902 		call	j_CMP_NUM_INIT
  1124 		or		a
   903 		or		a
  1125 		ret		z
   904 		ret		z
  1126 		call	j_MinToEdit
   905 		call	j_MinToEdit
  1127 		jr		nc, p03loc_463F
   906 		jr		nc, p03loc_463F
  1128 		call	releaseBuffer
   907 		call	releaseBuffer
  1129 		jp		ErrMemory_NoGoTo
   908 		jp		ErrMemory_NoGoTo
  1130 ; ---------------------------------------------------------------------------
       
  1131 
       
  1132 p03loc_463F:
   909 p03loc_463F:
  1133 		call	j_BufToTop
   910 		call	j_BufToTop
  1134 		call	j_fdispEOL
   911 		call	j_fdispEOL
  1135 		res		5, (iy+5)
   912 		res		5, (iy+5)
  1136 		ret
   913 		ret
  1137 ; End of function Page03_3747
       
  1138 
       
  1139 
       
  1140 ; =============== S U B	R O U T	I N E =======================================
       
  1141 
       
  1142 
   914 
  1143 RecallEd:
   915 RecallEd:
  1144 		; Page03_3747p
       
  1145 		call	Page03_37AD
   916 		call	Page03_37AD
  1146 
       
  1147 Page03_3753:
   917 Page03_3753:
  1148 		call	Page03_37A7
   918 		call	Page03_37A7
  1149 		set		6, (iy+5)
   919 		set		6, (iy+5)
  1150 		call	createNumEditBuf
   920 		call	createNumEditBuf
  1151 		ld		(editSym), hl
   921 		ld		(editSym), hl
  1152 		call	j_SetEmptyEditPtr
   922 		call	j_SetEmptyEditPtr
  1153 		ret
   923 		ret
  1154 ; End of function RecallEd
       
  1155 
       
  1156 
       
  1157 ; =============== S U B	R O U T	I N E =======================================
       
  1158 
       
  1159 
   924 
  1160 createNumEditBuf:
   925 createNumEditBuf:
  1161 		call	releaseBuffer
   926 		call	releaseBuffer
  1162 		ld		hl, ErrMemory_NoGoTo
   927 		ld		hl, ErrMemory_NoGoTo
  1163 		call	pushErrorHandleR
   928 		call	pushErrorHandleR
  1164 		ld		hl, 14h
   929 		ld		hl, 14h
  1165 		call	CreateEqu
   930 		call	CreateEqu
  1166 		call	popErrorHandleR
   931 		call	popErrorHandleR
  1167 		ret
   932 		ret
  1168 ; End of function createNumEditBuf
       
  1169 
       
  1170 ; ---------------------------------------------------------------------------
       
  1171 
   933 
  1172 ProcessBufKeys:
   934 ProcessBufKeys:
  1173 		push	af
   935 		push	af
  1174 		call	CallCommon
   936 		call	CallCommon
  1175 		pop		af
   937 		pop		af
  1176 		ret
   938 		ret
  1177 ; ---------------------------------------------------------------------------
   939 
       
   940 p03loc_4677:
  1178 		bit		windowHookActive, (iy+hookflags3)
   941 		bit		windowHookActive, (iy+hookflags3)
  1179 		jr		z, p03loc_4690
   942 		jr		z, p03loc_4690
  1180 		ld		b, a
   943 		ld		b, a
  1181 		push	ix
   944 		push	ix
  1182 		ld		ix, (unk_9700)
   945 		ld		ix, (unk_9700)
  1184 		ld		a, 0Ah
   947 		ld		a, 0Ah
  1185 		call	Page0Call_362D
   948 		call	Page0Call_362D
  1186 		pop		ix
   949 		pop		ix
  1187 		ret		nz
   950 		ret		nz
  1188 		ld		a, b
   951 		ld		a, b
  1189 
       
  1190 p03loc_4690:
   952 p03loc_4690:
  1191 		cp		27h ; '''
   953 		cp		27h
  1192 		jr		nz, p03loc_46B4
   954 		jr		nz, p03loc_46B4
  1193 		ld		a, (mcxCurApp)
   955 		ld		a, (mcxCurApp)
  1194 		cp		49h ; 'I'
   956 		cp		kYequ
  1195 		ret		z
   957 		ret		z
  1196 		call	p03sub_4B7F
   958 		call	p03sub_4B7F
  1197 		ld		a, (mcxCurApp)
   959 		ld		a, (mcxCurApp)
  1198 		cp		48h ; 'H'
   960 		cp		kWindow
  1199 		jp		z, InitWindowContext
   961 		jp		z, InitWindowContext
  1200 		cp		51h ; 'Q'
   962 		cp		kZFactEd
  1201 		jp		z, InitZoomContext
   963 		jp		z, InitZoomContext
  1202 		cp		4Bh ; 'K'
   964 		cp		kTblSet
  1203 		jp		z, InitTableSetContext
   965 		jp		z, InitTableSetContext
  1204 		cp		53h ; 'S'
   966 		cp		kSolveTVM
  1205 		jp		z, InitTVMContext
   967 		jp		z, InitTVMContext
  1206 
       
  1207 p03loc_46B4:
   968 p03loc_46B4:
  1208 		cp		5
   969 		cp		5
  1209 		jr		z, p03loc_46BD
   970 		jr		z, p03loc_46BD
  1210 		cp		4
   971 		cp		4
  1211 		jp		nz, p03loc_474F
   972 		jp		nz, p03loc_474F
  1212 
       
  1213 p03loc_46BD:
   973 p03loc_46BD:
  1214 		call	p03sub_473A
   974 		call	p03sub_473A
  1215 		jr		nz, p03loc_4710
   975 		jr		nz, p03loc_4710
  1216 		call	IsEditEmpty
   976 		call	IsEditEmpty
  1217 		ret		z
   977 		ret		z
  1220 		ld		a, 1
   980 		ld		a, 1
  1221 		bit		windowHookActive, (iy+hookflags3)
   981 		bit		windowHookActive, (iy+hookflags3)
  1222 		jr		z, p03loc_46D9
   982 		jr		z, p03loc_46D9
  1223 		call	Page0Call_362D
   983 		call	Page0Call_362D
  1224 		jr		nz, p03loc_46DC
   984 		jr		nz, p03loc_46DC
  1225 
       
  1226 p03loc_46D9:
   985 p03loc_46D9:
  1227 		ld		a, (ix+3)
   986 		ld		a, (ix+3)
  1228 
       
  1229 p03loc_46DC:
   987 p03loc_46DC:
  1230 		inc		a
   988 		inc		a
  1231 		jr		nz, p03loc_46EE
   989 		jr		nz, p03loc_46EE
  1232 		ld		a, (mcxCurApp)
   990 		ld		a, (mcxCurApp)
  1233 		cp		4Bh ; 'K'
   991 		cp		kTblSet
  1234 		jp		z, Page0Call_3657
   992 		jp		z, Page0Call_3657
  1235 		cp		53h ; 'S'
   993 		cp		kSolveTVM
  1236 		jr		nz, p03loc_470D
   994 		jr		nz, p03loc_470D
  1237 		jp		Page0Call_365D
   995 		jp		Page0Call_365D
  1238 ; ---------------------------------------------------------------------------
       
  1239 
       
  1240 p03loc_46EE:
   996 p03loc_46EE:
  1241 		call	p03sub_4742
   997 		call	p03sub_4742
  1242 		jp		nz, j_JForceYEqu
   998 		jp		nz, j_JForceYEqu
  1243 		ld		de, 3
   999 		ld		de, 3
  1244 		add		ix, de
  1000 		add		ix, de
  1245 		ld		(unk_9700), ix
  1001 		ld		(unk_9700), ix
  1246 		call	p03sub_4987
  1002 		call	p03sub_4987
  1247 		jr		c, p03loc_470A
  1003 		jr		c, p03loc_470A
  1248 		ld		(curRow+1), a
  1004 		ld		(curCol), a
  1249 		call	setTitle
  1005 		call	setTitle
  1250 		jr		p03loc_470D
  1006 		jr		p03loc_470D
  1251 ; ---------------------------------------------------------------------------
       
  1252 
       
  1253 p03loc_470A:
  1007 p03loc_470A:
  1254 		ld		(curRow), a
  1008 		ld		(curRow), a
  1255 
       
  1256 p03loc_470D:
  1009 p03loc_470D:
  1257 		jp		p03loc_45E3
  1010 		jp		p03loc_45E3
  1258 ; ---------------------------------------------------------------------------
       
  1259 
  1011 
  1260 p03loc_4710:
  1012 p03loc_4710:
  1261 		call	p03sub_4727
  1013 		call	p03sub_4727
  1262 		ld		a, (ix+3)
  1014 		ld		a, (ix+3)
  1263 		inc		a
  1015 		inc		a
  1266 		add		ix, de
  1018 		add		ix, de
  1267 		ld		(unk_9700), ix
  1019 		ld		(unk_9700), ix
  1268 		call	Page0Call_3669
  1020 		call	Page0Call_3669
  1269 		ret
  1021 		ret
  1270 
  1022 
  1271 ; =============== S U B	R O U T	I N E =======================================
       
  1272 
       
  1273 
       
  1274 p03sub_4727:
  1023 p03sub_4727:
  1275 
       
  1276 		call	ParseAndStoreSysVar
  1024 		call	ParseAndStoreSysVar
  1277 		bit		monAbandon, (iy+monFlags)
  1025 		bit		monAbandon, (iy+monFlags)
  1278 		call	z, DisplayEditSysVar
  1026 		call	z, DisplayEditSysVar
  1279 		res		monAbandon, (iy+monFlags)
  1027 		res		monAbandon, (iy+monFlags)
  1280 		ld		ix, (unk_9700)
  1028 		ld		ix, (unk_9700)
  1281 		ret
  1029 		ret
  1282 ; End of function p03sub_4727
       
  1283 
       
  1284 
       
  1285 ; =============== S U B	R O U T	I N E =======================================
       
  1286 
       
  1287 
  1030 
  1288 p03sub_473A:
  1031 p03sub_473A:
  1289 
       
  1290 		ld		hl, (unk_9700)
  1032 		ld		hl, (unk_9700)
  1291 		ld		a, (hl)
  1033 		ld		a, (hl)
  1292 		cp		1Fh
  1034 		cp		1Fh
  1293 		jr		z, p03loc_4749
  1035 		jr		z, p03loc_4749
  1294 ; End of function p03sub_473A
       
  1295 
       
  1296 
       
  1297 ; =============== S U B	R O U T	I N E =======================================
       
  1298 
       
  1299 
       
  1300 p03sub_4742:
  1036 p03sub_4742:
  1301 		; ParseAndStoreSysVar+5p
       
  1302 		ld		a, (mcxCurApp)
  1037 		ld		a, (mcxCurApp)
  1303 		cp		49h ; 'I'
  1038 		cp		kYequ
  1304 		jr		z, p03loc_474B
  1039 		jr		z, p03loc_474B
  1305 
       
  1306 p03loc_4749:
  1040 p03loc_4749:
  1307 		xor		a
  1041 		xor		a
  1308 		ret
  1042 		ret
  1309 ; ---------------------------------------------------------------------------
       
  1310 
  1043 
  1311 p03loc_474B:
  1044 p03loc_474B:
  1312 		call	IsRecursiveMode
  1045 		call	IsRecursiveMode
  1313 		ret
  1046 		ret
  1314 ; End of function p03sub_4742
       
  1315 
       
  1316 ; ---------------------------------------------------------------------------
       
  1317 
  1047 
  1318 p03loc_474F:
  1048 p03loc_474F:
  1319 		cp		6
  1049 		cp		6
  1320 		jr		nz, p03loc_4797
  1050 		jr		nz, p03loc_4797
  1321 		ld		a, (mcxCurApp)
  1051 		ld		a, (mcxCurApp)
  1322 		cp		53h ; 'S'
  1052 		cp		kSolveTVM
  1323 		ret		nz
  1053 		ret		nz
  1324 		ld		hl, (unk_9700)
  1054 		ld		hl, (unk_9700)
  1325 		ld		a, (hl)
  1055 		ld		a, (hl)
  1326 		cp		30h ; '0'
  1056 		cp		'0'
  1327 		ret		nc
  1057 		ret		nc
  1328 		push	af
  1058 		push	af
  1329 		call	Page0Call_366F
  1059 		call	Page0Call_366F
  1330 		call	closeeditbufnor
  1060 		call	closeeditbufnor
  1331 		pop		af
  1061 		pop		af
  1332 		sub		2Bh ; '+'
  1062 		sub		'+'
  1333 		ld		hl, p03loc_4D62
  1063 		ld		hl, p03loc_4D62
  1334 		ld		e, a
  1064 		ld		e, a
  1335 		ld		d, 0
  1065 		ld		d, 0
  1336 		add		hl, de
  1066 		add		hl, de
  1337 		ld		a, (hl)
  1067 		ld		a, (hl)
  1342 		call	p03sub_4AE9
  1072 		call	p03sub_4AE9
  1343 		set		1, (iy+19h)
  1073 		set		1, (iy+19h)
  1344 		ld		hl, (curRow)
  1074 		ld		hl, (curRow)
  1345 		push	hl
  1075 		push	hl
  1346 		sub		a
  1076 		sub		a
  1347 		ld		(curRow+1), a
  1077 		ld		(curCol), a
  1348 		ld		a, 0D0h	; '�'
  1078 		ld		a, 0D0h
  1349 		call	j_PutC
  1079 		call	j_PutC
  1350 		pop		hl
  1080 		pop		hl
  1351 		ld		(curRow), hl
  1081 		ld		(curRow), hl
  1352 		jp		p03loc_45E3
  1082 		jp		p03loc_45E3
  1353 ; ---------------------------------------------------------------------------
       
  1354 
       
  1355 p03loc_4797:
  1083 p03loc_4797:
  1356 		cp		3
  1084 		cp		3
  1357 		jr		nz, p03loc_4814
  1085 		jr		nz, p03loc_4814
  1358 
       
  1359 Page03_3765:
  1086 Page03_3765:
  1360 		call	p03sub_473A
  1087 		call	p03sub_473A
  1361 		jr		nz, Page03_3771
  1088 		jr		nz, Page03_3771
  1362 		call	IsEditEmpty
  1089 		call	IsEditEmpty
  1363 		ret		z
  1090 		ret		z
  1366 		ld		a, 2
  1093 		ld		a, 2
  1367 		bit		windowHookActive, (iy+hookflags3)
  1094 		bit		windowHookActive, (iy+hookflags3)
  1368 		jr		z, p03loc_47B7
  1095 		jr		z, p03loc_47B7
  1369 		call	Page0Call_362D
  1096 		call	Page0Call_362D
  1370 		jr		nz, p03loc_47BA
  1097 		jr		nz, p03loc_47BA
  1371 
       
  1372 p03loc_47B7:
  1098 p03loc_47B7:
  1373 		ld		a, (ix+0FDh)
  1099 		ld		a, (ix+0FDh)
  1374 
       
  1375 p03loc_47BA:
  1100 p03loc_47BA:
  1376 		inc		a
  1101 		inc		a
  1377 		jr		nz, p03loc_47C8
  1102 		jr		nz, p03loc_47C8
  1378 		ld		a, (mcxCurApp)
  1103 		ld		a, (mcxCurApp)
  1379 		cp		49h ; 'I'
  1104 		cp		kYequ
  1380 		jr		nz, p03loc_47DE
  1105 		jr		nz, p03loc_47DE
  1381 		call	Page0Call_367B
  1106 		call	Page0Call_367B
  1382 		ret
  1107 		ret
  1383 ; ---------------------------------------------------------------------------
       
  1384 
       
  1385 p03loc_47C8:
  1108 p03loc_47C8:
  1386 		ld		de, 0FFFDh
  1109 		ld		de, 0FFFDh
  1387 		add		ix, de
  1110 		add		ix, de
  1388 		ld		(unk_9700), ix
  1111 		ld		(unk_9700), ix
  1389 		call	Page03_3789
  1112 		call	Page03_3789
  1390 		jr		nc, p03loc_47DB
  1113 		jr		nc, p03loc_47DB
  1391 		call	setTitle
  1114 		call	setTitle
  1392 		jr		p03loc_47DE
  1115 		jr		p03loc_47DE
  1393 ; ---------------------------------------------------------------------------
       
  1394 
       
  1395 p03loc_47DB:
  1116 p03loc_47DB:
  1396 		ld		(curRow), a
  1117 		ld		(curRow), a
  1397 
       
  1398 p03loc_47DE:
  1118 p03loc_47DE:
  1399 		jp		p03loc_45E3
  1119 		jp		p03loc_45E3
  1400 ; ---------------------------------------------------------------------------
       
  1401 
  1120 
  1402 Page03_376B:
  1121 Page03_376B:
  1403 		ld		de, 0FFFDh
  1122 		ld		de, 0FFFDh
  1404 		add		ix, de
  1123 		add		ix, de
  1405 		ld		(unk_9700), ix
  1124 		ld		(unk_9700), ix
  1406 		call	Page03_3789
  1125 		call	Page03_3789
  1407 		jr		nc, p03loc_47F4
  1126 		jr		nc, p03loc_47F4
  1408 		call	Page03_371D
  1127 		call	Page03_371D
  1409 		jr		p03loc_47F7
  1128 		jr		p03loc_47F7
  1410 ; ---------------------------------------------------------------------------
       
  1411 
       
  1412 p03loc_47F4:
  1129 p03loc_47F4:
  1413 		ld		(curRow), a
  1130 		ld		(curRow), a
  1414 
       
  1415 p03loc_47F7:
  1131 p03loc_47F7:
  1416 		call	Page03_3747
  1132 		call	Page03_3747
  1417 		call	InitNumVec
  1133 		call	InitNumVec
  1418 		ret
  1134 		ret
  1419 ; ---------------------------------------------------------------------------
       
  1420 
  1135 
  1421 Page03_3771:
  1136 Page03_3771:
  1422 		call	p03sub_4727
  1137 		call	p03sub_4727
  1423 		ld		a, (ix+0FDh)
  1138 		ld		a, (ix+0FDh)
  1424 		inc		a
  1139 		inc		a
  1425 		jr		z, p03loc_4810
  1140 		jr		z, p03loc_4810
  1426 		ld		de, 0FFFDh
  1141 		ld		de, 0FFFDh
  1427 		add		ix, de
  1142 		add		ix, de
  1428 		ld		(unk_9700), ix
  1143 		ld		(unk_9700), ix
  1429 
       
  1430 p03loc_4810:
  1144 p03loc_4810:
  1431 		call	Page0Call_3687
  1145 		call	Page0Call_3687
  1432 		ret
  1146 		ret
  1433 ; ---------------------------------------------------------------------------
       
  1434 
  1147 
  1435 p03loc_4814:
  1148 p03loc_4814:
  1436 		bit		enableQueue, (iy+rclFlag)
  1149 		bit		enableQueue, (iy+rclFlag)
  1437 		jr		nz, CallCommon
  1150 		jr		nz, CallCommon
  1438 		cp		8Ah ; '�'
  1151 		cp		8Ah
  1439 		ret		z
  1152 		ret		z
  1440 
       
  1441 ; =============== S U B	R O U T	I N E =======================================
       
  1442 
       
  1443 
       
  1444 CallCommon:
  1153 CallCommon:
  1445 		cp		9
  1154 		cp		9
  1446 		jr		nz, p03loc_482E
  1155 		jr		nz, p03loc_482E
  1447 		set		5, (iy+5)
  1156 		set		5, (iy+5)
  1448 		call	CanAlphIns
  1157 		call	CanAlphIns
  1449 		call	Page0Call_366F
  1158 		call	Page0Call_366F
  1450 		jp		fDel
  1159 		jp		fDel
  1451 ; ---------------------------------------------------------------------------
       
  1452 
       
  1453 p03loc_482E:
  1160 p03loc_482E:
  1454 		cp		0Dh
  1161 		cp		0Dh
  1455 		jp		nz, p03loc_4858
  1162 		jp		nz, p03loc_4858
  1456 		set		cmdVirgin, (iy+cmdFlags)
  1163 		set		cmdVirgin, (iy+cmdFlags)
  1457 		set		5, (iy+5)
  1164 		set		5, (iy+5)
  1463 		call	j_RCLENTRYTOEDIT
  1170 		call	j_RCLENTRYTOEDIT
  1464 		res		cmdVirgin, (iy+cmdFlags)
  1171 		res		cmdVirgin, (iy+cmdFlags)
  1465 		call	j_BufToTop
  1172 		call	j_BufToTop
  1466 		call	j_fdispEOL
  1173 		call	j_fdispEOL
  1467 		ret
  1174 		ret
  1468 ; ---------------------------------------------------------------------------
       
  1469 
  1175 
  1470 p03loc_4858:
  1176 p03loc_4858:
  1471 		cp		2
  1177 		cp		2
  1472 		jr		nz, p03loc_489E
  1178 		jr		nz, p03loc_489E
  1473 		res		textInsMode, (iy+textFlags)
  1179 		res		textInsMode, (iy+textFlags)
  1474 		call	j_BufLeft
  1180 		call	j_BufLeft
  1475 		jp		z, p03sub_48F5
  1181 		jp		z, p03sub_48F5
  1476 ; End of function CallCommon
       
  1477 
       
  1478 
       
  1479 ; =============== S U B	R O U T	I N E =======================================
       
  1480 
       
  1481 
  1182 
  1482 CommonKeys:
  1183 CommonKeys:
  1483 
       
  1484 
       
  1485 
       
  1486 		res		textScrolled, (iy+textFlags)
  1184 		res		textScrolled, (iy+textFlags)
  1487 		call	IsAtTop
  1185 		call	IsAtTop
  1488 		jp		z, p03loc_48FE
  1186 		jp		z, p03loc_48FE
  1489 		ld		hl, (editTail)
  1187 		ld		hl, (editTail)
  1490 		call	j_BUFPEEK3
  1188 		call	j_BUFPEEK3
  1491 		call	j_GetTokLen
  1189 		call	j_GetTokLen
  1492 		ld		b, a
  1190 		ld		b, a
  1493 		ld		a, (curRow+1)
  1191 		ld		a, (curCol)
  1494 		sub		b
  1192 		sub		b
  1495 		jr		c, p03loc_4890
  1193 		jr		c, p03loc_4890
  1496 		ld		hl, winLeftEdge
  1194 		ld		hl, winLeftEdge
  1497 		cp		(hl)
  1195 		cp		(hl)
  1498 		jr		c, p03loc_4890
  1196 		jr		c, p03loc_4890
  1499 		jr		z, p03loc_4890
  1197 		jr		z, p03loc_4890
  1500 
       
  1501 p03loc_4888:
  1198 p03loc_4888:
  1502 		ld		(curRow+1), a
  1199 		ld		(curCol), a
  1503 		call	j_fdispEOL
  1200 		call	j_fdispEOL
  1504 		jr		p03sub_48F5
  1201 		jr		p03sub_48F5
  1505 ; ---------------------------------------------------------------------------
       
  1506 
       
  1507 p03loc_4890:
  1202 p03loc_4890:
  1508 		; CommonKeys+1Ej ...
       
  1509 		ld		a, (winLeftEdge)
  1203 		ld		a, (winLeftEdge)
  1510 		inc		a
  1204 		inc		a
  1511 		ld		(curRow+1), a
  1205 		ld		(curCol), a
  1512 		push	af
  1206 		push	af
  1513 		call	j_FDISPBOL
  1207 		call	j_FDISPBOL
  1514 		pop		af
  1208 		pop		af
  1515 		jr		p03loc_4888
  1209 		jr		p03loc_4888
  1516 ; End of function CommonKeys
       
  1517 
       
  1518 ; ---------------------------------------------------------------------------
       
  1519 ; START	OF FUNCTION CHUNK FOR CallCommon
       
  1520 
  1210 
  1521 p03loc_489E:
  1211 p03loc_489E:
  1522 		cp		1
  1212 		cp		1
  1523 		jr		nz, p03loc_48FA
  1213 		jr		nz, p03loc_48FA
  1524 		res		textInsMode, (iy+textFlags)
  1214 		res		textInsMode, (iy+textFlags)
  1534 		cp		0Fh
  1224 		cp		0Fh
  1535 		jr		c, p03loc_48F2
  1225 		jr		c, p03loc_48F2
  1536 		jr		nz, p03loc_48C3
  1226 		jr		nz, p03loc_48C3
  1537 		bit		1, (iy+0Eh)
  1227 		bit		1, (iy+0Eh)
  1538 		jr		z, p03loc_48F2
  1228 		jr		z, p03loc_48F2
  1539 
       
  1540 p03loc_48C3:
  1229 p03loc_48C3:
  1541 		ld		a, 0Eh
  1230 		ld		a, 0Eh
  1542 		ld		(curRow+1), a
  1231 		ld		(curCol), a
  1543 		call	j_BufRight
  1232 		call	j_BufRight
  1544 		jr		nz, p03loc_48DA
  1233 		jr		nz, p03loc_48DA
  1545 		call	j_BufLeft
  1234 		call	j_BufLeft
  1546 		push	de
  1235 		push	de
  1547 		call	j_BufRight
  1236 		call	j_BufRight
  1548 		pop		de
  1237 		pop		de
  1549 		call	j_putbuf
  1238 		call	j_putbuf
  1550 		jr		p03sub_48F5
  1239 		jr		p03sub_48F5
  1551 ; ---------------------------------------------------------------------------
       
  1552 
       
  1553 p03loc_48DA:
  1240 p03loc_48DA:
  1554 		push	de
  1241 		push	de
  1555 		call	j_GetTokLen
  1242 		call	j_GetTokLen
  1556 		pop		de
  1243 		pop		de
  1557 		push	af
  1244 		push	af
  1558 		scf
  1245 		scf
  1559 		call	j_putbuf1
  1246 		call	j_putbuf1
  1560 		call	j_BufLeft
  1247 		call	j_BufLeft
  1561 		pop		bc
  1248 		pop		bc
  1562 		ld		a, (curRow+1)
  1249 		ld		a, (curCol)
  1563 		sub		b
  1250 		sub		b
  1564 		ld		hl, winLeftEdge
  1251 		ld		hl, winLeftEdge
  1565 		cp		(hl)
  1252 		cp		(hl)
  1566 		jr		c, p03loc_4890
  1253 		jr		c, p03loc_4890
  1567 
       
  1568 p03loc_48F2:
  1254 p03loc_48F2:
  1569 		; CallCommon+A4j
  1255 		ld		(curCol), a
  1570 		ld		(curRow+1), a
       
  1571 ; END OF FUNCTION CHUNK	FOR CallCommon
       
  1572 
       
  1573 ; =============== S U B	R O U T	I N E =======================================
       
  1574 
       
  1575 
       
  1576 p03sub_48F5:
  1256 p03sub_48F5:
  1577 		; CommonKeys+28j ...
       
  1578 		res		6, (iy+5)
  1257 		res		6, (iy+5)
  1579 		ret
  1258 		ret
  1580 ; End of function p03sub_48F5
       
  1581 
       
  1582 ; ---------------------------------------------------------------------------
       
  1583 ; START	OF FUNCTION CHUNK FOR CallCommon
       
  1584 
       
  1585 p03loc_48FA:
  1259 p03loc_48FA:
  1586 		cp		0Eh
  1260 		cp		0Eh
  1587 		jr		nz, p03loc_4903
  1261 		jr		nz, p03loc_4903
  1588 ; END OF FUNCTION CHUNK	FOR CallCommon
       
  1589 ; START	OF FUNCTION CHUNK FOR CommonKeys
       
  1590 
       
  1591 p03loc_48FE:
  1262 p03loc_48FE:
  1592 		call	Page03_37E3
  1263 		call	Page03_37E3
  1593 		jr		p03sub_48F5
  1264 		jr		p03sub_48F5
  1594 ; END OF FUNCTION CHUNK	FOR CommonKeys
       
  1595 ; ---------------------------------------------------------------------------
       
  1596 ; START	OF FUNCTION CHUNK FOR CallCommon
       
  1597 
       
  1598 p03loc_4903:
  1265 p03loc_4903:
  1599 		cp		0Fh
  1266 		cp		0Fh
  1600 		jr		nz, p03loc_490C
  1267 		jr		nz, p03loc_490C
  1601 		call	p03sub_4B73
  1268 		call	p03sub_4B73
  1602 		jr		p03sub_48F5
  1269 		jr		p03sub_48F5
  1603 ; ---------------------------------------------------------------------------
       
  1604 
       
  1605 p03loc_490C:
  1270 p03loc_490C:
  1606 		cp		0Bh
  1271 		cp		0Bh
  1607 		jr		nz, p03loc_4917
  1272 		jr		nz, p03loc_4917
  1608 		call	p03sub_48F5
  1273 		call	p03sub_48F5
  1609 		call	Page0Call_369F
  1274 		call	Page0Call_369F
  1610 		ret
  1275 		ret
  1611 ; ---------------------------------------------------------------------------
       
  1612 
  1276 
  1613 p03loc_4917:
  1277 p03loc_4917:
  1614 		cp		21h ; '!'
  1278 		cp		'!'
  1615 		jr		nz, p03loc_4929
  1279 		jr		nz, p03loc_4929
  1616 		res		textInsMode, (iy+textFlags)
  1280 		res		textInsMode, (iy+textFlags)
  1617 		call	j_BufLeft
  1281 		call	j_BufLeft
  1618 		jr		z, p03sub_48F5
  1282 		jr		z, p03sub_48F5
  1619 		call	CommonKeys
  1283 		call	CommonKeys
  1620 		jr		p03loc_492D
  1284 		jr		p03loc_492D
  1621 ; ---------------------------------------------------------------------------
       
  1622 
  1285 
  1623 p03loc_4929:
  1286 p03loc_4929:
  1624 		cp		0Ah
  1287 		cp		0Ah
  1625 		jr		nz, p03loc_4943
  1288 		jr		nz, p03loc_4943
  1626 
       
  1627 p03loc_492D:
  1289 p03loc_492D:
  1628 		call	Page0Call_366F
  1290 		call	Page0Call_366F
  1629 		call	p03sub_48F5
  1291 		call	p03sub_48F5
  1630 
       
  1631 Leftmore:
  1292 Leftmore:
  1632 		res		textInsMode, (iy+textFlags)
  1293 		res		textInsMode, (iy+textFlags)
  1633 		call	j_BufDelete
  1294 		call	j_BufDelete
  1634 		ret		z
  1295 		ret		z
  1635 		set		5, (iy+5)
  1296 		set		5, (iy+5)
  1636 		call	j_fdispEOL
  1297 		call	j_fdispEOL
  1637 		ret
  1298 		ret
  1638 ; ---------------------------------------------------------------------------
       
  1639 
       
  1640 p03loc_4943:
  1299 p03loc_4943:
  1641 		cp		0Ch
  1300 		cp		0Ch
  1642 		call	z, j_rclkeyRtn
  1301 		call	z, j_rclkeyRtn
  1643 		or		a
  1302 		or		a
  1644 		ret		z
  1303 		ret		z
  1645 		cp		5Ah ; 'Z'
  1304 		cp		5Ah
  1646 		ret		c
  1305 		ret		c
  1647 		cp		0FBh ; '�'
  1306 		cp		0FBh
  1648 		jr		nz, p03loc_4960
  1307 		jr		nz, p03loc_4960
  1649 		ld		a, (keyExtend)
  1308 		ld		a, (keyExtend)
  1650 		cp		0Dh
  1309 		cp		0Dh
  1651 		jr		c, p03loc_495E
  1310 		jr		c, p03loc_495E
  1652 		cp		8Ch ; '�'
  1311 		cp		8Ch
  1653 		ret		c
  1312 		ret		c
  1654 		cp		0A6h ; '�'
  1313 		cp		0A6h
  1655 		ret		nc
  1314 		ret		nc
  1656 
       
  1657 p03loc_495E:
  1315 p03loc_495E:
  1658 		ld		a, 0FBh	; '�'
  1316 		ld		a, 0FBh
  1659 
       
  1660 p03loc_4960:
  1317 p03loc_4960:
  1661 		call	Page0Call_366F
  1318 		call	Page0Call_366F
  1662 		bit		enableQueue, (iy+rclFlag)
  1319 		bit		enableQueue, (iy+rclFlag)
  1663 		jr		nz, p03loc_4972
  1320 		jr		nz, p03loc_4972
  1664 		bit		1, (iy+2Ah)
  1321 		bit		1, (iy+2Ah)
  1665 		jr		nz, p03loc_4972
  1322 		jr		nz, p03loc_4972
  1666 		cp		0C6h ; '�'
  1323 		cp		0C6h
  1667 		ret		z
  1324 		ret		z
  1668 
       
  1669 p03loc_4972:
  1325 p03loc_4972:
  1670 		; CallCommon+150j
       
  1671 		set		5, (iy+5)
  1326 		set		5, (iy+5)
  1672 		bit		6, (iy+5)
  1327 		bit		6, (iy+5)
  1673 		call	nz, fDel
  1328 		call	nz, fDel
  1674 		call	page0_1808
  1329 		call	page0_1808
  1675 		jp		nz, fClear
  1330 		jp		nz, fClear
  1676 		call	j_initNamePrompt
  1331 		call	j_initNamePrompt
  1677 		ret
  1332 		ret
  1678 ; END OF FUNCTION CHUNK	FOR CallCommon
       
  1679 
       
  1680 ; =============== S U B	R O U T	I N E =======================================
       
  1681 
       
  1682 
  1333 
  1683 p03sub_4987:
  1334 p03sub_4987:
  1684 		ld		a, (curRow)
  1335 		ld		a, (curRow)
  1685 		inc		a
  1336 		inc		a
  1686 		ld		hl, winBtm
  1337 		ld		hl, winBtm
  1687 		cp		(hl)
  1338 		cp		(hl)
  1688 		ret		c
  1339 		ret		c
  1689 		ld		a, (mcxCurApp)
  1340 		ld		a, (mcxCurApp)
  1690 		cp		49h ; 'I'
  1341 		cp		kYequ
  1691 		jr		nz, p03loc_499B
  1342 		jr		nz, p03loc_499B
  1692 		call	j_scrollUp
  1343 		call	j_scrollUp
  1693 		ret
  1344 		ret
  1694 ; ---------------------------------------------------------------------------
       
  1695 
       
  1696 p03loc_499B:
  1345 p03loc_499B:
  1697 		call	Page03_37B9
  1346 		call	Page03_37B9
  1698 		call	j_scrollUp
  1347 		call	j_scrollUp
  1699 		call	p03sub_4A39
  1348 		call	p03sub_4A39
  1700 		sub		a
  1349 		sub		a
  1701 		ret
  1350 		ret
  1702 ; End of function p03sub_4987
       
  1703 
       
  1704 
       
  1705 ; =============== S U B	R O U T	I N E =======================================
       
  1706 
       
  1707 
  1351 
  1708 Page03_3789:
  1352 Page03_3789:
  1709 		ld		a, (curRow)
  1353 		ld		a, (curRow)
  1710 		or		a
  1354 		or		a
  1711 		jr		z, p03loc_49BE
  1355 		jr		z, p03loc_49BE
  1712 		dec		a
  1356 		dec		a
  1713 		ld		hl, winTop
  1357 		ld		hl, winTop
  1714 		cp		(hl)
  1358 		cp		(hl)
  1715 		ret		nc
  1359 		ret		nc
  1716 		ld		a, (mcxCurApp)
  1360 		ld		a, (mcxCurApp)
  1717 		cp		49h ; 'I'
  1361 		cp		kYequ
  1718 		jr		nz, p03loc_49BE
  1362 		jr		nz, p03loc_49BE
  1719 		call	j_scrollDown
  1363 		call	j_scrollDown
  1720 		scf
  1364 		scf
  1721 		ret
  1365 		ret
  1722 ; ---------------------------------------------------------------------------
       
  1723 
  1366 
  1724 p03loc_49BE:
  1367 p03loc_49BE:
  1725 		; Page03_3789+11j
       
  1726 		call	Page03_37B9
  1368 		call	Page03_37B9
  1727 		call	j_scrollDown
  1369 		call	j_scrollDown
  1728 		call	p03sub_4A40
  1370 		call	p03sub_4A40
  1729 		scf
  1371 		scf
  1730 		ret
  1372 		ret
  1731 ; End of function Page03_3789
  1373 
  1732 
  1374 fDel:	call	p03sub_48F5
  1733 
       
  1734 ; =============== S U B	R O U T	I N E =======================================
       
  1735 
       
  1736 
       
  1737 fDel:
       
  1738 		; CallCommon+15Dp
       
  1739 		call	p03sub_48F5
       
  1740 		call	j_BufClear
  1375 		call	j_BufClear
  1741 		call	Page03_37A7
  1376 		call	Page03_37A7
  1742 		call	j_EraseEOL
  1377 		call	j_EraseEOL
  1743 
       
  1744 p03loc_49D5:
  1378 p03loc_49D5:
  1745 		res		0, (iy+0Eh)
  1379 		res		0, (iy+0Eh)
  1746 
       
  1747 Page03_3C3F:
  1380 Page03_3C3F:
  1748 		res		1, (iy+0Eh)
  1381 		res		1, (iy+0Eh)
  1749 		ret
  1382 		ret
  1750 ; End of function fDel
       
  1751 
       
  1752 ; ---------------------------------------------------------------------------
       
  1753 ; START	OF FUNCTION CHUNK FOR CallCommon
       
  1754 
  1383 
  1755 fClear:
  1384 fClear:
  1756 		call	j_ConvKeyToTok
  1385 		call	j_ConvKeyToTok
  1757 
       
  1758 finsDisp:
  1386 finsDisp:
  1759 		push	de
  1387 		push	de
  1760 		bit		textInsMode, (iy+textFlags)
  1388 		bit		textInsMode, (iy+textFlags)
  1761 		jr		nz, p03loc_49F1
  1389 		jr		nz, p03loc_49F1
  1762 		call	j_BufReplace
  1390 		call	j_BufReplace
  1763 		pop		de
  1391 		pop		de
  1764 		ret		z
  1392 		ret		z
  1765 		call	j_putbuf
  1393 		call	j_putbuf
  1766 		ret
  1394 		ret
  1767 ; ---------------------------------------------------------------------------
       
  1768 
  1395 
  1769 p03loc_49F1:
  1396 p03loc_49F1:
  1770 		call	j_bufInsert
  1397 		call	j_bufInsert
  1771 		pop		de
  1398 		pop		de
  1772 		ret		z
  1399 		ret		z
  1773 		call	j_putbuf
  1400 		call	j_putbuf
  1774 		ret
  1401 		ret
  1775 ; END OF FUNCTION CHUNK	FOR CallCommon
       
  1776 ; ---------------------------------------------------------------------------
       
  1777 
       
  1778 Page03_37A1:
  1402 Page03_37A1:
  1779 		ret
  1403 		ret
  1780 
  1404 
  1781 ; =============== S U B	R O U T	I N E =======================================
       
  1782 
       
  1783 
       
  1784 Page03_37A7:
  1405 Page03_37A7:
  1785 		; CallCommon+27p ...
       
  1786 		push	af
  1406 		push	af
  1787 		bit		1, (iy+2Ah)
  1407 		bit		1, (iy+2Ah)
  1788 		jr		z, p03loc_4A07
  1408 		jr		z, p03loc_4A07
  1789 		pop		af
  1409 		pop		af
  1790 		call	j_RestorePenCol
  1410 		call	j_RestorePenCol
  1791 		ret
  1411 		ret
  1792 ; ---------------------------------------------------------------------------
       
  1793 
       
  1794 p03loc_4A07:
  1412 p03loc_4A07:
  1795 		ld		a, (winLeftEdge)
  1413 		ld		a, (winLeftEdge)
  1796 		ld		(curRow+1), a
  1414 		ld		(curCol), a
  1797 		pop		af
  1415 		pop		af
  1798 		ret
  1416 		ret
  1799 ; End of function Page03_37A7
       
  1800 
       
  1801 
       
  1802 ; =============== S U B	R O U T	I N E =======================================
       
  1803 
       
  1804 
  1417 
  1805 Page03_37AD:
  1418 Page03_37AD:
  1806 		ld		a, 1
  1419 		ld		a, 1
  1807 		ld		(curRow+1), a
  1420 		ld		(curCol), a
  1808 		ld		c, a
  1421 		ld		c, a
  1809 		call	j_getcurloc
  1422 		call	j_getcurloc
  1810 		ld		b, 0Eh
  1423 		ld		b, 0Eh
  1811 
       
  1812 p03loc_4A1A:
  1424 p03loc_4A1A:
  1813 		ld		a, (hl)
  1425 		ld		a, (hl)
  1814 		inc		hl
  1426 		inc		hl
  1815 		inc		c
  1427 		inc		c
  1816 		cp		3Dh ; '='
  1428 		cp		3Dh
  1817 		jr		z, p03loc_4A31
  1429 		jr		z, p03loc_4A31
  1818 		cp		3Ah ; ':'
  1430 		cp		3Ah
  1819 		jr		z, p03loc_4A31
  1431 		jr		z, p03loc_4A31
  1820 		cp		3Fh ; '?'
  1432 		cp		3Fh
  1821 		jr		z, p03loc_4A31
  1433 		jr		z, p03loc_4A31
  1822 		cp		7Fh ; ''
  1434 		cp		7Fh
  1823 		jr		z, p03loc_4A31
  1435 		jr		z, p03loc_4A31
  1824 		djnz	p03loc_4A1A
  1436 		djnz	p03loc_4A1A
  1825 		sub		a
  1437 		sub		a
  1826 		ret
  1438 		ret
  1827 ; ---------------------------------------------------------------------------
       
  1828 
  1439 
  1829 p03loc_4A31:
  1440 p03loc_4A31:
  1830 		; Page03_37AD+14j ...
       
  1831 		ld		a, c
  1441 		ld		a, c
  1832 		ld		(winLeftEdge), a
  1442 		ld		(winLeftEdge), a
  1833 		ld		(curRow+1), a
  1443 		ld		(curCol), a
  1834 		ret
  1444 		ret
  1835 ; End of function Page03_37AD
       
  1836 
       
  1837 
       
  1838 ; =============== S U B	R O U T	I N E =======================================
       
  1839 
       
  1840 
  1445 
  1841 p03sub_4A39:
  1446 p03sub_4A39:
  1842 		ld		c, 1Eh
  1447 		ld		c, 1Eh
  1843 		ld		a, (winTop)
  1448 		ld		a, (winTop)
  1844 		jr		FinsDisp02
  1449 		jr		FinsDisp02
  1845 ; End of function p03sub_4A39
       
  1846 
       
  1847 
       
  1848 ; =============== S U B	R O U T	I N E =======================================
       
  1849 
       
  1850 
  1450 
  1851 p03sub_4A40:
  1451 p03sub_4A40:
  1852 		ld		c, 1Fh
  1452 		ld		c, 1Fh
  1853 		jr		p03loc_4A46
  1453 		jr		p03loc_4A46
  1854 ; ---------------------------------------------------------------------------
       
  1855 
  1454 
  1856 Page03_37B3:
  1455 Page03_37B3:
  1857 		ld		c, 20h ; ' '
  1456 		ld		c, 20h ; ' '
  1858 
       
  1859 p03loc_4A46:
  1457 p03loc_4A46:
  1860 		ld		a, (winBtm)
  1458 		ld		a, (winBtm)
  1861 		dec		a
  1459 		dec		a
  1862 		jr		FinsDisp02
  1460 		jr		FinsDisp02
  1863 ; End of function p03sub_4A40
       
  1864 
       
  1865 
       
  1866 ; =============== S U B	R O U T	I N E =======================================
       
  1867 
       
  1868 
  1461 
  1869 Page03_37B9:
  1462 Page03_37B9:
  1870 		; Page03_3789:p03loc_49BEp ...
       
  1871 		ld		a, (curRow)
  1463 		ld		a, (curRow)
  1872 		ld		c, 20h ; ' '
  1464 		ld		c, 20h ; ' '
  1873 
       
  1874 FinsDisp02:
  1465 FinsDisp02:
  1875 		ld		b, a
  1466 		ld		b, a
  1876 		ld		a, (winLeftEdge)
  1467 		ld		a, (winLeftEdge)
  1877 		push	af
  1468 		push	af
  1878 		ld		hl, (curRow)
  1469 		ld		hl, (curRow)
  1879 		push	hl
  1470 		push	hl
  1880 		ld		hl, curRow
  1471 		ld		hl, curRow
  1881 		ld		(hl), b
  1472 		ld		(hl), b
  1882 		sub		a
  1473 		sub		a
  1883 		ld		(curRow+1), a
  1474 		ld		(curCol), a
  1884 		ld		a, c
  1475 		ld		a, c
  1885 		call	j_PutC
  1476 		call	j_PutC
  1886 		pop		hl
  1477 		pop		hl
  1887 		ld		(curRow), hl
  1478 		ld		(curRow), hl
  1888 		pop		af
  1479 		pop		af
  1889 		ld		(winLeftEdge), a
  1480 		ld		(winLeftEdge), a
  1890 		ret
  1481 		ret
  1891 ; End of function Page03_37B9
       
  1892 
       
  1893 ; ---------------------------------------------------------------------------
       
  1894 
  1482 
  1895 p03loc_4A6F:
  1483 p03loc_4A6F:
  1896 		call	p03sub_48F5
  1484 		call	p03sub_48F5
  1897 		ld		bc, (errOffset)
  1485 		ld		bc, (errOffset)
  1898 
       
  1899 p03loc_4A76:
  1486 p03loc_4A76:
  1900 		ld		a, c
  1487 		ld		a, c
  1901 		or		b
  1488 		or		b
  1902 		jr		z, p03loc_4A87
  1489 		jr		z, p03loc_4A87
  1903 		call	j_BufRight
  1490 		call	j_BufRight
  1905 		push	bc
  1492 		push	bc
  1906 		call	j_putbuf
  1493 		call	j_putbuf
  1907 		pop		bc
  1494 		pop		bc
  1908 		dec		bc
  1495 		dec		bc
  1909 		jr		p03loc_4A76
  1496 		jr		p03loc_4A76
  1910 ; ---------------------------------------------------------------------------
       
  1911 
       
  1912 p03loc_4A87:
  1497 p03loc_4A87:
  1913 		call	j_fdispEOL
  1498 		call	j_fdispEOL
  1914 		ret
  1499 		ret
  1915 
  1500 
  1916 ; =============== S U B	R O U T	I N E =======================================
       
  1917 
       
  1918 
       
  1919 closeeditbufnor:
  1501 closeeditbufnor:
  1920 		; ParseAndStoreSysVar+Ap ...
       
  1921 		call	CanAlphIns
  1502 		call	CanAlphIns
  1922 		bit		editOpen, (iy+editFlags)
  1503 		bit		editOpen, (iy+editFlags)
  1923 		ret		z
  1504 		ret		z
  1924 		call	j_CloseEditEqu
  1505 		call	j_CloseEditEqu
  1925 		ret
  1506 		ret
  1926 ; End of function closeeditbufnor
       
  1927 
       
  1928 
       
  1929 ; =============== S U B	R O U T	I N E =======================================
       
  1930 
       
  1931 
  1507 
  1932 ParseAndStoreSysVar:
  1508 ParseAndStoreSysVar:
  1933 		call	IsEditEmpty
  1509 		call	IsEditEmpty
  1934 		jr		nz, p03loc_4AAB
  1510 		jr		nz, p03loc_4AAB
  1935 		call	p03sub_4742
  1511 		call	p03sub_4742
  1936 		jr		z, p03loc_4AAB
  1512 		jr		z, p03loc_4AAB
  1937 		call	closeeditbufnor
  1513 		call	closeeditbufnor
  1938 		ld		a, 0Eh
  1514 		ld		a, 0Eh
  1939 		ld		(OP1), a
  1515 		ld		(OP1), a
  1940 		jr		p03loc_4ABE
  1516 		jr		p03loc_4ABE
  1941 ; ---------------------------------------------------------------------------
       
  1942 
  1517 
  1943 p03loc_4AAB:
  1518 p03loc_4AAB:
  1944 		; ParseAndStoreSysVar+8j
       
  1945 		set		6, (iy+5)
  1519 		set		6, (iy+5)
  1946 		call	closeeditbufnor
  1520 		call	closeeditbufnor
  1947 		bit		monAbandon, (iy+monFlags)
  1521 		bit		monAbandon, (iy+monFlags)
  1948 		jr		nz, p03sub_4AE9
  1522 		jr		nz, p03sub_4AE9
  1949 		call	page0_166E
  1523 		call	page0_166E
  1950 		call	j_ParseInp
  1524 		call	j_ParseInp
  1951 
       
  1952 p03loc_4ABE:
  1525 p03loc_4ABE:
  1953 		ld		hl, (unk_9700)
  1526 		ld		hl, (unk_9700)
  1954 		bit		5, (iy+5)
  1527 		bit		5, (iy+5)
  1955 		jr		z, p03sub_4AE9
  1528 		jr		z, p03sub_4AE9
  1956 		call	p03sub_7530
  1529 		call	IsInfStatContext
  1957 		jr		nz, p03loc_4AD8
  1530 		jr		nz, p03loc_4AD8
  1958 		call	page0_1717
  1531 		call	page0_1717
  1959 		call	EOP1NotReal
  1532 		call	EOP1NotReal
  1960 		ld		a, (hl)
  1533 		ld		a, (hl)
  1961 		call	STO_STATVAR
  1534 		call	STO_STATVAR
  1962 		jr		p03sub_4AE9
  1535 		jr		p03sub_4AE9
  1963 ; ---------------------------------------------------------------------------
       
  1964 
       
  1965 p03loc_4AD8:
  1536 p03loc_4AD8:
  1966 		bit		windowHookActive, (iy+hookflags3)
  1537 		bit		windowHookActive, (iy+hookflags3)
  1967 		jr		z, p03loc_4AE5
  1538 		jr		z, p03loc_4AE5
  1968 		ld		a, 6
  1539 		ld		a, 6
  1969 		call	Page0Call_362D
  1540 		call	Page0Call_362D
  1970 		jr		nz, p03sub_4AE9
  1541 		jr		nz, p03sub_4AE9
  1971 
       
  1972 p03loc_4AE5:
  1542 p03loc_4AE5:
  1973 		ld		a, (hl)
  1543 		ld		a, (hl)
  1974 		call	j_StoSysTok
  1544 		call	j_StoSysTok
  1975 ; End of function ParseAndStoreSysVar
       
  1976 
       
  1977 
       
  1978 ; =============== S U B	R O U T	I N E =======================================
       
  1979 
       
  1980 
  1545 
  1981 p03sub_4AE9:
  1546 p03sub_4AE9:
  1982 		; ParseAndStoreSysVar+1Fj ...
       
  1983 		call	j_CleanAll
  1547 		call	j_CleanAll
  1984 		jr		releaseBuffer
  1548 		jr		releaseBuffer
  1985 
  1549 
  1986 p03loc_4AEE:
  1550 p03loc_4AEE:
  1987 		res		grfSplitOverride, (iy+sGrFlags)
  1551 		res		grfSplitOverride, (iy+sGrFlags)
  1988 
       
  1989 ; =============== S U B	R O U T	I N E =======================================
       
  1990 
       
  1991 
       
  1992 releaseBuffer:
  1552 releaseBuffer:
  1993 		; Page03_3747+10p ...
       
  1994 		call	page0_166E
  1553 		call	page0_166E
  1995 		rst		10h
  1554 		rst		10h
  1996 		call	nc, DelVar
  1555 		call	nc, DelVar
  1997 		ret
  1556 		ret
  1998 ; End of function releaseBuffer
       
  1999 
       
  2000 
       
  2001 ; =============== S U B	R O U T	I N E =======================================
       
  2002 
       
  2003 
  1557 
  2004 DisplayEditSysVar:
  1558 DisplayEditSysVar:
  2005 
       
  2006 
       
  2007 
       
  2008 		call	Page03_37A7
  1559 		call	Page03_37A7
  2009 		call	j_setNumWindow
  1560 		call	j_setNumWindow
  2010 		ld		ix, (unk_9700)
  1561 		ld		ix, (unk_9700)
  2011 		call	p03sub_473A
  1562 		call	p03sub_473A
  2012 		jp		nz, p03loc_445F
  1563 		jp		nz, p03loc_445F
  2013 		bit		windowHookActive, (iy+hookflags3)
  1564 		bit		windowHookActive, (iy+hookflags3)
  2014 		jr		z, p03loc_4B16
  1565 		jr		z, p03loc_4B16
  2015 		ld		a, 9
  1566 		ld		a, 9
  2016 		call	Page0Call_362D
  1567 		call	Page0Call_362D
  2017 		ret		nz
  1568 		ret		nz
  2018 
       
  2019 p03loc_4B16:
  1569 p03loc_4B16:
  2020 		jp		p03loc_4574
  1570 		jp		p03loc_4574
  2021 ; End of function DisplayEditSysVar
       
  2022 
       
  2023 ; ---------------------------------------------------------------------------
       
  2024 
  1571 
  2025 Page03_37D1:
  1572 Page03_37D1:
  2026 		ld		hl, (editSym)
  1573 		ld		hl, (editSym)
  2027 
       
  2028 varnameToOP1hl:
  1574 varnameToOP1hl:
  2029 		push	hl
  1575 		push	hl
  2030 		call	ZeroOP1
  1576 		call	ZeroOP1
  2031 		pop		hl
  1577 		pop		hl
  2032 		ld		a, (hl)
  1578 		ld		a, (hl)
  2041 		dec		hl
  1587 		dec		hl
  2042 		cp		1
  1588 		cp		1
  2043 		jr		z, p03loc_4B37
  1589 		jr		z, p03loc_4B37
  2044 		cp		0Dh
  1590 		cp		0Dh
  2045 		jr		nz, p03loc_4B48
  1591 		jr		nz, p03loc_4B48
  2046 
       
  2047 p03loc_4B37:
  1592 p03loc_4B37:
  2048 		ld		a, (hl)
  1593 		ld		a, (hl)
  2049 		cp		3Ah ; ':'
  1594 		cp		':'
  2050 		jr		z, p03loc_4B40
  1595 		jr		z, p03loc_4B40
  2051 		ld		b, (hl)
  1596 		ld		b, (hl)
  2052 		dec		b
  1597 		dec		b
  2053 		jr		p03loc_4B47
  1598 		jr		p03loc_4B47
  2054 ; ---------------------------------------------------------------------------
       
  2055 
       
  2056 p03loc_4B40:
  1599 p03loc_4B40:
  2057 		dec		hl
  1600 		dec		hl
  2058 		ld		a, (hl)
  1601 		ld		a, (hl)
  2059 		inc		hl
  1602 		inc		hl
  2060 		or		a
  1603 		or		a
  2061 		jr		z, p03loc_4B48
  1604 		jr		z, p03loc_4B48
  2062 		ld		b, (hl)
  1605 		ld		b, (hl)
  2063 
       
  2064 p03loc_4B47:
  1606 p03loc_4B47:
  2065 		dec		hl
  1607 		dec		hl
  2066 
       
  2067 p03loc_4B48:
  1608 p03loc_4B48:
  2068 		ld		de, OP1+1
  1609 		ld		de, OP1+1
  2069 		jr		p03loc_4B5E
  1610 		jr		p03loc_4B5E
  2070 ; ---------------------------------------------------------------------------
       
  2071 
  1611 
  2072 nameToOP1:
  1612 nameToOP1:
  2073 		call	ZeroOP1
  1613 		call	ZeroOP1
  2074 		ld		hl, (editSym)
  1614 		ld		hl, (editSym)
  2075 		dec		hl
  1615 		dec		hl
  2079 		dec		hl
  1619 		dec		hl
  2080 		dec		hl
  1620 		dec		hl
  2081 		ld		b, (hl)
  1621 		ld		b, (hl)
  2082 		inc		b
  1622 		inc		b
  2083 		ld		de, OP1+1
  1623 		ld		de, OP1+1
  2084 
       
  2085 p03loc_4B5E:
  1624 p03loc_4B5E:
  2086 		ld		a, (hl)
  1625 		ld		a, (hl)
  2087 		dec		hl
  1626 		dec		hl
  2088 		ld		(de), a
  1627 		ld		(de), a
  2089 		inc		de
  1628 		inc		de
  2090 		djnz	p03loc_4B5E
  1629 		djnz	p03loc_4B5E
  2091 		ret
  1630 		ret
  2092 
  1631 
  2093 ; =============== S U B	R O U T	I N E =======================================
       
  2094 
       
  2095 
       
  2096 Page03_37E3:
  1632 Page03_37E3:
  2097 		res		0, (iy+0Eh)
  1633 		res		0, (iy+0Eh)
  2098 		call	j_BufToTop
  1634 		call	j_BufToTop
  2099 		call	Page03_37A7
  1635 		call	Page03_37A7
  2100 		call	j_fdispEOL
  1636 		call	j_fdispEOL
  2101 		ret
  1637 		ret
  2102 ; End of function Page03_37E3
       
  2103 
       
  2104 
       
  2105 ; =============== S U B	R O U T	I N E =======================================
       
  2106 
       
  2107 
  1638 
  2108 p03sub_4B73:
  1639 p03sub_4B73:
  2109 		; p03sub_4B73+7j
       
  2110 		call	j_BufRight
  1640 		call	j_BufRight
  2111 		ret		z
  1641 		ret		z
  2112 		call	j_putbuf
  1642 		call	j_putbuf
  2113 		jr		p03sub_4B73
  1643 		jr		p03sub_4B73
  2114 ; End of function p03sub_4B73
       
  2115 
       
  2116 ; ---------------------------------------------------------------------------
       
  2117 
  1644 
  2118 numPPutAway:
  1645 numPPutAway:
  2119 		jp		j_saveShadow
  1646 		jp		j_saveShadow
  2120 
  1647 
  2121 ; =============== S U B	R O U T	I N E =======================================
       
  2122 
       
  2123 
       
  2124 p03sub_4B7F:
  1648 p03sub_4B7F:
  2125 		; p03sub_748F:p03loc_74A0p
       
  2126 		ld		hl, p03loc_4AEE
  1649 		ld		hl, p03loc_4AEE
  2127 		call	pushErrorHandleR
  1650 		call	pushErrorHandleR
  2128 		call	ParseAndStoreSysVar
  1651 		call	ParseAndStoreSysVar
  2129 		call	popErrorHandleR
  1652 		call	popErrorHandleR
  2130 		res		grfSplitOverride, (iy+sGrFlags)
  1653 		res		grfSplitOverride, (iy+sGrFlags)
  2131 		ret
  1654 		ret
  2132 ; End of function p03sub_4B7F
       
  2133 
  1655 
  2134 p03loc_4B90:
  1656 p03loc_4B90:
  2135 		jr		c, p03loc_4BD2
  1657 		jr		c, p03loc_4BD2
  2136 		ld		a, (mcxCurApp)
  1658 		ld		a, (mcxCurApp)
  2137 		cp		49h ; 'I'
  1659 		cp		kYequ
  2138 		jr		nz, p03loc_4B9D
  1660 		jr		nz, p03loc_4B9D
  2139 		call	j_shrinkWindow2
  1661 		call	j_shrinkWindow2
  2140 		ret
  1662 		ret
  2141 ; ---------------------------------------------------------------------------
       
  2142 
  1663 
  2143 p03loc_4B9D:
  1664 p03loc_4B9D:
  2144 		cp		53h ; 'S'
  1665 		cp		kSolveTVM
  2145 		ret		z
  1666 		ret		z
  2146 		call	j_shrinkWindow2
  1667 		call	j_shrinkWindow2
  2147 		jp		p, p03sub_4A39
  1668 		jp		p, p03sub_4A39
  2148 		ld		a, 7
  1669 		ld		a, 7
  2149 		sub		b
  1670 		sub		b
  2150 		ld		b, a
  1671 		ld		b, a
  2151 		ld		a, (curRow)
  1672 		ld		a, (curRow)
  2152 		ld		c, a
  1673 		ld		c, a
  2153 		ld		de, 3
  1674 		ld		de, 3
  2154 		ld		hl, (unk_9700)
  1675 		ld		hl, (unk_9700)
  2155 
       
  2156 p03loc_4BB4:
  1676 p03loc_4BB4:
  2157 		ld		a, b
  1677 		ld		a, b
  2158 		cp		c
  1678 		cp		c
  2159 		jr		c, p03loc_4BCC
  1679 		jr		c, p03loc_4BCC
  2160 		add		hl, de
  1680 		add		hl, de
  2161 		ld		a, 8
  1681 		ld		a, 8
  2162 		bit		windowHookActive, (iy+hookflags3)
  1682 		bit		windowHookActive, (iy+hookflags3)
  2163 		jr		z, p03loc_4BC6
  1683 		jr		z, p03loc_4BC6
  2164 		call	Page0Call_362D
  1684 		call	Page0Call_362D
  2165 		jr		nz, p03loc_4BC7
  1685 		jr		nz, p03loc_4BC7
  2166 
       
  2167 p03loc_4BC6:
  1686 p03loc_4BC6:
  2168 		ld		a, (hl)
  1687 		ld		a, (hl)
  2169 
       
  2170 p03loc_4BC7:
  1688 p03loc_4BC7:
  2171 		inc		a
  1689 		inc		a
  2172 		ret		z
  1690 		ret		z
  2173 		inc		c
  1691 		inc		c
  2174 		jr		p03loc_4BB4
  1692 		jr		p03loc_4BB4
  2175 ; ---------------------------------------------------------------------------
       
  2176 
       
  2177 p03loc_4BCC:
  1693 p03loc_4BCC:
  2178 		ld		c, 1Fh
  1694 		ld		c, 1Fh
  2179 		ld		a, b
  1695 		ld		a, b
  2180 		jp		FinsDisp02
  1696 		jp		FinsDisp02
  2181 ; ---------------------------------------------------------------------------
       
  2182 
       
  2183 p03loc_4BD2:
  1697 p03loc_4BD2:
  2184 		ld		a, (mcxCurApp)
  1698 		ld		a, (mcxCurApp)
  2185 		cp		49h ; 'I'
  1699 		cp		kYequ
  2186 		jp		z, p03loc_4C68
  1700 		jp		z, p03loc_4C68
  2187 		cp		53h ; 'S'
  1701 		cp		kSolveTVM
  2188 		jp		z, p03loc_4C71
  1702 		jp		z, p03loc_4C71
  2189 		ld		a, 7
  1703 		ld		a, 7
  2190 		sub		b
  1704 		sub		b
  2191 		ld		b, a
  1705 		ld		b, a
  2192 		ld		ix, (unk_9700)
  1706 		ld		ix, (unk_9700)
  2193 		ld		a, (curRow)
  1707 		ld		a, (curRow)
  2194 		ld		c, a
  1708 		ld		c, a
  2195 		ld		de, 3
  1709 		ld		de, 3
  2196 
       
  2197 p03loc_4BEE:
  1710 p03loc_4BEE:
  2198 		inc		c
  1711 		inc		c
  2199 		add		ix, de
  1712 		add		ix, de
  2200 		call	p03sub_4E6C
  1713 		call	p03sub_4E6C
  2201 		inc		a
  1714 		inc		a
  2209 		ld		(curRow), a
  1722 		ld		(curRow), a
  2210 		call	Page03_37B9
  1723 		call	Page03_37B9
  2211 		ld		hl, curRow
  1724 		ld		hl, curRow
  2212 		inc		(hl)
  1725 		inc		(hl)
  2213 		ld		a, (mcxCurApp)
  1726 		ld		a, (mcxCurApp)
  2214 		cp		56h ; 'V'
  1727 		cp		kInfStat
  2215 		jr		nz, p03loc_4C1E
  1728 		jr		nz, p03loc_4C1E
  2216 		ld		a, (unk_8D0B+1)
  1729 		ld		a, (unk_8D0B+1)
  2217 		push	af
  1730 		push	af
  2218 		call	p03sub_7278
  1731 		call	p03sub_7278
  2219 		pop		af
  1732 		pop		af
  2220 		ld		(unk_8D0B+1), a
  1733 		ld		(unk_8D0B+1), a
  2221 		jr		p03loc_4C21
  1734 		jr		p03loc_4C21
  2222 ; ---------------------------------------------------------------------------
       
  2223 
       
  2224 p03loc_4C1E:
  1735 p03loc_4C1E:
  2225 		call	setTitle
  1736 		call	setTitle
  2226 
       
  2227 p03loc_4C21:
  1737 p03loc_4C21:
  2228 		pop		hl
  1738 		pop		hl
  2229 		jr		p03loc_4C5B
  1739 		jr		p03loc_4C5B
  2230 ; ---------------------------------------------------------------------------
       
  2231 
       
  2232 p03loc_4C24:
  1740 p03loc_4C24:
  2233 		ld		a, (winTop)
  1741 		ld		a, (winTop)
  2234 		dec		a
  1742 		dec		a
  2235 		ld		b, a
  1743 		ld		b, a
  2236 		ld		ix, (unk_9700)
  1744 		ld		ix, (unk_9700)
  2237 		ld		a, (curRow)
  1745 		ld		a, (curRow)
  2238 		ld		c, a
  1746 		ld		c, a
  2239 		ld		de, 0FFFDh
  1747 		ld		de, 0FFFDh
  2240 
       
  2241 p03loc_4C34:
  1748 p03loc_4C34:
  2242 		dec		c
  1749 		dec		c
  2243 		add		ix, de
  1750 		add		ix, de
  2244 		call	p03sub_4E6C
  1751 		call	p03sub_4E6C
  2245 		inc		a
  1752 		inc		a
  2258 		call	setTitle
  1765 		call	setTitle
  2259 		pop		af
  1766 		pop		af
  2260 		ld		(unk_89FE), a
  1767 		ld		(unk_89FE), a
  2261 		pop		hl
  1768 		pop		hl
  2262 		inc		l
  1769 		inc		l
  2263 
       
  2264 p03loc_4C5B:
  1770 p03loc_4C5B:
  2265 		ld		(curRow), hl
  1771 		ld		(curRow), hl
  2266 		ld		a, h
  1772 		ld		a, h
  2267 		push	af
  1773 		push	af
  2268 		call	Page03_37AD
  1774 		call	Page03_37AD
  2269 		pop		af
  1775 		pop		af
  2270 		ld		(curRow+1), a
  1776 		ld		(curCol), a
  2271 		ret
  1777 		ret
  2272 ; ---------------------------------------------------------------------------
       
  2273 
  1778 
  2274 p03loc_4C68:
  1779 p03loc_4C68:
  2275 		ld		hl, (curRow)
  1780 		ld		hl, (curRow)
  2276 		push	hl
  1781 		push	hl
  2277 		call	j_dispNumEOS
  1782 		call	j_dispNumEOS
  2278 		jr		p03loc_4C21
  1783 		jr		p03loc_4C21
  2279 ; ---------------------------------------------------------------------------
       
  2280 
  1784 
  2281 p03loc_4C71:
  1785 p03loc_4C71:
  2282 		ld		hl, (curRow)
  1786 		ld		hl, (curRow)
  2283 		push	hl
  1787 		push	hl
  2284 		ld		a, 7
  1788 		ld		a, 7
  2285 		call	Page0Call_36E7
  1789 		call	Page0Call_36E7
  2286 		call	j_SolveRedisp
  1790 		call	j_SolveRedisp
  2287 		jr		p03loc_4C21
  1791 		jr		p03loc_4C21
  2288 ; ---------------------------------------------------------------------------
  1792 
       
  1793 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  1794 ;Not referenced anywhere.
  2289 		set		curLock, (iy+curFlags)
  1795 		set		curLock, (iy+curFlags)
       
  1796 #endif
  2290 
  1797 
  2291 numRedisp:
  1798 numRedisp:
  2292 		jp		j_rstrShadow
  1799 		jp		j_rstrShadow
  2293 ; ---------------------------------------------------------------------------
       
  2294 
  1800 
  2295 Page03_37F5:
  1801 Page03_37F5:
  2296 		bit		5, (iy+36h)
  1802 		bit		5, (iy+36h)
  2297 		call	nz, Page0Call_36F3
  1803 		call	nz, Page0Call_36F3
  2298 		jr		nz, numError02
  1804 		jr		nz, numError02
  2299 		call	j_rstrShadow2
  1805 		call	j_rstrShadow2
  2300 		call	j_SetMenuFlags
  1806 		call	j_SetMenuFlags
  2301 
       
  2302 numError02:
  1807 numError02:
  2303 		bit		editOpen, (iy+editFlags)
  1808 		bit		editOpen, (iy+editFlags)
  2304 		jr		nz, p03loc_4CAA
  1809 		jr		nz, p03loc_4CAA
  2305 		call	page0_166E
  1810 		call	page0_166E
  2306 		call	j_setupEditEqu
  1811 		call	j_setupEditEqu
  2307 		ld		hl, p03loc_4CBD
  1812 		ld		hl, p03loc_4CBD
  2308 		call	pushErrorHandleR
  1813 		call	pushErrorHandleR
  2309 		call	popErrorHandleR
  1814 		call	popErrorHandleR
  2310 
       
  2311 p03loc_4CAA:
  1815 p03loc_4CAA:
  2312 		call	j_BufToTop
  1816 		call	j_BufToTop
  2313 		call	p03loc_49D5
  1817 		call	p03loc_49D5
  2314 		call	Page03_37A7
  1818 		call	Page03_37A7
  2315 		call	IsBasicProgZero
  1819 		call	IsBasicProgZero
  2318 		ret
  1822 		ret
  2319 p03loc_4CBD:
  1823 p03loc_4CBD:
  2320 		call	j_CloseEditEqu
  1824 		call	j_CloseEditEqu
  2321 		call	releaseBuffer
  1825 		call	releaseBuffer
  2322 		jp		ErrMemory_NoGoTo
  1826 		jp		ErrMemory_NoGoTo
  2323 ; ---------------------------------------------------------------------------
       
  2324 
  1827 
  2325 Page03_380D:
  1828 Page03_380D:
  2326 		push	hl
  1829 		push	hl
  2327 		ld		hl, (chkDelPtr1)
  1830 		ld		hl, (chkDelPtr1)
  2328 		ld		a, (hl)
  1831 		ld		a, (hl)
  2347 		inc		hl
  1850 		inc		hl
  2348 		or		(hl)
  1851 		or		(hl)
  2349 		ret		z
  1852 		ret		z
  2350 		ex		de, hl
  1853 		ex		de, hl
  2351 		set		5, (hl)
  1854 		set		5, (hl)
  2352 
       
  2353 p03loc_4CEF:
  1855 p03loc_4CEF:
  2354 		ld		hl, (chkDelPtr3)
  1856 		ld		hl, (chkDelPtr3)
  2355 		set		5, (hl)
  1857 		set		5, (hl)
  2356 
       
  2357 p03loc_4CF4:
  1858 p03loc_4CF4:
  2358 		ld		a, (OP1M)
  1859 		ld		a, (OP1M)
  2359 		bit		6, a
  1860 		bit		6, a
  2360 		jr		z, p03loc_4D15
  1861 		jr		z, p03loc_4D15
  2361 		call	IsFunctionMode
  1862 		call	IsFunctionMode
  2362 
       
  2363 p03loc_4CFE:
  1863 p03loc_4CFE:
  2364 		ret		z
  1864 		ret		z
  2365 		ld		a, b
  1865 		ld		a, b
  2366 		and		1Fh
  1866 		and		1Fh
  2367 		cp		3
  1867 		cp		3
  2368 		jp		z, SetTblGraphDraw
  1868 		jp		z, SetTblGraphDraw
  2369 		bit		smarter_test, (iy+smartFlags)
  1869 		bit		smarter_test, (iy+smartFlags)
  2370 		jp		nz, SetTblGraphDraw
  1870 		jp		nz, SetTblGraphDraw
  2371 		set		smartGraph, (iy+smartFlags)
  1871 		set		smartGraph, (iy+smartFlags)
  2372 		jp		SetTblGraphDrawPreserveSmartTest
  1872 		jp		SetTblGraphDrawPreserveSmartTest
  2373 ; ---------------------------------------------------------------------------
       
  2374 
  1873 
  2375 p03loc_4D15:
  1874 p03loc_4D15:
  2376 		bit		5, a
  1875 		bit		5, a
  2377 		jr		nz, p03loc_4D44
  1876 		jr		nz, p03loc_4D44
  2378 		bit		4, a
  1877 		bit		4, a
  2379 		jr		z, p03loc_4D22
  1878 		jr		z, p03loc_4D22
  2380 		call	IsFuncMode
  1879 		call	IsFuncMode
  2381 		jr		p03loc_4CFE
  1880 		jr		p03loc_4CFE
  2382 ; ---------------------------------------------------------------------------
       
  2383 
       
  2384 p03loc_4D22:
  1881 p03loc_4D22:
  2385 		call	IsRecursiveMode
  1882 		call	IsRecursiveMode
  2386 		jr		p03loc_4CFE
  1883 		jr		p03loc_4CFE
  2387 ; ---------------------------------------------------------------------------
       
  2388 
       
  2389 p03loc_4D27:
  1884 p03loc_4D27:
  2390 		pop		bc
  1885 		pop		bc
  2391 		ld		hl, (chkDelPtr3)
  1886 		ld		hl, (chkDelPtr3)
  2392 		bit		5, (hl)
  1887 		bit		5, (hl)
  2393 		ret		z
  1888 		ret		z
  2400 		rst		10h
  1895 		rst		10h
  2401 		jp		c, ErrUndefined
  1896 		jp		c, ErrUndefined
  2402 		pop		af
  1897 		pop		af
  2403 		ld		(OP1M), a
  1898 		ld		(OP1M), a
  2404 		res		5, (hl)
  1899 		res		5, (hl)
  2405 
       
  2406 p03loc_4D44:
  1900 p03loc_4D44:
  2407 		call	IsParametricMode
  1901 		call	IsParametricMode
  2408 		jr		p03loc_4CFE
  1902 		jr		p03loc_4CFE
  2409 
       
  2410 ; =============== S U B	R O U T	I N E =======================================
       
  2411 
       
  2412 
  1903 
  2413 p03sub_4D49:
  1904 p03sub_4D49:
  2414 		push	bc
  1905 		push	bc
  2415 		push	af
  1906 		push	af
  2416 		ld		a, (winBtm)
  1907 		ld		a, (winBtm)
  2417 		ld		b, a
  1908 		ld		b, a
  2418 
       
  2419 p03loc_4D4F:
  1909 p03loc_4D4F:
  2420 		ld		a, (hl)
  1910 		ld		a, (hl)
  2421 		inc		hl
  1911 		inc		hl
  2422 		or		a
  1912 		or		a
  2423 		scf
  1913 		scf
  2424 		jr		z, p03loc_4D5E
  1914 		jr		z, p03loc_4D5E
  2425 		call	j_PutC
  1915 		call	j_PutC
  2426 		ld		a, (curRow)
  1916 		ld		a, (curRow)
  2427 		cp		b
  1917 		cp		b
  2428 		jr		c, p03loc_4D4F
  1918 		jr		c, p03loc_4D4F
  2429 
       
  2430 p03loc_4D5E:
  1919 p03loc_4D5E:
  2431 		pop		bc
  1920 		pop		bc
  2432 		ld		a, b
  1921 		ld		a, b
  2433 		pop		bc
  1922 		pop		bc
  2434 		ret
  1923 		ret
  2435 ; End of function p03sub_4D49
       
  2436 
  1924 
  2437 p03loc_4D62:
  1925 p03loc_4D62:
  2438 		.db		23h ; #
  1926 		.db		23h
  2439 		.db		21h ; !
  1927 		.db		21h
  2440 		.db		22h ; "
  1928 		.db		22h
  2441 		.db		20h
  1929 		.db		20h
  2442 		.db		24h ; $
  1930 		.db		24h
  2443 
  1931 
  2444 Page03_3813:
  1932 Page03_3813:
  2445 		ld		a, (ix+0)
  1933 		ld		a, (ix+0)
  2446 		ret
  1934 		ret
  2447 ; ---------------------------------------------------------------------------
       
  2448 
  1935 
  2449 Load_SFont:
  1936 Load_SFont:
  2450 		push	bc
  1937 		push	bc
  2451 		bit		fontHookActive, (iy+hookflags3)
  1938 		bit		fontHookActive, (iy+hookflags3)
  2452 		jr		z, p03loc_4D7B
  1939 		jr		z, p03loc_4D7B
  2453 		ld		b, a
  1940 		ld		b, a
  2454 		ld		a, 0
  1941 		ld		a, 0
  2455 		call	j_FontHook
  1942 		call	j_FontHook
  2456 		ld		a, b
  1943 		ld		a, b
  2457 		jr		z, p03loc_4D97
  1944 		jr		z, p03loc_4D97
  2458 
       
  2459 p03loc_4D7B:
  1945 p03loc_4D7B:
  2460 		bit		localizeHookActive, (iy+hookflags3)
  1946 		bit		localizeHookActive, (iy+hookflags3)
  2461 		jr		z, p03loc_4D8A
  1947 		jr		z, p03loc_4D8A
  2462 		ld		b, a
  1948 		ld		b, a
  2463 		ld		a, 75h ; 'u'
  1949 		ld		a, 75h
  2464 		call	j_call_character_hook
  1950 		call	j_call_character_hook
  2465 		ld		a, b
  1951 		ld		a, b
  2466 		jr		z, p03loc_4D97
  1952 		jr		z, p03loc_4D97
  2467 
       
  2468 p03loc_4D8A:
  1953 p03loc_4D8A:
  2469 		ld		de, p03loc_4E74
  1954 		ld		de, p03loc_4E7C-8
  2470 		add		hl, de
  1955 		add		hl, de
  2471 		ld		de, sFont_record
  1956 		ld		de, sFont_record
  2472 		call	Mov8B
  1957 		call	Mov8B
  2473 		ld		hl, sFont_record
  1958 		ld		hl, sFont_record
  2474 
       
  2475 p03loc_4D97:
  1959 p03loc_4D97:
  2476 		pop		bc
  1960 		pop		bc
  2477 		ret
  1961 		ret
  2478 ; ---------------------------------------------------------------------------
       
  2479 
  1962 
  2480 SFont_Len:
  1963 SFont_Len:
  2481 		bit		fontHookActive, (iy+hookflags3)
  1964 		bit		fontHookActive, (iy+hookflags3)
  2482 		jr		z, p03loc_4DA7
  1965 		jr		z, p03loc_4DA7
  2483 		ld		b, a
  1966 		ld		b, a
  2484 		ld		a, 2
  1967 		ld		a, 2
  2485 		call	j_FontHook
  1968 		call	j_FontHook
  2486 		ld		a, b
  1969 		ld		a, b
  2487 		ret		z
  1970 		ret		z
  2488 
       
  2489 p03loc_4DA7:
  1971 p03loc_4DA7:
  2490 		bit		localizeHookActive, (iy+hookflags3)
  1972 		bit		localizeHookActive, (iy+hookflags3)
  2491 		jr		z, p03loc_4DB5
  1973 		jr		z, p03loc_4DB5
  2492 		ld		b, a
  1974 		ld		b, a
  2493 		ld		a, 77h ; 'w'
  1975 		ld		a, 77h
  2494 		call	j_call_character_hook
  1976 		call	j_call_character_hook
  2495 		ld		a, b
  1977 		ld		a, b
  2496 		ret		z
  1978 		ret		z
  2497 
       
  2498 p03loc_4DB5:
  1979 p03loc_4DB5:
  2499 		ld		de, p03loc_4E74
  1980 		ld		de, p03loc_4E7C-8
  2500 		add		hl, de
  1981 		add		hl, de
  2501 		ld		b, (hl)
  1982 		ld		b, (hl)
  2502 		ret
  1983 		ret
  2503 ; ---------------------------------------------------------------------------
       
  2504 
  1984 
  2505 Page03_3819:
  1985 Page03_3819:
  2506 		push	bc
  1986 		push	bc
  2507 		or		a
  1987 		or		a
  2508 		jp		z, ErrDomain
  1988 		jp		z, ErrDomain
  2509 		call	CheckSplitFlag
  1989 		call	CheckSplitFlag
  2510 		jr		z, p03loc_4DC7
  1990 		jr		z, p03loc_4DC7
  2511 		add		a, 4
  1991 		add		a, 4
  2512 
       
  2513 p03loc_4DC7:
  1992 p03loc_4DC7:
  2514 		pop		hl
  1993 		pop		hl
  2515 		ld		l, a
  1994 		ld		l, a
  2516 		push	hl
  1995 		push	hl
  2517 		call	OP3ToOP1
  1996 		call	OP3ToOP1
  2518 		pop		hl
  1997 		pop		hl
  2519 
       
  2520 OutputExpr:
  1998 OutputExpr:
  2521 		push	hl
  1999 		push	hl
  2522 		call	j_Disp
  2000 		call	j_Disp
  2523 		pop		hl
  2001 		pop		hl
  2524 		ld		a, h
  2002 		ld		a, h
  2565 		call	mov9B2
  2043 		call	mov9B2
  2566 		ld		hl, OP2
  2044 		ld		hl, OP2
  2567 		call	mov9B2
  2045 		call	mov9B2
  2568 		ld		hl, OP3
  2046 		ld		hl, OP3
  2569 		jr		p03loc_4E40
  2047 		jr		p03loc_4E40
  2570 ; ---------------------------------------------------------------------------
       
  2571 
  2048 
  2572 p03loc_4E3E:
  2049 p03loc_4E3E:
  2573 		rst		10h
  2050 		rst		10h
  2574 
       
  2575 p03loc_4E3F:
  2051 p03loc_4E3F:
  2576 		ex		de, hl
  2052 		ex		de, hl
  2577 
       
  2578 p03loc_4E40:
  2053 p03loc_4E40:
  2579 		call	j_rclToQueue
  2054 		call	j_rclToQueue
  2580 		jp		c, ErrMemory
  2055 		jp		c, ErrMemory
  2581 		call	popErrorHandleR
  2056 		call	popErrorHandleR
  2582 		res		appAutoScroll, (iy+appFlags)
  2057 		res		appAutoScroll, (iy+appFlags)
  2592 p03loc_4E65:
  2067 p03loc_4E65:
  2593 		pop		hl
  2068 		pop		hl
  2594 		ld		(curRow), hl
  2069 		ld		(curRow), hl
  2595 		jp		JErrorNo
  2070 		jp		JErrorNo
  2596 
  2071 
  2597 ; =============== S U B	R O U T	I N E =======================================
       
  2598 
       
  2599 
       
  2600 p03sub_4E6C:
  2072 p03sub_4E6C:
  2601 		ld		a, 0
  2073 		ld		a, 0
  2602 		bit		windowHookActive, (iy+hookflags3)
  2074 		bit		windowHookActive, (iy+hookflags3)
  2603 		jr		z, p03loc_4E78
  2075 		jr		z, p03loc_4E78
  2604 p03loc_4E74:
       
  2605 		call	Page0Call_362D
  2076 		call	Page0Call_362D
  2606 		ret		nz
  2077 		ret		nz
  2607 
       
  2608 p03loc_4E78:
  2078 p03loc_4E78:
  2609 		ld		a, (ix+0)
  2079 		ld		a, (ix+0)
  2610 		ret
  2080 		ret
  2611 ; End of function p03sub_4E6C
  2081 
  2612 
  2082 p03loc_4E7C:
  2613 ; ---------------------------------------------------------------------------
       
  2614 		.db		6
  2083 		.db		6
  2615 		.db		0
  2084 		.db		0
  2616 		.db		0
  2085 		.db		0
  2617 		.db		2Ch	; ,
  2086 		.db		2Ch
  2618 		.db		12h
  2087 		.db		12h
  2619 		.db		12h
  2088 		.db		12h
  2620 		.db		24h	; $
  2089 		.db		24h
  2621 		.db		0
  2090 		.db		0
  2622 		.db		4
  2091 		.db		4
  2623 		.db		0
  2092 		.db		0
  2624 		.db		0
  2093 		.db		0
  2625 		.db		0Ah
  2094 		.db		0Ah
  2796 		.db		1Eh
  2265 		.db		1Eh
  2797 		.db		0
  2266 		.db		0
  2798 		.db		6
  2267 		.db		6
  2799 		.db		0
  2268 		.db		0
  2800 		.db		4
  2269 		.db		4
  2801 		.db		3Eh	; >
  2270 		.db		3Eh
  2802 		.db		8
  2271 		.db		8
  2803 		.db		3Eh	; >
  2272 		.db		3Eh
  2804 		.db		10h
  2273 		.db		10h
  2805 		.db		0
  2274 		.db		0
  2806 		.db		5
  2275 		.db		5
  2807 		.db		0
  2276 		.db		0
  2808 		.db		18h
  2277 		.db		18h
  2836 		.db		8
  2305 		.db		8
  2837 		.db		0
  2306 		.db		0
  2838 		.db		6
  2307 		.db		6
  2839 		.db		0
  2308 		.db		0
  2840 		.db		0
  2309 		.db		0
  2841 		.db		2Eh	; .
  2310 		.db		2Eh
  2842 		.db		2Ah	; *
  2311 		.db		2Ah
  2843 		.db		2Ah	; *
  2312 		.db		2Ah
  2844 		.db		2Eh	; .
  2313 		.db		2Eh
  2845 		.db		0
  2314 		.db		0
  2846 		.db		3
  2315 		.db		3
  2847 		.db		0
  2316 		.db		0
  2848 		.db		2
  2317 		.db		2
  2849 		.db		7
  2318 		.db		7
  2884 		.db		0
  2353 		.db		0
  2885 		.db		0
  2354 		.db		0
  2886 		.db		6
  2355 		.db		6
  2887 		.db		0
  2356 		.db		0
  2888 		.db		14h
  2357 		.db		14h
  2889 		.db		3Eh	; >
  2358 		.db		3Eh
  2890 		.db		14h
  2359 		.db		14h
  2891 		.db		3Eh	; >
  2360 		.db		3Eh
  2892 		.db		14h
  2361 		.db		14h
  2893 		.db		0
  2362 		.db		0  
  2894 		.db		6
  2363 		.db		6  
  2895 		.db		0
  2364 		.db		0  
  2896 		.db		1Ch
  2365 		.db		1Ch
  2897 		.db		28h	; (
  2366 		.db		28h
  2898 		.db		1Ch
  2367 		.db		1Ch
  2899 		.db		0Ah
  2368 		.db		0Ah
  2900 		.db		3Ch	; <
  2369 		.db		3Ch
  2901 		.db		0
  2370 		.db		0  
  2902 		.db		4
  2371 		.db		4  
  2903 		.db		0
  2372 		.db		0  
  2904 		.db		0Ah
  2373 		.db		0Ah
  2905 		.db		2
  2374 		.db		2  
  2906 		.db		4
  2375 		.db		4  
  2907 		.db		8
  2376 		.db		8  
  2908 		.db		0Ah
  2377 		.db		0Ah
  2909 		.db		0
  2378 		.db		0  
  2910 		.db		5
  2379 		.db		5  
  2911 		.db		0
  2380 		.db		0  
  2912 		.db		8
  2381 		.db		8  
  2913 		.db		14h
  2382 		.db		14h
  2914 		.db		8
  2383 		.db		8  
  2915 		.db		14h
  2384 		.db		14h
  2916 		.db		0Ah
  2385 		.db		0Ah
  2917 		.db		0
  2386 		.db		0  
  2918 		.db		2
  2387 		.db		2  
  2919 		.db		0
  2388 		.db		0  
  2920 		.db		2
  2389 		.db		2  
  2921 		.db		2
  2390 		.db		2  
  2922 		.db		2
  2391 		.db		2  
  2923 		.db		0
  2392 		.db		0  
  2924 		.db		0
  2393 		.db		0  
  2925 		.db		0
  2394 		.db		0  
  2926 		.db		3
  2395 		.db		3  
  2927 		.db		0
  2396 		.db		0  
  2928 		.db		2
  2397 		.db		2  
  2929 		.db		4
  2398 		.db		4  
  2930 		.db		4
  2399 		.db		4  
  2931 		.db		4
  2400 		.db		4  
  2932 		.db		2
  2401 		.db		2  
  2933 		.db		0
  2402 		.db		0  
  2934 		.db		3
  2403 		.db		3  
  2935 		.db		0
  2404 		.db		0  
  2936 		.db		4
  2405 		.db		4  
  2937 		.db		2
  2406 		.db		2  
  2938 		.db		2
  2407 		.db		2  
  2939 		.db		2
  2408 		.db		2  
  2940 		.db		4
  2409 		.db		4  
  2941 		.db		0
  2410 		.db		0  
  2942 		.db		6
  2411 		.db		6  
  2943 		.db		0
  2412 		.db		0  
  2944 		.db		8
  2413 		.db		8  
  2945 		.db		2Ah	; *
  2414 		.db		2Ah
  2946 		.db		1Ch
  2415 		.db		1Ch
  2947 		.db		2Ah	; *
  2416 		.db		2Ah
  2948 		.db		8
  2417 		.db		8  
  2949 		.db		0
  2418 		.db		0  
  2950 		.db		4
  2419 		.db		4  
  2951 		.db		0
  2420 		.db		0  
  2952 		.db		0
  2421 		.db		0  
  2953 		.db		4
  2422 		.db		4  
  2954 		.db		0Eh
  2423 		.db		0Eh
  2955 		.db		4
  2424 		.db		4  
  2956 		.db		0
  2425 		.db		0  
  2957 		.db		0
  2426 		.db		0  
  2958 		.db		3
  2427 		.db		3  
  2959 		.db		0
  2428 		.db		0  
  2960 		.db		0
  2429 		.db		0  
  2961 		.db		0
  2430 		.db		0  
  2962 		.db		2
  2431 		.db		2  
  2963 		.db		2
  2432 		.db		2  
  2964 		.db		4
  2433 		.db		4  
  2965 		.db		0
  2434 		.db		0  
  2966 		.db		4
  2435 		.db		4  
  2967 		.db		0
  2436 		.db		0  
  2968 		.db		0
  2437 		.db		0  
  2969 		.db		0
  2438 		.db		0  
  2970 		.db		0Eh
  2439 		.db		0Eh
  2971 		.db		0
  2440 		.db		0  
  2972 		.db		0
  2441 		.db		0  
  2973 		.db		0
  2442 		.db		0  
  2974 		.db		2
  2443 		.db		2  
  2975 		.db		0
  2444 		.db		0  
  2976 		.db		0
  2445 		.db		0  
  2977 		.db		0
  2446 		.db		0  
  2978 		.db		0
  2447 		.db		0  
  2979 		.db		0
  2448 		.db		0  
  2980 		.db		2
  2449 		.db		2  
  2981 		.db		0
  2450 		.db		0  
  2982 		.db		4
  2451 		.db		4  
  2983 		.db		0
  2452 		.db		0  
  2984 		.db		2
  2453 		.db		2  
  2985 		.db		2
  2454 		.db		2  
  2986 		.db		4
  2455 		.db		4  
  2987 		.db		8
  2456 		.db		8  
  2988 		.db		8
  2457 		.db		8  
  2989 		.db		0
  2458 		.db		0  
  2990 		.db		4
  2459 		.db		4  
  2991 		.db		0
  2460 		.db		0  
  2992 		.db		4
  2461 		.db		4  
  2993 		.db		0Ah
  2462 		.db		0Ah
  2994 		.db		0Ah
  2463 		.db		0Ah
  2995 		.db		0Ah
  2464 		.db		0Ah
  2996 		.db		4
  2465 		.db		4  
  2997 		.db		0
  2466 		.db		0  
  2998 		.db		4
  2467 		.db		4  
  2999 		.db		0
  2468 		.db		0  
  3000 		.db		4
  2469 		.db		4  
  3001 		.db		0Ch
  2470 		.db		0Ch
  3002 		.db		4
  2471 		.db		4  
  3003 		.db		4
  2472 		.db		4  
  3004 		.db		0Eh
  2473 		.db		0Eh
  3005 		.db		0
  2474 		.db		0  
  3006 		.db		4
  2475 		.db		4  
  3007 		.db		0
  2476 		.db		0  
  3008 		.db		0Ch
  2477 		.db		0Ch
  3009 		.db		2
  2478 		.db		2  
  3010 		.db		4
  2479 		.db		4  
  3011 		.db		8
  2480 		.db		8  
  3012 		.db		0Eh
  2481 		.db		0Eh
  3013 		.db		0
  2482 		.db		0  
  3014 		.db		4
  2483 		.db		4  
  3015 		.db		0
  2484 		.db		0  
  3016 		.db		0Ch
  2485 		.db		0Ch
  3017 		.db		2
  2486 		.db		2  
  3018 		.db		4
  2487 		.db		4  
  3019 		.db		2
  2488 		.db		2  
  3020 		.db		0Ch
  2489 		.db		0Ch
  3021 		.db		0
  2490 		.db		0  
  3022 		.db		4
  2491 		.db		4  
  3023 		.db		0
  2492 		.db		0  
  3024 		.db		8
  2493 		.db		8  
  3025 		.db		0Ah
  2494 		.db		0Ah
  3026 		.db		0Eh
  2495 		.db		0Eh
  3027 		.db		2
  2496 		.db		2  
  3028 		.db		2
  2497 		.db		2  
  3029 		.db		0
  2498 		.db		0  
  3030 		.db		4
  2499 		.db		4  
  3031 		.db		0
  2500 		.db		0  
  3032 		.db		0Eh
  2501 		.db		0Eh
  3033 		.db		8
  2502 		.db		8  
  3034 		.db		0Ch
  2503 		.db		0Ch
  3035 		.db		2
  2504 		.db		2  
  3036 		.db		0Ch
  2505 		.db		0Ch
  3037 		.db		0
  2506 		.db		0  
  3038 		.db		4
  2507 		.db		4  
  3039 		.db		0
  2508 		.db		0  
  3040 		.db		6
  2509 		.db		6  
  3041 		.db		8
  2510 		.db		8  
  3042 		.db		0Eh
  2511 		.db		0Eh
  3043 		.db		0Ah
  2512 		.db		0Ah
  3044 		.db		0Eh
  2513 		.db		0Eh
  3045 		.db		0
  2514 		.db		0  
  3046 		.db		4
  2515 		.db		4  
  3047 		.db		0
  2516 		.db		0  
  3048 		.db		0Eh
  2517 		.db		0Eh
  3049 		.db		2
  2518 		.db		2  
  3050 		.db		4
  2519 		.db		4  
  3051 		.db		8
  2520 		.db		8  
  3052 		.db		8
  2521 		.db		8  
  3053 		.db		0
  2522 		.db		0  
  3054 		.db		4
  2523 		.db		4  
  3055 		.db		0
  2524 		.db		0  
  3056 		.db		0Eh
  2525 		.db		0Eh
  3057 		.db		0Ah
  2526 		.db		0Ah
  3058 		.db		0Eh
  2527 		.db		0Eh
  3059 		.db		0Ah
  2528 		.db		0Ah
  3060 		.db		0Eh
  2529 		.db		0Eh
  3061 		.db		0
  2530 		.db		0  
  3062 		.db		4
  2531 		.db		4  
  3063 		.db		0
  2532 		.db		0  
  3064 		.db		0Eh
  2533 		.db		0Eh
  3065 		.db		0Ah
  2534 		.db		0Ah
  3066 		.db		0Eh
  2535 		.db		0Eh
  3067 		.db		2
  2536 		.db		2  
  3068 		.db		0Ch
  2537 		.db		0Ch
  3069 		.db		0
  2538 		.db		0  
  3070 		.db		2
  2539 		.db		2  
  3071 		.db		0
  2540 		.db		0  
  3072 		.db		0
  2541 		.db		0  
  3073 		.db		2
  2542 		.db		2  
  3074 		.db		0
  2543 		.db		0  
  3075 		.db		2
  2544 		.db		2  
  3076 		.db		0
  2545 		.db		0  
  3077 		.db		0
  2546 		.db		0  
  3078 		.db		3
  2547 		.db		3  
  3079 		.db		0
  2548 		.db		0  
  3080 		.db		0
  2549 		.db		0  
  3081 		.db		2
  2550 		.db		2  
  3082 		.db		0
  2551 		.db		0  
  3083 		.db		2
  2552 		.db		2  
  3084 		.db		4
  2553 		.db		4  
  3085 		.db		0
  2554 		.db		0  
  3086 		.db		4
  2555 		.db		4  
  3087 		.db		0
  2556 		.db		0  
  3088 		.db		2
  2557 		.db		2  
  3089 		.db		4
  2558 		.db		4  
  3090 		.db		8
  2559 		.db		8  
  3091 		.db		4
  2560 		.db		4  
  3092 		.db		2
  2561 		.db		2  
  3093 		.db		0
  2562 		.db		0  
  3094 		.db		4
  2563 		.db		4  
  3095 		.db		0
  2564 		.db		0  
  3096 		.db		0
  2565 		.db		0  
  3097 		.db		0Eh
  2566 		.db		0Eh
  3098 		.db		0
  2567 		.db		0  
  3099 		.db		0Eh
  2568 		.db		0Eh
  3100 		.db		0
  2569 		.db		0  
  3101 		.db		0
  2570 		.db		0  
  3102 		.db		4
  2571 		.db		4  
  3103 		.db		0
  2572 		.db		0  
  3104 		.db		8
  2573 		.db		8  
  3105 		.db		4
  2574 		.db		4  
  3106 		.db		2
  2575 		.db		2  
  3107 		.db		4
  2576 		.db		4  
  3108 		.db		8
  2577 		.db		8  
  3109 		.db		0
  2578 		.db		0  
  3110 		.db		4
  2579 		.db		4  
  3111 		.db		0
  2580 		.db		0  
  3112 		.db		0Ch
  2581 		.db		0Ch
  3113 		.db		2
  2582 		.db		2  
  3114 		.db		4
  2583 		.db		4  
  3115 		.db		0
  2584 		.db		0  
  3116 		.db		4
  2585 		.db		4  
  3117 		.db		0
  2586 		.db		0  
  3118 		.db		6
  2587 		.db		6  
  3119 		.db		0
  2588 		.db		0  
  3120 		.db		1Ch
  2589 		.db		1Ch
  3121 		.db		2
  2590 		.db		2  
  3122 		.db		1Ah
  2591 		.db		1Ah
  3123 		.db		2Ah	; *
  2592 		.db		2Ah
  3124 		.db		1Ch
  2593 		.db		1Ch
  3125 		.db		0
  2594 		.db		0  
  3126 		.db		4
  2595 		.db		4  
  3127 		.db		0
  2596 		.db		0  
  3128 		.db		4
  2597 		.db		4  
  3129 		.db		0Ah
  2598 		.db		0Ah
  3130 		.db		0Eh
  2599 		.db		0Eh
  3131 		.db		0Ah
  2600 		.db		0Ah
  3132 		.db		0Ah
  2601 		.db		0Ah
  3133 		.db		0
  2602 		.db		0  
  3134 		.db		4
  2603 		.db		4  
  3135 		.db		0
  2604 		.db		0  
  3136 		.db		0Ch
  2605 		.db		0Ch
  3137 		.db		0Ah
  2606 		.db		0Ah
  3138 		.db		0Ch
  2607 		.db		0Ch
  3139 		.db		0Ah
  2608 		.db		0Ah
  3140 		.db		0Ch
  2609 		.db		0Ch
  3141 		.db		0
  2610 		.db		0  
  3142 		.db		4
  2611 		.db		4  
  3143 		.db		0
  2612 		.db		0  
  3144 		.db		6
  2613 		.db		6  
  3145 		.db		8
  2614 		.db		8  
  3146 		.db		8
  2615 		.db		8  
  3147 		.db		8
  2616 		.db		8  
  3148 		.db		6
  2617 		.db		6  
  3149 		.db		0
  2618 		.db		0  
  3150 		.db		4
  2619 		.db		4  
  3151 		.db		0
  2620 		.db		0  
  3152 		.db		0Ch
  2621 		.db		0Ch
  3153 		.db		0Ah
  2622 		.db		0Ah
  3154 		.db		0Ah
  2623 		.db		0Ah
  3155 		.db		0Ah
  2624 		.db		0Ah
  3156 		.db		0Ch
  2625 		.db		0Ch
  3157 		.db		0
  2626 		.db		0  
  3158 		.db		4
  2627 		.db		4  
  3159 		.db		0
  2628 		.db		0  
  3160 		.db		0Eh
  2629 		.db		0Eh
  3161 		.db		8
  2630 		.db		8  
  3162 		.db		0Ch
  2631 		.db		0Ch
  3163 		.db		8
  2632 		.db		8  
  3164 		.db		0Eh
  2633 		.db		0Eh
  3165 		.db		0
  2634 		.db		0  
  3166 		.db		4
  2635 		.db		4  
  3167 		.db		0
  2636 		.db		0  
  3168 		.db		0Eh
  2637 		.db		0Eh
  3169 		.db		8
  2638 		.db		8  
  3170 		.db		0Ch
  2639 		.db		0Ch
  3171 		.db		8
  2640 		.db		8  
  3172 		.db		8
  2641 		.db		8  
  3173 		.db		0
  2642 		.db		0  
  3174 		.db		4
  2643 		.db		4  
  3175 		.db		0
  2644 		.db		0  
  3176 		.db		6
  2645 		.db		6  
  3177 		.db		8
  2646 		.db		8  
  3178 		.db		0Ah
  2647 		.db		0Ah
  3179 		.db		0Ah
  2648 		.db		0Ah
  3180 		.db		6
  2649 		.db		6  
  3181 		.db		0
  2650 		.db		0  
  3182 		.db		4
  2651 		.db		4  
  3183 		.db		0
  2652 		.db		0  
  3184 		.db		0Ah
  2653 		.db		0Ah
  3185 		.db		0Ah
  2654 		.db		0Ah
  3186 		.db		0Eh
  2655 		.db		0Eh
  3187 		.db		0Ah
  2656 		.db		0Ah
  3188 		.db		0Ah
  2657 		.db		0Ah
  3189 		.db		0
  2658 		.db		0  
  3190 		.db		4
  2659 		.db		4  
  3191 		.db		0
  2660 		.db		0  
  3192 		.db		0Eh
  2661 		.db		0Eh
  3193 		.db		4
  2662 		.db		4  
  3194 		.db		4
  2663 		.db		4  
  3195 		.db		4
  2664 		.db		4  
  3196 		.db		0Eh
  2665 		.db		0Eh
  3197 		.db		0
  2666 		.db		0  
  3198 		.db		4
  2667 		.db		4  
  3199 		.db		0
  2668 		.db		0  
  3200 		.db		2
  2669 		.db		2  
  3201 		.db		2
  2670 		.db		2  
  3202 		.db		2
  2671 		.db		2  
  3203 		.db		0Ah
  2672 		.db		0Ah
  3204 		.db		0Eh
  2673 		.db		0Eh
  3205 		.db		0
  2674 		.db		0  
  3206 		.db		4
  2675 		.db		4  
  3207 		.db		0
  2676 		.db		0  
  3208 		.db		0Ah
  2677 		.db		0Ah
  3209 		.db		0Ah
  2678 		.db		0Ah
  3210 		.db		0Ch
  2679 		.db		0Ch
  3211 		.db		0Ah
  2680 		.db		0Ah
  3212 		.db		0Ah
  2681 		.db		0Ah
  3213 		.db		0
  2682 		.db		0  
  3214 		.db		4
  2683 		.db		4  
  3215 		.db		0
  2684 		.db		0  
  3216 		.db		8
  2685 		.db		8  
  3217 		.db		8
  2686 		.db		8  
  3218 		.db		8
  2687 		.db		8  
  3219 		.db		8
  2688 		.db		8  
  3220 		.db		0Eh
  2689 		.db		0Eh
  3221 		.db		0
  2690 		.db		0  
  3222 		.db		4
  2691 		.db		4  
  3223 		.db		0
  2692 		.db		0  
  3224 		.db		0Ah
  2693 		.db		0Ah
  3225 		.db		0Eh
  2694 		.db		0Eh
  3226 		.db		0Eh
  2695 		.db		0Eh
  3227 		.db		0Ah
  2696 		.db		0Ah
  3228 		.db		0Ah
  2697 		.db		0Ah
  3229 		.db		0
  2698 		.db		0  
  3230 		.db		4
  2699 		.db		4  
  3231 		.db		0
  2700 		.db		0  
  3232 		.db		0Ch
  2701 		.db		0Ch
  3233 		.db		0Ah
  2702 		.db		0Ah
  3234 		.db		0Ah
  2703 		.db		0Ah
  3235 		.db		0Ah
  2704 		.db		0Ah
  3236 		.db		0Ah
  2705 		.db		0Ah
  3237 		.db		0
  2706 		.db		0  
  3238 		.db		4
  2707 		.db		4  
  3239 		.db		0
  2708 		.db		0  
  3240 		.db		0Eh
  2709 		.db		0Eh
  3241 		.db		0Ah
  2710 		.db		0Ah
  3242 		.db		0Ah
  2711 		.db		0Ah
  3243 		.db		0Ah
  2712 		.db		0Ah
  3244 		.db		0Eh
  2713 		.db		0Eh
  3245 		.db		0
  2714 		.db		0  
  3246 		.db		4
  2715 		.db		4  
  3247 		.db		0
  2716 		.db		0  
  3248 		.db		0Ch
  2717 		.db		0Ch
  3249 		.db		0Ah
  2718 		.db		0Ah
  3250 		.db		0Ch
  2719 		.db		0Ch
  3251 		.db		8
  2720 		.db		8  
  3252 		.db		8
  2721 		.db		8  
  3253 		.db		0
  2722 		.db		0  
  3254 		.db		4
  2723 		.db		4  
  3255 		.db		0
  2724 		.db		0  
  3256 		.db		0Eh
  2725 		.db		0Eh
  3257 		.db		0Ah
  2726 		.db		0Ah
  3258 		.db		0Ah
  2727 		.db		0Ah
  3259 		.db		0Eh
  2728 		.db		0Eh
  3260 		.db		6
  2729 		.db		6  
  3261 		.db		0
  2730 		.db		0  
  3262 		.db		4
  2731 		.db		4  
  3263 		.db		0
  2732 		.db		0  
  3264 		.db		0Ch
  2733 		.db		0Ch
  3265 		.db		0Ah
  2734 		.db		0Ah
  3266 		.db		0Ch
  2735 		.db		0Ch
  3267 		.db		0Ah
  2736 		.db		0Ah
  3268 		.db		0Ah
  2737 		.db		0Ah
  3269 		.db		0
  2738 		.db		0  
  3270 		.db		4
  2739 		.db		4  
  3271 		.db		0
  2740 		.db		0  
  3272 		.db		6
  2741 		.db		6  
  3273 		.db		8
  2742 		.db		8  
  3274 		.db		4
  2743 		.db		4  
  3275 		.db		2
  2744 		.db		2  
  3276 		.db		0Ch
  2745 		.db		0Ch
  3277 		.db		0
  2746 		.db		0  
  3278 		.db		4
  2747 		.db		4  
  3279 		.db		0
  2748 		.db		0  
  3280 		.db		0Eh
  2749 		.db		0Eh
  3281 		.db		4
  2750 		.db		4  
  3282 		.db		4
  2751 		.db		4  
  3283 		.db		4
  2752 		.db		4  
  3284 		.db		4
  2753 		.db		4  
  3285 		.db		0
  2754 		.db		0  
  3286 		.db		4
  2755 		.db		4  
  3287 		.db		0
  2756 		.db		0  
  3288 		.db		0Ah
  2757 		.db		0Ah
  3289 		.db		0Ah
  2758 		.db		0Ah
  3290 		.db		0Ah
  2759 		.db		0Ah
  3291 		.db		0Ah
  2760 		.db		0Ah
  3292 		.db		0Eh
  2761 		.db		0Eh
  3293 		.db		0
  2762 		.db		0  
  3294 		.db		4
  2763 		.db		4  
  3295 		.db		0
  2764 		.db		0  
  3296 		.db		0Ah
  2765 		.db		0Ah
  3297 		.db		0Ah
  2766 		.db		0Ah
  3298 		.db		0Ah
  2767 		.db		0Ah
  3299 		.db		4
  2768 		.db		4  
  3300 		.db		4
  2769 		.db		4  
  3301 		.db		0
  2770 		.db		0  
  3302 		.db		4
  2771 		.db		4  
  3303 		.db		0
  2772 		.db		0  
  3304 		.db		0Ah
  2773 		.db		0Ah
  3305 		.db		0Ah
  2774 		.db		0Ah
  3306 		.db		0Ah
  2775 		.db		0Ah
  3307 		.db		0Eh
  2776 		.db		0Eh
  3308 		.db		0Ah
  2777 		.db		0Ah
  3309 		.db		0
  2778 		.db		0  
  3310 		.db		4
  2779 		.db		4  
  3311 		.db		0
  2780 		.db		0  
  3312 		.db		0Ah
  2781 		.db		0Ah
  3313 		.db		0Ah
  2782 		.db		0Ah
  3314 		.db		4
  2783 		.db		4  
  3315 		.db		0Ah
  2784 		.db		0Ah
  3316 		.db		0Ah
  2785 		.db		0Ah
  3317 		.db		0
  2786 		.db		0  
  3318 		.db		4
  2787 		.db		4  
  3319 		.db		0
  2788 		.db		0  
  3320 		.db		0Ah
  2789 		.db		0Ah
  3321 		.db		0Ah
  2790 		.db		0Ah
  3322 		.db		4
  2791 		.db		4  
  3323 		.db		4
  2792 		.db		4  
  3324 		.db		4
  2793 		.db		4  
  3325 		.db		0
  2794 		.db		0  
  3326 		.db		4
  2795 		.db		4  
  3327 		.db		0
  2796 		.db		0  
  3328 		.db		0Eh
  2797 		.db		0Eh
  3329 		.db		2
  2798 		.db		2  
  3330 		.db		4
  2799 		.db		4  
  3331 		.db		8
  2800 		.db		8  
  3332 		.db		0Eh
  2801 		.db		0Eh
  3333 		.db		0
  2802 		.db		0  
  3334 		.db		4
  2803 		.db		4  
  3335 		.db		0
  2804 		.db		0  
  3336 		.db		4
  2805 		.db		4  
  3337 		.db		0Ah
  2806 		.db		0Ah
  3338 		.db		0Eh
  2807 		.db		0Eh
  3339 		.db		0Ah
  2808 		.db		0Ah
  3340 		.db		4
  2809 		.db		4  
  3341 		.db		0
  2810 		.db		0  
  3342 		.db		4
  2811 		.db		4  
  3343 		.db		0
  2812 		.db		0  
  3344 		.db		8
  2813 		.db		8  
  3345 		.db		8
  2814 		.db		8  
  3346 		.db		4
  2815 		.db		4  
  3347 		.db		2
  2816 		.db		2  
  3348 		.db		2
  2817 		.db		2  
  3349 		.db		0
  2818 		.db		0  
  3350 		.db		3
  2819 		.db		3  
  3351 		.db		0
  2820 		.db		0  
  3352 		.db		6
  2821 		.db		6  
  3353 		.db		2
  2822 		.db		2  
  3354 		.db		2
  2823 		.db		2  
  3355 		.db		2
  2824 		.db		2  
  3356 		.db		6
  2825 		.db		6  
  3357 		.db		0
  2826 		.db		0  
  3358 		.db		4
  2827 		.db		4  
  3359 		.db		0
  2828 		.db		0  
  3360 		.db		4
  2829 		.db		4  
  3361 		.db		0Ah
  2830 		.db		0Ah
  3362 		.db		0
  2831 		.db		0  
  3363 		.db		0
  2832 		.db		0  
  3364 		.db		0
  2833 		.db		0  
  3365 		.db		0
  2834 		.db		0  
  3366 		.db		4
  2835 		.db		4  
  3367 		.db		0
  2836 		.db		0  
  3368 		.db		0
  2837 		.db		0  
  3369 		.db		0
  2838 		.db		0  
  3370 		.db		0
  2839 		.db		0  
  3371 		.db		0
  2840 		.db		0  
  3372 		.db		0Eh
  2841 		.db		0Eh
  3373 		.db		0
  2842 		.db		0  
  3374 		.db		3
  2843 		.db		3  
  3375 		.db		0
  2844 		.db		0  
  3376 		.db		4
  2845 		.db		4  
  3377 		.db		2
  2846 		.db		2  
  3378 		.db		0
  2847 		.db		0  
  3379 		.db		0
  2848 		.db		0  
  3380 		.db		0
  2849 		.db		0  
  3381 		.db		0
  2850 		.db		0  
  3382 		.db		4
  2851 		.db		4  
  3383 		.db		0
  2852 		.db		0  
  3384 		.db		0
  2853 		.db		0  
  3385 		.db		6
  2854 		.db		6  
  3386 		.db		0Ah
  2855 		.db		0Ah
  3387 		.db		0Ah
  2856 		.db		0Ah
  3388 		.db		6
  2857 		.db		6  
  3389 		.db		0
  2858 		.db		0  
  3390 		.db		4
  2859 		.db		4  
  3391 		.db		0
  2860 		.db		0  
  3392 		.db		8
  2861 		.db		8  
  3393 		.db		0Ch
  2862 		.db		0Ch
  3394 		.db		0Ah
  2863 		.db		0Ah
  3395 		.db		0Ah
  2864 		.db		0Ah
  3396 		.db		0Ch
  2865 		.db		0Ch
  3397 		.db		0
  2866 		.db		0  
  3398 		.db		4
  2867 		.db		4  
  3399 		.db		0
  2868 		.db		0  
  3400 		.db		0
  2869 		.db		0  
  3401 		.db		6
  2870 		.db		6  
  3402 		.db		8
  2871 		.db		8  
  3403 		.db		8
  2872 		.db		8  
  3404 		.db		6
  2873 		.db		6  
  3405 		.db		0
  2874 		.db		0  
  3406 		.db		4
  2875 		.db		4  
  3407 		.db		0
  2876 		.db		0  
  3408 		.db		2
  2877 		.db		2  
  3409 		.db		6
  2878 		.db		6  
  3410 		.db		0Ah
  2879 		.db		0Ah
  3411 		.db		0Ah
  2880 		.db		0Ah
  3412 		.db		6
  2881 		.db		6  
  3413 		.db		0
  2882 		.db		0  
  3414 		.db		4
  2883 		.db		4  
  3415 		.db		0
  2884 		.db		0  
  3416 		.db		0
  2885 		.db		0  
  3417 		.db		4
  2886 		.db		4  
  3418 		.db		0Ah
  2887 		.db		0Ah
  3419 		.db		0Ch
  2888 		.db		0Ch
  3420 		.db		6
  2889 		.db		6  
  3421 		.db		0
  2890 		.db		0  
  3422 		.db		3
  2891 		.db		3  
  3423 		.db		0
  2892 		.db		0  
  3424 		.db		2
  2893 		.db		2  
  3425 		.db		4
  2894 		.db		4  
  3426 		.db		6
  2895 		.db		6  
  3427 		.db		4
  2896 		.db		4  
  3428 		.db		4
  2897 		.db		4  
  3429 		.db		0
  2898 		.db		0  
  3430 		.db		4
  2899 		.db		4  
  3431 		.db		0
  2900 		.db		0  
  3432 		.db		6
  2901 		.db		6  
  3433 		.db		0Ah
  2902 		.db		0Ah
  3434 		.db		6
  2903 		.db		6  
  3435 		.db		2
  2904 		.db		2  
  3436 		.db		0Ch
  2905 		.db		0Ch
  3437 		.db		0
  2906 		.db		0  
  3438 		.db		4
  2907 		.db		4  
  3439 		.db		0
  2908 		.db		0  
  3440 		.db		8
  2909 		.db		8  
  3441 		.db		0Ch
  2910 		.db		0Ch
  3442 		.db		0Ah
  2911 		.db		0Ah
  3443 		.db		0Ah
  2912 		.db		0Ah
  3444 		.db		0Ah
  2913 		.db		0Ah
  3445 		.db		0
  2914 		.db		0  
  3446 		.db		2
  2915 		.db		2  
  3447 		.db		0
  2916 		.db		0  
  3448 		.db		2
  2917 		.db		2  
  3449 		.db		0
  2918 		.db		0  
  3450 		.db		2
  2919 		.db		2  
  3451 		.db		2
  2920 		.db		2  
  3452 		.db		2
  2921 		.db		2  
  3453 		.db		0
  2922 		.db		0  
  3454 		.db		4
  2923 		.db		4  
  3455 		.db		0
  2924 		.db		0  
  3456 		.db		2
  2925 		.db		2  
  3457 		.db		0
  2926 		.db		0  
  3458 		.db		2
  2927 		.db		2  
  3459 		.db		0Ah
  2928 		.db		0Ah
  3460 		.db		4
  2929 		.db		4  
  3461 		.db		0
  2930 		.db		0  
  3462 		.db		4
  2931 		.db		4  
  3463 		.db		0
  2932 		.db		0  
  3464 		.db		8
  2933 		.db		8  
  3465 		.db		8
  2934 		.db		8  
  3466 		.db		0Ah
  2935 		.db		0Ah
  3467 		.db		0Ch
  2936 		.db		0Ch
  3468 		.db		0Ah
  2937 		.db		0Ah
  3469 		.db		0
  2938 		.db		0  
  3470 		.db		3
  2939 		.db		3  
  3471 		.db		0
  2940 		.db		0  
  3472 		.db		6
  2941 		.db		6  
  3473 		.db		2
  2942 		.db		2  
  3474 		.db		2
  2943 		.db		2  
  3475 		.db		2
  2944 		.db		2  
  3476 		.db		2
  2945 		.db		2  
  3477 		.db		0
  2946 		.db		0  
  3478 		.db		6
  2947 		.db		6  
  3479 		.db		0
  2948 		.db		0  
  3480 		.db		0
  2949 		.db		0  
  3481 		.db		34h	; 4
  2950 		.db		34h
  3482 		.db		2Ah	; *
  2951 		.db		2Ah
  3483 		.db		2Ah	; *
  2952 		.db		2Ah
  3484 		.db		22h	; "
  2953 		.db		22h
  3485 		.db		0
  2954 		.db		0  
  3486 		.db		4
  2955 		.db		4  
  3487 		.db		0
  2956 		.db		0  
  3488 		.db		0
  2957 		.db		0  
  3489 		.db		0Ch
  2958 		.db		0Ch
  3490 		.db		0Ah
  2959 		.db		0Ah
  3491 		.db		0Ah
  2960 		.db		0Ah
  3492 		.db		0Ah
  2961 		.db		0Ah
  3493 		.db		0
  2962 		.db		0  
  3494 		.db		4
  2963 		.db		4  
  3495 		.db		0
  2964 		.db		0  
  3496 		.db		0
  2965 		.db		0  
  3497 		.db		4
  2966 		.db		4  
  3498 		.db		0Ah
  2967 		.db		0Ah
  3499 		.db		0Ah
  2968 		.db		0Ah
  3500 		.db		4
  2969 		.db		4  
  3501 		.db		0
  2970 		.db		0  
  3502 		.db		4
  2971 		.db		4  
  3503 		.db		0
  2972 		.db		0  
  3504 		.db		0
  2973 		.db		0  
  3505 		.db		0Ch
  2974 		.db		0Ch
  3506 		.db		0Ah
  2975 		.db		0Ah
  3507 		.db		0Ch
  2976 		.db		0Ch
  3508 		.db		8
  2977 		.db		8  
  3509 		.db		0
  2978 		.db		0  
  3510 		.db		4
  2979 		.db		4  
  3511 		.db		0
  2980 		.db		0  
  3512 		.db		0
  2981 		.db		0  
  3513 		.db		6
  2982 		.db		6  
  3514 		.db		0Ah
  2983 		.db		0Ah
  3515 		.db		6
  2984 		.db		6  
  3516 		.db		2
  2985 		.db		2  
  3517 		.db		0
  2986 		.db		0  
  3518 		.db		4
  2987 		.db		4  
  3519 		.db		0
  2988 		.db		0  
  3520 		.db		0
  2989 		.db		0  
  3521 		.db		0Ah
  2990 		.db		0Ah
  3522 		.db		0Ch
  2991 		.db		0Ch
  3523 		.db		8
  2992 		.db		8  
  3524 		.db		8
  2993 		.db		8  
  3525 		.db		0
  2994 		.db		0  
  3526 		.db		3
  2995 		.db		3  
  3527 		.db		0
  2996 		.db		0  
  3528 		.db		0
  2997 		.db		0  
  3529 		.db		6
  2998 		.db		6  
  3530 		.db		4
  2999 		.db		4  
  3531 		.db		2
  3000 		.db		2  
  3532 		.db		6
  3001 		.db		6  
  3533 		.db		0
  3002 		.db		0  
  3534 		.db		3
  3003 		.db		3  
  3535 		.db		0
  3004 		.db		0  
  3536 		.db		4
  3005 		.db		4  
  3537 		.db		6
  3006 		.db		6  
  3538 		.db		4
  3007 		.db		4  
  3539 		.db		4
  3008 		.db		4  
  3540 		.db		2
  3009 		.db		2  
  3541 		.db		0
  3010 		.db		0  
  3542 		.db		4
  3011 		.db		4  
  3543 		.db		0
  3012 		.db		0  
  3544 		.db		0
  3013 		.db		0  
  3545 		.db		0Ah
  3014 		.db		0Ah
  3546 		.db		0Ah
  3015 		.db		0Ah
  3547 		.db		0Ah
  3016 		.db		0Ah
  3548 		.db		0Eh
  3017 		.db		0Eh
  3549 		.db		0
  3018 		.db		0  
  3550 		.db		4
  3019 		.db		4  
  3551 		.db		0
  3020 		.db		0  
  3552 		.db		0
  3021 		.db		0  
  3553 		.db		0Ah
  3022 		.db		0Ah
  3554 		.db		0Ah
  3023 		.db		0Ah
  3555 		.db		4
  3024 		.db		4  
  3556 		.db		4
  3025 		.db		4  
  3557 		.db		0
  3026 		.db		0  
  3558 		.db		6
  3027 		.db		6  
  3559 		.db		0
  3028 		.db		0  
  3560 		.db		0
  3029 		.db		0  
  3561 		.db		22h	; "
  3030 		.db		22h
  3562 		.db		2Ah	; *
  3031 		.db		2Ah
  3563 		.db		2Ah	; *
  3032 		.db		2Ah
  3564 		.db		14h
  3033 		.db		14h
  3565 		.db		0
  3034 		.db		0  
  3566 		.db		4
  3035 		.db		4  
  3567 		.db		0
  3036 		.db		0  
  3568 		.db		0
  3037 		.db		0  
  3569 		.db		0Ah
  3038 		.db		0Ah
  3570 		.db		4
  3039 		.db		4  
  3571 		.db		4
  3040 		.db		4  
  3572 		.db		0Ah
  3041 		.db		0Ah
  3573 		.db		0
  3042 		.db		0  
  3574 		.db		4
  3043 		.db		4  
  3575 		.db		0
  3044 		.db		0  
  3576 		.db		0
  3045 		.db		0  
  3577 		.db		0Ah
  3046 		.db		0Ah
  3578 		.db		0Ah
  3047 		.db		0Ah
  3579 		.db		4
  3048 		.db		4  
  3580 		.db		8
  3049 		.db		8  
  3581 		.db		0
  3050 		.db		0  
  3582 		.db		5
  3051 		.db		5  
  3583 		.db		0
  3052 		.db		0  
  3584 		.db		0
  3053 		.db		0  
  3585 		.db		1Eh
  3054 		.db		1Eh
  3586 		.db		4
  3055 		.db		4  
  3587 		.db		8
  3056 		.db		8  
  3588 		.db		1Eh
  3057 		.db		1Eh
  3589 		.db		0
  3058 		.db		0  
  3590 		.db		4
  3059 		.db		4  
  3591 		.db		0
  3060 		.db		0  
  3592 		.db		6
  3061 		.db		6  
  3593 		.db		4
  3062 		.db		4  
  3594 		.db		8
  3063 		.db		8  
  3595 		.db		4
  3064 		.db		4  
  3596 		.db		6
  3065 		.db		6  
  3597 		.db		0
  3066 		.db		0  
  3598 		.db		2
  3067 		.db		2  
  3599 		.db		0
  3068 		.db		0  
  3600 		.db		2
  3069 		.db		2  
  3601 		.db		2
  3070 		.db		2  
  3602 		.db		2
  3071 		.db		2  
  3603 		.db		2
  3072 		.db		2  
  3604 		.db		2
  3073 		.db		2  
  3605 		.db		0
  3074 		.db		0  
  3606 		.db		4
  3075 		.db		4  
  3607 		.db		0
  3076 		.db		0  
  3608 		.db		0Ch
  3077 		.db		0Ch
  3609 		.db		4
  3078 		.db		4  
  3610 		.db		2
  3079 		.db		2  
  3611 		.db		4
  3080 		.db		4  
  3612 		.db		0Ch
  3081 		.db		0Ch
  3613 		.db		0
  3082 		.db		0  
  3614 		.db		5
  3083 		.db		5  
  3615 		.db		0
  3084 		.db		0  
  3616 		.db		0
  3085 		.db		0  
  3617 		.db		0Ah
  3086 		.db		0Ah
  3618 		.db		14h
  3087 		.db		14h
  3619 		.db		0
  3088 		.db		0  
  3620 		.db		0
  3089 		.db		0  
  3621 		.db		0
  3090 		.db		0  
  3622 		.db		4
  3091 		.db		4  
  3623 		.db		0
  3092 		.db		0  
  3624 		.db		0Eh
  3093 		.db		0Eh
  3625 		.db		0
  3094 		.db		0  
  3626 		.db		0Eh
  3095 		.db		0Eh
  3627 		.db		0
  3096 		.db		0  
  3628 		.db		0Eh
  3097 		.db		0Eh
  3629 		.db		0
  3098 		.db		0  
  3630 		.db		4
  3099 		.db		4  
  3631 		.db		0
  3100 		.db		0  
  3632 		.db		0Eh
  3101 		.db		0Eh
  3633 		.db		0Ah
  3102 		.db		0Ah
  3634 		.db		0Ah
  3103 		.db		0Ah
  3635 		.db		0Ah
  3104 		.db		0Ah
  3636 		.db		0Eh
  3105 		.db		0Eh
  3637 		.db		0
  3106 		.db		0  
  3638 		.db		3
  3107 		.db		3  
  3639 		.db		0
  3108 		.db		0  
  3640 		.db		2
  3109 		.db		2  
  3641 		.db		6
  3110 		.db		6  
  3642 		.db		2
  3111 		.db		2  
  3643 		.db		2
  3112 		.db		2  
  3644 		.db		2
  3113 		.db		2  
  3645 		.db		0
  3114 		.db		0  
  3646 		.db		4
  3115 		.db		4  
  3647 		.db		0
  3116 		.db		0  
  3648 		.db		0Ch
  3117 		.db		0Ch
  3649 		.db		2
  3118 		.db		2  
  3650 		.db		4
  3119 		.db		4  
  3651 		.db		8
  3120 		.db		8  
  3652 		.db		0Eh
  3121 		.db		0Eh
  3653 		.db		0
  3122 		.db		0  
  3654 		.db		4
  3123 		.db		4  
  3655 		.db		0
  3124 		.db		0  
  3656 		.db		0Ch
  3125 		.db		0Ch
  3657 		.db		2
  3126 		.db		2  
  3658 		.db		4
  3127 		.db		4  
  3659 		.db		2
  3128 		.db		2  
  3660 		.db		0Ch
  3129 		.db		0Ch
  3661 		.db		0
  3130 		.db		0  
  3662 		.db		4
  3131 		.db		4  
  3663 		.db		0
  3132 		.db		0  
  3664 		.db		8
  3133 		.db		8  
  3665 		.db		0Ah
  3134 		.db		0Ah
  3666 		.db		0Eh
  3135 		.db		0Eh
  3667 		.db		2
  3136 		.db		2  
  3668 		.db		2
  3137 		.db		2  
  3669 		.db		0
  3138 		.db		0  
  3670 		.db		4
  3139 		.db		4  
  3671 		.db		0
  3140 		.db		0  
  3672 		.db		0Eh
  3141 		.db		0Eh
  3673 		.db		8
  3142 		.db		8  
  3674 		.db		0Ch
  3143 		.db		0Ch
  3675 		.db		2
  3144 		.db		2  
  3676 		.db		0Ch
  3145 		.db		0Ch
  3677 		.db		0
  3146 		.db		0  
  3678 		.db		4
  3147 		.db		4  
  3679 		.db		0
  3148 		.db		0  
  3680 		.db		6
  3149 		.db		6  
  3681 		.db		8
  3150 		.db		8  
  3682 		.db		0Eh
  3151 		.db		0Eh
  3683 		.db		0Ah
  3152 		.db		0Ah
  3684 		.db		0Eh
  3153 		.db		0Eh
  3685 		.db		0
  3154 		.db		0  
  3686 		.db		4
  3155 		.db		4  
  3687 		.db		0
  3156 		.db		0  
  3688 		.db		0Eh
  3157 		.db		0Eh
  3689 		.db		2
  3158 		.db		2  
  3690 		.db		4
  3159 		.db		4  
  3691 		.db		8
  3160 		.db		8  
  3692 		.db		8
  3161 		.db		8  
  3693 		.db		0
  3162 		.db		0  
  3694 		.db		4
  3163 		.db		4  
  3695 		.db		0
  3164 		.db		0  
  3696 		.db		0Eh
  3165 		.db		0Eh
  3697 		.db		0Ah
  3166 		.db		0Ah
  3698 		.db		0Eh
  3167 		.db		0Eh
  3699 		.db		0Ah
  3168 		.db		0Ah
  3700 		.db		0Eh
  3169 		.db		0Eh
  3701 		.db		0
  3170 		.db		0  
  3702 		.db		4
  3171 		.db		4  
  3703 		.db		0
  3172 		.db		0  
  3704 		.db		0Eh
  3173 		.db		0Eh
  3705 		.db		0Ah
  3174 		.db		0Ah
  3706 		.db		0Eh
  3175 		.db		0Eh
  3707 		.db		2
  3176 		.db		2  
  3708 		.db		0Ch
  3177 		.db		0Ch
  3709 		.db		0
  3178 		.db		0  
  3710 		.db		5
  3179 		.db		5  
  3711 		.db		2
  3180 		.db		2  
  3712 		.db		4
  3181 		.db		4  
  3713 		.db		0Ch
  3182 		.db		0Ch
  3714 		.db		12h
  3183 		.db		12h
  3715 		.db		1Eh
  3184 		.db		1Eh
  3716 		.db		12h
  3185 		.db		12h
  3717 		.db		0
  3186 		.db		0  
  3718 		.db		5
  3187 		.db		5  
  3719 		.db		10h
  3188 		.db		10h
  3720 		.db		8
  3189 		.db		8  
  3721 		.db		0Ch
  3190 		.db		0Ch
  3722 		.db		12h
  3191 		.db		12h
  3723 		.db		1Eh
  3192 		.db		1Eh
  3724 		.db		12h
  3193 		.db		12h
  3725 		.db		0
  3194 		.db		0  
  3726 		.db		5
  3195 		.db		5  
  3727 		.db		0Ch
  3196 		.db		0Ch
  3728 		.db		12h
  3197 		.db		12h
  3729 		.db		0Ch
  3198 		.db		0Ch
  3730 		.db		12h
  3199 		.db		12h
  3731 		.db		1Eh
  3200 		.db		1Eh
  3732 		.db		12h
  3201 		.db		12h
  3733 		.db		0
  3202 		.db		0  
  3734 		.db		5
  3203 		.db		5  
  3735 		.db		12h
  3204 		.db		12h
  3736 		.db		0
  3205 		.db		0  
  3737 		.db		0Ch
  3206 		.db		0Ch
  3738 		.db		12h
  3207 		.db		12h
  3739 		.db		1Eh
  3208 		.db		1Eh
  3740 		.db		12h
  3209 		.db		12h
  3741 		.db		0
  3210 		.db		0  
  3742 		.db		5
  3211 		.db		5  
  3743 		.db		4
  3212 		.db		4  
  3744 		.db		8
  3213 		.db		8  
  3745 		.db		0
  3214 		.db		0  
  3746 		.db		0Ch
  3215 		.db		0Ch
  3747 		.db		14h
  3216 		.db		14h
  3748 		.db		0Ah
  3217 		.db		0Ah
  3749 		.db		0
  3218 		.db		0  
  3750 		.db		5
  3219 		.db		5  
  3751 		.db		10h
  3220 		.db		10h
  3752 		.db		8
  3221 		.db		8  
  3753 		.db		0
  3222 		.db		0  
  3754 		.db		0Ch
  3223 		.db		0Ch
  3755 		.db		14h
  3224 		.db		14h
  3756 		.db		0Ah
  3225 		.db		0Ah
  3757 		.db		0
  3226 		.db		0  
  3758 		.db		5
  3227 		.db		5  
  3759 		.db		8
  3228 		.db		8  
  3760 		.db		14h
  3229 		.db		14h
  3761 		.db		0
  3230 		.db		0  
  3762 		.db		0Ch
  3231 		.db		0Ch
  3763 		.db		14h
  3232 		.db		14h
  3764 		.db		0Ah
  3233 		.db		0Ah
  3765 		.db		0
  3234 		.db		0  
  3766 		.db		5
  3235 		.db		5  
  3767 		.db		0
  3236 		.db		0  
  3768 		.db		14h
  3237 		.db		14h
  3769 		.db		0
  3238 		.db		0  
  3770 		.db		0Ch
  3239 		.db		0Ch
  3771 		.db		14h
  3240 		.db		14h
  3772 		.db		0Ah
  3241 		.db		0Ah
  3773 		.db		0
  3242 		.db		0  
  3774 		.db		5
  3243 		.db		5  
  3775 		.db		10h
  3244 		.db		10h
  3776 		.db		0Eh
  3245 		.db		0Eh
  3777 		.db		8
  3246 		.db		8  
  3778 		.db		0Ch
  3247 		.db		0Ch
  3779 		.db		8
  3248 		.db		8  
  3780 		.db		0Eh
  3249 		.db		0Eh
  3781 		.db		0
  3250 		.db		0  
  3782 		.db		5
  3251 		.db		5  
  3783 		.db		2
  3252 		.db		2  
  3784 		.db		1Ch
  3253 		.db		1Ch
  3785 		.db		10h
  3254 		.db		10h
  3786 		.db		18h
  3255 		.db		18h
  3787 		.db		10h
  3256 		.db		10h
  3788 		.db		1Ch
  3257 		.db		1Ch
  3789 		.db		0
  3258 		.db		0  
  3790 		.db		4
  3259 		.db		4  
  3791 		.db		4
  3260 		.db		4  
  3792 		.db		0Ah
  3261 		.db		0Ah
  3793 		.db		0
  3262 		.db		0  
  3794 		.db		0Eh
  3263 		.db		0Eh
  3795 		.db		0Ch
  3264 		.db		0Ch
  3796 		.db		0Eh
  3265 		.db		0Eh
  3797 		.db		0
  3266 		.db		0  
  3798 		.db		4
  3267 		.db		4  
  3799 		.db		0Ah
  3268 		.db		0Ah
  3800 		.db		0Eh
  3269 		.db		0Eh
  3801 		.db		8
  3270 		.db		8  
  3802 		.db		0Ch
  3271 		.db		0Ch
  3803 		.db		8
  3272 		.db		8  
  3804 		.db		0Eh
  3273 		.db		0Eh
  3805 		.db		0
  3274 		.db		0  
  3806 		.db		4
  3275 		.db		4  
  3807 		.db		0
  3276 		.db		0  
  3808 		.db		2
  3277 		.db		2  
  3809 		.db		4
  3278 		.db		4  
  3810 		.db		0Ah
  3279 		.db		0Ah
  3811 		.db		0Ch
  3280 		.db		0Ch
  3812 		.db		6
  3281 		.db		6  
  3813 		.db		0
  3282 		.db		0  
  3814 		.db		4
  3283 		.db		4  
  3815 		.db		0
  3284 		.db		0  
  3816 		.db		8
  3285 		.db		8  
  3817 		.db		4
  3286 		.db		4  
  3818 		.db		0Ah
  3287 		.db		0Ah
  3819 		.db		0Ch
  3288 		.db		0Ch
  3820 		.db		6
  3289 		.db		6  
  3821 		.db		0
  3290 		.db		0  
  3822 		.db		4
  3291 		.db		4  
  3823 		.db		4
  3292 		.db		4  
  3824 		.db		0Ah
  3293 		.db		0Ah
  3825 		.db		4
  3294 		.db		4  
  3826 		.db		0Ah
  3295 		.db		0Ah
  3827 		.db		0Ch
  3296 		.db		0Ch
  3828 		.db		6
  3297 		.db		6  
  3829 		.db		0
  3298 		.db		0  
  3830 		.db		4
  3299 		.db		4  
  3831 		.db		0Ah
  3300 		.db		0Ah
  3832 		.db		0
  3301 		.db		0  
  3833 		.db		4
  3302 		.db		4  
  3834 		.db		0Ah
  3303 		.db		0Ah
  3835 		.db		0Ch
  3304 		.db		0Ch
  3836 		.db		6
  3305 		.db		6  
  3837 		.db		0
  3306 		.db		0  
  3838 		.db		4
  3307 		.db		4  
  3839 		.db		2
  3308 		.db		2  
  3840 		.db		4
  3309 		.db		4  
  3841 		.db		0Eh
  3310 		.db		0Eh
  3842 		.db		4
  3311 		.db		4  
  3843 		.db		4
  3312 		.db		4  
  3844 		.db		0Eh
  3313 		.db		0Eh
  3845 		.db		0
  3314 		.db		0  
  3846 		.db		4
  3315 		.db		4  
  3847 		.db		8
  3316 		.db		8  
  3848 		.db		4
  3317 		.db		4  
  3849 		.db		0Eh
  3318 		.db		0Eh
  3850 		.db		4
  3319 		.db		4  
  3851 		.db		4
  3320 		.db		4  
  3852 		.db		0Eh
  3321 		.db		0Eh
  3853 		.db		0
  3322 		.db		0  
  3854 		.db		4
  3323 		.db		4  
  3855 		.db		4
  3324 		.db		4  
  3856 		.db		0Ah
  3325 		.db		0Ah
  3857 		.db		0Eh
  3326 		.db		0Eh
  3858 		.db		4
  3327 		.db		4  
  3859 		.db		4
  3328 		.db		4  
  3860 		.db		0Eh
  3329 		.db		0Eh
  3861 		.db		0
  3330 		.db		0  
  3862 		.db		4
  3331 		.db		4  
  3863 		.db		0Ah
  3332 		.db		0Ah
  3864 		.db		0
  3333 		.db		0  
  3865 		.db		0Eh
  3334 		.db		0Eh
  3866 		.db		4
  3335 		.db		4  
  3867 		.db		4
  3336 		.db		4  
  3868 		.db		0Eh
  3337 		.db		0Eh
  3869 		.db		0
  3338 		.db		0  
  3870 		.db		4
  3339 		.db		4  
  3871 		.db		2
  3340 		.db		2  
  3872 		.db		4
  3341 		.db		4  
  3873 		.db		0
  3342 		.db		0  
  3874 		.db		0Ch
  3343 		.db		0Ch
  3875 		.db		4
  3344 		.db		4  
  3876 		.db		0Eh
  3345 		.db		0Eh
  3877 		.db		0
  3346 		.db		0  
  3878 		.db		4
  3347 		.db		4  
  3879 		.db		8
  3348 		.db		8  
  3880 		.db		4
  3349 		.db		4  
  3881 		.db		0
  3350 		.db		0  
  3882 		.db		0Ch
  3351 		.db		0Ch
  3883 		.db		4
  3352 		.db		4  
  3884 		.db		0Eh
  3353 		.db		0Eh
  3885 		.db		0
  3354 		.db		0  
  3886 		.db		4
  3355 		.db		4  
  3887 		.db		4
  3356 		.db		4  
  3888 		.db		0Ah
  3357 		.db		0Ah
  3889 		.db		0
  3358 		.db		0  
  3890 		.db		0Ch
  3359 		.db		0Ch
  3891 		.db		4
  3360 		.db		4  
  3892 		.db		0Eh
  3361 		.db		0Eh
  3893 		.db		0
  3362 		.db		0  
  3894 		.db		4
  3363 		.db		4  
  3895 		.db		0
  3364 		.db		0  
  3896 		.db		0Ah
  3365 		.db		0Ah
  3897 		.db		0
  3366 		.db		0  
  3898 		.db		0Ch
  3367 		.db		0Ch
  3899 		.db		4
  3368 		.db		4  
  3900 		.db		0Eh
  3369 		.db		0Eh
  3901 		.db		0
  3370 		.db		0  
  3902 		.db		6
  3371 		.db		6  
  3903 		.db		4
  3372 		.db		4  
  3904 		.db		8
  3373 		.db		8  
  3905 		.db		1Ch
  3374 		.db		1Ch
  3906 		.db		22h	; "
  3375 		.db		22h
  3907 		.db		22h	; "
  3376 		.db		22h
  3908 		.db		1Ch
  3377 		.db		1Ch
  3909 		.db		0
  3378 		.db		0  
  3910 		.db		6
  3379 		.db		6  
  3911 		.db		10h
  3380 		.db		10h
  3912 		.db		8
  3381 		.db		8  
  3913 		.db		1Ch
  3382 		.db		1Ch
  3914 		.db		22h	; "
  3383 		.db		22h
  3915 		.db		22h	; "
  3384 		.db		22h
  3916 		.db		1Ch
  3385 		.db		1Ch
  3917 		.db		0
  3386 		.db		0  
  3918 		.db		6
  3387 		.db		6  
  3919 		.db		8
  3388 		.db		8  
  3920 		.db		14h
  3389 		.db		14h
  3921 		.db		1Ch
  3390 		.db		1Ch
  3922 		.db		22h	; "
  3391 		.db		22h
  3923 		.db		22h	; "
  3392 		.db		22h
  3924 		.db		1Ch
  3393 		.db		1Ch
  3925 		.db		0
  3394 		.db		0  
  3926 		.db		6
  3395 		.db		6  
  3927 		.db		14h
  3396 		.db		14h
  3928 		.db		0
  3397 		.db		0  
  3929 		.db		1Ch
  3398 		.db		1Ch
  3930 		.db		22h	; "
  3399 		.db		22h
  3931 		.db		22h	; "
  3400 		.db		22h
  3932 		.db		1Ch
  3401 		.db		1Ch
  3933 		.db		0
  3402 		.db		0  
  3934 		.db		6
  3403 		.db		6  
  3935 		.db		4
  3404 		.db		4  
  3936 		.db		8
  3405 		.db		8  
  3937 		.db		0
  3406 		.db		0  
  3938 		.db		1Ch
  3407 		.db		1Ch
  3939 		.db		22h	; "
  3408 		.db		22h
  3940 		.db		1Ch
  3409 		.db		1Ch
  3941 		.db		0
  3410 		.db		0  
  3942 		.db		6
  3411 		.db		6  
  3943 		.db		10h
  3412 		.db		10h
  3944 		.db		8
  3413 		.db		8  
  3945 		.db		0
  3414 		.db		0  
  3946 		.db		1Ch
  3415 		.db		1Ch
  3947 		.db		22h	; "
  3416 		.db		22h
  3948 		.db		1Ch
  3417 		.db		1Ch
  3949 		.db		0
  3418 		.db		0  
  3950 		.db		6
  3419 		.db		6  
  3951 		.db		8
  3420 		.db		8  
  3952 		.db		14h
  3421 		.db		14h
  3953 		.db		0
  3422 		.db		0  
  3954 		.db		1Ch
  3423 		.db		1Ch
  3955 		.db		22h	; "
  3424 		.db		22h
  3956 		.db		1Ch
  3425 		.db		1Ch
  3957 		.db		0
  3426 		.db		0  
  3958 		.db		6
  3427 		.db		6  
  3959 		.db		0
  3428 		.db		0  
  3960 		.db		14h
  3429 		.db		14h
  3961 		.db		0
  3430 		.db		0  
  3962 		.db		1Ch
  3431 		.db		1Ch
  3963 		.db		22h	; "
  3432 		.db		22h
  3964 		.db		1Ch
  3433 		.db		1Ch
  3965 		.db		0
  3434 		.db		0  
  3966 		.db		4
  3435 		.db		4  
  3967 		.db		2
  3436 		.db		2  
  3968 		.db		4
  3437 		.db		4  
  3969 		.db		0Ah
  3438 		.db		0Ah
  3970 		.db		0Ah
  3439 		.db		0Ah
  3971 		.db		0Ah
  3440 		.db		0Ah
  3972 		.db		0Eh
  3441 		.db		0Eh
  3973 		.db		0
  3442 		.db		0  
  3974 		.db		4
  3443 		.db		4  
  3975 		.db		8
  3444 		.db		8  
  3976 		.db		4
  3445 		.db		4  
  3977 		.db		0Ah
  3446 		.db		0Ah
  3978 		.db		0Ah
  3447 		.db		0Ah
  3979 		.db		0Ah
  3448 		.db		0Ah
  3980 		.db		0Eh
  3449 		.db		0Eh
  3981 		.db		0
  3450 		.db		0  
  3982 		.db		4
  3451 		.db		4  
  3983 		.db		4
  3452 		.db		4  
  3984 		.db		0Ah
  3453 		.db		0Ah
  3985 		.db		0
  3454 		.db		0  
  3986 		.db		0Ah
  3455 		.db		0Ah
  3987 		.db		0Ah
  3456 		.db		0Ah
  3988 		.db		0Eh
  3457 		.db		0Eh
  3989 		.db		0
  3458 		.db		0  
  3990 		.db		4
  3459 		.db		4  
  3991 		.db		0Ah
  3460 		.db		0Ah
  3992 		.db		0
  3461 		.db		0  
  3993 		.db		0Ah
  3462 		.db		0Ah
  3994 		.db		0Ah
  3463 		.db		0Ah
  3995 		.db		0Ah
  3464 		.db		0Ah
  3996 		.db		0Eh
  3465 		.db		0Eh
  3997 		.db		0
  3466 		.db		0  
  3998 		.db		5
  3467 		.db		5  
  3999 		.db		4
  3468 		.db		4  
  4000 		.db		8
  3469 		.db		8  
  4001 		.db		0
  3470 		.db		0  
  4002 		.db		14h
  3471 		.db		14h
  4003 		.db		14h
  3472 		.db		14h
  4004 		.db		0Ah
  3473 		.db		0Ah
  4005 		.db		0
  3474 		.db		0  
  4006 		.db		5
  3475 		.db		5  
  4007 		.db		10h
  3476 		.db		10h
  4008 		.db		8
  3477 		.db		8  
  4009 		.db		0
  3478 		.db		0  
  4010 		.db		14h
  3479 		.db		14h
  4011 		.db		14h
  3480 		.db		14h
  4012 		.db		0Ah
  3481 		.db		0Ah
  4013 		.db		0
  3482 		.db		0  
  4014 		.db		5
  3483 		.db		5  
  4015 		.db		8
  3484 		.db		8  
  4016 		.db		14h
  3485 		.db		14h
  4017 		.db		0
  3486 		.db		0  
  4018 		.db		14h
  3487 		.db		14h
  4019 		.db		14h
  3488 		.db		14h
  4020 		.db		0Ah
  3489 		.db		0Ah
  4021 		.db		0
  3490 		.db		0  
  4022 		.db		5
  3491 		.db		5  
  4023 		.db		0
  3492 		.db		0  
  4024 		.db		14h
  3493 		.db		14h
  4025 		.db		0
  3494 		.db		0  
  4026 		.db		14h
  3495 		.db		14h
  4027 		.db		14h
  3496 		.db		14h
  4028 		.db		0Ah
  3497 		.db		0Ah
  4029 		.db		0
  3498 		.db		0  
  4030 		.db		4
  3499 		.db		4  
  4031 		.db		0
  3500 		.db		0  
  4032 		.db		6
  3501 		.db		6  
  4033 		.db		8
  3502 		.db		8  
  4034 		.db		8
  3503 		.db		8  
  4035 		.db		6
  3504 		.db		6  
  4036 		.db		0Ch
  3505 		.db		0Ch
  4037 		.db		0
  3506 		.db		0  
  4038 		.db		4
  3507 		.db		4  
  4039 		.db		0
  3508 		.db		0  
  4040 		.db		0
  3509 		.db		0  
  4041 		.db		6
  3510 		.db		6  
  4042 		.db		8
  3511 		.db		8  
  4043 		.db		6
  3512 		.db		6  
  4044 		.db		0Ch
  3513 		.db		0Ch
  4045 		.db		0
  3514 		.db		0  
  4046 		.db		5
  3515 		.db		5  
  4047 		.db		0Ah
  3516 		.db		0Ah
  4048 		.db		14h
  3517 		.db		14h
  4049 		.db		12h
  3518 		.db		12h
  4050 		.db		1Ah
  3519 		.db		1Ah
  4051 		.db		16h
  3520 		.db		16h
  4052 		.db		12h
  3521 		.db		12h
  4053 		.db		0
  3522 		.db		0  
  4054 		.db		5
  3523 		.db		5  
  4055 		.db		0Ah
  3524 		.db		0Ah
  4056 		.db		14h
  3525 		.db		14h
  4057 		.db		0
  3526 		.db		0  
  4058 		.db		1Ch
  3527 		.db		1Ch
  4059 		.db		12h
  3528 		.db		12h
  4060 		.db		12h
  3529 		.db		12h
  4061 		.db		0
  3530 		.db		0  
  4062 		.db		3
  3531 		.db		3  
  4063 		.db		0
  3532 		.db		0  
  4064 		.db		2
  3533 		.db		2  
  4065 		.db		4
  3534 		.db		4  
  4066 		.db		0
  3535 		.db		0  
  4067 		.db		0
  3536 		.db		0  
  4068 		.db		0
  3537 		.db		0  
  4069 		.db		0
  3538 		.db		0  
  4070 		.db		3
  3539 		.db		3  
  4071 		.db		0
  3540 		.db		0  
  4072 		.db		4
  3541 		.db		4  
  4073 		.db		2
  3542 		.db		2  
  4074 		.db		0
  3543 		.db		0  
  4075 		.db		0
  3544 		.db		0  
  4076 		.db		0
  3545 		.db		0  
  4077 		.db		0
  3546 		.db		0  
  4078 		.db		4
  3547 		.db		4  
  4079 		.db		0
  3548 		.db		0  
  4080 		.db		0Ah
  3549 		.db		0Ah
  4081 		.db		0
  3550 		.db		0  
  4082 		.db		0
  3551 		.db		0  
  4083 		.db		0
  3552 		.db		0  
  4084 		.db		0
  3553 		.db		0  
  4085 		.db		0
  3554 		.db		0  
  4086 		.db		4
  3555 		.db		4  
  4087 		.db		0
  3556 		.db		0  
  4088 		.db		4
  3557 		.db		4  
  4089 		.db		0
  3558 		.db		0  
  4090 		.db		4
  3559 		.db		4  
  4091 		.db		8
  3560 		.db		8  
  4092 		.db		6
  3561 		.db		6  
  4093 		.db		0
  3562 		.db		0  
  4094 		.db		2
  3563 		.db		2  
  4095 		.db		0
  3564 		.db		0  
  4096 		.db		2
  3565 		.db		2  
  4097 		.db		0
  3566 		.db		0  
  4098 		.db		2
  3567 		.db		2  
  4099 		.db		2
  3568 		.db		2  
  4100 		.db		2
  3569 		.db		2  
  4101 		.db		0
  3570 		.db		0  
  4102 		.db		5
  3571 		.db		5  
  4103 		.db		0
  3572 		.db		0  
  4104 		.db		0
  3573 		.db		0  
  4105 		.db		0Ah
  3574 		.db		0Ah
  4106 		.db		14h
  3575 		.db		14h
  4107 		.db		14h
  3576 		.db		14h
  4108 		.db		0Ah
  3577 		.db		0Ah
  4109 		.db		0
  3578 		.db		0  
  4110 		.db		4
  3579 		.db		4  
  4111 		.db		0
  3580 		.db		0  
  4112 		.db		4
  3581 		.db		4  
  4113 		.db		0Ah
  3582 		.db		0Ah
  4114 		.db		0Ch
  3583 		.db		0Ch
  4115 		.db		0Ah
  3584 		.db		0Ah
  4116 		.db		0Ch
  3585 		.db		0Ch
  4117 		.db		0
  3586 		.db		0  
  4118 		.db		5
  3587 		.db		5  
  4119 		.db		0
  3588 		.db		0  
  4120 		.db		2
  3589 		.db		2  
  4121 		.db		0Ah
  3590 		.db		0Ah
  4122 		.db		14h
  3591 		.db		14h
  4123 		.db		4
  3592 		.db		4  
  4124 		.db		4
  3593 		.db		4  
  4125 		.db		0
  3594 		.db		0  
  4126 		.db		6
  3595 		.db		6  
  4127 		.db		0
  3596 		.db		0  
  4128 		.db		0
  3597 		.db		0  
  4129 		.db		8
  3598 		.db		8  
  4130 		.db		14h
  3599 		.db		14h
  4131 		.db		22h	; "
  3600 		.db		22h
  4132 		.db		3Eh	; >
  3601 		.db		3Eh
  4133 		.db		0
  3602 		.db		0  
  4134 		.db		4
  3603 		.db		4  
  4135 		.db		0
  3604 		.db		0  
  4136 		.db		4
  3605 		.db		4  
  4137 		.db		8
  3606 		.db		8  
  4138 		.db		4
  3607 		.db		4  
  4139 		.db		0Ah
  3608 		.db		0Ah
  4140 		.db		4
  3609 		.db		4  
  4141 		.db		0
  3610 		.db		0  
  4142 		.db		4
  3611 		.db		4  
  4143 		.db		0
  3612 		.db		0  
  4144 		.db		6
  3613 		.db		6  
  4145 		.db		8
  3614 		.db		8  
  4146 		.db		0Eh
  3615 		.db		0Eh
  4147 		.db		8
  3616 		.db		8  
  4148 		.db		6
  3617 		.db		6  
  4149 		.db		0
  3618 		.db		0  
  4150 		.db		3
  3619 		.db		3  
  4151 		.db		0
  3620 		.db		0  
  4152 		.db		6
  3621 		.db		6  
  4153 		.db		4
  3622 		.db		4  
  4154 		.db		4
  3623 		.db		4  
  4155 		.db		4
  3624 		.db		4  
  4156 		.db		6
  3625 		.db		6  
  4157 		.db		0
  3626 		.db		0  
  4158 		.db		4
  3627 		.db		4  
  4159 		.db		0
  3628 		.db		0  
  4160 		.db		8
  3629 		.db		8  
  4161 		.db		4
  3630 		.db		4  
  4162 		.db		4
  3631 		.db		4  
  4163 		.db		0Ah
  3632 		.db		0Ah
  4164 		.db		0Ah
  3633 		.db		0Ah
  4165 		.db		0
  3634 		.db		0  
  4166 		.db		5
  3635 		.db		5  
  4167 		.db		0
  3636 		.db		0  
  4168 		.db		0
  3637 		.db		0  
  4169 		.db		14h
  3638 		.db		14h
  4170 		.db		14h
  3639 		.db		14h
  4171 		.db		1Eh
  3640 		.db		1Eh
  4172 		.db		10h
  3641 		.db		10h
  4173 		.db		0
  3642 		.db		0  
  4174 		.db		6
  3643 		.db		6  
  4175 		.db		0
  3644 		.db		0  
  4176 		.db		0
  3645 		.db		0  
  4177 		.db		3Eh	; >
  3646 		.db		3Eh
  4178 		.db		14h
  3647 		.db		14h
  4179 		.db		14h
  3648 		.db		14h
  4180 		.db		14h
  3649 		.db		14h
  4181 		.db		0
  3650 		.db		0  
  4182 		.db		5
  3651 		.db		5  
  4183 		.db		0
  3652 		.db		0  
  4184 		.db		4
  3653 		.db		4  
  4185 		.db		0Ah
  3654 		.db		0Ah
  4186 		.db		0Ch
  3655 		.db		0Ch
  4187 		.db		8
  3656 		.db		8  
  4188 		.db		10h
  3657 		.db		10h
  4189 		.db		0
  3658 		.db		0  
  4190 		.db		5
  3659 		.db		5  
  4191 		.db		0
  3660 		.db		0  
  4192 		.db		1Eh
  3661 		.db		1Eh
  4193 		.db		8
  3662 		.db		8  
  4194 		.db		4
  3663 		.db		4  
  4195 		.db		8
  3664 		.db		8  
  4196 		.db		1Eh
  3665 		.db		1Eh
  4197 		.db		0
  3666 		.db		0  
  4198 		.db		5
  3667 		.db		5  
  4199 		.db		0
  3668 		.db		0  
  4200 		.db		0
  3669 		.db		0  
  4201 		.db		0Eh
  3670 		.db		0Eh
  4202 		.db		14h
  3671 		.db		14h
  4203 		.db		14h
  3672 		.db		14h
  4204 		.db		8
  3673 		.db		8  
  4205 		.db		0
  3674 		.db		0  
  4206 		.db		5
  3675 		.db		5  
  4207 		.db		0
  3676 		.db		0  
  4208 		.db		0
  3677 		.db		0  
  4209 		.db		1Ch
  3678 		.db		1Ch
  4210 		.db		8
  3679 		.db		8  
  4211 		.db		0Ah
  3680 		.db		0Ah
  4212 		.db		4
  3681 		.db		4  
  4213 		.db		0
  3682 		.db		0  
  4214 		.db		6
  3683 		.db		6  
  4215 		.db		0
  3684 		.db		0  
  4216 		.db		8
  3685 		.db		8  
  4217 		.db		1Ch
  3686 		.db		1Ch
  4218 		.db		2Ah	; *
  3687 		.db		2Ah
  4219 		.db		1Ch
  3688 		.db		1Ch
  4220 		.db		8
  3689 		.db		8  
  4221 		.db		0
  3690 		.db		0  
  4222 		.db		6
  3691 		.db		6  
  4223 		.db		0
  3692 		.db		0  
  4224 		.db		1Ch
  3693 		.db		1Ch
  4225 		.db		22h	; "
  3694 		.db		22h
  4226 		.db		22h	; "
  3695 		.db		22h
  4227 		.db		14h
  3696 		.db		14h
  4228 		.db		36h	; 6
  3697 		.db		36h
  4229 		.db		0
  3698 		.db		0  
  4230 		.db		4
  3699 		.db		4  
  4231 		.db		0
  3700 		.db		0  
  4232 		.db		0Eh
  3701 		.db		0Eh
  4233 		.db		0
  3702 		.db		0  
  4234 		.db		0Ah
  3703 		.db		0Ah
  4235 		.db		4
  3704 		.db		4  
  4236 		.db		0Ah
  3705 		.db		0Ah
  4237 		.db		0
  3706 		.db		0  
  4238 		.db		4
  3707 		.db		4  
  4239 		.db		0
  3708 		.db		0  
  4240 		.db		0Eh
  3709 		.db		0Eh
  4241 		.db		0
  3710 		.db		0  
  4242 		.db		0Ah
  3711 		.db		0Ah
  4243 		.db		4
  3712 		.db		4  
  4244 		.db		8
  3713 		.db		8  
  4245 		.db		0
  3714 		.db		0  
  4246 		.db		4
  3715 		.db		4  
  4247 		.db		0
  3716 		.db		0  
  4248 		.db		0Ah
  3717 		.db		0Ah
  4249 		.db		4
  3718 		.db		4  
  4250 		.db		0Ah
  3719 		.db		0Ah
  4251 		.db		0
  3720 		.db		0  
  4252 		.db		0
  3721 		.db		0  
  4253 		.db		0
  3722 		.db		0  
  4254 		.db		3
  3723 		.db		3  
  4255 		.db		0
  3724 		.db		0  
  4256 		.db		0
  3725 		.db		0  
  4257 		.db		0
  3726 		.db		0  
  4258 		.db		0
  3727 		.db		0  
  4259 		.db		0
  3728 		.db		0  
  4260 		.db		7
  3729 		.db		7  
  4261 		.db		0
  3730 		.db		0  
  4262 		.db		4
  3731 		.db		4  
  4263 		.db		0
  3732 		.db		0  
  4264 		.db		2
  3733 		.db		2  
  4265 		.db		6
  3734 		.db		6  
  4266 		.db		0Eh
  3735 		.db		0Eh
  4267 		.db		6
  3736 		.db		6  
  4268 		.db		2
  3737 		.db		2  
  4269 		.db		0
  3738 		.db		0  
  4270 		.db		3
  3739 		.db		3  
  4271 		.db		0
  3740 		.db		0  
  4272 		.db		0
  3741 		.db		0  
  4273 		.db		6
  3742 		.db		6  
  4274 		.db		6
  3743 		.db		6  
  4275 		.db		0
  3744 		.db		0  
  4276 		.db		0
  3745 		.db		0  
  4277 		.db		0
  3746 		.db		0  
  4278 		.db		4
  3747 		.db		4  
  4279 		.db		0
  3748 		.db		0  
  4280 		.db		2
  3749 		.db		2  
  4281 		.db		2
  3750 		.db		2  
  4282 		.db		4
  3751 		.db		4  
  4283 		.db		8
  3752 		.db		8  
  4284 		.db		8
  3753 		.db		8  
  4285 		.db		0
  3754 		.db		0  
  4286 		.db		3
  3755 		.db		3  
  4287 		.db		0
  3756 		.db		0  
  4288 		.db		0
  3757 		.db		0  
  4289 		.db		0
  3758 		.db		0  
  4290 		.db		6
  3759 		.db		6  
  4291 		.db		0
  3760 		.db		0  
  4292 		.db		0
  3761 		.db		0  
  4293 		.db		0
  3762 		.db		0  
  4294 		.db		4
  3763 		.db		4  
  4295 		.db		0
  3764 		.db		0  
  4296 		.db		0Ch
  3765 		.db		0Ch
  4297 		.db		2
  3766 		.db		2  
  4298 		.db		4
  3767 		.db		4  
  4299 		.db		0Eh
  3768 		.db		0Eh
  4300 		.db		0
  3769 		.db		0  
  4301 		.db		0
  3770 		.db		0  
  4302 		.db		4
  3771 		.db		4  
  4303 		.db		0
  3772 		.db		0  
  4304 		.db		4
  3773 		.db		4  
  4305 		.db		0Ah
  3774 		.db		0Ah
  4306 		.db		4
  3775 		.db		4  
  4307 		.db		0
  3776 		.db		0  
  4308 		.db		0
  3777 		.db		0  
  4309 		.db		0
  3778 		.db		0  
  4310 		.db		4
  3779 		.db		4  
  4311 		.db		0
  3780 		.db		0  
  4312 		.db		0Eh
  3781 		.db		0Eh
  4313 		.db		4
  3782 		.db		4  
  4314 		.db		2
  3783 		.db		2  
  4315 		.db		0Ch
  3784 		.db		0Ch
  4316 		.db		0
  3785 		.db		0  
  4317 		.db		0
  3786 		.db		0  
  4318 		.db		0
  3787 		.db		0  
  4319 		.db		0
  3788 		.db		0  
  4320 		.db		0
  3789 		.db		0  
  4321 		.db		0
  3790 		.db		0  
  4322 		.db		0
  3791 		.db		0  
  4323 		.db		0
  3792 		.db		0  
  4324 		.db		0
  3793 		.db		0  
  4325 		.db		0
  3794 		.db		0  
  4326 		.db		4
  3795 		.db		4  
  4327 		.db		0
  3796 		.db		0  
  4328 		.db		8
  3797 		.db		8  
  4329 		.db		0
  3798 		.db		0  
  4330 		.db		8
  3799 		.db		8  
  4331 		.db		0Ah
  3800 		.db		0Ah
  4332 		.db		0Ch
  3801 		.db		0Ch
  4333 		.db		0
  3802 		.db		0  
  4334 		.db		4
  3803 		.db		4  
  4335 		.db		0
  3804 		.db		0  
  4336 		.db		4
  3805 		.db		4  
  4337 		.db		0Ch
  3806 		.db		0Ch
  4338 		.db		0Ah
  3807 		.db		0Ah
  4339 		.db		0Ch
  3808 		.db		0Ch
  4340 		.db		8
  3809 		.db		8  
  4341 		.db		0
  3810 		.db		0  
  4342 		.db		4
  3811 		.db		4  
  4343 		.db		0
  3812 		.db		0  
  4344 		.db		8
  3813 		.db		8  
  4345 		.db		0Ah
  3814 		.db		0Ah
  4346 		.db		4
  3815 		.db		4  
  4347 		.db		0Ah
  3816 		.db		0Ah
  4348 		.db		2
  3817 		.db		2  
  4349 		.db		0
  3818 		.db		0  
  4350 		.db		4
  3819 		.db		4  
  4351 		.db		0
  3820 		.db		0  
  4352 		.db		0Eh
  3821 		.db		0Eh
  4353 		.db		8
  3822 		.db		8  
  4354 		.db		0Eh
  3823 		.db		0Eh
  4355 		.db		8
  3824 		.db		8  
  4356 		.db		8
  3825 		.db		8  
  4357 		.db		0
  3826 		.db		0  
  4358 		.db		4
  3827 		.db		4  
  4359 		.db		0
  3828 		.db		0  
  4360 		.db		0
  3829 		.db		0  
  4361 		.db		4
  3830 		.db		4  
  4362 		.db		0Ah
  3831 		.db		0Ah
  4363 		.db		0Ch
  3832 		.db		0Ch
  4364 		.db		6
  3833 		.db		6  
  4365 		.db		0
  3834 		.db		0  
  4366 		.db		3
  3835 		.db		3  
  4367 		.db		0
  3836 		.db		0  
  4368 		.db		0
  3837 		.db		0  
  4369 		.db		4
  3838 		.db		4  
  4370 		.db		4
  3839 		.db		4  
  4371 		.db		4
  3840 		.db		4  
  4372 		.db		7
  3841 		.db		7  
  4373 		.db		0
  3842 		.db		0  
  4374 		.db		3
  3843 		.db		3  
  4375 		.db		0
  3844 		.db		0  
  4376 		.db		6
  3845 		.db		6  
  4377 		.db		5
  3846 		.db		5  
  4378 		.db		5
  3847 		.db		5  
  4379 		.db		5
  3848 		.db		5  
  4380 		.db		5
  3849 		.db		5  
  4381 		.db		0
  3850 		.db		0  
  4382 		.db		4
  3851 		.db		4  
  4383 		.db		0
  3852 		.db		0  
  4384 		.db		0Ah
  3853 		.db		0Ah
  4385 		.db		5
  3854 		.db		5  
  4386 		.db		5
  3855 		.db		5  
  4387 		.db		5
  3856 		.db		5  
  4388 		.db		5
  3857 		.db		5  
  4389 		.db		0Ah
  3858 		.db		0Ah
  4390 		.db		3
  3859 		.db		3  
  4391 		.db		0
  3860 		.db		0  
  4392 		.db		6
  3861 		.db		6  
  4393 		.db		4
  3862 		.db		4  
  4394 		.db		6
  3863 		.db		6  
  4395 		.db		4
  3864 		.db		4  
  4396 		.db		6
  3865 		.db		6  
  4397 		.db		0
  3866 		.db		0  
  4398 		.db		3
  3867 		.db		3  
  4399 		.db		0
  3868 		.db		0  
  4400 		.db		2
  3869 		.db		2  
  4401 		.db		7
  3870 		.db		7  
  4402 		.db		7
  3871 		.db		7  
  4403 		.db		7
  3872 		.db		7  
  4404 		.db		2
  3873 		.db		2  
  4405 		.db		0
  3874 		.db		0  
  4406 		.db		6
  3875 		.db		6  
  4407 		.db		20h
  3876 		.db		20h
  4408 		.db		20h
  3877 		.db		20h
  4409 		.db		21h	; !
  3878 		.db		21h
  4410 		.db		24h	; $
  3879 		.db		24h
  4411 		.db		28h	; (
  3880 		.db		28h
  4412 		.db		20h
  3881 		.db		20h
  4413 		.db		3Fh	; ?
  3882 		.db		3Fh
  4414 		.db		5
  3883 		.db		5  
  4415 		.db		0
  3884 		.db		0  
  4416 		.db		2
  3885 		.db		2  
  4417 		.db		0
  3886 		.db		0  
  4418 		.db		8
  3887 		.db		8  
  4419 		.db		0
  3888 		.db		0  
  4420 		.db		0
  3889 		.db		0  
  4421 		.db		1Fh
  3890 		.db		1Fh
  4422 		.db		6
  3891 		.db		6  
  4423 		.db		20h
  3892 		.db		20h
  4424 		.db		20h
  3893 		.db		20h
  4425 		.db		23h	; #
  3894 		.db		23h
  4426 		.db		24h	; $
  3895 		.db		24h
  4427 		.db		28h	; (
  3896 		.db		28h
  4428 		.db		30h	; 0
  3897 		.db		30h
  4429 		.db		3Fh	; ?
  3898 		.db		3Fh
  4430 		.db		5
  3899 		.db		5  
  4431 		.db		4
  3900 		.db		4  
  4432 		.db		0Ah
  3901 		.db		0Ah
  4433 		.db		11h
  3902 		.db		11h
  4434 		.db		0
  3903 		.db		0  
  4435 		.db		0
  3904 		.db		0  
  4436 		.db		0
  3905 		.db		0  
  4437 		.db		1Fh
  3906 		.db		1Fh
  4438 		.db		6
  3907 		.db		6  
  4439 		.db		0Fh
  3908 		.db		0Fh
  4440 		.db		29h	; )
  3909 		.db		29h
  4441 		.db		39h	; 9
  3910 		.db		39h
  4442 		.db		29h	; )
  3911 		.db		29h
  4443 		.db		0Fh
  3912 		.db		0Fh
  4444 		.db		0
  3913 		.db		0  
  4445 		.db		3Fh	; ?
  3914 		.db		3Fh
  4446 		.db		5
  3915 		.db		5  
  4447 		.db		18h
  3916 		.db		18h
  4448 		.db		9
  3917 		.db		9  
  4449 		.db		0Fh
  3918 		.db		0Fh
  4450 		.db		9
  3919 		.db		9  
  4451 		.db		18h
  3920 		.db		18h
  4452 		.db		0
  3921 		.db		0  
  4453 		.db		1Fh
  3922 		.db		1Fh
  4454 		.db		6
  3923 		.db		6  
  4455 		.db		0Eh
  3924 		.db		0Eh
  4456 		.db		0Ah
  3925 		.db		0Ah
  4457 		.db		0Bh
  3926 		.db		0Bh
  4458 		.db		0Ah
  3927 		.db		0Ah
  4459 		.db		3Ah	; :
  3928 		.db		3Ah
  4460 		.db		2Ah	; *
  3929 		.db		2Ah
  4461 		.db		3Fh	; ?
  3930 		.db		3Fh
  4462 		.db		5
  3931 		.db		5  
  4463 		.db		0
  3932 		.db		0  
  4464 		.db		0
  3933 		.db		0  
  4465 		.db		10h
  3934 		.db		10h
  4466 		.db		1Ch
  3935 		.db		1Ch
  4467 		.db		17h
  3936 		.db		17h
  4468 		.db		15h
  3937 		.db		15h
  4469 		.db		1Fh
  3938 		.db		1Fh
  4470 		.db		6
  3939 		.db		6  
  4471 		.db		0Eh
  3940 		.db		0Eh
  4472 		.db		2Ah	; *
  3941 		.db		2Ah
  4473 		.db		3Bh	; ;
  3942 		.db		3Bh
  4474 		.db		2Ah	; *
  3943 		.db		2Ah
  4475 		.db		0Eh
  3944 		.db		0Eh
  4476 		.db		0
  3945 		.db		0  
  4477 		.db		3Fh	; ?
  3946 		.db		3Fh
  4478 		.db		5
  3947 		.db		5  
  4479 		.db		0
  3948 		.db		0  
  4480 		.db		10h
  3949 		.db		10h
  4481 		.db		15h
  3950 		.db		15h
  4482 		.db		10h
  3951 		.db		10h
  4483 		.db		0
  3952 		.db		0  
  4484 		.db		0
  3953 		.db		0  
  4485 		.db		1Fh
  3954 		.db		1Fh
  4486 		.db		6
  3955 		.db		6  
  4487 		.db		20h
  3956 		.db		20h
  4488 		.db		20h
  3957 		.db		20h
  4489 		.db		21h	; !
  3958 		.db		21h
  4490 		.db		26h	; &
  3959 		.db		26h
  4491 		.db		28h	; (
  3960 		.db		28h
  4492 		.db		20h
  3961 		.db		20h
  4493 		.db		3Fh	; ?
  3962 		.db		3Fh
  4494 		.db		5
  3963 		.db		5  
  4495 		.db		6
  3964 		.db		6  
  4496 		.db		8
  3965 		.db		8  
  4497 		.db		10h
  3966 		.db		10h
  4498 		.db		0
  3967 		.db		0  
  4499 		.db		0
  3968 		.db		0  
  4500 		.db		0
  3969 		.db		0  
  4501 		.db		1Fh
  3970 		.db		1Fh
  4502 		.db		2
  3971 		.db		2  
  4503 		.db		0
  3972 		.db		0  
  4504 		.db		0
  3973 		.db		0  
  4505 		.db		0
  3974 		.db		0  
  4506 		.db		0
  3975 		.db		0  
  4507 		.db		0
  3976 		.db		0  
  4508 		.db		0
  3977 		.db		0  
  4509 		.db		0
  3978 		.db		0  
  4510 		.db		3
  3979 		.db		3  
  4511 		.db		0
  3980 		.db		0  
  4512 		.db		0
  3981 		.db		0  
  4513 		.db		0
  3982 		.db		0  
  4514 		.db		0
  3983 		.db		0  
  4515 		.db		0
  3984 		.db		0  
  4516 		.db		0
  3985 		.db		0  
  4517 		.db		0
  3986 		.db		0  
  4518 		.db		5
  3987 		.db		5  
  4519 		.db		0
  3988 		.db		0  
  4520 		.db		0
  3989 		.db		0  
  4521 		.db		0
  3990 		.db		0  
  4522 		.db		0
  3991 		.db		0  
  4523 		.db		0
  3992 		.db		0  
  4524 		.db		0
  3993 		.db		0  
  4525 		.db		0
  3994 		.db		0  
  4526 		.db		6
  3995 		.db		6  
  4527 		.db		0
  3996 		.db		0  
  4528 		.db		0
  3997 		.db		0  
  4529 		.db		0
  3998 		.db		0  
  4530 		.db		0
  3999 		.db		0  
  4531 		.db		0
  4000 		.db		0  
  4532 		.db		0
  4001 		.db		0  
  4533 		.db		0
  4002 		.db		0  
  4534 		.db		4
  4003 		.db		4  
  4535 		.db		0
  4004 		.db		0  
  4536 		.db		0Ah
  4005 		.db		0Ah
  4537 		.db		4
  4006 		.db		4  
  4538 		.db		0Ah
  4007 		.db		0Ah
  4539 		.db		4
  4008 		.db		4  
  4540 		.db		0Ah
  4009 		.db		0Ah
  4541 		.db		0
  4010 		.db		0  
  4542 		.db		6
  4011 		.db		6  
  4543 		.db		0
  4012 		.db		0  
  4544 		.db		1Ch
  4013 		.db		1Ch
  4545 		.db		28h	; (
  4014 		.db		28h
  4546 		.db		1Ch
  4015 		.db		1Ch
  4547 		.db		0Ah
  4016 		.db		0Ah
  4548 		.db		3Ch	; <
  4017 		.db		3Ch
  4549 		.db		0
  4018 		.db		0  
  4550 		.db		5
  4019 		.db		5  
  4551 		.db		0
  4020 		.db		0  
  4552 		.db		4
  4021 		.db		4  
  4553 		.db		0Eh
  4022 		.db		0Eh
  4554 		.db		1Fh
  4023 		.db		1Fh
  4555 		.db		0Eh
  4024 		.db		0Eh
  4556 		.db		0
  4025 		.db		0  
  4557 		.db		0
  4026 		.db		0  
  4558 		.db		5
  4027 		.db		5  
  4559 		.db		0
  4028 		.db		0  
  4560 		.db		0Ch
  4029 		.db		0Ch
  4561 		.db		12h
  4030 		.db		12h
  4562 		.db		14h
  4031 		.db		14h
  4563 		.db		12h
  4032 		.db		12h
  4564 		.db		14h
  4033 		.db		14h
  4565 		.db		0
  4034 		.db		0  
  4566 		.db		1
  4035 		.db		1  
  4567 		.db		0
  4036 		.db		0  
  4568 		.db		0
  4037 		.db		0  
  4569 		.db		0
  4038 		.db		0  
  4570 		.db		0
  4039 		.db		0  
  4571 		.db		0
  4040 		.db		0  
  4572 		.db		0
  4041 		.db		0  
  4573 		.db		0
  4042 		.db		0  
  4574 		.db		1
  4043 		.db		1  
  4575 		.db		0
  4044 		.db		0  
  4576 		.db		0
  4045 		.db		0  
  4577 		.db		0
  4046 		.db		0  
  4578 		.db		0
  4047 		.db		0  
  4579 		.db		0
  4048 		.db		0  
  4580 		.db		0
  4049 		.db		0  
  4581 		.db		0
  4050 		.db		0  
  4582 		.db		1
  4051 		.db		1  
  4583 		.db		0
  4052 		.db		0  
  4584 		.db		0
  4053 		.db		0  
  4585 		.db		0
  4054 		.db		0  
  4586 		.db		0
  4055 		.db		0  
  4587 		.db		0
  4056 		.db		0  
  4588 		.db		0
  4057 		.db		0  
  4589 		.db		0
  4058 		.db		0  
  4590 		.db		1
  4059 		.db		1  
  4591 		.db		0
  4060 		.db		0  
  4592 		.db		0
  4061 		.db		0  
  4593 		.db		0
  4062 		.db		0  
  4594 		.db		0
  4063 		.db		0  
  4595 		.db		0
  4064 		.db		0  
  4596 		.db		0
  4065 		.db		0  
  4597 		.db		0
  4066 		.db		0  
  4598 		.db		1
  4067 		.db		1  
  4599 		.db		0
  4068 		.db		0  
  4600 		.db		0
  4069 		.db		0  
  4601 		.db		0
  4070 		.db		0  
  4602 		.db		0
  4071 		.db		0  
  4603 		.db		0
  4072 		.db		0  
  4604 		.db		0
  4073 		.db		0  
  4605 		.db		0
  4074 		.db		0  
  4606 		.db		1
  4075 		.db		1  
  4607 		.db		0
  4076 		.db		0  
  4608 		.db		0
  4077 		.db		0  
  4609 		.db		0
  4078 		.db		0  
  4610 		.db		0
  4079 		.db		0  
  4611 		.db		0
  4080 		.db		0  
  4612 		.db		0
  4081 		.db		0  
  4613 		.db		0
  4082 		.db		0  
  4614 		.db		1
  4083 		.db		1  
  4615 		.db		0
  4084 		.db		0  
  4616 		.db		0
  4085 		.db		0  
  4617 		.db		0
  4086 		.db		0  
  4618 		.db		0
  4087 		.db		0  
  4619 		.db		0
  4088 		.db		0  
  4620 		.db		0
  4089 		.db		0  
  4621 		.db		0
  4090 		.db		0  
  4622 		.db		1
  4091 		.db		1  
  4623 		.db		0
  4092 		.db		0  
  4624 		.db		0
  4093 		.db		0  
  4625 		.db		0
  4094 		.db		0  
  4626 		.db		0
  4095 		.db		0  
  4627 		.db		0
  4096 		.db		0  
  4628 		.db		0
  4097 		.db		0  
  4629 		.db		0
  4098 		.db		0  
  4630 		.db		1
  4099 		.db		1  
  4631 		.db		0
  4100 		.db		0  
  4632 		.db		0
  4101 		.db		0  
  4633 		.db		0
  4102 		.db		0  
  4634 		.db		0
  4103 		.db		0  
  4635 		.db		0
  4104 		.db		0  
  4636 		.db		0
  4105 		.db		0  
  4637 		.db		0
  4106 		.db		0  
  4638 		.db		1
  4107 		.db		1  
  4639 		.db		0
  4108 		.db		0  
  4640 		.db		0
  4109 		.db		0  
  4641 		.db		0
  4110 		.db		0  
  4642 		.db		0
  4111 		.db		0  
  4643 		.db		0
  4112 		.db		0  
  4644 		.db		0
  4113 		.db		0  
  4645 		.db		0
  4114 		.db		0  
  4646 		.db		1
  4115 		.db		1  
  4647 		.db		0
  4116 		.db		0  
  4648 		.db		0
  4117 		.db		0  
  4649 		.db		0
  4118 		.db		0  
  4650 		.db		0
  4119 		.db		0  
  4651 		.db		0
  4120 		.db		0  
  4652 		.db		0
  4121 		.db		0  
  4653 		.db		0
  4122 		.db		0  
  4654 ; ---------------------------------------------------------------------------
       
  4655 
  4123 
  4656 InitAboutContext:
  4124 InitAboutContext:
  4657 		ld		hl, p03loc_569D
  4125 		ld		hl, p03loc_569D
  4658 		call	AppInit
  4126 		call	AppInit
  4659 		call	j_CleanAll
  4127 		call	j_CleanAll
  4660 		set		grfSplitOverride, (iy+sGrFlags)
  4128 		set		grfSplitOverride, (iy+sGrFlags)
  4661 
       
  4662 p03loc_5681:
  4129 p03loc_5681:
  4663 		sub		a
  4130 		sub		a
  4664 		ld		(winTop), a
  4131 		ld		(winTop), a
  4665 		call	j_ClrWindow
  4132 		call	j_ClrWindow
  4666 		call	Page0Call_3E07
  4133 		call	Page0Call_3E07
       
  4134 
       
  4135 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  4136 ;Uh?
  4667 		jr		p03loc_568D
  4137 		jr		p03loc_568D
  4668 
       
  4669 p03loc_568D:
  4138 p03loc_568D:
       
  4139 #endif
       
  4140 
  4670 		res		curAble, (iy+curFlags)
  4141 		res		curAble, (iy+curFlags)
  4671 		res		curOn, (iy+curFlags)
  4142 		res		curOn, (iy+curFlags)
  4672 		set		curLock, (iy+curFlags)
  4143 		set		curLock, (iy+curFlags)
  4673 		ret
  4144 		ret
  4674 p03loc_569A:
  4145 p03loc_569A:
  4689 p03loc_56B6:
  4160 p03loc_56B6:
  4690 		ret
  4161 		ret
  4691 p03loc_56B7:
  4162 p03loc_56B7:
  4692 		jp		JForceCmdNoChar
  4163 		jp		JForceCmdNoChar
  4693 p03loc_56BA:
  4164 p03loc_56BA:
  4694 		cp		27h ; '''
  4165 		cp		kApp
  4695 		jp		z, InitAboutContext
  4166 		jp		z, InitAboutContext
  4696 		cp		9
  4167 		cp		kClear
  4697 		jp		z, JForceCmdNoChar
  4168 		jp		z, JForceCmdNoChar
  4698 		cp		5Ah ; 'Z'
  4169 		cp		echoStart1
  4699 		ret		c
  4170 		ret		c
  4700 		jp		JForceCmd
  4171 		jp		JForceCmd
  4701 ; ---------------------------------------------------------------------------
  4172 
       
  4173 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  4174 ;Not referenced anywhere.
  4702 		call	page0_176F
  4175 		call	page0_176F
  4703 		ld		hl, p03loc_5814
  4176 		ld		hl, p03loc_5814
  4704 		call	AppInit
  4177 		call	AppInit
  4705 		ret
  4178 		ret
  4706 ; ---------------------------------------------------------------------------
  4179 #endif
  4707 
  4180 
  4708 InitTVMContext:
  4181 InitTVMContext:
  4709 		res		1, (iy+19h)
  4182 		res		1, (iy+19h)
  4710 		set		grfSplitOverride, (iy+sGrFlags)
  4183 		set		grfSplitOverride, (iy+sGrFlags)
  4711 		call	RESETWINTOP
  4184 		call	RESETWINTOP
  4712 		bit		prgmEdit, (iy+prgmFlags)
  4185 		bit		prgmEdit, (iy+prgmFlags)
  4713 		jr		z, p03loc_56F0
  4186 		jr		z, p03loc_56F0
  4714 		call	j_POPCX
  4187 		call	j_POPCX
  4715 		call	call_cxPutAway
  4188 		call	call_cxPutAway
  4716 		ld		a, 53h ; 'S'
  4189 		ld		a, kSolveTVM
  4717 		ld		(mcxCurApp), a
  4190 		ld		(mcxCurApp), a
  4718 
       
  4719 p03loc_56F0:
  4191 p03loc_56F0:
  4720 		ld		hl, p03loc_5814
  4192 		ld		hl, p03loc_5814
  4721 		call	AppInit
  4193 		call	AppInit
  4722 		ld		hl, p03loc_58AB
  4194 		ld		hl, p03loc_58AB
  4723 		ld		(unk_9700), hl
  4195 		ld		(unk_9700), hl
  4725 		ld		a, 7
  4197 		ld		a, 7
  4726 		call	Page0Call_36E7
  4198 		call	Page0Call_36E7
  4727 		call	j_SolveDisp
  4199 		call	j_SolveDisp
  4728 		call	Page03_372F
  4200 		call	Page03_372F
  4729 		ret
  4201 		ret
  4730 ; ---------------------------------------------------------------------------
       
  4731 
  4202 
  4732 InitWindowContext:
  4203 InitWindowContext:
  4733 		bit		prgmEdit, (iy+prgmFlags)
  4204 		bit		prgmEdit, (iy+prgmFlags)
  4734 		jr		z, JForceWindowSettings
  4205 		jr		z, JForceWindowSettings
  4735 		call	j_POPCX
  4206 		call	j_POPCX
  4736 		call	call_cxPutAway
  4207 		call	call_cxPutAway
  4737 		ld		a, 48h ; 'H'
  4208 		ld		a, kWindow
  4738 		ld		(mcxCurApp), a
  4209 		ld		(mcxCurApp), a
  4739 
       
  4740 JForceWindowSettings:
  4210 JForceWindowSettings:
  4741 		call	page0_176F
  4211 		call	page0_176F
  4742 		ld		hl, p03loc_5814
  4212 		ld		hl, p03loc_5814
  4743 		call	AppInit
  4213 		call	AppInit
  4744 		bit		windowHookActive, (iy+hookflags3)
  4214 		bit		windowHookActive, (iy+hookflags3)
  4745 		jr		z, p03loc_5732
  4215 		jr		z, p03loc_5732
  4746 		ld		a, 4
  4216 		ld		a, 4
  4747 		call	Page0Call_362D
  4217 		call	Page0Call_362D
  4748 		jr		nz, p03loc_574A
  4218 		jr		nz, p03loc_574A
  4749 
       
  4750 p03loc_5732:
  4219 p03loc_5732:
  4751 		ld		hl, p03loc_595D
  4220 		ld		hl, p03loc_595D
  4752 		ld		a, 11h
  4221 		ld		a, 11h
  4753 		bit		localizeHookActive, (iy+hookflags3)
  4222 		bit		localizeHookActive, (iy+hookflags3)
  4754 		call	nz, j_call_character_hook
  4223 		call	nz, j_call_character_hook
  4755 		ld		de, OP3
  4224 		ld		de, OP3
  4756 		call	Mov8B
  4225 		call	Mov8B
  4757 		call	Mov8B
  4226 		call	Mov8B
  4758 		call	Page03_3711
  4227 		call	Page03_3711
  4759 
       
  4760 p03loc_574A:
  4228 p03loc_574A:
  4761 		call	p03sub_5751
  4229 		call	p03sub_5751
  4762 		call	Page03_372F
  4230 		call	Page03_372F
  4763 		ret
  4231 		ret
  4764 
       
  4765 ; =============== S U B	R O U T	I N E =======================================
       
  4766 
       
  4767 
  4232 
  4768 p03sub_5751:
  4233 p03sub_5751:
  4769 		bit		windowHookActive, (iy+hookflags3)
  4234 		bit		windowHookActive, (iy+hookflags3)
  4770 		jr		z, p03loc_575E
  4235 		jr		z, p03loc_575E
  4771 		ld		a, 7
  4236 		ld		a, 7
  4772 		call	Page0Call_362D
  4237 		call	Page0Call_362D
  4773 		jr		nz, p03sub_5779
  4238 		jr		nz, p03sub_5779
  4774 
       
  4775 p03loc_575E:
  4239 p03loc_575E:
  4776 		ld		hl, p03loc_5836
  4240 		ld		hl, p03loc_5836
  4777 		call	IsFuncMode
  4241 		call	IsFuncMode
  4778 		jr		nz, p03sub_5779
  4242 		jr		nz, p03sub_5779
  4779 		ld		hl, p03loc_584E
  4243 		ld		hl, p03loc_584E
  4781 		jr		nz, p03sub_5779
  4245 		jr		nz, p03sub_5779
  4782 		ld		hl, p03loc_588D
  4246 		ld		hl, p03loc_588D
  4783 		call	IsParametricMode
  4247 		call	IsParametricMode
  4784 		jr		nz, p03sub_5779
  4248 		jr		nz, p03sub_5779
  4785 		ld		hl, p03loc_586C
  4249 		ld		hl, p03loc_586C
  4786 ; End of function p03sub_5751
       
  4787 
       
  4788 
       
  4789 ; =============== S U B	R O U T	I N E =======================================
       
  4790 
       
  4791 
       
  4792 p03sub_5779:
  4250 p03sub_5779:
  4793 		ld		(unk_9700), hl
  4251 		ld		(unk_9700), hl
  4794 		call	p03sub_43DD
  4252 		call	p03sub_43DD
  4795 		ret
  4253 		ret
  4796 ; End of function p03sub_5779
       
  4797 
       
  4798 ; ---------------------------------------------------------------------------
       
  4799 
  4254 
  4800 InitZoomContext:
  4255 InitZoomContext:
  4801 		ld		hl, p03loc_5814
  4256 		ld		hl, p03loc_5814
  4802 		call	AppInit
  4257 		call	AppInit
  4803 		call	page0_176F
  4258 		call	page0_176F
  4811 		call	Page03_3711
  4266 		call	Page03_3711
  4812 		ld		hl, p03loc_5824
  4267 		ld		hl, p03loc_5824
  4813 		call	p03sub_5779
  4268 		call	p03sub_5779
  4814 		call	Page03_372F
  4269 		call	Page03_372F
  4815 		ret
  4270 		ret
  4816 ; ---------------------------------------------------------------------------
       
  4817 
  4271 
  4818 InitTableSetContext:
  4272 InitTableSetContext:
  4819 		bit		prgmEdit, (iy+prgmFlags)
  4273 		bit		prgmEdit, (iy+prgmFlags)
  4820 		jp		nz, Page0Call_35F7
  4274 		jp		nz, Page0Call_35F7
  4821 		call	InitNumVec
  4275 		call	InitNumVec
  4834 		call	Page0Call_35FD
  4288 		call	Page0Call_35FD
  4835 		call	Page0Call_3603
  4289 		call	Page0Call_3603
  4836 		call	Page03_372F
  4290 		call	Page03_372F
  4837 		ret
  4291 		ret
  4838 
  4292 
  4839 ; =============== S U B	R O U T	I N E =======================================
       
  4840 
       
  4841 
       
  4842 InitNumVec:
  4293 InitNumVec:
  4843 		ld		hl, p03loc_5814
  4294 		ld		hl, p03loc_5814
  4844 		call	AppInit
  4295 		call	AppInit
  4845 		ret
  4296 		ret
  4846 ; End of function InitNumVec
       
  4847 
       
  4848 ; ---------------------------------------------------------------------------
       
  4849 
  4297 
  4850 Page03_3609:
  4298 Page03_3609:
  4851 		call	InitNumVec
  4299 		call	InitNumVec
  4852 		call	p03sub_45C1
  4300 		call	p03sub_45C1
  4853 		ret
  4301 		ret
  4854 ; ---------------------------------------------------------------------------
       
  4855 
  4302 
  4856 Page03_360F:
  4303 Page03_360F:
  4857 		call	InitNumVec
  4304 		call	InitNumVec
  4858 		call	p03sub_45BA
  4305 		call	p03sub_45BA
  4859 		ret
  4306 		ret
  4860 ; ---------------------------------------------------------------------------
       
  4861 
  4307 
  4862 Page03_3615:
  4308 Page03_3615:
  4863 		ld		ix, p03loc_586C
  4309 		ld		ix, p03loc_586C
  4864 		ld		(unk_9700), ix
  4310 		ld		(unk_9700), ix
  4865 		ret
  4311 		ret
  4866 ; ---------------------------------------------------------------------------
       
  4867 
  4312 
  4868 Page03_361B:
  4313 Page03_361B:
  4869 		ld		hl, p03loc_58C3
  4314 		ld		hl, p03loc_58C3
  4870 		ld		(unk_9700), hl
  4315 		ld		(unk_9700), hl
  4871 		ret
  4316 		ret
  4872 ; ---------------------------------------------------------------------------
       
  4873 
  4317 
  4874 Page03_3621:
  4318 Page03_3621:
  4875 		push	ix
  4319 		push	ix
  4876 		ld		ix, p03loc_586C
  4320 		ld		ix, p03loc_586C
  4877 		call	setTitle
  4321 		call	setTitle
  4878 		pop		ix
  4322 		pop		ix
  4879 		ret
  4323 		ret
       
  4324 
  4880 p03loc_5814:
  4325 p03loc_5814:
  4881 		.db		77h
  4326 		.dw p03loc_4677
  4882 		.db		46h
  4327 		.dw j_numPPutAway
  4883 		.db		0E9h
  4328 		.dw p03sub_4B7F
  4884 		.db		37h	; 7
  4329 		.dw j_numRedisp
  4885 		.db		7Fh	; 
  4330 		.dw Page0Call_37FB
  4886 		.db		4Bh	; K
  4331 		.dw p03loc_4B90
  4887 		.db		0EFh	; �
  4332 		.db 0Ah
  4888 		.db		37h	; 7
  4333 
  4889 		.db		0FBh	; �
       
  4890 		.db		37h	; 7
       
  4891 		.db		90h	; �
       
  4892 		.db		4Bh	; K
       
  4893 		.db		0Ah
       
  4894 		.db		0FFh
  4334 		.db		0FFh
  4895 		.db		0
  4335 		.db		0
  4896 		.db		0
  4336 		.db		0
  4897 p03loc_5824:
  4337 p03loc_5824:
  4898 		.db		28h	; (
  4338 		.db		28h	; (
  5214 		.db		4Dh	; M
  4654 		.db		4Dh	; M
  5215 		.db		61h	; a
  4655 		.db		61h	; a
  5216 		.db		78h	; x
  4656 		.db		78h	; x
  5217 		.db		0
  4657 		.db		0
  5218 p03loc_595D:
  4658 p03loc_595D:
  5219 		.db		57h	; W
  4659 		.asc 'WINDOW',0
  5220 		.db		49h	; I
       
  5221 		.db		4Eh	; N
       
  5222 		.db		44h	; D
       
  5223 		.db		4Fh	; O
       
  5224 		.db		57h	; W
       
  5225 		.db		0
       
  5226 p03loc_5964:
  4660 p03loc_5964:
  5227 		.db		54h	; T
  4661 		.asc 'TABLE SETUP',0
  5228 		.db		41h	; A
       
  5229 		.db		42h	; B
       
  5230 		.db		4Ch	; L
       
  5231 		.db		45h	; E
       
  5232 		.db		20h
       
  5233 		.db		53h	; S
       
  5234 		.db		45h	; E
       
  5235 		.db		54h	; T
       
  5236 		.db		55h	; U
       
  5237 		.db		50h	; P
       
  5238 		.db		0
       
  5239 p03loc_5970:
  4662 p03loc_5970:
  5240 		.db		5Ah	; Z
  4663 		.asc 'ZOOM FACTORS',0
  5241 		.db		4Fh	; O
       
  5242 		.db		4Fh	; O
       
  5243 		.db		4Dh	; M
       
  5244 		.db		20h
       
  5245 		.db		46h	; F
       
  5246 		.db		41h	; A
       
  5247 		.db		43h	; C
       
  5248 		.db		54h	; T
       
  5249 		.db		4Fh	; O
       
  5250 		.db		52h	; R
       
  5251 		.db		53h	; S
       
  5252 		.db		0
       
  5253 
       
  5254 ; =============== S U B	R O U T	I N E =======================================
       
  5255 
       
  5256 
  4664 
  5257 p03sub_597D:
  4665 p03sub_597D:
  5258 		push	af
  4666 		push	af
  5259 		call	ShRAcc
  4667 		call	ShRAcc
  5260 		ld		b, a
  4668 		ld		b, a
  5262 		and		0Fh
  4670 		and		0Fh
  5263 		inc		b
  4671 		inc		b
  5264 		add		a, 0
  4672 		add		a, 0
  5265 		daa
  4673 		daa
  5266 		jr		p03loc_598E
  4674 		jr		p03loc_598E
  5267 ; ---------------------------------------------------------------------------
       
  5268 
  4675 
  5269 p03loc_598B:
  4676 p03loc_598B:
  5270 		add		a, 16h
  4677 		add		a, 16h
  5271 		daa
  4678 		daa
  5272 
       
  5273 p03loc_598E:
  4679 p03loc_598E:
  5274 		djnz	p03loc_598B
  4680 		djnz	p03loc_598B
  5275 		ret
  4681 		ret
  5276 ; End of function p03sub_597D
       
  5277 
       
  5278 
       
  5279 ; =============== S U B	R O U T	I N E =======================================
       
  5280 
       
  5281 
  4682 
  5282 SetXXOP1:
  4683 SetXXOP1:
  5283 		ld		hl, OP1
  4684 		ld		hl, OP1
  5284 		jr		p03loc_5999
  4685 		jr		p03loc_5999
  5285 ; End of function SetXXOP1
       
  5286 
       
  5287 
       
  5288 ; =============== S U B	R O U T	I N E =======================================
       
  5289 
       
  5290 
       
  5291 SetXXOP2:
  4686 SetXXOP2:
  5292 		ld		hl, OP2
  4687 		ld		hl, OP2
  5293 
       
  5294 p03loc_5999:
  4688 p03loc_5999:
  5295 		push	hl
  4689 		push	hl
  5296 		push	af
  4690 		push	af
  5297 		call	OPSet0
  4691 		call	OPSet0
  5298 		pop		af
  4692 		pop		af
  5301 		inc		hl
  4695 		inc		hl
  5302 		cp		10h
  4696 		cp		10h
  5303 		jr		nc, p03loc_59AD
  4697 		jr		nc, p03loc_59AD
  5304 		call	ShLAcc
  4698 		call	ShLAcc
  5305 		jr		p03loc_59AE
  4699 		jr		p03loc_59AE
  5306 ; ---------------------------------------------------------------------------
       
  5307 
       
  5308 p03loc_59AD:
  4700 p03loc_59AD:
  5309 		inc		(hl)
  4701 		inc		(hl)
  5310 
       
  5311 p03loc_59AE:
  4702 p03loc_59AE:
  5312 		inc		hl
  4703 		inc		hl
  5313 		ld		(hl), a
  4704 		ld		(hl), a
  5314 		ret
  4705 		ret
  5315 ; End of function SetXXOP2
       
  5316 
       
  5317 
       
  5318 ; =============== S U B	R O U T	I N E =======================================
       
  5319 
       
  5320 
  4706 
  5321 SetXXXXOP2:
  4707 SetXXXXOP2:
  5322 		; p03sub_5E3D+20p	...
       
  5323 		push	hl
  4708 		push	hl
  5324 		call	OP2Set0
  4709 		call	OP2Set0
  5325 		pop		hl
  4710 		pop		hl
  5326 		ld		a, h
  4711 		ld		a, h
  5327 		or		l
  4712 		or		l
  5342 		ld		a, l
  4727 		ld		a, l
  5343 		call	ShRAcc
  4728 		call	ShRAcc
  5344 		ld		de, 16h
  4729 		ld		de, 16h
  5345 		call	p03sub_59FA
  4730 		call	p03sub_59FA
  5346 		ld		hl, 8484h
  4731 		ld		hl, 8484h
  5347 		ld		(hl), 85h ; '�'
  4732 		ld		(hl), 85h
  5348 
       
  5349 p03loc_59E4:
  4733 p03loc_59E4:
  5350 		ld		a, (OP2M)
  4734 		ld		a, (OP2M)
  5351 		cp		10h
  4735 		cp		10h
  5352 		ret		nc
  4736 		ret		nc
  5353 		ld		hl, 8487h
  4737 		ld		hl, 8487h
  5358 		dec		hl
  4742 		dec		hl
  5359 		rld
  4743 		rld
  5360 		dec		hl
  4744 		dec		hl
  5361 		dec		(hl)
  4745 		dec		(hl)
  5362 		jr		p03loc_59E4
  4746 		jr		p03loc_59E4
  5363 ; End of function SetXXXXOP2
       
  5364 
       
  5365 
       
  5366 ; =============== S U B	R O U T	I N E =======================================
       
  5367 
       
  5368 
  4747 
  5369 p03sub_59FA:
  4748 p03sub_59FA:
  5370 		; SetXXXXOP2+21p ...
       
  5371 		ret		z
  4749 		ret		z
  5372 		push	hl
  4750 		push	hl
  5373 		ld		b, a
  4751 		ld		b, a
  5374 
       
  5375 p03loc_59FD:
  4752 p03loc_59FD:
  5376 		ld		hl, 8487h
  4753 		ld		hl, 8487h
  5377 		ld		a, (hl)
  4754 		ld		a, (hl)
  5378 		add		a, e
  4755 		add		a, e
  5379 		daa
  4756 		daa
  5380 		ld		(hl), a
  4757 		ld		(hl), a
  5381 		dec		hl
  4758 		dec		hl
  5382 		ld		a, (hl)
  4759 		ld		a, (hl)
  5383 		adc	a, d
  4760 		adc		a, d
  5384 		daa
  4761 		daa
  5385 		ld		(hl), a
  4762 		ld		(hl), a
  5386 		dec		hl
  4763 		dec		hl
  5387 		ld		a, (hl)
  4764 		ld		a, (hl)
  5388 		adc	a, 0
  4765 		adc		a, 0
  5389 		daa
  4766 		daa
  5390 		ld		(hl), a
  4767 		ld		(hl), a
  5391 		djnz	p03loc_59FD
  4768 		djnz	p03loc_59FD
  5392 		pop		hl
  4769 		pop		hl
  5393 		ret
  4770 		ret
  5394 ; End of function p03sub_59FA
       
  5395 
       
  5396 
       
  5397 ; =============== S U B	R O U T	I N E =======================================
       
  5398 
       
  5399 
  4771 
  5400 p03sub_5A13:
  4772 p03sub_5A13:
  5401 		; CLine+17Bp
       
  5402 		call	PopRealO6
  4773 		call	PopRealO6
  5403 		call	PopRealO5
  4774 		call	PopRealO5
  5404 		ld		de, OP5
  4775 		ld		de, OP5
  5405 		ld		hl, OP6
  4776 		ld		hl, OP6
  5406 		call	j_WTOV
  4777 		call	j_WTOV
  5407 		ret
  4778 		ret
  5408 ; End of function p03sub_5A13
  4779 
  5409 
  4780 UCLineS:push	af
  5410 ; ---------------------------------------------------------------------------
       
  5411 
       
  5412 UCLineS:
       
  5413 		push	af
       
  5414 		scf
  4781 		scf
  5415 		jr		p03loc_5A49
  4782 		jr		p03loc_5A49
  5416 
       
  5417 ; =============== S U B	R O U T	I N E =======================================
       
  5418 
       
  5419 
  4783 
  5420 p03sub_5A27:
  4784 p03sub_5A27:
  5421 		ld		hl, (FPS)
  4785 		ld		hl, (FPS)
  5422 		ld		de, 0FFE5h
  4786 		ld		de, 0FFE5h
  5423 		add		hl, de
  4787 		add		hl, de
  5426 		push	af
  4790 		push	af
  5427 		call	p03sub_707D
  4791 		call	p03sub_707D
  5428 		pop		hl
  4792 		pop		hl
  5429 		ld		l, a
  4793 		ld		l, a
  5430 		ret
  4794 		ret
  5431 ; End of function p03sub_5A27
       
  5432 
       
  5433 
       
  5434 ; =============== S U B	R O U T	I N E =======================================
       
  5435 
       
  5436 
  4795 
  5437 CLine:
  4796 CLine:
  5438 		bit		g_style_active, (iy+sGrFlags)
  4797 		bit		g_style_active, (iy+sGrFlags)
  5439 		jr		z, p03loc_5A41
  4798 		jr		z, p03loc_5A41
  5440 
       
  5441 p03loc_5A41:
  4799 p03loc_5A41:
  5442 		call	PUSHMCPLXO3
  4800 		call	PUSHMCPLXO3
  5443 		call	PUSHMCPLXO1
  4801 		call	PUSHMCPLXO1
  5444 
  4802 CLineS:	push	af
  5445 CLineS:
       
  5446 		push	af
       
  5447 		or		a
  4803 		or		a
  5448 
       
  5449 p03loc_5A49:
  4804 p03loc_5A49:
  5450 		ld		a, 2
  4805 		ld		a, 2
  5451 		bit		drawingHookActive, (iy+hookflags3)
  4806 		bit		drawingHookActive, (iy+hookflags3)
  5452 		call	nz, Page0Call_3483
  4807 		call	nz, Page0Call_3483
  5453 		jr		z, p03loc_5A57
  4808 		jr		z, p03loc_5A57
  5454 		pop		af
  4809 		pop		af
  5455 		ret
  4810 		ret
  5456 ; ---------------------------------------------------------------------------
       
  5457 
  4811 
  5458 BCALL_503E:
  4812 BCALL_503E:
  5459 		push	af
  4813 		push	af
  5460 
       
  5461 p03loc_5A57:
  4814 p03loc_5A57:
  5462 		push	bc
  4815 		push	bc
  5463 		push	de
  4816 		push	de
  5464 		push	hl
  4817 		push	hl
  5465 		push	af
  4818 		push	af
  5483 		ld		(unk_9188), a
  4836 		ld		(unk_9188), a
  5484 		call	CpyTo1FPS1
  4837 		call	CpyTo1FPS1
  5485 		ld		de, OP1
  4838 		ld		de, OP1
  5486 		call	j_XftoI
  4839 		call	j_XftoI
  5487 		ld		(unk_9189), a
  4840 		ld		(unk_9189), a
  5488 
       
  5489 p03loc_5A96:
  4841 p03loc_5A96:
  5490 		call	p03sub_5A27
  4842 		call	p03sub_5A27
  5491 		ld		(unk_918A), hl
  4843 		ld		(unk_918A), hl
  5492 
       
  5493 p03loc_5A9C:
  4844 p03loc_5A9C:
  5494 		pop		af
  4845 		pop		af
  5495 		dec		a
  4846 		dec		a
  5496 		push	af
  4847 		push	af
  5497 		jp		z, p03loc_5D38
  4848 		jp		z, p03loc_5D38
  5507 		ld		b, a
  4858 		ld		b, a
  5508 		ld		a, (unk_9188)
  4859 		ld		a, (unk_9188)
  5509 		pop		hl
  4860 		pop		hl
  5510 		bit		0, h
  4861 		bit		0, h
  5511 		jr		z, p03loc_5AC7
  4862 		jr		z, p03loc_5AC7
  5512 		ld		e, 3Fh ; '?'
  4863 		ld		e, 3Fh
  5513 
       
  5514 p03loc_5AC1:
  4864 p03loc_5AC1:
  5515 		call	p03sub_5C4D
  4865 		call	p03sub_5C4D
  5516 
       
  5517 p03loc_5AC4:
  4866 p03loc_5AC4:
  5518 		jp		p03loc_5D38
  4867 		jp		p03loc_5D38
  5519 ; ---------------------------------------------------------------------------
       
  5520 
       
  5521 p03loc_5AC7:
  4868 p03loc_5AC7:
  5522 		ld		e, 1
  4869 		ld		e, 1
  5523 		jr		p03loc_5AC1
  4870 		jr		p03loc_5AC1
  5524 ; ---------------------------------------------------------------------------
       
  5525 
       
  5526 p03loc_5ACB:
  4871 p03loc_5ACB:
  5527 		ld		a, h
  4872 		ld		a, h
  5528 		or		l
  4873 		or		l
  5529 		jp		z, p03loc_5BB2
  4874 		jp		z, p03loc_5BB2
  5530 		push	hl
  4875 		push	hl
  5543 		ld		b, 0Ch
  4888 		ld		b, 0Ch
  5544 		call	p03sub_5D0A
  4889 		call	p03sub_5D0A
  5545 		call	FPSub
  4890 		call	FPSub
  5546 		call	CkOP1FP0
  4891 		call	CkOP1FP0
  5547 		jr		nz, p03loc_5B05
  4892 		jr		nz, p03loc_5B05
  5548 
       
  5549 p03loc_5AFF:
  4893 p03loc_5AFF:
  5550 		set		2, (ix+0)
  4894 		set		2, (ix+0)
  5551 		jr		p03loc_5B24
  4895 		jr		p03loc_5B24
  5552 ; ---------------------------------------------------------------------------
       
  5553 
       
  5554 p03loc_5B05:
  4896 p03loc_5B05:
  5555 		call	OP1ToOP5
  4897 		call	OP1ToOP5
  5556 		call	CpyTo1FPST
  4898 		call	CpyTo1FPST
  5557 		call	CpyTo2FPS2
  4899 		call	CpyTo2FPS2
  5558 		ld		b, 3
  4900 		ld		b, 3
  5561 		call	CkOP1FP0
  4903 		call	CkOP1FP0
  5562 		jr		z, p03loc_5AFF
  4904 		jr		z, p03loc_5AFF
  5563 		call	OP5ToOP2
  4905 		call	OP5ToOP2
  5564 		call	fpdiv
  4906 		call	fpdiv
  5565 		call	OP1ToOP6
  4907 		call	OP1ToOP6
  5566 
       
  5567 p03loc_5B24:
  4908 p03loc_5B24:
  5568 		pop		hl
  4909 		pop		hl
  5569 		bit		1, (ix+0)
  4910 		bit		1, (ix+0)
  5570 		jr		nz, p03loc_5B33
  4911 		jr		nz, p03loc_5B33
  5571 		xor		a
  4912 		xor		a
  5572 		or		h
  4913 		or		h
  5573 		jr		nz, p03loc_5B44
  4914 		jr		nz, p03loc_5B44
  5574 		set		1, (ix+0)
  4915 		set		1, (ix+0)
  5575 
       
  5576 p03loc_5B33:
  4916 p03loc_5B33:
  5577 		push	hl
  4917 		push	hl
  5578 		ld		hl, (FPS)
  4918 		ld		hl, (FPS)
  5579 		ld		de, 0FFF7h
  4919 		ld		de, 0FFF7h
  5580 		add		hl, de
  4920 		add		hl, de
  5581 		ld		(chkDelPtr2), hl
  4921 		ld		(chkDelPtr2), hl
  5582 		add		hl, de
  4922 		add		hl, de
  5583 		ld		(chkDelPtr1), hl
  4923 		ld		(chkDelPtr1), hl
  5584 		pop		hl
  4924 		pop		hl
  5585 		ld		h, l
  4925 		ld		h, l
  5586 
       
  5587 p03loc_5B44:
  4926 p03loc_5B44:
  5588 		bit		0, h
  4927 		bit		0, h
  5589 		jr		z, p03loc_5B5D
  4928 		jr		z, p03loc_5B5D
  5590 		ld		hl, Ymax
  4929 		ld		hl, Ymax
  5591 
       
  5592 p03loc_5B4B:
  4930 p03loc_5B4B:
  5593 		ld		(chkDelPtr2), hl
  4931 		ld		(chkDelPtr2), hl
  5594 		bit		2, (ix+0)
  4932 		bit		2, (ix+0)
  5595 		jr		nz, p03loc_5B8A
  4933 		jr		nz, p03loc_5B8A
  5596 		scf
  4934 		scf
  5597 		call	p03sub_5C71
  4935 		call	p03sub_5C71
  5598 		ld		de, OP1
  4936 		ld		de, OP1
  5599 		jr		p03loc_5B8E
  4937 		jr		p03loc_5B8E
  5600 ; ---------------------------------------------------------------------------
       
  5601 
       
  5602 p03loc_5B5D:
  4938 p03loc_5B5D:
  5603 		bit		1, h
  4939 		bit		1, h
  5604 		jr		z, p03loc_5B66
  4940 		jr		z, p03loc_5B66
  5605 		ld		hl, Ymin
  4941 		ld		hl, Ymin
  5606 		jr		p03loc_5B4B
  4942 		jr		p03loc_5B4B
  5607 ; ---------------------------------------------------------------------------
       
  5608 
       
  5609 p03loc_5B66:
  4943 p03loc_5B66:
  5610 		bit		2, h
  4944 		bit		2, h
  5611 		jr		z, p03loc_5B6F
  4945 		jr		z, p03loc_5B6F
  5612 		ld		de, Xmax
  4946 		ld		de, Xmax
  5613 		jr		p03loc_5B76
  4947 		jr		p03loc_5B76
  5614 ; ---------------------------------------------------------------------------
       
  5615 
       
  5616 p03loc_5B6F:
  4948 p03loc_5B6F:
  5617 		bit		3, h
  4949 		bit		3, h
  5618 		jr		z, p03loc_5B8A
  4950 		jr		z, p03loc_5B8A
  5619 		ld		de, Xmin
  4951 		ld		de, Xmin
  5620 
       
  5621 p03loc_5B76:
  4952 p03loc_5B76:
  5622 		bit		2, (ix+0)
  4953 		bit		2, (ix+0)
  5623 		jr		nz, p03loc_5B8E
  4954 		jr		nz, p03loc_5B8E
  5624 		ex		de, hl
  4955 		ex		de, hl
  5625 		ld		(chkDelPtr1), hl
  4956 		ld		(chkDelPtr1), hl
  5626 		or		a
  4957 		or		a
  5627 		call	p03sub_5C71
  4958 		call	p03sub_5C71
  5628 		ld		hl, OP1
  4959 		ld		hl, OP1
  5629 		ld		(chkDelPtr2), hl
  4960 		ld		(chkDelPtr2), hl
  5630 
       
  5631 p03loc_5B8A:
  4961 p03loc_5B8A:
  5632 		ld		de, (chkDelPtr1)
  4962 		ld		de, (chkDelPtr1)
  5633 
       
  5634 p03loc_5B8E:
  4963 p03loc_5B8E:
  5635 		bit		1, (ix+0)
  4964 		bit		1, (ix+0)
  5636 		jr		nz, p03loc_5BA5
  4965 		jr		nz, p03loc_5BA5
  5637 		call	CpyToFPS3
  4966 		call	CpyToFPS3
  5638 		ld		de, (chkDelPtr2)
  4967 		ld		de, (chkDelPtr2)
  5639 		call	CpyToFPS2
  4968 		call	CpyToFPS2
  5640 		set		3, (ix+0)
  4969 		set		3, (ix+0)
  5641 		jp		p03loc_5A9C
  4970 		jp		p03loc_5A9C
  5642 ; ---------------------------------------------------------------------------
       
  5643 
       
  5644 p03loc_5BA5:
  4971 p03loc_5BA5:
  5645 		call	CpyToFPS1
  4972 		call	CpyToFPS1
  5646 		ld		de, (chkDelPtr2)
  4973 		ld		de, (chkDelPtr2)
  5647 		call	CpyToFPST
  4974 		call	CpyToFPST
  5648 		jp		p03loc_5A9C
  4975 		jp		p03loc_5A9C
  5649 ; ---------------------------------------------------------------------------
       
  5650 
       
  5651 p03loc_5BB2:
  4976 p03loc_5BB2:
  5652 		call	p03sub_5A13
  4977 		call	p03sub_5A13
  5653 		push	bc
  4978 		push	bc
  5654 		call	p03sub_5A13
  4979 		call	p03sub_5A13
  5655 		push	bc
  4980 		push	bc
  5659 		cp		b
  4984 		cp		b
  5660 		jr		z, p03loc_5BD7
  4985 		jr		z, p03loc_5BD7
  5661 		ld		hl, (unk_918A)
  4986 		ld		hl, (unk_918A)
  5662 		bit		0, h
  4987 		bit		0, h
  5663 		jr		z, p03loc_5BD3
  4988 		jr		z, p03loc_5BD3
  5664 		ld		e, 3Fh ; '?'
  4989 		ld		e, 3Fh
  5665 
       
  5666 p03loc_5BCE:
  4990 p03loc_5BCE:
  5667 		call	p03sub_5C4D
  4991 		call	p03sub_5C4D
  5668 		jr		p03loc_5BD7
  4992 		jr		p03loc_5BD7
  5669 ; ---------------------------------------------------------------------------
       
  5670 
       
  5671 p03loc_5BD3:
  4993 p03loc_5BD3:
  5672 		ld		e, 1
  4994 		ld		e, 1
  5673 		jr		p03loc_5BCE
  4995 		jr		p03loc_5BCE
  5674 ; ---------------------------------------------------------------------------
       
  5675 
       
  5676 p03loc_5BD7:
  4996 p03loc_5BD7:
  5677 		pop		bc
  4997 		pop		bc
  5678 		pop		de
  4998 		pop		de
  5679 		pop		hl
  4999 		pop		hl
  5680 		pop		hl
  5000 		pop		hl
  5681 		pop		af
  5001 		pop		af
  5682 		ld		h, 1
  5002 		ld		h, 1
  5683 		jr		nc, p03loc_5BE1
  5003 		jr		nc, p03loc_5BE1
  5684 		dec		h
  5004 		dec		h
  5685 
       
  5686 p03loc_5BE1:
  5005 p03loc_5BE1:
  5687 		push	de
  5006 		push	de
  5688 		call	j_ILine
  5007 		call	j_ILine
  5689 		pop		de
  5008 		pop		de
  5690 		call	p03sub_5C38
  5009 		call	p03sub_5C38
  5698 		cp		(hl)
  5017 		cp		(hl)
  5699 		jr		z, p03loc_5C33
  5018 		jr		z, p03loc_5C33
  5700 		ld		hl, (unk_918A)
  5019 		ld		hl, (unk_918A)
  5701 		bit		0, l
  5020 		bit		0, l
  5702 		jr		z, p03loc_5C07
  5021 		jr		z, p03loc_5C07
  5703 		ld		e, 3Fh ; '?'
  5022 		ld		e, 3Fh
  5704 
       
  5705 p03loc_5C02:
  5023 p03loc_5C02:
  5706 		call	p03sub_5C4D
  5024 		call	p03sub_5C4D
  5707 		jr		p03loc_5C33
  5025 		jr		p03loc_5C33
  5708 ; ---------------------------------------------------------------------------
       
  5709 
       
  5710 p03loc_5C07:
  5026 p03loc_5C07:
  5711 		ld		e, 1
  5027 		ld		e, 1
  5712 		jr		p03loc_5C02
  5028 		jr		p03loc_5C02
  5713 ; End of function CLine
  5029 
  5714 
  5030 #ifndef DEVIATE_FROM_ORIGINAL_FILE
  5715 ; ---------------------------------------------------------------------------
  5031 ;Not referenced anywhere.
  5716 		call	j_ILine
  5032 		call	j_ILine
  5717 		jr		p03loc_5C33
  5033 		jr		p03loc_5C33
  5718 ; ---------------------------------------------------------------------------
  5034 #endif
  5719 ; START	OF FUNCTION CHUNK FOR p03sub_5C71
       
  5720 
  5035 
  5721 p03loc_5C10:
  5036 p03loc_5C10:
  5722 		call	FPOPCPLX
  5037 		call	FPOPCPLX
  5723 		pop		hl
  5038 		pop		hl
  5724 		pop		hl
  5039 		pop		hl
  5725 		pop		af
  5040 		pop		af
  5726 		ld		a, 1
  5041 		ld		a, 1
  5727 		jr		nc, p03loc_5C1B
  5042 		jr		nc, p03loc_5C1B
  5728 		dec		a
  5043 		dec		a
  5729 
       
  5730 p03loc_5C1B:
  5044 p03loc_5C1B:
  5731 		call	j_CPointS
  5045 		call	j_CPointS
  5732 		jr		p03loc_5C33
  5046 		jr		p03loc_5C33
  5733 ; ---------------------------------------------------------------------------
       
  5734 
  5047 
  5735 p03loc_5C20:
  5048 p03loc_5C20:
  5736 		pop		hl
  5049 		pop		hl
  5737 		pop		hl
  5050 		pop		hl
  5738 		pop		af
  5051 		pop		af
  5739 		ld		a, 1
  5052 		ld		a, 1
  5740 		jr		nc, p03loc_5C28
  5053 		jr		nc, p03loc_5C28
  5741 		dec		a
  5054 		dec		a
  5742 
       
  5743 p03loc_5C28:
  5055 p03loc_5C28:
  5744 		call	j_CPointS
  5056 		call	j_CPointS
  5745 		call	FPOPCPLX
  5057 		call	FPOPCPLX
  5746 		jr		p03loc_5C33
  5058 		jr		p03loc_5C33
  5747 ; END OF FUNCTION CHUNK	FOR p03sub_5C71
       
  5748 ; ---------------------------------------------------------------------------
       
  5749 ; START	OF FUNCTION CHUNK FOR p03sub_5D0A
       
  5750 
       
  5751 p03loc_5C30:
  5059 p03loc_5C30:
  5752 		pop		hl
  5060 		pop		hl
  5753 		pop		hl
  5061 		pop		hl
  5754 		pop		af
  5062 		pop		af
  5755 ; END OF FUNCTION CHUNK	FOR p03sub_5D0A
       
  5756 ; START	OF FUNCTION CHUNK FOR p03sub_5C71
       
  5757 
       
  5758 p03loc_5C33:
  5063 p03loc_5C33:
  5759 		pop		hl
  5064 		pop		hl
  5760 		pop		de
  5065 		pop		de
  5761 		pop		bc
  5066 		pop		bc
  5762 		pop		af
  5067 		pop		af
  5763 		ret
  5068 		ret
  5764 ; END OF FUNCTION CHUNK	FOR p03sub_5C71
       
  5765 
       
  5766 ; =============== S U B	R O U T	I N E =======================================
       
  5767 
       
  5768 
  5069 
  5769 p03sub_5C38:
  5070 p03sub_5C38:
  5770 		bit		g_style_active, (iy+sGrFlags)
  5071 		bit		g_style_active, (iy+sGrFlags)
  5771 		ret		z
  5072 		ret		z
  5772 		ld		a, (unk_9775)
  5073 		ld		a, (unk_9775)
  5774 		jr		c, p03loc_5C4B
  5075 		jr		c, p03loc_5C4B
  5775 		cp		4
  5076 		cp		4
  5776 		jr		nc, p03loc_5C4B
  5077 		jr		nc, p03loc_5C4B
  5777 		or		1
  5078 		or		1
  5778 		ret
  5079 		ret
  5779 ; ---------------------------------------------------------------------------
       
  5780 
  5080 
  5781 p03loc_5C4B:
  5081 p03loc_5C4B:
  5782 		xor		a
  5082 		xor		a
  5783 		ret
  5083 		ret
  5784 ; End of function p03sub_5C38
       
  5785 
       
  5786 
       
  5787 ; =============== S U B	R O U T	I N E =======================================
       
  5788 
       
  5789 
  5084 
  5790 p03sub_5C4D:
  5085 p03sub_5C4D:
  5791 		; CLine:p03loc_5BCEp ...
       
  5792 		push	bc
  5086 		push	bc
  5793 		ld		c, e
  5087 		ld		c, e
  5794 		ld		b, a
  5088 		ld		b, a
  5795 		ld		a, (unk_9775)
  5089 		ld		a, (unk_9775)
  5796 		cp		2
  5090 		cp		2
  5797 		ld		a, e
  5091 		ld		a, e
  5798 		jr		z, p03loc_5C5E
  5092 		jr		z, p03loc_5C5E
  5799 		cp		1
  5093 		cp		1
  5800 		jr		nz, p03loc_5C62
  5094 		jr		nz, p03loc_5C62
  5801 
       
  5802 p03loc_5C5C:
  5095 p03loc_5C5C:
  5803 		pop		af
  5096 		pop		af
  5804 		ret
  5097 		ret
  5805 ; ---------------------------------------------------------------------------
       
  5806 
  5098 
  5807 p03loc_5C5E:
  5099 p03loc_5C5E:
  5808 		cp		3Fh ; '?'
  5100 		cp		3Fh
  5809 		jr		z, p03loc_5C5C
  5101 		jr		z, p03loc_5C5C
  5810 
       
  5811 p03loc_5C62:
  5102 p03loc_5C62:
  5812 		pop		af
  5103 		pop		af
  5813 
       
  5814 p03loc_5C63:
  5104 p03loc_5C63:
  5815 		push	af
  5105 		push	af
  5816 		push	bc
  5106 		push	bc
  5817 		ld		d, 3
  5107 		ld		d, 3
  5818 		call	j_IPoint
  5108 		call	j_IPoint
  5820 		inc		b
  5110 		inc		b
  5821 		pop		af
  5111 		pop		af
  5822 		cp		b
  5112 		cp		b
  5823 		jr		nc, p03loc_5C63
  5113 		jr		nc, p03loc_5C63
  5824 		ret
  5114 		ret
  5825 ; End of function p03sub_5C4D
       
  5826 
       
  5827 
       
  5828 ; =============== S U B	R O U T	I N E =======================================
       
  5829 
       
  5830 
  5115 
  5831 p03sub_5C71:
  5116 p03sub_5C71:
  5832 
       
  5833 
       
  5834 
       
  5835 
       
  5836 		push	af
  5117 		push	af
  5837 		rst		20h
  5118 		rst		20h
  5838 		ld		hl, (FPS)
  5119 		ld		hl, (FPS)
  5839 		ld		de, 0FFDCh
  5120 		ld		de, 0FFDCh
  5840 		add		hl, de
  5121 		add		hl, de
  5843 		add		hl, de
  5124 		add		hl, de
  5844 		pop		af
  5125 		pop		af
  5845 		push	af
  5126 		push	af
  5846 		jr		c, p03loc_5C84
  5127 		jr		c, p03loc_5C84
  5847 		ex		de, hl
  5128 		ex		de, hl
  5848 
       
  5849 p03loc_5C84:
  5129 p03loc_5C84:
  5850 		push	hl
  5130 		push	hl
  5851 		ld		bc, 12h
  5131 		ld		bc, 12h
  5852 		add		hl, bc
  5132 		add		hl, bc
  5853 		inc		hl
  5133 		inc		hl
  5881 		bit		3, (ix+0)
  5161 		bit		3, (ix+0)
  5882 		jp		nz, p03loc_5C20
  5162 		jp		nz, p03loc_5C20
  5883 		bit		1, (ix+0)
  5163 		bit		1, (ix+0)
  5884 		jp		nz, p03loc_5C10
  5164 		jp		nz, p03loc_5C10
  5885 		jp		p03loc_5C20
  5165 		jp		p03loc_5C20
  5886 ; ---------------------------------------------------------------------------
       
  5887 
       
  5888 p03loc_5CC6:
  5166 p03loc_5CC6:
  5889 		pop		bc
  5167 		pop		bc
  5890 
       
  5891 p03loc_5CC7:
  5168 p03loc_5CC7:
  5892 		pop		hl
  5169 		pop		hl
  5893 		pop		de
  5170 		pop		de
  5894 		jr		p03loc_5CD2
  5171 		jr		p03loc_5CD2
  5895 ; ---------------------------------------------------------------------------
       
  5896 
       
  5897 p03loc_5CCB:
  5172 p03loc_5CCB:
  5898 		ld		bc, 12h
  5173 		ld		bc, 12h
  5899 		add		hl, bc
  5174 		add		hl, bc
  5900 		ex		de, hl
  5175 		ex		de, hl
  5901 		add		hl, bc
  5176 		add		hl, bc
  5902 		ex		de, hl
  5177 		ex		de, hl
  5903 
       
  5904 p03loc_5CD2:
  5178 p03loc_5CD2:
  5905 		pop		af
  5179 		pop		af
  5906 		push	de
  5180 		push	de
  5907 		push	af
  5181 		push	af
  5908 		call	page0_C25
  5182 		call	page0_C25
  5915 		pop		hl
  5189 		pop		hl
  5916 		call	FPAdd_FromHL
  5190 		call	FPAdd_FromHL
  5917 		ld		hl, OP1
  5191 		ld		hl, OP1
  5918 		call	j_XYRND
  5192 		call	j_XYRND
  5919 		ret
  5193 		ret
  5920 ; ---------------------------------------------------------------------------
       
  5921 
       
  5922 p03loc_5CEF:
  5194 p03loc_5CEF:
  5923 		sub		b
  5195 		sub		b
  5924 		jr		c, p03loc_5CC7
  5196 		jr		c, p03loc_5CC7
  5925 		sub		0Dh
  5197 		sub		0Dh
  5926 		jr		nc, p03loc_5CF7
  5198 		jr		nc, p03loc_5CF7
  5927 		cpl
  5199 		cpl
  5928 
       
  5929 p03loc_5CF7:
  5200 p03loc_5CF7:
  5930 		ld		b, a
  5201 		ld		b, a
  5931 		ld		a, (OP2+1)
  5202 		ld		a, (OP2+1)
  5932 		ld		d, a
  5203 		ld		d, a
  5933 		ld		a, (OP1+1)
  5204 		ld		a, (OP1+1)
  5934 		sub		d
  5205 		sub		d
  5935 		jr		nc, p03loc_5D03
  5206 		jr		nc, p03loc_5D03
  5936 		cpl
  5207 		cpl
  5937 
       
  5938 p03loc_5D03:
  5208 p03loc_5D03:
  5939 		sub		b
  5209 		sub		b
  5940 		pop		hl
  5210 		pop		hl
  5941 		pop		de
  5211 		pop		de
  5942 		jr		c, p03loc_5CD2
  5212 		jr		c, p03loc_5CD2
  5943 		jr		p03loc_5CCB
  5213 		jr		p03loc_5CCB
  5944 ; End of function p03sub_5C71
       
  5945 
       
  5946 
       
  5947 ; =============== S U B	R O U T	I N E =======================================
       
  5948 
       
  5949 
  5214 
  5950 p03sub_5D0A:
  5215 p03sub_5D0A:
  5951 
       
  5952 
       
  5953 
       
  5954 		call	CkOP1FP0
  5216 		call	CkOP1FP0
  5955 		ret		z
  5217 		ret		z
  5956 		call	CkOP2FP0
  5218 		call	CkOP2FP0
  5957 		ret		z
  5219 		ret		z
  5958 		ld		a, (OP1+1)
  5220 		ld		a, (OP1+1)
  5959 		ld		hl, 8484h
  5221 		ld		hl, 8484h
  5960 		sub		(hl)
  5222 		sub		(hl)
  5961 		jr		c, p03loc_5D32
  5223 		jr		c, p03loc_5D32
  5962 		sub		0Ch
  5224 		sub		0Ch
  5963 		ret		c
  5225 		ret		c
  5964 
       
  5965 p03loc_5D1E:
  5226 p03loc_5D1E:
  5966 		pop		hl
  5227 		pop		hl
  5967 		pop		de
  5228 		pop		de
  5968 		push	af
  5229 		push	af
  5969 		ld		a, d
  5230 		ld		a, d
  5970 		and		b
  5231 		and		b
  5971 		jr		z, p03loc_5D29
  5232 		jr		z, p03loc_5D29
  5972 		ld		a, e
  5233 		ld		a, e
  5973 		and		b
  5234 		and		b
  5974 		jr		nz, p03loc_5D37
  5235 		jr		nz, p03loc_5D37
  5975 
       
  5976 p03loc_5D29:
  5236 p03loc_5D29:
  5977 		pop		af
  5237 		pop		af
  5978 		push	de
  5238 		push	de
  5979 		push	hl
  5239 		push	hl
  5980 		jp		nc, OP2Set0
  5240 		jp		nc, OP2Set0
  5981 		jp		OP1Set0
  5241 		jp		OP1Set0
  5982 ; ---------------------------------------------------------------------------
       
  5983 
       
  5984 p03loc_5D32:
  5242 p03loc_5D32:
  5985 		sub		0F5h ; '�'
  5243 		sub		0F5h
  5986 		ret		nc
  5244 		ret		nc
  5987 		jr		p03loc_5D1E
  5245 		jr		p03loc_5D1E
  5988 ; ---------------------------------------------------------------------------
       
  5989 
       
  5990 p03loc_5D37:
  5246 p03loc_5D37:
  5991 		pop		af
  5247 		pop		af
  5992 
       
  5993 p03loc_5D38:
  5248 p03loc_5D38:
  5994 		ld		de, 24h	; '$'
  5249 		ld		de, 24h
  5995 		call	DeallocFPS1
  5250 		call	DeallocFPS1
  5996 		jp		p03loc_5C30
  5251 		jp		p03loc_5C30
  5997 ; End of function p03sub_5D0A
  5252 
  5998 
  5253 XRootY:	call	CkOP1FP0
  5999 ; ---------------------------------------------------------------------------
       
  6000 
       
  6001 XRootY:
       
  6002 		call	CkOP1FP0
       
  6003 		jr		z, p03loc_5D6C
  5254 		jr		z, p03loc_5D6C
  6004 		set		1, (iy+1Eh)
  5255 		set		1, (iy+1Eh)
  6005 		set		2, (iy+1Eh)
  5256 		set		2, (iy+1Eh)
  6006 		call	OP1ExOP2
  5257 		call	OP1ExOP2
  6007 		jr		p03loc_5D5B
  5258 		jr		p03loc_5D5B
  6008 ; ---------------------------------------------------------------------------
  5259 
  6009 
  5260 YToX:	res		1, (iy+1Eh)
  6010 YToX:
       
  6011 		res		1, (iy+1Eh)
       
  6012 		res		2, (iy+1Eh)
  5261 		res		2, (iy+1Eh)
  6013 
       
  6014 p03loc_5D5B:
  5262 p03loc_5D5B:
  6015 		call	page0_FB5
  5263 		call	page0_FB5
  6016 		call	CkOP1FP0
  5264 		call	CkOP1FP0
  6017 		jr		nz, p03loc_5D6F
  5265 		jr		nz, p03loc_5D6F
  6018 		call	CkOP2FP0
  5266 		call	CkOP2FP0
  6019 		jr		z, p03loc_5D6C
  5267 		jr		z, p03loc_5D6C
  6020 		call	ckop2pos
  5268 		call	ckop2pos
  6021 		ret		z
  5269 		ret		z
  6022 
       
  6023 p03loc_5D6C:
  5270 p03loc_5D6C:
  6024 		jp		ErrDomain
  5271 		jp		ErrDomain
  6025 ; ---------------------------------------------------------------------------
       
  6026 
       
  6027 p03loc_5D6F:
  5272 p03loc_5D6F:
  6028 		call	CkOP2FP0
  5273 		call	CkOP2FP0
  6029 		jp		z, OP1Set1
  5274 		jp		z, OP1Set1
  6030 		xor		a
  5275 		xor		a
  6031 		push	af
  5276 		push	af
  6032 		call	OP2ToOP6
  5277 		call	OP2ToOP6
  6033 		call	CkOP1Pos
  5278 		call	CkOP1Pos
  6034 		jr		z, p03loc_5DDF
  5279 		jr		z, p03loc_5DDF
  6035 		call	PUSHMCPLXO1
  5280 		call	PUSHMCPLXO1
  6036 		ld		a, (OP2+1)
  5281 		ld		a, (OP2+1)
  6037 		cp		75h ; 'u'
  5282 		cp		75h
  6038 		jp		c, j_BCALL_4EAF
  5283 		jp		c, j_BCALL_4EAF
  6039 		call	OP2ToOP1
  5284 		call	OP2ToOP1
  6040 		call	GETEXP
  5285 		call	GETEXP
  6041 		jr		nc, p03loc_5D9D
  5286 		jr		nc, p03loc_5D9D
  6042 		ld		a, (iy+1Eh)
  5287 		ld		a, (iy+1Eh)
  6043 		xor		4
  5288 		xor		4
  6044 		ld		(iy+1Eh), a
  5289 		ld		(iy+1Eh), a
  6045 		call	fprecip
  5290 		call	fprecip
  6046 
       
  6047 p03loc_5D9D:
  5291 p03loc_5D9D:
  6048 		call	j_ToFrac
  5292 		call	j_ToFrac
  6049 		jr		c, p03loc_5DB3
  5293 		jr		c, p03loc_5DB3
  6050 		ld		hl, 8484h
  5294 		ld		hl, 8484h
  6051 		call	CKOdd
  5295 		call	CKOdd
  6052 		jr		nz, p03loc_5DC1
  5296 		jr		nz, p03loc_5DC1
  6053 		bit		2, (iy+1Eh)
  5297 		bit		2, (iy+1Eh)
  6054 		jp		z, j_BCALL_4EAF
  5298 		jp		z, j_BCALL_4EAF
  6055 		jr		p03loc_5DD6
  5299 		jr		p03loc_5DD6
  6056 ; ---------------------------------------------------------------------------
       
  6057 
       
  6058 p03loc_5DB3:
  5300 p03loc_5DB3:
  6059 		ld		d, 0Ch
  5301 		ld		d, 0Ch
  6060 		call	Page0Call_39C9
  5302 		call	Page0Call_39C9
  6061 		ld		hl, OP1+1
  5303 		ld		hl, OP1+1
  6062 		call	CKDoInt
  5304 		call	CKDoInt
  6063 		jp		nz, j_BCALL_4EAF
  5305 		jp		nz, j_BCALL_4EAF
  6064 
       
  6065 p03loc_5DC1:
  5306 p03loc_5DC1:
  6066 		ld		hl, OP1+1
  5307 		ld		hl, OP1+1
  6067 		call	CKOdd
  5308 		call	CKOdd
  6068 		jr		nz, p03loc_5DD2
  5309 		jr		nz, p03loc_5DD2
  6069 		bit		2, (iy+1Eh)
  5310 		bit		2, (iy+1Eh)
  6070 		jp		nz, j_BCALL_4EAF
  5311 		jp		nz, j_BCALL_4EAF
  6071 		jr		p03loc_5DD6
  5312 		jr		p03loc_5DD6
  6072 ; ---------------------------------------------------------------------------
       
  6073 
  5313 
  6074 p03loc_5DD2:
  5314 p03loc_5DD2:
  6075 		pop		af
  5315 		pop		af
  6076 		or		80h ; '�'
  5316 		or		80h
  6077 		push	af
  5317 		push	af
  6078 
       
  6079 p03loc_5DD6:
  5318 p03loc_5DD6:
  6080 		call	PopRealO2
  5319 		call	PopRealO2
  6081 		call	PopRealO1
  5320 		call	PopRealO1
  6082 		call	ClrOP1S
  5321 		call	ClrOP1S
  6083 
       
  6084 p03loc_5DDF:
  5322 p03loc_5DDF:
  6085 		call	OP1ToOP6
  5323 		call	OP1ToOP6
  6086 		call	OP2ToOP1
  5324 		call	OP2ToOP1
  6087 		bit		1, (iy+1Eh)
  5325 		bit		1, (iy+1Eh)
  6088 		call	nz, fprecip
  5326 		call	nz, fprecip
  6089 		rst		8
  5327 		rst		8
  6090 		call	OP1ExOP6
  5328 		call	OP1ExOP6
  6091 		ld		a, (OP2+1)
  5329 		ld		a, (OP2+1)
  6092 		cp		82h ; '�'
  5330 		cp		82h
  6093 		jr		nc, p03loc_5E1D
  5331 		jr		nc, p03loc_5E1D
  6094 		ld		hl, OP2
  5332 		ld		hl, OP2
  6095 		bit		7, (hl)
  5333 		bit		7, (hl)
  6096 		jr		nz, p03loc_5E1D
  5334 		jr		nz, p03loc_5E1D
  6097 		inc		hl
  5335 		inc		hl
  6098 		call	CKDoInt
  5336 		call	CKDoInt
  6099 		jr		nz, p03loc_5E1D
  5337 		jr		nz, p03loc_5E1D
  6100 		ld		a, (OP2+1)
  5338 		ld		a, (OP2+1)
  6101 		cp		80h ; '�'
  5339 		cp		80h
  6102 		ld		a, (OP2M)
  5340 		ld		a, (OP2M)
  6103 		call	z, ShRAcc
  5341 		call	z, ShRAcc
  6104 		rst		8
  5342 		rst		8
  6105 		jr		p03loc_5E18
  5343 		jr		p03loc_5E18
  6106 ; ---------------------------------------------------------------------------
       
  6107 
       
  6108 p03loc_5E12:
  5344 p03loc_5E12:
  6109 		daa
  5345 		daa
  6110 		push	af
  5346 		push	af
  6111 		call	FPMult
  5347 		call	FPMult
  6112 		pop		af
  5348 		pop		af
  6113 
       
  6114 p03loc_5E18:
  5349 p03loc_5E18:
  6115 		dec		a
  5350 		dec		a
  6116 		jr		nz, p03loc_5E12
  5351 		jr		nz, p03loc_5E12
  6117 		jr		p03loc_5E38
  5352 		jr		p03loc_5E38
  6118 ; ---------------------------------------------------------------------------
       
  6119 
       
  6120 p03loc_5E1D:
  5353 p03loc_5E1D:
  6121 		ld		c, 1
  5354 		ld		c, 1
  6122 		call	Page0Call_3861
  5355 		call	Page0Call_3861
  6123 		call	CkOP1FP0
  5356 		call	CkOP1FP0
  6124 		jr		nz, p03loc_5E2C
  5357 		jr		nz, p03loc_5E2C
  6125 		call	OP1Set1
  5358 		call	OP1Set1
  6126 		jr		p03loc_5E38
  5359 		jr		p03loc_5E38
  6127 ; ---------------------------------------------------------------------------
       
  6128 
       
  6129 p03loc_5E2C:
  5360 p03loc_5E2C:
  6130 		call	OP6ToOP2
  5361 		call	OP6ToOP2
  6131 		call	page0_CFA
  5362 		call	page0_CFA
  6132 		call	LJNORND
  5363 		call	LJNORND
  6133 		call	Page0Call_3867
  5364 		call	Page0Call_3867
  6134 
       
  6135 p03loc_5E38:
  5365 p03loc_5E38:
  6136 		pop		af
  5366 		pop		af
  6137 		ld		(OP1), a
  5367 		ld		(OP1), a
  6138 		ret
  5368 		ret
  6139 
       
  6140 ; =============== S U B	R O U T	I N E =======================================
       
  6141 
       
  6142 
  5369 
  6143 p03sub_5E3D:
  5370 p03sub_5E3D:
  6144 		call	p03sub_67B2
  5371 		call	p03sub_67B2
  6145 		bit		0, (hl)
  5372 		bit		0, (hl)
  6146 		ret		z
  5373 		ret		z
  6161 		pop		hl
  5388 		pop		hl
  6162 		push	hl
  5389 		push	hl
  6163 		call	SetXXXXOP2
  5390 		call	SetXXXXOP2
  6164 		call	OP2ToOP1
  5391 		call	OP2ToOP1
  6165 		jr		p03loc_5E79
  5392 		jr		p03loc_5E79
  6166 ; ---------------------------------------------------------------------------
       
  6167 
       
  6168 p03loc_5E65:
  5393 p03loc_5E65:
  6169 		push	bc
  5394 		push	bc
  6170 		ld		(OP6), bc
  5395 		ld		(OP6), bc
  6171 		ld		(iMathPtr1), hl
  5396 		ld		(iMathPtr1), hl
  6172 		ld		hl, 1
  5397 		ld		hl, 1
  6173 		ld		(OP6M), hl
  5398 		ld		(OP6M), hl
  6174 		call	j_LSUM
  5399 		call	j_LSUM
  6175 		call	p03sub_6AF7
  5400 		call	p03sub_6AF7
  6176 
       
  6177 p03loc_5E79:
  5401 p03loc_5E79:
  6178 		call	j_LogX
  5402 		call	j_LogX
  6179 		ld		hl, p03loc_6AFE
  5403 		ld		hl, p03loc_6AFE
  6180 		call	page0_EC1
  5404 		call	page0_EC1
  6181 		call	Plus1
  5405 		call	Plus1
  6191 		call	OP1ToOP3
  5415 		call	OP1ToOP3
  6192 		call	CpyTo2FPS2
  5416 		call	CpyTo2FPS2
  6193 		call	cpop1op2
  5417 		call	cpop1op2
  6194 		jr		nc, p03loc_5EA8
  5418 		jr		nc, p03loc_5EA8
  6195 		call	OP3ToOP1
  5419 		call	OP3ToOP1
  6196 
       
  6197 p03loc_5EA5:
  5420 p03loc_5EA5:
  6198 		call	CpyO1ToFPS2
  5421 		call	CpyO1ToFPS2
  6199 
       
  6200 p03loc_5EA8:
  5422 p03loc_5EA8:
  6201 		pop		hl
  5423 		pop		hl
  6202 		ld		(OP6), hl
  5424 		ld		(OP6), hl
  6203 		call	j_LHIGH
  5425 		call	j_LHIGH
  6204 		call	PopRealO2
  5426 		call	PopRealO2
  6211 		call	OP1ToOP3
  5433 		call	OP1ToOP3
  6212 		call	CpyTo2FPS4
  5434 		call	CpyTo2FPS4
  6213 		call	cpop1op2
  5435 		call	cpop1op2
  6214 		jr		c, p03loc_5ED4
  5436 		jr		c, p03loc_5ED4
  6215 		call	OP3ToOP1
  5437 		call	OP3ToOP1
  6216 
       
  6217 p03loc_5ED1:
  5438 p03loc_5ED1:
  6218 		call	CpyO1ToFPS4
  5439 		call	CpyO1ToFPS4
  6219 
       
  6220 p03loc_5ED4:
  5440 p03loc_5ED4:
  6221 		call	OP5ToOP1
  5441 		call	OP5ToOP1
  6222 		call	CpyTo2FPS4
  5442 		call	CpyTo2FPS4
  6223 		rst		30h
  5443 		rst		30h
  6224 		call	p03sub_6B07
  5444 		call	p03sub_6B07
  6229 		call	OP1ToOP3
  5449 		call	OP1ToOP3
  6230 		call	CpyTo2FPS1
  5450 		call	CpyTo2FPS1
  6231 		call	cpop1op2
  5451 		call	cpop1op2
  6232 		ret		c
  5452 		ret		c
  6233 		call	OP3ToOP1
  5453 		call	OP3ToOP1
  6234 
       
  6235 p03loc_5EF9:
  5454 p03loc_5EF9:
  6236 		jp		CpyO1ToFPS1
  5455 		jp		CpyO1ToFPS1
  6237 ; End of function p03sub_5E3D
       
  6238 
       
  6239 
       
  6240 ; =============== S U B	R O U T	I N E =======================================
       
  6241 
       
  6242 
  5456 
  6243 p03sub_5EFC:
  5457 p03sub_5EFC:
  6244 		ld		(curPlotNumber), a
  5458 		ld		(curPlotNumber), a
  6245 		call	p03sub_67B2
  5459 		call	p03sub_67B2
  6246 		bit		0, (hl)
  5460 		bit		0, (hl)
  6269 		push	hl
  5483 		push	hl
  6270 		ld		(OP6), hl
  5484 		ld		(OP6), hl
  6271 		call	j_LLOW
  5485 		call	j_LLOW
  6272 		call	p03sub_6AF7
  5486 		call	p03sub_6AF7
  6273 		call	p03sub_5FC3
  5487 		call	p03sub_5FC3
  6274 
       
  6275 p03loc_5F3B:
  5488 p03loc_5F3B:
  6276 		pop		hl
  5489 		pop		hl
  6277 		push	hl
  5490 		push	hl
  6278 		ld		(OP6), hl
  5491 		ld		(OP6), hl
  6279 		call	j_LHIGH
  5492 		call	j_LHIGH
  6281 		jr		nz, p03loc_5F53
  5494 		jr		nz, p03loc_5F53
  6282 		bit		6, (iy+1Ah)
  5495 		bit		6, (iy+1Ah)
  6283 		jr		nz, p03loc_5F53
  5496 		jr		nz, p03loc_5F53
  6284 		call	p03sub_5FEB
  5497 		call	p03sub_5FEB
  6285 		jr		p03loc_5F56
  5498 		jr		p03loc_5F56
  6286 ; ---------------------------------------------------------------------------
       
  6287 
  5499 
  6288 p03loc_5F53:
  5500 p03loc_5F53:
  6289 		call	p03sub_5F89
  5501 		call	p03sub_5F89
  6290 
       
  6291 p03loc_5F56:
  5502 p03loc_5F56:
  6292 		pop		hl
  5503 		pop		hl
  6293 		push	hl
  5504 		push	hl
  6294 		ld		(OP6), hl
  5505 		ld		(OP6), hl
  6295 		call	j_LLOW
  5506 		call	j_LLOW
  6297 		jr		nz, p03loc_5F6E
  5508 		jr		nz, p03loc_5F6E
  6298 		bit		6, (iy+1Ah)
  5509 		bit		6, (iy+1Ah)
  6299 		jr		nz, p03loc_5F6E
  5510 		jr		nz, p03loc_5F6E
  6300 		call	p03sub_5FC3
  5511 		call	p03sub_5FC3
  6301 		jr		p03loc_5F71
  5512 		jr		p03loc_5F71
  6302 ; ---------------------------------------------------------------------------
       
  6303 
  5513 
  6304 p03loc_5F6E:
  5514 p03loc_5F6E:
  6305 		call	p03sub_5FA4
  5515 		call	p03sub_5FA4
  6306 
       
  6307 p03loc_5F71:
  5516 p03loc_5F71:
  6308 		pop		hl
  5517 		pop		hl
  6309 		pop		af
  5518 		pop		af
  6310 		cp		5
  5519 		cp		5
  6311 		jr		nz, locret_5F88
  5520 		jr		nz, locret_5F88
  6312 		set		2, (iy+1Dh)
  5521 		set		2, (iy+1Dh)
  6313 		call	SetTblGraphDraw
  5522 		call	SetTblGraphDraw
  6314 		ld		hl, curPlotNumber
  5523 		ld		hl, curPlotNumber
  6315 		call	p03sub_640C
  5524 		call	p03sub_640C
  6316 		res		2, (iy+1Dh)
  5525 		res		2, (iy+1Dh)
  6317 
       
  6318 locret_5F88:
  5526 locret_5F88:
  6319 		ret
  5527 		ret
  6320 ; End of function p03sub_5EFC
       
  6321 
       
  6322 
       
  6323 ; =============== S U B	R O U T	I N E =======================================
       
  6324 
       
  6325 
  5528 
  6326 p03sub_5F89:
  5529 p03sub_5F89:
  6327 		; p03sub_640C:p03loc_632Cp
       
  6328 		call	OP1ToOP3
  5530 		call	OP1ToOP3
  6329 		bit		4, (iy+1Ah)
  5531 		bit		4, (iy+1Ah)
  6330 		jr		z, p03loc_5F9C
  5532 		jr		z, p03loc_5F9C
  6331 		call	CpyTo2FPS1
  5533 		call	CpyTo2FPS1
  6332 		call	cpop1op2
  5534 		call	cpop1op2
  6333 		ret		c
  5535 		ret		c
  6334 		call	OP3ToOP1
  5536 		call	OP3ToOP1
  6335 
       
  6336 p03loc_5F9C:
  5537 p03loc_5F9C:
  6337 		call	CpyO1ToFPS1
  5538 		call	CpyO1ToFPS1
  6338 		res		7, (iy+1Ah)
  5539 		res		7, (iy+1Ah)
  6339 		ret
  5540 		ret
  6340 ; End of function p03sub_5F89
       
  6341 
       
  6342 
       
  6343 ; =============== S U B	R O U T	I N E =======================================
       
  6344 
       
  6345 
  5541 
  6346 p03sub_5FA4:
  5542 p03sub_5FA4:
  6347 		; p03sub_640C-DAp
       
  6348 		call	OP1ToOP3
  5543 		call	OP1ToOP3
  6349 		bit		4, (iy+1Ah)
  5544 		bit		4, (iy+1Ah)
  6350 		set		4, (iy+1Ah)
  5545 		set		4, (iy+1Ah)
  6351 		jr		z, p03loc_5FBB
  5546 		jr		z, p03loc_5FBB
  6352 		call	CpyTo2FPST
  5547 		call	CpyTo2FPST
  6353 		call	cpop1op2
  5548 		call	cpop1op2
  6354 		ret		nc
  5549 		ret		nc
  6355 		call	OP3ToOP1
  5550 		call	OP3ToOP1
  6356 
       
  6357 p03loc_5FBB:
  5551 p03loc_5FBB:
  6358 		call	CpyO1ToFPST
  5552 		call	CpyO1ToFPST
  6359 		res		7, (iy+1Ah)
  5553 		res		7, (iy+1Ah)
  6360 		ret
  5554 		ret
  6361 ; End of function p03sub_5FA4
       
  6362 
       
  6363 
       
  6364 ; =============== S U B	R O U T	I N E =======================================
       
  6365 
       
  6366 
  5555 
  6367 p03sub_5FC3:
  5556 p03sub_5FC3:
  6368 		call	OP1ToOP3
  5557 		call	OP1ToOP3
  6369 		bit		1, (iy+1Ah)
  5558 		bit		1, (iy+1Ah)
  6370 		set		1, (iy+1Ah)
  5559 		set		1, (iy+1Ah)
  6371 		jr		z, p03loc_5FDA
  5560 		jr		z, p03loc_5FDA
  6372 		call	CpyTo2FPS2
  5561 		call	CpyTo2FPS2
  6373 		call	cpop1op2
  5562 		call	cpop1op2
  6374 		ret		nc
  5563 		ret		nc
  6375 		call	OP3ToOP1
  5564 		call	OP3ToOP1
  6376 
       
  6377 p03loc_5FDA:
  5565 p03loc_5FDA:
  6378 		call	CpyO1ToFPS2
  5566 		call	CpyO1ToFPS2
  6379 		res		7, (iy+1Ah)
  5567 		res		7, (iy+1Ah)
  6380 		ret
  5568 		ret
  6381 ; End of function p03sub_5FC3
       
  6382 
       
  6383 
       
  6384 ; =============== S U B	R O U T	I N E =======================================
       
  6385 
       
  6386 
  5569 
  6387 p03sub_5FE2:
  5570 p03sub_5FE2:
  6388 		pop		de
  5571 		pop		de
  6389 		pop		hl
  5572 		pop		hl
  6390 		pop		af
  5573 		pop		af
  6391 		push	af
  5574 		push	af
  6392 		push	hl
  5575 		push	hl
  6393 		push	de
  5576 		push	de
  6394 		cp		5
  5577 		cp		5
  6395 		ret
  5578 		ret
  6396 ; End of function p03sub_5FE2
       
  6397 
       
  6398 
       
  6399 ; =============== S U B	R O U T	I N E =======================================
       
  6400 
       
  6401 
  5579 
  6402 p03sub_5FEB:
  5580 p03sub_5FEB:
  6403 		call	OP1ToOP3
  5581 		call	OP1ToOP3
  6404 		bit		1, (iy+1Ah)
  5582 		bit		1, (iy+1Ah)
  6405 		jr		z, p03loc_5FFE
  5583 		jr		z, p03loc_5FFE
  6406 		call	CpyTo2FPS3
  5584 		call	CpyTo2FPS3
  6407 		call	cpop1op2
  5585 		call	cpop1op2
  6408 		ret		c
  5586 		ret		c
  6409 		call	OP3ToOP1
  5587 		call	OP3ToOP1
  6410 
       
  6411 p03loc_5FFE:
  5588 p03loc_5FFE:
  6412 		call	CpyO1ToFPS3
  5589 		call	CpyO1ToFPS3
  6413 		res		7, (iy+1Ah)
  5590 		res		7, (iy+1Ah)
  6414 		ret
  5591 		ret
  6415 ; End of function p03sub_5FEB
  5592 
  6416 
  5593 ZmStats:call	j_COPYRNG
  6417 ; ---------------------------------------------------------------------------
       
  6418 
       
  6419 ZmStats:
       
  6420 		call	j_COPYRNG
       
  6421 		call	Bit_VertSplit
  5594 		call	Bit_VertSplit
  6422 		jr		z, p03loc_6019
  5595 		jr		z, p03loc_6019
  6423 		bit		NEED_RETABLE, (iy+VERTFLAG2)
  5596 		bit		NEED_RETABLE, (iy+VERTFLAG2)
  6424 		call	nz, j_DSPGRTBL
  5597 		call	nz, j_DSPGRTBL
  6425 		res		2, (iy+1Fh)
  5598 		res		2, (iy+1Fh)
  6426 
       
  6427 p03loc_6019:
  5599 p03loc_6019:
  6428 		ld		hl, 2Dh	; '-'
  5600 		ld		hl, 2Dh
  6429 		call	AllocFPS1
  5601 		call	AllocFPS1
  6430 		res		4, (iy+1Ah)
  5602 		res		4, (iy+1Ah)
  6431 		res		1, (iy+1Ah)
  5603 		res		1, (iy+1Ah)
  6432 		res		7, (iy+1Ah)
  5604 		res		7, (iy+1Ah)
  6433 		ld		hl, Xscl
  5605 		ld		hl, Xscl
  6447 		ld		a, 3
  5619 		ld		a, 3
  6448 		call	p03sub_5E3D
  5620 		call	p03sub_5E3D
  6449 		call	p03sub_6B07
  5621 		call	p03sub_6B07
  6450 		jr		z, p03loc_60AB
  5622 		jr		z, p03loc_60AB
  6451 		ld		b, 5
  5623 		ld		b, 5
  6452 
       
  6453 p03loc_6057:
  5624 p03loc_6057:
  6454 		push	bc
  5625 		push	bc
  6455 		call	CpyTo1FPS4
  5626 		call	CpyTo1FPS4
  6456 		rst		18h
  5627 		rst		18h
  6457 		pop		bc
  5628 		pop		bc
  6470 		call	p03sub_612E
  5641 		call	p03sub_612E
  6471 		call	PopRealO1
  5642 		call	PopRealO1
  6472 		call	OP2Set1
  5643 		call	OP2Set1
  6473 		ld		a, 11h
  5644 		ld		a, 11h
  6474 		ld		(OP2M), a
  5645 		ld		(OP2M), a
  6475 		ld		a, 70h ; 'p'
  5646 		ld		a, 70h
  6476 		ld		(OP2+3), a
  5647 		ld		(OP2+3), a
  6477 		call	FPMult
  5648 		call	FPMult
  6478 		call	CpyO1ToFPS3
  5649 		call	CpyO1ToFPS3
  6479 		ld		hl, 257Fh
  5650 		ld		hl, 257Fh
  6480 		call	CheckSplitFlag
  5651 		call	CheckSplitFlag
  6481 		jr		z, p03loc_609F
  5652 		jr		z, p03loc_609F
  6482 		ld		hl, 807Fh
  5653 		ld		hl, 807Fh
  6483 
       
  6484 p03loc_609F:
  5654 p03loc_609F:
  6485 		ld		(OP2+1), hl
  5655 		ld		(OP2+1), hl
  6486 		call	FPMult
  5656 		call	FPMult
  6487 		call	InvOP1S
  5657 		call	InvOP1S
  6488 		call	CpyO1ToFPS2
  5658 		call	CpyO1ToFPS2
  6489 
       
  6490 p03loc_60AB:
  5659 p03loc_60AB:
  6491 		ld		a, 1
  5660 		ld		a, 1
  6492 		call	p03sub_5EFC
  5661 		call	p03sub_5EFC
  6493 		ld		a, 2
  5662 		ld		a, 2
  6494 		call	p03sub_5EFC
  5663 		call	p03sub_5EFC
  6495 		ld		a, 3
  5664 		ld		a, 3
  6496 		call	p03sub_5EFC
  5665 		call	p03sub_5EFC
  6497 
       
  6498 ; =============== S U B	R O U T	I N E =======================================
       
  6499 
       
  6500 
       
  6501 p03sub_60BA:
  5666 p03sub_60BA:
  6502 		bit		4, (iy+1Ah)
  5667 		bit		4, (iy+1Ah)
  6503 		ld		de, 2Dh	; '-'
  5668 		ld		de, 2Dh
  6504 		jp		z, DeallocFPS1
  5669 		jp		z, DeallocFPS1
  6505 		ld		a, 0Ah
  5670 		ld		a, 0Ah
  6506 		cp		a
  5671 		cp		a
  6507 		call	p03sub_60E6
  5672 		call	p03sub_60E6
  6508 		call	CpyTo1FPS2
  5673 		call	CpyTo1FPS2
  6514 		push	af
  5679 		push	af
  6515 		call	z, FPOPCPLX
  5680 		call	z, FPOPCPLX
  6516 		pop		af
  5681 		pop		af
  6517 		call	nz, p03sub_60E6
  5682 		call	nz, p03sub_60E6
  6518 		jp		FPOPREAL
  5683 		jp		FPOPREAL
  6519 ; End of function p03sub_60BA
       
  6520 
       
  6521 
       
  6522 ; =============== S U B	R O U T	I N E =======================================
       
  6523 
       
  6524 
  5684 
  6525 p03sub_60E6:
  5685 p03sub_60E6:
  6526 		push	af
  5686 		push	af
  6527 		call	CpyTo1FPS1
  5687 		call	CpyTo1FPS1
  6528 		call	CpyTo2FPST
  5688 		call	CpyTo2FPST
  6529 		call	FPSub
  5689 		call	FPSub
  6530 		call	ClrOP1S
  5690 		call	ClrOP1S
  6531 		call	OP2Set1
  5691 		call	OP2Set1
  6532 		ld		a, 7Fh ; ''
  5692 		ld		a, 7Fh
  6533 		ld		(OP2+1), a
  5693 		ld		(OP2+1), a
  6534 		pop		af
  5694 		pop		af
  6535 		push	af
  5695 		push	af
  6536 		jr		z, p03loc_6104
  5696 		jr		z, p03loc_6104
  6537 		ld		a, 17h
  5697 		ld		a, 17h
  6538 		ld		(OP2M), a
  5698 		ld		(OP2M), a
  6539 
       
  6540 p03loc_6104:
  5699 p03loc_6104:
  6541 		call	FPMult
  5700 		call	FPMult
  6542 		call	p03sub_6B07
  5701 		call	p03sub_6B07
  6543 		call	nz, OP1Set0
  5702 		call	nz, OP1Set0
  6544 		call	CpyTo2FPST
  5703 		call	CpyTo2FPST
  6554 		call	CkValidNum
  5713 		call	CkValidNum
  6555 		pop		af
  5714 		pop		af
  6556 		inc		a
  5715 		inc		a
  6557 		call	j_StoSysTok
  5716 		call	j_StoSysTok
  6558 		ret
  5717 		ret
  6559 ; End of function p03sub_60E6
       
  6560 
       
  6561 
       
  6562 ; =============== S U B	R O U T	I N E =======================================
       
  6563 
       
  6564 
  5718 
  6565 p03sub_612E:
  5719 p03sub_612E:
  6566 		call	CpyTo2FPST
  5720 		call	CpyTo2FPST
  6567 		call	cpop1op2
  5721 		call	cpop1op2
  6568 		ret		c
  5722 		ret		c
  6569 		jp		CpyO1ToFPST
  5723 		jp		CpyO1ToFPST
  6570 ; End of function p03sub_612E
       
  6571 
       
  6572 
       
  6573 ; =============== S U B	R O U T	I N E =======================================
       
  6574 
       
  6575 
  5724 
  6576 p03sub_6138:
  5725 p03sub_6138:
  6577 		call	p03sub_67B2
  5726 		call	p03sub_67B2
  6578 		bit		0, (hl)
  5727 		bit		0, (hl)
  6579 		ret		z
  5728 		ret		z
  6583 		push	hl
  5732 		push	hl
  6584 		call	p03sub_7053
  5733 		call	p03sub_7053
  6585 		pop		hl
  5734 		pop		hl
  6586 		pop		af
  5735 		pop		af
  6587 		call	p03sub_65F5
  5736 		call	p03sub_65F5
  6588 ; End of function p03sub_6138
       
  6589 
       
  6590 
       
  6591 ; =============== S U B	R O U T	I N E =======================================
       
  6592 
       
  6593 
       
  6594 p03sub_614B:
  5737 p03sub_614B:
  6595 		call	OP1Set0
  5738 		call	OP1Set0
  6596 		call	p03sub_6B07
  5739 		call	p03sub_6B07
  6597 		call	nz, PushRealO1
  5740 		call	nz, PushRealO1
  6598 		ld		hl, Xmax
  5741 		ld		hl, Xmax
  6612 		call	ClrOP1S
  5755 		call	ClrOP1S
  6613 		rst		18h
  5756 		rst		18h
  6614 		call	j_Ceiling
  5757 		call	j_Ceiling
  6615 		call	CkOP1FP0
  5758 		call	CkOP1FP0
  6616 		jp		z, ErrStat
  5759 		jp		z, ErrStat
  6617 		ld		a, 30h ; '0'
  5760 		ld		a, 30h
  6618 		call	SetXXOP2
  5761 		call	SetXXOP2
  6619 		call	cpop1op2
  5762 		call	cpop1op2
  6620 		jp		nc, ErrStat
  5763 		jp		nc, ErrStat
  6621 		call	PopRealO2
  5764 		call	PopRealO2
  6622 		call	cpop1op2
  5765 		call	cpop1op2
  6632 		call	OP4Set0
  5775 		call	OP4Set0
  6633 		call	p03sub_6B07
  5776 		call	p03sub_6B07
  6634 		jr		nz, p03loc_61BA
  5777 		jr		nz, p03loc_61BA
  6635 		bit		3, (iy+13h)
  5778 		bit		3, (iy+13h)
  6636 		call	z, CLine
  5779 		call	z, CLine
  6637 
       
  6638 p03loc_61BA:
  5780 p03loc_61BA:
  6639 		pop		bc
  5781 		pop		bc
  6640 		ld		c, 1
  5782 		ld		c, 1
  6641 
       
  6642 p03loc_61BD:
  5783 p03loc_61BD:
  6643 		ld		hl, (XOutDat)
  5784 		ld		hl, (XOutDat)
  6644 		call	ldHLind
  5785 		call	ldHLind
  6645 
       
  6646 p03loc_61C3:
  5786 p03loc_61C3:
  6647 		push	bc
  5787 		push	bc
  6648 		push	hl
  5788 		push	hl
  6649 		push	hl
  5789 		push	hl
  6650 		call	p03sub_62BC
  5790 		call	p03sub_62BC
  6651 		call	CpyO1ToFPS1
  5791 		call	CpyO1ToFPS1
  6652 
       
  6653 p03loc_61CC:
  5792 p03loc_61CC:
  6654 		call	FPSMINUS9
  5793 		call	FPSMINUS9
  6655 		ex		de, hl
  5794 		ex		de, hl
  6656 		call	OPSet0DE
  5795 		call	OPSet0DE
  6657 		pop		hl
  5796 		pop		hl
  6658 
       
  6659 p03loc_61D4:
  5797 p03loc_61D4:
  6660 		call	p03sub_6B07
  5798 		call	p03sub_6B07
  6661 		jr		nz, p03loc_61DE
  5799 		jr		nz, p03loc_61DE
  6662 		call	IsOnInterruptSet
  5800 		call	IsOnInterruptSet
  6663 		jr		nz, p03loc_6224
  5801 		jr		nz, p03loc_6224
  6664 
       
  6665 p03loc_61DE:
  5802 p03loc_61DE:
  6666 		push	hl
  5803 		push	hl
  6667 		ld		de, (XOutDat)
  5804 		ld		de, (XOutDat)
  6668 		call	j_GetLToOP1
  5805 		call	j_GetLToOP1
  6669 		call	CpyTo2FPS2
  5806 		call	CpyTo2FPS2
  6680 		pop		hl
  5817 		pop		hl
  6681 		push	hl
  5818 		push	hl
  6682 		call	j_GetLToOP1
  5819 		call	j_GetLToOP1
  6683 		call	CkOP1Pos
  5820 		call	CkOP1Pos
  6684 		jp		nz, ErrStat
  5821 		jp		nz, ErrStat
  6685 
       
  6686 p03loc_620C:
  5822 p03loc_620C:
  6687 		call	CpyTo2FPST
  5823 		call	CpyTo2FPST
  6688 		rst		30h
  5824 		rst		30h
  6689 		call	CpyO1ToFPST
  5825 		call	CpyO1ToFPST
  6690 
       
  6691 p03loc_6213:
  5826 p03loc_6213:
  6692 		pop		hl
  5827 		pop		hl
  6693 		dec		hl
  5828 		dec		hl
  6694 		ld		a, h
  5829 		ld		a, h
  6695 		or		l
  5830 		or		l
  6696 		jr		nz, p03loc_61D4
  5831 		jr		nz, p03loc_61D4
  6697 		call	p03sub_6B07
  5832 		call	p03sub_6B07
  6698 		jr		nz, p03loc_626B
  5833 		jr		nz, p03loc_626B
  6699 		bit		3, (iy+13h)
  5834 		bit		3, (iy+13h)
  6700 		jr		z, p03loc_6227
  5835 		jr		z, p03loc_6227
  6701 
       
  6702 p03loc_6224:
  5836 p03loc_6224:
  6703 		pop		hl
  5837 		pop		hl
  6704 		pop		bc
  5838 		pop		bc
  6705 		ret
  5839 		ret
  6706 ; ---------------------------------------------------------------------------
       
  6707 
  5840 
  6708 p03loc_6227:
  5841 p03loc_6227:
  6709 		call	CpyTo4FPST
  5842 		call	CpyTo4FPST
  6710 		call	CpyTo3FPS2
  5843 		call	CpyTo3FPS2
  6711 		call	OP2Set0
  5844 		call	OP2Set0
  6720 		call	CpyTo3FPS1
  5853 		call	CpyTo3FPS1
  6721 		call	CpyTo2FPST
  5854 		call	CpyTo2FPST
  6722 		call	OP3ToOP1
  5855 		call	OP3ToOP1
  6723 		call	CpyO1ToFPS2
  5856 		call	CpyO1ToFPS2
  6724 		call	CLine
  5857 		call	CLine
  6725 
       
  6726 p03loc_6257:
  5858 p03loc_6257:
  6727 		pop		hl
  5859 		pop		hl
  6728 		pop		bc
  5860 		pop		bc
  6729 		inc		c
  5861 		inc		c
  6730 		dec		b
  5862 		dec		b
  6731 		jp		nz, p03loc_61C3
  5863 		jp		nz, p03loc_61C3
  6732 		ld		de, 24h	; '$'
  5864 		ld		de, 24h
  6733 		call	DeallocFPS1
  5865 		call	DeallocFPS1
  6734 		call	p03sub_6B07
  5866 		call	p03sub_6B07
  6735 		ret		z
  5867 		ret		z
  6736 		jp		PopRealO1
  5868 		jp		PopRealO1
  6737 ; ---------------------------------------------------------------------------
       
  6738 
  5869 
  6739 p03loc_626B:
  5870 p03loc_626B:
  6740 		call	CpyTo1FPST
  5871 		call	CpyTo1FPST
  6741 		call	CpyTo2FPS4
  5872 		call	CpyTo2FPS4
  6742 		call	cpop1op2
  5873 		call	cpop1op2
  6743 		call	nc, CpyO1ToFPS4
  5874 		call	nc, CpyO1ToFPS4
  6744 		call	CpyTo1FPS1
  5875 		call	CpyTo1FPS1
  6745 		call	CpyO1ToFPS2
  5876 		call	CpyO1ToFPS2
  6746 		jr		p03loc_6257
  5877 		jr		p03loc_6257
  6747 ; End of function p03sub_614B
  5878 
  6748 
       
  6749 
       
  6750 ; =============== S U B	R O U T	I N E =======================================
       
  6751 p03sub_627F:
  5879 p03sub_627F:
  6752 		call	CpyTo1FPS3
  5880 		call	CpyTo1FPS3
  6753 		call	j_ConvOP1
  5881 		call	j_ConvOP1
  6754 		ld		hl, 8E65h
  5882 		ld		hl, 8E65h
  6755 		cp		(hl)
  5883 		cp		(hl)
  6760 		inc		(hl)
  5888 		inc		(hl)
  6761 		call	CpyTo1FPS1
  5889 		call	CpyTo1FPS1
  6762 		call	CpyO1ToFPS2
  5890 		call	CpyO1ToFPS2
  6763 		pop		bc
  5891 		pop		bc
  6764 		jp		p03loc_61BD
  5892 		jp		p03loc_61BD
  6765 ; End of function p03sub_627F
       
  6766 
       
  6767 
       
  6768 ; =============== S U B	R O U T	I N E =======================================
       
  6769 
       
  6770 
  5893 
  6771 p03sub_6298:
  5894 p03sub_6298:
  6772 		ld		a, (unk_8E65)
  5895 		ld		a, (unk_8E65)
  6773 		dec		a
  5896 		dec		a
  6774 		ret		z
  5897 		ret		z
  6785 		ld		hl, (XOutDat)
  5908 		ld		hl, (XOutDat)
  6786 		call	ldHLind
  5909 		call	ldHLind
  6787 		push	hl
  5910 		push	hl
  6788 		push	hl
  5911 		push	hl
  6789 		jp		p03loc_61CC
  5912 		jp		p03loc_61CC
  6790 ; End of function p03sub_6298
       
  6791 
       
  6792 
       
  6793 ; =============== S U B	R O U T	I N E =======================================
       
  6794 
       
  6795 
  5913 
  6796 p03sub_62BC:
  5914 p03sub_62BC:
  6797 		ld		a, c
  5915 		ld		a, c
  6798 		call	SetXXOP1
  5916 		call	SetXXOP1
  6799 		ld		hl, Xscl
  5917 		ld		hl, Xscl
  6801 		ld		hl, OP2
  5919 		ld		hl, OP2
  6802 		res		7, (hl)
  5920 		res		7, (hl)
  6803 		call	FPMult
  5921 		call	FPMult
  6804 		ld		hl, Xmin
  5922 		ld		hl, Xmin
  6805 		jp		FPAdd_FromHL
  5923 		jp		FPAdd_FromHL
  6806 ; End of function p03sub_62BC
       
  6807 
       
  6808 ; ---------------------------------------------------------------------------
       
  6809 ; START	OF FUNCTION CHUNK FOR p03sub_640C
       
  6810 
  5924 
  6811 p03loc_62D4:
  5925 p03loc_62D4:
  6812 		set		4, (iy+3)
  5926 		set		4, (iy+3)
  6813 		jr		p03loc_62DE
  5927 		jr		p03loc_62DE
  6814 ; ---------------------------------------------------------------------------
       
  6815 
  5928 
  6816 p03loc_62DA:
  5929 p03loc_62DA:
  6817 		res		4, (iy+3)
  5930 		res		4, (iy+3)
  6818 
       
  6819 p03loc_62DE:
  5931 p03loc_62DE:
  6820 		res		3, (iy+1Dh)
  5932 		res		3, (iy+1Dh)
  6821 
       
  6822 p03loc_62E2:
  5933 p03loc_62E2:
  6823 		ld		b, d
  5934 		ld		b, d
  6824 		ld		hl, (XOutDat)
  5935 		ld		hl, (XOutDat)
  6825 		call	ldHLind
  5936 		call	ldHLind
  6826 		push	hl
  5937 		push	hl
  6831 		jr		nz, p03loc_6306
  5942 		jr		nz, p03loc_6306
  6832 		or		a
  5943 		or		a
  6833 		sbc		hl, de
  5944 		sbc		hl, de
  6834 		jr		nz, p03loc_62FE
  5945 		jr		nz, p03loc_62FE
  6835 		res		4, (iy+3)
  5946 		res		4, (iy+3)
  6836 
       
  6837 p03loc_62FE:
  5947 p03loc_62FE:
  6838 		rst		18h
  5948 		rst		18h
  6839 		rst		18h
  5949 		rst		18h
  6840 
       
  6841 p03loc_6300:
  5950 p03loc_6300:
  6842 		call	IsOnInterruptSet
  5951 		call	IsOnInterruptSet
  6843 		jp		nz, p03loc_639A
  5952 		jp		nz, p03loc_639A
  6844 
       
  6845 p03loc_6306:
  5953 p03loc_6306:
  6846 		pop		af
  5954 		pop		af
  6847 		pop		hl
  5955 		pop		hl
  6848 		push	hl
  5956 		push	hl
  6849 		push	af
  5957 		push	af
  6858 		jr		z, p03loc_632C
  5966 		jr		z, p03loc_632C
  6859 		call	p03sub_5FEB
  5967 		call	p03sub_5FEB
  6860 		call	OP3ToOP1
  5968 		call	OP3ToOP1
  6861 		call	p03sub_5FC3
  5969 		call	p03sub_5FC3
  6862 		jr		p03loc_6335
  5970 		jr		p03loc_6335
  6863 ; ---------------------------------------------------------------------------
       
  6864 
  5971 
  6865 p03loc_632C:
  5972 p03loc_632C:
  6866 		call	p03sub_5F89
  5973 		call	p03sub_5F89
  6867 		call	OP3ToOP1
  5974 		call	OP3ToOP1
  6868 		call	p03sub_5FA4
  5975 		call	p03sub_5FA4
  6869 
       
  6870 p03loc_6335:
  5976 p03loc_6335:
  6871 		jp		p03loc_638D
  5977 		jp		p03loc_638D
  6872 ; ---------------------------------------------------------------------------
       
  6873 
  5978 
  6874 p03loc_6338:
  5979 p03loc_6338:
  6875 		call	PUSHMCPLXO1
  5980 		call	PUSHMCPLXO1
  6876 		jr		p03loc_634E
  5981 		jr		p03loc_634E
  6877 ; ---------------------------------------------------------------------------
       
  6878 
  5982 
  6879 p03loc_633D:
  5983 p03loc_633D:
  6880 		ld		de, (XOutDat)
  5984 		ld		de, (XOutDat)
  6881 		call	j_GetLToOP1
  5985 		call	j_GetLToOP1
  6882 		rst		18h
  5986 		rst		18h
  6883 		pop		hl
  5987 		pop		hl
  6884 		ld		de, (YOutDat)
  5988 		ld		de, (YOutDat)
  6885 		call	j_GetLToOP1
  5989 		call	j_GetLToOP1
  6886 		rst		18h
  5990 		rst		18h
  6887 
       
  6888 p03loc_634E:
  5991 p03loc_634E:
  6889 		call	POINT_STAT_HLP
  5992 		call	POINT_STAT_HLP
  6890 		jr		z, p03loc_635B
  5993 		jr		z, p03loc_635B
  6891 		bit		4, (iy+3)
  5994 		bit		4, (iy+3)
  6892 		jr		nz, p03loc_6373
  5995 		jr		nz, p03loc_6373
  6893 		jr		p03loc_638D
  5996 		jr		p03loc_638D
  6894 ; ---------------------------------------------------------------------------
       
  6895 
  5997 
  6896 p03loc_635B:
  5998 p03loc_635B:
  6897 		pop		af
  5999 		pop		af
  6898 		push	af
  6000 		push	af
  6899 		call	j_STATMARK
  6001 		call	j_STATMARK
  6900 		jr		c, p03loc_636D
  6002 		jr		c, p03loc_636D
  6901 		bit		4, (iy+3)
  6003 		bit		4, (iy+3)
  6902 		jr		nz, p03loc_6373
  6004 		jr		nz, p03loc_6373
  6903 		call	j_DarkPnt
  6005 		call	j_DarkPnt
  6904 		jr		p03loc_638D
  6006 		jr		p03loc_638D
  6905 ; ---------------------------------------------------------------------------
       
  6906 
  6007 
  6907 p03loc_636D:
  6008 p03loc_636D:
  6908 		bit		4, (iy+3)
  6009 		bit		4, (iy+3)
  6909 		jr		z, p03loc_638D
  6010 		jr		z, p03loc_638D
  6910 
       
  6911 p03loc_6373:
  6011 p03loc_6373:
  6912 		res		plotLoc, (iy+plotFlags)
  6012 		res		plotLoc, (iy+plotFlags)
  6913 		call	CpyTo3FPS1
  6013 		call	CpyTo3FPS1
  6914 		call	CpyTo4FPST
  6014 		call	CpyTo4FPST
  6915 		call	CpyO1ToFPS1
  6015 		call	CpyO1ToFPS1
  6920 		push	af
  6020 		push	af
  6921 		dec		hl
  6021 		dec		hl
  6922 		ld		a, h
  6022 		ld		a, h
  6923 		or		l
  6023 		or		l
  6924 		call	nz, CLine
  6024 		call	nz, CLine
  6925 
       
  6926 p03loc_638D:
  6025 p03loc_638D:
  6927 		; p03sub_640C-B3j	...
       
  6928 		pop		af
  6026 		pop		af
  6929 		pop		de
  6027 		pop		de
  6930 		pop		hl
  6028 		pop		hl
  6931 		push	hl
  6029 		push	hl
  6932 		inc		de
  6030 		inc		de
  6933 		push	de
  6031 		push	de
  6934 		push	af
  6032 		push	af
  6935 		or		a
  6033 		or		a
  6936 		sbc		hl, de
  6034 		sbc		hl, de
  6937 		jp		nc, p03loc_6300
  6035 		jp		nc, p03loc_6300
  6938 
       
  6939 p03loc_639A:
  6036 p03loc_639A:
  6940 		pop		hl
  6037 		pop		hl
  6941 		pop		hl
  6038 		pop		hl
  6942 		pop		hl
  6039 		pop		hl
  6943 		bit		2, (iy+1Dh)
  6040 		bit		2, (iy+1Dh)
  6944 		ret		nz
  6041 		ret		nz
  6945 		jp		FPOPCPLX
  6042 		jp		FPOPCPLX
  6946 ; END OF FUNCTION CHUNK	FOR p03sub_640C
       
  6947 
       
  6948 ; =============== S U B	R O U T	I N E =======================================
       
  6949 
       
  6950 
  6043 
  6951 nullsub_1:
  6044 nullsub_1:
  6952 		ret
  6045 		ret
  6953 ; End of function nullsub_1
  6046 
  6954 
  6047 #ifndef DEVIATE_FROM_ORIGINAL_FILE
  6955 ; ---------------------------------------------------------------------------
  6048 ;Not referenced anywhere.
  6956 		call	IsOnInterruptSet
  6049 		call	IsOnInterruptSet
  6957 		ret		z
  6050 		ret		z
  6958 		pop		hl
  6051 		pop		hl
  6959 		call	j_TraceOff
  6052 		call	j_TraceOff
  6960 		ret
  6053 		ret
  6961 
  6054 #endif
  6962 ; =============== S U B	R O U T	I N E =======================================
       
  6963 
       
  6964 
  6055 
  6965 POINT_STAT_HLP:
  6056 POINT_STAT_HLP:
  6966 		; p03sub_654A+Dp
       
  6967 		ld		de, 0FFF7h
  6057 		ld		de, 0FFF7h
  6968 		call	j_XYRNDBOTH
  6058 		call	j_XYRNDBOTH
  6969 		jr		nz, p03loc_63BD
  6059 		jr		nz, p03loc_63BD
  6970 		call	p03sub_707D
  6060 		call	p03sub_707D
  6971 		or		a
  6061 		or		a
  6972 		jr		z, p03loc_63C3
  6062 		jr		z, p03loc_63C3
  6973 
       
  6974 p03loc_63BD:
  6063 p03loc_63BD:
  6975 		call	POPMCPLXO1
  6064 		call	POPMCPLXO1
  6976 		or		1
  6065 		or		1
  6977 		ret
  6066 		ret
  6978 ; ---------------------------------------------------------------------------
       
  6979 
  6067 
  6980 p03loc_63C3:
  6068 p03loc_63C3:
  6981 		call	CpyTo1FPS1
  6069 		call	CpyTo1FPS1
  6982 		ld		de, OP1
  6070 		ld		de, OP1
  6983 		call	j_XftoI
  6071 		call	j_XftoI
  6987 		call	j_YftoI
  6075 		call	j_YftoI
  6988 		ld		(curGY), a
  6076 		ld		(curGY), a
  6989 		call	POPMCPLXO1
  6077 		call	POPMCPLXO1
  6990 		xor		a
  6078 		xor		a
  6991 		ret
  6079 		ret
  6992 ; End of function POINT_STAT_HLP
       
  6993 
       
  6994 
       
  6995 ; =============== S U B	R O U T	I N E =======================================
       
  6996 
       
  6997 
  6080 
  6998 p03sub_63E0:
  6081 p03sub_63E0:
  6999 		set		3, (iy+16h)
  6082 		set		3, (iy+16h)
  7000 		res		4, (iy+16h)
  6083 		res		4, (iy+16h)
  7001 		call	p03sub_6AF7
  6084 		call	p03sub_6AF7
  7002 		ld		hl, (fOutDat)
  6085 		ld		hl, (fOutDat)
  7003 		ld		(iMathPtr5), hl
  6086 		ld		(iMathPtr5), hl
  7004 		call	j_ORDSTAT
  6087 		call	j_ORDSTAT
  7005 		res		3, (iy+16h)
  6088 		res		3, (iy+16h)
  7006 		ret
  6089 		ret
  7007 ; End of function p03sub_63E0
       
  7008 
       
  7009 ; ---------------------------------------------------------------------------
       
  7010 ; START	OF FUNCTION CHUNK FOR p03sub_640C
       
  7011 
  6090 
  7012 p03loc_63F9:
  6091 p03loc_63F9:
  7013 		or		a
  6092 		or		a
  7014 		jp		z, p03loc_62DA
  6093 		jp		z, p03loc_62DA
  7015 		jp		p03loc_62D4
  6094 		jp		p03loc_62D4
  7016 ; END OF FUNCTION CHUNK	FOR p03sub_640C
       
  7017 ; ---------------------------------------------------------------------------
       
  7018 
  6095 
  7019 DRAWSPLOT:
  6096 DRAWSPLOT:
  7020 		res		7, (iy+1Ah)
  6097 		res		7, (iy+1Ah)
  7021 		res		2, (iy+1Dh)
  6098 		res		2, (iy+1Dh)
  7022 		ld		hl, curPlotNumber
  6099 		ld		hl, curPlotNumber
  7023 		inc		(hl)
  6100 		inc		(hl)
  7024 
       
  7025 ; =============== S U B	R O U T	I N E =======================================
       
  7026 
       
  7027 
       
  7028 p03sub_640C:
  6101 p03sub_640C:
  7029 
       
  7030 
       
  7031 
       
  7032 
       
  7033 		ld		a, (hl)
  6102 		ld		a, (hl)
  7034 		push	af
  6103 		push	af
  7035 		call	p03sub_69E7
  6104 		call	p03sub_69E7
  7036 		rst		10h
  6105 		rst		10h
  7037 		call	nc, DelVar
  6106 		call	nc, DelVar
  7065 		ld		(YOutDat), de
  6134 		ld		(YOutDat), de
  7066 		pop		hl
  6135 		pop		hl
  7067 		push	hl
  6136 		push	hl
  7068 		inc		hl
  6137 		inc		hl
  7069 		push	hl
  6138 		push	hl
  7070 
       
  7071 p03loc_645A:
  6139 p03loc_645A:
  7072 		pop		bc
  6140 		pop		bc
  7073 		dec		bc
  6141 		dec		bc
  7074 		ld		a, b
  6142 		ld		a, b
  7075 		or		c
  6143 		or		c
  7077 		push	bc
  6145 		push	bc
  7078 		pop		hl
  6146 		pop		hl
  7079 		push	hl
  6147 		push	hl
  7080 		call	PUT_INDEX_LST
  6148 		call	PUT_INDEX_LST
  7081 		jr		p03loc_645A
  6149 		jr		p03loc_645A
  7082 ; ---------------------------------------------------------------------------
       
  7083 
       
  7084 p03loc_6468:
  6150 p03loc_6468:
  7085 		pop		hl
  6151 		pop		hl
  7086 		ld		de, 1
  6152 		ld		de, 1
  7087 		call	HEAP_SORT
  6153 		call	HEAP_SORT
  7088 		ld		hl, (iMathPtr4)
  6154 		ld		hl, (iMathPtr4)
  7089 		ld		(unk_84E7), hl
  6155 		ld		(unk_84E7), hl
  7090 		set		3, (iy+1Dh)
  6156 		set		3, (iy+1Dh)
  7091 		res		4, (iy+3)
  6157 		res		4, (iy+3)
  7092 		pop		de
  6158 		pop		de
  7093 		jp		p03loc_62E2
  6159 		jp		p03loc_62E2
  7094 ; ---------------------------------------------------------------------------
       
  7095 
  6160 
  7096 p03loc_6481:
  6161 p03loc_6481:
  7097 		res		cmp_mod_box, (iy+sGrFlags)
  6162 		res		cmp_mod_box, (iy+sGrFlags)
  7098 
       
  7099 p03loc_6485:
  6163 p03loc_6485:
  7100 		push	de
  6164 		push	de
  7101 		call	p03sub_63E0
  6165 		call	p03sub_63E0
  7102 		call	p03sub_6583
  6166 		call	p03sub_6583
  7103 		rst		18h
  6167 		rst		18h
  7149 		call	CpyO1ToFPST
  6213 		call	CpyO1ToFPST
  7150 		call	CPYTO1ES6
  6214 		call	CPYTO1ES6
  7151 		call	OP1ToOP6
  6215 		call	OP1ToOP6
  7152 		pop		af
  6216 		pop		af
  7153 		ld		(OP6+6), a
  6217 		ld		(OP6+6), a
  7154 
       
  7155 p03loc_651C:
  6218 p03loc_651C:
  7156 		ld		bc, (OP6)
  6219 		ld		bc, (OP6)
  7157 		dec		bc
  6220 		dec		bc
  7158 		ld		(OP6), bc
  6221 		ld		(OP6), bc
  7159 		ld		a, c
  6222 		ld		a, c
  7160 		or		b
  6223 		or		b
  7161 		jr		z, p03loc_652E
  6224 		jr		z, p03loc_652E
  7162 		call	p03sub_654A
  6225 		call	p03sub_654A
  7163 		jr		p03loc_651C
  6226 		jr		p03loc_651C
  7164 ; ---------------------------------------------------------------------------
       
  7165 
       
  7166 p03loc_652E:
  6227 p03loc_652E:
  7167 		; p03sub_640C+136j
       
  7168 		ld		bc, (OP6M)
  6228 		ld		bc, (OP6M)
  7169 		inc		bc
  6229 		inc		bc
  7170 		ld		(OP6M), bc
  6230 		ld		(OP6M), bc
  7171 		ld		hl, (OP6+4)
  6231 		ld		hl, (OP6+4)
  7172 		or		a
  6232 		or		a
  7173 		sbc		hl, bc
  6233 		sbc		hl, bc
  7174 		jr		c, p03loc_6544
  6234 		jr		c, p03loc_6544
  7175 		call	p03sub_654A
  6235 		call	p03sub_654A
  7176 		jr		p03loc_652E
  6236 		jr		p03loc_652E
  7177 ; ---------------------------------------------------------------------------
       
  7178 
       
  7179 p03loc_6544:
  6237 p03loc_6544:
  7180 		ld		de, 48h	; 'H'
  6238 		ld		de, 48h
  7181 		jp		DeallocFPS1
  6239 		jp		DeallocFPS1
  7182 ; End of function p03sub_640C
       
  7183 
       
  7184 
       
  7185 ; =============== S U B	R O U T	I N E =======================================
       
  7186 
       
  7187 
  6240 
  7188 p03sub_654A:
  6241 p03sub_654A:
  7189 		; p03sub_640C+133p
       
  7190 		ld		(OP6), bc
  6242 		ld		(OP6), bc
  7191 		call	GET_X_INDIRECT
  6243 		call	GET_X_INDIRECT
  7192 		call	CpyTo2FPST
  6244 		call	CpyTo2FPST
  7193 		call	PUSHMCPLXO1
  6245 		call	PUSHMCPLXO1
  7194 		call	POINT_STAT_HLP
  6246 		call	POINT_STAT_HLP
  7196 		ld		a, (OP6+6)
  6248 		ld		a, (OP6+6)
  7197 		call	j_STATMARK
  6249 		call	j_STATMARK
  7198 		ret		c
  6250 		ret		c
  7199 		call	j_DarkPnt
  6251 		call	j_DarkPnt
  7200 		ret
  6252 		ret
  7201 ; End of function p03sub_654A
       
  7202 
       
  7203 
       
  7204 ; =============== S U B	R O U T	I N E =======================================
       
  7205 
       
  7206 
  6253 
  7207 p03sub_6566:
  6254 p03sub_6566:
  7208 		call	OP1ToOP3
  6255 		call	OP1ToOP3
  7209 		call	CpyTo2FPS1
  6256 		call	CpyTo2FPS1
  7210 		call	CpyTo4FPST
  6257 		call	CpyTo4FPST
  7211 		jr		p03loc_6577
  6258 		jr		p03loc_6577
  7212 ; End of function p03sub_6566
       
  7213 
       
  7214 
       
  7215 ; =============== S U B	R O U T	I N E =======================================
       
  7216 
       
  7217 
  6259 
  7218 p03sub_6571:
  6260 p03sub_6571:
  7219 		call	CPYTO3ES2
  6261 		call	CPYTO3ES2
  7220 		call	CPYTO4EST
  6262 		call	CPYTO4EST
  7221 
       
  7222 p03loc_6577:
  6263 p03loc_6577:
  7223 		call	CLine
  6264 		call	CLine
  7224 		ret
  6265 		ret
  7225 ; End of function p03sub_6571
       
  7226 
       
  7227 
       
  7228 ; =============== S U B	R O U T	I N E =======================================
       
  7229 
       
  7230 
  6266 
  7231 p03sub_657B:
  6267 p03sub_657B:
  7232 		call	CPYTO3ES1
  6268 		call	CPYTO3ES1
  7233 		call	CpyTo4FPST
  6269 		call	CpyTo4FPST
  7234 		jr		p03loc_6577
  6270 		jr		p03loc_6577
  7235 ; End of function p03sub_657B
       
  7236 
       
  7237 
       
  7238 ; =============== S U B	R O U T	I N E =======================================
       
  7239 
       
  7240 
  6271 
  7241 p03sub_6583:
  6272 p03sub_6583:
  7242 		; p03sub_640C+100p ...
       
  7243 		ld		de, p03loc_65C8
  6273 		ld		de, p03loc_65C8
  7244 ; End of function p03sub_6583
       
  7245 
       
  7246 
       
  7247 ; =============== S U B	R O U T	I N E =======================================
       
  7248 
       
  7249 
       
  7250 p03sub_6586:
  6274 p03sub_6586:
  7251 		ld		a, (unk_8E64)
  6275 		ld		a, (unk_8E64)
  7252 		ld		c, a
  6276 		ld		c, a
  7253 		ld		hl, curPlotNumber
  6277 		ld		hl, curPlotNumber
  7254 		and		0Fh
  6278 		and		0Fh
  7259 		call	ShRAcc
  6283 		call	ShRAcc
  7260 		cp		(hl)
  6284 		cp		(hl)
  7261 		ld		a, 2
  6285 		ld		a, 2
  7262 		jr		z, p03loc_659F
  6286 		jr		z, p03loc_659F
  7263 		ld		a, 3
  6287 		ld		a, 3
  7264 
       
  7265 p03loc_659F:
  6288 p03loc_659F:
  7266 		dec		a
  6289 		dec		a
  7267 		call	CheckSplitFlag
  6290 		call	CheckSplitFlag
  7268 		jr		z, p03loc_65A7
  6291 		jr		z, p03loc_65A7
  7269 		add		a, 3
  6292 		add		a, 3
  7270 
       
  7271 p03loc_65A7:
  6293 p03loc_65A7:
  7272 		call	Bit_VertSplit
  6294 		call	Bit_VertSplit
  7273 		jr		z, p03loc_65AE
  6295 		jr		z, p03loc_65AE
  7274 		add		a, 6
  6296 		add		a, 6
  7275 
       
  7276 p03loc_65AE:
  6297 p03loc_65AE:
  7277 		ld		l, a
  6298 		ld		l, a
  7278 		ld		h, 0
  6299 		ld		h, 0
  7279 		add		hl, de
  6300 		add		hl, de
  7280 		ld		l, (hl)
  6301 		ld		l, (hl)
  7284 		rst		20h
  6305 		rst		20h
  7285 		call	FPMult
  6306 		call	FPMult
  7286 		ld		hl, Ymax
  6307 		ld		hl, Ymax
  7287 		call	Mov9ToOP2
  6308 		call	Mov9ToOP2
  7288 		jp		InvSub
  6309 		jp		InvSub
  7289 ; End of function p03sub_6586
       
  7290 
  6310 
  7291 p03loc_65C8:
  6311 p03loc_65C8:
  7292 		.db		8
  6312 		.db		8
  7293 		.db		17h
  6313 		.db		17h
  7294 		.db		27h	; '
  6314 		.db		27h
  7295 		.db		5
  6315 		.db		5  
  7296 		.db		0Fh
  6316 		.db		0Fh
  7297 		.db		19h
  6317 		.db		19h
  7298 		.db		6
  6318 		.db		6  
  7299 		.db		11h
  6319 		.db		11h
  7300 		.db		1Fh
  6320 		.db		1Fh
  7301 p03loc_65D1:
  6321 p03loc_65D1:       
  7302 		.db		2
  6322 		.db		2  
  7303 		.db		11h
  6323 		.db		11h
  7304 		.db		21h	; !
  6324 		.db		21h
  7305 		.db		2
  6325 		.db		2  
  7306 		.db		0Ch
  6326 		.db		0Ch
  7307 		.db		16h
  6327 		.db		16h
  7308 		.db		2
  6328 		.db		2  
  7309 		.db		0Dh
  6329 		.db		0Dh
  7310 		.db		1Bh
  6330 		.db		1Bh
  7311 p03loc_65DA:
  6331 p03loc_65DA:       
  7312 		.db		0Eh
  6332 		.db		0Eh
  7313 		.db		1Dh
  6333 		.db		1Dh
  7314 		.db		2Dh	; -
  6334 		.db		2Dh
  7315 		.db		8
  6335 		.db		8  
  7316 		.db		12h
  6336 		.db		12h
  7317 		.db		1Ch
  6337 		.db		1Ch
  7318 		.db		0Ah
  6338 		.db		0Ah
  7319 		.db		15h
  6339 		.db		15h
  7320 		.db		23h	; #
  6340 		.db		23h
  7321 p03loc_65E3:
  6341 p03loc_65E3:       
  7322 		.db		7
  6342 		.db		7  
  7323 		.db		16h
  6343 		.db		16h
  7324 		.db		26h	; &
  6344 		.db		26h
  7325 		.db		4
  6345 		.db		4  
  7326 		.db		0Eh
  6346 		.db		0Eh
  7327 		.db		18h
  6347 		.db		18h
  7328 		.db		5
  6348 		.db		5  
  7329 		.db		10h
  6349 		.db		10h
  7330 		.db		1Eh
  6350 		.db		1Eh
  7331 p03loc_65EC:
  6351 p03loc_65EC:       
  7332 		.db		9
  6352 		.db		9  
  7333 		.db		18h
  6353 		.db		18h
  7334 		.db		28h	; (
  6354 		.db		28h
  7335 		.db		6
  6355 		.db		6  
  7336 		.db		10h
  6356 		.db		10h
  7337 		.db		1Ah
  6357 		.db		1Ah
  7338 		.db		7
  6358 		.db		7  
  7339 		.db		12h
  6359 		.db		12h
  7340 		.db		20h
  6360 		.db		20h
  7341 
       
  7342 ; =============== S U B	R O U T	I N E =======================================
       
  7343 
       
  7344 
  6361 
  7345 p03sub_65F5:
  6362 p03sub_65F5:
  7346 		ld		de, 0FFF0h
  6363 		ld		de, 0FFF0h
  7347 		add		hl, de
  6364 		add		hl, de
  7348 		ld		b, a
  6365 		ld		b, a
  7356 		set		6, (iy+1Ah)
  6373 		set		6, (iy+1Ah)
  7357 		ld		a, (hl)
  6374 		ld		a, (hl)
  7358 		call	ShRAcc
  6375 		call	ShRAcc
  7359 		jr		z, p03loc_6612
  6376 		jr		z, p03loc_6612
  7360 		res		6, (iy+1Ah)
  6377 		res		6, (iy+1Ah)
  7361 
       
  7362 p03loc_6612:
  6378 p03loc_6612:
  7363 		ld		de, 0FFF1h
  6379 		ld		de, 0FFF1h
  7364 		add		hl, de
  6380 		add		hl, de
  7365 		call	p03sub_6646
  6381 		call	p03sub_6646
  7366 		pop		af
  6382 		pop		af
  7375 		ex		de, hl
  6391 		ex		de, hl
  7376 		pop		bc
  6392 		pop		bc
  7377 		ld		a, (fOutDat+1)
  6393 		ld		a, (fOutDat+1)
  7378 		or		a
  6394 		or		a
  7379 		jr		z, p03loc_6635
  6395 		jr		z, p03loc_6635
  7380 
       
  7381 p03loc_6630:
  6396 p03loc_6630:
  7382 		sbc		hl, bc
  6397 		sbc		hl, bc
  7383 		jp		nz, ErrDimMismatch
  6398 		jp		nz, ErrDimMismatch
  7384 
       
  7385 p03loc_6635:
  6399 p03loc_6635:
  7386 		pop		af
  6400 		pop		af
  7387 		cp		2
  6401 		cp		2
  7388 		pop		de
  6402 		pop		de
  7389 		ret
  6403 		ret
  7390 ; ---------------------------------------------------------------------------
       
  7391 
  6404 
  7392 p03loc_663A:
  6405 p03loc_663A:
  7393 		push	de
  6406 		push	de
  7394 		pop		bc
  6407 		pop		bc
  7395 		jr		p03loc_6635
  6408 		jr		p03loc_6635
  7396 ; ---------------------------------------------------------------------------
       
  7397 
  6409 
  7398 p03loc_663E:
  6410 p03loc_663E:
  7399 		call	p03sub_6653
  6411 		call	p03sub_6653
  7400 		ex		de, hl
  6412 		ex		de, hl
  7401 		pop		bc
  6413 		pop		bc
  7402 		or		a
  6414 		or		a
  7403 		jr		p03loc_6630
  6415 		jr		p03loc_6630
  7404 ; End of function p03sub_65F5
       
  7405 
       
  7406 
       
  7407 ; =============== S U B	R O U T	I N E =======================================
       
  7408 
       
  7409 
  6416 
  7410 p03sub_6646:
  6417 p03sub_6646:
  7411 		push	hl
  6418 		push	hl
  7412 		call	p03sub_6675
  6419 		call	p03sub_6675
  7413 		ld		(XOutDat), hl
  6420 		ld		(XOutDat), hl
  7415 p03loc_664D:
  6422 p03loc_664D:
  7416 		pop		hl
  6423 		pop		hl
  7417 		ld		bc, 5
  6424 		ld		bc, 5
  7418 		add		hl, bc
  6425 		add		hl, bc
  7419 		ret
  6426 		ret
  7420 ; End of function p03sub_6646
       
  7421 
       
  7422 
       
  7423 ; =============== S U B	R O U T	I N E =======================================
       
  7424 
       
  7425 
  6427 
  7426 p03sub_6653:
  6428 p03sub_6653:
  7427 		push	hl
  6429 		push	hl
  7428 		call	p03sub_6675
  6430 		call	p03sub_6675
  7429 		ld		(YOutDat), hl
  6431 		ld		(YOutDat), hl
  7430 		jr		p03loc_664D
  6432 		jr		p03loc_664D
  7431 ; End of function p03sub_6653
       
  7432 
       
  7433 
       
  7434 ; =============== S U B	R O U T	I N E =======================================
       
  7435 
       
  7436 
  6433 
  7437 p03sub_665C:
  6434 p03sub_665C:
  7438 		push	hl
  6435 		push	hl
  7439 		ld		a, (hl)
  6436 		ld		a, (hl)
  7440 		cp		31h ; '1'
  6437 		cp		31h
  7441 		jr		nz, p03loc_6668
  6438 		jr		nz, p03loc_6668
  7442 		xor		a
  6439 		xor		a
  7443 		ld		(fOutDat+1), a
  6440 		ld		(fOutDat+1), a
  7444 		jr		p03loc_664D
  6441 		jr		p03loc_664D
  7445 ; ---------------------------------------------------------------------------
       
  7446 
  6442 
  7447 p03loc_6668:
  6443 p03loc_6668:
  7448 		call	p03sub_6675
  6444 		call	p03sub_6675
  7449 
       
  7450 p03loc_666B:
  6445 p03loc_666B:
  7451 		ld		(fOutDat), hl
  6446 		ld		(fOutDat), hl
  7452 		jr		p03loc_664D
  6447 		jr		p03loc_664D
  7453 ; End of function p03sub_665C
  6448 
  7454 
  6449 #ifndef DEVIATE_FROM_ORIGINAL_FILE
  7455 ; ---------------------------------------------------------------------------
  6450 ;Not referenced anywhere.
  7456 		ld		hl, 0
  6451 		ld		hl, 0
  7457 		jr		p03loc_666B
  6452 		jr		p03loc_666B
  7458 
  6453 #endif
  7459 ; =============== S U B	R O U T	I N E =======================================
       
  7460 
  6454 
  7461 
  6455 
  7462 p03sub_6675:
  6456 p03sub_6675:
  7463 		call	p03sub_6692
  6457 		call	p03sub_6692
  7464 		call	Page0Call_241E
  6458 		call	Page0Call_241E
  7474 		dec		hl
  6468 		dec		hl
  7475 		ld		a, d
  6469 		ld		a, d
  7476 		or		e
  6470 		or		e
  7477 		jp		z, ErrDimension
  6471 		jp		z, ErrDimension
  7478 		ret
  6472 		ret
  7479 ; End of function p03sub_6675
       
  7480 
       
  7481 
       
  7482 ; =============== S U B	R O U T	I N E =======================================
       
  7483 
       
  7484 
  6473 
  7485 p03sub_6692:
  6474 p03sub_6692:
  7486 		ld		de, OP1+1
  6475 		ld		de, OP1+1
  7487 		ld		a, 5Dh ; ']'
  6476 		ld		a, 5Dh
  7488 		ld		(de), a
  6477 		ld		(de), a
  7489 		inc		de
  6478 		inc		de
  7490 		call	Mov5B
  6479 		call	Mov5B
  7491 		ex		de, hl
  6480 		ex		de, hl
  7492 		ld		(hl), 0
  6481 		ld		(hl), 0
  7493 		ret
  6482 		ret
  7494 ; End of function p03sub_6692
       
  7495 
       
  7496 ; ---------------------------------------------------------------------------
       
  7497 
  6483 
  7498 INITNEWTRACEP:
  6484 INITNEWTRACEP:
  7499 		res		7, (iy+1Ah)
  6485 		res		7, (iy+1Ah)
  7500 		call	j_VALCUR
  6486 		call	j_VALCUR
  7501 		ld		(curPlotNumber), a
  6487 		ld		(curPlotNumber), a
  7504 		call	p03sub_67B2
  6490 		call	p03sub_67B2
  7505 		call	p03sub_65F5
  6491 		call	p03sub_65F5
  7506 		ld		b, a
  6492 		ld		b, a
  7507 		cp		1
  6493 		cp		1
  7508 		jr		nz, p03loc_66BC
  6494 		jr		nz, p03loc_66BC
  7509 
       
  7510 p03loc_66BB:
  6495 p03loc_66BB:
  7511 		xor		a
  6496 		xor		a
  7512 
       
  7513 p03loc_66BC:
  6497 p03loc_66BC:
  7514 		cp		5
  6498 		cp		5
  7515 		jr		z, p03loc_66BB
  6499 		jr		z, p03loc_66BB
  7516 		ld		hl, 8D1Eh
  6500 		ld		hl, 8D1Eh
  7517 		cp		(hl)
  6501 		cp		(hl)
  7518 		jr		z, p03loc_66CC
  6502 		jr		z, p03loc_66CC
  7519 		ld		hl, 1
  6503 		ld		hl, 1
  7520 		ld		(unk_8E65), hl
  6504 		ld		(unk_8E65), hl
  7521 
       
  7522 p03loc_66CC:
  6505 p03loc_66CC:
  7523 		ld		a, b
  6506 		ld		a, b
  7524 		cp		2
  6507 		cp		2
  7525 		jp		c, p03loc_6897
  6508 		jp		c, p03loc_6897
  7526 		set		cmp_mod_box, (iy+sGrFlags)
  6509 		set		cmp_mod_box, (iy+sGrFlags)
  7530 		jr		z, p03loc_671A
  6513 		jr		z, p03loc_671A
  7531 		jp		nc, p03loc_68C5
  6514 		jp		nc, p03loc_68C5
  7532 		set		3, (iy+13h)
  6515 		set		3, (iy+13h)
  7533 		call	p03sub_614B
  6516 		call	p03sub_614B
  7534 		jr		p03loc_66EF
  6517 		jr		p03loc_66EF
  7535 ; ---------------------------------------------------------------------------
       
  7536 
  6518 
  7537 p03loc_66EC:
  6519 p03loc_66EC:
  7538 		call	p03sub_627F
  6520 		call	p03sub_627F
  7539 
       
  7540 p03loc_66EF:
  6521 p03loc_66EF:
  7541 		ld		a, 4
  6522 		ld		a, 4
  7542 		ld		(unk_8D1E), a
  6523 		ld		(unk_8D1E), a
  7543 		call	nullsub_1
  6524 		call	nullsub_1
  7544 		call	CpyTo1FPST
  6525 		call	CpyTo1FPST
  7547 		call	CpyTo1FPS2
  6528 		call	CpyTo1FPS2
  7548 		call	InvSub
  6529 		call	InvSub
  7549 		call	TimesPt5
  6530 		call	TimesPt5
  7550 		call	CpyTo2FPS2
  6531 		call	CpyTo2FPS2
  7551 		rst		30h
  6532 		rst		30h
  7552 
       
  7553 p03loc_670D:
  6533 p03loc_670D:
  7554 		call	j_XPIXSET
  6534 		call	j_XPIXSET
  7555 		ld		hl, (curGY)
  6535 		ld		hl, (curGY)
  7556 		ld		(freeSaveY), hl
  6536 		ld		(freeSaveY), hl
  7557 
       
  7558 p03loc_6716:
  6537 p03loc_6716:
  7559 		call	j_LABCOOR
  6538 		call	j_LABCOOR
  7560 		ret
  6539 		ret
  7561 ; ---------------------------------------------------------------------------
       
  7562 
  6540 
  7563 p03loc_671A:
  6541 p03loc_671A:
  7564 		ld		de, 3
  6542 		ld		de, 3
  7565 		cp		(hl)
  6543 		cp		(hl)
  7566 		jr		z, p03loc_6724
  6544 		jr		z, p03loc_6724
  7567 		ld		(unk_8E65), de
  6545 		ld		(unk_8E65), de
  7568 
       
  7569 p03loc_6724:
  6546 p03loc_6724:
  7570 		ld		(unk_8D1E), a
  6547 		ld		(unk_8D1E), a
  7571 		call	p03sub_63E0
  6548 		call	p03sub_63E0
  7572 
       
  7573 p03loc_672A:
  6549 p03loc_672A:
  7574 		call	p03sub_6583
  6550 		call	p03sub_6583
  7575 		call	nullsub_1
  6551 		call	nullsub_1
  7576 		call	j_YPIXSET
  6552 		call	j_YPIXSET
  7577 		call	p03sub_6738
  6553 		call	p03sub_6738
  7578 		jr		p03loc_670D
  6554 		jr		p03loc_670D
  7579 
       
  7580 ; =============== S U B	R O U T	I N E =======================================
       
  7581 
       
  7582 
  6555 
  7583 p03sub_6738:
  6556 p03sub_6738:
  7584 		call	CpyTo1FPS5
  6557 		call	CpyTo1FPS5
  7585 		ld		hl, (unk_8E65)
  6558 		ld		hl, (unk_8E65)
  7586 		ld		a, l
  6559 		ld		a, l
  7587 		or		h
  6560 		or		h
  7588 		jr		z, p03loc_674A
  6561 		jr		z, p03loc_674A
  7589 		ld		de, 6
  6562 		ld		de, 6
  7590 		call	CpHLDE
  6563 		call	CpHLDE
  7591 		jr		c, p03loc_6768
  6564 		jr		c, p03loc_6768
  7592 
       
  7593 p03loc_674A:
  6565 p03loc_674A:
  7594 		ld		de, (OP1)
  6566 		ld		de, (OP1)
  7595 		dec		hl
  6567 		dec		hl
  7596 		bit		7, h
  6568 		bit		7, h
  7597 		jr		nz, p03loc_675B
  6569 		jr		nz, p03loc_675B
  7598 		ld		de, 0FFFCh
  6570 		ld		de, 0FFFCh
  7599 		add		hl, de
  6571 		add		hl, de
  7600 		ld		de, (OP1M)
  6572 		ld		de, (OP1M)
  7601 
       
  7602 p03loc_675B:
  6573 p03loc_675B:
  7603 		add		hl, de
  6574 		add		hl, de
  7604 		ld		b, h
  6575 		ld		b, h
  7605 		ld		c, l
  6576 		ld		c, l
  7606 		call	GET_X_INDIRECT
  6577 		call	GET_X_INDIRECT
  7607 		ld		hl, 3
  6578 		ld		hl, 3
  7608 		ld		(unk_8D1F), hl
  6579 		ld		(unk_8D1F), hl
  7609 		ret
  6580 		ret
  7610 ; ---------------------------------------------------------------------------
       
  7611 
  6581 
  7612 p03loc_6768:
  6582 p03loc_6768:
  7613 		ld		(unk_8D1F), hl
  6583 		ld		(unk_8D1F), hl
  7614 		cp		2
  6584 		cp		2
  7615 		jp		z, CpyTo1FPS1
  6585 		jp		z, CpyTo1FPS1
  7616 		jp		c, CpyTo1FPS4
  6586 		jp		c, CpyTo1FPS4
  7617 		cp		4
  6587 		cp		4
  7618 		jp		z, CpyTo1FPST
  6588 		jp		z, CpyTo1FPST
  7619 		jp		c, CpyTo1FPS2
  6589 		jp		c, CpyTo1FPS2
  7620 		jp		CpyTo1FPS3
  6590 		jp		CpyTo1FPS3
  7621 ; End of function p03sub_6738
       
  7622 
       
  7623 ; ---------------------------------------------------------------------------
       
  7624 
  6591 
  7625 p03loc_677E:
  6592 p03loc_677E:
  7626 		ld		(unk_8D1F), bc
  6593 		ld		(unk_8D1F), bc
  7627 		call	nullsub_1
  6594 		call	nullsub_1
  7628 		ld		l, c
  6595 		ld		l, c
  7633 		call	p03sub_6AD6
  6600 		call	p03sub_6AD6
  7634 		call	PushRealO2
  6601 		call	PushRealO2
  7635 		call	j_XPIXSET
  6602 		call	j_XPIXSET
  7636 		call	PopRealO1
  6603 		call	PopRealO1
  7637 		jr		p03loc_67A9
  6604 		jr		p03loc_67A9
  7638 ; ---------------------------------------------------------------------------
       
  7639 
  6605 
  7640 p03loc_679A:
  6606 p03loc_679A:
  7641 		push	hl
  6607 		push	hl
  7642 		call	j_GetLToOP1
  6608 		call	j_GetLToOP1
  7643 		call	j_XPIXSET
  6609 		call	j_XPIXSET
  7644 		ld		de, (YOutDat)
  6610 		ld		de, (YOutDat)
  7645 		pop		hl
  6611 		pop		hl
  7646 		call	j_GetLToOP1
  6612 		call	j_GetLToOP1
  7647 
       
  7648 p03loc_67A9:
  6613 p03loc_67A9:
  7649 		call	j_YPIXSET
  6614 		call	j_YPIXSET
  7650 		jp		p03loc_6716
  6615 		jp		p03loc_6716
  7651 
  6616 
  7652 ; =============== S U B	R O U T	I N E =======================================
       
  7653 
       
  7654 
       
  7655 p03sub_67AF:
  6617 p03sub_67AF:
  7656 
       
  7657 		ld		a, (curPlotNumber)
  6618 		ld		a, (curPlotNumber)
  7658 ; End of function p03sub_67AF
       
  7659 
       
  7660 
       
  7661 ; =============== S U B	R O U T	I N E =======================================
       
  7662 
       
  7663 
       
  7664 p03sub_67B2:
  6619 p03sub_67B2:
  7665 		add		a, a
  6620 		add		a, a
  7666 		ld		e, a
  6621 		ld		e, a
  7667 		ld		d, 0
  6622 		ld		d, 0
  7668 		ld		hl, p03loc_67C7-2
  6623 		ld		hl, p03loc_67C7-2
  7673 		add		hl, bc
  6628 		add		hl, bc
  7674 		ld		a, (hl)
  6629 		ld		a, (hl)
  7675 		and		0Fh
  6630 		and		0Fh
  7676 		pop		hl
  6631 		pop		hl
  7677 		ret
  6632 		ret
  7678 ; End of function p03sub_67B2
       
  7679 
  6633 
  7680 p03loc_67C7:
  6634 p03loc_67C7:
  7681 		.dw		92D9h
  6635 		.dw		92D9h
  7682 		.dw		92EAh
  6636 		.dw		92EAh
  7683 		.dw		92FBh
  6637 		.dw		92FBh
  7684 
       
  7685 ; =============== S U B	R O U T	I N E =======================================
       
  7686 
       
  7687 
  6638 
  7688 p03sub_67CD:
  6639 p03sub_67CD:
  7689 		ld		a, (hl)
  6640 		ld		a, (hl)
  7690 		cp		0Fh
  6641 		cp		0Fh
  7691 		ret		z
  6642 		ret		z
  7700 		ld		a, (OP1M)
  6651 		ld		a, (OP1M)
  7701 		cp		6
  6652 		cp		6
  7702 		jr		nc, p03loc_67EB
  6653 		jr		nc, p03loc_67EB
  7703 		inc		c
  6654 		inc		c
  7704 		dec		hl
  6655 		dec		hl
  7705 
       
  7706 p03loc_67EB:
  6656 p03loc_67EB:
  7707 		ld		b, 0
  6657 		ld		b, 0
  7708 		set		4, (iy+11h)
  6658 		set		4, (iy+11h)
  7709 		call	j_WRITE_TEXT
  6659 		call	j_WRITE_TEXT
  7710 		res		4, (iy+11h)
  6660 		res		4, (iy+11h)
  7711 		pop		hl
  6661 		pop		hl
  7712 		pop		de
  6662 		pop		de
  7713 		ld		(curGY), de
  6663 		ld		(curGY), de
  7714 		ret
  6664 		ret
  7715 ; End of function p03sub_67CD
       
  7716 
       
  7717 ; ---------------------------------------------------------------------------
       
  7718 
  6665 
  7719 SPLOTCOORD:
  6666 SPLOTCOORD:
  7720 		push	af
  6667 		push	af
  7721 		set		textEraseBelow, (iy+textFlags)
  6668 		set		textEraseBelow, (iy+textFlags)
  7722 		bit		grfExpr, (iy+traceFlags)
  6669 		bit		grfExpr, (iy+traceFlags)
  7723 		jr		nz, p03loc_6847
  6670 		jr		nz, p03loc_6847
  7724 		ld		hl, 0
  6671 		ld		hl, 0
  7725 		ld		(penCol), hl
  6672 		ld		(penCol), hl
  7726 		ld		a, 50h ; 'P'
  6673 		ld		a, 'P'
  7727 		call	j_VPutMap
  6674 		call	j_VPutMap
  7728 		pop		af
  6675 		pop		af
  7729 		push	af
  6676 		push	af
  7730 		call	j_PUTEQUNO
  6677 		call	j_PUTEQUNO
  7731 		ld		a, 3Ah ; ':'
  6678 		ld		a, ':'
  7732 		call	j_VPutMap
  6679 		call	j_VPutMap
  7733 		pop		af
  6680 		pop		af
  7734 		call	p03sub_67B2
  6681 		call	p03sub_67B2
  7735 		push	af
  6682 		push	af
  7736 		ld		de, 0FFF1h
  6683 		ld		de, 0FFF1h
  7742 		cp		5
  6689 		cp		5
  7743 		jr		z, p03loc_6868
  6690 		jr		z, p03loc_6868
  7744 		ld		de, 5
  6691 		ld		de, 5
  7745 		add		hl, de
  6692 		add		hl, de
  7746 		ld		a, (hl)
  6693 		ld		a, (hl)
  7747 		cp		31h ; '1'
  6694 		cp		'1'
  7748 		jr		z, p03loc_6868
  6695 		jr		z, p03loc_6868
  7749 
  6696 
  7750 p03loc_683D:
  6697 p03loc_683D:
  7751 		ld		a, 2Ch ; ','
  6698 		ld		a, ','
  7752 		call	j_VPutMap
  6699 		call	j_VPutMap
  7753 		call	p03sub_67CD
  6700 		call	p03sub_67CD
  7754 		jr		p03loc_6868
  6701 		jr		p03loc_6868
  7755 ; ---------------------------------------------------------------------------
       
  7756 
  6702 
  7757 p03loc_6847:
  6703 p03loc_6847:
  7758 		bit		grfNoCoord, (iy+grfDBFlags)
  6704 		bit		grfNoCoord, (iy+grfDBFlags)
  7759 		jr		z, p03loc_684F
  6705 		jr		z, p03loc_684F
  7760 		pop		af
  6706 		pop		af
  7761 		ret
  6707 		ret
  7762 ; ---------------------------------------------------------------------------
       
  7763 
  6708 
  7764 p03loc_684F:
  6709 p03loc_684F:
  7765 		ld		hl, 56h	; 'V'
  6710 		ld		hl, 56h	; 'V'
  7766 		call	Bit_VertSplit
  6711 		call	Bit_VertSplit
  7767 		jr		z, p03loc_6859
  6712 		jr		z, p03loc_6859
  7768 		ld		l, 26h ; '&'
  6713 		ld		l, 26h ; '&'
  7769 
       
  7770 p03loc_6859:
  6714 p03loc_6859:
  7771 		ld		(penCol), hl
  6715 		ld		(penCol), hl
  7772 		call	j_VPUTBLANK
  6716 		call	j_VPUTBLANK
  7773 		ld		a, 50h ; 'P'
  6717 		ld		a, 'P'
  7774 		call	j_VPutMap
  6718 		call	j_VPutMap
  7775 		pop		af
  6719 		pop		af
  7776 		call	j_PUTEQUNO
  6720 		call	j_PUTEQUNO
  7777 
       
  7778 p03loc_6868:
  6721 p03loc_6868:
  7779 		call	p03sub_67AF
  6722 		call	p03sub_67AF
  7780 		cp		5
  6723 		cp		5
  7781 		jp		z, j_PutXY
  6724 		jp		z, j_PutXY
  7782 		cp		2
  6725 		cp		2
  7783 		jp		c, j_PutXY
  6726 		jp		c, j_PutXY
  7784 		jr		z, p03loc_687C
  6727 		jr		z, p03loc_687C
  7785 		cp		4
  6728 		cp		4
  7786 		jp		nz, Page0Call_3501
  6729 		jp		nz, Page0Call_3501
  7787 
       
  7788 p03loc_687C:
  6730 p03loc_687C:
  7789 		jp		Page0Call_3507
  6731 		jp		Page0Call_3507
  7790 ; ---------------------------------------------------------------------------
       
  7791 
  6732 
  7792 SPLOTRIGHT:
  6733 SPLOTRIGHT:
  7793 		call	j_CursorOff
  6734 		call	j_CursorOff
  7794 		call	j_VALCUR
  6735 		call	j_VALCUR
  7795 		call	p03sub_67B2
  6736 		call	p03sub_67B2
  7796 		ld		hl, (unk_8E65)
  6737 		ld		hl, (unk_8E65)
  7797 		cp		5
  6738 		cp		5
  7798 		jr		z, p03loc_6893
  6739 		jr		z, p03loc_6893
  7799 		cp		2
  6740 		cp		2
  7800 		jr		nc, p03loc_68B6
  6741 		jr		nc, p03loc_68B6
  7801 
       
  7802 p03loc_6893:
  6742 p03loc_6893:
  7803 		inc		hl
  6743 		inc		hl
  7804 
       
  7805 p03loc_6894:
  6744 p03loc_6894:
  7806 		ld		(unk_8E65), hl
  6745 		ld		(unk_8E65), hl
  7807 
       
  7808 p03loc_6897:
  6746 p03loc_6897:
  7809 		push	af
  6747 		push	af
  7810 		xor		a
  6748 		xor		a
  7811 		ld		(unk_8D1E), a
  6749 		ld		(unk_8D1E), a
  7812 		ld		hl, (XOutDat)
  6750 		ld		hl, (XOutDat)
  7814 		inc		hl
  6752 		inc		hl
  7815 		ld		d, (hl)
  6753 		ld		d, (hl)
  7816 		dec		hl
  6754 		dec		hl
  7817 		ex		de, hl
  6755 		ex		de, hl
  7818 		ld		bc, (unk_8E65)
  6756 		ld		bc, (unk_8E65)
  7819 
       
  7820 p03loc_68A8:
  6757 p03loc_68A8:
  7821 		or		a
  6758 		or		a
  7822 		sbc		hl, bc
  6759 		sbc		hl, bc
  7823 		jp		nc, p03loc_677E
  6760 		jp		nc, p03loc_677E
  7824 		add		hl, bc
  6761 		add		hl, bc
  7825 		dec		bc
  6762 		dec		bc
  7826 		ld		(unk_8E65), bc
  6763 		ld		(unk_8E65), bc
  7827 		jr		p03loc_68A8
  6764 		jr		p03loc_68A8
  7828 ; ---------------------------------------------------------------------------
       
  7829 
  6765 
  7830 p03loc_68B6:
  6766 p03loc_68B6:
  7831 		jr		z, p03loc_68BD
  6767 		jr		z, p03loc_68BD
  7832 		cp		4
  6768 		cp		4
  7833 		jp		nz, p03loc_66EC
  6769 		jp		nz, p03loc_66EC
  7834 
       
  7835 p03loc_68BD:
  6770 p03loc_68BD:
  7836 		call	Page03_35A3
  6771 		call	Page03_35A3
  7837 		jr		z, p03loc_6907
  6772 		jr		z, p03loc_6907
  7838 		inc		hl
  6773 		inc		hl
  7839 		jr		p03loc_6904
  6774 		jr		p03loc_6904
  7840 ; ---------------------------------------------------------------------------
       
  7841 
  6775 
  7842 p03loc_68C5:
  6776 p03loc_68C5:
  7843 		call	p03sub_69E7
  6777 		call	p03sub_69E7
  7844 		call	Page0Call_241E
  6778 		call	Page0Call_241E
  7845 		jp		c, ErrStat
  6779 		jp		c, ErrStat
  7846 		ld		(unk_84E7), de
  6780 		ld		(unk_84E7), de
  7847 		ld		a, 5
  6781 		ld		a, 5
  7848 		jr		p03loc_6897
  6782 		jr		p03loc_6897
  7849 ; ---------------------------------------------------------------------------
       
  7850 
  6783 
  7851 SPLOTLEFT:
  6784 SPLOTLEFT:
  7852 		call	j_CursorOff
  6785 		call	j_CursorOff
  7853 		call	j_VALCUR
  6786 		call	j_VALCUR
  7854 		call	p03sub_67B2
  6787 		call	p03sub_67B2
  7855 		ld		hl, (unk_8E65)
  6788 		ld		hl, (unk_8E65)
  7856 		cp		5
  6789 		cp		5
  7857 		jr		z, p03loc_68EA
  6790 		jr		z, p03loc_68EA
  7858 		cp		2
  6791 		cp		2
  7859 		jr		nc, p03loc_68F3
  6792 		jr		nc, p03loc_68F3
  7860 
       
  7861 p03loc_68EA:
  6793 p03loc_68EA:
  7862 		dec		hl
  6794 		dec		hl
  7863 		ld		b, a
  6795 		ld		b, a
  7864 		ld		a, h
  6796 		ld		a, h
  7865 		or		l
  6797 		or		l
  7866 		ld		a, b
  6798 		ld		a, b
  7867 		jr		nz, p03loc_6894
  6799 		jr		nz, p03loc_6894
  7868 		jr		p03loc_6897
  6800 		jr		p03loc_6897
  7869 ; ---------------------------------------------------------------------------
       
  7870 
  6801 
  7871 p03loc_68F3:
  6802 p03loc_68F3:
  7872 		jr		z, p03loc_68FF
  6803 		jr		z, p03loc_68FF
  7873 		cp		4
  6804 		cp		4
  7874 		jr		z, p03loc_68FF
  6805 		jr		z, p03loc_68FF
  7875 		call	p03sub_6298
  6806 		call	p03sub_6298
  7876 		jp		p03loc_66EF
  6807 		jp		p03loc_66EF
  7877 ; ---------------------------------------------------------------------------
       
  7878 
  6808 
  7879 p03loc_68FF:
  6809 p03loc_68FF:
  7880 
       
  7881 		call	Page03_359D
  6810 		call	Page03_359D
  7882 		jr		z, p03loc_6907
  6811 		jr		z, p03loc_6907
  7883 
       
  7884 p03loc_6904:
  6812 p03loc_6904:
  7885 		ld		(unk_8E65), hl
  6813 		ld		(unk_8E65), hl
  7886 
       
  7887 p03loc_6907:
  6814 p03loc_6907:
  7888 		jp		p03loc_672A
  6815 		jp		p03loc_672A
  7889 
       
  7890 ; =============== S U B	R O U T	I N E =======================================
       
  7891 
       
  7892 
  6816 
  7893 Page03_359D:
  6817 Page03_359D:
  7894 		dec		hl
  6818 		dec		hl
  7895 		push	hl
  6819 		push	hl
  7896 		call	CpyTo2FPS5
  6820 		call	CpyTo2FPS5
  7901 		dec		hl
  6825 		dec		hl
  7902 		ld		a, h
  6826 		ld		a, h
  7903 		or		l
  6827 		or		l
  7904 		pop		hl
  6828 		pop		hl
  7905 		ret
  6829 		ret
  7906 ; End of function Page03_359D
       
  7907 
       
  7908 
       
  7909 ; =============== S U B	R O U T	I N E =======================================
       
  7910 
       
  7911 
  6830 
  7912 Page03_35A3:
  6831 Page03_35A3:
  7913 		push	hl
  6832 		push	hl
  7914 		call	CpyTo2FPS5
  6833 		call	CpyTo2FPS5
  7915 		ld		de, (OP2+4)
  6834 		ld		de, (OP2+4)
  7919 		or		a
  6838 		or		a
  7920 		sbc		hl, de
  6839 		sbc		hl, de
  7921 		ex		de, hl
  6840 		ex		de, hl
  7922 		pop		hl
  6841 		pop		hl
  7923 		jp		CpHLDE
  6842 		jp		CpHLDE
  7924 ; End of function Page03_35A3
       
  7925 
       
  7926 ; ---------------------------------------------------------------------------
       
  7927 
  6843 
  7928 CMPBOXINFO:
  6844 CMPBOXINFO:
  7929 		ld		a, 3
  6845 		ld		a, 3
  7930 		ld		(curPlotNumber), a
  6846 		ld		(curPlotNumber), a
  7931 		xor		a
  6847 		xor		a
  7932 		push	af
  6848 		push	af
  7933 
       
  7934 p03loc_693A:
  6849 p03loc_693A:
  7935 		call	p03sub_67AF
  6850 		call	p03sub_67AF
  7936 		bit		0, (hl)
  6851 		bit		0, (hl)
  7937 		ld		hl, curPlotNumber
  6852 		ld		hl, curPlotNumber
  7938 		jr		z, p03loc_6952
  6853 		jr		z, p03loc_6952
  7939 		cp		2
  6854 		cp		2
  7940 		jr		z, p03loc_694C
  6855 		jr		z, p03loc_694C
  7941 		cp		4
  6856 		cp		4
  7942 		jr		nz, p03loc_6952
  6857 		jr		nz, p03loc_6952
  7943 
       
  7944 p03loc_694C:
  6858 p03loc_694C:
  7945 		pop		af
  6859 		pop		af
  7946 		call	ShLAcc
  6860 		call	ShLAcc
  7947 		or		(hl)
  6861 		or		(hl)
  7948 		push	af
  6862 		push	af
  7949 
       
  7950 p03loc_6952:
  6863 p03loc_6952:
  7951 		dec		(hl)
  6864 		dec		(hl)
  7952 		jr		nz, p03loc_693A
  6865 		jr		nz, p03loc_693A
  7953 		pop		af
  6866 		pop		af
  7954 		ld		(unk_8E64), a
  6867 		ld		(unk_8E64), a
  7955 		ret
  6868 		ret
  7956 
  6869 
  7957 ; =============== S U B	R O U T	I N E =======================================
       
  7958 
       
  7959 
       
  7960 p03sub_695A:
  6870 p03sub_695A:
  7961 
       
  7962 
       
  7963 
       
  7964 
       
  7965 		pop		hl
  6871 		pop		hl
  7966 		ld		b, a
  6872 		ld		b, a
  7967 		ld		a, (curGStyle)
  6873 		ld		a, (curGStyle)
  7968 		cp		7Fh ; ''
  6874 		cp		7Fh
  7969 		jr		z, p03loc_6967
  6875 		jr		z, p03loc_6967
  7970 		cp		51h ; 'Q'
  6876 		cp		51h
  7971 		jr		nz, p03loc_6987
  6877 		jr		nz, p03loc_6987
  7972 
       
  7973 p03loc_6967:
  6878 p03loc_6967:
  7974 		ld		a, b
  6879 		ld		a, b
  7975 		jp		(hl)
  6880 		jp		(hl)
  7976 ; End of function p03sub_695A
       
  7977 
       
  7978 
       
  7979 ; =============== S U B	R O U T	I N E =======================================
       
  7980 
       
  7981 
  6881 
  7982 p03sub_6969:
  6882 p03sub_6969:
  7983 		push	af
  6883 		push	af
  7984 		call	p03sub_67B2
  6884 		call	p03sub_67B2
  7985 		ld		b, a
  6885 		ld		b, a
  7986 		cp		2
  6886 		cp		2
  7987 		jr		c, p03loc_697C
  6887 		jr		c, p03loc_697C
  7988 		ld		a, (curGStyle)
  6888 		ld		a, (curGStyle)
  7989 		cp		7Fh ; ''
  6889 		cp		7Fh
  7990 		jr		nz, p03loc_697C
  6890 		jr		nz, p03loc_697C
  7991 		pop		af
  6891 		pop		af
  7992 		cp		a
  6892 		cp		a
  7993 		ret
  6893 		ret
  7994 ; ---------------------------------------------------------------------------
       
  7995 
  6894 
  7996 p03loc_697C:
  6895 p03loc_697C:
  7997 		pop		af
  6896 		pop		af
  7998 		bit		0, (hl)
  6897 		bit		0, (hl)
  7999 		ret
  6898 		ret
  8000 ; End of function p03sub_6969
       
  8001 
       
  8002 ; ---------------------------------------------------------------------------
       
  8003 
  6899 
  8004 NEXTPLOT:
  6900 NEXTPLOT:
  8005 		call	p03sub_695A
  6901 		call	p03sub_695A
  8006 
       
  8007 p03loc_6983:
  6902 p03loc_6983:
  8008 		cp		3
  6903 		cp		3
  8009 		jr		nz, Page03_35B5
  6904 		jr		nz, Page03_35B5
  8010 ; START	OF FUNCTION CHUNK FOR p03sub_695A
       
  8011 
       
  8012 p03loc_6987:
  6905 p03loc_6987:
  8013 		xor		a
  6906 		xor		a
  8014 		ret
  6907 		ret
  8015 ; END OF FUNCTION CHUNK	FOR p03sub_695A
       
  8016 ; ---------------------------------------------------------------------------
       
  8017 
  6908 
  8018 Page03_35B5:
  6909 Page03_35B5:
  8019 		inc		a
  6910 		inc		a
  8020 		call	p03sub_6969
  6911 		call	p03sub_6969
  8021 		jr		z, p03loc_6983
  6912 		jr		z, p03loc_6983
  8022 		or		a
  6913 		or		a
  8023 		ret
  6914 		ret
  8024 ; ---------------------------------------------------------------------------
       
  8025 
  6915 
  8026 PREVPLOT:
  6916 PREVPLOT:
  8027 		call	p03sub_695A
  6917 		call	p03sub_695A
  8028 
       
  8029 p03loc_6994:
  6918 p03loc_6994:
  8030 		cp		1
  6919 		cp		1
  8031 		jr		z, p03loc_6987
  6920 		jr		z, p03loc_6987
  8032 		dec		a
  6921 		dec		a
  8033 		call	p03sub_6969
  6922 		call	p03sub_6969
  8034 		jr		z, p03loc_6994
  6923 		jr		z, p03loc_6994
  8035 		or		a
  6924 		or		a
  8036 		ret
  6925 		ret
  8037 ; ---------------------------------------------------------------------------
       
  8038 
  6926 
  8039 CLRPREVPLOT:
  6927 CLRPREVPLOT:
  8040 		call	p03sub_67B2
  6928 		call	p03sub_67B2
  8041 		cp		3
  6929 		cp		3
  8042 		jr		z, p03loc_69B4
  6930 		jr		z, p03loc_69B4
  8043 		cp		4
  6931 		cp		4
  8044 		jr		z, p03loc_69AF
  6932 		jr		z, p03loc_69AF
  8045 		cp		2
  6933 		cp		2
  8046 		jr		nz, p03loc_69BA
  6934 		jr		nz, p03loc_69BA
  8047 
       
  8048 p03loc_69AF:
  6935 p03loc_69AF:
  8049 		ld		de, 36h	; '6'
  6936 		ld		de, 36h
  8050 		jr		p03loc_69B7
  6937 		jr		p03loc_69B7
  8051 ; ---------------------------------------------------------------------------
       
  8052 
  6938 
  8053 p03loc_69B4:
  6939 p03loc_69B4:
  8054 		ld		de, 24h	; '$'
  6940 		ld		de, 24h
  8055 
       
  8056 p03loc_69B7:
  6941 p03loc_69B7:
  8057 		call	DeallocFPS1
  6942 		call	DeallocFPS1
  8058 
       
  8059 p03loc_69BA:
  6943 p03loc_69BA:
  8060 		ld		a, (curPlotNumber)
  6944 		ld		a, (curPlotNumber)
  8061 		ret
  6945 		ret
  8062 
  6946 
  8063 ; =============== S U B	R O U T	I N E =======================================
       
  8064 
       
  8065 
       
  8066 p03sub_69BE:
  6947 p03sub_69BE:
  8067 		; HEAP_SORT+41p ...
       
  8068 		push	hl
  6948 		push	hl
  8069 		ld		hl, (OP6+8)
  6949 		ld		hl, (OP6+8)
  8070 		add		hl, bc
  6950 		add		hl, bc
  8071 		ld		b, h
  6951 		ld		b, h
  8072 		ld		c, l
  6952 		ld		c, l
  8073 		pop		hl
  6953 		pop		hl
  8074 ; End of function p03sub_69BE
       
  8075 
       
  8076 
       
  8077 ; =============== S U B	R O U T	I N E =======================================
       
  8078 
       
  8079 
       
  8080 PUT_INDEX_LST:
  6954 PUT_INDEX_LST:
  8081 		ld		de, (iMathPtr4)
  6955 		ld		de, (iMathPtr4)
  8082 		sla	c
  6956 		sla		c
  8083 		rl	b
  6957 		rl		b
  8084 		ex		de, hl
  6958 		ex		de, hl
  8085 		add		hl, bc
  6959 		add		hl, bc
  8086 		ld		(hl), e
  6960 		ld		(hl), e
  8087 		inc		hl
  6961 		inc		hl
  8088 		ld		(hl), d
  6962 		ld		(hl), d
  8089 		ret
  6963 		ret
  8090 ; End of function PUT_INDEX_LST
       
  8091 
       
  8092 
       
  8093 ; =============== S U B	R O U T	I N E =======================================
       
  8094 
       
  8095 
  6964 
  8096 p03sub_69D4:
  6965 p03sub_69D4:
  8097 		; HEAP_SORT+29p ...
       
  8098 		ld		hl, (OP6+8)
  6966 		ld		hl, (OP6+8)
  8099 		add		hl, bc
  6967 		add		hl, bc
  8100 		ld		b, h
  6968 		ld		b, h
  8101 		ld		c, l
  6969 		ld		c, l
  8102 
       
  8103 GET_INDEX_LST:
  6970 GET_INDEX_LST:
  8104 		ld		de, (iMathPtr4)
  6971 		ld		de, (iMathPtr4)
  8105 ; End of function p03sub_69D4
       
  8106 
       
  8107 
       
  8108 ; =============== S U B	R O U T	I N E =======================================
       
  8109 
       
  8110 
       
  8111 p03sub_69DE:
  6972 p03sub_69DE:
  8112 		sla	c
  6973 		sla		c
  8113 		rl	b
  6974 		rl		b
  8114 		ex		de, hl
  6975 		ex		de, hl
  8115 		add		hl, bc
  6976 		add		hl, bc
  8116 		jp		ldHLind
  6977 		jp		ldHLind
  8117 ; End of function p03sub_69DE
       
  8118 
       
  8119 
       
  8120 ; =============== S U B	R O U T	I N E =======================================
       
  8121 
       
  8122 
  6978 
  8123 p03sub_69E7:
  6979 p03sub_69E7:
  8124 		ld		a, (curPlotNumber)
  6980 		ld		a, (curPlotNumber)
  8125 		add		a, 26h ; '&'
  6981 		add		a, 26h
  8126 		ld		(OP1+1), a
  6982 		ld		(OP1+1), a
  8127 		ld		de, 0
  6983 		ld		de, 0
  8128 		ld		(OP1M), de
  6984 		ld		(OP1M), de
  8129 		ret
  6985 		ret
  8130 ; End of function p03sub_69E7
       
  8131 
       
  8132 
       
  8133 ; =============== S U B	R O U T	I N E =======================================
       
  8134 
       
  8135 
  6986 
  8136 HEAP_SORT:
  6987 HEAP_SORT:
  8137 		or		a
  6988 		or		a
  8138 		sbc		hl, de
  6989 		sbc		hl, de
  8139 		inc		hl
  6990 		inc		hl
  8140 		ld		(OP6+4), hl
  6991 		ld		(OP6+4), hl
  8141 		dec		de
  6992 		dec		de
  8142 		ld		(OP6+8), de
  6993 		ld		(OP6+8), de
  8143 		sra	h
  6994 		sra		h
  8144 		rr	l
  6995 		rr		l
  8145 		ret		z
  6996 		ret		z
  8146 		inc		hl
  6997 		inc		hl
  8147 
       
  8148 p03loc_6A09:
  6998 p03loc_6A09:
  8149 		ld		de, 2
  6999 		ld		de, 2
  8150 		call	CpHLDE
  7000 		call	CpHLDE
  8151 		jr		nc, p03loc_6A3D
  7001 		jr		nc, p03loc_6A3D
  8152 		push	hl
  7002 		push	hl
  8169 		ld		bc, 1
  7019 		ld		bc, 1
  8170 		ld		hl, (OP6+6)
  7020 		ld		hl, (OP6+6)
  8171 		call	p03sub_69BE
  7021 		call	p03sub_69BE
  8172 		pop		hl
  7022 		pop		hl
  8173 		ret
  7023 		ret
  8174 ; ---------------------------------------------------------------------------
       
  8175 
       
  8176 p03loc_6A3D:
  7024 p03loc_6A3D:
  8177 		dec		hl
  7025 		dec		hl
  8178 		push	hl
  7026 		push	hl
  8179 		pop		bc
  7027 		pop		bc
  8180 		push	bc
  7028 		push	bc
  8181 		call	p03sub_69D4
  7029 		call	p03sub_69D4
  8182 		ld		(OP6+6), hl
  7030 		ld		(OP6+6), hl
  8183 
       
  8184 p03loc_6A47:
  7031 p03loc_6A47:
  8185 		pop		hl
  7032 		pop		hl
  8186 		push	hl
  7033 		push	hl
  8187 		ld		(OP6M), hl
  7034 		ld		(OP6M), hl
  8188 		add		hl, hl
  7035 		add		hl, hl
  8189 
       
  8190 p03loc_6A4D:
  7036 p03loc_6A4D:
  8191 		; HEAP_SORT+B1j
       
  8192 		ld		(OP6), hl
  7037 		ld		(OP6), hl
  8193 		ld		de, (OP6+4)
  7038 		ld		de, (OP6+4)
  8194 		call	CpHLDE
  7039 		call	CpHLDE
  8195 		jr		z, p03loc_6A5B
  7040 		jr		z, p03loc_6A5B
  8196 		jr		nc, p03loc_6AAA
  7041 		jr		nc, p03loc_6AAA
  8197 
       
  8198 p03loc_6A5B:
  7042 p03loc_6A5B:
  8199 		push	af
  7043 		push	af
  8200 		push	hl
  7044 		push	hl
  8201 		pop		bc
  7045 		pop		bc
  8202 		push	bc
  7046 		push	bc
  8209 		call	p03sub_69D4
  7053 		call	p03sub_69D4
  8210 		call	j_GETL1TOP1A
  7054 		call	j_GETL1TOP1A
  8211 		call	cpop1op2
  7055 		call	cpop1op2
  8212 		jr		z, p03loc_6A77
  7056 		jr		z, p03loc_6A77
  8213 		jr		nc, p03loc_6A7C
  7057 		jr		nc, p03loc_6A7C
  8214 
       
  8215 p03loc_6A77:
  7058 p03loc_6A77:
  8216 		; HEAP_SORT+7Cj
       
  8217 		call	OP2ToOP1
  7059 		call	OP2ToOP1
  8218 		jr		p03loc_6A83
  7060 		jr		p03loc_6A83
  8219 ; ---------------------------------------------------------------------------
       
  8220 
       
  8221 p03loc_6A7C:
  7061 p03loc_6A7C:
  8222 		ld		hl, (OP6)
  7062 		ld		hl, (OP6)
  8223 		inc		hl
  7063 		inc		hl
  8224 		ld		(OP6), hl
  7064 		ld		(OP6), hl
  8225 
       
  8226 p03loc_6A83:
  7065 p03loc_6A83:
  8227 		ld		hl, (OP6+6)
  7066 		ld		hl, (OP6+6)
  8228 		call	j_GETL1TOP2A
  7067 		call	j_GETL1TOP2A
  8229 		call	cpop1op2
  7068 		call	cpop1op2
  8230 		jr		c, p03loc_6AA4
  7069 		jr		c, p03loc_6AA4
  8235 		call	p03sub_69BE
  7074 		call	p03sub_69BE
  8236 		pop		hl
  7075 		pop		hl
  8237 		ld		(OP6M), hl
  7076 		ld		(OP6M), hl
  8238 		add		hl, hl
  7077 		add		hl, hl
  8239 		jr		p03loc_6A4D
  7078 		jr		p03loc_6A4D
  8240 ; ---------------------------------------------------------------------------
       
  8241 
       
  8242 p03loc_6AA4:
  7079 p03loc_6AA4:
  8243 		ld		hl, (OP6+4)
  7080 		ld		hl, (OP6+4)
  8244 		inc		hl
  7081 		inc		hl
  8245 		jr		p03loc_6A4D
  7082 		jr		p03loc_6A4D
  8246 ; ---------------------------------------------------------------------------
       
  8247 
       
  8248 p03loc_6AAA:
  7083 p03loc_6AAA:
  8249 		ld		hl, (OP6+6)
  7084 		ld		hl, (OP6+6)
  8250 		ld		bc, (OP6M)
  7085 		ld		bc, (OP6M)
  8251 		call	p03sub_69BE
  7086 		call	p03sub_69BE
  8252 		pop		hl
  7087 		pop		hl
  8253 		jp		p03loc_6A09
  7088 		jp		p03loc_6A09
  8254 ; End of function HEAP_SORT
       
  8255 
       
  8256 
       
  8257 ; =============== S U B	R O U T	I N E =======================================
       
  8258 
       
  8259 
  7089 
  8260 p03sub_6AB8:
  7090 p03sub_6AB8:
  8261 		call	SetXXXXOP2
  7091 		call	SetXXXXOP2
  8262 		ld		hl, 0FC3h
  7092 		ld		hl, 0FC3h
  8263 		rst		20h
  7093 		rst		20h
  8267 		call	SetXXXXOP2
  7097 		call	SetXXXXOP2
  8268 		call	fpdiv
  7098 		call	fpdiv
  8269 		ld		a, 1Eh
  7099 		ld		a, 1Eh
  8270 		call	j_BCALL_4B9D
  7100 		call	j_BCALL_4B9D
  8271 		jp		InvOP1S
  7101 		jp		InvOP1S
  8272 ; End of function p03sub_6AB8
       
  8273 
       
  8274 
       
  8275 ; =============== S U B	R O U T	I N E =======================================
       
  8276 
       
  8277 
  7102 
  8278 p03sub_6AD6:
  7103 p03sub_6AD6:
  8279 		push	hl
  7104 		push	hl
  8280 		call	p03sub_6AB8
  7105 		call	p03sub_6AB8
  8281 		rst		8
  7106 		rst		8
  8287 		ld		de, (XOutDat)
  7112 		ld		de, (XOutDat)
  8288 		call	j_GetLToOP1
  7113 		call	j_GetLToOP1
  8289 		bit		6, (iy+1Ah)
  7114 		bit		6, (iy+1Ah)
  8290 		call	z, OP1ExOP2
  7115 		call	z, OP1ExOP2
  8291 		ret
  7116 		ret
  8292 ; End of function p03sub_6AD6
       
  8293 
       
  8294 
       
  8295 ; =============== S U B	R O U T	I N E =======================================
       
  8296 
       
  8297 
  7117 
  8298 p03sub_6AF7:
  7118 p03sub_6AF7:
  8299 		ld		hl, (XOutDat)
  7119 		ld		hl, (XOutDat)
  8300 		ld		(iMathPtr1), hl
  7120 		ld		(iMathPtr1), hl
  8301 		ret
  7121 		ret
  8302 ; End of function p03sub_6AF7
       
  8303 
  7122 
  8304 p03loc_6AFE:
  7123 p03loc_6AFE:
  8305 		.db		0
  7124 		.db		0
  8306 		.db		7Fh	; 
  7125 		.db		7Fh
  8307 		.db		30h	; 0
  7126 		.db		30h
  8308 		.db		10h
  7127 		.db		10h
  8309 		.db		29h	; )
  7128 		.db		29h
  8310 		.db		99h	; �
  7129 		.db		99h
  8311 		.db		56h	; V
  7130 		.db		56h
  8312 		.db		63h	; c
  7131 		.db		63h
  8313 		.db		98h	; �
  7132 		.db		98h
  8314 
       
  8315 ; =============== S U B	R O U T	I N E =======================================
       
  8316 
       
  8317 
  7133 
  8318 p03sub_6B07:
  7134 p03sub_6B07:
  8319 		bit		7, (iy+1Ah)
  7135 		bit		7, (iy+1Ah)
  8320 		ret
  7136 		ret
  8321 ; End of function p03sub_6B07
  7137 
  8322 
  7138 StoGDB2:xor		a
  8323 ; ---------------------------------------------------------------------------
       
  8324 
       
  8325 StoGDB2:
       
  8326 		xor		a
       
  8327 		ld		(ioData), a
  7139 		ld		(ioData), a
  8328 		ld		de, 867Eh
  7140 		ld		de, 867Eh
  8329 		call	MovFrOP1
  7141 		call	MovFrOP1
  8330 		ld		a, (OP1+1)
  7142 		ld		a, (OP1+1)
  8331 		cp		61h ; 'a'
  7143 		cp		61h
  8332 		jp		nz, ErrDataType
  7144 		jp		nz, ErrDataType
  8333 		call	j_FNDDB
  7145 		call	j_FNDDB
  8334 		call	OP4ToOP1
  7146 		call	OP4ToOP1
  8335 		ld		a, (OP3M)
  7147 		ld		a, (OP3M)
  8336 		ld		e, a
  7148 		ld		e, a
  8342 		inc		hl
  7154 		inc		hl
  8343 		inc		hl
  7155 		inc		hl
  8344 		inc		hl
  7156 		inc		hl
  8345 		inc		hl
  7157 		inc		hl
  8346 		inc		hl
  7158 		inc		hl
  8347 		ld		de, 57h	; 'W'
  7159 		ld		de, 57h
  8348 		call	IsFunctionMode
  7160 		call	IsFunctionMode
  8349 		jr		nz, p03loc_6B4D
  7161 		jr		nz, p03loc_6B4D
  8350 		call	IsParametricMode
  7162 		call	IsParametricMode
  8351 		jr		nz, p03loc_6B4D
  7163 		jr		nz, p03loc_6B4D
  8352 		ld		de, 49h	; 'I'
  7164 		ld		de, 49h
  8353 		call	IsFuncMode
  7165 		call	IsFuncMode
  8354 		jr		nz, p03loc_6B4D
  7166 		jr		nz, p03loc_6B4D
  8355 		ld		de, 93h	; '�'
  7167 		ld		de, 93h
  8356 
       
  8357 p03loc_6B4D:
  7168 p03loc_6B4D:
  8358 		add		hl, de
  7169 		add		hl, de
  8359 		push	hl
  7170 		push	hl
  8360 		ld		a, (OP1)
  7171 		ld		a, (OP1)
  8361 		cp		0FFh
  7172 		cp		0FFh
  8362 		jr		nz, p03loc_6B62
  7173 		jr		nz, p03loc_6B62
  8363 		call	CreateGDB
  7174 		call	CreateGDB
  8364 		ld		(chkDelPtr1), de
  7175 		ld		(chkDelPtr1), de
  8365 		ld		(chkDelPtr3), hl
  7176 		ld		(chkDelPtr3), hl
  8366 		jr		p03loc_6B73
  7177 		jr		p03loc_6B73
  8367 ; ---------------------------------------------------------------------------
       
  8368 
       
  8369 p03loc_6B62:
  7178 p03loc_6B62:
  8370 		ld		(OP1), a
  7179 		ld		(OP1), a
  8371 		inc		hl
  7180 		inc		hl
  8372 		inc		hl
  7181 		inc		hl
  8373 		ex		de, hl
  7182 		ex		de, hl
  8374 		ld		hl, (chkDelPtr3)
  7183 		ld		hl, (chkDelPtr3)
  8375 		bit		6, (hl)
  7184 		bit		6, (hl)
  8376 		call	nz, SetTblGraphDraw
  7185 		call	nz, SetTblGraphDraw
  8377 		call	CHKDELA
  7186 		call	CHKDELA
  8378 
       
  8379 p03loc_6B73:
  7187 p03loc_6B73:
  8380 		ld		hl, (chkDelPtr1)
  7188 		ld		hl, (chkDelPtr1)
  8381 		pop		bc
  7189 		pop		bc
  8382 		ld		(hl), c
  7190 		ld		(hl), c
  8383 		inc		hl
  7191 		inc		hl
  8398 		ld		a, (iy+18h)
  7206 		ld		a, (iy+18h)
  8399 		ld		(hl), a
  7207 		ld		(hl), a
  8400 		inc		hl
  7208 		inc		hl
  8401 		ex		de, hl
  7209 		ex		de, hl
  8402 		ld		hl, Xmin
  7210 		ld		hl, Xmin
  8403 		ld		bc, 36h	; '6'
  7211 		ld		bc, 36h
  8404 		ldir
  7212 		ldir
  8405 		call	p03sub_6D9F
  7213 		call	p03sub_6D9F
  8406 		ldir
  7214 		ldir
  8407 		call	IsRecursiveMode
  7215 		call	IsRecursiveMode
  8408 		jr		z, p03loc_6BAD
  7216 		jr		z, p03loc_6BAD
  8409 		ld		hl, w02
  7217 		ld		hl, w02
  8410 		call	mov9B2
  7218 		call	mov9B2
  8411 
       
  8412 p03loc_6BAD:
  7219 p03loc_6BAD:
  8413 		call	p03sub_6DC1
  7220 		call	p03sub_6DC1
  8414 		ldir
  7221 		ldir
  8415 		ld		(chkDelPtr1), de
  7222 		ld		(chkDelPtr1), de
  8416 		xor		a
  7223 		xor		a
  8417 
       
  8418 p03loc_6BB7:
  7224 p03loc_6BB7:
  8419 		call	j_NEXTEQ
  7225 		call	j_NEXTEQ
  8420 		or		a
  7226 		or		a
  8421 		jr		nz, p03loc_6BCC
  7227 		jr		nz, p03loc_6BCC
  8422 		ld		hl, 867Eh
  7228 		ld		hl, 867Eh
  8424 		rst		10h
  7230 		rst		10h
  8425 		call	Page0Call_240B
  7231 		call	Page0Call_240B
  8426 		ld		a, (ioData)
  7232 		ld		a, (ioData)
  8427 		ld		(hl), a
  7233 		ld		(hl), a
  8428 		jp		FPOPCPLX
  7234 		jp		FPOPCPLX
  8429 ; ---------------------------------------------------------------------------
       
  8430 
       
  8431 p03loc_6BCC:
  7235 p03loc_6BCC:
  8432 		push	af
  7236 		push	af
  8433 
       
  8434 p03loc_6BCD:
  7237 p03loc_6BCD:
  8435 		call	Page0Call_241E
  7238 		call	Page0Call_241E
  8436 		push	hl
  7239 		push	hl
  8437 		push	de
  7240 		push	de
  8438 		call	Page0Call_240A
  7241 		call	Page0Call_240A
  8446 		ld		a, (ioData)
  7249 		ld		a, (ioData)
  8447 		cp		d
  7250 		cp		d
  8448 		jr		nc, p03loc_6BE8
  7251 		jr		nc, p03loc_6BE8
  8449 		ld		a, d
  7252 		ld		a, d
  8450 		ld		(ioData), a
  7253 		ld		(ioData), a
  8451 
       
  8452 p03loc_6BE8:
  7254 p03loc_6BE8:
  8453 		pop		de
  7255 		pop		de
  8454 		pop		hl
  7256 		pop		hl
  8455 		ld		a, (hl)
  7257 		ld		a, (hl)
  8456 		ld		hl, (chkDelPtr1)
  7258 		ld		hl, (chkDelPtr1)
  8470 		ld		hl, OP1M
  7272 		ld		hl, OP1M
  8471 		bit		0, (hl)
  7273 		bit		0, (hl)
  8472 		jr		nz, p03loc_6C0D
  7274 		jr		nz, p03loc_6C0D
  8473 		set		0, (hl)
  7275 		set		0, (hl)
  8474 		jr		p03loc_6BCD
  7276 		jr		p03loc_6BCD
  8475 ; ---------------------------------------------------------------------------
       
  8476 
       
  8477 p03loc_6C0D:
  7277 p03loc_6C0D:
  8478 		pop		af
  7278 		pop		af
  8479 		jr		p03loc_6BB7
  7279 		jr		p03loc_6BB7
  8480 ; ---------------------------------------------------------------------------
  7280 
       
  7281 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  7282 ;Not referenced anywhere.
  8481 		ld		hl, (chkDelPtr3)
  7283 		ld		hl, (chkDelPtr3)
  8482 		inc		hl
  7284 		inc		hl
  8483 		ld		e, (hl)
  7285 		ld		e, (hl)
  8484 		inc		hl
  7286 		inc		hl
  8485 		ld		d, (hl)
  7287 		ld		d, (hl)
  8486 		dec		hl
  7288 		dec		hl
  8487 		dec		hl
  7289 		dec		hl
  8488 		call	DelVarNoArc
  7290 		call	DelVarNoArc
  8489 		jp		ErrSyntax
  7291 		jp		ErrSyntax
  8490 ; ---------------------------------------------------------------------------
  7292 #endif
  8491 
  7293 
  8492 RclGDB2:
  7294 RclGDB2:ld		a, (OP1+1)
  8493 		ld		a, (OP1+1)
  7295 		cp		61h
  8494 		cp		61h ; 'a'
       
  8495 		jp		nz, ErrDataType
  7296 		jp		nz, ErrDataType
  8496 		call	CkOP1Real
  7297 		call	CkOP1Real
  8497 		cp		1Fh
  7298 		cp		1Fh
  8498 		jp		z, ErrUndefined
  7299 		jp		z, ErrUndefined
  8499 		ld		hl, (chkDelPtr1)
  7300 		ld		hl, (chkDelPtr1)
  8504 		ld		a, (hl)
  7305 		ld		a, (hl)
  8505 		res		1, (iy+1Eh)
  7306 		res		1, (iy+1Eh)
  8506 		or		a
  7307 		or		a
  8507 		jr		nz, p03loc_6C60
  7308 		jr		nz, p03loc_6C60
  8508 		ld		a, 10h
  7309 		ld		a, 10h
  8509 		ld		c, 4Ch ; 'L'
  7310 		ld		c, 4Ch
  8510 		ld		b, 1Eh
  7311 		ld		b, 1Eh
  8511 		inc		hl
  7312 		inc		hl
  8512 		bit		4, (hl)
  7313 		bit		4, (hl)
  8513 		jr		nz, p03loc_6C83
  7314 		jr		nz, p03loc_6C83
  8514 		add		a, a
  7315 		add		a, a
  8515 		ld		c, 5Ah ; 'Z'
  7316 		ld		c, 5Ah
  8516 		ld		b, 12h
  7317 		ld		b, 12h
  8517 		bit		5, (hl)
  7318 		bit		5, (hl)
  8518 		jr		nz, p03loc_6C83
  7319 		jr		nz, p03loc_6C83
  8519 		add		a, a
  7320 		add		a, a
  8520 		ld		b, 24h ; '$'
  7321 		ld		b, 24h
  8521 		bit		6, (hl)
  7322 		bit		6, (hl)
  8522 		jr		nz, p03loc_6C83
  7323 		jr		nz, p03loc_6C83
  8523 		add		a, a
  7324 		add		a, a
  8524 		ld		c, 96h ; '�'
  7325 		ld		c, 96h
  8525 		ld		b, 9
  7326 		ld		b, 9
  8526 		jr		p03loc_6C83
  7327 		jr		p03loc_6C83
  8527 ; ---------------------------------------------------------------------------
       
  8528 
       
  8529 p03loc_6C60:
  7328 p03loc_6C60:
  8530 		set		1, (iy+1Eh)
  7329 		set		1, (iy+1Eh)
  8531 		ld		a, 10h
  7330 		ld		a, 10h
  8532 		ld		c, 39h ; '9'
  7331 		ld		c, 39h
  8533 		ld		b, 1Eh
  7332 		ld		b, 1Eh
  8534 		bit		4, (hl)
  7333 		bit		4, (hl)
  8535 		jr		nz, p03loc_6C83
  7334 		jr		nz, p03loc_6C83
  8536 		add		a, a
  7335 		add		a, a
  8537 		ld		c, 54h ; 'T'
  7336 		ld		c, 54h
  8538 		ld		b, 12h
  7337 		ld		b, 12h
  8539 		bit		5, (hl)
  7338 		bit		5, (hl)
  8540 		jr		nz, p03loc_6C83
  7339 		jr		nz, p03loc_6C83
  8541 		add		a, a
  7340 		add		a, a
  8542 		ld		b, 24h ; '$'
  7341 		ld		b, 24h
  8543 		bit		6, (hl)
  7342 		bit		6, (hl)
  8544 		jr		nz, p03loc_6C83
  7343 		jr		nz, p03loc_6C83
  8545 		add		a, a
  7344 		add		a, a
  8546 		ld		c, 66h ; 'f'
  7345 		ld		c, 66h
  8547 		ld		b, 6
  7346 		ld		b, 6
  8548 
       
  8549 p03loc_6C83:
  7347 p03loc_6C83:
  8550 		push	af
  7348 		push	af
  8551 		push	bc
  7349 		push	bc
  8552 		ld		b, 0
  7350 		ld		b, 0
  8553 		add		hl, bc
  7351 		add		hl, bc
  8571 		pop		bc
  7369 		pop		bc
  8572 		pop		hl
  7370 		pop		hl
  8573 		ld		a, (OP3M)
  7371 		ld		a, (OP3M)
  8574 		call	IsParametricMode
  7372 		call	IsParametricMode
  8575 		jr		z, p03loc_6CB4
  7373 		jr		z, p03loc_6CB4
  8576 		srl	a
  7374 		srl		a
  8577 
       
  8578 p03loc_6CB4:
  7375 p03loc_6CB4:
  8579 		push	af
  7376 		push	af
  8580 		or		a
  7377 		or		a
  8581 		sbc		hl, de
  7378 		sbc		hl, de
  8582 		jr		c, p03loc_6CD0
  7379 		jr		c, p03loc_6CD0
  8587 		call	pushErrorHandleR
  7384 		call	pushErrorHandleR
  8588 		ld		hl, (OP3+5)
  7385 		ld		hl, (OP3+5)
  8589 		call	ErrNotEnoughMem
  7386 		call	ErrNotEnoughMem
  8590 		call	popErrorHandleR
  7387 		call	popErrorHandleR
  8591 		pop		bc
  7388 		pop		bc
  8592 
       
  8593 p03loc_6CD0:
  7389 p03loc_6CD0:
  8594 		call	SetTblGraphDraw
  7390 		call	SetTblGraphDraw
  8595 		bit		4, b
  7391 		bit		4, b
  8596 		push	bc
  7392 		push	bc
  8597 		call	nz, j_SetFuncM
  7393 		call	nz, j_SetFuncM
  8612 		call	j_AllEq
  7408 		call	j_AllEq
  8613 		ld		hl, (chkDelPtr1)
  7409 		ld		hl, (chkDelPtr1)
  8614 		call	p03sub_6E19
  7410 		call	p03sub_6E19
  8615 		jr		nz, p03loc_6CFD
  7411 		jr		nz, p03loc_6CFD
  8616 		inc		hl
  7412 		inc		hl
  8617 
       
  8618 p03loc_6CFD:
  7413 p03loc_6CFD:
  8619 		inc		hl
  7414 		inc		hl
  8620 		inc		hl
  7415 		inc		hl
  8621 		inc		hl
  7416 		inc		hl
  8622 		ld		a, (hl)
  7417 		ld		a, (hl)
  8625 		ld		a, (hl)
  7420 		ld		a, (hl)
  8626 		res		7, a
  7421 		res		7, a
  8627 		call	p03sub_6E19
  7422 		call	p03sub_6E19
  8628 		jr		z, p03loc_6D0F
  7423 		jr		z, p03loc_6D0F
  8629 		and		1
  7424 		and		1
  8630 
       
  8631 p03loc_6D0F:
  7425 p03loc_6D0F:
  8632 		ld		(iy+0Fh), a
  7426 		ld		(iy+0Fh), a
  8633 		call	p03sub_6E19
  7427 		call	p03sub_6E19
  8634 		jr		nz, p03loc_6D25
  7428 		jr		nz, p03loc_6D25
  8635 		inc		hl
  7429 		inc		hl
  8636 		ld		a, (hl)
  7430 		ld		a, (hl)
  8637 		res		grfExpr, (iy+traceFlags)
  7431 		res		grfExpr, (iy+traceFlags)
  8638 		bit		0, a
  7432 		bit		0, a
  8639 		jr		z, p03loc_6D25
  7433 		jr		z, p03loc_6D25
  8640 		set		grfExpr, (iy+traceFlags)
  7434 		set		grfExpr, (iy+traceFlags)
  8641 
       
  8642 p03loc_6D25:
  7435 p03loc_6D25:
  8643 		inc		hl
  7436 		inc		hl
  8644 		ld		de, Xmin
  7437 		ld		de, Xmin
  8645 		ld		bc, 36h	; '6'
  7438 		ld		bc, 36h
  8646 		ldir
  7439 		ldir
  8647 		call	p03sub_6E19
  7440 		call	p03sub_6E19
  8648 		jr		z, p03loc_6D47
  7441 		jr		z, p03loc_6D47
  8649 		call	IsFuncMode
  7442 		call	IsFuncMode
  8650 		jr		nz, p03loc_6D58
  7443 		jr		nz, p03loc_6D58
  8651 		call	IsRecursiveMode
  7444 		call	IsRecursiveMode
  8652 		jr		z, p03loc_6D47
  7445 		jr		z, p03loc_6D47
  8653 		ld		de, PlotStart
  7446 		ld		de, PlotStart
  8654 		ld		bc, 2Dh	; '-'
  7447 		ld		bc, 2Dh
  8655 		ldir
  7448 		ldir
  8656 		jr		p03loc_6D64
  7449 		jr		p03loc_6D64
  8657 ; ---------------------------------------------------------------------------
       
  8658 
       
  8659 p03loc_6D47:
  7450 p03loc_6D47:
  8660 		call	p03sub_6D9E
  7451 		call	p03sub_6D9E
  8661 		ex		de, hl
  7452 		ex		de, hl
  8662 		ldir
  7453 		ldir
  8663 		call	IsRecursiveMode
  7454 		call	IsRecursiveMode
  8664 		jr		z, p03loc_6D58
  7455 		jr		z, p03loc_6D58
  8665 		ld		de, w02
  7456 		ld		de, w02
  8666 		call	mov9B2
  7457 		call	mov9B2
  8667 
       
  8668 p03loc_6D58:
  7458 p03loc_6D58:
  8669 		call	p03sub_6E19
  7459 		call	p03sub_6E19
  8670 		jr		nz, p03loc_6D64
  7460 		jr		nz, p03loc_6D64
  8671 		ex		de, hl
  7461 		ex		de, hl
  8672 		call	p03sub_6DC1
  7462 		call	p03sub_6DC1
  8673 		ex		de, hl
  7463 		ex		de, hl
  8674 		ldir
  7464 		ldir
  8675 
       
  8676 p03loc_6D64:
  7465 p03loc_6D64:
  8677 		ld		(chkDelPtr1), hl
  7466 		ld		(chkDelPtr1), hl
  8678 		xor		a
  7467 		xor		a
  8679 		pop		bc
  7468 		pop		bc
  8680 
       
  8681 p03loc_6D69:
  7469 p03loc_6D69:
  8682 		push	bc
  7470 		push	bc
  8683 		ld		hl, (chkDelPtr1)
  7471 		ld		hl, (chkDelPtr1)
  8684 		inc		a
  7472 		inc		a
  8685 		push	af
  7473 		push	af
  8697 		set		0, (hl)
  7485 		set		0, (hl)
  8698 		ld		hl, (chkDelPtr1)
  7486 		ld		hl, (chkDelPtr1)
  8699 		ld		a, (hl)
  7487 		ld		a, (hl)
  8700 		inc		hl
  7488 		inc		hl
  8701 		call	p03sub_6DE3
  7489 		call	p03sub_6DE3
  8702 
       
  8703 p03loc_6D91:
  7490 p03loc_6D91:
  8704 		pop		af
  7491 		pop		af
  8705 		pop		bc
  7492 		pop		bc
  8706 		cp		b
  7493 		cp		b
  8707 		jr		nz, p03loc_6D69
  7494 		jr		nz, p03loc_6D69
  8709 p03loc_6D97:
  7496 p03loc_6D97:
  8710 		pop		bc
  7497 		pop		bc
  8711 		ld		(iy+2),	c
  7498 		ld		(iy+2),	c
  8712 		jp		JErrorNo
  7499 		jp		JErrorNo
  8713 
  7500 
  8714 ; =============== S U B	R O U T	I N E =======================================
       
  8715 
       
  8716 
       
  8717 p03sub_6D9E:
  7501 p03sub_6D9E:
  8718 		ex		de, hl
  7502 		ex		de, hl
  8719 ; End of function p03sub_6D9E
       
  8720 
       
  8721 
       
  8722 ; =============== S U B	R O U T	I N E =======================================
       
  8723 
       
  8724 
       
  8725 p03sub_6D9F:
  7503 p03sub_6D9F:
  8726 		ld		hl, XresO
  7504 		ld		hl, XresO
  8727 		ld		bc, 9
  7505 		ld		bc, 9
  8728 		call	IsFuncMode
  7506 		call	IsFuncMode
  8729 		ret		nz
  7507 		ret		nz
  8732 		call	IsFunctionMode
  7510 		call	IsFunctionMode
  8733 		ret		nz
  7511 		ret		nz
  8734 		ld		hl, TminPar
  7512 		ld		hl, TminPar
  8735 		call	IsParametricMode
  7513 		call	IsParametricMode
  8736 		ret		nz
  7514 		ret		nz
  8737 		ld		bc, 51h	; 'Q'
  7515 		ld		bc, 51h
  8738 		ld		hl, PlotStart
  7516 		ld		hl, PlotStart
  8739 		ret
  7517 		ret
  8740 ; End of function p03sub_6D9F
       
  8741 
       
  8742 
       
  8743 ; =============== S U B	R O U T	I N E =======================================
       
  8744 
       
  8745 
  7518 
  8746 p03sub_6DC1:
  7519 p03sub_6DC1:
  8747 
       
  8748 		ld		bc, 6
  7520 		ld		bc, 6
  8749 		ld		hl, polar1LineType
  7521 		ld		hl, polar1LineType
  8750 		call	IsFunctionMode
  7522 		call	IsFunctionMode
  8751 		ret		nz
  7523 		ret		nz
  8752 		ld		hl, para1LineType
  7524 		ld		hl, para1LineType
  8757 		call	IsFuncMode
  7529 		call	IsFuncMode
  8758 		ret		nz
  7530 		ret		nz
  8759 		ld		bc, 3
  7531 		ld		bc, 3
  8760 		ld		hl, secULineType
  7532 		ld		hl, secULineType
  8761 		ret
  7533 		ret
  8762 ; End of function p03sub_6DC1
       
  8763 
       
  8764 
       
  8765 ; =============== S U B	R O U T	I N E =======================================
       
  8766 
       
  8767 
  7534 
  8768 p03sub_6DE3:
  7535 p03sub_6DE3:
  8769 		push	af
  7536 		push	af
  8770 		call	p03sub_6E19
  7537 		call	p03sub_6E19
  8771 		jr		z, p03loc_6DF5
  7538 		jr		z, p03loc_6DF5
  8772 		ld		a, (OP1M)
  7539 		ld		a, (OP1M)
  8773 		cp		82h ; '�'
  7540 		cp		82h
  8774 		jr		nz, p03loc_6DF5
  7541 		jr		nz, p03loc_6DF5
  8775 		call	Create0Equ
  7542 		call	Create0Equ
  8776 		pop		af
  7543 		pop		af
  8777 		ret
  7544 		ret
  8778 ; ---------------------------------------------------------------------------
       
  8779 
       
  8780 p03loc_6DF5:
  7545 p03loc_6DF5:
  8781 		ld		e, (hl)
  7546 		ld		e, (hl)
  8782 		inc		hl
  7547 		inc		hl
  8783 		ld		d, (hl)
  7548 		ld		d, (hl)
  8784 		inc		hl
  7549 		inc		hl
  8794 		or		c
  7559 		or		c
  8795 		jr		z, p03loc_6E11
  7560 		jr		z, p03loc_6E11
  8796 		ld		hl, (chkDelPtr1)
  7561 		ld		hl, (chkDelPtr1)
  8797 		ldir
  7562 		ldir
  8798 		ld		(chkDelPtr1), hl
  7563 		ld		(chkDelPtr1), hl
  8799 
       
  8800 p03loc_6E11:
  7564 p03loc_6E11:
  8801 		pop		hl
  7565 		pop		hl
  8802 		pop		af
  7566 		pop		af
  8803 		bit		5, a
  7567 		bit		5, a
  8804 		ret		z
  7568 		ret		z
  8805 		set		5, (hl)
  7569 		set		5, (hl)
  8806 		ret
  7570 		ret
  8807 ; End of function p03sub_6DE3
       
  8808 
       
  8809 
       
  8810 ; =============== S U B	R O U T	I N E =======================================
       
  8811 
       
  8812 
  7571 
  8813 p03sub_6E19:
  7572 p03sub_6E19:
  8814 		bit		1, (iy+1Eh)
  7573 		bit		1, (iy+1Eh)
  8815 		ret
  7574 		ret
  8816 ; End of function p03sub_6E19
  7575 
  8817 
  7576 CircCmd:call	j_PDspGrph
  8818 ; ---------------------------------------------------------------------------
       
  8819 
       
  8820 CircCmd:
       
  8821 		call	j_PDspGrph
       
  8822 		call	IsOnInterruptSet
  7577 		call	IsOnInterruptSet
  8823 		jr		z, p03loc_6E2A
  7578 		jr		z, p03loc_6E2A
  8824 
       
  8825 p03loc_6E26:
  7579 p03loc_6E26:
  8826 		call	j_TraceOff
  7580 		call	j_TraceOff
  8827 		ret
  7581 		ret
  8828 ; ---------------------------------------------------------------------------
       
  8829 
  7582 
  8830 p03loc_6E2A:
  7583 p03loc_6E2A:
  8831 		call	p03sub_6E2F
  7584 		call	p03sub_6E2F
  8832 		jr		p03loc_6E26
  7585 		jr		p03loc_6E26
  8833 
  7586 
  8834 ; =============== S U B	R O U T	I N E =======================================
       
  8835 
       
  8836 
       
  8837 p03sub_6E2F:
  7587 p03sub_6E2F:
  8838 
       
  8839 		bit		useFastCirc, (iy+plotFlag3)
  7588 		bit		useFastCirc, (iy+plotFlag3)
  8840 		jr		z, p03loc_6E39
  7589 		jr		z, p03loc_6E39
  8841 		call	j_DrawCirc2
  7590 		call	j_DrawCirc2
  8842 		ret
  7591 		ret
  8843 ; ---------------------------------------------------------------------------
       
  8844 
  7592 
  8845 p03loc_6E39:
  7593 p03loc_6E39:
  8846 		ld		hl, (FPS)
  7594 		ld		hl, (FPS)
  8847 		ld		(inputDat), hl
  7595 		ld		(inputDat), hl
  8848 		call	OP1Set0
  7596 		call	OP1Set0
  8849 		rst		18h
  7597 		rst		18h
  8850 		ld		a, 60h ; '`'
  7598 		ld		a, 60h
  8851 		ld		(OP1M), a
  7599 		ld		(OP1M), a
  8852 		bit		trigDeg, (iy+trigFlags)
  7600 		bit		trigDeg, (iy+trigFlags)
  8853 		call	z, DToR
  7601 		call	z, DToR
  8854 		rst		18h
  7602 		rst		18h
  8855 		set		5, (iy+3)
  7603 		set		5, (iy+3)
  8856 		ld		b, 3Dh ; '='
  7604 		ld		b, 3Dh
  8857 
       
  8858 p03loc_6E56:
  7605 p03loc_6E56:
  8859 		push	bc
  7606 		push	bc
  8860 		ld		hl, (inputDat)
  7607 		ld		hl, (inputDat)
  8861 		ld		de, 0FFF7h
  7608 		ld		de, 0FFF7h
  8862 		add		hl, de
  7609 		add		hl, de
  8880 		add		hl, de
  7627 		add		hl, de
  8881 		rst		20h
  7628 		rst		20h
  8882 		rst		30h
  7629 		rst		30h
  8883 		call	OP4ToOP2
  7630 		call	OP4ToOP2
  8884 		call	popErrorHandleR
  7631 		call	popErrorHandleR
  8885 
       
  8886 p03loc_6E8E:
  7632 p03loc_6E8E:
  8887 		bit		5, (iy+3)
  7633 		bit		5, (iy+3)
  8888 		jr		z, p03loc_6E9D
  7634 		jr		z, p03loc_6E9D
  8889 		call	PUSHMCPLXO1
  7635 		call	PUSHMCPLXO1
  8890 		res		5, (iy+3)
  7636 		res		5, (iy+3)
  8891 		jr		p03loc_6EB4
  7637 		jr		p03loc_6EB4
  8892 ; ---------------------------------------------------------------------------
       
  8893 
       
  8894 p03loc_6E9D:
  7638 p03loc_6E9D:
  8895 		ld		de, OP3
  7639 		ld		de, OP3
  8896 		call	CPYFPS1
  7640 		call	CPYFPS1
  8897 		inc		de
  7641 		inc		de
  8898 		inc		de
  7642 		inc		de
  8899 		call	mov9B2
  7643 		call	mov9B2
  8900 		call	CpyO1ToFPS1
  7644 		call	CpyO1ToFPS1
  8901 		ld		de, OP2
  7645 		ld		de, OP2
  8902 		call	CpyToFPST
  7646 		call	CpyToFPST
  8903 		call	CLine
  7647 		call	CLine
  8904 
       
  8905 p03loc_6EB4:
  7648 p03loc_6EB4:
  8906 		ld		hl, (inputDat)
  7649 		ld		hl, (inputDat)
  8907 		rst		20h
  7650 		rst		20h
  8908 		inc		de
  7651 		inc		de
  8909 		inc		de
  7652 		inc		de
  8913 		call	MovFrOP1
  7656 		call	MovFrOP1
  8914 		pop		bc
  7657 		pop		bc
  8915 		call	IsOnInterruptSet
  7658 		call	IsOnInterruptSet
  8916 		jr		nz, p03loc_6ECD
  7659 		jr		nz, p03loc_6ECD
  8917 		djnz	p03loc_6E56
  7660 		djnz	p03loc_6E56
  8918 
       
  8919 p03loc_6ECD:
  7661 p03loc_6ECD:
  8920 		ld		de, 3Fh	; '?'
  7662 		ld		de, 3Fh
  8921 		jp		DeallocFPS1
  7663 		jp		DeallocFPS1
  8922 ; End of function p03sub_6E2F
       
  8923 
  7664 
  8924 p03loc_6ED3:
  7665 p03loc_6ED3:
  8925 		ld		a, 20h ; ' '
  7666 		ld		a, 20h ; ' '
  8926 		ld		(OP1), a
  7667 		ld		(OP1), a
  8927 		ld		(OP2), a
  7668 		ld		(OP2), a
  8928 		jr		p03loc_6E8E
  7669 		jr		p03loc_6E8E
  8929 ; ---------------------------------------------------------------------------
       
  8930 
  7670 
  8931 GrphCirc:
  7671 GrphCirc:
  8932 		ld		hl, (FPS)
  7672 		ld		hl, (FPS)
  8933 		ld		(EQS), hl
  7673 		ld		(EQS), hl
  8934 		ld		hl, 5Ah	; 'Z'
  7674 		ld		hl, 5Ah
  8935 		call	AllocFPS1
  7675 		call	AllocFPS1
  8936 		ld		de, (EQS)
  7676 		ld		de, (EQS)
  8937 		ld		hl, 8E6Ah
  7677 		ld		hl, 8E6Ah
  8938 		call	Mov18B
  7678 		call	Mov18B
  8939 		ld		hl, Xmin
  7679 		ld		hl, Xmin
  8977 		call	j_SqRoot
  7717 		call	j_SqRoot
  8978 		rst		18h
  7718 		rst		18h
  8979 		call	p03sub_6E2F
  7719 		call	p03sub_6E2F
  8980 		call	popErrorHandleR
  7720 		call	popErrorHandleR
  8981 
  7721 
  8982 ; =============== S U B	R O U T	I N E =======================================
       
  8983 
       
  8984 
       
  8985 p03sub_6F6D:
  7722 p03sub_6F6D:
  8986 		ld		hl, (EQS)
  7723 		ld		hl, (EQS)
  8987 		ld		(FPS), hl
  7724 		ld		(FPS), hl
  8988 		ld		de, 8E6Ah
  7725 		ld		de, 8E6Ah
  8989 		call	Mov18B
  7726 		call	Mov18B
  8990 		ld		de, Xmin
  7727 		ld		de, Xmin
  8991 		call	Mov18B
  7728 		call	Mov18B
  8992 		ld		de, Ymin
  7729 		ld		de, Ymin
  8993 		call	Mov18B
  7730 		call	Mov18B
  8994 		ld		de, deltaX
  7731 		ld		de, deltaX
  8995 ; End of function p03sub_6F6D
       
  8996 
       
  8997 
       
  8998 ; =============== S U B	R O U T	I N E =======================================
       
  8999 
       
  9000 
       
  9001 p03sub_6F88:
  7732 p03sub_6F88:
  9002 		call	Mov18B
  7733 		call	Mov18B
  9003 ; End of function p03sub_6F88
  7734 Mov18B:	call	mov9B2
  9004 
       
  9005 
       
  9006 ; =============== S U B	R O U T	I N E =======================================
       
  9007 
       
  9008 
       
  9009 Mov18B:
       
  9010 		call	mov9B2
       
  9011 		jp		mov9B2
  7735 		jp		mov9B2
  9012 ; End of function Mov18B
       
  9013 
  7736 
  9014 p03loc_6F91:
  7737 p03loc_6F91:
  9015 		call	p03sub_6F6D
  7738 		call	p03sub_6F6D
  9016 		jp		JErrorNo
  7739 		jp		JErrorNo
  9017 p03loc_6F97:
  7740 p03loc_6F97:
  9018 		.db		0
  7741 		.db		0
  9019 		.db		81h	; �
  7742 		.db		81h
  9020 		.db		57h	; W
  7743 		.db		57h
  9021 		.db		96h	; �
  7744 		.db		96h
  9022 		.db		0
  7745 		.db		0  
  9023 		.db		0
  7746 		.db		0  
  9024 		.db		0
  7747 		.db		0  
  9025 		.db		0
  7748 		.db		0  
  9026 		.db		0
  7749 		.db		0  
  9027 p03loc_6FA0:
  7750 p03loc_6FA0:       
  9028 		.db		0
  7751 		.db		0  
  9029 		.db		81h	; �
  7752 		.db		81h
  9030 		.db		28h	; (
  7753 		.db		28h
  9031 		.db		52h	; R
  7754 		.db		52h
  9032 		.db		0
  7755 		.db		0  
  9033 		.db		0
  7756 		.db		0  
  9034 		.db		0
  7757 		.db		0  
  9035 		.db		0
  7758 		.db		0  
  9036 		.db		0
  7759 		.db		0  
  9037 		.db		0
  7760 		.db		0  
  9038 		.db		7Fh	; 
  7761 		.db		7Fh
  9039 		.db		46h	; F
  7762 		.db		46h
  9040 		.db		0
  7763 		.db		0  
  9041 		.db		0
  7764 		.db		0  
  9042 		.db		0
  7765 		.db		0  
  9043 		.db		0
  7766 		.db		0  
  9044 		.db		0
  7767 		.db		0  
  9045 		.db		0
  7768 		.db		0  
  9046 		.db		0
  7769 		.db		0  
  9047 		.db		7Fh	; 
  7770 		.db		7Fh
  9048 		.db		46h	; F
  7771 		.db		46h
  9049 		.db		0
  7772 		.db		0  
  9050 		.db		0
  7773 		.db		0  
  9051 		.db		0
  7774 		.db		0  
  9052 		.db		0
  7775 		.db		0  
  9053 		.db		0
  7776 		.db		0  
  9054 		.db		0
  7777 		.db		0  
  9055 		.db		0
  7778 		.db		0  
  9056 		.db		80h	; �
  7779 		.db		80h
  9057 		.db		21h	; !
  7780 		.db		21h
  9058 		.db		73h	; s
  7781 		.db		73h
  9059 		.db		90h	; �
  7782 		.db		90h
  9060 		.db		0
  7783 		.db		0  
  9061 		.db		0
  7784 		.db		0  
  9062 		.db		0
  7785 		.db		0  
  9063 		.db		0
  7786 		.db		0  
  9064 		.db		0
  7787 		.db		0  
  9065 		.db		80h	; �
  7788 		.db		80h
  9066 		.db		21h	; !
  7789 		.db		21h
  9067 		.db		73h	; s
  7790 		.db		73h
  9068 		.db		90h	; �
  7791 		.db		90h
  9069 		.db		0
  7792 		.db		0  
  9070 		.db		0
  7793 		.db		0  
  9071 		.db		0
  7794 		.db		0  
  9072 		.db		0
  7795 		.db		0  
  9073 ; ---------------------------------------------------------------------------
       
  9074 
  7796 
  9075 Page03_35D9:
  7797 Page03_35D9:
  9076 		call	IsOP1Num
  7798 		call	IsOP1Num
  9077 		ret		z
  7799 		ret		z
  9078 		ld		hl, (FPS)
  7800 		ld		hl, (FPS)
  9081 		ld		a, (hl)
  7803 		ld		a, (hl)
  9082 		inc		a
  7804 		inc		a
  9083 		jr		nz, p03loc_6FE2
  7805 		jr		nz, p03loc_6FE2
  9084 		call	CpyO1ToFPS1
  7806 		call	CpyO1ToFPS1
  9085 		jp		CpyO1ToFPST
  7807 		jp		CpyO1ToFPST
  9086 ; ---------------------------------------------------------------------------
       
  9087 
       
  9088 p03loc_6FE2:
  7808 p03loc_6FE2:
  9089 		call	OP1ToOP5
  7809 		call	OP1ToOP5
  9090 		call	CpyTo2FPS1
  7810 		call	CpyTo2FPS1
  9091 		call	cpop1op2
  7811 		call	cpop1op2
  9092 		jp		c, CpyO5ToFPS1
  7812 		jp		c, CpyO5ToFPS1
  9094 		call	CpyTo1FPST
  7814 		call	CpyTo1FPST
  9095 		call	cpop1op2
  7815 		call	cpop1op2
  9096 		ret		nc
  7816 		ret		nc
  9097 		call	OP5ToOP1
  7817 		call	OP5ToOP1
  9098 		jp		CpyO1ToFPST
  7818 		jp		CpyO1ToFPST
  9099 ; ---------------------------------------------------------------------------
       
  9100 
       
  9101 p03loc_6FFE:
  7819 p03loc_6FFE:
  9102 		scf
  7820 		scf
  9103 
       
  9104 ZOOMXYCMD:
  7821 ZOOMXYCMD:
  9105 		push	de
  7822 		push	de
  9106 		push	af
  7823 		push	af
  9107 		push	hl
  7824 		push	hl
  9108 		ld		a, 1
  7825 		ld		a, 1
  9109 		call	Page0Call_3537
  7826 		call	Page0Call_3537
  9110 		call	PushRealO5
  7827 		call	PushRealO5
  9111 		jr		p03loc_7016
  7828 		jr		p03loc_7016
  9112 ; ---------------------------------------------------------------------------
       
  9113 
  7829 
  9114 Page03_35DF:
  7830 Page03_35DF:
  9115 		push	de
  7831 		push	de
  9116 		push	af
  7832 		push	af
  9117 		push	hl
  7833 		push	hl
  9118 		call	j_RclX
  7834 		call	j_RclX
  9119 		rst		18h
  7835 		rst		18h
  9120 		call	j_RclY
  7836 		call	j_RclY
  9121 
       
  9122 p03loc_7016:
  7837 p03loc_7016:
  9123 		call	OP1ToOP5
  7838 		call	OP1ToOP5
  9124 		ld		hl, Ymin
  7839 		ld		hl, Ymin
  9125 		pop		de
  7840 		pop		de
  9126 		pop		af
  7841 		pop		af
  9131 		call	PUSHMCPLXO1
  7846 		call	PUSHMCPLXO1
  9132 		ld		hl, Xmin
  7847 		ld		hl, Xmin
  9133 		pop		af
  7848 		pop		af
  9134 		pop		de
  7849 		pop		de
  9135 		call	Page0Call_3543
  7850 		call	Page0Call_3543
  9136 
       
  9137 Page03_35E5:
  7851 Page03_35E5:
  9138 		call	j_COPYRNG
  7852 		call	j_COPYRNG
  9139 		ld		de, Xmin
  7853 		ld		de, Xmin
  9140 		call	MovFrOP1
  7854 		call	MovFrOP1
  9141 		ld		hl, OP4
  7855 		ld		hl, OP4
  9146 		call	MovFrOP1
  7860 		call	MovFrOP1
  9147 		inc		hl
  7861 		inc		hl
  9148 		inc		hl
  7862 		inc		hl
  9149 		jp		mov9B2
  7863 		jp		mov9B2
  9150 
  7864 
  9151 ; =============== S U B	R O U T	I N E =======================================
       
  9152 
       
  9153 
       
  9154 p03sub_7053:
  7865 p03sub_7053:
  9155 		push	af
  7866 		push	af
  9156 		ld		de, 0FFF1h
  7867 		ld		de, 0FFF1h
  9157 		add		hl, de
  7868 		add		hl, de
  9158 		call	p03sub_7070
  7869 		call	p03sub_7070
  9161 		ret		z
  7872 		ret		z
  9162 		cp		2
  7873 		cp		2
  9163 		jr		c, p03loc_706C
  7874 		jr		c, p03loc_706C
  9164 		add		hl, bc
  7875 		add		hl, bc
  9165 		ld		a, (hl)
  7876 		ld		a, (hl)
  9166 		cp		31h ; '1'
  7877 		cp		'1'
  9167 		ret		z
  7878 		ret		z
  9168 		call	p03sub_7070
  7879 		call	p03sub_7070
  9169 		ret
  7880 		ret
  9170 ; ---------------------------------------------------------------------------
       
  9171 
       
  9172 p03loc_706C:
  7881 p03loc_706C:
  9173 		call	p03sub_7070
  7882 		call	p03sub_7070
  9174 		ret
  7883 		ret
  9175 ; End of function p03sub_7053
       
  9176 
       
  9177 
       
  9178 ; =============== S U B	R O U T	I N E =======================================
       
  9179 
       
  9180 
  7884 
  9181 p03sub_7070:
  7885 p03sub_7070:
  9182 		push	hl
  7886 		push	hl
  9183 		call	p03sub_6692
  7887 		call	p03sub_6692
  9184 		call	j_Find_Parse_Formula
  7888 		call	j_Find_Parse_Formula
  9185 		pop		hl
  7889 		pop		hl
  9186 		ld		bc, 5
  7890 		ld		bc, 5
  9187 		add		hl, bc
  7891 		add		hl, bc
  9188 		ret
  7892 		ret
  9189 ; End of function p03sub_7070
       
  9190 
       
  9191 
       
  9192 ; =============== S U B	R O U T	I N E =======================================
       
  9193 
       
  9194 
  7893 
  9195 p03sub_707D:
  7894 p03sub_707D:
  9196 		; POINT_STAT_HLP+8p
       
  9197 		ld		hl, (FPS)
  7895 		ld		hl, (FPS)
  9198 		ld		de, 0FFF7h
  7896 		ld		de, 0FFF7h
  9199 		add		hl, de
  7897 		add		hl, de
  9200 ; End of function p03sub_707D
       
  9201 
       
  9202 
       
  9203 ; =============== S U B	R O U T	I N E =======================================
       
  9204 
       
  9205 
  7898 
  9206 p03sub_7084:
  7899 p03sub_7084:
  9207 		ex		de, hl
  7900 		ex		de, hl
  9208 		add		hl, de
  7901 		add		hl, de
  9209 		ex		de, hl
  7902 		ex		de, hl
  9210 		call	j_CheckXY
  7903 		call	j_CheckXY
  9211 		ret
  7904 		ret
  9212 ; End of function p03sub_7084
       
  9213 
       
  9214 ; ---------------------------------------------------------------------------
       
  9215 
  7905 
  9216 Page03_35EB:
  7906 Page03_35EB:
  9217 		or		a
  7907 		or		a
  9218 		jp		z, GrphCirc
  7908 		jp		z, GrphCirc
  9219 		cp		8Fh ; '�'
  7909 		cp		8Fh
  9220 		jp		z, ZmStats
  7910 		jp		z, ZmStats
  9221 		cp		9Ah ; '�'
  7911 		cp		9Ah
  9222 		jp		z, StoGDB2
  7912 		jp		z, StoGDB2
  9223 		cp		9Bh ; '�'
  7913 		cp		9Bh
  9224 		jp		z, RclGDB2
  7914 		jp		z, RclGDB2
  9225 		cp		0A5h ; '�'
  7915 		cp		0A5h
  9226 		jp		z, CircCmd
  7916 		jp		z, CircCmd
  9227 		cp		8Ah ; '�'
  7917 		cp		8Ah
  9228 		jp		z, ZOOMXYCMD
  7918 		jp		z, ZOOMXYCMD
  9229 		cp		89h ; '�'
  7919 		cp		89h
  9230 		jp		z, p03loc_6FFE
  7920 		jp		z, p03loc_6FFE
  9231 		ret
  7921 		ret
  9232 ; ---------------------------------------------------------------------------
       
  9233 
  7922 
  9234 p03loc_70AE:
  7923 p03loc_70AE:
  9235 		call	p03sub_748F
  7924 		call	p03sub_748F
  9236 
       
  9237 InitInfStatEditorContext:
  7925 InitInfStatEditorContext:
  9238 		ld		a, (keyExtend)
  7926 		ld		a, (keyExtend)
  9239 		call	p03sub_7CBB
  7927 		call	p03sub_7CBB
  9240 		jr		z, p03loc_70BF
  7928 		jr		z, p03loc_70BF
  9241 		set		4, a
  7929 		set		4, a
  9242 		set		4, (iy+1Ch)
  7930 		set		4, (iy+1Ch)
  9243 
       
  9244 p03loc_70BF:
  7931 p03loc_70BF:
  9245 		ld		(unk_8D0A), a
  7932 		ld		(unk_8D0A), a
  9246 		ld		hl, p03loc_7650
  7933 		ld		hl, p03loc_7650
  9247 		call	AppInitEnoughMem50
  7934 		call	AppInitEnoughMem50
  9248 		set		grfSplitOverride, (iy+sGrFlags)
  7935 		set		grfSplitOverride, (iy+sGrFlags)
  9249 
       
  9250 p03loc_70CC:
  7936 p03loc_70CC:
  9251 		call	p03sub_71FC
  7937 		call	p03sub_71FC
  9252 		inc		hl
  7938 		inc		hl
  9253 		ld		e, (hl)
  7939 		ld		e, (hl)
  9254 		inc		hl
  7940 		inc		hl
  9255 		ld		d, (hl)
  7941 		ld		d, (hl)
  9256 		ex		de, hl
  7942 		ex		de, hl
  9257 		ld		a, 74h ; 't'
  7943 		ld		a, 74h
  9258 		bit		localizeHookActive, (iy+hookflags3)
  7944 		bit		localizeHookActive, (iy+hookflags3)
  9259 		call	nz, j_call_character_hook
  7945 		call	nz, j_call_character_hook
  9260 		ld		de, OP3
  7946 		ld		de, OP3
  9261 		call	Mov8B
  7947 		call	Mov8B
  9262 		call	Mov8B
  7948 		call	Mov8B
  9263 		call	Page03_3711
  7949 		call	Page03_3711
  9264 		call	j_ClrWindow
  7950 		call	j_ClrWindow
  9265 		call	p03sub_722B
  7951 		call	p03sub_722B
  9266 		ld		a, 1
  7952 		ld		a, 1
  9267 		ld		(curRow), a
  7953 		ld		(curRow), a
  9268 
       
  9269 p03loc_70F4:
  7954 p03loc_70F4:
  9270 		call	p03sub_74AD
  7955 		call	p03sub_74AD
  9271 		ld		hl, (unk_9700)
  7956 		ld		hl, (unk_9700)
  9272 		ld		a, (hl)
  7957 		ld		a, (hl)
  9273 		ld		(unk_8D0B), a
  7958 		ld		(unk_8D0B), a
  9274 		call	p03sub_7264
  7959 		call	p03sub_7264
  9275 		call	p03sub_7316
  7960 		call	p03sub_7316
  9276 		jp		nz, p03loc_710B
  7961 		jp		nz, p03loc_710B
  9277 		call	p03loc_45E3
  7962 		call	p03loc_45E3
  9278 		ret
  7963 		ret
  9279 ; ---------------------------------------------------------------------------
       
  9280 
       
  9281 p03loc_710B:
  7964 p03loc_710B:
  9282 		res		6, (iy+1Ch)
  7965 		res		6, (iy+1Ch)
  9283 		set		5, (iy+1Ch)
  7966 		set		5, (iy+1Ch)
  9284 		cp		8
  7967 		cp		8
  9285 		jr		z, p03loc_7132
  7968 		jr		z, p03loc_7132
  9288 		jr		z, p03loc_7132
  7971 		jr		z, p03loc_7132
  9289 		cp		3
  7972 		cp		3
  9290 		jr		nz, p03loc_7129
  7973 		jr		nz, p03loc_7129
  9291 		set		1, (iy+18h)
  7974 		set		1, (iy+18h)
  9292 		jr		p03loc_7132
  7975 		jr		p03loc_7132
  9293 ; ---------------------------------------------------------------------------
       
  9294 
       
  9295 p03loc_7129:
  7976 p03loc_7129:
  9296 		cp		9
  7977 		cp		9
  9297 		jp		nz, p03loc_71CB
  7978 		jp		nz, p03loc_71CB
  9298 		set		6, (iy+1Ch)
  7979 		set		6, (iy+1Ch)
  9299 
       
  9300 p03loc_7132:
  7980 p03loc_7132:
  9301 		set		7, (iy+1Ch)
  7981 		set		7, (iy+1Ch)
  9302 		call	Page03_37AD
  7982 		call	Page03_37AD
  9303 		set		6, (iy+5)
  7983 		set		6, (iy+5)
  9304 		call	j_CATALOGCHK
  7984 		call	j_CATALOGCHK
  9306 		bit		5, (iy+1Ch)
  7986 		bit		5, (iy+1Ch)
  9307 		jr		nz, p03loc_7152
  7987 		jr		nz, p03loc_7152
  9308 		bit		6, (iy+1Ch)
  7988 		bit		6, (iy+1Ch)
  9309 		jr		nz, p03loc_7152
  7989 		jr		nz, p03loc_7152
  9310 		ld		hl, 84CCh
  7990 		ld		hl, 84CCh
  9311 
       
  9312 p03loc_7152:
  7991 p03loc_7152:
  9313 		ld		(editBtm), hl
  7992 		ld		(editBtm), hl
  9314 		ld		(editTail), hl
  7993 		ld		(editTail), hl
  9315 		ld		a, (unk_8D0B)
  7994 		ld		a, (unk_8D0B)
  9316 		call	j_CMP_STATPTR
  7995 		call	j_CMP_STATPTR
  9317 		inc		hl
  7996 		inc		hl
  9318 		bit		6, (iy+1Ch)
  7997 		bit		6, (iy+1Ch)
  9319 		jr		z, p03loc_716E
  7998 		jr		z, p03loc_716E
  9320 		ld		a, (hl)
  7999 		ld		a, (hl)
  9321 		cp		5Eh ; '^'
  8000 		cp		5Eh
  9322 		jr		z, p03loc_7174
  8001 		jr		z, p03loc_7174
  9323 		call	CancelAlpha
  8002 		call	CancelAlpha
  9324 		ret
  8003 		ret
  9325 ; ---------------------------------------------------------------------------
       
  9326 
       
  9327 p03loc_716E:
  8004 p03loc_716E:
  9328 		bit		5, (iy+1Ch)
  8005 		bit		5, (iy+1Ch)
  9329 		jr		z, p03loc_7185
  8006 		jr		z, p03loc_7185
  9330 
       
  9331 p03loc_7174:
  8007 p03loc_7174:
  9332 		ld		de, nameBuff
  8008 		ld		de, nameBuff
  9333 		call	Mov5B
  8009 		call	Mov5B
  9334 		call	CancelAlpha
  8010 		call	CancelAlpha
  9335 		call	Page03_37A7
  8011 		call	Page03_37A7
  9336 		ld		bc, 2
  8012 		ld		bc, 2
  9337 		jr		p03loc_7191
  8013 		jr		p03loc_7191
  9338 ; ---------------------------------------------------------------------------
       
  9339 
       
  9340 p03loc_7185:
  8014 p03loc_7185:
  9341 		call	j_NameToBuf
  8015 		call	j_NameToBuf
  9342 		call	j_RstrSomeFlags
  8016 		call	j_RstrSomeFlags
  9343 		call	Page03_37A7
  8017 		call	Page03_37A7
  9344 		call	j_CurNameLength
  8018 		call	j_CurNameLength
  9345 
       
  9346 p03loc_7191:
  8019 p03loc_7191:
  9347 		ld		hl, (editBtm)
  8020 		ld		hl, (editBtm)
  9348 		sbc		hl, bc
  8021 		sbc		hl, bc
  9349 		ld		(editTail), hl
  8022 		ld		(editTail), hl
  9350 		ld		hl, nameBuff
  8023 		ld		hl, nameBuff
  9353 		ld		de, (editBtm)
  8026 		ld		de, (editBtm)
  9354 		dec		de
  8027 		dec		de
  9355 		lddr
  8028 		lddr
  9356 		ret
  8029 		ret
  9357 
  8030 
  9358 ; =============== S U B	R O U T	I N E =======================================
       
  9359 
       
  9360 
       
  9361 p03sub_71A6:
  8031 p03sub_71A6:
  9362 		push	af
  8032 		push	af
  9363 		sub		52h ; 'R'
  8033 		sub		52h
  9364 		ld		hl, p03loc_7AD2
  8034 		ld		hl, p03loc_7AD2
  9365 		call	ldHLind_AWord
  8035 		call	ldHLind_AWord
  9366 		pop		af
  8036 		pop		af
  9367 		cp		58h ; 'X'
  8037 		cp		58h
  9368 		jr		c, p03loc_71BA
  8038 		jr		c, p03loc_71BA
  9369 		cp		5Ah ; 'Z'
  8039 		cp		5Ah
  9370 		jr		z, p03loc_71BE
  8040 		jr		z, p03loc_71BE
  9371 		jr		p03loc_71C2
  8041 		jr		p03loc_71C2
  9372 ; ---------------------------------------------------------------------------
       
  9373 
       
  9374 p03loc_71BA:
  8042 p03loc_71BA:
  9375 		ld		a, 3
  8043 		ld		a, 3
  9376 		jr		p03loc_71C4
  8044 		jr		p03loc_71C4
  9377 ; ---------------------------------------------------------------------------
       
  9378 
       
  9379 p03loc_71BE:
  8045 p03loc_71BE:
  9380 		ld		a, 1
  8046 		ld		a, 1
  9381 		jr		p03loc_71C4
  8047 		jr		p03loc_71C4
  9382 ; ---------------------------------------------------------------------------
       
  9383 
       
  9384 p03loc_71C2:
  8048 p03loc_71C2:
  9385 		ld		a, 2
  8049 		ld		a, 2
  9386 
       
  9387 p03loc_71C4:
  8050 p03loc_71C4:
  9388 		ld		(unk_97A1), a
  8051 		ld		(unk_97A1), a
  9389 		ld		(unk_979F), hl
  8052 		ld		(unk_979F), hl
  9390 		ret
  8053 		ret
  9391 ; End of function p03sub_71A6
       
  9392 
       
  9393 ; ---------------------------------------------------------------------------
       
  9394 
  8054 
  9395 p03loc_71CB:
  8055 p03loc_71CB:
  9396 		ld		a, (unk_8D0B)
  8056 		ld		a, (unk_8D0B)
  9397 		call	p03sub_71A6
  8057 		call	p03sub_71A6
  9398 		ld		(unk_97A3), hl
  8058 		ld		(unk_97A3), hl
  9399 		ld		a, (unk_8D0B)
  8059 		ld		a, (unk_8D0B)
  9400 		cp		58h ; 'X'
  8060 		cp		58h
  9401 		jr		z, p03loc_71DF
  8061 		jr		z, p03loc_71DF
  9402 		res		4, (iy+1Ch)
  8062 		res		4, (iy+1Ch)
  9403 
       
  9404 p03loc_71DF:
  8063 p03loc_71DF:
  9405 		set		appCurWord, (iy+appFlags)
  8064 		set		appCurWord, (iy+appFlags)
  9406 		res		appTextSave, (iy+appFlags)
  8065 		res		appTextSave, (iy+appFlags)
  9407 		call	CanAlphIns
  8066 		call	CanAlphIns
  9408 		bit		4, (iy+1Ch)
  8067 		bit		4, (iy+1Ch)
  9411 		call	p03sub_7CBB
  8070 		call	p03sub_7CBB
  9412 		ret		z
  8071 		ret		z
  9413 		ld		a, 1
  8072 		ld		a, 1
  9414 		jp		p03loc_7D84
  8073 		jp		p03loc_7D84
  9415 
  8074 
  9416 ; =============== S U B	R O U T	I N E =======================================
       
  9417 
       
  9418 
       
  9419 p03sub_71FC:
  8075 p03sub_71FC:
  9420 		; p03sub_7C6Cp
       
  9421 		ld		a, (unk_8D0A)
  8076 		ld		a, (unk_8D0A)
  9422 		sla	a
  8077 		sla	a
  9423 		sla	a
  8078 		sla	a
  9424 		ld		e, a
  8079 		ld		e, a
  9425 		ld		d, 0
  8080 		ld		d, 0
  9428 		ld		e, (hl)
  8083 		ld		e, (hl)
  9429 		inc		hl
  8084 		inc		hl
  9430 		ld		d, (hl)
  8085 		ld		d, (hl)
  9431 		ld		(unk_9700), de
  8086 		ld		(unk_9700), de
  9432 		ret
  8087 		ret
  9433 ; End of function p03sub_71FC
       
  9434 
       
  9435 
       
  9436 ; =============== S U B	R O U T	I N E =======================================
       
  9437 
       
  9438 
  8088 
  9439 p03sub_7212:
  8089 p03sub_7212:
  9440 		push	ix
  8090 		push	ix
  9441 		ld		ix, (unk_9700)
  8091 		ld		ix, (unk_9700)
  9442 		ld		a, (curRow)
  8092 		ld		a, (curRow)
  9444 		jr		z, p03loc_7235
  8094 		jr		z, p03loc_7235
  9445 		dec		a
  8095 		dec		a
  9446 		jr		z, p03loc_7235
  8096 		jr		z, p03loc_7235
  9447 		ld		b, a
  8097 		ld		b, a
  9448 		ld		de, 0FFFDh
  8098 		ld		de, 0FFFDh
  9449 
       
  9450 p03loc_7225:
  8099 p03loc_7225:
  9451 		add		ix, de
  8100 		add		ix, de
  9452 		djnz	p03loc_7225
  8101 		djnz	p03loc_7225
  9453 		jr		p03loc_7235
  8102 		jr		p03loc_7235
  9454 ; End of function p03sub_7212
       
  9455 
       
  9456 
       
  9457 ; =============== S U B	R O U T	I N E =======================================
       
  9458 
       
  9459 
  8103 
  9460 p03sub_722B:
  8104 p03sub_722B:
  9461 		push	ix
  8105 		push	ix
  9462 		ld		ix, (unk_9700)
  8106 		ld		ix, (unk_9700)
  9463 		res		5, (iy+1Dh)
  8107 		res		5, (iy+1Dh)
  9464 
       
  9465 p03loc_7235:
  8108 p03loc_7235:
  9466 		ld		a, 1
  8109 		ld		a, 1
  9467 		ld		(curRow), a
  8110 		ld		(curRow), a
  9468 
       
  9469 p03loc_723A:
  8111 p03loc_723A:
  9470 		sub		a
  8112 		sub		a
  9471 		ld		(curRow+1), a
  8113 		ld		(curCol), a
  9472 		ld		a, (curRow)
  8114 		ld		a, (curRow)
  9473 		ld		hl, winBtm
  8115 		ld		hl, winBtm
  9474 		cp		(hl)
  8116 		cp		(hl)
  9475 		jr		nc, p03loc_7261
  8117 		jr		nc, p03loc_7261
  9476 		ld		a, (ix+0)
  8118 		ld		a, (ix+0)
  9481 		ld		de, 3
  8123 		ld		de, 3
  9482 		add		ix, de
  8124 		add		ix, de
  9483 		ld		hl, curRow
  8125 		ld		hl, curRow
  9484 		inc		(hl)
  8126 		inc		(hl)
  9485 		jr		p03loc_723A
  8127 		jr		p03loc_723A
  9486 ; ---------------------------------------------------------------------------
       
  9487 
       
  9488 p03loc_725E:
  8128 p03loc_725E:
  9489 		call	j_EraseEOW2
  8129 		call	j_EraseEOW2
  9490 
       
  9491 p03loc_7261:
  8130 p03loc_7261:
  9492 		pop		ix
  8131 		pop		ix
  9493 		ret
  8132 		ret
  9494 ; End of function p03sub_722B
       
  9495 
       
  9496 
       
  9497 ; =============== S U B	R O U T	I N E =======================================
       
  9498 
       
  9499 
  8133 
  9500 p03sub_7264:
  8134 p03sub_7264:
  9501 		push	hl
  8135 		push	hl
  9502 		sub		47h ; 'G'
  8136 		sub		47h
  9503 		ld		e, a
  8137 		ld		e, a
  9504 		ld		a, 0
  8138 		ld		a, 0
  9505 		jr		c, p03loc_7273
  8139 		jr		c, p03loc_7273
  9506 		ld		d, 0
  8140 		ld		d, 0
  9507 		ld		hl, p03loc_765D
  8141 		ld		hl, p03loc_765D
  9508 		add		hl, de
  8142 		add		hl, de
  9509 		ld		a, (hl)
  8143 		ld		a, (hl)
  9510 
       
  9511 p03loc_7273:
  8144 p03loc_7273:
  9512 		ld		(unk_8D0B+1), a
  8145 		ld		(unk_8D0B+1), a
  9513 		pop		hl
  8146 		pop		hl
  9514 		ret
  8147 		ret
  9515 ; End of function p03sub_7264
       
  9516 
       
  9517 
       
  9518 ; =============== S U B	R O U T	I N E =======================================
       
  9519 
       
  9520 
  8148 
  9521 p03sub_7278:
  8149 p03sub_7278:
  9522 
       
  9523 
       
  9524 
       
  9525 		call	p03sub_7264
  8150 		call	p03sub_7264
  9526 		call	setTitle
  8151 		call	setTitle
  9527 		call	p03sub_4D49
  8152 		call	p03sub_4D49
  9528 		ld		a, (ix+0)
  8153 		ld		a, (ix+0)
  9529 		cp		5Ah ; 'Z'
  8154 		cp		5Ah
  9530 		ret		z
  8155 		ret		z
  9531 		cp		5Bh ; '['
  8156 		cp		5Bh
  9532 		jp		nc, p03loc_72BC
  8157 		jp		nc, p03loc_72BC
  9533 		cp		54h ; 'T'
  8158 		cp		54h
  9534 		jr		z, p03loc_7295
  8159 		jr		z, p03loc_7295
  9535 		ld		a, 3Ah ; ':'
  8160 		ld		a, 3Ah
  9536 		call	j_PutC
  8161 		call	j_PutC
  9537 
       
  9538 p03loc_7295:
  8162 p03loc_7295:
  9539 		ld		a, (ix+0)
  8163 		ld		a, (ix+0)
  9540 		cp		52h ; 'R'
  8164 		cp		52h
  9541 		jp		c, p03loc_72D9
  8165 		jp		c, p03loc_72D9
  9542 		call	p03sub_71A6
  8166 		call	p03sub_71A6
  9543 		push	ix
  8167 		push	ix
  9544 		call	p03sub_7D48
  8168 		call	p03sub_7D48
  9545 		pop		ix
  8169 		pop		ix
  9546 		ret
  8170 		ret
  9547 ; ---------------------------------------------------------------------------
  8171 
       
  8172 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  8173 ;Not referenced anywhere.
  9548 		ld		a, (unk_89F5)
  8174 		ld		a, (unk_89F5)
  9549 		push	af
  8175 		push	af
  9550 		set		textInverse, (iy+textFlags)
  8176 		set		textInverse, (iy+textFlags)
  9551 		set		preClrForMode, (iy+newDispF)
  8177 		set		preClrForMode, (iy+newDispF)
  9552 		call	p03sub_4D49
  8178 		call	p03sub_4D49
  9553 		pop		af
  8179 		pop		af
  9554 		ld		(unk_89F5), a
  8180 		ld		(unk_89F5), a
  9555 		ret
  8181 		ret
  9556 ; ---------------------------------------------------------------------------
  8182 #endif
  9557 
  8183 
  9558 p03loc_72BC:
  8184 p03loc_72BC:
  9559 		ld		a, 20h ; ' '
  8185 		ld		a, ' '
  9560 		call	j_PutC
  8186 		call	j_PutC
  9561 		ld		hl, p03loc_7A64
  8187 		ld		hl, p03loc_7A64
  9562 		ld		a, 71h ; 'q'
  8188 		ld		a, 71h
  9563 		bit		localizeHookActive, (iy+hookflags3)
  8189 		bit		localizeHookActive, (iy+hookflags3)
  9564 		call	nz, j_call_character_hook
  8190 		call	nz, j_call_character_hook
  9565 		call	p03sub_4D49
  8191 		call	p03sub_4D49
  9566 		ret		c
  8192 		ret		c
  9567 		ld		a, (curRow)
  8193 		ld		a, (curRow)
  9568 		dec		a
  8194 		dec		a
  9569 		ld		(curRow), a
  8195 		ld		(curRow), a
  9570 		ret
  8196 		ret
  9571 ; ---------------------------------------------------------------------------
       
  9572 
  8197 
  9573 p03loc_72D9:
  8198 p03loc_72D9:
  9574 		bit		5, (iy+1Dh)
  8199 		bit		5, (iy+1Dh)
  9575 		ret		nz
  8200 		ret		nz
  9576 		call	Rcl_StatVar
  8201 		call	Rcl_StatVar
  9577 		ld		a, (ix+0)
  8202 		ld		a, (ix+0)
  9578 		cp		51h ; 'Q'
  8203 		cp		51h
  9579 		jr		nz, p03loc_72F1
  8204 		jr		nz, p03loc_72F1
  9580 		call	CkOP1Real
  8205 		call	CkOP1Real
  9581 		cp		3
  8206 		cp		3
  9582 		ret		nz
  8207 		ret		nz
  9583 		jp		p03loc_7DBC
  8208 		jp		p03loc_7DBC
  9584 ; ---------------------------------------------------------------------------
       
  9585 
       
  9586 p03loc_72F1:
  8209 p03loc_72F1:
  9587 		call	CkOP1Real
  8210 		call	CkOP1Real
  9588 		cp		2
  8211 		cp		2
  9589 		jp		z, p03loc_7DBC
  8212 		jp		z, p03loc_7DBC
  9590 		cp		1
  8213 		cp		1
  9591 		jr		z, p03loc_7301
  8214 		jr		z, p03loc_7301
  9592 		cp		0Dh
  8215 		cp		0Dh
  9593 		jr		nz, p03loc_7308
  8216 		jr		nz, p03loc_7308
  9594 
       
  9595 p03loc_7301:
  8217 p03loc_7301:
  9596 		ld		hl, OP1+1
  8218 		ld		hl, OP1+1
  9597 		call	j_RstrSomeFlags
  8219 		call	j_RstrSomeFlags
  9598 		ret
  8220 		ret
  9599 ; ---------------------------------------------------------------------------
       
  9600 
       
  9601 p03loc_7308:
  8221 p03loc_7308:
  9602 		cp		0Eh
  8222 		cp		0Eh
  9603 		jr		nz, p03loc_7310
  8223 		jr		nz, p03loc_7310
  9604 		xor		a
  8224 		xor		a
  9605 		ld		(OP1), a
  8225 		ld		(OP1), a
  9606 
       
  9607 p03loc_7310:
  8226 p03loc_7310:
  9608 		call	j_setNumWindow
  8227 		call	j_setNumWindow
  9609 		jp		p03loc_4587
  8228 		jp		p03loc_4587
  9610 ; End of function p03sub_7278
       
  9611 
       
  9612 
       
  9613 ; =============== S U B	R O U T	I N E =======================================
       
  9614 
       
  9615 
  8229 
  9616 p03sub_7316:
  8230 p03sub_7316:
  9617 
       
  9618 		ld		b, a
  8231 		ld		b, a
  9619 		ld		a, (unk_8D0B+1)
  8232 		ld		a, (unk_8D0B+1)
  9620 		or		a
  8233 		or		a
  9621 		ld		a, b
  8234 		ld		a, b
  9622 		ret
  8235 		ret
  9623 ; End of function p03sub_7316
       
  9624 
  8236 
  9625 p03loc_731D:
  8237 p03loc_731D:
  9626 		cp		27h ; '''
  8238 		cp		kApp
  9627 		jp		z, p03loc_70AE
  8239 		jp		z, p03loc_70AE
  9628 		bit		7, (iy+1Ch)
  8240 		bit		7, (iy+1Ch)
  9629 		jp		nz, Page0Call_342F
  8241 		jp		nz, Page0Call_342F
  9630 		cp		5
  8242 		cp		5
  9631 		jr		z, p03loc_7332
  8243 		jr		z, p03loc_7332
  9632 		cp		4
  8244 		cp		4
  9633 		jp		nz, p03loc_7395
  8245 		jp		nz, p03loc_7395
  9634 
       
  9635 p03loc_7332:
  8246 p03loc_7332:
  9636 		call	p03sub_7316
  8247 		call	p03sub_7316
  9637 		jr		nz, p03loc_7343
  8248 		jr		nz, p03loc_7343
  9638 		call	IsEditEmpty
  8249 		call	IsEditEmpty
  9639 		ret		z
  8250 		ret		z
  9640 		call	ParseAndStoreSysVar
  8251 		call	ParseAndStoreSysVar
  9641 		call	DisplayEditSysVar
  8252 		call	DisplayEditSysVar
  9642 		jr		p03loc_7366
  8253 		jr		p03loc_7366
  9643 ; ---------------------------------------------------------------------------
       
  9644 
       
  9645 p03loc_7343:
  8254 p03loc_7343:
  9646 		cp		5
  8255 		cp		5
  9647 		jr		z, p03loc_7356
  8256 		jr		z, p03loc_7356
  9648 		push	ix
  8257 		push	ix
  9649 		ld		ix, (unk_9700)
  8258 		ld		ix, (unk_9700)
  9650 		ld		a, (ix+3)
  8259 		ld		a, (ix+3)
  9651 		pop		ix
  8260 		pop		ix
  9652 		inc		a
  8261 		inc		a
  9653 		ret		z
  8262 		ret		z
  9654 		jr		p03loc_7366
  8263 		jr		p03loc_7366
  9655 ; ---------------------------------------------------------------------------
       
  9656 
       
  9657 p03loc_7356:
  8264 p03loc_7356:
  9658 		ld		a, (unk_8D0B+1)
  8265 		ld		a, (unk_8D0B+1)
  9659 		cp		6
  8266 		cp		6
  9660 		jp		z, p03loc_75C0
  8267 		jp		z, p03loc_75C0
  9661 		cp		7
  8268 		cp		7
  9662 		jp		z, p03loc_75C0
  8269 		jp		z, p03loc_75C0
  9663 		jp		p03loc_7D23
  8270 		jp		p03loc_7D23
  9664 ; ---------------------------------------------------------------------------
       
  9665 
       
  9666 p03loc_7366:
  8271 p03loc_7366:
  9667 		call	p03sub_74B9
  8272 		call	p03sub_74B9
  9668 		call	p03sub_7474
  8273 		call	p03sub_7474
  9669 		ld		ix, (unk_9700)
  8274 		ld		ix, (unk_9700)
  9670 		ld		a, (ix+3)
  8275 		ld		a, (ix+3)
  9673 		ld		de, 3
  8278 		ld		de, 3
  9674 		add		ix, de
  8279 		add		ix, de
  9675 		ld		(unk_9700), ix
  8280 		ld		(unk_9700), ix
  9676 		call	p03sub_4987
  8281 		call	p03sub_4987
  9677 		jr		c, p03loc_738F
  8282 		jr		c, p03loc_738F
  9678 		ld		(curRow+1), a
  8283 		ld		(curCol), a
  9679 
       
  9680 p03loc_7387:
  8284 p03loc_7387:
  9681 		ld		a, (ix+0)
  8285 		ld		a, (ix+0)
  9682 		call	p03sub_7278
  8286 		call	p03sub_7278
  9683 		jr		p03loc_7392
  8287 		jr		p03loc_7392
  9684 ; ---------------------------------------------------------------------------
       
  9685 
       
  9686 p03loc_738F:
  8288 p03loc_738F:
  9687 		ld		(curRow), a
  8289 		ld		(curRow), a
  9688 
       
  9689 p03loc_7392:
  8290 p03loc_7392:
  9690 		jp		p03loc_70F4
  8291 		jp		p03loc_70F4
  9691 ; ---------------------------------------------------------------------------
       
  9692 
       
  9693 p03loc_7395:
  8292 p03loc_7395:
  9694 		cp		3
  8293 		cp		3
  9695 		jr		nz, p03loc_73D7
  8294 		jr		nz, p03loc_73D7
  9696 		call	p03sub_7316
  8295 		call	p03sub_7316
  9697 		jr		z, p03loc_73AD
  8296 		jr		z, p03loc_73AD
  9700 		ld		a, (ix+0FDh)
  8299 		ld		a, (ix+0FDh)
  9701 		pop		ix
  8300 		pop		ix
  9702 		inc		a
  8301 		inc		a
  9703 		ret		z
  8302 		ret		z
  9704 		jr		p03loc_73B7
  8303 		jr		p03loc_73B7
  9705 ; ---------------------------------------------------------------------------
       
  9706 
       
  9707 p03loc_73AD:
  8304 p03loc_73AD:
  9708 		call	IsEditEmpty
  8305 		call	IsEditEmpty
  9709 		ret		z
  8306 		ret		z
  9710 		call	ParseAndStoreSysVar
  8307 		call	ParseAndStoreSysVar
  9711 		call	DisplayEditSysVar
  8308 		call	DisplayEditSysVar
  9712 
       
  9713 p03loc_73B7:
  8309 p03loc_73B7:
  9714 		call	p03sub_74B9
  8310 		call	p03sub_74B9
  9715 		call	p03sub_7474
  8311 		call	p03sub_7474
  9716 		ld		ix, (unk_9700)
  8312 		ld		ix, (unk_9700)
  9717 		ld		a, (ix+0FDh)
  8313 		ld		a, (ix+0FDh)
  9721 		add		ix, de
  8317 		add		ix, de
  9722 		ld		(unk_9700), ix
  8318 		ld		(unk_9700), ix
  9723 		call	Page03_3789
  8319 		call	Page03_3789
  9724 		jr		nc, p03loc_738F
  8320 		jr		nc, p03loc_738F
  9725 		jr		p03loc_7387
  8321 		jr		p03loc_7387
  9726 ; ---------------------------------------------------------------------------
       
  9727 
       
  9728 p03loc_73D7:
  8322 p03loc_73D7:
  9729 		bit		enableQueue, (iy+rclFlag)
  8323 		bit		enableQueue, (iy+rclFlag)
  9730 		jr		nz, p03loc_73E0
  8324 		jr		nz, p03loc_73E0
  9731 		cp		8Ah ; '�'
  8325 		cp		8Ah
  9732 		ret		z
  8326 		ret		z
  9733 
       
  9734 p03loc_73E0:
  8327 p03loc_73E0:
  9735 		call	p03sub_7316
  8328 		call	p03sub_7316
  9736 		jp		z, CallCommon
  8329 		jp		z, CallCommon
  9737 		jp		p03loc_7D84
  8330 		jp		p03loc_7D84
  9738 ; ---------------------------------------------------------------------------
  8331 
       
  8332 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  8333 ;Not referenced anywhere.
  9739 		cp		9
  8334 		cp		9
  9740 		ret		z
  8335 		ret		z
  9741 		cp		0Dh
  8336 		cp		0Dh
  9742 		ret		z
  8337 		ret		z
  9743 		cp		2
  8338 		cp		2
  9755 		cp		0Ch
  8350 		cp		0Ch
  9756 		ret		z
  8351 		ret		z
  9757 		or		a
  8352 		or		a
  9758 		ret		z
  8353 		ret		z
  9759 		ret
  8354 		ret
  9760 ; ---------------------------------------------------------------------------
  8355 #endif
  9761 
  8356 
  9762 Page03_3465:
  8357 Page03_3465:
  9763 		call	CanAlphIns
  8358 		call	CanAlphIns
  9764 		bit		5, (iy+1Ch)
  8359 		bit		5, (iy+1Ch)
  9765 		jr		nz, p03loc_7426
  8360 		jr		nz, p03loc_7426
  9769 		ld		de, OP1+1
  8364 		ld		de, OP1+1
  9770 		ld		bc, 5
  8365 		ld		bc, 5
  9771 		ldir
  8366 		ldir
  9772 		ld		a, 1
  8367 		ld		a, 1
  9773 		ld		(OP1), a
  8368 		ld		(OP1), a
  9774 
       
  9775 p03loc_7426:
  8369 p03loc_7426:
  9776 		ld		hl, p03loc_746C
  8370 		ld		hl, p03loc_746C
  9777 		call	pushErrorHandleR
  8371 		call	pushErrorHandleR
  9778 		ld		a, (unk_8D0B)
  8372 		ld		a, (unk_8D0B)
  9779 		call	STO_STATVAR
  8373 		call	STO_STATVAR
  9781 		ld		a, (de)
  8375 		ld		a, (de)
  9782 		cp		1
  8376 		cp		1
  9783 		jr		nz, p03loc_7457
  8377 		jr		nz, p03loc_7457
  9784 		inc		de
  8378 		inc		de
  9785 		ld		a, (de)
  8379 		ld		a, (de)
  9786 		cp		31h ; '1'
  8380 		cp		31h
  9787 		jr		z, p03loc_7457
  8381 		jr		z, p03loc_7457
  9788 		cp		5Dh ; ']'
  8382 		cp		5Dh
  9789 		jr		z, p03loc_7450
  8383 		jr		z, p03loc_7450
  9790 		ld		a, 5Dh ; ']'
  8384 		ld		a, 5Dh
  9791 		ld		(de), a
  8385 		ld		(de), a
  9792 		inc		de
  8386 		inc		de
  9793 		ld		hl, nameBuff
  8387 		ld		hl, nameBuff
  9794 		ld		bc, 5
  8388 		ld		bc, 5
  9795 		ldir
  8389 		ldir
  9796 
       
  9797 p03loc_7450:
  8390 p03loc_7450:
  9798 		rst		10h
  8391 		rst		10h
  9799 		ld		hl, 0
  8392 		ld		hl, 0
  9800 		call	c, CreateRList
  8393 		call	c, CreateRList
  9801 
       
  9802 p03loc_7457:
  8394 p03loc_7457:
  9803 		call	popErrorHandleR
  8395 		call	popErrorHandleR
  9804 		bit		monAbandon, (iy+monFlags)
  8396 		bit		monAbandon, (iy+monFlags)
  9805 		ret		nz
  8397 		ret		nz
  9806 		ld		hl, 92C5h
  8398 		ld		hl, 92C5h
  9811 p03loc_746C:
  8403 p03loc_746C:
  9812 		bit		monAbandon, (iy+monFlags)
  8404 		bit		monAbandon, (iy+monFlags)
  9813 		ret		nz
  8405 		ret		nz
  9814 		jp		JError
  8406 		jp		JError
  9815 
  8407 
  9816 ; =============== S U B	R O U T	I N E =======================================
       
  9817 
       
  9818 
       
  9819 p03sub_7474:
  8408 p03sub_7474:
  9820 		ld		a, 8
  8409 		ld		a, 8
  9821 		ld		(winBtm), a
  8410 		ld		(winBtm), a
  9822 		ret
  8411 		ret
  9823 ; End of function p03sub_7474
       
  9824 
       
  9825 
       
  9826 ; =============== S U B	R O U T	I N E =======================================
       
  9827 
       
  9828 
  8412 
  9829 p03sub_747A:
  8413 p03sub_747A:
  9830 		set		monAbandon, (iy+monFlags)
  8414 		set		monAbandon, (iy+monFlags)
  9831 		ld		hl, p03loc_748A
  8415 		ld		hl, p03loc_748A
  9832 		call	pushErrorHandleR
  8416 		call	pushErrorHandleR
  9833 		call	Page0Call_3435
  8417 		call	Page0Call_3435
  9834 		call	popErrorHandleR
  8418 		call	popErrorHandleR
  9835 p03loc_748A:
  8419 p03loc_748A:
  9836 		res		monAbandon, (iy+monFlags)
  8420 		res		monAbandon, (iy+monFlags)
  9837 		ret
  8421 		ret
  9838 ; End of function p03sub_747A
  8422 
  9839 
       
  9840 
       
  9841 ; =============== S U B	R O U T	I N E =======================================
       
  9842 
       
  9843 p03loc_748F:
       
  9844 p03sub_748F:
  8423 p03sub_748F:
  9845 		call	p03sub_74B9
  8424 		call	p03sub_74B9
  9846 		call	p03sub_7316
  8425 		call	p03sub_7316
  9847 		jr		z, p03loc_74A0
  8426 		jr		z, p03loc_74A0
  9848 		bit		7, (iy+1Ch)
  8427 		bit		7, (iy+1Ch)
  9849 		call	nz, p03sub_747A
  8428 		call	nz, p03sub_747A
  9850 		jr		p03loc_74A3
  8429 		jr		p03loc_74A3
  9851 ; ---------------------------------------------------------------------------
       
  9852 
       
  9853 p03loc_74A0:
  8430 p03loc_74A0:
  9854 		call	p03sub_4B7F
  8431 		call	p03sub_4B7F
  9855 
       
  9856 p03loc_74A3:
  8432 p03loc_74A3:
  9857 		call	ResetPromptEditFlag
  8433 		call	ResetPromptEditFlag
  9858 		call	p03sub_7474
  8434 		call	p03sub_7474
  9859 		res		grfSplitOverride, (iy+sGrFlags)
  8435 		res		grfSplitOverride, (iy+sGrFlags)
  9860 ; End of function p03sub_748F
       
  9861 
       
  9862 
       
  9863 ; =============== S U B	R O U T	I N E =======================================
       
  9864 
       
  9865 
       
  9866 p03sub_74AD:
  8436 p03sub_74AD:
  9867 		res		1, (iy+18h)
  8437 		res		1, (iy+18h)
  9868 		res		7, (iy+1Ch)
  8438 		res		7, (iy+1Ch)
  9869 		res		6, (iy+1Ch)
  8439 		res		6, (iy+1Ch)
  9870 ; End of function p03sub_74AD
       
  9871 
       
  9872 
       
  9873 ; =============== S U B	R O U T	I N E =======================================
       
  9874 
       
  9875 
       
  9876 p03sub_74B9:
  8440 p03sub_74B9:
  9877 
       
  9878 		res		appCurWord, (iy+appFlags)
  8441 		res		appCurWord, (iy+appFlags)
  9879 		set		appTextSave, (iy+appFlags)
  8442 		set		appTextSave, (iy+appFlags)
  9880 		ret
  8443 		ret
  9881 ; End of function p03sub_74B9
       
  9882 
  8444 
  9883 p03loc_74C2:
  8445 p03loc_74C2:
  9884 		jp		numPPutAway
  8446 		jp		numPPutAway
  9885 
  8447 
  9886 Page03_346B:
  8448 Page03_346B:
  9887 		call	OP1Set0
  8449 		call	OP1Set0
  9888 		ld		a, 3Dh ; '='
  8450 		ld		a, 3Dh
  9889 		call	j_CMP_STATPTR
  8451 		call	j_CMP_STATPTR
  9890 		ex		de, hl
  8452 		ex		de, hl
  9891 		ld		a, 9
  8453 		ld		a, 9
  9892 
       
  9893 p03loc_74D0:
  8454 p03loc_74D0:
  9894 		call	MovFrOP1
  8455 		call	MovFrOP1
  9895 		sub		1
  8456 		sub		1
  9896 		jr		nz, p03loc_74D0
  8457 		jr		nz, p03loc_74D0
  9897 		ld		hl, 957Fh
  8458 		ld		hl, 957Fh
  9898 		ld		(OP1+1), hl
  8459 		ld		(OP1+1), hl
  9899 		call	MovFrOP1
  8460 		call	MovFrOP1
  9900 		ld		a, 1
  8461 		ld		a, 1
  9901 		ld		(OP1), a
  8462 		ld		(OP1), a
  9902 		ld		hl, 31h	; '1'
  8463 		ld		hl, 31h
  9903 		ld		(OP1+1), hl
  8464 		ld		(OP1+1), hl
  9904 		call	MovFrOP1
  8465 		call	MovFrOP1
  9905 		call	MovFrOP1
  8466 		call	MovFrOP1
  9906 		call	MovFrOP1
  8467 		call	MovFrOP1
  9907 		ld		a, 5Dh ; ']'
  8468 		ld		a, 5Dh
  9908 		ld		(OP1+1), a
  8469 		ld		(OP1+1), a
  9909 		xor		a
  8470 		xor		a
  9910 		ld		(OP1M), a
  8471 		ld		(OP1M), a
  9911 		call	MovFrOP1
  8472 		call	MovFrOP1
  9912 		call	MovFrOP1
  8473 		call	MovFrOP1
  9925 		ld		(iy+1Ch), 0
  8486 		ld		(iy+1Ch), 0
  9926 		call	ZeroOP1
  8487 		call	ZeroOP1
  9927 		call	MovFrOP1
  8488 		call	MovFrOP1
  9928 		ret
  8489 		ret
  9929 
  8490 
  9930 ; =============== S U B	R O U T	I N E =======================================
  8491 IsInfStatContext:
  9931 
       
  9932 
       
  9933 p03sub_7530:
       
  9934 		; setTitle:p03loc_4574p ...
       
  9935 		ld		b, a
  8492 		ld		b, a
  9936 		ld		a, (mcxCurApp)
  8493 		ld		a, (mcxCurApp)
  9937 		cp		56h ; 'V'
  8494 		cp		kInfStat
  9938 		ld		a, b
  8495 		ld		a, b
  9939 		ret
  8496 		ret
  9940 ; End of function p03sub_7530
       
  9941 
       
  9942 
       
  9943 ; =============== S U B	R O U T	I N E =======================================
       
  9944 
       
  9945 
  8497 
  9946 Page03_3471:
  8498 Page03_3471:
  9947 		push	bc
  8499 		push	bc
  9948 		ld		a, (unk_89F5)
  8500 		ld		a, (unk_89F5)
  9949 		push	af
  8501 		push	af
  9950 		ld		a, (curRow)
  8502 		ld		a, (curRow)
  9951 		push	af
  8503 		push	af
  9952 		ld		a, (ix+5)
  8504 		ld		a, (ix+5)
  9953 		ld		(curRow+1), a
  8505 		ld		(curCol), a
  9954 		jr		nc, p03loc_756F
  8506 		jr		nc, p03loc_756F
  9955 		bit		localizeHookActive, (iy+hookflags3)
  8507 		bit		localizeHookActive, (iy+hookflags3)
  9956 		jr		z, p03loc_755C
  8508 		jr		z, p03loc_755C
  9957 		ld		h, (ix+0Dh)
  8509 		ld		h, (ix+0Dh)
  9958 		ld		l, (ix+0Eh)
  8510 		ld		l, (ix+0Eh)
  9959 		ld		a, 0
  8511 		ld		a, 0
  9960 		call	j_call_character_hook
  8512 		call	j_call_character_hook
  9961 		jr		z, p03loc_7561
  8513 		jr		z, p03loc_7561
  9962 
       
  9963 p03loc_755C:
  8514 p03loc_755C:
  9964 		ld		a, (ix+6)
  8515 		ld		a, (ix+6)
  9965 		and		0Fh
  8516 		and		0Fh
  9966 
       
  9967 p03loc_7561:
  8517 p03loc_7561:
  9968 		ld		b, a
  8518 		ld		b, a
  9969 		set		textInverse, (iy+textFlags)
  8519 		set		textInverse, (iy+textFlags)
  9970 		ld		a, 20h ; ' '
  8520 		ld		a, ' '
  9971 
       
  9972 p03loc_7568:
  8521 p03loc_7568:
  9973 		call	j_PutC
  8522 		call	j_PutC
  9974 		djnz	p03loc_7568
  8523 		djnz	p03loc_7568
  9975 		jr		p03loc_75B1
  8524 		jr		p03loc_75B1
  9976 ; ---------------------------------------------------------------------------
       
  9977 
       
  9978 p03loc_756F:
  8525 p03loc_756F:
  9979 		ld		l, (ix+9)
  8526 		ld		l, (ix+9)
  9980 		ld		h, (ix+0Ah)
  8527 		ld		h, (ix+0Ah)
  9981 		ld		a, (hl)
  8528 		ld		a, (hl)
  9982 		and		(ix+0Ch)
  8529 		and		(ix+0Ch)
  9983 		cp		(ix+0Bh)
  8530 		cp		(ix+0Bh)
  9984 		jr		nz, p03loc_7584
  8531 		jr		nz, p03loc_7584
  9985 		set		textInverse, (iy+textFlags)
  8532 		set		textInverse, (iy+textFlags)
  9986 		jr		p03loc_7588
  8533 		jr		p03loc_7588
  9987 ; ---------------------------------------------------------------------------
       
  9988 
       
  9989 p03loc_7584:
  8534 p03loc_7584:
  9990 		set		preClrForMode, (iy+newDispF)
  8535 		set		preClrForMode, (iy+newDispF)
  9991 
       
  9992 p03loc_7588:
  8536 p03loc_7588:
  9993 		bit		localizeHookActive, (iy+hookflags3)
  8537 		bit		localizeHookActive, (iy+hookflags3)
  9994 		jr		z, p03loc_759B
  8538 		jr		z, p03loc_759B
  9995 		ld		h, (ix+0Dh)
  8539 		ld		h, (ix+0Dh)
  9996 		ld		l, (ix+0Eh)
  8540 		ld		l, (ix+0Eh)
  9997 		ld		a, 1
  8541 		ld		a, 1
  9998 		call	j_call_character_hook
  8542 		call	j_call_character_hook
  9999 		jr		z, p03loc_75B1
  8543 		jr		z, p03loc_75B1
 10000 
       
 10001 p03loc_759B:
  8544 p03loc_759B:
 10002 		ld		l, (ix+7)
  8545 		ld		l, (ix+7)
 10003 		ld		h, (ix+8)
  8546 		ld		h, (ix+8)
 10004 		ld		de, OP1
  8547 		ld		de, OP1
 10005 
       
 10006 p03loc_75A4:
  8548 p03loc_75A4:
 10007 		ld		a, (hl)
  8549 		ld		a, (hl)
 10008 		ld		(de), a
  8550 		ld		(de), a
 10009 		inc		hl
  8551 		inc		hl
 10010 		inc		de
  8552 		inc		de
 10011 		or		a
  8553 		or		a
 10012 		jr		nz, p03loc_75A4
  8554 		jr		nz, p03loc_75A4
 10013 		ld		hl, OP1
  8555 		ld		hl, OP1
 10014 		call	j_putsm
  8556 		call	j_putsm
 10015 
       
 10016 p03loc_75B1:
  8557 p03loc_75B1:
 10017 		; Page03_3471+61j
       
 10018 		pop		af
  8558 		pop		af
 10019 		ld		(curRow), a
  8559 		ld		(curRow), a
 10020 		pop		af
  8560 		pop		af
 10021 		ld		(unk_89F5), a
  8561 		ld		(unk_89F5), a
 10022 		pop		bc
  8562 		pop		bc
 10023 		ret
  8563 		ret
 10024 ; End of function Page03_3471
       
 10025 
       
 10026 
       
 10027 ; =============== S U B	R O U T	I N E =======================================
       
 10028 
       
 10029 
  8564 
 10030 p03sub_75BB:
  8565 p03sub_75BB:
 10031 		set		5, (iy+1Ch)
  8566 		set		5, (iy+1Ch)
 10032 		ret
  8567 		ret
 10033 ; End of function p03sub_75BB
       
 10034 
       
 10035 ; ---------------------------------------------------------------------------
       
 10036 
  8568 
 10037 p03loc_75C0:
  8569 p03loc_75C0:
 10038 		ld		hl, (unk_97A3)
  8570 		ld		hl, (unk_97A3)
 10039 		ld		de, (unk_979F)
  8571 		ld		de, (unk_979F)
 10040 		or		a
  8572 		or		a
 10055 		ld		b, 19h
  8587 		ld		b, 19h
 10056 		ld		a, (nameBuff)
  8588 		ld		a, (nameBuff)
 10057 		call	j_TwoVarSet
  8589 		call	j_TwoVarSet
 10058 		res		2, (iy+1Ah)
  8590 		res		2, (iy+1Ah)
 10059 		jr		p03loc_760E
  8591 		jr		p03loc_760E
 10060 ; ---------------------------------------------------------------------------
       
 10061 
       
 10062 p03loc_75FD:
  8592 p03loc_75FD:
 10063 		ld		d, 0
  8593 		ld		d, 0
 10064 		ld		e, a
  8594 		ld		e, a
 10065 		ld		hl, p03loc_7C5D
  8595 		ld		hl, p03loc_7C5D
 10066 		add		hl, de
  8596 		add		hl, de
 10067 		ld		e, (hl)
  8597 		ld		e, (hl)
 10068 		ld		a, (nameBuff)
  8598 		ld		a, (nameBuff)
 10069 		call	j_ExTest_INT
  8599 		call	j_ExTest_INT
 10070 		call	CHKERRBREAK
  8600 		call	CHKERRBREAK
 10071 
       
 10072 p03loc_760E:
  8601 p03loc_760E:
 10073 		call	popErrorHandleR
  8602 		call	popErrorHandleR
 10074 		bit		5, (iy+1Ch)
  8603 		bit		5, (iy+1Ch)
 10075 		jr		z, p03loc_7621
  8604 		jr		z, p03loc_7621
 10076 		ld		a, 44h ; 'D'
  8605 		ld		a, kGraph
 10077 		call	newContext
  8606 		call	newContext
 10078 		ld		a, 44h ; 'D'
  8607 		ld		a, kGraph
 10079 		jp		sendKPress
  8608 		jp		sendKPress
 10080 ; ---------------------------------------------------------------------------
       
 10081 
       
 10082 p03loc_7621:
  8609 p03loc_7621:
 10083 		bit		7, (iy+9)
  8610 		bit		7, (iy+9)
 10084 		call	nz, Page0Call_344D
  8611 		call	nz, Page0Call_344D
 10085 		bit		grfSplit, (iy+sGrFlags)
  8612 		bit		grfSplit, (iy+sGrFlags)
 10086 		call	nz, j_GrBufCpy
  8613 		call	nz, j_GrBufCpy
 10087 		set		6, (iy+1Ch)
  8614 		set		6, (iy+1Ch)
 10088 		ld		a, 40h ; '@'
  8615 		ld		a, appStart
 10089 		call	newContext
  8616 		call	newContext
 10090 		ret
  8617 		ret
 10091 p03loc_7639:
  8618 p03loc_7639:
 10092 		res		statsValid, (iy+statFlags)
  8619 		res		statsValid, (iy+statFlags)
 10093 		res		7, (iy+9)
  8620 		res		7, (iy+9)
 10094 		res		7, a
  8621 		res		7, a
 10095 		jp		JError
  8622 		jp		JError
 10096 ; ---------------------------------------------------------------------------
  8623 
       
  8624 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  8625 ;Not referenced anywhere.
 10097 		ld		hl, (mcxMain)
  8626 		ld		hl, (mcxMain)
 10098 		ld		de, p03loc_731D
  8627 		ld		de, p03loc_731D
 10099 		or		a
  8628 		or		a
 10100 		sbc		hl, de
  8629 		sbc		hl, de
 10101 		ret
  8630 		ret
       
  8631 #endif
       
  8632 
 10102 p03loc_7650:
  8633 p03loc_7650:
 10103 		.dw		p03loc_731D
  8634 		.dw		p03loc_731D
 10104 		.dw		p03loc_74C2
  8635 		.dw		p03loc_74C2
 10105 		.dw		p03loc_748F
  8636 		.dw		p03sub_748F
 10106 		.dw		j_numRedisp
  8637 		.dw		j_numRedisp
 10107 		.dw		p03loc_7DC7
  8638 		.dw		p03loc_7DC7
 10108 		.dw		p03loc_4B90
  8639 		.dw		p03loc_4B90
 10109 		.db		0Ah
  8640 		.db		0Ah
 10110 p03loc_765D:
  8641 p03loc_765D:
 10131 		.db		6
  8662 		.db		6
 10132 		.db		0FFh
  8663 		.db		0FFh
 10133 		.db		0
  8664 		.db		0
 10134 		.db		0
  8665 		.db		0
 10135 p03loc_7675:
  8666 p03loc_7675:
 10136 		ld		e, b
  8667 		.db		58h
 10137 		ld		l, c
  8668 		.dw		aInpt
 10138 		ld		a, d
  8669 		.db		3Dh
 10139 		dec		a
  8670 		.dw		aA
 10140 		ret
  8671 		.db		3Eh
 10141 ; ---------------------------------------------------------------------------
  8672 		.dw		p03loc_79CC
 10142 		.db		79h	; y
  8673 		.db		4Bh
 10143 		.db		3Eh	; >
  8674 		.dw		p03loc_79CE
 10144 		.db		0CCh	; 
  8675 		.db		47h
 10145 		.db		79h	; y
  8676 		.dw		aFreq
 10146 		.db		4Bh	; K
  8677 		.db		52h
 10147 		.db		0CEh	; �
  8678 		.dw		p03loc_7A44
 10148 		.db		79h	; y
  8679 		.db		5Bh
 10149 		.db		47h	; G
  8680 		.dw		aCalculate
 10150 		.db		0D3h	; �
       
 10151 		.db		79h	; y
       
 10152 		.db		52h	; R
       
 10153 		.db		44h	; D
       
 10154 		.db		7Ah	; z
       
 10155 		.db		5Bh	; [
       
 10156 		.db		5Ah	; Z
       
 10157 		.db		7Ah	; z
       
 10158 		.db		0FFh
  8681 		.db		0FFh
 10159 		.db		0
  8682 		.dw		0
 10160 		.db		0
       
 10161 p03loc_768D:
  8683 p03loc_768D:
 10162 		ld		e, b
  8684 		.db		58h
 10163 		ld		l, c
  8685 		.dw		aInpt
 10164 		ld		a, d
  8686 		.db		3Dh
 10165 		dec		a
  8687 		.dw		aA
 10166 		ret
  8688 		.db		4Bh
 10167 ; ---------------------------------------------------------------------------
  8689 		.dw		aList
 10168 		.db		79h	; y
  8690 		.db		47h
 10169 		.db		4Bh	; K
  8691 		.dw		aFreq
 10170 		.db		0CEh	; �
  8692 		.db		52h
 10171 		.db		79h	; y
  8693 		.dw		p03loc_7A44
 10172 		.db		47h	; G
  8694 		.db		5Bh
 10173 		.db		0D3h	; �
  8695 		.dw		aCalculate
 10174 		.db		79h	; y
       
 10175 		.db		52h	; R
       
 10176 		.db		44h	; D
       
 10177 		.db		7Ah	; z
       
 10178 		.db		5Bh	; [
       
 10179 		.db		5Ah	; Z
       
 10180 		.db		7Ah	; z
       
 10181 		.db		0FFh
  8696 		.db		0FFh
 10182 		.db		0
  8697 		.dw		0
 10183 		.db		0
       
 10184 p03loc_76A2:
  8698 p03loc_76A2:
 10185 		.db		58h ; X
  8699 		.db		58h
 10186 		.db		69h ; i
  8700 		.dw		aInpt
 10187 		.db		7Ah ; z
  8701 		.db		4Ch
 10188 		.db		4Ch ; L
  8702 		.dw		aList1
 10189 		.db		0D8h ; +
  8703 		.db		4Eh
 10190 		.db		79h ; y
  8704 		.dw		aList2
 10191 		.db		4Eh ; N
  8705 		.db		48h
 10192 		.db		0DEh ; ¦
  8706 		.dw		aFreq1
 10193 		.db		79h ; y
  8707 		.db		49h
 10194 		.db		48h ; H
  8708 		.dw		aFreq2
 10195 		.db		0E4h ; S
  8709 		.db		53h
 10196 		.db		79h ; y
  8710 		.dw		a1
 10197 		.db		49h ; I
  8711 		.db		59h
 10198 		.db		0EAh ; O
  8712 		.dw		aPooled
 10199 		.db		79h ; y
  8713 		.db		5Bh
 10200 		.db		53h ; S
  8714 		.dw		aCalculate
 10201 		.db		46h ; F
       
 10202 		.db		7Ah ; z
       
 10203 		.db		59h ; Y
       
 10204 		.db		6Eh ; n
       
 10205 		.db		7Ah ; z
       
 10206 		.db		5Bh ; [
       
 10207 		.db		5Ah ; Z
       
 10208 		.db		7Ah ; z
       
 10209 		.db		0FFh
  8715 		.db		0FFh
 10210 		.db		0
  8716 		.dw		0
 10211 		.db		0
       
 10212 p03loc_76BD:
  8717 p03loc_76BD:
 10213 		.db		58h ; X
  8718 		.db		58h
 10214 		.db		69h ; i
  8719 		.dw		aInpt
 10215 		.db		7Ah ; z
  8720 		.db		3Fh
 10216 		.db		3Fh ; ?
  8721 		.dw		a1_2
 10217 		.db		4
  8722 		.db		40h
 10218 		.db		7Ah ; z
  8723 		.dw		a2_0
 10219 		.db		40h ; @
  8724 		.db		4Ch
 10220 		.db		7
  8725 		.dw		aList1
 10221 		.db		7Ah ; z
  8726 		.db		4Eh
 10222 		.db		4Ch ; L
  8727 		.dw		aList2
 10223 		.db		0D8h ; +
  8728 		.db		48h
 10224 		.db		79h ; y
  8729 		.dw		aFreq1
 10225 		.db		4Eh ; N
  8730 		.db		49h
 10226 		.db		0DEh ; ¦
  8731 		.dw		aFreq2
 10227 		.db		79h ; y
  8732 		.db		53h
 10228 		.db		48h ; H
  8733 		.dw		a1
 10229 		.db		0E4h ; S
  8734 		.db		5Bh
 10230 		.db		79h ; y
  8735 		.dw		aCalculate
 10231 		.db		49h ; I
       
 10232 		.db		0EAh ; O
       
 10233 		.db		79h ; y
       
 10234 		.db		53h ; S
       
 10235 		.db		46h ; F
       
 10236 		.db		7Ah ; z
       
 10237 		.db		5Bh ; [
       
 10238 		.db		5Ah ; Z
       
 10239 		.db		7Ah ; z
       
 10240 		.db		0FFh
  8736 		.db		0FFh
 10241 		.db		0
  8737 		.dw		0
 10242 		.db		0
       
 10243 p03loc_76DB:
  8738 p03loc_76DB:
 10244 		.db		41h ; A
  8739 		.db		41h
 10245 		.db		0Ah
  8740 		.dw		aPa
 10246 		.db		7Ah ; z
  8741 		.db		42h
 10247 		.db		42h ; B
  8742 		.dw		aX
 10248 		.db		0Dh
  8743 		.db		43h
 10249 		.db		7Ah ; z
  8744 		.dw		aN_0
 10250 		.db		43h ; C
  8745 		.db		54h
 10251 		.db		0Fh
  8746 		.dw		aProp
 10252 		.db		7Ah ; z
  8747 		.db		5Bh
 10253 		.db		54h ; T
  8748 		.dw		aCalculate
 10254 		.db		49h ; I
       
 10255 		.db		7Ah ; z
       
 10256 		.db		5Bh ; [
       
 10257 		.db		5Ah ; Z
       
 10258 		.db		7Ah ; z
       
 10259 		.db		0FFh
  8749 		.db		0FFh
 10260 		.db		0
  8750 		.dw		0
 10261 		.db		0
       
 10262 p03loc_76ED:
  8751 p03loc_76ED:
 10263 		.db		44h ; D
  8752 		.db		44h
 10264 		.db		11h
  8753 		.dw		aX1
 10265 		.db		7Ah ; z
  8754 		.db		2Dh
 10266 		.db		2Dh ; -
  8755 		.dw		aN1
 10267 		.db		0F0h ; =
  8756 		.db		45h
 10268 		.db		79h ; y
  8757 		.dw		aX2
 10269 		.db		45h ; E
  8758 		.db		30h
 10270 		.db		14h
  8759 		.dw		aN2
 10271 		.db		7Ah ; z
  8760 		.db		55h
 10272 		.db		30h ; 0
  8761 		.dw		aP1
 10273 		.db		0FAh ; ·
  8762 		.db		5Bh
 10274 		.db		79h ; y
  8763 		.dw		aCalculate
 10275 		.db		55h ; U
       
 10276 		.db		4Eh ; N
       
 10277 		.db		7Ah ; z
       
 10278 		.db		5Bh ; [
       
 10279 		.db		5Ah ; Z
       
 10280 		.db		7Ah ; z
       
 10281 		.db		0FFh
  8764 		.db		0FFh
 10282 		.db		0
  8765 		.dw		0
 10283 		.db		0
       
 10284 p03loc_7702:
  8766 p03loc_7702:
 10285 		.db		4Fh ; O
  8767 		.db		4Fh
 10286 		.db		1Fh
  8768 		.dw		aObserved
 10287 		.db		7Ah ; z
  8769 		.db		50h
 10288 		.db		50h ; P
  8770 		.dw		aExpected
 10289 		.db		28h ; (
  8771 		.db		5Bh
 10290 		.db		7Ah ; z
  8772 		.dw		aCalculate
 10291 		.db		5Bh ; [
       
 10292 		.db		5Ah ; Z
       
 10293 		.db		7Ah ; z
       
 10294 		.db		0FFh
  8773 		.db		0FFh
 10295 		.db		0
  8774 		.dw		0
 10296 		.db		0
       
 10297 p03loc_770E:
  8775 p03loc_770E:
 10298 		.db		58h ; X
  8776 		.db		58h
 10299 		.db		69h ; i
  8777 		.dw		aInpt
 10300 		.db		7Ah ; z
  8778 		.db		4Ch
 10301 		.db		4Ch ; L
  8779 		.dw		aList1
 10302 		.db		0D8h ; +
  8780 		.db		4Eh
 10303 		.db		79h ; y
  8781 		.dw		aList2
 10304 		.db		4Eh ; N
  8782 		.db		48h
 10305 		.db		0DEh ; ¦
  8783 		.dw		aFreq1
 10306 		.db		79h ; y
  8784 		.db		49h
 10307 		.db		48h ; H
  8785 		.dw		aFreq2
 10308 		.db		0E4h ; S
  8786 		.db		56h
 10309 		.db		79h ; y
  8787 		.dw		a1_0
 10310 		.db		49h ; I
  8788 		.db		5Bh
 10311 		.db		0EAh ; O
  8789 		.dw		aCalculate
 10312 		.db		79h ; y
       
 10313 		.db		56h ; V
       
 10314 		.db		51h ; Q
       
 10315 		.db		7Ah ; z
       
 10316 		.db		5Bh ; [
       
 10317 		.db		5Ah ; Z
       
 10318 		.db		7Ah ; z
       
 10319 		.db		0FFh
  8790 		.db		0FFh
 10320 		.db		0
  8791 		.dw		0
 10321 		.db		0
       
 10322 p03loc_7726:
  8792 p03loc_7726:
 10323 		.db		58h ; X
  8793 		.db		58h
 10324 		.db		69h ; i
  8794 		.dw		aInpt
 10325 		.db		7Ah ; z
  8795 		.db		3Eh
 10326 		.db		3Eh ; >
  8796 		.dw		p03loc_79CC
 10327 		.db		0CCh ; ¦
  8797 		.db		4Bh
 10328 		.db		79h ; y
  8798 		.dw		aList
 10329 		.db		4Bh ; K
  8799 		.db		47h
 10330 		.db		0CEh ; +
  8800 		.dw		aFreq
 10331 		.db		79h ; y
  8801 		.db		46h
 10332 		.db		47h ; G
  8802 		.dw		aCLevel
 10333 		.db		0D3h ; +
  8803 		.db		5Ah
 10334 		.db		79h ; y
  8804 		.dw		aCalculate
 10335 		.db		46h ; F
       
 10336 		.db		17h
       
 10337 		.db		7Ah ; z
       
 10338 		.db		5Ah ; Z
       
 10339 		.db		5Ah ; Z
       
 10340 		.db		7Ah ; z
       
 10341 		.db		0FFh
  8805 		.db		0FFh
 10342 		.db		0
  8806 		.dw		0
 10343 		.db		0
       
 10344 p03loc_773B:
  8807 p03loc_773B:
 10345 		.db		58h ; X
  8808 		.db		58h
 10346 		.db		69h ; i
  8809 		.dw		aInpt
 10347 		.db		7Ah ; z
  8810 		.db		4Bh
 10348 		.db		4Bh ; K
  8811 		.dw		aList
 10349 		.db		0CEh ; +
  8812 		.db		47h
 10350 		.db		79h ; y
  8813 		.dw		aFreq
 10351 		.db		47h ; G
  8814 		.db		46h
 10352 		.db		0D3h ; +
  8815 		.dw		aCLevel
 10353 		.db		79h ; y
  8816 		.db		5Ah
 10354 		.db		46h ; F
  8817 		.dw		aCalculate
 10355 		.db		17h
       
 10356 		.db		7Ah ; z
       
 10357 		.db		5Ah ; Z
       
 10358 		.db		5Ah ; Z
       
 10359 		.db		7Ah ; z
       
 10360 		.db		0FFh
  8818 		.db		0FFh
 10361 		.db		0
  8819 		.dw		0
 10362 		.db		0
       
 10363 p03loc_774D:
  8820 p03loc_774D:
 10364 		.db		58h ; X
  8821 		.db		58h
 10365 		.db		69h ; i
  8822 		.dw		aInpt
 10366 		.db		7Ah ; z
  8823 		.db		4Ch
 10367 		.db		4Ch ; L
  8824 		.dw		aList1
 10368 		.db		0D8h ; +
  8825 		.db		4Eh
 10369 		.db		79h ; y
  8826 		.dw		aList2
 10370 		.db		4Eh ; N
  8827 		.db		48h
 10371 		.db		0DEh ; ¦
  8828 		.dw		aFreq1
 10372 		.db		79h ; y
  8829 		.db		49h
 10373 		.db		48h ; H
  8830 		.dw		aFreq2
 10374 		.db		0E4h ; S
  8831 		.db		46h
 10375 		.db		79h ; y
  8832 		.dw		aCLevel
 10376 		.db		49h ; I
  8833 		.db		59h
 10377 		.db		0EAh ; O
  8834 		.dw		aPooled
 10378 		.db		79h ; y
  8835 		.db		5Ah
 10379 		.db		46h ; F
  8836 		.dw		aCalculate
 10380 		.db		17h
       
 10381 		.db		7Ah ; z
       
 10382 		.db		59h ; Y
       
 10383 		.db		6Eh ; n
       
 10384 		.db		7Ah ; z
       
 10385 		.db		5Ah ; Z
       
 10386 		.db		5Ah ; Z
       
 10387 		.db		7Ah ; z
       
 10388 		.db		0FFh
  8837 		.db		0FFh
 10389 		.db		0
  8838 		.dw		0
 10390 		.db		0
       
 10391 p03loc_7768:
  8839 p03loc_7768:
 10392 		.db		58h ; X
  8840 		.db		58h
 10393 		.db		69h ; i
  8841 		.dw		aInpt
 10394 		.db		7Ah ; z
  8842 		.db		3Fh
 10395 		.db		3Fh ; ?
  8843 		.dw		a1_2
 10396 		.db		4
  8844 		.db		40h
 10397 		.db		7Ah ; z
  8845 		.dw		a2_0
 10398 		.db		40h ; @
  8846 		.db		4Ch
 10399 		.db		7
  8847 		.dw		aList1
 10400 		.db		7Ah ; z
  8848 		.db		4Eh
 10401 		.db		4Ch ; L
  8849 		.dw		aList2
 10402 		.db		0D8h ; +
  8850 		.db		48h
 10403 		.db		79h ; y
  8851 		.dw		aFreq1
 10404 		.db		4Eh ; N
  8852 		.db		49h
 10405 		.db		0DEh ; ¦
  8853 		.dw		aFreq2
 10406 		.db		79h ; y
  8854 		.db		46h
 10407 		.db		48h ; H
  8855 		.dw		aCLevel
 10408 		.db		0E4h ; S
  8856 		.db		5Ah
 10409 		.db		79h ; y
  8857 		.dw		aCalculate
 10410 		.db		49h ; I
       
 10411 		.db		0EAh ; O
       
 10412 		.db		79h ; y
       
 10413 		.db		46h ; F
       
 10414 		.db		17h
       
 10415 		.db		7Ah ; z
       
 10416 		.db		5Ah ; Z
       
 10417 		.db		5Ah ; Z
       
 10418 		.db		7Ah ; z
       
 10419 		.db		0FFh
  8858 		.db		0FFh
 10420 		.db		0
  8859 		.dw		0
 10421 		.db		0
       
 10422 p03loc_7786:
  8860 p03loc_7786:
 10423 		.db		42h ; B
  8861 		.db		42h
 10424 		.db		0Dh
  8862 		.dw		aX
 10425 		.db		7Ah ; z
  8863 		.db		43h
 10426 		.db		43h ; C
  8864 		.dw		aN_0
 10427 		.db		0Fh
  8865 		.db		46h
 10428 		.db		7Ah ; z
  8866 		.dw		aCLevel
 10429 		.db		46h ; F
  8867 		.db		5Ah
 10430 		.db		17h
  8868 		.dw		aCalculate
 10431 		.db		7Ah ; z
       
 10432 		.db		5Ah ; Z
       
 10433 		.db		5Ah ; Z
       
 10434 		.db		7Ah ; z
       
 10435 		.db		0FFh
  8869 		.db		0FFh
 10436 		.db		0
  8870 		.dw		0
 10437 		.db		0
       
 10438 p03loc_7795:
  8871 p03loc_7795:
 10439 		.db		44h ; D
  8872 		.db		44h
 10440 		.db		11h
  8873 		.dw		aX1
 10441 		.db		7Ah ; z
  8874 		.db		2Dh
 10442 		.db		2Dh ; -
  8875 		.dw		aN1
 10443 		.db		0F0h ; =
  8876 		.db		45h
 10444 		.db		79h ; y
  8877 		.dw		aX2
 10445 		.db		45h ; E
  8878 		.db		30h
 10446 		.db		14h
  8879 		.dw		aN2
 10447 		.db		7Ah ; z
  8880 		.db		46h
 10448 		.db		30h ; 0
  8881 		.dw		aCLevel
 10449 		.db		0FAh ; ·
  8882 		.db		5Ah
 10450 		.db		79h ; y
  8883 		.dw		aCalculate
 10451 		.db		46h ; F
       
 10452 		.db		17h
       
 10453 		.db		7Ah ; z
       
 10454 		.db		5Ah ; Z
       
 10455 		.db		5Ah ; Z
       
 10456 		.db		7Ah ; z
       
 10457 		.db		0FFh
  8884 		.db		0FFh
 10458 		.db		0
  8885 		.dw		0
 10459 		.db		0
       
 10460 p03loc_77AA:
  8886 p03loc_77AA:
 10461 		.db		4Ah ; J
  8887 		.db		4Ah
 10462 		.db		31h ; 1
  8888 		.dw		aXlist
 10463 		.db		7Ah ; z
  8889 		.db		4Dh
 10464 		.db		4Dh ; M
  8890 		.dw		aYlist
 10465 		.db		37h ; 7
  8891 		.db		47h
 10466 		.db		7Ah ; z
  8892 		.dw		aFreq
 10467 		.db		47h ; G
  8893 		.db		57h
 10468 		.db		0D3h ; +
  8894 		.dw		p03loc_7A54
 10469 		.db		79h ; y
  8895 		.db		51h
 10470 		.db		57h ; W
  8896 		.dw		aRegEQ_03
 10471 		.db		54h ; T
  8897 		.db		5Ah
 10472 		.db		7Ah ; z
  8898 		.dw		aCalculate
 10473 		.db		51h ; Q
       
 10474 		.db		0CCh ; ¦
       
 10475 		.db		7Ah ; z
       
 10476 		.db		5Ah ; Z
       
 10477 		.db		5Ah ; Z
       
 10478 		.db		7Ah ; z
       
 10479 		.db		0FFh
  8899 		.db		0FFh
 10480 		.db		0
  8900 		.dw		0
 10481 		.db		0
       
 10482 p03loc_77BF:
  8901 p03loc_77BF:
 10483 		.db		58h ; X
  8902 		.db		58h
 10484 		.db		69h ; i
  8903 		.dw		aInpt
 10485 		.db		7Ah ; z
  8904 		.db		3Dh
 10486 		.db		3Dh ; =
  8905 		.dw		aA
 10487 		.db		0C9h ; +
  8906 		.db		3Eh
 10488 		.db		79h ; y
  8907 		.dw		p03loc_79CC
 10489 		.db		3Eh ; >
       
 10490 		.db		0CCh ; ¦
       
 10491 		.db		79h ; y
       
 10492 		.db		3
  8908 		.db		3
 10493 		.db		3Dh ; =
  8909 		.dw		p03loc_7A3D
 10494 		.db		7Ah ; z
       
 10495 		.db		2
  8910 		.db		2
 10496 		.db		3Fh ; ?
  8911 		.dw		aN
 10497 		.db		7Ah ; z
  8912 		.db		52h
 10498 		.db		52h ; R
  8913 		.dw		p03loc_7A44
 10499 		.db		44h ; D
  8914 		.db		5Bh
 10500 		.db		7Ah ; z
  8915 		.dw		aCalculate
 10501 		.db		5Bh ; [
       
 10502 		.db		5Ah ; Z
       
 10503 		.db		7Ah ; z
       
 10504 		.db		0FFh
  8916 		.db		0FFh
 10505 		.db		0
  8917 		.dw		0
 10506 		.db		0
       
 10507 p03loc_77D7:
  8918 p03loc_77D7:
 10508 		.db		58h ; X
  8919 		.db		58h
 10509 		.db		69h ; i
  8920 		.dw		aInpt
 10510 		.db		7Ah ; z
  8921 		.db		3Dh
 10511 		.db		3Dh ; =
  8922 		.dw		aA
 10512 		.db		0C9h ; +
       
 10513 		.db		79h ; y
       
 10514 		.db		3
  8923 		.db		3
 10515 		.db		3Dh ; =
  8924 		.dw		p03loc_7A3D
 10516 		.db		7Ah ; z
       
 10517 		.db		6
  8925 		.db		6
 10518 		.db		41h ; A
  8926 		.dw		aSx
 10519 		.db		7Ah ; z
       
 10520 		.db		2
  8927 		.db		2
 10521 		.db		3Fh ; ?
  8928 		.dw		aN
 10522 		.db		7Ah ; z
  8929 		.db		52h
 10523 		.db		52h ; R
  8930 		.dw		p03loc_7A44
 10524 		.db		44h ; D
  8931 		.db		5Bh
 10525 		.db		7Ah ; z
  8932 		.dw		aCalculate
 10526 		.db		5Bh ; [
       
 10527 		.db		5Ah ; Z
       
 10528 		.db		7Ah ; z
       
 10529 		.db		0FFh
  8933 		.db		0FFh
 10530 		.db		0
  8934 		.dw		0
 10531 		.db		0
       
 10532 p03loc_77EF:
  8935 p03loc_77EF:
 10533 		.db		58h ; X
  8936 		.db		58h
 10534 		.db		69h ; i
  8937 		.dw		aInpt
 10535 		.db		7Ah ; z
  8938 		.db		2Bh
 10536 		.db		2Bh ; +
  8939 		.dw		a1_1
 10537 		.db		0F3h ; =
  8940 		.db		2Ch
 10538 		.db		79h ; y
  8941 		.dw		aSx1
 10539 		.db		2Ch ; ,
  8942 		.db		2Dh
 10540 		.db		0F6h ; ÷
  8943 		.dw		aN1
 10541 		.db		79h ; y
  8944 		.db		2Eh
 10542 		.db		2Dh ; -
  8945 		.dw		a2
 10543 		.db		0F0h ; =
  8946 		.db		2Fh
 10544 		.db		79h ; y
  8947 		.dw		aSx2
 10545 		.db		2Eh ; .
  8948 		.db		30h
 10546 		.db		0FDh ; ²
  8949 		.dw		aN2
 10547 		.db		79h ; y
  8950 		.db		53h
 10548 		.db		2Fh ; /
  8951 		.dw		a1
 10549 		.db		0
  8952 		.db		59h
 10550 		.db		7Ah ; z
  8953 		.dw		aPooled
 10551 		.db		30h ; 0
  8954 		.db		5Bh
 10552 		.db		0FAh ; ·
  8955 		.dw		aCalculate
 10553 		.db		79h ; y
       
 10554 		.db		53h ; S
       
 10555 		.db		46h ; F
       
 10556 		.db		7Ah ; z
       
 10557 		.db		59h ; Y
       
 10558 		.db		6Eh ; n
       
 10559 		.db		7Ah ; z
       
 10560 		.db		5Bh ; [
       
 10561 		.db		5Ah ; Z
       
 10562 		.db		7Ah ; z
       
 10563 		.db		0FFh
  8956 		.db		0FFh
 10564 		.db		0
  8957 		.dw		0
 10565 		.db		0
       
 10566 p03loc_7810:
  8958 p03loc_7810:
 10567 		.db		58h ; X
  8959 		.db		58h
 10568 		.db		69h ; i
  8960 		.dw		aInpt
 10569 		.db		7Ah ; z
  8961 		.db		3Fh
 10570 		.db		3Fh ; ?
  8962 		.dw		a1_2
 10571 		.db		4
  8963 		.db		40h
 10572 		.db		7Ah ; z
  8964 		.dw		a2_0
 10573 		.db		40h ; @
  8965 		.db		2Bh
 10574 		.db		7
  8966 		.dw		a1_1
 10575 		.db		7Ah ; z
  8967 		.db		2Dh
 10576 		.db		2Bh ; +
  8968 		.dw		aN1
 10577 		.db		0F3h ; =
  8969 		.db		2Eh
 10578 		.db		79h ; y
  8970 		.dw		a2
 10579 		.db		2Dh ; -
  8971 		.db		30h
 10580 		.db		0F0h ; =
  8972 		.dw		aN2
 10581 		.db		79h ; y
  8973 		.db		53h
 10582 		.db		2Eh ; .
  8974 		.dw		a1
 10583 		.db		0FDh ; ²
  8975 		.db		5Bh
 10584 		.db		79h ; y
  8976 		.dw		aCalculate
 10585 		.db		30h ; 0
       
 10586 		.db		0FAh ; ·
       
 10587 		.db		79h ; y
       
 10588 		.db		53h ; S
       
 10589 		.db		46h ; F
       
 10590 		.db		7Ah ; z
       
 10591 		.db		5Bh ; [
       
 10592 		.db		5Ah ; Z
       
 10593 		.db		7Ah ; z
       
 10594 		.db		0FFh
  8977 		.db		0FFh
 10595 		.db		0
  8978 		.dw		0
 10596 		.db		0
       
 10597 p03loc_782E:
  8979 p03loc_782E:
 10598 		.db		58h ; X
  8980 		.db		58h
 10599 		.db		69h ; i
  8981 		.dw		aInpt
 10600 		.db		7Ah ; z
  8982 		.db		2Ch
 10601 		.db		2Ch ; ,
  8983 		.dw		aSx1
 10602 		.db		0F6h ; ÷
  8984 		.db		2Dh
 10603 		.db		79h ; y
  8985 		.dw		aN1
 10604 		.db		2Dh ; -
  8986 		.db		2Fh
 10605 		.db		0F0h ; =
  8987 		.dw		aSx2
 10606 		.db		79h ; y
  8988 		.db		30h
 10607 		.db		2Fh ; /
  8989 		.dw		aN2
 10608 		.db		0
  8990 		.db		56h
 10609 		.db		7Ah ; z
  8991 		.dw		a1_0
 10610 		.db		30h ; 0
  8992 		.db		5Bh
 10611 		.db		0FAh ; ·
  8993 		.dw		aCalculate
 10612 		.db		79h ; y
       
 10613 		.db		56h ; V
       
 10614 		.db		51h ; Q
       
 10615 		.db		7Ah ; z
       
 10616 		.db		5Bh ; [
       
 10617 		.db		5Ah ; Z
       
 10618 		.db		7Ah ; z
       
 10619 		.db		0FFh
  8994 		.db		0FFh
 10620 		.db		0
  8995 		.dw		0
 10621 		.db		0
       
 10622 p03loc_7846:
  8996 p03loc_7846:
 10623 		.db		58h ; X
  8997 		.db		58h
 10624 		.db		69h ; i
  8998 		.dw		aInpt
 10625 		.db		7Ah ; z
  8999 		.db		3Eh
 10626 		.db		3Eh ; >
  9000 		.dw		p03loc_79CC
 10627 		.db		0CCh ; ¦
       
 10628 		.db		79h ; y
       
 10629 		.db		3
  9001 		.db		3
 10630 		.db		3Dh ; =
  9002 		.dw		p03loc_7A3D
 10631 		.db		7Ah ; z
       
 10632 		.db		2
  9003 		.db		2
 10633 		.db		3Fh ; ?
  9004 		.dw		aN
 10634 		.db		7Ah ; z
  9005 		.db		46h
 10635 		.db		46h ; F
  9006 		.dw		aCLevel
 10636 		.db		17h
  9007 		.db		5Ah
 10637 		.db		7Ah ; z
  9008 		.dw		aCalculate
 10638 		.db		5Ah ; Z
       
 10639 		.db		5Ah ; Z
       
 10640 		.db		7Ah ; z
       
 10641 		.db		0FFh
  9009 		.db		0FFh
 10642 		.db		0
  9010 		.dw		0
 10643 		.db		0
       
 10644 p03loc_785B:
  9011 p03loc_785B:
 10645 		.db		58h ; X
  9012 		.db		58h
 10646 		.db		69h ; i
  9013 		.dw		aInpt
 10647 		.db		7Ah ; z
       
 10648 		.db		3
  9014 		.db		3
 10649 		.db		3Dh ; =
  9015 		.dw		p03loc_7A3D
 10650 		.db		7Ah ; z
       
 10651 		.db		6
  9016 		.db		6
 10652 		.db		41h ; A
  9017 		.dw		aSx
 10653 		.db		7Ah ; z
       
 10654 		.db		2
  9018 		.db		2
 10655 		.db		3Fh ; ?
  9019 		.dw		aN
 10656 		.db		7Ah ; z
  9020 		.db		46h
 10657 		.db		46h ; F
  9021 		.dw		aCLevel
 10658 		.db		17h
  9022 		.db		5Ah
 10659 		.db		7Ah ; z
  9023 		.dw		aCalculate
 10660 		.db		5Ah ; Z
       
 10661 		.db		5Ah ; Z
       
 10662 		.db		7Ah ; z
       
 10663 		.db		0FFh
  9024 		.db		0FFh
 10664 		.db		0
  9025 		.dw		0
 10665 		.db		0
       
 10666 p03loc_7870:
  9026 p03loc_7870:
 10667 		.db		58h ; X
  9027 		.db		58h
 10668 		.db		69h ; i
  9028 		.dw		aInpt
 10669 		.db		7Ah ; z
  9029 		.db		2Bh
 10670 		.db		2Bh ; +
  9030 		.dw		a1_1
 10671 		.db		0F3h ; =
  9031 		.db		2Ch
 10672 		.db		79h ; y
  9032 		.dw		aSx1
 10673 		.db		2Ch ; ,
  9033 		.db		2Dh
 10674 		.db		0F6h ; ÷
  9034 		.dw		aN1
 10675 		.db		79h ; y
  9035 		.db		2Eh
 10676 		.db		2Dh ; -
  9036 		.dw		a2
 10677 		.db		0F0h ; =
  9037 		.db		2Fh
 10678 		.db		79h ; y
  9038 		.dw		aSx2
 10679 		.db		2Eh ; .
  9039 		.db		30h
 10680 		.db		0FDh ; ²
  9040 		.dw		aN2
 10681 		.db		79h ; y
  9041 		.db		46h
 10682 		.db		2Fh ; /
  9042 		.dw		aCLevel
 10683 		.db		0
  9043 		.db		59h
 10684 		.db		7Ah ; z
  9044 		.dw		aPooled
 10685 		.db		30h ; 0
  9045 		.db		5Ah
 10686 		.db		0FAh ; ·
  9046 		.dw		aCalculate
 10687 		.db		79h ; y
       
 10688 		.db		46h ; F
       
 10689 		.db		17h
       
 10690 		.db		7Ah ; z
       
 10691 		.db		59h ; Y
       
 10692 		.db		6Eh ; n
       
 10693 		.db		7Ah ; z
       
 10694 		.db		5Ah ; Z
       
 10695 		.db		5Ah ; Z
       
 10696 		.db		7Ah ; z
       
 10697 		.db		0FFh
  9047 		.db		0FFh
 10698 		.db		0
  9048 		.dw		0
 10699 		.db		0
       
 10700 p03loc_7891:
  9049 p03loc_7891:
 10701 		.db		58h ; X
  9050 		.db		58h
 10702 		.db		69h ; i
  9051 		.dw		aInpt
 10703 		.db		7Ah ; z
  9052 		.db		3Fh
 10704 		.db		3Fh ; ?
  9053 		.dw		a1_2
 10705 		.db		4
  9054 		.db		40h
 10706 		.db		7Ah ; z
  9055 		.dw		a2_0
 10707 		.db		40h ; @
  9056 		.db		2Bh
 10708 		.db		7
  9057 		.dw		a1_1
 10709 		.db		7Ah ; z
  9058 		.db		2Dh
 10710 		.db		2Bh ; +
  9059 		.dw		aN1
 10711 		.db		0F3h ; =
  9060 		.db		2Eh
 10712 		.db		79h ; y
  9061 		.dw		a2
 10713 		.db		2Dh ; -
  9062 		.db		30h
 10714 		.db		0F0h ; =
  9063 		.dw		aN2
 10715 		.db		79h ; y
  9064 		.db		46h
 10716 		.db		2Eh ; .
  9065 		.dw		aCLevel
 10717 		.db		0FDh ; ²
  9066 		.db		5Ah
 10718 		.db		79h ; y
  9067 		.dw		aCalculate
 10719 		.db		30h ; 0
       
 10720 		.db		0FAh ; ·
       
 10721 		.db		79h ; y
       
 10722 		.db		46h ; F
       
 10723 		.db		17h
       
 10724 		.db		7Ah ; z
       
 10725 		.db		5Ah ; Z
       
 10726 		.db		5Ah ; Z
       
 10727 		.db		7Ah ; z
       
 10728 		.db		0FFh
  9068 		.db		0FFh
 10729 		.db		0
  9069 		.dw		0
 10730 		.db		0
       
 10731 p03loc_78AF:
  9070 p03loc_78AF:
 10732 		.dw		p03loc_7675
  9071 		.dw		p03loc_7675
 10733 		.dw		p03loc_792B
  9072 		.dw		p03loc_792B
 10734 		.dw		p03loc_768D
  9073 		.dw		p03loc_768D
 10735 		.dw		p03loc_7932
  9074 		.dw		p03loc_7932
 10790 		.dw		p03loc_782E
  9129 		.dw		p03loc_782E
 10791 		.dw		p03loc_7971
  9130 		.dw		p03loc_7971
 10792 		.dw		p03loc_77AA
  9131 		.dw		p03loc_77AA
 10793 		.dw		p03loc_79BD
  9132 		.dw		p03loc_79BD
 10794 p03loc_792B:
  9133 p03loc_792B:
 10795 		.db		5Ah	; Z
  9134 		.asc	'Z-Test',0
 10796 		.db		2Dh	; -
       
 10797 		.db		54h	; T
       
 10798 		.db		65h	; e
       
 10799 		.db		73h	; s
       
 10800 		.db		74h	; t
       
 10801 		.db		0
       
 10802 p03loc_7932:
  9135 p03loc_7932:
 10803 		.db		54h	; T
  9136 		.asc	'T-Test',0
 10804 		.db		2Dh	; -
       
 10805 		.db		54h	; T
       
 10806 		.db		65h	; e
       
 10807 		.db		73h	; s
       
 10808 		.db		74h	; t
       
 10809 		.db		0
       
 10810 p03loc_7939:
  9137 p03loc_7939:
 10811 		.db		32h	; 2
  9138 		.asc	'2-SampTTest',0
 10812 		.db		2Dh	; -
       
 10813 		.db		53h	; S
       
 10814 		.db		61h	; a
       
 10815 		.db		6Dh	; m
       
 10816 		.db		70h	; p
       
 10817 		.db		54h	; T
       
 10818 		.db		54h	; T
       
 10819 		.db		65h	; e
       
 10820 		.db		73h	; s
       
 10821 		.db		74h	; t
       
 10822 		.db		0
       
 10823 p03loc_7945:
  9139 p03loc_7945:
 10824 		.db		32h	; 2
  9140 		.asc	'2-SampZTest',0
 10825 		.db		2Dh	; -
       
 10826 		.db		53h	; S
       
 10827 		.db		61h	; a
       
 10828 		.db		6Dh	; m
       
 10829 		.db		70h	; p
       
 10830 		.db		5Ah	; Z
       
 10831 		.db		54h	; T
       
 10832 		.db		65h	; e
       
 10833 		.db		73h	; s
       
 10834 		.db		74h	; t
       
 10835 		.db		0
       
 10836 p03loc_7951:
  9141 p03loc_7951:
 10837 		.db		31h	; 1
  9142 		.asc	'1-PropZTest',0
 10838 		.db		2Dh	; -
       
 10839 		.db		50h	; P
       
 10840 		.db		72h	; r
       
 10841 		.db		6Fh	; o
       
 10842 		.db		70h	; p
       
 10843 		.db		5Ah	; Z
       
 10844 		.db		54h	; T
       
 10845 		.db		65h	; e
       
 10846 		.db		73h	; s
       
 10847 		.db		74h	; t
       
 10848 		.db		0
       
 10849 p03loc_795D:
  9143 p03loc_795D:
 10850 		.db		32h	; 2
  9144 		.asc	'2-PropZTest',0
 10851 		.db		2Dh	; -
       
 10852 		.db		50h	; P
       
 10853 		.db		72h	; r
       
 10854 		.db		6Fh	; o
       
 10855 		.db		70h	; p
       
 10856 		.db		5Ah	; Z
       
 10857 		.db		54h	; T
       
 10858 		.db		65h	; e
       
 10859 		.db		73h	; s
       
 10860 		.db		74h	; t
       
 10861 		.db		0
       
 10862 p03loc_7969:
  9145 p03loc_7969:
 10863 		.db		0D9h	; �
  9146 		.asc	0D9h,12h,'-Test',0
 10864 		.db		12h
       
 10865 		.db		2Dh	; -
       
 10866 		.db		54h	; T
       
 10867 		.db		65h	; e
       
 10868 		.db		73h	; s
       
 10869 		.db		74h	; t
       
 10870 		.db		0
       
 10871 p03loc_7971:
  9147 p03loc_7971:
 10872 		.db		32h	; 2
  9148 		.asc	'2-Samp',0DAh,'Test',0
 10873 		.db		2Dh	; -
       
 10874 		.db		53h	; S
       
 10875 		.db		61h	; a
       
 10876 		.db		6Dh	; m
       
 10877 		.db		70h	; p
       
 10878 		.db		0DAh	; �
       
 10879 		.db		54h	; T
       
 10880 		.db		65h	; e
       
 10881 		.db		73h	; s
       
 10882 		.db		74h	; t
       
 10883 		.db		0
       
 10884 p03loc_797D:
  9149 p03loc_797D:
 10885 		.db		5Ah	; Z
  9150 		.asc	'ZInterval',0
 10886 		.db		49h	; I
       
 10887 		.db		6Eh	; n
       
 10888 		.db		74h	; t
       
 10889 		.db		65h	; e
       
 10890 		.db		72h	; r
       
 10891 		.db		76h	; v
       
 10892 		.db		61h	; a
       
 10893 		.db		6Ch	; l
       
 10894 		.db		0
       
 10895 p03loc_7987:
  9151 p03loc_7987:
 10896 		.db		54h	; T
  9152 		.asc	'TInterval',0
 10897 		.db		49h	; I
       
 10898 		.db		6Eh	; n
       
 10899 		.db		74h	; t
       
 10900 		.db		65h	; e
       
 10901 		.db		72h	; r
       
 10902 		.db		76h	; v
       
 10903 		.db		61h	; a
       
 10904 		.db		6Ch	; l
       
 10905 		.db		0
       
 10906 p03loc_7991:
  9153 p03loc_7991:
 10907 		.db		32h	; 2
  9154 		.asc	'2-SampTInt',0
 10908 		.db		2Dh	; -
       
 10909 		.db		53h	; S
       
 10910 		.db		61h	; a
       
 10911 		.db		6Dh	; m
       
 10912 		.db		70h	; p
       
 10913 		.db		54h	; T
       
 10914 		.db		49h	; I
       
 10915 		.db		6Eh	; n
       
 10916 		.db		74h	; t
       
 10917 		.db		0
       
 10918 p03loc_799C:
  9155 p03loc_799C:
 10919 		.db		32h	; 2
  9156 		.asc	'2-SampZInt',0
 10920 		.db		2Dh	; -
       
 10921 		.db		53h	; S
       
 10922 		.db		61h	; a
       
 10923 		.db		6Dh	; m
       
 10924 		.db		70h	; p
       
 10925 		.db		5Ah	; Z
       
 10926 		.db		49h	; I
       
 10927 		.db		6Eh	; n
       
 10928 		.db		74h	; t
       
 10929 		.db		0
       
 10930 p03loc_79A7:
  9157 p03loc_79A7:
 10931 		.db		31h	; 1
  9158 		.asc	'1-PropZInt',0
 10932 		.db		2Dh	; -
       
 10933 		.db		50h	; P
       
 10934 		.db		72h	; r
       
 10935 		.db		6Fh	; o
       
 10936 		.db		70h	; p
       
 10937 		.db		5Ah	; Z
       
 10938 		.db		49h	; I
       
 10939 		.db		6Eh	; n
       
 10940 		.db		74h	; t
       
 10941 		.db		0
       
 10942 p03loc_79B2:
  9159 p03loc_79B2:
 10943 		.db		32h	; 2
  9160 		.asc	'2-PropZInt',0
 10944 		.db		2Dh	; -
       
 10945 		.db		50h	; P
       
 10946 		.db		72h	; r
       
 10947 		.db		6Fh	; o
       
 10948 		.db		70h	; p
       
 10949 		.db		5Ah	; Z
       
 10950 		.db		49h	; I
       
 10951 		.db		6Eh	; n
       
 10952 		.db		74h	; t
       
 10953 		.db		0
       
 10954 p03loc_79BD:
  9161 p03loc_79BD:
 10955 		.db		4Ch	; L
  9162 		.asc	'LinRegTTest',0
 10956 		.db		69h	; i
  9163 aA:
 10957 		.db		6Eh	; n
  9164 		.db		0C3h
 10958 		.db		52h	; R
  9165 		.db		80h
 10959 		.db		65h	; e
  9166 		.db		0
 10960 		.db		67h	; g
  9167 p03loc_79CC:
 10961 		.db		54h	; T
  9168 		.db		0C7h
 10962 		.db		54h	; T
  9169 		.db		0
 10963 		.db		65h	; e
  9170 p03loc_79CE:
 10964 		.db		73h	; s
  9171 aList:
 10965 		.db		74h	; t
  9172 		.asc	'List',0
 10966 		.db		0
  9173 aFreq:
 10967 		.db		0C3h	; �
  9174 		.asc	'Freq',0
 10968 		.db		80h	; �
  9175 aList1:
 10969 		.db		0
  9176 		.asc	'List1',0
 10970 		.db		0C7h	; �
  9177 aList2:
 10971 		.db		0
  9178 		.asc	'List2',0
 10972 		.db		4Ch	; L
  9179 aFreq1:
 10973 		.db		69h	; i
  9180 		.asc	'Freq1',0
 10974 		.db		73h	; s
  9181 aFreq2:
 10975 		.db		74h	; t
  9182 		.asc	'Freq2',0
 10976 		.db		0
  9183 aN1:
 10977 		.db		46h	; F
  9184 		.asc	'n1',0
 10978 		.db		72h	; r
  9185 a1_1:
 10979 		.db		65h	; e
  9186 		.db		0CBh
 10980 		.db		71h	; q
  9187 		.db		31h
 10981 		.db		0
  9188 		.db		0
 10982 		.db		4Ch	; L
  9189 aSx1:
 10983 		.db		69h	; i
  9190 		.asc	'Sx1',0
 10984 		.db		73h	; s
  9191 aN2:
 10985 		.db		74h	; t
  9192 		.asc	'n2',0
 10986 		.db		31h	; 1
  9193 a2:
 10987 		.db		0
  9194 		.db		0CBh
 10988 		.db		4Ch	; L
  9195 		.db		32h
 10989 		.db		69h	; i
  9196 		.db		0
 10990 		.db		73h	; s
  9197 aSx2:
 10991 		.db		74h	; t
  9198 		.asc	'Sx2',0
 10992 		.db		32h	; 2
  9199 a1_2:
 10993 		.db		0
  9200 		.db		0C7h
 10994 		.db		46h	; F
  9201 		.db		31h
 10995 		.db		72h	; r
  9202 		.db		0
 10996 		.db		65h	; e
  9203 a2_0:
 10997 		.db		71h	; q
  9204 		.db		0C7h
 10998 		.db		31h	; 1
  9205 		.db		32h
 10999 		.db		0
  9206 		.db		0
 11000 		.db		46h	; F
  9207 aPa:
 11001 		.db		72h	; r
  9208 		.db		70h
 11002 		.db		65h	; e
  9209 		.db		80h
 11003 		.db		71h	; q
  9210 		.db		0
 11004 		.db		32h	; 2
  9211 aX:
 11005 		.db		0
  9212 		.asc	'x',0
 11006 		.db		6Eh	; n
  9213 aN_0:
 11007 		.db		31h	; 1
  9214 		.asc	'n',0
 11008 		.db		0
  9215 aX1:
 11009 		.db		0CBh	; 
  9216 		.asc	'x1',0
 11010 		.db		31h	; 1
  9217 aX2:
 11011 		.db		0
  9218 		.asc	'x2',0
 11012 		.db		53h	; S
  9219 aCLevel:
 11013 		.db		78h	; x
  9220 		.asc	'C-Level',0
 11014 		.db		31h	; 1
  9221 aObserved:
 11015 		.db		0
  9222 		.asc	'Observed',0
 11016 		.db		6Eh	; n
  9223 aExpected:
 11017 		.db		32h	; 2
  9224 		.asc	'Expected',0
 11018 		.db		0
  9225 aXlist:
 11019 		.db		0CBh	; 
  9226 		.asc	'Xlist',0
 11020 		.db		32h	; 2
  9227 aYlist:
 11021 		.db		0
  9228 		.asc	'Ylist',0
 11022 		.db		53h	; S
  9229 p03loc_7A3D:
 11023 		.db		78h	; x
       
 11024 		.db		32h	; 2
       
 11025 		.db		0
       
 11026 		.db		0C7h	; �
       
 11027 		.db		31h	; 1
       
 11028 		.db		0
       
 11029 		.db		0C7h	; �
       
 11030 		.db		32h	; 2
       
 11031 		.db		0
       
 11032 		.db		70h	; p
       
 11033 		.db		80h	; �
       
 11034 		.db		0
       
 11035 		.db		78h	; x
       
 11036 		.db		0
       
 11037 		.db		6Eh	; n
       
 11038 		.db		0
       
 11039 		.db		78h	; x
       
 11040 		.db		31h	; 1
       
 11041 		.db		0
       
 11042 		.db		78h	; x
       
 11043 		.db		32h	; 2
       
 11044 		.db		0
       
 11045 		.db		43h	; C
       
 11046 		.db		2Dh	; -
       
 11047 		.db		4Ch	; L
       
 11048 		.db		65h	; e
       
 11049 		.db		76h	; v
       
 11050 		.db		65h	; e
       
 11051 		.db		6Ch	; l
       
 11052 		.db		0
       
 11053 aObserved:	.asc 'Observed',0
       
 11054 aExpected:	.asc 'Expected',0
       
 11055 aXlist:		.asc 'Xlist',0
       
 11056 aYlist:		.asc 'Ylist',0
       
 11057 		.asc		0CBh,0
  9230 		.asc		0CBh,0
 11058 aN:		.asc 'n',0
  9231 aN:		.asc	'n',0
 11059 aSx:		.asc 'Sx',0
  9232 aSx:	.asc	'Sx',0
       
  9233 p03loc_7A44:
 11060 		.asc		0C3h,0
  9234 		.asc		0C3h,0
 11061 a1:		.asc		0C3h,'1',0
  9235 a1:		.asc		0C3h,'1',0
 11062 aProp:		.asc 'prop',0
  9236 aProp:	.asc	'prop',0
 11063 aP1:		.asc 'p1',0
  9237 aP1:	.asc	'p1',0
 11064 a1_0:		.asc		0C7h,'1',0
  9238 a1_0:	.asc		0C7h,'1',0
       
  9239 p03loc_7A54:
 11065 		.asc		0BCh,' ',026h,' ',0C5h,0
  9240 		.asc		0BCh,' ',026h,' ',0C5h,0
 11066 aCalculate:	.asc 'Calculate',0
  9241 aCalculate:
       
  9242 		.asc	'Calculate',0
 11067 p03loc_7A64:
  9243 p03loc_7A64:
 11068 aDraw:		.asc 'Draw',0
  9244 aDraw:	.asc 'Draw',0
 11069 aInpt:		.asc 'Inpt',0
  9245 aInpt:	.asc 'Inpt',0
 11070 aPooled:	.asc 'Pooled',0
  9246 aPooled:.asc 'Pooled',0
 11071 aYes:		.asc 'Yes',0
  9247 aYes:	.asc 'Yes',0
 11072 aNo:		.asc 'No',0
  9248 aNo:	.asc 'No',0
 11073 aData:		.asc 'Data',0
  9249 aData:	.asc 'Data',0
 11074 aStats:		.asc 'Stats',0
  9250 aStats:	.asc 'Stats',0
       
  9251 p03loc_7A87:
 11075 		.db		18h
  9252 		.db		18h
 11076 		.db		0C3h	; �
  9253 		.db		0C3h
 11077 		.db		80h	; �
  9254 		.db		80h
 11078 		.db		0
  9255 		.db		0
 11079 		.db		3Eh	; >
  9256 p03loc_7A8B:
 11080 		.db		0C3h	; �
  9257 		.db		3Eh
 11081 		.db		80h	; �
  9258 		.db		0C3h
 11082 		.db		0
  9259 		.db		80h
 11083 		.db		3Ch	; <
  9260 		.db		0
 11084 		.db		0C3h	; �
  9261 p03loc_7A8F:
 11085 		.db		80h	; �
  9262 		.db		3Ch
 11086 		.db		0
  9263 		.db		0C3h
       
  9264 		.db		80h
       
  9265 		.db		0
       
  9266 p03loc_7A93:
 11087 		.db		18h
  9267 		.db		18h
 11088 		.db		0C3h	; �
  9268 		.db		0C3h
 11089 		.db		32h	; 2
  9269 		.db		32h
 11090 		.db		0
  9270 		.db		0
 11091 		.db		3Eh	; >
  9271 p03loc_7A97:
 11092 		.db		0C3h	; �
  9272 		.db		3Eh
 11093 		.db		32h	; 2
  9273 		.db		0C3h
 11094 		.db		0
  9274 		.db		32h
 11095 		.db		3Ch	; <
  9275 		.db		0
 11096 		.db		0C3h	; �
  9276 p03loc_7A9B:
 11097 		.db		32h	; 2
  9277 		.db		3Ch
 11098 		.db		0
  9278 		.db		0C3h
       
  9279 		.db		32h
       
  9280 		.db		0
       
  9281 p03loc_7A9F:
 11099 		.db		18h
  9282 		.db		18h
 11100 		.db		70h	; p
  9283 		.db		70h
 11101 		.db		80h	; �
  9284 		.db		80h
 11102 		.db		0
  9285 		.db		0
 11103 		.db		3Eh	; >
  9286 p03loc_7AA3:
 11104 		.db		70h	; p
  9287 		.db		3Eh
 11105 		.db		80h	; �
  9288 		.db		70h
 11106 		.db		0
  9289 		.db		80h
 11107 		.db		3Ch	; <
  9290 		.db		0
 11108 		.db		70h	; p
  9291 p03loc_7AA7:
 11109 		.db		80h	; �
  9292 		.db		3Ch
 11110 		.db		0
  9293 		.db		70h
       
  9294 		.db		80h
       
  9295 		.db		0
       
  9296 p03loc_7AAB:
 11111 		.db		18h
  9297 		.db		18h
 11112 		.db		70h	; p
  9298 		.db		70h
 11113 		.db		32h	; 2
  9299 		.db		32h
 11114 		.db		0
  9300 		.db		0
 11115 		.db		3Eh	; >
  9301 p03loc_7AAF:
 11116 		.db		70h	; p
  9302 		.db		3Eh
 11117 		.db		32h	; 2
  9303 		.db		70h
 11118 		.db		0
  9304 		.db		32h
 11119 		.db		3Ch	; <
  9305 		.db		0
 11120 		.db		70h	; p
  9306 p03loc_7AB3:
 11121 		.db		32h	; 2
  9307 		.db		3Ch
 11122 		.db		0
  9308 		.db		70h
       
  9309 		.db		32h
       
  9310 		.db		0
       
  9311 p03loc_7AB7:
 11123 		.db		18h
  9312 		.db		18h
 11124 		.db		0C7h	; �
  9313 		.db		0C7h
 11125 		.db		32h	; 2
  9314 		.db		32h
 11126 		.db		0
  9315 		.db		0
 11127 		.db		3Eh	; >
  9316 p03loc_7ABB:
 11128 		.db		0C7h	; �
  9317 		.db		3Eh
 11129 		.db		32h	; 2
  9318 		.db		0C7h
 11130 		.db		0
  9319 		.db		32h
 11131 		.db		3Ch	; <
  9320 		.db		0
 11132 		.db		0C7h	; �
  9321 p03loc_7ABF:
 11133 		.db		32h	; 2
  9322 		.db		3Ch
 11134 		.db		0
  9323 		.db		0C7h
       
  9324 		.db		32h
       
  9325 		.db		0
       
  9326 p03loc_7AC3:
 11135 		.db		18h
  9327 		.db		18h
 11136 		.db		30h	; 0
  9328 		.db		30h
 11137 		.db		0
  9329 		.db		0
 11138 		.db		3Eh	; >
  9330 p03loc_7AC6:
 11139 		.db		30h	; 0
  9331 		.db		3Eh
 11140 		.db		0
  9332 		.db		30h
 11141 		.db		3Ch	; <
  9333 		.db		0
 11142 		.db		30h	; 0
  9334 p03loc_7AC9:
 11143 		.db		0
  9335 		.db		3Ch
 11144 		.db		52h	; R
  9336 		.db		30h
 11145 		.db		65h	; e
  9337 		.db		0
 11146 		.db		67h	; g
  9338 aRegEQ_03:
 11147 		.db		45h	; E
  9339 		.asc 'RegEQ',0
 11148 		.db		51h	; Q
       
 11149 		.db		0
       
 11150 p03loc_7AD2:
  9340 p03loc_7AD2:
 11151 		.dw		p03loc_7AE6
  9341 		.dw		p03loc_7AE6
 11152 		.dw		p03loc_7B13
  9342 		.dw		p03loc_7B13
 11153 		.dw		p03loc_7B40
  9343 		.dw		p03loc_7B40
 11154 		.dw		p03loc_7B6D
  9344 		.dw		p03loc_7B6D
 11159 		.dw		p03loc_7C4E
  9349 		.dw		p03loc_7C4E
 11160 		.dw		p03loc_7C30
  9350 		.dw		p03loc_7C30
 11161 p03loc_7AE6:
  9351 p03loc_7AE6:
 11162 		.db		1
  9352 		.db		1
 11163 		.db		0
  9353 		.db		0
 11164 		.db		0FEh	; �
  9354 		.db		0FEh
 11165 		.db		0FEh	; �
  9355 		.db		0FEh
 11166 		.db		5
  9356 		.db		5
 11167 		.db		3
  9357 		.db		3
 11168 		.db		3
  9358 		.db		3
 11169 		.db		87h	; �
  9359 		.dw		p03loc_7A87
 11170 		.db		7Ah	; z
  9360 		.db		0Ch
 11171 		.db		0Ch
  9361 		.db		8Ah
 11172 		.db		8Ah	; 
       
 11173 		.db		0
  9362 		.db		0
 11174 		.db		3
  9363 		.db		3
 11175 		.db		0FEh	; �
  9364 		.db		0FEh
 11176 		.db		7Dh	; }
  9365 		.db		7Dh
 11177 		.db		2
  9366 		.db		2
 11178 		.db		0
  9367 		.db		0
 11179 		.db		0FEh	; �
  9368 		.db		0FEh
 11180 		.db		0FEh	; �
  9369 		.db		0FEh
 11181 		.db		5
  9370 		.db		5
 11182 		.db		7
  9371 		.db		7
 11183 		.db		3
  9372 		.db		3
 11184 		.db		8Fh	; �
  9373 		.dw		p03loc_7A8F
 11185 		.db		7Ah	; z
  9374 		.db		0Ch
 11186 		.db		0Ch
  9375 		.db		8Ah 
 11187 		.db		8Ah	; 
       
 11188 		.db		1
  9376 		.db		1
 11189 		.db		3
  9377 		.db		3
 11190 		.db		0FEh	; �
  9378 		.db		0FEh
 11191 		.db		7Eh	; ~
  9379 		.db		7Eh
 11192 		.db		2
  9380 		.db		2
 11193 		.db		1
  9381 		.db		1
 11194 		.db		0FEh	; �
  9382 		.db		0FEh
 11195 		.db		0FEh	; �
  9383 		.db		0FEh
 11196 		.db		5
  9384 		.db		5
 11197 		.db		0Bh
  9385 		.db		0Bh
 11198 		.db		3
  9386 		.db		3
 11199 		.db		8Bh	; 
  9387 		.dw		p03loc_7A8B
 11200 		.db		7Ah	; z
  9388 		.db		0Ch
 11201 		.db		0Ch
  9389 		.db		8Ah
 11202 		.db		8Ah	; 
       
 11203 		.db		2
  9390 		.db		2
 11204 		.db		3
  9391 		.db		3
 11205 		.db		0FEh	; �
  9392 		.db		0FEh
 11206 		.db		7Fh	; 
  9393 		.db		7Fh
 11207 p03loc_7B13:
  9394 p03loc_7B13:
 11208 		.db		1
  9395 		.db		1
 11209 		.db		0
  9396 		.db		0
 11210 		.db		0FEh	; �
  9397 		.db		0FEh
 11211 		.db		0FEh	; �
  9398 		.db		0FEh
 11212 		.db		5
  9399 		.db		5
 11213 		.db		4
  9400 		.db		4
 11214 		.db		3
  9401 		.db		3
 11215 		.db		93h	; �
  9402 		.dw		p03loc_7A93
 11216 		.db		7Ah	; z
  9403 		.db		0Ch
 11217 		.db		0Ch
  9404 		.db		8Ah
 11218 		.db		8Ah	; 
       
 11219 		.db		0
  9405 		.db		0
 11220 		.db		3
  9406 		.db		3
 11221 		.db		0FEh	; �
  9407 		.db		0FEh
 11222 		.db		80h	; �
  9408 		.db		80h
 11223 		.db		2
  9409 		.db		2
 11224 		.db		0
  9410 		.db		0
 11225 		.db		0FEh	; �
  9411 		.db		0FEh
 11226 		.db		0FEh	; �
  9412 		.db		0FEh
 11227 		.db		5
  9413 		.db		5
 11228 		.db		8
  9414 		.db		8
 11229 		.db		3
  9415 		.db		3
 11230 		.db		9Bh	; �
  9416 		.dw		p03loc_7A9B
 11231 		.db		7Ah	; z
  9417 		.db		0Ch
 11232 		.db		0Ch
  9418 		.db		8Ah
 11233 		.db		8Ah	; 
       
 11234 		.db		1
  9419 		.db		1
 11235 		.db		3
  9420 		.db		3
 11236 		.db		0FEh	; �
  9421 		.db		0FEh
 11237 		.db		81h	; �
  9422 		.db		81h
 11238 		.db		2
  9423 		.db		2
 11239 		.db		1
  9424 		.db		1
 11240 		.db		0FEh	; �
  9425 		.db		0FEh
 11241 		.db		0FEh	; �
  9426 		.db		0FEh
 11242 		.db		5
  9427 		.db		5
 11243 		.db		0Ch
  9428 		.db		0Ch
 11244 		.db		3
  9429 		.db		3
 11245 		.db		97h	; �
  9430 		.dw		p03loc_7A97
 11246 		.db		7Ah	; z
  9431 		.db		0Ch
 11247 		.db		0Ch
  9432 		.db		8Ah
 11248 		.db		8Ah	; 
       
 11249 		.db		2
  9433 		.db		2
 11250 		.db		3
  9434 		.db		3
 11251 		.db		0FEh	; �
  9435 		.db		0FEh
 11252 		.db		82h	; �
  9436 		.db		82h
 11253 p03loc_7B40:
  9437 p03loc_7B40:
 11254 		.db		1
  9438 		.db		1
 11255 		.db		0
  9439 		.db		0
 11256 		.db		0FEh	; �
  9440 		.db		0FEh
 11257 		.db		0FEh	; �
  9441 		.db		0FEh
 11258 		.db		5
  9442 		.db		5
 11259 		.db		5
  9443 		.db		5
 11260 		.db		3
  9444 		.db		3
 11261 		.db		9Fh	; �
  9445 		.dw		p03loc_7A9F
 11262 		.db		7Ah	; z
  9446 		.db		0Ch
 11263 		.db		0Ch
  9447 		.db		8Ah
 11264 		.db		8Ah	; 
       
 11265 		.db		0
  9448 		.db		0
 11266 		.db		3
  9449 		.db		3
 11267 		.db		0FEh	; �
  9450 		.db		0FEh
 11268 		.db		83h	; �
  9451 		.db		83h
 11269 		.db		2
  9452 		.db		2
 11270 		.db		0
  9453 		.db		0
 11271 		.db		0FEh	; �
  9454 		.db		0FEh
 11272 		.db		0FEh	; �
  9455 		.db		0FEh
 11273 		.db		5
  9456 		.db		5
 11274 		.db		9
  9457 		.db		9
 11275 		.db		3
  9458 		.db		3
 11276 		.db		0A7h	; �
  9459 		.dw		p03loc_7AA7
 11277 		.db		7Ah	; z
  9460 		.db		0Ch
 11278 		.db		0Ch
  9461 		.db		8Ah
 11279 		.db		8Ah	; 
       
 11280 		.db		1
  9462 		.db		1
 11281 		.db		3
  9463 		.db		3
 11282 		.db		0FEh	; �
  9464 		.db		0FEh
 11283 		.db		84h	; �
  9465 		.db		84h
 11284 		.db		2
  9466 		.db		2
 11285 		.db		1
  9467 		.db		1
 11286 		.db		0FEh	; �
  9468 		.db		0FEh
 11287 		.db		0FEh	; �
  9469 		.db		0FEh
 11288 		.db		5
  9470 		.db		5
 11289 		.db		0Dh
  9471 		.db		0Dh
 11290 		.db		3
  9472 		.db		3
 11291 		.db		0A3h	; �
  9473 		.dw		p03loc_7AA3
 11292 		.db		7Ah	; z
  9474 		.db		0Ch
 11293 		.db		0Ch
  9475 		.db		8Ah
 11294 		.db		8Ah	; 
       
 11295 		.db		2
  9476 		.db		2
 11296 		.db		3
  9477 		.db		3
 11297 		.db		0FEh	; �
  9478 		.db		0FEh
 11298 		.db		85h	; �
  9479 		.db		85h
 11299 p03loc_7B6D:
  9480 p03loc_7B6D:
 11300 		.db		1
  9481 		.db		1
 11301 		.db		0
  9482 		.db		0
 11302 		.db		0FEh	; �
  9483 		.db		0FEh
 11303 		.db		0FEh	; �
  9484 		.db		0FEh
 11304 		.db		5
  9485 		.db		5
 11305 		.db		4
  9486 		.db		4
 11306 		.db		3
  9487 		.db		3
 11307 		.db		0ABh	; 
  9488 		.dw		p03loc_7AAB
 11308 		.db		7Ah	; z
  9489 		.db		0Ch
 11309 		.db		0Ch
  9490 		.db		8Ah
 11310 		.db		8Ah	; 
       
 11311 		.db		0
  9491 		.db		0
 11312 		.db		3
  9492 		.db		3
 11313 		.db		0FEh	; �
  9493 		.db		0FEh
 11314 		.db		86h	; �
  9494 		.db		86h
 11315 		.db		2
  9495 		.db		2
 11316 		.db		0
  9496 		.db		0
 11317 		.db		0FEh	; �
  9497 		.db		0FEh
 11318 		.db		0FEh	; �
  9498 		.db		0FEh
 11319 		.db		5
  9499 		.db		5
 11320 		.db		8
  9500 		.db		8
 11321 		.db		3
  9501 		.db		3
 11322 		.db		0B3h	; �
  9502 		.dw		p03loc_7AB3
 11323 		.db		7Ah	; z
  9503 		.db		0Ch
 11324 		.db		0Ch
  9504 		.db		8Ah
 11325 		.db		8Ah	; 
       
 11326 		.db		1
  9505 		.db		1
 11327 		.db		3
  9506 		.db		3
 11328 		.db		0FEh	; �
  9507 		.db		0FEh
 11329 		.db		87h	; �
  9508 		.db		87h
 11330 		.db		2
  9509 		.db		2
 11331 		.db		1
  9510 		.db		1
 11332 		.db		0FEh	; �
  9511 		.db		0FEh
 11333 		.db		0FEh	; �
  9512 		.db		0FEh
 11334 		.db		5
  9513 		.db		5
 11335 		.db		0Ch
  9514 		.db		0Ch
 11336 		.db		3
  9515 		.db		3
 11337 		.db		0AFh	; �
  9516 		.dw		p03loc_7AAF
 11338 		.db		7Ah	; z
  9517 		.db		0Ch
 11339 		.db		0Ch
  9518 		.db		8Ah
 11340 		.db		8Ah	; 
       
 11341 		.db		2
  9519 		.db		2
 11342 		.db		3
  9520 		.db		3
 11343 		.db		0FEh	; �
  9521 		.db		0FEh
 11344 		.db		88h	; �
  9522 		.db		88h
 11345 p03loc_7B9A:
  9523 p03loc_7B9A:
 11346 		.db		1
  9524 		.db		1
 11347 		.db		0
  9525 		.db		0
 11348 		.db		0FEh	; �
  9526 		.db		0FEh
 11349 		.db		0FEh	; �
  9527 		.db		0FEh
 11350 		.db		5
  9528 		.db		5
 11351 		.db		4
  9529 		.db		4
 11352 		.db		3
  9530 		.db		3
 11353 		.db		0B7h	; �
  9531 		.dw		p03loc_7AB7
 11354 		.db		7Ah	; z
  9532 		.db		0Ch
 11355 		.db		0Ch
  9533 		.db		8Ah
 11356 		.db		8Ah	; 
       
 11357 		.db		0
  9534 		.db		0
 11358 		.db		3
  9535 		.db		3
 11359 		.db		0FEh	; �
  9536 		.db		0FEh
 11360 		.db		89h	; 	
  9537 		.db		89h
 11361 		.db		2
  9538 		.db		2
 11362 		.db		0
  9539 		.db		0
 11363 		.db		0FEh	; �
  9540 		.db		0FEh
 11364 		.db		0FEh	; �
  9541 		.db		0FEh
 11365 		.db		5
  9542 		.db		5
 11366 		.db		8
  9543 		.db		8
 11367 		.db		3
  9544 		.db		3
 11368 		.db		0BFh	; �
  9545 		.dw		p03loc_7ABF
 11369 		.db		7Ah	; z
  9546 		.db		0Ch
 11370 		.db		0Ch
  9547 		.db		8Ah
 11371 		.db		8Ah	; 
       
 11372 		.db		1
  9548 		.db		1
 11373 		.db		3
  9549 		.db		3
 11374 		.db		0FEh	; �
  9550 		.db		0FEh
 11375 		.db		8Ah	; 
  9551 		.db		8Ah
 11376 		.db		2
  9552 		.db		2
 11377 		.db		1
  9553 		.db		1
 11378 		.db		0FEh	; �
  9554 		.db		0FEh
 11379 		.db		0FEh	; �
  9555 		.db		0FEh
 11380 		.db		5
  9556 		.db		5
 11381 		.db		0Ch
  9557 		.db		0Ch
 11382 		.db		3
  9558 		.db		3
 11383 		.db		0BBh	; �
  9559 		.dw		p03loc_7ABB
 11384 		.db		7Ah	; z
  9560 		.db		0Ch
 11385 		.db		0Ch
  9561 		.db		8Ah
 11386 		.db		8Ah	; 
       
 11387 		.db		2
  9562 		.db		2
 11388 		.db		3
  9563 		.db		3
 11389 		.db		0FEh	; �
  9564 		.db		0FEh
 11390 		.db		8Bh	; 
  9565 		.db		8Bh
 11391 p03loc_7BC7:
  9566 p03loc_7BC7:
 11392 		.db		1
  9567 		.db		1
 11393 		.db		0
  9568 		.db		0
 11394 		.db		0FEh	; �
  9569 		.db		0FEh
 11395 		.db		0FEh	; �
  9570 		.db		0FEh
 11396 		.db		5
  9571 		.db		5
 11397 		.db		7
  9572 		.db		7
 11398 		.db		2
  9573 		.db		2
 11399 		.db		0C3h	; �
  9574 		.dw		p03loc_7AC3
 11400 		.db		7Ah	; z
  9575 		.db		0Ch
 11401 		.db		0Ch
  9576 		.db		8Ah
 11402 		.db		8Ah	; 
       
 11403 		.db		0
  9577 		.db		0
 11404 		.db		3
  9578 		.db		3
 11405 		.db		0FEh	; �
  9579 		.db		0FEh
 11406 		.db		8Ch	; 
  9580 		.db		8Ch
 11407 		.db		2
  9581 		.db		2
 11408 		.db		0
  9582 		.db		0
 11409 		.db		0FEh	; �
  9583 		.db		0FEh
 11410 		.db		0FEh	; �
  9584 		.db		0FEh
 11411 		.db		5
  9585 		.db		5
 11412 		.db		0Ah
  9586 		.db		0Ah
 11413 		.db		2
  9587 		.db		2
 11414 		.db		0C9h	; 	
  9588 		.dw		p03loc_7AC9
 11415 		.db		7Ah	; z
  9589 		.db		0Ch
 11416 		.db		0Ch
  9590 		.db		8Ah
 11417 		.db		8Ah	; 
       
 11418 		.db		1
  9591 		.db		1
 11419 		.db		3
  9592 		.db		3
 11420 		.db		0FEh	; �
  9593 		.db		0FEh
 11421 		.db		8Dh	; 
  9594 		.db		8Dh
 11422 		.db		2
  9595 		.db		2
 11423 		.db		1
  9596 		.db		1
 11424 		.db		0FEh	; �
  9597 		.db		0FEh
 11425 		.db		0FEh	; �
  9598 		.db		0FEh
 11426 		.db		5
  9599 		.db		5
 11427 		.db		0Dh
  9600 		.db		0Dh
 11428 		.db		2
  9601 		.db		2
 11429 		.db		0C6h	; �
  9602 		.dw		p03loc_7AC6
 11430 		.db		7Ah	; z
  9603 		.db		0Ch
 11431 		.db		0Ch
  9604 		.db		8Ah
 11432 		.db		8Ah	; 
       
 11433 		.db		2
  9605 		.db		2
 11434 		.db		3
  9606 		.db		3
 11435 		.db		0FEh	; �
  9607 		.db		0FEh
 11436 		.db		8Eh	; �
  9608 		.db		8Eh
 11437 p03loc_7BF4:
  9609 p03loc_7BF4:
 11438 		.db		1
  9610 		.db		1
 11439 		.db		0
  9611 		.db		0
 11440 		.db		0FEh	; �
  9612 		.db		0FEh
 11441 		.db		0FEh	; �
  9613 		.db		0FEh
 11442 		.db		1
  9614 		.db		1
 11443 		.db		6
  9615 		.db		6
 11444 		.db		4
  9616 		.db		4
 11445 		.db		7Ch	; |
  9617 		.dw		aData
 11446 		.db		7Ah	; z
  9618 		.db		0Ch
 11447 		.db		0Ch
  9619 		.db		8Ah
 11448 		.db		8Ah	; 
       
 11449 		.db		0
  9620 		.db		0
 11450 		.db		8
  9621 		.db		8
 11451 		.db		0FEh	; �
  9622 		.db		0FEh
 11452 		.db		77h	; w
  9623 		.db		77h
 11453 		.db		1
  9624 		.db		1
 11454 		.db		0
  9625 		.db		0
 11455 		.db		0FEh	; �
  9626 		.db		0FEh
 11456 		.db		0FEh	; �
  9627 		.db		0FEh
 11457 		.db		1
  9628 		.db		1
 11458 		.db		0Bh
  9629 		.db		0Bh
 11459 		.db		5
  9630 		.db		5
 11460 		.db		81h	; �
  9631 		.dw		aStats
 11461 		.db		7Ah	; z
  9632 		.db		0Ch
 11462 		.db		0Ch
  9633 		.db		8Ah
 11463 		.db		8Ah	; 
       
 11464 		.db		8
  9634 		.db		8
 11465 		.db		8
  9635 		.db		8
 11466 		.db		0FEh	; �
  9636 		.db		0FEh
 11467 		.db		78h	; x
  9637 		.db		78h
 11468 p03loc_7C12:
  9638 p03loc_7C12:
 11469 		.db		1
  9639 		.db		1
 11470 		.db		0
  9640 		.db		0
 11471 		.db		0FEh	; �
  9641 		.db		0FEh
 11472 		.db		0FEh	; �
  9642 		.db		0FEh
 11473 		.db		7
  9643 		.db		7
 11474 		.db		8
  9644 		.db		8
 11475 		.db		2
  9645 		.db		2
 11476 		.db		79h	; y
  9646 		.dw		aNo
 11477 		.db		7Ah	; z
  9647 		.db		0Ch
 11478 		.db		0Ch
  9648 		.db		8Ah
 11479 		.db		8Ah	; 
       
 11480 		.db		0
  9649 		.db		0
 11481 		.db		4
  9650 		.db		4
 11482 		.db		0FEh	; �
  9651 		.db		0FEh
 11483 		.db		79h	; y
  9652 		.db		79h
 11484 		.db		1
  9653 		.db		1
 11485 		.db		0
  9654 		.db		0
 11486 		.db		0FEh	; �
  9655 		.db		0FEh
 11487 		.db		0FEh	; �
  9656 		.db		0FEh
 11488 		.db		7
  9657 		.db		7
 11489 		.db		0Bh
  9658 		.db		0Bh
 11490 		.db		3
  9659 		.db		3
 11491 		.db		75h	; u
  9660 		.dw		aYes
 11492 		.db		7Ah	; z
  9661 		.db		0Ch
 11493 		.db		0Ch
  9662 		.db		8Ah
 11494 		.db		8Ah	; 
       
 11495 		.db		4
  9663 		.db		4
 11496 		.db		4
  9664 		.db		4
 11497 		.db		0FEh	; �
  9665 		.db		0FEh
 11498 		.db		7Ah	; z
  9666 		.db		7Ah
 11499 p03loc_7C30:
  9667 p03loc_7C30:
 11500 		.db		1
  9668 		.db		1
 11501 		.db		0
  9669 		.db		0
 11502 		.db		0FEh	; �
  9670 		.db		0FEh
 11503 		.db		0FEh	; �
  9671 		.db		0FEh
 11504 		.db		6
  9672 		.db		6
 11505 		.db		1
  9673 		.db		1
 11506 		.db		9
  9674 		.db		9
 11507 		.db		5Ah	; Z
  9675 		.dw		aCalculate
 11508 		.db		7Ah	; z
  9676 		.db		0Ch
 11509 		.db		0Ch
  9677 		.db		8Ah
 11510 		.db		8Ah	; 
       
 11511 		.db		20h
  9678 		.db		20h
 11512 		.db		20h
  9679 		.db		20h
 11513 		.db		0FEh	; �
  9680 		.db		0FEh
 11514 		.db		7Bh	; {
  9681 		.db		7Bh
 11515 		.db		1
  9682 		.db		1
 11516 		.db		0
  9683 		.db		0
 11517 		.db		0FEh	; �
  9684 		.db		0FEh
 11518 		.db		0FEh	; �
  9685 		.db		0FEh
 11519 		.db		6
  9686 		.db		6
 11520 		.db		0Bh
  9687 		.db		0Bh
 11521 		.db		4
  9688 		.db		4
 11522 		.db		64h	; d
  9689 		.dw		aDraw
 11523 		.db		7Ah	; z
  9690 		.db		0Ch
 11524 		.db		0Ch
  9691 		.db		8Ah
 11525 		.db		8Ah	; 
       
 11526 		.db		20h
  9692 		.db		20h
 11527 		.db		20h
  9693 		.db		20h
 11528 		.db		0FEh	; �
  9694 		.db		0FEh
 11529 		.db		7Ch	; |
  9695 		.db		7Ch
 11530 p03loc_7C4E:
  9696 p03loc_7C4E:
 11531 		.db		0
  9697 		.db		0
 11532 		.db		0
  9698 		.db		0
 11533 		.db		0FEh	; �
  9699 		.db		0FEh
 11534 		.db		0FEh	; �
  9700 		.db		0FEh
 11535 		.db		6
  9701 		.db		6
 11536 		.db		1
  9702 		.db		1
 11537 		.db		9
  9703 		.db		9
 11538 		.db		5Ah	; Z
  9704 		.dw		aCalculate
 11539 		.db		7Ah	; z
  9705 		.db		0Ch
 11540 		.db		0Ch
  9706 		.db		8Ah
 11541 		.db		8Ah	; 
       
 11542 		.db		20h
  9707 		.db		20h
 11543 		.db		20h
  9708 		.db		20h
 11544 		.db		0FEh	; �
  9709 		.db		0FEh
 11545 		.db		7Bh	; {
  9710 		.db		7Bh
 11546 p03loc_7C5D:
  9711 p03loc_7C5D:
 11547 		.db		22h	; "
  9712 		.db		22h
 11548 		.db		23h	; #
  9713 		.db		23h
 11549 		.db		24h	; $
  9714 		.db		24h
 11550 		.db		2Dh	; -
  9715 		.db		2Dh
 11551 		.db		25h	; %
  9716 		.db		25h
 11552 		.db		26h	; &
  9717 		.db		26h
 11553 		.db		28h	; (
  9718 		.db		28h
 11554 		.db		2Fh	; /
  9719 		.db		2Fh
 11555 		.db		29h	; )
  9720 		.db		29h
 11556 		.db		30h	; 0
  9721 		.db		30h
 11557 		.db		2Ah	; *
  9722 		.db		2Ah
 11558 		.db		2Bh	; +
  9723 		.db		2Bh
 11559 		.db		27h	; '
  9724 		.db		27h
 11560 		.db		2Eh	; .
  9725 		.db		2Eh
 11561 		.db		22h	; "
  9726 		.db		22h
 11562 
       
 11563 ; =============== S U B	R O U T	I N E =======================================
       
 11564 
       
 11565 
  9727 
 11566 p03sub_7C6C:
  9728 p03sub_7C6C:
 11567 		call	p03sub_71FC
  9729 		call	p03sub_71FC
 11568 		push	ix
  9730 		push	ix
 11569 		ld		ix, (unk_9700)
  9731 		ld		ix, (unk_9700)
 11570 		ld		a, 0
  9732 		ld		a, 0
 11571 		ld		(nameBuff), a
  9733 		ld		(nameBuff), a
 11572 
       
 11573 p03loc_7C7A:
  9734 p03loc_7C7A:
 11574 		ld		a, (ix+0)
  9735 		ld		a, (ix+0)
 11575 		ld		(unk_8D0B), a
  9736 		ld		(unk_8D0B), a
 11576 		inc		a
  9737 		inc		a
 11577 		jr		z, p03loc_7C8D
  9738 		jr		z, p03loc_7C8D
 11578 		call	p03sub_7C90
  9739 		call	p03sub_7C90
 11579 		ld		de, 3
  9740 		ld		de, 3
 11580 		add		ix, de
  9741 		add		ix, de
 11581 		jr		p03loc_7C7A
  9742 		jr		p03loc_7C7A
 11582 ; ---------------------------------------------------------------------------
       
 11583 
       
 11584 p03loc_7C8D:
  9743 p03loc_7C8D:
 11585 		pop		ix
  9744 		pop		ix
 11586 		ret
  9745 		ret
 11587 ; End of function p03sub_7C6C
       
 11588 
       
 11589 
       
 11590 ; =============== S U B	R O U T	I N E =======================================
       
 11591 
       
 11592 
  9746 
 11593 p03sub_7C90:
  9747 p03sub_7C90:
 11594 
       
 11595 
       
 11596 
       
 11597 		call	p03sub_7264
  9748 		call	p03sub_7264
 11598 		call	OP1Set0
  9749 		call	OP1Set0
 11599 		ld		a, (ix+0)
  9750 		ld		a, (ix+0)
 11600 		cp		5Ah ; 'Z'
  9751 		cp		5Ah
 11601 		ret		z
  9752 		ret		z
 11602 		cp		5Bh ; '['
  9753 		cp		5Bh
 11603 		jr		z, p03loc_7CD7
  9754 		jr		z, p03loc_7CD7
 11604 		cp		52h ; 'R'
  9755 		cp		52h
 11605 		jp		c, p03loc_7CDF
  9756 		jp		c, p03loc_7CDF
 11606 		cp		58h ; 'X'
  9757 		cp		58h
 11607 		jr		c, p03loc_7CC0
  9758 		jr		c, p03loc_7CC0
 11608 		ret		z
  9759 		ret		z
 11609 		bit		2, (iy+1Ch)
  9760 		bit		2, (iy+1Ch)
 11610 		jr		z, p03loc_7CB3
  9761 		jr		z, p03loc_7CB3
 11611 
       
 11612 p03loc_7CB0:
  9762 p03loc_7CB0:
 11613 		call	OP1Set1
  9763 		call	OP1Set1
 11614 
       
 11615 p03loc_7CB3:
  9764 p03loc_7CB3:
 11616 		ld		hl, nameBuff
  9765 		ld		hl, nameBuff
 11617 		inc		(hl)
  9766 		inc		(hl)
 11618 		call	PushRealO1
  9767 		call	PushRealO1
 11619 		ret
  9768 		ret
 11620 ; End of function p03sub_7C90
       
 11621 
       
 11622 
       
 11623 ; =============== S U B	R O U T	I N E =======================================
       
 11624 
       
 11625 
  9769 
 11626 p03sub_7CBB:
  9770 p03sub_7CBB:
 11627 		bit		3, (iy+1Ch)
  9771 		bit		3, (iy+1Ch)
 11628 		ret
  9772 		ret
 11629 ; End of function p03sub_7CBB
       
 11630 
       
 11631 ; ---------------------------------------------------------------------------
       
 11632 ; START	OF FUNCTION CHUNK FOR p03sub_7C90
       
 11633 
  9773 
 11634 p03loc_7CC0:
  9774 p03loc_7CC0:
 11635 		ld		a, (unk_8A0C)
  9775 		ld		a, (unk_8A0C)
 11636 		and		3
  9776 		and		3
 11637 		jr		z, p03loc_7CB3
  9777 		jr		z, p03loc_7CB3
 11638 		push	af
  9778 		push	af
 11639 		call	OP1Set1
  9779 		call	OP1Set1
 11640 		pop		af
  9780 		pop		af
 11641 		cp		2
  9781 		cp		2
 11642 		jr		z, p03loc_7CB3
  9782 		jr		z, p03loc_7CB3
 11643 		ld		a, 80h ; '�'
  9783 		ld		a, 80h
 11644 		ld		(OP1), a
  9784 		ld		(OP1), a
 11645 		jr		p03loc_7CB3
  9785 		jr		p03loc_7CB3
 11646 ; ---------------------------------------------------------------------------
       
 11647 
       
 11648 p03loc_7CD7:
  9786 p03loc_7CD7:
 11649 		bit		5, (iy+1Ch)
  9787 		bit		5, (iy+1Ch)
 11650 		jr		nz, p03loc_7CB0
  9788 		jr		nz, p03loc_7CB0
 11651 		jr		p03loc_7CB3
  9789 		jr		p03loc_7CB3
 11652 ; ---------------------------------------------------------------------------
       
 11653 
       
 11654 p03loc_7CDF:
  9790 p03loc_7CDF:
 11655 		call	Rcl_StatVar
  9791 		call	Rcl_StatVar
 11656 		ld		a, (ix+0)
  9792 		ld		a, (ix+0)
 11657 		cp		51h ; 'Q'
  9793 		cp		51h ; 'Q'
 11658 		jr		nz, p03loc_7CF1
  9794 		jr		nz, p03loc_7CF1
 11659 		call	CkOP1Real
  9795 		call	CkOP1Real
 11660 		cp		3
  9796 		cp		3
 11661 		ret		nz
  9797 		ret		nz
 11662 		jr		p03loc_7CB3
  9798 		jr		p03loc_7CB3
 11663 ; ---------------------------------------------------------------------------
       
 11664 
       
 11665 p03loc_7CF1:
  9799 p03loc_7CF1:
 11666 		call	CkOP1Real
  9800 		call	CkOP1Real
 11667 		cp		1
  9801 		cp		1
 11668 		jr		z, p03loc_7CFC
  9802 		jr		z, p03loc_7CFC
 11669 		cp		0Dh
  9803 		cp		0Dh
 11670 		jr		nz, p03loc_7D19
  9804 		jr		nz, p03loc_7D19
 11671 
       
 11672 p03loc_7CFC:
  9805 p03loc_7CFC:
 11673 		ld		a, (OP1+1)
  9806 		ld		a, (OP1+1)
 11674 		cp		31h ; '1'
  9807 		cp		31h
 11675 		ret		z
  9808 		ret		z
 11676 		cp		5Dh ; ']'
  9809 		cp		5Dh
 11677 		jr		z, p03loc_7D14
  9810 		jr		z, p03loc_7D14
 11678 		ld		hl, 847Dh
  9811 		ld		hl, 847Dh
 11679 		ld		de, 847Eh
  9812 		ld		de, 847Eh
 11680 		ld		bc, 5
  9813 		ld		bc, 5
 11681 		lddr
  9814 		lddr
 11682 		ld		a, 5Dh ; ']'
  9815 		ld		a, 5Dh
 11683 		ld		(de), a
  9816 		ld		(de), a
 11684 
       
 11685 p03loc_7D14:
  9817 p03loc_7D14:
 11686 		call	j_Find_Parse_Formula
  9818 		call	j_Find_Parse_Formula
 11687 		jr		p03loc_7CB3
  9819 		jr		p03loc_7CB3
 11688 ; ---------------------------------------------------------------------------
       
 11689 
  9820 
 11690 p03loc_7D19:
  9821 p03loc_7D19:
 11691 		cp		0Eh
  9822 		cp		0Eh
 11692 		jr		nz, p03loc_7D21
  9823 		jr		nz, p03loc_7D21
 11693 		xor		a
  9824 		xor		a
 11694 		ld		(OP1), a
  9825 		ld		(OP1), a
 11695 
       
 11696 p03loc_7D21:
  9826 p03loc_7D21:
 11697 		jr		p03loc_7CB3
  9827 		jr		p03loc_7CB3
 11698 ; END OF FUNCTION CHUNK	FOR p03sub_7C90
       
 11699 ; ---------------------------------------------------------------------------
       
 11700 
  9828 
 11701 p03loc_7D23:
  9829 p03loc_7D23:
 11702 		ld		ix, (unk_97A3)
  9830 		ld		ix, (unk_97A3)
 11703 		call	p03sub_7D60
  9831 		call	p03sub_7D60
 11704 		bit		4, (iy+1Ch)
  9832 		bit		4, (iy+1Ch)
 11706 		ld		hl, 8D0Ah
  9834 		ld		hl, 8D0Ah
 11707 		res		4, (hl)
  9835 		res		4, (hl)
 11708 		call	p03sub_7CBB
  9836 		call	p03sub_7CBB
 11709 		jr		z, p03loc_7D3C
  9837 		jr		z, p03loc_7D3C
 11710 		set		4, (hl)
  9838 		set		4, (hl)
 11711 
       
 11712 p03loc_7D3C:
  9839 p03loc_7D3C:
 11713 		call	p03sub_74B9
  9840 		call	p03sub_74B9
 11714 		call	p03sub_7474
  9841 		call	p03sub_7474
 11715 		call	j_ClrScrn
  9842 		call	j_ClrScrn
 11716 		jp		p03loc_70CC
  9843 		jp		p03loc_70CC
 11717 
  9844 
 11718 ; =============== S U B	R O U T	I N E =======================================
       
 11719 
       
 11720 
       
 11721 p03sub_7D48:
  9845 p03sub_7D48:
 11722 		res		saIndic, (iy+newIndicFlags)
  9846 		res		saIndic, (iy+newIndicFlags)
 11723 		ld		a, (unk_97A1)
  9847 		ld		a, (unk_97A1)
 11724 		ld		b, a
  9848 		ld		b, a
 11725 		ld		ix, (unk_979F)
  9849 		ld		ix, (unk_979F)
 11726 
       
 11727 p03loc_7D54:
  9850 p03loc_7D54:
 11728 		or		a
  9851 		or		a
 11729 		call	Page03_3471
  9852 		call	Page03_3471
 11730 		ld		de, 0Fh
  9853 		ld		de, 0Fh
 11731 		add		ix, de
  9854 		add		ix, de
 11732 		djnz	p03loc_7D54
  9855 		djnz	p03loc_7D54
 11733 		ret
  9856 		ret
 11734 ; End of function p03sub_7D48
       
 11735 
       
 11736 
       
 11737 ; =============== S U B	R O U T	I N E =======================================
       
 11738 
       
 11739 
  9857 
 11740 p03sub_7D60:
  9858 p03sub_7D60:
 11741 		res		4, (iy+1Ch)
  9859 		res		4, (iy+1Ch)
 11742 		ld		l, (ix+9)
  9860 		ld		l, (ix+9)
 11743 		ld		h, (ix+0Ah)
  9861 		ld		h, (ix+0Ah)
 11747 		ret		z
  9865 		ret		z
 11748 		ld		a, (ix+0Ch)
  9866 		ld		a, (ix+0Ch)
 11749 		cp		8
  9867 		cp		8
 11750 		jr		nz, p03loc_7D7D
  9868 		jr		nz, p03loc_7D7D
 11751 		set		4, (iy+1Ch)
  9869 		set		4, (iy+1Ch)
 11752 
       
 11753 p03loc_7D7D:
  9870 p03loc_7D7D:
 11754 		cpl
  9871 		cpl
 11755 		and		(hl)
  9872 		and		(hl)
 11756 		or		(ix+0Bh)
  9873 		or		(ix+0Bh)
 11757 		ld		(hl), a
  9874 		ld		(hl), a
 11758 		ret
  9875 		ret
 11759 ; End of function p03sub_7D60
       
 11760 
       
 11761 ; ---------------------------------------------------------------------------
       
 11762 
  9876 
 11763 p03loc_7D84:
  9877 p03loc_7D84:
 11764 		ld		ix, (unk_97A3)
  9878 		ld		ix, (unk_97A3)
 11765 		cp		1
  9879 		cp		1
 11766 		jr		z, p03loc_7D91
  9880 		jr		z, p03loc_7D91
 11767 		cp		2
  9881 		cp		2
 11768 		jp		nz, Page0Call_3453
  9882 		jp		nz, Page0Call_3453
 11769 
       
 11770 p03loc_7D91:
  9883 p03loc_7D91:
 11771 		dec		a
  9884 		dec		a
 11772 		ld		e, a
  9885 		ld		e, a
 11773 		ld		d, 0
  9886 		ld		d, 0
 11774 		add		ix, de
  9887 		add		ix, de
 11790 		add		hl, de
  9903 		add		hl, de
 11791 		ld		(unk_97A3), hl
  9904 		ld		(unk_97A3), hl
 11792 		push	hl
  9905 		push	hl
 11793 		pop		ix
  9906 		pop		ix
 11794 		ret
  9907 		ret
 11795 ; ---------------------------------------------------------------------------
  9908 
       
  9909 #ifndef DEVIATE_FROM_ORIGINAL_FILE
       
  9910 ;Not referenced anywhere.
 11796 		cp		9
  9911 		cp		9
 11797 		ret		z
  9912 		ret		z
 11798 		ret
  9913 		ret
 11799 ; ---------------------------------------------------------------------------
  9914 #endif
 11800 ; START	OF FUNCTION CHUNK FOR p03sub_7278
       
 11801 
  9915 
 11802 p03loc_7DBC:
  9916 p03loc_7DBC:
 11803 		ld		de, (OP1+1)
  9917 		ld		de, (OP1+1)
 11804 		ld		a, e
  9918 		ld		a, e
 11805 		ld		e, d
  9919 		ld		e, d
 11818 		call	Page03_37AD
  9932 		call	Page03_37AD
 11819 		call	IsBasicProgZero
  9933 		call	IsBasicProgZero
 11820 		jp		nz, p03loc_4A6F
  9934 		jp		nz, p03loc_4A6F
 11821 		call	j_fdispEOL
  9935 		call	j_fdispEOL
 11822 		ret
  9936 		ret
 11823 
       
 11824 ; =============== S U B	R O U T	I N E =======================================
       
 11825 
       
 11826 
  9937 
 11827 Page03_3477:
  9938 Page03_3477:
 11828 		call	p03sub_74B9
  9939 		call	p03sub_74B9
 11829 		ld		a, (winLeftEdge)
  9940 		ld		a, (winLeftEdge)
 11830 		push	af
  9941 		push	af
 11841 		jr		nz, p03loc_7E15
  9952 		jr		nz, p03loc_7E15
 11842 		ld		hl, (promptRow)
  9953 		ld		hl, (promptRow)
 11843 		ld		(curRow), hl
  9954 		ld		(curRow), hl
 11844 		ld		a, 7
  9955 		ld		a, 7
 11845 		ld		(winBtm), a
  9956 		ld		(winBtm), a
 11846 
       
 11847 p03loc_7E15:
  9957 p03loc_7E15:
 11848 		call	p03sub_7212
  9958 		call	p03sub_7212
 11849 		res		5, (iy+1Dh)
  9959 		res		5, (iy+1Dh)
 11850 		call	p03sub_7474
  9960 		call	p03sub_7474
 11851 		pop		hl
  9961 		pop		hl