> @RetroRepair: > Virtua Racing was pretty simple after all - there are Memory writes to 0xC0000F, one > bit per Lamp - we got that already. > Now comes the magic - WingWar (and other Model-1 games) just write there, but Virtua > Racing reads from there too. However we didn't handle those reads and returned 0xFF > so VR though all lamps are lit. > > That memory location for Daytona seems basically right, but I doubt is actually is. > > Sega Rally writes its Lamp state to 0x01c0000a, but that can't be mapped in M2Emus > LUA engine
No but I have the address you can call from Lua, I'm using it too For Sega Rally it's 0x20204C
I have some lua and autohotkey scripts I was going to post over on BYOAC later today that controls a pacdrive directly from every driving game on model2emu, except daytona. I don't have an ledwiz nor do I know how to call DDE from AHK so it is what it is! All the addresses for lamp output data (each one different) are in the Lua scripts.
There are other outputs available to Lua as well such as solenoid for gunblade and I believe piston data for railchase.
Just a shame that the best model2 game can't benefit from this. It's probably in there but if you have to write someplace first I wouldn't know where to look as they all seem to have different addresses for lamp outputs.