Re: [PATCH] hw/intc/i8259: Implement legacy LTIM Edge/Level Bank Select

2023-03-02 Thread BALATON Zoltan
On Thu, 2 Mar 2023, David Woodhouse wrote: Back in the mists of time, before IBM PS/2 came along with MCA and added per-pin level control in the ELCR register, the i8259 had a chip-wide level-mode control in bit 3 of ICW1. Thanks a lot for doing this, it's easy if you already understand the PIC

Re: [PATCH] hw/intc/i8259: Implement legacy LTIM Edge/Level Bank Select

2023-03-02 Thread David Woodhouse
On Thu, 2023-03-02 at 09:06 +, David Woodhouse wrote: > Back in the mists of time, before IBM PS/2 came along with MCA and added > per-pin level control in the ELCR register, the i8259 had a chip-wide > level-mode control in bit 3 of ICW1. Actually... I think MCA might have been level triggere

[PATCH] hw/intc/i8259: Implement legacy LTIM Edge/Level Bank Select

2023-03-02 Thread David Woodhouse
Back in the mists of time, before IBM PS/2 came along with MCA and added per-pin level control in the ELCR register, the i8259 had a chip-wide level-mode control in bit 3 of ICW1. Even in the PIIX3 datasheet from 1996 this is documented as 'This bit is disabled', but apparently MorphOS is using it