Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Embedded Systems

Virtualization and Pixelation


The Big Picture

Because QEMU emulates disk drives using disk files, the end result of all this fiddling will be images that we can copy directly to the DPF's IDE drive or Compact Flash card. The starting point will be zero-filled files into which we'll install all the software.

The FreeDOS and Slackware installation programs run exactly as they do on real hardware, while their virtual (or emulated, as you wish) environment provides much better control over what goes on. That turns out to be crucial due to the hardware's lack of creature comforts.

It turns out that much of what we'll do consists of installing a few programs, tweaking the system's startup scripts, and writing a few bash routines. We'll compile a new kernel to see what that's like and get some idea of what virtualization does to compute-bound performance. We'll also get a detailed view of how Linux progresses from a power-on reset to running a user program, which is less mysterious than you might imagine.

And, I suspect, we'll all learn something new!

Last Tab

Remember that you can go a long way in this project with no hardware at all, which is the whole point of virtualization. In fact, you might want to wait until everybody else stops bidding up 560Zs on eBay, then pick up the cheap leftovers.

You can trick out a laptop-based DPF with an infinitude of configuration options, plug in some wireless networking, do administration with a web browser, and so forth and so on. Remember your user community, though: A USB stick may be the simplest and easiest interface of all.

Chris Buccella presented his 560Z-based DPF at the MHVLUG last year, which prompted me to get off the dime. His blow-by-blow description appears at the virtig01.net URL in the "Resources." I hammered out this project without his code, so all the blunders are my very own.

Resources

Old-school photography: en.wikipedia.org/wiki/Silver_halide.

BSOD Primer: en.wikipedia.org/wiki/Blue_Screen_of_Death.

Techbargains for new tech goodies: techbargains.com.

eBay for old tech goodies: www.ebay.com.

Syslinux and PXELinux booting: syslinux.zytor.com/index.php.

Linux net install: marc.herbert.free.fr/linux/win2linstall.html.

Getting cross-development right: www.kegel.com/crosstool.

Virtual Machine comparison: en.wikipedia.org/wiki/Comparison_of_virtual_machines.

QEMU home: www.qemu.com.

Linux on Laptops info: www.linux-laptop.net.

ThinkPad info: www.thinkwiki.org.

ThinkPad tpctl Linux tools: tpctl.sourceforge.net.

ThinkPad DOS configuration: www-307.ibm.com/pc/support/site.wss/RMIE-3AXE3E.html.

FreeDOS project: www.freedos.org.

Slackware Linux Project: www.slackware.com.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.