[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird problem with LineEdit patch



Is this the LineEdit patch I posted?  The really trivial one?

It does two things:

    (1) patch into the tool vector
    (2) watch for LEStartUp()

If the LEStartUp() call appears rational, nothing is done.  If it looks
backward, the args are reversed, and then the call is made.


A few notes:

    - The patch does a REP #$30 to force 16-bit registers.  Since you aren't
      supposed to be calling the toolbox with 8-bit registers, this shouldn't
      be a problem.  If you have GSBug installed, it would be yelling at
      you if a call was made with 8-bit regs.

    - If somebody else patched out the tool vector, but did it incorrectly,
      there might be a problem.  Changing the order of the INITs might help
      here.

    - The LE patch is built into HardPressed v1.0.1, but can be inactivated
      from the "Secret" menu in the CDev.

-- 
fadden@uts.amdahl.com (Andy McFadden)

"Our UNIX is bigger than your UNIX"
[ These are my opinions, not Amdahl policies. ]