Giter Site home page Giter Site logo

Comments (9)

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

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.

0wen101 avatar 0wen101 commented on May 2, 2024

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.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

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.

0wen101 avatar 0wen101 commented on May 2, 2024

Ah ok, of course, makes sense.
Many thanks again for this toolchain and effort. Thank you

from vscode-amiga-debug.

0wen101 avatar 0wen101 commented on May 2, 2024

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.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

Yep.

from vscode-amiga-debug.

0wen101 avatar 0wen101 commented on May 2, 2024

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.

BartmanAbyss avatar BartmanAbyss commented on May 2, 2024

Check out the Amiga ROM Kernel Reference Manuals.

from vscode-amiga-debug.

Azvareth avatar Azvareth commented on May 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.