A86: Re:


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

A86: Re:




In a message dated 98-02-19 16:51:41 EST, you write:

<< #include "asm86.h"
 #include "ti86asm.inc"
 #include "ti86math.inc"
 #include "ti86ops.inc"
 #include "ti86abs.inc"
 
 .org _asm_exec_ram 
   
 	call _clrLCD
 	ld hl,1
 	ld b,3
 	ld c,5
 	ld d,5
 	ld e,1
 	call _ILine
 	
 .end
 END
 
 I've tried changinh b,c,d and e value, but it still crashes my calc
 
 2.
 
 How do I print to the graph screen, not the home screen? >>

put:
   ld h, 1
right after you call lLine
and also put:
   ret
at the end of the program before you assemble it.

also, l've noticed before that a simple program like that sometimes won't draw
the line.  if it doesn't, call the lLine command twice.