6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 1:44 pm

All times are UTC




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Jun 28, 2015 11:13 am 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
I made a couple of variants on my sound card circuit and they all exibited the same perculiar not-quite working characteristic. Upon further investigation I renamed R10 through R17 to R8 throuh R15 and suddenly everything works. Even on the card that's hugely violating the timing specs. Eh!!? Go figure... I'd have thought that the register numbers should match the datasheet. Am I just being thick here or what.

EDIT: OK, I am being thick. It does mention it in the datasheet but I still don't know why the hole in the register names between R7 and R10. Maybe it's a legacy thing being as it was designed originally for a now obscure processor.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 28, 2015 5:07 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1948
Location: Sacramento, CA, USA
Octal designators?!?!?!

Mike B.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 28, 2015 7:17 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
Now that's a good point. I can count the number of times I've needed octal in my entire life on one hand if I ignore the time spent just messing around.

As I understand it octal was much more popular in days gone by. Especially considering base and wordlength weren't exactly standard.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 29, 2015 12:10 pm 
Offline
User avatar

Joined: Mon Dec 08, 2008 6:32 pm
Posts: 143
Location: Brighton, England
barrym95838 wrote:
Octal designators?!?!?!

Of course! The original datasheet for the AY-3-891x series numbered the registers in octal, probably just to confuse everyone! Newer ones use decimal numbering for the registers. It has been so long since I ran into this problem that I had forgotten all about it!

DigitalDunc wrote:
As I understand it octal was much more popular in days gone by. Especially considering base and wordlength weren't exactly standard.

Octal was especially popular with systems such as the IBM 700 & 7000 series with an 18-bit wordlength. 18 bits fits exactly into 6 octal digits but uses only 4.5 hex digits.

_________________
Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!


Top
 Profile  
Reply with quote  
 Post subject: OT: octal triva
PostPosted: Mon Jun 29, 2015 12:24 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
I was told last week that octal also had the advantage that the all-numbers representation on [five-hole] paper tape doesn't need continual shifts between letters and numbers. Triva: "The original CompuServe user IDs consisted of seven octal digits in the form 7xxxx,xx - a legacy of PDP-10." "Yes, the origin of CompuServe user IDs were TOPS-10* PPNs"


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 21, 2015 11:13 pm 
Offline
User avatar

Joined: Sun May 03, 2015 7:07 pm
Posts: 42
Location: London, UK
If you're still trying to get this working, I have just found a possible solution. In the August 1981 issue of Compute! there's an article and schematic on how to interface an 8/910 to 6502/6800 systems.

_________________
All my stuff


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 22, 2015 7:54 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Good find: here's a link https://archive.org/stream/1981-08-comp ... 1/mode/2up


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 22, 2015 9:17 am 
Offline
User avatar

Joined: Sun May 03, 2015 7:07 pm
Posts: 42
Location: London, UK
Thx BigEd for that link, I was going to scan the article if DigitalDunc was still interested, wasn't sure if it was available online. Now I can fill the holes in my collection.

_________________
All my stuff


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 24, 2015 8:14 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
I got it working alright. I ended up with three versions. One which operates outside the AY's spec (I think I need to go pray to the gods of magic smoke on that one), one which uses a VIA (even though I didn't want to tie up 16 locations) and one that uses a CPLD (Overkill). Honestly, the one with the VIA allows you to break other timing specs etc but scales with processor clock easiest. I hadn't thought about it before but when WDC VIA is reset I never needed to use all the registers for this application and so I could just not map them. I might be wrong though.

Interrupts are giving me a headache at the moment and I was trying to use the systems other VIA to generate a steady tick for use in such things as music, but it looks like I have an issue there which is going to suck a good solid and more important **FREE** weekend to crack. I'm up by half four this weekend bailing my company out again :cry: so no play 'till next WE.

Oh and Archiving is a very valuable thing. What we don't protect properly will die with the last of us.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 26, 2015 3:28 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
Well, I got back from work and even though I felt cream crackered I couldn't resist a little tinker. Found out why my ISR didn't work (missing INX in the BRK detection). Now is it worth writing an ISR in cc65 or sticking to assembly?


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 18, 2015 2:45 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
Sorry to bring up an old topic.

I'm a HUGE fan of the SID, AY-3-8910 (and variants), SN7648 and just about every other PSG from the 80's/90's.

I've built several AY/SN circuits using real PSG's and Arduino's. I have dozens of these things including many YM series, etc.

I've also built a couple Mockingboard clones on a breadboard and got it working in my Apple IIe.

Anyway, I'd like to mention another alternative. Something I plan doing myself with my 65C02 computer.

And that is to use the Parallax Propeller for audio. The Propeller has *VERY* accurate SID, AY-3-8910 and SN76489 emulation using only ONE COG each. A "COG" in the Propeller is a dedicated core. There are 8 in the Propeller and each one runs independently of the others.

The Propeller comes in 40 pin DIP and only requires a small EEPROM and external crystal to run it (along with a serial programmer that can be bought for $14 if you don't already have one).

I can talk for hours on the Propeller.

So, what I plan on doing is having the 65C02 talk to a Propeller and *hopefully* access it like the vintage parts. In fact, you could devote another COG to translate your OWN addressing scheme! You OWN timing, etc.

You could have, for example, 2 COGS devoted to AY's (6 channels in stereo), 2 COGS for SID (another 6 channels!), etc.

That's my plan, anyway.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 18, 2015 3:56 pm 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
Good plan.. I have a number of DIP Propeller chips in a drawer somewhere (in addition to various boards and miniboards). Very easy to interface, very low threshold for doing something useful with them.
SID emulation on propeller: https://www.youtube.com/watch?v=EJcbxrdErkY


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 43 guests


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: