Dooz Posted July 19, 2005 Share Posted July 19, 2005 I apologize if this has already been answered, but I would like to read through the driver.c file in MAME, but I have no idea how to find it. From what I've been reading, I would need to compile MAME, but I'm not sure. Could someone please help me out? Link to comment Share on other sites More sharing options...
Agozer Posted July 19, 2005 Share Posted July 19, 2005 Well, have you looked through MAME's source? Link to comment Share on other sites More sharing options...
Gryph Posted July 19, 2005 Share Posted July 19, 2005 Well you don't need to compile it to read the source. Just use a text editor and open the.c files in that. Link to comment Share on other sites More sharing options...
Dooz Posted July 19, 2005 Author Share Posted July 19, 2005 Part of the problem is that I don't know how to look through MAME's source. I really have no clue what I'm doing, as if it wasn't already blatently obvious. Link to comment Share on other sites More sharing options...
Gryph Posted July 19, 2005 Share Posted July 19, 2005 Well what exactly are you trying to find? Link to comment Share on other sites More sharing options...
Weirdy Posted July 19, 2005 Share Posted July 19, 2005 there's a really good 3 step tutorial that comes with MAME32 Plus but I'll be brief .c files are files that contain code written in the C programming language, which is why it may all look strange if you want to know what a lot of that stuff actually means, I recomment you read up on the C language Link to comment Share on other sites More sharing options...
Dooz Posted July 19, 2005 Author Share Posted July 19, 2005 (edited) I more or less just want to look through the code, to see exactly what makes up the drivers. Mostly just curiosity. My problem is that I don't know how to find the driver.c, which is in MAME's source. But I don't know what to do so that I can look through the source. I did a little searching, and would I perform the first few steps in this tutorial so that I can look through MAME's source? http://www.mameworld.net/mrdo/compile.html Edit: Okay, I'm a fool. I understand what I need to do now. I didn't realize the source was downloadable on mame.net Edited July 19, 2005 by Dooz Link to comment Share on other sites More sharing options...
Weirdy Posted July 19, 2005 Share Posted July 19, 2005 btw, if you're going to add games, you must modify the driver.c file, then in the drivers/ directory you have to edit the file that correspons to the game you added, and you might even have to edit the corresponding file in the machine/ directory Link to comment Share on other sites More sharing options...
Dooz Posted July 20, 2005 Author Share Posted July 20, 2005 Yeah, I'd like to do that eventually, but I've first got to figure out what the hell I'm doing, then maybe I'll try adding games. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now