1 |
|
/* |
2 |
|
* extfs.cpp - MacOS file system for native file system access |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
730 |
|
if (no_vol_name) |
731 |
|
WriteMacInt32(pb + ioNamePtr, name_ptr); |
732 |
|
int16 status = ReadMacInt16(fs_data + fsReturn); |
733 |
– |
int16 more_matches = ReadMacInt16(fs_data + fsReturn + 2); |
734 |
– |
int16 vRefNum = ReadMacInt16(fs_data + fsReturn + 4); |
735 |
– |
uint32 vcb = ReadMacInt32(fs_data + fsReturn + 6); |
733 |
|
D(bug(" UTDetermineVol() returned %d, status %d\n", r.d[0], status)); |
734 |
|
result = (int16)(r.d[0] & 0xffff); |
735 |
|
|
964 |
|
r.a[0] = fs_data + fsReturn; |
965 |
|
r.a[1] = fs_data + fsReturn + 2; |
966 |
|
Execute68k(fs_data + fsAllocateVCB, &r); |
967 |
+ |
#if DEBUG |
968 |
|
uint16 sysVCBLength = ReadMacInt16(fs_data + fsReturn); |
969 |
+ |
#endif |
970 |
|
uint32 vcb = ReadMacInt32(fs_data + fsReturn + 2); |
971 |
|
D(bug(" UTAllocateVCB() returned %d, vcb %08lx, size %d\n", r.d[0], vcb, sysVCBLength)); |
972 |
|
if (r.d[0] & 0xffff) |