Commit graph

36 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
df9251536d libretro: satisfy vita's dynarec needs in a cleaner way 2017-10-14 00:53:09 +03:00
notaz
bce144211c some portability cleanups 2017-10-14 00:53:09 +03:00
notaz
0185b67736 allow to disable SH2 dynarec on runtime 2013-08-31 20:48:39 +03:00
notaz
f81107f590 32x: memhandler improvements
- use consistent read tables (with write)
- use sh2 ptr instead of id
- place data_array/peri_regs in sh2 struct
2013-08-08 03:02:54 +03:00
notaz
570dde615d drc: do a test on startup
saves time for porting help
2013-07-29 04:47:07 +03:00
notaz
6d7979571d drc: debug improvements 2013-07-23 01:45:21 +03:00
notaz
bf092a3631 drc: split disassembly to separate pass
allows easier analysis
2013-07-20 20:33:44 +03:00
notaz
228ee974aa drc: rework block tracking and lookup
- all 3 caches have their own hash tables (for now?)
- block entry points have separate structures from blocks,
  so invalidation can now properly be done
2013-07-18 02:37:08 +03:00
notaz
c25d78eec1 drc: some portability fixes 2013-06-29 01:39:17 +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
a736af3ecf bugfixes related to mmap usage for ROM
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@867 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-27 15:16:25 +00:00
notaz
04092e329b 32x: drc: more bugfixing
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@865 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-23 20:54:28 +00:00
notaz
a2b8c5a545 32x: drc: new smc handling, some bugfixes + refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@864 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-21 22:11:54 +00:00
notaz
5686d93123 32x: drc: new debug facility (pdb). Few fixes thanks to it.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@863 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-19 22:17:47 +00:00
notaz
44e6452e02 32x: drc: block linking
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@853 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-06 13:18:04 +00:00
notaz
b081408f66 32x: drc: mmap dram+rom for direct dereference
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@851 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-01-02 21:03:04 +00:00
notaz
e05b81fc5b 32x: drc: inline dispatcher and irq handling; do write-caused irqs
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@849 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-29 22:43:10 +00:00
notaz
18b9412743 32x: drc: self-reentrant blocks
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@841 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-15 13:44:59 +00:00
notaz
8b4f38f4c6 32x: drc: enable and fix static reg alloc, carry flag tweaks
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@838 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-07 15:30:52 +00:00
notaz
8796b7ee88 32x: drc: finish MAC, gen drc entry/exit (for statically alloced regs)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@837 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-12-07 12:30:56 +00:00
notaz
f0d7b1faa1 32x: drc: first implementation finished, no more interpreter dep
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@832 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-11-12 16:42:42 +00:00
notaz
52d759c30f 32x: drc: all opcodes covered, some TODOs left
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@830 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-11-06 13:38:34 +00:00
notaz
ed8cf79be8 32x: drc: more wip, ARM untested
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@828 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-30 14:17:12 +00:00
notaz
3863edbd9d 32x: drc: one manual page worth of opcodes implemented (x86 and arm)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@827 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-28 15:40:38 +00:00
notaz
80599a42db 32x: drc: handlers wip
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@826 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-26 11:16:19 +00:00
notaz
c18edb34e6 32x: drc: dynamicregister allocator
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@825 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-23 12:33:02 +00:00
notaz
553c3eaa3a 32x drc functional on ARM, random adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@824 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-22 20:16:32 +00:00
notaz
7f5a3fc12a drc related bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@822 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-22 09:54:54 +00:00
notaz
65c75cb07d 32x: drc: ARM implementation, start unification with SVP (untested)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@821 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-21 19:37:41 +00:00
notaz
f4bb5d6b2c 32x: drc: new smc handling, write handlers adjusted.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@820 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-18 20:52:50 +00:00
notaz
72f63cf06c SVP: fix ARM breakage, re-add missing stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@818 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-15 21:31:34 +00:00
notaz
e898de13cd 32x: drc: more wip, some games work, debug stats
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@814 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-13 15:42:21 +00:00
notaz
4c67e7ad99 rm unused file
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@813 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-13 10:09:27 +00:00
notaz
679af8a3f4 32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@812 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-13 10:07:27 +00:00
notaz
4139770121 32x: split sh2 code, compiler stub
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@810 be3aeb3a-fb24-0410-a615-afba39da0efa
2009-10-08 19:47:31 +00:00