megadrive_test1

diff src/io.c @ 6:862f8a034cae

expanding the megadrive code
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 11 Feb 2017 08:56:42 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/io.c	Sat Feb 11 08:56:42 2017 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +#include "io.h"
     1.5 +
     1.6 +int mdg_version(void)
     1.7 +{
     1.8 +	return IO_VERSION & IO_VER_MASK;
     1.9 +}
    1.10 +
    1.11 +int mdg_ispal(void)
    1.12 +{
    1.13 +	return IO_VERSION & IO_VER_VMOD;
    1.14 +}