dyer@wivax.UUCP (Stephen Dyer) (05/11/84)
It is very easy to patch your /d1 device descriptor to point to drive 0. Use DEBUG, load /d, and change IT.DRV, which contains the physical drive number. Look at the Radio Shack docs: OS9 Technical Information, p. 39 describes the layout of the RBF device descriptors, and the Program Development manual describes how to use debug to patch the location. Now, saving this permanently I don't have at hand right now (it CAN be done) but it's pretty easy to do this by hand before starting a session. -- /Steve Dyer decvax!bbncca!sdyer sdyer@bbncca
danm@mspiggy (Dan McCabe) (05/15/84)
Several of the RS/MW C compiler modules explicitly reference drive 1 (/d1). This is a hassle if you have only one drive, or if your other drive (maybe a winnie) is not named /D1. Fortunately, it is easy to fix. First off all copy your old files to save them in case you screw up. Simply get into debug for each of your modules. Search for the string "d1". Once found, change it to whatever you want. Make sure that if the new name is shorted than /D1 (e.g. /W), the string is null terminated. Exit debug. Verify the files (with -u (??) flag). Standard output will contain the corrected version. Delete the patched copy of the old version and rename the output of verify to the correct name. That's all there is to it. I believe that only the preprocessor and the linker have references to /D1. These should be the only ones that you need to patch. (I might be wrong on that; I did this about 2 months ago). However, it is easy enough to check the other modules for references to /D1. Happy hacking, Dan McCabe decvax!microsoft!danm