I don't know if this was necessary, anyway thanks for the advices... It's been a month already since I read multiple tutorials, source codes and documentation for this project, although this bootloader stuff seemed more straightforward...Schol-R-LEA wrote:
Thanks for the example of Partition Table and indeed, it prints "Hello world!" ! This, indeed, helps a lotMichaelPetch wrote:
The upload command :
FASM.EXE osdev_test.asm ath_os.bin && dd if=ath_os.bin od=\\.\g: bs=512 count=2 (count unnecessary)
This makes me conclude :
- Without using "od" with the dd program on windows, the actual medium where my bootloader was written was a partition.
- When writing correctly using "od", my laptop requires a partition table to allow proper code execution in sector 1.
When I saw this example of partition table on other forums I thought this was an invalid, to-modify one. Apparently it is a wrong thought !
Thanks a lot, Now this problem seem solved because even if an "X" is not printed, a "J" poped on the screen with my new bootloader xD
I think I can work this out, Now that there are no longer null bytes in the buffer for sector 2.
Huge thanks to this community for helping me intensely !
I'll post a final answer with the complete code printing "X" to the screen, once it will work