Commit graph

22 commits

Author SHA1 Message Date
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
7669591e08 famec: eliminate global context ptr
saves like 25-35K of .text

current compile resource usage on i5-6600K:
            cpu  mem
gcc 5.4.0:  17.0 1.1g
clang 3.8:  1686 2.3g

FAMEC_NO_GOTOS:
gcc 5.4.0:   8.4 0.4g
clang 3.8:  20.0 0.15g
vs2008/O2: ~1800 ?
vs2008/O1:  ~720 ?
2017-10-15 03:26:48 +03:00
notaz
12f23dac6f famec: split fm68k_emulate
in FAMEC_NO_GOTOS mode at least
2017-10-15 00:45:55 +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
ebd70cb5d9 fix various logging issues 2017-10-12 02:54:46 +03:00
notaz
8f80007bcc fix underalloc 2017-10-07 01:36:59 +03:00
notaz
2b15cea82e workaround idledet breaking op test 2017-09-20 23:47:09 +03:00
notaz
a39743e315 musashi: don't generate unneeded handlers
at least move16 was incorrectly hooked up
2017-09-20 23:47:09 +03:00
notaz
99ade2ee2f famec: remove unused dual code 2013-09-24 03:57:43 +03:00
notaz
c7fd7bb8b7 minor formatting changes 2013-09-06 03:37:05 +03:00
notaz
ae214f1c37 new timing for main and cd 2013-08-28 01:07:26 +03:00
notaz
0219d379de fixes for idle and other stuff 2013-08-16 01:14:38 +03:00
notaz
12da51c27a some new cpu debug code 2013-08-10 17:57:54 +03:00
notaz
6a98f03eef save event times to savestates 2013-07-10 02:10:47 +03:00
notaz
d4d626658a add configure, revive pnd build, unify/refactor things 2013-06-26 03:07:08 +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
b4db550e41 32x and sms savestates. Core-independent z80 state. SS bugfixing/refactoring.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@868 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-27 16:30:41 +00:00
notaz
488c0bbf55 use mem mapping for idle loop det
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@829 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-11-04 21:10:21 +00:00
notaz
5e89f0f5ae Cyclone interface for new mem system, minor tweaks
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@779 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-09-14 20:35:30 +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/sek.c (Browse further)