8-Bit Software Online Conversion

Return-Path: misis.msk.su!DPetrov@sovcom.kiae.su Received: by polytechnique.polytechnique.fr (5.65c/SMI-4.1.3) id AA23352; Tue, 16 Mar 1993 02:57:23 +0100 Received: from sovcom.kiae.su by relay.eunet.fi with UUCP id AA10969 (5.65c/IDA-1.4.4 for stjohn@poly.polytechnique.fr); Tue, 16 Mar 1993 02:50:34 +0200 Received: by sovcom.kiae.su; Mon, 15 Mar 93 13:13:10 +0300 Received: by misis.msk.su (1.65/waf) via UUCP; Mon, 15 Mar 93 12:55:40 +0300 for stjohn@poly.polytechnique.fr To: stjohn@poly.polytechnique.fr (Chris StJohn) Subject: DOSFS: readme From: DPetrov@misis.msk.su (Dimitry Petrov) Message-Id: <w2eg1B1w165w@misis.msk.su> Date: Mon, 15 Mar 93 12:54:43 +0300 In-Reply-To: <9303150824.AA03159@poly.polytechnique.fr> Organization: Russian ARM Support Group DOS FS v. 1.13 (C) Petrov Software Several years ago I wrote a program allowing to read/write 360K PC disks on BBC B+. Several times I corrected some bugs, made improvements until I got an access to archimedes. Now I stopped the future development of the code because I failed to get any money for this program. You could freely distribute the DOS FS as *SHAREWARE* product. If you'll like it and pay me a small registration fee I return to development of the program and you'll get free upgrades. If not, you may use the DOS FS only two weeks. Below is short description of the DOS filing system: 1. Before you begin to work with the DOS FS you'll need the following: 1) Disk formatted under the DOS: it MUST have EXACTLY two sectors per cluster, 512 bytes per sector and 12 bits per FAT entry (for example standard 360K format) Disks formatted under some last DOS versions have 1 sector per cluster. You can still use this disks: manually edit the boot sector of such disk (for example by means of PCTOOLS of NU). Byte at offset 13 (&0D) in a boot sector (track 0, side 0, sector 1) contains the number of sectors per cluster. You'll need to change it to 2 and write the boot sector back to the disk (NOTE, that the information on the disk will be lost). Then you must CHKDSK /f this disk and delete garbage files if any. 2) You'll need the BBC B (with 1770 or 1772 double density upgrade installed and sideways RAM), B+ or Master 128/Compact. Perform the following command: Master 128/Compact BBC B/B+ ----------------------------------------------------------- *Srload DOS360M 8000 <rom> *Srload DOS360B 8000 <rom> where <rom> is the number of free RAM bank. (this two ROM images differ mainly because of different floppy disk controller addresses and some OS differences) NOTE: Instead of *Srload ... you can successfully use my own utility Srl. It works more quickly and automatically detects the free bank. You have to enter *Srl DOS360M or *Srl DOS360B accordingly. NOTE: You must have 40/80 or 40-track disk drive for 360K DOS-disks. 3) Press <CTRL BREAK> to initialise DOS filing system. 4) Now you can work with the DOS FS. Below is some details of the using: *Dos - selects the DOS FS as a current filing system. *Mount <drive> - this command forgets all information about last DOS disk with which the DOS FS worked. You must use this command after changing the DOS disk. Disk must be inserted BEFORE!!! <drive> may be 1 or B for drive 1, 0 or A for drive 0 If you use 720K disks or drive 1 more frequently, after *Mount you can *SrSave DOSFS 8000+<romlength> <rom> to store the default values for disk format and drive number. In this case if you just *Srl DOSFS and access disk without *Mount command, the default values will be used. Be careful because you can damage disk with different format if you access it without *Mount. *DisMount - when some errors occurs the DOS FS doesn't flush its cache buffers to the disk. Use this command before removing disk from the disk drive to ensure DOS FS write its buffers. I've rewritten some parts of DOS FS and now you can be sure the *DisMount is needed ONLY if there was some errors (Disk full/write protected, etc.). But I still recommend you to use this command. *Access <fsp> - just swaps locked/unlocked state of files *Cdir - doesn't implemented. *Dir - works as usual *Lib - works as usual *format - not implemented *verify - not implemented How to translate filenames? DOS name \WAFFLE\DOCS\INSTALL.DOC corresponds to BBC name .waffle.docs.install/doc (root is not a "$" but just ".") IMPORTANT: DOS FS doesn't differ small and capital letters, and so if you will SAVE "SomeProg" you will be able to load it be means of LOAD "SOMEPROG" or LOAD "SoMePrOg". But remember that PC DOS requires all names must be in capitals! *CAT works not only with directories but also with files, for example: *Cat .waffle.docs will display all files in directory \WAFFLE\DOCS *Cat .waffle.docs.*/doc will display all files with the DOC-extension in the same directory. *Ex and *Info work in the same manner but give more information on items. *Delete/*Remove supports * and # but removes only the first occurence of the matched object. DOS FS supports also both Load and Exec addresses so you can for example *Run machine code programs or *Load File to its default Load address. Unfortunately it doesn't supports file datestamps in this version. *Rename - unfortunately doesn't implemented *Save/*Load/OPENIN/OPENOUT/OPENUP/CLOSE - implemented OSGBPB - implemented except for reading filenames, etc. ----------------------------------------------------------------- DOS FS contains several errors (known to me) but I am still sure you'll be able to use it without problems. Any questions/suggestions, etc. to e-mail: <dpetrov@misis.msk.su> or snail mail: Russia 115541, Moscow Kavkazsky Boulevard, 29 Bld. 1, Flat 107. Dmitry Petrov --- DPetrov@misis.msk.su (Dimitry Petrov) Russian ARM Support Group