Skip to content

Commit

Permalink
Adjust timing and things to try and work with old MAME.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Dec 19, 2023
1 parent ade5736 commit 9fc21e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arch/bbcmicro/mame-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ coroutine.resume(coroutine.create(function()
kbd:post_coded("asm test.asm test.com{ENTER}") wait_kbd()
emu.wait(50)
kbd:post_coded("test{ENTER}") wait_kbd()
emu.wait(10)
emu.wait(11)

local cpu = manager.machine.devices[':maincpu']
if (tostring(cpu.state.A) == "12") and (tostring(cpu.state.X) == "23") and (tostring(cpu.state.Y) == "34") then
Expand Down
2 changes: 1 addition & 1 deletion src/arch/commodore/pet-mame-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ coroutine.resume(coroutine.create(function()
kbd:post_coded("run{ENTER}") wait_kbd()
emu.wait(15)

kbd:post_coded("BEDIT{ENTER}") wait_kbd()
kbd:post_coded("bedit{ENTER}") wait_kbd()
emu.wait(14)
kbd:post_coded("10 lda #18{ENTER}") wait_kbd()
kbd:post_coded("20 ldx #35{ENTER}") wait_kbd()
Expand Down

0 comments on commit 9fc21e3

Please sign in to comment.