Macworks 3.0 800K Patch
Macworks 3.0 800K Patch
Lisa · 1988 · PDF
| Filename | Macworks_3.0_800K_Patch_198802.pdf |
|---|---|
| Size | 3.90 MB |
| Year | 1988 |
| Subsection | sun_remarketing |
| Downloads | 2 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
Reader
Loading…
OCR / Text contents
pRRERERE RRR RRR ER RR RRR ERSTE EEE ERASE EERE ERE EERE RE RE
“y* Lisa 800 -- Q00K Drive Patch for MacWorks 3.0 #
IIIA E EI ERI EERE EEA EERE EEE
y* : Ye
y* @uthor: C. Lukaszewsk!
:* Updated: 02/02/88 - Ian H. Abel
Hig Version: 1.0
a
iLELiLe LL LLLLLLL LLL LL bLLLL GL LLELE Leet i Lttee.
y* Copyright (C) 1988 / Ian H. Abel #
J AHE EEE HEISEI GHEE EGE EEG EE
INCLUDE Traps.D yInctude system & toolbox traps
INCLUDE TeolEqu.t yInclude toolbox equates
INCLUDE SysEqu.D jInclude system equates
INCLUDE FSEqu. 0 jlnciude file system equates
INCLUDE PackMacs. Txt yInclude package macros
INCLUDE TSDEqu. Txt ginclude PSM file equates
STRING_FORMAT 3 yLength precedes string
XDEF LisaG0d, Junk yFinder entry point
XDEF RefNumO ,RefNumi yPSMFile required globais
REF Ini tMgrs,LineQut 3PM routines
XREF Openlindw, GpenDiog
REF NermText
MUBASE EGU $1ES93A yBase of patch wo Lisabug
y® This code makes patches to MacWorks v3.0 to allow the use of an S00K drive
y* with Sun Remarketing’s HFS on ‘the Lisa-2/Mac XL. The code is set up as an
g% executable program which directly modifies a 5- or Ll-megabyte widget. The
3* Machiorks operating system is really an extensively modified Apple ‘monitor’
Operating system, whose filesystem structure can be figured cut from my
j*# notes or from not-too-extensive hacking. This patch makes modifications to
3* the file ‘DRIVERS.GBJ’ on the MacWorks volume, It first copies the files to
y* a location farther out so that there is space to append code to it. Then
y# the patch is appended and the monitor directory is updated. The patch is
y*# executed at startup time only, assuming that there is a $02 value at $FCCQL5,
# which indicates that there is a two-sided drive attached.
bd
*
OK
The patches are as follows:
Born an nnn n nnn nnn en nn en nn nnn nn nn nn nn nnn nn nnn nn nnn enn nnn nnn nnn enn nnn enna #
QOxCFFié = 4708 -> 6008 The 6504 code returns a “822° instead
of a “$02 at S00FCCO1S (MN drive
type fields. This removes the error
branch which sets up error @FFBZ {-78)
try to read second side on a 400K drive
eee es wipcin pita mn eg pert acne creme ron *
OOOQOCFB = xx --> FF Update drive queue te reflect two-sided
disk drive
Me oaK OR Ok Oe
aK
*
. eet
MUIBASE+HFSCalc Routine for calculating side/track/sector
for HFS volumes:
* Routine must verify that $FCCOIS =
$02 and $03B0=$FFFE otherwise execute:
. MOVE #20640 Di :
LSR.W #$1,D1
IMP 200xCFFDE
# If two-side check is successful, cale-
ulate side/track/sector with AQ & AL
preserved and absolute sector number
in OO. Patch routine ends with:
DS = Side (0 or 1)
04 = Track ‘
E D8 = Sector i
and exits with a copy of the code a
z
ER ee ck an sek wee woe nas Snicitin, Salus Sind aie wie Saw da nlp SO nd Sa
OK
OR OK KOKO OK OK
Hon te
¢ $00xD003E.
p¥e-----4-------------- - rr -a- = ao --%
:* | QOICFFDS 32300640E249 -)
;* UMP HFSCalc Intercept normal calculation routine
pe--- o- oe meee enna nanan ne od
3% MWBASE+InitPtchi Patch that ignores control calls of value
…
Showing first 3,000 characters of 16,792 total. Open the full document →