English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 02 June 2019, 09:10   #1
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Logging Blitter Operations?

Hi Toni,

Is there anything in WinUAE that would enable me to log Blitter Operations... perhaps on a rolling cycle?

I have an infrequent bug in my game which I'm trying to track down and I suspect it is my blitter routine as about 130Kb of memory is being stamped on and I can't seem to track it down?

In the absence of such a logger is there anything else that might aid in tracing the problem? Enforcer isn't picking it up because it writes to valid memory.

Geezer
mcgeezer is offline  
Old 02 June 2019, 10:15   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
You can use memwatch points and set it to only break when blitter (or specific blitter channel) accesses it. (BLT, BLTA, BLTB, BLTC, BLTD)

For example "w 0 0 10000 bltd". When it breaks, blitter start values (+PC of blitter start register write) and current values gets logged.

Full blitter logging is enabled with -blitterdebug 1 command line parameter but this usually generates too many log messages..
Toni Wilen is offline  
Old 02 June 2019, 10:23   #3
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by Toni Wilen View Post
You can use memwatch points and set it to only break when blitter (or specific blitter channel) accesses it. (BLT, BLTA, BLTB, BLTC, BLTD)

For example "w 0 0 10000 bltd". When it breaks, blitter start values (+PC of blitter start register write) and current values gets logged.

Full blitter logging is enabled with -blitterdebug 1 command line parameter but this usually generates too many log messages..
Thanks Toni - Appreciated!
mcgeezer 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
Load extended precision with .d operations phx Coders. Asm / Hardware 6 07 May 2018 13:52
Atomic operations between CPU & Blitter leonard Coders. Asm / Hardware 17 02 May 2018 04:43
Blitter busy flag with blitter DMA off? NorthWay Coders. Asm / Hardware 9 23 February 2014 21:05
ClassicWB: file operations hang in Scalos but OK in Dopus Quaxo76 project.ClassicWB 8 29 August 2010 11:09

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 23:52.

Top

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