mirror of
https://github.com/jscrane/Apple1.git
synced 2024-05-29 00:41:43 +00:00
...
This commit is contained in:
parent
3b1bae0581
commit
ef069e2582
11
TODO.md
11
TODO.md
|
@ -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
|
|
4
pia.cpp
4
pia.cpp
|
@ -145,7 +145,7 @@ void PIA::write_cb2(bool state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t PIA::read_cra() {
|
uint8_t PIA::read_cra() {
|
||||||
byte b = cra;
|
uint8_t b = cra;
|
||||||
|
|
||||||
if (irq_a1)
|
if (irq_a1)
|
||||||
b |= IRQ1;
|
b |= IRQ1;
|
||||||
|
@ -157,7 +157,7 @@ uint8_t PIA::read_cra() {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t PIA::read_crb() {
|
uint8_t PIA::read_crb() {
|
||||||
byte b = crb;
|
uint8_t b = crb;
|
||||||
|
|
||||||
if (irq_b1)
|
if (irq_b1)
|
||||||
b |= IRQ1;
|
b |= IRQ1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user