Pasti file Reader-Writer  1.0
Pasti files
Public Member Functions | List of all members
Pasti.BufferWindow Class Reference

Interaction logic for TrackBuffer.xaml More...

Inherits Window.

Public Member Functions

 BufferWindow ()
 Create a new BufferWindow object. More...
 
void displaySectorBuffer (Floppy floppy, int track, int side)
 Draw the content of the buffer More...
 
void displayTrackBuffer (Floppy floppy, int track, int side)
 Display the content of the Track Information in a textbox More...
 
void drawBuffer (byte[] buffer, string message=null)
 Display the content of TrackBuffer buffer in the displayBuffer TextBox More...
 

Detailed Description

Interaction logic for TrackBuffer.xaml

Definition at line 47 of file BufferWindow.xaml.cs.

Constructor & Destructor Documentation

Pasti.BufferWindow.BufferWindow ( )
inline

Create a new BufferWindow object.

Definition at line 51 of file BufferWindow.xaml.cs.

Member Function Documentation

void Pasti.BufferWindow.displaySectorBuffer ( Floppy  floppy,
int  track,
int  side 
)
inline

Draw the content of the buffer

Parameters
floppyPointer to the floppy disk structure
trackThe track number of the track to display
sideThe side of the track to display

Definition at line 61 of file BufferWindow.xaml.cs.

void Pasti.BufferWindow.displayTrackBuffer ( Floppy  floppy,
int  track,
int  side 
)
inline

Display the content of the Track Information in a textbox

Parameters
trackSpecifies the track from the disk
sideSpecifies the side from the disk
floppyThe floppy disk structure

Definition at line 110 of file BufferWindow.xaml.cs.

void Pasti.BufferWindow.drawBuffer ( byte[]  buffer,
string  message = null 
)
inline

Display the content of TrackBuffer buffer in the displayBuffer TextBox

Parameters
bufferThe buffer to display
messagean optional message to display before the buffer

Definition at line 131 of file BufferWindow.xaml.cs.


The documentation for this class was generated from the following file: