English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 26 November 2023, 17:46   #341
prb28
Registered User
 
Join Date: May 2018
Location: France
Posts: 246
Quote:
Originally Posted by hop View Post
is it possible to view the vasm.exe output?

During the build the output is shown in a terminal. Please, try to open a terminal.
prb28 is offline  
Old 29 November 2023, 18:38   #342
hop
Registered User
 
Join Date: Apr 2019
Location: UK
Posts: 172
Quote:
Originally Posted by prb28 View Post
During the build the output is shown in a terminal. Please, try to open a terminal.
I have the terminal open, but it doesn't seem to show any of the raw vasm output, just the filtered extension output:

Code:
 *  Executing task: Build cracktro executable 

Starting build...
Compiling_________________________________________
building c:\dev\Amiga\Amiga-Cracktro\build\Cracktro.o
c:\dev\Amiga\Amiga-Cracktro/tools/vasmm68k_mot -m68000 -Fhunk -linedebug -pic -no-opt -wfail -DDOS_EXECUTABLE=1 -o c:\dev\Amiga\Amiga-Cracktro\build\Cracktro.o c:\dev\Amiga\Amiga-Cracktro\Cracktro.asm

Linking_________________________________________
c:\Users\Howard\.vscode\extensions\prb28.amiga-assembly-1.8.6\resources/bin/win32/vlink -bamigahunk -Bstatic -o c:\dev\Amiga\Amiga-Cracktro\uae\HardDrives\Cracktro\Cracktro c:\dev\Amiga\Amiga-Cracktro\build\Cracktro.o

Build Success
The file being assembled contains this code:

Code:
FontData:	INCBIN "Font/Computing60s_256x24.raw"
		PRINTT "Font size (bytes):"
		PRINTV *-FontData
If I open a new terminal and run the same command manually, I can see the vasm exe output:

Code:
Microsoft Windows [Version 10.0.19045.3693]
(c) Microsoft Corporation. All rights reserved.

C:\dev\Amiga\Amiga-Cracktro>c:\dev\Amiga\Amiga-Cracktro/tools/vasmm68k_mot -m68000 -Fhunk -linedebug -pic -no-opt -wfail -DDOS_EXECUTABLE=1 -o c:\dev\Amiga\Amiga-Cracktro\build\Cracktro.o c:\dev\Amiga\Amiga-Cracktro\Cracktro.asm
vasm 1.9a (c) in 2002-2022 Volker Barthelmann
vasm M68k/CPU32/ColdFire cpu backend 2.5c (c) 2002-2022 Frank Wille
vasm motorola syntax module 3.16 (c) 2002-2022 Frank Wille
vasm hunk format output module 2.14a (c) 2002-2022 Frank Wille     
Font size (bytes):
$300 768 "...." %00000000000000000000001100000000

code(acrx2):            2407 bytes

C:\dev\Amiga\Amiga-Cracktro>
From tasks.json:

Code:
		{
			"label": "Build cracktro executable",
			"type": "amigaassembly",
			"vasm": {
				"enabled": true,
				"command": "${workspaceFolder}/tools/vasmm68k_mot",
				"args": [
					"-m68000",
					"-Fhunk",
					"-linedebug",
					"-pic",
					"-no-opt",
					"-wfail",
					"-DDOS_EXECUTABLE=1"
				]
			},
			"vlink": {
				"enabled": true,
				"command": "${config:amiga-assembly.binDir}/vlink",
				"includes": "Cracktro.asm",
				"excludes": "",
				"exefilename": "../uae/HardDrives/Cracktro/Cracktro",
				"entrypoint": "Cracktro.asm",
				"args": [
					"-bamigahunk",
					"-Bstatic"
				]
			},
			"problemMatcher": [],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"presentation": {
				"echo": true,
				"reveal": "always",
				"focus": false,
				"panel": "shared",
				"showReuseMessage": false,
				"clear": true
			}
		},

Last edited by hop; 01 December 2023 at 12:59. Reason: Add build task
hop is offline  
Old 15 December 2023, 21:22   #343
KONEY
OctaMED Music Composer
 
KONEY's Avatar
 
Join Date: Jan 2009
Location: Venice - Italy
Age: 49
Posts: 667
Change compiled executable filename

hi,
is there a way to specify a name for the compiled file instead of "current_filename.o"?


Many thanks
KONEY 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
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

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 07:31.

Top

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