Comments (4)
What exactly are you trying to do? The default project is already set up for assembly. Just delete main.c and add a .s file (if that doesn't work with the 1.0 version from the Marketplace, try downloading a 1.1 preview from the Github releases)
from vscode-amiga-debug.
I tried that with the latest stable and now with the latest preview of 1.1: open empty directory, Ctrl+Shift+P, select Amiga: Init Project
, delete main.c
, create main.s
, copy&paste http://coppershade.org/asmskool/Tut5.S into main.s
, save, configure ROM in launch.json
, and F5:
> Executing task: c:\Users\sb\.vscode\extensions\bartmanabyss.amiga-debug-1.1.0-preview21\bin\gnumake.exe -j4 <
Compiling support/gcc8_c_support.c
Assembling support/gcc8_a_support.s
Assembling support/depacker_doynax.s
Linking a.mingw.elf
c:/users/sb/.vscode/extensions/bartmanabyss.amiga-debug-1.1.0-preview21/bin/opt/bin/../lib/gcc/m68k-amiga-elf/10.1.0/../../../../m68k-amiga-elf/bin/ld.exe: obj/gcc8_c_support.o: in function `KPrintF':
C:/Users/sb/Downloads/Amiga/example/support/gcc8_c_support.c:67: undefined reference to `SysBase'
c:/users/sb/.vscode/extensions/bartmanabyss.amiga-debug-1.1.0-preview21/bin/opt/bin/../lib/gcc/m68k-amiga-elf/10.1.0/../../../../m68k-amiga-elf/bin/ld.exe: C:/Users/sb/Downloads/Amiga/example/support/gcc8_c_support.c:64: undefined reference to `SysBase'
c:/users/sb/.vscode/extensions/bartmanabyss.amiga-debug-1.1.0-preview21/bin/opt/bin/../lib/gcc/m68k-amiga-elf/10.1.0/../../../../m68k-amiga-elf/bin/ld.exe: obj/gcc8_c_support.o: in function `_start':
C:/Users/sb/Downloads/Amiga/example/support/gcc8_c_support.c:93: undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
gnumake: *** [Makefile:33: a.mingw.elf] Error 1
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command c:\Users\sb\.vscode\extensions\bartmanabyss.amiga-debug-1.1.0-preview21\bin\gnumake.exe -j4" terminated with exit code: 1.
This looks to me like the build script tries to compile a C program.
from vscode-amiga-debug.
I made this example assembler project using the source you provided.
asm-test.zip
But please note, that this extension does use GNU assembler which has a different syntax than the tutorials from coppershade.org, have a look at main.s
for the changes. If that doesn't suit you, maybe try the amiga-assembly extension instead.
from vscode-amiga-debug.
Thank you.
from vscode-amiga-debug.
Related Issues (20)
- Profiler: Windows AppData/Local/Temp cleanup job HOT 1
- V1.7.0 does not fire up WinUAE/infinite loop HOT 6
- Unable to use amigalib. HOT 4
- Memory types in code sections HOT 3
- Add floppy or hard drive to emulator while debugging HOT 2
- Missing <proto/narrator.h> HOT 2
- any chance of getting stdlib? HOT 3
- fatal error: stdint.h: No such file or directory HOT 3
- MacOS: no more F5 to run the debugger HOT 2
- Resource bitmap colors are inverted. HOT 1
- Could the debug text font be changed? HOT 3
- Linker not always capable of resolving xref in vasm results HOT 3
- 'index' is not a constant expression when changing main.c to main.cpp HOT 1
- macOS/FS-UAE: Error: the description can't be converted into a problem matcher HOT 4
- MacOS : fatal error: cannot execute 'cc1': execvp: No such file or directory HOT 8
- settings.json wrong? HOT 3
- gcc8_a_support missing on new project HOT 3
- Emulator exited with code/signal 127 before debugger could connect. HOT 7
- fs-uae hang on macos sonoma HOT 46
- Display variable contents when exploring call stack HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-amiga-debug.