OXYGENHUB
◆ main x16-emulator / src / sdcard.h
430 B · Objective-C · last changed chore(): initial commit 15 days ago source blame history raw
1
// Commander X16 Emulator
2
// Copyright (c) 2019 Michael Steil
3
// All rights reserved. License: 2-clause BSD
4
#ifndef _SD_CARD_H_
5
#define _SD_CARD_H_
6
#include <inttypes.h>
7
#include <stdbool.h>
8
#include <SDL.h>
9
10
extern bool sdcard_attached;
11
void sdcard_set_path(char const *path);
12
bool sdcard_path_is_set();
13
void sdcard_attach();
14
void sdcard_detach();
15
16
void sdcard_select(bool select);
17
uint8_t sdcard_handle(uint8_t inbyte);
18
19
#endif