Einzelnen Beitrag anzeigen
  #6354  
Alt 05.08.2024, 19:29
fhub fhub ist gerade online
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.879
Abgegebene Danke: 578
Erhielt 7.001 Danke für 1.581 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2879
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
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.
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten