Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Alexander Stohr
there is a bit more than just the bios. there is the (CMOS) real time clock! this battery/accu/conductor driven unit has two main duties: - storing, updating and checking clock and alarm times. - storing BIOS configuration data you can read that unit via assembly mnemonic in/out. documentation i

Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Eric Auer
Hi! >> I read through the boot code and didn't see and specifics written >> about where the system bios is stored in memory. > > The boot code uses the software interrupts associated with the BIOS to > call BIOS functions. For example, interrupt 16h (BIOS keyboard functions) > and interrupt 13h (

Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Christian Masloch
> I read through the boot code and didn't see and specifics written > about where the system bios is stored in memory. The boot code uses the software interrupts associated with the BIOS to call BIOS functions. For example, interrupt 16h (BIOS keyboard functions) and interrupt 13h (BIOS disk a

Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Christian Masloch
> each bios is going to be different. what is common between the BIOSes > is the > int21H functions, which are outlined here: > http://hdebruijn.soo.dto.tudelft.nl/newpage/interupt/out-0100.htm Interrupt 21h is provided by DOS. The list you link to contains BIOS functions as well as DOS funct

Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Jim Michaels
- c unsigned char pointer or other unsigned type of your choice - assembly code, set segment register ds to 0x000f or whatever and use nasm, set up a buffer for the filenames, one for the system bios, one r the extended bios. set up a 64K disk buffer in memory. make your code do an int 21h cal

Re: [Freedos-devel] C/C++ BIOS backup

2010-11-14 Thread Jim Michaels
http://duartes.org/gustavo/blog/post/motherboard-chipsets-memory-map just google memory map pc Jim Michaels jmich...@yahoo.com j...@jimscomputerrepairandwebdesign.com http://JimsComputerRepairandWebDesign.com http://JesusnJim.com (my personal site, has software) http://DoLifeCompute