add basic hello world speaker click + assemble script

This commit is contained in:
David Stancu 2018-01-14 17:53:06 -05:00
parent c62735b819
commit 064f1b883a
3 changed files with 31 additions and 0 deletions

View File

@ -1,2 +1,20 @@
# pon-gs
Apple IIgs simple pong game, with animation and sound. Written in 100% 658c16 assembly.
## Getting Started
### Requirements
- Some *nix flavor. Please don't open issues if you are using Windows.
- GNU build tools (`autoconf`, `gcc`, etc.)
- Basic understanding of C/C++ build issues, since you'll likely face some.
- An Apple IIGS emulator of your flavor + the appropriate ROM (which you will have to source for yourself)
### Building
There are two scripts here which will get all the tools needed to assemble the game.
```bash
./build_env.sh # to grab utils
./assemble.sh # to assemble the game
```

3
assemble.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
ls src/*.S | xargs ./bin/cadius INDENTFILE
ls src/*.S | xargs ./bin/merlin -V ./src/macro

10
src/main.S Normal file
View File

@ -0,0 +1,10 @@
SPEAKER EQU $E0C030
PONGENTRY EQU $2000
ORG PONGENTRY
beep LDA SPEAKER
RTL
END