mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-09 13:30:34 +00:00
FlushVol (stub)
This commit is contained in:
parent
18fa1a760a
commit
2b66aeae0e
@ -605,6 +605,17 @@ namespace OS
|
||||
return d0;
|
||||
}
|
||||
|
||||
uint16_t FlushVol(uint16_t trap)
|
||||
{
|
||||
uint32_t parm = cpuGetAReg(0);
|
||||
|
||||
Log("%04x FlushVol(%08x)\n", trap, parm);
|
||||
|
||||
// ioResult
|
||||
memoryWriteWord(0, parm + 16);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// return the name of the default volume.
|
||||
// this does not translate well.
|
||||
|
@ -38,6 +38,7 @@ namespace OS
|
||||
uint16_t Close(uint16_t trap);
|
||||
uint16_t Create(uint16_t trap);
|
||||
uint16_t Delete(uint16_t trap);
|
||||
uint16_t FlushVol(uint16_t trap);
|
||||
|
||||
uint16_t GetFileInfo(uint16_t trap);
|
||||
uint16_t SetFileInfo(uint16_t trap);
|
||||
|
@ -68,6 +68,9 @@ namespace ToolBox {
|
||||
case 0xa012:
|
||||
d0 = OS::SetEOF(trap);
|
||||
break;
|
||||
case 0xa013:
|
||||
d0 = OS::FlushVol(trap);
|
||||
break;
|
||||
|
||||
case 0xa014:
|
||||
d0 = OS::GetVol(trap);
|
||||
|
Loading…
x
Reference in New Issue
Block a user