Nп/п : 32 из 47
 От   : Oliver Schmidt                      2:5075/128        23 авг 23 07:38:54
 К    : Colin Leroy-Mira                                      23 авг 23 10:40:02
 Тема : Re: Typo in ProDOS refTechMan
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@solani.org> d91a7a15
@REPLY: <20230823082311.3dc76fb1@laptop-sigfox>
6fcf830b
@REPLYADDR Oliver Schmidt <ol.sc@web.de>
@REPLYTO 2:5075/128 Oliver Schmidt
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@solani.org>
@RFC-References: <20230822221945.4eb8a091@laptop-sigfox>
<yubzg2iicr9.fsf@jpen.ca> <20230823082311.3dc76fb1@laptop-sigfox>
@TZUTC: -0000
@PID: NewsTap/5.5 (iPhone/iPod Touch)
@TID: FIDOGATE-5.12-ge4e8b94
Colin Leroy-Mira <colin@colino.net> wrote:
> Hi,

>> 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.

> I only noticed it because I couldn`t see it returning by looking for
> its return point when adding 3 to the address where it was called :)

I - pretty strongly - disagree. What JSR does is an implementation detail.
What the documentation wants to express is that MLI returns 3 bytes
"behind" what a "bare" JSR returns to. Putting a 6 there instead of a 3 is
plainly wrong.
--- NewsTap/5.5 (iPhone/iPod Touch)
 * Origin: usenet.network (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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх