A83: A problem with _clrLCDFULL
[Prev][Next][Index][Thread]
A83: A problem with _clrLCDFULL
When I decided to start porting some of my Basic math routines to ASM, I
started by adding the numeric input code from James Matthew's tutorials. I
kept everything the same as in the code, except added "call _clrLCDFull" to
the start. Everything works fine except that when I compile and run the
program, it doesn't clear the screen and just inputs on the next "clean"
line. Here is the code and I would appreciate if anyone can help.
;*********************************
.NOLIST
#define END .end
#define end .end
#define EQU .equ
#define equ .equ
#include "ti83asm.inc"
#include "tokens.inc"
.LIST
PGMIO_EXEC equ 50B2h
_formDisp equ 4D0Eh
.org $9327
call _clrLCDFULL
ld de,821ch
ld hl,prompt
ld bc,16
ldir
ld a,1
ld (ASM_IND_CALL),a
call PGMIO_EXEC
call _formDisp
ret
prompt:
.db "Number= ",0
.end
END
;**********************************
Ted21@aol.com
Follow-Ups: