#include <IEC.h>
Collaboration diagram for IEC:

Public Member Functions | |
| IEC (C64Display *display) | |
| ~IEC () | |
| void | Reset (void) |
| void | NewPrefs (Prefs *prefs) |
| void | UpdateLEDs (void) |
| uint8 | Out (uint8 byte, bool eoi) |
| uint8 | OutATN (uint8 byte) |
| uint8 | OutSec (uint8 byte) |
| uint8 | In (uint8 *byte) |
| void | SetATN (void) |
| void | RelATN (void) |
| void | Turnaround (void) |
| void | Release (void) |
Private Member Functions | |
| uint8 | listen (int device) |
| uint8 | talk (int device) |
| uint8 | unlisten (void) |
| uint8 | untalk (void) |
| uint8 | sec_listen (void) |
| uint8 | sec_talk (void) |
| uint8 | open_out (uint8 byte, bool eoi) |
| uint8 | data_out (uint8 byte, bool eoi) |
| uint8 | data_in (uint8 *byte) |
Private Attributes | |
| C64Display * | the_display |
| char | name_buf [NAMEBUF_LENGTH] |
| char * | name_ptr |
| int | name_len |
| Drive * | drive [4] |
| Drive * | listener |
| Drive * | talker |
| bool | listener_active |
| bool | talker_active |
| bool | listening |
| uint8 | received_cmd |
| uint8 | sec_addr |
| Prefs & | ThePrefs |
|
|
Definition at line 44 of file IEC.cpp. References __CHECK_NULL, CTOR, drive, Prefs::DrivePath, Prefs::DriveType, DRVTYPE_D64, DRVTYPE_DIR, Prefs::Emul1541Proc, listener_active, listening, talker_active, ThePrefs, and ThePrefs. |
|
|
|
|
|
Definition at line 388 of file IEC.cpp. References Drive::Read(), sec_addr, talker, and uint8. Referenced by In(). |
|
||||||||||||
|
Definition at line 378 of file IEC.cpp. References listener, sec_addr, uint8, and Drive::Write(). Referenced by Out(). |
|
|
Definition at line 210 of file IEC.cpp. References CMD_DATA, data_in(), received_cmd, ST_TIMEOUT, talker_active, and uint8. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 264 of file IEC.cpp. References drive, listener, listener_active, Drive::Ready, ST_NOTPRESENT, ST_OK, and uint8. Referenced by OutATN(). |
|
|
Definition at line 106 of file IEC.cpp. References drive, Prefs::DrivePath, Prefs::DriveType, DRVTYPE_D64, DRVTYPE_DIR, ELOG1, ELOG2, Prefs::Emul1541Proc, strcmp, ThePrefs, and UpdateLEDs(). Referenced by C64::NewPrefs(). |
|
||||||||||||
|
Definition at line 356 of file IEC.cpp. References DRVLED_ON, Drive::LED, listener, name_buf, name_len, name_ptr, NAMEBUF_LENGTH, Drive::Open(), sec_addr, ST_OK, uint8, and UpdateLEDs(). Referenced by Out(). |
|
||||||||||||
|
Definition at line 145 of file IEC.cpp. References CMD_DATA, CMD_OPEN, data_out(), listener_active, open_out(), received_cmd, ST_TIMEOUT, and uint8. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 162 of file IEC.cpp. References ATN_LISTEN, ATN_TALK, ATN_UNLISTEN, ATN_UNTALK, listen(), listening, received_cmd, sec_addr, ST_TIMEOUT, talk(), uint8, unlisten(), and untalk(). Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 187 of file IEC.cpp. References listener_active, listening, received_cmd, sec_addr, sec_listen(), sec_talk(), ST_TIMEOUT, talker_active, and uint8. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 234 of file IEC.cpp. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 254 of file IEC.cpp. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 88 of file IEC.cpp. References drive, ELOG1, Drive::Ready, and UpdateLEDs(). Referenced by C64::Reset(). |
|
|
Definition at line 322 of file IEC.cpp. References Drive::Close(), CMD_CLOSE, CMD_OPEN, DRVLED_ERROR, DRVLED_OFF, Drive::LED, listener, name_buf, name_len, name_ptr, received_cmd, sec_addr, ST_OK, uint8, and UpdateLEDs(). Referenced by OutSec(). |
|
|
Definition at line 346 of file IEC.cpp. Referenced by OutSec(). |
|
|
Definition at line 224 of file IEC.cpp. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 282 of file IEC.cpp. References drive, Drive::Ready, ST_NOTPRESENT, ST_OK, talker, talker_active, and uint8. Referenced by OutATN(). |
|
|
Definition at line 244 of file IEC.cpp. Referenced by MOS6510::EmulateLine(). |
|
|
Definition at line 300 of file IEC.cpp. References listener_active, ST_OK, and uint8. Referenced by OutATN(). |
|
|
Definition at line 311 of file IEC.cpp. References ST_OK, talker_active, and uint8. Referenced by OutATN(). |
|
|
Definition at line 134 of file IEC.cpp. References drive, the_display, and C64Display::UpdateLEDs(). Referenced by NewPrefs(), open_out(), Reset(), sec_listen(), and Drive::set_error(). |
|
|
Definition at line 107 of file IEC.h. Referenced by IEC(), listen(), NewPrefs(), Reset(), talk(), UpdateLEDs(), and ~IEC(). |
|
|
Definition at line 109 of file IEC.h. Referenced by data_out(), listen(), open_out(), and sec_listen(). |
|
|
Definition at line 112 of file IEC.h. Referenced by IEC(), listen(), Out(), OutSec(), and unlisten(). |
|
|
|
|
|
Definition at line 103 of file IEC.h. Referenced by open_out(), and sec_listen(). |
|
|
Definition at line 105 of file IEC.h. Referenced by open_out(), and sec_listen(). |
|
|
Definition at line 104 of file IEC.h. Referenced by open_out(), and sec_listen(). |
|
|
Definition at line 116 of file IEC.h. Referenced by In(), Out(), OutATN(), OutSec(), and sec_listen(). |
|
|
Definition at line 117 of file IEC.h. Referenced by data_in(), data_out(), open_out(), OutATN(), OutSec(), and sec_listen(). |
|
|
|
|
|
|
|
|
Definition at line 101 of file IEC.h. Referenced by UpdateLEDs(). |
|
|
Definition at line 118 of file IEC.h. Referenced by IEC(), and NewPrefs(). |
1.3.3