So If I make a application in ASM - Can I Run it With out a OS ??
Which assembler should I use for that ??
Tried so many
many just doesn't work :(
Printable View
So If I make a application in ASM - Can I Run it With out a OS ??
Which assembler should I use for that ??
Tried so many
many just doesn't work :(
You won't be able to run anything without an Operating System. If you mean you wish to allow the program to run on all sorts of operating systems then you need to look at using a Cross Assembler.
Not true at all :p How do you think the PC knows where to load stuff from? Magic? Boot sectors and such are written in ASM :pQuote:
Originally Posted by Hell-Lord
chem
I know what you mean but the boot sectors are used to load up the operating system majority of the time. I was referring to a basic application. If i write a calculator in ASM i would need a Operating System to run it is what i am saying. To start something up without an operating system would take a lot of knowledge ;)
Not really.. its fairly easy to have a prompt without an OS being loaded. The problem would be writing your own text-to-numberic converters.. etc. I'm sure theres libraries available for that though.
chem
Hmmm as far as i have gone with ASM is making some basic win32 applications. But it sounds interesting, i might attempt something like that next year got no time to try it now, thanks though :)
Haha.. you're brave. I had a good go of it about 7 months ago.. that computer is now gone :p I corrupted something really badly.. you probably should research the low-low-low level stuff more thoroughly than I did.. :pQuote:
Originally Posted by Hell-Lord
chem
Did you happen to keep any of your notes (if you took any) or were you just randomly experimenting?
LOL how do u think OS runs :)Quote:
Originally Posted by Hell-Lord
You won't be able to run anything without an Operating System.
Yeah can U pass it to me too :D - If U have it
my email - [email protected]
I can experiment all I want in My laptop - It's hard drive is crashed - I don't feel like getting a new HD for it
Can any one give me a Search term that I can Use :)
THx
Edit - I got Intrested in Machine Language Now :D - Hooray for Machine Language
ANy one know Machine Language here ?
EDIT --- K never mind I will just stick with ASM for now :P
Unfortunately no.. I didn't keep any of it.. I never wanted to touch that sort of stuff again :p
I'd much rather write a shell for windows now, from the ground up :D
chem
if you have programmed in assembly you know that everything you do is pushing and pulling data onto registers and calling interrupts. The interrupts are set up by the OS or running programs for the most part. There are some exceptions. The boot program on a boot sector is one.
Writing a replacement shell (replacing command.com) isn't that difficult. Replacing the command processor (io.sys, msdos.sys for example) is a little bit rougher.
oh I never know thatQuote:
the interrupts are set up by the OS
but how the hell Other simple program run with out OS - like my crappy anti virus ??
I will research on how the OS it self is running
If anybody has a good reference - feel free to post them :D
yes no OS needed. BIOS is written in ASM.
bios is direct machine code. and like i said "some" interrupts are software such as mouse support (in dos) which is 33 if i remember correctly.
That intrigues me.. what would interrupt 13 (text) be? Software? I never really looked into it..
chem
no it's actually a hardware interrupt that is installed by the video card bios.
Interesting.. cheers for clearing that up for me :D (I sat at work all day thinking of the different ways interrupt 13 could've been implemented).
chem