Skip to content

Instantly share code, notes, and snippets.

@kierenj
kierenj / DCPU16 debugger device
Created May 17, 2012 11:54
DCPU16 debugger device
Name: Generic Debugger (compatible)
ID: 0xdeb91111
Version: 1
Interrupts do different things depending on contents of the A register:
A | BEHAVIOR
---+----------------------------------------------------------------------------
0 | Trigger a breakpoint
1 | Output diagnostics word (value in B)