Can I write an OS in machine code? [closed] - operating-system

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can I write an operating system using machine language directly?
Please give me a general idea or sources as to how to do it.

First, study the x86 or ARM instruction sets. Then, study up on operating systems. You'll see why it's not a great idea: it's like filling a sandbox one grain at a time with tweezers.

Yes, all you need is a lot of patience, sanity, and a binary editor.
After awhile you will realize why assemblers were created, which is the lowest level I would generally bother going to.

** yes you can but this is very diffecult for any one
and if you do this what make programmers and all design programming lanaguages to make things
easily comparing by machine code
and this is project as you ask
it's an OS written in machine code it's still under developing
http://www.magicschoolbook.com/computing/os-project
note : your name is like my name iam glad to answer you
best wishes**

Related

How do I encode my VBScript files into .vbe files? [duplicate]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to encode vb script so that others cant see the code inside
Look at
http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar06/hey0309.mspx
The other posters have (sensibly) pointed you in the direction of the Microsoft Script Encoder, but just in case you were feeling a false sense of security, you need to understand that it is fairly trivial to unencode your scipts as well:
http://www.aspheute.com/english/20011123.asp
http://www.greymagic.com/security/tools/decoder/
Clearly, encoder with scare away a casual browser. If you have something that you really need to hide, you need to take other measures, for example, wrapping your code in an ActiveX DLL (but even these can be disassembled).
Probably overkill, but worth a mention.
Microsoft Script Encoder
Many of the popular scripting ISE's include a way to compile scripts so that the code is encrypted, but it also helps by packing the engine with the code which helps if you run it on a system that doesn't have the same version, or possibly doesn't have the same script engine. I would recommend something like AdminScriptEditor or PrimalScript

Writing an operating system for arm architecture [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How do I get started writing an operating system that runs on the arm architecture? I want to write a bootloader if possible and my own kernel. Can anyone help me get started?
I'd start by familiarising yourself with what is already out there - Linux is a good start. Look at the bootloaders used in the distributions on the rPi - what is used in Debian Squeeze for example, uBoot and BareBox. Another option is CFE - which is under BSD license and good during debugging/early development.
Another thing is to look at the ucLinux and ucLibC systems, along with buildroot and OpenWRT - all designed to squeeze it onto a small system.
Of course - building your own kernel - you are going to want to go far deeper - and spend time understanding MMU's, process management/multitasking, interrupts and so on. A good background in programming microcontrollers, a knowledge of assembler language and CPU/SOC architecture would be essential. With the ARM family - you'll want to know the various instruction sets supported, and which chips have features like MMU's, FPU's and similar.
Good luck - it sounds like an interesting project.

A client has just dropped like 20,000 lines of ObjC (iPhone) source code on me, the previous coder has split, where to start? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
20,000 lines of spaghetti code (iPhone ObjC) was just dropped in my lap. QUESTION: where to begin, is there a tool to just profile it all? It's a mess, not even sure where to start. Suggestions welcome.
What you're looking for is something called Unified Markup Language (UML). This is a critically overlooked part of the development process and is used to layout "class names, methods, links, etc".
Luckily for you, your problem has been faced by many a programmer in the past and there are a few different Magic Bullet solutions available. Since I've never worked backwards from code to UML (normally you build the UML first) I had to do a quick search to find some solutions:
This one looks promising: doxygen
or this one: AutoGraf
And I'm sure with a few minutes on Google you can find everything you need if these don't work out for you; now that you're aware of UML.

How can I use Eclipse in a more efficient way [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I've been using Eclipse for C++ and Java for a couple of years.
I have a feeling that I'm not taking full advantage of its capabilities. I see things on the menu like "Refactor" and "Navigate" which I don't have any idea what they are or how could they be used and I really want to use it more efficiently. I need a linear easy-to-understand guide on how to use it in plain english. Does anyone have any recommendations?
Welcoming you to the world of eclipse.
Please take a look at the following similar question which has had some interesting answers.
Eclipse guide for beginners
My recommendation would be to check out the official help system, if you haven't done that already. You'll find the information you're looking for there.
The "Workbench User Guide" in there might interest you the most, as well as "Java development user guide" and "C/C++ Development User Guide". You can also use the systems built-in search capabilities to search for any particular topic that interests you.

To encode vb script [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to encode vb script so that others cant see the code inside
Look at
http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar06/hey0309.mspx
The other posters have (sensibly) pointed you in the direction of the Microsoft Script Encoder, but just in case you were feeling a false sense of security, you need to understand that it is fairly trivial to unencode your scipts as well:
http://www.aspheute.com/english/20011123.asp
http://www.greymagic.com/security/tools/decoder/
Clearly, encoder with scare away a casual browser. If you have something that you really need to hide, you need to take other measures, for example, wrapping your code in an ActiveX DLL (but even these can be disassembled).
Probably overkill, but worth a mention.
Microsoft Script Encoder
Many of the popular scripting ISE's include a way to compile scripts so that the code is encrypted, but it also helps by packing the engine with the code which helps if you run it on a system that doesn't have the same version, or possibly doesn't have the same script engine. I would recommend something like AdminScriptEditor or PrimalScript