Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raydac/j2z80
Maven plugin to translate JVM bytecodes into Z80 commands
https://github.com/raydac/j2z80
compiler java maven-plugin z80 z80asm
Last synced: 2 months ago
JSON representation
Maven plugin to translate JVM bytecodes into Z80 commands
- Host: GitHub
- URL: https://github.com/raydac/j2z80
- Owner: raydac
- Created: 2015-03-13T13:58:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T06:27:25.000Z (over 2 years ago)
- Last Synced: 2023-02-28T17:17:41.653Z (almost 2 years ago)
- Topics: compiler, java, maven-plugin, z80, z80asm
- Language: Java
- Homepage:
- Size: 988 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Description
============
It is a maven plugin developed for academical purposes, the plugin allows to translate compiled JVM byte codes into Z80 instructions. It works as a pattern compiler with minimal optimization. **Warning! It is not a JVM interpreter because it generates low-level native code for Z80. It doesn't contain any GC!**![Screenshot](https://raw.githubusercontent.com/raydac/j2z80/master/docs/java_on_spec.png)
```Java
package com.igormaznitsa.test.helloworld;import static com.igormaznitsa.test.helloworld.ZXScreen.*;
public class main {
public static final void mainz(){
setTextColor(COLOR_RED, COLOR_WHITE);
clearWholeScreen();
System.out.println("Hello world!");
setTextColor(COLOR_YELLOW, COLOR_BLUE);
clearServiceScreen();
System.err.println("Written in Java!!!");
setBorderColor(COLOR_RED);
}
}
```As the input it uses JAR files It takes a JAR file and translate all found classes into solid Z80 binary block which can be started on real device or under emulator.
It is not fully compatible with Java and has a lot of restrictions but it allows to use Java tool-chain and IDEs for Z80 developments.
License
========
The Sources published under [GNU GPL 3](http://www.gnu.org/copyleft/gpl.html)Donation
=========
If you like the software you can make some donation to the author
[![https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)