Author Topic: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV  (Read 493 times)

llm

  • Otto's Student
  • **
  • Posts: 376
    • View Profile
Reverse engineered and C ported MT15.DRV (MT32-Sound-Driver) of Stunts 1.0 and 1.1

  • Assembler source can be rebuild to 100% binary exact version of the original
  • Assembler can be partially mixed with C ported functions or all functions can be replaced by C code

Reason for doing it:

Stunts 1.0 MT15.DRV seems to sound better than the 1.1 version (some strange slowdowns happen)
i just wanted to understand what the differences are and how to port that stuff to C

Result: the timing code is different - but only some lines of assembler nothing big

https://github.com/LowLevelMahn/UnifiedMT15

Daniel3D

  • Highway Horror
  • ****
  • Posts: 1439
  • so many ideas....
    • View Profile
    • Stunts resources.
Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
« Reply #1 on: December 08, 2021, 12:31:50 PM »
Is this difference isolated to the Mt driver?
Edison once said,
“I have not failed 10,000 times,
I’ve successfully found 10,000 ways that will not work.”
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

llm

  • Otto's Student
  • **
  • Posts: 376
    • View Profile
Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
« Reply #2 on: December 08, 2021, 01:09:57 PM »
search for "#if VERSION" in https://github.com/LowLevelMahn/UnifiedMT15/blob/main/drv.c

just a few places

Daniel3D

  • Highway Horror
  • ****
  • Posts: 1439
  • so many ideas....
    • View Profile
    • Stunts resources.
Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
« Reply #3 on: December 08, 2021, 01:56:25 PM »
I mean, are the drivers for the other soundcards also different in 1.0 and 1.1 or is the timing the same for those?
Edison once said,
“I have not failed 10,000 times,
I’ve successfully found 10,000 ways that will not work.”
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

llm

  • Otto's Student
  • **
  • Posts: 376
    • View Profile
Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
« Reply #4 on: December 08, 2021, 01:59:24 PM »
I mean, are the drivers for the other soundcards also different in 1.0 and 1.1 or is the timing the same for those?

i did not revesed other drivers deeply - but they seem very different