VOGONS


The Soundblaster DSP project

Topic actions

Reply 660 of 1053, by S95Sedan

User metadata
Rank Member
Rank
Member
maxtherabbit wrote on 2023-10-05, 16:56:

Has anyone done a sb16dumper run on a 4.11 card yet?

4.11 just needs to be checked if it works properly.
I have a card with it but it uses a non-standard connector db62 vs db15.

Reply 661 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 16:55:
Nice job on the coding. […]
Show full quote
Maelgrum wrote on 2023-10-05, 16:47:
So far, we have ALL 4.xx fw (4.04, 4.05, 4.11, 4.12, 4.13, 4.16). 4.16 and 4.12 was not previously known as dumped. Great job […]
Show full quote

So far, we have ALL 4.xx fw (4.04, 4.05, 4.11, 4.12, 4.13, 4.16).
4.16 and 4.12 was not previously known as dumped. Great job done !
Мy sincere gratitude to everyone involved in the project.
Special thanks to main testers: @S95Sedan and @mattw !

Nice job on the coding.

I changed my post a bit aswell and added d52 mappings i have so far, as only 4.05 was partially done.
Used https://github.com/schlae/sb-firmware/tree/master as reference.

I have automated tool for 4.xx fw parsing (to make D52 .ctl file for D52 disassembler). But it needs some fixing and polishing.

Reply 662 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
maxtherabbit wrote on 2023-10-05, 16:48:
Maelgrum wrote on 2023-10-05, 16:34:

sb16dump V0.17 support for v4.12

Still doesn't work on my CT2760

You can try:

Attachments

Reply 663 of 1053, by maxtherabbit

User metadata
Rank l33t
Rank
l33t
S95Sedan wrote on 2023-10-05, 17:00:
maxtherabbit wrote on 2023-10-05, 16:56:

Has anyone done a sb16dumper run on a 4.11 card yet?

4.11 just needs to be checked if it works properly.
I have a card with it but it uses a non-standard connector db62 vs db15.

Confirmed

Attachments

  • Filename
    SB16DUMP.zip
    File size
    4.38 KiB
    Downloads
    26 downloads
    File license
    Fair use/fair dealing exception

Reply 664 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 16:42:
Content: […]
Show full quote

Content:

v404-8k_49fc3869
- Original Creative 4.04 Firmware
-----
v405-8k_e51aff23:
- Original Creative 4.05 Firmware
-----
v411-8k_4d75e821
- Original Creative 4.11 Firmware
-----
v412-8k_f69d1672
- Original Creative 4.12 Firmware
-----
v413-6k_9e1b22c6
v413-8k_e22e9001
- Original Creative 4.13 Firmwares

v413-8k_4ca3dca8_patch3
- Fixed hanging note bug

v413-8k_16a46526_patch4
- Fixed hanging note bug
- Fixed PSW bug in ExtInt0/ExtInt1 interrupt handlers
-----
v416-6k_986e5cb9
v416-8k_b15514ef
- Original Creative 4.16 Firmwares

- Added D52 mappings;
( https://www.bipom.com/dis51.php )

BTW, why collection named dps_firmwares ? maybe you mean dsp_firmwares ?

Reply 666 of 1053, by maxtherabbit

User metadata
Rank l33t
Rank
l33t
Maelgrum wrote on 2023-10-05, 17:18:
maxtherabbit wrote on 2023-10-05, 16:48:
Maelgrum wrote on 2023-10-05, 16:34:

sb16dump V0.17 support for v4.12

Still doesn't work on my CT2760

You can try:

This one does not raise the NMI, but it still freezes after the loopback test passes without dumping any data

Reply 667 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
maxtherabbit wrote on 2023-10-05, 17:35:
Maelgrum wrote on 2023-10-05, 17:18:
maxtherabbit wrote on 2023-10-05, 16:48:

Still doesn't work on my CT2760

You can try:

This one does not raise the NMI, but it still freezes after the loopback test passes without dumping any data

Did you do power off/on before dump ?
And here another to try:

Attachments

Reply 668 of 1053, by maxtherabbit

User metadata
Rank l33t
Rank
l33t
Maelgrum wrote on 2023-10-05, 17:45:
maxtherabbit wrote on 2023-10-05, 17:35:
Maelgrum wrote on 2023-10-05, 17:18:

You can try:

This one does not raise the NMI, but it still freezes after the loopback test passes without dumping any data

Did you do power off/on before dump ?
And here another to try:

Yes every time. Will try latest

Reply 669 of 1053, by S95Sedan

User metadata
Rank Member
Rank
Member
Maelgrum wrote on 2023-10-05, 17:45:

Did you do power off/on before dump ?
And here another to try:

This one works on my ct3900 with 4.12.
Though i dont have aweutil running currently so possibly thats affecting it?

Reply 670 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
georgel wrote on 2023-10-05, 16:50:
Maelgrum wrote on 2023-10-05, 16:34:

sb16dump V0.17 support for v4.12

On the other hand have you checked how 4.16 is fixed against hanging notes bugs? Looks the most proper way to improve the firmware is to make fixes on 4.13.

Yes, 4.16 is obviously fixed hanging notes bug, i see it in code.
Nevertheless, same sloppy bug in interrupt handlers - they forget to push/pop psw

Reply 671 of 1053, by S95Sedan

User metadata
Rank Member
Rank
Member
Maelgrum wrote on 2023-10-05, 18:08:

Yes, 4.16 is obviously fixed hanging notes bug, i see it in code.
Nevertheless, same sloppy bug in interrupt handlers - they forget to push/pop psw

When comparing 4.16 looks alot like 4.13 with stuff removed in certain sections.
Theres also a db reference in 4.13 (X0a60) that isnt present in 4.16 (X0260) and calls something completely different.

Edit; Dumping works with aweutil on aswell on the ct3900 for 4.12.

Reply 672 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 18:16:
When comparing 4.16 looks alot like 4.13 with stuff removed in certain sections. Theres also a db reference in 4.13 (X0a60) that […]
Show full quote
Maelgrum wrote on 2023-10-05, 18:08:

Yes, 4.16 is obviously fixed hanging notes bug, i see it in code.
Nevertheless, same sloppy bug in interrupt handlers - they forget to push/pop psw

When comparing 4.16 looks alot like 4.13 with stuff removed in certain sections.
Theres also a db reference in 4.13 (X0a60) that isnt present in 4.16 (X0260) and calls something completely different.

Edit; Dumping works with aweutil on aswell on the ct3900 for 4.12.

what address of this point of interest in v4.13 ? It cannot be 0x0A60 - it is middle of samplerate convertion table

Reply 673 of 1053, by S95Sedan

User metadata
Rank Member
Rank
Member
Maelgrum wrote on 2023-10-05, 18:22:

what address of this point of interest in v4.13 ? It cannot be 0x0A60 - it is middle of samplerate convertion table

The part thats starts at 08b7 for 4.13, and 07e6 for 4.16.

Reply 674 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 18:31:
Maelgrum wrote on 2023-10-05, 18:22:

what address of this point of interest in v4.13 ? It cannot be 0x0A60 - it is middle of samplerate convertion table

The part thats starts at 08b7 for 4.13, and 07e6 for 4.16.

Group 4 commands ( 4X)

Reply 675 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 18:31:
Maelgrum wrote on 2023-10-05, 18:22:

what address of this point of interest in v4.13 ? It cannot be 0x0A60 - it is middle of samplerate convertion table

The part thats starts at 08b7 for 4.13, and 07e6 for 4.16.

Code looks the same. Cannot see a difference.

Reply 676 of 1053, by S95Sedan

User metadata
Rank Member
Rank
Member
Maelgrum wrote on 2023-10-05, 18:35:

Group 4 commands ( 4X)

See attached;
line 1225 (413)
line 1095 (416)

Yeah the code is the same but the routine doesnt jump to the table in 4.16. (hence the X0a60 vs X0260)
Dont know if this is intentional or another error on their part.

Attachments

  • Filename
    d52_files.zip
    File size
    16.11 KiB
    Downloads
    29 downloads
    File license
    Public domain

Reply 677 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 18:45:
See attached; line 1225 (413) line 1095 (416) […]
Show full quote
Maelgrum wrote on 2023-10-05, 18:35:

Group 4 commands ( 4X)

See attached;
line 1225 (413)
line 1095 (416)

This is not a code !
This is data, samplerate conversion table ))

Reply 678 of 1053, by maxtherabbit

User metadata
Rank l33t
Rank
l33t
Maelgrum wrote on 2023-10-05, 17:45:
maxtherabbit wrote on 2023-10-05, 17:35:
Maelgrum wrote on 2023-10-05, 17:18:

You can try:

This one does not raise the NMI, but it still freezes after the loopback test passes without dumping any data

Did you do power off/on before dump ?
And here another to try:

Same result, I'm just going to assume there is something about this particular card/computer that is problematic and move on. Seems 4.12 as already been verified by at least two people.

Reply 679 of 1053, by Maelgrum

User metadata
Rank Member
Rank
Member
S95Sedan wrote on 2023-10-05, 18:45:
See attached; line 1225 (413) line 1095 (416) […]
Show full quote
Maelgrum wrote on 2023-10-05, 18:35:

Group 4 commands ( 4X)

See attached;
line 1225 (413)
line 1095 (416)

Yeah the code is the same but the routine doesnt jump to the table in 4.16. (hence the X0a60 vs X0260)
Dont know if this is intentional or another error on their part.

From 4.13
[EDIT] this was from 4.16

Details
convert_samplerate:
mov dptr,#samplerate_table; 08b6 90 08 bb ..;
movc a,@a+dptr ; 08b9 93 .
ret ; 08ba 22 "
;
samplerate_table: db 15h,16h,16h,16h,16h,16h,16h,16h ; 08bb ........
db 16h,16h,16h,16h,17h,17h,17h,17h ; 08c3 ........
db 17h,17h,17h,17h,17h,17h,18h,18h ; 08cb ........
db 18h,18h,18h,18h,18h,18h,18h,18h ; 08d3 ........
db 19h,19h,19h,19h,19h,19h,19h,19h ; 08db ........
db 1ah,1ah,1ah,1ah,1ah,1ah,1ah,1ah ; 08e3 ........
db 1bh,1bh,1bh,1bh,1bh,1bh,1bh,1bh ; 08eb ........
db 1ch,1ch,1ch,1ch,1ch,1ch,1ch,1dh ; 08f3 ........
db 1dh,1dh,1dh,1dh,1dh,1eh,1eh,1eh ; 08fb ........
db 1eh,1eh,1eh,1fh,1fh,1fh,1fh,1fh ; 0903 ........
db 1fh,20h,20h,20h,20h,20h,21h,21h ; 090b . !!
db 21h,21h,21h,22h,22h,22h,22h,22h ; 0913 !!!"""""
db 23h,23h,23h,23h,24h,24h,24h,24h ; 091b ####$$$$
db 25h,25h,25h,25h,26h,26h,26h,26h ; 0923 %%%%&&&&
db 27h,27h,27h,27h,28h,28h,28h,29h ; 092b ''''((()
db 29h,29h,29h,2ah,2ah,2ah,2bh,2bh ; 0933 )))***++
db 2bh,2ch,2ch,2dh,2dh,2dh,2eh,2eh ; 093b +,,---..
db 2eh,2fh,2fh,30h,30h,30h,31h,31h ; 0943 .//00011
db 32h,32h,33h,33h,34h,34h,35h,35h ; 094b 22334455
db 36h,36h,37h,37h,38h,38h,39h,39h ; 0953 66778899
db 3ah,3bh,3bh,3ch,3dh,3dh,3eh,3fh ; 095b :;;<==>?
db 3fh,40h,41h,42h,42h,43h,44h,45h ; 0963 ?@ABBCDE
db 46h,47h,48h,49h,49h,4ah,4bh,4dh ; 096b FGHIIJKM
db 4eh,4fh,50h,51h,52h,53h,55h,56h ; 0973 NOPQRSUV
db 57h,59h,5ah,5ch,5dh,5fh,60h,62h ; 097b WYZ\]_`b
db 64h,66h,68h,6ah,6ch,6eh,70h,72h ; 0983 dfhjlnpr
db 75h,77h,7ah,7ch,7fh,82h,85h,89h ; 098b uwz|....
db 8ch,90h,93h,97h,9ch,0a0h,0a5h,0aah ; 0993 ..... %*
db 0afh,0b5h,0bbh,0c1h,0c8h,0d0h,0d8h,0e0h ; 099b /5;AHPX`
db 0eah,0f4h,0ffh,0ffh ; 09a3 jt..
Last edited by Maelgrum on 2023-10-05, 19:41. Edited 2 times in total.