bloodline wrote:
So how does your C2p work without the CPU then?
Urgh! A full explanation would require 200 kb of text... in practice I should re-write the documentation :-o
Anyway... OK, here's the core: the resolution used is SHRES (that's why the right video HW is necessary) to reproduce the effect that CRTs use to draw coloured pixels. To do so, the appropriate bitplanes shifts, masking... well, a many settings ;-) are required... in practice, you make the same bitplane - to which you write as if it were a chunky buffer - overlap with itself...
Excuse me if I don't say more because it's 9.5 hours that I'm at the office and it's almost time to go back home ;-) Yet, if you are really curious, you can download the archive dev/misc/TCS.lha from Aminet and read the docs, in which I explain the technique step-by-step.
The archive includes a few demo programs to see it in action and you could also download dev/misc/TCS_demo.lha to see a "live" introduction to the system (it shows graphically the basics of how it works and some of the offered functionalities).
Finally, if you want to see a "serious" app exploiting that c2p, you should get hold of the MOM stuff at
http://saimobvq.interfree.it/MOM/index.html - I'm mentioning this app also because I created it exactly with the spirit I've been talking about in this thread: the spirit of making effective, clean & lean things by banging nice HW (in practice the app is an emulator of a handheld machine I designed myself for this purpose).
- EDIT -
Ah, and don't forget that you need native video output + a 15 kHz-capable monitor (or, alternatively, a scandoubler which supports SHRES screens, but I dunno if it even exists)
- EDIT -
- EDIT 2 -
I've forgotten an important thing: I've tried the library on UAE 0.8.22 on my AmigaOne and it works, but graphics are not rendered correctly - I'd say that that version can't handle SHRES perfectly; dunno about 0.8.25... could anybody check it out, please?
- EDIT 2 -
- EDIT 3 -
I forgot the most import thing of all, too! :-o
The idea of emulating a CRT is _not_ mine, but belongs to Fabio Bizzetti (AFAIK), who used it in his Virtual Karting.
Seeing that game really started a flow of thoughts that did not end until I figured out a way to implement the concept and exploit to the max (like the library does :-)).
- EDIT 3 -
Have fun and let me know!
saimo