--- a/source/page00/system.asm Wed May 14 23:51:58 2014 -0400
+++ b/source/page00/system.asm Thu May 15 01:54:30 2014 -0400
@@ -30,8 +30,8 @@
ld (keyExtend), a
call j_getkey
monForceKey:
- res 7, (iy+16h)
- res 1, (iy+1Dh)
+ res recallingPrgmName, (iy+rclFlag2)
+ res recallingListName, (iy+rclFlag3)
ld (kbdKey), a
bit 0, (iy+2)
jr z, page0_433
@@ -116,7 +116,7 @@
page0_4B5:
ld b, 8
- ld hl, 84BEh
+ ld hl, progToEdit-1
page0_4BA:
inc hl
ld a, (hl)
@@ -191,7 +191,7 @@
cp 28h ; '('
push af
jr nz, page0_532
- set 7, (iy+16h)
+ set recallingPrgmName, (iy+rclFlag2)
ld a, 0DAh ; 'ڧ
jr page0_53E
@@ -200,7 +200,7 @@
cp 29h ; ')'
push af
jr nz, page0_53E
- set 1, (iy+1Dh)
+ set recallingListName, (iy+rclFlag3)
ld a, 7Fh ; ''
page0_53E:
call cxMain
--- a/source/page07/initial.asm Wed May 14 23:51:58 2014 -0400
+++ b/source/page07/initial.asm Thu May 15 01:54:30 2014 -0400
@@ -6006,9 +6006,6 @@
p07sub_5AD8:
-
-
-
pop hl
ld (promptRet), hl
jr p07loc_5B0B
@@ -6126,9 +6123,9 @@
ld (mcxMain), hl
jr p07loc_5B86
p07loc_5B9F:
- bit 7, (iy+16h)
+ bit recallingPrgmName, (iy+rclFlag2)
jr nz, p07loc_5BBA
- bit 1, (iy+1Dh)
+ bit recallingListName, (iy+rclFlag3)
jr nz, p07loc_5BB4
ld hl, p07loc_5ADE
ld (mcxMain), hl
--- a/source/ti83plus.inc Wed May 14 23:51:58 2014 -0400
+++ b/source/ti83plus.inc Thu May 15 01:54:30 2014 -0400
@@ -2581,6 +2581,9 @@
batteryFlags equ 16h
safeFromOnKey equ 1
batteriesGood equ 2 ;1 = batteries good, I think this being reset will force the calc to shut off, used in USB error handler
+
+rclFlag2 equ 16h
+recallingPrgmName equ 7
;----------------------------------------------------------------------
smartFlags equ 17h
smarter_mask equ 3
@@ -2608,7 +2611,8 @@
;----------------------------------------------------------------------
;There is a flag 1Ch (stats-related).
;----------------------------------------------------------------------
-;There is a flag 1Dh.
+rclFlag3 equ 1Dh
+recallingListName equ 1
;----------------------------------------------------------------------
;There is a flag 1Eh.
;----------------------------------------------------------------------
@@ -3176,8 +3180,8 @@
kNo equ 025h
kKReset equ 026h
kApp equ 027h
-kDoug equ 028h
-kListflag equ 029h
+kDoug equ 028h ;this is the prgm token when using Rcl prgmNAME
+kListflag equ 029h ;this is the L(ist) token when using Rcl lNAME
menuStart equ 02Bh
kAreYouSure equ 02Bh
kAppsMenu equ 02Ch
@@ -3360,7 +3364,7 @@
kISG equ 0D7h
kDSL equ 0D8h
kMenu equ 0D9h
-kExec equ 0DAh
+kExec equ 0DAh ;also kPrgmName
kReturn equ 0DBh
kStop equ 0DCh
kInput equ 0DDh