Comments (9)
Hi,
thanks for checking out my tool. However, as you have already discovered, it's not really designed to do system programming. It just supports enough of Kickstart to get demos/intros running.
For your purposes I suggest checking out bebbo's amiga-gcc project. It comes with full amiga.lib support.
I guess I should make that clearer in the README...
from vscode-amiga-debug.
I did some tests, opened a few windows and wrote Hello World as one should, after some changes and added includes (like missing rexx if you include alib_proto.h) it worked.
I know I know, I should probably abandon this right now but how do I even add missing includes? Failing with compile hello world: 'fatal error: stdio.h: No such file or directory'
thank you
from vscode-amiga-debug.
You don't ;) Standard C runtime library is not supported. You have to use the AmigaOS library functions for everything, e.g. dos.library for file i/o and text output.
Have a look at the included template, it shows how to print text to the console.
from vscode-amiga-debug.
Ah ok, of course, makes sense.
Many thanks again for this toolchain and effort. Thank you
from vscode-amiga-debug.
just to be clear, if I avoid including any of the header files as listed here in the c standard library I should be ok ?
from vscode-amiga-debug.
Yep.
from vscode-amiga-debug.
Perfect. Lastly what is the best resource, book or otherwise, in your opinion, for learning all about Amiga OS library functions in C ? Have a great weekend
from vscode-amiga-debug.
Check out the Amiga ROM Kernel Reference Manuals.
from vscode-amiga-debug.
Jumping in, hope you do not mind.
I remember I had RKRM back in the days, it was really good, but I think I also had Libs and Devices or named something similar, that might also fit the bill....
from vscode-amiga-debug.
Related Issues (20)
- WINUAE: Debugging only works if using AROS replacement Rom. HOT 3
- formatted text in debug_text HOT 1
- Profiler view misaligned in NTSC HOT 1
- Service worker files pile up? HOT 4
- FS-UAE warp launch? HOT 14
- update FS-UAE and merge aga colors patch HOT 1
- 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
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.