English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 09 June 2016, 10:26   #1
thellier
Registered User
 
Join Date: Sep 2011
Location: Paris/France
Posts: 148
Coding for uaenative.library ?

First many thanks for all your hard works on WinUAE

I have seen on latest release :

"OS4.x supported UAE expansions:
[...]
- uaenative.library."

Does it mean that now we can write OS4 programs that use uaenative.library and so call x86 code ?

If yes : Is there an uaenative "OS4 Interface" described in some "include" ? example code ?

Many thanks

In uaenative.h I just can found:

uae_u32 uaenative_open_library(TrapContext *context, int flags);
uae_u32 uaenative_get_function(TrapContext *context, int flags);
uae_u32 uaenative_call_function(TrapContext *context, int flags);
uae_u32 uaenative_close_library(TrapContext *context, int flags);
void *uaenative_get_uaevar(void);
void uaenative_install ();
const TCHAR **uaenative_get_library_dirs(void);

But it dont say how is obtained the TrapContext pointer ? nor what do the 3 latests functions


Alain Thellier
thellier is offline  
AdSense AdSense  
Old 10 June 2016, 19:03   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,543
I think you need to ask Frode, I didn't really design this one.. There was some discussion about it in some older thread.

But yes, it should work under OS4.
Toni Wilen is online now  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Opus5, KingCON, SysInfo.library (Sysmon.library) triangle Michael support.Apps 6 10 March 2014 14:08
Mediator - openpci.library and pci.library mardn78 support.Hardware 1 01 February 2014 11:11
Help coding alexh Coders. General 14 15 August 2006 09:24
Coding a Trainer redblade Coders. General 10 25 January 2005 21:52
Making a shared library from a gcc .a library JoJo Coders. General 1 10 March 2003 19:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:46.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.09995 seconds with 11 queries