On Wed, 19 Nov 2008, Bernd Roesch wrote:

> Wy MOS need so complicate and slow looking code for calling dispatchers i
> dont know, maybe MOS can use this way too ?

Not possible. There must be struct EmulLibEntry to inform system that it 
is PPC code not 68k. That way developers can mix 68k and PPC code.

Oh.. and it might look slow but it isn't ;-)

MorphOS hook macros could be combined to other macros. They are identical.

> OS4 MUI seem always put args on stack, so here is code optimal. 

Mmmh... put args on the stack where? In hooks arguments are not passed in 
the stack but in registers. Please take a look into SystemV ABI.

> Please take a look at this code and let me know what you think about it.

This

#elif __mc68000__

does not look good. Is there better?


  Ilkka


------------------------------------

Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/MUI/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to