Mail Archives: djgpp/1998/09/08/09:46:39
From: | default <@res.raytheon.com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Serial ISRs
|
Date: | Tue, 08 Sep 1998 09:06:36 -0400
|
Organization: | Raytheon Electronic Systems
|
Lines: | 18
|
Message-ID: | <35F52BDC.A7402210@res.raytheon.com>
|
NNTP-Posting-Host: | neomar1.res.ray.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I'm attempting to translate some code I had originally written in RM
that uses a couple of HW interrupts into PM using DJGPP. I'm having
trouble getting the serial ports to respond, though. Not knowing
otherwise, I've attempted to programming the UARTS in the conventional
manner, and then attempt to hook both the PM and RM interrupts using
almost all combinations of __dpmi and __go32-style routines for both
assembly and C ISRs. I've tried locking memory and disabling paging, but
I can't seem to get a buzz from my ports. Does anyone have some sample
code for doing this sort of thing so that I can stop chasing my tail?
I'm using a pentium under DOS (yeah, yeah, I know) with plenty of memory
(trust me, plenty) using some advanced 16550s that seem to work fine in
RM. Be it known that I'm real fresh to PM programming so please go easy
on me...
- Raw text -