Commit Graph

13 Commits

Author SHA1 Message Date
Ariejan de Vroom 8bf1e629e6 Update testify assert methods
`assert.Equal` now tests for type equality as well, which means
256 != 0xff. The alternative is to use `assert.EqualValues`
2015-04-09 09:20:04 +02:00
Ariejan de Vroom da43c2bca1 Update Memory interface
Because io.Reader and io.Writer already claim the functions Read and
Write it was necessary to rename the Memory interface methods Read and
Write to ReadByte and WriteByte.
2014-08-19 16:49:48 +02:00
Ariejan de Vroom e77a599b10 Add more documentation 2014-08-17 15:53:35 +02:00
Ariejan de Vroom 9ee72dc145 Clean up code / Refactorings 2014-08-16 21:54:06 +02:00
Ariejan de Vroom 955e7db2dc Reorder tests for faster feedback. 2014-08-16 10:47:03 +02:00
Ariejan de Vroom 33ca177f90 Implement remaining opcodes; tests 2014-08-16 10:37:56 +02:00
Ariejan de Vroom f3f95dda39 Implement more opcodes, minor improvements 2014-08-14 21:31:04 +02:00
Ariejan de Vroom 9c8f47abbc Implement ADC, including Carry, Overflow, Decimal 2014-08-13 22:42:26 +02:00
Ariejan de Vroom c3ffb2e87b Implement NOP instruction 2014-08-13 13:51:53 +02:00
Ariejan de Vroom 0fe91268ad Add Cpu program loading 2014-08-13 11:49:49 +02:00
Ariejan de Vroom e96ce1e84a Add basic Cpu/Bus/Ram architecture. 2014-08-13 09:26:33 +02:00
Ariejan de Vroom f88946a622 Use testify for cleaner tests 2014-08-13 06:19:44 +02:00
Ariejan de Vroom 57b940dce1 Add NewCpu() 2014-08-12 21:28:30 +02:00