diff options
author | 2008-02-19 08:49:59 +0000 | |
---|---|---|
committer | 2008-02-19 08:49:59 +0000 | |
commit | 3accee936b5ca4b4ef419e30f0c7eb138d1891f2 (patch) | |
tree | 33d65de8cf8f98d884e1565188e429f5b50c4986 /.gitattributes | |
parent | 0bfe7ee72de2423855e9b3b5a930eeebefdf964c (diff) |
New module: devintrf.c/.h. Implements a generic device interface similar
to the sound and CPU interfaces. This is still a bit WIP, but works at
a fundamental level. Currently the only example of usage is in qix.c for
the MC6845 CRTC.
New module: mconfig.c/.h. Moved all machine_config and MDRV_* macros here,
out of driver.c/.h. Added MDRV macros for adding/removing/configuring
devices.
qix.c: Moved video part of machine driver to video/qix.c. Added MC6845
as a device in the machine driver. Removed explicit MC6845 initialization
from VIDEO_START in favor of simply retrieving the token from the device
interface code.
mc6845.c: Updated all callbacks to pass the mc6845_t * object. Updated
all drivers accordingly. Added a minimal device interface.
Deprecated the following constants because global constants that pretend
to document things but which are only guesses are dumb:
- DEFAULT_60HZ_VBLANK_DURATION
- DEFAULT_30HZ_VBLANK_DURATION
- DEFAULT_REAL_60HZ_VBLANK_DURATION
- DEFAULT_REAL_30HZ_VBLANK_DURATION
- DEFAULT_60HZ_3S_VBLANK_WATCHDOG
- DEFAULT_30HZ_3S_VBLANK_WATCHDOG
Updated all drivers to explicitly specify the equivalent bogus times.
Added comments for the "REAL" VBLANK durations to indicate that they are
not accurate.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 3b22cce7a58..0dd8ef7fe86 100644 --- a/.gitattributes +++ b/.gitattributes @@ -497,6 +497,8 @@ src/emu/debug/textbuf.c svneol=native#text/plain src/emu/debug/textbuf.h svneol=native#text/plain src/emu/debugger.h svneol=native#text/plain src/emu/deprecat.h svneol=native#text/plain +src/emu/devintrf.c svneol=native#text/plain +src/emu/devintrf.h svneol=native#text/plain src/emu/drawgfx.c svneol=native#text/plain src/emu/drawgfx.h svneol=native#text/plain src/emu/driver.c svneol=native#text/plain @@ -656,6 +658,8 @@ src/emu/mame.c svneol=native#text/plain src/emu/mame.h svneol=native#text/plain src/emu/mamecore.c svneol=native#text/plain src/emu/mamecore.h svneol=native#text/plain +src/emu/mconfig.c svneol=native#text/plain +src/emu/mconfig.h svneol=native#text/plain src/emu/memconv.h svneol=native#text/plain src/emu/memory.c svneol=native#text/plain src/emu/memory.h svneol=native#text/plain |