Article 42983 of comp.sys.cbm:
Xref: undergrad.math.uwaterloo.ca comp.sys.cbm:42983
Newsgroups: comp.sys.cbm
Path: undergrad.math.uwaterloo.ca!csbruce
From: csbruce@ccnga.uwaterloo.ca (Craig Bruce)
Subject: Re: msdos disks read!
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Message-ID: <DFu1Hn.CoB@undergrad.math.uwaterloo.ca>
Date: Mon, 2 Oct 1995 17:48:58 GMT
References: <44omgb$if5@zdi.informatik.uni-stuttgart.de>
Nntp-Posting-Host: ccnga.uwaterloo.ca
Organization: University of Waterloo, Canada (eh!)

Roland Toegel <toegelrd@track.informatik.uni-stuttgart.de> writes:
>
>could someone post here a program to read single sektors on a msdos disk
>(HD and DD) on a FD 2000 or FD 4000. I should work like:
>
>ldx #track
>ldy #sektor
>jsr loadroutine
>
>and then the loaded sector should be at $8000 or somewhere else....

You can extract the information you want from C= Hacking magazine issues 4
and 5, in an article called "Little Red Reader".  The articles give a
complete source listing and explanation for the whole program, including the
low-level routines for reading/writing raw disk sectors.

You can get C= Hacking from the net at (among many other places):

http://ccnga.uwaterloo.ca/~csbruce/HACKING/Hacking.html

ftp://ccnga.uwaterloo.ca/pub/cbm/hacking.mag/

The programs are for the C128, so you'll have to transfer data from the FD's
memory to a C64 in some way other than using the burst protocol, if you're
using a C64.

Keep on Hackin'!

-Craig Bruce
csbruce@ccnga.uwaterloo.ca
"Never underestimate the power of a simple tool."


