mist-devel / mist-binaries

Firmware and core binaries for the MIST board
206 stars 50 forks source link

[Amstrad core] scanlines #11

Closed bonnefoi closed 7 years ago

bonnefoi commented 8 years ago

Hello,

could you add support for the scanlines and for memory's sake a monochrome option ?

best regards, Pierre-François.

renaudhelias commented 8 years ago

Hi,

Original scanlines CRTC option is not implemented yet (Wolfenstrad demo), but is in TODO-list. Monochrome option added to TODO-list (TODO-list is here : http://www.cpcwiki.eu/index.php/FPGAmstrad#Effort_done)

Regards, Renaud.

bonnefoi commented 8 years ago

Perfect :)

renaudhelias commented 7 years ago

r005.8.9 : green.

renaudhelias commented 7 years ago

soleil_vert_coreamstrad r00.5.8.9.2 "Les Sucres en Morceaux" - green screen

bonnefoi commented 7 years ago

Thank you very much and happy new year !

renaudhelias commented 7 years ago

About triangular pixels filter effect, it cannot be done in CoreAmstrad : Amstrad true resolution is 768x288, not 384x288. Then my 768x288 is displayed as 800x600 VGA (one pixel is one pixel), I cannot insert more pixel to reach an great effect.

... but ... something like that could be done : http://www.brunofreitas.com/node/36 sf2 sf2sl One line out of two is black, or darker. Let's just have to know "how much darker". sampling 2 pixels on this picture : (78,153,211) [darker than] (105,190,249) 105/78=1.34 190/153=1.24 249/211=1.18 (1.34+1.24+1.18)/3=1.25=5/4 4/5=0.8=0.5+0.25 (sum of two shift right : 1/2 + 1/4 or else simply another array of input/ouput)

Let's see then char offset http://searle.hostei.com/grant/MonitorKeyboard/index.html : startup Damn, pixel are centered in light pixel ^^'. Let's say that first line is light one and second one is darker one :)

renaudhelias commented 7 years ago

Done (finally just 1/2 darker in second lines gives good results). scanlines Can be closed.

renaudhelias commented 7 years ago

scanlines2 1 scanlines2

sebdel commented 7 years ago

That's great, looks exactly like my actual CPC464 :) If you have some bits left in the extended status register you could let people select the strength of the effect. It's very well done in the spectrum core.