Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
VBCC Orion_ Sep,15.2009-09:08
  Re: VBCC mikro Sep,15.2009-12:48
    Re: VBCC Orion_ Sep,15.2009-20:59
      Re: VBCC mikro Sep,16.2009-10:46
        Re: VBCC Orion_ Sep,16.2009-14:10
          Re: VBCC PeP Sep,16.2009-17:24
            Re: VBCC mikro Sep,17.2009-09:26
              Re: VBCC nerve Sep,18.2009-12:58


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson