Package drivers.win
Class WinSpecialFile
java.lang.Object
drivers.win.WinFile
drivers.win.WinSpecialFile
This is the special access file ("*d2d") on a qxl.win drive.
All file positions are actually multiple of 512 bytes (setting pos#1 will set the file position to 512 etc).
-
Field Summary
Fields inherited from class drivers.win.WinFile
buffer, clusterchain, dir, dirChanged, drive, fileChanged, filePosition, fileSize, index, isDir, mapChanged, readOnly, setDate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the special file : the drive is notified of this.int
handleTrap3
(int trapKey, MC68000Cpu cpu) This dispatches the file I/O routines (=SMSQE TRAP#3 routines).Methods inherited from class drivers.win.WinFile
getDir, getIndex, setDir, setDirAndFatChanged, setDirStatus, setIndex, writeFile
-
Constructor Details
-
WinSpecialFile
Creates the object.- Parameters:
drive
- on what drive the special file is to be opened.
-
-
Method Details
-
close
public void close()Closes the special file : the drive is notified of this. -
handleTrap3
This dispatches the file I/O routines (=SMSQE TRAP#3 routines). This special file only allows few operations.- Overrides:
handleTrap3
in classWinFile
- Parameters:
trapKey
- what kind of trap#3 are we dealing with?cpu
- the current CPU doing the call.- Returns:
- SMSQE error/success code. NOTE: the switch cases all return immediately with a success/error code.
-