Ladislav Lacina wrote:
Hi! I would like to know whether is there any diference between MSDOS and FreeDOS behavior in TSR programs. Can I in TSRs call the same subset of DOS funkcions like in MSDOS? Or more or less? Can I read and write files from my TSRs?
The behaviour _should_ match MS-DOS in this area, however, the reality is there may be cases that differ; if found and reported, time permitting, they will be corrected. TSRs should be able to read/write files, assuming the same techniques needed for ms-dos are used, specifically either don't call into DOS while inDOS or take care to swap out relevant ports (such as SDA) to allow recursing into the kernel (for a working example, the shsufdrv device driver [allows mounting disk images as a drive letter] does the latter to read sectors from the image file when the kernel makes a read request to emulated drive).
Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel