Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
30 user(s) are online (23 user(s) are browsing Forums)

Members: 0
Guests: 30

more...

Support us!

Headlines

 
  Register To Post  

SnoopDos causes a DSI error
Quite a regular
Quite a regular


See User information
I downloaded:http://os4depot.net/share/utility/misc/snoopdos.lha and extracted it to a directory.

I ran the application and then attempted to click on the "Setup" button. A DSI error occurs and a box saying something like "Error opening settings window".

Stack trace:
    
SnoopDos:strcpy()+0x14 (section 1 0x2F3E0)
    
SnoopDos:OpenSettingsWindow()+0x1b0 (section 1 0x18204)
    
SnoopDos:MainLoop()+0x134 (section 1 0x4394)
    
SnoopDos:main()+0x1f0 (section 1 0x4714)
    
SnoopDos:call_main()+0x98 (section 1 0x330)
    
SnoopDos:_main()+0x3a0 (section 1 0x8F0)
    
native kernel module dos.library.kmod+0x0002a458
    native kernel module kernel
+0x0005c18c
    native kernel module kernel
+0x0005c204

PPC disassembly
:
 
7cc3c3dc88040000   lbz               r0,0(r4)
 
7cc3c3e038840001   addi              r4,r4,1
*7cc3c3e498030000   stb               r0,0(r3)
 
7cc3c3e838630001   addi              r3,r3,1
 7cc3c3ec
2f800000   cmpwi             cr7,r0,0


Anyone know why this is the case?

When using "snoopy" I can see:

00158 : reaper.task     FAIL GetVar("ELF.debug",0x6D0E81C0,19,0x00000000) [76uS]

But I don't think that is relevant and only happens after the issue with SnoopDos.

I have seen this application working on George's youtube video, so I am not sure what I am doing wrong.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: SnoopDos causes a DSI error
Site Builder
Site Builder


See User information
@rjd324
Quote:
I have seen this application working on George's youtube video, so I am not sure what I am doing wrong.


I do not recall using this application, since it is quite old. On OS4 I always use Snoopy.

Thank you for watching my videos.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SnoopDos causes a DSI error
Home away from home
Home away from home


See User information
@rjd324
While SnoopDos was depricated indeed and being pointed as buggy one, still there are sourcecode of it: https://sourceforge.net/p/snoopdos/code/HEAD/tree/

So simple things like the error you got can be fixed.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SnoopDos causes a DSI error
Quite a regular
Quite a regular


See User information
@walkero

It may have been snoopy then. I just seem to recall you opened up one of them and you were not getting any logging and needed to check a box to enable the logging. It might actually have been on your MorphOS video. I cannot remember now.

@all

In anycase, I took the source code from sourceforge and had to make some modifications to it due to obsolete/renamed DOS functions and general required changes to solve some compiler errrors, compiled and linked. This time, I no longer get a DSI error and it seems to operate, it just does not log any activity. Not sure if I have to click on something or that I should accept that it is just currently not really well supported for OS4.

I guess the solution is to use snoopy, or, wait and see if I am doing something wrong with SnoopDOS, or, if I am not making any mistakes, consider fixing SnoopDOS to work with OS4 so that it logs things.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: SnoopDos causes a DSI error
Just can't stay away
Just can't stay away


See User information
@rjd324

Just as a side remark: SnoopDOS was made for OS3.x (or earlier?), while Snoopy was made specifically for OS4, by the very maintainer of OS4's dos.library (and other core stuff).

I know what I want to use on OS4 ...

Best regards,

Niels

Go to top
Re: SnoopDos causes a DSI error
Home away from home
Home away from home


See User information
@rjd324

Snoopy is your friend for OS4 and SnoopDos for OS3

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: SnoopDos causes a DSI error
Home away from home
Home away from home


See User information
The version on sourceforge is obsolete aniway, here the latest for os3:

http://aminet.net/package/util/moni/SnoopDos_Src

Go to top
Re: SnoopDos causes a DSI error
Just popping in
Just popping in


See User information
@samo79
Unfortunately that is not going to help.
Just compiling it on to start up on OS4 is not enough to make it work.

The basic problem is that this program only patches the 68K interface,
not the PPC interface, therefore it won't see or log any PPC calls.

The second issue is that this kind of "interface hugging" program can never
be kept up-to-date unless it's done by the developers that are creating the
new stuff, and deprecating the old, otherwise you would always be playing
a game of catch-up to keep it in sync.

Also, there are more than 100 new OS4 calls than were available in V40.
Some old calls are simply not called anymore, like the FIB examination functions,
the old calls are only there for legacy program support.

Adding the new PPC interface calls are not going to fix it completely either,
because the packet monitor won't work unless you add all the new packets to
the internal table.

That's not going to be easy either as there are 64 bit dospackets types
available for use by DOS packet handlers now.

Then there's the problem that any new filesystems don't even use DosPackets
anyway, so it still won't work unless it's just a plain packet handler like the
launch-handler or aux-handler etc... You won't see VP filesystem calls like
those from the new ram-handler or env-handler or any NGFS or FUSE volumes.

It could be fixed, but it's a lot of work for little or no gain as Snoopy already exists
and is up to date with the latest function calls. And it works for 68K calls too.

Go to top
Re: SnoopDos causes a DSI error
Just popping in
Just popping in


See User information
SnoopDos does have a nicer user interface, though that's no help if the basic functionality doesn't work.

One SnoopDos feature I really miss on Snoopy is the ability to easily enable or disable all of the function monitors. When first starting to debug something and I have no idea what's wrong I often like to enable everything, and then disable selected functions afterwards if logging them gets in the way. That was one button on SnoopDos, but involves manually selecting a slew of items across multiple submenus with Snoopy.

It would be nice if there were "Enable All" and "Disable All" menu selections, at least for the DOS Functions menu. And perhaps a "Default Settings" (or "Saved Settings") selection as well, to easily get back to the starting point.

Go to top
Re: SnoopDos causes a DSI error
Home away from home
Home away from home


See User information
@msteed
Quote:

It would be nice if there were "Enable All" and "Disable All" menu selections, at least for the DOS Functions menu. And perhaps a "Default Settings" (or "Saved Settings") selection as well, to easily get back to the starting point.


I ask Colin about 10 years ago or something, and if i remember right there were added even menu for this (not working, just a placeholder), but since some time it also were removed, and so no "disable all / enabled all" :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SnoopDos causes a DSI error
Just popping in
Just popping in


See User information
Not quite 10 years yet, 3 months to go...
I still have the email in my "things to do when bored out of my mind" folder.

I havn't forgotten, I just hate messing around with GUI's so much that I would
rather have a colonscopy instead, if I had a choice.

* kas1e <kas..@...>
* Sat, 18 Aug 2012 20:50:54 +0400
* Subject [os4-beta] small suggestion about snoopy

Yours as well as Alexandre B and Phillipe F emails are still in there.
I will likely do something soon, now that you have reminded me that I have
been so tardy.

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