English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 07 August 2012, 13:26   #1
Lord Riton
Registered User
Lord Riton's Avatar
 
Join Date: Jan 2011
Location: France
Age: 45
Posts: 489
Enforcer with WinUAE ?

Hello,

I'm trying since yesterday to make enforcer work with WinUAE. I have setup WinUAE with a 040 with MMU.

I don't know how to make it work, when i run enforcer it says it starts, then i run my program in which i know there are enforcer errors (bad memory accesses), and it does not tell me anything. Maybe i'm doing something wrong ?
here a little screenshot of how my enforcer folder looks like:
Click image for larger version

Name:	Enforcer.png
Views:	413
Size:	18.7 KB
ID:	32304

I also heard there is some sort of enforcer tool already build in WinUAE (?)

Could anyone maybe point me to some thread or documentation help about enforcer ? And especially to use it with WinUAE ?

Thanks for your help, and sorry if this has already been said, but i did a research and didn't find a hepfull thread.
Lord Riton is offline  
AdSense AdSense  
Old 07 August 2012, 13:32   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,513
Read enforcer manual first

Enforcer by default writes to serial port (Run winuae with -log -serlog to see messaes in winuae's log window)

"Enforcer stdio" writes to shell window.

Other Amiga debugging tools also capture serial output.
Toni Wilen is offline  
Old 07 August 2012, 13:47   #3
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,640
SetPatch QUIET ; blabla

SegTracker >NIL:
VBRcontrol ON >NIL:
WinUAEenforcer >NIL:

Enforcer hits will appear in a Windows shell
Attached Files
File Type: rar Enforcer.rar (8.0 KB, 184 views)
PeterK is offline  
Old 07 August 2012, 16:36   #4
Lord Riton
Registered User
Lord Riton's Avatar
 
Join Date: Jan 2011
Location: France
Age: 45
Posts: 489
Thank you guys, and especially to PeterK, this is exactly what i needed ! Works great
Lord Riton is offline  
Old 04 August 2014, 23:07   #5
Astrofra
Amos Basic
Astrofra's Avatar
 
Join Date: Feb 2013
Location: Orleans | France
Age: 43
Posts: 60
This saved me several hours (if not days) of bug hunting.
WinUAEenforcer ftw!
Astrofra is offline  
Old 06 December 2016, 14:22   #6
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,615
Quote:
Originally Posted by PeterK View Post
SetPatch QUIET ; blabla

SegTracker >NIL:
VBRcontrol ON >NIL:
WinUAEenforcer >NIL:

Enforcer hits will appear in a Windows shell
thanks for this little how-to. helped me to find a nasty tool in my startup,
which guru'ed a few times, before i could finaly use the workbench

it was vminit from my movieshop tests which was installed in the WBStartUp folder


btw: do we have a thread, where we can post enforcer logs, so our experts could
give some advice how to fix the crashing tool using a hexeditor?

Last edited by emufan; 06 December 2016 at 14:32.
emufan is offline  
Old 07 December 2016, 09:26   #7
thellier
Registered User
 
Join Date: Sep 2011
Location: Paris/France
Posts: 148
@astrofa
Yes WinUAE enforcer is a "must have" tool for all serious programmers

Me when i build a C program I also disassemble it (build & disassemble from a script)
stack 100000
adis -c4 -c8 -a myprog

So I obtain an asm source with the offsets that I can compare with the offset that give enforcer

Alain Thellier
thellier is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enforcer 2 (C64) - Playable Demo Retro-Nerd Retrogaming General Discussion 3 13 June 2008 00:53
WinUAE 0.9.92 "WinUAE 1.0 public beta #3" Released! Jim News 2 23 December 2004 11:29
Enforcer debugging tool M&F support.WinUAE 0 21 May 2002 22:53
MMu and Enforcer Maur "Mef" Fontana support.Apps 0 19 May 2002 00:50
WinUAE 0817r3-GUI dissappears/ WinUAE freezes. 7-Zark-7 support.WinUAE 2 23 December 2001 14: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 09:44.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.13444 seconds with 12 queries