From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: <81v6u4$86p$1 AT tron DOT sci DOT fi> Subject: Re: STRUCTURE WITH CHANGING ARRAY AS A MEMBER Lines: 19 Organization: Pin Eight Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: X-Trace: /wObnYZQ9SMVE6n2kQP4MijUTSNj587sNFuqMcjhMANj0Y8L5QFS/DDF3hVzfTrgueXuNY1Bz9la!TBEMT8OydA/K6s9DpP/HR5FEbX2Wi3XGrg3jqKZ5dMAgANV2ceJR4z2PS+ZCtYSWttiVue8L X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 01 Dec 1999 05:03:27 GMT Distribution: world Date: Wed, 01 Dec 1999 05:03:27 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "stefan fröberg" wrote: > Also, how do you put that damn pixel on the screen on EGA > (12h, 640x480x16) mode. That's a VGA mode, with 480 scanlines. The closest EGA mode is 0x10, with 640x350 pixels. > (Yeah, I know that there are bitplanes or something like that but > a code example would help me more...) If you're on a VGA, try using mode 0x13. It's a *lot* simpler to program. Just get farptr (preferably) or nearptr (if you must) access to absolute 0xa0000, and treat it as a 2D array of chars. Damian Yerrick