At the risk of sounding rude, I have asked questions before to various forums and it's almost a necessity to prefix them with "I want an answer to my question. I'm not asking for criticism of my question or my motives or any kind of criticism. I just want the question answered".
It isn't helpful to reply with "That isn't a good starter project", especially without bothering to enlarge on it. I don't want an argument about it. I just want an answer to the question.
As I said, in the hope of heading-off this type of unwanted response: This is NOT a "starter project". I am already a programmer, just not one with emulator or Mame experience. I have written entire games in assembly language before now.
The solution might be to find a memory map of the hardware I'm interested in, find out where the controller ports are and then look at the program-code disassembly to find out where the software polls the input ports. From there I could write a wedge. It's more likely to be a better solution though to find the portion of the Mame emulator code which converts and passes controller port data from the host system into the emulated system.
Whichever way I do it, I expect I am not the first person ever to want to hack the Mame codebase, so I am hoping for answers primarily from other people who have done so before me.
Therefore I just want some recommendations on where to begin hacking Mame, not a criticism of the question. Thanks.
Edited by JHake (01/28/21 07:07 PM)
|