Public projects 2

Breadboard Computer Programmer

Project tutorial by David Hansel

  • 11,175 views
  • 32 comments
  • 25 respects

Arduino Altair 8800 Simulator

Project tutorial by David Hansel

  • 90,437 views
  • 111 comments
  • 182 respects

Respected projects 0

 David Hansel hasn't respected any projects yet.
  • Breadboard Computer Programmer 8 months ago

    The opcode numbers in my implementation of the breadboard computer probably
    don't match up with what you have. In lines 172-187 of the sketch you can can
    set the opcode numbers for the different assembly mnemonics.

  • Arduino Altair 8800 Simulator almost 2 years ago

    Go into the Printer section of the configuration menu, set the printer type to C700 (Centronics). Set the "Map printer to interface" setting to a serial port - but not the one you are using for the regular input/output. So the Altair will send any output from LLIST or LPRINT to that serial port.
    When starting 16K BASIC, enter "C" as the printer type so BASIC expects a Centronics printer.
    Now you can connect any printer with a serial connection to that port (making port's baud rate and parameters match the printer's) and it should work.

    Note that the Altair will just be sending plain ASCII text to the serial interface (no control codes or such - unless your software sends some). So to test this out you don't have to connect a printer - any terminal (program) will do. You could even just map the printer to the same interface you are using for regular I/O (i.e. "Primary). In that case any output produced by LPRINT or LLIST will just be sent to the regular output - i.e. they will behave the same as PRINT/LIST.

    If you have further questions I would recommend posting them in the AltairDuino forum. There are many people there that are happy to help.

  • Breadboard Computer Programmer over 2 years ago

    I use this library:
    http://playground.arduino.cc/Main/LibraryForI2CEEPROM
    Note: it looks like I'm using version 1.0.05 (the code that's directly on that web page),
    whereas the latest version in their GIT repository is 1.2.5. Not sure whether the newer version
    would work or not.

    For the EEPROM I'm using an Atmel AT24C256.

    Of course you can just use the builtin eeprom but you'll have to modify the code
    so it doesn't attempt to use the external EEPROM. The way it is currently set up it will
    always try to use the external EEPROM for 8-bit programs.

Add projectSign up / Login