free pascal for MorphOS
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    hi i talkted to the developers about the future release of free pascal 2.0 for amiga. and there is none. BUT! they said if somone wantd to pick up where they left off iw ould not be hard. you would just need to vontact them.
    :edit: we need this app

    [ Edited by Darth_X on 2004/7/15 8:28 ]
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »13.11.03 - 22:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    Is useful for port apps as pixel32, for example.
  • »14.11.03 - 00:11
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    it sure is timofonic, it sure is
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »14.11.03 - 00:13
    Profile Visit Website
  • Butterfly
    Butterfly
    Yvan
    Posts: 79 from 2003/3/28
    From: Zurich Switzer...
    I tried to use it one or two months ago. But gave up due to lack of Amiga specific documentations. It was almost impossible to me to use the Amiga specific units without knowing what all these strange parameters mean. So if development is taken further or even ported to MorphOS then docu is really important.
  • »14.11.03 - 08:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    FPC/Amiga is not dead, it's just sleeping. :) Genesi agreed to send me a Pegasos some time ago to port FPC on MOS. So there will be a port, i'm just waiting for the development machine. (I've a contract here and everything.) So now i'm waiting for the development machine. Until that, together with an another guy we're started working on a new, better Amiga RTL (run-time libs), and also on a new 68k codegenerator. The ppl on the FPC list already know about this, but since this attempt is currently non-official (since i don't have the development machine yet) it's not advertised anywhere. And also currently no changes were committed to the official CVS, AFAIK. The new MOS and Amiga compilers will be based on the new 1.9/2.x versions of the compiler and on the new RTL. But as soon as i get the development machine, things will speed up. So just keep calm, and stay tuned. :-D

    For people looking help about the current FPC/Amiga (1.0.10), i can send some AmigaOS programming examples, since i did a few things like thread-handling, P96, P96-PIP, CGFX, C2P in inline assembly, audio.device handling, and other examples. Feel free to bother me in private mail. :-D
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »14.11.03 - 13:23
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    this is great news thank you Chain-Q
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »14.11.03 - 14:52
    Profile Visit Website
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    Hi,

    YES ;) Glad to see that FreePascal is back ;)

    If someone is interested in Amiga-specific FreePascal sources, in 2000 I wrote a small game using FreePascal (it made use of GTlayout.library, was CGX/AGA compatible,...):

    Executables and sources can be downloaded here: http://nogfx.free.fr/flash

    Regards,
    Leo.
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »14.11.03 - 19:39
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    how is this port comming?
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »01.03.04 - 06:50
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    I'm working on it. I already added MorphOS target to the compiler, and it's in the CVS. However, required runtime libraries still needs to be implemented.

    I'm currently working on a better Amiga/68k compiler, for example to add better debugging support among others, so i'll be able to compile a MorphOS 1.9.x compiler using Amiga/68k 1.0.10a compiler. This will speed up developments, since i no longer need to cross compile from Linux/i386 or Linux/PPC. Most of these advancements i'm currently making for the Amiga compiler will be later useful for MorphOS as well.

    Stay tuned. When something useful will be available, i'll announce and release it.
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »01.03.04 - 08:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    Some status update in Free Pascal MorphOS port for ones might be interrested:

    charlie@worm:~/fpc/fpc/rtl/morphos$ fpc -Tmorphos hello.pas
    Free Pascal Compiler version 1.9.3 [2004/05/01] for powerpc
    Copyright (c) 1993-2004 by Florian Klaempfl
    Target OS: MorphOS
    Compiling hello.pas
    Assembling hello
    Linking hello
    4 Lines compiled, 1.3 sec

    7.Worm.Charlie:fpc/fpc/rtl/morphos> hello
    hello world!

    :-D

    This is today's progress, it was a few minutes ago, when a hello world! first worked, without additional fingering into the generated asm sources. So, as you can see, the compiler can produce working MorphOS PowerPC executables. (Cross-compiled from LinuxPPC.) Support for MorphOS/ABox style calls also added to the compiler a few days ago, so there is no need for additional hand-written assembly code to call library functions like it was necessary with the old Amiga/68k compiler. Now i'm implementing more functions of the System unit. It's not far away, when the compiler itself can be compiled to run on MorphOS.

    Now back to :hammer:...
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »01.05.04 - 18:46
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    what can we say he does good work :-D

    geat job!
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »02.05.04 - 11:53
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    I've doubts that anyone will read this, but... Today, the MorphOS/PPC version of Free Pascal Compiler successfully compiled itself on MorphOS for the first time. This means, the compiler is practically ported to MorphOS, only additional support library functions need to be implemented (eg. for Delphi compatibilty and to support MOS specific features), and no longer need to cross-compile anything from Linux. Compiling over 180.000 lines of Pascal source takes ~60 seconds on 1Ghz G4. And most of the time is consumed by the slow C-written GNU AS and LD... ;-)

    So expect a beta version and some official announcement soon... :-D
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »06.06.04 - 01:14
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    warface
    Posts: 653 from 2003/2/24
    From: Hungary
    Is there a chance to talk to Pixel32 developers (http://pixel32.box.sk) about a MorphOS port in the near future?
  • »06.06.04 - 13:11
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    I think it's not a good idea to talk about Pixel32 now. Too many MorphOS specific things still needs to be implemented. I'm also planning to contact with Pixel32 author, as soon as the MorphOS compiler is stable enough to make a port of such a big app like Pixel32 is. So please patience, the best things are yet to come.
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »06.06.04 - 16:42
    Profile Visit Website
  • Just looking around
    maya
    Posts: 7 from 2004/6/9
    Hi,

    I've started using fpc on uae for doing some mui-stuff (to be able to switch to mos soon). There were some bugs in the domethod etc. stuff. To whom should I send fixes for that?
  • »15.07.04 - 09:01
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1220 from 2003/6/17
    does FP have code to let you build pulldown menu's, windows etc ? Do you have any screenshots ?
  • »15.07.04 - 13:18
    Profile Visit Website
  • Just looking around
    maya
    Posts: 7 from 2004/6/9
    Quote:


    TheMagicM wrote:
    does FP have code to let you build pulldown menu's, windows etc ? Do you have any screenshots ?



    yes it does. there are some sample pas-files showing how to open a screen and window and so on. you may even use mui to build the gui.

    Regards.
  • »16.07.04 - 12:37
    Profile
  • DDJ
  • Butterfly
    Butterfly
    DDJ
    Posts: 99 from 2003/2/24
    From: Brasil
    Hi Chain-Q are you the coder for Radeon 7500 drivers for MOS ? ;-)
    Peg2 G4 1Ghz rev. 1.2 - CPU rev 1.2 - Built on 20050808
    OF-version 1.2 (20050808153840)
    Radeon 9250 (9200Pro) 256MB/128bits AGP - OEM PCVIEW (ProLink)
    RAM 1GB - 2x512MB DDR333 CL2 - Kingston HyperX
    40GB ATA100 - Brand ?
  • »16.07.04 - 14:39
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1220 from 2003/6/17
    thats just it.. I dont want to use MUI.

    anyone have any screenshots of a GUI based FP proggy?

    (damn, just when I pass on my Peggy, something good comes along!)
  • »16.07.04 - 14:39
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    how is the free pascal port comming Q-chain?
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »16.07.04 - 17:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    Quote:

    are you the coder for Radeon 7500 drivers for MOS ?

    No, i'm not.

    Quote:

    does FP have code to let you build pulldown menu's, windows etc ?

    Free Pascal Compiler is a command line (CLI) compiler. However, it does have a branch-project called Lazarus, which is GUI-builder & RAD tool for FPC. But it is heavily based on GTK, so until someone ports GTK to MOS it's not very useful to us. Lazarus is available here. Volunteers are welcomed to have a MOS port. :-)

    Quote:

    thats just it.. I dont want to use MUI.

    Up to you. But, you will not find any GUI kit which is more easy to program than MUI, IMO. Not even with a GUI builder. GTK and other toolkits are not very well suited for creating Amiga-style programs.

    Quote:

    I've started using fpc on uae for doing some mui-stuff (to be able to switch to mos soon). There were some bugs in the domethod etc. stuff. To whom should I send fixes for that?

    You can send them to me, and i'll integrate it if necessary. However there will not be any new 1.0.x/68k release, 1.9.x branch does not support 68k (yet) and PPC/MOS/1.9.x does not yet have a MUI and other GUI unit(s).

    Quote:

    how is the free pascal port comming?

    Compiler is already running on MOS, and units for various MOS-specific features are slowly progressing. There is a wiki page about MorphOS version here. I'm continously upgrading this page as the port progressing. MorphOS-specific library sources are available here.

    I already wanted to release a beta version, but PowerPC code-generator is broken now in the CVS. This is not a MOS-specific problem, but affects all PPC ports. It's going to be fixed soon.
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »16.07.04 - 22:03
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    well keep up the great work Chain-Q its people like you who make this platform great :-D
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »16.07.04 - 22:30
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    @Chain-Q

    Please not GTK on MorphOS, it's a slow layout API... MorphOS uses MUI, i dont like that MorphOS be as linux with a lot of slow layout APIs ( GTK, QT... ), MorphOS pretends be homogeny...

    Lazarus on win32 version seems use a win32 implementation of the GUI, so why not a MUI implementation of the GUI ? ;-)
  • »17.07.04 - 02:34
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    gtk? i think thats a bad idea as well, the last thing we need is dependancy hell. pluss MUI looks a lot better
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »17.07.04 - 03:29
    Profile Visit Website