Re: about the macsbug..
Re: about the macsbug..
- Subject: Re: about the macsbug..
- From: Rich Kubota <email@hidden>
- Date: Fri, 19 Mar 2004 11:55:37 -0800
At 4:48 PM +0800 3/19/04, =?Big5?B?pP2yUadELXZpdmlhbg==?= wrote:
Hi:
I am developing an ethernet adapter for MAC OS 9.2.2. The compiler tool
is
Codewarrior pro 5. The debug tool is MacsBug 6.6.3.
1.
I have install MacsBug to the system folder. If I restart the PowerPC,
the debug tool brings up. Now I get the macsbug assembler message
concole
before entering desktop screen. But I can't figure out what command is
really executed in my source code. Can the macsBug show the C languaue
not the asssembler language.
No, Macsbug will only display the Assembler code. You should be
determine what instruction was being executed by using the DebugStr
call and using a descriptive pascal string which Macsbug will show
when the user break is entered.
Or is there any tool to translate the C
source code to assembler source code?
Under CodeWarrior, use the DisAssemble option.
2.
I am studying the source code(DEC 21140) downloaded from the open
transport 2.6. I install the driver by copying the DEC21140 driver to
the /extension folder. The driver will be installed after I restart the
PowerPC. Is there any other way to install the driver except copying the
driver to the /extension. Can I install and uninstall the driver on the
desktop screen without restarting the PowerPC.
It depends, if this is for a PCI card, then you must install the
driver to the extensions folder. If this is a USB device, then it
depends on whether the driver can be unloaded without problem.
3.
I got printf tool (debugf) from apple that can print string on macsbug
console. How to find the message if I don't want to print it on macsbug
console screen. I want to get that message after I enter the desktop
screen.
debugf will only print within the Macsbug context. There is a command
within Macsbug which will disable user breaks. When you first enter
macsbug, use this command - (I've forgotten the key sequence, but you
can see the command in Macsbug help) to disable user breaks. The
debugf strings will be written to macsbug, but you won't seen them
until you manually enter into macsbug.
4.
Is there any document teachs how to build DEC 21140 driver by
codewarrior.
I don't know what project type is if I create new project. Is it
AP Stationary ot Empty project or others?
there are no step by step instructions. I would duplicate the DEC
project, then rename the output file to what you want.
rich
Thanks for your help
from vivian
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.