Commit graph

50 commits

Author SHA1 Message Date
Scott Stone
0d8fea30ec documentation fix for docs/hlsl.txt (nw) 2015-03-25 15:43:57 -04:00
Luca Bruno
1fa8b4ea4f docs: add initial documentation for luaengine API
This commits add some initial documentation for current API
exposed via luaengine. This doc is meant to be a quick
walkthrough for script writers coming from mame-rr.

Full methods reference is not yet included, as the API is still
rapidly changing.

Signed-off-by: Luca Bruno <lucab@debian.org>
2015-03-16 12:03:09 +01:00
Zoë Blade
52e9bfd75d Tidy comments
Squashed commit of the following:

commit 8d8a0d9713d4614b22f06fda4cf948d4d5561de0
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Tue Dec 2 17:15:42 2014 +0000

    Revert fixes to libraries

    I'll fix those at the source, where possible.

commit 5dde94e3e60dcc622d5b782acaa62e590c62bafb
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Tue Dec 2 16:57:32 2014 +0000

    Add apostrophes

commit b27e168b58861f1ad0ca7af1c6ca1629cc6730ce
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 16:28:58 2014 +0000

    Fix some more word duplication

    I've left some instances of " in in " in, as they're ambiguous and
    may actually be correct.

commit a3dfd10cd501c3a521010942f950f5ca2c5395a7
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 10:35:03 2014 +0000

    Fix another typo

commit 01a3702209d9e880ac8f60dc4d74f26d426234fb
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 10:33:57 2014 +0000

    Fix more typos

commit 56c6fffd8769cdfab62c59c04d41b98b7f425262
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 10:30:19 2014 +0000

    Hopefully fix typos

    I'm not entirely sure about src/mame/drivers/nova2001.c line 933,
    as it could plausibly be either "which is not the top bit" or "which
    is now the top bit", with almost opposite meaning.

commit 906507b221de0175d236e252dc51f122cb56db23
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 08:39:55 2014 +0000

    Fix another typo

commit 14fcd939ae1c0570c10aacf00c6ea86724086f92
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Mon Dec 1 08:38:16 2014 +0000

    Fix some more word doubling in comments

commit d21283a447b94b28a38ec742a09fe425d77b55b2
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 23:06:07 2014 +0000

    Fix some more typos

commit 59b14d204af6d5983ea6dea2f5c8ad5bcc80460c
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 22:56:53 2014 +0000

    Tidy more

commit 9b3c9a868596c04c1a61b35aa8c96fb82c885149
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 22:43:30 2014 +0000

    Tidy more comments
2014-12-02 17:16:41 +00:00
Michaël Banaan Ananas
4f193a31da and what a fine horse it was 2014-10-26 02:00:27 +02:00
Michaël Banaan Ananas
818be1ef5e test 2014-10-26 01:55:15 +02:00
Olivier Galibert
f5570dc9c6 If we were documented, we'd be dangerous (nw) 2014-09-17 20:50:32 +00:00
Alex W. Jackson
f661e32ec8 Change remaining references to -nosound to -sound none in code and docs; move description of -sound option to OSD-specific doc files to be orthogonal to -video (nw) 2014-06-13 21:01:35 +00:00
Scott Stone
1358278e4d Correct format of -sound command in documents to match recent changes. (nw) 2014-06-13 20:17:06 +00:00
Scott Stone
eb86cbcb77 Updated hlsl.txt to mirror fact that some commands are no longer valid (nw) 2014-03-22 09:56:40 +00:00
Olivier Galibert
7a9492213b (mess): Floppy subsystem documentation checkpoint. Incomplete, but
there's too many people looking at it not to push it. [O. Galibert]
2014-01-30 20:13:38 +00:00
Olivier Galibert
f692af9cc0 placeholder 2014-01-30 20:13:05 +00:00
Dirk Best
f503c9a88c add license info for some things i worked on, some small cleanups 2013-10-17 14:26:24 +00:00
Aaron Giles
5d0ce54f9e Bulk convert files that already had standard BSD license in my name
to new license tagged form.
2013-10-16 08:14:49 +00:00
Jonathan Gevaryahu
e78f9c7638 add licenseinfo.txt for lookup of the newly added license tags; please add to this file if you multi-license using a license not listed in it 2013-10-15 22:13:10 +00:00
R. Belmont
5fa112b5a4 SDL.txt: edited by someone who actually knows what these do ;-) (nw) 2013-06-09 00:22:42 +00:00
Scott Stone
54915f17b1 Further SDL.txt document improvement (nw) 2013-06-08 22:31:35 +00:00
Scott Stone
4d2ee5eb67 Added SDL.txt document for users of SDL builds containing up to date listing of commands as well as updating parts of windows.txt and config.txt to take in account SDL differences. (nw) 2013-06-08 22:10:35 +00:00
Scott Stone
451c10e146 Updated windows related documentation (nw) 2013-06-07 12:57:05 +00:00
Scott Stone
dbd2a940eb Adding recently added commands to official documentation (nw) 2013-06-07 11:57:26 +00:00
Scott Stone
01326586a9 Updating of DOCS/hlsl.txt for cover new command additions. (nw) 2013-06-06 22:18:40 +00:00
Fabio Priuli
8d7e236c83 emuopts.c: Added a new option -statename which allows to specify the location of state saving,
relative to -state_directory (whose usage remains unchanged). Syntax is basically the same 
as snapname, allowing for the  / character as path separator, %g as the driver name, and 
%d_[media] as the image name mounted in the "media" device. 

For example, using -statename foo/%g when running "mame wrally" will store save states into 
the folder sta/foo/wrally/ ; using -statename %g/%d_cart when running "mess nes -cart smb" 
will store save states into the folder sta/nes/smb/ ; using -statename %g/%d_cdrm when
running "mess pce -cart cdsys -cdrm draculax" will store save states into sta/pce/draculax/
Specifying a media switch which is not available (e.g. %d_cdrm in a c64) or a media switch
where no image is mounted (e.g. %d_cdrm in pce while playing a hucard game) will revert
the option to its default value %g and save states will be stored in sta/*gamename*/ as in
previous versions. [Fabio Priuli]

Needless to say, this option is very useful with home computers and consoles in MESS since it
allows to have 36 save slots for each game instead of 36 for the whole system library

Notice that a clean compile is required, due to the addition to the running_machine class
2013-05-28 05:12:28 +00:00
Olivier Galibert
90362d4baf m6502: Seriously untested multi-dispatch-table support [O. Galibert] 2013-03-20 16:14:39 +00:00
Curt Coder
9eb41bb391 2013 2013-01-01 09:00:57 +00:00
Olivier Galibert
fac1ca581b 6502: Rewrite modern, cycle-exact and interruptible [O. Galibert] 2012-11-06 16:27:39 +00:00
Olivier Galibert
54b3c7a31d placeholders 2012-11-06 16:26:29 +00:00
Scott Stone
8d1de4e030 Updated DOCS config.txt and windows.txt with recent commands that were never added to documentation as well as some clarifications. [Tafoid] 2012-09-16 02:49:18 +00:00
Michaël Banaan Ananas
bbfcc9df7f add a missing MESS file 2012-08-21 22:06:22 +00:00
Olivier Galibert
ebf2aac078 nscsi: documentation [O. Galibert] 2012-08-05 09:09:22 +00:00
Olivier Galibert
dfd3712f0a Fuck that shit (nw) 2012-08-05 09:09:05 +00:00
Scott Stone
19fb15b319 Refactored the hlsl.txt documentation file to match current MAME commands (nw) 2011-11-13 03:54:52 +00:00
Ryan Holtz
873978a025 Adding hlsl.txt to /docs 2011-05-23 21:37:34 +00:00
Aaron Giles
59559fe282 Added support for OSD-generated fonts. The OSD is queried first to see
if it owns a given font (based on the name), and if it does, it is
responsible for generating bitmaps on the fly as characters are requested.

Added new option -uifont to specify the UI font. It can be set to a filename,
in which case a BDF font will be loaded. It can also be set to a font name
(assuming the OSD support is present), in which case the OSD font by that
name is used. The default value is 'default' which can be used by the OSD
to substitute a default font or by the OSD, which will default to ui.bdf
as before. In all cases, it falls back to the built-in font by default if
none of the previous options works.

On Windows, the OSD will default to Tahoma as the font name. Also on
Windows, font names can be specified with [b] to indicate bold or [i] to
indicate italic.
2010-10-24 00:16:54 +00:00
Aaron Giles
c30bcb6948 Fix crash when specifying -effect.
Moved -effect implementation out of OSD code and into core since
the implementations were identical across Windows/SDL and implemented
in the core itself.
2010-10-16 00:55:11 +00:00
Aaron Giles
67bef66987 Changed behavior of -watchdog option to act like a real watchdog. It now
specifies the number of seconds after the last video update that will
cause auto-termination of MAME. Also modified it to output a message
when the watchdog triggers the exit.

Updated windows.txt to reflect this option and the debugger_font options
which were never previously documented.
2009-12-24 02:52:17 +00:00
Couriersud
3af4cd9bec Added option "numprocessors"
-numprocessors <auto|value>
        Specify the number of processors to use for work queues. Specifying
        "auto" will use the value reported by the system or environment 
        variable OSDPROCESSORS. To avoid abuse, this value is internally limited
        to 4 times the number of processors reported by the system. 
        The default is "auto".
2009-12-19 23:12:07 +00:00
Aaron Giles
90eca88290 Adjust license.txt to indicate it applies to files unless otherwise
indicated.
2009-10-12 07:53:52 +00:00
Fabio Priuli
f65515a901 Ouch... there was still one crsshairpath... 2009-07-14 18:08:29 +00:00
Aaron Giles
ba6c280210 Added basic support in bitmap.c for 64-bit indexed bitmaps. As a
result, you will need a full recompile with this change, since the
bitmap formats enum was altered.

Introduced new feature -burnin, which can be used to generate a PNG
that represents the overall brightness seen during the course of
running a game. This PNG can be used as a fake "bezel" that overlays
the screen via the artwork systems (with a low alpha, say 0.1 or 0.2)
to simulate running a game with a monitor that has been burned in
from another game.

Fixed the -crsshairpath option to be spelled properly.
2009-07-13 22:34:43 +00:00
Derrick Renaud
01962d4fc5 Crosshair update
* Added Crosshair Options menu
  - ability to individually enable/disable crosshairs
  - ability for them to automatically disappear after a set amount of time
  - ability to select crosshair graphic
  - all settings are saved in the cfg file
 * Removed F1 toggle for crosshairs
 * Added new command option -crsshairpath
  - store all selectable graphics here
  - see config.txt for further info

OSD NOTE: render_load_png() has been changed to no longer force usage of the artwork directory.
Do a search for "render_load_png(" and replace with "render_load_png(OPTION_ARTPATH, " if needed.

----------------------------
F1 is now free to use for something new.  I was thinking it would be perfect for a context sensitive help file.  Each menu item could have a help tag, that it would look up and display info from an HTML file.
2009-03-28 22:55:34 +00:00
Jonathan Gevaryahu
e54cc78dd1 Minor fix to Shift-F11 description. 2008-10-16 17:01:16 +00:00
Aaron Giles
1e7bfa9b94 Update docs a bit. Turn off debugger by default. 2008-06-26 16:51:19 +00:00
Aaron Giles
a7be43dc68 Added new function video_get_view_for_target() which selects a view based
on a command-line parameter and the configuration. Changed Windows OSD
code to use this instead of its own logic. Changed -snapview to share the
logic as well, enabling 'auto' as a -snapview option.
2008-06-16 17:05:44 +00:00
Aaron Giles
69ba0bd294 Cleaned up software bilinear filtering code. Added bounds checking.
Enabled by default for snapshots and movie rendering.

Added new option: -snapsize, which lets you specify the target
resolution for snapshots and movies. The existing behavior is still
the default: create snapshots and movies at native pixel 
resolutions.

Added new option: -snapview, which lets you specify a particular
view to use for rendering snapshots and movies. The existing 
behavior is still the default: use a special internal view and 
render each screen to its own snapshot in its own file. When using 
this option to specify a view other than 'internal', only a single 
snapshot file will be produced regardless of how many screens the 
game has.

Improved AVI and MNG recording to properly duplicate/skip frames
as appropriate to keep the correct framerate.
2008-06-16 16:34:51 +00:00
Aaron Giles
c10b238896 Added option -[no]coin_lockout (-[no]coinlock) to control coin lockout behavior. 2008-06-12 17:06:49 +00:00
Aaron Giles
65934e7aa5 Added new option -snapname which lets you provide a template for how snapshot
names are generated.

Added new astring functions astring_del, astring_replace, and astring_replacec
to help perform simple search/replace substitution.
2008-05-29 08:00:23 +00:00
Aaron Giles
86dd599aa8 Added uncompressed AVI recording. Extended aviio to be able
to write RGB bitmaps. Unfortunately, the only option is fully
uncompressed, which means the resulting AVIs are *HUGE* and
may not play correctly in realtime due to high data rate. The
intention is that these uncompressed AVIs are post-processed
by other utilities to compress the video and produce a
realtime playable result.

Added new command-line option -aviwrite which works just like
-mngwrite, except it produces AVIs and streams sound to them.
Updated documentation accordingly.

Shift+F12 still produces MNGs for now, though this might change
in the future.

Modified fileio.c to retain the full pathname to the file so
that it can be queried while the file is open.
2008-05-13 03:02:11 +00:00
Aaron Giles
082619dbae Cleanups on the doc files.
Fixed high-ASCII characters in newvideo.txt which was breaking its view on the mamedev.org source browser.
2008-02-13 16:55:14 +00:00
Aaron Giles
8a9ea25d74 Fixed bogus characters in newvideo.txt.
Fixed const changes in sidvoice.c.
Removed GAME_SUPPORTS_SAVE from namcond1 driver.
2007-12-18 03:13:07 +00:00
Aaron Giles
507ca2d275 Changes for MAME 0.121u4. 2007-12-17 16:41:39 +00:00
Aaron Giles
3da7f47606 First checkin of MAME 0.121 docs folder. 2007-12-17 06:11:01 +00:00