Commit graph

194 commits

Author SHA1 Message Date
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
notaz
e0bcb7a90d some support for vdp debug reg 2017-10-03 00:41:13 +03:00
notaz
b71cbbf705 some support for 128k mode 2017-10-03 00:41:10 +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
98a2714234 eliminate texrels, part 3 2017-08-06 22:25:26 +03:00
notaz
99bdfd31b8 eliminate texrels (wip2) 2017-08-06 19:23:20 +03:00
notaz
ea38612fad eliminate texrels (wip) 2017-08-06 18:18:29 +03:00
notaz
fbba0ff6a0 make memcpy32/memset32 take void * 2015-08-29 02:37:23 +03:00
notaz
f47d0a2898 remove regs union due to compiler issues
GP2X toolchains are padding the unions no matter what :(
2013-10-12 03:21:41 +03:00
notaz
6901d0e45d fix yet another sync issue.. 2013-10-09 02:54:52 +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
a6523294e2 cd: fix cycle overflow issue 2013-10-04 23:24:36 +03:00
notaz
021e47b375 cd: pcm: tune addr reload
fahrenheit..
2013-09-23 21:31:35 +03:00
notaz
a93a80deda cd: integrate new gfx code 2013-09-23 02:11:26 +03:00
notaz
33be04ca5f cd: rewrite pcm 2013-09-23 02:11:26 +03:00
notaz
d0132772f7 cd: better cd change handling, perhaps? 2013-09-18 01:32:09 +03:00