Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » Gentlemen, 14+ kbps !
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Gentlemen, 14+ kbps ! [message #353719] Mon, 02 October 2017 04:51 Go to next message
Anonymous
Karma:
Originally posted by: Jorge

Reliably, over the cassette in port, on a II+. I've got it working right now in a loop in front of me: 4.5s per HGR image.

And it's remarkably insensitive to the volume, anything above 40..50% is good to go.

:-)

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353731 is a reply to message #353719] Mon, 02 October 2017 11:48 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> Reliably, over the cassette in port, on a II+. I've got it working right
> now in a loop in front of me: 4.5s per HGR image.
>
> And it's remarkably insensitive to the volume, anything above 40..50% is good to go.
>
> :-)
>

Excellent, Jorge!

How did you do it? (Code?)

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353736 is a reply to message #353731] Mon, 02 October 2017 13:06 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Monday, October 2, 2017 at 5:48:15 PM UTC+2, Michael J. Mahon wrote:
>
> Excellent, Jorge!
>
> How did you do it? (Code?)

In order to keep the DC bias under control, the encoding I've used is Manchester (see https://en.wikipedia.org/wiki/Manchester_code ), and also because it's very easy to decode quickly on the fly. I'm setting up a demo page. Will post the url asap. But in short, the trick was... to make the HI pulses 1 sample less than the LO pulses: LOs are 2 or 4 samples (*), but HIs are 1 or 3 (see the Manchester waveform picture @ the wikipedia). That's because of the 741 delay we've been talking about before, remember? You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow). More so if you prepare and have an oscilloscope with the probes peeking at H14-4 (on a II/II+) and H14-7 (/CS). Oh, and it detects reversed polarity too.

(*) A sample lasts either 1/44100 or 1/48000 depending on the device the browser is running on.
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353737 is a reply to message #353719] Mon, 02 October 2017 13:31 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Monday, October 2, 2017 at 10:51:16 AM UTC+2, Jorge wrote:
> Reliably, over the cassette in port, on a II+. I've got it working right now in a loop in front of me: 4.5s per HGR image.

13569 bps @44100 sps
14769 bps @48000 sps

To be exact.
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353738 is a reply to message #353737] Mon, 02 October 2017 13:43 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 10/2/2017 1:31 PM, Jorge wrote:
> On Monday, October 2, 2017 at 10:51:16 AM UTC+2, Jorge wrote:
>> Reliably, over the cassette in port, on a II+. I've got it working right now in a loop in front of me: 4.5s per HGR image.
>
> 13569 bps @44100 sps
> 14769 bps @48000 sps

What are the system constraints that would necessitate one rate vs. the
other?
Re: Gentlemen, 14+ kbps ! [message #353739 is a reply to message #353738] Mon, 02 October 2017 14:01 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Monday, October 2, 2017 at 7:43:35 PM UTC+2, schmidtd wrote:
>>
>> 13569 bps @44100 sps
>> 14769 bps @48000 sps
>
> What are the system constraints that would necessitate one rate vs. the
> other?

The decoder works perfectly well with the same audio played @ either 44100 or 48000, in one case it takes (slightly) longer than in the other, that's all.
Re: Gentlemen, 14+ kbps ! [message #353767 is a reply to message #353736] Tue, 03 October 2017 02:59 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> On Monday, October 2, 2017 at 5:48:15 PM UTC+2, Michael J. Mahon wrote:
>>
>> Excellent, Jorge!
>>
>> How did you do it? (Code?)
>
> In order to keep the DC bias under control, the encoding I've used is
> Manchester (see https://en.wikipedia.org/wiki/Manchester_code ), and also
> because it's very easy to decode quickly on the fly. I'm setting up a
> demo page. Will post the url asap. But in short, the trick was... to make
> the HI pulses 1 sample less than the LO pulses: LOs are 2 or 4 samples
> (*), but HIs are 1 or 3 (see the Manchester waveform picture @ the
> wikipedia). That's because of the 741 delay we've been talking about
> before, remember? You'll soon be able to see exactly what I mean in the
> demo page (hopefully, tomorrow). More so if you prepare and have an
> oscilloscope with the probes peeking at H14-4 (on a II/II+) and H14-7
> (/CS). Oh, and it detects reversed polarity too.
>
> (*) A sample lasts either 1/44100 or 1/48000 depending on the device the
> browser is running on.

Very nice!

I'll have to think about this some more... ;-)

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353771 is a reply to message #353767] Tue, 03 October 2017 05:19 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Tuesday, October 3, 2017 at 8:59:54 AM UTC+2, Michael J. Mahon wrote:
> Jorge wrote:
>>
>> In order to keep the DC bias under control, the encoding I've used is
>> Manchester (see https://en.wikipedia.org/wiki/Manchester_code ), and also
>> because it's very easy to decode quickly on the fly. I'm setting up a
>> demo page. Will post the url asap. But in short, the trick was... to make
>> the HI pulses 1 sample less than the LO pulses: LOs are 2 or 4 samples
>> (*), but HIs are 1 or 3 (see the Manchester waveform picture @ the
>> wikipedia). That's because of the 741 delay we've been talking about
>> before, remember? You'll soon be able to see exactly what I mean in the
>> demo page (hopefully, tomorrow). More so if you prepare and have an
>> oscilloscope with the probes peeking at H14-4 (on a II/II+) and H14-7
>> (/CS). Oh, and it detects reversed polarity too.
>>
>> (*) A sample lasts either 1/44100 or 1/48000 depending on the device the
>> browser is running on.
>
> Very nice!
>
> I'll have to think about this some more... ;-)

Yes please, do. As we say here, 4 eyes see more than two.

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353772 is a reply to message #353719] Tue, 03 October 2017 05:33 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

Most newer computers come with 82k or even 96k capable audio out devices. But given the slow response times of that 741 opamp I don't think it's going to be easy to squeeze much more from the cassette in port. But who knows? When a baud is just about 60µs, if you are able to shave say just 6µs it means ~2k bps more... which is a good thing!
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353808 is a reply to message #353772] Tue, 03 October 2017 21:22 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> Most newer computers come with 82k or even 96k capable audio out devices.
> But given the slow response times of that 741 opamp I don't think it's
> going to be easy to squeeze much more from the cassette in port. But who
> knows? When a baud is just about 60µs, if you are able to shave say just
> 6µs it means ~2k bps more... which is a good thing!

Jorge, since the speed of the cassette input port is limited by the
unconventional usage of the 741, have you looked at its response to low
level square waves? If it is kept out of saturation, it should be
considerably faster.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353814 is a reply to message #353808] Wed, 04 October 2017 05:12 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Wednesday, October 4, 2017 at 3:22:58 AM UTC+2, Michael J. Mahon wrote:
>
> Jorge, since the speed of the cassette input port is limited by the
> unconventional usage of the 741, have you looked at its response to low
> level square waves? If it is kept out of saturation, it should be
> considerably faster.

I think that's very difficult (if not impossible) to do because the band in which the opamp is in the linear region is very narrow due to the high gain (84x IIANM), and also because due to the AC coupling the input signal the 741 sees is AC riding on a variable DC bias thus shifting up and down, most of the time out of that (very tiny) linear band.

Even if you could make that work (I don't think so), it would be extremely picky about the volume level which is not good at all.

I've got the demo almost ready... :-)
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353820 is a reply to message #353814] Wed, 04 October 2017 12:28 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> On Wednesday, October 4, 2017 at 3:22:58 AM UTC+2, Michael J. Mahon wrote:
>>
>> Jorge, since the speed of the cassette input port is limited by the
>> unconventional usage of the 741, have you looked at its response to low
>> level square waves? If it is kept out of saturation, it should be
>> considerably faster.
>
> I think that's very difficult (if not impossible) to do because the band
> in which the opamp is in the linear region is very narrow due to the high
> gain (84x IIANM), and also because due to the AC coupling the input
> signal the 741 sees is AC riding on a variable DC bias thus shifting up
> and down, most of the time out of that (very tiny) linear band.
>
> Even if you could make that work (I don't think so), it would be
> extremely picky about the volume level which is not good at all.
>
> I've got the demo almost ready... :-)

The input to the 741 is a 2:1 attenuators, so the net gain is about 42. The
output is centered around 0 volts, so the negative swing is comparable to
the positive swing (quite unconventional for a digital input!). The digital
input would like, say, +4v for true, so an input drive at the cassette in
port would be about 100 millivolts for satisfactory operation in the linear
region. 120mv would drive the 741 to saturation and 80mv would be barely
sufficient, so level control within +/-20% is necessary, but achievable.

The time constant of the input circuit is about 2.4 milliseconds, so as
long as the input waveform is symmetrical around zero within about 500
microseconds, DC shift should be manageable.

Since you are set up with a 'scope for the experiment, try decreasing the
input level to the 100 millivolt level and see if the 741 output tracks the
input without any extra delay.

It may be that minimal external circuitry (a Schmitt trigger with an output
attenuator) would allow the data speed to increase significantly.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353821 is a reply to message #353820] Wed, 04 October 2017 13:32 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Michael J. Mahon <mjmahon@aol.com> wrote:
> Jorge <jorge@jorgechamorro.com> wrote:
>> On Wednesday, October 4, 2017 at 3:22:58 AM UTC+2, Michael J. Mahon wrote:
>>>
>>> Jorge, since the speed of the cassette input port is limited by the
>>> unconventional usage of the 741, have you looked at its response to low
>>> level square waves? If it is kept out of saturation, it should be
>>> considerably faster.
>>
>> I think that's very difficult (if not impossible) to do because the band
>> in which the opamp is in the linear region is very narrow due to the high
>> gain (84x IIANM), and also because due to the AC coupling the input
>> signal the 741 sees is AC riding on a variable DC bias thus shifting up
>> and down, most of the time out of that (very tiny) linear band.
>>
>> Even if you could make that work (I don't think so), it would be
>> extremely picky about the volume level which is not good at all.
>>
>> I've got the demo almost ready... :-)
>
> The input to the 741 is a 2:1 attenuators, so the net gain is about 42. The
> output is centered around 0 volts, so the negative swing is comparable to
> the positive swing (quite unconventional for a digital input!). The digital
> input would like, say, +4v for true, so an input drive at the cassette in
> port would be about 100 millivolts for satisfactory operation in the linear
> region. 120mv would drive the 741 to saturation and 80mv would be barely
> sufficient, so level control within +/-20% is necessary, but achievable.
>
> The time constant of the input circuit is about 2.4 milliseconds, so as
> long as the input waveform is symmetrical around zero within about 500
> microseconds, DC shift should be manageable.
>
> Since you are set up with a 'scope for the experiment, try decreasing the
> input level to the 100 millivolt level and see if the 741 output tracks the
> input without any extra delay.
>
> It may be that minimal external circuitry (a Schmitt trigger with an output
> attenuator) would allow the data speed to increase significantly.
>

Whoops...

Since the input is AC, and a 100mv positive excursion is needed, the
optimal input level would be 200mv peak-to-peak, not 100mv.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353825 is a reply to message #353731] Wed, 04 October 2017 14:27 Go to previous messageGo to next message
Egan Ford is currently offline  Egan Ford
Messages: 304
Registered: October 2012
Karma: 0
Senior Member
On 10/2/17 9:48 AM, Michael J. Mahon wrote:
> Jorge <jorge@jorgechamorro.com> wrote:
>> Reliably, over the cassette in port, on a II+. I've got it working right
>> now in a loop in front of me: 4.5s per HGR image.
>>
>> And it's remarkably insensitive to the volume, anything above 40..50% is good to go.
>>
>> :-)
>>
>
> Excellent, Jorge!
>
> How did you do it? (Code?)

+1. Look forward to the code.
Re: Gentlemen, 14+ kbps ! [message #353827 is a reply to message #353825] Wed, 04 October 2017 14:54 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 10/4/2017 2:27 PM, Egan Ford wrote:
> On 10/2/17 9:48 AM, Michael J. Mahon wrote:
>> Jorge <jorge@jorgechamorro.com> wrote:
>>> Reliably, over the cassette in port, on a II+. I've got it working right
>>> now in a loop in front of me: 4.5s per HGR image.
>>>
>>> And it's remarkably insensitive to the volume, anything above 40..50%
>>> is good to go.
>>>
>>> :-)
>>>
>>
>> Excellent, Jorge!
>>
>> How did you do it? (Code?)
>
> +1.  Look forward to the code.

+1. Waiting to steal <err> read the code.
Re: Gentlemen, 14+ kbps ! [message #353828 is a reply to message #353827] Wed, 04 October 2017 15:06 Go to previous messageGo to next message
anthonypaulo is currently offline  anthonypaulo
Messages: 531
Registered: September 2013
Karma: 0
Senior Member
Don't you whippersnappers have floppy drives that will run circles around your fancy schmancy pony-express-memory-invoking cassette interface? :P
Re: Gentlemen, 14+ kbps ! [message #353829 is a reply to message #353827] Wed, 04 October 2017 15:16 Go to previous messageGo to next message
jorge is currently offline  jorge
Messages: 9
Registered: May 2013
Karma: 0
Junior Member
On Wednesday, October 4, 2017 at 8:54:01 PM UTC+2, schmidtd wrote:
>
> +1. Waiting to steal <err> read the code.

lol
Re: Gentlemen, 14+ kbps ! [message #353830 is a reply to message #353828] Wed, 04 October 2017 15:20 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Wednesday, October 4, 2017 at 12:06:55 PM UTC-7, Anthony Ortiz wrote:
> Don't you whippersnappers have floppy drives that will run circles around your fancy schmancy pony-express-memory-invoking cassette interface? :P

I think they're looking for a way to speed up ADT via Audio.
Re: Gentlemen, 14+ kbps ! [message #353833 is a reply to message #353820] Wed, 04 October 2017 15:35 Go to previous messageGo to next message
jorge is currently offline  jorge
Messages: 9
Registered: May 2013
Karma: 0
Junior Member
On Wednesday, October 4, 2017 at 6:28:29 PM UTC+2, Michael J. Mahon wrote:
>
> Since you are set up with a 'scope for the experiment, try decreasing the
> input level to the 100 millivolt level and see if the 741 output tracks the
> input without any extra delay.

I will do, but tricky volume setting is a pain.

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353839 is a reply to message #353719] Wed, 04 October 2017 17:04 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Monday, October 2, 2017 at 1:51:16 AM UTC-7, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:

Hey Jorge,

All that crap around your name really messes up its display!--All kinds of black bars and weirdness.
Re: Gentlemen, 14+ kbps ! [message #353841 is a reply to message #353833] Wed, 04 October 2017 17:33 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
͖͖̦͎.̥̩ͯ͛͊.̦̲͉̄.̫̮ͮͅ.̽̃̽̓.̳͈͓. ̂ͭͤ.͖ͅ.͎̪̍̓.͚͐̉ͤ <jorge@jorgechamorro.com>
wrote:
> On Wednesday, October 4, 2017 at 6:28:29 PM UTC+2, Michael J. Mahon wrote:
>>
>> Since you are set up with a 'scope for the experiment, try decreasing the
>> input level to the 100 millivolt level and see if the 741 output tracks the
>> input without any extra delay.
>
> I will do, but tricky volume setting is a pain.
>

You could always throw in a 10:1 attenuator--say 10k to 1k, that should
make it pretty easy.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: Gentlemen, 14+ kbps ! [message #353845 is a reply to message #353841] Wed, 04 October 2017 17:51 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Bobbi

Mousetext in the username maybe?
Re: Gentlemen, 14+ kbps ! [message #353884 is a reply to message #353736] Fri, 06 October 2017 08:33 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽

On Monday, October 2, 2017 at 7:06:07 PM UTC+2, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>
You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow).

Gentleman,

Today is tomorrow!

apple2.duckdns.org/turbodemo/

Feel free to ask, steal, copy, and/or use in your projects, e.g. ADT, ADTPro or datajerk's disk server or whatever. And for Michael "MJM" to tinker for the joy of tinkering. I only ask for credit where credit is due: if you use it state clearly you stole the idea from me :-)

Skookum as frig!
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353892 is a reply to message #353884] Fri, 06 October 2017 10:04 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 10/6/2017 8:33 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
> On Monday, October 2, 2017 at 7:06:07 PM UTC+2, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>
> You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow).
>
> Gentleman,
>
> Today is tomorrow!
>
> apple2.duckdns.org/turbodemo/

Very nice. Maybe I was making assumptions, but... is it not
bi-directional? Is there code to send at that rate as well as receive?

> Feel free to ask, steal, copy, and/or use in your projects, e.g. ADT, ADTPro or datajerk's disk server or whatever.

One constraint ADTPro has: it needs to be able to escape out of a
transfer during a send or a receive. So built into my re-engineered
audio routines is a poll for the escape key. So I'd either need to
build that into this capability too or use short enough bursts to
approximate the same thing.
Re: Gentlemen, 14+ kbps ! [message #353893 is a reply to message #353892] Fri, 06 October 2017 10:20 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽

On Friday, October 6, 2017 at 4:04:28 PM UTC+2, schmidtd wrote:
> On 10/6/2017 8:33 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>> On Monday, October 2, 2017 at 7:06:07 PM UTC+2, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>>
>> You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow).
>>
>> Gentleman,
>>
>> Today is tomorrow!
>>
>> apple2.duckdns.org/turbodemo/
>
> Very nice. Maybe I was making assumptions, but... is it not
> bi-directional? Is there code to send at that rate as well as receive?

I have not written the driver to send from the Apple II, but I think it's doable, why not?

>> Feel free to ask, steal, copy, and/or use in your projects, e.g. ADT, ADTPro or datajerk's disk server or whatever.
>
> One constraint ADTPro has: it needs to be able to escape out of a
> transfer during a send or a receive. So built into my re-engineered
> audio routines is a poll for the escape key. So I'd either need to
> build that into this capability too or use short enough bursts to
> approximate the same thing.

Try pressing any key... or ESC ! :-)

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353894 is a reply to message #353893] Fri, 06 October 2017 10:23 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 10/6/2017 10:20 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
> On Friday, October 6, 2017 at 4:04:28 PM UTC+2, schmidtd wrote:
>> On 10/6/2017 8:33 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>> On Monday, October 2, 2017 at 7:06:07 PM UTC+2, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>>>
>>> You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow).
>>>
>>> Gentleman,
>>>
>>> Today is tomorrow!
>>>
>>> apple2.duckdns.org/turbodemo/
>>
>> Very nice. Maybe I was making assumptions, but... is it not
>> bi-directional? Is there code to send at that rate as well as receive?
>
> I have not written the driver to send from the Apple II, but I think it's doable, why not?

Why not indeed.

>>> Feel free to ask, steal, copy, and/or use in your projects, e.g. ADT, ADTPro or datajerk's disk server or whatever.
>>
>> One constraint ADTPro has: it needs to be able to escape out of a
>> transfer during a send or a receive. So built into my re-engineered
>> audio routines is a poll for the escape key. So I'd either need to
>> build that into this capability too or use short enough bursts to
>> approximate the same thing.
>
> Try pressing any key... or ESC ! :-)

Missed that - sounds good.
Re: Gentlemen, 14+ kbps ! [message #353895 is a reply to message #353894] Fri, 06 October 2017 10:39 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽

On Friday, October 6, 2017 at 4:23:50 PM UTC+2, schmidtd wrote:
> On 10/6/2017 10:20 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>
>> I have not written the driver to send from the Apple II, but I think it's doable, why not?
>
> Why not indeed.

Ahh, ok, I see. I've never used ADT to transfer diaks from the Apple II to the Mac, only from the Mac to the II. But don't worry that's easy. And the ..js to decode it in the web page is easy too. So you could make ADT a web page ! That's even more cross-platform than java!

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353896 is a reply to message #353895] Fri, 06 October 2017 11:06 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 10/6/2017 10:39 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
> On Friday, October 6, 2017 at 4:23:50 PM UTC+2, schmidtd wrote:
>> On 10/6/2017 10:20 AM, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>>
>>> I have not written the driver to send from the Apple II, but I think it's doable, why not?
>>
>> Why not indeed.
>
> Ahh, ok, I see. I've never used ADT to transfer diaks from the Apple II to the Mac, only from the Mac to the II. But don't worry that's easy. And the .js to decode it in the web page is easy too. So you could make ADT a web page ! That's even more cross-platform than java!

Holy crapmonkeys - we could host a DB in the cloud, and have r/w access
to a cloudy Asimov. With just disk images, the total data footprint
would be minimal. But only for Apples with audio ports. :-) It's
always something...
Re: Gentlemen, 14+ kbps ! [message #353897 is a reply to message #353896] Fri, 06 October 2017 11:33 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽

On Friday, October 6, 2017 at 5:06:47 PM UTC+2, schmidtd wrote:
>
> But only for Apples with audio ports. :-) It's
> always something...

Why only for Apples with audio ports? The audio out port can drive a serial input perfectly, you just have to tweak somewhat the audio signal, but it's quite easy.
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353920 is a reply to message #353884] Fri, 06 October 2017 15:11 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Friday, October 6, 2017 at 5:33:57 AM UTC-7, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
> On Monday, October 2, 2017 at 7:06:07 PM UTC+2, _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽ wrote:
>>
> You'll soon be able to see exactly what I mean in the demo page (hopefully, tomorrow).
>
> Gentleman,
>
> Today is tomorrow!
>
> apple2.duckdns.org/turbodemo/
>
> Feel free to ask, steal, copy, and/or use in your projects, e.g. ADT, ADTPro or datajerk's disk server or whatever. And for Michael "MJM" to tinker for the joy of tinkering. I only ask for credit where credit is due: if you use it state clearly you stole the idea from me :-)
>
> Skookum as frig!
> --
> Jorge.

I don't get it! What are we supposed to do with your webpage? It does nothing in my browser, Microsoft Internet Explorer.
Re: Gentlemen, 14+ kbps ! [message #353921 is a reply to message #353920] Fri, 06 October 2017 15:18 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: _█ͧͯ_͋█ͣ͂_͂_͆_͑█̽͆__ͧ̓█͆█ͥ̄_̽

On Friday, October 6, 2017 at 9:11:19 PM UTC+2, James Davis wrote:
>
> I don't get it! What are we supposed to do with your webpage? It does nothing in my browser, Microsoft Internet Explorer.

Use a real browser :-) Chrome or FireFox or Brave ! You need to have javascript enabled, too...

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353923 is a reply to message #353921] Fri, 06 October 2017 15:27 Go to previous messageGo to next message
anthonypaulo is currently offline  anthonypaulo
Messages: 531
Registered: September 2013
Karma: 0
Senior Member
And make sure your anti-virus/malware and firewalls are disabled for the full experience!
Re: Gentlemen, 14+ kbps ! [message #353924 is a reply to message #353923] Fri, 06 October 2017 15:46 Go to previous messageGo to next message
jorge is currently offline  jorge
Messages: 9
Registered: May 2013
Karma: 0
Junior Member
On Friday, October 6, 2017 at 9:27:59 PM UTC+2, Anthony Ortiz wrote:
> And make sure your anti-virus/malware and firewalls are disabled for the full experience!

Yeahhh ;-P
Re: Gentlemen, 14+ kbps ! [message #353968 is a reply to message #353884] Sat, 07 October 2017 15:09 Go to previous messageGo to next message
jorge is currently offline  jorge
Messages: 9
Registered: May 2013
Karma: 0
Junior Member
On Friday, October 6, 2017 at 2:33:57 PM UTC+2, ǝƃɹoſ wrote:
>
> Gentlemen,
>
> Today is tomorrow!
>
> apple2.duckdns.org/turbodemo/

The button "LOOP 4 EVER" now works, it randomly sends images in a loop, and reports the transfer speed:

Sample rate is 48000 sps
4 sent. Average xfer rate 1.8 kbyte/s (14786 bps)

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #353995 is a reply to message #353968] Sun, 08 October 2017 07:08 Go to previous messageGo to next message
jorge is currently offline  jorge
Messages: 9
Registered: May 2013
Karma: 0
Junior Member
On Saturday, October 7, 2017 at 9:09:54 PM UTC+2, ǝƃɹoſ wrote:
> On Friday, October 6, 2017 at 2:33:57 PM UTC+2, ǝƃɹoſ wrote:
>>
>> Gentlemen,
>>
>> Today is tomorrow!
>>
>> apple2.duckdns.org/turbodemo/
>
> The button "LOOP 4 EVER" now works, it randomly sends images in a loop, and reports the transfer speed:
>
> Sample rate is 48000 sps
> 4 sent. Average xfer rate 1.8 kbyte/s (14786 bps)

Now it works in both directions, the web page listens to the Apple II cassette output (you have to plug an other cable of course) and decodes that signal live on the fly. So if you press 1 on the Apple II the web page sends the 1st picture, 2 the 2nd etcetera.

--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #354108 is a reply to message #353995] Tue, 10 October 2017 04:19 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Sunday, October 8, 2017 at 1:08:34 PM UTC+2, Jorge wrote:
>
> Now it works in both directions, the web page listens to the Apple II cassette output (you have to plug an other cable of course) and decodes that signal live on the fly. So if you press 1 on the Apple II the web page sends the 1st picture, 2 the 2nd etcetera.

The Apple II, one of first ever PCs in the world, can sample its cassette port every 6-7µs, but most modern PCs 40 years later can only do it every 1/44100/1e-6 ~= 22.68 µs, ¡toma ya!

=> I expect the bps to be proportionally slower in the Apple II -> Mac/PC direction.

On the plus side, now you can write the decoder in a high level language such as .js ( hats off to Brendan Eich ) and expect it to work flawlessly in realtime. OMG, there's an abyss between that and 6502 assembly. An abyss in terms of execution speed, plus an other abyss in ease of programming. Well worth the wait it has been, I would say.

Remember when every PC there was was incompatible with every other? Remember when even ones of the same brand were incompatible with each other? Today you can run the same .js on every computer in the world and it works. Amazing! Sooner or later it's going to be bye bye to OSs and vendor lock-in.

Remember when you used to drive somewhere else to meet, every so often, armed with a couple of boxes of blank mini floppies, to pirat^W share new software? The "user groups"... LOL. Now ~ everything is a click away in a matter of milli seconds. God bless the internet.

But I digress.
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #354193 is a reply to message #353719] Wed, 11 October 2017 05:12 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Monday, October 2, 2017 at 10:51:16 AM UTC+2, Jorge wrote:
> Reliably, over the cassette in port, on a II+. I've got it working right now in a loop in front of me: 4.5s per HGR image.
>
> And it's remarkably insensitive to the volume, anything above 40..50% is good to go.
>
> :-)

For the same price now it comes with an oscilloscope.

To see it click on "LISTEN". To freeze a frame/stop the scope click on it (on the scope "screen", not on the "LISTEN" button). To resume click again. The scope trigger mode is set to normal not auto, that means if there's no signal you won't see anything. It triggers on the rising edges of zero crossings.

http://apple2.duckdns.org/turbodemo
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #354216 is a reply to message #353820] Wed, 11 October 2017 14:43 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Wednesday, October 4, 2017 at 6:28:29 PM UTC+2, Michael J. Mahon wrote:
>
> The input to the 741 is a 2:1 attenuator, so the net gain is about 42.

I'm looking now at the red book schematics and there's no divider there and the gain of the opamp is set to 19x ((220+12)/12)

The 1979 reference manual and the IIe schematics show a divider /2 followed by the opamp set to 84x gain.

Why on earth would anybody want to first halve a signal to then have to amplify it back twice as much?

One possible excuse would be to protect somewhat the 741 input with that new 12kΩ R in series.

But that additional R also doubles the high pass cutoff frequency, perhaps that's what they were after.

Who knows?
--
Jorge.
Re: Gentlemen, 14+ kbps ! [message #354217 is a reply to message #354216] Wed, 11 October 2017 14:54 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jorge

On Wednesday, October 11, 2017 at 8:43:47 PM UTC+2, Jorge wrote:
>
> But that additional R also doubles the high pass cutoff frequency

halves...
Re: Gentlemen, 14+ kbps ! [message #354223 is a reply to message #354216] Wed, 11 October 2017 17:10 Go to previous messageGo to previous message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
Jorge <jorge@jorgechamorro.com> wrote:
> On Wednesday, October 4, 2017 at 6:28:29 PM UTC+2, Michael J. Mahon wrote:
>>
>> The input to the 741 is a 2:1 attenuator, so the net gain is about 42.
>
> I'm looking now at the red book schematics and there's no divider there
> and the gain of the opamp is set to 19x ((220+12)/12)
>
> The 1979 reference manual and the IIe schematics show a divider /2
> followed by the opamp set to 84x gain.
>
> Why on earth would anybody want to first halve a signal to then have to
> amplify it back twice as much?
>
> One possible excuse would be to protect somewhat the 741 input with that
> new 12kΩ R in series.
>
> But that additional R also doubles the high pass cutoff frequency,
> perhaps that's what they were after.
>
> Who knows?

It's simply to cut the potential input level to provide some protection
from large signals, AC ground differences when plugging in, ESD, etc.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Pages (2): [1  2    »]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Software Automatic Mouth (S.A.M.)
Next Topic: Software talk
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Apr 20 11:32:03 EDT 2024

Total time taken to generate the page: 0.22389 seconds