The other half of patch011, read Numlck state from bios.

This commit is contained in:
Poul-Henning Kamp 1994-10-27 05:47:09 +00:00
parent c5bd56befa
commit a95f669560
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3925
3 changed files with 6 additions and 18 deletions

View File

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.72 1994/10/24 21:36:38 wollman Exp $
* $Id: syscons.c,v 1.73 1994/10/26 21:51:22 bde Exp $
*/
#include "sc.h"
@ -2154,11 +2154,7 @@ scinit(void)
scp->ysize = ROW;
scp->bell_pitch = BELL_PITCH;
scp->bell_duration = BELL_DURATION;
#ifndef LAPTOP
scp->status = NLKED;
#else
scp->status = 0;
#endif
scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0;
scp->pid = 0;
scp->proc = NULL;
scp->smode.mode = VT_AUTO;

View File

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.72 1994/10/24 21:36:38 wollman Exp $
* $Id: syscons.c,v 1.73 1994/10/26 21:51:22 bde Exp $
*/
#include "sc.h"
@ -2154,11 +2154,7 @@ scinit(void)
scp->ysize = ROW;
scp->bell_pitch = BELL_PITCH;
scp->bell_duration = BELL_DURATION;
#ifndef LAPTOP
scp->status = NLKED;
#else
scp->status = 0;
#endif
scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0;
scp->pid = 0;
scp->proc = NULL;
scp->smode.mode = VT_AUTO;

View File

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.72 1994/10/24 21:36:38 wollman Exp $
* $Id: syscons.c,v 1.73 1994/10/26 21:51:22 bde Exp $
*/
#include "sc.h"
@ -2154,11 +2154,7 @@ scinit(void)
scp->ysize = ROW;
scp->bell_pitch = BELL_PITCH;
scp->bell_duration = BELL_DURATION;
#ifndef LAPTOP
scp->status = NLKED;
#else
scp->status = 0;
#endif
scp->status = *(char *)(KERNBASE + 0x417) & 0x20 ? NLKED : 0;
scp->pid = 0;
scp->proc = NULL;
scp->smode.mode = VT_AUTO;