[syslinux] Memdisk large IMA file

Miller, Shao Shao.Miller at yrdsb.edu.on.ca
Tue May 4 14:57:31 PDT 2010


Good day again Matthew,

As per (c=80) * (h=2) * (s=48) * (sect_size=512) = 3,932,160 bytes =
7,680 sectors:

For Windows, you might enjoy:
- "DD for Windows" by John Newbigin and chrysocome[1]
- "ImDisk Virtual Disk Driver" and "Zero and Random Device Driver" by
Olof Lagerkvist[2]
- "TinyHexer" by Markus Stephany[3]
- syslinux/win32/syslinux.exe and syslinux/com32/modules/chain.c32 (this
one for chaining to DOS, should you wish to)

C:\>dd if=\\.\zero of=matthew.vfd count=7680 --progress
...
C:\>imdisk -a -t file -f matthew.vfd -x 48 -y 2 -m a: -o fd
...
C:\>format /fs:fat a:
...
C:\>syslinux.exe a:
...
C:\>copy chain.c32 a:
...
C:\>imdisk -d -m a:
...
C:\>tinyhexer matthew.vfd

- Edit the "Media Type" byte at 0x15 (22nd) to be "Floppy": 0xF0
- Edit the "Hidden Sectors" double-word at 0x1C through 0x1F (29th
through 32nd) to be zero: 0x00000000
- Edit the "Drive ID" byte at 0x24 (37th) to be "Floppy": 0x00
- Save your changes to matthew.vfd

Enjoy.  The result is attached, along with these instructions as a text
file.

- Shao Miller

[1] http://www.chrysocome.net/dd
[2] http://www.ltr-data.se/opencode.html
[3] http://www.mirkes.de/files/mpth_18.exe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: superfloppy.txt
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100504/37f2b94c/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: matthew.vf.txt
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100504/37f2b94c/attachment-0001.txt>


More information about the Syslinux mailing list