1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Since the ROM is well disassembled, let's actually try to be a 1541 first.

This commit is contained in:
Thomas Harte
2016-07-06 22:17:32 -04:00
parent 4f174786b5
commit 1baf21827c
6 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
#define _522_hpp
#include <cstdint>
#include <typeinfo>
#include <cstdio>
namespace MOS {
@@ -52,7 +53,7 @@ template <class T> class MOS6522 {
inline void set_register(int address, uint8_t value)
{
address &= 0xf;
// printf("6522 %p: %d <- %02x\n", this, address, value);
// printf("6522 [%s]: %0x <- %02x\n", typeid(*this).name(), address, value);
switch(address)
{
case 0x0: