82 Chapter 2: TI-83 Plus Specific Information
TI-83 Plus Developer Guide Third Release May 28, 2002
setTofull:
LD HL,YOffset ; address of split
; attributes
LD DE,savevals ; app defined RAM
; location to save
LD BC,5 ; save first 5 bytes
LDIR ; save split
; attributes
;
LD A,(IY+sGrFlags) ; split flags ->
; ACC
LD (DE),A ; save split flags
;in6
th
byte
;
RES grfSplit,(IY+sGrFlags)
RES vertSplit,(IY+sGrFlags) ; set flags to
; Full screen
;
B_CALL SetNorm_Vals ; screen attributes
; to full
SET grfSplitOverride,(IY+sGrFlags)
RET
;
rstrYOffset:
RES grfSplitOverride,(IY+sGrFlags)
LD DE,YOffset
LD HL,savevals
LD BC,5
LDIR ; restore input
; screen attributes
LD A,(HL) ; get input split
; flags
LD (IY+sGrFlags),A ; restore
RET
• Change the split screen mode to full screen mode without restoring it back to the
input setting.
B_CALL ForceFullScreen
Note: The B_CALL routine was not used in the first option above so that the graph would not be
marked dirty. If the split screen mode is not temporarily changed, the graph needs to be
marked as dirty so it will reflect the new screen size. Example one restores the input setting,
so no regraph is necessary. It is entirely up to the application if causing the regraph is a
concern or not.