diff --git a/AUTHORS b/AUTHORS index e69de29bb..cef4e3773 100644 --- a/AUTHORS +++ b/AUTHORS @@ -0,0 +1,5 @@ +All authors of this emulator are documented in at the top of each file in the source code. + +They own portions of the code, or in cases, the entirety of it. + +resid-fp and slirp folders have their own exceptions. \ No newline at end of file diff --git a/src/386.c b/src/386.c index ba81a5753..c49603ead 100644 --- a/src/386.c +++ b/src/386.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/386.h b/src/386.h index d374f3c9e..e207d48ca 100644 --- a/src/386.h +++ b/src/386.h @@ -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(); diff --git a/src/386_common.h b/src/386_common.h index 2741c4492..585645eec 100644 --- a/src/386_common.h +++ b/src/386_common.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern uint16_t ea_rseg; #undef readmemb diff --git a/src/386_dynarec.c b/src/386_dynarec.c index d07c3f21a..8cd434424 100644 --- a/src/386_dynarec.c +++ b/src/386_dynarec.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/386_dynarec_ops.c b/src/386_dynarec_ops.c index c1797a885..2cd87b642 100644 --- a/src/386_dynarec_ops.c +++ b/src/386_dynarec_ops.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "x86.h" diff --git a/src/386_ops.h b/src/386_ops.h index ec45deb20..bcea81439 100644 --- a/src/386_ops.h +++ b/src/386_ops.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi, leilei + see COPYING for more details +*/ #include "x86_ops.h" diff --git a/src/808x.c b/src/808x.c index 7f1e93537..abe4a557b 100644 --- a/src/808x.c +++ b/src/808x.c @@ -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 diff --git a/src/86box.h b/src/86box.h index d9d9d2bb9..312dd5500 100644 --- a/src/86box.h +++ b/src/86box.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ #define emulator_version "1.00" diff --git a/src/Makefile_AMD.mingw b/src/Makefile_AMD.mingw index 969ad3f6e..436b11d5f 100644 --- a/src/Makefile_AMD.mingw +++ b/src/Makefile_AMD.mingw @@ -1,49 +1,2 @@ -VPATH = . dosbox resid-fp slirp -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -CFLAGS = -O3 -march=amdfam10 -mtune=amdfam10 -fbranch-probabilities -fvpt -funroll-loops -fpeel-loops -ftracer -fomit-frame-pointer -ffast-math -msse -msse2 -msse3 -mfpmath=sse -mstackrealign -OBJ = 386.o 386_dynarec.o 386_dynarec_ops.o 808x.o acer386sx.o acerm3a.o ali1429.o amstrad.o cdrom-ioctl.o cdrom-iso.o \ - cdrom-null.o codegen.o codegen_ops.o codegen_timing_486.o codegen_timing_686.o codegen_timing_pentium.o codegen_timing_winchip.o codegen_x86.o compaq.o config.o cpu.o dac.o \ - device.o disc.o disc_fdi.o disc_img.o disc_sector.o dma.o fdc.o fdc37c665.o fdc37c932fr.o fdd.o fdi2raw.o gameport.o headland.o i430hx.o i430lx.o i430fx.o \ - i430nx.o i430vx.o i440fx.o ide.o intel.o intel_flash.o io.o jim.o joystick_ch_flightstick_pro.o joystick_standard.o joystick_sw_pad.o joystick_tm_fcs.o keyboard.o keyboard_amstrad.o keyboard_at.o \ - keyboard_olim24.o keyboard_pcjr.o keyboard_xt.o lpt.o mcr.o mem.o memregs.o model.o mouse.o mouse_ps2.o \ - mouse_serial.o ne2000.o neat.o nethandler.o nmi.o nvr.o olivetti_m24.o opti.o pc.o pc87306.o pci.o pic.o piix.o pit.o ppi.o ps1.o rom.o rtc.o \ - scat.o serial.o sis496.o sis85c471.o sio.o sound.o sound_ad1848.o sound_adlib.o sound_adlibgold.o sound_cms.o \ - sound_dbopl.o sound_emu8k.o sound_gus.o sound_mpu401_uart.o sound_opl.o sound_pas16.o sound_ps1.o sound_pssj.o sound_resid.o \ - sound_sb.o sound_sb_dsp.o sound_sn76489.o sound_speaker.o sound_ssi2001.o sound_wss.o sound_ym7128.o \ - soundopenal.o tandy_eeprom.o tandy_rom.o timer.o um8669f.o vid_ati_eeprom.o vid_ati_mach64.o vid_ati18800.o \ - vid_ati28800.o vid_ati68860_ramdac.o vid_bt485_ramdac.o vid_cga.o vid_cl5429.o vid_ega.o vid_et4000.o \ - vid_et4000w32.o vid_hercules.o vid_icd2061.o vid_ics2595.o vid_incolor.o vid_mda.o \ - vid_olivetti_m24.o vid_oti067.o vid_paradise.o vid_pc1512.o vid_pc1640.o vid_pc200.o \ - vid_pcjr.o vid_ps1_svga.o vid_s3.o vid_s3_virge.o vid_sdac_ramdac.o vid_stg_ramdac.o vid_svga.o \ - vid_svga_render.o vid_tandy.o vid_tandysl.o vid_tgui9440.o vid_tkd8001_ramdac.o vid_tvga.o vid_unk_ramdac.o \ - vid_vga.o vid_voodoo.o video.o w83877f.o wd76c10.o win.o win-config.o win-d3d.o win-d3d-fs.o win-ddraw.o \ - win-ddraw-fs.o win-ddraw-screenshot.o win-deviceconfig.o win-hdconf.o win-joystick.o win-joystickconfig.o win-keyboard.o win-midi.o win-mouse.o \ - win-status.o win-video.o x86seg.o x87.o xtide.o pc.res -DBOBJ = dbopl.o vid_cga_comp.o -SIDOBJ = convolve.o convolve-sse.o envelope.o extfilt.o filter.o pot.o sid.o voice.o wave6581__ST.o wave6581_P_T.o wave6581_PS_.o wave6581_PST.o wave8580__ST.o wave8580_P_T.o wave8580_PS_.o wave8580_PST.o wave.o -SLIRPOBJ = bootp.o ip_icmp.o misc.o socket.o tcp_timer.o cksum.o ip_input.o queue.o tcp_input.o tftp.o debug.o ip_output.o sbuf.o tcp_output.o udp.o if.o mbuf.o slirp.o tcp_subr.o - - -LIBS = -mwindows -lwinmm -lopenal.dll -lopenal -lddraw -ldinput8 -ldxguid -ld3d9 -ld3dx9 -lwsock32 -liphlpapi -lstdc++ -static-libstdc++ -static-libgcc -static - -PCem.exe: $(OBJ) $(DBOBJ) $(SIDOBJ) $(SLIRPOBJ) - $(CC) $(OBJ) $(DBOBJ) $(SIDOBJ) $(SLIRPOBJ) -o "PCem.exe" $(LIBS) - strip "PCem.exe" - -all : PCem.exe - -clean : - rm *.o - rm *.exe - rm *.res - -%.o : %.c - $(CC) $(CFLAGS) -c $< - -%.o : %.cc - $(CPP) $(CFLAGS) -c $< - -pc.res: pc.rc - $(WINDRES) -i pc.rc --input-format=rc -o pc.res -O coff +include Makefile.mingw +CFLAGS = -O3 -march=amdfam10 -mtune=amdfam10 -fbranch-probabilities -fvpt -funroll-loops -fpeel-loops -ftracer -fomit-frame-pointer -ffast-math -msse -msse2 -msse3 -mfpmath=sse -mstackrealign \ No newline at end of file diff --git a/src/Makefile_AMD.mingw64 b/src/Makefile_AMD.mingw64 new file mode 100644 index 000000000..d891ed4a4 --- /dev/null +++ b/src/Makefile_AMD.mingw64 @@ -0,0 +1,2 @@ +include Makefile.mingw64 +CFLAGS = -O3 -march=amdfam10 -mtune=amdfam10 -fbranch-probabilities -fvpt -funroll-loops -fpeel-loops -ftracer -fomit-frame-pointer -ffast-math -msse -msse2 -msse3 -mfpmath=sse -mstackrealign \ No newline at end of file diff --git a/src/acer386sx.c b/src/acer386sx.c index 4b6452583..ea3bfe74d 100644 --- a/src/acer386sx.c +++ b/src/acer386sx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "cpu.h" diff --git a/src/acer386sx.h b/src/acer386sx.h index 729fbf708..e84de8235 100644 --- a/src/acer386sx.h +++ b/src/acer386sx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void acer386sx_init(); diff --git a/src/acerm3a.c b/src/acerm3a.c index c9a14f302..769d3c0e0 100644 --- a/src/acerm3a.c +++ b/src/acerm3a.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "acerm3a.h" diff --git a/src/acerm3a.h b/src/acerm3a.h index 370d7200f..300531940 100644 --- a/src/acerm3a.h +++ b/src/acerm3a.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void acerm3a_io_init(); diff --git a/src/ali1429.c b/src/ali1429.c index 29b654b14..d01eaf863 100644 --- a/src/ali1429.c +++ b/src/ali1429.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "io.h" diff --git a/src/ali1429.h b/src/ali1429.h index 5a64f2ec5..83362e746 100644 --- a/src/ali1429.h +++ b/src/ali1429.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void ali1429_init(); diff --git a/src/allegro-gui-configure.c b/src/allegro-gui-configure.c index f70641118..dd7c50b2a 100644 --- a/src/allegro-gui-configure.c +++ b/src/allegro-gui-configure.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "device.h" #include "allegro-main.h" diff --git a/src/allegro-gui-deviceconfig.c b/src/allegro-gui-deviceconfig.c index 6301e50a5..9dcbb5011 100644 --- a/src/allegro-gui-deviceconfig.c +++ b/src/allegro-gui-deviceconfig.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "device.h" #include "allegro-main.h" diff --git a/src/allegro-gui-hdconf.c b/src/allegro-gui-hdconf.c index 760cd7fdf..a493c319f 100644 --- a/src/allegro-gui-hdconf.c +++ b/src/allegro-gui-hdconf.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE #define _GNU_SOURCE diff --git a/src/allegro-gui.c b/src/allegro-gui.c index b2a4f582a..63b6ddef8 100644 --- a/src/allegro-gui.c +++ b/src/allegro-gui.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "device.h" #include "allegro-main.h" diff --git a/src/allegro-gui.h b/src/allegro-gui.h index acfa50c00..1ea830552 100644 --- a/src/allegro-gui.h +++ b/src/allegro-gui.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void gui_enter(); extern int quited; diff --git a/src/allegro-joystick.c b/src/allegro-joystick.c index f759aeedb..ed03267f9 100644 --- a/src/allegro-joystick.c +++ b/src/allegro-joystick.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "plat-joystick.h" #include "device.h" diff --git a/src/allegro-keyboard.c b/src/allegro-keyboard.c index f689d966b..a3e3c3a51 100644 --- a/src/allegro-keyboard.c +++ b/src/allegro-keyboard.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "plat-keyboard.h" diff --git a/src/allegro-main.c b/src/allegro-main.c index 8647ce82a..65bd43aea 100644 --- a/src/allegro-main.c +++ b/src/allegro-main.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "ibm.h" #include "cpu.h" diff --git a/src/allegro-main.h b/src/allegro-main.h index d5889a90d..4498defd3 100644 --- a/src/allegro-main.h +++ b/src/allegro-main.h @@ -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 diff --git a/src/allegro-midi.c b/src/allegro-midi.c index 361e491d6..9178f9e35 100644 --- a/src/allegro-midi.c +++ b/src/allegro-midi.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "ibm.h" #include "plat-midi.h" diff --git a/src/allegro-mouse.c b/src/allegro-mouse.c index 214a802a6..60f287361 100644 --- a/src/allegro-mouse.c +++ b/src/allegro-mouse.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "plat-mouse.h" diff --git a/src/allegro-video.c b/src/allegro-video.c index b7612f0b8..a4897ffc6 100644 --- a/src/allegro-video.c +++ b/src/allegro-video.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "allegro-main.h" #include "ibm.h" #include "video.h" diff --git a/src/allegro-video.h b/src/allegro-video.h index 76ce4eabc..bcd05b28d 100644 --- a/src/allegro-video.h +++ b/src/allegro-video.h @@ -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); diff --git a/src/amstrad.c b/src/amstrad.c index 505eb07c2..3b2918bdc 100644 --- a/src/amstrad.c +++ b/src/amstrad.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "keyboard.h" diff --git a/src/amstrad.h b/src/amstrad.h index 5fac1a524..f02907d68 100644 --- a/src/amstrad.h +++ b/src/amstrad.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void amstrad_init(); diff --git a/src/bswap.h b/src/bswap.h index 070a40a89..f3cfe6a37 100644 --- a/src/bswap.h +++ b/src/bswap.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifndef BSWAP_H #define BSWAP_H diff --git a/src/cdrom-ioctl-linux.c b/src/cdrom-ioctl-linux.c index 60d3ae42d..07e93737f 100644 --- a/src/cdrom-ioctl-linux.c +++ b/src/cdrom-ioctl-linux.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*Linux CD-ROM support via IOCTL*/ #include diff --git a/src/cdrom-ioctl.c b/src/cdrom-ioctl.c index 3f3d1cc21..3b1e0ff4a 100644 --- a/src/cdrom-ioctl.c +++ b/src/cdrom-ioctl.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*Win32 CD-ROM support via IOCTL*/ #include diff --git a/src/cdrom-ioctl.h b/src/cdrom-ioctl.h index 4d7ca2ff3..faa87a5bb 100644 --- a/src/cdrom-ioctl.h +++ b/src/cdrom-ioctl.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifndef CDROM_IOCTL_H #define CDROM_IOCTL_H diff --git a/src/cdrom-iso.c b/src/cdrom-iso.c index 520d48dba..f6af00252 100644 --- a/src/cdrom-iso.c +++ b/src/cdrom-iso.c @@ -1,3 +1,6 @@ +/* Copyright holders: RichardG867, Tenshi + see COPYING for more details +*/ /*ISO CD-ROM support*/ #include "ibm.h" diff --git a/src/cdrom-iso.h b/src/cdrom-iso.h index 3ff743486..39c405f02 100644 --- a/src/cdrom-iso.h +++ b/src/cdrom-iso.h @@ -1,3 +1,6 @@ +/* Copyright holders: RichardG867, Tenshi + see COPYING for more details +*/ #ifndef CDROM_ISO_H #define CDROM_ISO_H diff --git a/src/cdrom-null.c b/src/cdrom-null.c index dc2c02a2c..1162520e4 100644 --- a/src/cdrom-null.c +++ b/src/cdrom-null.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "ide.h" #include "cdrom-ioctl.h" diff --git a/src/cdrom-null.h b/src/cdrom-null.h index 007e86478..6900f3d23 100644 --- a/src/cdrom-null.h +++ b/src/cdrom-null.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifndef CDROM_IOCTL_H #define CDROM_IOCTL_H diff --git a/src/codegen.c b/src/codegen.c index 5667c9bad..50f510d30 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "x86_ops.h" #include "mem.h" diff --git a/src/codegen.h b/src/codegen.h index 85043a8dc..d4012fb1c 100644 --- a/src/codegen.h +++ b/src/codegen.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "mem.h" #ifdef __amd64__ diff --git a/src/codegen_ops.c b/src/codegen_ops.c index 083c80b7d..179c7398a 100644 --- a/src/codegen_ops.c +++ b/src/codegen_ops.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "x86.h" #include "x86_ops.h" diff --git a/src/codegen_ops.h b/src/codegen_ops.h index 36b21918e..4a7474990 100644 --- a/src/codegen_ops.h +++ b/src/codegen_ops.h @@ -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]; diff --git a/src/codegen_ops_arith.h b/src/codegen_ops_arith.h index 1753bde8f..4c182766e 100644 --- a/src/codegen_ops_arith.h +++ b/src/codegen_ops_arith.h @@ -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; diff --git a/src/codegen_ops_fpu.h b/src/codegen_ops_fpu.h index d300926da..ff3b85558 100644 --- a/src/codegen_ops_fpu.h +++ b/src/codegen_ops_fpu.h @@ -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(); diff --git a/src/codegen_ops_jump.h b/src/codegen_ops_jump.h index 8dba96c7c..f58880abf 100644 --- a/src/codegen_ops_jump.h +++ b/src/codegen_ops_jump.h @@ -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; diff --git a/src/codegen_ops_logic.h b/src/codegen_ops_logic.h index 02384cd97..6f7a56f01 100644 --- a/src/codegen_ops_logic.h +++ b/src/codegen_ops_logic.h @@ -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) \ { \ diff --git a/src/codegen_ops_misc.h b/src/codegen_ops_misc.h index 7ed3ceeb9..12d513dce 100644 --- a/src/codegen_ops_misc.h +++ b/src/codegen_ops_misc.h @@ -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; diff --git a/src/codegen_ops_mmx.h b/src/codegen_ops_mmx.h index 9d8b49c84..6ef9b9a91 100644 --- a/src/codegen_ops_mmx.h +++ b/src/codegen_ops_mmx.h @@ -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; diff --git a/src/codegen_ops_mov.h b/src/codegen_ops_mov.h index ea1dfd006..45955a7c5 100644 --- a/src/codegen_ops_mov.h +++ b/src/codegen_ops_mov.h @@ -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); diff --git a/src/codegen_ops_shift.h b/src/codegen_ops_shift.h index cedcf0c44..21995f309 100644 --- a/src/codegen_ops_shift.h +++ b/src/codegen_ops_shift.h @@ -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); \ diff --git a/src/codegen_ops_stack.h b/src/codegen_ops_stack.h index d0c943d16..b423a9224 100644 --- a/src/codegen_ops_stack.h +++ b/src/codegen_ops_stack.h @@ -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; diff --git a/src/codegen_ops_x86-64.h b/src/codegen_ops_x86-64.h index 173acd222..31694905e 100644 --- a/src/codegen_ops_x86-64.h +++ b/src/codegen_ops_x86-64.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Register allocation : R8-R15 - emulated registers */ diff --git a/src/codegen_ops_x86.h b/src/codegen_ops_x86.h index 02fbf5230..5f7dbdb81 100644 --- a/src/codegen_ops_x86.h +++ b/src/codegen_ops_x86.h @@ -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 diff --git a/src/codegen_ops_xchg.h b/src/codegen_ops_xchg.h index b95e82f71..6d79bccca 100644 --- a/src/codegen_ops_xchg.h +++ b/src/codegen_ops_xchg.h @@ -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) \ { \ diff --git a/src/codegen_timing_486.c b/src/codegen_timing_486.c index 0cd8c25b7..83b07bc2e 100644 --- a/src/codegen_timing_486.c +++ b/src/codegen_timing_486.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "x86.h" diff --git a/src/codegen_timing_686.c b/src/codegen_timing_686.c index 5b2b5eda5..9f93a5652 100644 --- a/src/codegen_timing_686.c +++ b/src/codegen_timing_686.c @@ -1,3 +1,6 @@ +/* Copyright holders: leilei + see COPYING for more details +*/ /*Elements taken into account : - X/Y pairing - FPU/FXCH pairing diff --git a/src/codegen_timing_pentium.c b/src/codegen_timing_pentium.c index 31d4cafe7..4bb5b1d2e 100644 --- a/src/codegen_timing_pentium.c +++ b/src/codegen_timing_pentium.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Elements taken into account : - U/V integer pairing - FPU/FXCH pairing diff --git a/src/codegen_timing_winchip.c b/src/codegen_timing_winchip.c index 342fbb0b6..6fdf2ba65 100644 --- a/src/codegen_timing_winchip.c +++ b/src/codegen_timing_winchip.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "x86.h" diff --git a/src/codegen_x86-64.c b/src/codegen_x86-64.c index 468029366..89c761f56 100644 --- a/src/codegen_x86-64.c +++ b/src/codegen_x86-64.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifdef __amd64__ #include diff --git a/src/codegen_x86-64.h b/src/codegen_x86-64.h index 29c09ac4f..da2d7a987 100644 --- a/src/codegen_x86-64.h +++ b/src/codegen_x86-64.h @@ -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 diff --git a/src/codegen_x86.c b/src/codegen_x86.c index cd60b25da..fb53bad14 100644 --- a/src/codegen_x86.c +++ b/src/codegen_x86.c @@ -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 diff --git a/src/codegen_x86.h b/src/codegen_x86.h index e512679db..bb4a16dbc 100644 --- a/src/codegen_x86.h +++ b/src/codegen_x86.h @@ -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 diff --git a/src/compaq.c b/src/compaq.c index c9bfd4f2e..a8f8e8570 100644 --- a/src/compaq.c +++ b/src/compaq.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "mem.h" diff --git a/src/compaq.h b/src/compaq.h index 36e9bc2ce..d9944de71 100644 --- a/src/compaq.h +++ b/src/compaq.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void compaq_init(); diff --git a/src/config.c b/src/config.c index 676532563..7683a450a 100644 --- a/src/config.c +++ b/src/config.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/config.h b/src/config.h index 5c4f4e495..55e091e52 100644 --- a/src/config.h +++ b/src/config.h @@ -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); diff --git a/src/cpu.c b/src/cpu.c index c7dd2ca80..5eee1f6d0 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi, leilei + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "model.h" diff --git a/src/cpu.h b/src/cpu.h index 541c790b9..a07549eab 100644 --- a/src/cpu.h +++ b/src/cpu.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi, leilei + see COPYING for more details +*/ #ifndef _CPU_H_ #define _CPU_H_ diff --git a/src/dac.c b/src/dac.c index b09b2fe13..5a784d04c 100644 --- a/src/dac.c +++ b/src/dac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" uint8_t dac,dac2; diff --git a/src/device.c b/src/device.c index 21640e5ff..92cfca8fd 100644 --- a/src/device.c +++ b/src/device.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "config.h" #include "device.h" diff --git a/src/device.h b/src/device.h index ffb3ea35b..f4eb9aa35 100644 --- a/src/device.h +++ b/src/device.h @@ -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 diff --git a/src/disc.c b/src/disc.c index 46a6648ba..c14621d59 100644 --- a/src/disc.c +++ b/src/disc.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "config.h" diff --git a/src/disc.h b/src/disc.h index 6ee16e684..bc134d559 100644 --- a/src/disc.h +++ b/src/disc.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct { void (*seek)(int drive, int track); diff --git a/src/disc_fdi.c b/src/disc_fdi.c index 5b75feb1a..663bf7976 100644 --- a/src/disc_fdi.c +++ b/src/disc_fdi.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/disc_fdi.h b/src/disc_fdi.h index faba0329e..b6e5abc55 100644 --- a/src/disc_fdi.h +++ b/src/disc_fdi.h @@ -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); diff --git a/src/disc_img.c b/src/disc_img.c index 9c72108ac..ee6d63e78 100644 --- a/src/disc_img.c +++ b/src/disc_img.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "fdd.h" #include "disc.h" diff --git a/src/disc_img.h b/src/disc_img.h index df23c724f..92a72d62a 100644 --- a/src/disc_img.h +++ b/src/disc_img.h @@ -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); diff --git a/src/disc_sector.c b/src/disc_sector.c index e94cc97ce..7cdc61762 100644 --- a/src/disc_sector.c +++ b/src/disc_sector.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "disc.h" #include "disc_sector.h" diff --git a/src/disc_sector.h b/src/disc_sector.h index 72a485525..d4bd0a12f 100644 --- a/src/disc_sector.h +++ b/src/disc_sector.h @@ -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); diff --git a/src/disc_sector_86box.c b/src/disc_sector_86box.c index f1c21b8af..883e5dcce 100644 --- a/src/disc_sector_86box.c +++ b/src/disc_sector_86box.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "disc.h" #include "disc_sector.h" diff --git a/src/dma.c b/src/dma.c index c05e6d94e..358d226d5 100644 --- a/src/dma.c +++ b/src/dma.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "dma.h" diff --git a/src/dma.h b/src/dma.h index 451d8d6d3..00311731a 100644 --- a/src/dma.h +++ b/src/dma.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void dma_init(); void dma16_init(); void dma_reset(); diff --git a/src/dosbox/dbopl.cpp b/src/dosbox/dbopl.cpp index b8c065453..b5d4bfe65 100644 --- a/src/dosbox/dbopl.cpp +++ b/src/dosbox/dbopl.cpp @@ -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. diff --git a/src/dosbox/dbopl.h b/src/dosbox/dbopl.h index b798ce321..7507dd1a4 100644 --- a/src/dosbox/dbopl.h +++ b/src/dosbox/dbopl.h @@ -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" diff --git a/src/dosbox/nukedopl.cpp b/src/dosbox/nukedopl.cpp index c5d3a4d21..538a4411b 100644 --- a/src/dosbox/nukedopl.cpp +++ b/src/dosbox/nukedopl.cpp @@ -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: diff --git a/src/dosbox/nukedopl.h b/src/dosbox/nukedopl.h index 1cd69a2a2..aa389feb0 100644 --- a/src/dosbox/nukedopl.h +++ b/src/dosbox/nukedopl.h @@ -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: diff --git a/src/dosbox/vid_cga_comp.c b/src/dosbox/vid_cga_comp.c index ab784445b..3a1099617 100644 --- a/src/dosbox/vid_cga_comp.c +++ b/src/dosbox/vid_cga_comp.c @@ -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 #include diff --git a/src/dosbox/vid_cga_comp.h b/src/dosbox/vid_cga_comp.h index 809257bf2..5685672d3 100644 --- a/src/dosbox/vid_cga_comp.h +++ b/src/dosbox/vid_cga_comp.h @@ -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 diff --git a/src/fdc.c b/src/fdc.c index d71f5e4a8..dba7f640b 100644 --- a/src/fdc.c +++ b/src/fdc.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/fdc.h b/src/fdc.h index 2c735978f..46d7e8564 100644 --- a/src/fdc.h +++ b/src/fdc.h @@ -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(); diff --git a/src/fdc37c665.c b/src/fdc37c665.c index 7dd27e889..9bea552cb 100644 --- a/src/fdc37c665.c +++ b/src/fdc37c665.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "fdc.h" diff --git a/src/fdc37c665.h b/src/fdc37c665.h index 1576c01c1..8f906807d 100644 --- a/src/fdc37c665.h +++ b/src/fdc37c665.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern void fdc37c665_init(); diff --git a/src/fdc37c932fr.c b/src/fdc37c932fr.c index 08b45ab91..6d15ad8d7 100644 --- a/src/fdc37c932fr.c +++ b/src/fdc37c932fr.c @@ -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 diff --git a/src/fdc37c932fr.h b/src/fdc37c932fr.h index 8329d2ddd..ef83f5d01 100644 --- a/src/fdc37c932fr.h +++ b/src/fdc37c932fr.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern void fdc37c932fr_init(); diff --git a/src/fdd.c b/src/fdd.c index 84a969ea0..0d6011285 100644 --- a/src/fdd.c +++ b/src/fdd.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "disc.h" #include "fdc.h" diff --git a/src/fdd.h b/src/fdd.h index a5011d8de..1d16ba95d 100644 --- a/src/fdd.h +++ b/src/fdd.h @@ -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); diff --git a/src/fdi2raw.c b/src/fdi2raw.c index abace4f1b..7f2a8da40 100644 --- a/src/fdi2raw.c +++ b/src/fdi2raw.c @@ -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 diff --git a/src/fdi2raw.h b/src/fdi2raw.h index 92e6ab1a3..5db4e285e 100644 --- a/src/fdi2raw.h +++ b/src/fdi2raw.h @@ -1,3 +1,6 @@ +/* Copyright holders: Toni Wilen + see COPYING for more details +*/ #ifndef __FDI2RAW_H #define __FDI2RAW_H diff --git a/src/filters.h b/src/filters.h index 8119101e1..acc022ba0 100644 --- a/src/filters.h +++ b/src/filters.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define NCoef 2 //fc=350Hz diff --git a/src/gameport.c b/src/gameport.c index ab62d0e9a..7d5924de9 100644 --- a/src/gameport.c +++ b/src/gameport.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/gameport.h b/src/gameport.h index a8e5abda7..dbe01246a 100644 --- a/src/gameport.h +++ b/src/gameport.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t gameport_device; extern device_t gameport_201_device; diff --git a/src/headland.c b/src/headland.c index 834c6947d..edae6b6cb 100644 --- a/src/headland.c +++ b/src/headland.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "mem.h" diff --git a/src/headland.h b/src/headland.h index f9334fd6f..0425237bb 100644 --- a/src/headland.h +++ b/src/headland.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void headland_init(); diff --git a/src/i430fx.c b/src/i430fx.c index 524b3a0db..9e4addfc6 100644 --- a/src/i430fx.c +++ b/src/i430fx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i430fx.h b/src/i430fx.h index 98b901ab9..9ed0f355e 100644 --- a/src/i430fx.h +++ b/src/i430fx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void i430fx_init(); diff --git a/src/i430hx.c b/src/i430hx.c index 71ec621e1..33f8e137d 100644 --- a/src/i430hx.c +++ b/src/i430hx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i430hx.h b/src/i430hx.h index b9a6b22e6..a6899ca24 100644 --- a/src/i430hx.h +++ b/src/i430hx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void i430hx_init(); diff --git a/src/i430lx.c b/src/i430lx.c index 8738b7bd0..6a2d4a0ea 100644 --- a/src/i430lx.c +++ b/src/i430lx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i430lx.h b/src/i430lx.h index 84d1e0ebf..60c061df4 100644 --- a/src/i430lx.h +++ b/src/i430lx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void i430lx_init(); diff --git a/src/i430nx.c b/src/i430nx.c index 60eb79b62..9b7ef653b 100644 --- a/src/i430nx.c +++ b/src/i430nx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i430nx.h b/src/i430nx.h index dfc5bd495..3c759a205 100644 --- a/src/i430nx.h +++ b/src/i430nx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void i430nx_init(); diff --git a/src/i430vx.c b/src/i430vx.c index f324687c5..487c1f977 100644 --- a/src/i430vx.c +++ b/src/i430vx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i430vx.h b/src/i430vx.h index af115bea6..af7e5337e 100644 --- a/src/i430vx.h +++ b/src/i430vx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void i430vx_init(); diff --git a/src/i440fx.c b/src/i440fx.c index 932b1cd4a..479b1e313 100644 --- a/src/i440fx.c +++ b/src/i440fx.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/i440fx.h b/src/i440fx.h index 052a938e6..72cf59458 100644 --- a/src/i440fx.h +++ b/src/i440fx.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void i440fx_init(); diff --git a/src/ibm.h b/src/ibm.h index 28d15900c..b36c7b070 100644 --- a/src/ibm.h +++ b/src/ibm.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include diff --git a/src/ide.c b/src/ide.c index 1234c2f37..1902cadec 100644 --- a/src/ide.c +++ b/src/ide.c @@ -1,5 +1,6 @@ -/*RPCemu v0.6 by Tom Walker - IDE emulation*/ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ //#define RPCEMU_IDE #define CDROM_ISO 200 diff --git a/src/ide.h b/src/ide.h index a23cd34f1..e9f8d1934 100644 --- a/src/ide.h +++ b/src/ide.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifndef __IDE__ #define __IDE__ diff --git a/src/intel.c b/src/intel.c index cb926215c..e7fecfbc8 100644 --- a/src/intel.c +++ b/src/intel.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "io.h" diff --git a/src/intel.h b/src/intel.h index 9032cca83..7fe2f8c0b 100644 --- a/src/intel.h +++ b/src/intel.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void intel_batman_init(); void intel_endeavor_init(); diff --git a/src/intel_flash.c b/src/intel_flash.c index 144dc589f..4a2c5bdee 100644 --- a/src/intel_flash.c +++ b/src/intel_flash.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/intel_flash.h b/src/intel_flash.h index e8e0c1bc7..b3d3739d2 100644 --- a/src/intel_flash.h +++ b/src/intel_flash.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t intel_flash_bxt_ami_device; extern device_t intel_flash_bxt_device; extern device_t intel_flash_bxb_device; diff --git a/src/io.c b/src/io.c index 53a2ddbbf..4ec126c1d 100644 --- a/src/io.c +++ b/src/io.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "ide.h" #include "io.h" diff --git a/src/io.h b/src/io.h index 84792374d..c9dfbdd4c 100644 --- a/src/io.h +++ b/src/io.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void io_init(); void io_sethandler(uint16_t base, int size, diff --git a/src/jim.c b/src/jim.c index 54f7d1a65..d2e33e223 100644 --- a/src/jim.c +++ b/src/jim.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/jim.h b/src/jim.h index 632d31e03..64eb006dc 100644 --- a/src/jim.h +++ b/src/jim.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void jim_init(); diff --git a/src/joystick_ch_flightstick_pro.c b/src/joystick_ch_flightstick_pro.c index 3ced21653..f2dfebd7c 100644 --- a/src/joystick_ch_flightstick_pro.c +++ b/src/joystick_ch_flightstick_pro.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/joystick_ch_flightstick_pro.h b/src/joystick_ch_flightstick_pro.h index 291cb0bfa..c8d4c04d9 100644 --- a/src/joystick_ch_flightstick_pro.h +++ b/src/joystick_ch_flightstick_pro.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern joystick_if_t joystick_ch_flightstick_pro; diff --git a/src/joystick_standard.c b/src/joystick_standard.c index 6f961a896..e56a99422 100644 --- a/src/joystick_standard.c +++ b/src/joystick_standard.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/joystick_standard.h b/src/joystick_standard.h index 7150058a8..f31ab0161 100644 --- a/src/joystick_standard.h +++ b/src/joystick_standard.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern joystick_if_t joystick_standard; extern joystick_if_t joystick_standard_4button; extern joystick_if_t joystick_standard_6button; diff --git a/src/joystick_sw_pad.c b/src/joystick_sw_pad.c index f3e72c4ab..4a043cbbc 100644 --- a/src/joystick_sw_pad.c +++ b/src/joystick_sw_pad.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Sidewinder game pad notes : - Write to 0x201 starts packet transfer (5*N or 15*N bits) diff --git a/src/joystick_sw_pad.h b/src/joystick_sw_pad.h index ba5ceb680..0674d2389 100644 --- a/src/joystick_sw_pad.h +++ b/src/joystick_sw_pad.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern joystick_if_t joystick_sw_pad; diff --git a/src/joystick_tm_fcs.c b/src/joystick_tm_fcs.c index 02c153e49..a30a81422 100644 --- a/src/joystick_tm_fcs.c +++ b/src/joystick_tm_fcs.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/joystick_tm_fcs.h b/src/joystick_tm_fcs.h index 9759cf897..0fc4d4077 100644 --- a/src/joystick_tm_fcs.h +++ b/src/joystick_tm_fcs.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern joystick_if_t joystick_tm_fcs; diff --git a/src/keyboard.c b/src/keyboard.c index 9e59132de..8090f9196 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "plat-keyboard.h" #include "keyboard.h" diff --git a/src/keyboard.h b/src/keyboard.h index d1445b763..b53b3a8d5 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern void (*keyboard_send)(uint8_t val); extern void (*keyboard_poll)(); extern int keyboard_scan; diff --git a/src/keyboard_amstrad.c b/src/keyboard_amstrad.c index f2a0d4a2a..7f1a99c9e 100644 --- a/src/keyboard_amstrad.c +++ b/src/keyboard_amstrad.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "io.h" diff --git a/src/keyboard_amstrad.h b/src/keyboard_amstrad.h index 9d4cd15f5..cc893b7b0 100644 --- a/src/keyboard_amstrad.h +++ b/src/keyboard_amstrad.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void keyboard_amstrad_init(); void keyboard_amstrad_reset(); void keyboard_amstrad_poll(); diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 490d087d8..cde8bb3ff 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/keyboard_at.h b/src/keyboard_at.h index 2493e8187..957c20562 100644 --- a/src/keyboard_at.h +++ b/src/keyboard_at.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void keyboard_at_init(); void keyboard_at_reset(); void keyboard_at_poll(); diff --git a/src/keyboard_olim24.c b/src/keyboard_olim24.c index 806cedfba..95f022d85 100644 --- a/src/keyboard_olim24.c +++ b/src/keyboard_olim24.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/keyboard_olim24.h b/src/keyboard_olim24.h index 305a3e245..4151c1160 100644 --- a/src/keyboard_olim24.h +++ b/src/keyboard_olim24.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void keyboard_olim24_init(); void keyboard_olim24_reset(); void keyboard_olim24_poll(); diff --git a/src/keyboard_pcjr.c b/src/keyboard_pcjr.c index ba25b36d8..64fa693cd 100644 --- a/src/keyboard_pcjr.c +++ b/src/keyboard_pcjr.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/keyboard_pcjr.h b/src/keyboard_pcjr.h index ef585ecfa..796fe1fc3 100644 --- a/src/keyboard_pcjr.h +++ b/src/keyboard_pcjr.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void keyboard_pcjr_init(); void keyboard_pcjr_reset(); void keyboard_pcjr_poll(); diff --git a/src/keyboard_xt.c b/src/keyboard_xt.c index 7880b8c07..39caecaf3 100644 --- a/src/keyboard_xt.c +++ b/src/keyboard_xt.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" diff --git a/src/keyboard_xt.h b/src/keyboard_xt.h index edbc82945..7569ed2fa 100644 --- a/src/keyboard_xt.h +++ b/src/keyboard_xt.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void keyboard_xt_init(); void keyboard_tandy_init(); void keyboard_xt_reset(); diff --git a/src/lpt.c b/src/lpt.c index 407dae254..251c56a4a 100644 --- a/src/lpt.c +++ b/src/lpt.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" diff --git a/src/lpt.h b/src/lpt.h index 0df90a7e7..d1ed96801 100644 --- a/src/lpt.h +++ b/src/lpt.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern void lpt_init(); extern void lpt1_init(uint16_t port); extern void lpt1_remove(); diff --git a/src/mem.c b/src/mem.c index 39d0e039c..17aef99c4 100644 --- a/src/mem.c +++ b/src/mem.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*MESS ROM notes : - pc2386 BIOS is corrupt (JMP at F000:FFF0 points to RAM) diff --git a/src/mem.h b/src/mem.h index 1f927e44a..ee4bd527d 100644 --- a/src/mem.h +++ b/src/mem.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifndef _MEM_H_ #define _MEM_H_ diff --git a/src/memregs.c b/src/memregs.c index da3ffd827..9021bbe90 100644 --- a/src/memregs.c +++ b/src/memregs.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /* 0xE1 and 0xE2 Memory Registers Used by just about any emulated machine diff --git a/src/memregs.h b/src/memregs.h index 1f3baa92a..1e3dfbcec 100644 --- a/src/memregs.h +++ b/src/memregs.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern void memregs_init(); diff --git a/src/model.c b/src/model.c index dc4c924d5..ac155ae01 100644 --- a/src/model.c +++ b/src/model.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "cpu.h" #include "model.h" diff --git a/src/model.h b/src/model.h index ce5d6a2b8..4fc692609 100644 --- a/src/model.h +++ b/src/model.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct { char name[24]; diff --git a/src/mouse.c b/src/mouse.c index 32c49ed0b..bb6d68bcb 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "mouse.h" diff --git a/src/mouse.h b/src/mouse.h index 3955e00c8..4bc67c489 100644 --- a/src/mouse.h +++ b/src/mouse.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern void (*mouse_poll)(int x, int y, int b); extern int mousepos; diff --git a/src/mouse_ps2.c b/src/mouse_ps2.c index e5cd3d670..07064f3dc 100644 --- a/src/mouse_ps2.c +++ b/src/mouse_ps2.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "keyboard_at.h" #include "mouse.h" diff --git a/src/mouse_ps2.h b/src/mouse_ps2.h index 95294df35..4f93e00e0 100644 --- a/src/mouse_ps2.h +++ b/src/mouse_ps2.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void mouse_ps2_init(); diff --git a/src/mouse_serial.c b/src/mouse_serial.c index 565f25eac..0b9456bbd 100644 --- a/src/mouse_serial.c +++ b/src/mouse_serial.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "mouse.h" #include "pic.h" diff --git a/src/mouse_serial.h b/src/mouse_serial.h index 22b7f3830..8021bfd7c 100644 --- a/src/mouse_serial.h +++ b/src/mouse_serial.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void mouse_serial_init(); diff --git a/src/ne2000.c b/src/ne2000.c index a56f40abb..f12230aa6 100644 --- a/src/ne2000.c +++ b/src/ne2000.c @@ -1,3 +1,6 @@ +/* Copyright holders: Peter Grehan, SA1988, Tenshi + see COPYING for more details +*/ ///////////////////////////////////////////////////////////////////////// // $Id: ne2k.cc,v 1.56.2.1 2004/02/02 22:37:22 cbothamy Exp $ ///////////////////////////////////////////////////////////////////////// @@ -10,19 +13,6 @@ // http://www.linux-mandrake.com/ // http://www.mandrakesoft.com/ // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Peter Grehan (grehan@iprg.nokia.com) coded all of this // NE2000/ether stuff. diff --git a/src/ne2000.h b/src/ne2000.h index dccfc79f7..53af3f72f 100644 --- a/src/ne2000.h +++ b/src/ne2000.h @@ -1,2 +1,5 @@ +/* Copyright holders: SA1988 + see COPYING for more details +*/ extern device_t ne2000_device; extern device_t rtl8029as_device; diff --git a/src/neat.c b/src/neat.c index 23c72695d..ef50ab080 100644 --- a/src/neat.c +++ b/src/neat.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*This is the chipset used in the AMI 286 clone model*/ #include "ibm.h" #include "io.h" diff --git a/src/neat.h b/src/neat.h index d87232243..7a9b7d07d 100644 --- a/src/neat.h +++ b/src/neat.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void neat_init(); diff --git a/src/nethandler.c b/src/nethandler.c index bc69763b9..872f8235b 100644 --- a/src/nethandler.c +++ b/src/nethandler.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include diff --git a/src/nethandler.h b/src/nethandler.h index d73ffb272..a6e6c5c77 100644 --- a/src/nethandler.h +++ b/src/nethandler.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include //void vlan_handler(int (*can_receive)(void *p), void (*receive)(void *p, const uint8_t *buf, int size), void *p); diff --git a/src/nmi.c b/src/nmi.c index 5b8205328..0e7abdc04 100644 --- a/src/nmi.c +++ b/src/nmi.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "nmi.h" diff --git a/src/nmi.h b/src/nmi.h index 8e38a2c6a..87c073bc6 100644 --- a/src/nmi.h +++ b/src/nmi.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void nmi_init(); void nmi_write(uint16_t port, uint8_t val, void *p); extern int nmi_mask; diff --git a/src/nvr.c b/src/nvr.c index 39162b998..762918b5d 100644 --- a/src/nvr.c +++ b/src/nvr.c @@ -1,3 +1,6 @@ +/* Copyright holders: Mahod, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" #include "io.h" diff --git a/src/nvr.h b/src/nvr.h index a8ecbfe03..a333db555 100644 --- a/src/nvr.h +++ b/src/nvr.h @@ -1,3 +1,6 @@ +/* Copyright holders: Mahod, Tenshi + see COPYING for more details +*/ void nvr_init(); extern int enable_sync; diff --git a/src/olivetti_m24.c b/src/olivetti_m24.c index 72f08a373..d60f312ce 100644 --- a/src/olivetti_m24.c +++ b/src/olivetti_m24.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "olivetti_m24.h" diff --git a/src/olivetti_m24.h b/src/olivetti_m24.h index 7475072f0..89ee10595 100644 --- a/src/olivetti_m24.h +++ b/src/olivetti_m24.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void olivetti_m24_init(); diff --git a/src/opti.c b/src/opti.c index 392837e05..a2fb4e09f 100644 --- a/src/opti.c +++ b/src/opti.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*OPTi 82C495 emulation This is the chipset used in the AMI386 model*/ #include "ibm.h" diff --git a/src/pc.c b/src/pc.c index 396cb8532..111c1f967 100644 --- a/src/pc.c +++ b/src/pc.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include diff --git a/src/pc.rc b/src/pc.rc index 7d8408517..25e95bbd5 100644 --- a/src/pc.rc +++ b/src/pc.rc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "resources.h" diff --git a/src/pc87306.c b/src/pc87306.c index f7b0023fd..475a04d32 100644 --- a/src/pc87306.c +++ b/src/pc87306.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /* National Semiconductors PC87306 Super I/O Chip Used by Intel Advanced/EV diff --git a/src/pc87306.h b/src/pc87306.h index 61a926722..0f48f3d97 100644 --- a/src/pc87306.h +++ b/src/pc87306.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern void pc87306_init(); diff --git a/src/pci.c b/src/pci.c index ebffaa007..3b33390f7 100644 --- a/src/pci.c +++ b/src/pci.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "mem.h" diff --git a/src/pci.h b/src/pci.h index 8fcbd1893..6c6782e23 100644 --- a/src/pci.h +++ b/src/pci.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void pci_init(int type, int min_card, int max_card); void pci_add_specific(int card, uint8_t (*read)(int func, int addr, void *priv), void (*write)(int func, int addr, uint8_t val, void *priv), void *priv); void pci_add(uint8_t (*read)(int func, int addr, void *priv), void (*write)(int func, int addr, uint8_t val, void *priv), void *priv); diff --git a/src/pic.c b/src/pic.c index e6eefccd1..1fb4dfda7 100644 --- a/src/pic.c +++ b/src/pic.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "pic.h" diff --git a/src/pic.h b/src/pic.h index 419315c5f..4652d8516 100644 --- a/src/pic.h +++ b/src/pic.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void pic_init(); void pic2_init(); void pic_reset(); diff --git a/src/piix.c b/src/piix.c index 4f32d7202..cf58e0d91 100644 --- a/src/piix.c +++ b/src/piix.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*PRD format : word 0 - base address diff --git a/src/piix.h b/src/piix.h index 9bac729e6..4953d500e 100644 --- a/src/piix.h +++ b/src/piix.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ void piix_init(int card); void piix3_init(int card); diff --git a/src/pit.c b/src/pit.c index 6205602d4..cab9c9b35 100644 --- a/src/pit.c +++ b/src/pit.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*IBM AT - Write B0 Write aa55 diff --git a/src/pit.h b/src/pit.h index a9d5cbc66..a0102e1af 100644 --- a/src/pit.h +++ b/src/pit.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern double PITCONST; extern float cpuclock; void pit_init(); diff --git a/src/plat-dinput.h b/src/plat-dinput.h index 442729dab..b5d7eca06 100644 --- a/src/plat-dinput.h +++ b/src/plat-dinput.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern LPDIRECTINPUT lpdi; diff --git a/src/plat-joystick.h b/src/plat-joystick.h index 1560d1295..aecb3537c 100644 --- a/src/plat-joystick.h +++ b/src/plat-joystick.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/plat-keyboard.h b/src/plat-keyboard.h index cb3561753..f062c5951 100644 --- a/src/plat-keyboard.h +++ b/src/plat-keyboard.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/plat-midi.h b/src/plat-midi.h index ec0a469da..15b9edafe 100644 --- a/src/plat-midi.h +++ b/src/plat-midi.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void midi_init(); void midi_close(); void midi_write(uint8_t val); diff --git a/src/plat-mouse.h b/src/plat-mouse.h index 749f27bda..c92413702 100644 --- a/src/plat-mouse.h +++ b/src/plat-mouse.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/ppi.c b/src/ppi.c index 246116414..2d564b90c 100644 --- a/src/ppi.c +++ b/src/ppi.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*IBM 5150 cassette nonsense Calls F979 twice Expects CX to be nonzero, BX >$410 and <$540 diff --git a/src/ps1.c b/src/ps1.c index 988bde71a..033c1bb2e 100644 --- a/src/ps1.c +++ b/src/ps1.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "mem.h" #include "ps1.h" diff --git a/src/ps1.h b/src/ps1.h index 4216fbc00..d58466d69 100644 --- a/src/ps1.h +++ b/src/ps1.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void ps1mb_init(); void ps1mb_m2121_init(); diff --git a/src/resources.h b/src/resources.h index f10d75e89..57cb349e7 100644 --- a/src/resources.h +++ b/src/resources.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define IDM_FILE_RESET 40000 #define IDM_FILE_HRESET 40001 #define IDM_FILE_EXIT 40002 diff --git a/src/rom.c b/src/rom.c index a820a6d0a..66549ad79 100644 --- a/src/rom.c +++ b/src/rom.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/rom.h b/src/rom.h index f63d63202..d548ee8be 100644 --- a/src/rom.h +++ b/src/rom.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ FILE *romfopen(char *fn, char *mode); int rom_present(char *fn); diff --git a/src/rtc.c b/src/rtc.c index 21a60e6a5..094b5accb 100644 --- a/src/rtc.c +++ b/src/rtc.c @@ -1,3 +1,6 @@ +/* Copyright holders: Mahod, Tenshi + see COPYING for more details +*/ /* Emulation of: Dallas Semiconductor DS12C887 Real Time Clock diff --git a/src/rtc.h b/src/rtc.h index 28a254898..0d4c25729 100644 --- a/src/rtc.h +++ b/src/rtc.h @@ -1,3 +1,6 @@ +/* Copyright holders: Mahod, Tenshi + see COPYING for more details +*/ #define BCD(X) (((X) % 10) | (((X) / 10) << 4)) #define DCB(X) ((((X) & 0xF0) >> 4) * 10 + ((X) & 0x0F)) diff --git a/src/scat.c b/src/scat.c index 44c4e9080..0c133b5fa 100644 --- a/src/scat.c +++ b/src/scat.c @@ -1,3 +1,6 @@ +/* Copyright holders: Greatpsycho + see COPYING for more details +*/ /*This is the chipset used in the Award 286 clone model*/ #include "ibm.h" #include "io.h" diff --git a/src/scat.h b/src/scat.h index 1fee0cee3..040a0a69a 100644 --- a/src/scat.h +++ b/src/scat.h @@ -1,3 +1,6 @@ +/* Copyright holders: Greatpsycho + see COPYING for more details +*/ #define SCAT_DMA_WAIT_STATE_CONTROL 0x01 #define SCAT_VERSION 0x40 #define SCAT_CLOCK_CONTROL 0x41 diff --git a/src/scsi_cmds.h b/src/scsi_cmds.h index c27351c3c..00eb03ef4 100644 --- a/src/scsi_cmds.h +++ b/src/scsi_cmds.h @@ -1,3 +1,6 @@ +/* Copyright holders: SA1988 + see COPYING for more details +*/ /* ATAPI/SCSI Commands */ #define TEST_UNIT_READY 0x00 #define REQUEST_SENSE 0x03 diff --git a/src/serial.c b/src/serial.c index c83ef3134..6b50c5a0d 100644 --- a/src/serial.c +++ b/src/serial.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "mouse.h" diff --git a/src/serial.h b/src/serial.h index 2dd7c272d..185f8da0b 100644 --- a/src/serial.h +++ b/src/serial.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void serial1_init(uint16_t addr, int irq); void serial2_init(uint16_t addr, int irq); void serial1_set(uint16_t addr, int irq); diff --git a/src/sio.c b/src/sio.c index 582874086..f9ea10be5 100644 --- a/src/sio.c +++ b/src/sio.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /*PRD format : word 0 - base address diff --git a/src/sio.h b/src/sio.h index a17f4ffb8..9b705a6b3 100644 --- a/src/sio.h +++ b/src/sio.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ void sio_init(int card); diff --git a/src/sis496.c b/src/sis496.c index 5c350fd86..1265330dd 100644 --- a/src/sis496.c +++ b/src/sis496.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sis496.h b/src/sis496.h index c5bbac2b1..1ee67d59a 100644 --- a/src/sis496.h +++ b/src/sis496.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t sis496_device; diff --git a/src/sis50x.c b/src/sis50x.c index 817d7ba04..ad4be95c6 100644 --- a/src/sis50x.c +++ b/src/sis50x.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sis50x.h b/src/sis50x.h index 81e898980..d2028dc2b 100644 --- a/src/sis50x.h +++ b/src/sis50x.h @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern device_t sis501_device; extern device_t sis503_device; extern device_t sis50x_device; diff --git a/src/sis85c471.c b/src/sis85c471.c index e38936da1..2807ea314 100644 --- a/src/sis85c471.c +++ b/src/sis85c471.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /* SiS sis85c471 Super I/O Chip Used by Batman's Revenge diff --git a/src/sis85c471.h b/src/sis85c471.h index 79ebe5dbf..5ccd63ab5 100644 --- a/src/sis85c471.h +++ b/src/sis85c471.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern void sis85c471_init(); diff --git a/src/sound.c b/src/sound.c index f3669816e..68b471fbe 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound.h b/src/sound.h index 352d0cf41..5d9f192ac 100644 --- a/src/sound.h +++ b/src/sound.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "timer.h" void sound_add_handler(void (*get_buffer)(int32_t *buffer, int len, void *p), void *p); diff --git a/src/sound_ad1848.c b/src/sound_ad1848.c index 9dd339bce..287dc559f 100644 --- a/src/sound_ad1848.c +++ b/src/sound_ad1848.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PCem v0.8 by Tom Walker AD1848 CODEC emulation (Windows Sound System compatible)*/ diff --git a/src/sound_ad1848.h b/src/sound_ad1848.h index b97e1e499..b8d540aa7 100644 --- a/src/sound_ad1848.h +++ b/src/sound_ad1848.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "timer.h" typedef struct ad1848_t diff --git a/src/sound_adlib.c b/src/sound_adlib.c index f4e24bb44..a673dfe4c 100644 --- a/src/sound_adlib.c +++ b/src/sound_adlib.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sound_adlib.h b/src/sound_adlib.h index c8db01482..be44345ec 100644 --- a/src/sound_adlib.h +++ b/src/sound_adlib.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t adlib_device; diff --git a/src/sound_adlibgold.c b/src/sound_adlibgold.c index fe9e301a5..a3212bc4b 100644 --- a/src/sound_adlibgold.c +++ b/src/sound_adlibgold.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/sound_adlibgold.h b/src/sound_adlibgold.h index b952aaf03..b255435dd 100644 --- a/src/sound_adlibgold.h +++ b/src/sound_adlibgold.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t adgold_device; diff --git a/src/sound_cms.c b/src/sound_cms.c index f38f46f9c..51c04e701 100644 --- a/src/sound_cms.c +++ b/src/sound_cms.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound_cms.h b/src/sound_cms.h index d5795cc0f..43030ce94 100644 --- a/src/sound_cms.h +++ b/src/sound_cms.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t cms_device; diff --git a/src/sound_dbopl.cc b/src/sound_dbopl.cc index 05e76fd06..cd13180f3 100644 --- a/src/sound_dbopl.cc +++ b/src/sound_dbopl.cc @@ -1,3 +1,6 @@ +/* Copyright holders: The DOSBox Team, SA1988 + see COPYING for more details +*/ #include "dosbox/dbopl.h" #include "dosbox/nukedopl.h" #include "sound_dbopl.h" diff --git a/src/sound_dbopl.h b/src/sound_dbopl.h index 450c5dca3..d16ce9549 100644 --- a/src/sound_dbopl.h +++ b/src/sound_dbopl.h @@ -1,3 +1,6 @@ +/* Copyright holders: The DOSBox Team, SA1988 + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/sound_emu8k.c b/src/sound_emu8k.c index 6274b8839..165ea45db 100644 --- a/src/sound_emu8k.c +++ b/src/sound_emu8k.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*12log2(r) * 4096 freq = 2^((in - 0xe000) / 4096)*/ diff --git a/src/sound_emu8k.h b/src/sound_emu8k.h index 79478ad56..0f7213d94 100644 --- a/src/sound_emu8k.h +++ b/src/sound_emu8k.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct emu8k_t { struct diff --git a/src/sound_gus.c b/src/sound_gus.c index 3411ab578..7f254311b 100644 --- a/src/sound_gus.c +++ b/src/sound_gus.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/sound_gus.h b/src/sound_gus.h index 6c124f9f8..94ccb66f9 100644 --- a/src/sound_gus.h +++ b/src/sound_gus.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t gus_device; diff --git a/src/sound_mameopl.c b/src/sound_mameopl.c deleted file mode 100644 index caf3691b8..000000000 --- a/src/sound_mameopl.c +++ /dev/null @@ -1,200 +0,0 @@ -#include -#include -#include "ibm.h" -#include "io.h" -#include "sound.h" -#include "mame/fmopl.h" -#include "mame/ymf262.h" -#include "sound_opl.h" -#include "sound_dbopl.h" - -/*Interfaces between PCem and the actual OPL emulator*/ - - -uint8_t opl2_read(uint16_t a, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - cycles -= (int)(isa_timing * 8); - opl2_update2(opl); - return ym3812_read(opl->YM3812[0], a); -} -void opl2_write(uint16_t a, uint8_t v, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - opl2_update2(opl); - ym3812_write(opl->YM3812[0],a,v); - ym3812_write(opl->YM3812[1],a,v); -} - -uint8_t opl2_l_read(uint16_t a, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - cycles -= (int)(isa_timing * 8); - opl2_update2(opl); - return ym3812_read(opl->YM3812[0], a); -} -void opl2_l_write(uint16_t a, uint8_t v, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - opl2_update2(opl); - ym3812_write(opl->YM3812[0],a,v); -} - -uint8_t opl2_r_read(uint16_t a, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - cycles -= (int)(isa_timing * 8); - opl2_update2(opl); - return ym3812_read(opl->YM3812[1], a); -} -void opl2_r_write(uint16_t a, uint8_t v, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - opl2_update2(opl); - ym3812_write(opl->YM3812[1],a,v); -} - -uint8_t opl3_read(uint16_t a, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - cycles -= (int)(isa_timing * 8); - opl3_update2(opl); - return ymf262_read(opl->YMF262, a); -} -void opl3_write(uint16_t a, uint8_t v, void *priv) -{ - opl_t *opl = (opl_t *)priv; - - opl3_update2(opl); - ymf262_write(opl->YMF262, a, v); -} - - -void opl2_update2(opl_t *opl) -{ - if (opl->pos < sound_pos_global) - { - ym3812_update_one(opl->YM3812[0], &opl->buffer[opl->pos*2], sound_pos_global - opl->pos); - ym3812_update_one(opl->YM3812[1], &opl->buffer[opl->pos*2 + 1], sound_pos_global - opl->pos); - for (; opl->pos < sound_pos_global; opl->pos++) - { - opl->filtbuf[0] = opl->buffer[opl->pos*2] = (opl->buffer[opl->pos*2] / 4) + ((opl->filtbuf[0] * 11) / 16); - opl->filtbuf[1] = opl->buffer[opl->pos*2+1] = (opl->buffer[opl->pos*2+1] / 4) + ((opl->filtbuf[1] * 11) / 16); - } - } -} - -void opl3_update2(opl_t *opl) -{ - if (opl->pos < sound_pos_global) - { - ymf262_update_one(opl->YMF262, &opl->buffer[opl->pos*2], sound_pos_global - opl->pos); - for (; opl->pos < sound_pos_global; opl->pos++) - { - opl->filtbuf[0] = opl->buffer[opl->pos*2] = (opl->buffer[opl->pos*2] / 4) + ((opl->filtbuf[0] * 11) / 16); - opl->filtbuf[1] = opl->buffer[opl->pos*2+1] = (opl->buffer[opl->pos*2+1] / 4) + ((opl->filtbuf[1] * 11) / 16); - } - } -} - -void ym3812_timer_set_0(void *param, int timer, int64_t period) -{ - opl_t *opl = (opl_t *)param; - - opl->timers[0][timer] = period * TIMER_USEC * 20; - if (!opl->timers[0][timer]) opl->timers[0][timer] = 1; - opl->timers_enable[0][timer] = period ? 1 : 0; -} -void ym3812_timer_set_1(void *param, int timer, int64_t period) -{ - opl_t *opl = (opl_t *)param; - - opl->timers[1][timer] = period * TIMER_USEC * 20; - if (!opl->timers[1][timer]) opl->timers[1][timer] = 1; - opl->timers_enable[1][timer] = period ? 1 : 0; -} - -void ymf262_timer_set(void *param, int timer, int64_t period) -{ - opl_t *opl = (opl_t *)param; - - opl->timers[0][timer] = period * TIMER_USEC * 20; - if (!opl->timers[0][timer]) opl->timers[0][timer] = 1; - opl->timers_enable[0][timer] = period ? 1 : 0; -} - -static void opl_timer_callback00(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[0][0] = 0; - ym3812_timer_over(opl->YM3812[0], 0); -} -static void opl_timer_callback01(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[0][1] = 0; - ym3812_timer_over(opl->YM3812[0], 1); -} -static void opl_timer_callback10(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[1][0] = 0; - ym3812_timer_over(opl->YM3812[1], 0); -} -static void opl_timer_callback11(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[1][1] = 0; - ym3812_timer_over(opl->YM3812[1], 1); -} -static void opl3_timer_callback00(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[0][0] = 0; - ymf262_timer_over(opl->YMF262, 0); -} -static void opl3_timer_callback01(void *p) -{ - opl_t *opl = (opl_t *)p; - - opl->timers_enable[0][1] = 0; - ymf262_timer_over(opl->YMF262, 1); -} - -void opl2_init(opl_t *opl) -{ - opl->YM3812[0] = ym3812_init(NULL, 3579545, 48000); - ym3812_reset_chip(opl->YM3812[0]); - ym3812_set_timer_handler(opl->YM3812[0], ym3812_timer_set_0, opl); - - opl->YM3812[1] = ym3812_init(NULL, 3579545, 48000); - ym3812_reset_chip(opl->YM3812[1]); - ym3812_set_timer_handler(opl->YM3812[1], ym3812_timer_set_1, opl); - - timer_add(opl_timer_callback00, &opl->timers[0][0], &opl->timers_enable[0][0], (void *)opl); - timer_add(opl_timer_callback01, &opl->timers[0][1], &opl->timers_enable[0][1], (void *)opl); - timer_add(opl_timer_callback10, &opl->timers[1][0], &opl->timers_enable[1][0], (void *)opl); - timer_add(opl_timer_callback11, &opl->timers[1][1], &opl->timers_enable[1][1], (void *)opl); -} - -void opl3_init(opl_t *opl) -{ - opl->YMF262 = ymf262_init(NULL, 3579545 * 4, 48000); - ymf262_reset_chip(opl->YMF262); - ymf262_set_timer_handler(opl->YMF262, ymf262_timer_set, opl); - timer_add(opl3_timer_callback00, &opl->timers[0][0], &opl->timers_enable[0][0], (void *)opl); - timer_add(opl3_timer_callback01, &opl->timers[0][1], &opl->timers_enable[0][1], (void *)opl); -} - diff --git a/src/sound_mpu401_uart.c b/src/sound_mpu401_uart.c index 8e2b2d14a..417ff6bfc 100644 --- a/src/sound_mpu401_uart.c +++ b/src/sound_mpu401_uart.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "sound_mpu401_uart.h" diff --git a/src/sound_mpu401_uart.h b/src/sound_mpu401_uart.h index f13a4bf0f..34741cc99 100644 --- a/src/sound_mpu401_uart.h +++ b/src/sound_mpu401_uart.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct mpu401_uart_t { uint8_t status; diff --git a/src/sound_opl.c b/src/sound_opl.c index e555f46be..28647f6dc 100644 --- a/src/sound_opl.c +++ b/src/sound_opl.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, SA1988 + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound_opl.h b/src/sound_opl.h index 0632f0842..9e9aa2237 100644 --- a/src/sound_opl.h +++ b/src/sound_opl.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct opl_t { int chip_nr[2]; diff --git a/src/sound_pas16.c b/src/sound_pas16.c index 5b6a91874..911ace2a2 100644 --- a/src/sound_pas16.c +++ b/src/sound_pas16.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound_pas16.h b/src/sound_pas16.h index e3a134751..e2bad974e 100644 --- a/src/sound_pas16.h +++ b/src/sound_pas16.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pas16_device; diff --git a/src/sound_ps1.c b/src/sound_ps1.c index 1c03ef8ee..3b0f7681f 100644 --- a/src/sound_ps1.c +++ b/src/sound_ps1.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound_ps1.h b/src/sound_ps1.h index 04bb209d5..4297fe0cf 100644 --- a/src/sound_ps1.h +++ b/src/sound_ps1.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t ps1_audio_device; diff --git a/src/sound_pssj.c b/src/sound_pssj.c index 031f5767e..62ac65e5a 100644 --- a/src/sound_pssj.c +++ b/src/sound_pssj.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/sound_pssj.h b/src/sound_pssj.h index 2255d48fb..3e455ebf9 100644 --- a/src/sound_pssj.h +++ b/src/sound_pssj.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pssj_device; diff --git a/src/sound_resid.cc b/src/sound_resid.cc index 8185b6046..587c499c2 100644 --- a/src/sound_resid.cc +++ b/src/sound_resid.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/sound_resid.h b/src/sound_resid.h index 402ee0ceb..27e7261d5 100644 --- a/src/sound_resid.h +++ b/src/sound_resid.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/sound_sb.c b/src/sound_sb.c index 14e0c39ad..a9624f5fc 100644 --- a/src/sound_sb.c +++ b/src/sound_sb.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sound_sb.h b/src/sound_sb.h index 16bfeec97..1eba1f415 100644 --- a/src/sound_sb.h +++ b/src/sound_sb.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t sb_1_device; extern device_t sb_15_device; extern device_t sb_2_device; diff --git a/src/sound_sb_dsp.c b/src/sound_sb_dsp.c index 232604e14..7cefaba6d 100644 --- a/src/sound_sb_dsp.c +++ b/src/sound_sb_dsp.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Jazz sample rates : 386-33 - 12kHz 486-33 - 20kHz diff --git a/src/sound_sb_dsp.h b/src/sound_sb_dsp.h index 851d4097b..929f7eaeb 100644 --- a/src/sound_sb_dsp.h +++ b/src/sound_sb_dsp.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct sb_dsp_t { int sb_type; diff --git a/src/sound_sn76489.c b/src/sound_sn76489.c index 2dae07669..60e2969e3 100644 --- a/src/sound_sn76489.c +++ b/src/sound_sn76489.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sound_sn76489.h b/src/sound_sn76489.h index 84c102821..e059508c5 100644 --- a/src/sound_sn76489.h +++ b/src/sound_sn76489.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ enum { SN76496, diff --git a/src/sound_speaker.c b/src/sound_speaker.c index 8e678253e..1be6f2121 100644 --- a/src/sound_speaker.c +++ b/src/sound_speaker.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "sound.h" #include "sound_speaker.h" diff --git a/src/sound_speaker.h b/src/sound_speaker.h index 409a7c4e6..4034a8681 100644 --- a/src/sound_speaker.h +++ b/src/sound_speaker.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void speaker_init(); extern int speaker_mute; diff --git a/src/sound_ssi2001.c b/src/sound_ssi2001.c index fd675c309..f1d4e3ab6 100644 --- a/src/sound_ssi2001.c +++ b/src/sound_ssi2001.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/sound_ssi2001.h b/src/sound_ssi2001.h index 337c6260a..b48a8b1d5 100644 --- a/src/sound_ssi2001.h +++ b/src/sound_ssi2001.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t ssi2001_device; diff --git a/src/sound_wss.c b/src/sound_wss.c index b5fecd08f..0ab1a70ea 100644 --- a/src/sound_wss.c +++ b/src/sound_wss.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PCem v0.8 by Tom Walker Windows Sound System emulation*/ diff --git a/src/sound_wss.h b/src/sound_wss.h index bd387d6f3..089e41efd 100644 --- a/src/sound_wss.h +++ b/src/sound_wss.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t wss_device; diff --git a/src/sound_ym7128.c b/src/sound_ym7128.c index 7c1aa06ff..3ccb13d36 100644 --- a/src/sound_ym7128.c +++ b/src/sound_ym7128.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "sound_ym7128.h" diff --git a/src/sound_ym7128.h b/src/sound_ym7128.h index f71aa2f86..1f3ac417d 100644 --- a/src/sound_ym7128.h +++ b/src/sound_ym7128.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct ym7128_t { int a0, sci; diff --git a/src/soundopenal.c b/src/soundopenal.c index 78f81ed87..683f67d6a 100644 --- a/src/soundopenal.c +++ b/src/soundopenal.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define USE_OPENAL #include #include diff --git a/src/tandy_eeprom.c b/src/tandy_eeprom.c index af4e7c1bf..53dbe576d 100644 --- a/src/tandy_eeprom.c +++ b/src/tandy_eeprom.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/tandy_eeprom.h b/src/tandy_eeprom.h index c129050c8..9d2a053d1 100644 --- a/src/tandy_eeprom.h +++ b/src/tandy_eeprom.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ device_t tandy_eeprom_device; int tandy_eeprom_read(); diff --git a/src/tandy_rom.c b/src/tandy_rom.c index f95ca0dfb..bfa8738ef 100644 --- a/src/tandy_rom.c +++ b/src/tandy_rom.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include "ibm.h" #include "device.h" diff --git a/src/tandy_rom.h b/src/tandy_rom.h index 4dfbb3e71..252ad206c 100644 --- a/src/tandy_rom.h +++ b/src/tandy_rom.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t tandy_rom_device; diff --git a/src/thread-pthread.c b/src/thread-pthread.c index 3a9a185db..dd56ef896 100644 --- a/src/thread-pthread.c +++ b/src/thread-pthread.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/thread.h b/src/thread.h index 815b4f049..3397760fe 100644 --- a/src/thread.h +++ b/src/thread.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef void thread_t; thread_t *thread_create(void (*thread_rout)(void *param), void *param); void thread_kill(thread_t *handle); diff --git a/src/timer.c b/src/timer.c index 49348b7f0..de7f1c68c 100644 --- a/src/timer.c +++ b/src/timer.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include "ibm.h" /*#include "sound_opl.h" diff --git a/src/timer.h b/src/timer.h index c96e85988..2ca36ebfa 100644 --- a/src/timer.h +++ b/src/timer.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifndef _TIMER_H_ #define _TIMER_H_ diff --git a/src/um8669f.c b/src/um8669f.c index 85d527cff..1b7c85833 100644 --- a/src/um8669f.c +++ b/src/um8669f.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*um8669f : aa to 108 unlocks diff --git a/src/um8669f.h b/src/um8669f.h index 409ad51c2..19a56ba02 100644 --- a/src/um8669f.h +++ b/src/um8669f.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern void um8669f_init(); diff --git a/src/um8881f.c b/src/um8881f.c index 29f89630f..c39c21b11 100644 --- a/src/um8881f.c +++ b/src/um8881f.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" #include "mem.h" diff --git a/src/um8881f.h b/src/um8881f.h index 7411a742f..4ee34640d 100644 --- a/src/um8881f.h +++ b/src/um8881f.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void um8881f_init(); diff --git a/src/vid_ati18800.c b/src/vid_ati18800.c index cf8003ef1..c7993b2cf 100644 --- a/src/vid_ati18800.c +++ b/src/vid_ati18800.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*ATI 18800 emulation (VGA Edge-16)*/ #include #include "ibm.h" diff --git a/src/vid_ati18800.h b/src/vid_ati18800.h index 6cdd2366b..5d95372f9 100644 --- a/src/vid_ati18800.h +++ b/src/vid_ati18800.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t ati18800_device; diff --git a/src/vid_ati28800.c b/src/vid_ati28800.c index d32b548f9..85ef676d6 100644 --- a/src/vid_ati28800.c +++ b/src/vid_ati28800.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*ATI 28800 emulation (VGA Charger)*/ #include #include "ibm.h" diff --git a/src/vid_ati28800.h b/src/vid_ati28800.h index 83b1769b7..6bd7c39d6 100644 --- a/src/vid_ati28800.h +++ b/src/vid_ati28800.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t ati28800_device; extern device_t compaq_ati28800_device; extern device_t ati28800_wonderxl24_device; diff --git a/src/vid_ati68860_ramdac.c b/src/vid_ati68860_ramdac.c index 273c9673e..58cc899c0 100644 --- a/src/vid_ati68860_ramdac.c +++ b/src/vid_ati68860_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*ATI 68860 RAMDAC emulation (for Mach64)*/ /* ATI 68860/68880 Truecolor DACs: diff --git a/src/vid_ati68860_ramdac.h b/src/vid_ati68860_ramdac.h index 9add13a62..c71376b42 100644 --- a/src/vid_ati68860_ramdac.h +++ b/src/vid_ati68860_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct ati68860_ramdac_t { uint8_t regs[16]; diff --git a/src/vid_ati_eeprom.c b/src/vid_ati_eeprom.c index 285f90878..8111c30ab 100644 --- a/src/vid_ati_eeprom.c +++ b/src/vid_ati_eeprom.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "vid_ati_eeprom.h" diff --git a/src/vid_ati_eeprom.h b/src/vid_ati_eeprom.h index 63adf19ef..540f2c3f9 100644 --- a/src/vid_ati_eeprom.h +++ b/src/vid_ati_eeprom.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct ati_eeprom_t { uint16_t data[256]; diff --git a/src/vid_ati_mach64.c b/src/vid_ati_mach64.c index 2b15763a2..249447659 100644 --- a/src/vid_ati_mach64.c +++ b/src/vid_ati_mach64.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*ATI Mach64 emulation*/ #include #include "ibm.h" diff --git a/src/vid_ati_mach64.h b/src/vid_ati_mach64.h index 95a7e9744..6eedc3db2 100644 --- a/src/vid_ati_mach64.h +++ b/src/vid_ati_mach64.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t mach64gx_device; diff --git a/src/vid_bt485_ramdac.c b/src/vid_bt485_ramdac.c index 258ee940e..57848a128 100644 --- a/src/vid_bt485_ramdac.c +++ b/src/vid_bt485_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /*Brooktree BT485 true colour RAMDAC emulation*/ /*Currently only a dummy stub for logging and passing output to the generic SVGA handler*/ #include "ibm.h" diff --git a/src/vid_bt485_ramdac.h b/src/vid_bt485_ramdac.h index f7109e547..12d535359 100644 --- a/src/vid_bt485_ramdac.h +++ b/src/vid_bt485_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ typedef struct bt485_ramdac_t { int magic_count; diff --git a/src/vid_cga.c b/src/vid_cga.c index e0202ff17..bf25c390e 100644 --- a/src/vid_cga.c +++ b/src/vid_cga.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*CGA emulation*/ #include #include diff --git a/src/vid_cga.h b/src/vid_cga.h index fd09dddaf..c2d23fec1 100644 --- a/src/vid_cga.h +++ b/src/vid_cga.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct cga_t { mem_mapping_t mapping; diff --git a/src/vid_cl5429.c b/src/vid_cl5429.c index a456e2876..cce6f3966 100644 --- a/src/vid_cl5429.c +++ b/src/vid_cl5429.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Cirrus Logic CL-GD5429 emulation*/ #include #include "ibm.h" diff --git a/src/vid_cl5429.h b/src/vid_cl5429.h index 588590c1b..a3e327f46 100644 --- a/src/vid_cl5429.h +++ b/src/vid_cl5429.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t gd5429_device; diff --git a/src/vid_ega.c b/src/vid_ega.c index 246a9d9fc..a1f2f0b4b 100644 --- a/src/vid_ega.c +++ b/src/vid_ega.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*EGA emulation*/ #include #include "ibm.h" diff --git a/src/vid_ega.h b/src/vid_ega.h index d58c7196b..6151acb4e 100644 --- a/src/vid_ega.h +++ b/src/vid_ega.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct ega_t { mem_mapping_t mapping; diff --git a/src/vid_et4000.c b/src/vid_et4000.c index d8f4442e9..aae35bdb5 100644 --- a/src/vid_et4000.c +++ b/src/vid_et4000.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*ET4000 emulation*/ #include #include "ibm.h" diff --git a/src/vid_et4000.h b/src/vid_et4000.h index a20f8820d..54daa1dd4 100644 --- a/src/vid_et4000.h +++ b/src/vid_et4000.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t et4000_device; diff --git a/src/vid_et4000w32.c b/src/vid_et4000w32.c index a9f873d38..b38734a2a 100644 --- a/src/vid_et4000w32.c +++ b/src/vid_et4000w32.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*ET4000/W32p emulation (Diamond Stealth 32)*/ /*Known bugs : diff --git a/src/vid_et4000w32.h b/src/vid_et4000w32.h index eff8b9847..fa27ae837 100644 --- a/src/vid_et4000w32.h +++ b/src/vid_et4000w32.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t et4000w32p_device; extern device_t et4000w32pc_device; extern device_t et4000w32pcs_device; diff --git a/src/vid_et4000w32i.c b/src/vid_et4000w32i.c index 5aec84b1f..62988adb9 100644 --- a/src/vid_et4000w32i.c +++ b/src/vid_et4000w32i.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*The below is (with some removals) a reasonable emulation of the ET4000/W32i blitter. Unfortunately the Diamond Stealth 32 is actually an ET4000/W32p! Which has a different blitter. If only I'd dug out and looked at the card before trying to emulate it. diff --git a/src/vid_hercules.c b/src/vid_hercules.c index b89aa69c9..37e7582e5 100644 --- a/src/vid_hercules.c +++ b/src/vid_hercules.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Hercules emulation*/ #include #include "ibm.h" diff --git a/src/vid_hercules.h b/src/vid_hercules.h index 93b222bc2..869ff317d 100644 --- a/src/vid_hercules.h +++ b/src/vid_hercules.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t hercules_device; diff --git a/src/vid_icd2061.c b/src/vid_icd2061.c index 8dc254ec2..e6f246664 100644 --- a/src/vid_icd2061.c +++ b/src/vid_icd2061.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PCem v8.1 by Tom Walker ICD2061 clock generator emulation diff --git a/src/vid_icd2061.h b/src/vid_icd2061.h index 6a235fae6..acb6821cf 100644 --- a/src/vid_icd2061.h +++ b/src/vid_icd2061.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct icd2061_t { int state; diff --git a/src/vid_ics2595.c b/src/vid_ics2595.c index 72c5b6fdb..024cacd93 100644 --- a/src/vid_ics2595.c +++ b/src/vid_ics2595.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*ICS2595 clock chip emulation Used by ATI Mach64*/ diff --git a/src/vid_ics2595.h b/src/vid_ics2595.h index 2efe1734e..5e5f1842d 100644 --- a/src/vid_ics2595.h +++ b/src/vid_ics2595.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct ics2595_t { int oldfs3, oldfs2; diff --git a/src/vid_incolor.c b/src/vid_incolor.c index bcfc434ee..9226943a3 100644 --- a/src/vid_incolor.c +++ b/src/vid_incolor.c @@ -1,3 +1,6 @@ +/* Copyright holders: John Elliott + see COPYING for more details +*/ /*Hercules InColor emulation*/ #include diff --git a/src/vid_incolor.h b/src/vid_incolor.h index 297b7b42e..0e180ab82 100644 --- a/src/vid_incolor.h +++ b/src/vid_incolor.h @@ -1 +1,4 @@ +/* Copyright holders: John Elliott + see COPYING for more details +*/ extern device_t incolor_device; diff --git a/src/vid_mda.c b/src/vid_mda.c index d831e468e..cfaeeb6bf 100644 --- a/src/vid_mda.c +++ b/src/vid_mda.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*MDA emulation*/ #include #include "ibm.h" diff --git a/src/vid_mda.h b/src/vid_mda.h index 682c671e2..f08e48d03 100644 --- a/src/vid_mda.h +++ b/src/vid_mda.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t mda_device; diff --git a/src/vid_olivetti_m24.c b/src/vid_olivetti_m24.c index f192586dd..722759780 100644 --- a/src/vid_olivetti_m24.c +++ b/src/vid_olivetti_m24.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Olivetti M24 video emulation Essentially double-res CGA*/ #include diff --git a/src/vid_olivetti_m24.h b/src/vid_olivetti_m24.h index 8558cc7c6..5e278afdd 100644 --- a/src/vid_olivetti_m24.h +++ b/src/vid_olivetti_m24.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t m24_device; diff --git a/src/vid_oti067.c b/src/vid_oti067.c index 1c9cc5f33..6ded38b35 100644 --- a/src/vid_oti067.c +++ b/src/vid_oti067.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*Oak OTI067 emulation*/ #include #include "ibm.h" diff --git a/src/vid_oti067.h b/src/vid_oti067.h index 2c76fe80c..4ac802657 100644 --- a/src/vid_oti067.h +++ b/src/vid_oti067.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t oti067_device; extern device_t oti067_acer386_device; extern device_t oti077_device; diff --git a/src/vid_paradise.c b/src/vid_paradise.c index eb355ebd8..c7b1b3793 100644 --- a/src/vid_paradise.c +++ b/src/vid_paradise.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*Paradise VGA emulation PC2086, PC3086 use PVGA1A diff --git a/src/vid_paradise.h b/src/vid_paradise.h index 44d74dd4a..63503670c 100644 --- a/src/vid_paradise.h +++ b/src/vid_paradise.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ extern device_t paradise_pvga1a_pc2086_device; extern device_t paradise_pvga1a_pc3086_device; extern device_t paradise_wd90c11_megapc_device; diff --git a/src/vid_pc1512.c b/src/vid_pc1512.c index 7c3cec3cc..97cd35668 100644 --- a/src/vid_pc1512.c +++ b/src/vid_pc1512.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PC1512 CGA emulation The PC1512 extends CGA with a bit-planar 640x200x16 mode. diff --git a/src/vid_pc1512.h b/src/vid_pc1512.h index fec42d6cd..d68df4eab 100644 --- a/src/vid_pc1512.h +++ b/src/vid_pc1512.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pc1512_device; diff --git a/src/vid_pc1640.c b/src/vid_pc1640.c index ca922c4b5..aaedee2f4 100644 --- a/src/vid_pc1640.c +++ b/src/vid_pc1640.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PC1640 video emulation. Mostly standard EGA, but with CGA & Hercules emulation*/ #include diff --git a/src/vid_pc1640.h b/src/vid_pc1640.h index c836fd400..d754d495e 100644 --- a/src/vid_pc1640.h +++ b/src/vid_pc1640.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pc1640_device; diff --git a/src/vid_pc200.c b/src/vid_pc200.c index 414ccae28..99eeb3171 100644 --- a/src/vid_pc200.c +++ b/src/vid_pc200.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*PC200 video emulation. CGA with some NMI stuff. But we don't need that as it's only used for TV and LCD displays, and we're emulating a CRT*/ diff --git a/src/vid_pc200.h b/src/vid_pc200.h index cbb2cb58c..9c1524d4a 100644 --- a/src/vid_pc200.h +++ b/src/vid_pc200.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pc200_device; diff --git a/src/vid_pcjr.c b/src/vid_pcjr.c index 2b0d80d40..ce3e26ae2 100644 --- a/src/vid_pcjr.c +++ b/src/vid_pcjr.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/vid_pcjr.h b/src/vid_pcjr.h index 92bfc31e0..786b6c889 100644 --- a/src/vid_pcjr.h +++ b/src/vid_pcjr.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t pcjr_video_device; diff --git a/src/vid_ps1_svga.c b/src/vid_ps1_svga.c index ca1dc01c2..700582938 100644 --- a/src/vid_ps1_svga.c +++ b/src/vid_ps1_svga.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Emulation of the SVGA chip in the IBM PS/1 Model 2121, or at least the 20 MHz version. diff --git a/src/vid_ps1_svga.h b/src/vid_ps1_svga.h index 8cb73a9f4..1699173a8 100644 --- a/src/vid_ps1_svga.h +++ b/src/vid_ps1_svga.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t ps1_m2121_svga_device; diff --git a/src/vid_s3.c b/src/vid_s3.c index 66751fb9d..4f44109e6 100644 --- a/src/vid_s3.c +++ b/src/vid_s3.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, SA1988 + see COPYING for more details +*/ /*S3 emulation*/ #include #include "ibm.h" diff --git a/src/vid_s3.h b/src/vid_s3.h index 78d01cd38..2a1a01f25 100644 --- a/src/vid_s3.h +++ b/src/vid_s3.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ device_t s3_bahamas64_device; device_t s3_9fx_device; device_t s3_phoenix_trio32_device; diff --git a/src/vid_s3_virge.c b/src/vid_s3_virge.c index 79ea181dc..7e626d422 100644 --- a/src/vid_s3_virge.c +++ b/src/vid_s3_virge.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*S3 ViRGE emulation*/ #include #include "ibm.h" diff --git a/src/vid_s3_virge.h b/src/vid_s3_virge.h index dce1a2495..3419b8657 100644 --- a/src/vid_s3_virge.h +++ b/src/vid_s3_virge.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t s3_virge_device; extern device_t s3_virge_375_device; diff --git a/src/vid_sdac_ramdac.c b/src/vid_sdac_ramdac.c index 0c8ccdaa3..412e4836e 100644 --- a/src/vid_sdac_ramdac.c +++ b/src/vid_sdac_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*87C716 'SDAC' true colour RAMDAC emulation*/ /*Misidentifies as AT&T 21C504*/ #include "ibm.h" diff --git a/src/vid_sdac_ramdac.h b/src/vid_sdac_ramdac.h index 3aaf78730..e2a8557bb 100644 --- a/src/vid_sdac_ramdac.h +++ b/src/vid_sdac_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct sdac_ramdac_t { int magic_count; diff --git a/src/vid_stg_ramdac.c b/src/vid_stg_ramdac.c index 063e208bf..7fbd69785 100644 --- a/src/vid_stg_ramdac.c +++ b/src/vid_stg_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*STG1702 true colour RAMDAC emulation*/ #include "ibm.h" #include "mem.h" diff --git a/src/vid_stg_ramdac.h b/src/vid_stg_ramdac.h index 2402e46cc..8e383ea17 100644 --- a/src/vid_stg_ramdac.h +++ b/src/vid_stg_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct stg_ramdac_t { int magic_count; diff --git a/src/vid_svga.c b/src/vid_svga.c index f75a3a381..14f2df8f8 100644 --- a/src/vid_svga.c +++ b/src/vid_svga.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*Generic SVGA handling*/ /*This is intended to be used by another SVGA driver, and not as a card in it's own right*/ #include diff --git a/src/vid_svga.h b/src/vid_svga.h index d97affc59..b73c8636c 100644 --- a/src/vid_svga.h +++ b/src/vid_svga.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct svga_t { mem_mapping_t mapping; diff --git a/src/vid_svga_render.c b/src/vid_svga_render.c index bfe7e317d..6d4f47e12 100644 --- a/src/vid_svga_render.c +++ b/src/vid_svga_render.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "mem.h" #include "video.h" diff --git a/src/vid_svga_render.h b/src/vid_svga_render.h index 6a9cade17..f6611db57 100644 --- a/src/vid_svga_render.h +++ b/src/vid_svga_render.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern int firstline_draw, lastline_draw; extern int displine; extern int sc; diff --git a/src/vid_tandy.c b/src/vid_tandy.c index a6fcf37c2..4b589ded7 100644 --- a/src/vid_tandy.c +++ b/src/vid_tandy.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/vid_tandy.h b/src/vid_tandy.h index 67e3bc5cf..3e5221af9 100644 --- a/src/vid_tandy.h +++ b/src/vid_tandy.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t tandy_device; diff --git a/src/vid_tandysl.c b/src/vid_tandysl.c index f27a30d7c..070e5a4d4 100644 --- a/src/vid_tandysl.c +++ b/src/vid_tandysl.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/vid_tandysl.h b/src/vid_tandysl.h index 5d09cf6ce..c6fdf0838 100644 --- a/src/vid_tandysl.h +++ b/src/vid_tandysl.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t tandysl_device; diff --git a/src/vid_tgui9440.c b/src/vid_tgui9440.c index 86762c9c9..d6ce6ad8b 100644 --- a/src/vid_tgui9440.c +++ b/src/vid_tgui9440.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Trident TGUI9440 emulation*/ #include #include "ibm.h" diff --git a/src/vid_tgui9440.h b/src/vid_tgui9440.h index d5a09458e..066580f4b 100644 --- a/src/vid_tgui9440.h +++ b/src/vid_tgui9440.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t tgui9440_device; diff --git a/src/vid_tkd8001_ramdac.c b/src/vid_tkd8001_ramdac.c index 13f20e6e6..de75edaaa 100644 --- a/src/vid_tkd8001_ramdac.c +++ b/src/vid_tkd8001_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Trident TKD8001 RAMDAC emulation*/ #include "ibm.h" #include "mem.h" diff --git a/src/vid_tkd8001_ramdac.h b/src/vid_tkd8001_ramdac.h index b6db31b60..f83ba978d 100644 --- a/src/vid_tkd8001_ramdac.h +++ b/src/vid_tkd8001_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ typedef struct tkd8001_ramdac_t { int state; diff --git a/src/vid_tvga.c b/src/vid_tvga.c index 174a132b7..f5fa8f4bb 100644 --- a/src/vid_tvga.c +++ b/src/vid_tvga.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, SA1988 + see COPYING for more details +*/ /*Trident TVGA (8900D) emulation*/ #include #include "ibm.h" diff --git a/src/vid_tvga.h b/src/vid_tvga.h index e49e21f05..2851b9c59 100644 --- a/src/vid_tvga.h +++ b/src/vid_tvga.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t tvga8900d_device; diff --git a/src/vid_unk_ramdac.c b/src/vid_unk_ramdac.c index 56bed868b..cc57b3bb5 100644 --- a/src/vid_unk_ramdac.c +++ b/src/vid_unk_ramdac.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ /*It is unknown exactly what RAMDAC this is It is possibly a Sierra 1502x It's addressed by the TLIVESA1 driver for ET4000*/ diff --git a/src/vid_unk_ramdac.h b/src/vid_unk_ramdac.h index 0f92848f2..ad4c8c1d2 100644 --- a/src/vid_unk_ramdac.h +++ b/src/vid_unk_ramdac.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ typedef struct unk_ramdac_t { int state; diff --git a/src/vid_vga.c b/src/vid_vga.c index a800e9bc2..e9f73cf16 100644 --- a/src/vid_vga.c +++ b/src/vid_vga.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*IBM VGA emulation*/ #include #include "ibm.h" diff --git a/src/vid_vga.h b/src/vid_vga.h index 9a45bef5d..3297d04b0 100644 --- a/src/vid_vga.h +++ b/src/vid_vga.h @@ -1,2 +1,5 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t vga_device; extern device_t ps1vga_device; diff --git a/src/vid_voodoo.c b/src/vid_voodoo.c index 7a2735f3c..cc87dea6b 100644 --- a/src/vid_voodoo.c +++ b/src/vid_voodoo.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, leilei + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/vid_voodoo.h b/src/vid_voodoo.h index 047978327..52d786f3a 100644 --- a/src/vid_voodoo.h +++ b/src/vid_voodoo.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern device_t voodoo_device; diff --git a/src/vid_voodoo_codegen_x86-64.h b/src/vid_voodoo_codegen_x86-64.h index fcd84c433..e7992b16e 100644 --- a/src/vid_voodoo_codegen_x86-64.h +++ b/src/vid_voodoo_codegen_x86-64.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Registers : alphaMode diff --git a/src/vid_voodoo_codegen_x86.h b/src/vid_voodoo_codegen_x86.h index 40d1503a7..593adadf7 100644 --- a/src/vid_voodoo_codegen_x86.h +++ b/src/vid_voodoo_codegen_x86.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ /*Registers : alphaMode diff --git a/src/vid_voodoo_dither.h b/src/vid_voodoo_dither.h index 21baf772b..e9e37436c 100644 --- a/src/vid_voodoo_dither.h +++ b/src/vid_voodoo_dither.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ uint8_t dither_rb[256][4][4] = { { diff --git a/src/video.c b/src/video.c index 00fd09a90..0252e4237 100644 --- a/src/video.c +++ b/src/video.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #include diff --git a/src/video.h b/src/video.h index 6251dfebd..d4800b58f 100644 --- a/src/video.h +++ b/src/video.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifdef __unix #include "allegro-main.h" diff --git a/src/w83877f.c b/src/w83877f.c index 98f68a1fc..968bc74e0 100644 --- a/src/w83877f.c +++ b/src/w83877f.c @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ /* Winbond W83877F Super I/O Chip Used by the Award 430HX diff --git a/src/w83877f.h b/src/w83877f.h index 37595ab66..33120fbde 100644 --- a/src/w83877f.h +++ b/src/w83877f.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ extern void w83877f_init(); diff --git a/src/wd76c10.c b/src/wd76c10.c index 4f33b07d9..8809a1b45 100644 --- a/src/wd76c10.c +++ b/src/wd76c10.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "fdc.h" #include "io.h" diff --git a/src/wd76c10.h b/src/wd76c10.h index 44528f0f5..66683165a 100644 --- a/src/wd76c10.h +++ b/src/wd76c10.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void wd76c10_init(); diff --git a/src/win-config.c b/src/win-config.c index c60342edc..4e7410cc9 100644 --- a/src/win-config.c +++ b/src/win-config.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define BITMAP WINDOWS_BITMAP #include #include diff --git a/src/win-d3d-fs.cc b/src/win-d3d-fs.cc index 30111d0c6..1ccdc0925 100644 --- a/src/win-d3d-fs.cc +++ b/src/win-d3d-fs.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #define BITMAP WINDOWS_BITMAP diff --git a/src/win-d3d-fs.h b/src/win-d3d-fs.h index e0684ec1c..0c45c6e2d 100644 --- a/src/win-d3d-fs.h +++ b/src/win-d3d-fs.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/win-d3d.cc b/src/win-d3d.cc index 73d61bfb9..d73deb98e 100644 --- a/src/win-d3d.cc +++ b/src/win-d3d.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #define BITMAP WINDOWS_BITMAP #include diff --git a/src/win-d3d.h b/src/win-d3d.h index 33a23432a..4d4c341bc 100644 --- a/src/win-d3d.h +++ b/src/win-d3d.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/win-ddraw-fs.cc b/src/win-ddraw-fs.cc index 05ef4c7b2..b1800d931 100644 --- a/src/win-ddraw-fs.cc +++ b/src/win-ddraw-fs.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #define BITMAP WINDOWS_BITMAP #include diff --git a/src/win-ddraw-fs.h b/src/win-ddraw-fs.h index 89a863e1f..c94f2610f 100644 --- a/src/win-ddraw-fs.h +++ b/src/win-ddraw-fs.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/win-ddraw-screenshot.cc b/src/win-ddraw-screenshot.cc index a82694083..ee6436051 100644 --- a/src/win-ddraw-screenshot.cc +++ b/src/win-ddraw-screenshot.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ #include #include #define BITMAP WINDOWS_BITMAP diff --git a/src/win-ddraw-screenshot.h b/src/win-ddraw-screenshot.h index c493c4fb0..0d5b7cc7b 100644 --- a/src/win-ddraw-screenshot.h +++ b/src/win-ddraw-screenshot.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ void ddraw_common_take_screenshot(char *fn, IDirectDrawSurface4 *pDDSurface); diff --git a/src/win-ddraw.cc b/src/win-ddraw.cc index 59022874f..251029db7 100644 --- a/src/win-ddraw.cc +++ b/src/win-ddraw.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #include #include #define BITMAP WINDOWS_BITMAP diff --git a/src/win-ddraw.h b/src/win-ddraw.h index 3d3ecb39a..65e8e2bb1 100644 --- a/src/win-ddraw.h +++ b/src/win-ddraw.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #ifdef __cplusplus extern "C" { #endif diff --git a/src/win-deviceconfig.c b/src/win-deviceconfig.c index 87b79860a..bff026317 100644 --- a/src/win-deviceconfig.c +++ b/src/win-deviceconfig.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define BITMAP WINDOWS_BITMAP #include #include diff --git a/src/win-hdconf.c b/src/win-hdconf.c index 03cc678ed..345bc8964 100644 --- a/src/win-hdconf.c +++ b/src/win-hdconf.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define BITMAP WINDOWS_BITMAP #include #include diff --git a/src/win-joystick.cc b/src/win-joystick.cc index 5f77fd266..1bc2dfbfc 100644 --- a/src/win-joystick.cc +++ b/src/win-joystick.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define DIRECTINPUT_VERSION 0x0800 #include #include diff --git a/src/win-joystickconfig.c b/src/win-joystickconfig.c index a02f704e0..8c75d303f 100644 --- a/src/win-joystickconfig.c +++ b/src/win-joystickconfig.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define BITMAP WINDOWS_BITMAP #include #include diff --git a/src/win-keyboard.cc b/src/win-keyboard.cc index 928825e4b..16381cd4c 100644 --- a/src/win-keyboard.cc +++ b/src/win-keyboard.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define UNICODE #include #include diff --git a/src/win-midi.c b/src/win-midi.c index ba8965102..bb0bc2d78 100644 --- a/src/win-midi.c +++ b/src/win-midi.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include "ibm.h" diff --git a/src/win-mouse.cc b/src/win-mouse.cc index e769c7a45..0b0824cc7 100644 --- a/src/win-mouse.cc +++ b/src/win-mouse.cc @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define DIRECTINPUT_VERSION 0x0800 #include #include "plat-mouse.h" diff --git a/src/win-status.c b/src/win-status.c index 8d7e1f09d..58d97e12e 100644 --- a/src/win-status.c +++ b/src/win-status.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define BITMAP WINDOWS_BITMAP #include #include diff --git a/src/win-video.c b/src/win-video.c index c1202d17a..eed0059c6 100644 --- a/src/win-video.c +++ b/src/win-video.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include #include #include diff --git a/src/win.c b/src/win.c index fb50c7e33..c0c606aaf 100644 --- a/src/win.c +++ b/src/win.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ #define _WIN32_WINNT 0x0501 #define BITMAP WINDOWS_BITMAP #include diff --git a/src/win.h b/src/win.h index 8dcec28dd..5807bb2e9 100644 --- a/src/win.h +++ b/src/win.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ extern HINSTANCE hinstance; extern HWND ghwnd; extern int mousecapture; diff --git a/src/x86.h b/src/x86.h index 0a2fe0b9f..636f4618e 100644 --- a/src/x86.h +++ b/src/x86.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ uint16_t oldcs; uint32_t oldpc; extern uint32_t rmdat32; diff --git a/src/x86_flags.h b/src/x86_flags.h index d663fd464..f1a394e61 100644 --- a/src/x86_flags.h +++ b/src/x86_flags.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ enum { FLAGS_UNKNOWN, diff --git a/src/x86_ops.h b/src/x86_ops.h index a49fbc7dc..efaf7b717 100644 --- a/src/x86_ops.h +++ b/src/x86_ops.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, leilei + see COPYING for more details +*/ #ifndef _X86_OPS_H #define _X86_OPS_H diff --git a/src/x86_ops_arith.h b/src/x86_ops_arith.h index 17ec1119b..88054a67d 100644 --- a/src/x86_ops_arith.h +++ b/src/x86_ops_arith.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define OP_ARITH(name, operation, setflags, flagops, gettempc) \ static int op ## name ## _b_rmw_a16(uint32_t fetchdat) \ { \ diff --git a/src/x86_ops_atomic.h b/src/x86_ops_atomic.h index 49177a4df..0b5f007d8 100644 --- a/src/x86_ops_atomic.h +++ b/src/x86_ops_atomic.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opCMPXCHG_b_a16(uint32_t fetchdat) { uint8_t temp, temp2 = AL; diff --git a/src/x86_ops_bcd.h b/src/x86_ops_bcd.h index 37647005b..826c6505b 100644 --- a/src/x86_ops_bcd.h +++ b/src/x86_ops_bcd.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opAAA(uint32_t fetchdat) { flags_rebuild(); diff --git a/src/x86_ops_bit.h b/src/x86_ops_bit.h index d802cd6d7..641b4cbc5 100644 --- a/src/x86_ops_bit.h +++ b/src/x86_ops_bit.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opBT_w_r_a16(uint32_t fetchdat) { int tempc; diff --git a/src/x86_ops_bitscan.h b/src/x86_ops_bitscan.h index bf7ef97ac..7f3c17b1a 100644 --- a/src/x86_ops_bitscan.h +++ b/src/x86_ops_bitscan.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define BS_common(start, end, dir, dest, time) \ flags_rebuild(); \ if (temp) \ diff --git a/src/x86_ops_call.h b/src/x86_ops_call.h index 43a9a1612..775cf91a1 100644 --- a/src/x86_ops_call.h +++ b/src/x86_ops_call.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define CALL_FAR_w(new_seg, new_pc) \ old_cs = CS; \ old_pc = cpu_state.pc; \ diff --git a/src/x86_ops_flag.h b/src/x86_ops_flag.h index 6f4a2e800..1781d0af2 100644 --- a/src/x86_ops_flag.h +++ b/src/x86_ops_flag.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opCMC(uint32_t fetchdat) { flags_rebuild(); diff --git a/src/x86_ops_fpu.h b/src/x86_ops_fpu.h index 8c264374f..a1976f268 100644 --- a/src/x86_ops_fpu.h +++ b/src/x86_ops_fpu.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opESCAPE_d8_a16(uint32_t fetchdat) { return x86_opcodes_d8_a16[(fetchdat >> 3) & 0x1f](fetchdat); diff --git a/src/x86_ops_i686.h b/src/x86_ops_i686.h index 7e8413f5a..aef7b2088 100644 --- a/src/x86_ops_i686.h +++ b/src/x86_ops_i686.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ static int internal_illegal(char *s) { cpu_state.pc = oldpc; diff --git a/src/x86_ops_inc_dec.h b/src/x86_ops_inc_dec.h index 4ef60c8f2..576a45a46 100644 --- a/src/x86_ops_inc_dec.h +++ b/src/x86_ops_inc_dec.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define INC_DEC_OP(name, reg, inc, setflags) \ static int op ## name (uint32_t fetchdat) \ { \ diff --git a/src/x86_ops_int.h b/src/x86_ops_int.h index 83bcc91d8..18499e604 100644 --- a/src/x86_ops_int.h +++ b/src/x86_ops_int.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opINT3(uint32_t fetchdat) { if ((cr0 & 1) && (eflags & VM_FLAG) && (IOPL != 3)) diff --git a/src/x86_ops_io.h b/src/x86_ops_io.h index c7bde30aa..8e106e4e1 100644 --- a/src/x86_ops_io.h +++ b/src/x86_ops_io.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opIN_AL_imm(uint32_t fetchdat) { uint16_t port = (uint16_t)getbytef(); diff --git a/src/x86_ops_jump.h b/src/x86_ops_jump.h index c2bc1e1ad..e0a1a1030 100644 --- a/src/x86_ops_jump.h +++ b/src/x86_ops_jump.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define cond_O ( VF_SET()) #define cond_NO (!VF_SET()) #define cond_B ( CF_SET()) diff --git a/src/x86_ops_misc.h b/src/x86_ops_misc.h index 3bf3a4e9c..76866be41 100644 --- a/src/x86_ops_misc.h +++ b/src/x86_ops_misc.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi + see COPYING for more details +*/ static int opCBW(uint32_t fetchdat) { AH = (AL & 0x80) ? 0xff : 0; diff --git a/src/x86_ops_mmx.h b/src/x86_ops_mmx.h index 079824571..3274dc58d 100644 --- a/src/x86_ops_mmx.h +++ b/src/x86_ops_mmx.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define SSATB(val) (((val) < -128) ? -128 : (((val) > 127) ? 127 : (val))) #define SSATW(val) (((val) < -32768) ? -32768 : (((val) > 32767) ? 32767 : (val))) #define USATB(val) (((val) < 0) ? 0 : (((val) > 255) ? 255 : (val))) diff --git a/src/x86_ops_mmx_arith.h b/src/x86_ops_mmx_arith.h index 7cdafa712..8d88b26c9 100644 --- a/src/x86_ops_mmx_arith.h +++ b/src/x86_ops_mmx_arith.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opPADDB_a16(uint32_t fetchdat) { MMX_REG src; diff --git a/src/x86_ops_mmx_cmp.h b/src/x86_ops_mmx_cmp.h index 04c16bf1d..91780edcb 100644 --- a/src/x86_ops_mmx_cmp.h +++ b/src/x86_ops_mmx_cmp.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opPCMPEQB_a16(uint32_t fetchdat) { MMX_REG src; diff --git a/src/x86_ops_mmx_logic.h b/src/x86_ops_mmx_logic.h index 002a7bec8..91c4053b9 100644 --- a/src/x86_ops_mmx_logic.h +++ b/src/x86_ops_mmx_logic.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opPAND_a16(uint32_t fetchdat) { MMX_REG src; diff --git a/src/x86_ops_mmx_mov.h b/src/x86_ops_mmx_mov.h index cc4fc85a4..a9351e4f1 100644 --- a/src/x86_ops_mmx_mov.h +++ b/src/x86_ops_mmx_mov.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opMOVD_l_mm_a16(uint32_t fetchdat) { MMX_ENTER(); diff --git a/src/x86_ops_mmx_pack.h b/src/x86_ops_mmx_pack.h index 55a7d2e85..166e84ff7 100644 --- a/src/x86_ops_mmx_pack.h +++ b/src/x86_ops_mmx_pack.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opPUNPCKLDQ_a16(uint32_t fetchdat) { MMX_ENTER(); diff --git a/src/x86_ops_mmx_shift.h b/src/x86_ops_mmx_shift.h index d2bf45393..b53b71f53 100644 --- a/src/x86_ops_mmx_shift.h +++ b/src/x86_ops_mmx_shift.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define MMX_GETSHIFT() \ if (cpu_mod == 3) \ { \ diff --git a/src/x86_ops_mov.h b/src/x86_ops_mov.h index 71d2f2d78..ae03a5219 100644 --- a/src/x86_ops_mov.h +++ b/src/x86_ops_mov.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, leilei + see COPYING for more details +*/ static int opMOV_AL_imm(uint32_t fetchdat) { AL = getbytef(); diff --git a/src/x86_ops_mov_ctrl.h b/src/x86_ops_mov_ctrl.h index 6f13c3120..acad33b31 100644 --- a/src/x86_ops_mov_ctrl.h +++ b/src/x86_ops_mov_ctrl.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opMOV_r_CRx_a16(uint32_t fetchdat) { if ((CPL || (eflags&VM_FLAG)) && (cr0&1)) diff --git a/src/x86_ops_mov_seg.h b/src/x86_ops_mov_seg.h index 6cf7fe252..2177ae472 100644 --- a/src/x86_ops_mov_seg.h +++ b/src/x86_ops_mov_seg.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opMOV_w_seg_a16(uint32_t fetchdat) { fetch_ea_16(fetchdat); diff --git a/src/x86_ops_movx.h b/src/x86_ops_movx.h index 0b578f993..30c743c4f 100644 --- a/src/x86_ops_movx.h +++ b/src/x86_ops_movx.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opMOVZX_w_b_a16(uint32_t fetchdat) { uint8_t temp; diff --git a/src/x86_ops_msr.h b/src/x86_ops_msr.h index 3d8cc07f8..d44f9a83b 100644 --- a/src/x86_ops_msr.h +++ b/src/x86_ops_msr.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opRDTSC(uint32_t fetchdat) { if (!cpu_hasrdtsc) diff --git a/src/x86_ops_mul.h b/src/x86_ops_mul.h index a54fd99a3..9b2c3a605 100644 --- a/src/x86_ops_mul.h +++ b/src/x86_ops_mul.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opIMUL_w_iw_a16(uint32_t fetchdat) { int32_t templ; diff --git a/src/x86_ops_pmode.h b/src/x86_ops_pmode.h index 0bc66aef0..15d6a5e8a 100644 --- a/src/x86_ops_pmode.h +++ b/src/x86_ops_pmode.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opARPL_a16(uint32_t fetchdat) { uint16_t temp_seg; diff --git a/src/x86_ops_prefix.h b/src/x86_ops_prefix.h index e9eb74caa..bc298022d 100644 --- a/src/x86_ops_prefix.h +++ b/src/x86_ops_prefix.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define op_seg(name, seg) \ static int op ## name ## _w_a16(uint32_t fetchdat) \ { \ diff --git a/src/x86_ops_rep.h b/src/x86_ops_rep.h index 4c94cd428..dafdbff7c 100644 --- a/src/x86_ops_rep.h +++ b/src/x86_ops_rep.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opREPNE(uint32_t fetchdat) { return rep386(0); diff --git a/src/x86_ops_ret.h b/src/x86_ops_ret.h index 384491fe2..eaebea37f 100644 --- a/src/x86_ops_ret.h +++ b/src/x86_ops_ret.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define RETF_a16(stack_offset) \ if ((msw&1) && !(eflags&VM_FLAG)) \ { \ diff --git a/src/x86_ops_set.h b/src/x86_ops_set.h index de39bdefc..737257af7 100644 --- a/src/x86_ops_set.h +++ b/src/x86_ops_set.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define opSET(condition) \ static int opSET ## condition ## _a16(uint32_t fetchdat) \ { \ diff --git a/src/x86_ops_shift.h b/src/x86_ops_shift.h index 698c51e6b..22df47281 100644 --- a/src/x86_ops_shift.h +++ b/src/x86_ops_shift.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define OP_SHIFT_b(c) \ { \ uint8_t temp_orig = temp; \ diff --git a/src/x86_ops_stack.h b/src/x86_ops_stack.h index eda58894f..e9a74241c 100644 --- a/src/x86_ops_stack.h +++ b/src/x86_ops_stack.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #define PUSH_W_OP(reg) \ static int opPUSH_ ## reg (uint32_t fetchdat) \ { \ diff --git a/src/x86_ops_string.h b/src/x86_ops_string.h index 010fd37b9..1eb8fd753 100644 --- a/src/x86_ops_string.h +++ b/src/x86_ops_string.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opMOVSB_a16(uint32_t fetchdat) { uint8_t temp = readmemb(ea_seg->base, SI); if (abrt) return 1; diff --git a/src/x86_ops_xchg.h b/src/x86_ops_xchg.h index d4852983b..10748ee02 100644 --- a/src/x86_ops_xchg.h +++ b/src/x86_ops_xchg.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opXCHG_b_a16(uint32_t fetchdat) { uint8_t temp; diff --git a/src/x86seg.c b/src/x86seg.c index db15a713c..abc18a5a2 100644 --- a/src/x86seg.c +++ b/src/x86seg.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, SA1988 + see COPYING for more details +*/ //#if 0 #include #include diff --git a/src/x86seg.h b/src/x86seg.h index daf10a46e..4a36f360b 100644 --- a/src/x86seg.h +++ b/src/x86seg.h @@ -1 +1,4 @@ +/* Copyright holders: Tenshi + see COPYING for more details +*/ void do_seg_load(x86seg *s, uint16_t *segdat); diff --git a/src/x87.c b/src/x87.c index 277320383..2f3b8ac29 100644 --- a/src/x87.c +++ b/src/x87.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ //Quake timedemo demo1 - 8.1FPS //11A00 - D_SCAlloc diff --git a/src/x87.h b/src/x87.h index 1c58ba189..46fa04480 100644 --- a/src/x87.h +++ b/src/x87.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ uint32_t x87_pc_off,x87_op_off; uint16_t x87_pc_seg,x87_op_seg; extern uint32_t op32; diff --git a/src/x87_ops.h b/src/x87_ops.h index 09163e215..d05f601c1 100644 --- a/src/x87_ops.h +++ b/src/x87_ops.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, Tenshi, leilei + see COPYING for more details +*/ #include #include diff --git a/src/x87_ops_arith.h b/src/x87_ops_arith.h index 6e8fb4659..7d2d9ad59 100644 --- a/src/x87_ops_arith.h +++ b/src/x87_ops_arith.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker, leilei + see COPYING for more details +*/ #define opFPU(name, optype, a_size, load_var, get, use_var) \ static int opFADD ## name ## _a ## a_size(uint32_t fetchdat) \ { \ diff --git a/src/x87_ops_loadstore.h b/src/x87_ops_loadstore.h index bede280b9..5e82eaf37 100644 --- a/src/x87_ops_loadstore.h +++ b/src/x87_ops_loadstore.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opFILDiw_a16(uint32_t fetchdat) { int16_t temp; diff --git a/src/x87_ops_misc.h b/src/x87_ops_misc.h index edc2561cf..721077298 100644 --- a/src/x87_ops_misc.h +++ b/src/x87_ops_misc.h @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ static int opFSTSW_AX(uint32_t fetchdat) { FP_ENTER(); diff --git a/src/xtide.c b/src/xtide.c index 5694cf78b..b464d0231 100644 --- a/src/xtide.c +++ b/src/xtide.c @@ -1,3 +1,6 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ #include "ibm.h" #include "io.h" diff --git a/src/xtide.h b/src/xtide.h index 36e01c0a4..bc1761369 100644 --- a/src/xtide.h +++ b/src/xtide.h @@ -1 +1,4 @@ +/* Copyright holders: Sarah Walker + see COPYING for more details +*/ void xtide_init();