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
notaz
7612bf90be
re-import all libretro code from it's fork
...
Verbatim copy from https://github.com/libretro/picodrive/ commit
9ae88ef15ff00cacc3877c7ecc13b0092bab50b8 , so look there for the history
of libretro specific changes. Unfortunately there is too much noise and
divergence to merge this in a proper way.
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
84162df45c
build: drop function-sections
...
this has provoked people to do some horrible ifdeffery in libretro fork,
while the benefit is minimal, if any.
2017-10-14 00:53:09 +03:00
notaz
0bc8955485
release 1.92
2017-10-14 00:53:09 +03:00
notaz
cf07a88d6e
fix cell scroll drawing
2017-10-14 00:53:08 +03:00
notaz
c041308933
fame: fix roxr
...
also take interrupts on exit, like other cores do
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
e015ad3c1b
update libpicofe
2017-10-14 00:53:08 +03:00
notaz
2b46e6c105
fix t574 reset
2017-10-14 00:53:08 +03:00
notaz
88fd63ad10
split memories away from Pico
...
saves ~3k of code on ARM because Pico no longer crosses ldr limit
2017-10-14 00:53:08 +03:00
notaz
e64886365d
drop legacy save support
...
the format has been changed like 10 years ago
2017-10-14 00:53:08 +03:00
notaz
4aedc59300
drop unmaintained mips code
...
can always be brought back if anyone has proof it's faster
2017-10-12 02:56:11 +03:00
notaz
334f00e24e
vdp timing hacks
2017-10-12 02:56:09 +03:00
notaz
3162a7104c
adjust z80 timing a bit
2017-10-12 02:54:46 +03:00
notaz
ebd70cb5d9
fix various logging issues
2017-10-12 02:54:46 +03:00
notaz
9db6a54485
menu: add reset hotkey
2017-10-12 02:54:46 +03:00
notaz
e42a47e208
some more risky timing changes
...
But should be closer to the real thing.
Let's see what this will break...
2017-10-12 02:54:41 +03:00
notaz
8f80007bcc
fix underalloc
2017-10-07 01:36:59 +03:00
notaz
d1b8bcc634
some poor timing improvement attempts
2017-10-07 01:36:59 +03:00
notaz
75b84e4b7c
slightly better z80 vdp reads
2017-10-07 01:36:59 +03:00
notaz
12f89605e3
improve fast forward for cd
...
still broken, but a little bit better
2017-10-07 01:36:59 +03:00
notaz
5d638db094
handle frequent psg updates
2017-10-07 01:36:59 +03:00
notaz
5103774f6d
sn76496: simplify writes
2017-10-07 01:36:59 +03:00
notaz
4f2cdbf551
clean up dac code a bit
2017-10-07 01:36:59 +03:00
notaz
e23f4494fb
state: setup banks before CPUs on load
2017-10-07 01:36:59 +03:00
notaz
151df6adf9
simple ym2612 fixes
2017-10-07 01:36:59 +03:00
notaz
6d28fb5023
fix ym2612 asm, rework EG
...
this should be split, but I'm lazy
EG saves ~900 bytes
2017-10-07 01:36:59 +03:00
notaz
e0bcb7a90d
some support for vdp debug reg
2017-10-03 00:41:13 +03:00
notaz
1a08dec0e0
simplify tile drawing
...
cuts away 1126 bytes of code on x86
2017-10-03 00:41:13 +03:00
notaz
eced019098
scroll size improvement
2017-10-03 00:41:13 +03:00
notaz
b71cbbf705
some support for 128k mode
2017-10-03 00:41:10 +03:00
notaz
b0e08dff9a
allow limited z80 vdp access
...
lame and totally wrong timing
2017-10-03 00:40:37 +03:00
notaz
40d22a8e76
recognize the MED ssf2 header
2017-10-03 00:40:37 +03:00
notaz
f508065409
relax the bank check
...
there is 512K padding on load
2017-10-03 00:40:37 +03:00
notaz
c6b118c0ad
fame: always update the fetch map
...
should just get rid of that thing, it's annoying
2017-10-03 00:40:37 +03:00
notaz
6d8782a1f9
don't miss the sprite check
...
DrawAllSprites depends on HighLnSpr, so prepare in DrawAllSprites was a
bad idea as lots of things may have changed
2017-10-03 00:40:37 +03:00
notaz
0c7d1ba332
some dma improvements
...
no idea if anything needs this, shouldn't hurt either
2017-10-03 00:40:21 +03:00
notaz
7feeb88062
make dma honour banking
...
I was sure I had it done before, turns out not.
2017-09-30 20:53:11 +03:00
notaz
6a47c2d4fb
integrate SPI EEPROM
2017-09-30 20:53:11 +03:00
notaz
8c2137f11f
import SPI EEPROM from Genesis-Plus-GX
...
Author: EkeEke
2017-09-30 20:53:11 +03:00
notaz
9725370321
update libpicofe
2017-09-30 20:53:11 +03:00
notaz
1dd0871f20
memory: allow SRAM word writes
...
Was allowing both low and high byte writes by byte, but not word,
which was stupid.
2017-09-20 23:47:09 +03:00