Spell 3 – Scry the Boundaries of a Dynamic Area
Purpose: read the size of a Dynamic Area
How it works:
Write a small BBC BASIC programs with the following instructions
10 da_id% = 0 20 SYS "OS_ReadDynamicArea", da_id% TO , start%, curr_size%, max_size% 30 PRINT "DA "; da_id%;" starts at ";~start%;" and is ";curr_size%;" bytes long, and has max size of: "; max_size%
What this program will display is the memory address of the Dynamic Area 0, it’s current size and the maximum size of the area.
