diff options
author | B. Watson <urchlay@slackware.uk> | 2024-05-25 01:59:22 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-05-25 01:59:22 -0400 |
commit | 51b3bdd30fae6305c3475a7d49d507991e63a967 (patch) | |
tree | c5c76c871d4f4bb624f30bc41d8593443f6a2589 /unprotbas.rst | |
parent | da0f28eec887d690c3c2a69959687284f8eb9982 (diff) | |
download | bw-atari8-tools-51b3bdd30fae6305c3475a7d49d507991e63a967.tar.gz |
unprotbas: don't corrupt memory if >256 vvtable entries.
Diffstat (limited to 'unprotbas.rst')
-rw-r--r-- | unprotbas.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/unprotbas.rst b/unprotbas.rst index eca793c..39a051b 100644 --- a/unprotbas.rst +++ b/unprotbas.rst @@ -262,9 +262,11 @@ variable value table can hold more than 256 values, though the variable numbers wrap around once they pass 255. The attempt to add variables past the 128th causes BASIC to respond with *ERROR- 4*, but the variable does get added to the tables. **unprotbas** will preserve -these extra (useless) entries in the tables, though it will complain -"Warning: variable #XXX value is corrupt" for value table entries -256 and up. This is a pathological case, and shouldn't happen with -programs that aren't deliberately written to test this behaviour. +these extra (useless) entries in the tables. + +If there more than 256 entries in the value table, you will see +"Warning: skipping variable numbers >=256 in value table". This is +a pathological case, and shouldn't happen with programs that aren't +deliberately crafted to test this behaviour. .. include:: manftr.rst |