05 December 2019, 21:29 | #1 |
Dazed and Confused
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. |
05 December 2019, 22:10 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
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.
|
05 December 2019, 22:21 | #3 |
Dazed and Confused
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.
|
05 December 2019, 22:24 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
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.
|
05 December 2019, 22:33 | #5 |
Dazed and Confused
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!)
|
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 |
|
|