#3 rexxvars for pre V45

closed
5
2008-04-30
2007-01-20
No

GetRexxVar and SetRexxVar require rexxsys.library V45. This should be documented.

The following link contains code that runs with pre V45:
http://muibase.svn.sourceforge.net/viewvc/muibase/trunk/src/amiga/rexxvars.s
This code is a slightly modified version of the implementation that came with the Dice C compiler. You might want to check copyright issues with the original author before using it in clib2.

This code is written in m68k assembler. I tried to convert it to C some time ago but eventually gave up. If I remember right then the assembler code uses some tricks that aren't possible to code properly in the C language.

You might reject this feature request for whatever reason. I just wanted to have this issue documented somewhere and thought this is a good place.

Discussion

  • Olaf Barthel

    Olaf Barthel - 2007-01-20
    • assigned_to: nobody --> obarthel
     
  • Olaf Barthel

    Olaf Barthel - 2007-01-20

    Logged In: YES
    user_id=1089675
    Originator: NO

    You probably already noticed that the libamiga.a part of clib2 implements parts of these functions. The reason why not all of them are implemented is in that it is hard to make this code portable. It might just work on the 68k platform, and even then with a lot of register wrangling, but it's harder to get it to work on the PowerPC.

     
  • Steffen Gutmann

    Steffen Gutmann - 2007-01-20

    Logged In: YES
    user_id=1461831
    Originator: YES

    Yes, the proposed code is for m68k and pre V45 rexxsys.library only. PPC/OS4 version should use the new API of libamiga.a. Adding a comment in the ReadMe (e.g. rexxvars is OS4 only or similar) would still be good maybe.

     
  • Olaf Barthel

    Olaf Barthel - 2008-04-30
    • status: open --> closed
     
  • Olaf Barthel

    Olaf Barthel - 2008-04-30

    Logged In: YES
    user_id=1089675
    Originator: NO

    I'm happy to say that the code in clib2 1.203 now works exactly like the assembly language stubs of old and no longer requires a particular rexxsyslib.library version >= 45.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks