summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i8x41/i8x41.h
Commit message (Collapse)AuthorAgeFilesLines
* Merged i8x41 (UPI-41) core into MCS-48 core: Aaron Giles2008-12-301-100/+0
| | | | | | | | | | | | | | | | | | | | | | | | * all code now lives in mcs48.c * rewrote disassembler as unified MCS-48/UPI-41 disassembler * changed UPI-41 interfaces to match MCS-48 * added new master read/write interfaces for external access * unified interface to 8243 expander chip * converted tnzs and decocass to the new interfaces DECO Cassette fixes/cleanups: * converted tape handling to a device * changed tape handling to use a timer callback * updated to work with new UPI-41 core * corrected clock speeds for all chips (esp. the 8041) * fixed very wrong CRC implementation (how did it ever work?) * corrected sound IRQ rate * corrected video timing Burger Time hardware fixes: * corrected sound IRQ rate and handling * removed lnc audio reset hack * full audio memory maps based on schematics * corrected video timing
* From: Atari Ace [atari_ace@verizon.net] Aaron Giles2008-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | Sent: Tuesday, December 16, 2008 12:20 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Migrate CPU defines to cpu header files Hi mamedev, This patch migrates all the CPU definitions into the cpu header files. The #defines and CPU_GET_INFO declarations were added by hand to the cpu cores in the first patch, plus a few partly related fixes to the non-DRC cores. The second patch was produced by the attached script which inserts all needed #includes, except for two that were added by hand in the first patch. The first patch also removed an extra define of N2A03_DEFAULTCLOCK that would have caused problems with the second patch. ~aa
* UPI-41/42 (still I8x41.c) changes: Couriersud2008-11-091-14/+5
| | | | | | | | | | | | * cpu/i8x41 should be renamed to UPI-4x, since UPI-41/42 was an intel chip family postponed for now until core moved to pointers. * removed I8041 definition from mcs48 * removed I8x41 cpu definition and config struct * added I8041, I8741, I8042, I8242 and I8742 cpus to i8x41.c * added internal memory maps * internal ram now uses DATA memory space * updated drivers * increased interleave to 70 in decocass. This fixes decocass hanging in countdown around 13 No idea when this bug was introduced.
* Added macros for all CPU callbacks to ease future changes. Aaron Giles2008-11-081-2/+2
| | | | Updated all CPU cores to use them.
* Final CPU header updates. Mostly just re-naming the re-inclusions. Derrick Renaud2008-08-131-1/+2
| | | | | The structures/names were getting too complex for my macros to handle. They would require hand editing and my computer is too slow to keep re-compiling. Passes a clean compile.
* structure, lower-casing functions and re-inclusion updates of the ↵ Derrick Renaud2008-08-111-7/+13
| | | | | src\emu\cpu headers up to I. It's mostly just re-inclusion renaming, but there are few other re-nameings.
* Removed DEBUGGER flag from makefile and ENABLE_DEBUGGER Aaron Giles2008-06-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macro from the source code. All MAME builds now include the debugger, and it is enabled/disabled exclusively by the runtime command-line/ini settings. This is a minor speed hit for now, but will be further optimized going forward. Changed the 'd' suffix in the makefile to apply to DEBUG builds (versus DEBUGGER builds as it did before). Changed machine->debug_mode to machine->debug_flags. These flags now indicate several things, such as whether debugging is enabled, whether CPU cores should call the debugger on each instruction, and whether there are live watchpoints on each address space. Redesigned a significant portion of debugcpu.c around the concept of maintaining these flags globally and a similar, more complete set of flags internally for each CPU. All previous functionality should work as designed but should be more robust and faster to work with. Added new debugger hooks for starting/stopping CPU execution. This allows the debugger to decide whether or not a given CPU needs to call the debugger on each instruction during the coming timeslice. Added new debugger hook for reporting exceptions. Proper exception breakpoints are not yet implemented. Added new module debugger.c which is where global debugger functions live.
* I8x41 cpu core fixes: Wilbert Pol2008-06-231-0/+10
| | | | | | | - Added configurable i8x41/i8x42 subtype support. - Fixed carry flag handling in ADDC A,#N instruction. - Fixed carry flag handling in RLC A instruction.
* Changed debugger-related code to be based off a new makefile define ↵ Aaron Giles2008-02-021-1/+1
| | | | | | | | | | | | | (DEBUGGER) which sets a new compile-time define (ENABLE_DEBUGGER). This means that MAME_DEBUG no longer means "enable debugger", it simply enables debugging features such as assertions and debug code in drivers. Also removed the various levels of opbase protection in memory.h and always just turned on full bounds checking. Fixed build break due to missing ampoker.lay -> ampoker2.lay renaming.
* Added CPUINFO_INT_CLOCK_MULTIPLIER to support CPU clock multipliers. Aaron Giles2008-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Updated all CPU cores to return a CPUINFO_INT_CLOCK_MULTIPLIER of 1. Changed the core to actually respect both CPUINFO_INT_CLOCK_MULTIPLIER and CPUINFO_INT_CLOCK_DIVIDER. Updated a number of drivers to use cpunum_get_clock() instead of Machine->drv->cpu[x].clock. ***** Raw input clock speeds should now be specified for all CPUs in the MACHINE_DRIVER. ***** Removed explicit divisors from all drivers using the following CPU types, which were already specifying non-1 values for CPUINFO_INT_CLOCK_DIVIDER: * COP4x0 * I8039/8048 families * M68(7)05, HD63705 * M6809E * PIC16C5X * TMS32010 * TMS340x0 In a few cases, it appears that the divisor was not being used, so I guessed in those cases whether or not the specified clock speed was raw.
* Copyright cleanup: Aaron Giles2008-01-061-1/+1
| | | | | | - removed years from copyright notices - removed redundant (c) from copyright notices - updated "the MAME Team" to be "Nicola Salmoria and the MAME Team"
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+88