1. Writing directly in the video memory....

--Boundary_(ID_jhIaimZNupIEGsFkpVkMnw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

Hi,

Long time ago, when I was at the University, to write directly in video =
memory, it was necessary to use a base address and an offset. Is it =
still the same with the 32 bits addressing. Based on my understanding, =
it is not necessary to use an offset anymore. So how do you access the =
video memory in the 32 bits addressing "mode".

Thank you,

Pierre Beaulieu

--Boundary_(ID_jhIaimZNupIEGsFkpVkMnw)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3612.1700"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Long time ago, when I was at the =
University, to=20
write directly in video memory, it was necessary to use a base address =
and an=20
offset. Is it still the same with the 32 bits addressing. Based on my=20
understanding, it is not necessary to use an offset anymore. So how do =
you=20
access the video memory in the 32 bits addressing =
&quot;mode&quot;.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thank you,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Pierre =

--Boundary_(ID_jhIaimZNupIEGsFkpVkMnw)--

new topic     » topic index » view message » categorize

2. Re: Writing directly in the video memory....

I believe the calculation is:

   FLAT_ADDRESS = (SEGMENT * 16) + OFFSET

So, for example, mode 19's video memory address becomes:

     #A000:#0000 = (#A000 * 16) + #0000 = #A0000

- aen

new topic     » goto parent     » topic index » view message » categorize

3. Re: Writing directly in the video memory....

On Mon, 5 Apr 1999 20:39:27 -0400, Pierre Beaulieu <pbeaulie at VIDEOTRON.CA>
wrote:

>Hi,
>
>Long time ago, when I was at the University, to write directly in video
 memory, it was necessary to use a base address and an offset. Is it still
 the same with the 32 bits addressing. Based on my understanding, it is not
 necessary to use an offset anymore. So how do you access the video memory
 in the 32 bits addressing "mode".
>
>Thank you,
>
>Pierre Beaulieu
>

You can calculate 32 bit addresses using the base address, offset pair.
There have been some messages to this nature recently.  Very recent infact.
the listserv is at
T=1

That will give you the month of March.  I believe it was mentioned within
that time frame.  You might want to organize by Subject rather than Date
though.

        Lucius L. Hilley III
        ICQ: 9638898
        AIM: LLH III
        http://www.cdc.net/~lhilley
Catch me if you can.  HaHaHa.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu