VOGONS


Reply 40 of 454, by Scali

User metadata
Rank l33t
Rank
l33t

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.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 41 of 454, by pdw

User metadata
Rank Newbie
Rank
Newbie

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.)

Reply 42 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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 ?

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

Reply 43 of 454, by Scali

User metadata
Rank l33t
Rank
l33t
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/2015/10/t … sound-chip.html

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 44 of 454, by pdw

User metadata
Rank Newbie
Rank
Newbie

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 😀

Reply 45 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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.

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

Reply 46 of 454, by matze79

User metadata
Rank l33t
Rank
l33t
photo_2018-07-16_14-37-42.jpg
Filename
photo_2018-07-16_14-37-42.jpg
File size
77.61 KiB
Views
1651 views
File license
Fair use/fair dealing exception

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
Filename
test.jpg
File size
76.4 KiB
Views
1651 views
File license
Fair use/fair dealing exception

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

Reply 47 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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.

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

Reply 48 of 454, by Scali

User metadata
Rank l33t
Rank
l33t
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/2015/08/p … sound-card.html

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 49 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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.

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

Reply 50 of 454, by Scali

User metadata
Rank l33t
Rank
l33t
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.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 51 of 454, by Scali

User metadata
Rank l33t
Rank
l33t
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.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 52 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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.

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

Reply 53 of 454, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

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

Reply 55 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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

  • Filename
    tandy_sound-1.txt
    File size
    6.76 KiB
    Downloads
    99 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    tiny13.7z
    File size
    434 Bytes
    Downloads
    109 downloads
    File comment
    MCU Firmware
    File license
    Fair use/fair dealing exception
  • Filename
    Tandy SN76489 Prototype bracklet(1).7z
    File size
    52.76 KiB
    Downloads
    80 downloads
    File comment
    3D Printed bracklet
    File license
    Fair use/fair dealing exception
Last edited by matze79 on 2018-08-23, 13:46. Edited 1 time in total.

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

Reply 56 of 454, by matze79

User metadata
Rank l33t
Rank
l33t
DSC_0134.JPG
Filename
DSC_0134.JPG
File size
1.53 MiB
Views
1441 views
File license
Fair use/fair dealing exception
DSC_0136.JPG
Filename
DSC_0136.JPG
File size
1.54 MiB
Views
1441 views
File license
Fair use/fair dealing exception

Some Impressions 😀 Slot bracklets are currently printing.
Now with ENIG.

Thanks Dreamblaster for all help! 😀

bracklet.jpg
Filename
bracklet.jpg
File size
50.57 KiB
Views
1440 views
File license
Fair use/fair dealing exception
Last edited by matze79 on 2018-08-23, 13:32. Edited 1 time in total.

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

Reply 57 of 454, by root42

User metadata
Rank l33t
Rank
l33t

Awesome! My SN76489AN are supposedly on their way. Will soon also be able to assemble the prototypes you sent me!

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 58 of 454, by matze79

User metadata
Rank l33t
Rank
l33t

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

Maybe i will make a limited amount of kits.

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