Go to the documentation of this file.
9 #ifndef _RPC8E_DRIVE_H_
10 #define _RPC8E_DRIVE_H_
23 #define DRIVE_BYTES_PER_SECTOR 128
24 #define DRIVE_SECTOR_MAX 2048
::uint16_t uint16_t
Definition: cstdint:22
bool rpc8e_drive_write_disk_name(void)
Write the disk name from the drive's buffer.
::uint8_t uint8_t
Definition: cstdint:21
bool rpc8e_drive_write_disk_sector(uint16_t sector)
Write a given sector from the drive's buffer.
bool rpc8e_drive_read_disk_name(void)
Read the disk name to the drive's buffer.
bool rpc8e_drive_read_disk_serial(void)
Read the disk serial number to the drive's buffer.
bool rpc8e_drive_command(uint8_t id)
Send a command to the drive and wait for it to complete.
bool rpc8e_drive_read_disk_sector(uint16_t sector)
Read a given sector to the drive's buffer.