flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Processor Specific Implementations

Author
Thread Post new topic Reply to topic
smiddy



Joined: 31 Oct 2004
Posts: 557
smiddy 14 Nov 2006, 19:58
Hi All,

I was wondering how folks are handling processor specifc implementations of their OS. There was a thread on the main forum which you may have read. Essentially I was poking for information on XMM registers and received some. However, I'd like to understand how others have approached this from an OS design perspective. There are other features besides the XMM registers (and associated opcodes) and am curious why/how people designed for them.

All thoughts welcomed!
Post 14 Nov 2006, 19:58
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 14 Nov 2006, 22:35
I think its best to not use this type of reg in the OS its self, but use it in program that benefit from using them, they are simple to use and test for.
Dex4u test prog:
Image

But that may just be me Wink.
Post 14 Nov 2006, 22:35
View user's profile Send private message Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 557
smiddy 15 Nov 2006, 02:46
Yep, this is what Solar OS is doing too, but if you're multitasking (which I realize Dex OS isn't) that you'd want to ensure you are able to save all the states for all the registers and flags between swapping tasks. If a seperate task uses the FPU registers, you have to have a way to save that state so some other task doesn't trash the state of another task.

Nice CPUID BTW!
Post 15 Nov 2006, 02:46
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 15 Nov 2006, 17:21
smiddy wrote:
Yep, this is what Solar OS is doing too, but if you're multitasking (which I realize Dex OS isn't)
Do not be too sure, as i am thinking about using a form of virtualization to run lots of mini Dex4u images Wink.

Off the top of my head, i would test at startup for what are available on the that processor and then uses some self modifying code ?.
Post 15 Nov 2006, 17:21
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 15 Nov 2006, 17:41
Dex: get in touch with HyperVista about that Wink
Post 15 Nov 2006, 17:41
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 15 Nov 2006, 19:27
vid wrote:
Dex: get in touch with HyperVista about that Wink

Yes i am hoping HyperVista will be of help, in point me in a good overall design Wink.
But i need to finish some bits and bobs, before i get stuck in, then i go in info gathering mode, and HyperVista is top of that list Smile .
Post 15 Nov 2006, 19:27
View user's profile Send private message 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.