Previous 15994 Revisions Next

r1082 Saturday 6th October, 2007 at 20:50:17 UTC by Firewave
1. Replaced MESS_DEBUG with MAME_DEBUG and fixed compilation

2. Removed obsolete function osd_select_file()
[src/mess]mess.h messdriv.c osdmess.h
[src/mess/drivers]pc.c
[src/mess/machine]99_dsk.c ti99_4x.h
[src/mess/tools/messtest]tststubs.c

src/mess/mess.h
r1081r1082
3232
3333/**************************************************************************/
3434
35/* MESS_DEBUG is a debug switch (for developers only) for
36   debug code, which should not be found in distributions, like testdrivers,...
37   contrary to MAME_DEBUG, NDEBUG it should not be found in the makefiles of distributions
38   use it in your private root makefile */
39/* #define MESS_DEBUG */
40
4135#ifndef bool
4236#define bool int
4337#endif
src/mess/tools/messtest/tststubs.c
r1081r1082
103103{
104104}
105105
106int osd_select_file(mess_image *img, char *filename)
107{
108   return 0;
109}
110
111106int osd_keyboard_disabled(void)
112107{
113108   return 0;
src/mess/messdriv.c
r1081r1082
2828#undef DRIVER
2929#undef TESTDRIVER
3030#define DRIVER(NAME) &driver_##NAME,
31#ifdef MESS_DEBUG
31#ifdef MAME_DEBUG
3232#define TESTDRIVER(NAME) &driver_##NAME,
3333#else
3434#define TESTDRIVER(NAME)
r1081r1082
807807   /* Quelle International */
808808   DRIVER( mk2 )      /* Chess Champion MK II                        */
809809   /* Hegener & Glaser Munich */
810  DRIVER( mm4 )      /* Mephisto 4                        */
811    /* Hegener & Glaser Munich */
812  DRIVER( mm5 )      /* Mephisto 5.1 ROM                        */
813  DRIVER( mm50 )      /* Mephisto 5.0 ROM                        */
814    /* Hegener & Glaser Munich */
810   DRIVER( mm4 )      /* Mephisto 4                        */
811   /* Hegener & Glaser Munich */
812   DRIVER( mm5 )      /* Mephisto 5.1 ROM                        */
813   DRIVER( mm50 )      /* Mephisto 5.0 ROM                        */
814   /* Hegener & Glaser Munich */
815815   DRIVER( rebel5 )      /* Mephisto 5                        */
816816   DRIVER( glasgow )      /* Glasgow                  */
817817   DRIVER( amsterd )      /* Amsterdam                     */
818818   DRIVER( dallas )      /* Dallas                     */
819819   DRIVER( dallas32 )      /* Dallas                     */
820820   DRIVER( roma )      /* Roma                     */
821    /* Novag */
822  TESTDRIVER( ssystem3 )   /* Chess Champion Super System III / MK III         */
821   /* Novag */
822TESTDRIVER( ssystem3 )   /* Chess Champion Super System III / MK III         */
823823
824
824825#endif /* DRIVER_RECURSIVE */
src/mess/osdmess.h
r1081r1082
207207    UNCATEGORIZED INTERFACES
208208***************************************************************************/
209209
210/* called by the filemanager code to allow the OS to override the file      */
211/* selecting with it's own code. Return 0 if the MESS core should handle   */
212/* file selection, -1 if the OS code does nothing or 1 if the OS code      */
213/* changed a file.                                             */
214int osd_select_file(mess_image *img, char *filename);
215210
216211/* returns 1 if input of type IPT_KEYBOARD should be supressed */
217212int osd_keyboard_disabled(void);
src/mess/machine/99_dsk.c
r1081r1082
696696      {   /* on rising edge, set DVENA for 4.23s */
697697         DVENA = 1;
698698         fdc_handle_hold();
699         mame_timer_adjust(motor_on_timer, 4.23, 0, time_zero);
699         mame_timer_adjust(motor_on_timer, MAME_TIME_IN_MSEC(4230), 0, time_zero);
700700      }
701701      motor_on = data;
702702      break;
src/mess/machine/ti99_4x.h
r1081r1082
44
55/* defines */
66
7#define HAS_99CCFDC defined(MESS_DEBUG)
7#define HAS_99CCFDC defined(MAME_DEBUG)
88
99/* region identifiers */
1010enum
src/mess/drivers/pc.c
r1081r1082
15341534
15351535ROM_START( ibmpcjr )
15361536    ROM_REGION(0x100000,REGION_CPU1, 0)
1537#ifndef MESS_DEBUG
1537#ifndef MAME_DEBUG
15381538   ROM_LOAD("bios.rom", 0xf0000, 0x10000,CRC( 0))
15391539#else
15401540    ROM_LOAD("basic.rom", 0xf6000, 0x8000, CRC(0c19c1a8))

Previous 15994 Revisions Next


© 1998-2018 The MESS Team