Welcome, Guest. Please login or register.

Author Topic: Free Pascal compiler for Amiga  (Read 3437 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Free Pascal compiler for Amiga
« on: October 28, 2002, 02:34:51 PM »
It's not such an actual news item, as it's from 17 October 2002, but I think it's very useful for those studying informatics at university if they have to create Pascal programs or for hobby programmers as Pascal is still a greate structured programming language.
I am using this compiler for several months now and it works perfectly.

Version 1.0.6 has been built for Amiga-m68k on October 17, 2002
Follow this link to the news section of www.freepascal.org.

 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Free Pascal compiler for Amiga
« Reply #1 on: October 28, 2002, 03:07:18 PM »
Oh! Gotta download that one...
Beating the dead horse since 2002.
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Free Pascal compiler for Amiga
« Reply #2 on: October 28, 2002, 03:08:27 PM »
Bummer! Only for Linux ( Don't like 0.X versions... )
Beating the dead horse since 2002.
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Free Pascal compiler for Amiga
« Reply #3 on: October 28, 2002, 04:28:27 PM »
Does anyone even use Pascal  to teach computer science anymore???

(Although it would be far better than C/C++...)
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Free Pascal compiler for Amiga
« Reply #4 on: October 28, 2002, 05:35:59 PM »
Quote
Does anyone even use Pascal to teach computer science anymore???

They do at my old school.
To bad I never took those classes... :-D
Beating the dead horse since 2002.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: Free Pascal compiler for Amiga
« Reply #5 on: October 28, 2002, 07:42:07 PM »
I learned how to code in Pascal at uni - when I should really have
been learning C++ (grrr). But anyway, pity this Amiga version doesn't
compile PPC executables. :-P ;-)
 

Offline SystemTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: Free Pascal compiler for Amiga
« Reply #6 on: October 29, 2002, 08:54:05 AM »
@whabang
Quote
Bummer! Only for Linux ( Don't like 0.X versions... )


As you can read in the news section, version 1.0.6 has been built. I think they will put it in the download section soon.
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Free Pascal compiler for Amiga
« Reply #7 on: October 29, 2002, 12:44:48 PM »
@siciliano

Quote
A linux-m68k snapshot (version 1.0.7) of the compiler is now available here. An amiga-m68k snapshot (version 1.0.7) should follow soon.

It should follow soon. It's not done yet.  :-(
Beating the dead horse since 2002.
 

Offline AMC258

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Free Pascal compiler for Amiga
« Reply #8 on: December 02, 2007, 12:44:09 AM »
I found another bug within the Amiga FPC package.  Yes, unfortunately, I have forgotten what the others were.  These are the worst possible things to debug!

In the unit intuition.pas,


FUNCTION AddGList(window : pWindow; gadget : pGadget; position : ULONG; numGad : LONGINT; requester : pRequester) : WORD;

BEGIN
  ASM
    MOVE.L  A6,-(A7)
    MOVEA.L window,A0
    MOVEA.L gadget,A1
    MOVE.L  position,D0
    MOVE.L  numGad,D1
    MOVEA.L requester,A2
    MOVEA.L _IntuitionBase,A6
    JSR -438(A6)
    MOVEA.L (A7)+,A6
    MOVE.L  D0,@RESULT
  END;
END;


Should be:


  FUNCTION AddGList(Window:pWindow;Gadget:pGadget;Position:Word;NumGad:Integer;Requester:pRequester):Word;

  BEGIN
    ASM
    MOVE.L  A6,-(A7)
    MOVEA.L window,A0
    MOVEA.L gadget,A1
    MOVE.W  position,D0
    MOVE.W  numGad,D1
    MOVEA.L requester,A2
    MOVEA.L _IntuitionBase,A6
    JSR -438(A6)
    MOVEA.L (A7)+,A6
    MOVE.L  D0,@RESULT
    END
  END;
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker