2015-11-10 11:02:29 +00:00
|
|
|
auto SMP::serialize(serializer& s) -> void {
|
2012-04-29 06:16:44 +00:00
|
|
|
SPC700::serialize(s);
|
2012-03-23 10:43:39 +00:00
|
|
|
Thread::serialize(s);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
Update to v074r11 release.
byuu says:
Changelog:
- debugger compiles on all three profiles
- libsnes compiles on all three platforms (no API changes to libsnes)
- memory.cpp : namespace memory removed (wram -> cpu, apuram -> smp,
vram, oam, cgram -> ppu)
- sa1.cpp : namespace memory removed (SA-1 specific functions merged
inline to SA1::bus_read,write)
- GameBoy: added serial link support with interrupts and proper 8192hz
timing, but obviously it acts as if no other GB is connected to it
- GameBoy: added STAT OAM interrupt, and better STAT d1,d0 mode values
- UI: since Qt is dead, I've renamed the config files back to bsnes.cfg
and bsnes-geometry.cfg
- SA1: IRAM was not syncing to CPU on SA-1 side
- PPU/Accuracy and PPU/Performance needed Sprite oam renamed to Sprite
sprite; so that I could add uint8 oam[544]
- makes more sense anyway, OAM = object attribute memory, obj or
sprite are better names for Sprite rendering class
- more cleanup
2011-01-24 09:03:17 +00:00
|
|
|
s.array(apuram);
|
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(status.clockCounter);
|
|
|
|
s.integer(status.dspCounter);
|
|
|
|
s.integer(status.timerStep);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(status.clockSpeed);
|
|
|
|
s.integer(status.timerSpeed);
|
|
|
|
s.integer(status.timersEnable);
|
|
|
|
s.integer(status.ramDisable);
|
|
|
|
s.integer(status.ramWritable);
|
|
|
|
s.integer(status.timersDisable);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(status.iplromEnable);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(status.dspAddr);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2011-05-02 13:53:16 +00:00
|
|
|
s.integer(status.ram00f8);
|
|
|
|
s.integer(status.ram00f9);
|
2010-08-09 13:28:56 +00:00
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(timer0.stage0);
|
|
|
|
s.integer(timer0.stage1);
|
|
|
|
s.integer(timer0.stage2);
|
|
|
|
s.integer(timer0.stage3);
|
|
|
|
s.integer(timer0.line);
|
2011-05-05 11:37:46 +00:00
|
|
|
s.integer(timer0.enable);
|
|
|
|
s.integer(timer0.target);
|
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(timer1.stage0);
|
|
|
|
s.integer(timer1.stage1);
|
|
|
|
s.integer(timer1.stage2);
|
|
|
|
s.integer(timer1.stage3);
|
|
|
|
s.integer(timer1.line);
|
2011-05-05 11:37:46 +00:00
|
|
|
s.integer(timer1.enable);
|
|
|
|
s.integer(timer1.target);
|
|
|
|
|
2015-11-10 11:02:29 +00:00
|
|
|
s.integer(timer2.stage0);
|
|
|
|
s.integer(timer2.stage1);
|
|
|
|
s.integer(timer2.stage2);
|
|
|
|
s.integer(timer2.stage3);
|
|
|
|
s.integer(timer2.line);
|
2011-05-05 11:37:46 +00:00
|
|
|
s.integer(timer2.enable);
|
|
|
|
s.integer(timer2.target);
|
2010-08-09 13:28:56 +00:00
|
|
|
}
|