Split first 3 boards

Also introduce board executor file. Renamed w10dll splits.
This commit is contained in:
gamemasterplc 2023-12-31 10:15:36 -06:00
parent 45f0930c6c
commit 0a62d3a3d7
17 changed files with 199 additions and 34 deletions

23
src/REL/board_executor.c Normal file
View file

@ -0,0 +1,23 @@
#include "REL/board_executor.h"
static void InitBoard(void) {
BoardCommonInit(BoardInit, BoardDestroy);
}
int _prolog(void) {
const VoidFunc* ctors = _ctors;
while (*ctors != 0) {
(**ctors)();
ctors++;
}
InitBoard();
return 0;
}
void _epilog(void) {
const VoidFunc* dtors = _dtors;
while (*dtors != 0) {
(**dtors)();
dtors++;
}
}