🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.sources.wanted
Article #986

Re: Pascal Code Needed to read disk byte by byte

#986
From: Paul Robinson
Date: Thu, 21 Jan 1993 13:45
20 lines
1405 bytes
miket@exucom.com (Michael Teper) writes:
: 
: I need Pascal or ASM (or both) code that would allow me read data off of a
: disk (PC environment) without any concern for the data or data format or
: structure on the disk.
: 
: To make this simpler - I need to read some data put on a disk by an Apple
: non-standard program. My intentions are to read whatever it stored on
: Apple disks using the PC and then hopefully make some sence out of it
: knowing the contents of the data.
: 

While you can do direct disk I/O on an IBM, you can't read an Apple disk
directly; the hardware won't let you.  In simple terms, the Apple II disk
drive wrote a "signature" field on the start of each sector, that
particular byte doesn't occur on the disk except at the start of a sector,
and bytes are encoded down to fit into a special sequence, something
similar to the way UUENCODE changes two bytes into three by carrying bits
over.  
 
Technical Details
Message-ID: <1jm9ekINN8rv@mirror.digex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!digex.com!digex.digex.com!tdarcos
References: <1993Jan14.035536.16278@exucom.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!digex.com!digex.digex.com!tdarcos
From: tdarcos@digex.digex.com (Paul Robinson)
Newsgroups: alt.sources.wanted
Subject: Re: Pascal Code Needed to read disk byte by byte
Date: 21 Jan 1993 13:45:56 GMT
Organization: Tansin A. Darcos & Company, Silver Spring, MD USA
Lines: 20
Message-ID: <1jm9ekINN8rv@mirror.digex.com>
References: <1993Jan14.035536.16278@exucom.com>
NNTP-Posting-Host: access.digex.com
X-Newsreader: Tin 1.1 PL3