There are real and unreal modes of x86 CPU, contrary to the protected mode. BIOS provides basic drivers to access hardware. Could those drivers be used by the OS?
Sure MS-DOS is that kind of OS, but it also has memory limit issue.
Wikipedia says that OS must be also in real mode to use BIOS drivers as BIOS is a real mode program. There is System Maintenance Mode as well, but is it connected to BIOS drivers?
The basic idea is to use BIOS drivers to have a extremely small OS. This is hobby of course (having your own small OS is just an exciting prospective).
Anyone can explain is that possible and can the whole memory also be accessed?
Real mode seem to be different from CPU to CPU, maybe latest processors provide more functions to this mode.
Most of OS are written in Protected mode, because Real Mode cannot do multitasking and separate privilege. But for me it is OK to have no multitask and no privilege, I am talking about hobby OS. What is important is to reuse BIOS drivers, because writing drivers is the most difficult part of OS development.
Multitasking can be "emulated" if the whole OS is interpreter-based.
So summarizing it, please analyze the possibility of writing the x86 Real Mode OS, in regards to disk, graphics, memory, CPU resources and overall.