branlwyd / bdcpu16

DCPU-16 simulator based on version 1.7 of the DCPU-16 specification. See http://dcpu.com/.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better error handling

branlwyd opened this issue · comments

Currently the DCPU fails silently on error conditions (or crashes!). A few areas that should have well-defined error conditions:

  • Illegal/unrecognized instructions (currently causes a NullPointerException!)
  • Filled interrupt queue (currently drops all queued interrups)

Error handling added in 262e60e. Closing.