Slowly come up with design for loading from CD

This commit is contained in:
2022-12-12 04:18:35 +01:00
parent 0e4e53f3a4
commit 723864fcaa
6 changed files with 56 additions and 6 deletions

View File

@@ -2,13 +2,14 @@
#define __JABYENGINE_OVERLAY__HPP__
#include "../../stdint.h"
typedef struct __attribute__((packed)) {
struct __attribute__((packed)) OverlayHeader {
void (*execute)();
uint16_t lba_size;
} OverlayHeader;
};
typedef struct __attribute__((packed)) {
// Maybe encode attributes like "isLZ4" into size parameter
struct __attribute__((packed)) OverlayLBA {
uint16_t lba;
uint16_t size;
} OverlayLBA;
};
#endif //!__JABYENGINE_OVERLAY__HPP__