Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to view costom registers and copperlist while debugging #148

Open
Bippym opened this issue Mar 20, 2021 · 4 comments
Open

Ability to view costom registers and copperlist while debugging #148

Bippym opened this issue Mar 20, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bippym
Copy link

Bippym commented Mar 20, 2021

Would be great if the plugin offered the 'e' and 'o' commands from the WinUAE Debugger. E lists all custom registers and their current values, O disassembles the Copperlist at the address you give it so you can actually read it as code instead of just a bunch of HEX numbers.

Both are very useful

@prb28
Copy link
Owner

prb28 commented Mar 20, 2021

It already does it - (I need to do a video of all the options but I'm not good at it - help needed !).
The registers are listed in the variables window.
If you stop the copper thread in the call stack window you can debug it as a copper list.
You can disassemble the copper list : https://github.com/prb28/vscode-amiga-assembly/wiki/Disassembler#disassemble-the-copper-list-during-debugging

@prb28
Copy link
Owner

prb28 commented Mar 21, 2021

For the custom registers you can add to the watch:

  • m $dff180,4
    or
  • m ${COLOR00},4
    but it could be better...

@prb28 prb28 self-assigned this Mar 21, 2021
@prb28 prb28 added the enhancement New feature or request label Mar 21, 2021
@prb28
Copy link
Owner

prb28 commented Mar 22, 2021

Better way to achieve that:
m $dff000,512,4,1

m $dff000,512,4,1
000002f0 | ...ð
00dff000: 000002f0 | ...ð
00dff004: a0001cca | ...Ê
00dff008: 00000000 | ....
00dff00c: 00008000 | ....
00dff010: 15000000 | ....
00dff014: 00000000 | ....
00dff018: 00000000 | ....
00dff01c: 602c0001 | `,..
00dff020: 00000000 | ....
00dff024: 40000000 | @...
00dff028: bfff8001 | ¿ÿ..
00dff02c: 00000000 | ....
00dff030: 010a001e | ....
00dff034: 0f000000 | ....
00dff038: 00000000 | ....
00dff03c: 00000000 | ....
00dff040: 00000000 | ....
00dff044: 00000000 | ....
00dff048: 00000000 | ....
00dff04c: 00000000 | ....
00dff050: 00000000 | ....
00dff054: 00000000 | ....
00dff058: 00000000 | ....
00dff05c: 00000000 | ....
00dff060: 00000000 | ....
00dff064: 00000000 | ....
00dff068: 00000000 | ....
00dff06c: 00000000 | ....
00dff070: 00000000 | ....
00dff074: 00000000 | ....
00dff078: 00000000 | ....
00dff07c: ffff4489 | ÿÿD.
00dff080: 00003a3c | ..:<
00dff084: 00000000 | ....
00dff088: 00000000 | ....
00dff08c: 00002c81 | ..,.
00dff090: 2cc10038 | ,Á.8
00dff094: 00d002f0 | .Ð.ð
00dff098: 0000602c | ..`,
00dff09c: 00011500 | ....
00dff0a0: 00000000 | ....
00dff0a4: 00000000 | ....
00dff0a8: 00000000 | ....
00dff0ac: 00000000 | ....
00dff0b0: 00000000 | ....
00dff0b4: 00000000 | ....
00dff0b8: 00000000 | ....
00dff0bc: 00000000 | ....
00dff0c0: 00000000 | ....
00dff0c4: 00000000 | ....
00dff0c8: 00000000 | ....
00dff0cc: 00000000 | ....
00dff0d0: 00000000 | ....
00dff0d4: 00000000 | ....
00dff0d8: 00000000 | ....
00dff0dc: 00000000 | ....
00dff0e0: 00000000 | ....
00dff0e4: 00000000 | ....
00dff0e8: 00000000 | ....
00dff0ec: 00000000 | ....
00dff0f0: 00000000 | ....
00dff0f4: 00000000 | ....
00dff0f8: 00000000 | ....
00dff0fc: 00000000 | ....
00dff100: 02000000 | ....
00dff104: 00240c00 | .$..
00dff108: 00000000 | ....
00dff10c: 00110000 | ....
00dff110: 00000000 | ....
00dff114: 00000000 | ....
00dff118: 00000000 | ....
00dff11c: 00000000 | ....
00dff120: 00003a9c | ..:.
00dff124: 00003a9c | ..:.
00dff128: 00003a9c | ..:.
00dff12c: 00003a9c | ..:.
00dff130: 00003a9c | ..:.
00dff134: 00003a9c | ..:.
00dff138: 00003a9c | ..:.
00dff13c: 00003a9c | ..:.
00dff140: 00000000 | ....
00dff144: 00000000 | ....
00dff148: 00000000 | ....
00dff14c: 00000000 | ....
00dff150: 00000000 | ....
00dff154: 00000000 | ....
00dff158: 00000000 | ....
00dff15c: 00000000 | ....
00dff160: 00000000 | ....
00dff164: 00000000 | ....
00dff168: 00000000 | ....
00dff16c: 00000000 | ....
00dff170: 00000000 | ....
00dff174: 00000000 | ....
00dff178: 00000000 | ....
00dff17c: 00000000 | ....
00dff180: 04440000 | .D..
00dff184: 00000000 | ....
00dff188: 00000000 | ....
00dff18c: 00000000 | ....
00dff190: 00000000 | ....
00dff194: 00000000 | ....
00dff198: 00000000 | ....
00dff19c: 00000000 | ....
00dff1a0: 00000000 | ....
00dff1a4: 00000000 | ....
00dff1a8: 00000000 | ....
00dff1ac: 00000000 | ....
00dff1b0: 00000000 | ....
00dff1b4: 00000000 | ....
00dff1b8: 00000000 | ....
00dff1bc: 00000000 | ....
00dff1c0: 00e30000 | .ã..
00dff1c4: 00000000 | ....
00dff1c8: 01380000 | .8..
00dff1cc: 00000000 | ....
00dff1d0: 00000000 | ....
00dff1d4: 00000000 | ....
00dff1d8: 00000000 | ....
00dff1dc: 00200000 | . ..
00dff1e0: 00000000 | ....
00dff1e4: 00000000 | ....
00dff1e8: 00000000 | ....
00dff1ec: 00000000 | ....
00dff1f0: 00000000 | ....
00dff1f4: 00000000 | ....
00dff1f8: 00008000 | ....
00dff1fc: 0000ff3a | ..ÿ:

@prb28
Copy link
Owner

prb28 commented Mar 23, 2021

Be careful the issue #149 impacts the copper list disassembly with winuae.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants