#: 10868 S10/OS9/6809 (CoCo)
29-May-91 21:55:16
Sb: #10859-os9/telecomm
Fm: Steve Wegert 76703,4255
To: thomas aubin 70540,1666 (X)
Tom,
Bear with me as it's been a long time since I've used debug. I tend to
perfer dEd under Level II.
First, make sure you're booted up, have a copy of debug either in memory
or on a disk that your execution directory can find. Next, make sure
t2 is in memory (MDIR will confirm this).
I suggest you review page 161 and 162 in the orange Program Development
guide that came with your level I OS9. Pay close attention to the
section named 'Patching Programs'
Type DEBUG
1) At the DB: prompt, type L t2 * this starts us off
2) expect an address and a value to be displayed. Make note of the address.
3) At thhe DB: prompt, type . .+10 * that's . .
* and move us 10 bytes in
4) your starting address will be incremented by 10 and it's current
contents will be displayed. In this case, it should be 68.
5) At the DB: prompt, type =6c * change 68 to 6C
6) At the DB: prompt, type L t2 * get a common ref. point
7) At the DB: prompt, type . .+27 * don't forget the space
8) At the DB: prompt, type =01 * if already 1, skip it
9) At the DB: prompt, type L t2 * rewind counter again
10) At the DB: prompt, type . . 2E * you get the picture
11) At the DB: prompt, type =4d
12) At the DB: prompt, type =b1
13) At the DB: prompt, type $SAVE temp m1 * save a copy of m1 as temp
14) At the DB: prompt, type $VERIFY u m1 * set the CRC and rename
* temp to m1
15) At the DB: prompt, type $ATTR m1 e pe * set the attributes
16) At the DB: prompt, type $DEL temp * clean up
17) At the DB: prompt, type q * I'm outta here!
At this point you have a modified t2 (now called m1) in memory. Fire up
Deskmate, choose m1 as your device and see if things won't work better.
If they do, use cobbler to make a new boot of the image you have in memory.
Let us know what happens.
Steve
|