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

1541d64.cpp File Reference

#include "sysdeps.h"
#include "1541d64.h"
#include "IEC.h"
#include "Prefs.h"

Include dependency graph for 1541d64.cpp:

Include dependency graph

Go to the source code of this file.

Enumerations

enum  {
  CHMOD_FREE, CHMOD_COMMAND, CHMOD_DIRECTORY, CHMOD_FILE,
  CHMOD_DIRECT
}
enum  { FMODE_READ, FMODE_WRITE, FMODE_APPEND }
enum  { FTYPE_PRG, FTYPE_SEQ, FTYPE_USR, FTYPE_REL }

Functions

bool match (uint8 *p, uint8 *n)

Variables

const int NUM_TRACKS = 35
const int NUM_SECTORS = 683
const char type_char_1 [] = "DSPUREERSELQGRL?"
const char type_char_2 [] = "EERSELQGRL??????"
const char type_char_3 [] = "LQGRL???????????"
const int num_sectors [41]
const int sector_offset [41]


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
CHMOD_FREE 
CHMOD_COMMAND 
CHMOD_DIRECTORY 
CHMOD_FILE 
CHMOD_DIRECT 

Definition at line 24 of file 1541d64.cpp.

anonymous enum
 

Enumeration values:
FMODE_READ 
FMODE_WRITE 
FMODE_APPEND 

Definition at line 33 of file 1541d64.cpp.

anonymous enum
 

Enumeration values:
FTYPE_PRG 
FTYPE_SEQ 
FTYPE_USR 
FTYPE_REL 

Definition at line 38 of file 1541d64.cpp.


Function Documentation

bool match uint8 p,
uint8 n
[static]
 

Definition at line 353 of file 1541d64.cpp.


Variable Documentation

const int num_sectors[41]
 

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,
        17,17,17,17,17          
}

Definition at line 996 of file 1541d64.cpp.

Referenced by Job1541::disk2gcr(), Job1541::FormatTrack(), Job1541::MoveHeadIn(), Job1541::MoveHeadOut(), Job1541::offset_from_ts(), D64Drive::offset_from_ts(), and Job1541::SetState().

const int NUM_SECTORS = 683
 

Definition at line 44 of file 1541d64.cpp.

Referenced by Job1541::FormatTrack(), D64Drive::open_close_d64_file(), and Job1541::open_d64_file().

const int NUM_TRACKS = 35
 

Definition at line 43 of file 1541d64.cpp.

Referenced by Job1541::disk2gcr(), Job1541::MoveHeadIn(), Job1541::offset_from_ts(), and D64Drive::offset_from_ts().

const int sector_offset[41]
 

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,
        683,700,717,734,751     
}

Definition at line 1005 of file 1541d64.cpp.

Referenced by Job1541::offset_from_ts(), D64Drive::offset_from_ts(), and Job1541::secnum_from_ts().

const char type_char_1[] = "DSPUREERSELQGRL?"
 

Definition at line 348 of file 1541d64.cpp.

Referenced by D64Drive::open_directory().

const char type_char_2[] = "EERSELQGRL??????"
 

Definition at line 349 of file 1541d64.cpp.

Referenced by D64Drive::open_directory().

const char type_char_3[] = "LQGRL???????????"
 

Definition at line 350 of file 1541d64.cpp.

Referenced by D64Drive::open_directory().


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