A82: Re: Halt command


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

A82: Re: Halt command




i don't know.  95% of the errors in my programs come from using the halt
command, so im just going to stop using it in my delays.
Its been giving me way too much grief lately.

-Harper Maddox

jerky@ebicom.net
IRC nick: Geori
ICQ: 1214597

-----Original Message-----
From: Evil Sam <evil_sam@hotmail.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: Sunday, September 06, 1998 5:09 PM
Subject: A82: Halt command


>
>   What would cause a halt command to crash?
>
>example:
>  delay:   ;crashes
>    ld b,20
>  delay2:
>    halt
>    djnz Delay2
>    ret
>
>  delay:   ;works
>    ld b,20
>  delay2:
>    push bc
>    pop bc
>    djnz Delay2
>    ret
>
>  I found a way to shrink BD by 960 bytes. The process involves writing
>screen data to APD_BUF and displaying it with ROM_CALL(RESTOR_DISP),
>would this cause the halt command to freeze the calc?
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>