mirror of
https://github.com/a2geek/basic-system-cmd.git
synced 2024-12-27 11:29:56 +00:00
Moved into subfolder, added AppleScript program to automate testing scenario that exposes bugs.
This commit is contained in:
parent
d8bee4ec49
commit
bd38153545
13
Makefile
13
Makefile
@ -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
18
online/Makefile
Executable 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
|
@ -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
BIN
online/test.scpt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user