Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !PocketDem_PocketDem » !Pockets/!Run

!Pockets/!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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !PocketDem_PocketDem
Filename: !Pockets/!Run
Read OK:
File size: 0201 bytes
Load address: 0000
Exec address: 0000
File contents
Set Pockets$Dir <Obey$Dir>

| Set Vga$Mode to 1 to run in VGA mode.
| For VGA and Multisync monitors only.
| Pockets requires more memory to run in VGA mode.

Set Vga$Mode 0

Set Demo$Mode 0

If <Vga$Mode>=0 Then Run <Pockets$Dir>.FreeMem
If <Vga$Mode><>0 Then Run <Pockets$Dir>.FreeMem2


If <Vga$Mode><>0 Then RMEnsure MyMode RMLoad <Pockets$Dir>.MyMode 
If <Vga$Mode>=0  Then WimpSlot -min 640k -max 640k
If <Vga$Mode><>0 Then WimpSlot -min 720k -max 720k 

Run <Pockets$Dir>.Loader
Run <Pockets$Dir>.Pockets

00000000  53 65 74 20 50 6f 63 6b  65 74 73 24 44 69 72 20  |Set Pockets$Dir |
00000010  3c 4f 62 65 79 24 44 69  72 3e 0a 0a 7c 20 53 65  |<Obey$Dir>..| Se|
00000020  74 20 56 67 61 24 4d 6f  64 65 20 74 6f 20 31 20  |t Vga$Mode to 1 |
00000030  74 6f 20 72 75 6e 20 69  6e 20 56 47 41 20 6d 6f  |to run in VGA mo|
00000040  64 65 2e 0a 7c 20 46 6f  72 20 56 47 41 20 61 6e  |de..| For VGA an|
00000050  64 20 4d 75 6c 74 69 73  79 6e 63 20 6d 6f 6e 69  |d Multisync moni|
00000060  74 6f 72 73 20 6f 6e 6c  79 2e 0a 7c 20 50 6f 63  |tors only..| Poc|
00000070  6b 65 74 73 20 72 65 71  75 69 72 65 73 20 6d 6f  |kets requires mo|
00000080  72 65 20 6d 65 6d 6f 72  79 20 74 6f 20 72 75 6e  |re memory to run|
00000090  20 69 6e 20 56 47 41 20  6d 6f 64 65 2e 0a 0a 53  | in VGA mode...S|
000000a0  65 74 20 56 67 61 24 4d  6f 64 65 20 30 0a 0a 53  |et Vga$Mode 0..S|
000000b0  65 74 20 44 65 6d 6f 24  4d 6f 64 65 20 30 0a 0a  |et Demo$Mode 0..|
000000c0  49 66 20 3c 56 67 61 24  4d 6f 64 65 3e 3d 30 20  |If <Vga$Mode>=0 |
000000d0  54 68 65 6e 20 52 75 6e  20 3c 50 6f 63 6b 65 74  |Then Run <Pocket|
000000e0  73 24 44 69 72 3e 2e 46  72 65 65 4d 65 6d 0a 49  |s$Dir>.FreeMem.I|
000000f0  66 20 3c 56 67 61 24 4d  6f 64 65 3e 3c 3e 30 20  |f <Vga$Mode><>0 |
00000100  54 68 65 6e 20 52 75 6e  20 3c 50 6f 63 6b 65 74  |Then Run <Pocket|
00000110  73 24 44 69 72 3e 2e 46  72 65 65 4d 65 6d 32 0a  |s$Dir>.FreeMem2.|
00000120  0a 0a 49 66 20 3c 56 67  61 24 4d 6f 64 65 3e 3c  |..If <Vga$Mode><|
00000130  3e 30 20 54 68 65 6e 20  52 4d 45 6e 73 75 72 65  |>0 Then RMEnsure|
00000140  20 4d 79 4d 6f 64 65 20  52 4d 4c 6f 61 64 20 3c  | MyMode RMLoad <|
00000150  50 6f 63 6b 65 74 73 24  44 69 72 3e 2e 4d 79 4d  |Pockets$Dir>.MyM|
00000160  6f 64 65 20 0a 49 66 20  3c 56 67 61 24 4d 6f 64  |ode .If <Vga$Mod|
00000170  65 3e 3d 30 20 20 54 68  65 6e 20 57 69 6d 70 53  |e>=0  Then WimpS|
00000180  6c 6f 74 20 2d 6d 69 6e  20 36 34 30 6b 20 2d 6d  |lot -min 640k -m|
00000190  61 78 20 36 34 30 6b 0a  49 66 20 3c 56 67 61 24  |ax 640k.If <Vga$|
000001a0  4d 6f 64 65 3e 3c 3e 30  20 54 68 65 6e 20 57 69  |Mode><>0 Then Wi|
000001b0  6d 70 53 6c 6f 74 20 2d  6d 69 6e 20 37 32 30 6b  |mpSlot -min 720k|
000001c0  20 2d 6d 61 78 20 37 32  30 6b 20 0a 0a 52 75 6e  | -max 720k ..Run|
000001d0  20 3c 50 6f 63 6b 65 74  73 24 44 69 72 3e 2e 4c  | <Pockets$Dir>.L|
000001e0  6f 61 64 65 72 0a 52 75  6e 20 3c 50 6f 63 6b 65  |oader.Run <Pocke|
000001f0  74 73 24 44 69 72 3e 2e  50 6f 63 6b 65 74 73 0a  |ts$Dir>.Pockets.|
00000200  0a                                                |.|
00000201