Tandy 3 Voice Sound - SN76489 ISA Soundcard Project

Discussion about old sound cards, MIDI devices and sound related accessories.

Re: Lotech Tandy Soundboard - (mostly finished)

Postby Scali » 2018-7-15 @ 15:18

Very nice work!
As for redirecting C0h to 2C0h... we had a discussion on that earlier with the Lo-Tech card, and the solution we came up with was to patch the 'out c0h' instructions in code to 'int c0h'.
Then a very simple TSR would hook into int c0h, and send to the desired port. The big advantage is that it doesn't require a 386+.
I believe there was a collection of game patches for this somewhere, by Carlostex.
Scali
l33t
 
Posts: 3559
Joined: 2014-12-13 @ 14:24

Re: Lotech Tandy Soundboard - (mostly finished)

Postby pdw » 2018-7-15 @ 19:43

Well, here's a quick TSR: http://github.com/pdewacht/lotech
Obviously untested. Should work with QEMM.
(EMM386 doesn't allow intercepting port 0C0h. With EMM386 it still listens on a few other ports for later Tandy's and IBM PS/1, but that's of very limited usefulness.)
pdw
Newbie
 
Posts: 33
Joined: 2016-12-26 @ 18:45

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-16 @ 11:00

Wow thats really fast, Thanks ::)

its freezing after loading with a blinking "_".

i will do my best to quickly supply you and dreamblaster with a prototyp card :)

The static const int qemm_ports[] defines the ports intercepted right ?
i could try to remove some and recompile the tsr.

outp sends to 0x205 ? (Silence Code)
what is 0x205 ? a realport or is it a handler ?
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby Scali » 2018-7-16 @ 11:23

matze79 wrote:outp sends to 0x205 ? (Silence Code)
what is 0x205 ? a realport or is it a handler ?


Port 205h is what the IBM PS/1 audio adapter card (also based on SN76489): http://nerdlypleasures.blogspot.com/201 ... -chip.html
Scali
l33t
 
Posts: 3559
Joined: 2014-12-13 @ 14:24

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby pdw » 2018-7-16 @ 11:28

I see the bug, 0x2C0 should be removed from the qemm_ports list. I'll make a new build tonight.

The 0x205 thing is a remnant of the TNDLPT code. As Scali said, 0x205 is the port that was used by the IBM PS/1 sound card. It gets trapped and emulated just like port 0xC0. Doing the silencing that way was easier than making it possible to call the TNDLPT output routine from C :)
pdw
Newbie
 
Posts: 33
Joined: 2016-12-26 @ 18:45

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-16 @ 11:36

I'm installing currently open watcom 1.9, takes some time on a 486DX2 50Mhz :)

i can change it quickly and retest.

i also saw it, but was not sure about.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-16 @ 12:24

photo_2018-07-16_14-37-42.jpg


TSR works, i patched the line.

vgmplay test1.vgm 0c0 works fine with card listen to 2c0 :)

this tsr could be useful for tandy owners too (386 machines)

test.jpg
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-17 @ 15:10

i tested the tsr on at least 3 machines and it works fine.

anyone got prince of persia running with the lotech tandy card ? commandline parameters are not accepted.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby Scali » 2018-7-17 @ 16:29

matze79 wrote:anyone got prince of persia running with the lotech tandy card ? commandline parameters are not accepted.


Do you have an AdLib or compatible card installed in the machine?
I recall there was an issue with the autodetection in Prince of Persia, where it would always use an AdLib if present, regardless of commandline parameters. There is a patch for that issue somewhere. The issue is also mentioned here: http://nerdlypleasures.blogspot.com/201 ... -card.html
Scali
l33t
 
Posts: 3559
Joined: 2014-12-13 @ 14:24

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-18 @ 08:50

only pcspeaker and sn76489 (486 system).

ok i will try that, but i tried about a year ago and it did not work for me.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby Scali » 2018-7-18 @ 12:39

matze79 wrote:only pcspeaker and sn76489 (486 system).

ok i will try that, but i tried about a year ago and it did not work for me.


I only tested with my GameBlaster clone, and had similar issues.
I have the Tandy clone in the same system, so I will give it a try tonight.
Scali
l33t
 
Posts: 3559
Joined: 2014-12-13 @ 14:24

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby Scali » 2018-7-18 @ 15:43

Scali wrote:I only tested with my GameBlaster clone, and had similar issues.
I have the Tandy clone in the same system, so I will give it a try tonight.


Yea, just tested it... the regular version 1.0 doesn't work... gives PC speaker, even when you specify 'tandy' on the commandline.
The patched version I made works fine with the Tandy clone card.
Scali
l33t
 
Posts: 3559
Joined: 2014-12-13 @ 14:24

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-18 @ 16:29

i patched prince 1.0 and still have only pcspeaker sound with port interception tsr (2c0h), no sound with card listen to 0c0h, maybe there a differences in 1.0 versions ?

did this - at Offset 13875h changed 75h to EBh,

"prince tandy" gives me no sound at all.., running with port interception tsr it starts with pcspeaker sound.

stunts, eye of beholder, civilisation, maniac manison and so on works.

dune 2 does not work, simant does not work, no sound, alleycat with bjt patch, also does not give me tandy sound.
could this be a issue because i run on at machine ?

Can you try one of these games ?

Dungeon Master also is not working, because of auto detection, still have no clue how to patch this :)
already did some disasembling but i have no clue howto find the the coresponding part in the binary file to set auto detection to all true.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby Great Hierophant » 2018-7-19 @ 16:03

Does your program intercept a memory read to the BIOS at FC00:0000? Most games use the Tandy identifier byte there (21h) to determine whether to use Tandy sound, and to a lesser extent, Tandy graphics.
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2374
Joined: 2003-4-27 @ 08:20

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby LABS » 2018-7-20 @ 22:06

Neat work!
User avatar
LABS
Newbie
 
Posts: 38
Joined: 2018-6-07 @ 16:49
Location: Latvia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-7-25 @ 10:47

if some one wants a prototyp pcb just pm me, i take only production cost ~4€ and shipping.

i can post a BOM and Hex file for the Attiny13, if you have no ISP Programmer you just can hook it up to a raspi or your computers lpt port to program it.

EDIT: BOM corrected. C9 = 220uf, 47nf should be 47uf.

ERRATA of Prototype Card:
R11 left side must connected to variable resistor.
Connect it directly to the Pin thereunder.
Attachments
tandy_sound-1.txt
(6.76 KiB) Downloaded 14 times
tiny13.7z
MCU Firmware
(434 Bytes) Downloaded 5 times
Tandy SN76489 Prototype bracklet(1).7z
3D Printed bracklet
(52.76 KiB) Downloaded 6 times
Last edited by matze79 on 2018-8-23 @ 13:46, edited 1 time in total.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby matze79 » 2018-8-23 @ 13:26

DSC_0134.JPG

DSC_0136.JPG


Some Impressions :) Slot bracklets are currently printing.
Now with ENIG.

Thanks Dreamblaster for all help! :)

bracklet.jpg
Last edited by matze79 on 2018-8-23 @ 13:32, edited 1 time in total.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy - SN76489 Soundcard Project - (mostly finished)

Postby root42 » 2018-8-23 @ 13:31

Awesome! My SN76489AN are supposedly on their way. Will soon also be able to assemble the prototypes you sent me!
Soldering, retro game reviews and more on YouTube and Bonus videos
Me playing games on my 286 and on my Sega MD2 on Twitch
80286@12 MHz, 2 MiB RAM, Tseng ET4000 1 MiB, schlae AdLib, PC MIDI Card + SC55MkII, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 520
Joined: 2018-1-27 @ 13:23

Re: Tandy 3 Voice Sound - SN76489 ISA Soundcard Project

Postby matze79 » 2018-8-25 @ 17:27

Is Anyone are intressed into a building Kit or a fully assembled Card ?

Maybe i will make a limited amount of kits.
matze79
Oldbie
 
Posts: 1129
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: Tandy 3 Voice Sound - SN76489 ISA Soundcard Project

Postby mrau » 2018-8-25 @ 18:02

any way this could be done in pci / pcie form?
mrau
Oldbie
 
Posts: 1005
Joined: 2015-11-28 @ 12:43

PreviousNext

Return to Sound

Who is online

Users browsing this forum: Tronix and 5 guests