home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-03-13 | 3.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: errorunit.p
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Mar 13 16:52:41 1989, modified Mon Mar 13 16:52:41 1989, creator 'MPS ', type ASCII, 3322 bytes "errorunit.p" , at 0xd7a 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 65 72 72 6f 72 75 | 6e 69 74 2e 70 00 00 00 |..erroru|nit.p...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0c fa 00 | 00 01 7e a0 41 e8 a9 a0 |........|..~.A...|
|00000060| 41 e8 a9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |A.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6d 00 00 00 |........|....m...|
|00000080| 75 6e 69 74 20 65 72 72 | 6f 72 75 6e 69 74 3b 0d |unit err|orunit;.|
|00000090| 0d 69 6e 74 65 72 66 61 | 63 65 0d 75 73 65 73 20 |.interfa|ce.uses |
|000000a0| 6d 65 6d 74 79 70 65 73 | 2c 71 75 69 63 6b 64 72 |memtypes|,quickdr|
|000000b0| 61 77 2c 6f 73 69 6e 74 | 66 2c 74 6f 6f 6c 69 6e |aw,osint|f,toolin|
|000000c0| 74 66 2c 70 61 63 6b 69 | 6e 74 66 3b 20 0d 0d 7b |tf,packi|ntf; ..{|
|000000d0| 75 73 65 20 66 6f 72 20 | 75 73 65 72 20 6d 65 73 |use for |user mes|
|000000e0| 73 61 67 65 73 20 61 6e | 64 20 65 72 72 6f 72 73 |sages an|d errors|
|000000f0| 7d 0d 74 79 70 65 0d 09 | 6d 65 73 73 61 67 65 5f |}.type..|message_|
|00000100| 6d 65 74 68 6f 64 73 3d | 6f 62 6a 65 63 74 0d 09 |methods=|object..|
|00000110| 09 09 70 72 6f 63 65 64 | 75 72 65 20 75 73 65 72 |..proced|ure user|
|00000120| 5f 6d 65 73 73 61 67 65 | 5f 6d 65 74 68 6f 64 28 |_message|_method(|
|00000130| 73 73 3a 73 74 72 32 35 | 35 29 3b 0d 09 09 09 70 |ss:str25|5);....p|
|00000140| 72 6f 63 65 64 75 72 65 | 20 75 73 65 72 5f 70 61 |rocedure| user_pa|
|00000150| 75 73 65 5f 6d 65 74 68 | 6f 64 3b 0d 09 09 09 70 |use_meth|od;....p|
|00000160| 72 6f 63 65 64 75 72 65 | 20 64 65 62 75 67 5f 6d |rocedure| debug_m|
|00000170| 65 73 73 61 67 65 5f 6d | 65 74 68 6f 64 28 73 73 |essage_m|ethod(ss|
|00000180| 3a 73 74 72 32 35 35 29 | 3b 0d 09 09 09 70 72 6f |:str255)|;....pro|
|00000190| 63 65 64 75 72 65 20 64 | 65 62 75 67 5f 70 61 75 |cedure d|ebug_pau|
|000001a0| 73 65 5f 6d 65 74 68 6f | 64 3b 0d 09 09 09 70 72 |se_metho|d;....pr|
|000001b0| 6f 63 65 64 75 72 65 20 | 64 65 62 75 67 5f 62 72 |ocedure |debug_br|
|000001c0| 65 61 6b 5f 6d 65 74 68 | 6f 64 28 73 73 3a 73 74 |eak_meth|od(ss:st|
|000001d0| 72 32 35 35 29 3b 0d 09 | 09 09 70 72 6f 63 65 64 |r255);..|..proced|
|000001e0| 75 72 65 20 63 6c 65 61 | 6e 75 70 5f 61 6e 64 5f |ure clea|nup_and_|
|000001f0| 65 78 69 74 3b 0d 09 09 | 09 65 6e 64 3b 0d 76 61 |exit;...|.end;.va|
|00000200| 72 0d 09 73 75 70 70 72 | 65 73 73 5f 64 65 62 75 |r..suppr|ess_debu|
|00000210| 67 5f 6d 65 73 73 61 67 | 65 73 3a 62 6f 6f 6c 65 |g_messag|es:boole|
|00000220| 61 6e 3b 0d 09 7b 69 66 | 20 74 72 75 65 2c 20 64 |an;..{if| true, d|
|00000230| 6f 6e 27 74 20 69 73 73 | 75 65 20 64 65 62 75 67 |on't iss|ue debug|
|00000240| 20 6d 65 73 73 61 67 65 | 73 0d 09 61 6e 64 20 75 | message|s..and u|
|00000250| 73 65 20 75 73 65 72 5f | 6d 65 73 73 61 67 65 20 |se user_|message |
|00000260| 74 6f 20 72 65 70 6f 72 | 74 20 66 61 74 61 6c 0d |to repor|t fatal.|
|00000270| 09 65 72 72 6f 72 73 3b | 20 69 66 20 66 61 6c 73 |.errors;| if fals|
|00000280| 65 2c 20 75 73 69 6e 67 | 20 64 65 62 75 67 67 65 |e, using| debugge|
|00000290| 72 20 74 72 61 70 73 20 | 69 73 20 6f 6b 7d 0d 09 |r traps |is ok}..|
|000002a0| 0d 09 70 72 6f 63 65 64 | 75 72 65 20 6d 65 73 73 |..proced|ure mess|
|000002b0| 61 67 65 5f 69 6e 69 74 | 69 61 6c 69 7a 65 28 70 |age_init|ialize(p|
|000002c0| 73 65 6c 66 3a 6d 65 73 | 73 61 67 65 5f 6d 65 74 |self:mes|sage_met|
|000002d0| 68 6f 64 73 29 3b 0d 0d | 09 70 72 6f 63 65 64 75 |hods);..|.procedu|
|000002e0| 72 65 20 75 73 65 72 5f | 6d 65 73 73 61 67 65 28 |re user_|message(|
|000002f0| 73 73 3a 73 74 72 32 35 | 35 29 3b 0d 09 70 72 6f |ss:str25|5);..pro|
|00000300| 63 65 64 75 72 65 20 75 | 73 65 72 5f 65 72 72 6e |cedure u|ser_errn|
|00000310| 75 6d 28 73 73 3a 73 74 | 72 32 35 35 3b 69 69 3a |um(ss:st|r255;ii:|
|00000320| 6c 6f 6e 67 69 6e 74 29 | 3b 0d 09 70 72 6f 63 65 |longint)|;..proce|
|00000330| 64 75 72 65 20 75 73 65 | 72 5f 62 65 65 70 3b 0d |dure use|r_beep;.|
|00000340| 09 70 72 6f 63 65 64 75 | 72 65 20 75 73 65 72 5f |.procedu|re user_|
|00000350| 70 61 75 73 65 3b 0d 09 | 0d 09 70 72 6f 63 65 64 |pause;..|..proced|
|00000360| 75 72 65 20 64 65 62 75 | 67 5f 6d 65 73 73 61 67 |ure debu|g_messag|
|00000370| 65 28 73 73 3a 73 74 72 | 32 35 35 29 3b 0d 09 70 |e(ss:str|255);..p|
|00000380| 72 6f 63 65 64 75 72 65 | 20 64 65 62 75 67 5f 62 |rocedure| debug_b|
|00000390| 72 65 61 6b 28 73 73 3a | 73 74 72 32 35 35 29 3b |reak(ss:|str255);|
|000003a0| 0d 09 70 72 6f 63 65 64 | 75 72 65 20 64 65 62 75 |..proced|ure debu|
|000003b0| 67 5f 65 72 72 6e 75 6d | 28 73 73 3a 73 74 72 32 |g_errnum|(ss:str2|
|000003c0| 35 35 3b 69 69 3a 6c 6f | 6e 67 69 6e 74 29 3b 0d |55;ii:lo|ngint);.|
|000003d0| 09 70 72 6f 63 65 64 75 | 72 65 20 64 65 62 75 67 |.procedu|re debug|
|000003e0| 5f 62 65 65 70 3b 0d 09 | 70 72 6f 63 65 64 75 72 |_beep;..|procedur|
|000003f0| 65 20 64 65 62 75 67 5f | 70 61 75 73 65 3b 0d 09 |e debug_|pause;..|
|00000400| 0d 09 70 72 6f 63 65 64 | 75 72 65 20 66 61 74 61 |..proced|ure fata|
|00000410| 6c 5f 6d 65 73 73 61 67 | 65 28 73 73 3a 73 74 72 |l_messag|e(ss:str|
|00000420| 32 35 35 29 3b 0d 09 70 | 72 6f 63 65 64 75 72 65 |255);..p|rocedure|
|00000430| 20 66 61 74 61 6c 5f 65 | 72 72 6e 75 6d 28 73 73 | fatal_e|rrnum(ss|
|00000440| 3a 73 74 72 32 35 35 3b | 69 69 3a 6c 6f 6e 67 69 |:str255;|ii:longi|
|00000450| 6e 74 29 3b 0d 09 70 72 | 6f 63 65 64 75 72 65 20 |nt);..pr|ocedure |
|00000460| 66 61 74 61 6c 5f 6d 65 | 73 73 61 67 65 5f 65 78 |fatal_me|ssage_ex|
|00000470| 69 74 3b 0d 0d 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |it;..imp|lementat|
|00000480| 69 6f 6e 0d 0d 76 61 72 | 20 6d 79 73 65 6c 66 3a |ion..var| myself:|
|00000490| 6d 65 73 73 61 67 65 5f | 6d 65 74 68 6f 64 73 3b |message_|methods;|
|000004a0| 0d 0d 70 72 6f 63 65 64 | 75 72 65 20 6d 65 73 73 |..proced|ure mess|
|000004b0| 61 67 65 5f 69 6e 69 74 | 69 61 6c 69 7a 65 28 70 |age_init|ialize(p|
|000004c0| 73 65 6c 66 3a 6d 65 73 | 73 61 67 65 5f 6d 65 74 |self:mes|sage_met|
|000004d0| 68 6f 64 73 29 3b 0d 7b | 63 61 6c 6c 20 74 6f 20 |hods);.{|call to |
|000004e0| 73 65 74 20 74 68 65 20 | 6d 65 74 68 6f 64 73 7d |set the |methods}|
|000004f0| 0d 62 65 67 69 6e 0d 6d | 79 73 65 6c 66 3a 3d 70 |.begin.m|yself:=p|
|00000500| 73 65 6c 66 3b 0d 65 6e | 64 3b 0d 0d 70 72 6f 63 |self;.en|d;..proc|
|00000510| 65 64 75 72 65 20 6d 65 | 73 73 61 67 65 5f 6d 65 |edure me|ssage_me|
|00000520| 74 68 6f 64 73 2e 75 73 | 65 72 5f 6d 65 73 73 61 |thods.us|er_messa|
|00000530| 67 65 5f 6d 65 74 68 6f | 64 28 73 73 3a 73 74 72 |ge_metho|d(ss:str|
|00000540| 32 35 35 29 3b 0d 62 65 | 67 69 6e 0d 77 72 69 74 |255);.be|gin.writ|
|00000550| 65 6c 6e 28 73 73 29 3b | 0d 65 6e 64 3b 0d 70 72 |eln(ss);|.end;.pr|
|00000560| 6f 63 65 64 75 72 65 20 | 6d 65 73 73 61 67 65 5f |ocedure |message_|
|00000570| 6d 65 74 68 6f 64 73 2e | 64 65 62 75 67 5f 6d 65 |methods.|debug_me|
|00000580| 73 73 61 67 65 5f 6d 65 | 74 68 6f 64 28 73 73 3a |ssage_me|thod(ss:|
|00000590| 73 74 72 32 35 35 29 3b | 0d 62 65 67 69 6e 0d 77 |str255);|.begin.w|
|000005a0| 72 69 74 65 6c 6e 28 73 | 73 29 3b 0d 65 6e 64 3b |riteln(s|s);.end;|
|000005b0| 0d 70 72 6f 63 65 64 75 | 72 65 20 6d 65 73 73 61 |.procedu|re messa|
|000005c0| 67 65 5f 6d 65 74 68 6f | 64 73 2e 64 65 62 75 67 |ge_metho|ds.debug|
|000005d0| 5f 62 72 65 61 6b 5f 6d | 65 74 68 6f 64 28 73 73 |_break_m|ethod(ss|
|000005e0| 3a 73 74 72 32 35 35 29 | 3b 0d 62 65 67 69 6e 0d |:str255)|;.begin.|
|000005f0| 64 65 62 75 67 73 74 72 | 28 73 73 29 3b 0d 65 6e |debugstr|(ss);.en|
|00000600| 64 3b 0d 0d 70 72 6f 63 | 65 64 75 72 65 20 6d 65 |d;..proc|edure me|
|00000610| 73 73 61 67 65 5f 6d 65 | 74 68 6f 64 73 2e 63 6c |ssage_me|thods.cl|
|00000620| 65 61 6e 75 70 5f 61 6e | 64 5f 65 78 69 74 3b 0d |eanup_an|d_exit;.|
|00000630| 7b 6f 76 65 72 72 69 64 | 65 20 74 68 69 73 20 6d |{overrid|e this m|
|00000640| 65 74 68 6f 64 20 74 6f | 20 70 72 6f 76 69 64 65 |ethod to| provide|
|00000650| 20 66 6f 72 20 75 73 65 | 72 20 73 75 70 70 6c 69 | for use|r suppli|
|00000660| 65 64 20 63 6c 65 61 6e | 75 70 7d 0d 62 65 67 69 |ed clean|up}.begi|
|00000670| 6e 0d 75 73 65 72 5f 70 | 61 75 73 65 5f 6d 65 74 |n.user_p|ause_met|
|00000680| 68 6f 64 3b 0d 65 78 69 | 74 74 6f 73 68 65 6c 6c |hod;.exi|ttoshell|
|00000690| 3b 0d 65 6e 64 3b 0d 0d | 70 72 6f 63 65 64 75 72 |;.end;..|procedur|
|000006a0| 65 20 6d 65 73 73 61 67 | 65 5f 6d 65 74 68 6f 64 |e messag|e_method|
|000006b0| 73 2e 75 73 65 72 5f 70 | 61 75 73 65 5f 6d 65 74 |s.user_p|ause_met|
|000006c0| 68 6f 64 3b 0d 62 65 67 | 69 6e 0d 77 72 69 74 65 |hod;.beg|in.write|
|000006d0| 6c 6e 28 27 50 72 65 73 | 73 20 72 65 74 75 72 6e |ln('Pres|s return|
|000006e0| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 27 29 3b 0d | to cont|inue');.|
|000006f0| 72 65 61 64 6c 6e 3b 0d | 65 6e 64 3b 0d 0d 70 72 |readln;.|end;..pr|
|00000700| 6f 63 65 64 75 72 65 20 | 6d 65 73 73 61 67 65 5f |ocedure |message_|
|00000710| 6d 65 74 68 6f 64 73 2e | 64 65 62 75 67 5f 70 61 |methods.|debug_pa|
|00000720| 75 73 65 5f 6d 65 74 68 | 6f 64 3b 0d 62 65 67 69 |use_meth|od;.begi|
|00000730| 6e 0d 77 72 69 74 65 6c | 6e 28 27 50 72 65 73 73 |n.writel|n('Press|
|00000740| 20 72 65 74 75 72 6e 20 | 74 6f 20 63 6f 6e 74 69 | return |to conti|
|00000750| 6e 75 65 27 29 3b 0d 72 | 65 61 64 6c 6e 3b 0d 65 |nue');.r|eadln;.e|
|00000760| 6e 64 3b 0d 0d 70 72 6f | 63 65 64 75 72 65 20 64 |nd;..pro|cedure d|
|00000770| 65 62 75 67 5f 62 72 65 | 61 6b 5f 6d 65 74 68 6f |ebug_bre|ak_metho|
|00000780| 64 28 73 73 3a 73 74 72 | 32 35 35 29 3b 0d 62 65 |d(ss:str|255);.be|
|00000790| 67 69 6e 0d 64 65 62 75 | 67 73 74 72 28 73 73 29 |gin.debu|gstr(ss)|
|000007a0| 3b 0d 65 6e 64 3b 0d 0d | 7b 3d 3d 3d 3d 3d 3d 3d |;.end;..|{=======|
|000007b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000007c0| 3d 7d 0d 0d 70 72 6f 63 | 65 64 75 72 65 20 75 73 |=}..proc|edure us|
|000007d0| 65 72 5f 6d 65 73 73 61 | 67 65 28 73 73 3a 73 74 |er_messa|ge(ss:st|
|000007e0| 72 32 35 35 29 3b 0d 62 | 65 67 69 6e 0d 6d 79 73 |r255);.b|egin.mys|
|000007f0| 65 6c 66 2e 75 73 65 72 | 5f 6d 65 73 73 61 67 65 |elf.user|_message|
|00000800| 5f 6d 65 74 68 6f 64 28 | 73 73 29 3b 0d 65 6e 64 |_method(|ss);.end|
|00000810| 3b 7b 70 72 6f 63 7d 0d | 0d 70 72 6f 63 65 64 75 |;{proc}.|.procedu|
|00000820| 72 65 20 75 73 65 72 5f | 65 72 72 6e 75 6d 28 73 |re user_|errnum(s|
|00000830| 73 3a 73 74 72 32 35 35 | 3b 69 69 3a 6c 6f 6e 67 |s:str255|;ii:long|
|00000840| 69 6e 74 29 3b 0d 76 61 | 72 20 77 6f 72 6b 3a 73 |int);.va|r work:s|
|00000850| 74 72 32 35 35 3b 0d 62 | 65 67 69 6e 0d 6e 75 6d |tr255;.b|egin.num|
|00000860| 74 6f 73 74 72 69 6e 67 | 28 69 69 2c 77 6f 72 6b |tostring|(ii,work|
|00000870| 29 3b 0d 77 6f 72 6b 3a | 3d 63 6f 6e 63 61 74 28 |);.work:|=concat(|
|00000880| 63 6f 6e 63 61 74 28 73 | 73 2c 27 20 27 29 2c 77 |concat(s|s,' '),w|
|00000890| 6f 72 6b 29 3b 0d 75 73 | 65 72 5f 6d 65 73 73 61 |ork);.us|er_messa|
|000008a0| 67 65 28 77 6f 72 6b 29 | 3b 0d 65 6e 64 3b 7b 70 |ge(work)|;.end;{p|
|000008b0| 72 6f 63 7d 0d 0d 70 72 | 6f 63 65 64 75 72 65 20 |roc}..pr|ocedure |
|000008c0| 75 73 65 72 5f 70 61 75 | 73 65 3b 0d 62 65 67 69 |user_pau|se;.begi|
|000008d0| 6e 0d 6d 79 73 65 6c 66 | 2e 75 73 65 72 5f 70 61 |n.myself|.user_pa|
|000008e0| 75 73 65 5f 6d 65 74 68 | 6f 64 3b 0d 65 6e 64 3b |use_meth|od;.end;|
|000008f0| 7b 70 72 6f 63 7d 0d 0d | 70 72 6f 63 65 64 75 72 |{proc}..|procedur|
|00000900| 65 20 75 73 65 72 5f 62 | 65 65 70 3b 0d 62 65 67 |e user_b|eep;.beg|
|00000910| 69 6e 0d 73 79 73 62 65 | 65 70 28 31 29 3b 0d 65 |in.sysbe|ep(1);.e|
|00000920| 6e 64 3b 0d 0d 70 72 6f | 63 65 64 75 72 65 20 64 |nd;..pro|cedure d|
|00000930| 65 62 75 67 5f 6d 65 73 | 73 61 67 65 28 73 73 3a |ebug_mes|sage(ss:|
|00000940| 73 74 72 32 35 35 29 3b | 0d 62 65 67 69 6e 0d 69 |str255);|.begin.i|
|00000950| 66 20 6e 6f 74 20 73 75 | 70 70 72 65 73 73 5f 64 |f not su|ppress_d|
|00000960| 65 62 75 67 5f 6d 65 73 | 73 61 67 65 73 20 74 68 |ebug_mes|sages th|
|00000970| 65 6e 0d 09 6d 79 73 65 | 6c 66 2e 75 73 65 72 5f |en..myse|lf.user_|
|00000980| 6d 65 73 73 61 67 65 5f | 6d 65 74 68 6f 64 28 73 |message_|method(s|
|00000990| 73 29 3b 0d 65 6e 64 3b | 7b 70 72 6f 63 7d 0d 0d |s);.end;|{proc}..|
|000009a0| 70 72 6f 63 65 64 75 72 | 65 20 64 65 62 75 67 5f |procedur|e debug_|
|000009b0| 65 72 72 6e 75 6d 28 73 | 73 3a 73 74 72 32 35 35 |errnum(s|s:str255|
|000009c0| 3b 69 69 3a 6c 6f 6e 67 | 69 6e 74 29 3b 0d 76 61 |;ii:long|int);.va|
|000009d0| 72 20 77 6f 72 6b 3a 73 | 74 72 32 35 35 3b 0d 62 |r work:s|tr255;.b|
|000009e0| 65 67 69 6e 0d 69 66 20 | 6e 6f 74 20 73 75 70 70 |egin.if |not supp|
|000009f0| 72 65 73 73 5f 64 65 62 | 75 67 5f 6d 65 73 73 61 |ress_deb|ug_messa|
|00000a00| 67 65 73 20 74 68 65 6e | 0d 09 62 65 67 69 6e 0d |ges then|..begin.|
|00000a10| 09 6e 75 6d 74 6f 73 74 | 72 69 6e 67 28 69 69 2c |.numtost|ring(ii,|
|00000a20| 77 6f 72 6b 29 3b 0d 09 | 77 6f 72 6b 3a 3d 63 6f |work);..|work:=co|
|00000a30| 6e 63 61 74 28 63 6f 6e | 63 61 74 28 73 73 2c 27 |ncat(con|cat(ss,'|
|00000a40| 20 27 29 2c 77 6f 72 6b | 29 3b 0d 09 64 65 62 75 | '),work|);..debu|
|00000a50| 67 5f 6d 65 73 73 61 67 | 65 28 77 6f 72 6b 29 3b |g_messag|e(work);|
|00000a60| 0d 09 65 6e 64 3b 0d 65 | 6e 64 3b 7b 70 72 6f 63 |..end;.e|nd;{proc|
|00000a70| 7d 0d 0d 70 72 6f 63 65 | 64 75 72 65 20 64 65 62 |}..proce|dure deb|
|00000a80| 75 67 5f 70 61 75 73 65 | 3b 0d 62 65 67 69 6e 0d |ug_pause|;.begin.|
|00000a90| 69 66 20 6e 6f 74 20 73 | 75 70 70 72 65 73 73 5f |if not s|uppress_|
|00000aa0| 64 65 62 75 67 5f 6d 65 | 73 73 61 67 65 73 20 74 |debug_me|ssages t|
|00000ab0| 68 65 6e 0d 09 6d 79 73 | 65 6c 66 2e 64 65 62 75 |hen..mys|elf.debu|
|00000ac0| 67 5f 70 61 75 73 65 5f | 6d 65 74 68 6f 64 3b 0d |g_pause_|method;.|
|00000ad0| 65 6e 64 3b 7b 70 72 6f | 63 7d 0d 0d 70 72 6f 63 |end;{pro|c}..proc|
|00000ae0| 65 64 75 72 65 20 64 65 | 62 75 67 5f 62 65 65 70 |edure de|bug_beep|
|00000af0| 3b 0d 62 65 67 69 6e 0d | 69 66 20 6e 6f 74 20 73 |;.begin.|if not s|
|00000b00| 75 70 70 72 65 73 73 5f | 64 65 62 75 67 5f 6d 65 |uppress_|debug_me|
|00000b10| 73 73 61 67 65 73 20 74 | 68 65 6e 0d 09 73 79 73 |ssages t|hen..sys|
|00000b20| 62 65 65 70 28 31 29 3b | 0d 65 6e 64 3b 0d 09 09 |beep(1);|.end;...|
|00000b30| 09 0d 70 72 6f 63 65 64 | 75 72 65 20 66 61 74 61 |..proced|ure fata|
|00000b40| 6c 5f 6d 65 73 73 61 67 | 65 28 73 73 3a 73 74 72 |l_messag|e(ss:str|
|00000b50| 32 35 35 29 3b 0d 0d 62 | 65 67 69 6e 0d 69 66 20 |255);..b|egin.if |
|00000b60| 73 75 70 70 72 65 73 73 | 5f 64 65 62 75 67 5f 6d |suppress|_debug_m|
|00000b70| 65 73 73 61 67 65 73 20 | 74 68 65 6e 0d 09 09 62 |essages |then...b|
|00000b80| 65 67 69 6e 0d 09 09 09 | 75 73 65 72 5f 6d 65 73 |egin....|user_mes|
|00000b90| 73 61 67 65 28 73 73 29 | 20 0d 09 09 65 6e 64 0d |sage(ss)| ...end.|
|00000ba0| 09 65 6c 73 65 20 0d 09 | 09 62 65 67 69 6e 0d 09 |.else ..|.begin..|
|00000bb0| 09 09 64 65 62 75 67 5f | 6d 65 73 73 61 67 65 28 |..debug_|message(|
|00000bc0| 73 73 29 0d 09 09 65 6e | 64 3b 0d 66 61 74 61 6c |ss)...en|d;.fatal|
|00000bd0| 5f 6d 65 73 73 61 67 65 | 5f 65 78 69 74 3b 0d 65 |_message|_exit;.e|
|00000be0| 6e 64 3b 7b 70 72 6f 63 | 7d 0d 0d 70 72 6f 63 65 |nd;{proc|}..proce|
|00000bf0| 64 75 72 65 20 66 61 74 | 61 6c 5f 65 72 72 6e 75 |dure fat|al_errnu|
|00000c00| 6d 28 73 73 3a 73 74 72 | 32 35 35 3b 69 69 3a 6c |m(ss:str|255;ii:l|
|00000c10| 6f 6e 67 69 6e 74 29 3b | 0d 62 65 67 69 6e 0d 69 |ongint);|.begin.i|
|00000c20| 66 20 73 75 70 70 72 65 | 73 73 5f 64 65 62 75 67 |f suppre|ss_debug|
|00000c30| 5f 6d 65 73 73 61 67 65 | 73 20 74 68 65 6e 0d 09 |_message|s then..|
|00000c40| 75 73 65 72 5f 65 72 72 | 6e 75 6d 28 73 73 2c 69 |user_err|num(ss,i|
|00000c50| 69 29 20 65 6c 73 65 20 | 64 65 62 75 67 5f 65 72 |i) else |debug_er|
|00000c60| 72 6e 75 6d 28 73 73 2c | 69 69 29 3b 0d 66 61 74 |rnum(ss,|ii);.fat|
|00000c70| 61 6c 5f 6d 65 73 73 61 | 67 65 5f 65 78 69 74 3b |al_messa|ge_exit;|
|00000c80| 0d 65 6e 64 3b 7b 70 72 | 6f 63 7d 0d 0d 70 72 6f |.end;{pr|oc}..pro|
|00000c90| 63 65 64 75 72 65 20 66 | 61 74 61 6c 5f 6d 65 73 |cedure f|atal_mes|
|00000ca0| 73 61 67 65 5f 65 78 69 | 74 3b 0d 0d 62 65 67 69 |sage_exi|t;..begi|
|00000cb0| 6e 0d 6d 79 73 65 6c 66 | 2e 63 6c 65 61 6e 75 70 |n.myself|.cleanup|
|00000cc0| 5f 61 6e 64 5f 65 78 69 | 74 3b 0d 65 78 69 74 74 |_and_exi|t;.exitt|
|00000cd0| 6f 73 68 65 6c 6c 3b 0d | 65 6e 64 3b 7b 70 72 6f |oshell;.|end;{pro|
|00000ce0| 63 7d 0d 0d 70 72 6f 63 | 65 64 75 72 65 20 64 65 |c}..proc|edure de|
|00000cf0| 62 75 67 5f 62 72 65 61 | 6b 28 73 73 3a 73 74 72 |bug_brea|k(ss:str|
|00000d00| 32 35 35 29 3b 0d 7b 74 | 72 61 70 20 74 6f 20 64 |255);.{t|rap to d|
|00000d10| 65 62 75 67 67 65 72 20 | 6f 72 20 73 6f 6d 65 20 |ebugger |or some |
|00000d20| 73 75 63 68 7d 0d 62 65 | 67 69 6e 0d 69 66 20 6e |such}.be|gin.if n|
|00000d30| 6f 74 20 73 75 70 70 72 | 65 73 73 5f 64 65 62 75 |ot suppr|ess_debu|
|00000d40| 67 5f 6d 65 73 73 61 67 | 65 73 20 74 68 65 6e 0d |g_messag|es then.|
|00000d50| 09 6d 79 73 65 6c 66 2e | 64 65 62 75 67 5f 62 72 |.myself.|debug_br|
|00000d60| 65 61 6b 5f 6d 65 74 68 | 6f 64 28 73 73 29 3b 0d |eak_meth|od(ss);.|
|00000d70| 65 6e 64 3b 0d 0d 65 6e | 64 2e 00 00 00 00 00 00 |end;..en|d.......|
|00000d80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000d90| 73 74 72 32 35 35 29 3b | 0d 09 09 09 70 72 6f 63 |str255);|....proc|
|00000da0| 65 64 75 72 65 20 66 61 | 74 61 6c 5f 65 72 72 6e |edure fa|tal_errn|
|00000db0| 0b 65 72 72 6f 72 75 6e | 69 74 2e 70 02 00 00 00 |.errorun|it.p....|
|00000dc0| 54 45 58 54 4d 50 53 20 | 01 00 00 38 01 50 00 00 |TEXTMPS |...8.P..|
|00000dd0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 38 01 50 |..TEXTMP|S ...8.P|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a0 39 c1 17 00 00 | 0c fa 00 00 01 7e 6e 74 |...9....|.....~nt|
|00000e00| 61 74 69 6f 6e 0d 0d 0d | 0d 0d 0d 0d 0d 0d 65 6e |ation...|......en|
|00000e10| 64 3b 70 75 74 20 62 79 | 74 65 73 7d 0d 09 09 09 |d;put by|tes}....|
|00000e20| 09 09 09 09 73 6f 75 72 | 63 65 5f 69 74 65 6d 5f |....sour|ce_item_|
|00000e30| 63 6f 75 6e 74 3a 6c 6f | 6e 67 69 6e 74 3b 0d 09 |count:lo|ngint;..|
|00000e40| 09 09 09 09 09 09 64 65 | 73 74 3a 70 74 72 3b 7b |......de|st:ptr;{|
|00000e50| 6f 75 74 70 75 74 20 62 | 79 74 65 73 2c 77 6f 72 |output b|ytes,wor|
|00000e60| 64 73 2c 20 6f 72 20 6c | 6f 6e 67 77 6f 72 64 73 |ds, or l|ongwords|
|00000e70| 7d 0d 09 09 09 09 09 09 | 09 64 65 73 74 5f 6d 61 |}.......|.dest_ma|
|00000e80| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 01 97 |...H..Co|urier...|
|00000e90| 01 02 01 98 01 03 01 96 | 01 03 01 97 01 04 01 94 |........|........|
|00000ea0| 01 04 01 96 01 05 00 06 | 00 04 00 6b 00 10 01 82 |........|...k....|
|00000eb0| 01 e9 00 b2 00 b1 01 c9 | 02 8a a0 41 b0 69 00 00 |........|...A.i..|
|00000ec0| 00 1a 00 00 00 1a 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000ed0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 02 2e b0 |...L...L|...2....|
|00000ee0| 04 0c 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000ef0| 00 0a 03 ed ff ff 00 00 | 00 00 00 03 30 d2 00 00 |........|....0...|
+--------+-------------------------+-------------------------+--------+--------+