This is cool, waiting for release!
The assembler uses the same syntax as the Lua assembler.
zCPU_Assembler.jar: The assembler, run with "java -jar zCPU_Assembler.jar <input> <output>"
zcpu_emu.exe: The Emulator
NOTE: The emulator takes "out.txt" as its input. Make sure the compiled file has the correct name!
(ZC works on it as well.)
SVN: http://OpenSVN.csie.org/zcpusuite
---------
Stable version (Revision 46):
Still lots to do though. We're planning a complete rewrite of the assembler, but in C this time.
2 Parameters are added:
-debug : enables debugging.
-digscr : enables digital screen.
-conscr: enables console screen.
NEW:
- Segmenting
- Increased screen compatibility
- Included alloc macro
(For the example included, you have to enable the digital screen.)
[attachment=1407:zcpu_emu.zip]
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
This is cool, waiting for release!
Update! In first post...
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
RELEASE v0.1 Alpha DEVELOPMENT! YAY!
Look in top post.
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
Nice! Can't wait to see WireOS working on it, but I guess you unfortunately use another addressing for the screen etc (?)
I'm doing something similar, written from scratch in c++ using sdl for the 32x32 pixel screen:
Zemu Video
Nice dude!
Just wasn't worth writing a C++ assembler for IMHO.
If it would just do damn binary output lol.
In reply to last post:
Unfortunately, yeah
Everything is done through the address bus in normal CPU, but I don't want to emulate console screen, cause of the wirelib, which I will have to port then.
Oh, and... I would really love to help you on your project!![]()
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
Thanks
yeah you can have the source, once I've overworked it again. It's pretty messy cause I wrote it in 2 days. Up to now it just can handle inc, dec, add, mov, jne, je, cmp, jmp and call commands plus you are able to set vars and labels...
The emulator is currently being rewritten in Java. I would do it in C, but I reckon the string parsing to be easier in Java.
At the moment the assembler is like 25% complete.
^ 51mbps Fiber ftw[03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
Bookmarks