Commit graph

57 commits

Author SHA1 Message Date
kub
df18e715ac vdp, some finetuning, cleanup 2021-06-08 22:26:24 +02:00
kub
1886ac5f30 VDP DMA/CPU access timing improvements 2021-05-27 21:30:45 +02:00
kub
4d4bea1c5f vdp fifo, adjust latency delay 2021-03-23 22:39:17 +01:00
kub
4cc0fcaf15 fixes and improvements for type issues, part 3 2021-02-06 01:14:07 +01:00
kub
f821bb7011 core, structural cleanup, fixes and improvements for type issues #2 2021-01-01 12:44:02 +01:00
kub
15eed40550 core, fixes and improvements for type issues 2020-12-29 11:27:11 +01:00
kub
7c5227a490 vdp, fix for loading saved gfx state 2020-12-14 21:12:25 +01:00
kub
dda72beae4 vdp, fix for 68k access timing 2020-12-12 17:29:31 +01:00
kub
1613ec6c30 vdp, kludge for z80 access 2020-12-12 17:27:30 +01:00
kub
3618d636d2 vdp rendering, fix SAT caching for high addresses >64KB 2020-10-07 20:12:23 +02:00
kub
e721f80136 vdp, fix for gfx save/load menu bg 2020-09-21 21:02:51 +02:00
kub
dc56ca2ede vdp fifo, tentative fix for hanging DMA 2020-09-18 00:25:14 +02:00
kub
bb83412c51 vdp fifo, DMA bugfix 2020-06-21 22:32:37 +02:00
kub
2a2e0f890a vdp fifo, bugfix 2020-04-22 21:51:35 +02:00
kub
86198e034b vdp DMA optimizations 2020-04-02 20:18:39 +02:00
kub
02138162c4 vdp fifo speed optimization 2020-03-27 19:32:45 +01: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
20fafa7127 hvcounter table resolution reduced 2020-03-14 19:30:28 +01:00
kub
b6bdccb747 vdp, some small improvements 2020-03-03 20:32:38 +01:00
kub
49790e265a vdp, tentative fix for save/load compatibility 2020-02-27 21:31:04 +01:00
kub
3c6da92ba0 vdp fifo, refined timing 2020-02-26 20:27:32 +01:00
kub
e72bc9099c vdp sprite rendering fix 2020-02-23 20:15:07 +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
987f079749 vdp fifo: kludge for DMA fill interrupted by CPU 2020-02-08 23:42:34 +01:00
kub
17bd69adc6 revised VDP fifo implementation 2020-02-07 22:14:34 +01:00
kub
e1e7d1ed1c improved VRAM128K support (overdrive 2) 2020-01-26 20:48:25 +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
43e1401008 emulator timing fixes, VDP DMA fixes, improved DAC audio 2020-01-14 23:00:44 +01:00
kub
b1a047c926 reworked palette and buffer handling due to some 32X bugs 2019-07-30 16:34:40 +02:00
kub
2c479106af arm asm syntax fixes for open2x 2019-07-30 16:34:40 +02:00
notaz
310d973b9e don't spam DMA message
VR US triggers this
2018-01-21 19:03:51 +02:00
notaz
eef77d7a8b handle 'bad' dma better 2017-10-21 00:02:38 +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
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
334f00e24e vdp timing hacks 2017-10-12 02:56:09 +03:00
notaz
ebd70cb5d9 fix various logging issues 2017-10-12 02:54:46 +03:00
notaz
75b84e4b7c slightly better z80 vdp reads 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
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
ea38612fad eliminate texrels (wip) 2017-08-06 18:18:29 +03:00
notaz
a93a80deda cd: integrate new gfx code 2013-09-23 02:11:26 +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