Permalink
Browse files

Rewrite the core (again)

The task list was an ill-conceived idea. Switch to a simple state-based
approach, that remembers where it left off. This is much simpler, and
the execution time per cycle is more predictable.
  • Loading branch information...
1 parent ebb448a commit 87eb6533b2f5795edcc48cf5ad1068a57e22751c @kballard committed Apr 12, 2012
Showing with 343 additions and 437 deletions.
  1. +311 −422 dcpu/core/core.go
  2. +29 −13 dcpu/core/core_test.go
  3. +2 −2 dcpu/core/memory.go
  4. +1 −0 dcpu/core/opcodes.go
Oops, something went wrong.

0 comments on commit 87eb653

Please sign in to comment.