Commit graph

160 commits

Author SHA1 Message Date
kub
93c08696d7 libretro, build fixes 2020-07-10 23:40:35 +02:00
kub
03d5f5105c libretro, build fixes 2020-07-10 17:53:32 +02:00
kub
55c3c2b02f core, fix type issues by using stdint types 2020-07-10 09:09:52 +02:00
kub
70aecd15b0 audio: SN76496 fixes 2020-04-24 19:08:49 +02:00
kub
09b96f9940 audio: improve cycle accuracy of SN76496+YM2612 2020-04-22 21:49:48 +02:00
kub
2eb213314a sh2, optimizations to innermost run loop 2020-04-22 21:49:02 +02:00
kub
74cc7aebf6 sh2 timer optimization 2020-04-13 22:20:13 +02:00
kub
bd73e6eec0 vdp rendering, fix for CD (sprites from WORD RAM) 2020-03-27 19:22:19 +01:00
kub
c55a44a88c vdp fifo speed optimization 2020-03-14 19:52:27 +01:00
kub
787a0af9dc vdp fifo, another revision 2020-02-23 11:33:02 +01:00
kub
25be5c52b0 vdp sprite handling improvement (SAT cache) 2020-02-16 14:10:14 +01:00
kub
daf29df963 vdp fifo, tentative fix for broken save/load 2020-02-16 14:08:48 +01:00
kub
17bd69adc6 revised VDP fifo implementation 2020-02-07 22:14:34 +01:00
kub
1259ac4f60 VDP timing improvements 2020-01-26 20:46:21 +01:00
kub
5f0d224e18 sprite rendering improvements for masking and limit edge cases 2020-01-26 20:40:07 +01:00
kub
7aab476859 audio fixes for overdrive demo 2020-01-26 20:12:18 +01:00
kub
43e1401008 emulator timing fixes, VDP DMA fixes, improved DAC audio 2020-01-14 23:00:44 +01:00
kub
8ac9ab7fcb audio: added SSG-EG to YM2612, plus some timing changes for SN76496+YM2612 2020-01-08 00:49:13 +01:00
kub
52055c13b2 sh2 drc: reorganised block mgmt code, plus some small scale optimisations 2019-10-17 21:54:37 +02:00
kub
fe344bd3d8 cleanup and microoptimizations in SH2 hw handling 2019-08-31 17:37:18 +02:00
kub
346153e08e 32x DMA memory copy performance optimisation 2019-07-30 16:34:40 +02:00
kub
e43998086c polling detection: communication poll fifo to avoid comm data loss 2019-07-30 16:34:40 +02:00
kub
adf39a13f9 sh2 drc, register cache optimisations 2019-07-30 16:34:40 +02:00
kub
397ccdc6cf sh2 drc, add detection for in-memory polling 2019-07-30 16:34:40 +02:00
kub
d40a5af495 various small improvements and fixes 2019-07-30 16:34:40 +02:00
kub
f133766faa overhaul of translation cache and sh2 literals handling 2019-07-30 16:34:40 +02:00
kub
6822ba9d64 sh2 memory interface optimzations 2019-07-30 16:34:40 +02:00
kub
32feba7458 minor changes 2019-07-30 16:34:40 +02:00
kub
b1a047c926 reworked palette and buffer handling due to some 32X bugs 2019-07-30 16:34:40 +02:00
kub
2fa02d5a63 improved sh2 clock handling, bug fixing + small improvement to drc emitters 2019-07-30 16:34:40 +02:00
notaz
cf83610baa sms: improve irq handling 2018-01-27 19:41:57 +02:00
notaz
8b9dbcde38 32x: implement standard/ssf2 mapper 2018-01-21 18:57:13 +02:00
notaz
48c9e01be8 improve 64bit portability
for win64 mostly
2018-01-06 21:29:59 +02:00
notaz
91be5ebd10 don't do idle log - it's not useful 2017-12-03 18:23:27 +02:00
notaz
31fbc691a1 32x: remove some comm hacks
they can (and do) easily break things
2017-11-28 02:25:06 +02:00
notaz
6311a3baf5 move more globals to PicoInterface
similar reasons as before
2017-10-22 02:13:46 +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
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
bce144211c some portability cleanups 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
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
3162a7104c adjust z80 timing a bit 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
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
5d638db094 handle frequent psg updates 2017-10-07 01:36:59 +03:00
notaz
4f2cdbf551 clean up dac code a bit 2017-10-07 01:36:59 +03:00