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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								ea38612fad 
								
							 
						 
						
							
							
								
								eliminate texrels (wip)  
							
							
							
						 
						
							2017-08-06 18:18:29 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								99ade2ee2f 
								
							 
						 
						
							
							
								
								famec: remove unused dual code  
							
							
							
						 
						
							2013-09-24 03:57:43 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								fa8fb75445 
								
							 
						 
						
							
							
								
								handle 32x+cd  
							
							
							
						 
						
							2013-09-16 02:03:29 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								ae214f1c37 
								
							 
						 
						
							
							
								
								new timing for main and cd  
							
							
							
						 
						
							2013-08-28 01:07:26 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								531a8f3883 
								
							 
						 
						
							
							
								
								improve input handling  
							
							
							
						 
						
							2013-08-17 03:38:47 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								3e5b912cf8 
								
							 
						 
						
							
							
								
								minor 68k timing tuning  
							
							
							
						 
						
							2013-08-10 17:58:23 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								12da51c27a 
								
							 
						 
						
							
							
								
								some new cpu debug code  
							
							
							
						 
						
							2013-08-10 17:57:54 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								19886062f1 
								
							 
						 
						
							
							
								
								rework sh2 sync, again..  
							
							... 
							
							
							
							also some new debug and poll code
VF seems to be ok at least.. 
							
						 
						
							2013-07-27 22:23:52 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								a8fd6e3761 
								
							 
						 
						
							
							
								
								32x: rework scheduling/timing  
							
							... 
							
							
							
							- don't run in line quantity
- decouple from 68k
- some things to tune.. 
							
						 
						
							2013-07-09 03:30:58 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								ed4402a7df 
								
							 
						 
						
							
							
								
								32x: start reworking sheduling  
							
							
							
						 
						
							2013-07-09 01:44:56 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								1d7a28a723 
								
							 
						 
						
							
							
								
								32x: watchdog for Star Wars, SCI IRQs for X-men (also needs idle loop hacks)  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@799 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-10-01 20:53:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								236990cf77 
								
							 
						 
						
							
							
								
								32x: improve 'simple' scheduling, works for 'interesting' games  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@798 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-10-01 10:21:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								c987bb5c36 
								
							 
						 
						
							
							
								
								32x: improved lockstep mode, allows compatibility over 50%  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@797 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-30 15:42:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								be20816c4c 
								
							 
						 
						
							
							
								
								32x: implement VDP fill, improve PWM, division unit and scheduling  
							
							... 
							
							
							
							Chaotix works but unstable
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@794 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-29 13:38:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								db1d3564e6 
								
							 
						 
						
							
							
								
								32x: preliminary PWM implementation. 32x opts in menu  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@790 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-22 19:38:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								5e128c6d27 
								
							 
						 
						
							
							
								
								random cleanups  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@789 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-22 10:51:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								acd35d4c08 
								
							 
						 
						
							
							
								
								32x: sh2 wip, main SH2 BIOS passes  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@782 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-17 20:34:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								974fdb5bfd 
								
							 
						 
						
							
							
								
								32x: packed pixel mode (works over 68k)  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@773 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2009-09-12 21:54:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									notaz 
								
							 
						 
						
							
							
							
							
								
							
							
								7b3f44c6b6 
								
							 
						 
						
							
							
								
								debug bgm player, sound code refactoring  
							
							... 
							
							
							
							git-svn-id: file:///home/notaz/opt/svn/PicoDrive@598 be3aeb3a-fb24-0410-a615-afba39da0efa 
							
						 
						
							2008-10-16 13:32:55 +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