<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 22 Aug 2008 22:26:29 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: Master 128 century correction

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.
 
> as I am uncertain as to the meaning of "myrom" and the subroutine
> "myword". I would be most grateful if you would expand on your line
 
"myrom" is whatever ROM the "my" code lives in, and "myword" is "my"
replacement OSWORD routine.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
**** DO NOT EMPLOY MARREN BUILDERS/ROOFERS, SHEFFIELD ****
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>