It is currently Tue Feb 20, 2018 4:52 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: ZX Spectrum homebrew
PostPosted: Thu Jan 04, 2018 8:25 pm 
Offline
User avatar

Joined: Wed Feb 13, 2008 9:10 am
Posts: 612
Location: Estonia, Rapla city (50 and 60Hz compatible :P)
I go with the unrelated approach as then you don't have to deal with upper bits within L that would differentiate more of the same within a page. Incrementing H to the next thing while INC/DEC L or directly specify L for accessing the elements of a particular thing. If performance is not absolutely critical you can do many of the same within a page and juggle the top bits of L while accessing elements out of order, but if you can make all accesses sequential it will be most space efficient.
Space isn't a problem to me usually, current project on SG-1000 / SC-3000 uses a RAM expansion since 1KB is not enough for my needs (while 2KB would be but only SC-3000 has that, SG-1000 has only 1KB) and cheapest RAM chip is 32KB, so it is made usable by a custom mapper that puts it in top 16KB where system RAM is (onboard RAM gets disabled) + a bit to choose which of the 16KB halves is visible there (Multiple RAM banks would requre another IO pin and more state in the CPLD and I got more of neither available).

_________________
http://www.tmeeco.eu


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group