Don't know where else to post...

Programming, for all ages and all languages.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

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

Post 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.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

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

Post 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
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

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

Post 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 :)
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply