File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ DEVICE tti_dev = {
169169 1 , 10 , 31 , 1 , 8 , 8 ,
170170 NULL , NULL , & tti_reset ,
171171 NULL , NULL , NULL ,
172- & tti_dib , DEV_DEBUG | DEV_UBUS | DEV_QBUS , 0 , tti_debug
172+ & tti_dib , DEV_DEBUG | DEV_UBUS | DEV_QBUS | DEV_DISABLE , 0 , tti_debug
173173 };
174174
175175/* TTO data structures
@@ -221,7 +221,7 @@ DEVICE tto_dev = {
221221 1 , 10 , 31 , 1 , 8 , 8 ,
222222 NULL , NULL , & tto_reset ,
223223 NULL , NULL , NULL ,
224- & tto_dib , DEV_UBUS | DEV_QBUS
224+ & tto_dib , DEV_UBUS | DEV_QBUS | DEV_DISABLE
225225 };
226226
227227/* CLK data structures
@@ -391,7 +391,7 @@ tti_unit.buf = 0;
391391tti_csr = 0 ;
392392CLR_INT (TTI );
393393sim_activate (& tti_unit , tmr_poll );
394- return SCPE_OK ;
394+ return auto_config ( dptr -> name , ( dptr -> flags & DEV_DIS ) ? 0 : 1 ) ;
395395}
396396
397397/* Terminal output address routines */
@@ -467,7 +467,7 @@ tto_unit.buf = 0;
467467tto_csr = CSR_DONE ;
468468CLR_INT (TTO );
469469sim_cancel (& tto_unit ); /* deactivate unit */
470- return SCPE_OK ;
470+ return auto_config ( dptr -> name , ( dptr -> flags & DEV_DIS ) ? 0 : 1 ) ;
471471}
472472
473473t_stat tty_set_mode (UNIT * uptr , int32 val , CONST char * cptr , void * desc )
You can’t perform that action at this time.
0 commit comments