this post was submitted on 24 Aug 2023
501 points (96.3% liked)
Technology
60044 readers
2658 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It’s a bit more complex than that. Intel CPUs (to this day) boot in real mode, which is what DOS is using. In this mode, the system only has access to 640k of RAM. Windows 95 and later switch the processor to protected mode, where the system gets access to all of the RAM and also to memory protection features, so processes can’t real and write each other’s memory. However, in this mode it’s impossible to run real mode code, such as the one provided by DOS.
DOS games had a trick where they briefly switched back to real mode to execute DOS functions (mostly reading and writing to disk) and then back to protected mode, but I don’t think that Windows 95 did that.