English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 16 January 2022, 11:35   #21
Toki
Registered User
 
Toki's Avatar
 
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.
Toki is offline  
Old 16 January 2022, 12:12   #22
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Toki View Post
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.

Thanks,



I have other issues going on now. Winuae refusing to allow remote debutging connect.
BippyM is offline  
Old 16 January 2022, 12:35   #23
Toki
Registered User
 
Toki's Avatar
 
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).
Toki is offline  
Old 16 January 2022, 14:39   #24
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Toki View Post
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).

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.
BippyM is offline  
Old 16 January 2022, 23:09   #25
BippyM
Global Moderator
 
BippyM's Avatar
 
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
Attached Files
File Type: txt launch.json.txt (3.4 KB, 48 views)
File Type: txt winuaebootlog.txt (22.2 KB, 43 views)
BippyM is offline  
Old 16 January 2022, 23:25   #26
Toki
Registered User
 
Toki's Avatar
 
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.
Toki is offline  
Old 17 January 2022, 00:50   #27
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Quote:
Originally Posted by BippyM View Post
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
This option :
Code:
                "-s filesystem=rw,dh0:C:\\Development\\Amiga\\Projects\\Overflow\\uae\\dh0",
should be written in two lines :
Code:
 

"-s",
"filesystem=rw,dh0:${workspaceFolder}/uae/dh0",
prb28 is offline  
Old 17 January 2022, 20:40   #28
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by prb28 View Post
This option :
Code:
                "-s filesystem=rw,dh0:C:\\Development\\Amiga\\Projects\\Overflow\\uae\\dh0",
should be written in two lines :
Code:
 

"-s",
"filesystem=rw,dh0:${workspaceFolder}/uae/dh0",

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?
Attached Files
File Type: txt winuaebootlog.txt (21.9 KB, 52 views)
BippyM is offline  
Old 17 January 2022, 22:45   #29
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Quote:
Originally Posted by BippyM View Post
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....
Can you please send me a zip of your project folder ?
If the program doesn't start it can be a problem with the startup-sequence.



Quote:
Originally Posted by BippyM View Post
Is default.cfg required?
No, you can have yours, but it may have some options that aren't compatible.


Quote:
Originally Posted by BippyM View Post
Attached is by winuae log again. Everything in launch.json is the default setting?
In your trace the drive is set to C:\Development\Overflow\uae\dh0 and not c:dev/overflow.
I'll try to create a project with the same name.
prb28 is offline  
Old 17 January 2022, 22:52   #30
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Here is an example project with the same name.
Attached Files
File Type: zip Overflow.zip (49.0 KB, 50 views)
prb28 is offline  
Old 17 January 2022, 23:08   #31
BippyM
Global Moderator
 
BippyM's Avatar
 
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
Attached Files
File Type: zip Development.zip (54.2 KB, 48 views)
BippyM is offline  
Old 17 January 2022, 23:37   #32
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Quote:
Originally Posted by BippyM View Post
RIght, so I have decided to go extreme.
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.
prb28 is offline  
Old 17 January 2022, 23:38   #33
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Does it work with fsuae ?
prb28 is offline  
Old 18 January 2022, 00:21   #34
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by prb28 View Post
Does it work with fsuae ?

Firewall and defender disabled, same result. If default.uae exists then I don't get the connection error.



Fsuae works yes
BippyM is offline  
Old 18 January 2022, 00:41   #35
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
With the unchanged default.uae, does it boot to cli as before ?
prb28 is offline  
Old 18 January 2022, 01:42   #36
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by prb28 View Post
With the unchanged default.uae, does it boot to cli as before ?

Yes, i will make a video tomorrow
BippyM is offline  
Old 18 January 2022, 21:42   #37
BippyM
Global Moderator
 
BippyM's Avatar
 
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
BippyM is offline  
Old 18 January 2022, 23:52   #38
prb28
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
prb28 is offline  
Old 18 January 2022, 23:57   #39
prb28
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
prb28 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
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

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 20:56.

Top

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