What video card should I emulate?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
Primis
Member
Member
Posts: 62
Joined: Fri May 14, 2010 3:46 pm
Libera.chat IRC: Primis
Location: New York, NY
Contact:

What video card should I emulate?

Post by Primis »

Im creating a IBM AT clone for the fun of it, only chip Im missing is the actual cpu, (intersil still sells an 8088 clone) I have a UART, PIC, PIT, RTC, et al, but there was two things that were literally impossible to find because no one fabricates them any more, that is the 8042 keyboard controller, and the CGA card.

To compensate for this, I have decided to use a parallax propeller, which is a 40 pin DIP microcontroller with 8 "cogs" and built in video corcuitry for NTSC for a multi-io chip. On this chip, I am going to emulate a single channel 8042, a SID (Cause if Im gonna have sound, Im gonna do it with style) and a video device. Needless to say with 32 I/O and full bus logic this doesnt leave many i/o for extras.

My perdiciment comes down to the following, with the graphics emulation, I have 16k internal ram on the propeller I can use for VRam (bus logic I/O has 14 addr lines) And with NTSC I have about 32 million colors I can display using color hacks. So which video chip should I emulate? CGA is good, but I could emulate a VIC-II, MDA, or make one up on the fly.
Resolution is limited by NTSC BTW, so no hi res vga, not like I'd have the memory for it.

What would you do?
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
Image
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: What video card should I emulate?

Post by Combuster »

I would just get myself an ISA slot and some oldfashioned VGA-compatible card from the second-hand market (in my case, the attic), to make it actually PC-compatible. Otherwise, you'd end up being best off with an tile-based engine console style to get the best graphics for the available RAM.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
tom9876543
Member
Member
Posts: 170
Joined: Wed Jul 18, 2007 5:51 am

Re: What video card should I emulate?

Post by tom9876543 »

Post Reply