REVIEWS COURTESY OF ZXSR

DICE
by John Eyre
Kobrahsoft
1988
Crash Issue 57, Oct 1988   page(s) 80,81.82

DICING WITH DISKS

Get your +3 disks in some sort of order

THE DICE (Disk Information Copier Editor) is a menu-driven program for the Spectrum +3 from Kobrahsoft (078-130-5244).

The program allows standard +3 DOS disks to be examined, altered and copied without requiring detailed knowledge of the way +3 DOS works. However, DICE cannot handle nonstandard disks, so cannot be used to copy protected disks. The program can be run from +3 BASIC, loading at address 40000, which allows reasonably sized BASIC programs to coexist. When RUN, the program gives a graphic display of the usage of the disk, and offers the menus File, Disk, Copy and New. The New option is used to 'log in' a new disk to be worked on.

The graphic display gives a clear indication of how full the disk is, and where the spaces are. A fragmented disk (where the spaces are in lots of little sections) can be easily seen and understood. Pressing F, for the File menu, gives a new display of the directory of the disk (in two halves). Deleted filenames are shown, and any file can be selected using the cursor keys. Files can also be erased or renamed easily using this menu.

Once a file has been selected, a new graphic display shows where the pieces of the file are stored on the disk. In addition, the file header (for a +3 DOS file format) can be read, giving information such as the program length and type. File attributes can be changed too (though this is unlikely to be useful to +3 owners). The file's contents can be viewed (128 bytes at a time) or the editor can be called up. (What, what? Somebody mention me? Ed.)

The most useful option here, however, is to recover an erased file. This is always a risky job, since the file's overwritten if further disk use has been made since the file was erased. DICE makes this job easy by reporting whether or not the file can be safely recovered. It may not always be possible for DICE to give a correct report (if, for example, a new file overwrote the old file's data, and was then itself deleted), so it is still advisable to check through the recovered file. DICE can also be used to check any more recent erased files, to investigate whether they were occupying disk space required by the now to be recovered file.

Pressing D from the main menu selects the Disk menu, which allows individual sectors on the disk to be displayed, and edited. Each sector is displayed in four 128-byte pages, and can be selected by track/sector, or by disk block. The sectors are displayed in hexadecimal, the character representation is also shown. An additional feature, when examining +3 Basic programs, is that the appropriate keyword, where appropriate, is shown on the screen as each byte of the sector is selected.

DICE can search the disk for specific information, entered byte by byte in decimal, hex or by character. Searching is very fast (less than a minute for all forty tracks) but can be aborted during the search. Any displayed sector can be altered, by calling up the editor. (Me again? Ed.)

CALL UP THE ED

This allows a particular byte to be selected using the cursor keys, then changed. The new value can be entered numerically, or by typing the character. DICE will allow any sector to be changed (including the disk's boot sector), so should be used with care. However, changes to disk are not written unless confirmed by selecting the Save to disk option. One slight problem with the current version of DICE is that the documented way of exiting from entering new data by character (ie pressing ENTER) does not work. However, pressing a cursor key works fine.(?)

A useful extra facility of DICE is the Copy function, which (believe it or not) can be used to make copies of disks quickly. Information is read from disk into the extra banks of memory, so a maximum of only three disk swaps are required to copy a full disk (this is an improvement on even the CP/M Disckit program). The copy also automatically compacts the disk, releasing all the free space to one block - which should improve disk access tremendously on a well-used (fragmented) disk. Such disks can result when lots of files of varying sizes are repeatedly SAVED and ERASEd, as AMSDOS tries to make 'best'(but not fastest) use of the disk space. Other systems (such as the BBC DOS) avoid this by only using a disk space large enough for the whole file. But then little gaps are left all over the disk, which are wasted till the disk is COMPACTed.

The normal +3 COPY "A:" TO "B:" will not improve the situation, since it copies the disk identically, complete with the fragmented files in the same positions on the new disk. Copying each file individually will cure the problem, but it is very time consuming.

The DICE Copy will sort the disk automatically, since it does the equivalent of copying each file name by name, but without the tiresome disk changes. The improvement that can be made depends wholly on how your disks are used. If an early file is deleted and replaced by a larger file, then the new file is likely to be fragmented - the DICE graphic display of the file shows how.

NO SILLY STUFF

The DICE program is well written, and it is difficult to do 'silly' things. However, there is no check that the correct disks are inserted when doing a Copy - so open the write protect tab on the source disk before you start! There is also no support for a printer; all displays are onscreen only. There also seems to be some difficulty in accessing the data on track zero of the disk (the boot sector). However, This may be an AMSDOS restriction rather than a DICE problem.

It is also unfortunate that any DOS error is shown only as a number, and not described. However, there is a list of errors in the manual (with very short descriptions). A full discussion of some of the errors, and how to cure them, would have been worth having, considering that the package is aimed at the non-expert +3 market.

Overall, the manual is extremely good, and worth reading by anyone wanting to know more about how +3 DOS uses disks. A very good appendix describes how the data is stored on the disk, including descriptions of the directory format. There is also a section detailing how to attempt to recover a file when part of it has been overwritten - it is suggested that this be done by 'grafting' a spare sector into the damaged part of the file, and an example is given to recover a BASIC program in this way. It would obviously be pointless to try to recover machine code files in this way!

The manual also has a menu map showing how each menu selects different functions - this is worth pinning up by your +3 for quick reference.

At £12.95, DICE is an excellent package for +3 owners who do not know everything about disks! Even an expert may find it worth reading the manual.


REVIEW BY: Ian Cull

Transcript by Chris Bourne

Your Sinclair Issue 45, Sep 1989   page(s) 76

RAGE HARD!

Out this month - Version Two of the DICE +3 utility program from KobrahSoft. Our own Phil Snout check to see if it comes up sixes.

CONTACT
Product: DICE Version Two
Price: £12.95
Contact: KobrahSoft Software, Pleasant View, Hulme Lane, Hulme, Longton, Stoke-on-Trent ST3 5BH

Look, I'd love to make some dice jokes, some comment about 'craps', 'yahtee', or even 'ludo', but there's enough room in the rest of YS for that kind of stoopidity... Tipshop for example. (You mean there's a joke in Tipshop? Incredulous. Ed) Besides, I can't think of any right now. You'll have to insert your own. (Oo-er.)

KobrahSoft has been a fixture of the classified ads since time began. Its products are among the best technical software for the Spectrum - tape to disk/tape to microdrive utilities, backup copiers, fast loaders, Machine Code disassemblers and even a Z80 Machine Code course. But one of its most interesting programs lately has been the DICE, or Disk Information Copier Editor, for the +3 computer. Although at first it seems to be just another old disk utility, when you delve deeper into its important little places you discover there's more to it than meets the magic screwdriver.

SAY WHAT?

So, why do you need something like this (a 'front end' as they call it) for your +3? Well, not to put too fine a point on it +3DOS isn't the friendliest of operating systems. Not only does DICE give you the powerful control over functions that you usually need from +3DOS, but also allows you control over aspects of the DOS that you can't get at any other way. Last year the program got rave reviews in the technical press. It was mooted that this was the only technical program worth its salt for the +3. But now Version Two is out, and it's every bit as packed as the original, boasting lots of lovely expanded features. And it's easy to see why when you glance at a list of the Specs. You can examine a disk in Hex or ASCII, and even modify each sector as you go. You can read and write in Spectrum +3/Amstrad PCW formats and even those of CP/M Plus and Amstrad CPC. You can back-up complete disks and individual files, and the directory listings that you can obtain from the program contain not only the filenames you can see. but all the erased files which may still exist and special CP/M format files left on the disk by +3DOS. So you can convert files between different Amstrad formats, recover lost files and generally keep your electronic house in order.

STATE OF THE ART

Although DICE has been designed for use with the Spectrum +3, it can look at other formats. This is important as most games and business software, like CP/M, is protected by its nonstandard format, which prevents casual copying. The problems arise, of course, when you need a copy of a program that you own legitimately. Disks get damaged in the course of normal usage (using them as beer mats doesn't help, Duncan!), so it's only fair that you should be able to produce a 'working' copy of a program so it can take all the knocks.

DICE is arranged in easy-to-understand menus and in most cases a single key press is enough to action any of the commands. F'rinstance, the Analyse option lets you look at the disk and see what format it is. (You can edit the contents of the disk too, with the Editor option, but it's not a good idea unless you've made a copy. Writing to a commercial disk will surely kill the program and make it useless.) The program is compact, only 13K long, with buffers that let you keep it in memory while using Basic. In each different mode the screen is organised in boxes, each of which handles a different function.

QUE?

Reading manuals usually brings to mind a variation on that famous Basil Fawlty-ism, "Please let me understand before one of us dies." No such problems here. The manual is clearly written and explains all the functions of this complex utility in around 30 pages. Not too much, not too little. Each function is taken step by step, and all one-key options are listed, so you'll be goose-stepping around the keyboard in no time. If only all programs were this well supported with instructions. (Flimsy booklet manufacturers take note.) The book also goes into related topics, like file formats and the structure of disks. It covers in some detail the other file formats that the program supports, like CP/M PCW and CPC, and gives you information about how they differ. Using the information in the manual you could easily copyright your own program by creating it in an alien format! DICE is worth the money for that facility alone. Being able to translate disks to related formats in the machine is very interesting too, something you'd expect from 16 bit machines like the ST or Amiga. And not only that, it's a service you'd normally have to pay £15 for.

GUILTY OR NOT

The verdict? I like this program a lot. Now it has been said of me that I like anything and everything under the sun. Not true, I can't stand fried food, arcade adventures and Rottweilers. Anyway, it's not that I like everything, I just tend not to review bad products. And this certainly reaches the parts other programs cannot reach. If you own a +3 and are interested in technical matters, or use a +3 for game development, then you must get DICE. After all, for £12 what can you lose, eh?

For users of the older version of DICE who'd like the upgrade help is at hand. KobrahSoft informs me that if you just send back your copy with £5, you'll be sent the new program by return.


REVIEW BY: Phil South

Blurb: WHAT IT DOES Here are some of the features available on the new DICE Version Two. Read disk sectors. [ZXSR NOTE - much of the rest of this text is blocked by screenshots] location and disk space used. Fast searches disks for a string of up to eight bytes in length. Locks out defective sectors. Features decimal to Hexadecimal calculator. Checks for confirmation before writing to disk.

Transcript by Chris Bourne

All information in this page is provided by ZXSR instead of ZXDB