Alter Fat:s and directory entry

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Alter Fat:s and directory entry

Post by bubach »

Hello, am i trying to write a simple tool for kernel copying to floppy.
The thing is that i want the file to be at the very beginning of the data area, so that the bootsector don?t have to search the whole floppy.
I have tried to alter the FAT:s and directory entry to show me a "fake" (haven?t written the kernel to beginning of dataarea yet) file of 50kb in size, but Windows shows me that i have used 6kb of space and no file.

For more info/code please have a look on this thread:
http://board.flatassembler.net/viewtopic.php?t=2583

thanks in advance..

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
ASHLEY4

Re:Alter Fat:s and directory entry

Post by ASHLEY4 »

bubach do you want a program to do the thing you want or do you want to write it yourself ?.
As if i understand what you want theres a program in bootprog that does that, but its coded in pascal.

\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Alter Fat:s and directory entry

Post by bubach »

i rather code it myself.. i haven?t seen any tools in the bootprog zip.. i guess i can look again, even if i do not speak pascal..

[EDIT] thoose tools does not do the things i want.. :-(
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Post Reply