1
0
mirror of https://github.com/g012/l65.git synced 2024-06-02 12:41:28 +00:00
l65/pce.l65

6 lines
158 B
Plaintext

-- set cpu to HuC6280
cpu = require "6502"
setmetatable(_ENV, cpu)
cpu.zeropage = function(x) if x >= 0x2000 and x <= 0x20ff then return x&0xff end end