mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion] blackbox
This commit is contained in:
7
ion/src/blackbox/Makefile
Normal file
7
ion/src/blackbox/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
objs += $(addprefix ion/src/blackbox/, boot.o ion.o)
|
||||
#objs += $(addprefix ion/src/simulator/boot/, main.o)
|
||||
#objs += $(addprefix ion/src/simulator/display/, fltklcd.o)
|
||||
#objs += $(addprefix ion/src/simulator/keyboard/, fltkkbd.o)
|
||||
|
||||
#SFLAGS += -I/usr/local/Cellar/fltk/1.3.3/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
|
||||
#LDFLAGS += -L/usr/local/Cellar/fltk/1.3.3/lib -lfltk -lpthread -framework Cocoa
|
||||
11
ion/src/blackbox/boot.c
Normal file
11
ion/src/blackbox/boot.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#define HEAP_SIZE 65536
|
||||
char heap[HEAP_SIZE];
|
||||
char * _liba_heap_start = &heap[0];
|
||||
char * _liba_heap_end = &heap[HEAP_SIZE];
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
ion_app();
|
||||
/* while (1) {
|
||||
}*/
|
||||
return 0;
|
||||
}
|
||||
12
ion/src/blackbox/ion.c
Normal file
12
ion/src/blackbox/ion.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <stdint.h>
|
||||
#include <ion.h>
|
||||
|
||||
void ion_set_pixel(uint8_t x, uint8_t y, uint8_t color) {
|
||||
}
|
||||
|
||||
bool ion_key_down(ion_key_t key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ion_sleep() {
|
||||
}
|
||||
Reference in New Issue
Block a user