Changeset 284 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS


Ignore:
Timestamp:
Feb 29, 2012, 6:13:11 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Increased the width of the drive Model name that the boot menu display, better accomodating serial drives on auto detect which include the COM port and baud rate information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc

    r254 r284  
    1919; Boot Menu Information Table. These are generated for all XTIDE Universal
    2020; BIOS drives. Available only until boot is successfull.
    21 MAX_HARD_DISK_NAME_LENGTH               EQU     26      ; Bytes reserved for drive name
     21MAX_HARD_DISK_NAME_LENGTH               EQU     30      ; Bytes reserved for drive name
    2222
    2323struc BOOTMENUINFO
    2424    .szDrvName      resb    MAX_HARD_DISK_NAME_LENGTH
    2525                    resb    2       ; Zero word (ensures string terminates)
    26                     resb    8       ; padding to make BOOTMENUINFO size an even multiple of DPT size
     26                    resb    4       ; padding to make BOOTMENUINFO size an even multiple of DPT size
    2727endstruc
    2828
     
    3030
    3131%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS               
     32
     33%if MAX_HARD_DISK_NAME_LENGTH % 2 <> 0
     34%error "MAX_HARD_DISK_NAME_LENGTH needs to be a multiple of 2, memory is moved with word operations."
     35%endif
    3236
    3337%if BOOTMENUINFO_size % LARGEST_DPT_SIZE <> 0
Note: See TracChangeset for help on using the changeset viewer.