314 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
3bc15e631d Implement the Palette for PS2 2019-02-17 22:37:59 +01:00
Francisco Javier Trujillo Mata
960435a80a Fix Color correction for 32x 2019-02-03 14:19:09 +01:00
Francisco Javier Trujillo Mata
7016b8125a Fix Color correction for MasterSystem 2019-02-03 13:31:06 +01:00
Francisco Javier Trujillo Mata
b98041b145 Apply proper color correction 2019-02-02 01:46:42 +01:00
Francisco Javier Trujillo Mata
baacd5e1b6 Make compile libretro for PS2 2019-02-02 00:02:20 +01:00
jdgleaver
b61ff4888c Ensure low pass audio filter is applied correctly when mono output is selected 2018-11-26 10:55:08 +00:00
jdgleaver
f4007769c2 Add optional low pass audio filter 2018-11-22 14:58:34 +00:00
Alberto Fustinoni
a6f7458471 Using VFS 2018-06-21 16:22:09 +09:00
notaz
1128f73bd8 fix a corner case with h-int 2018-02-22 23:10:45 +01:00
notaz
b4691dd2d0 fix DrawSpritesHiAS 2018-02-22 23:10:25 +01:00
notaz
16b87d4f5a add a header fixup 2018-02-22 23:08:49 +01:00
notaz
e4cac55cb6 sms: improve irq handling 2018-02-22 23:08:44 +01:00
notaz
f95f951d22 32x: implement standard/ssf2 mapper, part 2
Turns out wasn't actually hooked in.
2018-02-22 23:08:37 +01:00
notaz
c6fad448ae don't spam DMA message
VR US triggers this
2018-01-22 19:06:02 +01:00
notaz
6b8652a8a2 32x: implement standard/ssf2 mapper 2018-01-22 19:05:58 +01:00
twinaphex
2160c24574 Merge https://github.com/notaz/picodrive 2018-01-08 12:43:46 +01:00
notaz
48c9e01be8 improve 64bit portability
for win64 mostly
2018-01-06 21:29:59 +02:00
twinaphex
5e08d51b4b Merge https://github.com/notaz/picodrive 2018-01-02 17:43:28 +01:00
notaz
91be5ebd10 don't do idle log - it's not useful 2017-12-03 18:23:27 +02:00
notaz
7e056c853a stop IdleDet from affecting save states 2017-12-02 00:10:08 +02:00
notaz
eefdb8a559 32x: improve 68k bios handling 2017-11-29 02:31:19 +02:00
notaz
6c2041fea0 32x: add other timing hacks
For sdram sync, like NJTE.
Still bad, but don't have a better solution for now (or ever?).
2017-11-28 02:25:06 +02:00
notaz
31fbc691a1 32x: remove some comm hacks
they can (and do) easily break things
2017-11-28 02:25:06 +02:00
twinaphex
df23f00306 Buildfox for PSP libretro 2017-11-07 01:30:40 +01:00
notaz
6311a3baf5 move more globals to PicoInterface
similar reasons as before
2017-10-22 02:13:46 +03:00
notaz
075672bf9f sms: do psg like md does 2017-10-22 02:13:36 +03:00
notaz
eef77d7a8b handle 'bad' dma better 2017-10-21 00:02:38 +03:00
notaz
35f2b65ef7 add 68k overclocking support 2017-10-20 12:21:09 +03:00
notaz
93f9619ed8 rearrange globals
scripted find/replace
gives slightly better code on ARM, less unnecessary asm,
~400 bytes saved
2017-10-20 12:21:09 +03:00
notaz
eaa147519f sms: more md-consistent drawing 2017-10-17 01:01:26 +03:00
notaz
1c25c32c11 sms: improve sr a bit 2017-10-17 00:53:35 +03:00
notaz
7669591e08 famec: eliminate global context ptr
saves like 25-35K of .text

current compile resource usage on i5-6600K:
            cpu  mem
gcc 5.4.0:  17.0 1.1g
clang 3.8:  1686 2.3g

FAMEC_NO_GOTOS:
gcc 5.4.0:   8.4 0.4g
clang 3.8:  20.0 0.15g
vs2008/O2: ~1800 ?
vs2008/O1:  ~720 ?
2017-10-15 03:26:48 +03:00
notaz
12f23dac6f famec: split fm68k_emulate
in FAMEC_NO_GOTOS mode at least
2017-10-15 00:45:55 +03:00
notaz
fdcfd32374 get rid of custom memcpy funcs
not used for anything important, just a maintenance burden
2017-10-14 21:28:36 +03:00
notaz
ba11a48115 fix clang build
yet another workaround for it...
2017-10-14 21:28:36 +03:00
notaz
24aab4da73 let it build on msvc
supposedly for the original XBox?
2017-10-14 21:28:24 +03:00
notaz
e9a11abb3c drop some unnecessary inlines
apparently somebody compiles with msvc?
2017-10-14 00:53:09 +03:00
notaz
df9251536d libretro: satisfy vita's dynarec needs in a cleaner way 2017-10-14 00:53:09 +03:00
notaz
a4fa71d4da libretro: drop sram clear
It's done by the core. If the core is missing something, core itself
needs to be fixed.
2017-10-14 00:53:09 +03:00
notaz
bce144211c some portability cleanups 2017-10-14 00:53:09 +03:00
iLag
126eb5f469 Fix remaining bugs and fix indentation 2017-10-14 00:53:09 +03:00
iLag
9a570a67ca Restore support for short GG cheats. 2017-10-14 00:53:09 +03:00
iLag
ed4a2193f7 Add support for Master System cheats.
notaz: drop wrong code (PicoWrite8_z80 are 68k functions, not for sms)
2017-10-14 00:53:09 +03:00
iLag
8655fd0462 Add support for single-line cheats and PAR codes.
notaz: include required header
2017-10-14 00:53:09 +03:00
David
9e38b1f0d6 Fix the lprintf method (libretro side)
The lprintf method used the format string instead of the buffer build
from va_list
2017-10-14 00:53:09 +03:00
notaz
65e4c57baa build: some clean ups 2017-10-14 00:53:09 +03:00
notaz
cf07a88d6e fix cell scroll drawing 2017-10-14 00:53:08 +03:00
notaz
0e4bde9b2d rework sr
note to self:

h32 0x10A .. 0x127 0x1D2 .. 0x1FF 0x000 .. 0x109
pclk      30      |      46      |      266      = 342
hbset       0x126        ...       0x009
pclk   29  |      1   +  46    +  10    |  256
mclk   290 |           570              |  2560  = 3420
68kclk 41.4            81.4               365.7 ~= 488.5

h40 0x14A .. 0x16C 0x1C9 .. 0x1FF 0x000 .. 0x149
pclk      35      |      55      |      330      = 420
hbset       0x166        ...       0x00A
pclk   28  |      7   +  55    +  11    |  319
mclk  28*8 | 7*8   4*8+314+10+(18+11)*8 | 319*8  = 3420
68kclk  32             92                 364.5 ~= 488.5
2017-10-14 00:53:08 +03:00
notaz
22814963cc some irq hacks
notes to self (derived from Nemesis):

H32: 0x10A .. 0x127 0x1D2 .. 0x1FF 0x000 0x001
pclk       30             46          1 |0x109
mclk                 770                | 2650   = 3420
68kclk              110                   378.5 ~= 488.5

H40: 0x14A .. 0x16C 0x1C9 .. 0x1FF 0x000 0x001
pclk       35             55          1
mclk     35*8       4*8+314+10+19*8     |0x149*8
                  788                   | 2632   = 3420
68kclk           112.5                    376   ~= 488.5
2017-10-14 00:53:08 +03:00
notaz
2b46e6c105 fix t574 reset 2017-10-14 00:53:08 +03:00