Article View: comp.os.os2.programmer
Article #2093Re: Accessing memory (Monitor)
From: Kenneth A. Kahn
Date: Thu, 15 Oct 1992 21:46
Date: Thu, 15 Oct 1992 21:46
19 lines
1630 bytes
1630 bytes
In <1992Oct15.182310.26406@njitgw.njit.edu> David Charlap writes:
>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.
>
You are right. I'm going this now converting the code this is for to 32-bit
for C/SET2.
Technical Details
Message-ID:
<19921015.144935.338@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COMReferences:
<1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com> <1992Oct15.182310.26406@njitgw.njit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Message-ID: <19921015.144935.338@almaden.ibm.com>
Date: Thu, 15 Oct 92 17:46:10 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Accessing memory (Monitor)
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com>
<1992Oct15.182310.26406@njitgw.njit.edu>
Lines: 19