VOGONS


TNDLPT : Tandy Sound on parallel port

Topic actions

Reply 80 of 173, by PoV

User metadata
Rank Newbie
Rank
Newbie

Awesome! I was just about to order a bunch of your parallel sound-cards for a project (writing sound code for a dos game, and I need to travel light). I'm really looking forward to this one. 😊

Mike Kasprzak | twitter

Reply 82 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
lvader wrote:

Any news on a release date for this? I’m holding off a couple of other purchases while I wait.

Hey, don't hold your breath !
Hardwarewise I have some prototypes ready, with the new 'muting at bootup' feature.
but still needs more TSR debugging and testing.
Feel free to PM me if you are interested in early access.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 83 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

whats the difference beetween the new and my old prototyp ? 😀 maybe i can add the "change" to the pcb.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 84 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
matze79 wrote:

whats the difference beetween the new and my old prototyp ? 😀 maybe i can add the "change" to the pcb.

The new PCB has an optocoupler for interrupting the power to the chip, until it is initialized by the TSR.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 85 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

so the new tsr will still work with my prototyp ? 😀

time to try it 😁

EDIT: TSR loads, silencing works. but then no sound anymore.
i used EMM386. Seems EMM386 is still not working ? 😀

Now trying QEMM.
EDIT: QEMM is still fine 😀
But still slow on LowSpec Computers.

-> 386SX 16/20/25

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 86 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

https://www.youtube.com/watch?v=66oqgOt0BSw

Tandy LPT Soundcard running with QEMM386 free Driver, still Experimental.

There still glitches, some delays.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 87 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

QEMM386 free TNDLPT Driver is in works, but its still experimental:

https://github.com/JKnipperts/TNDY

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 88 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

TNDLPT revision on its way, with huge thanks to Matze79 for the help with a muting solution !

preliminary device view : https://youtu.be/70jKmkNw2Wo
brief test (not final) : https://youtu.be/G-YbB-ANSp0

If you developed software for TNDLPT, please add this initialisation :
Pin CE must be 0 and Reset must be 1 for at least 100ms at init, to unlocking the mute state after startup.
This should be backwards compatible with older TNDLPT.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 90 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
Benedikt wrote on 2020-03-07, 20:25:

Can you summarize the overall programming technique for the TNDLPT?
Most importantly: How do I enable it and how do I write a byte?

For what development environment ?
Maybe should make a small 'programmer's guide' (it will take some time)

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 92 of 173, by pdw

User metadata
Rank Newbie
Rank
Newbie
Benedikt wrote on 2020-03-07, 23:13:

I am mostly interested in the sequence of instructions that is equivalent to "out 0c0h,al" on a Tandy, because that is presumably the biggest difference.

The equivalent is something like this:

  int lpt_stat = lpt_port + 1;
int lpt_ctrl = lpt_port + 2;
outp(lpt_port, cmd_byte);
outp(lpt_ctrl, 0x0C);
int wait = 24;
while (wait > 0) {
if ((inp(lpt_stat) & 0x40) == 0) {
break;
}
wait--;
}
while (wait > 0) {
if ((inp(lpt_stat) & 0x40) != 0) {
break;
}
wait--;
}
outp(lpt_ctrl, 0x09);

(It's long, because we need to explicitly wait until the sound chip is done processing the command. That's hidden and implicit on the Tandy.)

Reply 93 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

For unlock, Pin 17 and Pin 1 should be in this state:

unlocked.jpg
Filename
unlocked.jpg
File size
139.28 KiB
Views
1515 views
File license
GPL-2.0-or-later

I using ATTiny13 AVR for unlocking/muting and control LEDs.
Muting is done by using ByPass Pin of LM386.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 94 of 173, by rmay635703

User metadata
Rank Oldbie
Rank
Oldbie

As I try to follow through threads here
I really wish folks would never use 3rd party hosting, half the threads are incomprehensible because of this image in place of every photo

8278E690-FBDA-4F86-A5AB-4319DCBBE074.jpeg
Filename
8278E690-FBDA-4F86-A5AB-4319DCBBE074.jpeg
File size
42.21 KiB
Views
1512 views
File license
Fair use/fair dealing exception

Reply 95 of 173, by matze79

User metadata
Rank l33t
Rank
l33t

yeah that really sucks, it would be great if vogons disables external images and forces users this way to upload them here.

Easy unlock for new TNDLPT:

debug.exe
-o 37A E5

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 96 of 173, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie
pdw wrote on 2020-03-08, 14:31:
The equivalent is something like this: […]
Show full quote
Benedikt wrote on 2020-03-07, 23:13:

I am mostly interested in the sequence of instructions that is equivalent to "out 0c0h,al" on a Tandy, because that is presumably the biggest difference.

The equivalent is something like this:

  int lpt_stat = lpt_port + 1;
int lpt_ctrl = lpt_port + 2;
outp(lpt_port, cmd_byte);
outp(lpt_ctrl, 0x0C);
int wait = 24;
while (wait > 0) {
if ((inp(lpt_stat) & 0x40) == 0) {
break;
}
wait--;
}
while (wait > 0) {
if ((inp(lpt_stat) & 0x40) != 0) {
break;
}
wait--;
}
outp(lpt_ctrl, 0x09);

(It's long, because we need to explicitly wait until the sound chip is done processing the command. That's hidden and implicit on the Tandy.)

That looks simple enough. Thank you!

Reply 97 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

a small amount of TNDLPT solder kits will be available soon,
pm me if interested, to receive one of the first kits.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 98 of 173, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

Here's a photo of the most recent TNDLPT prototype.

DSCN6329.JPG
Filename
DSCN6329.JPG
File size
885 KiB
Views
1447 views
File license
Fair use/fair dealing exception

Now I am waiting for the black color pcb's to arrive

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !