🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: att.lang.c++
Article #199

Putpixel

#199
From: Morten Kruse
Date: Thu, 18 Jun 1998 00:00
16 lines
749 bytes
I have some problems With my function putpixel in c++.

I have implemented the putpixel function using the function memset.

void putpixel(int x, int y, unsigned char col)
{
    memset(vga+x(y*320),col);
};

Now I don't know how to implement the const vga to point at the mem adr.
0XA000.

please help me!

bcc12201@vip.cybercity.dk
Technical Details
Message-ID: <6mbp2r$d27$1@news.cybercity.dk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d4ba,3f64e003c7efdf28,start
X-Google-Attributes: gid10d4ba,public
From: "Morten Kruse" <bcc12201@vip.cybercity.dk>
Subject: Putpixel
Date: 1998/06/18
Message-ID: <6mbp2r$d27$1@news.cybercity.dk>
X-Deja-AN: 363956609
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: CyberCity Internet
Newsgroups: att.lang.c++