--- a/source/page00/misc.asm Tue May 20 03:43:41 2014 -0400
+++ b/source/page00/misc.asm Thu May 22 01:29:08 2014 -0400
@@ -1,528 +1,395 @@
-aDone: .asc 'Done',0
-a0: .asc '=0',0
-aErr: .asc 'ERR ',0
-aErr_0: .asc 'ERR:',0
-aError: .asc 'ERROR',0
-aMatrix: .asc 'MATRIX',0C1h,0
-aName: .asc 'Name=',0
-aRcl: .asc 'Rcl ',0
-a______: .asc '______',0
-a_____: .asc '_____',0
- .asc ' ',0
-aYVars: .asc 'Y-Vars',0
-aFail: .asc ' FAIL',0
-aRamFree: .asc 'RAM FREE',0
-aArcFree: .asc 'ARC FREE',0
-aName_0: .asc 'Name',0
-aNormal: .asc 'Normal',0
-aOk: .asc 'OK',0
-aPlot1: .asc 'Plot1',0
-aPlot2: .asc 'Plot2',0
-aPlot3: .asc 'Plot3',0
-unk_2690:
- .asc '(',01h,')',0
-aReal: .asc 'Real',0
-aPlot: .asc 'Plot',0
-aPrgm: .asc 'Prgm',0
-aRam: .asc 'RAM',0
-aRom: .asc 'ROM',0
-aId: .asc 'ID',0
-aSelect: .asc 'SELECT',0
-aTransmit: .asc ' TRANSMIT',0
-unk_26BF:
- .asc '[=',0
-aX: .asc 'X=',0
-aT: .asc 'T=',0
-unk_26C8:
- .asc 01h,'=',0
-aEval: .asc 'Eval ',0
-aTmax: .asc 'Tmax',0
-aTmin: .asc 'Tmin',0
-aMemoryBackup: .asc 'MEMORY BACKUP',0
-aIdlist: .asc 'IDList',0
-aAppvars: .asc 'AppVars',0
- .dw 2300h
-aExpirationDate:.asc 'Expiration Date:',0
- .dw 2300h
-aExpiredOn: .asc 'Expired on:',0
- .dw 2A00h
-aTrialsRemaining:.asc 'Trials Remaining:',0
-aApplicationS: .asc 'Application(s):',0
- .dw 3A00h
-aPressAnyKey___:.asc 'Press any Key...',0
- .dw 140Ah
-aTexasInstrumentsInc:.asc 'Texas Instruments Inc.',0
-aApp: .asc 'App',0
-aDefragmenting___:.asc 'Defragmenting...',0
-aCatalog: .asc 'CATALOG',0
-aDelete: .asc 'DELETE:',0
-aAll: .asc 'All',0
-a?: .asc '=?',0
-aOperatingSystem:.asc 'Operating System',0
-aArcVarsCleared:.asc 'Arc Vars Cleared',0
-aAppsCleared: .asc ' Apps Cleared',0
-aArcVarsAppsCleared:.asc 'Arc Vars & Apps Cleared',0
-aDf: .asc 'df=',0
-aArea: .asc 'Area=',0
-aUp: .asc 'up=',0
-aLow: .asc 'low=',0
-aDone_0: .asc ' DONE',0
-aCopying: .asc 'Copying',0
-aVariablesTo: .asc 'Variables to',0
-aGroup: .asc 'Group:',0
-aResettingAll___:.asc 'Resetting All...',0
-aUngrouping: .asc 'Ungrouping:',0
-aGarbage: .asc 'Garbage',0
-aCollecting___: .asc 'Collecting...',0
-aBaseCode1_19: .asc 'BASE Code 1.19 ',0
-aStart?: .asc 'START?',0
-aTooFewVars: .asc 'Too Few Vars',0
-aLargestSingle: .asc 'Largest single',0CEh,0
-aVariable: .asc 'Variable= ',0
-aApp_0: .asc 'App =',0
-; ---------------------------------------------------------------------------
+aDone: .asc 'Done',0
+a0: .asc '=0',0
+aErr: .asc 'ERR ',0
+aErr_0: .asc 'ERR:',0
+aError: .asc 'ERROR',0
+aMatrix: .asc 'MATRIX',0C1h,0
+aName: .asc 'Name=',0
+aRcl: .asc 'Rcl ',0
+a______: .asc '______',0
+a_____: .asc '_____',0
+ .asc ' ',0
+aYVars: .asc 'Y-Vars',0
+aFail: .asc ' FAIL',0
+aRamFree: .asc 'RAM FREE',0
+aArcFree: .asc 'ARC FREE',0
+aName_0: .asc 'Name',0
+aNormal: .asc 'Normal',0
+aOk: .asc 'OK',0
+aPlot1: .asc 'Plot1',0
+aPlot2: .asc 'Plot2',0
+aPlot3: .asc 'Plot3',0
+unk_2690: .asc '(',01h,')',0
+aReal: .asc 'Real',0
+aPlot: .asc 'Plot',0
+aPrgm: .asc 'Prgm',0
+aRam: .asc 'RAM',0
+aRom: .asc 'ROM',0
+aId: .asc 'ID',0
+aSelect: .asc 'SELECT',0
+aTransmit: .asc ' TRANSMIT',0
+unk_26BF: .asc '[=',0
+aX: .asc 'X=',0
+aT: .asc 'T=',0
+unk_26C8: .asc 01h,'=',0
+aEval: .asc 'Eval ',0
+aTmax: .asc 'Tmax',0
+aTmin: .asc 'Tmin',0
+aMemoryBackup: .asc 'MEMORY BACKUP',0
+aIdlist: .asc 'IDList',0
+aAppvars: .asc 'AppVars',0
+ .dw 2300h
+aExpirationDate: .asc 'Expiration Date:',0
+ .dw 2300h
+aExpiredOn: .asc 'Expired on:',0
+ .dw 2A00h
+aTrialsRemaining: .asc 'Trials Remaining:',0
+aApplicationS: .asc 'Application(s):',0
+ .dw 3A00h
+aPressAnyKey___: .asc 'Press any Key...',0
+ .dw 140Ah
+aTexasInstrumentsInc: .asc 'Texas Instruments Inc.',0
+aApp: .asc 'App',0
+aDefragmenting___: .asc 'Defragmenting...',0
+aCatalog: .asc 'CATALOG',0
+aDelete: .asc 'DELETE:',0
+aAll: .asc 'All',0
+a?: .asc '=?',0
+aOperatingSystem: .asc 'Operating System',0
+aArcVarsCleared: .asc 'Arc Vars Cleared',0
+aAppsCleared: .asc ' Apps Cleared',0
+aArcVarsAppsCleared: .asc 'Arc Vars & Apps Cleared',0
+aDf: .asc 'df=',0
+aArea: .asc 'Area=',0
+aUp: .asc 'up=',0
+aLow: .asc 'low=',0
+aDone_0: .asc ' DONE',0
+aCopying: .asc 'Copying',0
+aVariablesTo: .asc 'Variables to',0
+aGroup: .asc 'Group:',0
+aResettingAll___: .asc 'Resetting All...',0
+aUngrouping: .asc 'Ungrouping:',0
+aGarbage: .asc 'Garbage',0
+aCollecting___: .asc 'Collecting...',0
+aBaseCode1_19: .asc 'BASE Code 1.19 ',0
+aStart?: .asc 'START?',0
+aTooFewVars: .asc 'Too Few Vars',0
+aLargestSingle: .asc 'Largest single',0CEh,0
+aVariable: .asc 'Variable= ',0
+aApp_0: .asc 'App =',0
CPYTO2ES1:
- ld de, 8483h
+ ld de, OP2
jr page0_28A0
-; ---------------------------------------------------------------------------
-
CPYTO6ES1:
- ld de, 84AFh
+ ld de, OP6
jr page0_28A0
-; ---------------------------------------------------------------------------
-
CPYTO1ES1:
- ld de, 8478h
-
+ ld de, OP1
page0_28A0:
ld hl, (ES)
jp page0_231B
-; ---------------------------------------------------------------------------
-
CPYTO3ES1:
- ld de, 848Eh
+ ld de, OP3
jr page0_28A0
-; ---------------------------------------------------------------------------
-
CPYTO3ES2:
- ld de, 848Eh
+ ld de, OP3
jr page0_28B8
-
-; =============== S U B R O U T I N E =======================================
-
-
CPYTO2ES2:
- ld de, 8483h
+ ld de, OP2
jr page0_28B8
-; ---------------------------------------------------------------------------
-
CPYTO1ES2:
- ld de, 8478h
-
+ ld de, OP1
page0_28B8:
ld hl, (ES)
jp _checkThirdBankA
-; End of function CPYTO2ES2
-; ---------------------------------------------------------------------------
- ld de, 848Eh
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Don't think this is necessary.
+ ld de, OP3
jr page0_28CE
-; ---------------------------------------------------------------------------
+#endif
CPYTO2ES3:
- ld de, 8483h
+ ld de, OP2
jr page0_28CE
-; ---------------------------------------------------------------------------
+
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Don't think this is necessary.
call CPYTO2ES2
+#endif
CPYTO1ES3:
- ld de, 8478h
-
+ ld de, OP1
page0_28CE:
- ld c, 24h ; '$'
-
+ ld c, 24h
page0_28D0:
ld hl, (ES)
jp CpyStack
-; ---------------------------------------------------------------------------
-
CPYTO3ES4:
- ld de, 848Eh
+ ld de, OP3
jr page0_28E8
-; ---------------------------------------------------------------------------
-
CPYTO6ES3:
- ld de, 84AFh
+ ld de, OP6
jr page0_28CE
-; ---------------------------------------------------------------------------
-
CPYTO2ES4:
- ld de, 8483h
+ ld de, OP2
jr page0_28E8
-; ---------------------------------------------------------------------------
-
CPYTO1ES4:
- ld de, 8478h
-
+ ld de, OP1
page0_28E8:
- ld c, 2Dh ; '-'
+ ld c, 2Dh
jr page0_28D0
-; ---------------------------------------------------------------------------
-
CPYTO2ES5:
- ld de, 8483h
+ ld de, OP2
jr page0_28F4
-; ---------------------------------------------------------------------------
-
CPYTO1ES5:
- ld de, 8478h
-
+ ld de, OP1
page0_28F4:
- ld c, 36h ; '6'
+ ld c, 36h
jr page0_28D0
-; ---------------------------------------------------------------------------
-
CPYTO4EST:
- ld de, 8499h
+ ld de, OP4
jr page0_2905
-; ---------------------------------------------------------------------------
-
CPYTO2EST:
- ld de, 8483h
+ ld de, OP2
jr page0_2905
-; ---------------------------------------------------------------------------
-
CPYTO1EST:
- ld de, 8478h
-
+ ld de, OP1
page0_2905:
ld hl, (ES)
jp page0_2302
-; ---------------------------------------------------------------------------
-
CPYTO2ES6:
- ld de, 8483h
+ ld de, OP2
jr page0_2913
-; ---------------------------------------------------------------------------
-
CPYTO1ES6:
- ld de, 8478h
-
+ ld de, OP1
page0_2913:
- ld c, 3Fh ; '?'
+ ld c, 3Fh
+ jr page0_28D0
+CPYTO2ES7:
+ ld de, OP2
+ jr page0_291F
+CPYTO1ES7:
+ ld de, OP1
+page0_291F:
+ ld c, 48h
jr page0_28D0
-; ---------------------------------------------------------------------------
-
-CPYTO2ES7:
- ld de, 8483h
- jr page0_291F
-; ---------------------------------------------------------------------------
-
-CPYTO1ES7:
- ld de, 8478h
-
-page0_291F:
- ld c, 48h ; 'H'
+CPYTO2ES8:
+ ld de, OP2
+ jr page0_292B
+CPYTO1ES8:
+ ld de, OP1
+page0_292B:
+ ld c, 51h
jr page0_28D0
-; ---------------------------------------------------------------------------
+CPYTO1ES9:
+ ld de, OP1
+ jr page0_2937
+CPYTO2ES9:
+ ld de, OP2
+page0_2937:
+ ld c, 5Ah
+ jr page0_28D0
-CPYTO2ES8:
- ld de, 8483h
- jr page0_292B
-; ---------------------------------------------------------------------------
-
-CPYTO1ES8:
- ld de, 8478h
-
-page0_292B:
- ld c, 51h ; 'Q'
- jr page0_28D0
-; ---------------------------------------------------------------------------
-
-CPYTO1ES9:
- ld de, 8478h
- jr page0_2937
-; ---------------------------------------------------------------------------
-
-CPYTO2ES9:
- ld de, 8483h
-
-page0_2937:
- ld c, 5Ah ; 'Z'
- jr page0_28D0
-; ---------------------------------------------------------------------------
- ld de, 848Eh
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Not referenced anywhere.
+ ld de, OP3
jr Page0Call_2948
-; ---------------------------------------------------------------------------
+#endif
CPYTO2ES10:
- ld de, 8483h
+ ld de, OP2
jr Page0Call_2948
-; ---------------------------------------------------------------------------
-
CPYTO1ES10:
- ld de, 8478h
-
+ ld de, OP1
Page0Call_2948:
- ld c, 63h ; 'c'
-
+ ld c, 63h
page0_294A:
jr page0_28D0
-; ---------------------------------------------------------------------------
-
CPYTO2ES11:
- ld de, 8483h
+ ld de, OP2
jr page0_2954
-; ---------------------------------------------------------------------------
-
CPYTO1ES11:
- ld de, 8478h
-
+ ld de, OP1
page0_2954:
- ld c, 6Ch ; 'l'
+ ld c, 6Ch
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO2ES12:
- ld de, 8483h
+ ld de, OP2
jr page0_2960
-; ---------------------------------------------------------------------------
-
CPYTO1ES12:
- ld de, 8478h
-
+ ld de, OP1
page0_2960:
- ld c, 75h ; 'u'
+ ld c, 75h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO2ES13:
- ld de, 8483h
+ ld de, OP2
jr page0_296C
-; ---------------------------------------------------------------------------
-
CPYTO1ES13:
- ld de, 8478h
-
+ ld de, OP1
page0_296C:
- ld c, 7Eh ; '~'
+ ld c, 7Eh
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO1ES14:
- ld de, 8478h
- ld c, 87h ; 'ǧ
+ ld de, OP1
+ ld c, 87h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO1ES16:
- ld de, 8478h
- ld c, 99h ; '٧
+ ld de, OP1
+ ld c, 99h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO1ES17:
- ld de, 8478h
- ld c, 0A2h ; '§
+ ld de, OP1
+ ld c, 0A2h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO1ES18:
- ld de, 8478h
- ld c, 0ABh ; '˧
+ ld de, OP1
+ ld c, 0ABh
jr page0_294A
-; ---------------------------------------------------------------------------
- ld c, 0B4h ; 'ԧ
+ ld c, 0B4h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO1ES15:
- ld de, 8478h
-
+ ld de, OP1
page0_2993:
- ld c, 90h ; 'Ч
+ ld c, 90h
jr page0_294A
-; ---------------------------------------------------------------------------
-
CPYTO2ES15:
- ld de, 8483h
+ ld de, OP2
jr page0_2993
-; ---------------------------------------------------------------------------
- ld de, 8483h
+
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Not referenced anywhere.
+ ld de, OP2
jr page0_29A4
-; ---------------------------------------------------------------------------
+#endif
CPYO1TOEST:
- ld de, 8478h
-
+ ld de, OP1
page0_29A4:
ld hl, (ES)
jp page0_2343
-; ---------------------------------------------------------------------------
-
CPYO1TOES1:
ld c, 12h
-
page0_29AC:
- ld de, 8478h
-
+ ld de, OP1
page0_29AF:
ld hl, (ES)
jp CpyToStack
-; ---------------------------------------------------------------------------
- ld de, 848Eh
+
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Not referenced anywhere.
+ ld de, OP3
+#endif
page0_29B8:
ld c, 12h
jr page0_29AF
-; ---------------------------------------------------------------------------
-
CPYO6TOES1:
- ld de, 84AFh
+ ld de, OP6
jr page0_29B8
-; ---------------------------------------------------------------------------
-
CPYO6TOES3:
- ld de, 84AFh
- ld c, 24h ; '$'
+ ld de, OP6
+ ld c, 24h
jr page0_29AF
-; ---------------------------------------------------------------------------
-
CPYO1TOES2:
ld c, 1Bh
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO2TOES2:
ld c, 1Bh
-
page0_29CE:
- ld de, 8483h
+ ld de, OP2
jr page0_29AF
-; ---------------------------------------------------------------------------
-
CPYO1TOES3:
- ld c, 24h ; '$'
+ ld c, 24h
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES4:
- ld c, 2Dh ; '-'
+ ld c, 2Dh
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES5:
- ld c, 36h ; '6'
+ ld c, 36h
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES6:
- ld c, 3Fh ; '?'
+ ld c, 3Fh
jr page0_29AC
-; ---------------------------------------------------------------------------
+CPYO1TOES7:
+ ld c, 48h
+ jr page0_29AC
-CPYO1TOES7:
- ld c, 48h ; 'H'
- jr page0_29AC
-; ---------------------------------------------------------------------------
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Not referenced anywhere.
ld c, 12h
jr page0_29CE
-; ---------------------------------------------------------------------------
- ld c, 24h ; '$'
+ ld c, 24h
jr page0_29CE
-; ---------------------------------------------------------------------------
+#endif
CPYO2TOES4:
- ld c, 2Dh ; '-'
- jr page0_29CE
-; ---------------------------------------------------------------------------
-
-CPYO2TOES5:
- ld c, 36h ; '6'
+ ld c, 2Dh
jr page0_29CE
-; ---------------------------------------------------------------------------
-
+CPYO2TOES5:
+ ld c, 36h
+ jr page0_29CE
CPYO2TOES6:
- ld c, 3Fh ; '?'
+ ld c, 3Fh
jr page0_29CE
-; ---------------------------------------------------------------------------
-
CPYO2TOES7:
- ld c, 48h ; 'H'
+ ld c, 48h
jr page0_29CE
-; ---------------------------------------------------------------------------
-
CPYO2TOES8:
- ld c, 51h ; 'Q'
+ ld c, 51h
jr page0_29CE
-; ---------------------------------------------------------------------------
+CPYO2TOES9:
+ ld c, 5Ah
+ jr page0_29CE
-CPYO2TOES9:
- ld c, 5Ah ; 'Z'
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+;Not referenced anywhere.
+ ld c, 63h
jr page0_29CE
-; ---------------------------------------------------------------------------
- ld c, 63h ; 'c'
- jr page0_29CE
-; ---------------------------------------------------------------------------
- ld c, 6Ch ; 'l'
+ ld c, 6Ch
+#endif
page0_2A0D:
jr page0_29CE
-; ---------------------------------------------------------------------------
-
CPYO1TOES8:
- ld c, 51h ; 'Q'
+ ld c, 51h
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES9:
- ld c, 5Ah ; 'Z'
+ ld c, 5Ah
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES10:
- ld c, 63h ; 'c'
+ ld c, 63h
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES11:
- ld c, 6Ch ; 'l'
-
+ ld c, 6Ch
page0_2A1D:
jr page0_29AC
-; ---------------------------------------------------------------------------
-
CPYO1TOES12:
- ld c, 75h ; 'u'
+ ld c, 75h
jr page0_2A1D
-; ---------------------------------------------------------------------------
- ld c, 7Eh ; '~'
+
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+ ld c, 7Eh
jr page0_2A0D
-; ---------------------------------------------------------------------------
+#endif
CPYO1TOES13:
- ld c, 7Eh ; '~'
+ ld c, 7Eh
jr page0_2A1D
-; ---------------------------------------------------------------------------
-
CPYO1TOES14:
- ld c, 87h ; 'ǧ
+ ld c, 87h
jr page0_2A1D
-; ---------------------------------------------------------------------------
-
Page0Call_2A2F:
- ld c, 90h ; 'Ч
+ ld c, 90h
jr page0_2A1D
-; ---------------------------------------------------------------------------
- ld c, 90h ; 'Ч
- jr page0_29CE
-; =============== S U B R O U T I N E =======================================
-
+#ifndef DEVIATE_FROM_ORIGINAL_FILE
+ ld c, 90h
+ jr page0_29CE
+#endif
-BCALL:
- push hl
+BCALL: push hl
push hl
push hl
push af
@@ -561,34 +428,27 @@
bit 6, h
jr z, page0_2A73
res 6, h
- ld a, 7Bh ; '{'
+ ld a, 7Bh
jr page0_2A88
-; ---------------------------------------------------------------------------
-
page0_2A6D:
res 7, h
- ld a, 7Fh ; ''
+ ld a, 7Fh
jr page0_2A88
-; ---------------------------------------------------------------------------
-
page0_2A73:
ld de, 8230h
in a, (6)
- and 7Fh ; ''
- cp 20h ; ' '
+ and 7Fh
+ cp 20h
jr c, page0_2A81
ld de, 9C06h
-
page0_2A81:
add a, e
ld e, a
jr nc, page0_2A86
inc d
-
page0_2A86:
ld a, (de)
ld b, a
-
page0_2A88:
call sub_249F
ld de, 4000h
@@ -611,14 +471,11 @@
neg
add a, b
jr page0_2AAB
-; ---------------------------------------------------------------------------
-
page0_2AA6:
ld a, (de)
or a
jr nz, page0_2AAB
ld a, c
-
page0_2AAB:
call sub_249F
pop hl
@@ -626,13 +483,8 @@
pop bc
pop af
ret
-; End of function BCALL
-; ---------------------------------------------------------------------------
-; START OF FUNCTION CHUNK FOR sub_38
-
-DoBJUMP:
- ex (sp), hl
+DoBJUMP:ex (sp), hl
push af
push bc
push de
@@ -647,34 +499,27 @@
bit 6, d
jr z, page0_2AD3
res 6, d
- ld a, 7Bh ; '{'
+ ld a, 7Bh
jr page0_2AE8
-; ---------------------------------------------------------------------------
-
page0_2ACD:
res 7, d
- ld a, 7Fh ; ''
+ ld a, 7Fh
jr page0_2AE8
-; ---------------------------------------------------------------------------
-
page0_2AD3:
ld hl, 8230h
in a, (6)
- and 7Fh ; ''
- cp 20h ; ' '
+ and 7Fh
+ cp 20h
jr c, page0_2AE1
ld hl, 9C06h
-
page0_2AE1:
add a, l
ld l, a
jr nc, page0_2AE6
inc h
-
page0_2AE6:
ld a, (hl)
ld b, a
-
page0_2AE8:
call sub_249F
ld hl, 4000h
@@ -688,12 +533,10 @@
ld a, (hl)
jr z, page0_2AFA
neg
-
page0_2AFA:
add a, b
jr nz, page0_2AFE
ld a, c
-
page0_2AFE:
call sub_249F
ex de, hl
@@ -702,13 +545,8 @@
pop af
ex (sp), hl
ret
-; END OF FUNCTION CHUNK FOR sub_38
-
-; =============== S U B R O U T I N E =======================================
-
sNameEq:
-
push hl
push hl
push af
@@ -735,21 +573,16 @@
inc de
ld (hl), a
in a, (2)
- and 80h ; ''
+ and 80h
ld a, (de)
jr nz, page0_2B2E
and 1Fh
-
page0_2B2E:
out (6), a
pop hl
pop de
pop af
ret
-; End of function sNameEq
-
-; ---------------------------------------------------------------------------
-
sUnderScr:
ex (sp), hl
push af
@@ -759,12 +592,7 @@
pop hl
ret
-; =============== S U B R O U T I N E =======================================
-
-
-sFAIL:
-
- ex (sp), hl
+sFAIL: ex (sp), hl
push af
push de
ld e, (hl)
@@ -772,11 +600,10 @@
ld d, (hl)
inc hl
in a, (2)
- and 80h ; ''
+ and 80h
ld a, (hl)
jr nz, page0_2B4C
and 1Fh
-
page0_2B4C:
out (6), a
ex de, hl
@@ -784,4 +611,3 @@
pop af
ex (sp), hl
ret
-; End of function sFAIL