Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

advanced_technology_attachment::advanced_technology_attachment

Signature: advanced_technology_attachment::advanced_technology_attachment(bool master, uint16_t portBase, char* name): dataPort(portBase), error_port(portBase + 0x1), sector_count_port(portBase + 0x2), lba_low_port(portBase + 0x3), lba_mid_port(portBase + 0x4), lba_hi_port(portBase + 0x5), device_port(portBase + 0x6), command_port(portBase + 0x7), control_port(portBase + 0x206)
Attributes: undefined
Description: Constructor for the advanced technology attachment class

Parameters:

advanced_technology_attachment::is_presend

Signature: bool advanced_technology_attachment::is_presend()
Description: Checks if the advanced technology attachment is presend

Return: bool

advanced_technology_attachment::activate

Signature: void advanced_technology_attachment::activate()
Description: Activates the advanced technology attachment

Return: void

advanced_technology_attachment::read28

Signature: void advanced_technology_attachment::read28(uint32_t sector, uint8_t* data, int count)
Description: Reads from the advanced technology attachment

Parameters:

Return: void

advanced_technology_attachment::write28

Signature: void advanced_technology_attachment::write28(uint32_t sectorNum, uint8_t* data, uint32_t count)
Description: Writes to the advanced technology attachment

Parameters:

Return: void

advanced_technology_attachment::flush

Signature: void advanced_technology_attachment::flush()
Description: Flushes the advanced technology attachment

Return: void

advanced_technology_attachment::read

Signature: void advanced_technology_attachment::read(uint64_t sector, uint32_t sector_count, void* buffer)
Description: Reads from the advanced technology attachment

Parameters:

Return: void

advanced_technology_attachment::write

Signature: void advanced_technology_attachment::write(uint64_t sector, uint32_t sector_count, void* buffer)
Description: Writes to the advanced technology attachment

Parameters:

Return: void

advanced_technology_attachment::get_name

Signature: char* advanced_technology_attachment::get_name()
Description: Gets the name of the advanced technology attachment driver

Return: char*

Show file on GitHub