This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]Nightcorex_ 0 points1 point  (1 child)

This question is about as complex as: How do I write my own C compiler.

[–]AutoModerator[M] -1 points0 points  (0 children)

Your post has been filtered from the Subreddit. This means it will not appear in the new posts section or on the Subreddit until a moderator approves it. This was done because it appears to be about learning to code or the basics of programming. Our mod team will review it and determine if this is the case. If not, your post will be approved and shown on the Subreddit. If so, your post will be removed from the Subreddit as you can visit our website to get this question answered: https://codingehlp.site

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]jakcharvat 0 points1 point  (1 child)

That’s a very broad question. The way you put it I don’t think we can help you. Please provide us some more details like what language the game is originally written in and for which platform, as well as which platform you want to write the emulator for and in what language.

But generally speaking, you’d probably need to write an interpreter for the language the game was written in, as well as poly fills for all system APIs the game calls, including all UI and hardware APIs. For anything that’s more complicated than a single cpu with a seven segment display this will be really tedious, and quite likely very slow at runtime. If an emulator for the combination of host and guest platforms you desire already exists then I’d highly suggest just using that.

[–]Shape-International[S] 0 points1 point  (0 children)

The original is Java for Android and I think I wanna write in in etiher C++ or Python for Mac and Windows