This website requires JavaScript.
Explore
Help
Register
Sign In
ShuriZma
/
bsnes
mirror of
https://github.com/bsnes-emu/bsnes.git
Watch
1
Star
0
Fork
You've already forked bsnes
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4c9266d18f
bsnes
/
sfc
/
chip
/
superfx
/
mmio
/
mmio.hpp
3 lines
92 B
C++
Raw
Normal View
History
Unescape
Escape
Update to v094r33 release. byuu says: Small WIP, just fixes the timings for GSU multiply. However, the actual product may still be wrong when CLSR and MS0 are both set. Since I wasn't 'corrupting' the value in said case before, then this behavior can only be better than before. Turned the (cache,memory)_access_timing into functions that compute the values; and pulled "clockspeed" into GSU. Also, I'm thinking it might be kind of pointless to have clockspeed at all. Supposedly even the Mario Chip can run at 21.48MHz anyway. Enforcing 10.74MHz mode seems kind of silly. If we change it to just be a "default value for CLSR", then we can just inline the memory access tests without the need for the access_timing functions (literally just clsr?2:1 then) Slight compilation bug: go to processor/gsu/registers.hpp:33 and add reg16_t() = default; I missed it due to a partial recompile. Too lazy to upload another WIP just for that. Probably not worth doing much SuperFX testing just yet, as it looks like they're doing some other tests at the moment on NESdev.
2015-06-27 02:38:47 +00:00
auto
mmio_read
(
unsigned
addr
)
-
>
uint8
;
auto
mmio_write
(
unsigned
addr
,
uint8
data
)
-
>
void
;