Re: A82: Re: Dines + the future of Ash (Update on Ash 4.0)


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

Re: A82: Re: Dines + the future of Ash (Update on Ash 4.0)




Instead of moving the programs to a fixed location in memory, Usgard
adjusts the addresses used in calls and jumps, to the correct addresses,
based on the programs current position. This makes it possible to have
more than one program relocated at one time. Besides that i also makes it
possible to support TSRs in a way which mkes it easy for the programmer.
And you can actually have relocated TSR programs.

The reason that Usgard like relocation will give you fewer crashes is that
you do not move anything in the mem, you are just adding/subtracting an
offset from certain parts of the instruction. If you turned off the calc
in a programs which is relocated´, the shell can see this when it starts
the program again and correct it. 

As i see it one of the main reasons for Usgard like relocation is that it
makes TSR possible.

Dines
-----Original Message-----
From: ADAMMAN106 <ADAMMAN106@aol.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: 23. december 1997 00:39
Subject: Re: A82: Re: Dines + the future of Ash (Update on Ash 4.0)


>
>In a message dated 97-12-22 18:21:32 EST, you write:
>
>> I am planning on including a TSR controller like the one found in
Usgard,
>>  it is a really nice feature. The only problem with this is that it is
only
>>  possible to do it if Usgard like relocation is used. 
>>  
>>  Dines
>
>That's fine, though I don't know the details behind Usgard relocation. 
Maybe
>you can explain it.
>
>~Adamman
>

_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________