[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1371878 [View]
File: 6 KB, 454x326, cs1.gif [View same] [iqdb] [saucenao] [google]
1371878

>>1371855
>Honestly, the thing I want to work on the most is reducing the memory footprint.
>The obvious answer is to drop the palette size,
I'd say the most obvious answer would be to use a processor with bigger address space.
You could also use banking, or enter the pixel addresses via registers.
The old EGA/VGA used an odd system where the video memory appeared as monochrome (reducing memory footprint) and then you had a separate register for selecting the bit planes (=colors).

>I found this online, but I'm not sure that I fully understand it.
Most of it is just Z80-specific shit or needed to support two different memory sizes. Basically you connect all your memories in parallel (addresse, data, r/w, oe) and then use the individual CS lines to activate one of the memories as needed. If your memories have, say, 13b addresses and you use a 3-to-8 decoder like 74138 to convert the next 3 address bits to 8 chip selects, then you'll have a contiguous memory of 64kB. Not that all the memories have to be of the same size, but if they aren't, you'll get repeated blocks. That is, if one of the memories is 2kB, you'll see it repeat 4 times in its 8kB window.

Navigation
View posts[+24][+48][+96]