Originally Posted by ssj
Speaking of autoboot, is there any way to add a delay between commands?

It can't be done via autoboot_command, but with a Lua script it's pretty easy, actually smile

Write a .lua file with something like this:
Originally Posted by "script.lua"
emu.keypost("10 print \"hello\"\n");
emu.wait(5);
emu.keypost("20 goto 10\n");
emu.wait(5);
emu.keypost("run\n");
then: mess64 c64 -autoboot_script script.lua -autoboot_delay 3

An option to pass a LUA script directly instead of a script file would be nice. Something like

mess64 c64 -autoboot_script "emu.keypost(\"10 print \\\"hello\\\"\\n\");emu.wait(5)" -autoboot_delay 3

Adding that to MESS is trivial. In fact, correctly escaping those quotes took more time than hacking it in ^^

Last edited by Darkstar; 09/24/14 08:36 PM.