From 3aefeeb723b8822916fb39b7c32551c35c06e32f Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Sat, 21 May 2022 14:04:42 +0200 Subject: boot: reorganize bios and drive modules --- bios/bios.ha | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'bios/bios.ha') 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 { -- cgit v1.2.3