Ignore:
Timestamp:
Apr 12, 2014, 11:24:51 AM (12 years ago)
Author:
Ben Rietbroek
Message:

Fixed Installer to handle packed hideparttable [2012-04-23]

WARNING!!

All commits upto and including the commit of [2012-05-13] contain
a severe bug!! Building from these sources and then disabling
the 'force LBA' feature while also using the drive-letter feature or
editing the label can DESTROY THE MBR on ALL ATTACHED DISKS!!
DO NOT DISABLE 'FORCE LBA USAGE' WHEN BUILT FROM THE THESE COMMITS!!

Changes

o Installer can now handle packed hideparttable
o Implemented upgrading from v1.06 directly to v1.0.8
o Fixed minor stuff when upgrading from v1.06 to v1.07
o Implemented DOS code in C cross-platform installer

There is now one C source for 4 platforms:
DOS,WIN32,OS2 and LINUX (Linux portion not ready yet)
This obsoletes AIRBOOT.ASM/AIRBOOT.COM.
DOS Installer is now AIRBOOTD.EXE.

o This commit is prepairing for v1.0.8-rc2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/REGULAR/DRIVEIO.ASM

    r46 r47  
    248248
    249249            ; Dump drive
    250             mov      si,offset drive
     250            ;mov      si,offset drive
    251251            ;call     AuxIO_Print
    252             xchg     al,dl
     252            ;xchg     al,dl
    253253            ;call     AuxIO_TeletypeHexByte
    254254            ;call     AuxIO_TeletypeNL
    255             xchg     dl,al
     255            ;xchg     dl,al
    256256
    257257            ; Dump SPT
    258             mov      si,offset spt_used
     258            ;mov      si,offset spt_used
    259259            ;call     AuxIO_Print
    260260            push     dx
     
    300300
    301301            ; LBA
    302             mov     si,offset before_lvm_adjust
     302            ;mov     si,offset before_lvm_adjust
    303303            ;call    AuxIO_Print
    304304
    305             xchg    dx,bx
     305            ;xchg    dx,bx
    306306            ;call    AuxIO_TeletypeHexDWord
    307307            ;call    AuxIO_TeletypeNL
    308             xchg    bx,dx
     308            ;xchg    bx,dx
    309309        popa
    310310
     
    317317
    318318
    319         pusha
    320             mov      si,offset before_lvm_adjust_log
     319        ;pusha
     320            ;mov      si,offset before_lvm_adjust_log
    321321            ;call     AuxIO_Print
    322322            ; LBA
    323             xchg     dx,bx
     323            ;xchg     dx,bx
    324324            ;call     AuxIO_TeletypeHexDWord
    325325            ;call     AuxIO_TeletypeNL
    326             xchg     bx,dx
    327         popa
     326            ;xchg     bx,dx
     327        ;popa
    328328
    329329
     
    346346
    347347
    348         pusha
    349             mov     si,offset after_lvm_adjust_log
     348        ;pusha
     349            ;mov     si,offset after_lvm_adjust_log
    350350            ;call    AuxIO_Print
    351351            ; LBA
    352             xchg    dx,bx
     352            ;xchg    dx,bx
    353353            ;call    AuxIO_TeletypeHexDWord
    354354            ;call    AuxIO_TeletypeNL
    355             xchg    bx,dx
    356         popa
     355            ;xchg    bx,dx
     356        ;popa
    357357
    358358        jmp      done
     
    427427    done:
    428428
    429         pusha
    430             mov     si,offset after_lvm_adjust
     429        ;pusha
     430            ;mov     si,offset after_lvm_adjust
    431431            ;~ call    AuxIO_Print
    432432            ; LBA
    433             xchg    dx,bx
     433            ;xchg    dx,bx
    434434            ;~ call    AuxIO_TeletypeHexDWord
    435435            ;~ call    AuxIO_TeletypeNL
    436             xchg    bx,dx
    437         popa
     436            ;xchg    bx,dx
     437        ;popa
    438438
    439439        ;~ pusha
     
    466466
    467467
    468 drive                   db 'drive                    : ',0
    469 before_lvm_adjust       db 'before lvm adjust        : ',0
    470 after_lvm_adjust        db 'after lvm adjust         : ',0
    471 before_lvm_adjust_log   db 'before lvm logical adjust: ',0
    472 after_lvm_adjust_log    db 'after lvm logical adjust : ',0
    473 spt_used                db 'spt used                 : ',0
    474468
    475469
Note: See TracChangeset for help on using the changeset viewer.