Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
97 views

While developing an ATA PIO driver, I followed these tutorials: PCI IDE Controller and ATA PIO Mode. I successfully implemented a simple, minimal driver in QEMU for i386. However, I decided to ...
mtrzc0's user avatar
  • 23
1 vote
0 answers
90 views

I am making a simple OS, and I want to read letters from disk in C kernel and display them on screen, I am using x86 SeaBIOS on Qemu emulator on M1 Mac. I save data using ata_write(1, 1, data) and ...
0 votes
1 answer
443 views

I'm writing an operating system project. I'm developing my project linux mint in c++ and a bit of assembly (and compiling it using gcc and GAS) and running it in a qemu machine (I make a .iso file out ...
1 vote
1 answer
180 views

I'm writing an operating system. I'm developing my code in linux mint and running it on a qemu virtual machine. I'm currently developing a file system and for that purpose I first need to initialize ...
1 vote
0 answers
86 views

I have problem that mkfs.fat leave FAT32 fields null with parameter -F 32. I am creating own bootloader and trying to read from EFI partition but somehow these values are at null value. Fields before ...
0 votes
1 answer
892 views

I want to retrieve S.M.A.R.T information from ATA, SAS, SATA disk on windows. I'm using Visual Studio. I have already open disk using HANDLE hDevice = CreateFile(deviceName.c_str(), 0, FILE_SHARE_READ ...
csypt's user avatar
  • 1
-1 votes
1 answer
95 views

I am trying to write a bootloader by myself, but qemu-system-i386 CPU will reset probabilistically. But bochs does not have this problem. Why? my code is mbr.s and loader.s: # cat mbr.s %include "...
0 votes
0 answers
264 views

I am not able to get this working. I got this code from here: https://wiki.osdev.org/ATA_read/write_sectors `;============================================================================= ; ATA read ...
0 votes
0 answers
83 views

I have been writing some ata stuff recently. On real hardware the ata controller uses IRQ_11. To get the driver to work I had to mask IRQ_11 because it would constantly fire after issuing the identify ...
1 vote
1 answer
79 views

I recently got interested in developing my own operating system for fun. While creating the OS and the drivers, I encountered several issues while making the ATA driver. One of the major issues is ...
1 vote
1 answer
673 views

Now I wanted to implement ATA PIO and ATA DMA (PCI bus mastering) drivers. I read the OSdev wiki pages for them and after a whole day of messing around with it I finally understood a lot about ATA ...
user avatar
0 votes
1 answer
453 views

I gets some unexpected data when I read a disk sector. I tried to read disk data without a kernel, but got strange data. I have a file fs.img and use it like qemu-system-i386 -drive file=fs.img,index=...
2 votes
1 answer
414 views

This is the function that call's insl. void ide_read_buffer(unsigned char channel, unsigned char reg, unsigned int buffer, unsigned int quads) { /* WARNING: This code contains ...
mike's user avatar
  • 110
1 vote
1 answer
611 views

I've been trying to wrap my head around the C part of the xv6 boot loader (the question is below the code) void bootmain(void) { struct elfhdr *elf; struct proghdr *ph, *eph; void (*entry)(void)...
0 votes
3 answers
771 views

When trying to extract a vendor-specific feature for one of my drives (cmd = 0x89), I get an overflow error: OverflowError: signed integer is greater than maximum. The error is thrown immediately ...
Daniel's user avatar
  • 597

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /