コード例 #1
0
ファイル: c64cia1.c プロジェクト: peterled/vice
static void store_sdr(cia_context_t *cia_context, BYTE byte)
{
    if (burst_mod == BURST_MOD_CIA1) {
        c64fastiec_fast_cpu_write((BYTE)byte);
    }
#ifdef HAVE_RS232
    if (rsuser_enabled) {
        rsuser_tx_byte(byte);
    }
#endif
    /* FIXME: in the upcoming userport system this call needs to be conditional */
    userport_joystick_store_sdr(byte);
}
コード例 #2
0
ファイル: c64cia1.c プロジェクト: EdCornejo/emu-ex-plus-alpha
static void store_sdr(cia_context_t *cia_context, BYTE byte)
{
    if ((cia1_cra & 0x59) == 0x51) {
        store_userport_sp1();
    }

    if (c64iec_active) {
        if (burst_mod == BURST_MOD_CIA1) {
            c64fastiec_fast_cpu_write((BYTE)byte);
        }
    }
#if defined(HAVE_RS232DEV) || defined(HAVE_RS232NET)
    if (rsuser_enabled) {
        rsuser_tx_byte(byte);
    }
#endif
}
コード例 #3
0
ファイル: c64cia2.c プロジェクト: bobsummerwill/VICE
static void store_sdr(cia_context_t *cia_context, BYTE byte)
{
    if (burst_mod == BURST_MOD_CIA2) {
        c64fastiec_fast_cpu_write((BYTE)byte);
    }
}