VOGONS


TNDLPT : Tandy Sound on parallel port

Topic actions

Reply 80 of 121, 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 121, 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 83 of 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 84 of 121, 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 85 of 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 86 of 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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

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

There still glitches, some delays.

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 87 of 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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

https://github.com/JKnipperts/TNDY

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 88 of 121, 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 90 of 121, 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 92 of 121, 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 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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

unlocked.jpg
Filename
unlocked.jpg
File size
139.28 KiB
Views
136 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://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 94 of 121, by rmay635703

User metadata
Rank Member
Rank
Member

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
133 views
File license
Fair use/fair dealing exception

Reply 95 of 121, by matze79

User metadata
Rank Oldbie
Rank
Oldbie

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://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de - under constructing since ever

Co2 - for a endless Summer

Reply 96 of 121, by Benedikt

User metadata
Rank Member
Rank
Member
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 121, 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 98 of 121, 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
68 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, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !