flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Can you play with this ;)

Author
Thread Post new topic Reply to topic
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 11 Aug 2005, 02:08
look how files included into image Wink

enjoy!

==========================================
well, it seems as it works Wink
-------------------------------------------------------------------
so, here is a macro with sample project, where floppy image
created while compilation, including existing files and generating
fat12. fs a little simplified (no data/time/attributes etc.),
no subdirectories will be created.
but if you find it usable - you can modify it by yourself -
it was just a play to me - i do not plan develop new os soon Wink
------------------------------------------------------------------
this could be usefull to create bootable images without additional
tool and run them under emulator.
=========================================

enjoy!

ps. do not ask me how it calculates fat position - i also do not know Very Happy


Description:
Download
Filename: boot_fat.8.zip
Filesize: 4.95 KB
Downloaded: 615 Time(s)


_________________
UNICODE forever!


Last edited by shoorick on 13 Aug 2005, 23:10; edited 3 times in total
Post 11 Aug 2005, 02:08
View user's profile Send private message Visit poster's website Reply with quote
DataHunter2009



Joined: 10 Jun 2005
Posts: 144
DataHunter2009 11 Aug 2005, 02:22
Um... what exactly does this do?
Post 11 Aug 2005, 02:22
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 11 Aug 2005, 05:14
khe-khe...
it creates ready bootable (or not bootable - as your wish) disk image with including there files and generating fat exactly while compilation: figure if test1.txt is in real kernel.sys. but appeared it calculates offsets wrong (only first right) - i'm not free with macro usage yet, so, when i have a moment i'll try to finish it. of course there are (and will be) some limitations: no subdirs and aligning of files - 2 sectors (not 1) - more easy for generating fat.

regards!
Post 11 Aug 2005, 05:14
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 11 Aug 2005, 08:19
updated! enjoy Wink
Post 11 Aug 2005, 08:19
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 13 Aug 2005, 23:10
finally it started be readable by emulator in real Smile new upside Wink
Post 13 Aug 2005, 23:10
View user's profile Send private message Visit poster's website Reply with quote
ATV



Joined: 31 Aug 2004
Posts: 109
Location: Finland
ATV 21 Aug 2005, 06:45
You can calculate cluster count with:

_count = ((_lbl#_size + 511) shr 9)
Post 21 Aug 2005, 06:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.