Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Jose on June 24, 2006, 06:21:38 PM

Title: RawDoFmt () Only A3 preserved ?
Post by: Jose on June 24, 2006, 06:21:38 PM
Hi. Is A3 the only register preserved between each call to PutChProc () ?

The reason I ask this is I was modifing my current PutChProc to receive a pointer to a pointer to the next character to write to in a string. The advantage is that it would allow me to have a pointer to a string's end wich would be automatically updated on each write to the string without having to count the nr. of characters that are writen first. Can defenitly be done with just A3 receiving the double pointer but code would be more efficient if I could count on another address register preserved between calls.