Moved into subfolder, added AppleScript program to automate testing scenario that exposes bugs.

This commit is contained in:
Rob Greene 2015-09-24 17:50:03 -05:00
parent d8bee4ec49
commit bd38153545
5 changed files with 19 additions and 13 deletions

View File

@ -1,13 +0,0 @@
all: online.bin
online.bin: online.asm
cl65 -o online.bin -t none --start-addr 0x2000 -l online.asm
cp template.po online.po
java -jar /Applications/AppleCommander.app/Contents/Resources/Java/AppleCommander.jar -p online.po online BIN 0x2000 < online.bin
test:
/Applications/Virtual\ \]\[/Virtual\ \]\[.app/Contents/MacOS/Virtual\ \]\[ ./online.po
clean:
rm *.bin *.lst *.o online.po

18
online/Makefile Executable file
View File

@ -0,0 +1,18 @@
JAVA = java
AC = /Applications/AppleCommander.app/Contents/Resources/Java/AppleCommander.jar
TEMPLATE = ../shared/template.po
VIRTUAL2 = /Applications/Virtual\ \]\[/Virtual\ \]\[.app/Contents/MacOS/Virtual\ \]\[
all: online.bin
online.bin: online.asm
cl65 -o online.bin -t none --start-addr 0x2000 -l online.asm
cp $(TEMPLATE) online.po
$(JAVA) -jar $(AC) -p online.po online BIN 0x2000 < online.bin
test:
#$(VIRTUAL2) ./online.po
osascript test.scpt "$(PWD)/online.po"
clean:
rm *.bin *.lst *.o online.po

View File

@ -142,6 +142,7 @@ _CodeStartAddress:
_CodeBeginAddress:
entry:
cld ; For BASIC.SYSTEM's happiness
ldx #0
: lda inbuf,x
cmp #$e0 ; Force input to UPPERCASE for comparison

BIN
online/test.scpt Normal file

Binary file not shown.