After 2 days of messing with this... I downgraded my NASM from 2.09rc1 to 2.08... everything works on my Windows 7 machine now.
Now that sucks.
Search found 6 matches
- Mon Jun 21, 2010 7:40 pm
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
- Mon Jun 21, 2010 5:51 pm
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
Re: Virtual PC VHD Boot
Oh and the extra stuff in the registers that I loaded there seems to have no effect either way. My "D"'s print great in this program always. I actually pulled those extra high and low values off another tutorial (the same one that I was using as a reference for the cx loop). I did assembly in univer...
- Mon Jun 21, 2010 5:38 pm
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
Re: Virtual PC VHD Boot
The important thing is that verbatem copy and paste from chapter 4 doesn't work. There is another difference between these setups... the code that doesn't work (also doesn't work in Bochs now)... I am using a different version of NASM... did they change how addressing works around labels? If I chang...
- Mon Jun 21, 2010 2:58 am
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
Re: Virtual PC VHD Boot
This is what the code looks like now (its the closest I've been to working): ;********************************************* ; Boot1.asm ; - A Simple Bootloader ; ; Operating Systems Development Tutorial ;********************************************* [bits 16] ; We are still in 16 bit Real Mode [org ...
- Mon Jun 21, 2010 2:55 am
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
Re: Virtual PC VHD Boot
Update: I changed the code to print out individual characters and put in a cx loop instead. It was moving the cursor. I then added a manual write D before and after the print function. It successfully wrote D followed by the spaces followed by another D. When I look manually at the binary (and the f...
- Sun Jun 20, 2010 10:03 pm
- Forum: Beginning OS Development
- Topic: Virtual PC VHD Boot
- Replies: 6
- Views: 28791
Virtual PC VHD Boot
Hi, I was fiddling around with the bootloader and basically created a fixed drive of 10MB. I took the bootloader from Chapter 4 (the final little set of assembly that prints a message and halts). I tested it on a physical computer and with virtual floppy and it seemed to work great. I took the same ...