summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
Commit message (Collapse)AuthorAgeFilesLines
* Add adjust_periodic() to persistent_timer. Update obvious situations where ↵ Aaron Giles2021-09-1112-22/+22
| | | | it can be used. Convert a few drivers from timer devices to plain timers to avoid adding adjust_persistent() to the timer device as well.
* Merge branch 'master' into time-experiments2 Aaron Giles2021-09-1064-190/+1479
|\
| * -Reworked device type definition macros a little and added more Doxygen. Vas Crabb2021-09-072-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reworked device type definition macros to eliminate one level of indirection when using device types by name. * Fixed a potential initialisation order issue that could affect device parent ROMs. * Eliminated the need for DEFINE_DEVICE_TYPE_NS - just use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_PRIVATE with fully-qualified names. * Changed device type aliases to static auto references in the headers. * Added Doxygen comments for system/device definition macros and system flags. -Added ROM parents for m68705u3 and a2diskiing.
| * mc68hc11: Add stubs for TCTL registers; document coding bug in asma2k AJR2021-09-062-0/+52
| |
| * tx0.cpp: Further fixes AJR2021-09-041-2/+2
| | | | | | | | | | | | - Load typewriter input into correct bit positions of LR - Invert MSB of display coordinates (fixes tic-tac-toe grid) - tx0_8kw: Resolve confusion between SHR and CYR semantics (these were incorrectly swapped)
| * unidasm: Add disassembler for DEC VAX architecture AJR2021-09-032-0/+1158
| |
| * Move endianness type into lib/util header AJR2021-08-311-4/+4
| |
| * -f-32.cpp: royalpk2 fixes and updates (#8493) [Ryan Holtz] MooglyGuy2021-08-302-22/+71
| | | | | | | | | | * royalpk2 is now essentially playable, but marked not working due to settings-saving issues. -cpu/e132xs: Fixed issues with SARDI instruction (fixes mosaicf2). [Ryan Holtz]
| * hd6120: Fix effect of TAD on LINK flag AJR2021-08-261-3/+1
| |
| * gts1: various fixes. Still not working though. Robbbert2021-08-271-54/+41
| |
| * tx0dasm.cpp: Add notes on OPRs for reference AJR2021-08-261-0/+74
| |
| * i386.cpp: when DEBUG_MISSING_OPCODE is defined, log a small backtrace yz70s2021-08-252-4/+16
| | | | | | | | | | | | This way together with the full list of bytes that form the non recognized opcode there are the addresses of the previously executed instructions.
| * srcclean for upcoming release Vas Crabb2021-08-222-25/+25
| |
| * decmate2: Patch one ROM file in 31Z BIOS (#2) to correct JMP I instruction AJR2021-08-181-3/+3
| | | | | | | | * pdp8dasm: Minor fix for weird OPRs
| * hh_hmcs40: improved bpengo svg [hap, eggs] hap2021-08-161-1/+1
| |
| * Missing implementation Miodrag Milanovic2021-08-161-0/+7
| |
| * Use std::clamp in more source files AJR2021-08-152-3/+3
| |
| * Debugger-related feature removals and cleanup AJR2021-08-1545-68/+18
| | | | | | | | | | | | | | | | - Remove the hotspot read tracker. This was never robustly implemented, but changes to the memory system made it much less useful, and the "speedup opportunities" which it aimed to determine are not very important from a current emulation standpoint. - Remove the CURSP/GENSP state symbol and the generic sp() getter. Stacking semantics vary too much between CPU architectures for this to be of much use. (A "SP" symbol has been added to a few CPU cores whose stack pointers were otherwise not being registered.) - Remove the cached pointer to device_state_interface and the state() fast accessor from device_t. Most users of device_state_interface either already had a pointer to the specific CPU device type or needed to check first for the presence of the interface. - Change the PC memory write tracker to use pcbase(), which works even when the instruction callback is masked out, instead of peeking at the PC history index. - Remove some obsolete watchpoint-related definitions from machine.h.
* | Bump T11 input lines to 16. Aaron Giles2021-08-221-1/+1
| |
* | Since I already had to touch all device_timer signatures, bite the bullet ↵ Aaron Giles2021-08-2022-36/+36
| | | | | | | | and make device_timer callbacks match the native form to eliminate trampolines.
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-08-14103-15118/+7364
|\|
| * apple2gs disassembly updates: (#8430) ksherlock2021-08-121-21/+21
| | | | | | | | | | | | - JSL support for gs/os & prodos 16 calls - JSL/JML/STA vector support - inline debug name support (Apple IIgs Tech Note #103)
| * tx0_64kw, tx0_8kw: Fixes and improvements AJR2021-08-122-105/+682
| | | | | | | | | | | | | | | | | | - Complete rewrite of disassemblers, using standard names for OPRs - Clear MBR in cycle 1 when AMB is not specified - Perform AMB before COM (tx0_64kw) - Fix characters printed on Flexowriter (bit order was incorrectly reversed) - Modernize logging in CPU device - Only call the debugger hook once per instruction cycle
| * Assorted N64 fixes (#8415) MooglyGuy2021-08-0936-11201/+2699
| | | | | | | | | | | | | | | | | | * -rdp: Fixed incorrect channel swapping on 32-bit resampled framebuffers. [Ryan Holtz] * -rsp: Fixed LWV and VMOV behavior. Added reserved instructions V056, V057, V073, and VNULL. [Ryan Holtz, krom] * -rdp: Temporarily adjusted framebuffer resampling to not exceed screen bounds in some games. [Ryan Holtz] * -n64: Fixed SP DMA behavior based on hardware tests. [Ryan Holtz] * -rsp: Removed unused DRC and SIMD support. General code cleanup. [Ryan Holtz] * -n64: Pass K4 and K5 factors to threaded drawing code. Fixes black geometry in Conker's Bad Fur Day. [Ryan Holtz] * -aleck64: Fixed compile issue with previous commits. [Ryan Holtz]
| * taitopjc: fix save states Ville Linde2021-08-071-0/+93
| |
| * Genearate seaparate dasm header for TMS57002 Miodrag Milanovic2021-08-022-11/+14
| |
| * f2mc16: Updates AJR2021-07-282-15/+402
| | | | | | | | | | | | - Emulate many more opcodes - Add interrupt callback for debugger - Correct disassembly of MOVW io, A
| * f2mc16: General cleanup AJR2021-07-282-378/+277
| | | | | | | | | | | | | | | | | | - Add helper functions for increment and decrement operations and short direct banking - Rationalize use of temporary variables - Modify only lowest 8 bits of accumulator for XOR A, #imm8 - Perform a 16-bit rather than 8-bit write for MOVW @RLx + #disp8, A - Use SSB instead of USB for @RW3 or @RW7 addressing when S flag is set - Fix numerous flag calculations
| * ns32082: implement program flow trace support Patrick Mackinlay2021-07-284-7/+7
| |
| * ns32000: fix smr instruction bug Patrick Mackinlay2021-07-281-2/+2
| |
| * New machines marked as NOT_WORKING AJR2021-07-262-1/+33
| | | | | | | | | | ---------------------------------- Sony DPS-V55 Multi-Effect Processor [DBWBP]
| * f2mc16: Updates and fixes AJR2021-07-263-65/+428
| | | | | | | | | | | | | | | | - Emulate various additional instructions and modes - Fix banking for direct addressing mode - Fix semantics of CLRB and number of bytes consumed by SETB - Fix mistake with calculating N and Z flags for SUB and CMP and writing incorrect result for SUB - Use INC(W)(L) A and DEC(W)(L) A pseudo-operations in disassembly
| * tx0_8kw: IOS fix AJR2021-07-251-0/+1
| |
| * tx0_64kw: Various fixes AJR2021-07-251-26/+3
| | | | | | | | | | | | - Make IOS actually wait for I/O when used more than once - Remove break statement that disabled half the OPRs - Don't normalize minus zero sums (also applies to tx0_8kw)
| * mcs51: add i8744 Patrick Mackinlay2021-07-232-0/+22
| |
| * ns32000: check destination is zero-extended Patrick Mackinlay2021-07-221-5/+4
| |
| * f2mc16: Rewrite disassembler AJR2021-07-215-2198/+1703
| | | | | | | | - Fix bug in CPU core advancing PC by one too many bytes when executing ADDL A, RLn
| * Implement 68k FPU FATAN instruction (#8287) Calvin Buckley2021-07-181-0/+7
| |
| * ns32000dasm: rewrite Patrick Mackinlay2021-07-162-974/+538
| | | | | | | | | | * simplified/consolidated logic * corrected scaled mode decoding
| * ns32000: fix check instruction undefined behavior Patrick Mackinlay2021-07-161-0/+4
| |
| * New working machines hap2021-07-132-2/+1
| | | | | | | | | | -------------------- TI-1680 [hap, Sean Riddle]
| * MAKE_INT_8 fails on GCC/ARM (#8285) David Viens2021-07-111-11/+1
| | | | | | spc700.cpp: Use int8_t instead of old MAKE_INT_8 macro
| * mb86233: refine the patch to only do fp-type flag setting on fp operations ↵ Olivier Galibert2021-07-092-27/+33
| | | | | | | | [Ryan Holtz]
| * mb86233: Fix flags behaviour on -0, seems to fix virtua fighter and ↵ Olivier Galibert2021-07-092-25/+31
| | | | | | | | motorraid [Ryan Holtz]
| * cpu/nanoprocessor: Improvements based on chip reverse-engineering. (#8253) fulivi2021-07-052-35/+81
| |
| * srcclean in preparation for release Vas Crabb2021-06-273-11/+11
| |
| * pic1670: Fix major string-related bug in disassembler AJR2021-06-231-1/+1
| |
| * cpu/alto2: Fixed allocation widths for decoded ROMs, and removed a bunch of ↵ Vas Crabb2021-06-228-82/+75
| | | | | | | | reinterpret_cast.
| * Eliminate remaining uses of auto_alloc and friends (#8210) Aaron Giles2021-06-227-40/+29
| | | | | | | | | | | | | | * Split off auto_alloc changes from deprecated branch. * Make the keymap reader non-static so it can access the unique_ptr. * Fix SDL input for real.
| * h8500: Add mode control and EPROM variant types AJR2021-06-209-14/+81
| |