Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

1541job.cpp File Reference

#include "sysdeps.h"
#include "1541job.h"
#include "CPU1541.h"
#include "Prefs.h"

Include dependency graph for 1541job.cpp:

Include dependency graph

Go to the source code of this file.

Variables

const int NUM_TRACKS = 35
const int NUM_SECTORS = 683
const int GCR_SECTOR_SIZE = 1+10+9+1+325+8
const int GCR_TRACK_SIZE = GCR_SECTOR_SIZE * 21
const int GCR_DISK_SIZE = GCR_TRACK_SIZE * NUM_TRACKS
const int RET_OK = 1
const int RET_NOT_FOUND = 2
const int RET_NOT_READY = 15
const int num_sectors [36]
const int sector_offset [36]
const uint16 gcr_table [16]


Variable Documentation

const int GCR_DISK_SIZE = GCR_TRACK_SIZE * NUM_TRACKS
 

Definition at line 40 of file 1541job.cpp.

Referenced by Job1541::Job1541(), and Job1541::open_d64_file().

const int GCR_SECTOR_SIZE = 1+10+9+1+325+8
 

Definition at line 38 of file 1541job.cpp.

Referenced by Job1541::MoveHeadIn(), Job1541::MoveHeadOut(), Job1541::sector2gcr(), and Job1541::SetState().

const uint16 gcr_table[16]
 

Initial value:

 {
        0x0a, 0x0b, 0x12, 0x13, 0x0e, 0x0f, 0x16, 0x17,
        0x09, 0x19, 0x1a, 0x1b, 0x0d, 0x1d, 0x1e, 0x15
}

Definition at line 317 of file 1541job.cpp.

Referenced by Job1541::gcr_conv4().

const int GCR_TRACK_SIZE = GCR_SECTOR_SIZE * 21
 

Definition at line 39 of file 1541job.cpp.

Referenced by Job1541::Job1541(), Job1541::MoveHeadIn(), Job1541::MoveHeadOut(), Job1541::sector2gcr(), and Job1541::SetState().

const int num_sectors[36]
 

Initial value:

 {
        0,
        21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,
        19,19,19,19,19,19,19,
        18,18,18,18,18,18,
        17,17,17,17,17
}

Definition at line 49 of file 1541job.cpp.

const int NUM_SECTORS = 683
 

Definition at line 35 of file 1541job.cpp.

const int NUM_TRACKS = 35
 

Definition at line 34 of file 1541job.cpp.

const int RET_NOT_FOUND = 2
 

Definition at line 44 of file 1541job.cpp.

const int RET_NOT_READY = 15
 

Definition at line 45 of file 1541job.cpp.

const int RET_OK = 1
 

Definition at line 43 of file 1541job.cpp.

const int sector_offset[36]
 

Initial value:

 {
        0,
        0,21,42,63,84,105,126,147,168,189,210,231,252,273,294,315,336,
        357,376,395,414,433,452,471,
        490,508,526,544,562,580,
        598,615,632,649,666
}

Definition at line 58 of file 1541job.cpp.


Generated on Tue Feb 8 04:08:29 2005 for E32frodo by doxygen 1.3.3