Go to the first, previous, next, last section, table of contents.

Uplinking and starting the software

When running on a Pizza Box, the most convenient way of starting up the software is to run the script boots.rosalia, located in the $HETEDIR/bin/sparcbin (or $HETEDIR/bin/nextbin) directory (which should be in your path).

The contents of this script is:

#!/bin/sh

pbreboot

sleep 130

bootproc $HOME/transputer/btl/XG.btl xg 4
sleep 20
bootproc $HETEDIR/source/xray/tdsp/tdsp-2.5/tdsp.hld xgdsp1 4
sleep 10
bootproc $HETEDIR/source/xray/xdsp/xdsp-2.5/xdsp.hld xgdsp0 4
sleep 30

tickle 2049 8211
tickle 2048 8211

sleep 10

#tickle 2048 8215
tickle 2049 8224 9
tickle 2048 8224 4 19 799 1599 3199
#tickle 2048 8224 1599 1599 1599 3199 2499

It does the following:

  1. reboots the pizza box (or spacecraft)
  2. pauses for a little over 2 minutes, which is how long a PB reboot takes
  3. uplinks the transputer image
  4. waits for that to boot, then does the same with the "test dsp" image (tdsp)
  5. waits for that to boot, then does the same with the XDSP image
  6. sends up a message to start port C on tdsp, then on xdsp; at this point both xdsp and tdsp are running, and the tdsp is sending simulated photons on a real port C link to xdsp, via the capellini device.
  7. sends a message to tdsp telling it to space out the photons by (9+1)*4ms
  8. sends a message to xdsp telling it the timing it should use for the data products; the one displayed here basically tells xdsp to do:

Go to the first, previous, next, last section, table of contents.