MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

wild eyed
Corcreeghagh
Reged: 09/23/03
Posts: 80
Send PM


first compile with mame compiler 64
#294871 - 08/31/12 11:32 PM


quick question.

how does one specify which driver are included?

i see that mame.lst has the list of all games...... do just comment them out or does another file need to be edited?



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: first compile with mame compiler 64 new [Re: wild eyed]
#294879 - 09/01/12 02:08 AM


1) As far as I know, that's not possible with "mame compiler 64"

2) Why would you want to do that? It doesn't make MAME any faster.



GroovyMAME support forum on BYOAC



drewcifer
One bad Mutha-(shut yo' mouth!)
Reged: 07/01/04
Posts: 428
Loc: Sweden
Send PM


Re: first compile with mame compiler 64 new [Re: krick]
#294881 - 09/01/12 02:31 AM


> 1) As far as I know, that's not possible with "mame compiler 64"

You're right, it's not possible by setting options on the compiler's command-line, but it is possible by editing the files the compiler uses. Look to the tiny.mak file for an example of how to limit your compile to certain drivers. You'll have to figure out the dependencies of the driver you want though, which is just about as much of a pain as just waiting for a full compile

http://mamedev.org/source/src/mame/tiny.mak.html

> 2) Why would you want to do that? It doesn't make MAME any faster.

It will make compiling it faster though. I used to do this a lot when my machine would take 20 minutes to compile and link the full source tree.

Andrew



wild eyed
Corcreeghagh
Reged: 09/23/03
Posts: 80
Send PM


Re: first compile with mame compiler 64 new [Re: drewcifer]
#294893 - 09/01/12 11:37 AM


well it was more of a mame speed up i was hoping for, moreso than a compile speedup.

thanks though



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: first compile with mame compiler 64 new [Re: wild eyed]
#294909 - 09/01/12 06:43 PM


> well it was more of a mame speed up i was hoping for, moreso than a compile speedup.
>
> thanks though

I've posted this on MW before, but let's refresh: all modern OSes (any NT-kernel Windows (e.g. 2000/XP/Vista/7/8) + all versions of Linux/*BSD/Mac OS X) only load the parts of a program that are actively running at any one time. The rest remains on disk. If you run Pac Man, only that driver and the associated core parts (Z80 CPU, Namco wavetable sound) are actually loaded. Hence the executable size doesn't have any impact on runtime performance.


Pages: 1

MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 28 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3402