English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 29 August 2016, 20:48   #1
arodgers
Registered User

 
Join Date: Aug 2016
Location: USA
Posts: 2
Plugable expansion devices?

Have you given any thought to allowing expansions to be located in separate DLL's and loaded at runtime?

Looking at some of the more recent changes makes me think it's almost possible already.

I'd think that would allow you to move some of the expansions into separate DLL's that don't need to be recompiled every time and would not be affected by changes in the core of WinUAE.

Once you have an A2065 or A2332 or whatever working correctly as a separate ZorroII-ish x86 and x64 DLL, why have to build it and potentially break it with every release?

It could potentially clean up a lot of the WinUAE source if they didn't need to be individually woven into the emulation core too.

It would also allow others to write expansions without having to understand the internals of WinUAE, just how their card operates and how the standardized interface works, which I would assume would be very similar to normal ZorroII/III autoconfig with no internal knowledge of the emulation calling it.

Maybe there are cards that you aren't interested in that someone might want to take on themselves and this would potentially allow that.

Anyway, just a thought. Thanks for reading.
arodgers is offline  
AdSense AdSense  
Old 30 August 2016, 09:30   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,518
No. It never works in real world.

There is no way to make stable API for these kinds of low level expansions. It would break in every version. I would break it in every version just like Linux does it with kernel module API always when/if needed!

EDIT: For example 3.4 breagage is because of updated "internal API", now each configured device is queried (tell me your autoconfig data, whats your memory bank, requirements, limits etc..) before asking it to configure itself. This would also have broken _every_ plugin device completely.

Last edited by Toni Wilen; 30 August 2016 at 09:58.
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
USB devices mritter0 support.WinUAE 8 12 August 2016 20:51
Multiple devices virtualnut support.Hardware 1 30 September 2012 15:35
Will i be able to use this devices with a mediator? gulliver support.Hardware 5 09 February 2010 19:03
Amiga PCI devices? KeepGood support.Hardware 11 28 December 2005 09:44

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.14019 seconds with 11 queries