Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-18-2002, 09:19 PM   #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
erucader is offline   Reply With Quote
Old 05-27-2002, 10:07 PM   #2
Member (8 bit)
 
Insanepyro69's Avatar
 
Join Date: Dec 2001
Posts: 238
I also would like to know this.
Insanepyro69 is offline   Reply With Quote
Old 05-28-2002, 04:05 AM   #3
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
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
RJ is offline   Reply With Quote
Old 05-28-2002, 07:46 PM   #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?
erucader is offline   Reply With Quote
Old 05-28-2002, 07:59 PM   #5
Member (13 bit)
 
DrZaius's Avatar
 
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.
DrZaius is offline   Reply With Quote
Old 05-28-2002, 08:01 PM   #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.
erucader is offline   Reply With Quote
Old 05-28-2002, 08:09 PM   #7
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 05-28-2002, 11:33 PM   #8
Member (6 bit)
 
Join Date: Mar 2002
Location: Chicago, Illinois USA
Posts: 46
Send a message via ICQ to Sunday Silence Send a message via AIM to Sunday Silence Send a message via Yahoo to Sunday Silence
he he what IT careers would need to know asm? Something tells me I need to avoid them.
Sunday Silence is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -5. The time now is 12:19 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1