05 December 2021, 11:25 | #1 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Visual Sudio Code - Amiga Assembly - Winuae loading problem
Hi
I've installed the Amiga Assembly extension and loaded the Example workspace. When I compile and run the example programme (based on Photon's tutorial scrolling bar) FS-UAE loads and runs the programme fine, but Winuae loads just a pair of eyes (!) with text saying it is waiting for media. Any ideas on how I can get Winuae loading the programme? Thanks |
09 December 2021, 22:45 | #2 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Did you change something just after the download of the example workspace ?
Do you have winuae installed ? Maybe the main config is messing with the config from the emulator. Can you check the .vscode/launch.json file ? Maybe there are some parameters that are wrong. |
11 December 2021, 10:27 | #3 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Thanks. I don't think anything changed. Yes I already had winuae installed. I'll check the json file - that's a good suggest.
Thanks. |
30 December 2021, 07:39 | #4 | |
Registered User
Join Date: Nov 2021
Location: Invercargill, New Zealand
Posts: 4
|
Quote:
|
|
30 December 2021, 10:19 | #5 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
If it does not go further, it means that the mounted hard drive is not set or valid. Your .vscode/launch.json should have these information : Code:
"emulator": "${config:amiga-assembly.binDir}/winuae.exe", "emulatorWorkingDir": "${config:amiga-assembly.binDir}", "program": "${workspaceFolder}/uae/dh0/gencop", "options": [ "-s", "quickstart=a500,1", "-s", "filesystem=rw,dh0:${workspaceFolder}/uae/dh0", "-s", "debugging_trigger=SYS:gencop", "-s", "debugging_features=gdbserver" ], This path "${config:amiga-assembly.binDir}/winuae.exe" means that the winuae.exe will be executed from a downloaded directory. In your folder do you have a uae/dh0 folder with the built files? Does it work with FS-UAE? |
|
30 December 2021, 11:39 | #6 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Yes exactly that wording , just "game" instead of "gencop".
I wondered whether it was the config in winuae. I've set eveything up now in winuae. I tried loading the directory dho (in the VSC workspace) as the hard drive. Now when winuae starts it goes into winuae, but it just opens the opening screen (with floppy picture) and not my setup configuration? Feel as though I've almost cracked this, but not quite. All help gratefully received! |
30 December 2021, 11:55 | #7 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Meant to add FS-UAE works fine.
|
30 December 2021, 14:59 | #8 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
When running with winuae you'll get a logfile in the bin dir :
C:\Users\___username__\AppData\Roaming\Code\User\globalStorage\prb28.amiga-assembly\file-downloader-downloads\vscode-amiga-assembly-binaries-@-1.0.0\vscode-amiga-assembly-binaries-windows_x64\winuaebootlog.txt Can you look if this file is created et post it so I can see if there is something wrong in it ? |
30 December 2021, 15:01 | #9 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
There must be some config in the normal installation of winuae that messes with the version used by the extension.
|
31 December 2021, 08:40 | #10 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
I've attached the winuae boot log. I can't see anything obviously wrong, but I'm not sure what to look for.
thanks |
31 December 2021, 10:39 | #11 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
Code:
load config '..\..\..\..\..\..\..\..\..\..\..\Amiga\Configurations\default.uae':0 Code:
load config '.\default.uae':0 Code:
Possible boxart path: '..\..\..\..\..\..\..\..\..\..\..\Amiga files\Visual Studio\vscode-amiga-wks-example-1.0.0\uae\dh0' Code:
C:\Amiga files\Massimo\Visual SC Workspace\uae\dh0 Code:
-s "filesystem=rw,dh0:C:\Amiga files\Massimo\Visual SC Workspace\uae\dh0" Code:
"-f", "./default.uae", Something like : Code:
{ "type": "winuae", "request": "launch", "name": "WinUAE Debug", "stopOnEntry": true, "serverName": "localhost", "serverPort": 2345, "startEmulator": true, "trace": false, "exceptionMask": 8188, "emulatorStartDelay": 1500, "emulator": "${config:amiga-assembly.binDir}/winuae.exe", "emulatorWorkingDir": "${config:amiga-assembly.binDir}", "program": "${workspaceFolder}/uae/dh0/gencop", "options": [ "-f", "./default.uae", "-s", "quickstart=a500,1", "-s", "filesystem=rw,dh0:${workspaceFolder}/uae/dh0", "-s", "debugging_trigger=SYS:gencop", "-s", "debugging_features=gdbserver" ], "preLaunchTask": "amigaassembly: build" } |
|
31 December 2021, 10:41 | #12 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Oh... another thing, If you have bartman's "Amiga debug" extension, disable it for the workspace, we use some mnemonics common and it may cause some troubles.
|
31 December 2021, 10:54 | #13 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
I've got it loading winuae GUI from VSC. I've setup my configuration (called "VSC1")so that it's in a directory on it's own. It's not however loading VSC1, just loading the default GUI, which is strange because I don't have a default config, only VSC1. In VSC1 I've unticked the load GUI box, but that doesn't make a difference.
If winuae could load straight into my configuration? |
31 December 2021, 10:57 | #14 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Thanks. I've just seen your reply. I'll give those suggestions a try, and let you know how I get on. It will probably be tomorrow now when i get the chance, the non-Amiga world beckons.
|
02 January 2022, 00:14 | #15 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Finally sorted this. Fiddled around with the launch.json file. Inserting "\" rather than "". Why this makes a difference I don't know!
Followed your advice above, and added some other changes of my own. Reduced the number of sub-directories for the Workspace. Why this makes a difference I don't know! Configured winuae, and didn't neeed to add a hard drive in the config (it's automatically setup by the launch file). Attached is the text of the launch.json file to help others who may try want to embark on this mission in the future! |
02 January 2022, 01:41 | #16 | ||||
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Great !
Quote:
Quote:
Quote:
Quote:
"${workspaceFolder}/uae/dh0" instead of "C:\VSCWS\uae\dh0". |
||||
02 January 2022, 08:39 | #17 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Sorry I meant to type " Inserting " \\ " rather than "". ". I had to use " \ " otherwise the address for the hard file in winuae lacked any "" in it.
Thanks for your help with this. I wouldn't have managed it on my own. Last edited by Toki; 02 January 2022 at 13:53. Reason: spelling |
02 January 2022, 11:09 | #18 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
|
|
02 January 2022, 13:55 | #19 |
Registered User
Join Date: Feb 2016
Location: Birmingham
Age: 60
Posts: 107
|
Corrected my previous post. I don't know what is going on with these \\\\\ 's!!!
|
15 January 2022, 23:19 | #20 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
This is the issue I have, and is the exact issue I have created this issue
https://github.com/prb28/vscode-amig...bly/issues/196 I will try the above tomorrow. |
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 |
|
|