VirtualBox

Changeset 86686 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Oct 23, 2020 1:13:34 PM (4 years ago)
Author:
vboxsync
Message:

BIOS: Only use the .8086 directive when assembling using WASM; MASM no longer understands it and errors out.

Location:
trunk/src/VBox/Devices/BiosCommonCode
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/BiosCommonCode/__I4D.asm

    r82968 r86686  
    2626endif
    2727
     28; MASM (ML.EXE) is used for PXE and no longer understands the .8086 directive.
     29; WASM is used for the BIOS and understands it just fine.
     30ifdef __WASM__
    2831                .8086
     32endif
    2933
    3034
     
    6973                pop     ax
    7074                rol     eax, 16
     75ifdef __WASM__
    7176                .8086
     77endif
     78
    7279else
    7380                call    NeedToImplementOn8086__I4D
  • trunk/src/VBox/Devices/BiosCommonCode/__I4M.asm

    r82968 r86686  
    2626endif
    2727
     28; MASM (ML.EXE) is used for PXE and no longer understands the .8086 directive.
     29; WASM is used for the BIOS and understands it just fine.
     30ifdef __WASM__
    2831                .8086
     32endif
    2933
    3034_TEXT           segment public 'CODE' use16
     
    6771                pop     ax
    6872                rol     eax, 16
     73ifdef __WASM__
    6974                .8086
     75endif
     76
    7077else
    7178                call    NeedToImplementOn8086__I4M
  • trunk/src/VBox/Devices/BiosCommonCode/__U4D.asm

    r82968 r86686  
    2222public          __U4D
    2323
     24; MASM (ML.EXE) is used for PXE and no longer understands the .8086 directive.
     25; WASM is used for the BIOS and understands it just fine.
     26ifdef __WASM__
    2427                .8086
     28endif
     29
    2530
    2631if VBOX_BIOS_CPU lt 80386
     
    7075                pop     ax
    7176                rol     eax, 16
     77ifdef __WASM__
    7278                .8086
     79endif
    7380else
    7481                ;
  • trunk/src/VBox/Devices/BiosCommonCode/__U4M.asm

    r82968 r86686  
    2222public          __U4M
    2323
     24; MASM (ML.EXE) is used for PXE and no longer understands the .8086 directive.
     25; WASM is used for the BIOS and understands it just fine.
     26ifdef __WASM__
    2427                .8086
     28endif
    2529
    2630_TEXT           segment public 'CODE' use16
     
    6064                pop     ax
    6165                rol     eax, 16
     66ifdef __WASM__
    6267                .8086
     68endif
    6369
    6470else
Note: See TracChangeset for help on using the changeset viewer.

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