Add copyrights for all files to comply with the GPL v2.

This commit is contained in:
Jackson Bryn
2016-08-14 22:07:17 -04:00
parent be871d8c71
commit 291ac890e2
422 changed files with 1272 additions and 92 deletions

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

View File

@@ -1,2 +1,5 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
extern void cpu_386_flags_extract();
extern void cpu_386_flags_rebuild();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
extern uint16_t ea_rseg;
#undef readmemb

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "cpu.h"
#include "x86.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi, leilei
see COPYING for more details
*/
#include "x86_ops.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
//1B64 - Vid_SetMode (Vid_Vesa.c)
//6689c - CONS_Printf
/*SHR AX,1

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "io.h"
#include "cpu.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void acer386sx_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "io.h"
#include "acerm3a.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void acerm3a_io_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <string.h>
#include "ibm.h"
#include "io.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void ali1429_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "device.h"
#include "allegro-main.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "device.h"
#include "allegro-main.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#define _GNU_SOURCE

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "device.h"
#include "allegro-main.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void gui_enter();
extern int quited;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "plat-joystick.h"
#include "device.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "plat-keyboard.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "ibm.h"
#include "cpu.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define getr8 allegro_getr8
#define setr8 allegro_setr8
#define get_filename allegro_get_filename

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "ibm.h"
#include "plat-midi.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "plat-mouse.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "allegro-main.h"
#include "ibm.h"
#include "video.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void allegro_video_init();
void allegro_video_close();
void allegro_video_update_size(int x, int y);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "io.h"
#include "keyboard.h"

View File

@@ -1,2 +1,5 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void amstrad_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#ifndef BSWAP_H
#define BSWAP_H

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
/*Linux CD-ROM support via IOCTL*/
#include <linux/cdrom.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
/*Win32 CD-ROM support via IOCTL*/
#include <windows.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#ifndef CDROM_IOCTL_H
#define CDROM_IOCTL_H

View File

@@ -1,3 +1,6 @@
/* Copyright holders: RichardG867, Tenshi
see COPYING for more details
*/
/*ISO CD-ROM support*/
#include "ibm.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: RichardG867, Tenshi
see COPYING for more details
*/
#ifndef CDROM_ISO_H
#define CDROM_ISO_H

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "ide.h"
#include "cdrom-ioctl.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#ifndef CDROM_IOCTL_H
#define CDROM_IOCTL_H

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "x86_ops.h"
#include "mem.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "mem.h"
#ifdef __amd64__

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "x86.h"
#include "x86_ops.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
typedef uint32_t (*RecompOpFn)(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block);
extern RecompOpFn recomp_opcodes[512];

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropINC_rw(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
int host_reg;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropFXCH(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
FP_ENTER();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropJMP_r8(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
uint32_t offset = fetchdat & 0xff;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define ROP_LOGIC(name, op, writeback) \
static uint32_t rop ## name ## _b_rmw(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block) \
{ \

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropNOP(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
return op_pc;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropMOVQ_q_mm(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
int host_reg1, host_reg2;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropMOV_rb_imm(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
STORE_IMM_REG_B(opcode & 7, fetchdat & 0xff);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define SHIFT(size, size2, count, res_store) \
STORE_IMM_ADDR_L((uint32_t)&cpu_state.flags_op2, count); \
reg = LOAD_REG_ ## size(fetchdat & 7); \

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
static uint32_t ropPUSH_16(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
int host_reg;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
/*Register allocation :
R8-R15 - emulated registers
*/

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
/*Register allocation :
EBX, ECX, EDX - emulated registers
EAX - work register, EA storage

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define OP_XCHG_AX_(reg) \
static uint32_t ropXCHG_AX_ ## reg(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block) \
{ \

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "cpu.h"
#include "x86.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: leilei
see COPYING for more details
*/
/*Elements taken into account :
- X/Y pairing
- FPU/FXCH pairing

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
/*Elements taken into account :
- U/V integer pairing
- FPU/FXCH pairing

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "cpu.h"
#include "x86.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#ifdef __amd64__
#include <stdlib.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define BLOCK_SIZE 0x4000
#define BLOCK_MASK 0x3fff
#define BLOCK_START 0

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#if defined i386 || defined __i386 || defined __i386__ || defined _X86_ || defined WIN32 || defined _WIN32 || defined _WIN32
#include <stdlib.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define BLOCK_SIZE 0x4000
#define BLOCK_MASK 0x3fff
#define BLOCK_START 0

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "mem.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void compaq_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
int config_get_int(char *head, char *name, int def);
char *config_get_string(char *head, char *name, char *def);
void config_set_int(char *head, char *name, int val);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi, leilei
see COPYING for more details
*/
#include "ibm.h"
#include "cpu.h"
#include "model.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi, leilei
see COPYING for more details
*/
#ifndef _CPU_H_
#define _CPU_H_

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
uint8_t dac,dac2;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "config.h"
#include "device.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define CONFIG_STRING 0
#define CONFIG_INT 1
#define CONFIG_BINARY 2

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include "ibm.h"
#include "config.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
typedef struct
{
void (*seek)(int drive, int track);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <stdio.h>
#include <stdint.h>
#include "ibm.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void fdi_init();
void fdi_load(int drive, char *fn);
void fdi_close(int drive);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "fdd.h"
#include "disc.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void img_init();
void img_load(int drive, char *fn);
void img_close(int drive);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include "ibm.h"
#include "disc.h"
#include "disc_sector.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
void disc_sector_reset(int drive, int side);
void disc_sector_add(int drive, int side, uint8_t c, uint8_t h, uint8_t r, uint8_t n, int rate, uint8_t *data);
void disc_sector_readsector(int drive, int sector, int track, int side, int density, int sector_size);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "dma.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void dma_init();
void dma16_init();
void dma_reset();

View File

@@ -1,20 +1,6 @@
/*
* Copyright (C) 2002-2010 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* Copyright holders: The DOSBox Team
see COPYING for more details
*/
/*
DOSBox implementation of a combined Yamaha YMF262 and Yamaha YM3812 emulator.

View File

@@ -1,20 +1,6 @@
/*
* Copyright (C) 2002-2010 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* Copyright holders: The DOSBox Team
see COPYING for more details
*/
//#include "adlib.h"
//#include "dosbox.h"

View File

@@ -1,16 +1,7 @@
//
// Copyright (C) 2013-2016 Alexey Khokholov (Nuke.YKT)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
/* Copyright holders: Alexey Khokholov (Nuke.YKT)
see COPYING for more details
*/
//
// Nuked OPL3 emulator.
// Thanks:

View File

@@ -1,16 +1,7 @@
//
// Copyright (C) 2013-2016 Alexey Khokholov (Nuke.YKT)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
/* Copyright holders: Alexey Khokholov (Nuke.YKT)
see COPYING for more details
*/
//
// Nuked OPL3 emulator.
// Thanks:

View File

@@ -1,5 +1,7 @@
/* Code borrowed from DOSBox and adapted by OBattler.
Original author: reenigne. */
/* Authors: Andrew Jenner
Extra contributors: Tenshi
Distributed as is with the Unlicense (PD), see "UNLICENSE"
*/
#include <stdlib.h>
#include <stdint.h>

View File

@@ -1,3 +1,7 @@
/* Authors: Andrew Jenner
Extra contributors: Tenshi
Distributed as is with the Unlicense (PD), see "UNLICENSE"
*/
#define Bit8u uint8_t
#define Bit32u uint32_t
#define Bitu unsigned int

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include <stdio.h>
#include <string.h>
#include "ibm.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
void fdc_init();
void fdc_add();
void fdc_add_for_superio();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include "ibm.h"
#include "fdc.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
extern void fdc37c665_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Tenshi
see COPYING for more details
*/
/*
SMSC SMC fdc37c932fr Super I/O Chip
Used by all some Acer boards, and by the Epox P55-VA

View File

@@ -1 +1,4 @@
/* Copyright holders: Tenshi
see COPYING for more details
*/
extern void fdc37c932fr_init();

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include "ibm.h"
#include "disc.h"
#include "fdc.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#define SEEK_RECALIBRATE -999
void fdd_seek(int drive, int track_diff);
int fdd_track0(int drive);

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Toni Wilen
see COPYING for more details
*/
/*
FDI to raw bit stream converter
@@ -12,21 +15,6 @@
get_last_head and C++ callability - by Thomas Harte, 2001,
T.Harte@excite.co.uk
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#define STATIC_INLINE

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Toni Wilen
see COPYING for more details
*/
#ifndef __FDI2RAW_H
#define __FDI2RAW_H

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#define NCoef 2
//fc=350Hz

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include <stdint.h>
#include <stdlib.h>
#include "ibm.h"

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
extern device_t gameport_device;
extern device_t gameport_201_device;

View File

@@ -1,3 +1,6 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
#include "ibm.h"
#include "io.h"
#include "mem.h"

View File

@@ -1 +1,4 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
void headland_init();

Some files were not shown because too many files have changed in this diff Show More