Welcome, Guest. Please login or register.

Author Topic: how do i get coding for os4?  (Read 5931 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: how do i get coding for os4?
« on: May 07, 2003, 05:45:38 PM »
Quote

cycloid wrote:
that's pretty much what i thought: do it in 3.x as os friendly as possible and port it later , cheers


Shouldnt be too difficult in general but please remember yuo dont have 68k registers in PPC. For example in hooks you retrieve parameters from A0/A1/A2 but in OS4 68k registers are mapped somewhere else. You probably need macros for function prototypes in this case.

There could be other issues too like stack usage... reading morphos dev guidelines (it is somewhere in morphos.net IIRC) can be some use here. Although it is not for OS4 but worth of reading anyway I think... Especially taking care of proper alignment is important.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: how do i get coding for os4?
« Reply #1 on: May 08, 2003, 01:21:49 PM »
It is not meaningless if you are MUI developer :)

Whatever, just respect C= coding standards, dont rely on undocumented features and write portable code.
My Amigas: A500, Mac Mini and PowerBook