# HG changeset patch # User John Tsiombikas # Date 1403407638 -10800 # Node ID 85f219fcdc82ff7a26fedb1ecc65fa762e6d2c40 # Parent 047c61960005f956203b40c7bd3edb1dd9bcf6ab# Parent 72c6429ae95308593b67d3b4af6417c64281e7ec merged diff -r 047c61960005 -r 85f219fcdc82 README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Sun Jun 22 06:27:18 2014 +0300 @@ -0,0 +1,15 @@ +gbasys +------ +GameBoy Advance hardware abstraction library + +Author: John Tsiombikas +License: GNU General Public License v3 (or later). See COPYING for details. + +gbasys provides a number of useful functions for writting programs on the +nintendo gameboy advance handheld console. Some of the features are: + * video modes and framebuffer access + * high-resolution timing + * DMA transfers + * interrupt-based pad input + * minimal pseudo-terminal and font rendering + * serial communications and GPIO. diff -r 047c61960005 -r 85f219fcdc82 src/comm.c --- a/src/comm.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/comm.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,6 +1,6 @@ /* gbasys - a gameboy advance hardware abstraction library -Copyright (C) 2004-2012 John Tsiombikas +Copyright (C) 2004-2014 John Tsiombikas 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 @@ -15,7 +15,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ - #include "comm.h" #include "error.h" #include "signal.h" diff -r 047c61960005 -r 85f219fcdc82 src/comm.h --- a/src/comm.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/comm.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,6 +1,6 @@ /* gbasys - a gameboy advance hardware abstraction library -Copyright (C) 2004-2012 John Tsiombikas +Copyright (C) 2004-2014 John Tsiombikas 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 diff -r 047c61960005 -r 85f219fcdc82 src/config.h --- a/src/config.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/config.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _LIBGBA_CONFIG_H_ #define _LIBGBA_CONFIG_H_ diff -r 047c61960005 -r 85f219fcdc82 src/dma.c --- a/src/dma.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/dma.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "config.h" #include "dma.h" diff -r 047c61960005 -r 85f219fcdc82 src/dma.h --- a/src/dma.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/dma.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _DMA_H_ #define _DMA_H_ diff -r 047c61960005 -r 85f219fcdc82 src/error.c --- a/src/error.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/error.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "gfx.h" void panic(const char *str) { diff -r 047c61960005 -r 85f219fcdc82 src/error.h --- a/src/error.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/error.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _ERROR_H_ #define _ERROR_H_ diff -r 047c61960005 -r 85f219fcdc82 src/font.c --- a/src/font.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/font.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "config.h" #include #include "font.h" diff -r 047c61960005 -r 85f219fcdc82 src/font.h --- a/src/font.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/font.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,8 +13,7 @@ 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 +along with this program. If not, see . */ #ifndef _FONT_H_ #define _FONT_H_ diff -r 047c61960005 -r 85f219fcdc82 src/font_8x16.c --- a/src/font_8x16.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/font_8x16.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,23 +1,3 @@ -/* -Copyright 2004 John Tsiombikas - -This file is part of gbasys, a library for GameBoy Advance development. - -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 -*/ - /* This source file is derived from an 8x8 font definition file in * the Linux 2.6.7 kernel (drivers/video/console/font_8x8.c) */ diff -r 047c61960005 -r 85f219fcdc82 src/font_8x8.c --- a/src/font_8x8.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/font_8x8.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,23 +1,3 @@ -/* -Copyright 2004 John Tsiombikas - -This file is part of gbasys, a library for GameBoy Advance development. - -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 -*/ - /* This source file is derived from an 8x8 font definition file in * the Linux 2.6.7 kernel (drivers/video/console/font_8x8.c) */ diff -r 047c61960005 -r 85f219fcdc82 src/gbasys.c --- a/src/gbasys.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/gbasys.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "config.h" #include "gbasys.h" diff -r 047c61960005 -r 85f219fcdc82 src/gbasys.h --- a/src/gbasys.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/gbasys.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _LIBGBA_H_ #define _LIBGBA_H_ diff -r 047c61960005 -r 85f219fcdc82 src/gfx.c --- a/src/gfx.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/gfx.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "config.h" #include diff -r 047c61960005 -r 85f219fcdc82 src/gfx.h --- a/src/gfx.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/gfx.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,10 +1,10 @@ /* -This file is part of libgba, a library for GameBoy Advance development. -Copyright (C) 2004, 2005 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -13,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _GFX_H_ #define _GFX_H_ diff -r 047c61960005 -r 85f219fcdc82 src/input.c --- a/src/input.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/input.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "input.h" #define REG_KEYSTATE (*(unsigned short*)0x4000130) diff -r 047c61960005 -r 85f219fcdc82 src/input.h --- a/src/input.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/input.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _INPUT_H_ #define _INPUT_H_ diff -r 047c61960005 -r 85f219fcdc82 src/intr.c --- a/src/intr.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/intr.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "intr.h" #include "error.h" diff -r 047c61960005 -r 85f219fcdc82 src/intr.h --- a/src/intr.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/intr.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _INTR_H_ #define _INTR_H_ diff -r 047c61960005 -r 85f219fcdc82 src/signal.c --- a/src/signal.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/signal.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "signal.h" #include "intr.h" diff -r 047c61960005 -r 85f219fcdc82 src/signal.h --- a/src/signal.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/signal.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - typedef void (*sighandler_t)(int); #define SIG_ERR ((sighandler_t)-1) /* Error return. */ diff -r 047c61960005 -r 85f219fcdc82 src/syscall.c --- a/src/syscall.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/syscall.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include "config.h" #include diff -r 047c61960005 -r 85f219fcdc82 src/syscall.h --- a/src/syscall.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/syscall.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _SYSCALL_H_ #define _SYSCALL_H_ diff -r 047c61960005 -r 85f219fcdc82 src/term.c --- a/src/term.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/term.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include #include "term.h" #include "input.h" diff -r 047c61960005 -r 85f219fcdc82 src/term.h --- a/src/term.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/term.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _TERM_H_ #define _TERM_H_ diff -r 047c61960005 -r 85f219fcdc82 src/timer.c --- a/src/timer.c Sun Jun 22 06:26:11 2014 +0300 +++ b/src/timer.c Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of libgba, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #include #include "intr.h" #include "signal.h" diff -r 047c61960005 -r 85f219fcdc82 src/timer.h --- a/src/timer.h Sun Jun 22 06:26:11 2014 +0300 +++ b/src/timer.h Sun Jun 22 06:27:18 2014 +0300 @@ -1,11 +1,10 @@ /* -Copyright 2004-2012 John Tsiombikas +gbasys - a gameboy advance hardware abstraction library +Copyright (C) 2004-2014 John Tsiombikas -This file is part of gbasys, a library for GameBoy Advance development. - -This program is free software; you can redistribute it and/or modify +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 +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,10 +13,8 @@ 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 +along with this program. If not, see . */ - #ifndef _TIMER_H_ #define _TIMER_H_