2020-05-24 15:30:55 -05:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef HWCTRL_H
|
|
|
|
#define HWCTRL_H
|
2022-02-19 10:17:40 -06:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
*
|
2020-05-24 15:30:55 -05:00
|
|
|
* Provides miscellaneous hardware control functions.
|
|
|
|
*
|
2022-02-19 13:56:55 -06:00
|
|
|
*//*
|
2022-02-19 10:17:40 -06:00
|
|
|
* Copyright (C) 2020-2022 Martin Whitaker.
|
2020-05-24 15:30:55 -05:00
|
|
|
*/
|
|
|
|
|
2022-04-23 07:25:33 -05:00
|
|
|
/**
|
|
|
|
* Initialises the hardware control interface.
|
|
|
|
*/
|
|
|
|
void hwctrl_init(void);
|
|
|
|
|
2022-02-19 10:17:40 -06:00
|
|
|
/**
|
2020-05-24 15:30:55 -05:00
|
|
|
* Reboots the machine.
|
|
|
|
*/
|
|
|
|
void reboot(void);
|
|
|
|
|
2022-02-19 10:17:40 -06:00
|
|
|
/**
|
2020-05-24 15:30:55 -05:00
|
|
|
* Turns off the floppy motor.
|
|
|
|
*/
|
|
|
|
void floppy_off();
|
|
|
|
|
2022-02-19 10:17:40 -06:00
|
|
|
/**
|
2020-05-24 15:30:55 -05:00
|
|
|
* Disables the screen cursor.
|
|
|
|
*/
|
|
|
|
void cursor_off();
|
|
|
|
|
|
|
|
#endif // HWCTRL_H
|