X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Meynard" Newsgroups: comp.os.msdos.djgpp Subject: Re: direct access on disk on chip Date: Mon, 27 Oct 2003 09:18:58 +0100 Organization: Guest of France Telecom Oleane's newsreading service Lines: 31 Message-ID: References: <7137-Wed22Oct2003164345+0200-eliz AT elta DOT co DOT il> NNTP-Posting-Host: 62.161.106.155 X-Trace: s1.read.news.oleane.net 1067242740 4668 62.161.106.155 (27 Oct 2003 08:19:00 GMT) X-Complaints-To: abuse AT oleane DOT net NNTP-Posting-Date: Mon, 27 Oct 2003 08:19:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Yes, I want to save data in a memory batterie backup like disk-on-chip for save a state of my machine but I need access in 32bits and in real time and multitasking and not by bios function who use real mode . So we can used disk-on-chip like a hard disk or like a memory with programming the window access at D000 to D1FF (8Ko) in dos segment. But I need too to access register on disk-on-chip to translate this window of 8Ko for access 16Mo of disk-on-chip. And I not found how access to this register on Internet. If you can help Me, Please Thanks. "Eli Zaretskii" a écrit dans le message de news: 7137-Wed22Oct2003164345+0200-eliz AT elta DOT co DOT il... > > From: "Meynard" > > Newsgroups: comp.os.msdos.djgpp > > Date: Wed, 22 Oct 2003 08:52:17 +0200 > > > > where can I find source code (in C or assembly) to direct access/read > > on Disk-on-Chip I want to develop a program who save > > data in real time. > > Please explain what do you mean by ``direct access'' in this context. > Disk-on-chip pretends to be a hard disk, so I'd expect that BIOS > functions to access a disk on the sector level should work. DJGPP has > biosdisk and _bios_disk functions in its library which should help you > do that. > > If this is not good enough, please tell what else you need.