mirror of
https://github.com/ksherlock/mpw.git
synced 2024-12-22 00:29:18 +00:00
probably some useless code
This commit is contained in:
parent
1e27acd16a
commit
1828c9e5f2
@ -41,6 +41,7 @@ namespace OS
|
||||
uint16_t FlushVol(uint16_t trap);
|
||||
|
||||
uint16_t GetFileInfo(uint16_t trap);
|
||||
uint16_t HGetFileInfo(uint16_t trap);
|
||||
uint16_t SetFileInfo(uint16_t trap);
|
||||
|
||||
uint16_t GetEOF(uint16_t trap);
|
||||
|
@ -204,6 +204,18 @@ namespace OS {
|
||||
return OS::Open(0xa000);
|
||||
}
|
||||
|
||||
|
||||
uint16_t PBHOpenDF(uint32_t paramBlock)
|
||||
{
|
||||
// PBHOpen... is identical to PBOpen... except
|
||||
// that it accepts a directory ID in ioDirID.
|
||||
|
||||
Log(" PBHOpenDF\n");
|
||||
// same as Open but slightly different handling of . files.
|
||||
return OS::Open(0xa000);
|
||||
}
|
||||
|
||||
|
||||
uint16_t FSDispatch(uint16_t trap)
|
||||
{
|
||||
|
||||
@ -219,16 +231,13 @@ namespace OS {
|
||||
|
||||
switch (selector)
|
||||
{
|
||||
//case 0x0009:
|
||||
//return PBGetCatInfo(paramBlock);
|
||||
//break;
|
||||
|
||||
case 0x1a:
|
||||
case 0x001a:
|
||||
return PBOpenDF(paramBlock);
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf(stderr, "HFSDispatch: selector %08x not implemented\n",
|
||||
fprintf(stderr, "FSDispatch: selector %08x not implemented\n",
|
||||
selector);
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user