16 January 2022, 11:35 | #21 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
You'll need to setup the hard drive in winuae. CD & hard drives / Add directory. Set it up with the "uae" file in your directory for dho. Sorry if this is like sucking eggs, I'm just letting you know what I did.
|
16 January 2022, 12:12 | #22 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
Thanks, I have other issues going on now. Winuae refusing to allow remote debutging connect. |
|
16 January 2022, 12:35 | #23 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
I setup winuae for my VSC coding so that it had a completely different configuration directory from my other installs of winuae. I kept the configuration to a very simple 68020 /AGA / WB3.1, and clicked the box to add pc drives on startup (not sure if that made a difference).
|
16 January 2022, 14:39 | #24 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
Yeah, i have mine set in portable mode and I've created my configs/put roms in the required folders. I might need to uninstall winuae and see. |
|
16 January 2022, 23:09 | #25 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
This simply doesn't work.
I have deleted every other copy of winuae on my laptop. It has been uninstalled and doesn't exist except for what the extension installs. It still gives me the same issues. I have tried using default.cfg, same result. I have tried pointing to the folder, same result. Attched is my winuaebootlog and my json |
16 January 2022, 23:25 | #26 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
I found that the number of sub-directors that my workspace was in made a big difference. So mine is in: "C:\\VSCWS\\uae\\dh0".
Yours is in "C:\\Development\\Amiga\\Projects\\Overflow\\uae\\dh0\\Overflow_Main". Mine was similarly at the bottom of such a chain of directories and it didn't work. Also in the json file I replaced the reference to "workspace" with my actual address ""C:\\VSCWS\\uae\\dh0". hope this helps. |
17 January 2022, 00:50 | #27 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
Code:
"-s filesystem=rw,dh0:C:\\Development\\Amiga\\Projects\\Overflow\\uae\\dh0", Code:
"-s", "filesystem=rw,dh0:${workspaceFolder}/uae/dh0", |
|
17 January 2022, 20:40 | #28 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
That made no difference. I have moved my project to c:dev/overflow and downloaded a fresh example workspace. Winuae will now boot to a cli. Typing my project name and it launches... however.... It is exceptionally slow (even in run mode) and the debugger does not invoke at all. I have found that winuae doesn't show any fps or any cpu usage. I tried to run winuae outside of VScode and it doesn't boot. Renaming default.cfg and it boots outside of vscode, however I then get the following error: "connect ECONNREFUSED 127.0.0.1:2345" Is default.cfg required? Attached is by winuae log again. Everything in launch.json is the default setting? |
|
17 January 2022, 22:45 | #29 | ||
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
If the program doesn't start it can be a problem with the startup-sequence. No, you can have yours, but it may have some options that aren't compatible. Quote:
I'll try to create a project with the same name. |
||
17 January 2022, 22:52 | #30 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Here is an example project with the same name.
|
17 January 2022, 23:08 | #31 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
RIght, so I have decided to go extreme. I have completely reformatted and reinstalled my laptop. Everything has been reset. All files have been deleted (after backup) and the laptop was completely fresh (win 11).
I then installed vscode and then added the extension. I created the example workspace following the wiki instructions exactly. I get exactly the same issue. In the downloaded binaries is a default.uae file. If I rename this file then the gui shows for a second and then I get the "connect ECONNREFUSED 127.0.0.1:2345" . this is on a completely fresh install. Nothing else has been installed. Something is very wrong somewhere. I am completely lost now. Here again is my winuaebootlog and a zip of my project and the default.uae file that is in the downloaded binaries |
17 January 2022, 23:37 | #32 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
This was really extreme !
I've downloaded and run your project and it works... The only thing that I don't now is the effect of windows 11. I've not tried it. Maybe there is some new security that I'm not aware of. For the connection you can try to stop the firewall to see if it messing with vscode connection on port 2345. |
17 January 2022, 23:38 | #33 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Does it work with fsuae ?
|
18 January 2022, 00:21 | #34 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
|
18 January 2022, 00:41 | #35 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
With the unchanged default.uae, does it boot to cli as before ?
|
18 January 2022, 01:42 | #36 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
|
18 January 2022, 21:42 | #37 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Okay so...
I spent about an hour with phaze101 screen sharing and the issue persisted. I have made a video to show the issues, and had an idea .. I decided to run vscode as admin (that makes no difference) and then I created a new project and put it on the desktop... That worked.. This was recorded, here is the link [ Show youtube player ] I have since run vscode not in admin mode and can confirm the project in users/desktop works and c:\dev\ does not. Seems to be a windows 11 permissions issue |
18 January 2022, 23:52 | #38 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
I've just finished my vm in windows 11, I did reproduce it with the path "C:/development/test/".
Modifying the regexp to active the long path as in page: https://www.thewindowsclub.com/how-t...-windows-11-10 resolves the issue. Folder: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem key: LongPathsEnabled Value: 1 |
18 January 2022, 23:57 | #39 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
The worst thing about this .... it that I already had it in the FAQ (I feel dumb...).
https://github.com/prb28/vscode-amig...-does-not-boot |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga Assembly extension for Visual Studio Code | prb28 | Coders. Asm / Hardware | 342 | 15 December 2023 21:22 |
Amiga GCC 8.3+gdb extension for Visual Studio Code | Bartman | Coders. C/C++ | 117 | 11 March 2023 20:06 |
Visual Studio Code Extensions? | AF2013 | Coders. General | 10 | 02 March 2022 11:46 |
Amiga Assembly exension for Visual Studio Code 0.19 released | prb28 | Coders. General | 2 | 02 January 2020 18:34 |
Visual Studio Code Blitz Basic extension | earok | Coders. Blitz Basic | 29 | 16 July 2019 17:59 |
|
|