Questions tagged [floppy]

Shortened from Floppy Disk(FD) or Floppy Disk Drive(FDD). Mainly referring to FDD - a device for reading and writing data to a floppy disk.

A Floppy Disk (FD) is a magnetic storage medium device used with a Floppy Disk Drive (FDD). Floppy technology was common between the 1970's and the 2000's. Floppies have been made in several sizes, notably 8-inch, 5.25 inch, and 3.5 inch.

Tag Usage

This tag should be used for questions about programming floppy drivers, accessing floppy data programmatically, emulating floppy technology with software, and anything else that is on-topic for Stack Overflow and relates to floppy disks, floppy drives, or floppy technology in general. For questions about installing, configuring, troubleshooting, or upgrading floppy technologies (for example, "How do I install an X size floppy drive in my Y computer?"), consider posting your question on Super User or Retrocomputing.SE. For questions about recovering data from old floppy disks, consider posting on Super User, Retrocomputing.SE, or Information Security.SE.

Resources

List of Floppy Disk Formats

70 questions
3
votes
2 answers

Explanation of assembly code

I have started to learn assembly. I came across these lines. ;*************************************************; ; OEM Parameter block / BIOS Parameter Block ;*************************************************; TIMES 0Bh-$+start DB…
narayanpatra
  • 5,627
  • 13
  • 51
  • 60
3
votes
1 answer

Floppy Read (AH=0x2, int 0x13) doesn't complete

In the second stage of my bootloader I'm trying to load some sectors off a virtual floppy disk into memory in bochs, but upon invoking int 0x13, the routine just does not return. I believe the relevant code from my second stage is: bootsys_start: …
cadaniluk
  • 15,027
  • 2
  • 39
  • 67
3
votes
1 answer

Using both multiboot and floppy with QEMU

I am trying to develop an operating system. I have finished the Barebones tutorial from OSDev but still have some issues with multiboot. As I understand, when I create a multiboot image following the tutorial, I have an ELF format binary file. This…
Çağrı Uslu
  • 77
  • 1
  • 6
3
votes
2 answers

Make bootable flash drive of custom version of mikeOS

Using Hyper-V, I am running a Windows XP machine and I have a virtual floppy drive mounted too, where, using the following code, I am writing the bootloader.bin into the virtual floppy drive. >debug -n bootloader.bin -l 0 -w 0 0 0 1 -quit This is…
Rangan Das
  • 323
  • 2
  • 11
3
votes
1 answer

Direct control of Floppy drive

I'm trying to extract data from 3.5" floppy disks formatted on a +D interface for a ZX spectrum. It's close but not exactly the same as for a PC. I've written software to do this in the past useing the BIOS to access a floppy. However some disks are…
3
votes
2 answers

Calculating size of a theoretical text file

I'm writing an article about the Census Bureau's population projections through 2060, which consists of a 3.3 MB .csv file when uncompressed. The file consists of 539,781 values, each of which is 5-7 digits, and takes up 3,455,372 characters. When I…
Chris Wilson
  • 6,599
  • 8
  • 35
  • 71
3
votes
2 answers

Correctly compiling and linking multiple asm files into a .vfd - for Oracle VM?

Lately I've been wanting to get into assembly coding, just to have some experience under my belt. I decided to look into it and was getting some good results(though its simple asm), however everything is still blurry, and I would much appreciate…
g-radam
  • 527
  • 1
  • 7
  • 20
3
votes
2 answers

Virtual Floppy drive in Linux

I was playing around with an OS-development tutorial here. However, as it is based on Windows as the development platform, I was wondering if there is an equivalent software (or some way) to have a virtual floppy drive.
Ankit
  • 6,772
  • 11
  • 48
  • 84
2
votes
1 answer

How to fix 'LOCK prefix unallowed (op1=0x53, attr=0x0, mod=0x0, nnn=0)'?

My simple code: [ORG 0x7C00] MOV AH,0x02 ;Using the function of reading floppy MOV AL,0x01 ;The number of sectors to be read is 1. MOV CH,0x00 ;Only read 0 track MOV CL,0x03 ;Only read the third…
sam
  • 2,049
  • 3
  • 20
  • 27
2
votes
2 answers

FAT12 file starts at 0x4200 or 0x4400?

Following link http://www.c-jump.com/CIS24/Slides/FAT/lecture.html say Fat12 file starts at 0x4200, but when I use hexeditor watch the floppy image created by following commands, file seems start at 0x4400, and bootloader assembly code used jmp…
lewis
  • 51
  • 3
2
votes
1 answer

How to make a bootable floppy disc image?

Let's say I have built an assembly program (a basic print), so I have got a .BIN file. Now I want to make it a bootable floppy disc image (a virtual one), so that when I start an OS (in the vm), it will first execute the assembly instructions from…
Radu Aramă
  • 195
  • 1
  • 1
  • 10
2
votes
1 answer

OS Development. Creating bootable iso from files.

I'm studying OS development and I use brokenthorn resource but with a little bit different tool, namely, I use CentOS, NASM and Qemu as a test/dev environment. I've been facing some issues while creating bootable img file with secondary loader.…
2
votes
0 answers

Disable Caching When Reading from Floppy

TLDR: If you're polling for a floppy on MacOS, use rdisk and cleanup all handles on that file! Good Evening! I'd like to use some old floppy diskettes as ID cards, so I need to know when one is inserted into my USB reader. The reader, made by…
2
votes
1 answer

BIOS int 13h can't read past the first track

I am trying to load sector number from [head = 0, cylinder(track) = 1, sector = 1] from floppy using BIOS interrupt 13h, from my FAT12 bootloader. I use the subroutine read_sectors to read the sector and load it at es:bx. This code works well with…
ptia
  • 141
  • 2
  • 3
  • 14
2
votes
2 answers

i386 Real mode - loading from floppy

I am approaching to x86 real mode coding, and I have found some example code here: http://www.nondot.org/sabre/os/files/Booting/nasmBoot.txt The third example in that article loads a few sector of the floppy in the memory using the BIOS calls in…
mghis
  • 517
  • 1
  • 5
  • 14