It is currently Wed Feb 21, 2018 12:39 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Wed Jan 24, 2018 8:15 pm 
Offline

Joined: Fri Jul 04, 2014 9:31 pm
Posts: 836
psycopathicteen wrote:
If a routine uses a small LUT, I would like to keep it in the same bank as the routine, and be able to access it with short absolute addressing.

Not sure what you're getting at here. Isn't it fairly simple to have the assembler put the LUT in a different bank? Ideally the one you're aiming the data bank register at, which would be in a LoROM region in order to retain access to MMIO and shadow RAM.

I've used the "put the LUT in the code segment and just jump over it" trick before, but it's hardly good practice for a game...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Group