summaryrefslogtreecommitdiff
path: root/bios/bios.ha
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-05-21 14:04:42 +0200
committerAlejandro Sior <aho@sior.be>2022-05-21 14:04:42 +0200
commit3aefeeb723b8822916fb39b7c32551c35c06e32f (patch)
tree380494fb2184101961e395d6d81accf91138efbe /bios/bios.ha
parent35c9df451d4f415632a4a1f64b06d1de12340687 (diff)
boot: reorganize bios and drive modules
Diffstat (limited to 'bios/bios.ha')
-rw-r--r--bios/bios.ha13
1 files changed, 0 insertions, 13 deletions
diff --git a/bios/bios.ha b/bios/bios.ha
index 5a3c1aa..caaa37f 100644
--- a/bios/bios.ha
+++ b/bios/bios.ha
@@ -13,19 +13,6 @@ export type state = struct {
// The set real mode registers
export let regs: state;
-// The address of a 512 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;
-
-// The boot drive number as given by the BIOS at boot time
-export const @symbol("drive_no") drive_number: u8;
-
-// The amount of sectors per track that the boot drive has
-export const @symbol("drive_spt") drive_sectors_per_track: u8;
-
-// The amount of heads that the boot drive has
-export const @symbol("drive_heads") drive_heads: u8;
-
// Clears the BIOS mode registers
export fn clearregs() void = {
regs = state {