Touched
Resident ASMAGICIAN
- 625
- Posts
- 10
- Years
- Age 123
- Seen Feb 1, 2018
As a GBA hacker, an emulator is one of our fundamental tools. Although the options we have are stable, there is no all-in-one solution. You have to resort to an SDL port of VBA to debug ASM, for example. However, there is no reason to think that an emulator can't be extended like any other tool.
However, VBA-M's source (and VBA's source before it) is cluttered and unwieldy. It is difficult at best to write your own port. Thus, I've written my own generic port, and exposed a C interface for you to use. This will allow custom ports to be readily created. One caveat however: You cannot run multiple instances in the same process. The source is too cluttered with global variables to refactor satisfactorily. If you want to get around this, load up the shared library in another process.
The source can be cloned from the GitHub repository:
I'll update this post with a sample application when I've made more progress.
However, VBA-M's source (and VBA's source before it) is cluttered and unwieldy. It is difficult at best to write your own port. Thus, I've written my own generic port, and exposed a C interface for you to use. This will allow custom ports to be readily created. One caveat however: You cannot run multiple instances in the same process. The source is too cluttered with global variables to refactor satisfactorily. If you want to get around this, load up the shared library in another process.
The source can be cloned from the GitHub repository:
Code:
git clone https://github.com/Touched/libatlantis.git
I'll update this post with a sample application when I've made more progress.
Last edited: