儲存庫 vbox 的更動 48069
- 時間撮記:
- 2013-8-26 下午05:02:08 (11 年 以前)
- 位置:
- trunk/src/VBox/Devices/PC/BIOS
- 檔案:
-
- 新增 1 筆資料
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/PC/BIOS/Makefile.kmk
r46952 r48069 46 46 ata.c \ 47 47 floppy.c \ 48 floppyt.c \ 48 49 eltorito.c \ 49 50 boot.c \ -
trunk/src/VBox/Devices/PC/BIOS/floppy.c
r48067 r48069 44 44 #include "biosint.h" 45 45 46 extern uint16_t get_floppy_dpt(uint8_t drive_type); 47 46 48 ////////////////////// 47 49 // FLOPPY functions // … … 1057 1059 /* set es & di to point to 11 byte diskette param table in ROM */ 1058 1060 ES = 0xF000; // @todo: any way to make this relocatable? 1059 DI = (uint16_t)&diskette_param_table;1061 DI = get_floppy_dpt(drive_type); 1060 1062 CLEAR_CF(); // success 1061 1063 /* disk status not changed upon success */ -
trunk/src/VBox/Devices/PC/BIOS/makefile
r42770 r48069 30 30 wasm -fo=.obj $(AFLAGS) $(DEFS) $< 31 31 32 OBJS = bios.obj print.obj ata.obj floppy.obj eltorito.obj boot.obj & 33 keyboard.obj disk.obj serial.obj system.obj timepci.obj logo.obj & 34 ps2mouse.obj parallel.obj scsi.obj ahci.obj apm.obj apm_pm.obj & 35 pcibios.obj pciutil.obj vds.obj pcibio32.obj pci32.obj orgs.obj 32 OBJS = bios.obj print.obj ata.obj floppy.obj floppyt.obj eltorito.obj & 33 boot.obj keyboard.obj disk.obj serial.obj system.obj & 34 timepci.obj logo.obj ps2mouse.obj parallel.obj scsi.obj & 35 ahci.obj apm.obj apm_pm.obj pcibios.obj pciutil.obj vds.obj & 36 pcibio32.obj pci32.obj orgs.obj 36 37 37 38 vbxbios.rom : vbxbios.bin -
trunk/src/VBox/Devices/PC/BIOS/notes.txt
r46234 r48069 46 46 and clear the memory. For those, the FDPT must be in the BIOS ROM area, or 47 47 the OS will destroy it (even when it's at 0:300 in the IVT). 48 49 - Windows NT (including XP) uses INT 13h/08h to obtain the DPT for each floppy 50 drive. NT assumes a 13-byte DPT which includes the number of tracks. NT will 51 refuse to read more tracks than the DPT specifies and formats as many tracks 52 as the DPT specifies. 48 53 49 54 - Windows 98 SE boot CD uses 32-bit registers in real mode and will fail in
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器