Index: trunk/bootcode/regular/driveio.asm
===================================================================
--- trunk/bootcode/regular/driveio.asm	(revision 103)
+++ trunk/bootcode/regular/driveio.asm	(revision 104)
@@ -257,195 +257,8 @@
         adc     bx,0                    ; and high part of LBA address
         or      cl,63                   ; Adjust CHS part   !FIX ME for > 63!   !! FIX HUGE DRIVE !!
-        ret
-
-
-;;jmp bliep
-;;        pusha
-
-;;            push     dx
-;;            push     bx
-;;                xor      dh,dh
-;;                and      dl,01111111b
-;;                shl      dx,1
-;;                shl      dx,1
-;;                mov      bx, offset [TrueSecs]
-;;                add      bx,dx
-;;                mov      ax,word ptr [bx]
-;;            pop      bx
-;;            pop      dx
-
-
-            ;
-            ; AX now contains LVM secs
-            ;
-
-
-;;            pusha
-;;                push    dx
-;;                ; Location of extended position
-;;                mov     dx,word ptr [ExtendedAbsPos+02]
-;;                mov     ax,word ptr [ExtendedAbsPos+00]
-;;                ;call    AuxIO_TeletypeHexDWord
-;;                ;call    AuxIO_TeletypeNL
-;;                pop     dx
-
-;;                xor     dh,dh
-;;                and     dl,01111111b
-;;                shl     dx,1
-;;                shl     dx,1
-;;                mov     bx, offset [TrueSecs]
-;;                add     bx,dx
-;;                mov     ax, word ptr[bx]
-
-                ;call    AuxIO_TeletypeHexWord
-                ;call    AuxIO_TeletypeNL
-;;                mov     al,[ExtendedAbsPosSet]           ; if true -> 1st sector of extpart (EBR), not logpart(BPB)
-                ;call    AuxIO_TeletypeHexByte
-                ;call    AuxIO_TeletypeNL
-                ;mov     si,offset PartitionSector
-                ;call    AuxIO_DumpSector
-;;            popa
-
-            ; LBA
-            ;mov     si,offset before_lvm_adjust
-            ;call    AuxIO_Print
-
-            ;xchg    dx,bx
-            ;call    AuxIO_TeletypeHexDWord
-            ;call    AuxIO_TeletypeNL
-            ;xchg    bx,dx
-;;        popa
-
-
-;;bliep:
-
-      ;or       bx,ax
-;;      test     byte ptr [ExtendedAbsPosSet],1
-;;      jz       pri
-
-
-;;        push     dx
-;;        push     bx
-
-;;            xor      dh,dh
-;;            and      dl,01111111b           ; Strip high bit from disk
-;;            shl      dx,1                   ; Convert to index
-;;            shl      dx,1                   ; into TrueSecs table
-;;            mov      bx,offset [TrueSecs]   ; Base of table
-;;            add      bx,dx                  ; Point to entry for disk
-;;            mov      dx,[bx]                ; Get TrueSecs (LVM)
-;;            dec      dx
-;;            add      ax,dx
-
-;;        pop      bx
-;;        pop      dx
-;;        adc      bx,0
-
-
-;;        jmp      done
-
-
-
-;;    pri:
-
-
-;;        push    ax
-;;        push    cx
-;;            xor     ch, ch                           ; Zero out upper-byte
-
-;;            push    dx
-;;                xor     dh,dh
-;;                and     dl,01111111b
-;;                shl     dx,1
-;;                shl     dx,1
-
-;;                push    bx
-;;                    mov     bx,offset [TrueSecs]
-;;                    add     bx,dx
-;;                    mov     ax,[bx]
-                    ;mov     [ts2],ax
-;;                pop     bx
-;;            pop     dx
-
-
-
-            ;~ mov     al, 63
-            ;~ call    VideoIO_PrintByteDynamicNumber
-            ;~ self:   jmp self
-
-
-
-            ; DEZE WERKT SOMS NIET GOED
-            ; ROMMELT MET CYLINDERS
-            ; ALLEEN TOEPASSEN ALS INT13X NIET ACTIEF !
-
-;;            and     cl, al                           ; Isolate lower bits, because upper
-;;            mov     ah, 0
-;;            mov     si, ax                           ;  ones may be used for cylinder
-;;            sub     si, cx
-
-;;        pop     cx
-;;        pop     ax
-
-;;        or      cl, al                           ; Set sector to last sector
-;;        add     ax, si                           ; Adjust lower LBA
-;;        adc     bx, 0                            ; Adjust LBA Sector (BX:AX)
-
-
-
-        ;~ push    ax
-        ;~ call    AuxIO_TeletypeHexWord
-        ;~ call    AuxIO_TeletypeNL
-        ;~ mov     ax,[ts]
-        ;~ call    AuxIO_TeletypeHexWord
-        ;~ call    AuxIO_TeletypeNL
-        ;~ mov     ax,[ts2]
-        ;~ call    AuxIO_TeletypeHexWord
-        ;~ call    AuxIO_TeletypeNL
-        ;~ pop     ax
-
-        ;~ and      ax,[ts]
-
-;;      jmp done
-
-
-
-;;    done:
-
-        ;pusha
-            ;mov     si,offset after_lvm_adjust
-            ;~ call    AuxIO_Print
-            ; LBA
-            ;xchg    dx,bx
-            ;~ call    AuxIO_TeletypeHexDWord
-            ;~ call    AuxIO_TeletypeNL
-            ;xchg    bx,dx
-        ;popa
-
-        ;~ pusha
-        ;~ call    AuxIO_TeletypeNL
-;~
-        ;~ ; CYL
-        ;~ mov     al,ch
-        ;~ call    AuxIO_TeletypeHexByte
-        ;~ call    AuxIO_TeletypeNL
-;~
-        ;~ ; HEAD
-        ;~ mov     al,dh
-        ;~ call    AuxIO_TeletypeHexByte
-        ;~ call    AuxIO_TeletypeNL
-;~
-        ;~ ; SEC
-        ;~ mov     al,cl
-        ;~ call    AuxIO_TeletypeHexByte
-        ;~ call    AuxIO_TeletypeNL
-;~
-        ;~ ; DRIVE
-        ;~ mov     al,dl
-        ;~ call    AuxIO_TeletypeHexByte
-        ;~ call    AuxIO_TeletypeNL
-        ;~ popa
-
-;;      ret
+
+
+        ret
+
 DriveIO_LVMAdjustToInfoSector   EndP
 
