Yuku free message boards
Username or E-mail:
Password:
Forgot
Password?
Sign Up
Grab the Yuku app
Search:
MenuetOS
menuetos
>
64bit - MenuetOS
>
Assembler
0 Points
Search this Topic:
Add Reply
New Topic
New Poll
Forum Jump
64bit - MenuetOS
64bit - Projects
64bit - Hardware
32bit - MenuetOS
32bit - Kernel
32bit - Applications
Help
Heap
<< Previous Topic
Next Topic >>
Re: Assembler
Author
Comment
dmgaskin
#1
[-]
Posts
: 7
Jun 7 08 2:06 PM
Reply
Quote
More
My Recent Posts
First of all DOS (MS-DOS 6.22) installation.
Took a MS-DOS 6.22 floppy image (from somewhere in the web) I think is was from
http://www.bootdisk.com/bootdisk.htm
Then I mounted the image with VirtualFD as a:
copied over a dos USBD.sys (from a Windows-98 installation CD that I have
but can be found on the web at:
http://members.driverguide.com/driver/deta...?driverid=46502
Adjusted config.sys to load the USB driver
Used my CD burner software (Nero) to burn a bootable CD (from the contents of my virtual floppy).
Reformatted my 1GB USB Memory Stick in Windows XP with FAT16 16KB cluster size.
Rebooted the machine from the newly burned CD.
DOS 6.22 came up with:
a: being the CD with the dos floppy image appearing as a 1.44M floppy
c: My USB 1GB stick (chkdsk showing 1GB free).
With c: as current drive
xcopy /S a:
then with a: as current drive installed the boot sector (a couple of
system files are also copied
command.com is one and I think IBMDOS.SYS and IO.SYS are also copied).
sys c:
====== ------------------------------ This is the trick/hack -----------------
The command SYS is cleaver enough to NOT change the B(IOS ) P(arameter) B(lock) but
to replace the rest of the sector with the contents of the active boot devices boot sector
Rebooting the machine from the USB Memory stick produced the expected/required results i.e.
- The DOS OS booted
- The DOS prompt showed c:
- A dir showed almost 1GB free
- A chkdsk also showed about 1GB free space (and about 1.44Mio used) and no errors
Now MenuetOS
============
>>Did you make a FAT-32 USB, that booted to DOS and started MenuetOS from there?
NO I used mdwbeta.exe downloaded from your site and it created only a FD (1.44M)
on the USB memory stick (with the rest of the USB memory stick NOT addressable
in any environment).
Theory.
=======
The following is only theory (I have not yet had/taken the time to implement/test/verify it).
- Format a USB Memory Stick with a FAT (FAT-16 or FAT-32) file system.
- Read in the MenuetOS BOOT sector from the floppy disk image file provided.
_ Read in the 1st sector of the USB stick
- Patch the BPB in the MenuetOS boot sector with the BPB from the memory stick
(thats starting at the 4th byte with a length of 59).
- Write the MenuetOS patched boot sector to the 1st sector of the USB Memory stick
Before or after the above all the files form the MenuetOS floppy have to be
copied to the USB stick before an attempt is made to boot it.
The USB can be mounted on any OS that understands USB and FAT-16 file systems and
any additional files can be copied accross e.g. from MenuetOS applications CD.
Hope that that was of help.
Dave
(David M. Gaskin)
<< Previous Topic
Next Topic >>
Add Reply
Forum Jump
64bit - MenuetOS
64bit - Projects
64bit - Hardware
32bit - MenuetOS
32bit - Kernel
32bit - Applications
Help
Heap
Share This
Email to Friend
del.icio.us
Digg it
Facebook
Blogger
Yahoo MyWeb
menuetos
>
64bit - MenuetOS
>
Assembler
Click to subscribe by RSS
Click to receive E-mail notifications of replies