6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Apr 30, 2024 9:53 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jan 01, 2019 5:05 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Hi All

The following article on Wikipedia gives some information on how the 1530 Datasette worked:

https://en.wikipedia.org/wiki/Commodore_Datasette

Some detail is given on how the analog data on cassette was converted to digital data with which the Commodore 64 could work with.

However some brief mention is also made that when recording data to cassette, the 1530 also contained an audio filter for converting digital data to analog:

Quote:
The Datasette has built-in analog to digital converters and audio filters to convert the computer's digital data into analog sound and vice versa


I could not get much information on the Internet on how this audio filter worked which was harnessed during recording, except a schematic from the zimmers.net website, which I have attached to this post for reference.

On the above mentioned schematic I it looks some kind of audio filter was implemented indeed during the recording process. However, I didn't had any luck figuring out how this filter works.

Can anyone perhaps give an explanation on how this filter works, or give some pointers into the right direction?

Once I have figured out how this filter works, I thought it would be an interesting exercise to implement this filter as a digital filter on an FPGA and take any *.TAP file and see if you can recreate the original sound as heard when you would play the original tape on a tape deck.


Attachments:
cas-08r.gif
cas-08r.gif [ 118.38 KiB | Viewed 1068 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 01, 2019 8:02 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
Well, I didn't see much filtering as well.

There is the combination of R23/C6 and C11/R4. R23/C6 will damp higher frequencies. C11/R4 will pass them (10x lower time constant) to the first opamp. This is a weak sort of a bandpass with only one decade of width. But the time constants of these RC combinations appears somewhat strange to me (R23/C6 = 6µs => 160kHz, R4/C11 = 60µ => 16kHz)?
The first opamp should "rectify" and limit any "audio signal" to roughly +/-1V (relative to the bias voltage). This is then fed into the second opamp which only amplifies this signal to bang this into the final transistor Q2.

The wikipedia article describes some different circuit:
Quote:
Inside the tape device the read head signal is fed into an operational amplifier (1) whose output signal is DC-filtered. Op-amp (2) amplifies and feeds an RC-filter. Op-amp (3) amplifies the signal again followed by another DC-filter. Op-amp (4) amplifies the signal into clipping the sine formed signal. The positive and negative rails for all op-amps are wired to +5V DC and GND. The clipped signal therefore fits into the TTL electrical level window of the Schmitt trigger step that in turn feeds the digital cassette port.[16]


Your wish to recreate the sound 8) could perhaps easier accomplished when using an audio tool like Wavelab or Audacity to trim the sound (including the more or less dull speaker!) from a .TAP file. It is most likely a bandpass, and a clipper, and then another bandpass for the speaker.


Regards,
Arne


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 01, 2019 8:34 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Hi Arne

Thanks for the explanation, but I see you are actually referring to the playback scenario.

The scenario I am actually after is the recording scenario, that is when the switch next to R/W Head is in the REC position and Write data enters from the right, and also via the REC switch position enters the parallel C10/R21, through Q5 and so on.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 01, 2019 11:15 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
There is no filter circuitry in the record path. All transistor stages have accellerating caps in there base drive (C10, C9) to switch a little faster and finally there is only C17/R36. To me this looks like DC blocking and attenuation and/or current limiting but not as a "filter".

I wonder why they didn't choose a 40106 (CMOS Hex Schmitt-trigger). One or two in parallel could drive the head for records. The other four could be used to reshape the playback signal. Perhaps a 4049 (hex inverter, CMOS) would even better, as they can be used as amplifiers and as schmitt-triggers as well.


Regards,
Arne


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 02, 2019 5:30 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
GaBuZoMeu wrote:
There is no filter circuitry in the record path. All transistor stages have accellerating caps in there base drive (C10, C9) to switch a little faster and finally there is only C17/R36. To me this looks like DC blocking and attenuation and/or current limiting but not as a "filter".

True. In fact, it's a rather poor design; but I suppose they figured that if it worked, that was good enough. C9 and C10 are just to compensate for the following transistors' input capacitance and Miller effect. The record circuit shows no effort to make anything linear or control the gain or frequency response or even the bias. It's just saturation all the way. Wow.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: