Some progress
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2026 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
target_sources(${DUSK_BINARY_TARGET_NAME}
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_LIST_DIR}/assetsat.c
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "assetsat.h"
|
||||
|
||||
typedef assetsat_t assetplatform_t;
|
||||
|
||||
#define assetInitPlatform assetInitSaturn
|
||||
#define assetDisposePlatform assetDisposeSaturn
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "assetsat.h"
|
||||
#include "log/log.h"
|
||||
|
||||
errorret_t assetInitSaturn(void) {
|
||||
logDebug("[Saturn] assetInitSaturn: initializing CD-Block\n");
|
||||
/* TODO: cd_block_init() */
|
||||
errorOk();
|
||||
}
|
||||
|
||||
errorret_t assetDisposeSaturn(void) {
|
||||
/* TODO: cd_block_deinit() */
|
||||
errorOk();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "error/error.h"
|
||||
#include <cd-block.h>
|
||||
|
||||
typedef struct {
|
||||
uint8_t unused;
|
||||
} assetsat_t;
|
||||
|
||||
errorret_t assetInitSaturn(void);
|
||||
errorret_t assetDisposeSaturn(void);
|
||||
Reference in New Issue
Block a user