GCC X-compiling from Linux - how to call traps

C and PASCAL (or any other high-level languages) in here please

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
iceman
Captain Atari
Captain Atari
Posts: 178
Joined: Sat Mar 02, 2013 11:03 pm

GCC X-compiling from Linux - how to call traps

Postby iceman » Mon Nov 09, 2015 8:14 pm

Hi,

I thought I'd mess about with cross compiling ST binaries with GCC on Linux Mint - the install went fine, and a Hello World was promptly written and ran. :D

I can't find any headers for gemdos calls (I thought it might be in osbind.h or tos.h like in other compilers) but I can't seem to find anything like that.

Am I limited to just Vanilla C, or is there some way to call these functions?

Cheers
Atarian since 1989. Atari 1040STFM, 4MB 520STe with UltraSatan and Unitor N, A dodgy 1 MBSTe that bombs out after a few minutes, and a 14MB 48MHz Falcon 030 with NetUSBee and Soundpool 8 channel DAC. Plus my new MiST!

User avatar
iceman
Captain Atari
Captain Atari
Posts: 178
Joined: Sat Mar 02, 2013 11:03 pm

Re: GCC X-compiling from Linux - how to call traps

Postby iceman » Mon Nov 09, 2015 8:19 pm

Ignore me, I just found it in

Code: Select all

/usr/m68k-atari-mint/include
Atarian since 1989. Atari 1040STFM, 4MB 520STe with UltraSatan and Unitor N, A dodgy 1 MBSTe that bombs out after a few minutes, and a 14MB 48MHz Falcon 030 with NetUSBee and Soundpool 8 channel DAC. Plus my new MiST!


Social Media

     

Return to “C / PASCAL etc.”

Who is online

Users browsing this forum: No registered users and 1 guest