--- a/source/page00/system.asm Mon May 12 03:03:39 2014 -0400
+++ b/source/page00/system.asm Wed May 14 23:51:58 2014 -0400
@@ -2,32 +2,29 @@
res g_style_active, (iy+sGrFlags)
call j_CursorOff
call j_COORDISP
-Mon:
- call j_RunIndicOff
+Mon: call j_RunIndicOff
call j_CursorOn
- res 7, (iy+8)
- bit 5, (iy+1Fh)
- jr z, page0_408
+ res displayCoords, (iy+newDispF)
+ bit sendFinalPacketOnMon, (iy+linkFlags2)
+ jr z, Mon_NoPacketSend
di
- res 5, (iy+1Fh)
- ld hl, page0_403
+ res sendFinalPacketOnMon, (iy+linkFlags2)
+ ld hl, Mon_ResetIndicOnly
call pushErrorHandleR
set indicOnly, (iy+indicFlags)
ld a, (mcxCurApp)
- cp 52h ; 'R'
- jr nz, page0_3FD
+ cp kError
+ jr nz, {+}
ld a, (errNo)
call j_SendSkipExitPacket
- jr page0_400
-
-page0_3FD:
- call j_SendAck
-page0_400:
+ jr Mon_LinkEnd
++: call j_SendAck
+Mon_LinkEnd:
call popErrorHandleR
-page0_403:
+Mon_ResetIndicOnly:
res indicOnly, (iy+indicFlags)
ei
-page0_408:
+Mon_NoPacketSend:
xor a
ld (kbdKey), a
ld (keyExtend), a
--- a/source/page04/initial.asm Mon May 12 03:03:39 2014 -0400
+++ b/source/page04/initial.asm Wed May 14 23:51:58 2014 -0400
@@ -1714,7 +1714,7 @@
p04sub_4886:
set 3, (iy+2)
- set 7, (iy+8)
+ set displayCoords, (iy+newDispF)
ld hl, (curGY)
ld (freeSaveY), hl
jr p04loc_48C2
@@ -1740,7 +1740,7 @@
p04loc_48AE:
; ForceGraphKeypress+2C3j ...
call VALCUR
- set 7, (iy+8)
+ set displayCoords, (iy+newDispF)
p04loc_48B5:
; p04sub_465B+D50j ...
@@ -3424,7 +3424,7 @@
pop hl
ld (pTempCnt), hl
res 3, (iy+2)
- set 7, (iy+8)
+ set displayCoords, (iy+newDispF)
ret
; ---------------------------------------------------------------------------
@@ -6371,7 +6371,7 @@
jr z, p04loc_64E0
p04loc_6518:
- bit 7, (iy+8)
+ bit displayCoords, (iy+newDispF)
call z, COORDISP
ld a, (curGStyle)
cp 67h ; 'g'
--- a/source/page78/initial.asm Mon May 12 03:03:39 2014 -0400
+++ b/source/page78/initial.asm Wed May 14 23:51:58 2014 -0400
@@ -1690,7 +1690,7 @@
p78loc_4A45:
call j_CursorOn
- res 7, (iy+8)
+ res displayCoords, (iy+newDispF)
call j_getkey
call j_CursorOff
call IsOnInterruptSet
--- a/source/page7C/initial.asm Mon May 12 03:03:39 2014 -0400
+++ b/source/page7C/initial.asm Wed May 14 23:51:58 2014 -0400
@@ -2820,7 +2820,7 @@
ld (keyExtend), a
p7Cloc_5150:
- set 5, (iy+1Fh)
+ set sendFinalPacketOnMon, (iy+linkFlags2)
jp p7Cloc_5966
; ---------------------------------------------------------------------------
--- a/source/ti83plus.inc Mon May 12 03:03:39 2014 -0400
+++ b/source/ti83plus.inc Wed May 14 23:51:58 2014 -0400
@@ -2456,6 +2456,7 @@
apdAble equ 2 ;1=APD enabled
apdRunning equ 3 ;1=APD clock running
apdWarmStart equ 4 ;1=calculator is turning on from APD or power loss
+displayCoords equ 7
;----------------------------------------------------------------------
web_err_mask equ 60h
;----------------------------------------------------------------------
@@ -2611,11 +2612,14 @@
;----------------------------------------------------------------------
;There is a flag 1Eh.
;----------------------------------------------------------------------
-varTypeMask equ 1Fh ;is this a flag byte? yes
+varTypeMask equ 1Fh
varGraphRef equ 6
-;----------------------------------------------------------------------
+
graphFlags2 equ 1Fh
-splitOverride equ 3 ;0 = force full screen with ParseInp, or something
+splitOverride equ 3 ;0 = force full screen with ParseInp, or something
+
+linkFlags2 equ 1Fh
+sendFinalPacketOnMon equ 5
;----------------------------------------------------------------------
asm_Flag1 equ 21h ;ASSEMBLY CODING
asm_Flag2 equ 22h ;ASSEMBLY CODING