Re: A82: Why Turbo Sucks. (also reply to dines)


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

Re: A82: Why Turbo Sucks. (also reply to dines)




At 03:57 AM 12/23/97 -0500, you wrote:
>>No one has yet released a shell which solves all these problems without
>>using usgard like relocation, and i do not beleive that it is possible to
>>do so. Since a lot of people have been asking for these features i do plan
>>to use Usgard like relocation. This will among other things make programs
>>like GameWizard and MarioMan smaller and easier to make.
>
>How can you POSSIBLY have terminate and stay resident features with
>something that can move around anywhere?  The Z80 has a 1 byte register that
>makes up a 16 bit pointer, and each byte in the table works the same way.
>How can an interrupt handler make such a table if it's not at a known
>address like APD_BUF?

The shell uses the APD_BUF (or some other specific location).  From there,
programs such as Game Wizard can call a routine in the shell to add an
address to call every interrupt.  Since the addrs. (controlled by the
shell) will move around, the shell can update the table of addrs whenever a
relocation is done.  This allows Game Wizard to remain firmly resident in
memory along with other programs.


                 Thomas J. Hruska -- thruska@tir.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
         http://www.geocities.com/SiliconValley/Heights/8504
                    http://shinelight.home.ml.org

  Spam-Fighter code is:  14806560   (New technique to fighting spam)
  Enter "Spam-Fighter:  XXXXXXXX" in the body of a personal message
  to thruska@tir.com.  Otherwise the message will be filtered as spam.


References: