Commit Graph

8080 Commits

Author SHA1 Message Date
Curt Coder
9cfa8a0504 Fixed typo. (no whatsnew) 2010-02-15 14:35:53 +00:00
Scott Stone
d92c5e6d2b Preliminary DIP coverage (lives/coinage/test mode) and Player 2 control fix for unclepoo. 2010-02-15 14:30:45 +00:00
Phil Bennett
18b2023f7e New clones added
----------------
Pit Fighter (rev 9) [B. Sparks, Smitdogg, The Dumping Union]
2010-02-15 08:02:28 +00:00
Jonathan Gevaryahu
d2c8e4def6 Fixed TI PSG (sn76489 and friends) noise and square-wave period to be
maximum length when period register is set to 0. Fixed white-noise
phase/XOR issue: got rid of noise XOR/XNOR select, as all chips seem
to use XOR. [Lord Nightmare, Michael Zapf, PlgDavid]
2010-02-15 06:45:57 +00:00
R. Belmont
6a9161dfcd namcops2 updates [Guru]
- Moved Kinnikuman Muscle Grand Prix and Taiko No Tatsujin 9 
to System 256
- Added DVD images for netchu02, soulcl2a, tekken4b, tekken51,
sukuinuf, and soulclb3
2010-02-15 03:46:26 +00:00
Angelo Salese
fd0f63de72 new working
-----------

Uncle Poo [Team Europe, Dumping Union, René Single, David Haywood, Angelo Salese]
2010-02-14 22:56:03 +00:00
Aaron Giles
28c18703aa osdcore files MUST NEVER include headers from the core emulator. 2010-02-14 22:07:25 +00:00
Aaron Giles
c3bb16d573 Moved global new/delete operators into inlines in emualloc.h
to avoid link errors with certain architectures. [couriersud]

Some minor cleanup/normalizing of emualloc in general.
[Aaron Giles]
2010-02-14 21:44:50 +00:00
Miodrag Milanovic
07db38f0f2 {megadriv} Fixed compile by removing "static" [Miodrag Milanovic] 2010-02-14 21:04:58 +00:00
mariuszw1
0d57ebf87d Mapped player 2 inputs and buttons 4-6 in Mortal Kombat 3
(bootleg of Megadrive version) [Mariusz Wojcieszek].

New games promoted from NOT_WORKING
-----------------------------------
Mortal Kombat 3 (bootleg of Megadrive version) 
 [Mariusz Wojcieszek, Patrick McCarron, Smitdogg, The Dumping Union]
2010-02-14 20:40:06 +00:00
Couriersud
977896a710 - removed window config from video_config 2010-02-14 19:59:49 +00:00
R. Belmont
30d328738d Correct OS X compiler warnings [Scott Michel] 2010-02-14 17:46:59 +00:00
R. Belmont
f31c069a53 Fix for non-standard OS X builds [Scott Michel] 2010-02-14 17:44:34 +00:00
Aaron Giles
6b663f66a7 Cleanups and version bump. 2010-02-14 16:59:22 +00:00
stephh
535a84c908 Fixed Dip Switches and Inputs (after verification of the Z80 code) for 'espial', 'espialu' and 'netwars". 2010-02-14 16:00:47 +00:00
Miodrag Milanovic
1d14f429ae Added initialization of natural keyboard into init_machine 2010-02-14 14:49:09 +00:00
Miodrag Milanovic
a347804fe3 Made uimodekey default to "auto" and let OSD decide about default key. (no credit) 2010-02-14 14:15:55 +00:00
Angelo Salese
9621c5bcbc Fixed long-standing (day one?) bug with ADPCM samples in Trojan / Tatakai no Banka [Mamesick, Angelo Salese] 2010-02-14 14:12:06 +00:00
Couriersud
84936e07bd Fix r8303 2010-02-14 14:08:57 +00:00
Couriersud
715a00f8c0 - Remove stray undef
- Rename inlined func CLSH to clamp
2010-02-14 14:01:40 +00:00
Scott Stone
9fb814db69 irobot.c - Fix problem with -validate. No whatsnew needed. 2010-02-14 13:59:15 +00:00
Scott Stone
8c1b18c52f wrally.c - Added/verified DIP Locations for World Rally [Guru] 2010-02-14 13:58:27 +00:00
Couriersud
de2aa6fdf0 - sdldir.c: Cleanup the #ifdef hell a bit.
- sdlfile.c: Cosmetic cleanups; what's the point in having #ifdef'd code for pwrite and lseek/fwrite, will get rid of that later.
2010-02-14 13:45:01 +00:00
Miodrag Milanovic
61e28b93b7 Cleaned natural keyboard implementation (no credits) 2010-02-14 12:46:34 +00:00
Couriersud
fbbf48d668 Workaround for gcc-4.3 reporting a false warning on solaris.
- Disable -Werror for this file only. I did not want to alter fine code only because complains about it.
2010-02-14 11:47:29 +00:00
Aaron Giles
d114078d72 Removed annoying typedefs. 2010-02-14 08:28:54 +00:00
Aaron Giles
6b3dc3d421 Minor function rename. 2010-02-14 08:09:59 +00:00
Couriersud
6ee5fc726a Fix sdldir.c
- For most targets this only worked when reading the current directory.
- Build full path now for stat so the file is actually found.
2010-02-14 00:40:17 +00:00
Tomasz Slanina
2ef530e7c8 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pachifever [Tomasz Slanina]
2010-02-13 21:26:12 +00:00
Miodrag Milanovic
d63d1711eb osd_get_emulator_directory removed (no credit) 2010-02-13 20:19:14 +00:00
Couriersud
a7eb1c4097 No credit
- put a stub for osd_get_clipboard_text into sdlos_os2.c 
- removed a misleading statement form sdlos_unix.c
2010-02-13 19:35:37 +00:00
Couriersud
5c2e28e845 No credit, please
- put code not actually required in MAME into "#ifdef MESS"
- Moved global definition of sdl_cwd from sdl_file.c back to sdl_main.c
2010-02-13 19:26:39 +00:00
Miodrag Milanovic
918bc4c77e This should fix build. 2010-02-13 18:23:55 +00:00
Miodrag Milanovic
9758c13b82 - Removed not used OSD functions
- Placed new functions into sdlos subfiles since they need different implementation
(no whatsnew needed)
2010-02-13 17:20:25 +00:00
Angelo Salese
884e113450 A bunch of neogeo clean-ups, not worth mentioning 2010-02-13 13:40:47 +00:00
Couriersud
fee2f527b6 And now fix the resulting gcc-4.4 warning. 2010-02-12 23:21:12 +00:00
Couriersud
d773ab41c5 Fix compile error on OSX DEBUG=1 build 2010-02-12 23:18:36 +00:00
Couriersud
a7dea2f6eb - Revert changes accidentally committed.
This is WIP code using hash tables for texture lookups. Not yet stable.
2010-02-12 22:45:29 +00:00
Couriersud
377fc28f9b - Removed changelog notes from osd_sdl.h
- Moved "known bugs" to README_SDL13.txt

This is what has been there:

    - fixed returning (w,h) = (0,0) in get_max_bounds
    - new video driver "sdl13" utilitizing SDL texture and line
      drawing support. Accelerated drivers like directfb now
      may attain opengl speed. DirectFB does with a radeon card.
      The driver determines which pixel formats perform best and
      converts textures to these pixel formats.
      Supported options:
      -waitvsync
      -filter
      -prescale
      Supported renderdrivers:
      X11: opengl, software, x11 (no artwork!)
      DirectFB: directfb, software, opengl (special setup, slow)
      Windows: software, gdi (no artwork)
    - SDL1.3: Clear bck when moving
    - SDL1.3: now compiles on win32
    - SDL1.3: Support screen refresh rates, provided the sdl video
      layer supports them (e.g. X11).
    - Use video_config.waitvsync (previously option was queried)
    - -video soft / -sm  now supports -prescale
    - removed reqwidth, reqheight from sdl_monitor_info; not used anywhere
    - removed layerconfig from sdl_video_config; not used anywhere

    - fixed yuv issues (firefox) / this was a bug I introduced
    - removed deprecat.h from output.c
    - Separated keyboard and mouse initialization into separate functions
    - added _FORTIFY_SOURCE to verbose compiler define output.
    - remove MAX_CPU from debugwin.c
    - fixed vsync handling in SDL1.3 in soft/opengl drivers
    - "waitvsync" also supported by "soft" driver in SDL1.3
    - multiple mice and keyboards supported in SDL1.3
    - support for DISTRO= make option
    - got rid of "-joymap" and "-joymap_file"
    - add -joy_idx[0-7] -keyb_idx[0-7] -mouse_idx[0-7] which
      specify, which device is allocated to to e.g. Mouse 1, Mouse 2, ...
    - moved define of THREAD_COOPERATIVE into sdl.mak and renamed to
      NO_THREAD_COOPERATIVE. Changed references to #ifndef
    - define NO_DEBUGGER in sdl.mak
    - Solaris now uses -DNO_AFFINITY_NP
    - added machine to window_info, removed deprecat.h from drawogl.c

    - For DEBUG=1 builds, disable input grapping while windowed
    - Fixed WIN32 compile
      Wrote setenv function since mingw does not provide one.
      Implemented osd_event_* as inline functions for win32 build.
      We should at some point merge sdlwork.c and winwork.c and push it
      to the core, letting sdlsync.c provide the necessary details.
    - Removed keybled.c and references
    - Added output.c and output.h. These will look for a fifo or file
      /tmp/sdlmame_out and write output notifiers to it.
      Added a sample client ledutil.sh to src/osd/sdl which turns
      leds on and off and provides a debug (log) facility.
    - removed os2work.c

    - replaced window->render_lock with event window->rendered_event
      For multiple windows and "-mt", the old code would allow filling up
      the workqueue with 1000s of entries, since the lock would not block while
      another window is rendered. The osd_event establishes a barrier which
      is only freed if the last window blit operation has finished.
    - Set SDL_VIDEO_GL_DRIVER if -gl_lib is given. The SDL directfb driver is picky about
      this. Added reminder: FIXME: move lib loading code from drawogl.c here. This may be
      used to disable opengl if no library was loaded.
    - SDL1.3/video=opengl: Fixed windows not being updated after another window was resized
    - for -verbose, output some information about renderer (-video soft)
    - initialize mouse_enabled with option "-mouse". Affects both SDL1.2 and SDL1.3
      This will hide the mouse if you specify "-mouse".
    - SDL1.2: added blitmode "async" which sets SDL_ASYNCBLIT
    - SDL1.2: removed blitmodes "hwbest" and "hwblit"
    - added blitmode "hwbest" for antialiased and smoothed scaling now that the
      directfb driver supports it. This is also supported by the 1.3 opengl
      render backend
    - added sdlinput_release_keys to cope with lost keyboard events in SDL1.3
    - some identing in drawogl.c
    - rename SDL_* macros to SDLMAME_* (avoid name clashes)
    - got rid of VIDEO_SCALE_MODE constants. Scale modes are now handled in drawsdl.c.
      Starting mame with eg. -video soft -sm yuy2 on X11 no longer crashes.
    - some more changes to input.c to avoid resize loops (issue for directfb)

    - working ui mouse inputs for SDL1.2 and SDL1.3 incl. yuv modes
    - added blitmode "hwblit" (SDL1.3) for rgb hardware scaling
    - rename "-yuvmode" option to "-scalemode"
    - rename yuv_mode and derivatives to scale_mode
    - moved extra_flags into sdl_info
    - moved callbacks indow sdl_window_info
    - made a number of flags (e.g. yuvmode) window relative
         - changing of yuvmodes and opengl scale effects is working with SDL 1.3
    - improved fullscreen handling
    - removed HAS_WINDOW_MENU - this has no effect nowhere
    - removed underscores in header defines, e.g. __SDL_SYNC__ ==> __SDLSYNC__
    - added SDLMAME_HAS_DEBUGGER define
    - removed #if 0 inw window.c
    - added option "-audiodriver" to specify the SDL audio driver
    - added option "-videodriver" to specify the SDL video driver
    - added option "-renderdriver" to specify the SDL renderer driver
    - changed environment SDLMAME_GL_LIB into option -gl_lib
    - added some more SDL_ENV defines
    - move keymap reading into separate function
    - SDL_EnableUNICODE for all builds (not only MESS)
    - SDL1.3 : Mouse & text input for ui

    - removed  osd_event_wait_multiple from sdlsync.h
    - removed some includes not needed
    - reorganized texcopy/scale2x
    - removed effect.h
    - removed effect_func.h
    - indenting
    - put osd_copyfile, osd_stat into #ifdef MESS
    - added code which implements events without the need
      for pthreads. This is commented out, since
      owever, it horribly fails, if
      threads > num processors as is the case if you
      enable "-mt"
    - rename mame_bitmap to bitmap_t
    - introduced define OSDWORK_CALLBACK to prototype and
      define functions to be passed to sdlwork.c

    - fixes from judge for warnings / may reappear (glade)
    - more warnings fixed / may reappear (glade)
    - moved osdefs.h into sdlprefix.h
    - removed osdefs.h
    - finally removed sdlmisc.h

    - create drawogl.c and moved ogl relevant stuff there
    - draw.window_init() now called after window creation
    - removed window.opengl flag
    - added sdl_window_info as parameter to all functions in window.h
    - rename SDL_VERSIONNUM to SDL_VERSION_ATLEAST
    - removed all uclock stuff in sdlmisc.[ch]
    - minor cleanups

    - fixed compile issues against SDL13
    - fixed input issues with SDL13
    - stricter checks for USE_OPENGL, e.g. for options
    - move sdlvideo_loadgl to window.c, rename it to sdlwindow_loadgl and make it static
    - moved yuv_blit.c into drawsdl.c
    - renamed compute_blit_surface_size to sdlwindow_blit_surface_size
    - renamed drawsdl_destroy_all_textures to drawogl_destroy_all_textures and
      moved it to _sdl_draw_callbacks
    - removed print_colums
    - rename misc.h to sdlmisc.h
    - moved some includes from .h to .c
    - rename led_init to sdlled_init for consistency
    - rename sdl_init_audio to sdlaudio_init for consistency
    - fixed some indentation issues
    - removed ticker.h & dirty.h

    - changed all [f]printf to mame_printf_verbose|error|warning
    - removed obsolete frameskipping code
    - removed obsolete throttle code
    - removed fastforward
    - removed framestorun
    - introduced SDLOPTION constants for a number of options
    - add more verbose info for YUV

    - removed dirty.h
    - removed ticker.h

    - remove win_trying_to_quit
    - changed win_use_mouse to static use_mouse
    - removed win_key_trans_table
    - removed keyboard typematic definitions from input.h
    - made sdl_monitor_list static
    - removed hwstretch (sdl_video_config)
    - removed syncrefresh (sdl_video_config)
    - removed triplebuf (sdl_video_config)
    - removed sdl_has_menu
    - fixed memory_leak (window.c)

    - moved prototypes from drawsdl.c to window.h
    - removed joystick calibration code
    - "#if 0" code which is unreachable
    - "#if 0" code which is never used
    - moved pick_best_mode to window.c
    - removed pause_brightness option
    - added more SDLOPTION_ defines

    - renamed void yuv_lookup_init to drawsdl_yuv_init (global namespace)
    - rmoved some obsolete code
    - add SDL1.3 compatibility

    - fixed some compile issues
    - moved clear_surface into window thread
    - got SDL1.3 -mt working - still crashing on exit

    - removed "digital" option
    - removed device selection options
    - added more SDLOPTION defines
2010-02-12 22:42:31 +00:00
Couriersud
3decc6f78c Fix OSD=sdl win32 compile 2010-02-12 21:26:26 +00:00
Couriersud
f529fad8b3 Move functions from sdlclip.c to sdlos_*
- X11 clipboard code will now be compiled and will honor -DNO_X11
2010-02-12 21:21:42 +00:00
Couriersud
0ca347634e Minor cleanup - no whatsnew 2010-02-12 19:08:42 +00:00
Scott Stone
14ebd101c1 irobot.c - Added/verified Dip Locations per manual and test mode. 2010-02-12 15:52:17 +00:00
Miodrag Milanovic
0a6b13608d - Moved natural keyboard support from MESS to MAME
- Moved OSD file functions and clipboard access functions into OSD core
2010-02-12 15:40:11 +00:00
Miodrag Milanovic
76d0a58a18 Made SDL windows build able to run (needs -window option to start) (no whatsnew) 2010-02-12 12:31:09 +00:00
Curt Coder
60d8b99681 Added Intel 8021/8022 CPU types. 2010-02-12 09:46:22 +00:00
Curt Coder
86ad7a0f2b Added XTAL for MESS. 2010-02-12 09:28:28 +00:00
R. Belmont
db38ce55ee rungun: fix text tilemap lookup for big-endian targets. 2010-02-12 04:35:58 +00:00
R. Belmont
6d3b7c55c7 Fix compile error. 2010-02-12 03:53:00 +00:00
Scott Stone
2d97de209f Source Cleanup: Setname fixes and other minor changes - Drivers starting with H thru K. 2010-02-12 01:43:00 +00:00