Remove io c code

This commit is contained in:
Byron Lathi
2022-03-08 15:41:03 -06:00
parent ad55f986f5
commit 2c26e82a0d
3 changed files with 0 additions and 22 deletions

View File

@@ -1,6 +0,0 @@
#include <io.h>
int io_remap(int region) {
*(unsigned char*)IO_REMAP = region;
return (*(unsigned char*)IO_REMAP == region);
}

15
sw/io.h
View File

@@ -1,15 +0,0 @@
#ifndef _IO_H
#define IO_H
#define IO_REMAP 0x7fff
enum io_regions {
io_region_de10lite = 0,
};
int io_remap(int region);
#endif

View File

@@ -1,6 +1,5 @@
#include <io.h>
int main() {
io_remap(io_region_de10lite);
return 0;
}