Date : Mon, 14 May 2001 10:40:35 +0100
From : James Fidell <james@...>
Subject: Re: Loading locked files
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