NES Emulator?
-
So I've been looking into how video game emulators work the past few days. Crazy stuff.
I learned that there have been several nintendo emulators written in python, and while most of them use pygame (which I know you can't use with Pythonista), I was wondering if making an NES emulator would be possible in Pythonista? I figured if it can be done with pygame then it isn't completely insane to think it could be done in Pythonista right? Since emulators are not available in the apple store, this would be an awesome way around that.
Of course, i'm just starting to develop my knowledge in python so writing an emulator would probably be a couple decades away for me. However, since emulators have already been written in python would someone be able to adapt it? I would love to hear if this is possible and if anyone else is interested in it.
-
Ok @JonB I understand. Just being able to emulate an Apple ii using Python on an iPhone or iPad is an extraordinary feat in itself. Chapeau bas (respect).
-
The code isn't mine. I just adapted the speaker and screen support.
-
Yes I know but adapting a Pygame project to the Pytonista environment deserves as much respect. I can run Tauber’s code in Android, being able to do so in IOS is a double treat.
-
@JonB I believe you are correct that none of the video game emulators are pure python or quite finished. They all have several dependencies that are incompatible with Pythonista from what I saw. Emulation is a fascinating concept to me, but way over my head as I am just starting to dip my toes into programming.
I took a look at applepy and I am very impressed. I will try to learn more about emulation and hopefully be able to understand it a little better.
I’m also blown away that you were able to adapt a pygame project to Pythonista. It goes to show that the possibilities are endless!@Ti Leyon I’ve been reading through that link you gave me, and it is an awesome reference. I will also have to give iDOS 2 a try, I wasn’t aware that a DOSbox emulator existed on iOS!
-
Theoretically, you could write an interpreter for the ROM that then takes the data and displays it via the
screen
module. I know that's very vague, but if you had individually-addressed pixels that are handled and displayed through thescreen
module, you could then process and display all the data to those simulated "pixels" manually.
-
Anyone hacked on Arcade? https://github.com/pvcraven/arcade
-
This post is deleted!last edited by
-
This is a bad implementation method.
There is no operation or sound, but it will be implemented in the future.
-
We are pleased to inform you that we have implemented a gamepad.
Mostly implemented in JavaScript, but ...