Okay, getting a little greedy so I tried combining both the Live View auto-off disable and the clean overlays script.
When I combine the script in this order, I get clean overlays, but the auto-off disable doesn't work:
' Prevent camera shutdown
private sub RegisterProcs()
System.Create()
ExecuteEventProcedure("UI.CreatePublic")
end sub
private sub Initialize()
RegisterProcs()
LockMainPower()
end sub
' EOS M6, 100b
DIM palette_buffer_ptr = 0x11d4c
DIM active_palette_buffer = 0x11d44
DIM palette_to_zero = 0
private sub RegisterProcs()
System.Create()
'UI.CreatePublic()
end sub
private sub Initialize()
RegisterProcs()
adr = *palette_buffer_ptr
adr = adr + (palette_to_zero * 4)
if *adr <> 0 then
adr = *adr + 4
memset(adr, 0, 256 * 4)
end if
end sub
When I combine the script in this order, neither work:
' EOS M6, 100b
DIM palette_buffer_ptr = 0x11d4c
DIM active_palette_buffer = 0x11d44
DIM palette_to_zero = 0
private sub RegisterProcs()
System.Create()
'UI.CreatePublic()
end sub
private sub Initialize()
RegisterProcs()
adr = *palette_buffer_ptr
adr = adr + (palette_to_zero * 4)
if *adr <> 0 then
adr = *adr + 4
memset(adr, 0, 256 * 4)
end if
end sub
' Prevent camera shutdown
private sub RegisterProcs()
System.Create()
ExecuteEventProcedure("UI.CreatePublic")
end sub
private sub Initialize()
RegisterProcs()
LockMainPower()
end sub
What am I missing here? Happy to test multiple variants!