Earlier quoted context omitted.
Why not use VirtualBox, VMWare Player, or qemu?
That works, but I couldn't get audio to work. So no listening to Songs by God and Me or anything else in the OS. http://www.youtube.com/watch?v=v9CExVdxVwI
The Temple Operating System
41–50 of 141 posts
Re: The Temple Operating System
#42Re: The Temple Operating System
#43I don't quite understand what he meant by 'identity-mapped' - can anyone clue me in?
I haven't looked through it, but it probably means that you can access individual physical bytes in memory by using their physical address (there's a one to one correspondence between the physical address and the logical address of a byte). I'm not exactly sure how that is achieved, as far as I know, in order to switch to long mode, you need to have enabled paging. I've been myself looking to start my own OS (protect…
Re: The Temple Operating System
#44Earlier quoted context omitted.
It's interesting that he's done more actual work than most of us. I would imagine he spends most of his time working on the OS rather than interacting with people. Kind of puts into perspective how productive we could be... And also how useless some forms of productivity are.
has he? making a booting from metal OS is a semester long undergraduate project, and this person has been working on it for way longer than that. in a semester, university programs expect you to write a kernel that boots to a shell with virtual memory management and multi-tasking. templeos doesn't even have virtual memory management.
Re: The Temple Operating System
#45I don't even... is this some kind of joke? The website reads like a Christian version of the timecube website.
No joke. It's this guy: https://news.ycombinator.com/threads?id=losethos
And this guy: https://news.ycombinator.com/threads?id=TempleOS
And he may have another ID for all I know.
Re: The Temple Operating System
#46edit: here is some background info for those who are not familiar with this https://news.ycombinator.com/item?id=4992749
Re: The Temple Operating System
#47I don't quite understand what he meant by 'identity-mapped' - can anyone clue me in?
I haven't looked through it, but it probably means that you can access individual physical bytes in memory by using their physical address (there's a one to one correspondence between the physical address and the logical address of a byte). I'm not exactly sure how that is achieved, as far as I know, in order to switch to long mode, you need to have enabled paging. I've been myself looking to start my own OS (protect…
an identity-mapping for virtual memory is then a mapping that directly translates a VA into the same PA, so VA 5 is PA 5.
the word 'paging' is overloaded to mean, to the cpu, the act of having the mmu perform translation from a physical to a virtual address, and, having the OS perform demand-loading of certain physical pages.
so non-identity mappings would happen when you switch a VA from mapping to a PA to mapping to nothing. the OS takes the contents of the PA and stores it on disk. the next time the VA is accessed, there is a 'page fault' and the data for the page is brought in to some other available PA and the VA is remapped to that PA (if the mapping exists in the stored pages on disk).
identity mappings are very simple because they remove the layer of indirection normally present in a virtual memory system. so you can run the processor in long mode, and use as much of the memory as you can address, but have none of the benefits of disk-paging, processes, separation, etc.
it's ironic because if you used processes, your system could be more performant, because your address space only contains the pages needed to run your particular task. if you run everything in r0, then you don't even need an OS. you sidestep a lot of the challenges in writing an OS at the expense of performance...
Re: The Temple Operating System
#48I really want to have a spare laptop on which I can install all kinds of weirdo OSes just to see what they're like, not for "real" use. I'm perfectly happy running Win7 and OSX but that's like being happy with vanilla and chocolate at Baskin Robbins! I need some kind of heavy-duty bootloader and partitioning agent, though. Any recommendations for a starting place?
>> I really want to have a spare laptop on which I can install all kinds of weirdo OSes just to see what they're like Actually, is there somewhere a list of all the weirdo OSes? I'd be interested to see that.
What does your OS look like? Screen shots http://forum.osdev.org/viewtopic.php?f=1&t=12087
Wiki list of projects http://wiki.osdev.org/Projects
I don't meant to only report on the ones at osdev.org, but from the osdev.org wiki you can find the other main osdev sites and find their project lists. If you approach this with the attitude of open exploration, I think you'll enjoy it more.