--- a/source/page06/initial.asm Thu May 15 05:17:30 2014 -0400
+++ b/source/page06/initial.asm Thu May 15 05:23:44 2014 -0400
@@ -10,7 +10,7 @@
ld de, OP3
call Mov8B
call Mov8B
- set 0, (iy+9)
+ set prgmEdit, (iy+prgmFlags)
Page06_30F9:
set grfSplitOverride, (iy+sGrFlags)
@@ -143,7 +143,7 @@
set grfSplitOverride, (iy+sGrFlags)
ld hl, p06loc_4172
call AppInit
- set 0, (iy+9)
+ set prgmEdit, (iy+prgmFlags)
call j_ClrScrn
ld hl, p06loc_4000
ld a, 56h ; 'V'
@@ -216,7 +216,7 @@
jp c, jpromptcursor
cp 7
jr nz, p06loc_41BB
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jp z, cursorUp
ld b, 6
@@ -231,7 +231,7 @@
p06loc_41BB:
cp 8
jr nz, p06loc_41D0
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jp z, CursorDown
ld b, 6
@@ -371,12 +371,12 @@
p06loc_4296:
p06sub_4296:
res grfSplitOverride, (iy+sGrFlags)
- res 0, (iy+9)
+ res prgmEdit, (iy+prgmFlags)
res promptEdit, (iy+promptFlags)
ret
p06loc_42A3:
res grfSplitOverride, (iy+sGrFlags)
- res 0, (iy+9)
+ res prgmEdit, (iy+prgmFlags)
call CanAlphIns
bit editOpen, (iy+editFlags)
ret z
@@ -2078,7 +2078,7 @@
; ---------------------------------------------------------------------------
p06loc_4B3E:
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr nz, p06loc_4B5A
ld a, (mcxCurApp)
cp 43h ; 'C'
@@ -8912,7 +8912,7 @@
ld hl, p06loc_75AD
call AppInit
set grfSplitOverride, (iy+sGrFlags)
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
call nz, SaveScreen
call p06sub_75C4
call p06sub_75D2
@@ -8966,7 +8966,7 @@
res saIndic, (iy+newIndicFlags)
push af
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr nz, p06loc_74BD
bit grfSplit, (iy+sGrFlags)
jr z, p06loc_74BD
@@ -8991,7 +8991,7 @@
RetScreenErr:
res saIndic, (iy+newIndicFlags)
push af
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr nz, p06loc_74E7
bit grfSplit, (iy+sGrFlags)
jr z, p06loc_74E7
@@ -9180,7 +9180,7 @@
ld hl, p06loc_7628
call AppInit
set grfSplitOverride, (iy+sGrFlags)
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
call nz, SaveScreen
call p06sub_75C4
call p06sub_75D2
@@ -9264,7 +9264,7 @@
call AppInit
call p06sub_75BA
call p06sub_75DF
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
call nz, SaveScreen
call j_ClrScrn
ld hl, p06loc_7E34
@@ -9321,7 +9321,7 @@
ld a, b
cp 5
jp nz, p06loc_7757
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr z, p06loc_7722
sub a
ld (OP1+1), a
@@ -9459,7 +9459,7 @@
p06loc_7795:
cp 9
jr nz, p06loc_77A7
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jp z, JForceCmdNoChar
p06loc_77A0:
@@ -9487,7 +9487,7 @@
p06loc_77C8:
cp 0ACh ; '�'
jr nz, p06loc_77DA
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr nz, p06loc_77DA
ld a, (mcxCurApp)
cp 45h ; 'E'
@@ -9496,13 +9496,13 @@
p06loc_77DA:
cp 5Ah ; 'Z'
jr nz, p06loc_77E5
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jp nz, p06loc_7710
p06loc_77E5:
cp 5Ah ; 'Z'
ret c
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jp z, JForceCmd
jp p06loc_77A0
@@ -9541,7 +9541,7 @@
; ---------------------------------------------------------------------------
p06loc_7828:
- bit 0, (iy+9)
+ bit prgmEdit, (iy+prgmFlags)
jr nz, p06loc_7843
ld l, (ix+9)
ld h, (ix+0Ah)