Browse Search Popular Register Upload Rules User list Login:
Search:
Floppy drive tech demo

Image:
screenshot of the scene

Author: Little

Group: Default

Filesize: 55.58 kB

Date added: 2023-11-10

Rating: 5.1

Downloads: 2025

Views: 333

Comments: 2

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

This scene showcases a floppy disk drive (FDD) I made during my spare time.
It has to be either glued to the background or kept very still. Algodoo really doesn't seem to like working at human scales at 60hz.

The floppy disks this thing reads are 144 bit 3.7 inch floppies. (obviously not a real standard)
This scene comes with the floppy drive, 2 blank floppy disks, and an interface to control the floppy drive.

The drive itself is absurdly slow. I do plan on building some sort of binary-based computer (a very low-level computer though!) while incorporating floppies of some kind. However, due to the actual data density of these floppies, I might allow the sectors to contain, say, 16 bits instead of 1.
If the floppies were the same size but had 16-bit sectors instead of 1-bit sectors, they would be able to hold 2,304 bits (288 bytes, 0.288KB).

For reference, normal floppies IRL typically have 512 bytes per sector (from what a quick google search says anyway, don't quote me on this!).
If the sectors within this disk were 512 bytes, then we would have a total capacity of 73,728 bytes (73.7KB)!

The programming inside of the drive is super sloppy and someone who's experienced with Thyme would probably faint upon seeing it, but if you want to know how to use the drive, here's how:

1. The disk controller is the white box behind the RW head assembly.
2. There are several internal variables for the disk controller.
For our purposes, only 3 of these variables are useful:

_found - Current drive status.
-1 - Seeking (looking for the sector it wants to access)
0 - Idle
1 - Done (successfully read or wrote a sector)

If you want to send the drive off, you have to set _found to -1!

The second "important variable" is _data.

_data is only useful if you are reading from the drive. If you read from the drive, the result will be stored in _data (once _found is 1!)

The third and arguably most important variable is _inst.

Inst stands for Instruction.
Inst is formatted like this:

[operation, sector, data*]
*true or false value, only needs to be provided if the operation is write

Operation can either be 0 or a 1.
0 corresponds to reading, and 1 corresponds to writing.

Sector is the location of the sector you want to interact with.
It's formatted like this:

[track, tracksector]

There are 6 tracks on the disk, starting from 0 and ending with 5.
The tracksector is the sector on the track - each track has 24 sectors, starting with 0 and ending with 23.

Data is either true (1) or false (0).

2017 - 2023 Little
2022 - 2023 XCS

EDIT: I had to upload the scene again. Somehow while uploading my scene, it replaced someone else's unrelated scene.
EDIT 2: Fixed some mistakes in the description
EDIT 3: Fixed some mistakes with the interface
Last edited at 2023/11/10 01:06:45 by Little
Please log in to rate this scene
edit
Similar scenes
Title: [PCP] Kutis96 formated floppy NOW WITH LASERS ! Algodoo only!
Rating: 6.1111
Filesize: 40.04 kB
Downloads: 808
Comments: 2
Ratings: 3
Date added: 2009/09/11 17:41:16
Made with: Algodoo before v1.8.5
Rating: rated 6.1
download
Title: [PCP] Computer V.3.02 with Floppy reader by Xplane80 and Otacon140.96
Rating: 6.1111
Filesize: 129.36 kB
Downloads: 1248
Comments: 7
Ratings: 3
Date added: 2009/04/24 21:27:25
Made with: Phun
Rating: rated 6.1
download
Title: WOT Display Tech Demo 2
Rating: 8.2308
Filesize: 161.73 kB
Downloads: 4042
Comments: 12
Ratings: 14
Date added: 2015/12/14 00:02:53
Made with: Algodoo v2.1.0
Rating: rated 8.2
download
Title: Magic scale down
Rating: 5.625
Filesize: 67.67 kB
Downloads: 2022
Comments: 12
Ratings: 2
Date added: 2014/02/26 21:29:49
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Mouse Follow Tech Demo
Rating: 5
Filesize: 14.3 kB
Downloads: 729
Comments: 3
Ratings: 1
Date added: 2013/11/16 04:03:58
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algodoo flight sim (Tech Demo)
Rating: 5
Filesize: 0.91 MB
Downloads: 560
Comments: 2
Ratings: 1
Date added: 2014/11/29 11:56:48
Made with: Algodoo v2.1.0
Rating: rated 5
download
very very very cool
nice