[SCM] packaging for the mame arcade game emulator branch, master, updated. 84f6fbebe04fbde6a1723fe5843a07be7a8a8d19

Cesare Falco cesare.falco at gmail.com
Thu Jun 16 10:23:53 UTC 2011


The following commit has been merged in the master branch:
commit 2902c95c5f40ac3df377c82848dc4019217ec8a1
Author: Cesare Falco <cesare.falco at gmail.com>
Date:   Thu Jun 16 09:46:56 2011 +0200

    Fixed typos in source to stop lintian complaints

diff --git a/debian/patches/mame_typos.patch b/debian/patches/mame_typos.patch
new file mode 100644
index 0000000..79ae664
--- /dev/null
+++ b/debian/patches/mame_typos.patch
@@ -0,0 +1,226 @@
+From: Cesare Falco <cesare.falco at gmail.com>
+Subject: Fix typos in mame tree to make lintian happier
+Index: mame-0.142/src/emu/cpu/uml.c
+===================================================================
+--- mame-0.142.orig/src/emu/cpu/uml.c	2011-06-16 09:22:39.000000000 +0200
++++ mame-0.142/src/emu/cpu/uml.c	2011-06-16 09:33:13.000000000 +0200
+@@ -921,7 +921,7 @@
+ 		if (pnum != 0)
+ 			buffer.cat(',');
+ 
+-		// ouput based on type
++		// output based on type
+ 		switch (param.type())
+ 		{
+ 			// immediates have several special cases
+Index: mame-0.142/src/lib/util/opresolv.c
+===================================================================
+--- mame-0.142.orig/src/lib/util/opresolv.c	2011-06-16 09:22:39.000000000 +0200
++++ mame-0.142/src/lib/util/opresolv.c	2011-06-16 09:33:13.000000000 +0200
+@@ -552,7 +552,7 @@
+ 		"Parameter out of range",					/* OPTIONRESOLUTION_ERROR_PARAMOUTOFRANGE */
+ 		"Parameter not specified",					/* OPTIONRESOLUTION_ERROR_PARAMNOTSPECIFIED */
+         "Unknown parameter",						/* OPTIONRESOLUTION_ERROR_PARAMNOTFOUND */
+-		"Paramter specified multiple times",		/* OPTIONRESOLUTION_ERROR_PARAMALREADYSPECIFIED */
++		"Parameter specified multiple times",		/* OPTIONRESOLUTION_ERROR_PARAMALREADYSPECIFIED */
+ 		"Invalid parameter",						/* OPTIONRESOLUTION_ERROR_BADPARAM */
+ 		"Syntax error",								/* OPTIONRESOLUTION_ERROR_SYNTAX */
+ 		"Internal error"							/* OPTIONRESOLTUION_ERROR_INTERNAL */
+Index: mame-0.142/src/mame/drivers/multfish.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/multfish.c	2011-06-16 09:22:40.000000000 +0200
++++ mame-0.142/src/mame/drivers/multfish.c	2011-06-16 09:33:13.000000000 +0200
+@@ -4081,7 +4081,7 @@
+ GAME( 2005, islandb,     island_parent,   multfish, multfish,  customl,       ROT0,  "bootleg", "Island (bootleg, 050713, VIDEO GAME-1 OS01)", GAME_SUPPORTS_SAVE ) // custom alteras, modified graphics, many texts changed, changed version text to "VIDEO GAME-1 OS01"
+ GAME( 2005, islandc,     island_parent,   multfish, multfish,  customl,       ROT0,  "bootleg", "Island (bootleg, 050713, LOTOS OS01)", GAME_SUPPORTS_SAVE ) // custom alteras, modified graphics, many texts changed, changed version text to "LOTOS OS01"
+ 
+-GAME( 2006, island2a,    island2_parent,  island2a, multfish,  0,             ROT0,  "bootleg", "Island 2 (bootleg, 060529, banking address hack)", GAME_SUPPORTS_SAVE ) // bank F9 (not standart, game not work)
++GAME( 2006, island2a,    island2_parent,  island2a, multfish,  0,             ROT0,  "bootleg", "Island 2 (bootleg, 060529, banking address hack)", GAME_SUPPORTS_SAVE ) // bank F9 (not standard, game not work)
+ GAME( 2006, island2b,    island2_parent,  multfish, multfish,  0,             ROT0,  "bootleg", "Island 2 (bootleg, 060529, banking address hack, changed version text)", GAME_SUPPORTS_SAVE ) // bank F9, changed version text to 070205, skip some start tests
+ GAME( 2006, island2c,    island2_parent,  multfish, multfish,  0,             ROT0,  "bootleg", "Island 2 (bootleg, 060529, LOTTOGAME (I))", GAME_SUPPORTS_SAVE ) // bank F9, modified graphics, changed version text to "MDS_is_the_best_ LOTTOGAME (I)"
+ GAME( 2006, island2_3a,  island2_parent,  multfish, multfish,  0,             ROT0,  "bootleg", "Island 2 (bootleg, 061218, VIDEO GAME-1 OS2-01)", GAME_SUPPORTS_SAVE ) // bank F9, modified graphics, changed version text to "VIDEO GAME-1 OS2-01"
+Index: mame-0.142/src/mame/drivers/segaybd.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/segaybd.c	2011-06-16 09:22:40.000000000 +0200
++++ mame-0.142/src/mame/drivers/segaybd.c	2011-06-16 09:33:13.000000000 +0200
+@@ -2193,7 +2193,7 @@
+ {
+ 	/* r360 cabinet */
+ 	output_set_value("start_lamp", BIT(data, 2));
+-	/* even though the same ouput is used, I've split them to avoid confusion. */
++	/* even though the same output is used, I've split them to avoid confusion. */
+ 	output_set_value("emergency_stop_lamp", BIT(data, 2));
+ }
+ 
+Index: mame-0.142/src/mame/machine/atarigen.c
+===================================================================
+--- mame-0.142.orig/src/mame/machine/atarigen.c	2011-06-16 09:22:40.000000000 +0200
++++ mame-0.142/src/mame/machine/atarigen.c	2011-06-16 09:33:13.000000000 +0200
+@@ -1609,7 +1609,7 @@
+ 	// remember the control state
+ 	m_earom_control = data;
+ 
+-	// ensure ouput data is put on data lines prior to updating controls
++	// ensure output data is put on data lines prior to updating controls
+ 	if (m_earom_control & 4)
+ 		m_earom->set_data(m_earom_data);
+ 
+Index: mame-0.142/src/mame/machine/kanekotb.h
+===================================================================
+--- mame-0.142.orig/src/mame/machine/kanekotb.h	2011-06-16 09:22:40.000000000 +0200
++++ mame-0.142/src/mame/machine/kanekotb.h	2011-06-16 09:33:13.000000000 +0200
+@@ -11,7 +11,7 @@
+ ***************************************************************************/
+ 
+ // notes based on test programs results, verified on PCB:
+-// - bonkadv_mcu_4_30 is the only cmd that ouputs an odd (655) number of bytes
++// - bonkadv_mcu_4_30 is the only cmd that outputs an odd (655) number of bytes
+ // - bonkadv_mcu_4_33: the 32 'zeroed' bytes every 64 bytes are effectively written by the MCU
+ 
+ // MCU executed command: 4300 0100 - factory settings
+Index: mame-0.142/src/osd/sdl/man/mame.1
+===================================================================
+--- mame-0.142.orig/src/osd/sdl/man/mame.1	2011-06-16 09:22:39.000000000 +0200
++++ mame-0.142/src/osd/sdl/man/mame.1	2011-06-16 09:33:13.000000000 +0200
+@@ -885,7 +885,7 @@
+ .\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ .TP
+ .B \-keymap
+-Enable keymap for non\-QWERTY keyboards. Used in conjuction with
++Enable keymap for non\-QWERTY keyboards. Used in conjunction with
+ \fB\-keymap_file\fR.
+ .TP
+ .B \-keymap_file \fIkeymap_file\fR
+Index: mame-0.142/src/osd/sdl/output.c
+===================================================================
+--- mame-0.142.orig/src/osd/sdl/output.c	2011-06-16 09:22:40.000000000 +0200
++++ mame-0.142/src/osd/sdl/output.c	2011-06-16 09:33:13.000000000 +0200
+@@ -82,13 +82,13 @@
+ 	if (fildes < 0)
+ 	{
+ 		output = NULL;
+-		mame_printf_verbose("ouput: unable to open output notifier file %s\n", SDLMAME_OUTPUT);
++		mame_printf_verbose("output: unable to open output notifier file %s\n", SDLMAME_OUTPUT);
+ 	}
+ 	else
+ 	{
+ 		output = fdopen(fildes, "w");
+ 
+-		mame_printf_verbose("ouput: opened output notifier file %s\n", SDLMAME_OUTPUT);
++		mame_printf_verbose("output: opened output notifier file %s\n", SDLMAME_OUTPUT);
+ 		fprintf(output, "MAME " PID_FMT " START %s\n", osd_getpid(), machine.system().name);
+ 		fflush(output);
+ 	}
+@@ -109,7 +109,7 @@
+ 		fflush(output);
+ 		fclose(output);
+ 		output = NULL;
+-		mame_printf_verbose("ouput: closed output notifier file\n");
++		mame_printf_verbose("output: closed output notifier file\n");
+ 	}
+ }
+ 
+Index: mame-0.142/src/emu/sound/digitalk.c
+===================================================================
+--- mame-0.142.orig/src/emu/sound/digitalk.c	2011-06-16 09:34:20.000000000 +0200
++++ mame-0.142/src/emu/sound/digitalk.c	2011-06-16 09:34:28.000000000 +0200
+@@ -154,7 +154,7 @@
+ 
+ 
+ Finally, silent zones are compressed specifically by storing their
+-lenghts.
++lengths.
+ 
+ 
+ Decoding is simpler.  The 128-samples waveform is decoded using the
+Index: mame-0.142/src/mame/audio/spiders.c
+===================================================================
+--- mame-0.142.orig/src/mame/audio/spiders.c	2011-06-16 09:34:44.000000000 +0200
++++ mame-0.142/src/mame/audio/spiders.c	2011-06-16 09:34:51.000000000 +0200
+@@ -42,7 +42,7 @@
+ 	0			// no cap
+ };
+ 
+-/* The noice generator consists of two LS164 plus a LS74, so the lenght is 8+8+1 */
++/* The noice generator consists of two LS164 plus a LS74, so the length is 8+8+1 */
+ static const discrete_lfsr_desc spiders_lfsr =
+ {
+ 	DISC_CLK_IS_FREQ,
+Index: mame-0.142/src/mame/drivers/calomega.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/calomega.c	2011-06-16 09:35:57.000000000 +0200
++++ mame-0.142/src/mame/drivers/calomega.c	2011-06-16 09:36:03.000000000 +0200
+@@ -575,7 +575,7 @@
+         SSI Poker (v4.0)
+ 
+     - Added a list of official/unofficial games, and their states.
+-    - Fixed a bug introduced when extended the color PROM region to eliminate colortable lenght.
++    - Fixed a bug introduced when extended the color PROM region to eliminate colortable length.
+     - Other changes/fixes.
+     - Updated technical notes.
+ 
+Index: mame-0.142/src/mame/drivers/funworld.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/funworld.c	2011-06-16 09:35:43.000000000 +0200
++++ mame-0.142/src/mame/drivers/funworld.c	2011-06-16 09:35:51.000000000 +0200
+@@ -93,7 +93,7 @@
+   The hardware was designed to manage 4096 tiles with a size of 8x4 pixels each.
+   Also support 4bpp graphics and the palette limitation is 8 bits for color codes (256 x 16colors).
+   It means the hardware was designed for more elaborated graphics than Jolly Card games...
+-  Color PROMs from current games are 512 bytes lenght, but they only use the first 256 bytes.
++  Color PROMs from current games are 512 bytes length, but they only use the first 256 bytes.
+ 
+   Normal hardware capabilities:
+ 
+Index: mame-0.142/src/mame/drivers/magicfly.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/magicfly.c	2011-06-16 09:35:27.000000000 +0200
++++ mame-0.142/src/mame/drivers/magicfly.c	2011-06-16 09:35:36.000000000 +0200
+@@ -174,7 +174,7 @@
+ 
+         ($0D)            ; Incremented each time a NMI is triggered.
+         ($1D)            ; In case of 0x00, NMI do nothing and return.
+-        ($11)            ; Store lenghts for text handling.
++        ($11)            ; Store lengths for text handling.
+         ($12)            ; Store values to be written in color RAM.
+         ($13 - $14)      ; Pointer to text offset.
+         ($15 - $16)      ; Pointer to video RAM.
+Index: mame-0.142/src/mame/drivers/snookr10.c
+===================================================================
+--- mame-0.142.orig/src/mame/drivers/snookr10.c	2011-06-16 09:36:07.000000000 +0200
++++ mame-0.142/src/mame/drivers/snookr10.c	2011-06-16 09:36:17.000000000 +0200
+@@ -66,7 +66,7 @@
+     8 bits for color codes (256 x 16 colors). It means the hardware was designed for more
+     elaborated graphics than these games...
+ 
+-    Color PROMs from current games are 512 bytes lenght, but they only use the first 256 bytes.
++    Color PROMs from current games are 512 bytes length, but they only use the first 256 bytes.
+ 
+     The sound is composed by 4-bit ADPCM samples. All the supported games have the same sound ROM.
+     All the sounds/samples were ripped from the Gottlieb pinball 'Cue Ball Wizard'(1992).
+@@ -331,7 +331,7 @@
+     - Added the oki6295 emulation to all games.
+     - Hooked output ports.
+     - Documented and calculated all bits related to lamps.
+-    - Adjusted palette lenght to 256 colors.
++    - Adjusted palette length to 256 colors.
+     - Totally decrypted the apple10 color matrix. Now colors are perfect.
+     - Created a new machine driver for apple10 due to encryption.
+     - Reverse engineering the code to complete the DIP switches.
+Index: mame-0.142/src/mame/video/ddribble.c
+===================================================================
+--- mame-0.142.orig/src/mame/video/ddribble.c	2011-06-16 09:35:02.000000000 +0200
++++ mame-0.142/src/mame/video/ddribble.c	2011-06-16 09:35:16.000000000 +0200
+@@ -176,10 +176,10 @@
+ 
+ ***************************************************************************/
+ 
+-static void draw_sprites( running_machine& machine, bitmap_t *bitmap, const rectangle *cliprect, UINT8* source, int lenght, int gfxset, int flipscreen )
++static void draw_sprites( running_machine& machine, bitmap_t *bitmap, const rectangle *cliprect, UINT8* source, int length, int gfxset, int flipscreen )
+ {
+ 	gfx_element *gfx = machine.gfx[gfxset];
+-	const UINT8 *finish = source + lenght;
++	const UINT8 *finish = source + length;
+ 
+ 	while (source < finish)
+ 	{
diff --git a/debian/patches/mess_typos.patch b/debian/patches/mess_typos.patch
new file mode 100644
index 0000000..a86d316
--- /dev/null
+++ b/debian/patches/mess_typos.patch
@@ -0,0 +1,588 @@
+From: Cesare Falco <cesare.falco at gmail.com>
+Subject: Fix typos in mess tree to make lintian happier
+Index: mame-0.142/mess/docs/messnew.txt
+===================================================================
+--- mame-0.142.orig/mess/docs/messnew.txt	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/docs/messnew.txt	2011-06-16 09:33:12.000000000 +0200
+@@ -7652,7 +7652,7 @@
+   [Nate Woods]
+ 
+ - [Win32 GUI] Printers are now treated separately from the other devices; you
+-  do not specify printer ouput like you do disk images.  Printer output now
++  do not specify printer output like you do disk images.  Printer output now
+   gets specified in the configuration tab of the system properties.  The added
+   benefit is that the same output file can be used repeatedly. [Nate Woods]
+ 
+Index: mame-0.142/mess/src/mess/drivers/newbrain.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/drivers/newbrain.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/drivers/newbrain.c	2011-06-16 09:33:12.000000000 +0200
+@@ -756,7 +756,7 @@
+         3       MSPD        1 enables 50K Baud serial data rate to be obtained ie. CTC input clock of 800 kHz. 0 selects xxx.692 kHz
+         4       ENOR        1 enables serial receive clock to sound output summer, and also selects serial input from the printer port. 0 selects serial input from the comms port
+         5       ANSW        1 enables second bank of 4 analogue inputs (voltage, non-ratiometric), ie. ch4-7, and enabled sound output, 0 selects ch03
+-        6       ENOT        1 enables serial transmit clock to sound ouput summer, and also selects serial output to the printer port. 0 selects serial output to the comms port
++        6       ENOT        1 enables serial transmit clock to sound output summer, and also selects serial output to the printer port. 0 selects serial output to the comms port
+         7                   9th output bit for centronics printer port
+ 
+     */
+Index: mame-0.142/mess/src/mess/machine/thomson.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/thomson.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/thomson.c	2011-06-16 09:33:12.000000000 +0200
+@@ -1165,7 +1165,7 @@
+ 		/* joystick */
+ 		/* bits 6-7: action buttons A (0=pressed) */
+ 		/* bits 2-3: action buttons B (0=pressed) */
+-		/* bits 4-5: unused (ouput) */
++		/* bits 4-5: unused (output) */
+ 		/* bits 0-1: unknown! */
+ 		data = input_port_read(device->machine(), "game_port_buttons");
+ 	}
+Index: mame-0.142/mess/sysinfo.dat
+===================================================================
+--- mame-0.142.orig/mess/sysinfo.dat	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/sysinfo.dat	2011-06-16 09:33:12.000000000 +0200
+@@ -527,7 +527,7 @@
+ 
+   * Sound: Four 8 bit PCM voices, 9 octaves
+ 
+-  * I/O Ports: RGB, RF & composite video ouputs, external floppy disk port, Centronics, RS232c, Expansion port, stereo sound, Atari Compatible joysticks (2), RAM expansion port, keyboard connector
++  * I/O Ports: RGB, RF & composite video outputs, external floppy disk port, Centronics, RS232c, Expansion port, stereo sound, Atari Compatible joysticks (2), RAM expansion port, keyboard connector
+ 
+   * Keyboard: full-size typewriter style, 89 keys, 10 function keys and numeric keypad
+ 
+@@ -21790,7 +21790,7 @@
+ 
+   * Sound: SN76496 sound processor
+ 
+-  * I/O Ports: RGB & composit video ouput (8-pin DIN), mouse, joystick port, keyboard connector (IBM compatible)
++  * I/O Ports: RGB & composit video output (8-pin DIN), mouse, joystick port, keyboard connector (IBM compatible)
+ 
+   * OS: MDOS (very close to MS-DOS)
+ 
+@@ -31759,7 +31759,7 @@
+ 
+   * Sound: 3 voices + pink noise / 6 octaves
+ 
+-  * I/O Ports: Cassette port, Parallel I/O port, 2 x joystick ports, Audio ouput, Composite video output, Cartridge slot, Parallel/Centronics port
++  * I/O Ports: Cassette port, Parallel I/O port, 2 x joystick ports, Audio output, Composite video output, Cartridge slot, Parallel/Centronics port
+ 
+   * Keyboard: Full stroke 79 key with numeric keypad and 8 function keys
+ 
+Index: mame-0.142/mess/hash/megadriv.xml
+===================================================================
+--- mame-0.142.orig/mess/hash/megadriv.xml	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/hash/megadriv.xml	2011-06-16 09:33:13.000000000 +0200
+@@ -16303,7 +16303,7 @@
+ 		On the Quackshot PCB there is a 512Kb rom.
+ 		Normally all the address lines from A1 to A19 (the whole 512Kb range) tied to the chip in the right order.
+ 		But here we have the megadrive A18 line tied to the A20 pin of the rom.
+-		This means that the Megadrive sees the first 256Kb of the rom followed by 0xc0000 lenght range of mirrored/zero-ed data 
++		This means that the Megadrive sees the first 256Kb of the rom followed by 0xc0000 length range of mirrored/zero-ed data
+ 		then again the last 256Kb of the game.
+ 		I think they did that for a crappy (really crappy) copy protection.
+ 	-->
+Index: mame-0.142/mess/src/mess/drivers/ti99_8.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/drivers/ti99_8.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/drivers/ti99_8.c	2011-06-16 09:33:13.000000000 +0200
+@@ -49,7 +49,7 @@
+     Mapper has 4kb page size (-> 16 pages per map file), 32 bits per page
+     entry.  Address bits A0-A3 are the page index, whereas bits A4-A15 are the
+     offset in the page.  Physical address space is 16Mbytes.  All pages are 4
+-    kBytes in lenght, and they can start anywhere in the 24-bit physical
++    kBytes in length, and they can start anywhere in the 24-bit physical
+     address space.  The mapper can load any of 4 map files from SRAM by DMA.
+     Map file 0 is used by BIOS, file 1 by memory XOPs(?), file 2 by P-code
+     interpreter(???).
+Index: mame-0.142/mess/src/mess/formats/hect_tap.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/formats/hect_tap.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/formats/hect_tap.c	2011-06-16 09:33:13.000000000 +0200
+@@ -118,7 +118,7 @@
+        if (data_pos>1)
+                 previous_block = casdata[data_pos-1];
+ 
+-		/* Handle block lenght on tape data */
++		/* Handle block length on tape data */
+ 		block_size = casdata[data_pos] ;
+ 		if (block_size==0)
+ 		   block_size=256;
+@@ -170,7 +170,7 @@
+        /* Starting a block with 768 cycle of synchro*/
+        sample_count += hector_tap_synchro( buffer, sample_count, 768 );
+ 
+-		/* Handle block lenght on tape data */
++		/* Handle block length on tape data */
+ 		block_size = 822 ; /* Fixed size for the forth*/
+ 
+ 		/*block_count=0;*/
+Index: mame-0.142/mess/src/mess/machine/990_hd.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/990_hd.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/990_hd.c	2011-06-16 09:33:13.000000000 +0200
+@@ -29,7 +29,7 @@
+ overriden if more than one controller is used */
+ #define MAX_DISK_UNIT 4
+ 
+-/* Max sector lenght is bytes.  Generally 256, except for a few older disk
++/* Max sector length is bytes.  Generally 256, except for a few older disk
+ units which use 288-byte-long sectors, and SCSI units which generally use
+ standard 512-byte-long sectors. */
+ /* I chose a limit of 512.  No need to use more until someone writes CD-ROMs
+Index: mame-0.142/mess/src/mess/machine/990_tap.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/990_tap.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/990_tap.c	2011-06-16 09:33:13.000000000 +0200
+@@ -315,7 +315,7 @@
+ 		goto update_registers;
+ 	}
+ 
+-	logerror("read binary forward: rec lenght %d, requested %d\n", reclen, char_count);
++	logerror("read binary forward: rec length %d, requested %d\n", reclen, char_count);
+ 
+ 	rec_count = reclen;
+ 
+Index: mame-0.142/mess/src/mess/machine/hecdisk2.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/hecdisk2.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/hecdisk2.c	2011-06-16 09:33:13.000000000 +0200
+@@ -210,7 +210,7 @@
+ {
+ 	/* To generate the NMI signal (late) when uPD DMA request*/
+ 	cputag_set_input_line(machine, "disc2cpu", INPUT_LINE_NMI, ASSERT_LINE);  //NMI...
+-	hector_nb_cde =0; // clear the cde lenght
++	hector_nb_cde =0; // clear the cde length
+ }
+ 
+ static TIMER_CALLBACK( Callback_INT_irq )
+@@ -371,7 +371,7 @@
+ 	if (print==1)
+ 		printf(" _%x",data);
+ 	#endif
+-	hector_nb_cde =0; // clear the cde lenght
++	hector_nb_cde =0; // clear the cde length
+ 	return data;
+ }
+ WRITE8_HANDLER( hector_disc2_io61_port_w)
+@@ -387,7 +387,7 @@
+ hector_cmd_2=hector_cmd_1;  //hector_cmd_1 = GPL
+ hector_cmd_1=hector_cmd_0;  //hector_cmd_0 = DTL
+ hector_cmd_0 = data;
+-// Increase the lenght cde!
++// Increase the length cde!
+ hector_nb_cde++;
+ 
+ // check if current commande is write cmde.
+Index: mame-0.142/mess/src/mess/machine/pce.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/pce.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/pce.c	2011-06-16 09:33:13.000000000 +0200
+@@ -1195,7 +1195,7 @@
+ 		}
+ 		else
+ 		{
+-			logerror("Succesfully read mode1 frame #%d\n", pce_cd.current_frame );
++			logerror("Successfully read mode1 frame #%d\n", pce_cd.current_frame );
+ 		}
+ 
+ 		pce_cd.data_buffer_index = 0;
+Index: mame-0.142/mess/src/mess/machine/strata.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/strata.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/strata.c	2011-06-16 09:33:13.000000000 +0200
+@@ -51,7 +51,7 @@
+ 	int status;			// current status
+ 	int master_lock;	// master lock flag
+ 	offs_t wrbuf_base;	// start address in write buffer command
+-	int wrbuf_len;		// count converted into byte lenght in write buffer command
++	int wrbuf_len;		// count converted into byte length in write buffer command
+ 	int wrbuf_count;	// current count in write buffer command
+ 	UINT8 *wrbuf;		// write buffer used by write buffer command
+ 	UINT8 *data_ptr;	// main FEEPROM area
+Index: mame-0.142/mess/src/mess/machine/wswan.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/wswan.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/wswan.c	2011-06-16 09:33:13.000000000 +0200
+@@ -1452,7 +1452,7 @@
+ 			{
+ 				state->m_vdp.timer_hblank_reload = 0;
+ 			}
+-			logerror( "trigerring hbltmr interrupt\n" );
++			logerror( "triggering hbltmr interrupt\n" );
+ 			wswan_set_irq_line( machine, WSWAN_IFLAG_HBLTMR );
+ 		}
+ 	}
+Index: mame-0.142/mess/src/mess/tools/imgtool/modules/concept.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/tools/imgtool/modules/concept.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/tools/imgtool/modules/concept.c	2011-06-16 09:33:13.000000000 +0200
+@@ -409,7 +409,7 @@
+ 	free_blocks = get_UINT16xE(image->dev_dir.vol_hdr.disk_flipped, image->dev_dir.vol_hdr.last_block)
+ 					- get_UINT16xE(image->dev_dir.vol_hdr.disk_flipped, image->dev_dir.vol_hdr.next_block);
+ 
+-	/* next substract lenght of each file */
++	/* next substract length of each file */
+ 	for (i=0; (image->dev_dir.file_dir[i].filename[0] != 0) && (i <= 77); i++)
+ 	{
+ 		free_blocks -= get_UINT16xE(image->dev_dir.vol_hdr.disk_flipped, image->dev_dir.file_dir[i].next_block)
+Index: mame-0.142/mess/src/mess/tools/imgtool/modules/ti99.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/tools/imgtool/modules/ti99.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/tools/imgtool/modules/ti99.c	2011-06-16 09:33:13.000000000 +0200
+@@ -64,11 +64,11 @@
+     "fphysrecs".
+ 
+     Programs do normally not access file physical records directly.  They may
+-    call high-level file routines that enable to create either fixed-lenght
+-    logical records of any size from 1 through 255, or variable-lenght records
++    call high-level file routines that enable to create either fixed-length
++    logical records of any size from 1 through 255, or variable-length records
+     of any size from 0 through 254: logical records are grouped by file
+     managers into 256-byte physical records.  Some disk managers (HFDC and
+-    SCSI) allow programs to create fixed-lenght records larger than 255 bytes,
++    SCSI) allow programs to create fixed-length records larger than 255 bytes,
+     too, but few programs use this possibility.  Additionally, program files
+     can be created: program files do not implement any logical record, and can
+     be seen as a flat byte stream, not unlike files under MSDOS, UNIX and the C
+@@ -93,11 +93,11 @@
+                                                                 \_/
+                                                                unused
+ 
+-        Variable lenght records are grouped like this:
++        Variable length records are grouped like this:
+                              fphysrec 0:
+             byte:
+                     ------------------------------
+-                  0 |l0 = lenght of record 0 data|
++                  0 |l0 = length of record 0 data|
+                     |----------------------------|
+                   1 |                            |
+                     |                            |
+@@ -105,7 +105,7 @@
+                     |                            |
+                  l0 |                            |
+                     |----------------------------|
+-               l0+1 |l1 = lenght of record 1 data|
++               l0+1 |l1 = length of record 1 data|
+                     |----------------------------|
+                l0+2 |                            |
+                     |                            |
+@@ -116,7 +116,7 @@
+                   : :                            :
+                   : :                            :
+                     |----------------------------|
+-                  n |lm = lenght of record m data|
++                  n |lm = length of record m data|
+                     |----------------------------|
+                 n+1 |                            |
+                     |                            |
+@@ -137,7 +137,7 @@
+                              fphysrec 1:
+             byte:
+                     ------------------------------
+-                  0 |lm+1=lenght of record 0 data|
++                  0 |lm+1=length of record 0 data|
+                     |----------------------------|
+                   1 |                            |
+                     |                            |
+@@ -203,7 +203,7 @@
+     Remaining AUs are used for fdr and data (and subdirectory FDIR if
+     applicable).  There is one FDIR record per directory; the FDIR points to
+     the FDR for each file in the directory.  The FDR (File Descriptor Record)
+-    contains the file information (name, format, lenght, pointers to data
++    contains the file information (name, format, length, pointers to data
+     physrecs/AUs, etc).
+ 
+ 
+@@ -253,7 +253,7 @@
+ /* Since string length is encoded with a byte, the maximum length of a string
+ is 255.  Since we need to add a device name (1 char minimum, typically 4 chars)
+ and a '.' separator, we chose a practical value of 250 (though few applications
+-will accept paths of such lenght). */
++will accept paths of such length). */
+ #define MAX_PATH_LEN 253
+ #define MAX_SAFE_PATH_LEN 250
+ 
+@@ -334,7 +334,7 @@
+ 
+     dst (O): destination C string
+     src (I): source 10-character array
+-    n (I): lenght of dst buffer (string may be truncated if less than 11)
++    n (I): length of dst buffer (string may be truncated if less than 11)
+ */
+ static void fname_to_str(char *dst, const char src[10], int n)
+ {
+@@ -421,7 +421,7 @@
+ 	if ((strlen(fpath) > MAX_PATH_LEN) || strchr(fpath, ' '))
+ 		return 1;
+ 
+-	/* check that each path element has an acceptable lenght */
++	/* check that each path element has an acceptable length */
+ 	element_start = fpath;
+ 	do
+ 	{
+@@ -548,7 +548,7 @@
+ 	imgtool_stream *file_handle;		/* imgtool file handle */
+ 	struct mess_hard_disk_file harddisk_handle;		/* MAME harddisk handle (harddisk format) */
+ 	ti99_geometry geometry;		/* geometry */
+-	unsigned pc99_track_len;		/* unformatted track lenght (pc99 format) */
++	unsigned pc99_track_len;		/* unformatted track length (pc99 format) */
+ 	UINT32 *pc99_data_offset_array;	/* offset for each sector (pc99 format) */
+ } ti99_lvl1_imgref;
+ 
+@@ -591,7 +591,7 @@
+     vib (O): buffer where the vib should be stored (first pass)
+     geometry (O): disk image geometry (second pass)
+     data_offset_array (O): array of data offset to generate (second pass)
+-    out_track_len (O): track lenght is returned there
++    out_track_len (O): track length is returned there
+ 
+     Return imgtool error code
+ */
+@@ -599,7 +599,7 @@
+ #define DATA_OFFSET_NONE 0xffffffff
+ static int parse_pc99_image(imgtool_stream *file_handle, int fm_format, int pass, dsk_vib *vib, const ti99_geometry *geometry, UINT32 *data_offset_array, unsigned *out_track_len)
+ {
+-	int track_len, num_tracks;	/* lenght of a track in bytes, and number of tracks */
++	int track_len, num_tracks;	/* length of a track in bytes, and number of tracks */
+ 	int phys_track;
+ 	int expected_cylinder, expected_head;
+ 	int track_start_pos, track_pos;
+@@ -1574,7 +1574,7 @@
+ 								/* chain (i.e. rounded on the next AU */
+ 								/* boundary), so level-3 routines should use */
+ 								/* the fixrecs field instead to determine the */
+-								/* logical lenght of field.  IIRC, the HFDC */
++								/* logical length of field.  IIRC, the HFDC */
+ 								/* implementation is regarded as a bug because */
+ 								/* program files do not define the fixrecs field */
+ 								/* field, so program field saved by the HFDC */
+@@ -1620,7 +1620,7 @@
+ 								/* chain (i.e. rounded on the next AU */
+ 								/* boundary), so level-3 routines should use */
+ 								/* the fixrecs field instead to determine the */
+-								/* logical lenght of field.  IIRC, the HFDC */
++								/* logical length of field.  IIRC, the HFDC */
+ 								/* implementation is regarded as a bug because */
+ 								/* program files do not define the fixrecs field */
+ 								/* field, so program field saved by the HFDC */
+@@ -2505,14 +2505,14 @@
+ 	search_start = dsk_file->l2_img->data_offset;	/* initially, search for free space only in data space */
+ 	while (nb_alloc_physrecs)
+ 	{
+-		/* find smallest data block at least nb_alloc_physrecs in lenght, and largest data block less than nb_alloc_physrecs in lenght */
++		/* find smallest data block at least nb_alloc_physrecs in length, and largest data block less than nb_alloc_physrecs in length */
+ 		first_best_block_seclen = INT_MAX;
+ 		second_best_block_seclen = 0;
+ 		for (i=search_start; i<totAUs; i++)
+ 		{
+ 			if (! (dsk_file->l2_img->abm[i >> 3] & (1 << (i & 7))))
+ 			{	/* found one free block */
+-				/* compute its lenght */
++				/* compute its length */
+ 				cluster_baseAU = i;
+ 				cur_block_seclen = 0;
+ 				while ((i<totAUs) && (! (dsk_file->l2_img->abm[i >> 3] & (1 << (i & 7)))))
+@@ -2689,14 +2689,14 @@
+ 	search_start = win_file->l2_img->data_offset;	/* initially, search for free space only in data space */
+ 	while (nb_alloc_physrecs)
+ 	{
+-		/* find smallest data block at least nb_alloc_physrecs in lenght, and largest data block less than nb_alloc_physrecs in lenght */
++		/* find smallest data block at least nb_alloc_physrecs in length, and largest data block less than nb_alloc_physrecs in length */
+ 		first_best_block_seclen = INT_MAX;
+ 		second_best_block_seclen = 0;
+ 		for (i=search_start; i<totAUs; i++)
+ 		{
+ 			if (! (win_file->l2_img->abm[i >> 3] & (1 << (i & 7))))
+ 			{	/* found one free block */
+-				/* compute its lenght */
++				/* compute its length */
+ 				cluster_baseAU = i;
+ 				cur_block_seclen = 0;
+ 				while ((i<totAUs) && (! (win_file->l2_img->abm[i >> 3] & (1 << (i & 7)))))
+@@ -3765,7 +3765,7 @@
+ 	}
+ 	else if (flags & fdr99_f_var)
+ 	{
+-		/* variable-lenght records */
++		/* variable-length records */
+ 		if (is_eof(l3_file))
+ 			return IMGTOOLERR_UNEXPECTED;
+ 		errorcode = read_file_physrec(&l3_file->l2_file, l3_file->cur_phys_rec, physrec_buf);
+Index: mame-0.142/mess/src/mess/tools/imgtool/modules/ti990hd.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/tools/imgtool/modules/ti990hd.c	2011-06-16 09:33:08.000000000 +0200
++++ mame-0.142/mess/src/mess/tools/imgtool/modules/ti990hd.c	2011-06-16 09:33:13.000000000 +0200
+@@ -14,7 +14,7 @@
+ #include "osdepend.h"
+ #include "imgtoolx.h"
+ 
+-/* Max sector lenght is bytes.  Generally 256, except for a few older disk
++/* Max sector length is bytes.  Generally 256, except for a few older disk
+ units which use 288-byte-long sectors, and SCSI units which generally use
+ standard 512-byte-long sectors. */
+ /* I chose a limit of 512.  No need to use more until someone creates CD-ROMs
+@@ -529,7 +529,7 @@
+     address: physical sector address
+     geometry: disk geometry (sectors per track, tracks per side, sides)
+     dest: pointer to destination buffer
+-    len: lenght of data to read
++    len: length of data to read
+ */
+ static int read_sector_physical_len(imgtool_stream *file_handle, const ti990_phys_sec_address *address, const ti990_geometry *geometry, void *dest, int len)
+ {
+@@ -572,7 +572,7 @@
+     address: physical sector address
+     geometry: disk geometry (sectors per track, tracks per side, sides)
+     src: pointer to source buffer
+-    len: lenght of source buffer
++    len: length of source buffer
+ */
+ static int write_sector_physical_len(imgtool_stream *file_handle, const ti990_phys_sec_address *address, const ti990_geometry *geometry, const void *src, int len)
+ {
+@@ -634,7 +634,7 @@
+     secnum: logical sector address
+     geometry: disk geometry (sectors per track, tracks per side, sides)
+     dest: pointer to destination buffer
+-    len: lenght of data to read
++    len: length of data to read
+ */
+ static int read_sector_logical_len(imgtool_stream *file_handle, int secnum, const ti990_geometry *geometry, void *dest, int len)
+ {
+@@ -668,7 +668,7 @@
+     secnum: logical sector address
+     geometry: disk geometry (sectors per track, tracks per side, sides)
+     src: pointer to source buffer
+-    len: lenght of source buffer
++    len: length of source buffer
+ */
+ static int write_sector_logical_len(imgtool_stream *file_handle, int secnum, const ti990_geometry *geometry, const void *src, int len)
+ {
+@@ -957,14 +957,14 @@
+ 	search_start = image->data_offset;	/* initially, search for free space only in data space */
+ 	while (nb_alloc_sectors)
+ 	{
+-		/* find smallest data block at least nb_alloc_sectors in lenght, and largest data block less than nb_alloc_sectors in lenght */
++		/* find smallest data block at least nb_alloc_sectors in length, and largest data block less than nb_alloc_sectors in length */
+ 		first_best_block_len = INT_MAX;
+ 		second_best_block_len = 0;
+ 		for (i=search_start; i<totsecs; i++)
+ 		{
+ 			if (! (image->sec0.abm[i >> 3] & (1 << (i & 7))))
+ 			{	/* found one free block */
+-				/* compute its lenght */
++				/* compute its length */
+ 				cur_block_start = i;
+ 				cur_block_len = 0;
+ 				while ((i<totsecs) && (! (image->sec0.abm[i >> 3] & (1 << (i & 7)))))
+Index: mame-0.142/mess/src/mess/devices/coco_vhd.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/devices/coco_vhd.c	2011-06-16 09:38:05.000000000 +0200
++++ mame-0.142/mess/src/mess/devices/coco_vhd.c	2011-06-16 09:38:15.000000000 +0200
+@@ -26,7 +26,7 @@
+     Error values:
+ 
+      0 = no error
+-    -1 = power-on state (before the first command is recieved)
++    -1 = power-on state (before the first command is received)
+     -2 = invalid command
+      2 = VHD image does not exist
+      4 = Unable to open VHD image file
+Index: mame-0.142/mess/src/mess/drivers/dectalk.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/drivers/dectalk.c	2011-06-16 09:39:03.000000000 +0200
++++ mame-0.142/mess/src/mess/drivers/dectalk.c	2011-06-16 09:39:11.000000000 +0200
+@@ -17,7 +17,7 @@
+ *    * pins IP0, IP2, and IP3 are connected to the primary serial port:
+ *      * IP0 is CTS
+ *      * IP2 is DSR
+-*      * IP3 is RLS (recieved line signal, this pin is rarely used on rs232)
++*      * IP3 is RLS (received line signal, this pin is rarely used on rs232)
+ *    * <DONE> pins IP4, IP5 and IP6 are on jumpers on the DUART, tied high normally but jumperable low, should be handled as dipswitches:
+ *      * IP4 low: skip hardware self tests
+ *      * IP5 low: unknown
+Index: mame-0.142/mess/src/mess/drivers/fm7.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/drivers/fm7.c	2011-06-16 09:38:24.000000000 +0200
++++ mame-0.142/mess/src/mess/drivers/fm7.c	2011-06-16 09:38:57.000000000 +0200
+@@ -659,19 +659,19 @@
+ 		case 1:  // get keyboard scancode mode
+ 			state->m_encoder.buffer[0] = state->m_key_scan_mode;
+ 			state->m_encoder.rx_count = 1;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 2:  // set LEDs
+ 			state->m_encoder.rx_count = 0;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 3:  // get LEDs
+ 			state->m_encoder.rx_count = 1;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 4:  // enable key repeat
+ 			state->m_encoder.rx_count = 0;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 5:  // set key repeat rate
+ 			state->m_key_repeat = state->m_encoder.buffer[2] * 10;
+@@ -684,23 +684,23 @@
+ 				state->m_encoder.rx_count = 0;
+ 			else
+ 				state->m_encoder.rx_count = 7;
+-			logerror("ENC: Command %02x %02x recieved\n",state->m_encoder.buffer[0],state->m_encoder.buffer[1]);
++			logerror("ENC: Command %02x %02x received\n",state->m_encoder.buffer[0],state->m_encoder.buffer[1]);
+ 			break;
+ 		case 0x81:  // digitise
+ 			state->m_encoder.rx_count = 0;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 0x82:  // set screen mode
+ 			state->m_encoder.rx_count = 0;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 0x83:  // get screen mode
+ 			state->m_encoder.rx_count = 1;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 		case 0x84:  // set monitor brightness
+ 			state->m_encoder.rx_count = 0;
+-			logerror("ENC: Command %02x recieved\n",state->m_encoder.buffer[0]);
++			logerror("ENC: Command %02x received\n",state->m_encoder.buffer[0]);
+ 			break;
+ 	}
+ 	state->m_encoder.position = 0;
+Index: mame-0.142/mess/src/mess/machine/er59256.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/er59256.c	2011-06-16 09:39:58.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/er59256.c	2011-06-16 09:40:04.000000000 +0200
+@@ -38,7 +38,7 @@
+     UINT16  in_shifter;
+     UINT32  out_shifter;
+ 
+-    /* Count of bits recieved since last CS low->high */
++    /* Count of bits received since last CS low->high */
+     UINT8   bitcount;
+ 
+     /* Command & addresss */
+Index: mame-0.142/mess/src/mess/machine/x68k_hdc.c
+===================================================================
+--- mame-0.142.orig/mess/src/mess/machine/x68k_hdc.c	2011-06-16 09:39:41.000000000 +0200
++++ mame-0.142/mess/src/mess/machine/x68k_hdc.c	2011-06-16 09:39:52.000000000 +0200
+@@ -294,7 +294,7 @@
+ 					sasi->io = 1;  // Output
+ 					sasi->status_port |= 0x04;  // C/D remains the same
+ 					sasi->status = 0x02;
+-					logerror("SASI: Invalid or unimplemented SASI command (0x%02x) recieved.\n",sasi->command[0]);
++					logerror("SASI: Invalid or unimplemented SASI command (0x%02x) received.\n",sasi->command[0]);
+ 				}
+ 			}
+ 		}
diff --git a/debian/patches/series b/debian/patches/series
index 95a98dd..9789352 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,4 @@
 kfreebsd-build.patch
 fix-help-file.patch
+mess_typos.patch
+mame_typos.patch

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list