Article View: net.micro.atari16
Article #2683Re: Patches for the RAM disk program
From: rbk
Date: Tue, 04 Nov 1986 12:56
Date: Tue, 04 Nov 1986 12:56
39 lines
1936 bytes
1936 bytes
<><><><><><><><>
> If you want to use the RAM disk program I've posted as a drive other
> than 'D', you have to patch it. This patch is essential if you want to use
> a hard disk together with the RAM disk. Here is an old hint:
> ... (some lines deleted) ...
> What I think was meant: Change the bytes at the following
> offsets from the beginning of the ".prg" file:
>
> offset old value(for drive D) new value (for drive F)
> ====== ====================== =======================
>
> $145 (325) 03 05
> $173 (371) 03 05
> $181 (385) 03 05
> $193 (403) 03 05
>
> The first one is the "BSET #3,D0" in the installation, the other three
> are "CMP #3,x(A7)"s in handling calls to disk device drivers.
>
> For drive C instead of F, use the value 02.
>
> To change the default RAM disk size, change the byte at offset
> $B3 (179): The value is the size in units of 64K, e.g. 03 for
> a default size of 192K, 09 for 576K.
>
> WARNING: These are untested speculations!!!
> If somebody tests this (with a hard disk, if possible), please tell us!
> Jeff, if you're out there: please confirm &/or post the fix and the
> disassembly!
>
> - Moshe Braner
The patch works as advertised; thanks Moshe!
BTW, I changed the byte to "0C" for Drive "M" since
I already have a hard disk partition called "F".
R. Brad Kummer {ihnp4, seismo!akgua}!akguc!rbk
AT&T Bell Labs Atlanta, GA
Technical Details
Message-ID:
<7719@akguc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!codas!akgua!akguc!rbkReferences:
<1354@batcomputer.TN.CORNELL.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!codas!akgua!akguc!rbk From: rbk@akguc.UUCP (rbk) Newsgroups: net.micro.atari16 Subject: Re: Patches for the RAM disk program Message-ID: <7719@akguc.UUCP> Date: Tue, 4-Nov-86 07:56:58 EST Article-I.D.: akguc.7719 Posted: Tue Nov 4 07:56:58 1986 Date-Received: Wed, 5-Nov-86 06:34:58 EST References: <1354@batcomputer.TN.CORNELL.EDU> Organization: AT&T Technologies/Bell Labs, Atlanta Lines: 39