Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Gx Os
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2, 3  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
gan gar




PostPosted: Sun Dec 13, 2009 12:51 am   Post subject: Gx Os

i am making the GX OS.
i have seen an OS made in turing before so i am going for it if any one wants to help post here.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sun Dec 13, 2009 1:00 am   Post subject: Re: Gx Os

gan gar @ Sun Dec 13, 2009 12:51 am wrote:
i have seen an OS made in turing before

Do you even know what an OS is?

http://en.wikipedia.org/wiki/Operating_system
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
gan gar




PostPosted: Sun Dec 13, 2009 1:02 am   Post subject: RE:Gx Os

yes i do
Tony




PostPosted: Sun Dec 13, 2009 1:26 am   Post subject: RE:Gx Os

So what do you suppose an OS is/does?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
gan gar




PostPosted: Sun Dec 13, 2009 1:29 am   Post subject: RE:Gx Os

an os is a software program that runs all you hardware and software.
DemonWasp




PostPosted: Sun Dec 13, 2009 1:48 am   Post subject: RE:Gx Os

...and they're also impossible to write in Turing. What you're likely thinking of is referred to as a "launcher", which asks the operating system (probably Windows, given as you're writing in Turing) to launch some application.

You have not seen an OS written in Turing, unless someone out there has a very very special Turing compiler they haven't yet shared with the world (exceedingly unlikely).
gan gar




PostPosted: Sun Dec 13, 2009 1:50 am   Post subject: RE:Gx Os

he was some turing god that went to my school i do not no how he did but i would like to try.
Tony




PostPosted: Sun Dec 13, 2009 2:11 am   Post subject: RE:Gx Os

As DemonWasp points out, Turing is compiled into an application meant to run on top of an existing Operating System. To write an OS, you would need to compile down to machine code, with no reliance onto any OS libraries or APIs, which is not something that the existing Turing compiler can do.

One would then need to load the system into memory on computer startup -- http://en.wikipedia.org/wiki/Boot_sequence
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
gan gar




PostPosted: Sun Dec 13, 2009 9:03 am   Post subject: RE:Gx Os

ok then so you think a virtual os would work then were it runs off windiws or mac.
mirhagk




PostPosted: Sun Dec 13, 2009 9:30 am   Post subject: RE:Gx Os

unless you plan to put years of effort into this, and know a lot about compilers I wouldn't suggest doing this. I'm working on creating a new turing compiler right now and it's intensely hard. But if you really want your question answered the answer would be windows becuase it's easier to do machine code for (mac has a more complex system) and besides turing doesn't run on a mac.
Tony




PostPosted: Sun Dec 13, 2009 1:46 pm   Post subject: Re: RE:Gx Os

mirhagk @ Sun Dec 13, 2009 9:30 am wrote:
it's easier to do machine code for [windows] (mac has a more complex system)

How is it different, if they run on the same x86 architecture?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
apomb




PostPosted: Sun Dec 13, 2009 4:21 pm   Post subject: RE:Gx Os

I am getting alot of enjoyment reading through this thread. I especially like the "advice" given by mirhagk.

I also support Tony's post and like what it implies.

keep it up!
Zren




PostPosted: Sun Dec 13, 2009 4:30 pm   Post subject: RE:Gx Os

Are you talking about something like a parady OS?
http://www.newgrounds.com/portal/view/292756
andrew.




PostPosted: Sun Dec 13, 2009 4:33 pm   Post subject: RE:Gx Os

Okay, so bottom line:
- It's pretty much impossible to write an actual operating system in Turing. It is possible to create a launcher which has it's own GUI and looks like a desktop with Turing.
- You also cannot make a "virtual OS" which can be run in Windows or Mac because it is pretty much the same as creating a real OS unless by "virtual" you mean to create a launcher/GUI desktop thing like I said above.
- Recent Macs and "PCs" have the same x86 architecture, so they can pretty much run the same machine code.
DtY




PostPosted: Sun Dec 13, 2009 7:04 pm   Post subject: RE:Gx Os

(I don't know any assembly but) isn't assembly OS dependant? Like, on windows to print to standard out you write to some memory address, but on a *nix (like Mac OS) you open a file, and write to it (however that's done in ASM)?
So wouldn't that make assembly on Windows different than Assembly on a Mac?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 3  [ 35 Posts ]
Goto page 1, 2, 3  Next
Jump to:   


Style:  
Search: