----------------------------------------------------------------------------------
@MSGID: <yubzg2iicr9.fsf@jpen.ca> 7e1ad724
@REPLY: <20230822221945.4eb8a091@laptop-sigfox>
1da3872e
@REPLYADDR Jerry Penner <jerry+a2@jpen.ca>
@REPLYTO 2:5075/128 Jerry Penner
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: <yubzg2iicr9.fsf@jpen.ca>
@RFC-References:
<20230822221945.4eb8a091@laptop-sigfox>
@TZUTC: -0600
@PID: Gnus/5.13 (Gnus v5.13) Emacs/27.1
(gnu/linux)
@TID: FIDOGATE-5.12-ge4e8b94
Colin Leroy-Mira <
colin@colino.net> writes:
> Hi everyone,
>
> I think there`s a typo in the ProDOS Technical Reference Manual at
>
http://www.easy68k.com/paulrsm/6502/PDOS8TRM.HTM#4.2
>
> In fact, "Upon completion of the call, the MLI returns to the address
> of the JSR plus 6" - not 3.
>
> Unless I`m mistaken.
>
> HTH,
I think you`re right. What ProDOS does is add 3 bytes to the return
address to pass over the command-number and command-list-address, but
the effect is that execution continues 6 bytes after the start of the
JSR instruction. I have read that page many times and never noticed
that, probably because I understood what was going on with the
return-address.
Nice catch.
--
--
Jerry jerry+a2 at jpen.ca
--- Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441