local speedxAddr=0x202FA68
local speedx
local speedaddr=0x202FCC0
local speed
local FRAMESrules=0x202EEED
local framesR
local charge=0x202EE88
local chargeup
while true do
speedx=memory.readword(speedxAddr)
gui.text(0,0,"speedx : " .. speedx)
emu.frameadvance()
speed=memory.readword(speedaddr)
gui.text(0,7,"speed : " .. speed)
framesR=memory.readword(FRAMESrules)
gui.text(0,14,"framesR : " .. framesR)
chargeup=memory.readword(charge)
gui.text(0,21,"chargeup : " .. chargeup)
end