[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual serial drive



Riccardo <rigreco.grc@gmail.com> wrote:
> Il giorno sabato 8 settembre 2012 21:08:36 UTC+2, BLuRry ha scritto:
>> Yes, the //c can do it.  It is the same 6551 as found in the Super
>> Serial Card.  In fact, I used an Apple //c to develop the Apple Game
>> Server which uses 115.2k baud.  The only problem I've had with it is
>> that my home made serial cable is not properly shielded and is very
>> error prone after a few years of improper storage (whoops!  that's my fault though)
>> 
>> 
>> 
>> http://hackaday.com/2006/05/25/apple-game-server/
>> 
>> 
>> 
>> -Brendan
>> 
>> 
>> 
>> On Saturday, September 8, 2012 1:35:10 PM UTC-5, Riccardo wrote:
>> 
>>> Il giorno sabato 8 settembre 2012 20:19:57 UTC+2, Riccardo ha scritto:
>> 
>>> 
>> 
>>>> Il giorno sabato 8 settembre 2012 12:14:51 UTC+2, Riccardo ha scritto:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> Ok, I restart to studied "Inside the Apple IIc" by Gary B. Little
>>>>> 1985, Chapter 11, "The Serial Interface Ports", from page 299 to page
>>>>> 324, it's the great work. And reopen my old book: "Sistemi a
>>>>> microprocessore" by R. Baranzini, D. Capezzuto, G. Dugnani, HOEPLI 1986.
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> First:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> - //c have two 6551 ACIA (Asynchronous Communication Interface Adapter)IC
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> - PC/MAC typical use Intel 8251A USART (Universal Synchronous Asynchronous             
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>   Receiver Transmitter)IC, i think.
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> both IC implement AIA RS-232-C and have two phases:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>   
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>  Programmer and Communication
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>  
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> Right, my first question:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>  At page 307 Figure 11-3 of "Inside the Apple IIc" book, show max
>>>>> set-up speed to 19200 bit/s, but i great currently work up 115200
>>>>> bit/s with ADTPro, Why ?
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>>  
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> see you to next step.
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> Thanks
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>>> Riccardo
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> Thanks,
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> Another choice:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 1) With Prodos Utilities v 1.0 1984 Apple //c original:
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 
>> 
>>> 
>> 
>>>> 110 - 300 - 1200 - 2400 - 4800 - 9600 - 19200
>> 
>>> 
>> 
>>> 
>> 
>>> 
>> 
>>> 2) with Prodos Utilities v 3.1 speed set-up at:
>> 
>>> 
>> 
>>> 50-75-110-134.5-150-300-600-1200-1800-2400-3600-7200-9600-19200
>> 
>>> 
>> 
>>> 
>> 
>>> 
>> 
>>> 2^4 = 16 combination bits, it's clear that utilities do not use any
>>> combination, by the way:
>> 
>>> 
>> 
>>> at combination 1111 of the 6551 control register, what speed
>>> correspond?  19200 or 115200 bit/s
>> 
>>> 
>> 
>>> Is it possible exists variant of 6551 IC built in //c ? 
>> 
>>> 
>> 
>>> 
>> 
>>> 
>> 
>>> Ric.
> 
> Shielded a serial cable it's no problem, try to twisted single wire is
> more efficient to shield whit metal, like a Ethernet cable. I'll studied
> yours apple game server, it's a great work. By the way if we programmed
> serial port especially in assembler we need to know well the 6551 control
> register, at combination of 1111 what speed correspond ?
> 
> Tanks Bernard.
> 
> Riccardo

Assuming that the 6551s are mapped into /DEVSEL space as it is on an SSC,
all you have to do to run at 115kb is to initialize $C0sB to $10. 

For slot 2, that's $C0AB. For slot 1, it would be $C09B. 

-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon