summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502
Commit message (Collapse)AuthorAgeFilesLines
* Move all devices into separate part of src tree (nw) Miodrag Milanovic2015-09-1355-10376/+0
|
* python: Make all scripts python 2/3 compatible Olivier Galibert2015-07-301-2/+4
|
* blame balrog for this :) (NW) Cowering2015-07-0815-16/+16
|
* misc fixes (nw) Olivier Galibert2015-06-241-2/+2
|
* memory: Remove support for decrypted bases, use an address space instead [O. ↵ Olivier Galibert2015-06-2419-124/+158
| | | | Galibert]
* More license self-service (nw) R. Belmont2015-05-221-1/+1
|
* License self-service (nw) R. Belmont2015-05-221-1/+1
|
* Another round of -Wextra -Wdouble-promotion fixes. (nw) couriersud2015-05-201-1/+1
|
* Sorted out cpu cores (nw) Miodrag Milanovic2015-05-134-8/+8
|
* did license settings for OG and Andrew, cleared up OSD part for licenses (nw) Miodrag Milanovic2015-05-0930-990/+60
|
* Added dummy license headers for EMU section (nw) Miodrag Milanovic2015-05-0734-0/+68
|
* moved all to std::string (nw) Miodrag Milanovic2015-04-226-10/+10
|
* string -> str rename due to future conflicts (nw) Miodrag Milanovic2015-04-126-10/+10
|
* m6502: Fix icounting [Peter Ferrie] Olivier Galibert2015-03-041-2/+2
|
* Remove except clause syntax not supported on Python 3. (nw) Mike Naberezny2015-03-031-3/+6
| | | | | This change uses sys.exc_info()[1] instead of the "as" syntax to retain Python 2.5 compatibility.
* Cleanups and version bumpmame0159 Miodrag Milanovic2015-02-251-1/+1
|
* Kale, does that break c65? (nw) Olivier Galibert2015-02-071-2/+2
|
* m65ce02: Generalize Kale's findings [O. Galibert] Olivier Galibert2015-01-282-10/+10
|
* Don't need this logging Angelo Salese2015-01-281-3/+0
|
* bra_rw2 requires a displacement of -1, fixes pha/pla bug, needs fixing in DASM. Angelo Salese2015-01-281-1/+0
|
* One bug nailed (boot vectors are *whatever exists in regular 0-0xffff range"). Angelo Salese2015-01-283-6/+10
|
* Bad stack pointer read is bad. Angelo Salese2015-01-242-0/+10
|
* Magic strings, just say no (nw) Alex W. Jackson2014-09-182-1/+9
|
* Memory system and Namco improvements: [Alex Jackson] Alex W. Jackson2014-09-181-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicit regions in address maps (AM_REGION) are now looked up relative to the device rather than as siblings when in an internal address map (similar to devices and shared pointers) Besides being more orthogonal than before, this allows internal ROMs of MCUs and similar devices to be hooked up in a nicer and more foolproof way. Updated the m37710 and m5074x (m6502 derivative) to take advantage of this. Divided the M37702/M37710 into specific models, with each model having its own internal address map containing the correct amounts of internal RAM and ROM. M37702 MCUs found on various Namco PCBs are now all unique devices and have their respective internal ROMs loaded as device ROMs. (nw) Also did some spring (fall) cleaning in addrmap.c/memory.c/dimemory.c m_devbase (the base device used for tagmap lookup when late-binding handlers and finding memory regions and shares) is now a reference rather than a pointer, since we know what it is when the address_map_entry is constructed and it doesn't change (it depends solely on whether it's an entry in an MCFG-provided address map or an internal one) And for the same reason, there's now only one m_devbase per address_map_entry rather than individual copies for read/write/setoffset/sharedptr. Removed mysterious unused address_map_entry member "m_region_string", along with a silly assert probably left over from when Aaron was replacing AM_BASE with AM_SHARE years ago. Added a comment noting that "make sure all devices exist" in device_memory_interface::interface_validity_check() actually does nothing, like the proverbial goggles. The reason there's just a comment and not a fix is I haven't figured out how to fix it yet (is it possible to extract the original device tag that was given to a proto-delegate? Sorry, the template hell in devdelegate.h and lib/util/delegate.h makes me want to run screaming like a little girl)
* If we were documented, we'd be dangerous (nw) Olivier Galibert2014-09-173-16/+0
|
* m6502: put back get_cycle() since OG says it'll be needed in future, but ↵ Alex W. Jackson2014-07-023-0/+16
| | | | compile-time disable the slow precalculation/caching (nw)
* m6502: remove expensive and unused attotime precalculation at start of each ↵ Alex W. Jackson2014-07-013-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | timeslice [Alex Jackson] (nw) This precalculation seems to be part of OG's "CPU core template", as all CPU cores written by him do it. It's used to optimize things like onboard serial ports and high-frequency timers; however, the m6502 and its derivatives have neither onboard serial ports nor high-frequency timers, and the precalculation is simply a boat anchor on drivers with 6502-family CPUs and tight interleaving. mess c64 benchmarks (3.4 GHz Sandy Bridge i5; 64-bit Linux GCC 4.8 build) before: [awj@localhost trunk]$ ./mess64 -window -bench 60 c64 Average speed: 238.17% (59 seconds) [awj@localhost trunk]$ ./mess64 -window -bench 60 c64 Average speed: 236.36% (59 seconds) after: [awj@localhost trunk]$ ./mess64 -window -bench 60 c64 Average speed: 279.93% (59 seconds) [awj@localhost trunk]$ ./mess64 -window -bench 60 c64 Average speed: 279.30% (59 seconds)
* Fix some bit instructions in the m65ce02 core Dirk Best2014-05-231-4/+4
|
* devcv2 -> devcb (nw) Miodrag Milanovic2014-05-147-38/+38
|
* m6502: fixed some unofficial opcodes [R. Belmont] R. Belmont2014-03-132-6/+5
| | | | | | nw: the 6510 version of lxa may be wrong in the same way (on 6502 it loads A and X with the immediate value, no AND occurs), someone C= savvy please check.
* fix missing semicolon (nw) R. Belmont2014-02-021-1/+1
|
* Not everyone calls the base device_start, but they do call the base init() (nw) R. Belmont2014-01-301-2/+2
|
* m6502: expose SYNC pin through devcb2 for more flexibility [R. Belmont] R. Belmont2014-01-302-0/+16
|
* Canonicalize more devcb2 (nw) R. Belmont2014-01-041-31/+28
|
* Convert VIA6522 to use DEVCB2 [smf] smf-2013-12-312-0/+6
|
* m4510.c: Added memory_translate (nw) Wilbert Pol2013-09-242-0/+11
|
* m4510.c: Fix typo (nw) Wilbert Pol2013-09-191-2/+6
|
* Assorted code fixes including fixing some m6502 related compiler output, ↵ Scott Stone2013-07-181-1/+1
| | | | adding a missing dependency for YM3526 and a text change to the "RETURN" menu line. [MAMESICK]
* Make the Python scripts line ending agnostic (fixes *IX/OS X build from ↵ R. Belmont2013-06-251-2/+2
| | | | mamedev.org source zip) [R. Belmont]
* m6502: Redo the prefetch and reset the state on debugger PC change [O. Galibert] Olivier Galibert2013-05-241-1/+8
|
* modernised the YM3526, which also required adding write lines to the 6502, ↵ smf-2013-05-122-0/+7
| | | | 6809 and z80 [smf]
* m6502: Undocumented instruction 0x80 is a 2-byte nop, not a 1-byte one [O. ↵ Olivier Galibert2013-04-124-4/+4
| | | | Galibert]
* Cleanups and version bumpmame0148u3 Miodrag Milanovic2013-04-094-110/+108
|
* (indirect),y zeropage should wrap Michaël Banaan Ananas2013-04-055-31/+31
| | | so, ff,00 instead of ff,100
* M740: Correct disassembly for seb x,A/clb x,A [R. Belmont] R. Belmont2013-03-315-39/+45
|
* M740: correct disassembly of bbs/bbc on A register. [R. Belmont] R. Belmont2013-03-306-38/+43
|
* Expanded device_t constructor with parameters for short name and source file ↵ Miodrag Milanovic2013-03-2625-62/+51
| | | | location [Miodrag Milanovic]
* fix typo (nw) R. Belmont2013-03-251-2/+2
|
* Add support for Mitsubishi M50740/50741 MCUs. [R. Belmont] R. Belmont2013-03-252-0/+654
|
* m740: fix branch target disasm for branch-on-bit instructions (nw) R. Belmont2013-03-241-1/+1
|