2013-05-05 09:21:30 +00:00
|
|
|
void CPU::serialize(serializer& s) {
|
2012-04-29 06:16:44 +00:00
|
|
|
R6502::serialize(s);
|
2012-03-23 10:43:39 +00:00
|
|
|
Thread::serialize(s);
|
2011-09-23 11:13:57 +00:00
|
|
|
|
|
|
|
s.array(ram);
|
|
|
|
|
|
|
|
s.integer(status.interrupt_pending);
|
|
|
|
s.integer(status.nmi_pending);
|
|
|
|
s.integer(status.nmi_line);
|
|
|
|
s.integer(status.irq_line);
|
|
|
|
s.integer(status.irq_apu_line);
|
|
|
|
|
|
|
|
s.integer(status.rdy_line);
|
2013-05-05 09:21:30 +00:00
|
|
|
s.integer(status.rdy_addr_valid);
|
|
|
|
s.integer(status.rdy_addr_value);
|
2011-09-23 11:13:57 +00:00
|
|
|
|
|
|
|
s.integer(status.oam_dma_pending);
|
|
|
|
s.integer(status.oam_dma_page);
|
|
|
|
|
|
|
|
s.integer(status.controller_latch);
|
|
|
|
s.integer(status.controller_port0);
|
|
|
|
s.integer(status.controller_port1);
|
|
|
|
}
|