Ignore:
Timestamp:
Jan 13, 2013, 9:07:21 AM (13 years ago)
Author:
Ben Rietbroek
Message:

Reworked Special Partition Handling [2011-11-24]

Changes

Changed the special partitioning handling code to be more aware
of what kind of partition we're dealing with. This is debug-code.
Most of the added functions are actually redundant and are removed
in later revisions.

Note

This commit and all following commits upto and including the RC3
commit [2012-09-09] are delayed commits from a local repository.
Also, the RC (Release Candidate) naming of the corresponding commits
is a bit misleading. One would label a revision with RC when near to
a final release. Since many things have changed between RC1,RC2 & RC3,
these RC's should be interpreted as mile-stones.

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 ABOVE COMMITS!!

File:
1 edited

Legend:

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

    r32 r34  
    652652
    653653
    654 VideoIO_DBG_WriteString         Proc Near   Uses ax bx cx dx si es di
    655    mov   ch, [CFG_Partitions]                                                    ; y
    656    add   ch, 7
    657    add   ch, [CFG_IncludeFloppy]
    658    push cx
    659    mov   cl, 1                                                                   ; x
    660    call  VideoIO_Locate
    661    mov   ch, 15                                                                  ; fgc
    662    mov   cl, 0                                                                   ; bgc
    663    call  VideoIO_Color
    664    mov   si, offset ShowBootLog
    665    call  VideoIO_Print
    666    pop cx
    667    inc   ch
    668 
    669    ;mov   ch, 21                                                                 ; y
    670    mov   cl, 1                                                                   ; x
    671    call  VideoIO_Locate
    672    mov   ch, 15                                                                  ; fgc
    673    mov   cl, 0                                                                   ; bgc
    674    call  VideoIO_Color
     654;VideoIO_DBG_WriteString         Proc Near   Uses ax bx cx dx si es di
     655;   mov   ch, [CFG_Partitions]                                                    ; y
     656;   add   ch, 7
     657;   add   ch, [CFG_IncludeFloppy]
     658;   push cx
     659;   mov   cl, 1                                                                   ; x
     660;   call  VideoIO_Locate
     661;   mov   ch, 15                                                                  ; fgc
     662;   mov   cl, 0                                                                   ; bgc
     663;   call  VideoIO_Color
     664;   mov   si, offset ShowBootLog
     665;   call  VideoIO_Print
     666;   pop cx
     667;   inc   ch
     668
     669;   ;mov   ch, 21                                                                 ; y
     670;   mov   cl, 1                                                                   ; x
     671;   call  VideoIO_Locate
     672;   mov   ch, 15                                                                  ; fgc
     673;   mov   cl, 0                                                                   ; bgc
     674;   call  VideoIO_Color
    675675
    676676
    677677   ; Rousseau:
    678    mov al, [NewPartitions]
     678;   mov al, [NewPartitions]
    679679   ;call  VideoIO_PrintByteDynamicNumber
    680    mov al, [CFG_Partitions]
     680;   mov al, [CFG_Partitions]
    681681   ;call  VideoIO_PrintByteDynamicNumber
    682    ret
    683 VideoIO_DBG_WriteString         EndP
     682;   ret
     683;VideoIO_DBG_WriteString         EndP
    684684
    685685
     
    837837; Disk Info to Dump to AB LogScreen
    838838Disk:             db "DISK ",0
    839 BiosCyls:         db "Cyls    :",0
     839;BiosCyls:         db "Cyls    :",0
    840840BiosHeads:        db "Heads   :",0
    841841BiosSecs:         db "Secs    :",0
Note: See TracChangeset for help on using the changeset viewer.