Who knows assembly language?

How the hell do you write a graphics program using CGA?

The professor tells us to make one, and it's not in the fucking book anywhere, plus her notes suck. Anybody know a good online tutorial site or something?
 
hmm me thinks you don't go to class. otherwise this post would've had more information.
 
Back in my Computer Science days I knew it. It was a bitch to learn though.

Couldn't tell ya now how to do it though, sorry.
 
iNVAR said:
hmm me thinks you don't go to class. otherwise this post would've had more information.

I go to class, I'm looking at my notes right now, it just doesn't tell me shit.

Knight, I think that's a little bit more complicated than what we're doing. We're just working with 8086, nothing with pascal and C.
 
Holy Jeesus Christ Batman, no one codes CGA graphics (in assembly or otherwise) any more... tell your professor to upgrade his head by at least 20 years or so.
 
CGA is freaking gay, theres zero point in teaching anyone how to use it unless youre on a 186 or somethin

mode 0x13 is where its at, maybe she meant that :(
 
I've read through Art of Assembly before. It's great, much better than our text book, but I didn't see anything about graphics in it.

And yeah, this class is goddamn retarded. It's supposed to be getting phased out, but of course we still have to take it this semester.

mode 0x13, isn't that vga? she doesn't want vga
 
Last edited:
yea, it is vga, and about 800 times easier to do than cga

i didnt even bother trying cga back in 95 when i started learning asm, she must be crazy :(
 
BLiSTeD said:
i know motorola 68000 assembly
I once tried to read a book about that long time ago but didn't understand any of the concepts (stack, overflow, wtf this got to do with anything) about until few years later.
 
I know a lot of assembly dialects but your problem seems to be the lack of knowledge about the CGA-Adapter (or the emulation of a CGA-Adapter by a modern graphics card). Is this assumption correct?
 
Philipsz said:
I know a lot of assembly dialects but your problem seems to be the lack of knowledge about the CGA-Adapter (or the emulation of a CGA-Adapter by a modern graphics card). Is this assumption correct?

i don't know, maybe. lack of knowledge about assembly would cover it. but especially everything to do with CGA.
 
chaosrage said:
i don't know, maybe. lack of knowledge about assembly would cover it. but especially everything to do with CGA.
Well, both topics have no real relation to each other except through your assignement. I think there should be a lot of good 80x86 assembly tutorials on the web but ressources for accessing video cards in DOS could be rare. I have compiled some useful links on this topic for you:

http://thorkildsen.no/faqsys/docs/cga.txt
http://www.csdn.net/Dev/Format/other/VGA.htm
http://world.std.com/obi/Standards/VGA/cga.txt
http://www.erd.epson.com/vdc/pdf/8108/x09aa002.pdf
 
That's CGA, but it might as well be written in chinese, it's so different from the sample programs my prof gave us. Thanks for posting them anyway.

I'll work on it some more tomorrow.
 
Back
Top