Changeset 80


Ignore:
Timestamp:
Apr 8, 2017, 12:26:17 AM (8 years ago)
Author:
Ben Rietbroek
Message:

I knew there were a few stealhy ones... [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/special/virus.asm

    r76 r80  
    153153   pop     es
    154154   mov     bx, offset TmpSector
    155    mov     dx, 0080h
     155   mov     dh, 0                 ; Head 0
     156   mov     dl, [BIOS_BootDisk]   ; Disk AirBoot was loaded from
    156157   mov     cx, 0001h  ; Harddisc 0, Sector 1
    157158   mov     ax, 0201h
     
    180181   pop     es
    181182   mov     bx, BootBasePtr
    182    mov     dx, 0080h
     183   mov     dh, 0                 ; Head 0
     184   mov     dl, [BIOS_BootDisk]   ; Disk AirBoot was loaded from
    183185   ;mov     cx, 003Ch                     ; First Harddrive, Sector 60
    184186   mov     cx, image_size / sector_size  ; Harddisc 0, Sector 60 (or 62 for extended version)
     
    195197   pop     ds
    196198   mov     bx, offset TmpSector
    197    mov     dx, 0080h
     199   mov     dh, 0                 ; Head 0
     200   mov     dl, [BIOS_BootDisk]   ; Disk AirBoot was loaded from
    198201   ;mov     cx, 003Ch                     ; Harddisc 0, Sector 60
    199202   mov     cx, image_size / sector_size  ; Harddisc 0, Sector 60 (or 62 for extended version)
     
    220223  ARMBR_DoIt:
    221224   mov     bx, offset TmpSector
    222    mov     dx, 0080h
     225   mov     dh, 0                 ; Head 0
     226   mov     dl, [BIOS_BootDisk]   ; Disk AirBoot was loaded from
    223227   mov     cx, 0001h                     ; Harddisc 0, Sector 1
    224228   mov     ax, 0301h                     ; Write 1 Sector
Note: See TracChangeset for help on using the changeset viewer.