Subject: Re: [stella] A tiny tip From: "Andrew Davie" <atari2600@xxxxxxxxxxxxx> Date: Thu, 15 Apr 2004 15:57:58 +1000 |
Wellll.... it might have an effect on some future bankswitching hardware on which your program might be run. For example, the Krokodile cartridge does bankswitching based on writes to ROM... so I wouldn't assume that writes to ROM will always have no effect! Safer, I think, to do it another way. We *really* need all of this in a wiki -- any volunteers to host one? ----- Original Message ----- From: "Paul Slocum" <paul-stella@xxxxxxxxxxxxxx> To: <stella@xxxxxxxxxxx> Sent: Thursday, April 15, 2004 3:41 PM Subject: Re: [stella] A tiny tip > > >Not sure if this has come up here before, but I just discovered it. To > >waste an odd number of cycles, we usually use the unofficial instruction > >NOP $00. Exactly the same effect (3 cycle delay, no registers or flags > >affected) can be achieved legally (using one more byte of ROM) by doing: > > I just use STA $2D which is 2 bytes and has no effect on the 2600. I > compiled a lot of mine and others' ideas for wasting cycles in that guide I > was working on. > > -paul > > -------------------------------------------------------------------------- -------------------- > Archives (includes files) at http://www.biglist.com/lists/stella/archives/ > Unsub & more at http://www.biglist.com/lists/stella/ > > ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] A tiny tip, Paul Slocum | Thread | Re: [stella] A tiny tip, Paul Slocum |
Re: [stella] A tiny tip, Paul Slocum | Date | Re: [stella] A tiny tip, Paul Slocum |
Month |