TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: DAVE MCDONOUGH
from: THOMAS HABETS
date: 1998-01-11 21:32:00
subject: djgpp programming

DJGPP rules!
 DM>  The screen mode will be 320x200, 16-bit color.
Wuss :-) use 640x480x32 or more.
I don't think that mode exists (on standard SVGA cards).
I *know* it is not part of the VGA standard.
You could however antialias from 640x480x16 to 320x240x16 but that's kind of 
slow.
Or...
You can try using VESA and search through available modes (I doubt 320x200x16 
exists, but I could be wrong).
VESA specs can be found somewhere on www.scitechsoft.com.
 DM> I already found out that djgpp runs in nasm assembler sysntax
 DM> wich is different and strange,
NoNo, DJGPP runs AT&T syntax (which is logical and nice, if you learned it 
before Intel syntax).
NASM however, is an assembler for Intel syntax (the common one on PC).
AT&T syntax:
movl %eax, %ebx
Intel syntax:
mov ebx, eax
So if you like intel syntax you get NASM, else you use AT&T syntax with gcc 
(which passes the file to gas, I think).
 DM>  -screen mode set
 DM>  -pixel plot
 DM>  -palette set
Get allegro for this, but IMO allegro is weird.
 DM> everything else I think I can freeball.. but these need to be assembler.
Why?
 DM> ... If Windows sucked it would be good for something.
It doesn't have time to suck before it crashes :)
---
---------------
* Origin: Q U A K E 2 ! ! ! ! ! ! ! ! (2:201/293.22)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.