colin@vu-vlsi.UUCP (Colin Kelley) (09/04/86)
Can anyone provide me with info on programming graphics for EGA cards? We've got lots of STB EGA clones in Zenith ATs, but I have not had any success getting to the EGA's enhanced graphics. I'm programming in Microsoft C 4.0 (which is, by the way, excellent!), with assembly language routines to do the dirty work of actually calling the BIOS routines. We've got the EGA Technical Reference Manual, but it is sadly too technical--it's got schematics and BIOS listings, information on programming the individual registers of the EGA card, but no explanation of how to use the graphics. I can get the CGA-compatible modes by using INT10H to set the video mode, and then the Set Pixel function; however, I get a completely blank screen when attempting this with one of the new EGA modes... So...does this mean that the BIOS doesn't support Set Pixel in EGA modes? (Do I actually have to go and poke pixels into memory???) Or is their a different BIOS call to do so? Or is my problem just with palettes? If you know of a publication that explains this all, please let me know. I'm only posting because I've exhausted all the possible sources of info I can find! BTW: I've run quite a few commercial programs on the STB cards, and those that support the new EGA modes all work fine, which means that my problem probably isn't a compatibility problem... Thanks for any help! -Colin Kelley ..{cbmvax,pyrnj,psuva1}!vu-vlsi!colin
sam@lanl.ARPA (Sam A Matthews) (09/05/86)
> Can anyone provide me with info on programming graphics for EGA cards? > ... > Thanks for any help! > > -Colin Kelley ..{cbmvax,pyrnj,psuva1}!vu-vlsi!colin Me too please? Sam Matthews /\|/\ "We put a star sam@lanl.ARPA --> * <-- in a box." (ihnp4 or cmcl2)!lanl!sam \/|\/
john@uwmacc.UUCP (John Jacobsen) (09/06/86)
> >> Can anyone provide me with info on programming graphics for EGA cards? >> ... What kind of information is desired? Font programming? BIOS modes? Video pages? Writing to video memory? Color tables? There are a couple of good articles in recent issues of PC Magazine (_Exploring the EGA_ by Charles Petzold) that one might look into - - these are written for someone with some assembly language experience. Programming the EGA is not as easy as the CGA and it is infinitely more pleasant to do so using pre-written graphics routines. Unfortunately, I don't think a good enough assortment of routines exists for this hardware. Unless you like programming down to the bloody bone (hardware level) getting results on your own from this beast is less than pleasant. John E. Jacobsen Madison Academic Computing Center -- University of Wisconsin