Human68k Boot Floppies With Custom Splash Screens

Writing a Human68k Tool to Generate a Bootable Floppy with Custom Splash Screen is a useful exercise in understanding how the Sharp X68000 joins firmware, disk geometry, operating-system files and graphics hardware. The finished utility can take a disk image, install the required startup files and place a custom logo or illustration in the boot sequence.

This is more than a cosmetic modification. A reliable generator should validate the target media, convert artwork into an X68000-friendly format, preserve enough room for Human68k, and report errors before a disk is written. That makes it practical for preservation work, demonstrations and personal boot disks rather than a one-off experiment.

For Australian owners, the project also solves a real supply problem. Japanese 5.25-inch media is less common than standard PC disks, local postage can cost more than the disk itself, and a Sharp machine imported into Sydney, Melbourne or Brisbane may already need careful attention to its power arrangement. A small Human68k program helps make each usable disk count.

Understanding The X68000 Boot Disk

A typical X68000 floppy uses a 5.25-inch, double-sided format with 77 tracks, eight sectors per track and 1,024 bytes per sector. That produces a nominal capacity of 1,261,568 bytes, commonly described as 1.2 MB. It is not the same as a 1.2 MB PC disk in every practical detail, so a modern USB floppy drive and ordinary PC formatting software should not be treated as automatically compatible.

The boot process depends on more than a disk label. The disk must contain the expected Human68k system files, a valid boot area and a startup path that the operating system can follow. A generator should therefore begin with a known-good disk image or a carefully defined template instead of trying to invent every boot structure from scratch.

A useful way to learn the surrounding hardware is to compare the disk project with other X68000 interface work, such as this light-pen project. Both projects reward the same habits: identify the hardware boundary, document assumptions, and make failure visible. In a boot utility, the boundaries are the floppy controller, the Human68k file system and the graphics memory rather than an external input device.

The program can be split into two modes. An image-building mode creates a bootable file on a modern computer or on the X68000 itself. A disk-writing mode sends that image to a floppy drive. Keeping these functions separate is sensible because image generation can be tested repeatedly without risking a valuable original disk.

Choosing A Human68k Development Strategy

A native Human68k tool can be written in C with the appropriate X68000 compiler and libraries, then built into an executable that runs directly on the machine. This approach gives the program access to the target’s file system, graphics hardware and floppy device, while keeping the utility useful on an original computer with no modern transfer hardware attached.

The core command might accept a template image, a bitmap file and an output image:

SPLASHGEN TEMPLATE.XDF LOGO.PCX BOOT.XDF

The exact extensions are a design choice, but descriptive parameters are better than hidden assumptions. A typical workflow is to read the template, check its size, convert the artwork, copy the boot files and write the result. The program should refuse an image with an unexpected capacity rather than silently truncating it.

Human68k’s C environment may not offer the same standard library behaviour as a contemporary desktop compiler. Avoid depending on long filenames, modern file modes or large automatic buffers. Use fixed-size buffers where appropriate, check every return value and keep diagnostic messages short enough for the native text console. A tool that runs on a stock X68000 is more valuable than one that only compiles under a heavily customised development setup.

The image-writing code deserves special care. A floppy write can fail because of a dirty head, weak media, a loose cable or a drive that is slightly out of alignment. Write operations should be performed in track-sized or sector-sized units, with a verification pass afterwards. If the hardware API does not provide a reliable direct device interface, the safer first release should generate an image file and leave physical writing to an established disk utility.

Converting Artwork For The Splash Screen

The X68000’s graphics hardware is powerful for its era, though it does not display a modern image file directly. A practical splash-screen format is a limited-palette indexed image, commonly using 16 colours for broad compatibility. The converter should reduce the source artwork to the chosen palette, map each pixel to a colour index and arrange the resulting data in the format expected by the display routine.

A simple image pipeline has four stages: decode a small source format, scale or crop it, build a palette, and pack the pixels. PCX is an attractive input choice because it is comparatively simple to decode and was common in the period. A raw indexed file is even easier for a first implementation. Avoid beginning with JPEG or PNG unless the goal is to port a substantial decompression library.

Display memory layout must be treated as a hardware detail, not an afterthought. Depending on the graphics mode, colour information may be stored across bit planes rather than as one byte per pixel. The converter can produce a packed resource while a small Human68k display program expands it into VRAM, or it can generate planar data directly. The first option is usually easier to debug.

Keep the splash screen modest. A centred logo, a short preservation note and a loading indicator are more readable than a busy full-screen image. Leave the bottom and side areas uncluttered if the startup program may need to print an error. For Australian users working with ageing CRTs, test the result on the actual display rather than relying only on an emulator; colour, overscan and brightness can vary considerably between a local second-hand monitor and an imported Japanese set.

Building The Startup Sequence

The most robust design is a small startup executable that displays the image and then returns control to the normal Human68k startup process. The program should initialise the selected graphics mode, load the splash resource, draw the palette and pixels, wait for a short interval or a key press, restore a sensible text mode and exit cleanly. It should never leave the system trapped in a graphics mode when the image file is missing.

The generator can place this executable and its resource file in a dedicated directory, then create or update the startup command that invokes it. A minimal command file might call the splash program first and continue to the user’s ordinary menu or shell afterwards. If the user has an existing AUTOEXEC.BAT, the tool should preserve it by making a backup or adding a clearly marked line instead of replacing the file without warning.

A useful error strategy is to show a fallback message in text mode when the graphic cannot be loaded. The startup program can test the resource signature, expected dimensions, palette length and file size before touching VRAM. The generator should perform the same checks while building the image, because detecting a malformed file on a desktop is much easier than diagnosing a blank screen during boot.

Documentation matters as much as the executable. Record the disk geometry, colour depth, image dimensions, compiler version and any assumptions about Human68k system files. A project journal such as the X68K.NET diary demonstrates why dated notes are valuable: future repairs often depend on knowing which changes were tested and which were merely planned.

Testing, Preservation And Everyday Use

Testing should begin with an image file, continue in an emulator and finish on physical hardware. An emulator can quickly expose a missing startup file, incorrect path or malformed resource. A real X68000 then reveals problems that software emulation may hide, including weak disks, inconsistent drive speed, monitor timing and power-supply instability.

Never make the original system disk your first test target. Keep a verified master image, a working copy and a disposable test copy. Store checksums alongside the image and label physical disks with the creation date, Human68k version, artwork revision and whether the disk was verified after writing. This is especially important when sourcing media through Australian eBay or Gumtree, where old stock may have unknown storage histories.

Australian mains power adds another preservation concern. Many Japanese X68000 models expect 100 V, while Australian household supply is nominally 230–240 V at 50 Hz. A correct step-down transformer and a healthy power supply are essential; a floppy utility cannot compensate for an unsuitable transformer or deteriorating capacitors. In humid coastal areas such as Brisbane or Sydney, store disks away from heat and moisture, and allow a cold machine to reach room temperature before use.

The comparison below helps define a sensible first version of the project:

Approach Strengths Limitations Best Use
Native Human68k image builder Runs on the original computer and understands its files directly Development tools and debugging can be harder to obtain A self-contained preservation utility
Modern desktop image builder Faster development, easier image conversion and automated testing Requires transferring the finished image to the X68000 Repeated artwork and disk-image production
Native disk writer Can write directly to a compatible floppy drive Physical media and drive condition introduce risk Final deployment after image verification
Emulator-based test workflow Quick iteration without consuming disks Cannot reproduce every drive, monitor or power fault Early validation of boot and graphics logic
Manual file copying Simple for experimentation Easy to overwrite startup files or miss boot requirements Temporary prototypes only

For wider documentation and file sharing, maintain a plain-text build record beside every image. A hosted workspace such as SharePoint document storage can be useful for keeping release notes, source archives and checksum files together, provided that the actual disk images are also backed up locally. Preservation is strongest when another enthusiast can reproduce the disk from the documented inputs.

Put The Utility To Work

Start with a conservative release: generate a bootable image from a known-good template, accept one small indexed artwork format, verify the output and support a safe preview mode. Once that works, add physical floppy writing, additional image formats and optional animated or timed screens. Each feature should retain the same principles of validation, reversibility and clear diagnostics.

A well-made Human68k boot-disk generator turns a fragile retrocomputing ritual into a repeatable process. Build it, test it on an emulator and a real X68000, document the hardware used, and share the source and verified images with the community so the machine remains practical for the next enthusiast.

Nereid-X Expansion Board

A personally-produced LAN+USB+Memory expansion board for Sharp X68000 series computers. Multiple production runs were offered, including a final batch and a later revival reproduction run.

Power Supply Repair

X68 power supply repair and modification services were offered by the site owner, with documentation shared through diary entries spanning 2001–2006.

Server & Networking

Notes on FreeBSD administration, ISP changes, server migration, and networking topics. The site itself ran on FreeBSD with the hns diary system and Namazu search integration.

A two-ink risograph print in muted slate-blue and charcoal on off-white paper, showing a stylized desktop computer monitor beside a circuit board with soft geometric trace lines, conveying a calm retro-computing workshop atmosphere. A two-ink risograph print in deep purple and dark grey on cream stock, depicting a compact expansion card with connector ports and subtle Japanese technical annotations, evoking a hobbyist electronics bench. A two-ink risograph print in teal and charcoal on warm white paper, showing a server rack silhouette with soft network-line motifs and a small weather icon, suggesting a personal server room corner.

Get in touch

X68K.NET connects Sharp X68000 enthusiasts through community links and shared projects. Reach out with questions about the Nereid project or X68 resources.