Commit graph

36 commits

Author SHA1 Message Date
kub
73bda1add9 core, libretro vfs support 2022-01-27 22:31:09 +00:00
kub
464b4c171b core, fix loading save state (svp, mapper) 2022-01-20 18:26:39 +00:00
kub
dfda34424a core, improve save/load (68k cycles) 2022-01-06 22:37:29 +01:00
kub
92f7a430ca libretro, improve 32x save/load for run-ahead 2022-01-03 23:36:58 +01:00
kub
2cd6dfde6f sms, fix FM state save/load 2022-01-03 23:29:31 +01:00
kub
f821bb7011 core, structural cleanup, fixes and improvements for type issues #2 2021-01-01 12:44:02 +01:00
kub
2170797544 fixes for gcc warnings wrt 64 bit platforms 2020-12-29 11:13:45 +01:00
kub
a20300bf1e fixes for memory leaks and out of bounds memory access found by ASAN or gcc -flto 2020-12-12 14:57:56 +01:00
kub
61d76999d7 Merge from libretro/master:46902e0 for repo synchronization 2020-12-05 22:39:06 +01:00
kub
e721f80136 vdp, fix for gfx save/load menu bg 2020-09-21 21:02:51 +02:00
hiroshica
a2f24bfa7b adding ym2413
squashed commits:
YM2413追加中
一通り実装したけどポートへの書き込み方が不明でまだ音が出ない
細かい修正(未テスト)
resetで初期化されるのをなんとかしたい
sound 初期化と終了を追加してみた
SN76496を参考にYM2413のアップデート方法を変更してみた
stereoフラグをアップデートサイズに変更
処理順番を整理したら音が出た
stateセーブに対応してみた
addition: Support for the Japanese Mark-III extended FM sound source unit
2020-07-28 22:04:32 +02:00
kub
39c5ec3f4c audio: fix for save/load 2020-05-06 22:58:39 +02:00
kub
daf29df963 vdp fifo, tentative fix for broken save/load 2020-02-16 14:08:48 +01:00
notaz
7e056c853a stop IdleDet from affecting save states 2017-12-02 00:10:08 +02: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
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
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
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
e23f4494fb state: setup banks before CPUs on load 2017-10-07 01:36:59 +03:00
notaz
325ee167fd use system's zlib
except for libretro
github issue #45
2017-04-17 00:50:49 +03:00
notaz
274fcc35aa cd: switch to CD drive emu code from genplus
same license, much cleaner code
2013-10-07 00:11:31 +03:00
notaz
3f23709ef3 cd: switch to CD controller code from genplus
same license, much cleaner code
using own dma code though..
2013-10-07 00:11:31 +03:00
notaz
a93a80deda cd: integrate new gfx code 2013-09-23 02:11:26 +03:00
notaz
cfae1ae179 fix array-out-of-bounds issue 2013-08-30 01:35:47 +03:00
notaz
ae214f1c37 new timing for main and cd 2013-08-28 01:07:26 +03:00
notaz
895d15121b deal with some strict aliasing issues 2013-08-20 03:20:37 +03:00
notaz
f81107f590 32x: memhandler improvements
- use consistent read tables (with write)
- use sh2 ptr instead of id
- place data_array/peri_regs in sh2 struct
2013-08-08 03:02:54 +03:00
notaz
86b38dc46d libretro: add savestate support 2013-07-31 02:18:34 +03:00
notaz
27e2627380 32x: fix savestates 2013-07-14 00:49:35 +03:00
notaz
6a98f03eef save event times to savestates 2013-07-10 02:10:47 +03:00
notaz
ed4402a7df 32x: start reworking sheduling 2013-07-09 01:44:56 +03:00
notaz
cff531af94 clarify PicoDrive's license
- PicoDrive was originally released by fDave with simple
  "free for non-commercial use / For commercial use, separate licencing
  terms must be obtained" license and I kept it in my releases.
- in 2011, fDave re-released his code (same that I used as base
  many years ago) dual licensed with GPLv2 and MAME licenses:
    https://code.google.com/p/cyclone68000/

Based on the above I now proclaim that the whole source code is licensed
under the MAME license as more elaborate form of "for non-commercial use".
If that raises any doubt, I announce that all my modifications (which
is the vast majority of code by now) is licensed under the MAME license,
as it reads in COPYING file in this commit.

This does not affect ym2612.c/sn76496.c that were MAME licensed already
from the beginning.
2013-06-26 03:07:07 +03:00
notaz
f3a57b2d6c allow compiling without 32x and sms code
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@877 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-06-02 09:44:51 +00:00
notaz
03065bb617 sms: some bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@870 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-02-11 14:04:14 +00:00
notaz
b4db550e41 32x and sms savestates. Core-independent z80 state. SS bugfixing/refactoring.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@868 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-27 16:30:41 +00:00