English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 09 June 2016, 11:26   #1
Registered User
Join Date: Sep 2011
Location: Paris/France
Posts: 166
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, 20:03   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,657
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 15:08
Mediator - openpci.library and pci.library mardn78 support.Hardware 1 01 February 2014 12:11
Help coding alexh Coders. General 14 15 August 2006 10:24
Coding a Trainer redblade Coders. General 10 25 January 2005 22:52
Making a shared library from a gcc .a library JoJo Coders. General 1 10 March 2003 20: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 23:58.

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