flat assembler
Message board for the users of flat assembler.

Index > Main > Setting up 16-bit protected mode - video streams

Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 25 Jan 2019, 12:26
This entire week I have been streaming my experiments with setting up 16-bit protected mode on 80286 from ground up. You can view the recordings of these sessions on YouTube.

Turns out 16-bit protected mode has been a rabbit hole for me. There are so many features of protected mode that are not used anymore in the world of 386+ and flat virtual addressing spaces, but are worth exploring even if out of curiosity. And I am myself curious to pursue them all!

Therefore next week I'm going to continue with 286 stuff. I think I should say something about instructions like ARPL, LSL, LAR, VERR and VERW - they all make perfect sense in an environment like the one I have set up during these streams, while they are rarely if ever used in later architectures. So this is a perfect opportunity to show them in a place where they are really useful for a change.

And then we can also try some task switching - we have most of the building blocks prepared already.

Finally, I also had planned to program PIC and enable some IRQs, because this example program feels a bit too "static". I may end up re-creating what I have in my old long mode examples, but perhaps I may end up making something fancier. When I'm not making silly mistakes, it all progresses quite nicely.

Also, I'm attaching the complete source code made on stream this week.


Description: 16-bit protected mode - first week source code
Download
Filename: PM16.ZIP
Filesize: 1.72 KB
Downloaded: 594 Time(s)

Post 25 Jan 2019, 12:26
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.