Skip to content

Commit 46b73df

Browse files
committed
add hl.hxml
1 parent 81c5d23 commit 46b73df

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ A Visual Chip-8 emulator.
88
* Visual Display for current machine states: registers, memory, program counter(`pc`), and `I`.
99
* **Cross-platform**: Written in [Haxe](https://haxe.org), can be compile to js to run inside browser or to [hashlink](https://hashlink.haxe.org/) to run on local machine.
1010

11+
## Development
12+
13+
Install [Haxe](https://haxe.org), [Heaps](https://heaps.io/), and [Hashlink](https://hashlink.haxe.org/).
14+
15+
Build for browser:
16+
17+
```
18+
$ haxe js.hxml
19+
$ open index.html
20+
```
21+
22+
Build for hashlink:
23+
24+
```
25+
$ haxe hl.sdl.hxml
26+
$ hl ./bin/client.hl
27+
```
28+
1129
## About Chip-8
1230

1331
> CHIP-8 is an interpreted programming language, developed by Joseph Weisbecker. It was initially used on the COSMAC VIP and Telmac 1800 8-bit microcomputers in the mid-1970s. CHIP-8 programs are run on a CHIP-8 virtual machine. It was made to allow video games to be more easily programmed for these computers.

bin/client.hl

640 KB
Binary file not shown.

hl.hxml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
base.hxml
2+
-D windowSize=1280x720
3+
-hl bin/client.hl

hl.sdl.hxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hl.hxml
2+
-lib hlsdl

0 commit comments

Comments
 (0)