Reply 20 of 72, by Ozzuneoj
More interesting developments...
After reading this page I decided to try out the method at the bottom to initialize the SAM9407\9707 in DOS with 94DINIT.EXE.
After this the Dream chip is visible at port 330 and can be configured with 94DINIT.EXE. This tool loads the firmware, sets the soundfont and switches the chip to UART mode to receive MIDI notes. The notation is 94DINIT F=firmware S=Sound_Bank_name P=port. The defaults for 94dinit are 'gm94' for firmware, '4mg1' for sound bank and '330' for port. The extension bin and 94b for firmware and sound bank have to be left out. However the ROM sound bank of the card already counts as a loaded sound font and prevents loading any to the RAM. So the line looks like this:
94DINIT.EXE F=94pc4m1 S=rom P=0x330
Since this card doesn't have a ROM, I just copied the default 1MB GM bank file to the same directory as 94DINIT. I also copied the 105KB 97PNP2.BIN firmware file on the hunch that the file was so huge because it was intended to be for the SAM9707 rather than for the little PNP EPROM chip.
So, in pure DOS I typed this...
94DINIT.EXE F=97PNP2 S=GMBK9708 P=0x330
... and got no errors!
Amazingly, when I run the DOS sound setup program for various games it actually detects a sound card after this and allows me to run sound tests, but I get no audio. It detects a Roland RAP-10 for digital and a Sound Canvas\MPU-401 at 330 for MIDI. Digital test gives no sound, but also no errors. MIDI test gives a few short blips of static noise... so it's doing something!
I tried using the default 94PC4m1 firmware that comes with 94DINIT, but it said it failed to initialize UART mode and doesn't seem to have any affect on sound setup programs.
It seems like maybe the mixer isn't being initialized or something, since sound is being sent to the chip without errors, but I'm getting nothing recognizable out of the sound card.
I don't expect to have usable digital sound but if I can get MIDI working I'll be happy.
It's doubtful but wonder if that "SAM9707 4 wires high speed serial link" at J8 just below the SIMM slot would have any audio output coming through it? Kind of like the Goldfinch connector on AWE32 Upgrade cards.
Now for some blitting from the back buffer.