First post, by danoon
In pic.cpp in the function:
static void write_command(Bitu port,Bitu val,Bitu iolen) {
I'm trying to understand the intent of this code
if(pic[0].special || pics[1].special)
PIC_Special_Mode = true; else
PIC_Special_Mode = false;
pics is defined as
static PIC_Controller pics[2];
and pic is defined as
PIC_Controller * pic=&pics[port==0x20 ? 0 : 1];
Do you think pic[0].special intentionally meant pic->special or is this a typo and it should be pics[0]?