Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal to make standalone library and add multi-instance capability #12

Open
datajake1999 opened this issue Apr 3, 2024 · 6 comments

Comments

@datajake1999
Copy link

It would be desirable to have a standalone version of the emulator that doesn't rely on the SDL library, which would make it easier to integrate into many projects. The emulator should also allow multiple instances to run in a single process.
For example, the prototype for MCU_Init would be changed from "void MCU_Init(void)" to "void MCU_Init(mcu_t *mcu)". I would do a pull request myself, however I hesitate as this project is in an early stage of development.

@pachuco
Copy link
Contributor

pachuco commented Apr 3, 2024

yes, please into .lib, .a, .dll, .so.
Link and tear! Big guts dependencies put aside.

@giulioz
Copy link
Contributor

giulioz commented Apr 4, 2024

Started doing a similar thing in #18

@Cacodemon345
Copy link

I don't think this is fit to be a standalone library because of the non-commercial clause in the license it uses, effectively making it completely useless for GPL-licensed projects.

@datajake1999
Copy link
Author

That is totally understandable.

@pachuco
Copy link
Contributor

pachuco commented Apr 5, 2024

But hey, could still be library shaped code AND be usable only noncommercially as per licence.

@datajake1999
Copy link
Author

Agreed, that would make it easier to integrate into personal and or noncommercial projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants