Welcome, Guest. Please login or register.

Author Topic: some people call it hacking  (Read 10697 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: some people call it hacking
« on: October 26, 2002, 04:29:45 AM »
IN:
   a0 - ptr to bootblock buffer (PC - 12) (not guaranteed!)
   a1 - struct IOStdReq * of the booting device
   a3 - struct IOStdReq * (same as a1, but not guaranteed!)
   a5 - expansionbase (not guaranteed!)
   a6 - execbase

a1 and a6 are guaranteed to contain these values [at least KS 1.2-3.1], since almost all bootloaders rely on them.

OUT:
   d0 - zero if bootblock succeeded, else nonzero
   a0 - if d0 is zero, a0 is ptr to dos.library resident RT_INIT function that is called later to fire up dos.