-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug build to help see what goes wrong
- Loading branch information
Showing
12 changed files
with
89 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
#program verify | ||
10 LAYER 0: CLS | ||
1 RUN AT 3 | ||
10 LAYER 0 | ||
20 BANK 20 ERASE | ||
30 PRINT AT 0,0; INVERSE 1;"HTTP test suite"; INVERSE 0 | ||
40 ON ERROR GO SUB 9000 | ||
45 t$="4k":u$="/10":%r=2: GO SUB 1060 | ||
50 t$="8k":u$="/8":%r=4: GO SUB 1060 | ||
60 t$="16k":u$="/9":%r=6: GO SUB 1060 | ||
70 t$="32k":u$="/7":%r=8: GO SUB 1060 | ||
80 ON ERROR | ||
90 PRINT FLASH 1;"Success" | ||
1000 PAUSE 0: STOP | ||
1060 PRINT AT %r,0;t$+" test..." | ||
1070 t$=t$+".bin" | ||
1080 .http -h data.remysharp.com -u u$ -f t$ -v 6 | ||
1090 PRINT AT %r,11;"done. Verifying: " | ||
1100 c$=t$+" -1 -mb 20" | ||
1110 .$ extract c$ | ||
1120 %i=% BANK 20 PEEK 0 | ||
1130 IF %i=$FF THEN PRINT AT %r,27; INVERSE 1;"OK"; INVERSE 0: ELSE PRINT AT %r,27; FLASH 1;"BAD": PAUSE 0: STOP | ||
1140 RETURN | ||
30 ON ERROR GO SUB 9000 | ||
40 CLS : PRINT INVERSE 1;"HTTP bit bank tests"; INVERSE 0:%e=1 | ||
145 t$="4k":%l=%$1000:u$="/10":%r=1: GO SUB 1000 | ||
150 t$="8k":%l=%$2000:u$="/8":%r=2: GO SUB 1000 | ||
160 t$="16k":%l=%$4000:u$="/9":%r=3: GO SUB 1000 | ||
500 PRINT INVERSE 1;"HTTP file tests"; INVERSE 0:%e=2 | ||
510 t$="4k":u$="/10":%r=5: GO SUB 1000 | ||
520 t$="8k":u$="/8":%r=6: GO SUB 1000 | ||
530 t$="16k":u$="/9":%r=7: GO SUB 1000 | ||
540 t$="32k":u$="/7":%r=8: GO SUB 1000 | ||
900 ON ERROR | ||
910 PRINT FLASH 1;"All OK" | ||
920 PAUSE 0: STOP | ||
1010 PRINT AT %r,0;t$+" test..." | ||
1020 t$=t$+".bin" | ||
1030 IF %e=1 THEN GO TO 7000: ; banking | ||
1040 REM file test logic | ||
1200 .http -h data.remysharp.com -u u$ -f t$ -v 6 | ||
5090 PRINT AT %r,11;"done. Verifying: " | ||
5100 c$=t$+" -1 -mb 20" | ||
5110 .$ extract c$ | ||
5120 %i=% BANK 20 PEEK 0 | ||
5130 GO TO 8000 | ||
5140 REM bank testing logic | ||
7000 .http -h data.remysharp.com -u u$ -b 20 -v 5 | ||
7090 PRINT AT %r,11;"done. Verifying: " | ||
7120 %i=% BANK 20 PEEK (l-1) | ||
|
||
8000 IF %i=$FF THEN PRINT AT %r,27; INVERSE 1;"OK"; INVERSE 0: ELSE PRINT AT %r,27; FLASH 1;"BAD": PAUSE 0: STOP | ||
8010 RETURN | ||
|
||
9000 ON ERROR | ||
9050 PRINT FLASH 1;"ERROR": ERROR : PAUSE 0: STOP |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
IFNDEF TESTING | ||
DEFINE VERSION "1.0-18b" | ||
DEFINE VERSION "1.0-19b" | ||
ELSE | ||
DEFINE VERSION "TEST" | ||
ENDIF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters