Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
179 user(s) are online (168 user(s) are browsing Forums)

Members: 2
Guests: 177

afxgroup, VooDoo, more...

Support us!

Headlines

 
  Register To Post  

How to debug a 68k program?
Not too shy to talk
Not too shy to talk


See User information
Just wondering what the best way is to debug a 68k program where you have the asm source code.

Afkil how did you debug Napalm?

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: How to debug a 68k program?
Just can't stay away
Just can't stay away


See User information
@rwo

JSR _LVOPutStr(A6)

... no, seriously, that's what I did!

EDIT: I actually tried to make the AsmPro debugger work, but alas, I don't think the emulation lets it.

Go to top
Re: How to debug a 68k program?
Not too shy to talk
Not too shy to talk


See User information
ohh I see..

ya I have been trying AsmPro as well without luck..

have you tryed IExec's DebugPrintF ?.. i'm not sure the 68k jump table has included this function.

RWO

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: How to debug a 68k program?
Just can't stay away
Just can't stay away


See User information
Quote:

have you tryed IExec's DebugPrintF ?.. i'm not sure the 68k jump table has included this function.


If not there is always _kprintf or _KPrintF in debug.lib (from NDK 3.9) which is more or less the same as DebugPrintF() in AmigaOS 4.x. Do note though that since they are C functions they will take all their parameters on the stack unlike exec library functions.

According to this link there is also a KPrintF function which uses ASM conventions (format string in A0 and pointer to the array of parameters in A1) which is probably more suitable for an ASM based program.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project