[A83] Re: Error in SDK Documentation?
[Prev][Next][Index][Thread]
[A83] Re: Error in SDK Documentation?
Well, that's true. On the other hand, there *are* these sorts of errors in
the Dev Guide. Also, I'd be quite surprised if something like VPutMap
changes. I'd guess that the routine's barely changed since the original
TI-81 routine (other than adding hooks). Especially since a lot of TIOS
routines (VPutS and VPutSN to name two) rely on the fact that VPutMap
preserves HL.
It is better to be safe than sorry, but I for one wouldn't have any qualms
assuming VPutMap will preserve HL.
-Dan Englender
(Yes, if TI ever changes VPutMap to destroy HL, you have permission to hit
me with a rubber trout.)
----- Original Message -----
From: "David Phillips" <david@acz.org>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, January 15, 2002 10:06 PM
Subject: [A83] Re: Error in SDK Documentation?
>
> Just because it actually does preserve a register doesn't mean that it has
> to. It could change in later ROM versions. To be on the safe side, you
> should not assume that it does.
>
> > I was wondering if all the information in the SDK is completely
> > accurate.I've used VPutMap in loops to print out a null terminated
> > string, or something similar. I never preserve HL, yet this loop seems
> > to work fine. In the SDK, it says that VPutMap destroys "All but
> > BC".Here's an example loop.
>
>
>
>
References: