High res support (WIP)
I have high-res mode working! More debugging to do, but I've uploaded a preview for anyone who wants to play with it.
Here is a video showing graphics 0 in 80 column and 160 column mode - I should have used HD!
[[https://www.youtube.com/watch?v=I8Ox-bQicUs]]
Known issues:
i) Some acid tests are broken
ii) hscrol does not yet work on 2x and 4x colour clocks
iii) HDMI and svideo have a max res of 640 pixels wide, so gr.0 4x and gr8 4x won't look good (I've not tried yet). However they are still useful for GTIA modes. 320x200 in greyscale.
iv) Horizontal offset wrong, blank space on right.
v) Built in freezer broken (NOT related)
vi) It only works in turbo mode! PBI access requires waiting for 1/2 a cycle to know if PBI devices are going to take over the bus. This breaks the intra cycle DMA.
Still its exciting to have it working.
I've uploaded it for prototype 1 and 2 as highres5.sof. Please give it a go, try some custom display lists etc and see what you can get going. I've not tried doing much with it yet. Except poke 559,66 (2x) and poke 559,98 (4x) :-)
I found something else interesting. The source of some of the timing problems I have been having. I thought I'd reverted to before them in v16, but I as wrong. In fact they came from PBI support when fixing the turbo freezer. This logic is a problem:
if freezer enabled, disable pbi
if pbi enabled, set read/write on freezer
depending on read or write to freezer, freezer enabled
->>> combination loop!! Timing problems galore. Not sure how I missed it in the warnings. I've fixed the timing problem in this build but broke freezer again at the same time!
Comments
Added by 917k about 7 years ago
So happy with this, this is so flippin' great!
Added by 917k about 7 years ago
Wondering if it will be possible to control character foreground/background per character cell? Thinking about an ANSI terminal...
Added by 917k about 7 years ago
control character foreground/background color I meant to say.
Added by foft about 7 years ago
Well antic mode 6 (Gr.1) allows a colour per character. 20 characters wide, so at 2x its 40 characters wide and and 4x it is 80 characters wide. I guess that will be ideal?
Added by foft about 7 years ago
In Gr.0 we'll have 2 real colours (as on Sophia).