diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 988b75c..0000000 --- a/TODO.md +++ /dev/null @@ -1,11 +0,0 @@ -- more PIA: check out vice - -PIA init-sequence -5021 > 12 7F -5021 > 11 A7 -5022 > 13 A7 -5023 > 12 5C -5025 > 12 D -5026 > 12 0 - -http://mamedev.org/source/src/mess/machine/apple1.c.html diff --git a/pia.cpp b/pia.cpp index 7ce8e7b..53ba09d 100644 --- a/pia.cpp +++ b/pia.cpp @@ -145,7 +145,7 @@ void PIA::write_cb2(bool state) { } uint8_t PIA::read_cra() { - byte b = cra; + uint8_t b = cra; if (irq_a1) b |= IRQ1; @@ -157,7 +157,7 @@ uint8_t PIA::read_cra() { } uint8_t PIA::read_crb() { - byte b = crb; + uint8_t b = crb; if (irq_b1) b |= IRQ1;