22 October 2019, 16:41 | #121 |
OCS forever!
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
|
New 0.18.1 binaries are working for me now. Thanks!
|
22 October 2019, 18:42 | #122 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
23 October 2019, 15:11 | #123 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Ok, thanks for the explanation - makes sense! :-)
I have a problem with the formatter and macros - if I call a macro with arguments, the formatter adjusts the columns weirdly, and worse, if there's more than one argument, the macro name is moved to column 1 and space is inserted between the commas and the arguments, which means it fails to assemble. |
23 October 2019, 15:45 | #124 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
As a workaround you can format a text selection or add it to an included file. You'll get into it but debug and macros doesn't deal always well... |
|
23 October 2019, 17:08 | #125 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
Code:
macro some_macro \1.b \2,d0 endm some_label: some_macro or,d1 |
|
23 October 2019, 17:59 | #126 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
24 October 2019, 01:06 | #127 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
You were right the 'or' mnemonic was disturbing my parse. |
|
24 October 2019, 09:56 | #128 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
|
|
24 October 2019, 14:19 | #129 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
07 November 2019, 07:00 | #130 |
Registered User
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
|
I have now integrated this in with my current project, and it all works. It is increasing the joy of coding :-) A couple of things I discovered
1. Like multiple people I use a separate build system and .s-files can't compile directly. No problem, I just set "enabled": false for the amiga-assembly.vasm in settings.json. That works - except it still tells me that to "please configure VASM compiler in the workspace" - I agree it makes sense to show this when the configuration is missing (so users know they need to configure it), but it's mildly annoying that I can't make that message go away when I have configured it properly 2. I had a few problems with symbols loading, but not matching up properly. One time I accidentally had different sections named CODE and code, and that may have been part of the problem. However, I'm not sure if this is a real problem, because even after merging those sections, I still see symbol mismatch sometimes in some build configurations. I'll post if I find out more |
07 November 2019, 08:02 | #131 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
It's the point !
Quote:
That shouldn't make an error when it's well configured: can you send me the settings.json ? I saw that sometimes, but when I try to reproduce it.... It works ... So if you have a context to reproduce the bug please send it ! |
|
08 November 2019, 10:18 | #132 |
Registered User
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
|
My config looks like this.
Code:
{ "amiga-assembly.cstool": "buildtool\\cstool.exe", "amiga-assembly.vasm": { "enabled": false, "file": "buildtool\\vasmm68k_mot_win32.exe" } } I believe it is due to the places you call mayCompile(), if it returns false, you show the error message - maybe split it up into 2, like this? Code:
if(isConfigured()) { if(mayCompile()) { ...do the work... } else { resolve() } } else { reject(new Error("Please configure VASM compiler in the workspace")); } |
09 November 2019, 12:38 | #133 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Ok I'll add some code to deal with it in next release.
|
11 November 2019, 16:23 | #134 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Maybe a bit OT, but is FS-UAE not treating the "hd0" directory as a harddrive?
It just puzzles me that from the FS-UAE windows appears, it takes around 8 secs for the 3.5" drive clicks to begin, then another 45+ secs for my 75Kb executable to load, which seems like a long time (A500 512K/512K config). |
11 November 2019, 17:01 | #135 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
You should have something like : Code:
"--hard_drive_0=${workspaceFolder}/fs-uae/hd0" |
|
11 November 2019, 17:03 | #136 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
Code:
"options": [ "--chip_memory=512", "--hard_drive_0=${workspaceFolder}/fs-uae/hd0", "--joystick_port_1=none", "--amiga_model=A500", "--slow_memory=512" ] |
|
12 November 2019, 23:45 | #137 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Quote:
Code:
code(acrx2): 1210 bytes data(acrx1): 71762 bytes data_c(adrw1): 96 bytes bss_c(aurw1): 30720 bytes |
|
13 November 2019, 01:54 | #138 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Quick question, but I fear this may be more difficult than it sounds, but when displaying the hover info for hardware registers, would it be possible to add the address?
Like: To show Code:
$100 - Bit Plane Control Register 0 Code:
$dff100 - Bit Plane Control Register 0 |
13 November 2019, 08:34 | #139 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
13 November 2019, 08:37 | #140 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
All the docs are in markdown files, it should be easily done. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
assembly code to test for assign (2.0+) | jotd | Coders. System | 2 | 27 December 2017 23:16 |
very basic C/ASM/Visual Studio hand holding | Sephnroth | Coders. C/C++ | 2 | 08 March 2016 20:15 |
Amiga Audio/Visual | KhneFr | request.Other | 6 | 03 January 2015 10:25 |
Profiling WinUAE with Visual Studio 2013 | mark_k | support.WinUAE | 3 | 14 January 2014 20:26 |
amiga visual editor | thinlega | request.Apps | 1 | 22 January 2003 15:48 |
|
|