summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hh_sm510.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange source to match project structure (done using the script in ↵ Vas Crabb2022-06-271-10093/+0
| | | | src/tools).
* - Removed device_timer, device_timer_id, et al in favor of direct callback ↵ MooglyGuy2022-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* New working clone (#9806) algestam2022-05-231-0/+16
| | | | ----------------- Elektronika: Circus [algestam, Milan Galcik]
* hh_sm510: move variables init to class body hap2022-04-101-11/+0
|
* Software list items promoted to working hap2022-04-021-1/+1
| | | | | | | | | --------------------------------------- lk3000: English-German [hap] Machines promoted to working ---------------------------- LK-3000 [hap]
* rw5000: add a5500 hap2022-03-291-6/+6
|
* add b5000 cpu core file placeholders hap2022-03-171-1/+3
|
* New working machines hap2022-03-131-93/+274
| | | | | | | | | | -------------------- Star Fox (Nelsonic) New machines marked as NOT_WORKING ---------------------------------- Super Mario Bros. 3 (Nelsonic) Super Mario World (Nelsonic)
* hh*: add private: section to classes hap2022-02-191-6/+8
|
* New working machines hap2022-02-181-1/+1
| | | | | -------------------- Blast It [hap, Sean Riddle]
* hh_sm510: rescan display for rkosmosa (#9308) algestam2022-02-171-4/+3
| | | hh_sm510: rescan display for rkosmosa [Milan Galcik]
* sm510: k input wakeup is not edge triggered hap2022-02-031-3/+1
|
* m62: shrink io memory maps hap2022-01-311-1/+0
|
* New working machines hap2022-01-301-1/+1
| | | | | | -------------------- Basketball 2 (Mattel) [hap, Sean Riddle] Soccer 2 (Mattel) [hap, Sean Riddle]
* New working clone (#9165) algestam2022-01-171-7/+18
| | | | | | * New working clone ---------- Game & Watch: Game & Watch: Mario's Cement Factory (Table Top, version CM-72A) [algestam, Alexander Bliven]
* New working clone (#9144) algestam2022-01-141-3/+11
| | | | ---------- Game & Watch: Judge (purple version) [algestam, Alexander Bliven]
* New working clone (#9142) algestam2022-01-141-2/+10
| | | | | | * New working clone ---------- Game & Watch: Helmet (CN-07 version) [algestam, Alexander Bliven]
* New working clone (#9129) algestam2022-01-111-0/+16
| | | | | | * New working clone ----------------- Biathlon [algestam, Milan Galcik]
* hh_sm510: put elektronika games in their own list at bottom of driver hap2022-01-091-16/+18
|
* hh_sm510: display improvements for nupogodi (#9116) algestam2022-01-081-2/+2
|
* New working clone (#9110) algestam2022-01-081-0/+15
| | | | ----------------- Tayny okeana [algestam, Milan Galcik]
* sm510: fix wakeup after CEND, reorganize files a bit hap2021-12-211-4/+3
|
* hh_sm510: rename auslalom and hockey hap2021-12-061-16/+16
|
* hh_sm510: correct title for autoslalom hap2021-12-061-9/+9
|
* New working clone (#8937) algestam2021-12-061-2/+18
| | | | ----------------- Khokkey [algestam, Milan Galcik]
* hh_sm510: Rename Elektronika drivers to use local Soviet names (#8912) algestam2021-12-021-46/+46
|
* hh_sm510: add note about elektronika hap2021-11-301-0/+20
|
* New working clone (#8891) algestam2021-11-281-0/+16
| | | | | ----------------- Ataka asteroidov [algestam, Milan Galcik]
* New working clone (#8886) algestam2021-11-261-0/+16
| | | | ----------------- Morskaja ataka [algestam, Milan Galcik]
* New working clone (#8875) algestam2021-11-241-0/+16
| | | | ----------------- Space Flight [algestam, Milan Galcik]
* New working clone (#8872) algestam2021-11-241-0/+16
| | | | ----------------- Night Burglars [algestam, Milan Galcik]
* New working clone (#8871) algestam2021-11-231-1/+17
| | | | ----------------- Frogling [algestam, Milan Galcik]
* New working clone (#8867) algestam2021-11-221-4/+23
| | | | | * New working clone ----------------- Kot-rybolov [algestam, Milan Galcik]
* hh_sm510: Remove uncertain Fowling IDs (#8848) algestam2021-11-201-1/+1
|
* hh_sm510: small correction to fowling svg hap2021-11-201-2/+2
|
* New working clone (#8837) algestam2021-11-201-9/+25
| | | | | | * New working clone ----------------- Monkey Goalkeeper [algestam, Milan Galcik]
* New working clone added (#8834) algestam2021-11-171-0/+20
| | | | | | New working clones ------------------ Fowling [algestam, Milan Galcik]
* hh_sm510: typo in comment hap2021-11-061-3/+3
|
* hh_sm510: Add cheat for trsrescue and trthuball (#8668) algestam2021-10-181-0/+5
|
* New Working clone added (#8655) algestam2021-10-041-3/+20
| | | | ---------- Thunder Ball (Tronica) [algestam]
* hh_sm510: Add cheats for gnw_flagman, gnw_judge and gnw_lion (#8601) algestam2021-09-211-2/+11
|
* hh_sm510: rescan display for auslalom (#8377) algestam2021-07-311-4/+4
|
* trspacmis: put companyname in title string, conflict with galaxian.cpp ↵ hap2021-07-261-1/+1
| | | | spcmission recently added set
* New Working clone added (#8349) algestam2021-07-241-3/+26
| | | | | | New Working clone added ---------- Spider (Tronica) [algestam]
* gnw_manholeg: fix game serial id in docs (nw) algestam2021-07-121-1/+1
|
* New working machine added (#8189) algestam2021-06-141-0/+69
| | | | ----------- Tronica: Space Mission [algestam]
* New working machines hap2021-03-161-7/+7
| | | | | -------------------- Dunk 'n Sunk [hap, Sean Riddle]
* New working machines hap2021-03-041-1/+1
| | | | | -------------------- Sub Wars (LED version) [hap, Sean Riddle, Rik]
* deco_mlc: fix copypaste error with prev commit hap2021-02-181-1/+1
|
* hh_sm510: confirm gnw_mmouse R mask option (#7747) algestam2021-02-061-2/+2
| | | * hh_sm510: confirm gnw_mmouse R mask option