Search site Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2017
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

Atari coding BBS
 
Free Pascal 3.1.1 for Atari
Posted by: Chain-Q Dec,30.2016-14:41 

Hi folks,

During the Deadline demoparty in October, I was badly influenced by insane (a spark of insanity, hue hue hue...), so I started working on the Atari TOS support of the Free Pascal Compiler. Which is an Open Source (GPL) Pascal compiler, and it's developed in and compiles itself. Earlier I did the 68k code generator revival for the 3.x series, and the Amiga port. For an Atari port, there was an effort 15+ years ago, but I don't think it was ever finished, and the code was largely obsolete and unusable. I think by now, over 90% of the Atari specific code is new.

So anyway, I almost got it to generate a working "Hello world!" during the party (with a cross-compiler), but then it worked out one day after. But then the whole thing was more or less on hold until I restarted on it during the holidays and now it's advanced enough to compile itself for TOS, and compile a working "Hello world!" on TOS.

Doc:
http://wiki.freepascal.org/Atari

Few relevant tweets (with screenshots):
https://twitter.com/chainq/status/783018750584950785
https://twitter.com/chainq/status/813854594098987009
https://twitter.com/chainq/status/814173682608312320
https://twitter.com/chainq/status/814784639533481988

There's no binary release ATM, because the whole thing is wildly experimental, but it's easy and fast to build a cross-compiler for most platforms (see the wiki link above). The TOS hosted compiler is probably too slow to be useable even on the fastest 68ks, but it works. Needs GNU AS and VLink for both cross and native. (For some reason I got all versions of TOS/MiNT GNU LD do nothing but crash on me, so VLink it is.)

Few trivia: I am an Amiga guy, this is my first Atari code ever. Don't be too hard on me. I don't own any Atari hardware (yet?). Volunteers and feedback is welcomed. It's all mainline in Free Pascal's SVN trunk.

Cheers!




[All messages in this thread]

Topic Posted by  Date 
Free Pascal 3.1.1 for Atari Chain-Q Dec,30.2016-14:41
  Re: Free Pascal 3.1.1 for Atari insane/tSCc Dec,31.2016-00:06
    Re: Free Pascal 3.1.1 for Atari ggn Dec,31.2016-11:35
      Re: Free Pascal 3.1.1 for Atari Chain-Q Dec,31.2016-15:55
  Re: Free Pascal 3.1.1 for Atari PeyloW Jan,05.2017-23:56


Reply to this message
Name:
Topic:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2016 Dead Hackers Society Contact: Anders Eriksson