Remember me

Lost Password?

Register now!


Who's Online
99 user(s) are online (90 user(s) are browsing Forums)

Members: 1
Guests: 98

nbache, more...

Support us!


Report message:*

Re: Is Forbid() needed for SetMethod()?

Subject: Re: Is Forbid() needed for SetMethod()?
by Steady on 2019/4/9 5:24:03


That dos.library note is just saying that dos.library <36 is "special" and is not set up normally due to it primarily being a way to call the internal functions supplied by Tripos.

I don't think that implies you do not need to Forbid()/Permit() when patching >=36 functions on any library.

Personally, I think it comes down to the library in question ... Some (like exec) would likely need a Disable if you change functions that can be called from interrupts, otherwise Forbid would be enough. You wouldn't want to change the function right as another program is calling it.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project