If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
Talk:Mazin Saga: Mutant Fighter
Jump to navigation
Jump to search
This is the talk page for Mazin Saga: Mutant Fighter.
|
|
User Mode
What kind of programming can cause the User Mode exception (aka Privilege violation in some Genesis docs)? If it's something specific that can be searched for, that may give more clues on how to get the debug programming to function (if it's even possible) --JLukas 23:23, 30 April 2012 (EDT)
- The 68000 can run in either "supervisor mode" or "user mode" with supervisor mode having more control over the system (think kernel mode/user mode on x86). The Genesis doesn't use it/need it; every game I've seen turns supervisor mode on ($2xxx in sr) - Andlabs 23:55, 30 April 2012 (EDT)
- Pretty much, it's supposed to be used by operating systems only. On the Genesis the only thing you get from switching into user mode is being unable to change the interrupt masks, which is completely pointless (not to mention you can still enable/disable them through the video hardware itself). To switch into user mode use $0xxx instead of $2xxx when changing the value of sr (you'll switch back into supervisor mode when an interrupt happens). —Sik 14:28, 15 May 2013 (EDT)