-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbios.h
More file actions
34 lines (27 loc) · 663 Bytes
/
bios.h
File metadata and controls
34 lines (27 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef BIOS_H
#define BIOS_H
#include "chipset.h"
#include "null.h"
#define CONST_READY 0xFF
#define CONST_NOT_READY 0x00
void bios_clock_handler(void (*fct_pt)());
void bios_get_datetime();
void bios_set_datetime();
// #0 BOOT
void bios_wboot(); // #1 WBOOT
char bios_const(); // #2 CONST
char bios_conin(); // #3 CONIN
void bios_conout(char c); // #4 CONOUT
// #5 LIST
// #6 PUNCH
// #7 READER
// #8 HOME
unsigned char bios_seldsk(); // #9 SELDSK
// #10 SELTRK
void bios_setsec(unsigned int val); // #11 SETSEC
void bios_setdma(unsigned int val); // #12 SETDMA
void bios_read(); // #13 READ
// #14 WRITE
// #15 LISTST
// #16 SECTRAN
#endif /* BIOS_H */