Commit graph

25 commits

Author SHA1 Message Date
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
notaz
08769494e8 cd sync improvements, part2 2013-08-28 02:05:21 +03:00
notaz
ae214f1c37 new timing for main and cd 2013-08-28 01:07:26 +03:00
notaz
e7b3ad1bda avoid unnecessary logging 2013-07-31 02:58:04 +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
697746df02 revive pandora and win32 builds, rm gp2x dep for linux, lots of refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@842 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-16 23:38:37 +00:00
notaz
ef090115c8 switch DMNA Silpheed hack to timeslice hack
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@747 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-08-12 14:06:40 +00:00
notaz
1cfc5cc4ce lowercasing filenames, part3
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@576 be3aeb3a-fb24-0410-a615-afba39da0efa
2008-08-28 12:36:57 +00:00
Renamed from Pico/videoport.c (Browse further)