From aebd813a55cf589e892f02518e6f0891b2c184bd Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Tue, 2 Jan 2024 23:36:58 +0100 Subject: [PATCH] add irq en/disable macros --- system/io_W65C22.h65 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/system/io_W65C22.h65 b/system/io_W65C22.h65 index 52d4ffc..1e607a0 100644 --- a/system/io_W65C22.h65 +++ b/system/io_W65C22.h65 @@ -79,10 +79,10 @@ INCLUDE_IOW65C22 = 1 CA2_IN_AE_IRQ_IND= %00000010 ; Independent interrupt input-negative edge CA2_IP_AE = %00000100 ; Input-positive active edge CA2_IP_AE_IRQ_IND= %00000110 ; Independent interrupt input-positive edge - CA2_IN_HANDSHAKE = %00001000 ; Handshake output - CA2_IN_PULSE_OUT = %00001010 ; Pulse output - CA2_IN_LOW_OUT = %00001100 ; Low output - CA2_IN_HIGH_OUT = %00001110 ; High output + CA2_OUT_HANDSHAKE= %00001000 ; Handshake output + CA2_OUT_PULSE = %00001010 ; Pulse output + CA2_OUT_LOW = %00001100 ; Low output + CA2_OUT_HIGH = %00001110 ; High output ; CB1 Modes CB1_IN_AE = %00000000 ; Input-negative active edge CB1_IP_AE = %00010000 ; Input-positive active edge @@ -91,10 +91,10 @@ INCLUDE_IOW65C22 = 1 CB2_IN_AE_IRQ_IND= %00100000 ; Independent interrupt input-negative edge CB2_IP_AE = %01000000 ; Input-positive active edge CB2_IP_AE_IRQ_IND= %01100000 ; Independent interrupt input-positive edge - CB2_IN_HANDSHAKE = %10000000 ; Handshake output - CB2_IN_PULSE_OUT = %10100000 ; Pulse output - CB2_IN_LOW_OUT = %11000000 ; Low output - CB2_IN_HIGH_OUT = %11100000 ; High output + CB2_OUT_HANDSHAKE= %10000000 ; Handshake output + CB2_OUT_PULSE = %10100000 ; Pulse output + CB2_OUT_LOW = %11000000 ; Low output + CB2_OUT_HIGH = %11100000 ; High output .endenum ; IFR/IER bits