Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Detect supervisor mode?
Posted by: Stabylo Sep,24.2009-11:23 

Indeed : http://removers.free.fr/wikipendium/wakka.php?wiki=Super%28%29

But the thing is, you only need to go in supervisor mode when installing your $70 routine. Once installed, it will be executed in supervisor mode because $70 is an interrupt vector.
So you could simply use the XBIOS Supexec(my_installer_routine). See: http://removers.free.fr/wikipendium/wakka.php?wiki=Supexec%28%29

But you actually need not go supervisor to set-up some vector. Sounds like you only need to call the Setexc BIOS function like this: Setexc($70/4, my_vbl_routine). The simpler solution, by far.

See http://removers.free.fr/wikipendium/wakka.php?wiki=Setexc%28%29








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Detect supervisor mode? Per Almered (XiA) Sep,23.2009-22:12
  Re: Detect supervisor mode? lp060 Sep,24.2009-05:46
    Re: Detect supervisor mode? Per Almered (XiA) Sep,24.2009-11:19
    Re: Detect supervisor mode? Stabylo Sep,24.2009-11:23
      Re: Detect supervisor mode? Per Almered (XiA) Sep,24.2009-20:19
        Re: Detect supervisor mode? Grazey / PHF Sep,24.2009-20:43
  Re: Detect supervisor mode? Dbug Sep,24.2009-23:32
    Re: Detect supervisor mode? Per Almered (XiA) Sep,25.2009-14:39
    Re: Detect supervisor mode? Per Almered (XiA) Sep,25.2009-17:15
      Re: Detect supervisor mode? Dbug Sep,26.2009-10:40


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson