Home » Archimedes archive » Archimedes World » AW-1995-10 Disc 2.adf » AW1095_2 » Freeware/MPEGTools/!MPEGplay/PCATS/PCATSplay

Freeware/MPEGTools/!MPEGplay/PCATS/PCATSplay

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-1995-10 Disc 2.adf » AW1095_2
Filename: Freeware/MPEGTools/!MPEGplay/PCATS/PCATSplay
Read OK:
File size: 0366 bytes
Load address: 0000
Exec address: 0000
File contents
| PCATS 16bpp runner for MPEG
| Chris Marshall
| 16 April 1993

Run <Obey$Dir>.StoreMode

| Set wimp mode to 120, change to 122 if desired
WimpMode 120

| If you're PCATS card has a turbo board, and flakes
| out at 36MHz, uncomment and alter the following line
| to wind the clock up a bit. You need a 40MHz crystal
| ideally
| Clock 4

| Set palette to red scale
PalSet 1

| Thunderbirds are go!
Run <MPEG$Dir>.mpeg_play %*0

| Go back to origial mode
| (Alias$ used because WimpMode doesn't expect to
| receive an expression as a parameter)
SetEval Alias$pcatstmode "WimpMode <Current$Mode>"
pcatstmode
Unset pcatstmode

| Reset palette to default. 
| Tough luck if your old one was different
PalSet 0

| Switch PCATS card out of 16bpp DAC mode. This should
| happen on a mode change but some cards are dodgy
NormalVideo

| Dispense with "Press SPACE etc etc"
Desktop
00000000  7c 20 50 43 41 54 53 20  31 36 62 70 70 20 72 75  || PCATS 16bpp ru|
00000010  6e 6e 65 72 20 66 6f 72  20 4d 50 45 47 0a 7c 20  |nner for MPEG.| |
00000020  43 68 72 69 73 20 4d 61  72 73 68 61 6c 6c 0a 7c  |Chris Marshall.||
00000030  20 31 36 20 41 70 72 69  6c 20 31 39 39 33 0a 0a  | 16 April 1993..|
00000040  52 75 6e 20 3c 4f 62 65  79 24 44 69 72 3e 2e 53  |Run <Obey$Dir>.S|
00000050  74 6f 72 65 4d 6f 64 65  0a 0a 7c 20 53 65 74 20  |toreMode..| Set |
00000060  77 69 6d 70 20 6d 6f 64  65 20 74 6f 20 31 32 30  |wimp mode to 120|
00000070  2c 20 63 68 61 6e 67 65  20 74 6f 20 31 32 32 20  |, change to 122 |
00000080  69 66 20 64 65 73 69 72  65 64 0a 57 69 6d 70 4d  |if desired.WimpM|
00000090  6f 64 65 20 31 32 30 0a  0a 7c 20 49 66 20 79 6f  |ode 120..| If yo|
000000a0  75 27 72 65 20 50 43 41  54 53 20 63 61 72 64 20  |u're PCATS card |
000000b0  68 61 73 20 61 20 74 75  72 62 6f 20 62 6f 61 72  |has a turbo boar|
000000c0  64 2c 20 61 6e 64 20 66  6c 61 6b 65 73 0a 7c 20  |d, and flakes.| |
000000d0  6f 75 74 20 61 74 20 33  36 4d 48 7a 2c 20 75 6e  |out at 36MHz, un|
000000e0  63 6f 6d 6d 65 6e 74 20  61 6e 64 20 61 6c 74 65  |comment and alte|
000000f0  72 20 74 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |r the following |
00000100  6c 69 6e 65 0a 7c 20 74  6f 20 77 69 6e 64 20 74  |line.| to wind t|
00000110  68 65 20 63 6c 6f 63 6b  20 75 70 20 61 20 62 69  |he clock up a bi|
00000120  74 2e 20 59 6f 75 20 6e  65 65 64 20 61 20 34 30  |t. You need a 40|
00000130  4d 48 7a 20 63 72 79 73  74 61 6c 0a 7c 20 69 64  |MHz crystal.| id|
00000140  65 61 6c 6c 79 0a 7c 20  43 6c 6f 63 6b 20 34 0a  |eally.| Clock 4.|
00000150  0a 7c 20 53 65 74 20 70  61 6c 65 74 74 65 20 74  |.| Set palette t|
00000160  6f 20 72 65 64 20 73 63  61 6c 65 0a 50 61 6c 53  |o red scale.PalS|
00000170  65 74 20 31 0a 0a 7c 20  54 68 75 6e 64 65 72 62  |et 1..| Thunderb|
00000180  69 72 64 73 20 61 72 65  20 67 6f 21 0a 52 75 6e  |irds are go!.Run|
00000190  20 3c 4d 50 45 47 24 44  69 72 3e 2e 6d 70 65 67  | <MPEG$Dir>.mpeg|
000001a0  5f 70 6c 61 79 20 25 2a  30 0a 0a 7c 20 47 6f 20  |_play %*0..| Go |
000001b0  62 61 63 6b 20 74 6f 20  6f 72 69 67 69 61 6c 20  |back to origial |
000001c0  6d 6f 64 65 0a 7c 20 28  41 6c 69 61 73 24 20 75  |mode.| (Alias$ u|
000001d0  73 65 64 20 62 65 63 61  75 73 65 20 57 69 6d 70  |sed because Wimp|
000001e0  4d 6f 64 65 20 64 6f 65  73 6e 27 74 20 65 78 70  |Mode doesn't exp|
000001f0  65 63 74 20 74 6f 0a 7c  20 72 65 63 65 69 76 65  |ect to.| receive|
00000200  20 61 6e 20 65 78 70 72  65 73 73 69 6f 6e 20 61  | an expression a|
00000210  73 20 61 20 70 61 72 61  6d 65 74 65 72 29 0a 53  |s a parameter).S|
00000220  65 74 45 76 61 6c 20 41  6c 69 61 73 24 70 63 61  |etEval Alias$pca|
00000230  74 73 74 6d 6f 64 65 20  22 57 69 6d 70 4d 6f 64  |tstmode "WimpMod|
00000240  65 20 3c 43 75 72 72 65  6e 74 24 4d 6f 64 65 3e  |e <Current$Mode>|
00000250  22 0a 70 63 61 74 73 74  6d 6f 64 65 0a 55 6e 73  |".pcatstmode.Uns|
00000260  65 74 20 70 63 61 74 73  74 6d 6f 64 65 0a 0a 7c  |et pcatstmode..||
00000270  20 52 65 73 65 74 20 70  61 6c 65 74 74 65 20 74  | Reset palette t|
00000280  6f 20 64 65 66 61 75 6c  74 2e 20 0a 7c 20 54 6f  |o default. .| To|
00000290  75 67 68 20 6c 75 63 6b  20 69 66 20 79 6f 75 72  |ugh luck if your|
000002a0  20 6f 6c 64 20 6f 6e 65  20 77 61 73 20 64 69 66  | old one was dif|
000002b0  66 65 72 65 6e 74 0a 50  61 6c 53 65 74 20 30 0a  |ferent.PalSet 0.|
000002c0  0a 7c 20 53 77 69 74 63  68 20 50 43 41 54 53 20  |.| Switch PCATS |
000002d0  63 61 72 64 20 6f 75 74  20 6f 66 20 31 36 62 70  |card out of 16bp|
000002e0  70 20 44 41 43 20 6d 6f  64 65 2e 20 54 68 69 73  |p DAC mode. This|
000002f0  20 73 68 6f 75 6c 64 0a  7c 20 68 61 70 70 65 6e  | should.| happen|
00000300  20 6f 6e 20 61 20 6d 6f  64 65 20 63 68 61 6e 67  | on a mode chang|
00000310  65 20 62 75 74 20 73 6f  6d 65 20 63 61 72 64 73  |e but some cards|
00000320  20 61 72 65 20 64 6f 64  67 79 0a 4e 6f 72 6d 61  | are dodgy.Norma|
00000330  6c 56 69 64 65 6f 0a 0a  7c 20 44 69 73 70 65 6e  |lVideo..| Dispen|
00000340  73 65 20 77 69 74 68 20  22 50 72 65 73 73 20 53  |se with "Press S|
00000350  50 41 43 45 20 65 74 63  20 65 74 63 22 0a 44 65  |PACE etc etc".De|
00000360  73 6b 74 6f 70 0a                                 |sktop.|
00000366