Home » Archimedes archive » Archimedes World » AW-1997-02.adf » !MbookDemo_MathsBook » !MbookDemo/!Run

!MbookDemo/!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 » AW-1997-02.adf » !MbookDemo_MathsBook
Filename: !MbookDemo/!Run
Read OK:
File size: 0109 bytes
Load address: 0000
Exec address: 0000
File contents
|Obey file

SET Maths$Dir <Obey$Dir>

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

IconSprites <Maths$Dir>.!Sprites

WimpSlot -min 448K -max 448K
                      
Run <Maths$Dir>.!Runimage
Set Maths1$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  31 24 52 75 6e 6e 69 6e  67 3e 22 3d 22 79 65 73  |1$Running>"="yes|
00000040  22 20 54 48 45 4e 20 45  52 52 4f 52 20 32 35 35  |" THEN ERROR 255|
00000050  20 50 72 6f 67 72 61 6d  20 69 73 20 61 6c 72 65  | Program is alre|
00000060  61 64 79 20 6c 6f 61 64  65 64 0a 53 65 74 20 4d  |ady loaded.Set M|
00000070  61 74 68 73 31 24 52 75  6e 6e 69 6e 67 20 79 65  |aths1$Running ye|
00000080  73 0a 0a 49 63 6f 6e 53  70 72 69 74 65 73 20 3c  |s..IconSprites <|
00000090  4d 61 74 68 73 24 44 69  72 3e 2e 21 53 70 72 69  |Maths$Dir>.!Spri|
000000a0  74 65 73 0a 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |tes..WimpSlot -m|
000000b0  69 6e 20 34 34 38 4b 20  2d 6d 61 78 20 34 34 38  |in 448K -max 448|
000000c0  4b 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |K.              |
000000d0  20 20 20 20 20 20 20 20  0a 52 75 6e 20 3c 4d 61  |        .Run <Ma|
000000e0  74 68 73 24 44 69 72 3e  2e 21 52 75 6e 69 6d 61  |ths$Dir>.!Runima|
000000f0  67 65 0a 53 65 74 20 4d  61 74 68 73 31 24 52 75  |ge.Set Maths1$Ru|
00000100  6e 6e 69 6e 67 20 3c 3e  0a                       |nning <>.|
00000109