Path: utzoo!utgpu!water!watmath!egisin
From: egisin@watmath.waterloo.edu (Eric Gisin)
Newsgroups: comp.sys.atari.st
Subject: DB: useful program to complement templmon
Summary: source and binary
Message-ID: <17588@watmath.waterloo.edu>
Date: 16 Mar 88 21:53:56 GMT
Distribution: comp
Organization: U of Waterloo, Ontario
Lines: 66
Here is a short program I wrote called "db".
You can use `db some-program.ttp ""' to have TOS load and relocate
some-program, db will then enter templmon with a breakpoint instruction.
You can then disassemble the program, or start or trace it with "G".
See the comments at the top of DB.C for documentation.
The source will compile under MJC; there is a non-portable asm() in it.
table
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 db.arc
M&@A$0BY# $
0,]\$A7AGZ$\J3Z: &+.5|
MS=(Q."IT\0(HZ(",L03QHZ+DKN1 BB[=N4*T&\-.NYS$R7,&6"( (#|
M1(^#8>B$V2<:=Y0MX@$"5B2-0M'SILSB=N<'JUZ3!@V;&R[AQ^F|
M#>T:MN'FT&YBB:%8&7"$<=%,1- 08&X$#O8&&65DAIUCPSUA7(/2@> 3'4R9|
M8<:',T5'&5+A@=C>>_&5&$6'<=1QF84%O3#00",8-08;=5 ( @]OS"&&462X|
M@(8/-RJ0HQD4.M6$$D/@V*11920@Q!)04)& 8FV@\%H,.8!I0PKH!00""30$|
M8<00.A2%7QEGW%?4473(4<<8=*0!4HTX-D1&&F8D.<*4;E0I1!5&)$ ###G8|
M,- 8:(374AU.;7&H$5WL )J9%(F(D1EO1"0"9Z5-IH*-"@S4G5$HA'?&.Y|
M:H=("B20&PBNCK'#0 E *JD*)LFZJP)[))F F9R=RBN@&>7ZXY&,^"($.TTZ)W*Y/#\IH DZZ!|
M8,0;<#2D[AEV;!%#%S/!D *VMCJ% KX\?$MK2@-0=]G"9!QLKQ&CD4'Q3"B0|
MY<89T5YZ&J464VO$CD&607')Z'6Z PA79JDI) .8J=@.L-<_O08%=66,@<(,BP,L,,%/GS$'QUL7E(+!FIJY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