|
Subject: Aw: [stella] New jumptable implementation. From: cybergoth@xxxxxxxx Date: Fri, 3 Jan 2003 10:06:42 +0100 (MET) |
Hi there!
> As an alternative we can use the stack in combination with a RTS command:
>
> # Assume index is in X
> LDA TableHi,X
> PHA
> LDA TableLo,X # I hope I pushed these in the right order...
> PHA
> RTS
>
> # Put Lo and Hi Jump tables here:
You can see that in A-Team for example.
I do some other stack trickery in Star Fire. There I have jobs like:
JSR DoThis1
JSR DoThis2
JSR DoThis3
JSR DoThis4
End
So when in DoThis2 for example I discover that I'm completely done with all jobs, I'd bail out with
PLA
PLA
JMP End
Greetings,
Manuel
----------------------------------------------------------------------------
Arcor-Video on Demand, Ihre Online-Videothek, bietet Ihnen vom 23. Dezember
2002 bis zum 2. Januar 2003 100 festliche Filme zu funkensprühenden Preisen
Festtags-Movies und Silvesterknaller gibt es SCHON AB 99 CENT!
http://www.arcor.de/home/redir.php/FooterMD
-----------------------------------------------------------------------
----------------------------------------------------------------------------------------------
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] ASCII or PDF Manual or, R Mundschau | Thread | [stella] Intelligent Job-System ide, cybergoth |
| Re: [stella] emulators w/ debug fea, Adam Wozniak | Date | [stella] Intelligent Job-System ide, cybergoth |
| Month |