source/page78/initial.asm
changeset 43 486c42a314bc
parent 42 adad2f097dcb
child 46 09e7d89fba35
--- a/source/page78/initial.asm	Tue May 20 03:43:41 2014 -0400
+++ b/source/page78/initial.asm	Thu May 22 01:29:08 2014 -0400
@@ -1802,12 +1802,12 @@
 		call	popErrorHandleR
 		ld		hl, OP1M
 		push	hl
-		call	page0_118B
+		call	Mov5B
 		push	de
 		call	CpyTo1FPS2
 		pop		de
 		pop		hl
-		call	page0_118B
+		call	Mov5B
 		call	SetTblGraphDraw
 		ld		bc, 24h	; '$'
 		call	FPOPFPS
@@ -1950,10 +1950,10 @@
 		call	p78sub_538F
 		call	p78sub_53C8
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 		call	p78sub_53C8
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 
 p78loc_4C59:
 		call	p78sub_53B4
@@ -2004,7 +2004,7 @@
 		call	p78sub_538F
 		call	p78sub_53C8
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 		call	p78sub_53B4
 		call	INCFETCH
 		cp		58h ; 'X'
@@ -2031,7 +2031,7 @@
 		call	p78sub_538F
 		call	p78sub_53C8
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 		call	p78sub_53B4
 		call	CKENDLIN
 		cp		82h ; '�'
@@ -2059,7 +2059,7 @@
 		call	p78loc_49F9
 		pop		de
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 
 p78loc_4D07:
 		ld		a, (OP2)
@@ -2532,7 +2532,7 @@
 		ld		a, (OP1+1)
 		cp		82h ; '�'
 		jp		nc, ErrDomain
-		call	ErrD_OP1NotPosInt
+		call	ErrD_OP1NotPosDoInt
 		call	ConvOP1
 		ret
 ; End of function p78sub_4FF4
@@ -3126,13 +3126,13 @@
 		ex		de, hl
 		call	ZeroOP1
 		ld		hl, OP1M
-		call	page0_118B
+		call	Mov5B
 		ld		hl, OP1M
 		ld		(hl), 1
-		call	page0_118B
+		call	Mov5B
 		ld		hl, OP1M
 		ld		(hl), 31h ; '1'
-		call	page0_118B
+		call	Mov5B
 		ex		de, hl
 		ld		(hl), 1
 		pop		de
@@ -3370,7 +3370,7 @@
 		pop		de
 		inc		hl
 		inc		hl
-		call	page0_118B
+		call	Mov5B
 		inc		hl
 		inc		hl
 		pop		bc
@@ -4760,7 +4760,7 @@
 		pop		af
 		ld		hl, (nextParseByte)
 		ld		de, OP1
-		call	page0_118B
+		call	Mov5B
 		dec		hl
 		ld		(nextParseByte), hl
 		ld		hl, (OP1+1)
@@ -5381,7 +5381,7 @@
 
 
 p78sub_6128:
-		call	ErrD_OP1NotPosInt
+		call	ErrD_OP1NotPosDoInt
 		call	EOP1NotReal
 		call	RECURNNAME
 		call	StoOther
@@ -5534,7 +5534,7 @@
 		jp		c, p78loc_62DB
 		call	PopRealO1
 		call	j_RndGuard
-		call	CKPosInt
+		call	CKPosDoInt
 		jr		z, p78loc_622D
 		jr		p78loc_6235
 ; ---------------------------------------------------------------------------
@@ -5687,7 +5687,7 @@
 		jr		nc, p78loc_62D3
 		push	af
 		call	ErrD_OP1_LE_0
-		call	ErrD_OP1NotPosInt
+		call	ErrD_OP1NotPosDoInt
 		pop		af
 		cp		30h ; '0'
 		jr		nz, p78sub_6297
@@ -5707,7 +5707,7 @@
 
 p78loc_62DB:
 		call	j_RndGuard
-		call	page0_14D1
+		call	RealPosNo0DoInt
 		jp		nz, ErrDomain
 		jr		p78sub_6297
 ; ---------------------------------------------------------------------------
@@ -5716,7 +5716,7 @@
 		cp		38h ; '8'
 		jr		nc, p78sub_6297
 		call	j_RndGuard
-		call	page0_14D1
+		call	RealPosNo0DoInt
 		jp		nz, ErrDomain
 		ld		a, (OP1+1)
 		cp		81h ; '�'
@@ -8561,7 +8561,7 @@
 		cp		5Dh ; ']'
 		jr		nz, p78loc_7115
 		call	page0_FB5
-		call	CKPosInt
+		call	CKPosDoInt
 		jp		nz, ErrDimension
 		ld		hl, 3E7h
 		call	p78sub_71E1
@@ -8630,7 +8630,7 @@
 
 ConvDim00:
 		push	hl
-		call	page0_14D1
+		call	RealPosNo0DoInt
 		jr		nz, p78loc_71F5
 
 p78loc_71ED:
@@ -8653,7 +8653,7 @@
 		ld		a, (OP1M)
 		or		a
 		call	z, OP1Set0
-		ld		hl, 8479h
+		ld		hl, OP1+1
 		ld		a, 83h ; '�'
 		sub		(hl)
 		jr		c, p78loc_71F5
@@ -9866,7 +9866,7 @@
 		pop		de
 		cp		e
 		jr		nz, p78loc_77FD
-		ld		hl, 8479h
+		ld		hl, OP1+1
 		ld		d, (hl)
 		inc		hl
 		ld		e, (hl)
@@ -10958,7 +10958,7 @@
 ; End of function Page78_2D81
 
 ; ---------------------------------------------------------------------------
-		ld		hl, 8479h
+		ld		hl, OP1+1
 		ld		b, 0
 		ld		c, (hl)
 		inc		hl