From: "A.Appleyard" To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU Date: Tue, 10 Jan 1995 16:51:07 GMT Subject: Re: 64K-color-mode screen addresses treated modulo 0x10000 I wrote:- > I thus then altered my AUTOEXEC.BAT's `set GO32' line to set GO32=ansi > driver c:/djgpp/go32/vesadrv.vdr 2r1 noglob core t$gccdbg but my > 64K-color-screen-mode screen byte pixel address offsets were still treated > modulo 0x10000 as before. Aaron Ucko replied:- > Does your chipset have a driver specific to it? See if specifying that > driver helps. My PC has a Cirrus Logic screen driver chip in, so I put this in my C:\AUTOEXEC.BAT :- rem set GO32=ansi driver c:/djgpp/drivers/paradise.grd gw 1024 gh 768 2r1 noglob core t$gccdbg rem set GO32=ansi driver c:/djgpp/go32/vesadrv.vdr 2r1 noglob core t$gccdbg set GO32=ansi driver c:/djgpp/contrib/libgrx/drivers/cirrus54.grn 2r1 noglob core t$gccdbg (The newline-four-spaces's are not in the original; my emailer folded the lines). (That driver is the only one whose name started with `CIRR' in my djgpp.) I then compiled and ran my test program. And in my screen's 64K color mode it treated the screen offset pixel addresses as the remainder left when divided by 0x10000, same as always. <<>> how can I cure this?????