aboutsummaryrefslogtreecommitdiff
path: root/unprotbas.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-28 15:38:08 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-28 15:38:08 -0400
commitbcb4f66286476d6697c1f363a41eb167c958b40a (patch)
treef1e095cef2c8162d1a3d09ea8901af701501aa4e /unprotbas.rst
parentfc62a9197fae150abe5d8063b57e5ecee660131e (diff)
downloadbw-atari8-tools-bcb4f66286476d6697c1f363a41eb167c958b40a.tar.gz
unprotbas: -p/-pc now actually inserts a new line of code with the bad offset.
Diffstat (limited to 'unprotbas.rst')
-rw-r--r--unprotbas.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/unprotbas.rst b/unprotbas.rst
index cf7ca84..1df865f 100644
--- a/unprotbas.rst
+++ b/unprotbas.rst
@@ -202,9 +202,9 @@ Bad next-line pointer
fix bad pointers in protected programs, though it doesn't do
anything about variable name scrambling.
- **unprotbas -pc** also does this type of protection. Beware: the
- last line of code must never actually be executed by the program,
- or BASIC will freeze when it tries to execute it.
+ **unprotbas -pc** also does this type of protection. It works by
+ adding a line 32767 to the program, with a bad next-line pointer.
+ This will fail if there's already a line 32767.
One more thing **unprotbas** can do is remove extra data from the end
of the file. It's possible for BASIC files to contain extra data that