ROLAND
0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
|
Go to the source code of this file.
Macros | |
#define | DSK_BPTMAX 8192 |
#define | DSK_TRACKMAX 102 |
#define | DSK_SIDEMAX 2 |
#define | DSK_SECTORMAX 29 |
#define | FDC_TO_CPU 0 |
#define | CPU_TO_FDC 1 |
#define | CMD_PHASE 0 |
#define | EXEC_PHASE 1 |
#define | RESULT_PHASE 2 |
#define | SKIP_flag 1 |
#define | SEEKDRVA_flag 2 |
#define | SEEKDRVB_flag 4 |
#define | RNDDE_flag 8 |
#define | OVERRUN_flag 16 |
#define | SCAN_flag 32 |
#define | SCANFAILED_flag 64 |
#define | STATUSDRVA_flag 128 |
#define | STATUSDRVB_flag 256 |
#define | CMD_CODE 0 |
#define | CMD_UNIT 1 |
#define | CMD_C 2 |
#define | CMD_H 3 |
#define | CMD_R 4 |
#define | CMD_N 5 |
#define | CMD_EOT 6 |
#define | CMD_GPL 7 |
#define | CMD_DTL 8 |
#define | CMD_STP 8 |
#define | RES_ST0 0 |
#define | RES_ST1 1 |
#define | RES_ST2 2 |
#define | RES_C 3 |
#define | RES_H 4 |
#define | RES_R 5 |
#define | RES_N 6 |
#define | OVERRUN_TIMEOUT 128*4 |
#define | INITIAL_TIMEOUT OVERRUN_TIMEOUT*4 |
#define | MAX_CMD_COUNT 15 |
#define | ERR_OUT_OF_MEMORY 9 |
#define | ERR_FILE_NOT_FOUND 13 |
#define | ERR_FILE_BAD_ZIP 14 |
#define | ERR_FILE_EMPTY_ZIP 15 |
#define | ERR_FILE_UNZIP_FAILED 16 |
#define | ERR_DSK_INVALID 21 |
#define | ERR_DSK_SIDES 22 |
#define | ERR_DSK_SECTORS 23 |
#define | ERR_DSK_WRITE 24 |
#define | MSG_DSK_ALTERED 25 |
#define CMD_C 2 |
Referenced by Fdc::cmd_read(), Fdc::cmd_readtrk(), Fdc::cmd_scan(), Fdc::cmd_write(), Fdc::Fdc(), Fdc::find_sector(), Fdc::recalib(), and Fdc::seek().
#define CMD_CODE 0 |
Referenced by Fdc::cmd_read(), Fdc::cmd_write(), Fdc::Fdc(), and Fdc::read_data().
#define CMD_DTL 8 |
Referenced by Fdc::cmd_read(), Fdc::cmd_readtrk(), and Fdc::cmd_write().
#define CMD_EOT 6 |
Referenced by Fdc::cmd_read(), Fdc::cmd_scan(), Fdc::Fdc(), and Fdc::read_data().
#define CMD_GPL 7 |
#define CMD_H 3 |
Referenced by Fdc::Fdc(), and Fdc::writeID().
#define CMD_N 5 |
Referenced by Fdc::cmd_read(), Fdc::cmd_readtrk(), Fdc::cmd_scan(), Fdc::cmd_write(), and Fdc::Fdc().
#define CMD_PHASE 0 |
Referenced by Fdc::Fdc(), Fdc::read_data(), Fdc::seek(), and Fdc::specify().
#define CMD_R 4 |
Referenced by Fdc::cmd_read(), Fdc::cmd_scan(), Fdc::Fdc(), Fdc::read_data(), and Fdc::readtrk().
#define CMD_STP 8 |
Referenced by Fdc::cmd_scan(), Fdc::Fdc(), and Fdc::scan().
#define CMD_UNIT 1 |
Referenced by Fdc::check_unit(), Fdc::drvstat(), Fdc::init_status_regs(), Fdc::read(), Fdc::readID(), Fdc::readtrk(), Fdc::scan(), Fdc::seek(), Fdc::write(), and Fdc::writeID().
#define CPU_TO_FDC 1 |
Referenced by Fdc::Fdc().
#define DSK_BPTMAX 8192 |
#define DSK_SECTORMAX 29 |
Referenced by Fdc::dsk_load().
#define DSK_SIDEMAX 2 |
Referenced by Fdc::dsk_eject(), and Fdc::dsk_load().
#define DSK_TRACKMAX 102 |
Referenced by Fdc::dsk_eject(), Fdc::dsk_load(), and Fdc::seek().
#define ERR_DSK_INVALID 21 |
Referenced by Fdc::dsk_load().
#define ERR_DSK_SECTORS 23 |
Referenced by Fdc::dsk_load().
#define ERR_DSK_SIDES 22 |
Referenced by Fdc::dsk_load().
#define ERR_DSK_WRITE 24 |
#define ERR_FILE_BAD_ZIP 14 |
#define ERR_FILE_EMPTY_ZIP 15 |
#define ERR_FILE_NOT_FOUND 13 |
Referenced by Fdc::dsk_load().
#define ERR_FILE_UNZIP_FAILED 16 |
#define ERR_OUT_OF_MEMORY 9 |
Referenced by Fdc::dsk_load().
#define EXEC_PHASE 1 |
Referenced by Fdc::Fdc(), Fdc::read_data(), Fdc::read_status(), and Cpc::waitstates().
#define FDC_TO_CPU 0 |
Referenced by Fdc::Fdc(), Fdc::read_data(), Fdc::read_status(), and Cpc::waitstates().
#define INITIAL_TIMEOUT OVERRUN_TIMEOUT*4 |
Referenced by Fdc::cmd_read(), Fdc::cmd_readtrk(), Fdc::cmd_scan(), Fdc::cmd_write(), and Fdc::writeID().
#define MAX_CMD_COUNT 15 |
Referenced by Fdc::Fdc().
#define MSG_DSK_ALTERED 25 |
#define OVERRUN_flag 16 |
Referenced by Fdc::read_data(), and Cpc::waitstates().
#define OVERRUN_TIMEOUT 128*4 |
Referenced by Fdc::Fdc(), and Fdc::read_data().
#define RES_C 3 |
Referenced by Fdc::Fdc(), and Fdc::readID().
#define RES_H 4 |
#define RES_N 6 |
Referenced by Fdc::Fdc().
#define RES_R 5 |
#define RES_ST0 0 |
#define RES_ST1 1 |
#define RES_ST2 2 |
Referenced by Fdc::cmd_read(), Fdc::cmd_readtrk(), Fdc::cmd_scan(), Fdc::Fdc(), Fdc::find_sector(), and Fdc::read_data().
#define RESULT_PHASE 2 |
#define RNDDE_flag 8 |
Referenced by Fdc::find_sector(), and Fdc::read_data().
#define SCAN_flag 32 |
Referenced by Fdc::Fdc(), Fdc::read_data(), and Fdc::scan().
#define SCANFAILED_flag 64 |
Referenced by Fdc::cmd_scan(), and Fdc::Fdc().
#define SEEKDRVA_flag 2 |
Referenced by Fdc::intstat(), and Fdc::seek().
#define SEEKDRVB_flag 4 |
Referenced by Fdc::intstat(), and Fdc::seek().
#define SKIP_flag 1 |
Referenced by Fdc::cmd_read(), Fdc::cmd_scan(), and Fdc::Fdc().
#define STATUSDRVA_flag 128 |
Referenced by Fdc::Fdc(), Fdc::intstat(), and Cpc::z80_out_handler().
#define STATUSDRVB_flag 256 |
Referenced by Fdc::Fdc(), Fdc::intstat(), and Cpc::z80_out_handler().