6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu May 09, 2024 3:04 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon May 30, 2022 8:19 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8177
Location: Midwestern USA
JimBoyd wrote:
A jump table is a way to future proof your design.

Probably the best-known use of a jump table is in the Commodore “kernal,” which every eight-bit Commodore machine has had.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 02, 2022 2:08 pm 
Offline

Joined: Mon Feb 15, 2021 2:11 am
Posts: 100
Absent a software interrupt capability, it seems a good approach. Are there others?

BigDumbDinosaur wrote:
JimBoyd wrote:
A jump table is a way to future proof your design.

Probably the best-known use of a jump table is in the Commodore “kernal,” which every eight-bit Commodore machine has had.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 02, 2022 3:16 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1928
Location: Sacramento, CA, USA
Several of the 6502 pioneers like Woz didn't bother with JMP tables or complex BRK handlers, although convoluted RTS tables were definitely on the menu. They packed their ROM code as tightly as they possibly could, and let the entry points fall where they may. Many of those entry points became "standard", like the Apple ]['s $FDED for COUT and -151 for the monitor prompt, and the burden fell on the person updating the ROM code in subsequent incarnations to keep that functionality as well as he or she could. When you're a pioneer (or just want to act like one), you can be afforded some artistic license in my book.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: