🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2171

Serial Communications and Windows ?

#2171
From: Marc St-Louis
Date: Fri, 20 Nov 1992 21:25
29 lines
1572 bytes
Hi There Windows Gurus,

I'm about to write my first windows program. Actually, I want to
port a DOS communication program I wrote, to Windows. I'm an experienced
DOS programmer, now learning about Windows (God knows it ain't easy).

Here are some facts on the communication program I wish to port to
Windows. It doesn't use BIOS or DOS services, but directly talks to the
UART. It takes over the proper INT vector, and the Interrupt Service
Routine simply places incoming bytes in a buffer.

Question 1) I beleive I can build the Windows program using the 4
            following segments; Could this work ??

CODE segment #1. Interrupt routine saving incoming bytes to a buffer.
DATA segment #1  The program's data.
DATA segment #2. Buffer to save incoming Bytes.
CODE segment #2. Process the bytes saved in buffer.

Question 2) What is the best way to implement an Interrupt Service
            Routine for a serial communication port under Windows ?

Question 3) Which segments would be Fixed | Movable | Discardable ?

Thanks for helping me set my ideas straight.

Marc St-Louis
Montreal,Canada.
CCMS@MUSICM.MCGILL.CA
Technical Details
Message-ID: <20NOV92.17743545.0023@VM.MPG.MCGILL.CA>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!sifon!VM.MPG.MCGILL.CA

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!sifon!VM.MPG.MCGILL.CA
From: CCMS@MUSICM.MCGILL.CA (Marc St-Louis)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Serial Communications and Windows ?
Message-ID: <20NOV92.17743545.0023@VM.MPG.MCGILL.CA>
Date: 20 Nov 92 21:25:45 GMT
Sender: usenet@MUSICM.MCGILL.CA
Organization: McGill University Systems Inc (MUSIC/SP)
Lines: 29
Nntp-Posting-Host: vm.mpg.mcgill.ca