English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 05 December 2019, 21:29   #1
Jherek Carnelia
Dazed and Confused
 
Jherek Carnelia's Avatar
 
Join Date: Dec 2001
Location: portsmouth/uk
Posts: 242
Copper instructions and dma

I am trying to understand how the copper and dma interact. To that end I used the WinUAE dma debugger to view the horizontal positions on the line where I put the copper move instructions, so I could see which position each instruction occupied. However, the output is not what I expected - what I thought would be shown is move instructions sometime after horizontal position $37 on line $80 (because that is the line and horizontal position I am waiting for). The attached screen snip shows the result.
So the question is - Do I just misunderstand where the move instructions should appear or do I not know how to use the dma debugger?

Advice would be greatly appreciated. Thanks.
Attached Thumbnails
Click image for larger version

Name:	copper multiple columns.PNG
Views:	132
Size:	64.0 KB
ID:	65420  
Jherek Carnelia is offline  
Old 05 December 2019, 22:10   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Do you have cycle-exact mode enabled? Confirm that your copper list uses positions you expect by typing "od" in debugger, after that "o" shows also vertical and horizontal position.
Toni Wilen is offline  
Old 05 December 2019, 22:21   #3
Jherek Carnelia
Dazed and Confused
 
Jherek Carnelia's Avatar
 
Join Date: Dec 2001
Location: portsmouth/uk
Posts: 242
I have cycle exact (full) and cycle-exact (DMA/Memory accesses) checked. I typed what you said (attached) but to be honest I don't really know how to interpret what I'm seeing.
Attached Thumbnails
Click image for larger version

Name:	Capture_1.PNG
Views:	89
Size:	20.1 KB
ID:	65421  
Jherek Carnelia is offline  
Old 05 December 2019, 22:24   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
You need to exit and re-enter debugger to collect position info. It does not exist when it was enabled. It needs to be enabled manually simply because it means slower emulation.
Toni Wilen is offline  
Old 05 December 2019, 22:33   #5
Jherek Carnelia
Dazed and Confused
 
Jherek Carnelia's Avatar
 
Join Date: Dec 2001
Location: portsmouth/uk
Posts: 242
Ah, brilliant! That's what I was expecting to see. Thank you very much for your help (and for the great tool!)
Attached Thumbnails
Click image for larger version

Name:	Capture_2.PNG
Views:	127
Size:	36.5 KB
ID:	65422  
Jherek Carnelia 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
Combining copper scrolling with copper background phx Coders. Asm / Hardware 16 13 February 2021 12:41
Best way to mix blitting with copper and copper effects roondar Coders. Asm / Hardware 3 12 September 2016 13:12
All asm instructions in one .s AGN Coders. General 0 15 September 2006 00:49
Instructions? Daz support.Hardware 8 12 July 2002 20:29
Game Instructions Ricky55 Retrogaming General Discussion 2 06 July 2002 20:10

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 16:10.

Top

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