summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/romp/romp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* diexec: Add callback to allow debugger to break into the middle of wait-type ↵ AJR2024-11-171-0/+1
| | | | | | | | | | instructions whose execution time is normally indefinite. When this happens, a special message may be printed to the debug console stating the location of the last actual instruction executed before the wait (if there was one). Note that since the callback ignores the current value of the program counter, this special type of debugger break cannot be entered through breakpoints or instruction stepping commands. The callback also leaves no effect on PC history tracking or trace logs. * cpu/hd61700, cpu/tms32031: Add standard IRQ callback * cpu/m68000gen.py: Change name of invoked executable to bin/python3 * cpu/m6809: Eliminate PC "massaging" for SYNC and similar instructions
* Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz] MooglyGuy2023-05-231-1/+0
| | | | | * Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
* dimemory: Add the target address space to translate, wrap the constants Olivier Galibert2023-03-181-1/+2
| | | | divtlb: Wrap the constants
* Interrupt callback rationalization AJR2023-03-111-5/+3
| | | | | | | | | | | - Make CPUs pass interrupt return PC as a second argument to standard_irq_callback - Add interrupt return PC to "Stopped at interrupt" message produced by debugger 'gint' command - Add messages to trace logs whenever interrupts are accepted - Attempt to step over interrupt routines for applicable debugger commands - Eliminate standard_irq_callback_member wrapper method - Update many CPU cores to invoke standard_irq_callback at the start of or during interrupt processing, rather than at the end or when the input line changes - Remove IRQ callbacks for some input lines that never cause interrupts - mb88xx, mcs48: Add IRQ callbacks for internal interrupts
* rtpc: wip, now able to boot from vrm floppy Patrick Mackinlay2023-01-061-3/+3
| | | | | | | | * rtpc: improve keyboard/locator/speaker adapter emulation * romp: fully decode memory and i/o access from processor channel * iocc: use emumem flags for isa bus i/o width detection * iocc: correct isa bus access endianness * iocc: internalize tcw and csr
* romp: various improvements Patrick Mackinlay2022-12-211-40/+68
| | | | | | | | * record branch with execute address for exception caused by branch subject * optionally defer interrupt recognition after lps * halt lm/stm on exception * implement condition codes for abs * tighten up system control register reserved bits
* src/devices/cpu: Remove #include "debugger.h" where no longer necessary AJR2022-04-061-1/+0
|
* Added helpers for 64-bit count leading zeroes/ones. Vas Crabb2021-06-131-1/+1
|
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-1/+1
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* romp: initial storage channel implementation Patrick Mackinlay2020-12-311-169/+67
|
* romp: fix divide step carry and overflow flags Patrick Mackinlay2020-12-101-0/+2
|
* romp: various improvements and fixes Patrick Mackinlay2020-12-091-115/+260
| | | | | | | | | | * handle mmu exceptions in load/store instructions * implement wait instruction * fix "and link register" instructions when target == link * fix illegal branch subject instruction exception address * fix i/o instruction exception type * fix lps address space selection * don't use irb for hardware interrupts
* romp: various improvements Patrick Mackinlay2020-11-301-34/+113
| | | | | | * implement multiply/divide step instructions * privileged instruction exceptions * corrected borrow flag logic
* romp: correct compare flags Patrick Mackinlay2020-11-231-89/+174
| | | | | | * change translated/untranslated address approach * initial trap implementation * initial timer implementation
* romp: various improvements (nw) Patrick Mackinlay2020-02-251-205/+491
| | | | | | | * corrected scr register names * some basic instruction cycle counts * some exceptions/interrupts * most flags
* romp: new device Patrick Mackinlay2020-02-131-0/+685