Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blog:x68_floppies [2020/08/02 19:58] – john | blog:x68_floppies [2020/08/12 20:22] (current) – john | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== X68000 - Writing 5.25" Floppies in Linux ====== | + | ====== |
+ | |||
+ | The Sharp X68000 has two 1.2MB 5.25" floppy drives (except the Compact models, which have far more common 3.5" drives... though virtually no software was released on that format!), so getting a PC with an equivalent drive is the easiest way of getting software or an OS onto them. | ||
+ | |||
+ | ==== Hardware ==== | ||
+ | |||
+ | You will of course need a 1.2MB Double-sided, | ||
+ | |||
+ | Configuring the drive may be the most difficult part of the process - 5.25" floppy drives are nothing near as standard as the 3.5" drive, and you will likely have to find the manual for your model to correctly jumper it as your drive A: or B: - remember that if you have a twisted-ribbon floppy cable, anything before the twist is drive B:, anything after (the end connector) is drive A:. //Your drive jumpers must match that//. | ||
+ | |||
+ | I'm using a **Panasonic JU-475-5 AKO**, a relatively common (and later) drive, but there are similar models from Mitsumi and TEAC. Expect to pay £60 - £100 for a working drive from Ebay. These things are getting quite scarce now. Do not buy an earlier Double-density drive! | ||
+ | |||
+ | ==== Software ==== | ||
+ | |||
+ | You need a package of tools called `fdutils` installing, this includes things like ' | ||
< | < | ||
$ apt-get install fdutils | $ apt-get install fdutils | ||
+ | The following packages will be INSTALLED: | ||
+ | | ||
+ | 0 packages upgraded, 1 newly installed, 0 reinstalled, | ||
+ | Need to get 324 kB of archives. After unpacking 0 B will be used. | ||
+ | Get: 1 http:// | ||
+ | Fetched 324 kB in 0s (2,025 kB/s) | ||
+ | Preconfiguring packages ... | ||
+ | (Reading database ... 834304 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking fdutils (5.5-20060227-7build1) over (5.5-20060227-7build1) ... | ||
+ | Setting up fdutils (5.5-20060227-7build1) ... | ||
+ | Processing triggers for man-db (2.8.3-2ubuntu0.1) ... | ||
+ | Processing triggers for install-info (6.5.0.dfsg.1-2) ... | ||
+ | Processing triggers for doc-base (0.10.8) ... | ||
+ | Processing 2 changed doc-base files... | ||
+ | Registering documents with scrollkeeper... | ||
+ | $ which setfdprm | ||
+ | / | ||
+ | $ | ||
</ | </ | ||
- | < | + | ==== Using fdutils ==== |
+ | |||
+ | To set up the drive for the Sharp X68000 track layout, you need to configure the drive. Here's a quick shell script that automates it: | ||
+ | |||
+ | < | ||
#!/bin/bash | #!/bin/bash | ||
Line 25: | Line 62: | ||
< | < | ||
- | $ setx68flop on fd1 | + | $ sudo setx68flop on fd1 |
+ | [sudo] password for user: | ||
+ | Double-sided, | ||
+ | Formatting ... done | ||
+ | Verifying ... done | ||
+ | $ | ||
+ | </ | ||
+ | |||
+ | Then write your disk image using //dd//: | ||
+ | |||
+ | < | ||
+ | $ sudo dd if=Phalanx_disk1.xdf of=/ | ||
+ | [sudo] password for user: | ||
+ | 2464+0 records in | ||
+ | 2464+0 records out | ||
+ | 1261568 bytes (1.3 MB, 1.2 MiB) copied, 81.9835 s, 15.4 kB/s | ||
+ | $ | ||
</ | </ | ||
- | Then write your disk image using dd (//dd if=image.xdf of=/ | + | Then after you are done, clear the floppy settings |
< | < | ||
- | $ setx68flop off fd1 | + | $ sudo setx68flop off fd1 |
+ | [sudo] password for user: | ||
+ | $ | ||
</ | </ |