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.
This commit is contained in:
notaz 2013-06-22 19:16:24 +03:00
parent fb7a7fea87
commit cff531af94
97 changed files with 800 additions and 336 deletions

View file

@ -1,3 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
#include "../sound/ym2612.h"

View file

@ -1,3 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
int (*PicoScan32xBegin)(unsigned int num);

View file

@ -1,4 +1,10 @@
@ vim:filetype=armasm
@*
@* PicoDrive
@* (C) notaz, 2010
@*
@* This work is licensed under the terms of MAME license.
@* See COPYING file in the top-level directory.
@*
.extern Pico32x
.extern PicoDraw2FB
@ -361,3 +367,4 @@ make_do_loop_rl do_loop_rl_md, 0, 1
make_do_loop_rl do_loop_rl_scan, 1, 0
make_do_loop_rl do_loop_rl_scan_md, 1, 1
@ vim:filetype=armasm

View file

@ -1,4 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*
* SH2 addr lines:
* iii. .cc. ..xx * // Internal, Cs, x
*

View file

@ -1,3 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
static int pwm_line_samples;

View file

@ -1,11 +1,11 @@
// This is part of Pico Library
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2007, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "../zlib/zlib.h"

View file

@ -1,9 +1,9 @@
/*
* Support for a few cart mappers and some protection.
* (C) notaz, 2008,2009,2010
*
* (c) Copyright 2008-2009, Grazvydas "notaz" Ignotas
* Free for non-commercial use.
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"

View file

@ -1,7 +1,10 @@
// SSP1601 to ARM recompiler
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
/*
* SSP1601 to ARM recompiler
* (C) notaz, 2008,2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../../pico_int.h"
#include "../../../cpu/drc/cmn.h"

View file

@ -1,10 +1,30 @@
// The SVP chip emulator, mem I/O stuff
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* The SVP chip emulator, mem I/O stuff
*
* Copyright (c) Gražvydas "notaz" Ignotas, 2008
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the organization nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "../../pico_int.h"
#include "../../memory.h"

View file

@ -1,11 +1,31 @@
// basic, incomplete SSP160x (SSP1601?) interpreter
// with SVP memory controller emu
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* basic, incomplete SSP160x (SSP1601?) interpreter
* with SVP memory controller emu
*
* Copyright (c) Gražvydas "notaz" Ignotas, 2008
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the organization nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//#define USE_DEBUGGER
/* detect ops with unimplemented/invalid fields.

View file

@ -1,10 +1,30 @@
// basic, incomplete SSP160x (SSP1601?) interpreter
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* basic, incomplete SSP160x (SSP1601?) interpreter
*
* Copyright (c) Gražvydas "notaz" Ignotas, 2008
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the organization nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// register names
enum {

View file

@ -1,9 +1,10 @@
@ vim:filetype=armasm
@ Compiler helper functions and some SVP HLE code
@ (c) Copyright 2008, Grazvydas "notaz" Ignotas
@ Free for non-commercial use.
@*
@* Compiler helper functions and some SVP HLE code
@* (C) notaz, 2008,2009
@*
@* This work is licensed under the terms of MAME license.
@* See COPYING file in the top-level directory.
@*
.global ssp_drc_entry
.global ssp_drc_next
@ -615,3 +616,4 @@ hle_07_036_ending2:
mov r0, #0x87
b ssp_drc_next @ let the dispatcher finish this
@ vim:filetype=armasm

View file

@ -1,10 +1,30 @@
// The SVP chip emulator
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* The SVP chip emulator
*
* Copyright (c) Gražvydas "notaz" Ignotas, 2008
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the organization nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "../../pico_int.h"
#include "../../cpu/drc/cmn.h"

View file

@ -1,5 +1,10 @@
// Buffering handling
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* Buffering handling
* (C) notaz, 2007,2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"

View file

@ -1,5 +1,10 @@
// Convert "cell arrange" address to normal address.
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* Convert "cell arrange" address to normal address.
* (C) notaz, 2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
// 64 x32 x16 x8 x4 x4
static unsigned int cell_map(int celln)

View file

@ -1,3 +1,10 @@
/*
* cuefile handling
* (C) notaz, 2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,5 +1,10 @@
// Memory I/O handlers for Sega/Mega CD.
// (c) Copyright 2007-2009, Grazvydas "notaz" Ignotas
/*
* Memory I/O handlers for Sega/Mega CD.
* (C) notaz, 2007-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
#include "../memory.h"

View file

@ -1,8 +1,10 @@
@ vim:filetype=armasm
@ Memory I/O handlers for Sega/Mega CD emulation
@ (c) Copyright 2007-2009, Grazvydas "notaz" Ignotas
@*
@* Memory I/O handlers for Sega/Mega CD emulation
@* (C) notaz, 2007-2009
@*
@* This work is licensed under the terms of MAME license.
@* See COPYING file in the top-level directory.
@*
.equiv PCM_STEP_SHIFT, 11
@ -734,3 +736,4 @@ m_s68k_write16_regs_spec: @ special case
.pool
@ vim:filetype=armasm

View file

@ -1,5 +1,10 @@
// Some misc stuff
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* PicoDrive
* (C) notaz, 2007
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"

View file

@ -1,7 +1,10 @@
@ vim:filetype=armasm
@ Memory converters for different modes
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
@*
@* Memory converters for different modes
@* (C) notaz, 2007-2008
@*
@* This work is licensed under the terms of MAME license.
@* See COPYING file in the top-level directory.
@*
@ r10 is tmp, io1 is lsb halfword, io2 is msb
@ -73,4 +76,4 @@ _1Mto2M_loop:
ldmfd sp!,{r4-r11,pc}
@ vim:filetype=armasm

View file

@ -1,6 +1,10 @@
// Emulation routines for the RF5C164 PCM chip.
// Based on Gens code by Stéphane Dallongeville
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* Emulation routines for the RF5C164 PCM chip
* (C) notaz, 2007
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
#include "pcm.h"

View file

@ -1,5 +1,10 @@
// (c) Copyright 2007 notaz, All rights reserved.
/*
* PicoDrive
* (C) notaz, 2007
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
#include "../sound/ym2612.h"

View file

@ -1,12 +1,15 @@
@ vim:filetype=armasm
@*
@* CPU scheduling code
@* (C) notaz, 2007-2008
@*
@* This work is licensed under the terms of MAME license.
@* See COPYING file in the top-level directory.
@*
@ SekRunPS runs PicoCpuCM68k and PicoCpuCS68k interleaved in steps of PS_STEP_M68K
@ cycles. This is done without calling CycloneRun and jumping directly to
@ Cyclone code to avoid pushing/popping all the registers every time.
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
@ All Rights Reserved
.equiv PS_STEP_M68K, ((488<<16)/20) @ ~24
@ -179,3 +182,4 @@ CycloneSpecial2:
mov r5,#0
bx r1
@ vim:filetype=armasm

View file

@ -1,5 +1,10 @@
// (c) Copyright 2007 notaz, All rights reserved.
/*
* PicoDrive
* (C) notaz, 2007
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"

View file

@ -1,5 +1,10 @@
// some debug code, just for fun of it
// (c) Copyright 2008 notaz, All rights reserved.
/*
* debug stuff
* (C) notaz, 2006-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "sound/ym2612.h"

View file

@ -1,3 +1,11 @@
/*
* debug stuff
* (C) notaz, 2006-2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
typedef unsigned char u8;

View file

@ -1,11 +1,11 @@
// This is part of Pico Library
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2008 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* line renderer
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
/*
* The renderer has 4 modes now:
* - normal

View file

@ -1,13 +1,10 @@
// This is part of Pico Library
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
// this is a frame-based renderer, alternative to Dave's line based which is in Draw.c
/*
* tile renderer
* (C) notaz, 2006-2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"

View file

@ -1,11 +1,12 @@
@ vim:filetype=armasm
@ assembly optimized versions of most funtions from draw2.c
@ this is highly specialized, be careful if changing related C code!
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
@ All Rights Reserved
/*
* assembly optimized versions of most funtions from draw2.c
* (C) notaz, 2006-2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*
* this is highly specialized, be careful if changing related C code!
*/
.extern Pico
.extern PicoDraw2FB
@ -926,4 +927,4 @@ DrawSpriteFull:
.pool
@ vim:filetype=armasm

View file

@ -1,8 +1,12 @@
# vim:filetype=mips
# several drawing related functions for Allegrex MIPS
# (c) Copyright 2007, Grazvydas "notaz" Ignotas
# All Rights Reserved
#*
#* several drawing related functions for Allegrex MIPS
#* (C) notaz, 2007-2008
#*
#* This work is licensed under the terms of MAME license.
#* See COPYING file in the top-level directory.
#*
#* this is highly specialized, be careful if changing related C code!
#*
.set noreorder # don't reorder any instructions
.set noat # don't use $at
@ -1749,4 +1753,4 @@ TileTable:
.long tile11110000, tile11110001, tile11110010, tile11110011, tile11110100, tile11110101, tile11110110, tile11110111
.long tile11111000, tile11111001, tile11111010, tile11111011, tile11111100, tile11111101, tile11111110, tile11111111
# vim:filetype=mips

View file

@ -1,10 +1,12 @@
@ vim:filetype=armasm
@ ARM assembly versions of some funtions from draw.c
@ this is highly specialized, be careful if changing related C code!
@ (c) Copyright 2007-2008, Grazvydas "notaz" Ignotas
@ All Rights Reserved
/*
* assembly optimized versions of most funtions from draw.c
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*
* this is highly specialized, be careful if changing related C code!
*/
.include "port_config.s"
@ -2026,3 +2028,4 @@ blockcpy_loop_or:
ldmfd sp!, {r4-r6}
bx lr
@ vim:filetype=armasm

View file

@ -1,5 +1,9 @@
/*
* rarely used EEPROM code
* (C) notaz, 2007-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*
* (see Genesis Plus for Wii/GC code and docs for info,
* full game list and better code).

View file

@ -1,4 +1,10 @@
@ vim:filetype=armasm
/*
* PicoDrive
* (C) notaz, 2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
.equ M68K_MEM_SHIFT, 16
@ -138,3 +144,4 @@ cyclone_write32: @ u32 a, u32 d
add r0, r0, #2
bx r2
@ vim:filetype=armasm

View file

@ -1,11 +1,11 @@
// This is part of Pico Library
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2009 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* memory handling
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "memory.h"

View file

@ -1,13 +1,13 @@
# vim:filetype=mips
#*
#* memory handlers with banking support
#* (C) notaz, 2007-2008
#*
#* This work is licensed under the terms of MAME license.
#* See COPYING file in the top-level directory.
#*
# memory handlers with banking support for SSF II - The New Challengers
# mostly based on Gens code
# OUT OF DATE
# (c) Copyright 2007, Grazvydas "notaz" Ignotas
# All Rights Reserved
.set noreorder
.set noat
@ -787,3 +787,4 @@ pwr_banking:
jr $ra
nop
# vim:filetype=mips

View file

@ -1,8 +1,10 @@
@ vim:filetype=armasm
@ (c) Copyright 2006-2009, Grazvydas "notaz" Ignotas
@ All Rights Reserved
/*
* PicoDrive
* (C) notaz, 2006-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
@@ .include "port_config.s"
@ -304,3 +306,4 @@ m_write16_not_sreg:
.pool
@ vim:filetype=armasm

View file

@ -1,10 +1,10 @@
// This is part of Pico Library
// (c) Copyright 2006 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* rarely used EEPROM code
* (C) notaz, 2006-2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"

View file

@ -1,8 +1,10 @@
# vim:filetype=mips
# Some misc routines for Allegrex MIPS
# (c) Copyright 2007, Grazvydas "notaz" Ignotas
# All Rights Reserved
#*
#* Some misc routines for Allegrex MIPS
#* (C) notaz, 2007-2008
#*
#* This work is licensed under the terms of MAME license.
#* See COPYING file in the top-level directory.
#*
.set noreorder
.set noat
@ -173,3 +175,4 @@ mc32_return:
jr $ra
nop
# vim:filetype=mips

View file

@ -1,8 +1,10 @@
@ vim:filetype=armasm
@ Generic memory routines.
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* Generic memory routines.
* (C) notaz, 2007-2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
.global memcpy16 @ unsigned short *dest, unsigned short *src, int count
@ -177,5 +179,4 @@ mst32_fin:
ldmfd sp!, {lr}
bx lr
@ vim:filetype=armasm

View file

@ -1,3 +1,10 @@
/*
* mode4/SMS renderer
* (C) notaz, 2009-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
/*
* TODO:
* - TMS9918 modes?

View file

@ -1,11 +1,11 @@
// PicoDrive
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2008 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "sound/ym2612.h"

View file

@ -1,13 +1,11 @@
// -------------------- Pico Library --------------------
// Pico Library - Header File
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2009 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#ifndef PICO_H
#define PICO_H

View file

@ -1,3 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
#include "../memory.h"
#include "../sound/sn76496.h"

View file

@ -1,3 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "../pico_int.h"
// x: 0x03c - 0x19d

View file

@ -1,4 +1,10 @@
/*
* PicoDrive
* (C) notaz, 2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*
* The following ADPCM algorithm was stolen from MAME aica driver.
* I'm quite sure it's not the right one, but it's the
* best sounding of the ones that I tried.

View file

@ -1,5 +1,10 @@
// common code for Pico.c and cd/Pico.c
// (c) Copyright 2007-2009 Grazvydas "notaz" Ignotas
/*
* common code for pico.c and cd/pico.c
* (C) notaz, 2007-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#define CYCLES_M68K_LINE 488 // suitable for both PAL/NTSC
#define CYCLES_M68K_VINT_LAG 68

View file

@ -1,10 +1,11 @@
// Pico Library - Internal Header File
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2009 Grazvydas "notaz" Ignotas, all rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive - Internal Header File
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#ifndef PICO_INTERNAL_INCLUDED
#define PICO_INTERNAL_INCLUDED

View file

@ -1,11 +1,11 @@
// This is part of Pico Library
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "memory.h"

View file

@ -1,3 +1,10 @@
/*
* SMS emulation
* (C) notaz, 2009-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
/*
* TODO:
* - start in a state as if BIOS ran

View file

@ -1,5 +1,10 @@
// some code for sample mixing
// (c) Copyright 2006-2007, Grazvydas "notaz" Ignotas
/*
* some code for sample mixing
* (C) notaz, 2006,2007
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#define MAXOUT (+32767)
#define MINOUT (-32768)

View file

@ -1,8 +1,10 @@
@ vim:filetype=armasm
@ Generic routines for mixing audio samples
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
/*
* Generic routines for mixing audio samples
* (C) notaz, 2007,2008
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
.text
.align 4
@ -364,4 +366,4 @@ m32_16l_st_l_no_unal2:
ldmfd sp!, {r4-r9,lr}
bx lr
@ vim:filetype=armasm

View file

@ -1,11 +1,11 @@
// This is part of Pico Library
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006,2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include <string.h>
#include "ym2612.h"

View file

@ -1,3 +1,11 @@
/*
* PicoDrive
* (C) notaz, 2006
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
@ this is a rewrite of MAME's ym2612 code, in particular this is only the main sample-generatin loop.
@ it does not seem to give much performance increase (if any at all), so don't use it if it causes trouble.
@ - notaz, 2006

View file

@ -1,9 +1,10 @@
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2010 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (C) notaz, 2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include <zlib/zlib.h>

View file

@ -1,11 +1,11 @@
// PicoDrive
// (c) Copyright 2004 Dave, All rights reserved.
// (c) Copyright 2006-2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
/*
* PicoDrive
* (c) Copyright Dave, 2004
* (C) notaz, 2006-2009
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include "pico_int.h"
#include "cd/gfx_cd.h"

View file

@ -1,3 +1,11 @@
/*
* PicoDrive
* (C) notaz, 2007-2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include <stddef.h>
#include "pico_int.h"
#include "memory.h"