Commit graph

14 commits

Author SHA1 Message Date
devinacker
ab9491005c let VRAM::operator[] optimize to a normal array read if not building with VRAM expansion support 2019-10-08 20:47:45 -04:00
devinacker
c5a12644f7 Merge branch 'master' into vramexpand 2019-10-08 20:31:03 -04:00
devinacker
4c86ec19cf make sure SNES config struct is initialized before first access (should fix #229) 2019-08-31 17:26:50 -04:00
devinacker
d66b770d4d disable vram expansion option for non-accuracy builds 2019-01-06 02:15:30 -05:00
devinacker
1d93fffa88 add vram expansion support to accuracy build (WIP) 2019-01-06 01:59:22 -05:00
devinacker
843afbff15 try to avoid mapping RAM when it doesn't exist 2016-12-10 08:19:38 -05:00
devinacker
59253c9e17 make power-on state less deterministic
(a la later bsnes/higan behavior; mostly affects the accuracy core)
2016-10-29 22:46:12 -04:00
devinacker
d308c1be15 allow debugger to read MMIO without side effects
(closes #46 assuming I didn't screw anything up)
2016-05-06 20:37:37 -04:00
devinacker
8aa0e356da Revert "go back to masking MMI/O addresses"
This reverts commit b85fd3a9bb.
2015-05-19 22:54:11 -04:00
devinacker
b85fd3a9bb go back to masking MMI/O addresses
this was causing a segfault when starting or loading a game in
"Marvelous: Mouhitotsu no Takara-jima", wherein the SA-1 would write to
$2250 with DB == $06, making MMIOAccess::write read far out of bounds
2015-05-19 20:46:37 -04:00
Alex.W.Jackson@gmail.com
3eec88bf82 debugger: add a flag indicating that the debugger is accessing the bus; this is used to suppress unwanted side effects of reads (e.g. cothread switches, latch-on-read registers) and to allow ROM to be modified (in place of MappedRAM::write_protect(), which is going away soon)
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@61 fe182637-1eec-a322-cce2-af8e45122353
2015-05-16 10:52:07 -04:00
Alex.W.Jackson@gmail.com
fb4b769e7c Nonexistent MappedRAM's size() is now 0 and not a magic number
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@56 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:34:33 -04:00
Alex.W.Jackson@gmail.com
d58a0f0fd5 memory: Make breakpoint mirroring work with MMIO (requiring some changes to BSXCart). While at it, remove some redundant masking and replace some magic numbers with enums
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@40 fe182637-1eec-a322-cce2-af8e45122353
2015-04-18 19:54:25 -04:00
devinacker
d88ac78d30 initial commit 2014-11-26 18:35:12 -05:00