summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa
Commit message (Collapse)AuthorAgeFilesLines
...
* isa/svga_paradise.cpp: add PVGA1A-JK and WD90C90-JK variants angelosa2023-07-063-7/+172
|
* isa/isa_cards.cpp: add Paradise Systems PVGA1 ISA16 card angelosa2023-07-043-0/+115
|
* video/pc_vga.cpp: part 2 of interface modernization (#11315) Angelo Salese2023-07-0414-2003/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * video/pc_vga.cpp: update QA, move SVGA related function to bottom of file * chore: rename clgd542x.cpp -> pc_vga_cirrus.cpp * chore: move SiS630 SVGA portion to pc_vga_sis.cpp * chore: intermediate step to convert crtc/seq/attribute/gc_reg_read/write to maps from violating parties * video/pc_vga_cirrus.cpp: preliminary implementation of hidden DAC mode * misc/gambl186.cpp: fix compile * pc_vga_cirrus.cpp: fix gambl186 regression * chore: convert pc_vga sequencer regs to space memory * chore: make sure that address_space_config is preserved when inheriting * trs/vis.cpp: convert VGA to sequencer_map * chore: move s3virge out of bus/isa * pc_vga.cpp: convert ATC to attribute_map * pc_vga.cpp: convert GC to gc_map * pc_vga.cpp: convert CRTC to crtc_map * fixes trs/vis.cpp refresh rate by chain reaction (40 Hz -> 61 Hz) * video/s3virge.cpp: fix regression * video/pc_vga.cpp: reorder functions * chore: modernize VGA main I/O interfaces * video/clgd546x_laguna.cpp: update to latest * konami/konmedal020.cpp: fix -validate * video/pc_vga.cpp: use yet another custom address_map_constructor in place of the non-working memory_view pattern * video/ibm8514a.cpp: address self review [skip ci]
* Tidy up some stuff, combine sunelectronics/markham.cpp source files. Vas Crabb2023-06-274-8/+13
|
* srcclean in preparation for 0.256 release branch. Vas Crabb2023-06-252-2/+2
|
* emu/devcb.h: Eliminated the need to call resolve() on callbacks. (#11333) Vas Crabb2023-06-175-58/+3
| | | | | | | | | | | | Read callbacks now need a default return value supplied at construction. Replaced isnull() with isunset() which tells you if the callback wasn't configured rather than whether it isn't safe to call. Enabled validation of device callbacks (it seems it was disabled at some point, probably accidentally). Device callbacks and object finders now implement the same interface for resolution.
* turbo,zaxxon: set 8255 tristate to 0, hap2023-06-163-5/+5
| | | | | m6800: zerofill more class variables, misc: change "Bios" to "BIOS"
* emu/devfind.h: Added a lookup() member function to device finders. Vas Crabb2023-06-121-5/+3
| | | | | | | | | | | | | This simplifies looking up the target device during configuration. It is useful when configuring child devices in things like CPUs with integrated peripherals. emu/device.h: Allow templated subdevice() and siblingdevice() to work with classes that don't derive from device_t (e.g. classes that derive from device_interface). util/delegate.h: Added more noexcept. Won't make much difference as most of the affected member functions are inline anyway.
* emu/device.h: Removed device (READ|WRITE)_LINE_MEMBER in favor of explicit ↵ MooglyGuy2023-06-0171-208/+208
| | | | function signatures. (#11283) [Ryan Holtz]
* video/pc_vga.cpp: part 1 of interface modernization (#11284) Angelo Salese2023-05-3014-2564/+176
| | | | | | | | | | | | | | - video/pc_vga.cpp: Move everything that doesn't belong to main VGA/SVGA interfaces to per-manufacturer family files; - shared/pcshare.cpp: retire pcat_base_state::pcvideo_* fns; - video/pc_vga.cpp: temporary move gamtor_vga_device to misc/gamtor.cpp; - bus/isa/isa_cards.cpp: retire TGUI9680 from being selected (all refs points to be a PCI card only, there's mention of a VLB card but haven't seen a single retail dump/photo yet) - bus/isa/svga_trident.cpp: add TVGA9000 ISA card - bus/isa/svga_tseng.cpp: add earlier ColorImage ET4000AX variant - bus/isa/svga_tseng.cpp: add Kasan Hangulmadang-16 Korean variant ISA - Adds a very preliminary implementation of nVidia Riva 128 PCI card, added as a temp target in pc/pcipc.cpp (pcinv3); - video/pc_vga.cpp: Rework and fix VGA input sense (necessary to allow Riva 128 to survive POST); - video/pc_vga_s3.cpp: Fix s3_vga_device inheritance (was subclassing from ati_vga_device) - pc/calchase.cpp: convert custom JAMMA i/f to ISA device; - pc/calchase.cpp: connect Trident VGA to ISA bus;
* Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz] MooglyGuy2023-05-235-6/+1
| | | | | * Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
* video/atirage.cpp: Extremely preliminary emulation of PCI ATI 3D Rage family ↵ arbee2023-05-182-1/+48
| | | | | | SVGA chips. [R. Belmont] apple/powermacg3.cpp: Hooked up ATI Rage II video, you can now enter and interact with Open Firmware. [R. Belmont]
* cdda: Modernize a little Olivier Galibert2023-05-181-1/+1
| | | | cubo: Fix the setup
* bus/isa: Added IBM PS/2 speech adapter card. (#11157) Luigi Thirty2023-05-073-0/+551
|
* chd: Add dvd support. better abstraction in general, multi-image support in ↵ Olivier Galibert2023-05-044-10/+10
| | | | arcade-type drivers
* Restored ability of for image devices to report specific error messages. Vas Crabb2023-04-083-8/+8
| | | | | | | | | | | | | | Restores ability to give specific/detailed messages removed in 6f7e4141ea14acaaf9cb973c66788fabb3457023 while pandering to obsession with single return value. Moved responsibility for displaying the error message in the UI to the caller rather than device_image_interface, and made device_image_interface always log the error along with the full path and error condition content. Gave several image devices more detailed error messages. Added some FIXME comments for apparent bugs.
* -Improved some Lua APIs: Vas Crabb2023-04-071-1/+1
| | | | | | | | | | | | | | | | * Moved several machine lifecycle callbacks to the notifier/subscriber model. The old callback registration model is still available for them for now, but prints a deprecation warning. * Added pre-save/post-load notifications. * Use a single allocated timer rather than one anonymous timer per waiter. Waiters no longer prevent saved states from being loaded. * Clean up outstanding waiters on stop or state load rather than just leaking them. * Started documenting parts of the emulator interface object that should be relatively stable. -imagedev/avivideo.cpp: Fixed an object leak on unload. Also changed some other media image devices to use smart pointers.
* Fixed various bugs: Vas Crabb2023-04-064-12/+16
| | | | | | | | | | | | | | | bus/nubus/nubus_image.cpp: Fixed failure to allocate memory for the image (regressed in b8c338858a101d14308c64c87b0f714db4f05326). bus/nes/karastudio.cpp, bus/nes/sunsoft_dcs.cpp: Fixed stack smash when loading loose software. Addressed some Lua engine fallout from running things in coroutines: * Don't crash accessing dead Lua thread state from callbacks. * Allow returning values via yielding functions. * Don't run address space tap and layout view callbacks in coroutines to save overhead. * Better logging of errors from callbacks.
* API change for device_image_interface AJR2023-03-303-8/+8
| | | | | | | | | - Remove the seterror method for recording error messages and conditions. Condition codes have been made return values for call_load, call_create and various related callbacks. Error messages (which many devices weren't generating) are now displayed through osd_printf_error. - Eliminate the image_init_result and image_verify_result pass/fail enumeration types. Update many functions that were returning these enumerations or simply bools to return std::error_condition instead. In some cases, this type is now passed down from internal parsing/loading functions which were already returning it. In various other cases, the former default UNSPECIFIED has been used as a catchall for I/O errors; anticipated future refactorings should make these error returns more specific. - Expand the image_error categories to include INVALIDLENGTH, NOSOFTWARE and BADSOFTWARE. The first is largely self-explanatory. The second is generated by the core to indicate failure to find software items in lists. The third is provided for devices to indicate semantic errors in software list entries. - Change the return type of floppy_image_device::identify to a pair so the potential error condition can be passed along to the UI without storing it in a member variable. - Move device_image_interface::message down into snapshot_image_device and change its implementation to use string_format instead of printf. - Correct a typo in the shortname of the generic snapshot device.
* hpblp: ROMs located, re-enable the device. [R. Belmont] arbee2023-03-262-8/+2
|
* hpblp: disable device and remove loading of ROMs until they show up. [R. ↵ arbee2023-03-262-2/+9
| | | | Belmont]
* Various optimisations to code generaton. Vas Crabb2023-03-262-1/+3
| | | | | | | | | | | | | | | util/bitmap.cpp, util/palette.cpp: Marked lots of things constexpr. Bitmaps don't throw exceptions on allocation failure, they just become invalid. Almost nothing in MAME actually checks for this. emu/profiler.cpp: Abort if the profile stack overflows rather than throwing an exception. This is a developer feature and if it overflows, the code is broken. Calling a noreturn noexcept function generates less code than throwing an exception, which adds up. util/strformat.cpp: Traded away some unnecessary flexibility for more compact code. The stream objects must derive from std::basic_ostream now - they can't just be any old objects with the expected operators.
* isa/hpblp: Cleanups. [R. Belmont, Vas Crabb] arbee2023-03-241-6/+1
|
* bus/ISA: Added HP82321A BASIC Language coprocessor (#10926) Sven Schnelle2023-03-243-0/+649
| | | | | | | * emu: add defer_access() method, which is useful for keeping the cpu in a loop restarting the current instruction to emulate waitstates. * add HP82321A Basic Language Coprocessor This adds support for the HP82321A Basic language coprocessor, which emulates a HP9816 system with a 68K cpu. See http://www.hpmuseum.net/display_item.php?hw=681 for more details and software to run on this card.
* Reduced usage of sprintf. (#10892) Erik2023-02-201-1/+1
|
* srcclean and bump copyright date on language files to 2023 Vas Crabb2023-02-191-1/+1
|
* isa/np600.cpp: Small comment update AJR2023-02-171-1/+1
|
* isa/np600: Guess functions of various things AJR2023-02-162-6/+28
|
* Miscellaneous cleanup: Vas Crabb2023-02-092-7/+1
| | | | | | | | * Got rid of a few more unnecessary uses of simple_list. * bus/amiga/zorro: Got rid of a pointer member that would make adding save state support unnecessarily difficult. * nichibutsu/cop01.cpp: Remove need to remove devices from machine config.
* 3c505: avoid excessive 82586 resets Patrick Mackinlay2023-02-061-1/+2
|
* bus/isa/s3virge.cpp: add Sn ROP for Windows 98 invert colors in Magnifier angelosa2023-01-131-0/+6
| | | | | | New working software list items ------------------------------- ibm5170_cdrom.xml: The Adventures of Down Under Dan [archive.org]
* sun4c, SPARC, and NCR53C90 bug fixes: (#10821) [Ryan Holtz] MooglyGuy2023-01-114-4/+4
| | | | | | | * machine/ncr53c90.cpp: Renamed to ncr53c90 to avoid confusion about the actual NCR part name. * machine/ncr53c90.cpp: Fixed 'Select w/ ATN and Stop' command in DMA mode. * cpu/sparc: Avoid using temporary C-strings as address space names. * machine/sun4c_mmu.cpp: Fixed l2p debugger command by removing inadvertent narrowing conversion. * sun/sun4.cpp: Switched to NCR 53C90 from 53C90A, and fixed DMA byte-address masking - fixes Solaris 2.4 booting.
* video/virge_pci.cpp: fix remapping, allow pcipc with ibm5170_hdd:win98se to ↵ Angelo Salese2023-01-102-82/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | boot without hacks in 256 color mode (#10804) * video/virge_pci.cpp: fix remapping, allow pcipc with ibm5170_hdd:win98se to boot without hacks in 256 color mode * bus/isa/s3virge.cpp: implement DPna, DSna, DSno, DSPDxax and DSo ROP opcodes * video/virge_pci.cpp: hookup VGA ports to MMIO, makes HW mouse cursor usable * bus/isa/s3virge.cpp: fix device_reset inheritance, make s3d to start in idle state * bus/isa/s3virge.cpp: fix source pitch stride * bus/isa/s3virge.cpp: make bitblt_colour_step / bitblt_monosrc_step a bit less verbose * bus/isa/s3virge.cpp: stride follows up what's reading it * bus/isa/s3virge.cpp: clip against de bit * video/virge_pci.cpp: update BAR fix to catchup lower address config * bus/isa/s3virge.cpp: initialize pattern variable in mono mode * bus/isa/s3virge.cpp: fix mistake with shift << 8 in 8bpp pattern path, fixes Windows tooltips/Windows XP welcome setup screen * bus/isa/s3virge.cpp: QA notes
* bus/isa/trident.cpp: convert to logmacro, override trident_set_video_mode in ↵ angelosa2022-12-092-97/+182
| | | | tvga9000_device, makes pntnpuzl to set a sane refresh rate
* pntnpuzl: fix display cracyc2022-12-081-0/+2
|
* Update various source files to use swapendian_int16 AJR2022-10-291-12/+10
|
* m68000: split the header to make future semi-indenpendant implementations sane Olivier Galibert2022-09-301-1/+1
|
* schedule: rename add_scheduling_quantum to add_quantum, added perfect_quatum ↵ hap2022-09-021-1/+1
| | | | and use that for most cases of boost_interleave
* opus100pm: add opus 108pm isa bus card Patrick Mackinlay2022-07-114-0/+430
|
* srcclean and cleanup in preparation for branching MAME 0.245 Vas Crabb2022-06-263-13/+13
|
* ega: irq and row preset cracyc2022-06-052-26/+28
| | | | at: irq2 is redirected to pic2 ir1
* ega: palette and memory map fixes cracyc2022-06-041-89/+103
|
* - Removed device_timer, device_timer_id, et al in favor of direct callback ↵ MooglyGuy2022-06-0418-796/+795
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert initialisation of device members in headers. Vas Crabb2022-04-0318-183/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | This is problematic in several ways: * Initialising things at construction that aren't needed until after start slows down -romident, -validate, -listxml, etc. Slot cards can be a particular drain on -listxml and -validate as they're instantiated for every compatible slot. It's more pronounced for array members, too. * Splitting member initialisation between declaration in headers and constructors in source files means you have to look at two places to check for the initial value, and you always need to check the constructor even if an initialiser is present in the header because the constructor initaliser list takes precedence. (This isn't as much of an issue for driver classes because the constructor is most often inlined at declaration, so it isn't far from the member declarations.) * Initialisers in headers for frequently-used devices increases the frequency of recompiling dependent devices/drivers as they're exposed to any changes in initialisers. * Initialisers in frequently-used headers increase build times because there's more for the compiler to parse/cache. (This affects makedep.py as well for single-driver builds, but that's a single pass.) It's not a lot individually, but it adds up given the size of MAME, which keeps increasing. We've already had one contributor banned from GitHub actions for resource usage, we don't want to waste compiler time unnecessarily.
* init vars for coverity (bus/a-l) Robbbert2022-04-0218-183/+183
|
* cdrom_file: classify. Could use more internal work, but it's a step Olivier Galibert2022-04-011-11/+11
|
* hard_disk_file: classify Olivier Galibert2022-04-011-21/+14
|
* vga: made video RAM size configurable at machine configuration (#9289) Ivan Vangelista2022-02-099-24/+43
|
* devices/*: Removed extra semicolons after function bodies in headers. (#9275) 0kmg2022-02-062-3/+3
|
* mach32.cpp: removed duplicate save state registration Ivan Vangelista2022-02-061-1/+0
|