OSDev Series Chapter 20 Updated

News discussions

Moderator: Moderators

Post Reply
User avatar
Mike
Site Admin
Posts: 465
Joined: Sat Oct 20, 2007 7:58 pm
Contact:

OSDev Series Chapter 20 Updated

Post by Mike » Mon Jul 20, 2009 3:01 am

Chapter 20 of the series has been updated with more content along with a demo. The demo builds on chapter 19's demo with a TUI and a new command for reading any sector from a floppy disk. Feel free to check it out in the resources section of the site. Comments and suggestions are always welcome.

Insightsoft
Posts: 63
Joined: Wed Jul 22, 2009 6:44 am

Re: OSDev Series Chapter 20 Updated

Post by Insightsoft » Thu Jul 23, 2009 4:12 pm

Nice...
Im learning a lot...
you are my hero...
_____________
Think it, build it, bit by bit...

User avatar
djsilence
Posts: 30
Joined: Sun Feb 15, 2009 8:49 pm
Location: Kyiv, Ukraine
Contact:

Re: OSDev Series Chapter 20 Updated

Post by djsilence » Sun Aug 02, 2009 1:23 pm

Hey, Mike, I've got a problem with your tutorial of chapter 20. You wrote that it is a well-known bug in VPC, but I use VMWare and when I test your demo I get such values of my zero sector: 0, 0, 0, 0xFE, 0x9, 0...

Same I get if I try to read sector 1, 2, etc. And any time displayed content of sector is the same. When I try to read not 0 drive but 1 drive I get the same. One time per hundred times I get right reading of sector. Else very often I get such error as Error reading disk...

When sector is read well - I cannot repeat reading. I mean if sector is read successfully, then I try to read some sector else - I get nothing... Just displayed message reading sector...

Chears, Daniel.
Thinking of great - thinking of little, thinking of little - thinking of great.

User avatar
Mike
Site Admin
Posts: 465
Joined: Sat Oct 20, 2007 7:58 pm
Contact:

Re: OSDev Series Chapter 20 Updated

Post by Mike » Tue Aug 04, 2009 11:10 pm

Hello,

Thanks for letting me know :D I will be doing a little more testing with it, I know there is an incompatibility with VPC currently which might be related to the problem that you described in your post.

I will post back here if anything is found. :D
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

ehenkes
Posts: 34
Joined: Fri Jul 24, 2009 5:35 pm

Re: OSDev Series Chapter 20 Updated

Post by ehenkes » Fri Aug 14, 2009 7:57 pm

What is the sense of this line?

Code: Select all

flpydsk_send_command( ( ( sector + 1 ) >= FLPY_SECTORS_PER_TRACK ) ? FLPY_SECTORS_PER_TRACK : sector + 1 );
:o

Why not

Code: Select all

flpydsk_send_command( 18 );

BlastOS
Posts: 5
Joined: Mon Sep 21, 2009 5:15 pm

Re: OSDev Series Chapter 20 Updated

Post by BlastOS » Sat Sep 26, 2009 10:52 am

Hi there,

reading the chapter 20, I saw a mistake.
It's not very important but I post here for the accuracy of the tutorial.
In the description of the floppy drive cable you write that it's 40pins but that's wrong, fdd has less pins,34 pins...

Here is a link sowing the pinouts:
http://pinouts.ru/Storage/InternalDisk_pinout.shtml

Hope it helps :D

chibicitiberiu
Posts: 22
Joined: Sat Jul 17, 2010 7:55 am

Re: OSDev Series Chapter 20 Updated

Post by chibicitiberiu » Sat Jul 17, 2010 8:03 am

Nice tutorial, great work. However, you should start supporting other types of floppies (3.5", 5.25", and all sorts), also having a way to detect them (most likely the CMOS, and by the way, it could be useful to implement the Real Time Clock as well).

And another note, writing, and formatting the floppies should also be implemented...
Other than that, nice work :) thanks a lot.

Jarvix
Posts: 21
Joined: Mon Apr 06, 2009 6:08 am

Re: OSDev Series Chapter 20 Updated

Post by Jarvix » Sat Aug 07, 2010 11:12 am

You can do that yourself ;) Internet has all you need :D

wiki.osdev.org/CMOS
wiki.osdev.org/Floppy
etc

// Jarvix
Jinix. Kernel programming is a black art that should be avoided if at all possible.

Post Reply