Subject: Re: Casette I/O Path: lobby!newstf02.news.aol.com!portc01.blue.aol.com!europa.netcrusader.net!207.103.147.20!news.voicenet.com!nntp.upenn.edu!info1.fnal.gov!overload.lbl.gov!not-for-mail From: Edward Berry Newsgroups: comp.sys.apple2 Date: Sun, 20 Aug 2000 01:28:32 -0700 Organization: Lawrence Berkeley Laboratory Lines: 29 Message-ID: <399F96B0.D1197916@lbl.gov> References: <3999bae4$1@hal.grnco.net> NNTP-Posting-Host: mclpc4.wins.lbl.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: overload.lbl.gov 966760096 10576 131.243.52.235 (20 Aug 2000 08:28:16 GMT) X-Complaints-To: nsuser@overload.lbl.gov NNTP-Posting-Date: 20 Aug 2000 08:28:16 GMT X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: zh-TW The apple connection to the cassette is actually digital, not analog (TTL with pullup resistor if I remember correctly, maybe AC coupled through a capacitor). So there's no real reason to use the sound card on the PC, just use one bit of the parallel port (Some PC paralell ports are supposedly write-only, but if you write $FF they can be pulled down by the incoming signal. Or you could use a handshaking input signal). I ported the Apple tape code to a C-64 (no big deal, since both are 6502), but I never tried connecting directly- only through a tape recorder. Since the PC's all have serial ports with software in BIOS, and Wozniac early on published software for sending/receiving serial via the game port, that would sound like a much easier route. I think that only works up to ~9600 baud, considerably less than your 6kB/s, but still much faster than the monitor LOAD and SAVE commands. Come to think of it, the tape signal is more complex than the serial signal, so timing of the 6502 probably limit it to even lower speeds. If your idea was that the sound card has higher bandwidth than the serial port on the PC, forget it- the limiting factor is going to be the 6502 for the tape drive, and the UART on an apple serial card will be much faster. -- Edward A. Berry, MailStop 3-250 Lawrence Berkeley National Laboratory 1 Cyclotron Road, Berkeley, CA 94720 Phone: +1-510-486-4335 Fax: +1-510-486-6059 Jfax +1-530-323-9836 (you send fax, I receive email) e-mail: EABerry@lbl.gov