This repository has been archived by the owner on May 21, 2024. It is now read-only.
forked from boriel-basic/zxbasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request boriel-basic#579 from boriel/fix/point
fix: fix POINT screen offset
- Loading branch information
Showing
7 changed files
with
64 additions
and
25 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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "lib/tst_framework.bas" | ||
|
||
INIT("Testing SCREEN X,Y coords shift") | ||
|
||
#define SCREEN_Y_OFFSET 96 | ||
#define SCREEN_X_OFFSET 127 | ||
|
||
#include <point.bas> | ||
|
||
PLOT 0, 0 | ||
PLOT -20, 20 | ||
PRINT POINT(0, 0); " "; POINT(-20, 20); " "; POINT(20, -20); " "; POINT(-20, -20) | ||
|
||
FINISH |
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,9 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# vim:et:ts=4: | ||
|
||
RUN=$(basename -s .bas $1) | ||
rm -f "$RUN.tzx" | ||
killall fuse 2>/dev/null | ||
../../zxbc.py -TaB $1 --debug-memory || exit 1 | ||
fuse --auto-load --speed=19000 "$RUN.tzx" & | ||
|
||
fuse --auto-load --speed=19000 --machine=plus2 "$RUN.tzx" & |