home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
egavga.swg
/
0022_PUTPIXEL.PAS.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
283 b
|
15 lines
{
MICHAEL NICOLAI
Re: Plotting a pixel.
In 320x200x256 mode it's very simple:
x : 0 to 319, y : 0 to 199
}
Procedure Plot(x,y Word; color : Byte);
begin
mem[$A000 : (y * 200 + x)] := color;
end;
{You mean mem[$A000:y*320+x]:=color; don't you? ????? ($UNTESTED)}