Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amadvance committed Jul 14, 2003
1 parent 43b164e commit 89f87ed
Show file tree
Hide file tree
Showing 28 changed files with 120 additions and 110 deletions.
1 change: 1 addition & 0 deletions advance/advance.mak
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ pacmame:

wholemame:
$(MAKE) CONF=no dist
$(MAKE) CONF=no CONF_WHOLESRC=yes dist
$(MAKE) $(ARCH_PENTIUM_BLEND_GCCOLD) CONF=no CONF_HOST=windows distbin
$(MAKE) $(ARCH_PENTIUM_BLEND) CONF=no CONF_HOST=unix distbin
$(MAKE) $(ARCH_PENTIUM_BLEND_GCCOLD) CONF=no CONF_HOST=dos distbin
Expand Down
4 changes: 3 additions & 1 deletion advance/osd/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ int osd2_sound_init(unsigned* sample_rate, int stereo_flag)
context->state.output_mode = context->config.mode;

low_buffer_time = context->config.latency_time;
/* allow always a big maximum latency. note that this is the upper */
/* limit latency, not the effective latency. */
if (low_buffer_time < 0.3)
low_buffer_time = 0.3; /* allow always a big maximum latency */
low_buffer_time = 0.3;

if (sound_init(sample_rate, context->state.output_mode != SOUND_MODE_MONO, low_buffer_time) != 0) {
return -1;
Expand Down
15 changes: 7 additions & 8 deletions doc/advcfg.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ Name
advcfg - The AdvanceCFG Automatic Configurator

Synopsis
:advcfg [-advmamec] [-advmessc] [-advpacc] [-advmenuc]
:advcfg [-advmamec] [-advmessc] [-advmenuc]
: [-log] [-logsync] [-rc RCFILE] [-bit N]

Description
The `advcfg' utility is the automatic video configuration
program for AdvanceMAME, AdvanceMESS, AdvancePAC and
AdvanceMENU.
program for AdvanceMAME, AdvanceMESS and AdvanceMENU.

This utility works differently if one of the -advmamec,
-advmessc, -advpacc and -advmenuc option is specified.
-advmessc and -advmenuc option is specified.
The main difference is the the name of the configuration
file used to store the video modes.

Expand All @@ -28,9 +27,9 @@ Options
buffered. This option must be used to get a complete
log file in presence of a machine crash.

-advmamec, -advmessc, -advpacc, -advmenuc
-advmamec, -advmessc, -advmenuc
Select the mode of operation for the programs `advmame',
`advmess', `advpac' and `advmenu'.
`advmess' and `advmenu'.
The default is for `advmame'.

-bit N
Expand All @@ -40,12 +39,12 @@ Options

Configuration
Depending one the command line options used one of the `advmame.rc',
`advmess.rc', `advpac.rc' and `advmenu.rc' file is used to load and save
`advmess.rc' and `advmenu.rc' file is used to load and save
the video configuration.

Check the `device.txt' file for more details on the video drivers
and video options supported.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.

2 changes: 1 addition & 1 deletion doc/advj.d
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Description
`device_joystick' option.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.

2 changes: 1 addition & 1 deletion doc/advk.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Description
`device_keyboard' option.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima,
This file is Copyright (C) 2003 Andrea Mazzoleni, Filipe Estima,
Randy Schnedler.

2 changes: 1 addition & 1 deletion doc/advline.d
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,6 @@ Timings
:Pixel Clock 20.00 MHz

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.


2 changes: 1 addition & 1 deletion doc/advm.d
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ Description
`device_mouse' option.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.

20 changes: 10 additions & 10 deletions doc/advmame.d
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
Name
advmame, advmess, advpac - The AdvanceMAME Emulator
advmame, advmess - The AdvanceMAME/MESS Emulator

Synopsis
:advmame GAME [-default] [-remove] [-log] [-listinfo] [-listxml]
: [-record FILE] [-playback FILE] [-version]

:advpac GAME [-default] [-remove] [-log] [-listinfo] [-listxml]
: [-record FILE] [-playback FILE] [-version]

:advmess MACHINE [images...] [-default] [-remove] [-log] [-listinfo]
: [-listxml] [-record FILE] [-playback FILE] [-version]

Expand Down Expand Up @@ -360,11 +357,11 @@ Other Ports

Configuration
In DOS and Windows the configuration options are read from the
file `advmame.rc', `advmess.rc' and `advpac.rc' in the current
file `advmame.rc' and `advmess.rc' in the current
directory.

In Linux and Mac OS X the configuration options are read from the
files `advmame.rc', `advmess.rc' and `advpac.rc' in the $root and
files `advmame.rc' and `advmess.rc' in the $root and
the $home directory.
The $root directory is `$DATA/advance/', where $DATA is the
data directory configured with the `configure' script.
Expand Down Expand Up @@ -997,9 +994,12 @@ Configuration
are mixed.
stereo - Use always stereo. The game mono channel
is duplicated.
surround - Use a fake surround effect. The right channel
plays part of the left channel as negate samples
and vice-versa.
surround - Use a fake surround effect. With stereo games
the right channel plays part of the left channel
as negate samples and vice-versa.
With mono games the left channel is the negation of
the right channel. This means that with surround enabled
the output is always stereo.

sound_samplerate
Sets the audio sample rate.
Expand Down Expand Up @@ -1405,5 +1405,5 @@ Signals
SIGTERM - Abort restoring the output devices.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima.
This file is Copyright (C) 2003 Andrea Mazzoleni, Filipe Estima.

13 changes: 4 additions & 9 deletions doc/advmenu.d
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Options

Emulators
The program supports many type of emulators. The emulators
AdvanceMAME, AdvancePAC, AdvanceMESS, MAME, Xmame, DMAME,
AdvanceMAME, AdvanceMESS, MAME, Xmame, DMAME,
DMESS and DRAINE are directly supported and the only thing
you should do is to run the AdvanceMENU program in the same
directory of the emulator.
Expand Down Expand Up @@ -125,11 +125,6 @@ Emulators
The directories specified in `dir_snap', `dir_cfg' are used to
detect the list of available snapshots and .cfg files.

advpac (The AdvancePAC emulator)
Exactly like the `advmame' emulator type with the exception
of the use of the `advpac.rc' configuration file instead of
`advmame.rc'.

advmess (The AdvanceMESS emulator)
For the `advmess' emulator the rom information is gathered
from the file `EMUNAME.lst'. If this file doesn't exist,
Expand Down Expand Up @@ -754,8 +749,8 @@ Configuration

Note that this directory must be used only for your music.
The emulated game recordings, played when the cursor is moved on
the game, are stored in the snap directory defined in your
`advmame/mess/pac.rc' or with the `emulator_altss' option.
the game, are stored in the snap directory defined in the emulator
configuration file or with the `emulator_altss' option.

:sound_background_loop_dir "DIR"

Expand Down Expand Up @@ -1107,5 +1102,5 @@ Signals
SIGTERM - Exit restoring only the video

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni, Randy Schnedler.
This file is Copyright (C) 2003 Andrea Mazzoleni, Randy Schnedler.

2 changes: 1 addition & 1 deletion doc/advs.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Description
the `device_sound' option.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.

18 changes: 9 additions & 9 deletions doc/advv.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ Name
advv - The AdvanceVIDEO Manual Configurator

Synopsis
:advv [-advmamev] [-advmessv] [-advpacv] [-advmenuv]
:advv [-advmamev] [-advmessv] [-advmenuv]
: [-vbev] [-vgav] [-videowv] [-log] [-logsync]
: [-rc RCFILE]

Description
The `advv' utility is the main video configuration program
for AdvanceMAME, AdvanceMESS, AdvancePAC, AdvanceMENU,
AdvanceVBE and AdvanceVGA.
for AdvanceMAME, AdvanceMESS, AdvanceMENU, AdvanceVBE and
AdvanceVGA.
It selects, creates and tweaks video modes interactively.

This utility works differently if one of the -advmamev,
-advmessv, -advpacv, -advmenuv, -vbev, -vgav and -videowv
options is specified.
-advmessv, -advmenuv, -vbev, -vgav and -videowv options
is specified.
The main difference is the the name of the configuration
file used to store the video modes.

Expand All @@ -34,9 +34,9 @@ Options
buffered. This option must be used to get a complete
log file in presence of a machine crash.

-advmamev, -advmessv, -advpacv, -advmenuv, -vbev, -vgav, -videowv
-advmamev, -advmessv, -advmenuv, -vbev, -vgav, -videowv
Select the mode of operation for the programs `advmame',
`advmess', `advpac', `advmenu', `vbe', `vga' and `videow'.
`advmess', `advmenu', `vbe', `vga' and `videow'.
The default is `advmame'.

Use
Expand Down Expand Up @@ -115,12 +115,12 @@ Use

Configuration
Depending one the command line options used one of the `advmame.rc',
`advmess.rc', `advpac.rc', `advmenu.rc', `vbe.rc', `vga.rc' and
`advmess.rc', `advmenu.rc', `vbe.rc', `vga.rc' and
`videow.rc' file is used to load and save the video configuration.

Check the `device.txt' file for more details on the video drivers
and video options supported.

Copyright
This file is Copyright (C) 2002 Andrea Mazzoleni.
This file is Copyright (C) 2003 Andrea Mazzoleni.

1 change: 0 additions & 1 deletion doc/authors.d
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Acknowledgments
Libraries
MAME - http://www.mame.net
MESS - http://mess.emuverse.com
PacMAME - http://www.mameworld.net/pacmame
SVGALIB - http://www.svgalib.org
Allegro - http://www.allegro.org
SEAL - unknown
Expand Down
16 changes: 8 additions & 8 deletions doc/build.d
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Name
build - How To Build

This file contains the instructions to build AdvanceMAME, AdvanceMESS,
AdvancePAC and AdvanceMENU from the source archives.
This file contains the instructions to build AdvanceMAME, AdvanceMESS
and AdvanceMENU from the source archives.

Preparing The Sources
To compile AdvanceMENU you don't need to prepare the source, they are
already complete.

To build one of the Advance emulators (MAME, MESS, PacMAME) you
To build one of the Advance emulators (MAME, MESS) you
need first to download and unzip the emulator source with the same
version of the Advance source. Please note that you must use the
original emulator source, you cannot use the source of another MAME
clone like xmame.

The source of the MAME emulator must be unzipped in the `src/' directory,
the MESS source in `srcmess/' and the PacMAME source in `srcpac/'.
The source of the MAME emulator must be unzipped in the `src/' directory
and the MESS source in `srcmess/'.
For MESS you need also the additional `mess/' source directory.

In Linux remember to unzip the original .zip archives with the
Expand All @@ -31,9 +31,9 @@ Preparing The Sources
:./src/mame.mak

After unpacked, you need to patch the original MAME source with the
patch `advance/advmame.dif', the MESS source with `advance/advmess.dif' and
the PacMAME source with `advance/advpac.dif'. If the patch isn't applied
correctly, probably you are using the wrong version of the emulator source.
patch `advance/advmame.dif' and the MESS source with `advance/advmess.dif'.
If the patch isn't applied correctly, probably you are using the wrong
version of the emulator source.

For example the command for patching the source for AdvanceMAME in DOS is :

Expand Down
4 changes: 2 additions & 2 deletions doc/cardwin.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Name
SVGAWIN
The `svgawin' driver is a subset of the Linux SVGALIB library.

THE USE OF THIS DRIVER IS EXPERIMENTAL, BE PREPARED TO REBOOT YOUR PC IF YOU
USE IT. AT PRESENT IT'S ONLY TESTED ON WINDOWS 2000 WITH A GEFORCE 2 BOARD.
This driver is experimental. At present it's only tested on Windows
2000 with a GeForce 2 board. It may not work will all the other boards.
ATI Technologies (1002)
+FireGL Mobility [4c58]
Expand Down
Loading

0 comments on commit 89f87ed

Please sign in to comment.