2015-11-14 00:52:51 +00:00
|
|
|
auto SDD1::serialize(serializer& s) -> void {
|
2012-07-08 02:57:34 +00:00
|
|
|
s.array(ram.data(), ram.size());
|
|
|
|
|
2016-05-02 09:57:04 +00:00
|
|
|
s.integer(r4800);
|
|
|
|
s.integer(r4801);
|
|
|
|
s.integer(r4804);
|
|
|
|
s.integer(r4805);
|
|
|
|
s.integer(r4806);
|
|
|
|
s.integer(r4807);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-11-14 00:52:51 +00:00
|
|
|
for(auto n : range(8)) {
|
2010-08-09 13:28:56 +00:00
|
|
|
s.integer(dma[n].addr);
|
|
|
|
s.integer(dma[n].size);
|
|
|
|
}
|
2016-05-02 09:57:04 +00:00
|
|
|
s.integer(dmaReady);
|
2010-08-09 13:28:56 +00:00
|
|
|
}
|