Changeset 489 in xtideuniversalbios


Ignore:
Timestamp:
Dec 13, 2012, 7:32:09 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Added version string to initial title banner, for cases where there is not a boot menu (just hotkeys, or no hotkeys). Also ifdef'd out some unused code.

Location:
trunk
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Emulate.inc

    r488 r489  
    469469
    470470%macro eSHL_IM 2
     471%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    471472%ifdef USE_386
    472473    %if %2 = 1
     
    478479    eSHIFT_IM   %1, %2, shl
    479480%endif
     481%endif
    480482%endmacro
    481483
  • trunk/Assembly_Library/Src/Display/CgaSnow.asm

    r376 r489  
    9494    ret
    9595
    96 
     96%ifdef INCLUDE_MENU_LIBRARY
    9797;--------------------------------------------------------------------
    9898; CgaSnow_RepMovsb
     
    122122    eSEG_STR rep, es, movsb
    123123    ret
    124 
     124%endif
    125125
    126126;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Display/DisplayContext.asm

    r407 r489  
    102102
    103103
     104%ifdef INCLUDE_MENU_LIBRARY
     105
    104106;--------------------------------------------------------------------
    105107; DisplayContext_Push
     
    157159    mov     ds, di                  ; Restore DS
    158160    ret
    159 
     161%endif
    160162
    161163;--------------------------------------------------------------------
     
    187189    pop     ds
    188190    ret
    189 %endif
     191
     192%endif  ; INCLUDE_MENU_LIBRARY
    190193
    191194
     
    228231%endif
    229232
     233%ifdef INCLUDE_MENU_LIBRARY
    230234
    231235;--------------------------------------------------------------------
     
    247251    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], ax
    248252    ret
    249        
     253
    250254
    251255;--------------------------------------------------------------------
     
    279283    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], ax
    280284    ret
    281 
     285       
     286%endif   ; INCLUDE_MENU_LIBRARY
    282287       
    283288;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Display/DisplayCursor.asm

    r445 r489  
    3737    ret
    3838
    39 
     39%ifdef INCLUDE_MENU_LIBRARY
    4040;--------------------------------------------------------------------
    4141; DisplayCursor_SetShapeFromAX
     
    5252    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape], ax
    5353    ret
    54 
    55 
     54%endif
     55       
    5656;--------------------------------------------------------------------
    5757; DisplayCursor_SetCoordinatesFromAX
  • trunk/Assembly_Library/Src/Display/DisplayPrint.asm

    r376 r489  
    220220
    221221
     222%ifdef INCLUDE_MENU_LIBRARY
    222223;--------------------------------------------------------------------
    223224; DisplayPrint_ClearScreenWithCharInALandAttributeInAH
     
    249250    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], di
    250251    ret
    251 
    252 
     252%endif
     253       
    253254;--------------------------------------------------------------------
    254255; DisplayPrint_ClearAreaWithHeightInAHandWidthInAL
  • trunk/Assembly_Library/Src/Menu/MenuInit.asm

    r391 r489  
    137137    ret
    138138
    139 
     139       
     140%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    140141;--------------------------------------------------------------------
    141142; MenuInit_HighlightItemFromAX
     
    152153    sub     ax, [bp+MENUINIT.wHighlightedItem]
    153154    jmp     MenuScrollbars_MoveHighlightedItemByAX
    154 
     155%endif
     156
     157       
    155158;--------------------------------------------------------------------
    156159; MenuInit_GetHighlightedItemToAX
  • trunk/Assembly_Library/Src/Menu/MenuLocation.asm

    r376 r489  
    5555;       Nothing
    5656;--------------------------------------------------------------------
     57%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    5758MenuLocation_GetItemBordersTopLeftCoordinatesToAX:
     59%endif
    5860    xor     ax, ax
    5961    jmp     SHORT AddItemBordersTopLeftCoordinatesToAX
  • trunk/Assembly_Library/Src/String/Char.asm

    r376 r489  
    181181%endif
    182182
     183               
    183184;--------------------------------------------------------------------
    184185; Char_ALtoUpperCaseLetter
     
    190191;       Nothing
    191192;--------------------------------------------------------------------
     193%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    192194ALIGN STRING_JUMP_ALIGN
    193195Char_ALtoUpperCaseLetter:
     
    196198    jnc     SHORT Char_ChangeCaseInAL.Return
    197199    ; Fall to Char_ChangeCaseInAL
    198 
     200%endif
     201
     202       
    199203;--------------------------------------------------------------------
    200204; Char_ChangeCaseInAL
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r376 r489  
    5757%endif ; EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    5858
     59%ifdef INCLUDE_MENU_LIBRARY
    5960ALIGN JUMP_ALIGN
    6061TimerTicks_GetSecondsToAXfromTicksInDX:
     
    6566    xchg    dl, ah  ; Seconds in AX, remainder in DX
    6667    ret
    67 
     68%endif
    6869
    6970;--------------------------------------------------------------------
     
    8182;       AX
    8283;--------------------------------------------------------------------
     84%ifdef INCLUDE_MENU_LIBRARY     
    8385ALIGN JUMP_ALIGN
    8486TimerTicks_InitializeTimeoutFromAX:
     
    8789    add     [bx], ax                    ; [bx] now contains end time for timeout
    8890    ret
    89 
     91%endif
    9092
    9193;--------------------------------------------------------------------
     
    100102;       Nothing
    101103;--------------------------------------------------------------------
     104%ifdef INCLUDE_MENU_LIBRARY     
    102105ALIGN JUMP_ALIGN
    103106TimerTicks_GetTimeoutTicksLeftToAXfromDSBX:
     
    109112    pop     dx
    110113    ret
    111 
     114%endif
    112115
    113116;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Util/Memory.asm

    r445 r489  
    7979;       Nothing
    8080;--------------------------------------------------------------------
     81%ifdef INCLUDE_MENU_LIBRARY
    8182ALIGN JUMP_ALIGN
    8283Memory_ZeroSSBPwithSizeInCX:
     
    9091    pop     es
    9192    ret
     93%endif
    9294
     95       
    9396;--------------------------------------------------------------------
    9497; Memory_ZeroESDIwithSizeInCX
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r376 r489  
    5353;--------------------------------------------------------------------
    5454ALIGN JUMP_ALIGN
     55%ifdef INCLUDE_MENU_LIBRARY     
    5556Registers_CopySSBPtoESDI:
    5657    COPY_SSBP_TO_ESDI
    5758    ret
     59%endif
    5860
    5961%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
  • trunk/Assembly_Library/Src/Util/Size.asm

    r376 r489  
    1818;       
    1919
     20%ifdef INCLUDE_MENU_LIBRARY
    2021struc BYTE_MULTIPLES
    2122    .B          resb    1
     
    8283    ret
    8384.rgbMagnitudeToChar:    db  " kMGTP"
    84 
     85%endif
    8586
    8687;--------------------------------------------------------------------
     
    111112    ret
    112113
    113 
    114114;--------------------------------------------------------------------
    115115; Size_ConvertSectorCountInBXDXAXtoKiB
     
    124124;--------------------------------------------------------------------
    125125ALIGN UTIL_SIZE_JUMP_ALIGN
    126 Size_ConvertSectorCountInBXDXAXtoKiB:
     126Size_ConvertSectorCountInBXDXAXtoKiB:               ; unused entrypoint ok
    127127Size_DivideBXDXAXbyTwo:
    128128    shr     bx, 1                   ; Divide sector count by 2...
  • trunk/Tools/unused.pl

    r376 r489  
    88#
    99# Annotations can be placed in the source to eliminate false positives:
    10 #   a) if a label can be fallen into, place "; fall through to label" above the label
     10#   a) if a label can be fallen into, place "; fall through to <label>" above the label
    1111#   b) "; unused entrypoint ok" can be placed on the same line with the label
    1212#   c) "; jump table entrypoint" can be placed on the same line with the label
     
    5151while(<UNUSED>)
    5252{
    53     if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i ||
    54         /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i ||
     53    if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i ||
     54        /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i ||
     55        /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i ||
     56        /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i ||
     57        /^([a-z0-9_]+\:)?\s+push\s+(.*)$/i ||
     58        /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i ||
    5559        /^([a-z0-9_]+)?\s+equ\s+(.*)$/i )
    5660    {
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdePioBlock.asm

    r480 r489  
    217217ALIGN JUMP_ALIGN
    218218%ifdef USE_186
     219%ifdef MODULE_8BIT_IDE
    219220IdePioBlock_ReadFromXtideRev2:
     221%endif
    220222%endif
    221223IdePioBlock_ReadFrom16bitDataPort:
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeWait.asm

    r400 r489  
    9393;       AL, BX, CX, DX
    9494;--------------------------------------------------------------------
    95 IdePollBsyAndFlgInAH:
     95.IdePollBsyAndFlgInAH:
    9696    call    IdeIO_InputStatusRegisterToAL       ; Discard contents of first read
    9797
  • trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm

    r480 r489  
    6666        mov     dx, [di+DPT_SERIAL.wSerialPortAndBaud]
    6767
     68; fall through to SerialCommand_FallThroughToSerialServer_SendReceive
     69       
    6870ALIGN JUMP_ALIGN
    69 SerialCommand_FallThroughToSerialServer_SendReceive:
     71SerialCommand_FallThroughToSerialServer_SendReceive:       
    7072
     73; fall through to SerialServer_SendReceive
     74       
    7175%include "SerialServer.asm"
    7276
     
    177181.identifyDeviceInDX:
    178182
     183; fall through to SerialCommand_FallThroughToSerialServerScan_ScanForServer
     184       
    179185ALIGN JUMP_ALIGN
    180 SerialCommand_FallThroughToSerialServerScan_ScanForServer:     
     186SerialCommand_FallThroughToSerialServerScan_ScanForServer:
     187
     188; fall through to SerialServerScan_ScanForServer
    181189       
    182190%include "SerialServerScan.asm"
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH0h_HReset.asm

    r435 r489  
    174174
    175175.done:
    176 NoForeignDrivesToReset:
     176.NoForeignDrivesToReset:
    177177    ret
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm

    r474 r489  
    5050
    5151;--------------------------------------------------------------------
    52 ; Prints BIOS name and segment address where it is found.
    53 ;
    54 ; DetectPrint_RomFoundAtSegment
    55 ;   Parameters:
    56 ;       Nothing
    57 ;   Returns:
    58 ;       Nothing
    59 ;   Corrupts registers:
    60 ;       AX, SI, DI
    61 ;--------------------------------------------------------------------
    62 DetectPrint_RomFoundAtSegment:
    63     push    bp
    64     mov     bp, sp
    65     mov     si, g_szRomAt
    66     ePUSH_T ax, ROMVARS.szTitle         ; Bios title string
    67     push    cs                          ; BIOS segment
    68 
    69     jmp     DetectPrint_FormatCSSIfromParamsInSSBP
    70 
    71 
    72 ;--------------------------------------------------------------------
    7352; DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP
    7453;   Parameters:
     
    8261DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP:
    8362    mov     ax, [cs:bp+IDEVARS.wBasePort]   ; for IDE: AX=port address, DH=.bDevice
    84     ; Fall to DetectPrint_StartDetectWithAutodetectedBasePortInAX
     63    ; fall through to DetectPrint_StartDetectWithAutodetectedBasePortInAXandIdeVarsInCSBP
    8564
    8665;--------------------------------------------------------------------
     
    167146;       Nothing
    168147;   Corrupts registers:
    169 ;       AX, SI
     148;       AX, SI, DI
    170149;--------------------------------------------------------------------
    171150DetectPrint_DriveNameFromDrvDetectInfoInESBX:
    172     push    di
    173     push    bx
    174 
    175     lea     si, [bx+DRVDETECTINFO.szDrvName]
    176     mov     bx, es
    177     CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromBXSI
    178     CALL_DISPLAY_LIBRARY PrintNewlineCharacters
    179 
    180     pop     bx
    181     pop     di
    182     ret
     151    push    bp
     152    mov     bp,sp   
     153    lea     si,[bx+DRVDETECTINFO.szDrvName]
     154    push    si
     155    mov     si,g_szDriveName
     156    jmp     SHORT DetectPrint_FormatCSSIfromParamsInSSBP
     157
     158               
     159;--------------------------------------------------------------------
     160; Prints BIOS name and segment address where it is found.
     161;
     162; DetectPrint_RomFoundAtSegment
     163;   Parameters:
     164;       Nothing
     165;   Returns:
     166;       Nothing
     167;   Corrupts registers:
     168;       AX, SI, DI
     169;--------------------------------------------------------------------
     170DetectPrint_RomFoundAtSegment:
     171    mov     si, g_szRomAt
     172    mov     di, cs                      ; BIOS segment address, for later inclusion in the output, parameterized
     173                                        ; so that it can be a different value when using .BootMenuEntry
     174
     175.BootMenuEntry:
     176    push    bp
     177    mov     bp, sp
     178
     179%ifndef USE_186
     180    mov     ax, ROMVARS.szTitle
     181    push    ax
     182    push    di                          ; BIOS segment
     183    add     al, ROMVARS.szVersion - ROMVARS.szTitle
     184    push    ax
     185%else
     186    ; szTitle and szVersion have the high order byte of their addresses zero,
     187    ; so these push instructions are only 2 bytes
     188    ;
     189    push    ROMVARS.szTitle
     190    push    di                          ; BIOS segment
     191    push    ROMVARS.szVersion
     192%endif
     193
     194    jmp     SHORT DetectPrint_FormatCSSIfromParamsInSSBP
     195
    183196
    184197;--------------------------------------------------------------------
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm

    r431 r489  
    4343%ifndef MODULE_HOTKEYS
    4444    cmp     BYTE [RAMVARS.bDrvCnt], 0
    45     je      SHORT Interrupts_Return
     45    je      SHORT Interrupts_InstallHandlerToVectorInALFromCSSI.Interrupts_Return
    4646%endif
    4747    ; Fall to .InitializeInt13hAnd40h
     
    172172    mov     [es:bx], si             ; Store offset
    173173    mov     [es:bx+2], cs           ; Store segment
    174 Interrupts_Return:
     174.Interrupts_Return:
    175175    ret
    176176
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r485 r489  
    8888    at  ROMVARS.bIdleTimeout,   db  0                       ; Standby timer disabled by default
    8989
    90     at  ROMVARS.ideVars0+IDEVARS.wBasePort,         dw  DEVICE_ATA_PRIMARY_PORT         ; Controller Command Block base port
    91     at  ROMVARS.ideVars0+IDEVARS.wControlBlockPort, dw  DEVICE_ATA_PRIMARY_PORTCTRL     ; Controller Control Block base port
     90    at  ROMVARS.ideVars0+IDEVARS.wBasePort,         dw  300h        ; Controller Command Block base port
     91    at  ROMVARS.ideVars0+IDEVARS.wControlBlockPort, dw  310h    ; Controller Control Block base port
    9292    at  ROMVARS.ideVars0+IDEVARS.bDevice,           db  DEVICE_16BIT_ATA
    9393    at  ROMVARS.ideVars0+IDEVARS.bIRQ,              db  0
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm

    r395 r489  
    3737    eCMOVZ  dl, dh
    3838    call    IsDriveDLinSystem
    39     jnc     SHORT DoNotSetDefaultMenuitem
     39    jnc     SHORT BootMenuEvent_Handler.DoNotSetDefaultMenuitem
    4040    call    DriveXlate_SetDriveToSwap
    4141    ; Fall to GetMenuitemToDXforDriveInDL
     
    106106    jmp     bx
    107107
    108 EventNotHandled:
    109 DoNotSetDefaultMenuitem:
     108.EventNotHandled:
     109.DoNotSetDefaultMenuitem:
    110110    xor     dx, dx      ; Clear CF (and menuitem index for DoNotSetDefaultMenuitem)
    111111    ret
     
    127127
    128128    cmp     bx, BYTE MENUEVENT.RefreshItemFromCX    ; Above last supported item?
    129     ja      SHORT EventNotHandled
     129    ja      SHORT .EventNotHandled
    130130    jmp     [cs:bx+rgfnEventSpecificHandlers]
    131131
    132 EventNotHandled:
    133 DoNotSetDefaultMenuitem:
     132.EventNotHandled:
     133.DoNotSetDefaultMenuitem:
    134134    xor     dx, dx      ; Clear CF (and menuitem index for DoNotSetDefaultMenuitem)
    135135    ret
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm

    r421 r489  
    7676;--------------------------------------------------------------------
    7777BootMenuPrint_TitleStrings:
    78     mov     si, ROMVARS.szTitle
    79     call    DetectPrint_NullTerminatedStringFromCSSIandSetCF
    80     CALL_DISPLAY_LIBRARY PrintNewlineCharacters
    81     mov     si, ROMVARS.szVersion
    82     jmp     DetectPrint_NullTerminatedStringFromCSSIandSetCF
    83 
    84 
     78    xor     di,di                       ; Null character will be eaten
     79    mov     si, g_szBootMenuTitle
     80    jmp     DetectPrint_RomFoundAtSegment.BootMenuEntry
     81
     82       
    8583;--------------------------------------------------------------------
    8684; BootMenuPrint_RefreshInformation
  • trunk/XTIDE_Universal_BIOS/Src/Strings.asm

    r488 r489  
    2727; POST drive detection strings
    2828g_szDashForZero:    db  "- ",NULL   ; Required by Display Library
    29 g_szRomAt:          db  LF,CR,"%s @ %x",LF,CR
    30                     db  "Released under GNU GPL v2",LF,CR,LF,CR,NULL
    31 
     29g_szRomAt:          db  LF,CR
     30                    db  "%s @ %x",LF,CR                     ; -=XTIDE ... =- @ Segment
     31                    db  "%s",LF,CR                          ; version string
     32                    db  "Released under GNU GPL v2",LF,CR   
     33                    db  LF,CR,NULL
     34%ifdef MODULE_BOOT_MENU
     35g_szBootMenuTitle:  db  "%s%c",LF,CR                        ; -=XTIDE ... =- and null (eaten)
     36                    db  "%s",NULL                           ; version string
     37%endif
     38g_szDriveName:      db  "%z",LF,CR,NULL
    3239
    3340; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP
     
    166173
    167174g_szSelectionTimeout:   db      DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
    168 
    169175
    170176
  • trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm

    r488 r489  
    4040                      db     28h,  00h          ; compressed
    4141
    42 g_szRomAt:          ; db    LF,CR,"%s @ %x",LF,CR
    43                     ; db     0ah,  0dh,  25h,  73h,  20h,  40h,  20h,  25h,  78h,  0ah,  0dh    ; uncompressed
    44                       db     39h,  3dh,  20h, 0c6h,  37h,  39h                                  ; compressed
    45 
    46     ; db  "Released under GNU GPL v2",LF,CR,LF,CR,NULL
    47     ; db   52h,  65h,  6ch,  65h,  61h,  73h,  65h,  64h,  20h,  75h,  6eh,  64h,  65h,  72h,  20h,  47h,  4eh,  55h,  20h,  47h,  50h,  4ch,  20h,  76h,  32h,  0ah,  0dh,  0ah,  0dh,  00h    ; uncompressed
    48       db   58h,  6bh,  72h,  6bh,  67h,  79h,  6bh, 0eah,  7bh,  74h,  6ah,  6bh, 0f8h,  4dh,  54h, 0dbh,  4dh,  56h, 0d2h,  7ch,  2ch,  39h,  19h                                              ; compressed
    49 
     42g_szRomAt:          ; db    LF,CR
     43                    ; db     0ah,  0dh    ; uncompressed
     44                      db     39h          ; compressed
     45
     46    ; db    "%s @ %x",LF,CR                     ; -=XTIDE ... =- @ Segment
     47    ; db     25h,  73h,  20h,  40h,  20h,  25h,  78h,  0ah,  0dh    ; uncompressed
     48      db     3dh,  20h, 0c6h,  37h,  39h                            ; compressed
     49
     50    ; db    "%s",LF,CR                          ; version string
     51    ; db     25h,  73h,  0ah,  0dh    ; uncompressed
     52      db     3dh,  39h                ; compressed
     53
     54    ; db  "Released under GNU GPL v2",LF,CR
     55    ; db   52h,  65h,  6ch,  65h,  61h,  73h,  65h,  64h,  20h,  75h,  6eh,  64h,  65h,  72h,  20h,  47h,  4eh,  55h,  20h,  47h,  50h,  4ch,  20h,  76h,  32h,  0ah,  0dh    ; uncompressed
     56      db   58h,  6bh,  72h,  6bh,  67h,  79h,  6bh, 0eah,  7bh,  74h,  6ah,  6bh, 0f8h,  4dh,  54h, 0dbh,  4dh,  56h, 0d2h,  7ch,  2ch,  39h                                  ; compressed
     57
     58    ; db    LF,CR,NULL
     59    ; db     0ah,  0dh,  00h    ; uncompressed
     60      db     19h                ; compressed
     61
     62%ifdef MODULE_BOOT_MENU
     63g_szBootMenuTitle:  ; db    "%s%c",LF,CR                        ; -=XTIDE ... =- and null (eaten)
     64                    ; db     25h,  73h,  25h,  63h,  0ah,  0dh    ; uncompressed
     65                      db     3dh,  3ch,  39h                      ; compressed
     66
     67    ; db    "%s",NULL                           ; version string
     68    ; db     25h,  73h,  00h    ; uncompressed
     69      db     1dh                ; compressed
     70
     71%endif
     72g_szDriveName:      ; db    "%z",LF,CR,NULL
     73                    ; db     25h,  7ah,  0ah,  0dh,  00h    ; uncompressed
     74                      db     3eh,  19h                      ; compressed
    5075
    5176
     
    295320                        ; db        0c8h, 0b5h,  25h,  41h,  53h,  65h,  6ch,  65h,  63h,  74h,  69h,  6fh,  6eh,  20h,  69h,  6eh,  20h,  25h,  32h,  2dh,  75h,  20h,  73h,  00h    ; uncompressed
    296321                          db         31h,  32h,  3bh,  59h,  6bh,  72h,  6bh,  69h,  7ah,  6fh,  75h, 0f4h,  6fh, 0f4h,  3ah,  20h, 0b9h                                              ; compressed
    297 
    298322
    299323
     
    530554;; 5-u:2
    531555;; x:5
    532 ;; s:13
     556;; s:16
    533557;; 5-x:1
    534 ;; nl:9
     558;; nl:12
    535559;; 2-I:1
    536560;; u:6
    537 ;; c:9
    538 ;; z:1
     561;; c:10
     562;; z:2
    539563;; total format: 11
    540564
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/BootVars.asm

    r473 r489  
    5050    mov     dl, [cs:ROMVARS.bBootDrv]
    5151
     52    ; fall through to BootVars_StoreHotkeyForDriveNumberInDL
     53
    5254;--------------------------------------------------------------------
    5355; BootVars_StoreHotkeyForDriveNumberInDL
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm

    r433 r489  
    246246;       SI
    247247;--------------------------------------------------------------------
    248 ALIGN JUMP_ALIGN
    249 FindDPT_ToDSDIforFlagsHighInBL:
     248%ifdef MODULE_IRQ       
     249ALIGN JUMP_ALIGN
     250FindDPT_ToDSDIforFlagsHighInBL:
     251%endif
    250252    mov     si, IterateToDptWithFlagsHighInBL
    251253    ; Fall to IterateAllDPTs
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm

    r473 r489  
    229229
    230230
     231%if 0                           ; unused...
    231232;--------------------------------------------------------------------
    232233; RamVars_IsDriveDetectionInProgress
     
    241242    cmp     WORD [RAMVARS.wSignature], RAMVARS_DRV_DETECT_SIGNATURE
    242243    ret
     244%endif
  • trunk/XTIDE_Universal_BIOS/makefile

    r482 r489  
    108108DEFINES_386_8K = $(DEFINES_AT) USE_386
    109109
     110DEFINES_ALL_FEATURES = MODULE_8BIT_IDE MODULE_ADVANCED_ATA MODULE_BOOT_MENU MODULE_EBIOS MODULE_HOTKEYS MODULE_IRQ MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_STRINGS_COMPRESSED MODULE_FEATURE_SETS
     111
    110112
    111113###################
     
    126128DEFS_XT_TINY = $(DEFINES_XT_TINY:%=-D%) -DROMSIZE=$(ROMSIZE)
    127129DEFS_386_8K = $(DEFINES_386_8K:%=-D%) -DROMSIZE=$(ROMSIZE)
     130DEFS_ALL_FEATURES = $(DEFINES_ALL_FEATURES:%=-D%)
    128131
    129132# Add -I in front of all header directories
     
    222225    @perl ..\tools\checksum.pl $(TARGET)_386.bin $(ROMSIZE)
    223226
    224 xt_unused: xt
    225     @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -o"$(TARGET)_xt_unused.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
    226     @perl ..\tools\unused.pl $(TARGET)_xt.lst $(TARGET)_xt_unused.asm
    227 
     227unused:
     228    @echo "All Features"
     229    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_ALL_FEATURES) $(DEFS_XT) $(DEFS_XT_PLUS) $(DEFS_AT) $(DEFS_XT_LARGE) $(DEFS_XTPLUS_LARGE) $(DEFS_AT_LARGE) $(DEFS_XT_TINY) $(DEFS_386_8K) -o"$(TARGET)_unused.asm" -l"$(TARGET)_unused.lst"
     230    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_ALL_FEATURES) $(DEFS_XT) $(DEFS_XT_PLUS) $(DEFS_AT) $(DEFS_XT_LARGE) $(DEFS_XTPLUS_LARGE) $(DEFS_AT_LARGE) $(DEFS_XT_TINY) $(DEFS_386_8K) -o"$(TARGET)_unused.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
     231    @perl ..\tools\unused.pl $(TARGET)_unused.lst $(TARGET)_unused.asm
     232    @echo "XT Small"
     233    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -o"$(TARGET)_unused_xt.asm" -l"$(TARGET)_unused_xt.lst"
     234    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -o"$(TARGET)_unused_xt.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
     235    @perl ..\tools\unused.pl $(TARGET)_unused_xt.lst $(TARGET)_unused_xt.asm
     236    @echo "XT Large"
     237    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -o"$(TARGET)_unused_xtl.asm" -l"$(TARGET)_unused_xtl.lst"
     238    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -o"$(TARGET)_unused_xtl.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
     239    @perl ..\tools\unused.pl $(TARGET)_unused_xtl.lst $(TARGET)_unused_xtl.asm
     240    @echo "AT Small"
     241    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -o"$(TARGET)_unused_at.asm" -l"$(TARGET)_unused_at.lst"
     242    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -o"$(TARGET)_unused_at.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
     243    @perl ..\tools\unused.pl $(TARGET)_unused_at.lst $(TARGET)_unused_at.asm
     244    @echo "AT Large"
     245    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -o"$(TARGET)_unused_atl.asm" -l"$(TARGET)_unused_atl.lst"
     246    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -o"$(TARGET)_unused_atl.asm" -E -DCHECK_FOR_UNUSED_ENTRYPOINTS
     247    @perl ..\tools\unused.pl $(TARGET)_unused_atl.lst $(TARGET)_unused_atl.asm
     248
     249
Note: See TracChangeset for help on using the changeset viewer.