Re: A92: handle_ptr?
[Prev][Next][Index][Thread]
Re: A92: handle_ptr?
>
>David Kühling wrote:
>>
>> LGB240 wrote:
>>
>> > is there a command in fargo II equivalent to handle_ptr in fargo
0.1.x? or is
>> > there a macro anyone can give me? I'm trying to port farg o0.1.x games.
>>
>> In tios.h there is one, i think it is named DEREV.
>
>It's called tios::DEREF and if works in exactly the same way as the old
>one, including destroying the used data register.
If you want to restore the used data register, you only have to do
lsr.w #2,d1 if the data resister was d1
---Doors Team
xavassor@infonie.fr or deucalion@infonie.fr
References: