Reply 300 of 2285, by sharangad
- Rank
- Oldbie
leileilol wrote on 2023-11-08, 03:48:i'd assume dos support would mean a special pass-through dosbox build or so to communicate with the wrapper as those old 3dfx voodoo dosbox patches did when not using the mame software renderer
Tackling edge AA sounds more like something a full LLE software implementation would do
I'm implementing RRedlline FIFO commands. One is them is an edge antialiasing command. Other AA commands like V_FIFO_AALINE and V_FIFO_AAEDGE are passed onto OpenGL and render quite nicely with RReady. The problem with Quake engine games is they have their own special edge anti-aliasing command. It's part of every RRedline 2.0 redline and verite DLL but is completely undocumented.
Well apart from 4 bytes the rest of the command sequence for edge AA is fully decoded. The missing 32 bits describe one or two blending factors and the other six DWORDS a pair of coordinates, followed by a terminator. But how Verite hardware actually implemented this is what I'd like to know. Code to do something similar is already in RReady (UsingMSAA=3, this mode doesn't really apply MSAA). But underwater behaviour and how the z buffer is used is unknown. The elements to fully implement this are already in place. It' just the specifics which are unknown right now. I'm hoping it's just a matter of messing around until insight comes. The command names implies there's an Z element there somewhere.
In other news I think I know what caused the UseMSAA=3 crash. If anyone would like a build to try out, I'll upload one. If not I'll get back to DOS.
Does anyone know how to enable an instruction dump (of running code) in DOSBox Staging? I could bodge it in, but it may already have support for it built in a switch somewhere. I'll start looking in a bit. Playing around with return values from Int 0x10, function 0x8D at the mode which appears to be a Renditon call.
[EDIT] heavy_debug, that's what the option was called.
Also any recommendations for DOS disassembler's? IDA Pro (the ScummVM build) has rendering issues on my system. Some characters appear truncated, it's hard to read.
Raven-05, what did you use to dump the string from vquake?
Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda