jmp x .rep 64 nop .endr x: mov $0x7c00, %esp // register esp is stack pointer hlt
Out code will go under x:
We modified the makefile to include these 3 files, (they are just dummy files at the moment, it is leading up to loading .bin files/c files/etc. I believe), it was given to us, it is correct. I cannot quite wrap my head around how to acquire the files, write them to the disk, then print them. Tips are greatly appreciated.
Also, this is the code I have to grab data (the files) from a sector,
mov $0x1f3, %dx //Grabs sector out %al, %dx shr $1, %eax inc %dx out %al, %dx
This post has been edited by Dohrann_Matt: 09 September 2011 - 12:09 PM