home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG036.ARC
/
DUMPX.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
4KB
|
108 lines
--- DUMP ---
BY: S. J. SINGER
THIS PROGRAM IS AN IMPROVED DUMP UTILITY FOR CP/M. ANY CPM FILE
MAY BE DUMPED TO THE CONSOLE IN A FORMAT SIMILAR TO THAT USED BY THE
DDT DUMP COMMAND. IN ADDITION, ANY SECTOR OR GROUP OF SECTORS MAY
BE DUMPED IN THE SAME FORMAT.
-- OPERATION --
THE PROGRAM MAY BE RUN EITHER BY TYPING DUMP, OR DUMP FOLLOWED
BY THE FILE NAME OR TRACK AND SECTOR. IF DUMP IS TYPED THE PROGRAM
RESPONDS WITH A HEADING FOLLOWED BY A '*' AND WAITS FOR MORE INPUT.
OPERATION IN THIS MODE IS SIMILAR TO OTHER UTILITIES LIKE PIP OR DDT.
THE OPERATION DESIRED MAY THEN BE TYPED IN AS FOLLOWS:
DUMP FILE.NAM
DUMP A:FILE.NAM
DUMP B:FILE.NAM
OR DUMP MAY BE TYPED SEPARATELY AS:
DUMP
*FILE.NAM
*B:FILE.NAM (THE * IS A PROGRAM PROMPT)
THE PROGRAM MAY ALSO BE USED TO DUMP DISK SECTORS DIRECTLY,
DUMP ANY CP/M EIGHT SECTOR GROUP, A MAP OF THE GROUP ALLOCATIONS FOR THE
ENTIRE DISK OR THE DIRECTORY SORTED ALPHABETICALLY.
DUMP TRACK 3 SECTOR 7
DUMP TRACK 5 SECTOR 3 - 9
DUMP TRACK 6 (DUMPS ALL 26 SECTORS)
DUMP GROUP 19
DUMP MAP
DUMP DIR (DUMPS DIRECTORY)
THE WORDS TRACK, SECTOR AND GROUP MAY BE ABREVIATED AS FOLLOWS
DUMP G 4
DUMP T 7 S 3-4
*TRACK 5 S 6
*SECTOR 2- 9 T 14
DUMP B: TRACK 3
DUMP A: T 9 S 4-6
DUMP B: G 5
DUMP B:MAP
NOTE THAT THE FORMAT IS QUITE FREE. SPACES ARE USUALLY IGNORED
THEY ARE ONLY REQUIRED AFTER THE WORDS TRACK AND SECTOR OR T AND S,
AND AFTER THE WORD DUMP.
A LIMITED EDITING FEATURE IS INCLUDED IN THE DUMP UTILITY TO
ALLOW CHANGING DATA ON THE DISK. THE EDIT FEATURE WORKS AS FOLLOWS.
ANY SINGLE SECTOR ON EITHER DRIVE MAY BE EDITED BY REQUESTING DISPLAY
OF THE SECTOR FOLLOWED BY THE WORD EDIT.
DUMP B:TRACK 4 SECTOR 2 EDIT
THE REQUESTED SECTOR WILL BE DISPLAYED FOLLOWED BY AN EDIT PROMPT
EDIT -
ENTER THE ADDRESS OF THE FIRST BYTE TO BE CHANGED. THE PROGRAM WILL
RESPOND BY TYPING BACK THE ADDR ENTERED AND THE PRESENT CONTENTS OF THAT
ADDRESS. TO CHANGE THE CONTENTS OF THE ADDRESS ENTER THE NEW BYTE FOLLOWED
BY A CARRIAGE RETURN. THE PROGRAM WILL DISPLAY THE NEXT ADDRESS AND ITS
CONTENTS. TO STOP ENTERING DATA TYPE A PERIOD. THE PROGRAM WILL REDISPLAY
THE SECTOR SHOWING THE CHANGES MADE. THE EDIT FEATURE WORKS ALMOST EXACTLY
LIKE THE S ENTRY FEATURE IN DDT. TYPING ONLY A CARRIAGE RETURN OMITS ENTRY.
TYPING A PERIOD MERELY REDISPLAYS THE SECTOR FROM MEMORY, IT DOES
NOT CAUSE IT TO BE WRITTEN BACK ON THE DISK. WHEN EDITING IS COMPLETE,
REDISPLAY THE SECTOR BY TYPING A PERIOD AND TYPE EITHER
WRITE (WRITE SECTOR BACK ON DISK)
STOP (STOP EDITING WITHOUT WRITING ON DISK)
ALL EDIT ENTRIES MUST BE MADE IN HEX. ENTERING NON HEX CHARACTERS
RESULTS IN AN ERROR MESSAGE. THE PERMISSABLE ADDRESS RANGE IS 0000 TO 007F.
LARGER ADDRESSES GIVE AN ERROR MESSAGE. WHEN ENTERING A GROUP OF BYTES THE
ADDRESSES ARE COMPUTED MODULO 128, THE NEXT ADDRESS AFTER 007F IS 0000.
THE EDIT FEATURE SHOULD BE USED WITH CAUTION SINCE IT IS POSSIBLE
TO EDIT CP/M TO "DEATH" BY CHANGING A SINGLE BYTE. ONE OCCASIONAL VALUABLE
USE IS TO RESTORE FILES THAT HAVE BEEN ACCIDENTALLY ERASED. ERASING A FILE
USING THE ERA COMMAND DOES NOT ERASE THE DATA FROM THE DISK, BUT ONLY ENTERS
AN E5 INTO THE FIRST BYTE OF THE DIRECTORY. TO RESTORE A FILE, DISPLAY
THE DIRECTORY BY DISPLAYING GROUPS 0 AND 1. FIND THE SECTOR CONTAINING THE
NAME OF THE FILE TO BE RESTORED AND DISPLAY IT USING THE EDIT FEATURE
CHANGE THE BYTE PRECEEDING THE FILE NAME FROM E5 TO 00 AND WRITE THE SECTOR
BACK ON THE DISK. THIS WILL RESTORE THE FILE PROVIDED NONE OF THE SECTORS
IN THE FILE WERE CHANGED AFTER THE FILE WAS "ERASED".
AN ADDITIONAL FEATURE OF DUMP IS THE ABILITY TO VALIDATE A DISK.
DUMP VALIDATE
DUMP A:VALIDATE
DUMP B:VALIDATE
THIS CAUSES THE ENTIRE DISK SELECTED TO BE READ ONE SECTOR AT A
TIME. THE SECTOR NUMBER OF ANY SECTOR CAUSING A READ ERROR WILL BE DISPLAYED.
WHEN VALIDATING THE PROGRAM READS EVERY SECOND SECTOR FOR SPEED.
AS WITH OTHER CP/M UTILITIES ^S "FREEZES" THE DISPLAY, AND ^C
RETURNS TO THE MONITOR. DUMP CONTAINS MANY ERROR AND CONSISTANCY
CHECKS. THE RESULTING MESSAGES SHOULD BE SELF EXPLANATORY.