View Full Version : How do I access the serial port from assembly?
durwin
Oct 22, 2003, 12:39 PM
Where can I find technical specifications on Performa 6360 serial port programming? I need to write assembly code to communicate via serial port to our hardware. I assume the printer port and modem port are the same rs422?
Any references are welcome.
Best Regards,
Durwin
Sun Baked
Oct 22, 2003, 12:54 PM
Almost sounds like you need information on writing a device driver for your device, and need it for OS 8/9.
http://developer.apple.com/documentation/macos8/mac8.html
Can't be of much more help than the link to the Legacy OS 8/9 Developer Page, or I'd link further to a sample device driver.
But you'll see link near the bottom right that may help.
Looking at the Page again Inside Macintosh: Devices (Chapter 7 - Serial Driver) (http://developer.apple.com/documentation/hardware/DeviceManagers/serialdriver/serial_drvr.html) :rolleyes:
durwin
Oct 22, 2003, 01:44 PM
I'll go read those references, especially last one. But let me elaborate. This "Serial Driver" will run on an RT OS which boots from a floppy. So it must be 100% self contained. No Mac OS dependencies. But that last URL looks like it will certainly help me understand that which I will need to know. If I can get the address the UARTS are at (or what ever chip they use for rs422), that would be in right direction.
Best Regards,
Durwin
Sun Baked
Oct 22, 2003, 08:27 PM
So looking back at the older System tech notes may also be helpful, if the first link doesn't go back far enough. ;)
http://developer.apple.com/technotes/indexes/legacy5-t.html#S
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.