SET_BDA(disk_interrupt_flag, 0xff);
pic_eoi2();
}
-
-// Old Fixed Disk Parameter Table (newer tables are in the ebda).
-struct fdpt_s OldFDPT VAR16FIXED(0xe401);
.drive_type = 4, // drive type in cmos
};
-struct floppy_dbt_s diskette_param_table VAR16FIXED(0xefc7);
-
struct floppyinfo_s {
struct chs_s chs;
u8 floppy_size;
u8 BiosChecksum VAR16FIXED(0xffff);
+struct floppy_dbt_s diskette_param_table VAR16FIXED(0xefc7);
+
+// Old Fixed Disk Parameter Table (newer tables are in the ebda).
+struct fdpt_s OldFDPT VAR16FIXED(0xe401);
+
+// XXX - Baud Rate Generator Table
+u8 BaudTable[16] VAR16FIXED(0xe729);
+
// XXX - Initial Interrupt Vector Offsets Loaded by POST
u8 InitVectors[13] VAR16FIXED(0xfef3);
entry_13_official:
jmp entry_13
- // 0xe401 - OldFDPT in disk.c
+ // 0xe401 - OldFDPT in misc.c
ORG 0xe6f2
.global entry_19_official
// 0xe6f5 - BIOS_CONFIG_TABLE in misc.c
- // 0xe729 - BaudTable in serial.c
+ // 0xe729 - BaudTable in misc.c
ORG 0xe739
IRQ_ENTRY_ARG 14
ORG 0xef57
IRQ_ENTRY 0e
- // 0xefc7 - diskette_param_table in floppy.c
+ // 0xefc7 - diskette_param_table in misc.c
ORG 0xefd2
IRQ_ENTRY_ARG 17
}
}
-// XXX - Baud Rate Generator Table
-u8 BaudTable[16] VAR16FIXED(0xe729);
-
/****************************************************************
* LPT ports
// misc.c
extern struct bios_config_table_s BIOS_CONFIG_TABLE __aligned(1);
+extern struct floppy_dbt_s diskette_param_table __aligned(1);
extern u8 BiosChecksum;
int in_post(void);
void mathcp_setup(void);