Re: [stella] An Efficient Waste Of Time

Subject: Re: [stella] An Efficient Waste Of Time
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Fri, 18 Oct 2002 09:40:27 +0200
Hi Christopher!

> A good variant where the length of the pause is 
> variable is:

>  jmp ($ZeroPage)
>  nop
>  nop
>  nop
>  (Whole bunch of NOPs)

Well, this certainly is fine - for any selfmodifying RAM 
kernels.

>     ldy $ZeroPage
>NextPause:
>     dey
>     bne NextPause

> gives you. (The "resolution" of the loop pause is 4 
> cycles, the jmp () pause is 2 cycles...)

Actually it's 6 + 5 * (ZeroPage - 1), since a branch 
taken is 3 cycles.

Greetings,
	Manuel

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread