Re: A86: getkey program


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

Re: A86: getkey program




In a message dated 9/4/1998 10:35:07 AM Mountain Daylight Time,
ComAsYuAre@aol.com writes:

<< try this:
 
 
 
 	call _getky				;same as BASIC command, stored in OP2
 	call _OP2TOOP1		;move to OP1
 	call _formReal			;change into string starting at OP3
 	ld hl,_OP3				;hl points to start of string
 	ld bc,$0000			;pen location
 	ld (_penCol),bc
 	call _vputs				;display number
  >>


Hi there.  I tried this program and this is what I have:

      call _clrLCD
	call _runindicoff	
	call _getky
	call $426f	;op2toop1
	call $5191	;formReal
	ld hl,_OP3
	ld bc,$0000
	ld (_penCol),bc
	call _vputs
	ret	

When I try to run this program on my emulator, it gives me the error
"Overflow".  Can somebody help me?  Is it just my emulator?  I don't think it
is because everything else seems to work fine on it.

THANX
Dan


Follow-Ups: