blob: e8b4f98389ba5f916974bece2e872f35ae3296a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Address of a 4096 bytes workspace that is located below 0xFFFFF and can be used to store the results
// of various bios calls
export const @symbol("_ws") ws: [4096]u8;
// Boot drive number as given by the BIOS at boot time
export const @symbol("drive_no") drive_number: u8;
// Amount of sectors per track that the boot drive has
export const @symbol("drive_spt") drive_sectors_per_track: u8;
// Amount of heads that the boot drive has
export const @symbol("drive_heads") drive_heads: u8;
// Buildup location for the data structures
const @symbol("buildup") _buildup: u8;
export const buildup: *[*]u8 = &_buildup: *[*]u8;
|