|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400) Types: RcTekst Names: »99109917.WP«
└─⟦670c8f5a6⟧ Bits:30005866/disk2.imd Dokumenter i RcTekst format (RCSL 99-1-*) └─⟦this⟧ »99109917.WP«
╱04002d4e0a0006000000000201413140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ════════════════════════════════════════════════════════════════════════ ↓ i↲ ↲ ┆a1┆┆b0┆TABLE OF CONTENTS PAGE↲ ↲ ┆b0┆1. INTRODUCTION ┆f0┆............................................ 1↲ ↲ ┆b0┆2. CALL ┆f0┆................┆f0┆.................................... 2↲ ↲ ┆b0┆3. FUNCTION ┆f0┆................................................ 3↲ ↲ ┆b0┆4. EXAMPLES┆f0┆ ................................................ 4↲ 4.1 Example 1 .......................................... 4↲ 4.2 Example 2 .......................................... 4↲ 4.3 Example 3 .......................................... 4↲ ↲ ┆b0┆5. ERROR MESSAGES┆f0┆ .......................................... 5↲ ↲ ┆b0┆↓ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆┆e1┆ ii↲ ════════════════════════════════════════════════════════════════════════ ↓ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆ ┆0b┆↲ ↲ ┆b0┆┆a1┆1. INTRODUCTION↲ ↲ ┆84┆The program is a diagnostic tool for printing ↓ ┆19┆┆89┆┄┄statistical information and testoutput from an ↓ ┆19┆┆89┆┄┄RC8000/IDA, RC8000/FPA or RCX000/SCC main process.↲ ↲ ┆84┆The program may print directly from the core as well as ↓ ┆19┆┆89┆┄┄from a file containing a core picture. When printing ↓ ┆19┆┆89┆┄┄directly from core the generation of testoutput is ↓ ┆19┆┆89┆┄┄disabled for a moment.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆2. CALL↲ ↲ ┆84┆(<outfile> =)┆81┆1↲ ┆81┆0↲ mainstat <proc spec><function>↲ ↲ <proc spec>::= core8000.<name(ida-mainproc)>/↲ core8000.<name(fpa-mainproc)>/↲ core4000.<name(scc-mainproc)>/↲ dump8000.<dump file>.<proc desc ↲ addr(ida-mainproc)>/↲ dump8000.<dump file>.<proc desc↲ addr(fpa-mainproc)>/↲ dump4000.<dump file>.<proc desc ↲ addr(scc-mainproc)/↲ ↲ <function>::= <empty>/↲ test.yes/↲ test.no↲ ↲ ┆84┆The <proc spec> field is used to define the type of the ↓ ┆19┆┆89┆┄┄computer (RC8000/RC4000) and where the statistical ↓ ┆19┆┆89┆┄┄information shall be printed from (core or a core dump).↲ ↲ ┆84┆The <function> field is used to specify whether the test ↓ ┆19┆┆89┆┄┄records shall be printed, - the default value is ↓ ┆19┆┆89┆┄┄'test.no'.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆3. FUNCTION↲ ↲ ┆84┆For RC8000/FPA main process, the program finds the ↓ ┆19┆┆89┆┄┄receiver and transmitter processes associated with the ↓ ┆19┆┆89┆┄┄main process specified.↲ ↲ ┆84┆The program extracts and prints on current output the ↓ ┆19┆┆89┆┄┄statistics, first from the receiver process, then from ↓ ┆19┆┆89┆┄┄the transmitter process description.↲ ↲ ┆84┆For RC8000/IDA main process, the program aquires and ↓ ┆19┆┆89┆┄┄prints the statistics from the main process.↲ ↲ ┆84┆Display at RC4000/SCC main process statistics are not ↓ ┆19┆┆89┆┄┄implemented.↲ ↲ ┆84┆If a dump file is specified, it is supposed to contain a ↓ ┆19┆┆89┆┄┄core picture with core address 0 equivalent to area ↓ ┆19┆┆89┆┄┄address 0.↲ ↲ ┆84┆If the function field specifies output of the ↓ ┆19┆┆89┆┄┄testrecords, the generation of testoutput to the ↓ ┆19┆┆89┆┄┄testbuffer is disabled while the test mask and the ↓ ┆19┆┆89┆┄┄testbuffer are inspected and enabled again with the same ↓ ┆19┆┆89┆┄┄testmask (in case of testrecords from the core), even in ↓ ┆19┆┆89┆┄┄case of abnormal program termination.↲ ↲ ┆84┆The testrecords of the buffer are printed in FIFO order ↓ ┆19┆┆89┆┄┄as indicated by the buffer pointers.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆4. EXAMPLES↲ ↲ ┆b0┆┆a1┆4.1 Example 1↲ ↲ ┆84┆The following command extracts the statistics and the ↓ ┆19┆┆89┆┄┄testrecords from the RC8000/IDA main process named↓ ┆19┆┆89┆┄┄'idamain1' and prints it in the file 'outfile':↲ ↲ outfile = mainstat core8000.idamain1 test.yes↲ ↲ ↲ ┆b0┆┆a1┆4.2 Example 2↲ ↲ ┆84┆The following command extracts the statistics from the ↓ ┆19┆┆89┆┄┄RC8000/FPA main process named 'main36001':↲ ↲ mainstat core8000.main36001↲ ↲ ↲ ┆b0┆┆a1┆4.3 Example 3↲ ↲ ┆84┆The following command extracts the statistics and the ↓ ┆19┆┆89┆┄┄testbuffer from the RC8000/FPA main process with the ↓ ┆19┆┆89┆┄┄address 20786 in the coredump contained in the file ↓ ┆19┆┆89┆┄┄'coredump':↲ ↲ mainstat dump8000.coredump.20786 test.yes↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆5. ERROR MESSAGES↲ ↲ ***mainstat, error in call↲ the call is not syntactically correct↲ ↲ ***mainstat, no testbuffer↲ the main process specified has no testbuffer↲ ↲ ***mainstat, mainprocess unknown↲ ┆84┆the IDA, FPA or SCC main process specified does not ↓ ┆19┆┆8c┆┄┄exist↲ ↲ ***mainstat, main process not found↲ - ┆84┆the kind of the main process specified and found is ↓ ┆19┆┆8e┆┄┄not correct (neither 80 nor 20)↲ - ┆84┆the coredump area could not be found or the address ↓ ┆19┆┆8e┆┄┄points outside the coredump area.↲ - ┆84┆the address of the mainproc specified was not found ↓ ┆19┆┆8e┆┄┄in the name table in the coredump.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆1a┆┆1a┆↓ ┆1a┆found ↓ ┆19┆┆8e┆┄┄in the name table in the coredump.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↓ ┆1a┆↲ ↲ - baudrate for receiver and transmitter (defau
0x0000…0020 (0,) 00 00 00 00 00 00 00 00 42 03 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e 00 00 00 ┆ B N ┆ 0x0020…0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ ┆ 0x0040…0047 00 00 00 00 00 00 00 ┆ ┆ 0x0047…0080 Params { 0x0047…0080 04 00 2d 4e 0a 00 06 00 00 00 00 02 01 41 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -N A1@ ┆ 0x0047…0080 00 00 00 00 00 00 00 00 05 0f 19 23 2d 37 41 4b 55 5f 69 73 7d 87 91 ff 04 ┆ #-7AKU_iså ┆ 0x0047…0080 } 0x0080…0083 FormFeed { 0x0080…0083 0c 80 88 ┆ ┆ 0x0080…0083 } 0x0083…00a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x00a0…00c0 20 20 20 20 69 0d 0a 0d 0a a1 b0 54 41 42 4c 45 20 4f 46 20 43 4f 4e 54 45 4e 54 53 20 20 20 20 ┆ i TABLE OF CONTENTS ┆ 0x00c0…00e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x00e0…0100 20 20 20 20 20 20 20 20 50 41 47 45 0d 0a 0d 0a b0 31 2e 20 20 49 4e 54 52 4f 44 55 43 54 49 4f ┆ PAGE 1. INTRODUCTIO┆ 0x0100…0120 4e 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆N .............................┆ 0x0120…0140 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 31 0d 0a 0d 0a b0 32 2e 20 20 43 41 4c 4c ┆............... 1 2. CALL┆ 0x0140…0160 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ................ .............┆ 0x0160…0180 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 32 0d 0a 0d 0a b0 ┆....................... 2 ┆ 0x0180…01a0 33 2e 20 20 46 55 4e 43 54 49 4f 4e 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆3. FUNCTION ..................┆ 0x01a0…01c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 ┆.............................. ┆ 0x01c0…01e0 20 33 0d 0a 0d 0a b0 34 2e 20 20 45 58 41 4d 50 4c 45 53 f0 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ 3 4. EXAMPLES ...........┆ 0x01e0…0200 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x0200…0220 (1,) 2e 2e 2e 2e 2e 20 20 20 34 0d 0a 20 20 20 20 34 2e 31 20 20 45 78 61 6d 70 6c 65 20 31 20 2e 2e ┆..... 4 4.1 Example 1 ..┆ 0x0220…0240 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x0240…0260 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 34 0d 0a 20 20 20 20 34 2e 32 20 20 45 78 61 6d 70 6c 65 20 32 ┆........ 4 4.2 Example 2┆ 0x0260…0280 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x0280…02a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 34 0d 0a 20 20 20 20 34 2e 33 20 20 45 78 61 6d 70 6c ┆........... 4 4.3 Exampl┆ 0x02a0…02c0 65 20 33 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆e 3 ............................┆ 0x02c0…02e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 34 0d 0a 0d 0a b0 35 2e 20 20 45 52 52 4f 52 ┆.............. 4 5. ERROR┆ 0x02e0…0300 20 4d 45 53 53 41 47 45 53 f0 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ MESSAGES .....................┆ 0x0300…031f 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 35 0d 0a 0d 0a b0 0a ┆..................... 5 ┆ 0x031f…0322 FormFeed { 0x031f…0322 0c 81 90 ┆ ┆ 0x031f…0322 } 0x0322…0340 0a a1 b0 e1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x0340…034a 20 20 20 20 20 20 69 69 0d 0a ┆ ii ┆ 0x034a…034d FormFeed { 0x034a…034d 0c 80 88 ┆ ┆ 0x034a…034d } 0x034d…034e 0a ┆ ┆ 0x034e…0351 FormFeed { 0x034e…0351 0c 80 80 ┆ ┆ 0x034e…0351 } 0x0351…0360 0a 14 b3 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x0360…0380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0b 0d 0a 0d 0a b0 a1 31 2e 20 20 20 ┆ 1. ┆ 0x0380…03a0 20 20 20 20 49 4e 54 52 4f 44 55 43 54 49 4f 4e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 ┆ INTRODUCTION Th┆ 0x03a0…03c0 65 20 70 72 6f 67 72 61 6d 20 69 73 20 61 20 64 69 61 67 6e 6f 73 74 69 63 20 74 6f 6f 6c 20 66 ┆e program is a diagnostic tool f┆ 0x03c0…03e0 6f 72 20 70 72 69 6e 74 69 6e 67 20 0a 19 89 80 80 73 74 61 74 69 73 74 69 63 61 6c 20 69 6e 66 ┆or printing statistical inf┆ 0x03e0…0400 6f 72 6d 61 74 69 6f 6e 20 61 6e 64 20 74 65 73 74 6f 75 74 70 75 74 20 66 72 6f 6d 20 61 6e 20 ┆ormation and testoutput from an ┆ 0x0400…0420 (2,) 0a 19 89 80 80 52 43 38 30 30 30 2f 49 44 41 2c 20 52 43 38 30 30 30 2f 46 50 41 20 6f 72 20 52 ┆ RC8000/IDA, RC8000/FPA or R┆ 0x0420…0440 43 58 30 30 30 2f 53 43 43 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 20 20 20 20 20 ┆CX000/SCC main process. ┆ 0x0440…0460 20 20 20 20 84 54 68 65 20 70 72 6f 67 72 61 6d 20 6d 61 79 20 70 72 69 6e 74 20 64 69 72 65 63 ┆ The program may print direc┆ 0x0460…0480 74 6c 79 20 66 72 6f 6d 20 74 68 65 20 63 6f 72 65 20 61 73 20 77 65 6c 6c 20 61 73 20 0a 19 89 ┆tly from the core as well as ┆ 0x0480…04a0 80 80 66 72 6f 6d 20 61 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 63 6f 72 65 20 ┆ from a file containing a core ┆ 0x04a0…04c0 70 69 63 74 75 72 65 2e 20 57 68 65 6e 20 70 72 69 6e 74 69 6e 67 20 0a 19 89 80 80 64 69 72 65 ┆picture. When printing dire┆ 0x04c0…04e0 63 74 6c 79 20 66 72 6f 6d 20 63 6f 72 65 20 74 68 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 ┆ctly from core the generation of┆ 0x04e0…0500 20 74 65 73 74 6f 75 74 70 75 74 20 69 73 20 0a 19 89 80 80 64 69 73 61 62 6c 65 64 20 66 6f 72 ┆ testoutput is disabled for┆ 0x0500…050e 20 61 20 6d 6f 6d 65 6e 74 2e 0d 0a 0d 0a ┆ a moment. ┆ 0x050e…0511 FormFeed { 0x050e…0511 0c 80 e0 ┆ ┆ 0x050e…0511 } 0x0511…0520 0a b0 a1 32 2e 20 20 20 20 20 20 20 43 41 4c ┆ 2. CAL┆ 0x0520…0540 4c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 28 3c 6f 75 74 66 69 6c 65 3e 20 3d 29 81 31 0d 0a ┆L (<outfile> =) 1 ┆ 0x0540…0560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 81 30 0d 0a 20 20 20 20 20 20 ┆ 0 ┆ 0x0560…0580 20 20 20 6d 61 69 6e 73 74 61 74 20 3c 70 72 6f 63 20 73 70 65 63 3e 3c 66 75 6e 63 74 69 6f 6e ┆ mainstat <proc spec><function┆ 0x0580…05a0 3e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 70 72 6f 63 20 73 70 65 63 3e 3a 3a 3d ┆> <proc spec>::=┆ 0x05a0…05c0 20 63 6f 72 65 38 30 30 30 2e 3c 6e 61 6d 65 28 69 64 61 2d 6d 61 69 6e 70 72 6f 63 29 3e 2f 0d ┆ core8000.<name(ida-mainproc)>/ ┆ 0x05c0…05e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 72 ┆ cor┆ 0x05e0…0600 65 38 30 30 30 2e 3c 6e 61 6d 65 28 66 70 61 2d 6d 61 69 6e 70 72 6f 63 29 3e 2f 0d 0a 20 20 20 ┆e8000.<name(fpa-mainproc)>/ ┆ 0x0600…0620 (3,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 72 65 34 30 30 ┆ core400┆ 0x0620…0640 30 2e 3c 6e 61 6d 65 28 73 63 63 2d 6d 61 69 6e 70 72 6f 63 29 3e 2f 0d 0a 20 20 20 20 20 20 20 ┆0.<name(scc-mainproc)>/ ┆ 0x0640…0660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 75 6d 70 38 30 30 30 2e 3c 64 ┆ dump8000.<d┆ 0x0660…0680 75 6d 70 20 66 69 6c 65 3e 2e 3c 70 72 6f 63 20 64 65 73 63 20 0d 0a 20 20 20 20 20 20 20 20 20 ┆ump file>.<proc desc ┆ 0x0680…06a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 ┆ add┆ 0x06a0…06c0 72 28 69 64 61 2d 6d 61 69 6e 70 72 6f 63 29 3e 2f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆r(ida-mainproc)>/ ┆ 0x06c0…06e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 75 6d 70 38 30 30 30 2e 3c 64 75 6d 70 20 66 69 ┆ dump8000.<dump fi┆ 0x06e0…0700 6c 65 3e 2e 3c 70 72 6f 63 20 64 65 73 63 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆le>.<proc desc ┆ 0x0700…0720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 72 28 66 70 61 2d 6d ┆ addr(fpa-m┆ 0x0720…0740 61 69 6e 70 72 6f 63 29 3e 2f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ainproc)>/ ┆ 0x0740…0760 20 20 20 20 20 20 20 20 64 75 6d 70 34 30 30 30 2e 3c 64 75 6d 70 20 66 69 6c 65 3e 2e 3c 70 72 ┆ dump4000.<dump file>.<pr┆ 0x0760…0780 6f 63 20 64 65 73 63 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆oc desc ┆ 0x0780…07a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 72 28 73 63 63 2d 6d 61 69 6e 70 72 6f ┆ addr(scc-mainpro┆ 0x07a0…07c0 63 29 2f 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 3c 66 75 6e 63 74 69 6f 6e 3e 3a 3a 3d 20 20 20 ┆c)/ <function>::= ┆ 0x07c0…07e0 20 20 20 3c 65 6d 70 74 79 3e 2f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ <empty>/ ┆ 0x07e0…0800 20 20 20 20 20 20 20 20 20 74 65 73 74 2e 79 65 73 2f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ test.yes/ ┆ 0x0800…0820 (4,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 73 74 2e 6e 6f 0d 0a 0d 0a 20 20 20 20 20 ┆ test.no ┆ 0x0820…0840 20 20 20 20 84 54 68 65 20 3c 70 72 6f 63 20 73 70 65 63 3e 20 66 69 65 6c 64 20 69 73 20 75 73 ┆ The <proc spec> field is us┆ 0x0840…0860 65 64 20 74 6f 20 64 65 66 69 6e 65 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 0a 19 89 ┆ed to define the type of the ┆ 0x0860…0880 80 80 63 6f 6d 70 75 74 65 72 20 28 52 43 38 30 30 30 2f 52 43 34 30 30 30 29 20 61 6e 64 20 77 ┆ computer (RC8000/RC4000) and w┆ 0x0880…08a0 68 65 72 65 20 74 68 65 20 73 74 61 74 69 73 74 69 63 61 6c 20 0a 19 89 80 80 69 6e 66 6f 72 6d ┆here the statistical inform┆ 0x08a0…08c0 61 74 69 6f 6e 20 73 68 61 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 20 66 72 6f 6d 20 28 63 6f 72 ┆ation shall be printed from (cor┆ 0x08c0…08e0 65 20 6f 72 20 61 20 63 6f 72 65 20 64 75 6d 70 29 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 ┆e or a core dump). ┆ 0x08e0…0900 54 68 65 20 3c 66 75 6e 63 74 69 6f 6e 3e 20 66 69 65 6c 64 20 69 73 20 75 73 65 64 20 74 6f 20 ┆The <function> field is used to ┆ 0x0900…0920 73 70 65 63 69 66 79 20 77 68 65 74 68 65 72 20 74 68 65 20 74 65 73 74 20 0a 19 89 80 80 72 65 ┆specify whether the test re┆ 0x0920…0940 63 6f 72 64 73 20 73 68 61 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 2c 20 2d 20 74 68 65 20 64 65 ┆cords shall be printed, - the de┆ 0x0940…0960 66 61 75 6c 74 20 76 61 6c 75 65 20 69 73 20 0a 19 89 80 80 27 74 65 73 74 2e 6e 6f 27 2e 0d 0a ┆fault value is 'test.no'. ┆ 0x0960…0963 FormFeed { 0x0960…0963 0c 81 d8 ┆ ┆ 0x0960…0963 } 0x0963…0980 0a b0 a1 33 2e 20 20 20 20 20 20 20 46 55 4e 43 54 49 4f 4e 0d 0a 0d 0a 20 20 20 20 20 ┆ 3. FUNCTION ┆ 0x0980…09a0 20 20 20 20 84 46 6f 72 20 52 43 38 30 30 30 2f 46 50 41 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 ┆ For RC8000/FPA main process┆ 0x09a0…09c0 2c 20 74 68 65 20 70 72 6f 67 72 61 6d 20 66 69 6e 64 73 20 74 68 65 20 0a 19 89 80 80 72 65 63 ┆, the program finds the rec┆ 0x09c0…09e0 65 69 76 65 72 20 61 6e 64 20 74 72 61 6e 73 6d 69 74 74 65 72 20 70 72 6f 63 65 73 73 65 73 20 ┆eiver and transmitter processes ┆ 0x09e0…0a00 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 0a 19 89 80 80 6d 61 69 6e 20 70 72 ┆associated with the main pr┆ 0x0a00…0a20 (5,) 6f 63 65 73 73 20 73 70 65 63 69 66 69 65 64 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 ┆ocess specified. Th┆ 0x0a20…0a40 65 20 70 72 6f 67 72 61 6d 20 65 78 74 72 61 63 74 73 20 61 6e 64 20 70 72 69 6e 74 73 20 6f 6e ┆e program extracts and prints on┆ 0x0a40…0a60 20 63 75 72 72 65 6e 74 20 6f 75 74 70 75 74 20 74 68 65 20 0a 19 89 80 80 73 74 61 74 69 73 74 ┆ current output the statist┆ 0x0a60…0a80 69 63 73 2c 20 66 69 72 73 74 20 66 72 6f 6d 20 74 68 65 20 72 65 63 65 69 76 65 72 20 70 72 6f ┆ics, first from the receiver pro┆ 0x0a80…0aa0 63 65 73 73 2c 20 74 68 65 6e 20 66 72 6f 6d 20 0a 19 89 80 80 74 68 65 20 74 72 61 6e 73 6d 69 ┆cess, then from the transmi┆ 0x0aa0…0ac0 74 74 65 72 20 70 72 6f 63 65 73 73 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 0d 0a 0d 0a 20 20 20 ┆tter process description. ┆ 0x0ac0…0ae0 20 20 20 20 20 20 84 46 6f 72 20 52 43 38 30 30 30 2f 49 44 41 20 6d 61 69 6e 20 70 72 6f 63 65 ┆ For RC8000/IDA main proce┆ 0x0ae0…0b00 73 73 2c 20 74 68 65 20 70 72 6f 67 72 61 6d 20 61 71 75 69 72 65 73 20 61 6e 64 20 0a 19 89 80 ┆ss, the program aquires and ┆ 0x0b00…0b20 80 70 72 69 6e 74 73 20 74 68 65 20 73 74 61 74 69 73 74 69 63 73 20 66 72 6f 6d 20 74 68 65 20 ┆ prints the statistics from the ┆ 0x0b20…0b40 6d 61 69 6e 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 44 69 73 70 6c ┆main process. Displ┆ 0x0b40…0b60 61 79 20 61 74 20 52 43 34 30 30 30 2f 53 43 43 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 73 74 ┆ay at RC4000/SCC main process st┆ 0x0b60…0b80 61 74 69 73 74 69 63 73 20 61 72 65 20 6e 6f 74 20 0a 19 89 80 80 69 6d 70 6c 65 6d 65 6e 74 65 ┆atistics are not implemente┆ 0x0b80…0ba0 64 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 49 66 20 61 20 64 75 6d 70 20 66 69 6c 65 20 69 ┆d. If a dump file i┆ 0x0ba0…0bc0 73 20 73 70 65 63 69 66 69 65 64 2c 20 69 74 20 69 73 20 73 75 70 70 6f 73 65 64 20 74 6f 20 63 ┆s specified, it is supposed to c┆ 0x0bc0…0be0 6f 6e 74 61 69 6e 20 61 20 0a 19 89 80 80 63 6f 72 65 20 70 69 63 74 75 72 65 20 77 69 74 68 20 ┆ontain a core picture with ┆ 0x0be0…0c00 63 6f 72 65 20 61 64 64 72 65 73 73 20 30 20 65 71 75 69 76 61 6c 65 6e 74 20 74 6f 20 61 72 65 ┆core address 0 equivalent to are┆ 0x0c00…0c20 (6,) 61 20 0a 19 89 80 80 61 64 64 72 65 73 73 20 30 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 49 ┆a address 0. I┆ 0x0c20…0c40 66 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 20 66 69 65 6c 64 20 73 70 65 63 69 66 69 65 73 20 6f ┆f the function field specifies o┆ 0x0c40…0c60 75 74 70 75 74 20 6f 66 20 74 68 65 20 0a 19 89 80 80 74 65 73 74 72 65 63 6f 72 64 73 2c 20 74 ┆utput of the testrecords, t┆ 0x0c60…0c80 68 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 74 65 73 74 6f 75 74 70 75 74 20 74 6f 20 74 ┆he generation of testoutput to t┆ 0x0c80…0ca0 68 65 20 0a 19 89 80 80 74 65 73 74 62 75 66 66 65 72 20 69 73 20 64 69 73 61 62 6c 65 64 20 77 ┆he testbuffer is disabled w┆ 0x0ca0…0cc0 68 69 6c 65 20 74 68 65 20 74 65 73 74 20 6d 61 73 6b 20 61 6e 64 20 74 68 65 20 0a 19 89 80 80 ┆hile the test mask and the ┆ 0x0cc0…0ce0 74 65 73 74 62 75 66 66 65 72 20 61 72 65 20 69 6e 73 70 65 63 74 65 64 20 61 6e 64 20 65 6e 61 ┆testbuffer are inspected and ena┆ 0x0ce0…0d00 62 6c 65 64 20 61 67 61 69 6e 20 77 69 74 68 20 74 68 65 20 73 61 6d 65 20 0a 19 89 80 80 74 65 ┆bled again with the same te┆ 0x0d00…0d20 73 74 6d 61 73 6b 20 28 69 6e 20 63 61 73 65 20 6f 66 20 74 65 73 74 72 65 63 6f 72 64 73 20 66 ┆stmask (in case of testrecords f┆ 0x0d20…0d40 72 6f 6d 20 74 68 65 20 63 6f 72 65 29 2c 20 65 76 65 6e 20 69 6e 20 0a 19 89 80 80 63 61 73 65 ┆rom the core), even in case┆ 0x0d40…0d60 20 6f 66 20 61 62 6e 6f 72 6d 61 6c 20 70 72 6f 67 72 61 6d 20 74 65 72 6d 69 6e 61 74 69 6f 6e ┆ of abnormal program termination┆ 0x0d60…0d80 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 65 20 74 65 73 74 72 65 63 6f 72 64 73 20 6f ┆. The testrecords o┆ 0x0d80…0da0 66 20 74 68 65 20 62 75 66 66 65 72 20 61 72 65 20 70 72 69 6e 74 65 64 20 69 6e 20 46 49 46 4f ┆f the buffer are printed in FIFO┆ 0x0da0…0dc0 20 6f 72 64 65 72 20 0a 19 89 80 80 61 73 20 69 6e 64 69 63 61 74 65 64 20 62 79 20 74 68 65 20 ┆ order as indicated by the ┆ 0x0dc0…0dd4 62 75 66 66 65 72 20 70 6f 69 6e 74 65 72 73 2e 0d 0a 0d 0a ┆buffer pointers. ┆ 0x0dd4…0dd7 FormFeed { 0x0dd4…0dd7 0c 81 f0 ┆ ┆ 0x0dd4…0dd7 } 0x0dd7…0de0 0a b0 a1 34 2e 20 20 20 20 ┆ 4. ┆ 0x0de0…0e00 20 20 20 45 58 41 4d 50 4c 45 53 0d 0a 0d 0a b0 a1 34 2e 31 20 20 20 20 20 20 45 78 61 6d 70 6c ┆ EXAMPLES 4.1 Exampl┆ 0x0e00…0e20 (7,) 65 20 31 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 ┆e 1 The following c┆ 0x0e20…0e40 6f 6d 6d 61 6e 64 20 65 78 74 72 61 63 74 73 20 74 68 65 20 73 74 61 74 69 73 74 69 63 73 20 61 ┆ommand extracts the statistics a┆ 0x0e40…0e60 6e 64 20 74 68 65 20 0a 19 89 80 80 74 65 73 74 72 65 63 6f 72 64 73 20 66 72 6f 6d 20 74 68 65 ┆nd the testrecords from the┆ 0x0e60…0e80 20 52 43 38 30 30 30 2f 49 44 41 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 6e 61 6d 65 64 0a 19 ┆ RC8000/IDA main process named ┆ 0x0e80…0ea0 89 80 80 27 69 64 61 6d 61 69 6e 31 27 20 61 6e 64 20 70 72 69 6e 74 73 20 69 74 20 69 6e 20 74 ┆ 'idamain1' and prints it in t┆ 0x0ea0…0ec0 68 65 20 66 69 6c 65 20 27 6f 75 74 66 69 6c 65 27 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 6f ┆he file 'outfile': o┆ 0x0ec0…0ee0 75 74 66 69 6c 65 20 3d 20 6d 61 69 6e 73 74 61 74 20 63 6f 72 65 38 30 30 30 2e 69 64 61 6d 61 ┆utfile = mainstat core8000.idama┆ 0x0ee0…0f00 69 6e 31 20 74 65 73 74 2e 79 65 73 0d 0a 0d 0a 0d 0a b0 a1 34 2e 32 20 20 20 20 20 20 45 78 61 ┆in1 test.yes 4.2 Exa┆ 0x0f00…0f20 6d 70 6c 65 20 32 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e ┆mple 2 The followin┆ 0x0f20…0f40 67 20 63 6f 6d 6d 61 6e 64 20 65 78 74 72 61 63 74 73 20 74 68 65 20 73 74 61 74 69 73 74 69 63 ┆g command extracts the statistic┆ 0x0f40…0f60 73 20 66 72 6f 6d 20 74 68 65 20 0a 19 89 80 80 52 43 38 30 30 30 2f 46 50 41 20 6d 61 69 6e 20 ┆s from the RC8000/FPA main ┆ 0x0f60…0f80 70 72 6f 63 65 73 73 20 6e 61 6d 65 64 20 27 6d 61 69 6e 33 36 30 30 31 27 3a 0d 0a 0d 0a 20 20 ┆process named 'main36001': ┆ 0x0f80…0fa0 20 20 20 20 20 20 20 6d 61 69 6e 73 74 61 74 20 63 6f 72 65 38 30 30 30 2e 6d 61 69 6e 33 36 30 ┆ mainstat core8000.main360┆ 0x0fa0…0fc0 30 31 0d 0a 0d 0a 0d 0a b0 a1 34 2e 33 20 20 20 20 20 20 45 78 61 6d 70 6c 65 20 33 0d 0a 0d 0a ┆01 4.3 Example 3 ┆ 0x0fc0…0fe0 20 20 20 20 20 20 20 20 20 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6d 6d 61 6e 64 20 ┆ The following command ┆ 0x0fe0…1000 65 78 74 72 61 63 74 73 20 74 68 65 20 73 74 61 74 69 73 74 69 63 73 20 61 6e 64 20 74 68 65 20 ┆extracts the statistics and the ┆ 0x1000…1020 (8,) 0a 19 89 80 80 74 65 73 74 62 75 66 66 65 72 20 66 72 6f 6d 20 74 68 65 20 52 43 38 30 30 30 2f ┆ testbuffer from the RC8000/┆ 0x1020…1040 46 50 41 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 77 69 74 68 20 74 68 65 20 0a 19 89 80 80 61 ┆FPA main process with the a┆ 0x1040…1060 64 64 72 65 73 73 20 32 30 37 38 36 20 69 6e 20 74 68 65 20 63 6f 72 65 64 75 6d 70 20 63 6f 6e ┆ddress 20786 in the coredump con┆ 0x1060…1080 74 61 69 6e 65 64 20 69 6e 20 74 68 65 20 66 69 6c 65 20 0a 19 89 80 80 27 63 6f 72 65 64 75 6d ┆tained in the file 'coredum┆ 0x1080…10a0 70 27 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 6d 61 69 6e 73 74 61 74 20 64 75 6d 70 38 30 30 ┆p': mainstat dump800┆ 0x10a0…10bd 30 2e 63 6f 72 65 64 75 6d 70 2e 32 30 37 38 36 20 74 65 73 74 2e 79 65 73 0d 0a 0d 0a ┆0.coredump.20786 test.yes ┆ 0x10bd…10c0 FormFeed { 0x10bd…10c0 0c 81 e0 ┆ ┆ 0x10bd…10c0 } 0x10c0…10e0 0a a1 b0 35 2e 20 20 20 20 20 20 20 45 52 52 4f 52 20 4d 45 53 53 41 47 45 53 0d 0a 0d 0a 20 20 ┆ 5. ERROR MESSAGES ┆ 0x10e0…1100 20 20 20 20 20 20 20 2a 2a 2a 6d 61 69 6e 73 74 61 74 2c 20 65 72 72 6f 72 20 69 6e 20 63 61 6c ┆ ***mainstat, error in cal┆ 0x1100…1120 6c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 61 6c 6c 20 69 73 20 6e 6f 74 20 73 ┆l the call is not s┆ 0x1120…1140 79 6e 74 61 63 74 69 63 61 6c 6c 79 20 63 6f 72 72 65 63 74 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ┆yntactically correct ┆ 0x1140…1160 20 2a 2a 2a 6d 61 69 6e 73 74 61 74 2c 20 6e 6f 20 74 65 73 74 62 75 66 66 65 72 0d 0a 20 20 20 ┆ ***mainstat, no testbuffer ┆ 0x1160…1180 20 20 20 20 20 20 20 20 20 74 68 65 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 73 70 65 63 69 66 ┆ the main process specif┆ 0x1180…11a0 69 65 64 20 68 61 73 20 6e 6f 20 74 65 73 74 62 75 66 66 65 72 0d 0a 0d 0a 20 20 20 20 20 20 20 ┆ied has no testbuffer ┆ 0x11a0…11c0 20 20 2a 2a 2a 6d 61 69 6e 73 74 61 74 2c 20 6d 61 69 6e 70 72 6f 63 65 73 73 20 75 6e 6b 6e 6f ┆ ***mainstat, mainprocess unkno┆ 0x11c0…11e0 77 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 84 74 68 65 20 49 44 41 2c 20 46 50 41 20 6f 72 ┆wn the IDA, FPA or┆ 0x11e0…1200 20 53 43 43 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 73 70 65 63 69 66 69 65 64 20 64 6f 65 73 ┆ SCC main process specified does┆ 0x1200…1220 (9,) 20 6e 6f 74 20 0a 19 8c 80 80 65 78 69 73 74 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 2a 2a 2a 6d ┆ not exist ***m┆ 0x1220…1240 61 69 6e 73 74 61 74 2c 20 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 6e 6f 74 20 66 6f 75 6e 64 0d ┆ainstat, main process not found ┆ 0x1240…1260 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 84 74 68 65 20 6b 69 6e 64 20 6f 66 20 74 68 65 20 ┆ - the kind of the ┆ 0x1260…1280 6d 61 69 6e 20 70 72 6f 63 65 73 73 20 73 70 65 63 69 66 69 65 64 20 61 6e 64 20 66 6f 75 6e 64 ┆main process specified and found┆ 0x1280…12a0 20 69 73 20 0a 19 8e 80 80 6e 6f 74 20 63 6f 72 72 65 63 74 20 28 6e 65 69 74 68 65 72 20 38 30 ┆ is not correct (neither 80┆ 0x12a0…12c0 20 6e 6f 72 20 32 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 84 74 68 65 20 63 6f 72 ┆ nor 20) - the cor┆ 0x12c0…12e0 65 64 75 6d 70 20 61 72 65 61 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 66 6f 75 6e 64 20 6f 72 ┆edump area could not be found or┆ 0x12e0…1300 20 74 68 65 20 61 64 64 72 65 73 73 20 0a 19 8e 80 80 70 6f 69 6e 74 73 20 6f 75 74 73 69 64 65 ┆ the address points outside┆ 0x1300…1320 20 74 68 65 20 63 6f 72 65 64 75 6d 70 20 61 72 65 61 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ the coredump area. ┆ 0x1320…1340 20 2d 20 84 74 68 65 20 61 64 64 72 65 73 73 20 6f 66 20 74 68 65 20 6d 61 69 6e 70 72 6f 63 20 ┆ - the address of the mainproc ┆ 0x1340…1360 73 70 65 63 69 66 69 65 64 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e 64 20 0a 19 8e 80 80 69 6e 20 ┆specified was not found in ┆ 0x1360…1380 74 68 65 20 6e 61 6d 65 20 74 61 62 6c 65 20 69 6e 20 74 68 65 20 63 6f 72 65 64 75 6d 70 2e 0d ┆the name table in the coredump. ┆ 0x1380…1383 0a 0d 0a ┆ ┆ 0x1383…1386 FormFeed { 0x1383…1386 0c 81 a0 ┆ ┆ 0x1383…1386 } 0x1386…1389 0a 0d 0a ┆ ┆ 0x1389…138c FormFeed { 0x1389…138c 0c 80 88 ┆ ┆ 0x1389…138c } 0x138c…13a0 0a 1a 1a 0a 1a 66 6f 75 6e 64 20 0a 19 8e 80 80 69 6e 20 74 ┆ found in t┆ 0x13a0…13c0 68 65 20 6e 61 6d 65 20 74 61 62 6c 65 20 69 6e 20 74 68 65 20 63 6f 72 65 64 75 6d 70 2e 0d 0a ┆he name table in the coredump. ┆ 0x13c0…13c2 0d 0a ┆ ┆ 0x13c2…13c5 FormFeed { 0x13c2…13c5 0c 81 a0 ┆ ┆ 0x13c2…13c5 } 0x13c5…13c8 0a 0d 0a ┆ ┆ 0x13c8…13cb FormFeed { 0x13c8…13cb 0c 80 88 ┆ ┆ 0x13c8…13cb } 0x13cb…13e0 0a 0a 1a 0d 0a 0d 0a 2d 20 62 61 75 64 72 61 74 65 20 66 6f 72 ┆ - baudrate for┆ 0x13e0…1400 20 72 65 63 65 69 76 65 72 20 61 6e 64 20 74 72 61 6e 73 6d 69 74 74 65 72 20 28 64 65 66 61 75 ┆ receiver and transmitter (defau┆