DEV Community

Leonardo Pinezi
Leonardo Pinezi

Posted on

ArduBIOS: Opcode Interpreter and ISA for Arduino

Hey everyone, I've recently been working on a hobby project called ArduBIOS, a BIOS and opcode interpreter for Arduino, basically a code that transforms your Arduino into an 8-bit microcomputer with a memory map, stack, etc.

Feedback welcome <3

Features

  • Basic output system on Serial Monitor (25% of a BIOS)
  • 128 bytes reserved for the stack
  • 512 bytes reserved for user RAM (RAM for programs)
  • Registers and flags (50% complete): (Registers A, B, C, and D and zero, carry, and negative flags)
  • Basic opcodes
  • Jumps and conditional jumps (jmp n; jz n)
  • Simple mathematical operators (addition and subtraction)
  • Stop values ​​and nulls (0x00; 0xFF)

Ideas for the future

  • Complete BIOS (input and output)
  • SD card support as a floppy disk
  • Generic keyboard input support
  • 16x2 monitor support
  • File system as FAT12
  • Public assembler made in NodeJS
  • Interrupt system

You can take a look at Project details here: Github Project

Top comments (0)