File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -519,6 +519,7 @@ loadedok: test byte [ModeFlag],VerboseFlag ; *** byte ptr ***
519519 ; DS:TopCSeg, ES:TopCSeg
520520
521521 ; Get pointer to 'invar' (list of lists)
522+
522523noprintladdr: mov ah , 52h
523524 int 21h
524525
@@ -532,18 +533,18 @@ noprintladdr: mov ah,52h
532533 ; Fetch nBlkDev and LastDrive from 'invar' (list of lists)
533534
534535 mov ax ,[ es : bx + 20h ]
535- mov word [ nBlkDev ], ax ; *** updates nBlkDev & LastDrive
536-
537- ; Determine 1st free CDS entry
538- push bx
539- push es
536+ mov word [ nBlkDev ], ax ; *** updates nBlkDev & LastDrive
537+
538+ ; Determine 1st free CDS entry
539+ push bx
540+ push es
540541
541- ; Get pointer to LASTDRIVE array (Current Directory Structure - CDS).
542+ ; Get pointer to LASTDRIVE array (Current Directory Structure - CDS).
542543 les bx ,[ es : bx + 16h ]
543544
544545 ; Calculate offset in CDS array of next free entry (>= current # of block devices)
545- dec al ; AX set earlier to nBlkDev, -1 for zero based
546- mov [ LastDrUsed ], al ; default to assume only block drivers have CDS entry
546+ dec al ; AX set earlier to nBlkDev, -1 for zero based
547+ mov [ LastDrUsed ], al ; default to assume only block drivers have CDS entry
547548 mov ah ,[ LDrSize ]
548549 mul ah
549550 ; loop until free entry is found
@@ -557,8 +558,8 @@ CDSinuse:
557558 cbw
558559 jmp CDSinuse
559560CDSfound:
560- pop es
561- pop bx
561+ pop es
562+ pop bx
562563
563564 ; Fetch max. sector size from 'invar' (list of lists)
564565
You can’t perform that action at this time.
0 commit comments