summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange source to match project structure (done using the script in ↵ Vas Crabb2022-06-27957-362323/+0
| | | | src/tools).
* Reduced project cross-dependencies, slightly improved renaming script. Vas Crabb2022-06-2713-16/+961
|
* srcclean and cleanup in preparation for branching MAME 0.245 Vas Crabb2022-06-261-4/+4
|
* Corrected a few common typos in various source files. (#9963) 0kmg2022-06-251-1/+1
|
* New machines marked as NOT_WORKING Ivan Vangelista2022-06-211-165/+0
| | | | | ---------------------------------- unknown Zilec game on Blue Print hardware [Andy Walker (of AW Electronics) , Dr. Alan Meades , Hammy, Porchy]
* spectrum.cpp, spec128.cpp: Fixed partial updates at end of frame. (#9945) holub2022-06-211-1/+20
| | | See MT08264 and MT08265 as well as discussion on GitHub #9670 and #9750.
* New working software list additions Ivan Vangelista2022-06-201-229/+0
| | | | | | | | | | | ----------------------------------- a2600.xml: Asteroids (PAL, rev. 06) [Guru] Clones promoted to working ---------------------------- Super Treasure Island (Italy, v1.6) [Ivan Vangelista] - tankbust.cpp: used finders, logmacro and other small cleanups
* More scheduler optimisation, Visual Studio build fixes, and cleanup. Vas Crabb2022-06-178-91/+87
| | | | | | | | | | | | | emu/schedule.cpp: Fixed a few more pessimising assumptions. Gains a few percent in Ketsui and SNES SuperFX. util/endianness.h: Added some more operations on endian-swizzlers. Changed a few more drivers to use them. sun2.cpp: Fixed uninitialised variable that could cause corrupt video. Fixed some issues with Visual Studio project generation after the changes to Windows resource creation.
* Clones promoted to working Ivan Vangelista2022-06-162-239/+0
| | | | | | | | | | | ---------------------------- Borderline (Tranquillizer Gun conversion) [anonymous] New working clones ------------------ Beta Force [anonymous] - astinvad.cpp, rollerg.cpp, shootout.cpp: used finders, derived classes and other minor cleanups
* toprollr: fix bigsprite layer in cocktail mode hap2022-06-161-0/+3
|
* More miscellaneous cleanup: Vas Crabb2022-06-151-1/+2
| | | | | | | | | | | spectrum.cpp: Removed a member from the base state class that's only used by certain Soviet clones. There seems to be some copy/pasted code in the clone drivers - pehaps they can share some of the implementation. spec128.cpp: Moved the Spectrum 128 state class declaration to the corresponding header. Reduced redundancy in a few fruit machine layouts.
* Cleaned up a few more legacy callbacks. Vas Crabb2022-06-151-9/+0
|
* Various cleanups: Vas Crabb2022-06-141-281/+0
| | | | | | * vsystem.cpp: Modernised code a little. * upscope.cpp: Put code in anonymous namespace. * Reduced redundancy in more fruit machine layouts.
* New machines marked as NOT_WORKING Ivan Vangelista2022-06-131-133/+0
| | | | | ---------------------------------- Magic Touch [Ivan Vangelista]
* igs017.cpp, igs022.cpp: Improved protection and decryption; ,oved protection ↵ Luca Elia2022-06-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | data to external files. (#9890) * igs017.cpp: Improved protection and decryption [Luca Elia] - Implemented "magic" i/o as a memory map (IGS_MUX) for added flexibility - Hooked up IGS_INCDEC protection to cpoker2, tarzanc, spkrform, starzan - Implemented specific IGS_INC protection in cpoker2 - Hooked up improved IGS022 protection to lhzb2, sqlz2 - Added IGS025 string protection to lhzb2, lhzb2a, mgcs, spkrform, slqz2, starzan, tarzanc, tjsb - Palette scramble and tweaked tiles decryption in tarzanc (used also by starzan, happyskl, cpoker2) - Decrypted sprites in tarzanc and starzan (used also by happyskl) - Lamps and layout for starzan, happyskl, cpoker2 - Cleaned up/finished hopper emulation, added diplocations - Joystick inputs in mgcs - Finished inputs in spkrform. Allow hiding gambling (switching to Formosa and back) - Moved protection data to external files * igs022.cpp: Fixes for igs017.cpp games [Luca Elia, RockyWall] - Fixed initial auto-DMA mode - Enlarged internal RAM. Added stack - Fixed command 12: Copy -> Stack Push - Added command 45: Stack Pop - Fixed command 6d opcode 1: Add Imm -> Sub Values - Added command 6d opcode 0: Add Values - Extended logging Machines promoted to working ---------------------------- Tarzan Chuang Tian Guan (China, V109C, set 1) [Luca Elia, iq_132, Ivan Vangelista, Guru, Dyq, bnathan] Super Tarzan (Italy, V100I) [Luca Elia, iq_132, Ivan Vangelista, f205v, Mirko Buffoni] Happy Skill (Italy, V611IT) [Luca Elia, Ivan Vangelista, Caius, The Dumping Union] Champion Poker 2 (V100A) [Luca Elia, Ivan Vangelista, Jorge Silva, Fernando Oliveira] Long Hu Zhengba 2 (China, set 1) [Luca Elia, RockyWall, David Haywood, iq_132, Pierpaolo Prazzoli, XingXing] Shuang Long Qiang Zhu 2 VS (China, VS203J) [Luca Elia, RockyWall, David Haywood, iq_132, Pierpaolo Prazzoli, XingXing] Clones promoted to working -------------------------- Super Poker (V100xD03) / Formosa [Luca Elia, ANY]
* mbee: fixed unwanted L chrs for mbee -bios 1 Robbbert2022-06-091-3/+3
|
* toprollr: correct playfield visible area hap2022-06-091-17/+12
|
* cpu/dps56156, plygonet.cpp: DSP56156 fixes and plygonet.cpp cleanup: (#9894) ↵ MooglyGuy2022-06-091-131/+0
| | | | | | | | | [Ryan Holtz] * cpu/dsp56156: Fixed ANDI, fixed BFCLR errata, fixed DEC24 not affecting flags. * cpu/dsp56156: Added proper devcb_write16 for Port C output. * plygonet.cpp: Fixed banking and tightened up VRAM access. * plygonet.cpp: Account for endianness in tilemap accesses. * plygonet.cpp: Switched to logmacro, merged into one file, and general code cleanup.
* maciivx/maciivi: Properly draw all supported video modes from 1 to 16 bpp. ↵ arbee2022-06-071-9/+26
| | | | [R. Belmont]
* toprollr: fix textlayer color problem hap2022-06-071-2/+2
|
* 8080bw.cpp, mw8080bw.cpp: Some cleanup/untangling: (#9884) Vas Crabb2022-06-052-43/+38
| | | | | | | | | | | | | | | Updated Space Invaders C.V. and Space Invaders Part II input definitions based on schematics and manuals. Got Space Invaders specific stuff out of the Midway 8080 B/W base class. Got some of the game-specific stuff out of the _8080bw_state class. It's still a bit of a mess because sound hardware is implemented in the driver classes so some games pull in a more derived class than they really should just for sound handlers. Got rid of the duplicate joystick inputs in rollingc. Fixed cocktail mode input and DIP switches in a few games.
* Revert "stupid_git" AJR2022-06-041-12/+13
| | | | This reverts commit c2b6d57e5c966c1d5b986507e599d9919c0e2de7.
* Merge remote-tracking branch 'upstream/master' AJR2022-06-04113-1044/+532
|\
| * - Removed device_timer, device_timer_id, et al in favor of direct callback ↵ MooglyGuy2022-06-04113-1044/+532
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | members. (#9788) Primarily, this removes device_t::device_timer, device_t::timer_set, device_t::synchronize, device_t::timer_expired, and device_timer_id. Use of device_timer often resulted in unnecessary trampolining in addition to switch/case overhead on a driver/device level, and additional logic to manage delegated vs. ID-based timers on a core level. In the worst cases, devices were performing a switch/case with only one valid case. device_scheduler::timer_set is marked deprecated as the only remaining direct uses are via the Lua engine and a few drivers that need refactoring anyway. The remaining uses occur via device_scheduler::synchronize. As a middle ground between the extremely short timer_alloc() and the extremely long machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(widget_device::contoso_tick), this)), a helper function in device_t has been added which can be invoked with the following syntax: timer_alloc(FUNC(widget_device::contoso_tick), this) - Additional changes/cleanups performed along the way: - Converted to use logmacro: * src/devices/bus/ieee488/hp9895.cpp * src/devices/bus/ieee488/remote488.cpp * src/devices/bus/isa/hdc.cpp * src/devices/bus/isa/omti8621.cpp * src/devices/bus/isa/sc499.cpp * src/devices/bus/vip/vp550.cpp * src/devices/cpu/i86/i186.cpp * src/devices/cpu/lc8670/lc8670.cpp * src/devices/machine/68230pit.cpp * src/devices/machine/corvushd.cpp * src/devices/machine/ds1994.cpp * src/devices/machine/ticket.cpp * src/mame/audio/pinsnd88.cpp * src/mame/drivers/notetaker.cpp * src/mame/machine/asic65.cpp * src/mame/machine/rmnimbus.cpp * src/mame/machine/victor9k_fdc.cpp * src/mame/video/uv201.cpp - Made usage of m_member prefix consistent: * src/devices/bus/isa/hdc.cpp * src/devices/bus/isa/omti8621.cpp * src/devices/bus/vme/vme_fccpu20.cpp * src/devices/machine/ds1386.cpp * src/devices/machine/i7220.cpp - Spacing consistency pass: * src/devices/bus/isa/hdc.cpp * src/devices/bus/isa/omti8621.cpp * src/devices/bus/thomson/nanoresau.cpp * src/devices/bus/ti99/internal/992board.cpp * src/devices/bus/ti99/internal/genkbd.cpp * src/devices/bus/ti99/internal/joyport/handset.cpp * src/devices/bus/vme/vme_fccpu20.cpp * src/devices/cpu/i86/i186.cpp * src/devices/cpu/lc8670/lc8670.cpp * src/devices/machine/68230pit.cpp * src/devices/machine/cop452.cpp * src/devices/machine/corvushd.cpp * src/devices/machine/hp_dc100_tape.cpp * src/devices/machine/hp_taco.cpp * src/devices/machine/meters.cpp * src/devices/machine/microtch.cpp * src/devices/machine/phi.cpp * src/devices/video/ef9365.cpp * src/devices/video/v9938.cpp * src/mame/drivers/alphaskop41xx.cpp * src/mame/drivers/myb3k.cpp * src/mame/drivers/notetaker.cpp * src/mame/drivers/wpc_an.cpp * src/mame/machine/midikbd.cpp * src/mame/machine/rmnimbus.cpp * src/mame/machine/wpc_lamp.cpp * src/mame/machine/wpc_out.cpp - Removed string-based ioport lookups: * src/devices/bus/ti99/internal/joyport/handset.cpp * src/devices/bus/ti99/internal/joyport/mecmouse.cpp * src/devices/bus/vme/vme_hcpu30.cpp * src/mame/machine/k7659kb.cpp * src/mame/machine/ti85.cpp - Adjustments to grammar/wording in comments * src/devices/bus/sms_ctrl/lphaser.cpp * src/devices/bus/sms_ctrl/sports.cpp * src/devices/bus/snes/event.cpp * src/devices/bus/snes/sa1.cpp * src/devices/bus/thomson/nanoresau.cpp * src/devices/bus/z88/z88.cpp * src/devices/machine/ds1386.cpp * src/devices/machine/vic_pl192.cpp - Favored BIT() macro for single-bit checks * src/devices/bus/ti99/internal/992board.cpp * src/devices/bus/ti99/joyport/handset.cpp * src/mame/drivers/notetaker.cpp * src/mame/machine/wpc_lamp.cpp * src/mame/machine/wpc_out.cpp - Removed C89-style variable declarations when noticed * src/devices/bus/isa/hdc.cpp * src/devices/bus/sms_ctrl/lphaser.cpp * src/devices/bus/ti99/joyport/mecmouse.cpp * src/devices/machine/acorn_vidc.cpp * src/devices/sound/ymz280b.cpp * src/devices/video/vic4567.cpp - Removed FUNCNAME to avoid compiler-specific #define checks in devices * src/devices/bus/vme/vme_fccpu20.cpp * src/devices/bus/vme/vme_hcpu30.cpp * src/devices/machine/68230pit.cpp * src/devices/machine/mc14411.cpp * src/mame/drivers/myb3k.cpp - Removed unecessary member prefixes/suffixes * src/devices/video/ef9340_1.cpp * src/mame/drivers/fuukifg2.cpp * src/mame/drivers/fuukifg3.cpp * src/mame/drivers/intv.cpp * src/mame/drivers/simpsons.cpp * src/mame/drivers/socrates.cpp * src/mame/drivers/special_gambl.cpp * src/mame/drivers/sprint4.cpp * src/mame/drivers/ti990_10.cpp * src/mame/drivers/tubep.cpp * src/mame/drivers/vectrex.cpp * src/mame/drivers/wpc_an.cpp * src/mame/drivers/wpc_dot.cpp * src/mame/drivers/wpc_flip1.cpp * src/mame/drivers/wpc_flip2.cpp * src/mame/machine/z80ne.cpp * src/mame/video/rollerg.cpp - Switched to lower-case hex constants * src/devices/video/ef9365.cpp * src/mame/machine/rmnimbus.cpp - Re-ordered driver overrides and function members * src/mame/drivers/boxer.cpp * src/mame/drivers/eurocom2.cpp * src/mame/drivers/exidy.cpp * src/mame/drivers/gpworld.cpp * src/mame/drivers/h19.cpp * src/mame/drivers/ibmpcjr.cpp * src/mame/drivers/mekd5.cpp * src/mame/drivers/mgolf.cpp * src/mame/drivers/myb3k.cpp * src/mame/drivers/nightmare.cpp * src/mame/drivers/notetaker.cpp * src/mame/drivers/ptcsol.cpp * src/mame/drivers/pwrview.cpp * src/mame/drivers/rabbit.cpp * src/mame/drivers/sitcom.cpp * src/mame/drivers/socrates.cpp * src/mame/drivers/sprint4.cpp * src/mame/drivers/techno.cpp * src/mame/drivers/thayers.cpp * src/mame/drivers/ti990_10.cpp * src/mame/drivers/ti990_4.cpp * src/mame/drivers/tv912.cpp * src/mame/drivers/tv990.cpp * src/mame/drivers/uchroma68.cpp * src/mame/drivers/vk100.cpp * src/mame/drivers/votrhv.cpp * src/mame/drivers/wicat.cpp * src/mame/drivers/wpc_an.cpp * src/mame/includes/abc80.h * src/mame/includes/asterix.h * src/mame/includes/fuukifg2.h * src/mame/includes/fuukifg3.h * src/mame/includes/gunbustr.h * src/mame/includes/intv.h * src/mame/includes/namcona1.h * src/mame/includes/newbrain.h * src/mame/includes/poly.h * src/mame/includes/prof80.h * src/mame/includes/rollerg.h * src/mame/includes/s11.h * src/mame/includes/segahang.h * src/mame/includes/simpsons.h * src/mame/includes/spacefb.h * src/mame/includes/tandy2k.h * src/mame/includes/trucocl.h * src/mame/includes/tubebp.h * src/mame/includes/vidbrain.h * src/mame/includes/wolfpack.h * src/mame/includes/wpc_dot.h - Made capitalization consistent on class members * src/devices/machine/meters.cpp * src/mame/drivers/namcona1.cpp * src/mame/drivers/notetaker.cpp -src/devices/bus/isa/hdc.cpp: * Removed fixed-size std::vector in favor of std::unique_ptr -src/devices/bus/isa/s3virge.cpp: * Moved unusually large (for a header) functions into .cpp from header -src/devices/bus/vip/vp550.cpp * Switched to required_device_array to simplify code paths -src/devices/machine/arm_iomd.cpp * Added initializers to constructor * Favored std::size over fixed static sizes -src/devices/machine/ds1386.cpp * Moved register #defines into header enums -src/devices/machine/mc68901.cpp * Removed unnecessary parameters and emu_timer::enable calls -src/devices/machine/mccs1850.cpp * Removed inline overuse -src/devices/machine/meters.cpp * Removed unused members -src/devices/machine/mos6526.cpp * Removed inline overuse -src/devices/machine/nsc810.cpp * Converted to arrays rather than individually-numbered members -src/devices/machine/pxa255.cpp * Simplified DMA transfer code -src/devices/machine/saa1043.cpp * Removed extraneous members in favor of resolve_all_safe -src/devices/machine/vic_pl192.cpp * Shifted constructors, start-up, and maps to be at the top of the source file -src/devices/machine/z8536.cpp * Removed stray uses of device_timer_id -src/devices/sound/cdp1869.cpp * Removed inline overuse -src/devices/sound/mos7360.cpp * Converted to arrays rather than individually-numbered members -src/emu/device.cpp * Removed ID-based timer_alloc * Removed timer_set * Removed synchronize * Removed timer_expired * Added shorthand timer_alloc to avoid lengthy machine().scheduler().timer_alloc() calls -src/emu/schedule.cpp * Removed now-unused m_id and m_device members -src/mame/audio/alesis.cpp * Added initializers to constructor -src/mame/drivers/alto2.cpp * Removed custom-named driver init in favor of driver_init override * Removed octal constant in favor of more standard hex -src/mame/drivers/astinvad.cpp * Fixed 'kamizake' typo -src/mame/drivers/tm990189.cpp * Removed unnecessary machine reset override -src/mame/drivers/unichamp.cpp * Removed custom-named driver init in favor of driver_init override -src/mame/drivers/votrhv.cpp * Fixed ROM_LOAD macros and region() usage in memory maps -src/mame/machine/victor9k_fdc.cpp * Made bracing style consistent across the file -src/mame/video/gime.cpp * Removed unnecessary void specifiers in function prototypes
* | stupid_git AJR2022-06-041-13/+12
|/
* thepit.cpp: Modernizations and fixes AJR2022-05-291-33/+11
| | | | | | | - Replace legacy VBLANK interrupt generators - Derive audio CPU interrupt from VSYNC, not VBLANK - Add multiplexer device for inputs - Fix screen offsets for cocktail-flipped mode
* video/decbac06.cpp: Corrected device short name (#9817). (#9848) 0kmg2022-05-291-1/+1
|
* New working clones Ivan Vangelista2022-05-271-177/+0
| | | | | | | | | | | ------------------ Nostromo [anonymous] Samurai (World) [anonymous, SNESNESCUBE64] Super Ship [anonymous] - gotya.cpp: minor cleanups - hyprduel.cpp: used standard ROM loading macros
* New clones marked as NOT_WORKING Ivan Vangelista2022-05-271-201/+0
| | | | | | | | | | | | | | | | | | | | | -------------------------------- Dead or Alive (Model 2A) [Trol] - arkanoid.cpp, snk.cpp: minor documentation updates - funworld.cpp: demoted multiwina to MIG - jack.cpp: corrected ROM lables [Brian Troha] - nmk16.cpp: fixed missing sprites in attract mode for tdragonb3, thanks to info from hammy - sidearms.cpp: dumped PROMs, added hardware info and correcte clocks for Turtle Ship [Guru] - vamphalf.cpp: improved hardware info [Guru] - xain.cpp: corrected audio CPU clock to match measurements - yunsun16.cpp: used standard ROM loading macros and other minor cleanups
* Add support for Space Duel’s cocktail mode. (#9828) Ian Eure2022-05-251-2/+7
| | | | | | | | | | * Add support for Space Duel’s cocktail mode. This change introduces a cabinet type setting which allows Space Duel to be placed into cocktail mode. When run in a cocktail cabinet, the game: - Strobes the invert x & invert y outputs to rotate the video 180 degrees. This is necessary because the monitor in the SD cocktail is mounted upside-down relative to the upright. - Draws the player 2 score in an orientation where they can be read by the second player, who stands on the opposite side of the cabinet as player one. In addition to the driver support, I had to implement video flipping in avg_device, as it didn’t support it.
* atarirle: correct indentation on some source lines hap2022-05-251-3/+3
|
* atarist.cpp: Re-add mode 1 shifter kludge for PAL mode only AJR2022-05-241-0/+4
|
* Removed superfluous semicolons from various source files. (#9796) 0kmg2022-05-222-2/+2
|
* perfrman: Partially guessed video adjustment Olivier Galibert2022-05-211-3/+5
|
* atarist.cpp: Split out video and blitter as separate devices AJR2022-05-192-544/+177
|
* atarist.cpp: Cleanups and minor fixes AJR2022-05-191-4/+0
| | | | | | | | | - Add cartridge software list and IPF floppy format to all sets - Add missing handlers to (still non-working) ste, megast and megaste memory maps, making megaste a megast derivative - Give HD6301 its own XTAL - Use array finders for HD6301 keyboard and joystick ports - Swap players for joystick and button inputs (needed for mouse to work) - Remove shifter mode 1 kludge that seems to hurt more than help
* slap fight: Correct placement Olivier Galibert2022-05-171-9/+9
|
* - goldstar.cpp: decrypted cb3c, needs correct address map Ivan Vangelista2022-05-161-62/+0
| | | | - gstriker.cpp: used finder for memory bank and other small cleanups
* vball.cpp: used finder for memory bank and other small cleanups Ivan Vangelista2022-05-141-166/+0
|
* dpb_combiner.cpp: Deleted left over file per Ryan Holtz Scott Stone2022-05-131-346/+0
|
* zx spectrum drivers: Restore irq length == 32 / border timings. (#9711) holub2022-05-134-9/+36
|
* [powervr2.cpp] Naomi Rendering Fixes (#9745) Jennifer Taylor2022-05-121-38/+38
| | | | | * Allow rendering non-textured sprites (filled boxes), causes spritetest to render properly. * Fix alpha blending for textures to key off of the right value. * Some code cleanup.
* redclash.cpp: Add raw parameters for screen and addressable latch devices AJR2022-05-121-6/+6
|
* cheekyms: Add screen raw parameters; modernize VBLANK interrupt AJR2022-05-121-1/+3
|
* 8080bw.cpp: Added color video output emulation to vortex. (#9311) [Mike Coates] Ivan Vangelista2022-05-111-0/+49
|
* New working clones Ivan Vangelista2022-05-101-36/+0
| | | | | ------------------ Space Invaders' gambling game (unencrypted) [Jorge Silva]
* - nmk16.cpp: added hardware info and corrected ROM labels for Acrobat ↵ Ivan Vangelista2022-05-091-320/+0
| | | | | | Mission [Guru] - paradise.cpp: used finders, templates and other small cleanups
* Z88: added serial port and NVRAM support. [Sandro Ronco] Sandro Ronco2022-05-081-34/+18
|
* cps2.cpp: Added TOURNAMENT board communication simulation. (#9699) [Vas ↵ Vas Crabb2022-05-061-377/+0
| | | | Crabb, Darksoft, Gregory Lewandowski]
* New working clones Ivan Vangelista2022-05-051-404/+0
| | | | | | | | ------------------ Batsugun (older, set 2) [buffi] Dogyuun (oldest set) [buffi] - pacland.cpp: used finders and other small cleanups