Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Introspection/ZX-Spectrum-Basic/introspection.basic
Normal file
7
Task/Introspection/ZX-Spectrum-Basic/introspection.basic
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
10 LET totram=PEEK 23732 + 256 * PEEK 23733: REM Check that we have a 48k machine
|
||||
20 IF totram < 65535 THEN PRINT "Your 16k Spectrum is too old": STOP
|
||||
30 REM variables must exist before they are used, otherwise we get an error
|
||||
40 REM we can poke a new error handler and check for variable not found.
|
||||
50 REM I haven't implemented this, because I have forgotten the handler address
|
||||
60 LET bloob = -4: REM make sure bloob exists, by creating it.
|
||||
70 PRINT ABS(bloob): REM function will be present, ZX Spectrum Basic is standardized.
|
||||
Loading…
Add table
Add a link
Reference in a new issue