need some help with my screen of death
If Qemu wouldn't run it, I just wonder if there is something more fundamental that is wrong. Does it crash, won't it read your disk image, what's the machine state when it crashes etc...?
Also, could it be that your registers contain the correct values but they aren't being interpreted correctly by printf?
Starting to clutch at straws here a bit...
Also, could it be that your registers contain the correct values but they aren't being interpreted correctly by printf?
Starting to clutch at straws here a bit...
-
- Member
- Posts: 38
- Joined: Sat Jun 03, 2006 11:00 pm
If it's a floppy disk image, use -fda floppy.img -boot aboot from hard disk 0 failed
FATAL: not a bootable disk
Anyway, that looks like the printf I based mine on, which I know to work fine. I don't see any obvious problems with the other code either.
(Just out of curiosity, why is printf not defined in printf.h, and why do you have code in header files anyway?
1. because i don't want kernel files in include fileswhy is printf not defined in printf.h, and why do you have code in header files anyway?
2. because i like my code neat
here's my linker script
- Attachments
-
- linker.ld
- (288 Bytes) Downloaded 21 times