Commit Graph

762 Commits

Author SHA1 Message Date
Angelo Salese
da0ff019f0 Fixed cart loading 2013-03-21 00:29:12 +00:00
Fabio Priuli
88162e1128 (MESS) megadriv: fixed support of SMD files (those with 512k header), broken
by the recent developments. [Fabio Priuli]

Thanks goes to Carl for providing test cases.
As long as supporting these legacy formats remains easy, I see no reason not to ;)
2013-03-20 13:42:36 +00:00
Miodrag Milanovic
9ec92e573e removed devhelpr.h and trampolines in half modern devices,also southbridge also use am9517a device now (no whatsnew) 2013-03-20 12:04:38 +00:00
Oliver Stöneberg
69fe7975db (MESS) restored apollo_kbd.h changes (nw) 2013-03-20 07:11:41 +00:00
Robbbert
11af8c2b3b fixed compile error from r21972 2013-03-20 07:09:25 +00:00
Oliver Stöneberg
d0218ab80a (MESS) fixed apollo_kbd.c compilation (nw) 2013-03-20 07:09:20 +00:00
Fabio Priuli
fad3b74c73 (MESS) saturn: added missing mem_mask and removed direct access to the cart device. nw. 2013-03-20 06:07:22 +00:00
Fabio Priuli
34e7258077 (MESS) adding a bunch of mem_masks. nw. 2013-03-20 05:56:34 +00:00
Oliver Stöneberg
03379e4ab6 (MESS) fixed clang 3.2 warnings about unused private fields (nw) 2013-03-20 00:31:11 +00:00
Miodrag Milanovic
a08ae67178 run latest srcclean on rest of files (nw) 2013-03-19 11:39:56 +00:00
Fabio Priuli
7c2cc2abc7 nw 2013-03-19 11:36:19 +00:00
Fabio Priuli
5abd7173ff (MESS) saturn: converted carts to be slot devices and enabled battery
RAM carts support [Fabio Priuli]
2013-03-19 11:13:46 +00:00
Miodrag Milanovic
0e1f5ad25b Cleanups and version bump 2013-03-19 07:22:20 +00:00
Fabio Priuli
80a6e156dc fixed repeated descriptions. nw. 2013-03-18 16:42:59 +00:00
Fabio Priuli
e145f75929 added missing pcbs. nw. 2013-03-18 16:40:48 +00:00
Fabio Priuli
7923655446 (MESS) megadriv.c: added support for reset-base Codemaster 2-in-1 cart and documented even more carts. nw. 2013-03-18 12:49:02 +00:00
Angelo Salese
2da4d7f317 Fixed I2C for Mega Drive, NBA Jam TE is still broken due of a mem_mask issue (slot code thinks it's always a word access, but it actually isn't most of the time) 2013-03-18 04:06:17 +00:00
Fabio Priuli
7b63c12a73 tiny speed recover... nw. 2013-03-16 10:45:47 +00:00
Fabio Priuli
6bc535e12d (MESS) snes.c: added support in snes and snespal for loading from fullpath
DSPx and ST01x games missing the DSP data, i.e. the commonly available 
   dumps, without using clone systems (softlists had no problems with these 
   games because the DSP data come from the softlist romset) [Fabio Priuli]


out of whatsnew: many thanks to Arbee for suggesting device roms instead of a clone
system bios for addon dumps. it turned out there was a clean way to avoid conflicts 
between loading DSP data from the softlist romset and loading DSP data from the 
device romset, so we don't need snes_add and snesp_add clones anymore.
2013-03-16 09:36:02 +00:00
Angelo Salese
41a4ac672c Added mahjong panel support to Famicom 2013-03-15 14:44:00 +00:00
Fabio Priuli
3e9c03874e minor cleanup. nw. 2013-03-15 09:16:10 +00:00
Fabio Priuli
16d68e7fbb (MESS) snes.c: major overhaul of cart and add-on handling [Fabio Priuli]
- updated carts to be slot devices
  - simplified loading and bankswitch mechanism
  - removed drivers snessfx and snespsfx: SuperFX/GSU games can now 
    be loaded in snes and snespal
  - removed drivers snesdsp and snespdsp: NEC DSPx games can now 
    be loaded in snes and snespal from softlist
  - removed drivers snesst10 and snesst11: Seta DSP games can now 
    be loaded in snes and snespal from softlist
  - removed driver snesst: when you load Sufami Turbo, two more cart slots 
    (-cart2 and -cart3) become available to load ST carts
  - added preliminary support for games with BS-X slots: when you load 
    one of these, a -cart2 slot becomes available to load a 8MB memory pack
    (only a few of these work at the moment, e.g. Same Game)
  - added support for loading DSPx games with DSP dump appended at the 
    end of the .sfc file
  - added two "legacy" drivers snes_add and snesp_add containing the 
    DSP dumps in the bios, to allow loading of old .sfc dumps missing the DSP
    content (these drivers are of course marked as GAME_UNOFFICIAL)


out of whatsnew: 
- I have removed the DSP1B dump from NSS, because I plan to update NSS
to use slot devices as well and that will cover everything needed by SMK, if we 
ever find its NSS release and dump it
- Also, I will take care of fixing snes entries in messnew before u2, because 
part of this set of changes supersede the log for 21546 (e.g. no more snesnew
or snespnew wip drivers)
2013-03-15 09:13:49 +00:00
Fabio Priuli
ca5a487376 (MESS) snes: fixed snesst10 and (partially) snesst11. nw.
these drivers will be removed very soon, but it's better to have these
with CPU running for future comparisons and possible regression tracking.
2013-03-15 07:15:37 +00:00
R. Belmont
bb99d57b03 (MESS) 3c505: fix typo that broke TCP [Hans Ostermeyer] 2013-03-15 01:12:50 +00:00
Fabio Priuli
3031750386 this requires some more thinking too... nw. 2013-03-14 22:34:58 +00:00
Fabio Priuli
02f7747023 and this requires some more thinking... nw. 2013-03-14 14:43:01 +00:00
Fabio Priuli
d2536ab139 (MESS) simplified handling of must_be_loaded for md slots. nw. 2013-03-14 14:38:18 +00:00
Fabio Priuli
d2d11bc7e5 updated sgb_hack setup to avoid external access to m_cart. nw. 2013-03-14 14:17:12 +00:00
Fabio Priuli
19d98540e7 reduced direct accesses to cart devices (systems should eventually only interact with the cart slot devices). nw. 2013-03-14 13:20:52 +00:00
Fabio Priuli
1999097a54 fixed header detection when loading from fullpath in snesnew. nw. 2013-03-14 06:44:15 +00:00
Oliver Stöneberg
350a503af8 (MESS) fixed uninitialized memory in src/mess/machine/megasvp.c (nw) 2013-03-13 15:52:29 +00:00
Fabio Priuli
b62b0f7ab1 (MESS) snes: better support for Korean Super 20 in 1. Now games 15-20 work. nw. 2013-03-13 15:30:59 +00:00
Fabio Priuli
e942b951fc (MESS) snes.c: backup of minor work on SPC7110 RTC. still not enough to pass test in Tengai Makyou. nw. 2013-03-13 08:07:31 +00:00
Fabio Priuli
e4e14a06b2 (MESS) snes.c: misc work on pirate carts. [Fabio Priuli]
- added support for Korean Super 20 Collection multigame cart, even if a few games 
               still have glitches.
               - added support for bankswitch mechanism used in a few pirate multigame carts.
               - added support for protection used by Tekken 2 and Street Fighter Alpha EX, based 
               on notes by d4s and nocash.

(MESS) snes.xml: added a few pirate multigame carts. Most of these are incomplete dumps, 
               so redumps are needed to promote them to working state, but their existence is now
               at least documented. [Fabio Priuli]


out of whatsnew: I also have fixed sram issue from fullpath in snesnew driver, due to a silly copy&paste mistake.
2013-03-13 08:05:41 +00:00
Wilbert Pol
fe3e4d8640 315_5124.c: Improved triggering of IRQs. [Enik Land]
(MESS) sms.c:  [Enik Land]
- Fixed master clock speed for PAL machines.
- Improved hcount handling resulting in better results from
  Flubba's VDP timing checks.
2013-03-11 19:28:59 +00:00
Miodrag Milanovic
0d71457a82 direct update handler is not being used in snes, therefore removed together with snes_ram variable (nw) 2013-03-11 09:17:39 +00:00
Fabio Priuli
d0590343a1 fixed regression from yesterday in snesnew. nw. 2013-03-11 07:44:33 +00:00
Fabio Priuli
658569ea88 (MESS) snes: legacy code for CX4 is better than no code at all... nw 2013-03-11 06:45:32 +00:00
cracyc
499bed06cd (mess) dp8390: packet must be at least 60 bytes (nw) 2013-03-11 01:30:20 +00:00
Fabio Priuli
4f6c20fff8 (MESS) snes: Added support for DSP-1 games with ROM larger than 1MB. nw. 2013-03-10 18:46:03 +00:00
Fabio Priuli
1e94e03b78 (MESS) snes: more accurate mapping of the seta DSP chip for snesnew. nw 2013-03-10 18:24:39 +00:00
cracyc
fc45da8cbb (mess) ne2000: clarify IRQ2 is also IRQ9 (nw) 2013-03-10 14:02:51 +00:00
Nathan Woods
ab03c9fe1e [COCO] Cleanups/modernization to cartridge slot code (nw) 2013-03-10 14:02:22 +00:00
Nathan Woods
ebf4c10b31 [COCO] Fixed a degenerate scenario that could cause MESS to crash with a stack
overflow when reading the floating bus.
2013-03-10 13:44:37 +00:00
Nathan Woods
84e0703a98 Minor cleanups (nw) 2013-03-10 13:29:09 +00:00
Fabio Priuli
95ff913c52 this had to remain commented out because wrong with current rtc handling, sorry for clang warning 2013-03-10 10:16:26 +00:00
Oliver Stöneberg
192ed8fe18 (MESS) fixed clang compiler warning (nw) 2013-03-10 10:04:30 +00:00
Fabio Priuli
2eab9d0485 (MESS) misc slot cleanups. nw. 2013-03-10 09:43:17 +00:00
cracyc
43777dadb3 (mess) ne1000, ne2000: Let's pick an IRQ (nw) 2013-03-09 22:08:38 +00:00
Oliver Stöneberg
41cd535195 [MT05109] fixed amstrad plus out of line drawing [Oliver Stöneberg] 2013-03-09 17:40:54 +00:00
Oliver Stöneberg
0c69058bb1 (MESS) fixed uninitialized members in src/mess/machine/rx01.c (nw) 2013-03-09 08:58:42 +00:00
Fabio Priuli
1078e3298f a last cleanup. nw. 2013-03-09 08:30:35 +00:00
Fabio Priuli
dd9834927c got rid of a redundant variable. nw. 2013-03-09 08:25:27 +00:00
Oliver Stöneberg
937ed68e04 (MESS) fixed uninitialized memory in src/mess/machine/mz700.c (nw) 2013-03-09 08:24:24 +00:00
Fabio Priuli
729f7d9378 ops. nw. 2013-03-09 08:11:28 +00:00
Fabio Priuli
19de78722b more of the same. nw. 2013-03-09 07:52:57 +00:00
Oliver Stöneberg
4e8186e843 (MESS) fixyed uninitialized member in src/mess/machine/ti99/datamux.c (nw) 2013-03-09 07:52:21 +00:00
Fabio Priuli
ad66e4521e another minor cleanup. nw. 2013-03-09 07:46:16 +00:00
Fabio Priuli
c17d9153d6 minor cleanup. nw. 2013-03-09 07:20:25 +00:00
R. Belmont
b47a64b4e0 (nw) 2013-03-09 04:29:28 +00:00
R. Belmont
ad3e5a46c6 (nw) 2013-03-09 04:27:12 +00:00
R. Belmont
3d797d3509 (nw) 2013-03-09 04:18:42 +00:00
R. Belmont
06fe25c262 Missed one, plus OS X (nw) 2013-03-09 04:09:45 +00:00
R. Belmont
96427263e2 (MESS) Apollo updates: [Hans Ostermeyer]
* 3c505: fixed rare race conditions (between command response PCPs and receive packet PCPs)
   * receive command PCP data is now saved in m_rcv_response until receive occurs 
   * improved end of command recognition with set_command_pending
* 3c505: using now portable byte order functions from endian.h (lsb_first -> htole16)
* 3c505: implemented CMD_CONFIGURE_82586 (to skip broadcast and multicast ethernet packets)
* struct pcb_struct is now packed to correct size (byte packing)
* added pcb_struct m_rcv_response as a one element receive PCB queue
* provide ready signal for the floppy controller
* improved mouse behaviour (especially if mouse is not grabbed)
* delay response for boot_$volun (find partner node), so that real Apollo Workstations will be prefered as diskless boot server
2013-03-09 04:05:14 +00:00
Oliver Stöneberg
4bbf6267e5 ficed several occurances of uninitialized memory (nw) 2013-03-09 01:01:50 +00:00
Oliver Stöneberg
e67a5a593b (MESS) fixed uninitialized memory in src/mess/machine/i82371sb.c (nw) 2013-03-09 00:25:18 +00:00
Oliver Stöneberg
8531a3311e (MESS) fixed uninitialized memory in src/mess/machine/a2eext80col.c (nw) 2013-03-09 00:13:06 +00:00
Oliver Stöneberg
d69742ed94 (MESS) fixed uninitialized member in src/mess/machine/zx8302.c (nw) 2013-03-09 00:09:04 +00:00
Oliver Stöneberg
2a3f68dad4 (MESS) fixed uninitialized members in src/mess/machine/cococart.c (nw) 2013-03-08 16:46:23 +00:00
Fabio Priuli
0bd10165c2 readded missing logging functions. nw.
(sorry for broken compile in non-MacOSX, but unused variables which are initialized do not trigger any warning in Apple gcc...)
2013-03-08 11:18:37 +00:00
Miodrag Milanovic
50246e38a6 compile fix (nw) 2013-03-08 10:47:33 +00:00
Fabio Priuli
4b8d109218 another small cleanup. nw. 2013-03-08 10:40:53 +00:00
Fabio Priuli
6452f2c685 greatly simplified mapping and access for cart ROM. given the massive internal changes, please test once again
your favorite SNES games against previous code (or against latest release) and report regressions. thanks.
2013-03-08 10:01:28 +00:00
Curt Coder
389ee4558f Reverted MC68328 changes. (nw) 2013-03-07 19:12:27 +00:00
Fabio Priuli
611efeb844 minor logging fixes. 2013-03-07 19:07:37 +00:00
Curt Coder
76ac08a0b8 Moved some files to where they belong. (nw) 2013-03-07 15:28:25 +00:00
Fabio Priuli
7e0b63efa9 split ROM/RAM accesses to cart in SNES slot implementation in order to simplify the code. nw. 2013-03-07 11:09:57 +00:00
Oliver Stöneberg
a4e80715da (MESS) fixed uninitialized memory in src/mess/machine/c2040.c (nw) 2013-03-07 08:38:36 +00:00
Oliver Stöneberg
640417e016 (MESS) fixed uninitialized members in src/mess/machine/egret.c (nw) 2013-03-07 08:24:48 +00:00
Andrew Gardner
039aa6d9d7 Modernized wswan, special, and svision devices. [Andrew Gardner] 2013-03-07 04:30:56 +00:00
Oliver Stöneberg
4eb9370149 (MESS) fixed uninitialized member in src/mess/machine/ecb_grip.c (nw) 2013-03-06 22:44:44 +00:00
Oliver Stöneberg
866dff3462 (MESS) fixed uninitialized member in src/mess/machine/esqvfd.c (nw) 2013-03-06 20:52:21 +00:00
Fabio Priuli
75f1fe0c71 whops. forgot this. nw. 2013-03-06 15:54:50 +00:00
Fabio Priuli
226e33c4d0 few more cleanups. nw. 2013-03-06 14:01:23 +00:00
Fabio Priuli
fe5b7b2b96 (MESS) snes.c: updated the driver to only save the real amount of SRAM present on the cart. This means
that old .nv files won't be directly compatible with newer exe, but you shall be able to keep your saves 
    by backing them up and taking the first block of the correct size (e.g. if you take the first 8KB block of 
    your old .nv for Super Metroid it should work fine with the new exe). At the same time, MESS should be 
    now compatible with saves taken in other emulators. [Fabio Priuli]
2013-03-06 13:08:54 +00:00
Fabio Priuli
da210cf4ab minor cleanup. nw. 2013-03-06 12:44:03 +00:00
Andrew Gardner
c64c35d64a Modernized the beep and taitosnd devices. [Andrew Gardner] 2013-03-06 04:33:54 +00:00
Fabio Priuli
f27ca23d59 another small cleanup. nw. 2013-03-05 20:02:31 +00:00
Curt Coder
2f864eae54 (MESS) cbm8296: WIP. (nw) 2013-03-05 19:55:47 +00:00
Fabio Priuli
4f56eb9628 minor cleanup. nw. 2013-03-05 17:45:11 +00:00
Fabio Priuli
aa2b3bb471 srccleaned + minor fixes. nw. 2013-03-05 12:01:47 +00:00
Fabio Priuli
0694bfd717 moved snes add-on chips emulation to src/mess/, at last. 2013-03-05 11:01:22 +00:00
Fabio Priuli
7d59f1d7e9 removed snesbsx driver: it never worked, and satellaview support will be done through slot devices. nw. 2013-03-05 09:26:25 +00:00
Fabio Priuli
56ad9c1a60 snes: shuffling some code around (part 6 and last). nw. 2013-03-05 08:01:06 +00:00
Angelo Salese
3b0c740411 Fixed janjans2, don't think the game should run in 336 x 239, will look at the CRTC sooner or later ... 2013-03-04 02:50:15 +00:00
Fabio Priuli
093b614457 minor fix. nw. 2013-03-03 15:46:51 +00:00
Fabio Priuli
969074c41e (MESS) snes.c: several updates to cart handling [Fabio Priuli]
- moved Sufami Turbo and BSX carts to separate lists
  - added two new drivers snesnew and snespnew, using slot devices for carts
  - added emulation for DSP1/4, ST-010/011, S-DD1, SPC7110, SuperFX, BS-X 
    and Sufami Turbo as slot devices
  - added emulation for the protection device used in some pirate carts


out of whatsnew. there are one or two (possibly stupid) bugs in the new drivers 
causing glitches in several games (e.g. SameGame, or F1 ROC 2) which prevent
us from removing the fake driver clones with add-on CPUs. if anyone is willing to 
help to trace them, you're all welcome.
2013-03-03 13:09:54 +00:00
cracyc
36201eba9d dinetwork: remove mcast_chk and check for multicast in recv (nw)
netdev_tap: do mac filtering (nw)
2013-03-02 03:29:47 +00:00
Andrew Gardner
6e8646ac29 Modernized gomoku, astrocade, saa1099, st0016, and c140 sound devices. [Andrew Gardner] 2013-03-01 15:56:10 +00:00
cracyc
97e41cb573 [mess] add altstatus reset to atapi cd (nw) 2013-03-01 15:41:41 +00:00