🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Joel West Mon, 25 Mar 1985 05:29
Info on RAM Serial drivers
#910
Author: Joel West
Date: Mon, 25 Mar 1985 05:29
39 lines
1684 bytes
The original query regarding RAM serial drivers has since been
purged here.  However, I refer its author (and anyone else) to
page 24 of the 2/15/85 document "About the Software Supplement."
The MacStuff 3 disk in this supplement includes standard RAM
serial drivers for the Mac and Lisa (or XL, if you prefer).

According to the docs, the serial driver should be Resource edited
over along with linking SDOpen.Rel.  Open the driver as

	SPORTA	equ	$0000		; use modem port
	SPORTB  equ	$0100		; use printer port

		XREF	RAMSDOpen
		CLR.W	-(SP)
		MOVE.W	SPORTB,-(SP)
		JSR	RAMSDOpen
		MOVE.W	(SP)+,R0	; get function result

close it with

		XREF	RAMSDClose
		MOVE.W	SPORTB,-(SP)
		JSR	RAMSDClose

The RAMSDOpen knows which SERD to load from the SERD file,
depending on whether it's a Mac or MAC XL.

Error codes from OPEN include;
	-97 port in use
	-98 port configured for other use (parameter RAM: see OS Utilities)
	-192 resource not found
	-108 out of memory
-- 
	Joel West				     (619) 457-9681
	CACI, Inc. - Federal 3344 N. Torrey Pines Ct La Jolla 92037
	jww@bonnie.UUCP (ihnp4!bonnie!jww)
	westjw@nosc.ARPA

   "The best is the enemy of the good" - A. Mullarney
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads