User Tools

Site Tools


x68000:adding_an_fdx68_to_x68000

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
x68000:adding_an_fdx68_to_x68000 [2018/11/29 08:54] leonkx68000:adding_an_fdx68_to_x68000 [2018/11/29 09:21] leonk
Line 126: Line 126:
 As you can see in the picture below, there are no floppies inserted into X68000 Compact and it is booting from the FDX68. After the system has booted, one can use the //drive// command to list what floppy disk drives the X68000 has detected.  One can see that the X68000 recognized a 4 drive configuration and that we are able to access the 2 emulated floppy disk drives. As you can see in the picture below, there are no floppies inserted into X68000 Compact and it is booting from the FDX68. After the system has booted, one can use the //drive// command to list what floppy disk drives the X68000 has detected.  One can see that the X68000 recognized a 4 drive configuration and that we are able to access the 2 emulated floppy disk drives.
  
-{{:x68000:FDX68_connected_1.png?nolink&400|}} +{{:x68000:FDX68_connected_1.png?nolink&300|}} 
-{{:x68000:FDX68_connected_2.png?nolink&400|}} +{{:x68000:FDX68_connected_2.png?nolink&300|}} 
-{{:x68000:FDX68_connected_3.png?nolink&400|}}+{{:x68000:FDX68_connected_3.png?nolink&300|}} 
 + 
 +===== Swap disks using the command line ===== 
 + 
 +The floppy disk drive of the X68000 has extended specifications including a floppy auto eject mechanism. The floppy eject operation can be instructed both using the eject button on the main unit as well as on the command line. For example, the X68000 game A-JAX boots with both a program disk and data disk 1, the program disk automatically ejects after reading the data and asks the user to insert data disk 2. In this example, we will show how to change a floppy disk using the FDX68. First, lets boot A-JAX: 
 + 
 +<file> 
 +pi@raspberrypi:/fdx68 $ sudo ./fddemu -0 AJAX_P.FDX -1 AJAX_1.FDX & 
 +[1] 719 
 +pi@raspberrypi:/fdx68 $ FDX68 version 1.00, Copyright (C) 2017-2018 GIMONS 
 +Floppy disk drive emulation 
 + 
 +----+----+----+----------------------------------- 
 + ID | WP | CL | DISK IMAGE 
 +----+----+----+----------------------------------- 
 +  0 | ON | 00 | AJAX_P.FDX 
 +  1 | ON | 00 | AJAX_1.FDX 
 +----+----+---------------------------------------- 
 + 
 +pi@raspberrypi:/fdx68 $ 
 +</file> 
 + 
 +Note that "&" is appended at the end of the command line to load the FDX68 service in the background and return command line control back to the user.  Next, we check whether FDX68 is running in the background. We search for it using the ps command. 
 + 
 +<file> 
 +pi@raspberrypi:/fdx68 $ ps -ef | grep fddemu 
 +root       719   661  0 12:16 pts/0    00:00:00 sudo ./fddemu -0 AJAX_P.FDX -1 AJAX_1.FDX 
 +root       723   719  0 12:16 pts/0    00:00:00 ./fddemu -0 AJAX_P.FDX -1 AJAX_1.FDX 
 +pi         744   661  0 12:17 pts/0    00:00:00 grep --color=auto fddemu 
 +pi@raspberrypi:/fdx68 $ 
 +</file> 
 + 
 +Note that the //fddemu// daemon/service must execute as root. You can also check status and what disk is inserted into fddemu using the //fddctrl// utility: 
 + 
 +<file> 
 +pi@raspberrypi:/fdx68 $ ./fddctl -l 
 +----+----+----+----------------------------------- 
 + ID | WP | CL | DISK IMAGE 
 +----+----+----+----------------------------------- 
 +  0 | ON | 00 | AJAX_P.FDX 
 +  1 | ON | 00 | AJAX_1.FDX 
 +----+----+---------------------------------------- 
 +pi@raspberrypi:/fdx68 $ 
 +</file> 
 + 
 +You can now turn on the X68000 and try to boot AJAX. After loading the disk for a while, you will be prompted to insert another disk as shown below. At this time, the floppy disk in drive 0 is ejected. 
 + 
 +{{:x68000:FDX68_ajax_insert_disk.png?nolink&200|}} 
 + 
 +<file> 
 +pi@raspberrypi:/fdx68 $ ./fddctl -l 
 +----+----+----+----------------------------------- 
 + ID | WP | CL | DISK IMAGE 
 +----+----+----+----------------------------------- 
 +  0 | -- | 00 | EMPTY 
 +  1 | ON | 00 | AJAX_1.FDX 
 +----+----+---------------------------------------- 
 +pi@raspberrypi:/fdx68 $ 
 +</file> 
 + 
 +Next, insert A-JAX Data disk 2 using the //fddctl// utility: 
 + 
 +<file> 
 +pi@raspberrypi:/fdx68 $ ./fddctl -i 0 -c insert -f AJAX_2.FDX 
 +pi@raspberrypi:/fdx68 $ ./fddctl -l 
 +----+----+----+----------------------------------- 
 + ID | WP | CL | DISK IMAGE 
 +----+----+----+----------------------------------- 
 +  0 | ON | 00 | AJAX_2.FDX 
 +  1 | ON | 62 | AJAX_1.FDX 
 +----+----+---------------------------------------- 
 +pi@raspberrypi:/fdx68 $ 
 +</file> 
 + 
 +{{:x68000:FDX68_ajax_play.png?nolink&200|}} 
 + 
 +===== Additional information about disk image format ===== 
 + 
 +In the above examples, the floppy disk images were converted to the FDX format prior to usage. The FDX68 FDD emulator //fddemu// can start without converting the image first and supports other images formats, such as XDF or D68 (it automatically converts to FDX in memory) It is important to note that any format outside of FDX will not save back to the disk image. This is convenient for launching applications and games that do not need save feature. If you do require the ability to save back to disk, you will need to convert to FDX first. 
 + 
 +====== X68000 PRO and similar systems ====== 
 + 
 +... coming soon ...
  
x68000/adding_an_fdx68_to_x68000.txt · Last modified: 2020/06/25 12:29 by leonk