Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
13 crawler(s) on-line.
 63 guest(s) on-line.
 1 member(s) on-line.


 matthey

You are an anonymous user.
Register Now!
 matthey:  25 secs ago
 pixie:  10 mins ago
 kiFla:  12 mins ago
 amigakit:  15 mins ago
 yoodoo2:  18 mins ago
 K-L:  28 mins ago
 sananaman:  43 mins ago
 Karlos:  55 mins ago
 towo2099:  1 hr ago
 Mobileconnect:  1 hr 13 mins ago

  Software News : Freepascal for OS4
   posted by tomazkid on 10-Aug-2006 23:38:44 (6796 reads)
Karoly Balogh has succesfully managed to port Freepascal to AmigaOS 4.

From freepascal.org:
Quote:
August 10, 2006 The Free Pascal compiler (version 2.1.1) first compiled itself on AmigaOS 4.0 (PowerPC).


Freepascal is a Pascal compiler, you can read more about it's advantages here.
Screenshot


From http://www.freepascal.org/ :
Quote:
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86 64, PowerPC, Sparc. The discontinued 1.0 version also supports the Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, Mac OS X/Darwin, Mac OS classic, DOS, Win32, OS/2, Netware (libc and classic) and MorphOS.
    

STORYID: 3230
Related Links
· More about Software News
· News by tomazkid


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
yak 
Re: Freepascal for OS4
Posted on 11-Aug-2006 1:10:07
#1 ]
Regular Member
Joined: 15-Mar-2006
Posts: 322
From: Bochum, Germany

More Power!

 Status: Offline
Profile     Report this post  
Samwel 
Re: Freepascal for OS4
Posted on 11-Aug-2006 1:24:54
#2 ]
Elite Member
Joined: 7-Apr-2004
Posts: 3404
From: Sweden

Great news!

Maybe now Pixel32 can be started on atleast.


_________________
/Harry

[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case

Avatar by HNL_DK!

 Status: Offline
Profile     Report this post  
DoodooHead 
Re: Freepascal for OS4
Posted on 11-Aug-2006 1:28:50
#3 ]
Cult Member
Joined: 8-Mar-2003
Posts: 641
From: Reno, Nevada, U.S.

Not only more power, but power delivered into the hands of the Amateurs. Finally I get to code something for my A1! I don't know C or C++, but I have programmed in Pascal before. This is a language that even a fellow whose head is full of doodoo can use.

Thank you for your hard work Chain-Q.


_________________
Amiga user since 1985.

 Status: Offline
Profile     Report this post  
Valiant 
Re: Freepascal for OS4
Posted on 11-Aug-2006 2:12:26
#4 ]
Super Member
Joined: 21-Oct-2003
Posts: 1110
From: West of Eden, VT USA

Great news, but when can we get our hands on it?


_________________
--
-=#Val#=-
Valiant@Camelot


Amiga 1000; Amiga 2000; Amiga 3000T; CD-TV; CD32;
AmigaOne-XE 800Mhz G4;Sam400ep 666Mhz;
AmigaOne X-1000 1.8Ghz PA6T-1682M

 Status: Offline
Profile     Report this post  
painter 
Re: Freepascal for OS4
Posted on 11-Aug-2006 2:26:15
#5 ]
Cult Member
Joined: 5-Oct-2003
Posts: 681
From: Manitoba, Canada

Sounds great. but is there a readable manual for free pascal? I ask because so
many open gl packages have such horribly written manuals.Been so many years
since i looked at pascal I don't remember a thing about it. I've always hated
C and C++ when I was programming for the apple 2 I preferred assembly it was
simpler and easiuer to understand.

painter

 Status: Offline
Profile     Report this post  
CodeSmith 
Re: Freepascal for OS4
Posted on 11-Aug-2006 2:52:32
#6 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3045
From: USA

Pascal was designed to be a teaching language, so it's not surprising that it's easier to understand than C, which is a systems language. It also means that it should be relatively easy to find books on learning Pascal, especially if you live near a school (especially just after the exams end )

 Status: Offline
Profile     Report this post  
Toaks 
Re: Freepascal for OS4
Posted on 11-Aug-2006 5:11:05
#7 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

umm, so when can we download it exactly?


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Freepascal for OS4
Posted on 11-Aug-2006 6:22:52
#8 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Toaks:
You can fetch the sources right now from FPC SVN, and start experimenting with crosscompiling from Linux. This is umm... not recommended though. BTW, what i ported now is of course only the basic comiler, lot of OS4 (and Amiga in general) work needs to be done. For example i'd like a few volunteers who will help me to convert library headers for C (.h) converted to Pascal ones. I wrote a few tools, which help this, but it's still a slow job, so any help is welcomed.

I expect a very basic binary release this weekend, maybe even today evening, if i found the time to write the README, collect the stuff required, generate a few additional tools, package it, and so on. The binary release will have everything which allows FPC to recompiled on OS4 by anyone. (OS4 SDK with GNU tools is also needed, of course.)

Last edited by Chain-Q on 11-Aug-2006 at 06:23 AM.


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Crumb 
Re: Freepascal for OS4
Posted on 11-Aug-2006 6:49:26
#9 ]
Elite Member
Joined: 12-Mar-2003
Posts: 2209
From: Zaragoza (Aragonian State)

Quote:
i'd like a few volunteers who will help me to convert library headers for C (.h) converted to Pascal ones. I wrote a few tools, which help this, but it's still a slow job, so any help is welcomed.


Couldn't you add FP support to FD2Pragma?


_________________
The only spanish amiga news web page/club: CUAZ

 Status: Offline
Profile     Report this post  
Toaks 
Re: Freepascal for OS4
Posted on 11-Aug-2006 6:59:41
#10 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

@chainQ:

ah so the news item aint accurate?
I dont have linux and i dont want sources really.

anyways keep up the good work, thanks for bringing OS4 a step closer to where we want to go.

looking forward to the archive later this weekend (or tonight :))

cheers


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Freepascal for OS4
Posted on 11-Aug-2006 7:00:48
#11 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Crumb
Quote:
Couldn't you add FP support to FD2Pragma?

There _IS_ FPC support in fd2pragma, but only for 68k FPC version (1.0.x/0.99.x, very old). I have a patched not-public(-yet?) version of fd2pragma, which supports MorphOS, at least partially. I used that for the MorphOS port.

For OS4, i decided to write a tiny tool instead (in Pascal ), which uses the .xml interface definitions as base, and created Pascal headers using that. Both is unfinished, but can be released after some work. Again, people interrested in helping, might get the sources earlier. Maybe i'll publish both, and people can develop it further/use the one they like more.


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Rachy 
Re: Freepascal for OS4
Posted on 11-Aug-2006 7:00:51
#12 ]
Regular Member
Joined: 21-May-2004
Posts: 276
From: Auckland, New Zealand

@Chainq: good work dude!


_________________
Álmos Rajnai

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Freepascal for OS4
Posted on 11-Aug-2006 7:04:52
#13 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Toaks:
Quote:
ah so the news item aint accurate?

It is accurate. It doesn't say anything about a binaries download possibility, it only says what's possible now with FPC on OS4, if you have the binaries. The binaries can be obtained by crosscompiling, or by waiting for the weekend release.


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
COBRA 
Re: Freepascal for OS4
Posted on 11-Aug-2006 8:48:34
#14 ]
Super Member
Joined: 26-Apr-2004
Posts: 1809
From: Auckland, New Zealand

@Chain-Q

Just noticed in the quote of the news item that AmigaOS isn't mentioned at all? I thought there was a version for AmigaOS 3.x at least. It also mentions that 680x0 processors are not supported anymore since 1.0, is this really the case?

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Freepascal for OS4
Posted on 11-Aug-2006 9:23:31
#15 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Cobra:
Quote:
Just noticed in the quote of the news item that AmigaOS isn't mentioned at all? I thought there was a version for AmigaOS 3.x at least.

There was. But that list of operating systems doesn't mention systems supported by old versions. For example it doesn't mention PalmOS, Atari, OpenBSD, NetBSD, etc. There's some support code for these systems as well, but doesn't being maintained. PPC AmigaOS is not on the list, because there were no stable binary versions released yet. (That means, it'll appear there after 2.2.0 release.)

Quote:
It also mentions that 680x0 processors are not supported anymore since 1.0, is this really the case?

Unfortunately, it is. There were too many changes on the way to 2.x, and no one kept 68k codegenerator up to date. I started some work on it to bring it up again, but that's far far faaar away from being finished. (If ever, since i'm complettely lack of time nowadays, and development branch is a moving target anyway. Volunteers are welcomed there as well.)


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Yssing 
Re: Freepascal for OS4
Posted on 11-Aug-2006 11:30:09
#16 ]
Super Member
Joined: 24-Apr-2003
Posts: 1102
From: Unknown

Great :)

Pascal was actually the first programming language I learned. Just wondering how much I can actually remember...

Anyway great work, keep up the good work.

Last edited by Yssing on 11-Aug-2006 at 11:32 AM.


_________________

 Status: Offline
Profile     Report this post  
Martyn 
Re: Freepascal for OS4
Posted on 11-Aug-2006 13:41:46
#17 ]
Regular Member
Joined: 10-Mar-2003
Posts: 161
From: South Derbyshire, UK

Fantasic! I implement some of our company's products in FPC (on Linux and Win32). This would finally enable me to do some programming for AmigaOS - something I haven't done since the days of AMOS!

There's only one problem I've got now.... I need OS4 available on a reasonably priced platform!!!

@Chain-Q

I guess not running OS4, I won't be able to offer you any help with this?

Great work! Hope I get to use it a some point!

Martyn.

 Status: Offline
Profile     Report this post  
Dwyloc 
Re: Freepascal for OS4
Posted on 11-Aug-2006 14:32:18
#18 ]
Super Member
Joined: 30-Mar-2005
Posts: 1053
From: Glasgow, Scotland

Thanks for all your hard work on FreePascal ports to Amiga platforms.

I am looking forward to using FreePascal under OS4 in the future.


_________________
Sam440ep 667mhz, 512MB, 120GB 2.5" HD, OS4.1FE
WinUae 3.0.0, OS 3.9, BB3, Catweasel MkIV
Amiga 1200, Blizzard 040/40 (BlizzardPPC 060/200 with SCSI removed at present), mediatorSX pci, Voodoo3, PCI network card os 3.9BB2
4MB Minimig with ARM addon boar

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Freepascal for OS4
Posted on 11-Aug-2006 15:00:30
#19 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Martyn:
Quote:
I guess not running OS4, I won't be able to offer you any help with this?

Sure you able. It's possible to have a Linux (whatever CPU) -> OS4 cross compiler, and maybe even a Win32 -> OS4 one. Also the utilities i talked about can be compiled for whatever platform FPC supports - they're only using platform independent calls.

Well, testing is a bit harder, though. But let's make a binary release first, then we'll see what's next.


_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Interesting 
Re: Freepascal for OS4
Posted on 11-Aug-2006 16:15:29
#20 ]
Super Member
Joined: 29-Mar-2004
Posts: 1812
From: a place & time long long ago, when things mattered.

Quote:
Great news!


Well done for all that worked on this project.


_________________
"The system no longer works " -- Young Anakin Skywalker

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle