Talk:83Plus:BCALLs:51CA

From WikiTI
Revision as of 00:30, 20 May 2005 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

So.... I'm a little confused by this entry point. From what I can tell it does the following: 1) Compares the 2nd and 3rd bytes of the the currently loaded help hook with the value 1802h 2) If it matches, it makes a 16bit number out of the 4th and 5th bytes of the currently loaded help hook. 3) It subtracts from 0214h that previously read 16bit value. 4) It returns, restoring all registers other than F.

1802 is jr $+4, which is enough to skip over the value that's being compared to 0214. So it seems like it's checking the help hook for a certain ID. Why, and what installs the help hook that this routine is looking for is a mystery to me though. If anyone has any more info please add.