VirtualBox

Changeset 105075 in vbox


Ignore:
Timestamp:
Jun 28, 2024 3:45:11 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163695
Message:

ValKit/bootsectors: Produce a special 63.5MB capable bootsector and use it with the VBoxBS3KitImgBig template, disabling the 63.5MB capability in the regular bootsector so it works on USB sticks on real HW as well. bugref:10715

Location:
trunk/src/VBox/ValidationKit/bootsectors
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/Config.kmk

    r103582 r105075  
    826826#TEMPLATE_VBoxBS3KitImgBig_POST_CMDS = $(NO_SUCH_VARIABLE)
    827827
     828TEMPLATE_VBoxBS3KitImgBig_LNK_DEPS = \
     829        $(bs3-bootsector-63MB_1_TARGET) \
     830        $(VBoxBs3Linker_1_TARGET)
     831TEMPLATE_VBoxBS3KitImgBig_POST_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY) \
     832                ,,$(QUIET)$(MV_EXT) -f -- "$(out)" "$(out).tmp" \
     833                $$(NLTAB)$(QUIET)$(VBoxBs3Linker_1_TARGET) -o $(out) $(bs3-bootsector-63MB_1_TARGET) $(out).tmp $($(target)_2_VBOX_BS3KIT_HIGH_DLLS) \
     834        $$(NLTAB)$(QUIET)$(RM_EXT) -f -- "$(out).tmp") \
     835        $(eval .PRECIOUS: $(outbase).map) # ugly hack!
     836
     837
    828838# BS3Kit template for a high image.
    829839TEMPLATE_VBoxBS3KitHighImg = Template for building BS3Kit test images, the high DLL.
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r104071 r105075  
    5555
    5656
    57 # The boot sector.
     57# The boot sector for regular floppies.
    5858MISCBINS += bs3-bootsector
    5959bs3-bootsector_TEMPLATE = VBoxBS3KitBS
    6060bs3-bootsector_SOURCES  = bs3-bootsector.asm
     61
     62# The boot sector for 63.5MB floppies.
     63MISCBINS += bs3-bootsector-63MB
     64bs3-bootsector-63MB_TEMPLATE = VBoxBS3KitBS
     65bs3-bootsector-63MB_DEFS     = BS3KIT_BOOTSECTOR_SUPPORT_63_5MB_FLOPPIES
     66bs3-bootsector-63MB_SOURCES  = bs3-bootsector.asm
    6167
    6268
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-bootsector.asm

    r103866 r105075  
    5656%define BS3KIT_BOOTSECTOR_LOAD_DOTS
    5757;; Enables support for fake 63.5 MB floppies with 255 sectors, 2 heads and 255 tracks.
    58 %define BS3KIT_BOOTSECTOR_SUPPORT_63_5MB_FLOPPIES
     58;; @note This is typically enabled by the makefile.
     59;%define BS3KIT_BOOTSECTOR_SUPPORT_63_5MB_FLOPPIES
    5960;; Enables code to avoid trying to read across 64kB DMA boundaries.
    6061%define BS3KIT_BOOTSECTOR_DODGE_BOUNDARIES
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette