• Keine Ergebnisse gefunden

The primary command handler

Im Dokument User's Guide Version 2 (Upgraded to 2.5) (Seite 130-135)

CHAPTER 21. DUMP COMMAND

22.3 The primary command handler

As soon as DUMP93XO has fully loaded, it displays its signon message on the screen. When the cu rsor appears at the lower left corner of the screen the primary command handler is ready to

accept commands.

22.4 llDsing

DUMP93XO with a Local Printer P - Print on the local printer DUMP93XO will print only to a 132 column local printer,

address 0303. The 25~ byte disk records (sectors) are listed 32 bytes per line, 8 lines per sector. Preceding each 8 line block of print is a short line giving the physical disk address of the printed sector. One sector or the en'tire disk may be dumped to the printer by a P command. After the last sector is printed the page is ejected to top of the next page.

~Unless otherwise specified, the bytes are printed in octal, with a space separating each byte, except every eighth byte is delimited by a period. If the DUMP93XO command is in the ASCII mode (set with the A command) characters that are valid.,ASCII characters will be printed in ASCII. Lower-case ASCII alphabetic characters are indic_ated by a preceding underscore ( ). If the DUMP9380 command is 'in the EBCDIC mode, bytes that are valid

EBCDIC characters will be printed in EBCDIC, lower case characters preceded by an underscore.

COMMAND EXAMPLES:

P 000,000,000 000,000,000

would dump to the printer the disk records from cylinder 000, head 000, sector 000, thru cylinder 000, head 000, sector 000. In

other words, print only the one sector with the disk address 000,000,000.

CHAPTER 22. THE DUMP93XO COMMAND 22-3,

Note from the following examples that the parameter fetching subroutine will make certain assumptions about information not explicitly given.

P 0,0,0 0,23,27

would dump to the printer the disk records from cylinder 000, head 000, sector 000, thru cylinder 000, head 023, sector 027. In

other words, dump to the printer all of the sectors on cylinder zero. Note that it is not necessary to supply leading zeros in an address.

For 9350 series disks, the equivalent command, dump all of cylinder 0, is

P 0,0 0,67

For 9380 series disks, the equivalent command is P 0,0 0,14

P

a a

would do exactly the same thing as the previous example. When only the first number is given between spaces, it is taken to be a cylinder address, wi th a sector and head address of 000 assumed for the beginning cylinder. For 9370 disks, a head address of 023 and a sector address of 027 are assumed for the ending cylinder address. For 9350 disks, a sector address of 067 is assumed for the ending address. For 9380 disks, a sector address of 014 is assumed for the end ing addr ess.

P 4

would dump to the printer the di sk records from cylinder· 004, head 000, sector 000, thru cylinder 004, head 023, "sector 027 • . In

other words, all of the sectors on cylinder 4. When only one cylinder address is given, it is taken to be both the beginning and endin~ cylinder address. For 9350 series, the command would dump from cylinder 004, sector 000, through 004, sector 067. For 9380 series, the command would dump from cylinder 004, sector 000, through cylinder 004, sector 014.

P 67 70;7

would be assumed to mean: P 067,000,000 070,007,027 , or for 9 350 ' s P 067,000 070,007

or for 9380 's P 067,000 070,007 000 03C031C3203303~o35a36037 04G0410~20~~O~4C4004~04? 050051052~S3054055056057

o i) 6 06 J 06 , C 6206 3 C f. :~ 0 6 50660 (.7 0'" r c 7 j () '7 ~: C ',7 ? O'{ 4 G? :: C ';r 6 () '; 7

_'001011J21031041C5106107 l1C1111121 ;311411511S117 12Q121122~~3124125126~27 i 3 (~ t 3 1 1 :; ~ ; :: ~ 1 3]1 t Yj j :: FJ 1 ::·t 11,~: 1 ill 1 '" ' 1 !; _, i :1 q 1 ]1 I', 1 :i r; 111'1 'I 'j 0 1 ~) " '! ':) 2 1 Co' ,l " 511 1 55 -; 56 15 '7 330331332333334335336337 3403413423~33~4345345347 35035135235335b355356357 360361362363364365366367 370371372373374375316377

sector, 256(decimal) bytes.

To further break down the screen and enable quick location and reading of individual bytes, the first digit of every ~econd

byte is flashed on and off. Thus, each group of eight bytes is di v ided into four uni ts of two bytes.

COMMAND EXAMPLES:

S 044,014,006

would mean: display cylinder 44, head 014, sector 6 on the screen. This commaryd can only be gi ven to the primary command handler, and after it is executed DUMP93XO will be under the control of the screen dump command handler.

22.6 The Screen Dump Command Handler

Note that as in the DOS debugging facility, the command codes entered are not displayed, the command is merely immediately

executed.

*

Return to the primary command handler. The screen will be rolled up, the cursor turned on, and keyed commands will be displayed as they are entered at the lower left corner of the screen.

NOTE that the SHIFT key must be depressed at the same time as the asterisk (*) key.

# Jump to the DOS debugging facility. # will not work if DUMP93XO was loaded from an LGO tape.

NOTE that the SHIFT key must be depressed at the same time as the po u n d sign (II) key.

I Increment the cylinder, head, or sector address and di-splay the sector at the new address. The new di sk address wi 11 be' displayed at the top left corner of the screen.

If the C (Cylinder address mode) command is in force when an I command is given, the cylinder address will be incremented by one, the head and sector addresses will not change. Cylinder address wrap-around occurs at 0312->000 (0114->00D for

DUMP9380). Incrementing by cylinder address is useful for scanning quickly through a large file by steps of 4 (9380) or 8 (9350,9370) clusters per increment.

If the H (Head address mode) command is in force when an I

command is given, the head number will be. incremented by one.

commands to alter the sector address. Optionally, a sector.

address may be keyed in before striking the S key. The address option is functionally similar to the C command.

Sector address mode is the assumed mode of operation when the program is started.

A ASCII display mode. This command causes the bytes to be displayed in ASCII instead of OCTAL on the screen, for all bytes that have valid ASCII bit configurations. This is

useful for examining text files on disk. Note that the ASCII mode will carryover to the P (print) command of the primary command handler unless changed by a subsequent

a

command.

E EBCDIC display mode (9380 only). This command causes the bytes to be displayed in EBCDIC instead of OCTAL on the screen, for all bytes that have valid EBCDIC bit

configurations. This is useful for examining the index track (track zero) on a diskette, and for text files on IBM

formatted diskettes. While DUMP9380 is in EBCDIC mode, sector addresses used are taken as physical sector numers. During ASCII or Octal modes the addresses are taken as logical sector numbers and are re-mapped to take sector skewing and radius spiraling into account (see Appendix C).

a

OCTAL display mode. This command causes the bytes to be displayed in OCTAL instead of ASCII. OCTAL mode is the assumed mode of operation when the program is started.

22.7 Cassette Operations

Im Dokument User's Guide Version 2 (Upgraded to 2.5) (Seite 130-135)