Date : Sun, 24 Aug 2008 07:17:06 +0930
From : rafg1@... (Raf)
Subject: Master 128 century correction
Message-ID: <EBB1777AA6524AB287E18E53DA74C88D@...>
Jonathan Graham Harston wrote:
> [snip]
>> 450 :
>> 460 .oldwordv:EQUW 0
>> 470 ]
>
> Try adding:
>
> 471 P%=&865C:O%=P%-&8000+mcode%
> 472 [OPT P*3
> 473 EQUW &DC00:EQUB &F0:EQUB &20:EQUB &7E
> 474 ]
>
>> 480 NEXT
>> 490 A$="SAVE NEWTIME "+STR$~mcode%+" "+STR$~O%+" 8000 8000"
>> 500 OSCLIA$
>
> Turns out the *BUILD and *APPEND commands are in ROM 15, and, very
> naughty, pass a control block to OSWORD in ROM! Which means that
> it depends on the OSWORD code not changing the paged in ROM.
>
> The above code replicates the control block in the NewTime ROM, so
> when the OSWORD intercept changes ROM, the control is still there.
Hi John,
1. So, as *BUILD and *APPEND commands are in ROM 15, and, very naughtily,
pass a control block to OSWORD in ROM!, I take it that there a bug in MOS
3.20 and probably up to 3.50.
2. Would you please assist with full working programme listing(s), Jonathan,
as
I am having all sorts of problems getting the code to work correctly.
With Best wishes,
Raf.
E-mail message checked by Spyware Doctor (6.0.0.362)
Database version: 5.10540
http://www.pctools.com/en/spyware-doctor-antivirus/