SYM-1 AY-3-8910/8912 Demonstrator

Topics related to older 6502-based hardware and systems including (but not limited to) the MOS Technology KIM-1, Synertek SYM-1, and Rockwell AIM-65.
Post Reply
Thrashbarg
Posts: 26
Joined: 24 Nov 2004
Location: Adelaide
Contact:

SYM-1 AY-3-8910/8912 Demonstrator

Post by Thrashbarg »

Hi

I found myself a SYM-1 and its manual in my TAFE college's soldering lab, having been attacked by students for soldering practice. It was missing the keypad, the CPU was dead and the ROM's had been incorrectly replaced with 2732's. I fixed these and it works fine now :)

Now to make it do something fun.

In Sym-Physis issue 7 there are details for attaching an AY-3-8912 and in the article it says 'Hardware Requirements: 6K RAM, BASIC, Keyboard terminal with at least 40 characters per line and at least 24 lines, AY-3-8912 wired per Table 1'

No Table 1 in sight :(

Could someone provide me with the schematic? I'd prefer to keep to some sort of set standard rather than making my own so other programs which use the chip (there's a game there) can work without modification.

Thanks.
Check out my 8080 project: http://kaput.homeunix.org
Nightmaretony
In Memoriam
Posts: 618
Joined: 27 Jun 2003
Location: Meadowbrook
Contact:

Post by Nightmaretony »

If it helps, look around for the Mockingboard schematic and code for the Apple 2. PLus a whole bunch of older arcadew games used that sound and port chip.
"My biggest dream in life? Building black plywood Habitrails"
coredump
Posts: 44
Joined: 09 Mar 2004
Location: Bristol, UK
Contact:

Post by coredump »

Well done for rescuing and fixing up that SYM-1! I have one here, too, that was used in education -- but wasn't used for soldering practice.

As for the AY-3-8912, there's an AY sound chip home page here:

http://bulba.at.kz/main_e.htm

maybe there's a circuit on that site?

John Honniball
Thrashbarg
Posts: 26
Joined: 24 Nov 2004
Location: Adelaide
Contact:

Post by Thrashbarg »

I've found this. http://www.simandl.cz/stranky/zxs/obrazky/ay_stereo.jpg . I used a similar schematic for my 8080 project (this one's for the Z80).

Looks like I'll have to reverse engineer the BASIC listings, now that I've got BASIC going, to figure out what pin goes where.

If I get it going I'll post the schematic for it.

EDIT: Bah I'm an idiot. There it is... I was looking for a schematic, not a table. It doesn't use any logic at all, it's all done in software. The AY had a very odd pinout for the equally odd CPU it was designed to run on.
Check out my 8080 project: http://kaput.homeunix.org
Thrashbarg
Posts: 26
Joined: 24 Nov 2004
Location: Adelaide
Contact:

Post by Thrashbarg »

Got something going. I noticed some of the connections in the table were unnecessary so I've modified the schematic a little, but it remains software compatible with the software presented in Sym-physis.

http://kaput.homeunix.org/~thrashbarg/ay-3-8912.png

I've made the schematic for the AY-3-8912 which is a 28 pin version of the 8910 and I believe it's more common. Please say if It's not. They can be found in Amstrad CPC's and Spectrum's, if you're willing to sacrifice one. If you've got an 8910 or an 8913 please check the datasheet for the correct pinouts.

One thing I've left out is the clock. I'll leave that up to you. You can use the 1 or 2MHz clock from the 6502. Some datasheets for the AY have a frequency table for a 1.78975MHz clock, or half of the NTSC frequency.

The use of port B on the VIA is unnecessary, but changing it would require the software to be changed. They can easily be attached to CB1 and CB2 of the VIA if you want to keep port B free.

Here's some code, based around the demo in Sym-physis:

Code: Select all

1 VIA=#####
10 GOSUB 1000
20 RE=0:DT=255
25 GOSUB 2000
30 RE=1:DT=0
35 GOSUB 2000
40 RE=7:DT=254
45 GOSUB 2000
50 RE=8:DT=15
55 GOSUB 2000
60 FOR A=1 TO 300:NEXT
70 RE=8:DT=0
75 GOSUB 2000
100 END
1000 POKE VIA+2,7:POKE VIA+3,255
1010 RETURN
2000 POKE VIA+1,RE
2010 POKE VIA,7
2020 POKE VIA,0
2030 POKE VIA+1,DT
2040 POKE VIA,6
2050 POKE VIA,0
2060 RETURN
Line 1 should be changed to set the base address of the VIA. 40960 for the application connector on the SYM-1.

Lines 1000-1010 initialize the VIA to write to the AY.
Lines 2000-2060 send data DT to register RE of the AY.

The code should make a short beep.

Of course if you wanted REAL sound you could always use a SID :)
Check out my 8080 project: http://kaput.homeunix.org
blackadder
Posts: 24
Joined: 20 Mar 2006

Post by blackadder »

Thrashbarg wrote:
Of course if you wanted REAL sound you could always use a SID :)
Anyone know of a source for those (besides ripping apart 64s)?

I helped build a time/temp clock for a bank in Philadelphia once, they wanted Westminster chimes so we used a SID chip with the ring modulator bell sound, worked out real nice.
Post Reply