Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by phipple

  1. phipple

    Why won't this bootsector code work?

    Thanks Tessa, but unfortunately neither of these code samples worked for me. I'm not sure why. I am using NASM, so I had to change the syntax for 1 line in each of the samples: 4: mov al, cs:[bp+message] -> mov al, [bp+cs:message] and 4: lodsb cs:[si] -> cs lodsb But I don't...
  2. phipple

    Why won't this bootsector code work?

    Thanks Salem - the link was awesome, just what I needed. I tried setting SS and SP but it didn't seem to help. I DID however come up with a bit of a hack that seems to work. It's not ideal, but at least I think I understand what's going on, which is the important bit (to me, anyway :) ) As it...
  3. phipple

    Why won't this bootsector code work?

    Hi I am pretty new to assembly. I am trying to write some real mode bootsector code. I am using NASM. I seem to be having trouble understanding how NASM or x86 real mode handle segments and offsets. Or something. In any case, something is going wrong somewhere and I don't understand why. For...

Part and Inventory Search

Back
Top