English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 11 November 2015, 15:37   #1
selco
Registered User
 
Join Date: Aug 2013
Location: Germany
Posts: 81
How to debug DOS packets?

I would like to see what DOS packets are sent to a certain handler and what is returned. The contents of the packages is also interesting.

How would I do that?
Is there a general way to do this in WinUAE?

regards
selco
selco is offline  
Old 11 November 2015, 16:42   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,026
Not sure if this is what you are looking for, but SnoopDOS has the option to monitor packets.
thomas is offline  
Old 11 November 2015, 22:46   #3
selco
Registered User
 
Join Date: Aug 2013
Location: Germany
Posts: 81
Ideally I would like to see the contents of the packets, too.
If it were possible in WinUAE to go into debugger when a packet arrives at a certain process.

Snoopdos seems to work only with filesystem devices? And I can't inspect the contents of a packet, can I?
selco is offline  
Old 12 November 2015, 08:34   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
I don't think there is any generic way to detect if Message is actually pointing to dospacket. Some programs may even send dos packets using exec/PutMsg() directly. (instead of using dos/SendPkt()/WaitPkt()/DoPkt())

I guess only possibly solution is to watch for specificed process(es) pr_MsgPort writes and check if new Message arrived or something like that..
Toni Wilen is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PCMCIA fault: DOS error code 225 - Not a valid DOS disk 4am support.Hardware 2 07 April 2012 10:20
Hisoft C++ Debug AlfaRomeo Coders. General 0 13 October 2008 21:17
Mame32 Debug redblade Retrogaming General Discussion 4 10 October 2005 05:43
For those of you that must run old MS-DOS games, DOS Box has been ported Pyromania Amiga scene 19 06 June 2003 11:44
Debug ? mtb support.WinUAE 8 19 December 2002 12:19

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:03.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07122 seconds with 13 queries