flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > IO port reservation problem.

Author
Thread Post new topic Reply to topic
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 17 May 2004, 14:39
I was able to enable hardware interrupt 6 Smile in MeOS, but now I have a question about IO ports.

When I tried to reserve IO ports 3f0h - 3f7h I received an error, so I decided to look at the kernel code. The OS reserves IO ports 3f0h - 3ffh for the com1 mouse, but the standard IO port assignment for the floppy controller is supposed to be 3f0h - 3f7h.

Is there a reason for this and how can I change this assignment "safely"?

Thanks.
Post 17 May 2004, 14:39
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 303
Ville 17 May 2004, 14:51
c#6 wrote:
I was able to enable hardware interrupt 6 Smile in MeOS, but now I have a question about IO ports.

When I tried to reserve IO ports 3f0h - 3f7h I received an error, so I decided to look at the kernel code. The OS reserves IO ports 3f0h - 3ffh for the com1 mouse, but the standard IO port assignment for the floppy controller is supposed to be 3f0h - 3f7h.

Is there a reason for this and how can I change this assignment "safely"?

Thanks.


There seems to be a few extra ports reserved. You can just adjust the lower limit from 0x3f0 to 0x3f8.
By the way, Tolle has written a 32 bit mode floppy driver for pre 2.8
Post 17 May 2004, 14:51
View user's profile Send private message Reply with quote
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 17 May 2004, 16:39
That's cool. I'll try it out and if it works I will concentrate my efforts on a universal (maybe) remote control software for MOS. Smile
Post 17 May 2004, 16:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.