EasyManua.ls Logo

Texas Instruments TI-83-Plus

Texas Instruments TI-83-Plus
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
80 Chapter 2: TI-83 Plus Specific Information
TI-83 Plus Developer Guide Third Release May 28, 2002
For example, write the contents of the graph backup buffer, plotSScreen, to the
display.
DI
LD HL,plotSScreen
LD B,64
LD A,07h
CALL lcd_busy_2
OUT (lcdinstport),A ; set to y INC mode
LD A,7fh ; first row
;
; new row
;
loop1:
PUSH BC ; save number rows left to copy
INC A ; move to next row
LD (curXRow),A ; save new row
CALL lcd_busy_2
OUT (lcdinstport),A ; set new x
LD A,20h
CALL lcd_busy_2
OUT (lcdinstport),A ; set to first column
LD B,12 ; 12 columns
loop2:
LD A,(HL) ; get source
INC HL
CALL lcd_busy_2
OUT (lcddataport),A ; write to disp
DJNZ loop2 ;
;
; row done
;
POP BC ; get number rows left
LD A,(curXRow)
DJNZ loop1 ; decrease number left, jump if
; not done
;
LD A,05h
CALL lcd_busy_2
OUT (lcdinstport),A ; set to x INC mode
EI
RET

Table of Contents

Other manuals for Texas Instruments TI-83-Plus

Related product manuals