Page 2 of 2

Re: Don't know where else to post...

Posted: Fri Apr 10, 2009 9:59 am
by Troy Martin
[quote="likeagunfire"I need to "understand" what the assembler really does, not how to use CPU instructions and commands. I need a quick step for assembler.[/quote]
An assembler takes your statements and directly converts it into your machine code. Get a free asm book, and check out the tutorial I linked to in a previous post in this thread.
How to write/change boot sector to USB key (from Windows)?
Search the forums, probably even the wiki.

Re: Don't know where else to post...

Posted: Fri Apr 10, 2009 3:11 pm
by Dex
likeagunfire wrote:
earlz wrote:In the early stages of your OS it won't matter as long as you choose a USB supporting bootloader. After that though, you may wish to use floppies for data and your thumbdrive for booting until you can get your head around the overly complex PCI->EHCI/UHCI/OHCI->USB bit..
How to write/change boot sector to USB key (from Windows)?
Some simple ways to get started is you could format the floppy and add dos files, then use dos to load your OS, untill you write your own bootloader or you could use DexOS bootloader and usb program, than assemble your OS as a mz exe, call it "kernel32.exe" place it on the usb (like any other file, from windows), and then it will boot.
Things to note is you will need to delete the DexOS files, replacing DexOS kernel32.exe, with your own file and find out if your bios usb boots as floppy emulation or hdd emulation.
More info here: http://dex4u.com/USBboot.htm

Re: Don't know where else to post...

Posted: Sat Apr 11, 2009 9:32 am
by Love4Boobies
likeagunfire wrote:
Love4Boobies wrote:I learnt assembly wirting .com files in the ol' DOS days myself, but I doubt that's the best way. If you're into the x86 architecture, I'd say the Intel manuals (specifically, volumes 1 and 2) are just what you need - they don't bore you with stories and historical notes, they just stick to the facts. If you're into some other architecture, just look for the official manuals describing it. There's no better way to find *complete* information.
I need to "understand" what the assembler really does, not how to use CPU instructions and commands. I need a quick step for assembler.
And that's only one of the this that the Intel manuals will surely show you :)