Re: Install_write_tap in lua
Golden Child
06/17/25 07:56 PM
ok, so if I run this:
./mame savant
sp = manager.machine.devices[":maincpu"].spaces["io"] sp:install_write_tap(0x0,0xffff,"hi5",function(offset,data) print(string.format("%x",offset),data)end)
It will run for awhile, then abruptly stop.
If I launch colecovision with
./mame coleco timeplt
and do
sp = manager.machine.devices[":maincpu"].spaces["io"] sp:install_write_tap(0x0,0xff,"hi5",function(offset,data) print(string.format("%x",offset),data)end)
(coleco has an address mask of 0xff)
it will run for awhile then just stop. I can start it up again with the same command line, but it will stop soon.
Shouldn't it keep running?