summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-02-03 00:56:06 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-02-03 00:56:06 +0000
commit4c5cebc661a5473634bd3c21a1cdd42148188f2e (patch)
treee37605fd1c69dce15b265cb8fc9231bb150cd464
parent05ab4afb7d673b2a711756abaae5ae19c5a2fc1f (diff)
From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix some comments Hi mamedev, The following patch updates the initialization comments at the top of mame.c and corrects/adds a few filename declarations at the top of a handful of files. ~aa
-rw-r--r--src/build/png2bdc.c2
-rw-r--r--src/emu/cpu/cop400/cop410.c2
-rw-r--r--src/emu/cpu/dsp56k/dsp56dsm.c2
-rw-r--r--src/emu/cpu/dsp56k/dsp56ops.c2
-rw-r--r--src/emu/debug/debugcmd.c2
-rw-r--r--src/emu/machine/8042kbdc.c2
-rw-r--r--src/emu/mame.c12
-rw-r--r--src/emu/video/poly.c2
-rw-r--r--src/emu/video/rgbsse.h2
-rw-r--r--src/lib/util/cdrom.c2
-rw-r--r--src/lib/util/chd.c2
-rw-r--r--src/lib/util/chd.h2
-rw-r--r--src/lib/util/harddisk.c2
-rw-r--r--src/lib/util/palette.h2
-rw-r--r--src/mame/audio/firetrk.c2
-rw-r--r--src/mame/audio/mcr.h2
-rw-r--r--src/mame/audio/segasnd.c2
-rw-r--r--src/mame/machine/pcshare.c2
-rw-r--r--src/mame/video/brkthru.c2
-rw-r--r--src/mame/video/contra.c2
-rw-r--r--src/mame/video/liberatr.c2
21 files changed, 31 insertions, 21 deletions
diff --git a/src/build/png2bdc.c b/src/build/png2bdc.c
index b21b482eb0a..3709d37a9f8 100644
--- a/src/build/png2bdc.c
+++ b/src/build/png2bdc.c
@@ -1,5 +1,7 @@
/***************************************************************************
+ png2bdc.c
+
Super-simple PNG to BDC file generator
Copyright Nicola Salmoria and the MAME Team.
diff --git a/src/emu/cpu/cop400/cop410.c b/src/emu/cpu/cop400/cop410.c
index 415d7b1bf5d..ef517d20017 100644
--- a/src/emu/cpu/cop400/cop410.c
+++ b/src/emu/cpu/cop400/cop410.c
@@ -1,6 +1,6 @@
/***************************************************************************
- version.c
+ cop410.c
National Semiconductor COP410 Emulator.
diff --git a/src/emu/cpu/dsp56k/dsp56dsm.c b/src/emu/cpu/dsp56k/dsp56dsm.c
index a2f5c00b5b1..ee9b352d2f3 100644
--- a/src/emu/cpu/dsp56k/dsp56dsm.c
+++ b/src/emu/cpu/dsp56k/dsp56dsm.c
@@ -1,6 +1,6 @@
/***************************************************************************
- dsp56kdasm.c
+ dsp56dsm.c
Disassembler for the portable Motorola/Freescale dsp56k emulator.
Written by Andrew Gardner
diff --git a/src/emu/cpu/dsp56k/dsp56ops.c b/src/emu/cpu/dsp56k/dsp56ops.c
index 85d34a8568e..c0ccc59dc4b 100644
--- a/src/emu/cpu/dsp56k/dsp56ops.c
+++ b/src/emu/cpu/dsp56k/dsp56ops.c
@@ -1,6 +1,6 @@
/***************************************************************************
- dsp56kops.c
+ dsp56ops.c
Core implementation for the portable Motorola/Freescale DSP56k emulator.
Written by Andrew Gardner
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c
index 119e3f478fd..316e1331f76 100644
--- a/src/emu/debug/debugcmd.c
+++ b/src/emu/debug/debugcmd.c
@@ -1,6 +1,6 @@
/*********************************************************************
- debugcmd.h
+ debugcmd.c
Debugger command interface engine.
diff --git a/src/emu/machine/8042kbdc.c b/src/emu/machine/8042kbdc.c
index 35c9faa747d..fb6d7a61dfc 100644
--- a/src/emu/machine/8042kbdc.c
+++ b/src/emu/machine/8042kbdc.c
@@ -1,6 +1,6 @@
/*********************************************************************
- ibmat.c
+ 8042kbdc.c
Code specific to fun IBM AT stuff
diff --git a/src/emu/mame.c b/src/emu/mame.c
index 9f5c7e3c2e0..485e4ba5f06 100644
--- a/src/emu/mame.c
+++ b/src/emu/mame.c
@@ -11,13 +11,13 @@
Since there has been confusion in the past over the order of
initialization and other such things, here it is, all spelled out
- as of February, 2006:
+ as of January, 2008:
main()
- does platform-specific init
- - calls run_game() [mame.c]
+ - calls mame_execute() [mame.c]
- run_game() [mame.c]
+ mame_execute() [mame.c]
- calls mame_validitychecks() [validity.c] to perform validity checks on all compiled drivers
- calls setjmp to prepare for deep error handling
- begins resource tracking (level 1)
@@ -29,6 +29,7 @@
- calls sndintrf_init() [sndintrf.c] to determine which sound chips are available
- calls fileio_init() [fileio.c] to initialize file I/O info
- calls config_init() [config.c] to initialize configuration system
+ - calls input_init() [input.c] to initialize the input system
- calls output_init() [output.c] to initialize the output system
- calls state_init() [state.c] to initialize save state system
- calls state_save_allow_registration() [state.c] to allow registrations
@@ -41,12 +42,12 @@
- calls generic_sound_init() [audio/generic.c] to initialize generic sound structures
- calls timer_init() [timer.c] to reset the timer system
- calls osd_init() [osdepend.h] to do platform-specific initialization
- - calls code_init() [input.c] to initialize the input system
- calls input_port_init() [inptport.c] to set up the input ports
- calls rom_init() [romload.c] to load the game's ROMs
- calls memory_init() [memory.c] to process the game's memory maps
- calls cpuexec_init() [cpuexec.c] to initialize the CPUs
- calls cpuint_init() [cpuint.c] to initialize the CPU interrupts
+ - calls mame_debug_init() [debugcpu.c] to set up the debugger
- calls the driver's DRIVER_INIT callback
- calls video_init() [video.c] to start the video system
- calls sound_init() [sound.c] to start the audio system
@@ -54,11 +55,10 @@
- disposes of regions marked as disposable
- calls saveload_init() [mame.c] to set up for save/load
- calls cheat_init() [cheat.c] to initialize the cheat system
- - calls mame_debug_init() [debugcpu.c] to set up the debugger
- calls config_load_settings() [config.c] to load the configuration file
- calls nvram_load [machine/generic.c] to load NVRAM
- - calls ui_init() [ui.c] to initialize the user interface
+ - calls ui_display_startup_screens() [ui.c] to display the the startup screens
- begins resource tracking (level 2)
- calls soft_reset() [mame.c] to reset all systems
diff --git a/src/emu/video/poly.c b/src/emu/video/poly.c
index 19604d900e3..e455bab4949 100644
--- a/src/emu/video/poly.c
+++ b/src/emu/video/poly.c
@@ -1,6 +1,6 @@
/***************************************************************************
- polynew.c
+ poly.c
Helper routines for polygon rendering.
diff --git a/src/emu/video/rgbsse.h b/src/emu/video/rgbsse.h
index d5e8ea4eb02..322b515b927 100644
--- a/src/emu/video/rgbsse.h
+++ b/src/emu/video/rgbsse.h
@@ -1,6 +1,6 @@
/***************************************************************************
- rgbgen.h
+ rgbsse.h
SSE optimized RGB utilities.
diff --git a/src/lib/util/cdrom.c b/src/lib/util/cdrom.c
index c3ceb84c958..5fae91d37fd 100644
--- a/src/lib/util/cdrom.c
+++ b/src/lib/util/cdrom.c
@@ -1,5 +1,7 @@
/***************************************************************************
+ cdrom.c
+
Generic MAME CD-ROM utilties - build IDE and SCSI CD-ROMs on top of this
Copyright Nicola Salmoria and the MAME Team.
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c
index 9eee54cced8..e34255aa93f 100644
--- a/src/lib/util/chd.c
+++ b/src/lib/util/chd.c
@@ -1,5 +1,7 @@
/***************************************************************************
+ chd.c
+
MAME Compressed Hunks of Data file format
Copyright Nicola Salmoria and the MAME Team.
diff --git a/src/lib/util/chd.h b/src/lib/util/chd.h
index 693df78db76..4559f31bcfa 100644
--- a/src/lib/util/chd.h
+++ b/src/lib/util/chd.h
@@ -1,5 +1,7 @@
/***************************************************************************
+ chd.h
+
MAME Compressed Hunks of Data file format
Copyright Nicola Salmoria and the MAME Team.
diff --git a/src/lib/util/harddisk.c b/src/lib/util/harddisk.c
index 24ea1f9e6c2..0ac715d4efb 100644
--- a/src/lib/util/harddisk.c
+++ b/src/lib/util/harddisk.c
@@ -1,5 +1,7 @@
/***************************************************************************
+ hardisk.c
+
Generic MAME hard disk implementation, with differencing files
Copyright Nicola Salmoria and the MAME Team.
diff --git a/src/lib/util/palette.h b/src/lib/util/palette.h
index fe81a51738a..3234e198e0d 100644
--- a/src/lib/util/palette.h
+++ b/src/lib/util/palette.h
@@ -1,6 +1,6 @@
/******************************************************************************
- palette.c
+ palette.h
Core palette routines.
diff --git a/src/mame/audio/firetrk.c b/src/mame/audio/firetrk.c
index 62e12f5fe24..bae5ec52c96 100644
--- a/src/mame/audio/firetrk.c
+++ b/src/mame/audio/firetrk.c
@@ -1,6 +1,6 @@
/*************************************************************************
- audio\atarifb.c
+ audio\firetrk.c
*************************************************************************/
diff --git a/src/mame/audio/mcr.h b/src/mame/audio/mcr.h
index 297effa384a..aa125067e73 100644
--- a/src/mame/audio/mcr.h
+++ b/src/mame/audio/mcr.h
@@ -1,6 +1,6 @@
/***************************************************************************
- audio/mcr.c
+ audio/mcr.h
Functions to emulate general the various MCR sound cards.
diff --git a/src/mame/audio/segasnd.c b/src/mame/audio/segasnd.c
index 6a9208ff18b..a587250da2c 100644
--- a/src/mame/audio/segasnd.c
+++ b/src/mame/audio/segasnd.c
@@ -1,6 +1,6 @@
/***************************************************************************
- segag80.c
+ segasnd.c
Sound boards for early Sega G-80 based games.
diff --git a/src/mame/machine/pcshare.c b/src/mame/machine/pcshare.c
index 4283ae90317..976d649a7d2 100644
--- a/src/mame/machine/pcshare.c
+++ b/src/mame/machine/pcshare.c
@@ -1,6 +1,6 @@
/***************************************************************************
- machine/pc.c
+ machine/pcshare.c
Functions to emulate general aspects of the machine
(RAM, ROM, interrupts, I/O ports)
diff --git a/src/mame/video/brkthru.c b/src/mame/video/brkthru.c
index 71334d23ad5..9331ac6f7c9 100644
--- a/src/mame/video/brkthru.c
+++ b/src/mame/video/brkthru.c
@@ -1,6 +1,6 @@
/***************************************************************************
- breakthru:video.c
+ video/brkthru.c
***************************************************************************/
diff --git a/src/mame/video/contra.c b/src/mame/video/contra.c
index 656d8139b9d..8ef0b780c54 100644
--- a/src/mame/video/contra.c
+++ b/src/mame/video/contra.c
@@ -1,6 +1,6 @@
/***************************************************************************
- gryzor: video.c
+ video/contra.c
***************************************************************************/
diff --git a/src/mame/video/liberatr.c b/src/mame/video/liberatr.c
index 5f796d2d30f..56e55f0d8d4 100644
--- a/src/mame/video/liberatr.c
+++ b/src/mame/video/liberatr.c
@@ -1,6 +1,6 @@
/***************************************************************************
- liberator.c - 'video.c'
+ video/liberatr.c
Functions to emulate the video hardware of the machine.