reset - winnichenko/BLOB-87 GitHub Wiki
reset
reset
Resets and immediately restarts the cartridge.
To simply return to the console, please use exit.
This API was added in version 0.60.
Example
-- title: reset API Command Demo (Lua)
-- author: StinkerB06
t=0
function TIC()
if btn(4) then reset() end
cls()
print("Press Z to reset counter.",1,1)
print(t,1,8)
t=t+1
end