Initial commit.

This commit is contained in:
2025-02-22 17:40:06 +05:00
commit 4908c1830e
10 changed files with 75 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "uxn.hh"
void print(char *c) {
for (char* i = c; *i != '\0'; i++)
deo2(*i, 0x18);
}
int main(void) {
print((char*)"Hello, World!\n");
}
+4
View File
@@ -0,0 +1,4 @@
#ifndef TYPES_HH
#define TYPES_HH
typedef decltype(sizeof(0)) size_t;
#endif
+9
View File
@@ -0,0 +1,9 @@
#ifndef UXN_HH
#define UXN_HH
extern "C" {
void deo(char data, char device);
void deo2(int data, char device);
char dei(char device);
int dei2(char device);
}
#endif