[alt.msdos.programmer] <None>

likovuori@cc.helsinki.fi (03/16/90)

In article <16693@orstcs.CS.ORST.EDU>, henders@mist.cs.orst.edu (B. Scott Henderson) writes:
> How does one access a hard disk partition table?

    First you could ask NU to read absolute sectors. When
    absolute sectors are read you can access head 0 track 0 sector 1
    where the master boot sector and partition table resides.

    If you use Turbo C you could try function biosdisk(), the
    syntax is:

      int biosdisk(int cmd, int drive, int head, int track, int
                   sector, int nsects, void *buffer);

    where cmd=2 is read from disk and cmd=1 is write to disk.
    drive is 0x00..0x7f for diskettes and 0x80... for fixed
    disks. Buffer must be large enough to hold nsects of data.

    You can find a good description of biosdisk (and all other TC 
    functions) from The Waite Group's Turbo C Bible from Howard
    W. Sams & Co.


Kari Likovuori                    Decnet: HYLK::LIKOVUORI
University of Helsinki            Bitnet: likovuori@finuh
Computing Center                  Internet: likovuori@cc.helsinki.fi
Finland

pack@batcomputer.tn.cornell.edu (Robert Todd Pack) (11/28/90)

Subject:Help with Ghostscript 2.0 
Organization: Cornell Theory Center
References: <1990Nov19.212134.6012@polyof.poly.edu> <valley.659638331@gsbsun> <6661@wolfen.cc.uow.oz>
Date: Tue, 27 Nov 90 22:52:12 GMT


I finally got my hands on Ghostscript and got it running on my MS-DOS
system.  It will display ps files on my ega display perfectly and
seems to work fine in every respect, except that the files it
generates for my Deskjet printer don't work.  Has anyone out there
built Ghostscript so that it will work with a Deskjet printer?
Any information on this would be greatly appreciated.  Please
E-mail all replies to pack@theory.tn.cornell.edu.
		-Thanks R.T.P.