From: Eduardo TUDA Lorenzetti Pellini Newsgroups: comp.os.msdos.djgpp Subject: RE: Real time commitment and IRQ 0 Date: Sat, 31 Mar 2001 22:32:50 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3ACA40E5@MailAndNews.com> X-InterChange-Posted-By: dochell AT MailAndNews DOT com Sender: Eduardo TUDA Lorenzetti Pellini X-EXP32-SerialNo: 50000000 Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: InterChange (Hydra) News v3.61.08 X-Complaints-To: newsabuse AT supernews DOT com Lines: 57 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks Alexei ! >If that's indeed under DOS (not a win dos-box) and you don't have any >drivers installed (SMARTDRV might be the problem here), then I have no idea >what can be wrong. Great ! It is realy a very clear MS-DOS boot, using only MSDOS.SYS, IO.SYS and COMMAND.COM. But I was planning to use SMARTDRV in the future to help me to dump my data to the disk AFTER the acquisition. The data size is almost 100Mbytes !! And using 16 bits MS-DOS I/O functions, even with setbuffer instructions, the data throughput is annoying ! I thought that disabling IRQ0 (INT 8 and INT 1C going to sleep) and don't making any explicit disk I/O, SMARTDRV wouldn't care. Am I right ? PS: I'm locking all my code and using CWSDPMI with a disabled paging file. >There is however one thing you can do. You can make your program such that >it doesn't use any DOS services, load it from a bootdisk (having appropriate >bootsector of course) and thus skip any crap that can possibly chain to >ISRs. If you're doing your program with 32-bit DJGPP, then you have a little >problem here... You either need to setup PMode yourself or make the program >a 16-bit real-mode one. >Perhaps you may use my BootProg bootsectors (they load and run standard >.COM/.EXE programs from FAT12/16 disks) or OS for Dummies Loader (which in >addition can load and run a compiled .O (COFF) image produced by DJGPP >GCC/LD). For more info see my homepage (PMode section). Thanks for the information ! I already thought to do this with my program. My problem is that i need DOS to dump my data to disk. I don't want (i don't have time indeed) to learn direct disk I/O using hardware ports. Nowadays i'm planing to mask some hardware IRQs, to point some INT vector to void functions and so on... to achieve almost complete CPU dedication. In the end of the data acquisiton I will restore all IRQs, ISRs, etc... and dump the data to disk using common DOS I/O functions... I will see you homepage anyway to look for more inspiration... 8) Thanks for all ! Eduardo TUDA DocHell Lorenzetti Pellin PEA - Electrical Energy and Automation Department USP - Politechnical School of Sao Paulo University - BRAZIL http://www.pea.usp.br/~epellini --------------------------------- And if you have a time to loose, an open mind, and right to choose, would you care to take a look, or can you read me like a book... time's is allways on my side... --------------------------------- (Up the Irons !!!)