Re: A83: Direct Input/Delay
[Prev][Next][Index][Thread]
Re: A83: Direct Input/Delay
In a message dated 09/28/98 9:42:31 AM, stefan@infinity.hemmet.s-
hem.chalmers.se writes:
>On Sun, 27 Sep 1998 Jkhum98@aol.com wrote:
>
>>
>> Ok, (to add on to my mail a little bit) I just decided to experiment
>with some
>> delays, but it either froze my calc or is taking a helluva long time...
>:\
>> Tell me how much this delay sucks, and give me a new one please, anyone...?
>Im
>> not calling this in my Direct Input loop though. Its right after I switch
>the
>> text video of that word (like i was talking about before), and then calling
>> the Delay, and then jumping to my Direct Input loop. Whats the problem...?
>> --Jason K.
>> Delay:
>> ld b, $FF
>> DelayLoop:
>> push af
>> dec b
>> pop af
>> nop
>> djnz DelayLoop
>> ret
>>
>
>Isn't that going to be an endless loop since you're making a double
>decrement with that extra dec b, now it goes down to 3, 1, -1, never 0
>pick away that dec b and it will probably work
>
>/Stefan
Hey, yeah. Youre right, but Olle cleared this up for me already, though...
didn't This mail come a little bit late, and you should have read His already?
Well whatever, thanks for the response anyways... =P
--Jason K.