Changeset 71423 in vbox
- Timestamp:
- Mar 21, 2018 11:24:32 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121390
- Location:
- trunk/src/VBox/Devices/PC/BIOS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ata.c
r69501 r71423 552 552 fdpt = ebda_seg :> &EbdaData->fdpt1; 553 553 554 fdpt = MK_FP(0xE200, 0xf00); 555 fdpt += device; 556 554 557 /* Set the INT 41h or 46h pointer. */ 555 558 int_vec = MK_FP(0, (0x41 + device * 5) * sizeof(void __far *)); … … 560 563 * isn't worth the effort of converting from AMI to Award CMOS 561 564 * format. Just do it here. */ 565 _fmemset(fdpt, 0, sizeof(*fdpt)); 562 566 fdpt->lcyl = lgeo.cylinders; 563 567 fdpt->lhead = lgeo.heads; -
trunk/src/VBox/Devices/PC/BIOS/makefile
r67889 r71423 19 19 CFLAGS = -q -0 -wx -zu -s -oas -d1+ -ms 20 20 CFLAGS32 = -q -wx -zu -s -oas -d1+ -ms -nt=BIOS32 -nd=BIOS32 21 # -oat seems to prevent ENTER/LEAVE generation 22 #CFLAGS32 = -q -wx -zu -s -oat -d1+ -ms -nt=BIOS32 -nd=BIOS32 21 23 22 24 DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING=$(Q)0.9$(Q) & … … 53 55 clname DATA segaddr=0xF000 segment _DATA & 54 56 clname CODE & 55 segment _TEXT segaddr=0xF000 offset=0x1 600 &57 segment _TEXT segaddr=0xF000 offset=0x1C00 & 56 58 segment BIOS32 segaddr=0xF000 offset=0xDB00 & 57 59 segment BIOSSEG segaddr=0xF000 offset=0xE000 & -
trunk/src/VBox/Devices/PC/BIOS/system.c
r71422 r71423 409 409 break; 410 410 411 case 0x41: 411 /* These are here just to avoid warnings being logged. */ 412 case 0x22: /* Locate ROM BASIC (tough when we don't have any.) */ 413 case 0x41: /* PC Convertible, wait for external events. */ 414 case 0xC7: /* PS/2, get memory map. */ 412 415 SET_CF(); 413 416 SET_AH(UNSUPPORTED_FUNCTION);
Note:
See TracChangeset
for help on using the changeset viewer.