Re: A85: loop-trouble


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

Re: A85: loop-trouble




In a message dated 97-12-13 07:42:46 EST, you write:

> Can someone please tell me why my getLoop function doesn't work before I
>  run over my ti-85 with the car and buy a Casio.
>  
>  
>  **************
>  ; hello.asm
>  
>  #include "ti-85.h"
>  
>  ..org 0
>  ..db "Hello",0
>     
>  	ROM_CALL(CLEARLCD)
>  
>  	call getLoop
>  	
>  	ld hl, $05
>  	ld (CURSOR_X), hl
>  	ld hl, $00
>  	ld (CURSOR_Y), hl
>  	ld hl, (PROGRAM_ADDR)
>  	ld de, message
>  	add hl, de
>  	ROM_CALL(D_ZM_STR)
>  
>  	call getLoop
>  
>  	ret
>  
>  getLoop:
>  	call GET_KEY
>  	or a
>  	jr z, getLoop
>  	ret
>  
>  
>  message:
>  	.db "Hello, World!", 0
>  
>  
>  ..end
>  
>  ***********
>  
>  /Per Jacobsson
>   http://www.algonet.se/~pjac
>  

I assume this program is for ZShell.  If it is, then your calls to getLoop
must be CALL_(getLoop).

Michael
Engineer79@aol.com


Follow-Ups: