Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

EDR-DOS bug report (Users)

posted by Japheth Homepage, Germany (South), 23.12.2007, 10:02

Hello,

I wanted to finish DOS386's FAT+ tests, particularly to get the answer to the question what WinXP "chkdsk /F" does with files > 4 GB on FAT32, but ran in troubles with EDR-DOS (latest WIP). The details:

1. using the FAT+ int 21h, ax=7142 to create a huge file doesn't work as expected. It works for files up to 256 MB - 8 MB on a 6 GB FAT32 partition, but with larger files it fails. My testcase is a simple DEBUG script:

e 180 'xxx.txt',0
a 100
xor cx,cx
mov dx,180
mov ax,3C00     ;create file xxx.txt
int 21
mov bx,ax
mov cx,0
mov dx,1
mov ax,4200     ;grow file to size 1 first
int 21
mov cx,0        ;now use FAT+ function to let it grow beyond ...?
mov si,180
mov dword [si+0],FFFE000   ;this is 256-8 MB (last which works)
mov dword [si+4],0   ;set to 1 for file size >= 4 GB
mov dx,si            ;was it DS:DX or DS:SI?
mov ax,7142
int 21
mov cx,0
mov ah,40       ;write 0 bytes
int 21
mov ah,3E       ;close file
int 21
mov ax,4c00     ;terminate
int 21

r cx 100
r bx 0
n wrlarge.com
w
q


save this script with name WRLARGE.DEB, then run "DEBUG <WRLARGE.DEB" and finally run WRLARGE.COM

2. EDR-DOS is not fully compatible with JLOAD, the XDMA32 JLM is loaded TWICE, although there's just 1 line "DEVICE=JLOAD.EXE XDMA32.DLL" in CONFIG.SYS. Possibly EDR-DOS has a problem with device drivers with a resident size of 0?

3. I tried to mount NTFS and ext3 partitions with Paragon's NDOS.EXE driver. This works fine with MS-DOS 7.1 and FreeDOS 1.0, but with EDR-DOS, I don't get access to these partitions, instead the FAT32 partitions of the first physical disk are "shadowed", so C: and D: are "remounted" as "I:" and "J:".

@rr: is it possible to use another text color for the {code} tag? Dark blue/green would be fine.

---
MS-DOS forever!

 

Complete thread:

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