Re: Accessing the sectors of an harddisk



Ruud wrote:
Hallo allemaal,


I build hardware for the good old Commodore machines. One of my
projects is connecting a xx GB harddisk to a 1541 floppy drive. This
works fine so far. But a problem is the huge amount of data (seen from
the point of view of a Commodore). One idea I have is using disk
brackets and using a PC for huge data movements. Being a Turbo Pascal
programmer this isn't a problem. But I also want to be able to do that
under Delphi. I'm familiar with Delphi. But I already found out that
using the PORT command doesn't work out under XP.

So my main question: How can I access and edit the sectors of an
harddisk directly?

FYI:
- I'm using my own filesystem
- I'm only using 8 bits (and thus waisting half of the capacity)

Thanks for any info/help !!!


--
___
/ __|__
/ / |_/ Groetjes, Ruud
\ \__|_\
\___| URL: Ruud.C64.org

write a virtual drive in windows. use the serial port using the
OpenFile('COM1:.....');
with that, you can set up event triggers etc.
Use EscapeComm to read/set control lines of the port ....
and the beat goes on..
To do it correctly, do a little electronics and program an uC chip
that has USB HID support.
then write a general application to handle it.
the device will translate it's outputs for the Commy system..

I find it hard to believe that any one is doing anything with these
machines?
what is this a gofer alert?


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • Re: new xp 2 freezes momentarily
    ... It CAN be the harddisk on that port, which is failing, it can happen ... But even with better cooling one of the ports still failed, ...
    (microsoft.public.windowsxp.help_and_support)
  • Accessing the sectors of an harddisk
    ... I build hardware for the good old Commodore machines. ... projects is connecting a xx GB harddisk to a 1541 floppy drive. ... brackets and using a PC for huge data movements. ... I'm familiar with Delphi. ...
    (comp.lang.pascal.delphi.misc)
  • Re: read a sector
    ... in "hardware manger" in control panel of ... windows. ... It told me my harddisk can be access through port 0x1f0-0x1f7. ...
    (alt.lang.asm)
  • Re: read a sector
    ... >> I tested these code in bochs, it can read a sector from ... >> harddisk, but it just can't read sector from a real harddisk, ... My harddisk io port is 0x1f0-0x1f7, so it should be ok, but ...
    (alt.lang.asm)
  • Line in Recording with MS XP media player
    ... harddisk via the Line IN port (coming from my radio in ... windows media player. ...
    (microsoft.public.windows.mediacenter)