1. OCAU Merchandise now available! Check out our 20th Anniversary Mugs, Classic Logo Shirts and much more! Discussion here.
    Dismiss Notice

Snake! on my TTL breadboard CPU with 256 bytes program mem.

Discussion in 'Electronics & Electrics' started by visrealm, Apr 20, 2020.

  1. visrealm

    visrealm Member

    Joined:
    Feb 12, 2008
    Messages:
    22
    Location:
    Adelaide
    I recently added a character LCD to my Ben Eater-inspired breadboard CPU, and started writing programs for it.

    This is the best I've managed so far in the 256 bytes of program memory it has:

    [​IMG]

    This has been my first non-trivial electronics project. It's been a blast to work on.. and to write programs for.

    I have also written an emulator for my CPU. So you can check out the source ASM and run it in your browser here: https://cpu.visualrealmsoftware.com/asm/?e=Snake (LCD)&s=500 (Just hit Emulate)

    All source code is available for my CPU, my emulator and my character LCD emulator (which I've split out to a separate repo)

    Enjoy !:)

    Troy
     
  2. /invariance\

    /invariance\ Member

    Joined:
    May 23, 2012
    Messages:
    968
    Location:
    Brisbane
    This is hardcore! Excellent work.
     
    visrealm likes this.
  3. Dice

    Dice Member

    Joined:
    Feb 18, 2002
    Messages:
    167
    Location:
    Altona
    That's amazing. And now I'm in a breadboard computer rabbit hole, so thanks
     
    visrealm likes this.
  4. OP
    OP
    visrealm

    visrealm Member

    Joined:
    Feb 12, 2008
    Messages:
    22
    Location:
    Adelaide
    Thanks.

    Careful in that rabbit hole - it's a deep one. :)
     
  5. OP
    OP
    visrealm

    visrealm Member

    Joined:
    Feb 12, 2008
    Messages:
    22
    Location:
    Adelaide
    Thanks. It was iterative. One thing leads to another... Snake!
     
  6. OP
    OP
    visrealm

    visrealm Member

    Joined:
    Feb 12, 2008
    Messages:
    22
    Location:
    Adelaide
    Uploaded a new video today which shows how the various bits (CPU, assembler, emulator, program loader) work together.

     
  7. brokenback

    brokenback Member

    Joined:
    Jun 27, 2001
    Messages:
    1,282
    Location:
    Melbournia, Arsetralia
    I quite like Ben Eater's stuff his 6502 is very well done and explained.
     

Share This Page

Advertisement: