X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Fwd: A few DJGPP libc.a bugs Date: Sat, 14 May 2016 00:40:29 +0200 Organization: INTERIA.PL S.A. Lines: 50 Message-ID: References: <56F8295E DOT 2090401 AT posteo DOT de> <571E403D DOT 8080709 AT iki DOT fi> <571E4A50 DOT 3010806 AT iki DOT fi> <571E8166 DOT 1000103 AT gmx DOT de> <571EE412 DOT 6000005 AT iki DOT fi> <152f7110-7932-a6db-30fd-afccd63822d4 AT iki DOT fi> <83shxpavlp DOT fsf AT gnu DOT org> <83zirvajs4 DOT fsf AT gnu DOT org> <837feya0hj DOT fsf AT gnu DOT org> NNTP-Posting-Host: user-109-243-236-184.play-internet.pl Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: usenet.news.interia.pl 1463179232 29795 109.243.236.184 (13 May 2016 22:40:32 GMT) X-Complaints-To: usenet AT firma DOT interia DOT pl NNTP-Posting-Date: Fri, 13 May 2016 22:40:32 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Bytes: 2302 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Would this function work? Can someone test to see what it says? > > http://www.delorie.com/djgpp/doc/rbinter/id/23/32.html =================================== [bits 16] [global _asmmain] [extern printf_] segment _TEXT class CODE _asmmain: push es push ds pop es mov ax, 71A0h mov dx, rootname mov di, filesysbuf mov cx, 32 stc int 21h jc .err push filesysbuf jmp .skip .err: push texterr .skip: call printf_ add sp, 2 pop es ret segment _DATA class DATA texterr db "Error",13,10,0 rootname db "G:\",0 segment _BSS class BSS filesysbuf resb 32 group DGROUP _DATA _BSS =================================== c:\wiktor\asm\exfat>fsname exFAT -- Wiktor S.