MartyShepard / DOSBox-Optionals

Alternate DOSBox Fork for Windows with Special Features
33 stars 1 forks source link

Resync 3dfx code with MAME? #5

Open stilett0 opened 4 years ago

stilett0 commented 4 years ago

Have you looked into merging code from modern MAME back into kekko's patch? My understanding is when MAME developer tedgreen came along to work on Midway Seattle, etc. hardware he made a number of changes and updates, adding support for newer chips, etc. I'm not sure what would change but you never know.

https://github.com/mamedev/mame/blob/master/src/devices/video/vooddefs.ipp https://github.com/mamedev/mame/blob/master/src/devices/video/voodoo.cpp https://github.com/mamedev/mame/blob/master/src/devices/video/voodoo.h https://github.com/mamedev/mame/blob/master/src/devices/video/voodoo_pci.cpp https://github.com/mamedev/mame/blob/master/src/devices/video/voodoo_pci.h https://github.com/mamedev/mame/blob/master/src/devices/video/voodoo_rast.ipp

License on this specific code remains the same, 3-clause BSD, compatible with any GPLv2 project.

The same goes the other way - if there was some fix to kekko's emulation that's accurate and could be licensed BSD and upstreamed, MAMEdev would be interested. Tho different developers than Aaron Giles would likely be involved these days.

MartyShepard commented 3 years ago

Hello,

Yes, I had looked at the changes in the mame code several times. Kekko's code is very old and I thought back and forth about trying to update the code. That just can't be done overnight. I don't have enough time for that. - 12 hours job - In addition, the OpenGL has to be updated and would also have to be ported to Vulkan. I had modified the code that the backend runs on SDL2 and the 3DFX / OpenGL screen is supported up to 8k. Keyword 3DFX HD under native Win95 / 98 / DOS. However, there is still a lot that needs to be changed. This is the framebuffer. There are also 3D screen errors with 2D backgrounds and 3D figures. (Gorky 17, Druuna)

Everyone is welcome here.