Date : Mon, 14 May 2001 11:02:49
From : "C Davies" <davies_@...>
Subject: Re: Loading locked files
Wasn't it a case of setting up an event to mask byte $3CA with $FE? If I've
remembered the correct address and bitmask I'll be amazed - it's been quite
a while....
>From: James Fidell <james@...>
>To: "List, BBC" <bbc-micro@...>
>Subject: Re: [BBC-Micro] Loading locked files
>Date: Mon, 14 May 2001 10:40:35 +0100
>
>Quoting Thomas Harte (t.harte@...):
>
> > I noticed that some games (Millionaire from Incentive, Karate Combat
>from
> > Superior) use an OSFILE command to load a locked file. How come this is
> > allowed?
>
>I don't specifically remember how those two games did it, but I seem to
>recall that this was usually achieved by installing an interrupt-driven
>routine which over-wrote the locked bit when the header was read into
>memory, so the OS would see the file as locked if the loader program wasn't
>run first.
>
>James
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.