Home » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_1_scp.adf » !MathsBook_MathsBook » !MbookDem/!Run

!MbookDem/!Run

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_1_scp.adf » !MathsBook_MathsBook
Filename: !MbookDem/!Run
Read OK:
File size: 0105 bytes
Load address: 0000
Exec address: 0000
File contents
|Obey file

SET Maths$Dir <Obey$Dir>

IF "<Maths$Running>"="yes" THEN ERROR 255 Program is already loaded
Set Maths$Running yes

IconSprites <Maths$Dir>.!Sprites

WimpSlot -min 432K -max 432K
                      
Run <Maths$Dir>.!Runimage
Set Maths$Running <>
00000000  7c 4f 62 65 79 20 66 69  6c 65 0a 0a 53 45 54 20  ||Obey file..SET |
00000010  4d 61 74 68 73 24 44 69  72 20 3c 4f 62 65 79 24  |Maths$Dir <Obey$|
00000020  44 69 72 3e 0a 0a 49 46  20 22 3c 4d 61 74 68 73  |Dir>..IF "<Maths|
00000030  24 52 75 6e 6e 69 6e 67  3e 22 3d 22 79 65 73 22  |$Running>"="yes"|
00000040  20 54 48 45 4e 20 45 52  52 4f 52 20 32 35 35 20  | THEN ERROR 255 |
00000050  50 72 6f 67 72 61 6d 20  69 73 20 61 6c 72 65 61  |Program is alrea|
00000060  64 79 20 6c 6f 61 64 65  64 0a 53 65 74 20 4d 61  |dy loaded.Set Ma|
00000070  74 68 73 24 52 75 6e 6e  69 6e 67 20 79 65 73 0a  |ths$Running yes.|
00000080  0a 49 63 6f 6e 53 70 72  69 74 65 73 20 3c 4d 61  |.IconSprites <Ma|
00000090  74 68 73 24 44 69 72 3e  2e 21 53 70 72 69 74 65  |ths$Dir>.!Sprite|
000000a0  73 0a 0a 57 69 6d 70 53  6c 6f 74 20 2d 6d 69 6e  |s..WimpSlot -min|
000000b0  20 34 33 32 4b 20 2d 6d  61 78 20 34 33 32 4b 0a  | 432K -max 432K.|
000000c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000d0  20 20 20 20 20 20 0a 52  75 6e 20 3c 4d 61 74 68  |      .Run <Math|
000000e0  73 24 44 69 72 3e 2e 21  52 75 6e 69 6d 61 67 65  |s$Dir>.!Runimage|
000000f0  0a 53 65 74 20 4d 61 74  68 73 24 52 75 6e 6e 69  |.Set Maths$Runni|
00000100  6e 67 20 3c 3e                                    |ng <>|
00000105