www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/27/09:24:18

Date: Wed, 27 Oct 93 09:01:39 -0400
From: DJ Delorie <dj AT ctron DOT com>
To: webbs AT cs DOT colostate DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Newbie question: How do I do old addresses & paging and other quest.

> 	1.)  How do I address ports, interrupts and segments like in
> 	the non-protected days with turbo C now that I have gnu C?

ports - use <pc.h>'s in* and out* calls
interrupts - wait for 1.11, but there's only a few you can rely on.
segments - there aren't any (effectively).  1.11 adds some functions to
  deal with "selectors", but nothing in this realm is compatible with
  turbo-c.

> 	2.)  How can I patch the async asm source to do greater than 9600 bps?

I don't think it knows about baud rates.  I use a separate utility to
program the baud rate to 19200.  Note that you may not be able to
handle the interrupts that quickly from protected mode.


- Raw text -


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