flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > More space for Flash drive booting???

Author
Thread Post new topic Reply to topic
sam-b-6



Joined: 19 Sep 2007
Posts: 7
sam-b-6 20 Dec 2007, 02:06
I recently got a motherboard that alows me to boot a usb drive emulated as a floppy and i ran into a problem where i dont have much space to do much when i wrote the floppy image to the flash it made my space go down to 1.09MB with only 300Kb left to do anything......

Is it possible in any way to access the other part of the flash drive and use it for space for the OS???

Thanks in Advance
Post 20 Dec 2007, 02:06
View user's profile Send private message Reply with quote
Tolle



Joined: 21 Jan 2004
Posts: 71
Tolle 20 Dec 2007, 09:37
No, MenuetOS has no USB stack and can't access any USB device directly.
USB keyboards and mice work because they appear to Menuet as PS/2 devices.
Booting from USB works because the BIOS "translates" the calls to the floppy device controller.(all the USB stuff is handled by the BIOS)

When MenuetOS enters 32bit (or 64bit) mode, the 16bit BIOS dies and can no longer "translate" our calls. (Menuet needs to talk to the hardware directly when it's running)
Post 20 Dec 2007, 09:37
View user's profile Send private message Visit poster's website Reply with quote
sam-b-6



Joined: 19 Sep 2007
Posts: 7
sam-b-6 20 Dec 2007, 19:43
What if you rewrote the bootsector and most of MenuetOS so that it is not emulated by the bios but acted as if a regular OS with a regular boot sector would this give back the space.

THX
Post 20 Dec 2007, 19:43
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 308
Ville 21 Dec 2007, 17:31
Menuet HD installer will be done before 1.0. But you can already do it by yourself with the bootsector I pointed for you. Although this requires a bit of tweaking.
Post 21 Dec 2007, 17:31
View user's profile Send private message Reply with quote
JMD



Joined: 24 Sep 2003
Posts: 32
JMD 02 Jan 2008, 21:23
Hi Sam,

you can try the test boot sector here... http://board.flatassembler.net/topic.php?p=51973#51973 ... if it works for you it should allow you to retain all that lost space. the only downside to it is once your booted into menuet you no longer have the abilty to read or write to the usb flash disk until a usb stack is written for menuet. ohh btw there is no such thing as a "regular boot sector" for usb devices.

On the other hand, with the motherboard i have that supports floppy emulation, if i am able to live with the limited space, the bios typically remaps the floppy drive to the usb device which allows me to read and write to the usb device within menuet as if it was the floppy disk becuase it seems menuet uses bios calls for floppy drive interaction (this is good for writing code from within menuet), but unfortunetly menuet seems to use i/o ports for ide interaction and therefore usb emulation as harddrive or CD-rom will not allow reads and writes from within menuet unless perhaps someone writes a temporary interrupt for reading and writing to ide devices through the bios just to make this possible.

Ohh yea one more thing, menuet is more of a hobby to most so demanding such features probably wont get you to far. What we need is people who see a problem and find a means to correct it and share it with everyone else and let others build upon the ideas and examples.

JMD
Post 02 Jan 2008, 21:23
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 can attach files in this forum
You can download files in this forum


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

Website powered by rwasa.