A83: Code again...


[Prev][Next][Index][Thread]

A83: Code again...




Ok guys...Harper helped me a lot...its a lot better, now, but still isn't
working!  Here's the updated version:

.NOLIST
#define equ .equ
#define EQU .equ
#define end .end
#include "ti83asm.inc"
#include "tokens.inc"
.LIST

PGMIO_EXEC         equ           50B2h
_formDisp          equ           4D0Eh

.org 9327h

        call    _clrLCDFull
        call    _homeup
        ld      hl,ScoreText
	call    _puts
        call    _newline
	ld      a,(highscore)
	ld	l,a
	ld      h,0
	call	_dispHL		; Display high score
        call    _newline

        ld      de,821ch
        ld      hl,prompt
        ld      bc,16
        ldir
        ld      a,1
        ld      (ASM_IND_CALL),a

        call    PGMIO_EXEC

	call    _convop1
	ld      a,e
	ld	(HighScore),a
	ret
	

prompt:         .db "Points: ",0
ScoreText:      .db "High Score: ",0
HighScore:	.db 0	
.end
.end

Thanks...

James.
____________________

James Matthews.
E-mail (family):    matthews@tkb.att.ne.jp
E-mail (private):  james_matthews@hotmail.com

Homepage:  http://home.att.ne.jp/gold/tomcat21/index.html
ICQ:  7413754
____________________________________


Follow-Ups: