Пример #1
0
t_stat SBC_reset (DEVICE *dptr)
{    
    sim_printf("Initializing iSBC-80/10:\n");
    i8080_reset (NULL);
    i8255_reset (NULL, I8255_BASE_0);
    i8255_reset (NULL, I8255_BASE_1);
    i8251_reset (NULL, I8251_BASE);
    EPROM_reset (NULL, ROM_SIZE);
    RAM_reset (NULL, RAM_BASE, RAM_SIZE);
    return SCPE_OK;
}
Пример #2
0
t_stat SBC_reset (DEVICE *dptr)
{    
    sim_printf("Initializing iSBC-80/24:\n");
    i8080_reset (NULL);
    i8251_devnum = 0;
    i8251_reset (NULL, I8251_BASE);
    i8253_devnum = 0;
    i8253_reset (NULL, I8253_BASE);
    i8255_devnum = 0;
    i8255_reset (NULL, I8255_BASE);
    i8259_devnum = 0;
    i8259_reset (NULL, I8259_BASE);
    EPROM_reset (NULL, ROM_SIZE);
    RAM_reset (NULL, RAM_BASE, RAM_SIZE);
    return SCPE_OK;
}
Пример #3
0
t_stat SBC_reset (DEVICE *dptr)
{    
    sim_printf("Initializing MDS-225\n");
    i8080_reset(NULL);
    i8251_reset(NULL, I8251_BASE_0, 0);
    i8251_reset(NULL, I8251_BASE_1, 0);
    i8253_reset(NULL, I8253_BASE, 0);
    i8255_reset(NULL, I8255_BASE_0, 0);
    i8255_reset(NULL, I8255_BASE_1, 1);
    i8259_reset(NULL, I8259_BASE_0, 0);
    i8259_reset(NULL, I8259_BASE_1, 1);
    EPROM_reset(NULL, ROM_SIZE);
    RAM_reset(NULL, RAM_BASE, RAM_SIZE);
    ipc_cont_reset(NULL, ICONT_BASE, 0);
    ioc_cont_reset(NULL, DBB_BASE, 0);
    return SCPE_OK;
}