Post Reply 
G2 Emulator
09-22-2022, 08:52 PM (This post was last modified: 09-22-2022 09:17 PM by muteki.)
Post: #12
RE: G2 Emulator
(09-16-2022 07:13 PM)Jean-Baptiste Boric Wrote:  
(09-15-2022 06:12 PM)muteki Wrote:  I'd suggest to base the effort on Unicorn. It tries to provide a stable "scripting" API for QEMU which could slow down code rot especially after the project went into maintenance mode, and it also has bindings for other easier-to-develop-for languages (namely rust in this case).

That depends on what the end goal is. If I were to eventually upstream the machine emulator code to QEMU then there aren't a lot of options but to work within QEMU's codebase.

I've never worked with Unicorn, but I do understand the appeal given QEMU's... smelly innards. I've managed to figure out enough of it on my own to hack together machine emulators and peripherals without making a mess in the process, but that was not for the faint of heart. That being said, QEMU does offer a fully-featured machine emulation framework, whereas Unicorn does not. I'd expect Unicorn to be much easier to start with, but to also require a lot more work to get a fully-featured emulator out of it.

Speaking of code rot: The G1 emulator on GitHub is already not buildable and nothing is upstreamed. That's exactly why I would stay away from downstreaming a huge project like QEMU or GCC unless I'm sure that I will constantly working on it. Once the plug is pulled it's dead after a few years or even months.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
G2 Emulator - devin122 - 09-15-2022, 05:21 AM
RE: G2 Emulator - toml_12953 - 09-15-2022, 09:19 AM
RE: G2 Emulator - Jean-Baptiste Boric - 09-15-2022, 10:35 AM
RE: G2 Emulator - muteki - 09-15-2022, 03:19 PM
RE: G2 Emulator - devin122 - 09-15-2022, 02:32 PM
RE: G2 Emulator - Jean-Baptiste Boric - 09-15-2022, 05:03 PM
RE: G2 Emulator - muteki - 09-15-2022, 06:12 PM
RE: G2 Emulator - Jean-Baptiste Boric - 09-16-2022, 07:13 PM
RE: G2 Emulator - muteki - 09-18-2022, 02:58 PM
RE: G2 Emulator - devin122 - 09-18-2022, 03:34 PM
RE: G2 Emulator - muteki - 09-22-2022 08:52 PM
RE: G2 Emulator - Liamtoh Resu - 09-15-2022, 06:19 PM



User(s) browsing this thread: 1 Guest(s)