Commit graph

130 commits

Author SHA1 Message Date
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
notaz
fa8fb75445 handle 32x+cd 2013-09-16 02:03:29 +03:00
notaz
ecc8036ee2 handle dbra wait loops, update cyclone 2013-09-09 03:59:16 +03:00
notaz
a4dfdb6de1 general timing hacks 2013-09-06 02:40:37 +03:00
notaz
53f948c901 make hcnt code friendly with split timeslices
values need to be fixed, they're wrong, wrong wrong...
2013-09-03 02:52:07 +03:00
notaz
9a1f192a14 Merge branch 'dev' 2013-08-31 21:10:56 +03:00
notaz
835122bc0c sms: add pause support 2013-08-31 20:35:52 +03:00
notaz
4fb435550b cd: fix busreq and reset 2013-08-29 03:55:59 +03:00
notaz
ba6e8bfd4b cd: clean up dmna handling, stuff 2013-08-28 03:56:45 +03:00
notaz
89dbbf2b2f rename cd/pico.c -> cd/mcd.c 2013-08-28 02:24:46 +03:00
notaz
08769494e8 cd sync improvements, part2 2013-08-28 02:05:21 +03:00
notaz
bc3c13d329 cd sync improvements 2013-08-28 01:51:29 +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
8ce9c3a782 32x: pwm pop reduction hacks 2013-08-18 22:34:53 +03:00