First commit

This commit is contained in:
2021-01-08 04:13:12 +01:00
commit c29ed0580a
23 changed files with 643 additions and 0 deletions

7
include/console.h Normal file
View File

@@ -0,0 +1,7 @@
#include "types.h"
void put_char(char c);
char get_char();
void put_string(char* s);

3
include/random.h Normal file
View File

@@ -0,0 +1,3 @@
#include "types.h"
uint8_t random();

7
include/types.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
typedef signed char int8_t;
typedef short int int16_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;