SummerCart64/sw/riscv/src/dd.h

26 lines
474 B
C
Raw Normal View History

#ifndef DD_H__
#define DD_H__
#include "sys.h"
typedef enum {
DD_DISK_EJECTED,
DD_DISK_INSERTED,
DD_DISK_CHANGED,
} disk_state_t;
void dd_set_disk_state (disk_state_t disk_state);
2021-12-27 00:01:07 +01:00
disk_state_t dd_get_disk_state (void);
void dd_set_drive_id (uint16_t id);
uint16_t dd_get_drive_id (void);
void dd_set_thb_table_offset (uint32_t offset);
uint32_t dd_get_thb_table_offset (void);
void dd_init (void);
void process_dd (void);
#endif