Fixed Open/Close

This commit is contained in:
Kilian committed 2026-09-28 15:58:39 +02:00
1 parent 03518c4937
commit 566db4a550
10 files changed
+72 -33

No files matched your search

+4
View File
@@ -1,6 +1,10 @@
#ifndef FILE_H
#define FILE_H
#define STATUS_ERROR 1
#define STATUS_EOF 2
#define STATUS_READY 4
#define COMMAND_OPEN 1
#define COMMAND_CLOSE 2
#define COMMAND_SELECT_IN 3
+2 -1
View File
@@ -11,7 +11,8 @@
#define ROM_BANKED_OUT 2
#define FILE_COMMAND 3
#define FILE_DESCRIPTOR 4
#define FILE_DATA 5 // two bytes, for pointer to string
#define FILE_DATA 5 // data, low byte of string pointer
#define FILE_DATA_HIGH 6 // high byte of string pointer
#define FILE_STATUS 7
#endif // IO_H
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef MEMORY_H
#define MEMORY_H
#ifndef MEM_H
#define MEM_H
#include <stdint.h>