Coding specifically for MOS...
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1218 from 2003/6/17
    If one wanted to write a app in C for MOS but only wanted it to run on a MOS enabled system... how would one accomplish this?
  • »27.02.04 - 14:26
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Estrayk
    Posts: 142 from 2003/12/30
    From: Spain!
    You mean that dont work on AmigaOnes?
    just in Pegasos?
    Config: PegasosII G4/1000, 256MB DDR400, VooDoo 3000 AGP
  • »27.02.04 - 14:38
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1218 from 2003/6/17
    I'm not going to put it like that.. I'm just saying if you're running MOS it'll work.
  • »27.02.04 - 14:47
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 261 from 2003/3/13
    From: Rotterdam, the...
    GCC proggy.c -O2 -D__MORPHOS__ -noixemul -o proggy

    :)
  • »27.02.04 - 14:52
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Just compile MorphOS native PPC binary only and dont give source code anyone :-D

    MorphOS native binaries wont run in OS3 or OS4 at all - however more supported platforms mean more happy users.
    1 + 1 = 3 with very large values of 1
  • »27.02.04 - 19:48
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    downix
    Posts: 105 from 2003/2/10
    From: Lightning capi...
    If you check the SDK docs, there are MOS-only API calls in there. Use them, I'd suggest.
    Nate Downes
    Genesi SARL
  • »28.02.04 - 04:13
    Profile Visit Website
  • Cocoon
    Cocoon
    Posts: 48 from 2003/5/13
    Install the MOS SDK and use its gcc or get vbcc to compile MorphOS executables.

    Then, that's true there are differencies between AmigaOS and MorphOS. This last one have new functions (Intuition, process, ...) and if you use this specific stuff without taking care of manage an AmigaOS part of code that does the same thing, you will have MorphOS only programs.

    Not difficult to support both though ...
  • »28.02.04 - 10:41
    Profile