OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [disk.h] - Diff between revs 8 and 25

Show entire file | Details | Blame | View Log

Rev 8 Rev 25
Line 19... Line 19...
#define DISK_WRT        0x04    /* command type: 0 = read, 1 = write */
#define DISK_WRT        0x04    /* command type: 0 = read, 1 = write */
#define DISK_ERR        0x08    /* 0 = ok, 1 = error; valid when DONE = 1 */
#define DISK_ERR        0x08    /* 0 = ok, 1 = error; valid when DONE = 1 */
#define DISK_DONE       0x10    /* 1 = disk has finished the command */
#define DISK_DONE       0x10    /* 1 = disk has finished the command */
#define DISK_READY      0x20    /* 1 = capacity valid, disk accepts command */
#define DISK_READY      0x20    /* 1 = capacity valid, disk accepts command */
 
 
#define DISK_DELAY      10      /* seek start/settle + rotational delay */
#define DISK_DELAY_USEC 10000   /* seek start/settle + rotational delay */
#define DISK_SEEK       50      /* full disk seek time */
#define DISK_SEEK_USEC  50000   /* full disk seek time */
#define DISK_STARTUP    1000    /* disk startup time (until DISK_READY) */
#define DISK_START_USEC 1000000 /* disk startup time (until DISK_READY) */
 
 
 
 
Word diskRead(Word addr);
Word diskRead(Word addr);
void diskWrite(Word addr, Word data);
void diskWrite(Word addr, Word data);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.