TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: Alex Freed
date: 2009-02-06 13:51:58
subject: Re: Not your father`s Applicard - USB added

Steven Hirsch wrote:
> 
> Have you posted the equations?

Not yet, but there is not much to it.
This is ABEL source.


"Inputs
	!RD_z80			pin 11;
	A7,A6,A1		pin 2,3,4;
	!WR_z80			pin 5;
	A0,A5			pin 6,7;
	!IORQ			pin 9;
	RXF,TXE			pin 16,17;
	

"Outputs
	D0			pin 15;
	wr			pin 18;
	!rd			pin 19;	


Equations
	D0.OE = RD_z80	& IORQ & A7 & A6 & A5 & A1;
	D0 = (RXF & A0) # (TXE & !A0);
	
	rd =  RD_z80 & IORQ & A7 & A6 & A5 & !A1 & !A0;
	wr =  WR_z80 & IORQ & A7 & A6 & A5 & !A1 & !A0;



>> 1. The main purpose - a convenient way to exchange data with a PC.
>> Need some guru's help to make this port accessible as a CP/M
"device".
> 
> If you want support in the OS, it needs to act as PUN: and RDR:.  A 
> better solution might be to write a MEX overlay that treats the USB 
> logically as a UART.

I was looking at the BIOS source you sent me and wondered if it would
be a good idea to just patch READER and PUNCH routines to read/write
the USB port? Or should it be done differently?

MEX seems like a huge overkill... No need to init the modem, dial, etc.
I would like to have small "rx" and "sx" applets to
read/write by xmodem.

> 
> Are there any comm programs available for Windows (or Mac, for that 
> matter) that can use the USB port?

All of them. The module by default uses a "virtual comm port" driver.
Set it as say COM4 and fire up your HyperTerm or whatever.

> 
> I wonder if that setup can be used to emulate an Appletalk interface?  
> Have to give it some thought.
Now we are way over my head.

-Alex.
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 128/2 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.