|
Atari coding BBS
Re: VBCC |
Posted by: nerve
|
Sep,18.2009-12:58
|
For a TOS (not MiNT) target, look here: http://sun.hasenbraten.de/vbcc/
There is a MiNT target and a TOS target. I have set the TOS target up on my Falcon, and it works fine - alltho the libc seems to have some problems with varags (printf). I could be doing something wrong tho...
Calling assembly functions works great, but you may want to prototype you assembly functions like
__reg("d0") int someFunction(__reg("a0") int someParam);
unless you want a "fun" time calculating the stack offsets.
For Debugging i use TTDigger to study the code (under MiNT) - and if I need single stepping I boot to SingleTOS and run Mon.
Also, make sure you pass -bataritos to the linker somehow (I use MiNT, so I have the config file in /etc and the rest of the toolchain in /opt/vbcc).
Good luck! And thanks alot to Mikro for his work on vasm :)
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|