Add file device
This commit is contained in:
parent
aa291e198d
commit
9f725d6dd4
|
@ -12,6 +12,7 @@
|
|||
#include "ppu.c"
|
||||
#include "uxn/src/devices/system.c"
|
||||
#include "uxn/src/devices/datetime.c"
|
||||
#include "uxn/src/devices/file.c"
|
||||
#include "uxn/src/uxn.c"
|
||||
|
||||
#define CLAMP(X, MIN, MAX) ((X) <= (MIN) ? (MIN) : (X) > (MAX) ? (MAX): (X))
|
||||
|
@ -467,9 +468,7 @@ init_uxn(Uxn *u, char *file_name) {
|
|||
/* unused */ uxn_port(u, 0x7, nil_dei, nil_deo);
|
||||
/* control */ devctrl = uxn_port(u, 0x8, nil_dei, nil_deo);
|
||||
/* mouse */ devmouse = uxn_port(u, 0x9, nil_dei, nil_deo);
|
||||
// TODO:
|
||||
// /* file */ uxn_port(u, 0xa, nil_dei, file_deo);
|
||||
/* file */ uxn_port(u, 0xa, nil_dei, nil_deo);
|
||||
/* file */ uxn_port(u, 0xa, nil_dei, file_deo);
|
||||
/* datetime */ uxn_port(u, 0xb, datetime_dei, nil_deo);
|
||||
/* unused */ uxn_port(u, 0xc, nil_dei, nil_deo);
|
||||
/* unused */ uxn_port(u, 0xd, nil_dei, nil_deo);
|
||||
|
|
Loading…
Reference in New Issue