Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Color COmputer Arkanoid Cheat
-- Lua script for MAME
-- Driver: coco3, game: Arkanoid
-- Start: ./mame coco3 -cart Arkanoid.ccc -autoboot_script Arkanoid\ Cheat.lua
emu.pause()
cpu = manager.machine.devices[":maincpu"]
mem = cpu.spaces["program"]
function draw_hud()
if mem:read_u8(0x134) > 180 then
mem:write_u8(0x134, 140)
end
end
emu.register_frame(draw_hud, "frame")
emu.unpause()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment