Re: A83: Time


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

Re: A83: Time




I assume you meant something like this:
  ld b,0
  ei
delay_loop:
  halt
  djnz delay_loop

Although actually since the interrupt runs at 200hz, you would need a larger 
timer if you want to be closer to 3 seconds.  Maybe something like this:
  ld bc,600
  ei
delay_loop:
  halt
  dec bc
  ld a,b
  or c
  jr nz,delay_loop


That should be a lot closer to 3 seconds.


In a message dated 5/14/00 3:01:26 AM Eastern Daylight Time, 
gte172i@prism.gatech.edu writes:

> there is probably a better way, but this does work.
>  
>   xor a
>   ei
>  delay_loop:
>   halt
>   djnz delay_loop
>   
>  -harper
>  
>  On Sat, 13 May 2000 TI83Maniac@aol.com wrote:
>  
>  > 
>  > How would you display for example the text "Hello" for about 3 seconds 
or 
> so 
>  > on the TI-83 in Z80 Assembly?
>  > 
>  > 
>  



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org



Follow-Ups: