diff --git a/Makefile b/Makefile index bb3c7a8..acff00c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ endif CC65 ?= $(TREES)/cc65/bin APPLE2E ?= $(TREES)/apple2e/apple2e -CPU = 6502 +CPU = 65C02 ROM = apple2a.rom LIB = apple2rom.lib @@ -16,9 +16,14 @@ CC65_FLAGS = -t none --cpu $(CPU) --register-vars $(ROM): a.out (dd count=5 bs=4096 if=/dev/zero 2> /dev/null; cat a.out) > $(ROM) +.PHONY: run run: $(ROM) $(APPLE2E) -mute -map main.map $(ROM) +.PHONY: debug +debug: $(ROM) + lldb -- $(APPLE2E) -mute -map main.map $(ROM) + a.out: main.o interrupt.o vectors.o exporter.o platform.o runtime.o apple2rom.cfg $(LIB) $(CC65)/ld65 -C apple2rom.cfg -m main.map --dbgfile main.dbg interrupt.o vectors.o exporter.o platform.o runtime.o main.o $(LIB) awk -f rom_usage.awk < main.map diff --git a/README.md b/README.md index 7889472..9fe3532 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ Runs between 5 and 30 times faster. Supported features: The classic way to enter programs with line numbers, 16-bit integer variables, `HOME`, `PRINT`, `IF/THEN`, `FOR/NEXT`, `GOTO`, low-res graphics (`GR`, `PLOT`, `COLOR=`, `TEXT`), -`DIM` (arrays), `POKE`, and integer and boolean arithmetic. +`DIM` (single-dimensional arrays), `POKE`, and integer and boolean arithmetic. Not supported: Floating point, strings, high-res graphics, `DATA/READ/RESUME`, `GOSUB/RETURN/POP`, -`REM`, keyboard input, exponentiation (`A^B`), and cassette I/O. +`REM`, multi-dimensional arrays, keyboard input, exponentiation (`A^B`), and cassette I/O. # Dependencies