robzed / luaz80 Goto Github PK
View Code? Open in Web Editor NEWA Lua Z80 dynamic (binary) translator (similar to a JIT compiler) which translates Z80 to Lua and runs the result.
License: GNU General Public License v2.0
A Lua Z80 dynamic (binary) translator (similar to a JIT compiler) which translates Z80 to Lua and runs the result.
License: GNU General Public License v2.0
On an OS X system with nothing special installed (just lua 5.1.4), and trying to run any of the examples mentioned on the main page, I get the following error:
# lua lua_z80_test.lua
Lua 5.1
lua: ./lua_z80.lua:1278: variable 'bit32' is not declared
stack traceback:
[C]: in function 'error'
./third_party/strict.lua:37: in function <./third_party/strict.lua:35>
./lua_z80.lua:1278: in main chunk
[C]: in function 'require'
lua_z80_test.lua:35: in main chunk
[C]: ?`
(edited for formatting)
Hey,
I think commit 1b94fc1 is wrong as the next_pc parameter is not used.
ZXSPectrum fails executing.
lua52: lua_z80.lua:306: bad argument #6 to 'format' (number expected, got ni
stack traceback:
[C]: in function 'format'
lua_z80.lua:306: in function 'write_2bytes_to_address_command_string'
lua_z80.lua:414: in function 'instruction'
lua_z80.lua:932: in function 'decode_instruction'
lua_z80.lua:967: in function 'z80_compile'
lua_z80.lua:1217: in function 'run_z80'
.\z80_ss_debug.lua:464: in function 'run_z80'
test_fake_ZXSpectrum.lua:54: in function 'run_Spectrum'
test_fake_ZXSpectrum.lua:67: in main chunk
[C]: in ?
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.