delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/13/17:45:47

From: "Ming" <look AT post DOT maybe>
Newsgroups: comp.os.msdos.djgpp
Subject: djgpp syntax
Date: Sat, 13 Jun 1998 16:50:54 -0400
Organization: Info Avenue Internet Services
Lines: 42
Message-ID: <6luomj$bek$1@news1.infoave.net>
NNTP-Posting-Host: dasher.fmarion.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

     1111 1100 0000 0000
     5432 1098 7654 3210  Meaning

     ---- ---- ---- ---X  1 = disk drive(s) installed
     ---- ---- ---- --X-  1 = math coprocessor installed
     ---- ---- ---- XX--  System memory 00=16k 01=32k 10=48k 11=64k (non
PS/2)
     ---- ---- ---- -X--  1 = pointing device installed (PS/2)
     ---- ---- ---- X---  not used on PS/2
     ---- ---- --XX ----  initial video mode: 01=CO40 10=CO80 11=MONO
     ---- ---- XX-- ----  disk drives 00=1 01=2 10=3 11=4 (zero if bit 1=0)
     ---- ---X ---- ----  1 = no DMA available
     ---- XXX- ---- ----  number of serial ports installed (000=0 001=1 etc)
     ---X ---- ---- ----  1 = game port adapter installed
     --X- ---- ---- ----  1 = internal modem installed (PS/2)
     --X- ---- ---- ----  1 = serial printer attached (non PS/2)
     XX-- ---- ---- ----  number of printers installed (00=0 01=1 10=2 11=3)


I know a little c/c++ 4th year of college but we only do  algoritms our
computer science department is more theory  search alogarithms and things of
that nature not real coding so I am stuck learning any thing on my own
pretty much, just going to get the paper saying I studied computers to get a
job.


I have played with this even the examples but do not understand it.  I do
know what bit code is but how do I use this. I need a clear understanding of
this.

example what do I code to give cprintf("you have %d hard drives",
&numbdrives);

in the borland help it is just as confusing their example is test if have
coprocessor witch could only be yes or no but still confused
help please.

thanks you for any help

I can be emailed at rlowry AT compsci DOT fmarion DOT edu


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019