Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mephisto!gatech!kd4nc!rbdc!barry From: barry@rbdc (Barry Newberry) Newsgroups: comp.sys.apple Subject: Serial Port Hardware Addresses Summary: I need to enable/disable serial port interrupts Message-ID: <1990Feb22.060459.7768@rbdc> Date: 22 Feb 90 06:04:59 GMT Reply-To: barry@rbdc.UUCP (Barry Newberry) Distribution: usa Organization: N.C. Home for Deranged Programmers Lines: 50 I guess the answer to this question is (partially) in the Apple IIgs Hardware Reference, but I don't have that book. Problem : How do I enable/disable Interrupt generation from a serial port ? The interrupts should be generated by Transmitter=empty, Transmission Received, or Error (according to IIgs Firmware Ref). I should be able to enable/disable serial port interrupts by reading or writing to the area from $C080,X to $C08F,X (where X equals the slot number x 16 : $n0). I would like to enable/disable interrupts for both the IIgs Serial Port AND the Super Serial Card, since I have both. I want a Hardware Address Table which is similar to the one below but giving addresses for Serial Ports. Table : Disk II Controller (figure 6.1 from Beneath Apple DOS) Address Label Description ------- ---------- -------------------------------------------- $C080 PHASEOFF Stepper Motor Phase 0 Off $C081 PHASEON Stepper Motor Phase 0 On $C082 PHASE1OFF Stepper Motor Phase 1 Off $C083 PHASE1ON Stepper Motor Phase 1 On $C084 PHASE2OFF Stepper Motor Phase 2 Off $C085 PHASE2ON Stepper Motor Phase 2 On $C086 PHASE3OFF Stepper Motor Phase 3 Off $C087 PHASE3ON Stepper Motor Phase 3 On $C088 MOTOROFF Turn Motor Off $C089 MOTORON Turn Motor On $C08A DRV0EN Engage Drive 1 $C08B DRV1EN Engage Drive 2 $C08C Q6L Strobe Data Latch for I/O $C08D Q6H Load Data Latch $C08E Q7L Prepare Latch for Input $C08F Q7H Prepare Latch for Output Q7L with Q6L = Read Q7L with Q6H = Sense Write Protect Q7H with Q6L = Write Q7H with Q6H = Load Write Latch I plan to use the information to write a program that reads and writes to the serial port as a "background" task, and I want to be able to do this on a IIe, as well as a IIgs. -- ------------------------------------------------------------------------ Remember, until there is a cure for Assembly Language Brain Fry, there will always be the N.C. Home for Deranged Programmers. .......................................................................