Return to Section List   Return to Menu

= = = 4. INSTALL OS AND PROGRAMS = = =

Now that your DUO Compact can run code, you can have some fun. In this section you will install DUO OS and several programs.

= INSTALL EEPROM DATA =

Find the DUO OS source code on this page. Compile all of the Piston code into machine code. Convert the machine code into EEPROM programmer code. For each block, copy the data into PROGRAM_DATA_LIST, upload the programmer to your Arduino, and let the Arduino copy the data into EEPROM. Do not install more than one block at a time. The Arduino Uno has enough memory for just one block.

= INSTALL FLASH DATA =

Download the flash programmer from this page. On the emulator page, use the "Flash ->" button to obtain flash programmer code. Attach Arduino pin 3 to mapped memory WE. Follow these steps to install the flash data:

  1. Copy one block of flash programmer code into PROGRAM_DATA_LIST of the flash programmer.
  2. The SHOULD_ANNIHILATE_FLASH_DATA variable will erase the entire flash chip before installation. Set this variable to "true" for the first block, and "false" for all blocks afterward.
  3. Upload the flash programmer to the Arduino. Press the action button to start installation.
  4. Repeat steps 1 through 3 until all blocks are installed.

When you are ready to run the programs, detach Arduino pin 3 from mapped memory WE, reset the address registers to 0, and attach the oscillator to the decade counter. The computer will take about 2 minutes to load the operating system. From there you can list and run programs.

If you are having problems with installation, you can compile the OS source code until METASCOPE manage. This excludes all programs except the OS start prompt and a small test utility. If you still cannot resolve an installation conflict, send a message to my email address: esperantanaso at gmail.com.

After your DUO Compact is working with software, please send me a picture! Again, my email address is esperantanaso at gmail.com. If you are feeling creative, write your own programs and connect more peripherals. With 16384 available I/O ports, there is plenty of room for expansion.

Return to Section List   Return to Menu

Return to the Ostracod Pond