Skip to main content

Questions tagged [real-mode]

For questions about switching hardware into real address mode

-1 votes
0 answers
95 views

I've made my own kernel. It has 32-bit pm, 16-bit pm, and 16-bit real mode code. I use Qemu to emualate an i686. And when i debug the mode switch parts, the code runs and works. However, the ...
Self learning student's user avatar
6 votes
1 answer
545 views

Can you write to the GDT (Global Descriptor Table) on Windows 95 from protected mode? Why, and how? In some old notes of mine, I have: "In Windows 95 the descriptor tables are accessible from ...
AlphaCentauri's user avatar
26 votes
4 answers
5k views

As far as I know, x86 CPUs start up in 16-bit 'real' mode (maybe some don't). The reset vector is 0xFFFFFFF0 (in most CPUs and in this context) In this 16-bit real mode, we can only access 16 bit ...
Example person's user avatar
1 vote
2 answers
441 views

This tiny program puts a few A's into the text mode buffer of an ms-dos pc. But only works if the number of repetitions (CX) is loaded with a direct value. If I try to read that from memory, i.e. ...
Dercsár's user avatar
  • 785
14 votes
2 answers
3k views

Windows and DOS binary executable files with the .EXE extension have an MZ header in them and nowadays also a PE header. But before these there used to also be .COM binary executable files and they ...
hippietrail's user avatar
  • 8,214
43 votes
3 answers
6k views

It's been a while, but I've read in a system programming book that you could switch your Intel 80286 CPU from the normal real mode to a more powerful protected mode. I clearly remember that they said ...
Byte Commander's user avatar