Using Scramble -

The scramble3 utility is used to process the final S-Record file and generate binary EPROM files.

The scramble3 utility is for use with the Pluto system where you are using the CGA/VGA Card, (Heber part no: 01-15271) and not the Calypso 16 Video Graphics Card (Heber part no: 01-16316).

The utility for the Calypso 16 Video Graphics card, scramcal, is explained later. The following applies to both Pluto 5 and Pluto 5 Casino. There are no parameter differences.

Note: When you wish to secure your game code to run with your unique FPGA, the output file extension is in Motorola S-Record format. This is fully explained in the FPGA Security Manual, (Heber part number: 80-16784).

The parameters for the scramble3 utility depend on:
Where the EPROMs will be located.

The following configurations are possible:

The Pluto 5.
The Pluto 5 and CGA/VGA Video.
The Pluto 5 and EPROM or EPROM/RAM Expansion.
The Pluto 5, CGA/VGA Video and EPROM or EPROM/RAM Expansion.


The type and number of EPROMs you will be using.
Pluto 5 boards use 32 pin, 8 bit wide EPROMs.
27C4001s or 27C040s are 512kbyte.
27C801s are 1024kbyte.

Note: you can not mix the EPROM sizes. They must all be either 512kbyte or 1024kbyte.
scramble3 needs 4 parameters. They are:
Parameter (i)The number of EPROM pairs (1 for a single EPROM).
Parameter (ii)The EPROM locations.
Parameter (iii)The EPROM size.
Parameter (iv)The source file.

Examples
Note: the spaces in the parameters and that scramble3 is case sensitive.

1. You have an application for a Reel machine that is just under 1 megabyte. This will fit directly onto
the Pluto 5 board in either 1 x 27C801 at U1 or 2 x 27C040/27C4001 at U1 and U2.

The Scramble3 command line will be either:
Scramble3 1 P5_U1 801 YourProject.s19
Scramble3 1 P5_U1U2 040 YourProject.s19

2. You have a video application that is 3 megabyte. You must use the CGA/VGA card, with at least
U1 and U2 populated, fitted to the Pluto 5 board. The following options are available to you:

Note: If you are using more than 2 EPROMs, they must always be in pairs.

a) 4 x 27C801fitted in U1, U2, U3 & U4 of the CGA/VGA card.
Scramble3 2 V_U1U2 V_U3U4 801 YourProject.s19

or

b) 6 x 27C040/4001 fitted in U1, U2, U3 & U4 of the CGA/VGA card and in U1 & U2 of the Pluto 5
board.

Scramble3 3 V_U1U2 V_U3U4 P5_U1U2 040 YourProject.s19
3. You have a reel application that is 3 megabyte. You need the Expansion card fitted to the Pluto 5.

The following options are available to you.

a) 4 x 27C801 fitted in U1, U2, U3 & U4 of the Expansion card.
Scramble3 2 E_U1U2 E_U3U4 801 YourProject.s19

or

b) 6 x 27C040/4001 fitted in U1, U2, U3 & U4 of the Expansion card and in U1 & U2 of the Pluto 5 board.

Scramble3 3 E_U1U2 E_U3U4 P5_U1U2 040 YourProject.s19

4. You have a 6 megabyte video application. You must have the CGA/VGA card fitted to the Pluto 5.
6 x 27C801 EPROMs are fitted into U1 and U2 of the Pluto 5 and U1, U2, U3 and U4 of the CGA/
VGA card.
Scramble3 3 V_U1U2 V_U3U4 P5_U1U2 801 YourProject.s19

Binary Output Files

The output file names identify the correct locations.
For example, YourProjectPU1.bin is fitted on the Pluto 5 board in U1, YourProjectEU3.bin is fitted on the Expansion card at U3 and YourProjectVU2.bin is fitted on the CGA/VGA card at U2.
The Pluto 5 system will fail if the EPROMs are fitted in the wrong locations.

How to Use the Scramcal Utility to Generate Binary EPROM Files
As with scramble3, the scramcal utility is used to process the final S-Record file and generate binary EPROM files.

The scramcal utility is for use with the Pluto system where you are using the Calypso 16 Video Graphics Card (Heber part no: 01-06316), and not the CGA/VGA Card, (Heber part no: 01-15271). As with scramble3, the following applies to both Pluto 5 and Pluto 5 Casino. There are no parameter differences.

The parameters for the scramcal program depend on:
Where the EPROMs will be located.
Only the following configuration is possible.
Pluto 5 and Calypso 16, where EPROMs are only fitted in the Calypso 16 and none are fitted in the
Pluto 5.



The type and number of EPROMs you will be using.
Calypso 16 uses 42 pin, 16 bit wide EPROMs.
27C800s are 1 megabyte.
27C160s are 2 megabyte.
27C322s are 4 megabyte.

Note: you can not mix the EPROM sizes in the Calypso 16.

Scramcal needs 3 parameters. They are:
Parameter (i)The number of EPROMs, 1 or 2.
Parameter (ii)The type of EPROM, 800, 160, or 322
Parameter (iii)The source file.

Examples
Note: the spaces in the parameters and that scramcal is case sensitive.

1. You have a video application that is 1.5 megabyte. You need either 1 x 27C160 fitted in U1 or 2 x
27C800 fitted in U1 and U2.
scramcal 1 160 YourProject.s19

or

scramcal 2 800 YourProject.s19
2. You have a video application that is 4 megabyte. You can use either 1 x 27C322 fitted in U1 or 2 x 27C160 fitted in U1 and U2.
scramcal 1 322 YourProject.s19

or

scramcal 2 160 YourProject.s19
3. You have an application that is 6 megabytes. You will need 2 x 27C322 fitted in U1 and U2.
scramcal 2 322 YourProject.s19

Binary Output Files
Again, the output file names identify the correct locations. For example, U1.bin is fitted on the Calypso 16 card at U1 and U2.bin is fitted on the Calypso 16 card at U2.
As before, the Pluto 5 system will fail if the EPROMs are fitted in the wrong locations.

If you need any help let us know.