zx81-loader.p: Improve the ZX81 loading program.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 18 Nov 2021 18:47:19 +0000 (18:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 18 Nov 2021 18:47:19 +0000 (18:47 +0000)
commit4471165a4cbc712be350b1531c2248f18449ecab
treeae2324afa019eb1f56975a85e683834bda8bb708
parentb4fd018059713a9efdaa72f9017a8d87b7dc7325
zx81-loader.p: Improve the ZX81 loading program.

Two important changes (sorry):

  * Automatically run the program when it's loaded.  I've just
    (re?)discovered that if you `save' within a program then it
    continues where it left off, so use this mechanism.

  * Set `ramtop' below where the program lives before running it,
    because the ZX81 snapshots don't include `ramtop' in the memory
    image.
zx81-loader.p