Article View: comp.os.os2.programmer
Article #2092Re: Accessing memory (Monitor)
From: David Charlap
Date: Thu, 15 Oct 1992 18:23
Date: Thu, 15 Oct 1992 18:23
24 lines
1845 bytes
1845 bytes
In article <19921015.045120.701@almaden.ibm.com> KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) writes:
>/***************************************************************************
> * Structure defining the layout of the LVB Buffers. The Buffer consists *
> * of Host_Rows*Host_Cols 2-Byte Cells. *
> ***************************************************************************/
>typedef union {
> struct {
> BYTE Character; /* ASCII Character */
> BYTE Color; /* Foreground/Background Color */
> } Byte;
> UINT Cell; /* Allows access to the 2-byte cell */
Shouldn't this be USHORT if you mean 2-byte? Else you stand a chance
of it being compiled to a ULONG on some systems.
>} LVB;
>
>LVB *lvb_Ptr; /* Logical Video Buffer */
>USHORT lvb_Size; /* Size of LVB in bytes */
--
David Charlap |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
Technical Details
Message-ID:
<1992Oct15.182310.26406@njitgw.njit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340References:
<1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340 From: dic5340@hertz.njit.edu (David Charlap) Newsgroups: comp.os.os2.programmer Subject: Re: Accessing memory (Monitor) Message-ID: <1992Oct15.182310.26406@njitgw.njit.edu> Date: 15 Oct 92 18:23:10 GMT References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com> Sender: news@njit.edu Organization: New Jersey Institute of Technology, Newark, N.J. Lines: 24 Nntp-Posting-Host: hertz.njit.edu