
Zitat von
hap
void analog_field::set_value(s32 value) for analog_field 0x18 should not be able to affect analog field 0x07 (the mode dial). If it does, maybe a bug in MAME? Or a mistake in your script?
Well, it's rather my wrong script.
I've tried it with these steps:
Code:
local io
ioport.ports[":IN.0"]:field(0x07):set_value(1) -- Options
emu.wait(0.5)
io = (ioport.ports[":IN.0"]:read())&0x18
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x18):set_value(io)
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x18):set_value(0)
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x18):set_value(1)
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x18):set_value(3)
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x18):clear_value()
emu.wait(0.5)
ioport.ports[":IN.0"]:field(0x07):clear_value() -- Ready
but the data dial didn't change at all, only the menu dial changes with each of these commands.