mirror of
https://github.com/mach-kernel/mrbuffer.git
synced 2024-11-24 02:34:00 +00:00
add basic hello world speaker click + assemble script
This commit is contained in:
parent
c62735b819
commit
064f1b883a
18
README.md
18
README.md
@ -1,2 +1,20 @@
|
|||||||
# pon-gs
|
# pon-gs
|
||||||
Apple IIgs simple pong game, with animation and sound. Written in 100% 658c16 assembly.
|
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
3
assemble.sh
Executable 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
10
src/main.S
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
SPEAKER EQU $E0C030
|
||||||
|
|
||||||
|
PONGENTRY EQU $2000
|
||||||
|
ORG PONGENTRY
|
||||||
|
beep LDA SPEAKER
|
||||||
|
RTL
|
||||||
|
END
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user