From 40524fef8af98b04e029ab192b34bb65d80981a4 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Tue, 7 Nov 2017 09:05:54 +1100 Subject: [PATCH] Update to v105r1 release. byuu says: Changelog: - higan: readded support for soft-reset to Famicom, Super Famicom, Mega Drive cores (work in progress) - handhelds lack soft reset obviously - the PC Engine also lacks a physical reset button - the Master System's reset button acts like a gamepad button, so can't show up in the menu - Mega Drive: power cycle wasn't initializing CPU (M68K) or APU (Z80) RAM - Super Famicom: fix SPC700 opcode 0x3b regression; fixes Majuu Ou [Jonas Quinn] - Super Famicom: fix SharpRTC save regression; fixes Dai Kaijuu Monogatari II's real-time clock [Talarubi] - Super Famicom: fix EpsonRTC save regression; fixes Tengai Makyou Zero's real-time clock [Talarubi] - Super Famicom: removed `*::init()` functions, as they were never used - Super Famicom: removed all but two `*::load()` functions, as they were not used - higan: added option to auto-save backup RAM every five seconds (enabled by default) - this is in case the emulator crashes, or there's a power outage; turn it off under advanced settings if you want - libco: updated license from public domain to ISC, for consistency with nall, ruby, hiro - nall: Linux compiler defaults to g++; override with g++-version if g++ is <= 4.8 - FreeBSD compiler default is going to remain g++49 until my dev box OS ships with g++ >= 4.9 Errata: I have weird RAM initialization constants, thanks to hex_usr and onethirdxcubed for both finding this: http://wiki.nesdev.com/w/index.php?title=CPU_power_up_state&diff=11711&oldid=11184 I'll remove this in the next WIP. --- doc/style.css | 12 ++++-------- doc/usage.html | 53 ++++++++++++++------------------------------------ libco.h | 2 +- 3 files changed, 20 insertions(+), 47 deletions(-) diff --git a/doc/style.css b/doc/style.css index da4a56dd..ab070256 100644 --- a/doc/style.css +++ b/doc/style.css @@ -3,14 +3,10 @@ body { color: #fff; } -a { - color: #aaf; -} - -a:visited { - color: #faf; -} - code { background: #444; } + +a { + color: #aaf; +} diff --git a/doc/usage.html b/doc/usage.html index efb34ec8..38576dc5 100644 --- a/doc/usage.html +++ b/doc/usage.html @@ -6,41 +6,19 @@ License:

-libco is released under the ISC license.
-
-Copyright © 2006-2017 byuu
-
-Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -
- -Contact:

-At present, you may contact me as byuu at -https://board.byuu.org.
-I am interested in knowing of any projects that make use of this library, -though this is only a courtesy. +libco is released under the ISC license.
Foreword:

libco is a cross-platform, permissively licensed implementation of -cooperative-multithreading; a feature that is sorely lacking -from the ISO C/C++ standard.
-The library is designed for maximum speed and portability, and -not for safety or features. If safety or extra functionality is desired, -a wrapper API can easily be written to encapsulate all library functions.
-Behavior of executing operations that are listed as not permitted -below result in undefined behavior. They may work anyway, they -may cause undesired / unknown behavior, or they may crash the -program entirely.
+cooperative-multithreading; a feature that is sorely lacking from the ISO C/C++ +standard.
+The library is designed for maximum speed and portability, and not for safety or +features. If safety or extra functionality is desired, a wrapper API can easily +be written to encapsulate all library functions.
+Behavior of executing operations that are listed as not permitted below result +in undefined behavior. They may work anyway, they may cause undesired / unknown +behavior, or they may crash the program entirely.
The goal of this library was to simplify the base API as much as possible, implementing only that which cannot be implemented using pure C. Additional functionality after this would only complicate ports of this library to new @@ -50,13 +28,12 @@ platforms. Porting:

This document is included as a reference for porting libco. Please submit any ports you create to me, so that libco can become more useful. Please note that -since libco is ISC, you must submit your code as a work of the public domain, -or under the same license, in order for it to be included in the official -distribution. Full credit will be given in the source code of the official -release. Please do not bother submitting code to me under any other -license—including GPL, LGPL, BSD or CC—I am not interested in -creating a library with multiple different licenses depending on which targets -are used. +since libco is permissively licensed, you must submit your code as a work of the +public domain in order for it to be included in the official distribution. +Full credit will be given in the source code of the official release. Please +do not bother submitting code to me under any other license -- including GPL, +LGPL, BSD or CC -- I am not interested in creating a library with multiple +different licenses depending on which targets are used.
Synopsis:

diff --git a/libco.h b/libco.h index 22a80f43..c8452154 100644 --- a/libco.h +++ b/libco.h @@ -1,5 +1,5 @@ /* - libco v18.01 (2017-01-22) + libco v18.02 (2017-11-06) author: byuu license: ISC */