On 28 July 2000 03:00, Robert Wilkinson [SMTP:[EMAIL PROTECTED] wrote:
> Hello all.
> 
> Can anyone help.
> 
> I'm changing my Dos to B-Dos, I need to be able to re-save the dos after 
> DVAR0 has been poked.
> How do I do this. Masterdos/Basic has a SAVE BOOT option but B-dos doesn't 
> seem to have this.
> 
> Regards.
> 
> Bob Wilkinson.
> 
> [EMAIL PROTECTED]
> 
> 
 Try this.
Boot SAM using the DOS you want to poke 
Type in PRINT DVAR 0 MOD 16384 - 9  to get the offset of DVAR 0 in the dos code
Load the dos code to memory ie. LOAD "dos" CODE 65536
then POKE 65536+offset+dvar,n    where offset is the value obtained above and 
dvar is the DVAR number. 
Resave the dos with SAVE "dos" CODE 65536,length
This should work with any dos not combined with MasterBasic, in which case the 
SAVE BOOT form should be used


Geoff Bridges       [EMAIL PROTECTED]

Reply via email to