Especially - is there a disk/drive present?
Dave
Sure you can address the port directly, like any other I/O.
A few years back I found two sources for bit-setting info,
but the only one I can recall right now is ATHELP.ZIP.
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <913802500.27163.0...@news.demon.co.uk>,
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
device wrote in message <3678155B...@mindspring.com>...
Hi,
Strangest thing happened a few hours ago: I was bitten by
a centipede, and the pain is so severe that I won't be able
to sleep until overcome by exhaustion when dawn comes.
So then I started looking for that zip file I recommended
to help your problem, and found it in the archives. A few
minutes ago I unzipped it and checked that it functions ok.
It's ShareWare but since I only used it for a week I never
paid the author. However, I gotta say, he has done a most
excellent job of hyper-texting a mountain of information
most useful to C and ASM programmers under DOS.
Check your email box for HELPPC21.ZIP, and good luck.
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <913802500.27163.0...@news.demon.co.uk>,
Try at "Tomi Engdahl's PC hardware page "
http://www.hut.fi/Misc/Electronics/pc/index.html
Have a nice weekend,
Alexis
ph...@interpac.net escribió:
> Sure you can address the port directly, like any other I/O.
> A few years back I found two sources for bit-setting info,
> but the only one I can recall right now is ATHELP.ZIP.
>
> /ph
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <367AEB31...@mx3.redestb.es>,
Alexis Puig <alexi...@mx3.redestb.es> wrote:
>
>
> Try at "Tomi Engdahl's PC hardware page "
> http://www.hut.fi/Misc/Electronics/pc/index.html
Sorry, I searched that site for half an hour but could
not find the requested information on bit-patterns that
command the floppy drive controller chip.
If you know where that info is on that site let me know.
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <367AEB31...@mx3.redestb.es>,
It unfortunately runs to too many pages to type in here...however, it looks as
if most of the bios calls are translated directly as simple reads/writes to
the registers...there's pretty much a one-one correspondance between the calls
and the chip.
There doesn't appear to be a 'disk present' flag as such - however, bit 3 of
status register 0 is set if the drive is 'not ready' which I would guess is
the same thing, and the 'sense interrupt status' instruction returns a couple
of bits set if the ready line has changed status - presumably disk in or out.
If you want more info, please ask.
barnacle
nailed-barnacle.home.ml.org
One source for info:
http://www.rs6000.ibm.com/resource/technology/chrpio/io_ref.bk.html
look at Floppy Disk Controller chapter. Ignore all the RS6000-specific
material.
the other one is HELPPC database - this one is PC-oriented.
http://oak.oakland.edu/simtel.net/msdos/info/helppc21.zip
Documentation by Intel:
http://cert.unisa.it/pub/PC/SAC/text/8272-fdc.zip (in PDF).
--
When the hunter cries no alibis get ready for Judgement Day.
[Black Sabbath]
In article <75i730$2pno$1...@quince.news.easynet.net>,
nailed_...@junkfree.hotmail.com (barnacle) wrote:
> This is dealt with in great detail in 'PC Programmer's Handbook, 2nd edition'
> by Julio Sanchez and Maria P Canton, ISBN 0-07-054948-6. It includes details
> of the chip registers and also code to access it/them.
>
> There doesn't appear to be a 'disk present' flag as such - however, bit 3 of
> status register 0 is set if the drive is 'not ready' which I would guess is
> the same thing, and the 'sense interrupt status' instruction returns a couple
> of bits set if the ready line has changed status - presumably disk in or out.
It seems that you and I have interpreted the original question as
one requiring bypass of both DOS and BIOS, hence requiring direct
access to the address of the FDC, and modification of the word
found there (in order to command the register, and then read the
return value).
I quite agree with yours above, and applaud your clear and simple
explication.
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <75i730$2pno$1...@quince.news.easynet.net>,
nailed_...@junkfree.hotmail.com (barnacle) wrote:
> This is dealt with in great detail in 'PC Programmer's Handbook, 2nd edition'
> by Julio Sanchez and Maria P Canton, ISBN 0-07-054948-6. It includes details
> of the chip registers and also code to access it/them.
>
> It unfortunately runs to too many pages to type in here...however, it looks as
> if most of the bios calls are translated directly as simple reads/writes to
> the registers...there's pretty much a one-one correspondance between the calls
> and the chip.
>
> There doesn't appear to be a 'disk present' flag as such - however, bit 3 of
> status register 0 is set if the drive is 'not ready' which I would guess is
> the same thing, and the 'sense interrupt status' instruction returns a couple
> of bits set if the ready line has changed status - presumably disk in or out.
>
> If you want more info, please ask.
>
> In article <75hv4m$97e$1...@nnrp1.dejanews.com>, ph...@interpac.net wrote:
> >
> >
> >In article <367AEB31...@mx3.redestb.es>,
> > Alexis Puig <alexi...@mx3.redestb.es> wrote:
> >>
> >>
> >> Try at "Tomi Engdahl's PC hardware page "
> >> http://www.hut.fi/Misc/Electronics/pc/index.html
> >
> >Sorry, I searched that site for half an hour but could
> >not find the requested information on bit-patterns that
> >command the floppy drive controller chip.
> >
> >If you know where that info is on that site let me know.
> >
> >/ph
> >
> >- - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> >In article <367AEB31...@mx3.redestb.es>,
> > Alexis Puig <alexi...@mx3.redestb.es> wrote:
> >>
> >>
> >> Try at "Tomi Engdahl's PC hardware page "
> >> http://www.hut.fi/Misc/Electronics/pc/index.html
> >>
> >> Have a nice weekend,
> >>
> >> Alexis
> >>
> >> ph...@interpac.net escribió:
> >>
> >> > Sure you can address the port directly, like any other I/O.
> >> > A few years back I found two sources for bit-setting info,
> >> > but the only one I can recall right now is ATHELP.ZIP.
> >> >
> >> > /ph
> >> >
> >> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> >
> >> > In article <913802500.27163.0...@news.demon.co.uk>,
> >> > "S.P.Aspland" <sasp...@zero88.com> wrote:
> >> > > Has anyone got any info, examples etc for working directly with the
> >> > > floppy disk controller?? (by-passing dos...)
> >> > >
> >> > > Especially - is there a disk/drive present?
> >> > >
> >> > >
> >> >
> >> > -----------== Posted via Deja News, The Discussion Network ==----------
> >> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
> >>
> >>
> >
> >-----------== Posted via Deja News, The Discussion Network ==----------
> >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
> barnacle
> nailed-barnacle.home.ml.org
In article <75ijv7$peh$1...@nnrp1.dejanews.com>,
black_...@my-dejanews.com wrote:
>
> the other one is HELPPC database - this one is PC-oriented.
> http://oak.oakland.edu/simtel.net/msdos/info/helppc21.zip
I emailed him HELPPC21.ZIP as an attachment, but for myself,
I thank you for direction to the other sites you named.
Regards,
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <75ijv7$peh$1...@nnrp1.dejanews.com>,
black_...@my-dejanews.com wrote:
>
> > Sorry, I searched that site for half an hour but could
> > not find the requested information on bit-patterns that
> > command the floppy drive controller chip.
>
> One source for info:
> http://www.rs6000.ibm.com/resource/technology/chrpio/io_ref.bk.html
>
> look at Floppy Disk Controller chapter. Ignore all the RS6000-specific
> material.
>
> the other one is HELPPC database - this one is PC-oriented.
> http://oak.oakland.edu/simtel.net/msdos/info/helppc21.zip
>
> Documentation by Intel:
> http://cert.unisa.it/pub/PC/SAC/text/8272-fdc.zip (in PDF).
>
> --
>
> When the hunter cries no alibis get ready for Judgement Day.
> [Black Sabbath]
>
I'm wondering why you've replied to only one of your respondents
in this thread? Can it be that you've lost your hard drive while
experimenting with ultra-low level disk access?
If so, I am sympathetic ... If not, then I think you are ungrateful.
Don't forget that I emailed you a copy of helppc21.zip, receipt of
which you never acknowledged.
Cheers,
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <913802500.27163.0...@news.demon.co.uk>,
"S.P.Aspland" <sasp...@zero88.com> wrote:
> Has anyone got any info, examples etc for working directly with the
> floppy disk controller?? (by-passing dos...)
>
> Especially - is there a disk/drive present?
>
>
-----------== Posted via Deja News, The Discussion Network ==----------
Furthermore, I have this to say to you, not only are you an
ingrate, but you are not even a child who may be forgiven for
ungratefulness.
You are a fully grown selfish person. You've made only one
reply in this thread, and that reply chided a person because
their offer of help did not suit you.
I know you are posting from South Wales, UK, and I know your
business, and I know for certain that you are in desperate
need of the information that others like myself in this forum
have freely supplied without any thanks from yourself.
I will not answer any future queries addressed by yourself,
and I will regard with suspicion any queries posted from your
business site: www.zero88.com.
Every child is taught to give thanks for gifts freely given,
but, either you've somehow learned to deny that teaching, or
else, you were never have been blessed with it in the first
place.
Don't bother replying to me because I won't answer now that
I know you're a fully matured and selfish adult.
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <913802500.27163.0...@news.demon.co.uk>,
However, I am not grateful for being called an 'Ingrate' and 'selfish
adult'
and humility would normally stop me from saying that I am a pretty selfless
person.
I also will not apologise for being unable to reply to this newsgroup within
the
unforgivingly tight time parameters that you seem to demand...
And to respond to your supposition that I "lost my hard drive while
experimenting with ultra-low level disk access", I am a professional, and to
experiment with this kind of low-level routine on my main development system
(which I rely on for resolving service requests and replying to email etc..)
would be a grossly un-professional and incompetant act.
ph...@interpac.net wrote in message <75k6hu$2j$1...@nnrp1.dejanews.com>...
Thank you..
S.P.Aspland wrote in message
<913802500.27163.0...@news.demon.co.uk>...
Sorry I didn't catch a word you said ... You're clearly
obsessed with your own self-importance ... But, listen:
I've been there, and I've done that! ... and I regret it.
Get your act together! ... The internet is people not AI!
/ph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <914232527.4832.1...@news.demon.co.uk>,
> >> Has anyone got any info, examples etc for working directly with the
> >> floppy disk controller?? (by-passing dos...)
> >>
> >> Especially - is there a disk/drive present?
> >>
> >>
> >
Why should I listen when you don`t?
>
>Get your act together! ... The internet is people not AI!
>
Perhaps you should get some of that AI, your sorely lacking in the real
stuff...
I don`t know why you`ve got such a big chip on your shoulder, but I hope you
deal
with it soon, so that you can do something productive for this newsgroup and
quit with the moaning.
And before you moan that I haven`t replied to any future postings you may
place here,
1) This conversation is closed, I have no more time for you.
2) from tomorrow I am on holiday.