![]() |
![]() |
![]() |
#201 |
Registered User
![]() Join Date: Jul 2015
Location: The Netherlands
Posts: 2,648
|
I've recently become re-aware of this and tried it out. It seems to work well enough, but I can't get the WinUAE debug (or run) to work. Only FS-UAE seems to work, the WinUAE configurations give the error "unknown type: WinUAE".
Does anyone know how I can fix this? Because source level debugging my HW banging asm code is such a nice feature I really would like to have it working, preferably in WinUAE ![]() |
![]() |
![]() |
#202 | |
Global Moderator
![]() Join Date: Nov 2001
Location: Derby, UK
Age: 45
Posts: 9,167
|
Quote:
Same for me. |
|
![]() |
![]() |
#203 | ||
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Quote:
Quote:
I don't really know all the surroundings of the CLI. One I've tried to rework the exe load sequence but didn't succeed to have something better. You should try the winuae version, I think it's more CLI compatible. A merge with fs-uae is possible, but, that's some work... |
||
![]() |
![]() |
#204 |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Try from a clean example project download : https://github.com/prb28/vscode-amig...indows_x64.zip
It should work. |
![]() |
![]() |
#205 | |
Registered User
![]() Join Date: Jul 2015
Location: The Netherlands
Posts: 2,648
|
Quote:
Strange... I only first downloaded and installed the extension/example two days ago and it most definitely didn't work at the time. At any rate, it works now so thanks for the help. I'll be trying this out for sure ![]() Edit: it is possible the link via the marketplace doesn't work and the one you gave does? Because I installed it through the VS Code marketplace and your link is directly from Github. Last edited by roondar; 22 February 2021 at 19:48. |
|
![]() |
![]() |
#206 | |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Quote:
|
|
![]() |
![]() |
#207 | |
Registered User
![]() Join Date: Jul 2015
Location: The Netherlands
Posts: 2,648
|
Quote:
Not quite sure what went wrong then, because that does seem to be the exact same link as you sent me. At any rate, it works now and I'm quite impressed with how easy it all works so far. I love the way the registers show the meaning of their bit values when you hover over them. Saves me looking them up! Granted, I've yet to try many things but that's half the fun ![]() |
|
![]() |
![]() |
#208 |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Yes, it's the same link and I did not update it recently.
![]() To start discovering the extension, you have some features in the wiki : https://github.com/prb28/vscode-amiga-assembly/wiki If you want to try some useful (not so clearly explained) options :
|
![]() |
![]() |
#209 |
Global Moderator
![]() Join Date: Nov 2001
Location: Derby, UK
Age: 45
Posts: 9,167
|
How exactly does one use the debugger commands? Like where are these entered and set?
How do I view the memory pointed to by an address register? |
![]() |
![]() |
#210 | |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Quote:
You can add a watch an type the same command. Screen example : https://github.com/prb28/vscode-amig...the-watch-view |
|
![]() |
![]() |
#211 | |
Global Moderator
![]() Join Date: Nov 2001
Location: Derby, UK
Age: 45
Posts: 9,167
|
I have followed this, and it displays from mem location 0
![]() I have tried with both FSUae and Winuae Quote:
|
|
![]() |
![]() |
#212 |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
|
![]() |
![]() |
#213 |
Global Moderator
![]() Join Date: Nov 2001
Location: Derby, UK
Age: 45
Posts: 9,167
|
Spot on, that has fixed it. Thank you
Would it be possible to have the ability to right click on a register/label and select for it to display the memory location? |
![]() |
![]() |
#214 | |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Quote:
|
|
![]() |
![]() |
#215 | |
Registered User
![]() Join Date: Jul 2017
Location: Oxford
Posts: 51
|
Amiga Assembly extension for Visual Studio Code
Quote:
Thanks for your reply! I tried with every possible path, absolute, relative, etc... I believe the issue is in the way the emulator is called. In the run config, you can see the emulator will just start off the disk and follow the normal startup-sequence, in debug mode, the exec is just “passed” to the emu. Unfortunately I can’t use a Windows machine atm. I’ll give it a go when possible, just to see if the same issue happens. On a different topic, still related to the fs-uae debugger, is there a way to debug a memory location with a labelled offset from a register? I can’t find a way... Ie: move.w d0,myLabel(a0) ...it won’t find the symbol “myLabel”. It only seems to work with absolute addresses. Either I don’t know how to do it, or is this an actual limitation of fs-uae? Last edited by emiespo; Yesterday at 23:03. |
|
![]() |
![]() |
#216 | |
Registered User
![]() Join Date: May 2018
Location: France
Posts: 170
|
Quote:
You can try : m ${mylabel}+${a0},10,2,4 or m #{mylabel}+${a0},10,2,4 (I think I've a bug on this) |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
assembly code to test for assign (2.0+) | jotd | Coders. System | 2 | 28 December 2017 00:16 |
very basic C/ASM/Visual Studio hand holding | Sephnroth | Coders. C/C++ | 2 | 08 March 2016 21:15 |
Amiga Audio/Visual | KhneFr | request.Other | 6 | 03 January 2015 11:25 |
Profiling WinUAE with Visual Studio 2013 | mark_k | support.WinUAE | 3 | 14 January 2014 21:26 |
amiga visual editor | thinlega | request.Apps | 1 | 22 January 2003 16:48 |
|
|