Hello I change sdi_hooks.h so it does not need special 68k compiler feature (asm directive in function call) and work on all platforms as before.
for example
func(regsiter variable __asm("a0") )
{
because i want build the newest compilers with only few minutes of handwork
and the GCC main tree(which contain the 68k amigaos) does not support this
asm feature i dont add the feature to GCC4.3.2 and GCC4.4.0 compiler i
build for 68k.If somebody want test new compilers let know i can send it.
maybe there is chance that offical SDI macros get this code, or the code
maybe get enhance ?
OS4 and MOS compiler have this asm feature too not, so attached code is now
more simular for all platforms and should too work with sas or stormc(not
test)
Wy MOS need so complicate and slow looking code for calling dispatchers i
dont know, maybe MOS can use this way too ?
OS4 MUI seem always put args on stack, so here is code optimal.
Please take a look at this code and let me know what you think about it.
>
Regards
------------------------------------
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/
SDI_hook.lha
Description: application/lha
