v0.54: Fixed end of line character on C64, VIC20

End of line on CBM is 13, not 10.
Converted sieve4.8b and unittest,8b to PETSCII and added them to test.d64
Unit tests run on C64 with only one failure (same failure as when running under Linux VM).
This commit is contained in:
Bobbi Webber-Manners 2018-04-30 22:39:34 -04:00 committed by GitHub
parent d51db8fa03
commit fc6583d82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -77,12 +77,20 @@ eightball.system: eightball_a2e.o eightballutils_a2e.o
ebvm.system: eightballvm_a2e.o eightballutils_a2e.o
~/Personal/Development/cc65/bin/ld65 -m 8ballvma2e.map -o ebvm.system -C apple2enh-system.cfg eightballvm_a2e.o eightballutils_a2e.o apple2enh-iobuf-0800.o ~/Personal/Development/cc65/lib/apple2enh.lib
test.d64: 8ball20.prg 8ballvm20.prg 8ball64.prg 8ballvm64.prg
unittest.8bp: unittest.8b
tr \\100-\\132 \\300-\\332 <unittest.8b | tr \\140-\\172 \\100-\\132 > unittest.8bp # ASCII -> PETSCII
sieve4.8bp: sieve4.8b
tr \\100-\\132 \\300-\\332 <sieve4.8b | tr \\140-\\172 \\100-\\132 > sieve4.8bp # ASCII -> PETSCII
test.d64: 8ball20.prg 8ballvm20.prg 8ball64.prg 8ballvm64.prg unittest.8bp sieve4.8bp
c1541 -format eb,00 d64 test.d64
c1541 -attach test.d64 -write 8ball20.prg
c1541 -attach test.d64 -write 8ballvm20.prg
c1541 -attach test.d64 -write 8ball64.prg
c1541 -attach test.d64 -write 8ballvm64.prg
c1541 -attach test.d64 -write unittest.8bp unit.8b,s
c1541 -attach test.d64 -write sieve4.8bp sieve4.8b,s
test.dsk: eightball.system ebvm.system sieve4.8b
java -jar ~/Desktop/Apple2/AppleCommander-1.3.5.jar -d test.dsk e8ball.system

BIN
eightball

Binary file not shown.

View File

@ -4037,7 +4037,11 @@ unsigned char parseline()
break;
case TOK_PRNL:
if (compile) {
#ifdef CBM
emitldi(13);
#else
emitldi(10);
#endif
emit(VM_PRCH);
} else {
printchar('\n');
@ -4727,17 +4731,17 @@ main()
#ifdef A2E
videomode(VIDEOMODE_80COL);
revers(1);
print(" *** EIGHTBALL V0.53 *** \n");
print(" *** EIGHTBALL V0.54 *** \n");
print(" *** (C)BOBBI, 2018 *** \n\n");
revers(0);
#elif defined(C64)
print(" *** EightBall v0.53 *** ");
print(" *** EightBall v0.54 *** ");
print(" *** (c)Bobbi, 2018 *** \n\n");
#elif defined(VIC20)
/* Looks great in 22 cols! */
print("*** EightBall v0.53****** (c)Bobbi, 2017 ***\n\n");
print("*** EightBall v0.54****** (c)Bobbi, 2017 ***\n\n");
#else
print(" *** EightBall v0.53 *** \n");
print(" *** EightBall v0.54 *** \n");
print(" *** (c)Bobbi, 2018 *** \n\n");
#endif

Binary file not shown.

BIN
test.d64

Binary file not shown.

BIN
test.dsk

Binary file not shown.