Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

EDR-DOS bugs on int 21h functions 7142h and 71A6h (Announce)

posted by CandyMan, 13.08.2023, 22:41

Thanks for making these changes. My most important fix is the one below (last two lines posted - in "disk.asm"). Without it, the system freezes on my computer with grub4dos.

        push    cx
        push    si
        pushx   <es,di,dx>
        mov     ah,ROS_LBAPARAM         ; get extended drive parameters
        lea     si,int13ex_para         ; DS:SI -> drive parameter buffer
        int_____DISK_INT
        popx    <dx,di,es>
         jc     equip_type_nolba        ; error, assume standard FDD
        test    word ptr 2[si],4        ; removable drive?
         jnz    equip_type_nolba        ; no
        cmp     dl,80h                  ; Hard Disk? - CandyMan
         jb     equip_type_nolba        ; no - CandyMan

 

Complete thread:

Back to the forum
Board view  Mix view
21998 Postings in 2024 Threads, 395 registered users, 80 users online (0 registered, 80 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum