summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/namcos2.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange source to match project structure (done using the script in ↵ Vas Crabb2022-06-271-314/+0
| | | | src/tools).
* gollygho: use generic output strings (!!NOTE!! update ext. artwork file) hap2022-05-101-10/+24
|
* init even more vars (includes) Robbbert2022-04-101-5/+5
|
* new WORKING machines (#8531) David Haywood2021-09-071-1/+0
| | | | | | | | | | ------ SpongeBob SquarePants Jellyfish Dodge (JAKKS Pacific TV Game) (Apr 5 2007) [Sean Riddle, David Haywood] new WORKING clones ------ Dora the Explorer - Doras Abenteuer-Globus (Germany) [Sean Riddle, TeamEurope] -namcos2.cpp : made Japanese Marvel Land the parent, the US prototype is an earlier incomplete build, it ends abruptly, lacks any end credits, and is missing many of the levels (plus various other incomplete elements, see https://tcrf.net/Marvel_Land_(Arcade) ) 'US' could also be 'World' but I haven't changed that.
* some Namco posirq kludges [David Haywood] + Final Lap R sprite position fix ↵ David Haywood2021-07-151-0/+3
| | | | [Ryan Holtz] (#8305)
* finalap3bl: allow to boot / run (custom bootleg protection) (#8200) David Haywood2021-06-211-1/+4
|
* use derived classes for Namco System 2 sprites, give Final Lap its own based ↵ David Haywood2021-05-231-0/+1
| | | | on schematics showing 32x32 select is different. (#8096)
* namcos2/c355 sprites: color 0xfe is for a palette offset instead of shadow ↵ hap2021-04-011-1/+1
| | | | [dink, hap]
* namcos2.cpp: enabled save state support (nw) Ivan Vangelista2020-06-301-10/+10
|
* drivers starting with m, n and o: removed read* and write* macros (nw) Ivan Vangelista2020-06-121-12/+12
|
* a last small bunch of macro removals before the week-end (nw) Ivan Vangelista2020-05-151-4/+4
|
* c140.cpp updates [cam900, superctr] cam9002020-05-071-0/+4
| | | | | | | | | * Update data bus behavior and support 12 bit PCM, Verified from assault(namcos2) schematics * Add/Update notes, Use shorter/correct type values, Fix address/data bus bits, modernize save states, Fix spacing, Reduce unnecessary lines, duplicates, Move little endian interface in c140.h * Move bankswitch behaviors in each drivers, Reduce noisy sound regression in previous commit remain in vgmplay for compatiblity * Implement some features from QuattroPlay * Split sound stream update and host interface
* Revert "c140.cpp updates [cam900, superctr]" R. Belmont2020-05-061-4/+0
| | | | This reverts commit 5852df508676e7976234956434cad2905a7cf8e5.
* c140.cpp updates [cam900, superctr] cam9002020-05-061-0/+4
| | | | | | | | | * Update data bus behavior and support 12 bit PCM, Verified from assault(namcos2) schematics Add/Update notes, Use shorter/correct type values, Fix address/data bus bits, Mordernize save states, Fix spacing, Reduce unnecessary lines, duplicates, Move little endian interface in c140.h namcos2.cpp, namcos21*.cpp: Fix c140 ROM loading, mirrored maps * Move bankswitch behaviors in each drivers, Reduce noisy sound regression in previous commit remain in vgmplay for compatiblity * Split C219 subclass * Implement some features from QuattroPlay. Add notes, Split sound stream update and host interface
* namcos2.cpp : Reduce duplicates related to CPU Board components and ↵ cam9002019-11-291-0/+10
| | | | Configuration duplication
* Various Namco hardwares update/cleanups (#4147) cam9002018-10-161-32/+15
| | | | | | | | | | | | | | | | | | * Various Namco hardwares update/cleanups namcofl.cpp : Confirmed XTALs, Remove unnecessary defines namconb1.cpp : Correct sprite lags, Remove unnecessary defines, Add screen raw params reference(nebulray) - https://youtu.be/mAB66HhZNIM namcos1.cpp : Convert pointer into required_region_ptr, Reduce duplicate namcos2.cpp : Remove unnecessary bankrw, Add screen raw params, Fix some namings, Remove MACHINE_START_MEMBER and MACHINE_RESET_MEMBER, Reduce unnecessary VIDEO_START_MEMBER namcos21*.cpp : Fix namings, Remove some unuseds, MACHINE_START_MEMBER and MACHINE_RESET_MEMBER namco_c116.cpp : Convert internal palette into device_palette_interface namco_c123tmap.cpp : Internalize gfxdecode(Gfx layout is shared at all hardwares - 8bit data bus for ROM), Mask region, Implement tilemap disable bit namco_c169roz.cpp : Internalize gfxdecode(Gfx layout is shared at all hardwares - 8bit data bus for ROM), Mask region namco_c355spr.cpp : Remove unnecessary device, Allow double and triple buffered sprites namcos2_roz.cpp : Remove unnecessary device, Internalize gfxdecode(8bit data bus for ROM) namcos2_sprite.cpp : Remove unnecessary device * namco_c355spr.cpp : struct'd sprite infos, Fix sprite lags
* srcclean (nw) Vas Crabb2018-09-231-5/+5
|
* split namco c169 roz chip, c123 tilemap chip and c355 sprite chip from ↵ David Haywood2018-09-131-281/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | namcos2 shared state by making them devices (#3991) * split namco c169 roz chip from namcos2 by making it a device (nw) some reorganization still needed (eg move init stuff to config) * push on this way, old non-device code was working by chance (nw) * use std::fill instead of memset * tidy (nw) * split out the c355 sprites into a device too (nw) * this isn't used (nw) * also not used (nw) * split out c123 tilemap chip * modern here too (nw) * namco system2 sprite chip is a device, move content of machine/namcoic.h to a text file in 'etc' as it's not really code at all, and the cpp file is no longer needed * Namco System 2 ROZ is a device (so only gets created on games that have it, avoids a crash in old code in tilemap viewer) * untangle namcofl from namcos2 now that things are devices * untangle namconb1 from namcos2 * untangle gal3.cpp from namcos2 * untangle namcos2 and namcos21 - part 1 (ugly part) * untangle system2 and system21, part 2 * use c68 for c68 based games in namcos21.cpp and some cleanup / notes / reorganization / default nvrams * naming cleanups (nw) * c123 - move init to device config * c169 init -> device config * c355 init -> device config * new clones Four Trax (Japan) [ShouTime, The Dumping Union] note, one of the gfx roms in the MAME set has an 'fx2' label, it should be verified. also replaced the ROMs for the fourtraxa set, the old ones had a 0x00 fill instead of a 0xff fill but were otherwise identical, it's a weird mod of the World set that hides most of the advertising banners, replacing them with generic ones, presumably for legal reasons?
* namcos2 / namcos21 - use configured banking for audiocpu (#3986) David Haywood2018-09-111-9/+3
| | | | | | * namcos2 / namcos21 - use configured banking for audiocpu * (nw)
* use c68 for more games, fix what looks like more cam900 damage (luckywld) ↵ David Haywood2018-09-091-6/+9
| | | | | | | | | | | | | | | | due to bad ram size assumptions. (#3976) * use c68 for more games, fix what looks like more cam900 damage (luckywld) due to bad ram size assumptions. * fix crash I introduced by trying things in a slightly different way * change comment (nw) * some cleanup (nw) * give dirtfox a calibrated default (nw) * better served with a logerror, not popmessage (nw)
* stage1 namcoc65 / c68 devicification (#3974) David Haywood2018-09-071-16/+10
| | | | | | | | * stage1 namcoc65 / c68 devicification * progress (c68 button mappings currently incorrect) * silly (nw)
* namcos2.cpp : Fix finallap boot cam9002018-07-191-0/+1
|
* c140.cpp, c45.cpp, namco_c139.cpp : Remove MCFG_s (#3736) cam9002018-07-131-11/+9
| | | | | | | | | | | | | * c140.cpp, c45.cpp, namco_c139.cpp : Remove MCFG_s c45.cpp : Add region_ptr tceptor.cpp : Minor cleanup namcona1.cpp : Fix spacing, Minor cleanups namcos2.cpp : Device'd C116 emulation namco_c116.cpp : Add notes from namcos2.cpp * More remove MCFG for C116 namcoic.cpp : Move Namco NB-2 hardware specific ROZ Bankswitch into namconb1.cpp namconb1.cpp : Minor cleanups
* namcoic.cpp : Simpler bit-swapped values (#3609) cam9002018-07-091-17/+19
| | | | | | | | | | | | | | | * namcoic.cpp : Simpler bit-swapped values * namcoic.cpp : Fix Lucky & Wild * namcoic.cpp : Fix bitswap * namcoic.cpp : Convert ROZ tilemap code mangles into callback, Split config for each game when tilemap mangle is different, Reduce duplicates, Move metalhawk swap xy function into gfxdecode, Fix metalhawk zoom namcos2.cpp : Add notes, demote with MACHINE_IMPERFECT_GRAPHICS because tilemap and ROZ issue, Reduce duplicate fix gfxdecode name for namconb2, namcofl * namcoic.cpp : Add notes, Fix finalapr* Title screen, Fix mask, Add c169 wraparound disable bit, Fix mask namconb1.cpp : Fix builds
* more of the same (nw) Vas Crabb2018-07-081-21/+28
|
* stronger private: use (N, O, P, Q, R) (#3717) David Haywood2018-06-301-26/+27
| | | | | | | | * private N,O (nw) * P + Q (nw) * R (nt)
* Remove emupal.h from emu.h (nw) AJR2018-06-131-0/+1
|
* Revert "- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the ↵ Vas Crabb2018-05-161-2/+2
| | | | | | | | | | | | side effect of making machine-config overrides of these much" This reverts commit c83e2a853d4e1643fcc85b68ada3c6f7f33adea4. Revert "fix compile. (nw)" This reverts commit a259ba3e366f442a22a9341755ff58163869860c. GCC is being bad and allowing invalid C++ that other compilers reject.
* - Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect ↵ MooglyGuy2018-05-161-2/+2
| | | | | | of making machine-config overrides of these much uglier, but this is intended to discourage ongoing use, and will be gradually eliminated.
* Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ↵ MooglyGuy2018-05-131-34/+34
| | | | | | | | | | | | explicit. (#3565) * -Removed DRIVER_INIT macros in favor of explicitly-named member functions, nw * -Removed DRIVER_INIT_related macros. Made init_ prefix on driver initializers explicit. Renamed init_0 to empty_init. Fixed up GAME/COMP/CONS macro spacing. [Ryan Holtz] * Missed some files, nw * Fix compile, (nw)
* API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-0/+19
| | | | | Also, a lot more freedom happened, that's going to be more visible soon.
* API Change: Machine configs are now a method of the owner class, and the ↵ Olivier Galibert2018-01-171-0/+11
| | | | | | | | | | prototype is simplified [O. Galibert] Beware, the device context does not follow in MCFG_FRAGMENT_ADD anymore due to the prototype change. So creating a device then configuring through a fragment doesn't work as-is. The simplest solution is just to add a MCFG_DEVICE_MODIFY at the start of the fragment with the correct tag.
* Remove timer_device from emu.h and move it out of src/emu (nw) AJR2017-10-011-0/+1
|
* Move static data out of devices into the device types. This is a ↵ Vas Crabb2017-05-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | significant change, so please pay attention. The core changes are: * Short name, full name and source file are no longer members of device_t, they are part of the device type * MACHINE_COFIG_START no longer needs a driver class * MACHINE_CONFIG_DERIVED_CLASS is no longer necessary * Specify the state class you want in the GAME/COMP/CONS line * The compiler will work out the base class where the driver init member is declared * There is one static device type object per driver rather than one per machine configuration Use DECLARE_DEVICE_TYPE or DECLARE_DEVICE_TYPE_NS to declare device type. * DECLARE_DEVICE_TYPE forward-declares teh device type and class, and declares extern object finders. * DECLARE_DEVICE_TYPE_NS is for devices classes in namespaces - it doesn't forward-declare the device type. Use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_NS to define device types. * These macros declare storage for the static data, and instantiate the device type and device finder templates. The rest of the changes are mostly just moving stuff out of headers that shouldn't be there, renaming stuff for consistency, and scoping stuff down where appropriate. Things I've actually messed with substantially: * More descriptive names for a lot of devices * Untangled the fantasy sound from the driver state, which necessitates breaking up sound/flip writes * Changed DECO BSMT2000 ready callback into a device delegate * Untangled Microprose 3D noise from driver state * Used object finders for CoCo multipak, KC85 D002, and Irem sound subdevices * Started to get TI-99 stuff out of the TI-990 directory and arrange bus devices properly * Started to break out common parts of Samsung ARM SoC devices * Turned some of FM, SID, SCSP DSP, EPIC12 and Voodoo cores into something resmbling C++ * Tried to make Z180 table allocation/setup a bit safer * Converted generic keyboard/terminal to not use WRITE8 - space/offset aren't relevant * Dynamically allocate generic terminal buffer so derived devices (e.g. teleprinter) can specify size * Imporved encapsulation of Z80DART channels * Refactored the SPC7110 bit table generator loop to make it more readable * Added wrappers for SNES PPU operations so members can be made protected * Factored out some boilerplate for YM chips with PSG * toaplan2 gfx * stic/intv resolution * Video System video * Out Run/Y-board sprite alignment * GIC video hookup * Amstrad CPC ROM box members * IQ151 ROM cart region * MSX cart IRQ callback resolution time * SMS passthrough control devices starting subslots I've smoke-tested several drivers, but I've probably missed something. Things I've missed will likely blow up spectacularly with failure to bind errors and the like. Let me know if there's more subtle breakage (could have happened in FM or Voodoo). And can everyone please, please try to keep stuff clean. In particular, please stop polluting the global namespace. Keep things out of headers that don't need to be there, and use things that can be scoped down rather than macros. It feels like an uphill battle trying to get this stuff under control while more of it's added.
* srcclean (nw) Vas Crabb2017-04-231-1/+1
|
* namcofl.cpp: killed anonymous timers, moved to configured banking, added ↵ Ivan Vangelista2017-04-121-2/+31
| | | | save state support. Also moved some remaining functions inside the class (nw)
* Self-registering devices prep: Vas Crabb2017-02-271-0/+1
| | | | | | | | | | | | | | * Make device_creator a variable template and get rid of the ampersands * Remove screen.h and speaker.h from emu.h and add where necessary * Centralise instantiations of screen and speaker finder templates * Add/standardise #include guards in many hearers * Remove many redundant #includes * Order #includesr to help catch headers that can't be #included alone (nw) This changes #include order to be prefix, unit header if applicable then other stuff roughly in order from most dependent to least dependent library. This helps catch headers that don't #include things that they use.
* srcclean (nw) Vas Crabb2017-01-221-2/+2
|
* Not necessary at this stage (nw) angelosa2017-01-031-3/+3
|
* More clean-ups. angelosa2017-01-011-6/+0
|
* Added dummy C139 device for debug, fixed target compile. angelosa2016-12-311-0/+3
|
* Clean-ups, 279 lines removed from machine/namcos2.cpp (nw) angelosa2016-12-311-22/+2
|
* Bind C148 to Namco System 2 as well angelosa2016-12-301-1/+12
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-35/+35
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* namconb1.cpp: fixed MT06244 by disabling logerrors. Also added save state ↵ Ivan Vangelista2016-06-201-1/+1
| | | | support (nw)
* reverting: Miodrag Milanovic2016-01-201-2/+2
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* tags are now strings (nw) Miodrag Milanovic2016-01-161-2/+2
| | | | fix start project for custom builds in Visual Studio (nw)
* modernize output_manager (nw) Miodrag Milanovic2016-01-101-0/+5
|
* update by request (nw) Miodrag Milanovic2015-12-211-1/+1
|
* Added license for Derrick Renaud, extended K.Wilkins and F.Palazzolo to full ↵ Miodrag Milanovic2015-12-211-1/+1
| | | | | | names, (nw) Added license for Paul Forgey