S_LOAD

Syntax

S_LOAD adr

Location

TinyToolkit

S_LOAD takes an address (adr) returned by S_SAVE and displays the saved screen just like S_SHOW does. Additionally, the reserved memory to which adr points is released so that it can be used for other purposes. S_LOAD therefore only works once on a given address.

NOTE 1

Under odd conditions S_LOAD will load and show more than had been stored with S_SAVE. The Win… set of commands replace the S_… set and get around these problems.

NOTE 2

S_LOAD assumes that it needs to copy the stored screen to $20000 and that will not therefore work on Minerva’s second screen. It also assumes the screen is 512x256 pixels and will not work on higher resolutions or under dual screen mode.

WARNING

A wrong address leads to crashes!