C $ Bootloader
C $ Bootloader
Hi Guys
I want to make a Floppy disk that at sector 0 is Bootloader and at sector 1 is a kernel in c Language.My kernel is DMIDecode.is there any way to do that.
if anyone has the Dmidecode source code in assembly please share that.
My question is that how can i make this boot disk?
Thx in advance
I want to make a Floppy disk that at sector 0 is Bootloader and at sector 1 is a kernel in c Language.My kernel is DMIDecode.is there any way to do that.
if anyone has the Dmidecode source code in assembly please share that.
My question is that how can i make this boot disk?
Thx in advance
I had an experimental OS that had the BL @ sect 0, and then the kernel at sect 1, and then the next 'file' was at sect 2 and so on.
I just ended each file with to fill up the rest of a sector, and if it went over, i just multiplied the first 512 by the sector count required.
I just ended each file with
Code: Select all
times 512-($-$$) db 0
Website: https://joscor.com
with a special tool (attachement) you can write the bootloader onte the first sector and then it loads the kernel.bin you put onto the floppy with WinExplorer. Dont Worry, You can't see bootloader in explorer.steward wrote:But what about Dmidecode?
It is in C language.
How can i put it in sector 1 and compile it?
The kernel.bin can be written in each language. Also in C.
All needed files are an attachement
- Attachments
-
- writebin.com.txt
- With this tool you can write floppys. please rename to *.com
- (1.91 KiB) Downloaded 151 times
-
- bootsec.asm
- There is a bootloader who does what i said
- (11.88 KiB) Downloaded 83 times
-
- Macros.asm
- Macrolib for the bootloader
- (712 Bytes) Downloaded 51 times
Don't think, I'm thinking you can think beacuse then u think wrong and i think u cannot think, so don't think.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
You all realize he's trying to directly boot some random utility right?
http://www.nongnu.org/dmidecode/
So funny, I shed a tear..
http://www.nongnu.org/dmidecode/
So funny, I shed a tear..
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
I honestly appreciate the fact that he at least tried to listen to what we previously said and STFW instead of hammering. I agree though that his knowledge is way below the norm and he will still get nowhere and it is indeed best if he left this place for a more newb-friendly environment for the time being.Brynet-Inc wrote:You all realize he's trying to directly boot some random utility right?
http://www.nongnu.org/dmidecode/
So funny, I shed a tear..
Yeah, he doesn't even seem to understand how to get an assembly listing from C-code, given his question... This guy is really beyond redemption...Combuster wrote:I honestly appreciate the fact that he at least tried to listen to what we previously said and STFW instead of hammering. I agree though that his knowledge is way below the norm and he will still get nowhere and it is indeed best if he left this place for a more newb-friendly environment for the time being.
JAL