Commit Graph

69695 Commits

Author SHA1 Message Date
couriersud
3015e5c090 Fixed pong rom entry. (nl) 2019-11-15 22:16:37 +01:00
couriersud
bcfa9eae6f netlist: maintenance and bug fixes, remove DUMMY_INPUT. [Couriersud]
- Removed DUMMY_INPUT. NC (not connected) pins should now use NC_PIN.
  If a NC_PIN is actually connected, an error will be logged and
  validation will fail.
- Enabled "extended" validation. This will catch now if power terminals
  are not connected.
- Added const and noexcept where appropriate.
- Removed dead code.
- Fixed the 7414 Schmitt-Trigger device to use nld_power_pins
2019-11-15 22:16:37 +01:00
AJR
df14344669 65C02 opcode timing and bus usage corrections
- BBR and BBS use one or two extra cycles when the branch is taken, like other conditional branches
- TRB and TSB perform an extra read of the operand instead of an extra write
2019-11-15 15:37:08 -05:00
David Haywood
c9a6c7ff4d new WORKING machines (ABL Pinball) + temp disable timer IRQ in rad_bb3 + significant nes_vt cleanups / state chop (#5900)
new WORKING machines
--------------------
Pinball (P8002, ABL TV Game) [David Haywood, Morten Kirkegaard, Peter Wilhelmsen]

* divided up large nes_vt.cpp class, and did some general tidy up, commented some known addresses etc. to stop code rot.
* temporarily disabled timer on elan when running rad_bb3 until timer enable can be identified, made a few notes.
2019-11-15 14:15:11 -05:00
AJR
a0e2b82b63 mc68hc11: Emulate FDIV instruction 2019-11-15 12:31:07 -05:00
Vas Crabb
8bafad2751 actual intended alignment of analog input labels (nw) 2019-11-16 02:28:14 +11:00
Vas Crabb
85eeea5d57 Display emulated analog input values on the anaolg controls menu screen 2019-11-16 02:21:45 +11:00
algestam
35f40a8200 hh_sm510: Set directional control flag correctly for gnw_dkcirc (nw) (#5904) 2019-11-15 13:06:03 +01:00
Joakim Larsson Edström
e94984babf
ins8250 support for BAUDOUT pin (#5858) and
* ins8250: improved support for BAUDOUT pin and added rclk_w to allow special receiver clock circuit required for descrete BRG of the epc driver

* epc: Added 8087 support

* epc: Added S21 jumper supporting secondary keyboard connector interface and completed the descrete BRG
2019-11-15 10:41:46 +01:00
AJR
b3c47a4639 gameking3: Correct title of "Fly Car" [TeamEurope]
gameking3: Upgrade all items to "partial" since the driver now runs them to some extent (nw)
2019-11-15 00:05:05 -05:00
AJR
a67b39a1de 30test: Fix inputs and sound 2019-11-14 23:25:11 -05:00
Vas Crabb
3fde35ac1f qix.cpp: side effects, unmapped reads (nw) 2019-11-15 14:41:50 +11:00
AJR
90e2a51097 mtd1256: Improve banking; add preliminary LCD display (nw)
hd44780: Make initialization procedure slightly less strict than datasheet implies (nw)
2019-11-14 21:52:16 -05:00
AJR
a71285fbbb mm74c922: Device overhaul (nw)
- Separate MM74C922 and MM74C923 device types
- Add line read handler for data available output
- Use array for read callbacks and provide more sensible default value than 0
- Eliminate read_x5 callback (no such line on either MM74C922 or MM74C923)
2019-11-14 21:42:58 -05:00
R. Belmont
d20714babc
Merge pull request #5903 from algestam/gnw_dkcirc
New working machine added
2019-11-14 19:43:22 -05:00
algestam
da627cfcad New working machine added
----------
Game & Watch: Donkey Kong Circus [algestam, Mr Jiggles the Christmas Man]
2019-11-14 23:53:40 +01:00
couriersud
dc4fa04201 netlist: Proxy and power terminal hack removal. [Couriersud]
- Devices ttlhigh and ttlhow are no longer automatically created.
- All logic input devices (e.g. TTL_INPUT, LOGIC_INPUT) now need to have
  their power terminals (VCC, GND) connected. This opens the route
  for more appropriate proxy devices but comes at a cost. If the
  connections are omitted your circuit will not work as expected.
  Example:
      LOGIC_INPUT(I_SD0, 1, "AY8910PORT")
      NET_C(VCC, I_SD0.VCC)
      NET_C(GND, I_SD0.GND)
- Updated all netlists.
- Removed proxy information from terminal objects. This was replaced by
  a lookup hash whose life-span does not exceed netlest setup.

These changes enable the removal of a number of hacks from the
source going forward.
2019-11-14 22:59:07 +01:00
Vas Crabb
ce3c38914d c64.cpp, c128.cpp: fixed CBM IEC slot address not being set when replacing devices in machine config
bus/c64/rex_ep256.cpp: fixed array of EPROM slots not being populated (subdevices don't exist at construction time)

cleanup: (nw)
* having a macro for a device's expected tag in a header is bad - devices should not make assumptions about their tag or their location in the system hierarchy
* device types exist in the global namespace - you must not use overly generic names for them as this is likely to cause collisions
* device short names and titles each have their own namespace, but they're also global, and it should be possible to work out vaguely what a device is from its names
* POSIX reserves all names ending in "_t" at global scope - we want fewer of these causing potential future issues, not more
* if your device is in the global namespace, you should name it in a way that's not asking for name collisions to happen
* we have a simple convention for device class names - it doesn't hurt to follow it:
  - concrete device_t implementations end with "_device"
  - device_interface implementations end with "_interface" (and often start with "device_")
  - abstract classes that derive from device_t end with "_device_base"
* if you want to give your slot card device classes short, generic names, put them in a namespace for the "bus"
* if you really want to use names ending with "_t", put them in a namespace or nest them inside a class
2019-11-15 05:11:51 +11:00
mooglyguy
f7e679876f -c352: Added optional compile-time PCM logging, and cleaned up some code, nw 2019-11-14 17:26:41 +01:00
AJR
66d816c7fb taitojc.cpp: Undo change to MCU clock (nw) 2019-11-14 10:30:24 -05:00
Tom
09bf7fe735 Follow-up to "Cps1 bootlegs, some more new sets #5895" (#5899)
* create fcrash.h

* change includes, add to arcade.lua
2019-11-15 01:35:20 +11:00
AJR
d1086ca8b1 New machines marked as NOT_WORKING
----------------------------------
Meteodata 1256 [ClawGrip]
2019-11-14 09:20:53 -05:00
AJR
72eacfcfb0 Increase some MC68HC11 clocks to compensate for newly emulated internal divider (nw) 2019-11-14 09:18:38 -05:00
AJR
1ce4051cf4 mc68hc11: Fix size of fetched operand for ADDD indexed modes
This appears to have accidentally regressed in bcd74f1e42.
2019-11-14 09:15:24 -05:00
Vas Crabb
f394d486bc schedule: pick some really low-hanging fruit (nw) 2019-11-15 00:49:00 +11:00
AJR
63d10c6d90 mc68hc11: Clock is internally divided by 4 2019-11-13 23:34:35 -05:00
AJR
fb4480205c cdd2000: Better guess at HC11 type (nw) 2019-11-13 22:59:32 -05:00
AJR
80f0a345bc Correct one XTAL value (nw) 2019-11-13 19:44:07 -05:00
MooglyGuy
4c53d5611d -snes_ppu: Converted OAM code from bsnes ppu-fast, nw 2019-11-14 00:30:39 +01:00
Robbbert
6018a48cc2 New working software list additions
----------------------------------
studio2: RCA demo
2019-11-14 10:17:53 +11:00
David Haywood
78ed8c13e3 Plug & Play work (Tv GoGo, Poker inputs etc.) (#5898)
* vii.cpp: tvgogo, return value written on a port so that it boots (nw)

also for spg2xx_io, add machine().describe_context() to more of the logging calls to make it more informative for debugging.

* workaround so poker boots without debugger trick (nw)

* uart read notes (nw)

* not ideal, but force poker UART reads for now (nw)

* improve input (nw)

* clickable artwork fixes (nw)

* comment (nw)

* srcclean (nw)

* tidy (nw)
2019-11-13 17:07:09 -05:00
mooglyguy
0ced158f31 -k007232: Added optional WAV logging of PCM samples. [Ryan Holtz] 2019-11-13 21:15:03 +01:00
couriersud
43637964a2 netlist: bug fix, code maintenance and performance improvement. (nw)
- fixed a code in the netlist creation which caused multiple proxies
  to be created for output->terminal connections. A nice side effect of
  this fix is a performance increase ~9% for kidniki and ~4% for pong.
  Speaking about pong ... maximum is 490%. Dice is running at
  280 FPS/60 FPS = 466%, however without any analog emulation.
- Replaced NL_NOEXCEPT with noexcept. assert is now exception-free.
- cppcheck and lint fixes.
2019-11-13 19:29:51 +01:00
AJR
e00549bcec smoc501.h: Fix minor copy/paste mistake (nw) 2019-11-13 12:16:12 -05:00
Vas Crabb
960d3dba2a add new source files to build scripts, standardise some #include guards (nw) 2019-11-14 04:00:34 +11:00
Robbbert
44d5b3ddb2 (nw) studio2 : rearranged memory closer to actual operation 2019-11-14 03:37:47 +11:00
Tom
3ad635d94f Cps1 bootlegs, some more new sets (#5895)
* added captcommb2

* added knightsb3

* added dinopic3

* confirm clocks

* bootleg reshuffle
2019-11-14 02:39:15 +11:00
couriersud
f4cf0cc86a netlist: code maintenance. (nw)
- move memory pool to netlist_state_t removing one static allocation.
- add memory allocation stats to verbose output
- nl_assert no longer throws, first step to remove NL_EXCEPT macro.
2019-11-13 07:41:20 +01:00
angelosa
6a57025550 ms32.cpp: fix hayaosi3 final round and flame text priorities [Angelo Salese] 2019-11-13 07:37:17 +01:00
AJR
8306e7a0ef Add dump and skeleton device for Sony SMO-C501 MO Disk Controller [Don Maslin Vintage Computer Archive] 2019-11-12 22:18:43 -05:00
Julian Sikorski
0c70101b74 Sync bgfx, bx and bimg with upstream; fix the hlsl fs_chroma.sc matrix transposition properly (#5875)
* Sync bgfx with upstream revision 280420d

* Sync bx with upstream revision 267727d

* Sync bimg with upstream revision c1bab10

* Use bgfx helper functions to ensure correct matrix orientation

* Rebuild hlsl chain
2019-11-12 22:08:23 -05:00
AJR
c089bea701 lbpc: It helps to map handlers (nw) 2019-11-12 18:47:58 -05:00
AJR
2d93bc91d4 v5x: Emulate internal/external timer clock input selection; internalize CPU clock divider for V40/V50 2019-11-12 17:55:49 -05:00
AJR
13beade767 lbpc: Add ISA bus and EGA card so startup process can be visible (nw)
v40, v50: Add timer 2 control input (nw)

ncr5380n: This error really needs to be non-fatal (nw)
2019-11-12 16:34:50 -05:00
AJR
2e052f7e98 lbpc: More peripheral stuff (nw) 2019-11-12 14:01:29 -05:00
AJR
5d74edba7d New machines marked as NOT_WORKING
----------------------------------
Little Board/PC [Don Maslin Vintage Computer Archive]
2019-11-12 13:29:10 -05:00
AJR
f51a7ea3ee Fix build (nw) 2019-11-12 12:32:49 -05:00
cam900
ee4281546c v5x.cpp : Move remappable IO handler into seperated space, Fix remapping IO behavior (#5774)
* v5x.cpp : Move remappable IO handler into separated space, Fix remapping IO behavior
2019-11-12 11:48:45 -05:00
Tom
ecb08b2cd6 ZX Spectrum floating bus support (#5883)
* floating bus

* only official machine has floating bus
2019-11-12 11:45:35 -05:00
R. Belmont
542997be40
Merge pull request #5881 from 68bit/qvt102-misc
qvt102: key lines, boost interleave
2019-11-12 11:45:10 -05:00