From bcb4f66286476d6697c1f363a41eb167c958b40a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 28 May 2024 15:38:08 -0400 Subject: unprotbas: -p/-pc now actually inserts a new line of code with the bad offset. --- unprotbas.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unprotbas.rst') 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 -- cgit v1.2.3