|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 637
|
kernel programming
there are so many programming languages for windows and stuff, but here is my question: what is the actual os written with? once the computer boots, how does it understand the kernel code? also, how can you boot to a formatted drive? what tells it to display the C:\> ??
__________________
Dell XPS M1530 ![]() Xbox 360 |
|
|
|
|
|
#2 |
|
Member (8 bit)
Join Date: Dec 2001
Posts: 238
|
I also would like to know this.
|
|
|
|
|
|
#3 |
|
Member (14 bit)
|
It's the BIOS that loads the operating system. No matter which language you use for programming, at the end you get assembly code. And this will be loaded by the BIOS when you start the PC.
Windows is written in C++ and assembly language. RJ |
|
|
|
|
|
#4 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 637
|
i see, but what is the assmbly language? so the c:\> prompt is part of the bios?
|
|
|
|
|
|
#5 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
erucader,
Assembly (ASM) is the language, that's what it's called. It's based on a set of basic instructions that control the processor. And the C:\> prompt is part of DOS. If you completely wipe your drive and boot it will give you an error, not the prompt. |
|
|
|
|
|
#6 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 637
|
what is on a brand new drive then? i have never installed a fresh one before.
|
|
|
|
|
|
#7 |
|
Professional gadfly
|
Assembly language is about as close to the ones and zeros of computer speak that you can get. Here's a sample:
mov ax,1234 mov bl,al mov bh,ah add bx,03C6 Most people say "Huh?" to that. It is pretty obtuse, but with assembly language you are directly manipulating bits and registers on the processor. The C:\> prompt you see is from DOS and the command interpreter, COMMAND.COM. When the computer starts, the BIOS gets thing moving, sees what peripherals and components are attached to the system, but can't really do much more. It thus has to look for an operating system to boot from, on either a floppy, a CD-ROM, or the HD. That is why, if you leave a floppy in the drive when you reboot, you will get the "Non-system disk" error, and the boot will stop. That's as far as the BIOS can get you. |
|
|
|
|
|
#8 |
|
Member (6 bit)
|
he he what IT careers would need to know asm? Something tells me I need to avoid them.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|