2015-11-21 07:36:48 +00:00
|
|
|
auto uPD96050::serialize(serializer& s) -> void {
|
2012-03-26 10:13:02 +00:00
|
|
|
s.array(dataRAM);
|
|
|
|
|
|
|
|
s.array(regs.stack);
|
|
|
|
s.integer(regs.pc);
|
|
|
|
s.integer(regs.rp);
|
|
|
|
s.integer(regs.dp);
|
|
|
|
s.integer(regs.sp);
|
|
|
|
|
|
|
|
s.integer(regs.k);
|
|
|
|
s.integer(regs.l);
|
|
|
|
s.integer(regs.m);
|
|
|
|
s.integer(regs.n);
|
|
|
|
s.integer(regs.a);
|
|
|
|
s.integer(regs.b);
|
|
|
|
|
2016-06-08 22:26:35 +00:00
|
|
|
s.integer(regs.flaga.data);
|
|
|
|
s.integer(regs.flagb.data);
|
2012-03-26 10:13:02 +00:00
|
|
|
|
|
|
|
s.integer(regs.tr);
|
|
|
|
s.integer(regs.trb);
|
|
|
|
|
2016-06-08 22:26:35 +00:00
|
|
|
s.integer(regs.sr.data);
|
2012-03-26 10:13:02 +00:00
|
|
|
s.integer(regs.dr);
|
|
|
|
s.integer(regs.si);
|
|
|
|
s.integer(regs.so);
|
|
|
|
}
|