Home » Archimedes archive » Archimedes World » AW-1996-08.adf » !6502DEm_6502Dem » !6502Dem/!Run

!6502Dem/!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-1996-08.adf » !6502DEm_6502Dem
Filename: !6502Dem/!Run
Read OK:
File size: 0254 bytes
Load address: 0000
Exec address: 0000
File contents
|
| !Run file for 6502Em
| (c) 1995 Michael and Anne Borcherds
|

| Check we have enough memory to run
WimpSlot -min 640k -max 640k

| Set up directory paths & filetypes and load sprites
Set 6502Em$Dir <Obey$Dir>
Set 6502Em$Res <Obey$Dir>.Resources
Set 6502Em$ROMPath <Obey$Dir>.ROMs.
Set File$Type_BBC BBCSnap
Set File$Type_B22 DFSImage
IconSprites <6502Em$Res>.!Sprites

| Load Module
RMEnsure 6502Support 0.05 RMLoad <6502Em$Res>.65Support

| Grab snapshots
Set Alias$@RunType_BBC Run <6502Em$Dir>.!Run %%*0

| Clear Memory
InitStore 0 { > null: }

| Run program
Run <6502Em$Dir>.!RunImage %*0
00000000  7c 0a 7c 20 21 52 75 6e  20 66 69 6c 65 20 66 6f  ||.| !Run file fo|
00000010  72 20 36 35 30 32 45 6d  0a 7c 20 28 63 29 20 31  |r 6502Em.| (c) 1|
00000020  39 39 35 20 4d 69 63 68  61 65 6c 20 61 6e 64 20  |995 Michael and |
00000030  41 6e 6e 65 20 42 6f 72  63 68 65 72 64 73 0a 7c  |Anne Borcherds.||
00000040  0a 0a 7c 20 43 68 65 63  6b 20 77 65 20 68 61 76  |..| Check we hav|
00000050  65 20 65 6e 6f 75 67 68  20 6d 65 6d 6f 72 79 20  |e enough memory |
00000060  74 6f 20 72 75 6e 0a 57  69 6d 70 53 6c 6f 74 20  |to run.WimpSlot |
00000070  2d 6d 69 6e 20 36 34 30  6b 20 2d 6d 61 78 20 36  |-min 640k -max 6|
00000080  34 30 6b 0a 0a 7c 20 53  65 74 20 75 70 20 64 69  |40k..| Set up di|
00000090  72 65 63 74 6f 72 79 20  70 61 74 68 73 20 26 20  |rectory paths & |
000000a0  66 69 6c 65 74 79 70 65  73 20 61 6e 64 20 6c 6f  |filetypes and lo|
000000b0  61 64 20 73 70 72 69 74  65 73 0a 53 65 74 20 36  |ad sprites.Set 6|
000000c0  35 30 32 45 6d 24 44 69  72 20 3c 4f 62 65 79 24  |502Em$Dir <Obey$|
000000d0  44 69 72 3e 0a 53 65 74  20 36 35 30 32 45 6d 24  |Dir>.Set 6502Em$|
000000e0  52 65 73 20 3c 4f 62 65  79 24 44 69 72 3e 2e 52  |Res <Obey$Dir>.R|
000000f0  65 73 6f 75 72 63 65 73  0a 53 65 74 20 36 35 30  |esources.Set 650|
00000100  32 45 6d 24 52 4f 4d 50  61 74 68 20 3c 4f 62 65  |2Em$ROMPath <Obe|
00000110  79 24 44 69 72 3e 2e 52  4f 4d 73 2e 0a 53 65 74  |y$Dir>.ROMs..Set|
00000120  20 46 69 6c 65 24 54 79  70 65 5f 42 42 43 20 42  | File$Type_BBC B|
00000130  42 43 53 6e 61 70 0a 53  65 74 20 46 69 6c 65 24  |BCSnap.Set File$|
00000140  54 79 70 65 5f 42 32 32  20 44 46 53 49 6d 61 67  |Type_B22 DFSImag|
00000150  65 0a 49 63 6f 6e 53 70  72 69 74 65 73 20 3c 36  |e.IconSprites <6|
00000160  35 30 32 45 6d 24 52 65  73 3e 2e 21 53 70 72 69  |502Em$Res>.!Spri|
00000170  74 65 73 0a 0a 7c 20 4c  6f 61 64 20 4d 6f 64 75  |tes..| Load Modu|
00000180  6c 65 0a 52 4d 45 6e 73  75 72 65 20 36 35 30 32  |le.RMEnsure 6502|
00000190  53 75 70 70 6f 72 74 20  30 2e 30 35 20 52 4d 4c  |Support 0.05 RML|
000001a0  6f 61 64 20 3c 36 35 30  32 45 6d 24 52 65 73 3e  |oad <6502Em$Res>|
000001b0  2e 36 35 53 75 70 70 6f  72 74 0a 0a 7c 20 47 72  |.65Support..| Gr|
000001c0  61 62 20 73 6e 61 70 73  68 6f 74 73 0a 53 65 74  |ab snapshots.Set|
000001d0  20 41 6c 69 61 73 24 40  52 75 6e 54 79 70 65 5f  | Alias$@RunType_|
000001e0  42 42 43 20 52 75 6e 20  3c 36 35 30 32 45 6d 24  |BBC Run <6502Em$|
000001f0  44 69 72 3e 2e 21 52 75  6e 20 25 25 2a 30 0a 0a  |Dir>.!Run %%*0..|
00000200  7c 20 43 6c 65 61 72 20  4d 65 6d 6f 72 79 0a 49  || Clear Memory.I|
00000210  6e 69 74 53 74 6f 72 65  20 30 20 7b 20 3e 20 6e  |nitStore 0 { > n|
00000220  75 6c 6c 3a 20 7d 0a 0a  7c 20 52 75 6e 20 70 72  |ull: }..| Run pr|
00000230  6f 67 72 61 6d 0a 52 75  6e 20 3c 36 35 30 32 45  |ogram.Run <6502E|
00000240  6d 24 44 69 72 3e 2e 21  52 75 6e 49 6d 61 67 65  |m$Dir>.!RunImage|
00000250  20 25 2a 30                                       | %*0|
00000254