BOOK.PS
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:2328k
- (esc)126 1110 A
- 1278(=)S
- 1362(0;)S
- 1440 V
- (13296)210 648 A
- (return(ch);)462 1110 A
- 1530 V
- (13297)210 648 A
- 1026(})S
- 1800 V
- (13300)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1890 V
- (13301)210 648 A
- 1068(*)S
- (set_leds)336 2370 A
- 4260(*)S
- 1980 V
- (13302)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2070 V
- (13303)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (set_leds())420 1572 A
- 2160 V
- (13304)210 648 A
- 1026({)S
- 2250 V
- (13305)210 648 A
- 1026(/*)S
- (Set)126 1152 A
- (the)126 1320 A
- (LEDs)168 1488 A
- 1698(on)S
- (the)126 1824 A
- (caps)168 1992 A
- (lock)168 2202 A
- (and)126 2412 A
- (num)126 2580 A
- (lock)168 2748 A
- (keys)168 2958 A
- 3168(*/)S
- 2340 V
- (13306)210 648 A
- 2430 V
- (13307)210 648 A
- (unsigned)336 1110 A
- (leds;)210 1488 A
- 2520 V
- (13308)210 648 A
- 2610 V
- (13309)210 648 A
- 1110(if)S
- ((!pc_at))336 1236 A
- (return;)294 1614 A
- 2034(/*)S
- (PC/XT)210 2160 A
- (doesn't)294 2412 A
- (have)168 2748 A
- (LEDs)168 2958 A
- 3168(*/)S
- 2700 V
- (13310)210 648 A
- 2790 V
- (13311)210 648 A
- 1110(/*)S
- (encode)252 1236 A
- (LED)126 1530 A
- (bits)168 1698 A
- 1908(*/)S
- 2880 V
- (13312)210 648 A
- (leds)168 1110 A
- 1320(=)S
- ((slock)252 1404 A
- 1698(<<)S
- 1824(0))S
- 1950(|)S
- ((numlock)336 2034 A
- 2412(<<)S
- 2538(1))S
- 2664(|)S
- ((capslock)378 2748 A
- 3168(<<)S
- (2);)126 3294 A
- 2970 V
- (13313)210 648 A
- 3060 V
- (13314)210 648 A
- (kb_wait();)420 1110 A
- 2370(/*)S
- (wait)168 2496 A
- (for)126 2706 A
- (buffer)252 2874 A
- (empty)210 3168 A
- 3462(*/)S
- 3150 V
- (13315)210 648 A
- (out_byte(KEYBD,)630 1110 A
- (LED_CODE);)420 1782 A
- 2370(/*)S
- (prepare)294 2496 A
- (keyboard)336 2832 A
- 3210(to)S
- (accept)252 3336 A
- (LED)126 3630 A
- (values)252 3798 A
- 4092(*/)S
- 3240 V
- (13316)210 648 A
- (kb_ack();)378 1110 A
- 2370(/*)S
- (wait)168 2496 A
- (for)126 2706 A
- (ack)126 2874 A
- (response)336 3042 A
- 3462(*/)S
- 3330 V
- (13317)210 648 A
- 3420 V
- (13318)210 648 A
- (kb_wait();)420 1110 A
- 2370(/*)S
- (wait)168 2496 A
- (for)126 2706 A
- (buffer)252 2874 A
- (empty)210 3168 A
- 3462(*/)S
- 3510 V
- (13319)210 648 A
- (out_byte(KEYBD,)630 1110 A
- (leds);)252 1782 A
- 2370(/*)S
- (give)168 2496 A
- (keyboard)336 2706 A
- (LED)126 3084 A
- (values)252 3252 A
- 3546(*/)S
- 3600 V
- (13320)210 648 A
- (kb_ack();)378 1110 A
- 2370(/*)S
- (wait)168 2496 A
- (for)126 2706 A
- (ack)126 2874 A
- (response)336 3042 A
- 3462(*/)S
- 3690 V
- (13321)210 648 A
- 1026(})S
- 3960 V
- (13324)210 648 A
- (/*==========================================================================*)3234 1026 A
- 4050 V
- (13325)210 648 A
- 1068(*)S
- (kb_wait)294 2370 A
- 4218(*)S
- 4140 V
- (13326)210 648 A
- (*==========================================================================*/)3234 1068 A
- 4230 V
- (13327)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (kb_wait())378 1530 A
- 4320 V
- (13328)210 648 A
- 1026({)S
- 4410 V
- (13329)210 648 A
- 1026(/*)S
- (Wait)168 1152 A
- (until)210 1362 A
- (the)126 1614 A
- (controller)420 1782 A
- 2244(is)S
- (ready;)252 2370 A
- (return)252 2664 A
- (zero)168 2958 A
- 3168(if)S
- (this)168 3294 A
- (times)210 3504 A
- (out.)168 3756 A
- 3966(*/)S
- 4500 V
- (13330)210 648 A
- 4590 V
- (13331)210 648 A
- (int)126 1110 A
- (retries;)336 1278 A
- 4680 V
- (13332)210 648 A
- 4770 V
- (13333)210 648 A
- (retries)294 1110 A
- 1446(=)S
- (MAX_KB_BUSY_RETRIES)798 1530 A
- 2370(+)S
- 2454(1;)S
- 4860 V
- (13334)210 648 A
- (while)210 1110 A
- ((--retries)420 1362 A
- 1824(!=)S
- 1950(0)S
- 2034(&&)S
- (in_byte(KB_STATUS))756 2160 A
- 2958(&)S
- (KB_BUSY))336 3042 A
- 4950 V
- (13335)210 648 A
- 1362(;)S
- 2370(/*)S
- (wait)168 2496 A
- (until)210 2706 A
- (not)126 2958 A
- (busy)168 3126 A
- 3336(*/)S
- 5040 V
- (13336)210 648 A
- (return(retries);)672 1110 A
- 2370(/*)S
- (nonzero)294 2496 A
- 2832(if)S
- (ready)210 2958 A
- 3210(*/)S
- 5130 V
- (13337)210 648 A
- 1026(})S
- 5400 V
- (13340)210 648 A
- (/*==========================================================================*)3234 1026 A
- 5490 V
- (13341)210 648 A
- 1068(*)S
- (kb_ack)252 2370 A
- 4218(*)S
- 5580 V
- (13342)210 648 A
- (*==========================================================================*/)3234 1068 A
- 5670 V
- (13343)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (kb_ack())336 1530 A
- 5760 V
- (13344)210 648 A
- 1026({)S
- 5850 V
- (13345)210 648 A
- 1026(/*)S
- (Wait)168 1152 A
- (until)210 1362 A
- (kbd)126 1614 A
- (acknowledges)504 1782 A
- (last)168 2328 A
- (command;)336 2538 A
- (return)252 2916 A
- (zero)168 3210 A
- 3420(if)S
- (this)168 3546 A
- (times)210 3756 A
- (out.)168 4008 A
- 4218(*/)S
- 5940 V
- (13346)210 648 A
- 6030 V
- (13347)210 648 A
- (int)126 1110 A
- (retries;)336 1278 A
- 6120 V
- (13348)210 648 A
- 6210 V
- (13349)210 648 A
- (retries)294 1110 A
- 1446(=)S
- (MAX_KB_ACK_RETRIES)756 1530 A
- 2328(+)S
- 2412(1;)S
- 8418 V
- EP
- %%Page: 183 183
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 12 B
- (183)180 4248 A
- 900 V
- 7 LST
- (13350)210 648 A
- (while)210 1110 A
- ((--retries)420 1362 A
- 1824(!=)S
- 1950(0)S
- 2034(&&)S
- (in_byte(KEYBD))588 2160 A
- 2790(!=)S
- (KB_ACK))294 2916 A
- 990 V
- (13351)210 648 A
- 1362(;)S
- 2370(/*)S
- (wait)168 2496 A
- (for)126 2706 A
- (ack)126 2874 A
- 3042(*/)S
- 1080 V
- (13352)210 648 A
- (return(retries);)672 1110 A
- 2370(/*)S
- (nonzero)294 2496 A
- 2832(if)S
- (ack)126 2958 A
- (received)336 3126 A
- 3504(*/)S
- 1170 V
- (13353)210 648 A
- 1026(})S
- 1440 V
- (13356)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1530 V
- (13357)210 648 A
- 1068(*)S
- (kb_init)294 2370 A
- 4260(*)S
- 1620 V
- (13358)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1710 V
- (13359)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (kb_init(tp))462 1530 A
- 1800 V
- (13360)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 1890 V
- (13361)210 648 A
- 1026({)S
- 1980 V
- (13362)210 648 A
- 1026(/*)S
- (Initialize)420 1152 A
- (the)126 1614 A
- (keyboard)336 1782 A
- (driver.)294 2160 A
- 2496(*/)S
- 2070 V
- (13363)210 648 A
- 2160 V
- (13364)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (kb_s)168 1782 A
- (*kb;)168 1992 A
- 2250 V
- (13365)210 648 A
- 2340 V
- (13366)210 648 A
- 1110(/*)S
- (Input)210 1236 A
- (function.)378 1488 A
- 1908(*/)S
- 2430 V
- (13367)210 648 A
- (tp->tty_devread)630 1110 A
- 1782(=)S
- (kb_read;)336 1866 A
- 2520 V
- (13368)210 648 A
- 2610 V
- (13369)210 648 A
- 1110(kb)S
- 1236(=)S
- (kb_addr();)420 1320 A
- 2700 V
- (13370)210 648 A
- 2790 V
- (13371)210 648 A
- 1110(/*)S
- (Set)126 1236 A
- 1404(up)S
- (input)210 1530 A
- (queue.)252 1782 A
- 2076(*/)S
- 2880 V
- (13372)210 648 A
- (kb->ihead)378 1110 A
- 1530(=)S
- (kb->itail)378 1614 A
- 2034(=)S
- (kb->ibuf;)378 2118 A
- 2970 V
- (13373)210 648 A
- 3060 V
- (13374)210 648 A
- 1110(/*)S
- (Set)126 1236 A
- (initial)294 1404 A
- (values.)294 1740 A
- 2076(*/)S
- 3150 V
- (13375)210 648 A
- (caps_off)336 1110 A
- 1488(=)S
- 1572(1;)S
- 3240 V
- (13376)210 648 A
- (num_off)294 1110 A
- 1446(=)S
- 1530(1;)S
- 3330 V
- (13377)210 648 A
- (slock_off)378 1110 A
- 1530(=)S
- 1614(1;)S
- 3420 V
- (13378)210 648 A
- (esc)126 1110 A
- 1278(=)S
- 1362(0;)S
- 3510 V
- (13379)210 648 A
- 3600 V
- (13380)210 648 A
- (set_leds();)462 1110 A
- 2370(/*)S
- (turn)168 2496 A
- (off)126 2706 A
- (numlock)294 2874 A
- (led)126 3210 A
- 3378(*/)S
- 3690 V
- (13381)210 648 A
- 3780 V
- (13382)210 648 A
- (scan_keyboard();)672 1110 A
- 2370(/*)S
- (stop)168 2496 A
- (lockup)252 2706 A
- (from)168 3000 A
- (leftover)336 3210 A
- (keystroke)378 3588 A
- 4008(*/)S
- 3870 V
- (13383)210 648 A
- 3960 V
- (13384)210 648 A
- (put_irq_handler(KEYBOARD_IRQ,)1218 1110 A
- (kbd_hw_int);)504 2370 A
- 3042(/*)S
- (set)126 3168 A
- (the)126 3336 A
- (interrupt)378 3504 A
- (handler)294 3924 A
- 4260(*/)S
- 4050 V
- (13385)210 648 A
- (enable_irq(KEYBOARD_IRQ);)1050 1110 A
- 2370(/*)S
- (safe)168 2496 A
- (now)126 2706 A
- (everything)420 2874 A
- (initialised!)504 3336 A
- 3882(*/)S
- 4140 V
- (13386)210 648 A
- 1026(})S
- 4410 V
- (13389)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4500 V
- (13390)210 648 A
- 1068(*)S
- (kbd_loadmap)462 2370 A
- 4260(*)S
- 4590 V
- (13391)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4680 V
- (13392)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (kbd_loadmap(user_phys))924 1488 A
- 4770 V
- (13393)210 648 A
- (phys_bytes)420 1026 A
- (user_phys;)420 1488 A
- 4860 V
- (13394)210 648 A
- 1026({)S
- 4950 V
- (13395)210 648 A
- 1026(/*)S
- (Load)168 1152 A
- 1362(a)S
- (new)126 1446 A
- (keymap.)294 1614 A
- 1950(*/)S
- 5040 V
- (13396)210 648 A
- 5130 V
- (13397)210 648 A
- (phys_copy(user_phys,)840 1110 A
- (vir2phys(keymap),)714 1992 A
- ((phys_bytes))504 2748 A
- (sizeof(keymap));)672 3294 A
- 5220 V
- (13398)210 648 A
- (return(OK);)462 1110 A
- 5310 V
- (13399)210 648 A
- 1026(})S
- 5580 V
- (13402)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5670 V
- (13403)210 648 A
- 1068(*)S
- (func_key)336 2370 A
- 4260(*)S
- 5760 V
- (13404)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5850 V
- (13405)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (func_key(scode))630 1530 A
- 5940 V
- (13406)210 648 A
- (int)126 1026 A
- (scode;)252 1194 A
- 2370(/*)S
- (scan)168 2496 A
- (code)168 2706 A
- (for)126 2916 A
- 3084(a)S
- (function)336 3168 A
- (key)126 3546 A
- 3714(*/)S
- 6030 V
- (13407)210 648 A
- 1026({)S
- 6120 V
- (13408)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (procedure)378 1362 A
- (traps)210 1782 A
- (function)336 2034 A
- (keys)168 2412 A
- (for)126 2622 A
- (debugging)378 2790 A
- (and)126 3210 A
- (control)294 3378 A
- (purposes.)378 3714 A
- 4134(*/)S
- 6210 V
- (13409)210 648 A
- 8418 V
- EP
- %%Page: 184 184
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (184)180 648 A
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13410)210 648 A
- (unsigned)336 1110 A
- (code;)210 1488 A
- 990 V
- (13411)210 648 A
- 1080 V
- (13412)210 648 A
- (code)168 1110 A
- 1320(=)S
- (map_key0(scode);)672 1404 A
- 3042(/*)S
- (first)210 3168 A
- (ignore)252 3420 A
- (modifiers)378 3714 A
- 4134(*/)S
- 1170 V
- (13413)210 648 A
- 1110(if)S
- ((code)210 1236 A
- 1488(<)S
- 1572(F1)S
- 1698(||)S
- (code)168 1824 A
- 2034(>)S
- (F12))168 2118 A
- (return(FALSE);)588 2328 A
- 3042(/*)S
- (not)126 3168 A
- (our)126 3336 A
- (job)126 3504 A
- 3672(*/)S
- 1260 V
- (13414)210 648 A
- 1350 V
- (13415)210 648 A
- (switch)252 1110 A
- ((map_key(scode)))672 1404 A
- 2118({)S
- 3042(/*)S
- (include)294 3168 A
- (modifiers)378 3504 A
- 3924(*/)S
- 1440 V
- (13416)210 648 A
- 1530 V
- (13417)210 648 A
- (case)168 1110 A
- (F1:)126 1320 A
- (p_dmp();)336 1698 A
- (break;)252 2076 A
- 2706(/*)S
- (print)210 2832 A
- (process)294 3084 A
- (table)210 3420 A
- 3672(*/)S
- 1620 V
- (13418)210 648 A
- (case)168 1110 A
- (F2:)126 1320 A
- (map_dmp();)420 1698 A
- (break;)252 2160 A
- 2706(/*)S
- (print)210 2832 A
- (memory)252 3084 A
- (map)126 3378 A
- 3546(*/)S
- 1710 V
- (13419)210 648 A
- (case)168 1110 A
- (F3:)126 1320 A
- (toggle_scroll();)672 1698 A
- (break;)252 2412 A
- 2706(/*)S
- (hardware)336 2832 A
- (vs.)126 3210 A
- (software)336 3378 A
- (scrolling)378 3756 A
- 4176(*/)S
- 1800 V
- (13420)210 648 A
- (case)168 1110 A
- (CF7:)168 1320 A
- (sigchar(&tty_table[CONSOLE],)1176 1698 A
- (SIGQUIT);)378 2916 A
- (break;)252 3336 A
- 1890 V
- (13421)210 648 A
- (case)168 1110 A
- (CF8:)168 1320 A
- (sigchar(&tty_table[CONSOLE],)1176 1698 A
- (SIGINT);)336 2916 A
- (break;)252 3294 A
- 1980 V
- (13422)210 648 A
- (case)168 1110 A
- (CF9:)168 1320 A
- (sigchar(&tty_table[CONSOLE],)1176 1698 A
- (SIGKILL);)378 2916 A
- (break;)252 3336 A
- 2070 V
- (13423)210 648 A
- (default:)336 1110 A
- (return(FALSE);)588 1698 A
- 2160 V
- (13424)210 648 A
- 1110(})S
- 2250 V
- (13425)210 648 A
- (return(TRUE);)546 1110 A
- 2340 V
- (13426)210 648 A
- 1026(})S
- 2610 V
- (13429)210 648 A
- (/*==========================================================================*)3234 1026 A
- 2700 V
- (13430)210 648 A
- 1068(*)S
- (scan_keyboard)546 2370 A
- 4218(*)S
- 2790 V
- (13431)210 648 A
- (*==========================================================================*/)3234 1068 A
- 2880 V
- (13432)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (scan_keyboard())630 1530 A
- 2970 V
- (13433)210 648 A
- 1026({)S
- 3060 V
- (13434)210 648 A
- 1026(/*)S
- (Fetch)210 1152 A
- (the)126 1404 A
- (character)378 1572 A
- (from)168 1992 A
- (the)126 2202 A
- (keyboard)336 2370 A
- (hardware)336 2748 A
- (and)126 3126 A
- (acknowledge)462 3294 A
- (it.)126 3798 A
- 3966(*/)S
- 3150 V
- (13435)210 648 A
- 3240 V
- (13436)210 648 A
- (int)126 1110 A
- (code;)210 1278 A
- 3330 V
- (13437)210 648 A
- (int)126 1110 A
- (val;)168 1278 A
- 3420 V
- (13438)210 648 A
- 3510 V
- (13439)210 648 A
- (code)168 1110 A
- 1320(=)S
- (in_byte(KEYBD);)630 1404 A
- 2370(/*)S
- (get)126 2496 A
- (the)126 2664 A
- (scan)168 2832 A
- (code)168 3042 A
- (for)126 3252 A
- (the)126 3420 A
- (key)126 3588 A
- (struck)252 3756 A
- 4050(*/)S
- 3600 V
- (13440)210 648 A
- (val)126 1110 A
- 1278(=)S
- (in_byte(PORT_B);)672 1362 A
- 2370(/*)S
- (strobe)252 2496 A
- (the)126 2790 A
- (keyboard)336 2958 A
- 3336(to)S
- (ack)126 3462 A
- (the)126 3630 A
- (char)168 3798 A
- 4008(*/)S
- 3690 V
- (13441)210 648 A
- (out_byte(PORT_B,)672 1110 A
- (val)126 1824 A
- 1992(|)S
- (KBIT);)252 2076 A
- 2370(/*)S
- (strobe)252 2496 A
- (the)126 2790 A
- (bit)126 2958 A
- (high)168 3126 A
- 3336(*/)S
- 3780 V
- (13442)210 648 A
- (out_byte(PORT_B,)672 1110 A
- (val);)210 1824 A
- 2370(/*)S
- (now)126 2496 A
- (strobe)252 2664 A
- 2958(it)S
- (low)126 3084 A
- 3252(*/)S
- 3870 V
- (13443)210 648 A
- (return)252 1110 A
- (code;)210 1404 A
- 3960 V
- (13444)210 648 A
- 1026(})S
- 4230 V
- (13447)210 648 A
- (/*==========================================================================*)3234 1026 A
- 4320 V
- (13448)210 648 A
- 1068(*)S
- (wreboot)294 2370 A
- 4218(*)S
- 4410 V
- (13449)210 648 A
- (*==========================================================================*/)3234 1068 A
- 4500 V
- (13450)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (wreboot(how))504 1530 A
- 4590 V
- (13451)210 648 A
- (int)126 1026 A
- (how;)168 1194 A
- 2034(/*)S
- 2160(0)S
- 2244(=)S
- (halt,)210 2328 A
- 2580(1)S
- 2664(=)S
- (reboot,)294 2748 A
- 3084(2)S
- 3168(=)S
- (panic!,)294 3252 A
- (...)126 3588 A
- 3756(*/)S
- 4680 V
- (13452)210 648 A
- 1026({)S
- 4770 V
- (13453)210 648 A
- 1026(/*)S
- (Wait)168 1152 A
- (for)126 1362 A
- (keystrokes)420 1530 A
- (for)126 1992 A
- (printing)336 2160 A
- (debugging)378 2538 A
- (info)168 2958 A
- (and)126 3168 A
- (reboot.)294 3336 A
- 3672(*/)S
- 4860 V
- (13454)210 648 A
- 4950 V
- (13455)210 648 A
- (int)126 1110 A
- (quiet,)252 1278 A
- (code;)210 1572 A
- 5040 V
- (13456)210 648 A
- (static)252 1110 A
- (u16_t)210 1404 A
- (magic)210 1656 A
- 1908(=)S
- (MEMCHECK_MAG;)546 1992 A
- 5130 V
- (13457)210 648 A
- (struct)252 1110 A
- (tasktab)294 1404 A
- (*ttp;)210 1740 A
- 5220 V
- (13458)210 648 A
- 5310 V
- (13459)210 648 A
- 1110(/*)S
- (Mask)168 1236 A
- (all)126 1446 A
- (interrupts.)462 1614 A
- 2118(*/)S
- 5400 V
- (13460)210 648 A
- (out_byte(INT_CTLMASK,)882 1110 A
- (3040);)168 2034 A
- 5490 V
- (13461)210 648 A
- 5580 V
- (13462)210 648 A
- 1110(/*)S
- (Tell)168 1236 A
- (several)294 1446 A
- (tasks)210 1782 A
- 2034(to)S
- (stop.)210 2160 A
- 2412(*/)S
- 5670 V
- (13463)210 648 A
- (cons_stop();)504 1110 A
- 5760 V
- (13464)210 648 A
- (floppy_stop();)588 1110 A
- 5850 V
- (13465)210 648 A
- (clock_stop();)546 1110 A
- 5940 V
- (13466)210 648 A
- 6030 V
- (13467)210 648 A
- 1110(if)S
- ((how)168 1236 A
- 1446(==)S
- (RBT_HALT))378 1572 A
- 1992({)S
- 6120 V
- (13468)210 648 A
- (printf("System)588 1362 A
- (Halted\n");)462 1992 A
- 6210 V
- (13469)210 648 A
- 1362(if)S
- ((!mon_return))546 1488 A
- (how)126 2076 A
- 2244(=)S
- (RBT_PANIC;)420 2328 A
- 8418 V
- EP
- %%Page: 185 185
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 12 B
- (185)180 4248 A
- 900 V
- 7 LST
- (13470)210 648 A
- 1110(})S
- 990 V
- (13471)210 648 A
- 1080 V
- (13472)210 648 A
- 1110(if)S
- ((how)168 1236 A
- 1446(==)S
- (RBT_PANIC))420 1572 A
- 2034({)S
- 1170 V
- (13473)210 648 A
- 1362(/*)S
- 1488(A)S
- (panic!)252 1572 A
- 1866(*/)S
- 1260 V
- (13474)210 648 A
- (printf("Hit)462 1362 A
- (ESC)126 1866 A
- 2034(to)S
- (reboot,)294 2160 A
- (F-keys)252 2496 A
- (for)126 2790 A
- (debug)210 2958 A
- (dumps\n");)420 3210 A
- 1350 V
- (13475)210 648 A
- 1440 V
- (13476)210 648 A
- ((void))252 1362 A
- (scan_keyboard();)672 1656 A
- 2370(/*)S
- (ack)126 2496 A
- (any)126 2664 A
- (old)126 2832 A
- (input)210 3000 A
- 3252(*/)S
- 1530 V
- (13477)210 648 A
- (quiet)210 1362 A
- 1614(=)S
- (scan_keyboard();/*)756 1698 A
- (quiescent)378 2496 A
- (value)210 2916 A
- 3168((0)S
- 3294(on)S
- (PC,)126 3420 A
- (last)168 3588 A
- (code)168 3798 A
- 4008(on)S
- (AT)*/)210 4134 A
- 1620 V
- (13478)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 1710 V
- (13479)210 648 A
- (milli_delay(100);)714 1698 A
- 2706(/*)S
- (pause)210 2832 A
- (for)126 3084 A
- 3252(a)S
- (decisecond)420 3336 A
- 3798(*/)S
- 1800 V
- (13480)210 648 A
- (code)168 1698 A
- 1908(=)S
- (scan_keyboard();)672 1992 A
- 1890 V
- (13481)210 648 A
- 1698(if)S
- ((code)210 1824 A
- 2076(!=)S
- (quiet))252 2202 A
- 2496({)S
- 1980 V
- (13482)210 648 A
- 2034(/*)S
- 2160(A)S
- (key)126 2244 A
- (has)126 2412 A
- (been)168 2580 A
- (pressed.)336 2790 A
- 3168(*/)S
- 2070 V
- (13483)210 648 A
- 2034(if)S
- ((code)210 2160 A
- 2412(==)S
- (ESC_SCAN))378 2538 A
- (break;)252 2958 A
- 3252(/*)S
- (reboot)252 3378 A
- 3672(if)S
- (ESC)126 3798 A
- (typed)210 3966 A
- 4218(*/)S
- 2160 V
- (13484)210 648 A
- ((void))252 2034 A
- (func_key(code);)630 2328 A
- 3252(/*)S
- (process)294 3378 A
- (function)336 3714 A
- (key)126 4092 A
- 4260(*/)S
- 2250 V
- (13485)210 648 A
- (quiet)210 2034 A
- 2286(=)S
- (scan_keyboard();)672 2370 A
- 2340 V
- (13486)210 648 A
- 1698(})S
- 2430 V
- (13487)210 648 A
- 1362(})S
- 2520 V
- (13488)210 648 A
- (how)126 1362 A
- 1530(=)S
- (RBT_REBOOT;)462 1614 A
- 2610 V
- (13489)210 648 A
- 1110(})S
- 2700 V
- (13490)210 648 A
- 2790 V
- (13491)210 648 A
- 1110(if)S
- ((how)168 1236 A
- 1446(==)S
- (RBT_REBOOT))462 1572 A
- (printf("Rebooting\n");)924 2076 A
- 2880 V
- (13492)210 648 A
- 2970 V
- (13493)210 648 A
- 1110(if)S
- ((mon_return)462 1236 A
- 1740(&&)S
- (how)126 1866 A
- 2034(!=)S
- (RBT_RESET))420 2160 A
- 2622({)S
- 3060 V
- (13494)210 648 A
- 1362(/*)S
- (Reinitialize)504 1488 A
- (the)126 2034 A
- (interrupt)378 2202 A
- (controllers)462 2622 A
- 3126(to)S
- (the)126 3252 A
- (BIOS)168 3420 A
- (defaults.)378 3630 A
- 4050(*/)S
- 3150 V
- (13495)210 648 A
- (intr_init(0);)546 1362 A
- 3240 V
- (13496)210 648 A
- (out_byte(INT_CTLMASK,)882 1362 A
- (0);)126 2286 A
- 3330 V
- (13497)210 648 A
- (out_byte(INT2_CTLMASK,)924 1362 A
- (0);)126 2328 A
- 3420 V
- (13498)210 648 A
- 3510 V
- (13499)210 648 A
- 1362(/*)S
- (Return)252 1488 A
- 1782(to)S
- (the)126 1908 A
- (boot)168 2076 A
- (monitor.)336 2286 A
- 2664(*/)S
- 3600 V
- (13500)210 648 A
- 1362(if)S
- ((how)168 1488 A
- 1698(==)S
- (RBT_HALT))378 1824 A
- 2244({)S
- 3690 V
- (13501)210 648 A
- (reboot_code)462 1698 A
- 2202(=)S
- (vir2phys("");)546 2286 A
- 3780 V
- (13502)210 648 A
- 1362(})S
- (else)168 1446 A
- 3870 V
- (13503)210 648 A
- 1362(if)S
- ((how)168 1488 A
- 1698(==)S
- (RBT_REBOOT))462 1824 A
- 2328({)S
- 3960 V
- (13504)210 648 A
- (reboot_code)462 1698 A
- 2202(=)S
- (vir2phys("delay;boot");)966 2286 A
- 4050 V
- (13505)210 648 A
- 1362(})S
- 4140 V
- (13506)210 648 A
- (level0(monitor);)672 1362 A
- 4230 V
- (13507)210 648 A
- 1110(})S
- 4320 V
- (13508)210 648 A
- 4410 V
- (13509)210 648 A
- 1110(/*)S
- (Stop)168 1236 A
- (BIOS)168 1446 A
- (memory)252 1656 A
- (test.)210 1950 A
- 2202(*/)S
- 4500 V
- (13510)210 648 A
- (phys_copy(vir2phys(&magic),)1134 1110 A
- ((phys_bytes))504 2286 A
- (MEMCHECK_ADR,)546 2832 A
- 4590 V
- (13511)210 648 A
- ((phys_bytes))504 3042 A
- (sizeof(magic));)630 3588 A
- 4680 V
- (13512)210 648 A
- 4770 V
- (13513)210 648 A
- 1110(if)S
- ((protected_mode))672 1236 A
- 1950({)S
- 4860 V
- (13514)210 648 A
- 1362(/*)S
- (Use)126 1488 A
- (the)126 1656 A
- 1824(AT)S
- (keyboard)336 1950 A
- (controller)420 2328 A
- 2790(to)S
- (reset)210 2916 A
- (the)126 3168 A
- (processor.)420 3336 A
- 4950 V
- (13515)210 648 A
- 1404(*)S
- (The)126 1488 A
- (A20)126 1656 A
- (line)168 1824 A
- 2034(is)S
- (kept)168 2160 A
- (enabled)294 2370 A
- 2706(in)S
- (case)168 2832 A
- (this)168 3042 A
- (code)168 3252 A
- 3462(is)S
- (ever)168 3588 A
- 5040 V
- (13516)210 648 A
- 1404(*)S
- (run)126 1488 A
- (from)168 1656 A
- (extended)336 1866 A
- (memory,)294 2244 A
- (and)126 2580 A
- (because)294 2748 A
- (some)168 3084 A
- (machines)336 3294 A
- 5130 V
- (13517)210 648 A
- 1404(*)S
- (appear)252 1488 A
- 1782(to)S
- (drive)210 1908 A
- (the)126 2160 A
- (fake)168 2328 A
- (A20)126 2538 A
- (high)168 2706 A
- (instead)294 2916 A
- 3252(of)S
- (low)126 3378 A
- (just)168 3546 A
- 5220 V
- (13518)210 648 A
- 1404(*)S
- (after)210 1488 A
- (reset,)252 1740 A
- (leading)294 2034 A
- 2370(to)S
- 2496(an)S
- (illegal)294 2622 A
- (opode)210 2958 A
- (trap.)210 3210 A
- (This)168 3504 A
- (bug)126 3714 A
- 5310 V
- (13519)210 648 A
- 1404(*)S
- 1488(is)S
- (more)168 1614 A
- 1824(of)S
- 1950(a)S
- (problem)294 2034 A
- 2370(if)S
- (the)126 2496 A
- (fake)168 2664 A
- (A20)126 2874 A
- 3042(is)S
- 3168(in)S
- (use,)168 3294 A
- 3504(as)S
- 3630(it)S
- 5400 V
- (13520)210 648 A
- 1404(*)S
- (would)210 1488 A
- 1740(be)S
- 1866(if)S
- (the)126 1992 A
- (keyboard)336 2160 A
- (reset)210 2538 A
- (were)168 2790 A
- (used)168 3000 A
- (for)126 3210 A
- (real)168 3378 A
- (mode.)210 3588 A
- 5490 V
- (13521)210 648 A
- 1404(*/)S
- 5580 V
- (13522)210 648 A
- (kb_wait();)420 1362 A
- 5670 V
- (13523)210 648 A
- (out_byte(KB_COMMAND,)840 1362 A
- 5760 V
- (13524)210 648 A
- (KB_PULSE_OUTPUT)630 1740 A
- 2412(|)S
- ((0x0F)210 2496 A
- 2748(&)S
- (304(KB_GATE_A20)546 2832 A
- 3420(|)S
- (KB_RESET)));)504 3504 A
- 5850 V
- (13525)210 648 A
- (milli_delay(10);)672 1362 A
- 5940 V
- (13526)210 648 A
- 6030 V
- (13527)210 648 A
- 1362(/*)S
- 1488(If)S
- (the)126 1614 A
- (nice)168 1782 A
- (method)252 1992 A
- (fails)210 2286 A
- (then)168 2538 A
- 2748(do)S
- 2874(a)S
- (reset.)252 2958 A
- 3294(In)S
- (protected)378 3420 A
- 6120 V
- (13528)210 648 A
- 1404(*)S
- (mode)168 1488 A
- (this)168 1698 A
- (means)210 1908 A
- 2160(a)S
- (processor)378 2244 A
- (shutdown.)378 2664 A
- 6210 V
- (13529)210 648 A
- 1404(*/)S
- 8418 V
- EP
- %%Page: 186 186
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (186)180 648 A
- 11 R
- 1941(File:)S
- (src/kernel/keyboard.c)960 2174 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13530)210 648 A
- (printf("Hard)504 1362 A
- (reset...\n");)546 1908 A
- 990 V
- (13531)210 648 A
- (milli_delay(250);)714 1362 A
- 1080 V
- (13532)210 648 A
- 1110(})S
- 1170 V
- (13533)210 648 A
- 1110(/*)S
- 1236(In)S
- (real)168 1362 A
- (mode,)210 1572 A
- (jumping)294 1824 A
- 2160(to)S
- (the)126 2286 A
- (reset)210 2454 A
- (address)294 2706 A
- 3042(is)S
- (good)168 3168 A
- (enough.)294 3378 A
- 3714(*/)S
- 1260 V
- (13534)210 648 A
- (level0(reset);)588 1110 A
- 1350 V
- (13535)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/kernel/console.c)840 2034 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (13600)210 648 A
- 1026(/*)S
- (Code)168 1152 A
- (and)126 1362 A
- (data)168 1530 A
- (for)126 1740 A
- (the)126 1908 A
- (IBM)126 2076 A
- (console)294 2244 A
- (driver.)294 2580 A
- 2340 V
- (13601)210 648 A
- 1068(*)S
- 2430 V
- (13602)210 648 A
- 1068(*)S
- (The)126 1152 A
- (6845)168 1320 A
- (video)210 1530 A
- (controller)420 1782 A
- (used)168 2244 A
- 2454(by)S
- (the)126 2580 A
- (IBM)126 2748 A
- 2916(PC)S
- (shares)252 3042 A
- (its)126 3336 A
- (video)210 3504 A
- (memory)252 3756 A
- (with)168 4050 A
- 2520 V
- (13603)210 648 A
- 1068(*)S
- (the)126 1152 A
- (CPU)126 1320 A
- (somewhere)378 1488 A
- 1908(in)S
- (the)126 2034 A
- (0xB0000)294 2202 A
- (memory)252 2538 A
- (bank.)210 2832 A
- 3126(To)S
- (the)126 3252 A
- (6845)168 3420 A
- (this)168 3630 A
- (memory)252 3840 A
- 2610 V
- (13604)210 648 A
- 1068(*)S
- (consists)336 1152 A
- 1530(of)S
- (16-bit)252 1656 A
- (words.)252 1950 A
- (Each)168 2286 A
- (word)168 2496 A
- (has)126 2706 A
- 2874(a)S
- (character)378 2958 A
- (code)168 3378 A
- 3588(in)S
- (the)126 3714 A
- (low)126 3882 A
- (byte)168 4050 A
- 2700 V
- (13605)210 648 A
- 1068(*)S
- (and)126 1152 A
- 1320(a)S
- (so-called)378 1404 A
- (attribute)378 1824 A
- (byte)168 2244 A
- 2454(in)S
- (the)126 2580 A
- (high)168 2748 A
- (byte.)210 2958 A
- (The)126 3252 A
- (CPU)126 3420 A
- (directly)336 3588 A
- (modifies)336 3966 A
- 2790 V
- (13606)210 648 A
- 1068(*)S
- (video)210 1152 A
- (memory)252 1404 A
- 1698(to)S
- (display)294 1824 A
- (characters,)462 2160 A
- (and)126 2664 A
- (sets)168 2832 A
- (two)126 3042 A
- (registers)378 3210 A
- 3630(on)S
- (the)126 3756 A
- (6845)168 3924 A
- (that)168 4134 A
- 2880 V
- (13607)210 648 A
- 1068(*)S
- (specify)294 1152 A
- (the)126 1488 A
- (video)210 1656 A
- (origin)252 1908 A
- (and)126 2202 A
- (the)126 2370 A
- (cursor)252 2538 A
- (position.)378 2832 A
- (The)126 3294 A
- (video)210 3462 A
- (origin)252 3714 A
- 4008(is)S
- (the)126 4134 A
- 2970 V
- (13608)210 648 A
- 1068(*)S
- (place)210 1152 A
- 1404(in)S
- (video)210 1530 A
- (memory)252 1782 A
- (where)210 2076 A
- (the)126 2328 A
- (first)210 2496 A
- (character)378 2748 A
- ((upper)252 3168 A
- (left)168 3462 A
- (corner))294 3672 A
- (can)126 4008 A
- 3060 V
- (13609)210 648 A
- 1068(*)S
- 1152(be)S
- (found.)252 1278 A
- (Moving)252 1614 A
- (the)126 1908 A
- (origin)252 2076 A
- 2370(is)S
- 2496(a)S
- (fast)168 2580 A
- (way)126 2790 A
- 2958(to)S
- (scroll)252 3084 A
- (the)126 3378 A
- (screen.)294 3546 A
- (Some)168 3924 A
- 3150 V
- (13610)210 648 A
- 1068(*)S
- (video)210 1152 A
- (adapters)336 1404 A
- (wrap)168 1782 A
- (around)252 1992 A
- (the)126 2286 A
- (top)126 2454 A
- 2622(of)S
- (video)210 2748 A
- (memory,)294 3000 A
- 3336(so)S
- (the)126 3462 A
- (origin)252 3630 A
- (can)126 3924 A
- 3240 V
- (13611)210 648 A
- 1068(*)S
- (move)168 1152 A
- (without)294 1362 A
- (bounds.)294 1698 A
- (For)126 2076 A
- (other)210 2244 A
- (adapters)336 2496 A
- (screen)252 2874 A
- (memory)252 3168 A
- (must)168 3462 A
- (sometimes)378 3672 A
- 4092(be)S
- 3330 V
- (13612)210 648 A
- 1068(*)S
- (moved)210 1152 A
- 1404(to)S
- (reset)210 1530 A
- (the)126 1782 A
- (origin.)294 1950 A
- (All)126 2328 A
- (computations)504 2496 A
- 3042(on)S
- (video)210 3168 A
- (memory)252 3420 A
- (use)126 3714 A
- (character)378 3882 A
- 3420 V
- (13613)210 648 A
- 1068(*)S
- ((word))252 1152 A
- (addresses)378 1446 A
- (for)126 1866 A
- (simplicity)420 2034 A
- (and)126 2496 A
- (assume)252 2664 A
- (there)210 2958 A
- 3210(is)S
- 3336(no)S
- (wrapping.)378 3462 A
- (The)126 3924 A
- 3510 V
- (13614)210 648 A
- 1068(*)S
- (assembly)336 1152 A
- (support)294 1530 A
- (functions)378 1866 A
- (translate)378 2286 A
- (the)126 2706 A
- (word)168 2874 A
- (addresses)378 3084 A
- 3504(to)S
- (byte)168 3630 A
- (addresses)378 3840 A
- 3600 V
- (13615)210 648 A
- 1068(*)S
- (and)126 1152 A
- (the)126 1320 A
- (scrolling)378 1488 A
- (function)336 1908 A
- (worries)294 2286 A
- (about)210 2622 A
- (wrapping.)378 2874 A
- 3690 V
- (13616)210 648 A
- 1068(*/)S
- 3780 V
- (13617)210 648 A
- 3870 V
- (13618)210 648 A
- (#include)336 1026 A
- ("kernel.h")420 1404 A
- 3960 V
- (13619)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 4050 V
- (13620)210 648 A
- (#include)336 1026 A
- (<minix/callnr.h>)672 1404 A
- 4140 V
- (13621)210 648 A
- (#include)336 1026 A
- (<minix/com.h>)546 1404 A
- 4230 V
- (13622)210 648 A
- (#include)336 1026 A
- ("protect.h")462 1404 A
- 4320 V
- (13623)210 648 A
- (#include)336 1026 A
- ("tty.h")294 1404 A
- 4410 V
- (13624)210 648 A
- (#include)336 1026 A
- ("proc.h")336 1404 A
- 4500 V
- (13625)210 648 A
- 4590 V
- (13626)210 648 A
- 1026(/*)S
- (Definitions)462 1152 A
- (used)168 1656 A
- 1866(by)S
- (the)126 1992 A
- (console)294 2160 A
- (driver.)294 2496 A
- 2832(*/)S
- 4680 V
- (13627)210 648 A
- (#define)294 1026 A
- (MONO_BASE)378 1362 A
- (0xB0000L)336 1908 A
- 2370(/*)S
- (base)168 2496 A
- 2706(of)S
- (mono)168 2832 A
- (video)210 3042 A
- (memory)252 3294 A
- 3588(*/)S
- 4770 V
- (13628)210 648 A
- (#define)294 1026 A
- (COLOR_BASE)420 1362 A
- (0xB8000L)336 1908 A
- 2370(/*)S
- (base)168 2496 A
- 2706(of)S
- (color)210 2832 A
- (video)210 3084 A
- (memory)252 3336 A
- 3630(*/)S
- 4860 V
- (13629)210 648 A
- (#define)294 1026 A
- (MONO_SIZE)378 1362 A
- (0x1000)252 1950 A
- 2370(/*)S
- 2496(4K)S
- (mono)168 2622 A
- (video)210 2832 A
- (memory)252 3084 A
- 3378(*/)S
- 4950 V
- (13630)210 648 A
- (#define)294 1026 A
- (COLOR_SIZE)420 1362 A
- (0x4000)252 1950 A
- 2370(/*)S
- (16K)126 2496 A
- (color)210 2664 A
- (video)210 2916 A
- (memory)252 3168 A
- 3462(*/)S
- 5040 V
- (13631)210 648 A
- (#define)294 1026 A
- (EGA_SIZE)336 1362 A
- (0x8000)252 1950 A
- 2370(/*)S
- (EGA)126 2496 A
- 2664(&)S
- (VGA)126 2748 A
- (have)168 2916 A
- 3126(at)S
- (least)210 3252 A
- (32K)126 3504 A
- 3672(*/)S
- 5130 V
- (13632)210 648 A
- (#define)294 1026 A
- (BLANK_COLOR)462 1362 A
- (0x0700)252 1950 A
- 2370(/*)S
- (determines)420 2496 A
- (cursor)252 2958 A
- (color)210 3252 A
- 3504(on)S
- (blank)210 3630 A
- (screen)252 3882 A
- 4176(*/)S
- 5220 V
- (13633)210 648 A
- (#define)294 1026 A
- (SCROLL_UP)378 1362 A
- 2160(0)S
- 2370(/*)S
- (scroll)252 2496 A
- (forward)294 2790 A
- 3126(*/)S
- 5310 V
- (13634)210 648 A
- (#define)294 1026 A
- (SCROLL_DOWN)462 1362 A
- 2160(1)S
- 2370(/*)S
- (scroll)252 2496 A
- (backward)336 2790 A
- 3168(*/)S
- 5400 V
- (13635)210 648 A
- (#define)294 1026 A
- (BLANK_MEM)378 1362 A
- (((u16_t)294 1782 A
- 2118(*))S
- 2244(0))S
- 2370(/*)S
- (tells)210 2496 A
- (mem_vid_copy())588 2748 A
- 3378(to)S
- (blank)210 3504 A
- (the)126 3756 A
- (screen)252 3924 A
- 4218(*/)S
- 5490 V
- (13636)210 648 A
- (#define)294 1026 A
- (CONS_RAM_WORDS)588 1362 A
- 2118(80)S
- 2370(/*)S
- (video)210 2496 A
- (ram)126 2748 A
- (buffer)252 2916 A
- (size)168 3210 A
- 3420(*/)S
- 5580 V
- (13637)210 648 A
- (#define)294 1026 A
- (MAX_ESC_PARMS)546 1362 A
- 2160(2)S
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (escape)252 2916 A
- (sequence)336 3210 A
- (params)252 3588 A
- (allowed)294 3882 A
- 4218(*/)S
- 5670 V
- (13638)210 648 A
- 5760 V
- (13639)210 648 A
- 1026(/*)S
- (Constants)378 1152 A
- (relating)336 1572 A
- 1950(to)S
- (the)126 2076 A
- (controller)420 2244 A
- (chips.)252 2706 A
- 3000(*/)S
- 5850 V
- (13640)210 648 A
- (#define)294 1026 A
- (M_6845)252 1362 A
- (0x3B4)210 1992 A
- 2370(/*)S
- (port)168 2496 A
- (for)126 2706 A
- (6845)168 2874 A
- (mono)168 3084 A
- 3294(*/)S
- 5940 V
- (13641)210 648 A
- (#define)294 1026 A
- (C_6845)252 1362 A
- (0x3D4)210 1992 A
- 2370(/*)S
- (port)168 2496 A
- (for)126 2706 A
- (6845)168 2874 A
- (color)210 3084 A
- 3336(*/)S
- 6030 V
- (13642)210 648 A
- (#define)294 1026 A
- (EGA)126 1362 A
- (0x3C4)210 1992 A
- 2370(/*)S
- (port)168 2496 A
- (for)126 2706 A
- (EGA)126 2874 A
- 3042(or)S
- (VGA)126 3168 A
- (card)168 3336 A
- 3546(*/)S
- 6120 V
- (13643)210 648 A
- (#define)294 1026 A
- (INDEX)210 1362 A
- 2160(0)S
- 2370(/*)S
- (6845's)252 2496 A
- (index)210 2790 A
- (register)336 3042 A
- 3420(*/)S
- 6210 V
- (13644)210 648 A
- (#define)294 1026 A
- (DATA)168 1362 A
- 2160(1)S
- 2370(/*)S
- (6845's)252 2496 A
- (data)168 2790 A
- (register)336 3000 A
- 3378(*/)S
- 8418 V
- EP
- %%Page: 187 187
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (187)180 4248 A
- 900 V
- 7 LST
- (13645)210 648 A
- (#define)294 1026 A
- (VID_ORG)294 1362 A
- 2118(12)S
- 2370(/*)S
- (6845's)252 2496 A
- (origin)252 2790 A
- (register)336 3084 A
- 3462(*/)S
- 990 V
- (13646)210 648 A
- (#define)294 1026 A
- (CURSOR)252 1362 A
- 2118(14)S
- 2370(/*)S
- (6845's)252 2496 A
- (cursor)252 2790 A
- (register)336 3084 A
- 3462(*/)S
- 1080 V
- (13647)210 648 A
- 1170 V
- (13648)210 648 A
- 1026(/*)S
- (Beeper.)294 1152 A
- 1488(*/)S
- 1260 V
- (13649)210 648 A
- (#define)294 1026 A
- (BEEP_FREQ)378 1362 A
- (0x0533)252 1950 A
- 2370(/*)S
- (value)210 2496 A
- 2748(to)S
- (put)126 2874 A
- (into)168 3042 A
- (timer)210 3252 A
- 3504(to)S
- (set)126 3630 A
- (beep)168 3798 A
- (freq)168 4008 A
- 4218(*/)S
- 1350 V
- (13650)210 648 A
- (#define)294 1026 A
- (B_TIME)252 1362 A
- 2160(3)S
- 2370(/*)S
- (length)252 2496 A
- 2790(of)S
- (CTRL-G)252 2916 A
- (beep)168 3210 A
- 3420(is)S
- (ticks)210 3546 A
- 3798(*/)S
- 1440 V
- (13651)210 648 A
- 1530 V
- (13652)210 648 A
- 1026(/*)S
- (definitions)462 1152 A
- (used)168 1656 A
- (for)126 1866 A
- (font)168 2034 A
- (management)420 2244 A
- 2706(*/)S
- 1620 V
- (13653)210 648 A
- (#define)294 1026 A
- (GA_SEQUENCER_INDEX)756 1362 A
- (0x3C4)210 2370 A
- 1710 V
- (13654)210 648 A
- (#define)294 1026 A
- (GA_SEQUENCER_DATA)714 1362 A
- (0x3C5)210 2370 A
- 1800 V
- (13655)210 648 A
- (#define)294 1026 A
- (GA_GRAPHICS_INDEX)714 1362 A
- (0x3CE)210 2370 A
- 1890 V
- (13656)210 648 A
- (#define)294 1026 A
- (GA_GRAPHICS_DATA)672 1362 A
- (0x3CF)210 2370 A
- 1980 V
- (13657)210 648 A
- (#define)294 1026 A
- (GA_VIDEO_ADDRESS)672 1362 A
- (0xA0000L)336 2370 A
- 2070 V
- (13658)210 648 A
- (#define)294 1026 A
- (GA_FONT_SIZE)504 1362 A
- (8192)168 2370 A
- 2160 V
- (13659)210 648 A
- 2250 V
- (13660)210 648 A
- 1026(/*)S
- (Global)252 1152 A
- (variables)378 1446 A
- (used)168 1866 A
- 2076(by)S
- (the)126 2202 A
- (console)294 2370 A
- (driver.)294 2706 A
- 3042(*/)S
- 2340 V
- (13661)210 648 A
- (PUBLIC)252 1026 A
- (unsigned)336 1320 A
- (vid_seg;)336 1698 A
- 2370(/*)S
- (video)210 2496 A
- (ram)126 2748 A
- (selector)336 2916 A
- ((0xB0000)336 3294 A
- 3672(or)S
- (0xB8000))336 3798 A
- 4176(*/)S
- 2430 V
- (13662)210 648 A
- (PUBLIC)252 1026 A
- (unsigned)336 1320 A
- (vid_size;)378 1698 A
- 2370(/*)S
- (0x2000)252 2496 A
- (for)126 2790 A
- (color)210 2958 A
- 3210(or)S
- (0x0800)252 3336 A
- (for)126 3630 A
- (mono)168 3798 A
- 4008(*/)S
- 2520 V
- (13663)210 648 A
- (PUBLIC)252 1026 A
- (unsigned)336 1320 A
- (vid_mask;)378 1698 A
- 2370(/*)S
- (0x1FFF)252 2496 A
- (for)126 2790 A
- (color)210 2958 A
- 3210(or)S
- (0x07FF)252 3336 A
- (for)126 3630 A
- (mono)168 3798 A
- 4008(*/)S
- 2610 V
- (13664)210 648 A
- (PUBLIC)252 1026 A
- (unsigned)336 1320 A
- (blank_color)462 1698 A
- 2202(=)S
- (BLANK_COLOR;)504 2286 A
- 2832(/*)S
- (display)294 2958 A
- (code)168 3294 A
- (for)126 3504 A
- (blank)210 3672 A
- 3924(*/)S
- 2700 V
- (13665)210 648 A
- 2790 V
- (13666)210 648 A
- 1026(/*)S
- (Private)294 1152 A
- (variables)378 1488 A
- (used)168 1908 A
- 2118(by)S
- (the)126 2244 A
- (console)294 2412 A
- (driver.)294 2748 A
- 3084(*/)S
- 2880 V
- (13667)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (vid_port;)378 1530 A
- 2370(/*)S
- (I/O)126 2496 A
- (port)168 2664 A
- (for)126 2874 A
- (accessing)378 3042 A
- (6845)168 3462 A
- 3672(*/)S
- 2970 V
- (13668)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (wrap;)210 1530 A
- 2370(/*)S
- (hardware)336 2496 A
- (can)126 2874 A
- (wrap?)210 3042 A
- 3294(*/)S
- 3060 V
- (13669)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (softscroll;)462 1530 A
- 2370(/*)S
- 2496(1)S
- 2580(=)S
- (software)336 2664 A
- (scrolling,)420 3042 A
- 3504(0)S
- 3588(=)S
- (hardware)336 3672 A
- 4050(*/)S
- 3150 V
- (13670)210 648 A
- (PRIVATE)294 1026 A
- (unsigned)336 1362 A
- (vid_base;)378 1740 A
- 2370(/*)S
- (base)168 2496 A
- 2706(of)S
- (video)210 2832 A
- (ram)126 3084 A
- ((0xB000)294 3252 A
- 3588(or)S
- (0xB800))294 3714 A
- 4050(*/)S
- 3240 V
- (13671)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (beeping;)336 1530 A
- 2370(/*)S
- (speaker)294 2496 A
- 2832(is)S
- (beeping?)336 2958 A
- 3336(*/)S
- 3330 V
- (13672)210 648 A
- (#define)294 1026 A
- (scr_width)378 1362 A
- 2034(80)S
- 2370(/*)S
- 2496(#)S
- (characters)420 2580 A
- 3042(on)S
- 3168(a)S
- (line)168 3252 A
- 3462(*/)S
- 3420 V
- (13673)210 648 A
- (#define)294 1026 A
- (scr_lines)378 1362 A
- 2034(25)S
- 2370(/*)S
- 2496(#)S
- (lines)210 2580 A
- 2832(on)S
- (the)126 2958 A
- (screen)252 3126 A
- 3420(*/)S
- 3510 V
- (13674)210 648 A
- (#define)294 1026 A
- (scr_size)336 1362 A
- ((80*25))294 2034 A
- 2370(/*)S
- 2496(#)S
- (characters)420 2580 A
- 3042(on)S
- (the)126 3168 A
- (screen)252 3336 A
- 3630(*/)S
- 3600 V
- (13675)210 648 A
- 3690 V
- (13676)210 648 A
- 1026(/*)S
- (Per)126 1152 A
- (console)294 1320 A
- (data.)210 1656 A
- 1908(*/)S
- 3780 V
- (13677)210 648 A
- (typedef)294 1026 A
- (struct)252 1362 A
- (console)294 1656 A
- 1992({)S
- 3870 V
- (13678)210 648 A
- (tty_t)210 1110 A
- (*c_tty;)294 1362 A
- 2370(/*)S
- (associated)420 2496 A
- (TTY)126 2958 A
- (struct)252 3126 A
- 3420(*/)S
- 3960 V
- (13679)210 648 A
- (int)126 1110 A
- (c_column;)378 1278 A
- 2370(/*)S
- (current)294 2496 A
- (column)252 2832 A
- (number)252 3126 A
- ((0-origin))420 3420 A
- 3882(*/)S
- 4050 V
- (13680)210 648 A
- (int)126 1110 A
- (c_row;)252 1278 A
- 2370(/*)S
- (current)294 2496 A
- (row)126 2832 A
- 3000((0)S
- 3126(at)S
- (top)126 3252 A
- 3420(of)S
- (screen))294 3546 A
- 3882(*/)S
- 4140 V
- (13681)210 648 A
- (int)126 1110 A
- (c_rwords;)378 1278 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (WORDS)210 2916 A
- ((not)168 3168 A
- (bytes))252 3378 A
- 3672(in)S
- (outqueue)336 3798 A
- 4176(*/)S
- 4230 V
- (13682)210 648 A
- (unsigned)336 1110 A
- (c_start;)336 1488 A
- 2370(/*)S
- (start)210 2496 A
- 2748(of)S
- (video)210 2874 A
- (memory)252 3126 A
- 3420(of)S
- (this)168 3546 A
- (console)294 3756 A
- 4092(*/)S
- 4320 V
- (13683)210 648 A
- (unsigned)336 1110 A
- (c_limit;)336 1488 A
- 2370(/*)S
- (limit)210 2496 A
- 2748(of)S
- (this)168 2874 A
- (console's)378 3084 A
- (video)210 3504 A
- (memory)252 3756 A
- 4050(*/)S
- 4410 V
- (13684)210 648 A
- (unsigned)336 1110 A
- (c_org;)252 1488 A
- 2370(/*)S
- (location)336 2496 A
- 2874(in)S
- (RAM)126 3000 A
- (where)210 3168 A
- (6845)168 3420 A
- (base)168 3630 A
- (points)252 3840 A
- 4134(*/)S
- 4500 V
- (13685)210 648 A
- (unsigned)336 1110 A
- (c_cur;)252 1488 A
- 2370(/*)S
- (current)294 2496 A
- (position)336 2832 A
- 3210(of)S
- (cursor)252 3336 A
- 3630(in)S
- (video)210 3756 A
- (RAM)126 4008 A
- 4176(*/)S
- 4590 V
- (13686)210 648 A
- (unsigned)336 1110 A
- (c_attr;)294 1488 A
- 2370(/*)S
- (character)378 2496 A
- (attribute)378 2916 A
- 3336(*/)S
- 4680 V
- (13687)210 648 A
- (unsigned)336 1110 A
- (c_blank;)336 1488 A
- 2370(/*)S
- (blank)210 2496 A
- (attribute)378 2748 A
- 3168(*/)S
- 4770 V
- (13688)210 648 A
- (char)168 1110 A
- (c_esc_state;)504 1320 A
- 2370(/*)S
- (0=normal,)378 2496 A
- (1=ESC,)252 2916 A
- (2=ESC[)252 3210 A
- 3504(*/)S
- 4860 V
- (13689)210 648 A
- (char)168 1110 A
- (c_esc_intro;)504 1320 A
- 2370(/*)S
- (Distinguishing)588 2496 A
- (character)378 3126 A
- (following)378 3546 A
- (ESC)126 3966 A
- 4134(*/)S
- 4950 V
- (13690)210 648 A
- (int)126 1110 A
- (*c_esc_parmp;)546 1278 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (current)294 2958 A
- (escape)252 3294 A
- (parameter)378 3588 A
- 4008(*/)S
- 5040 V
- (13691)210 648 A
- (int)126 1110 A
- (c_esc_parmv[MAX_ESC_PARMS];)1134 1278 A
- 2706(/*)S
- (list)168 2832 A
- 3042(of)S
- (escape)252 3168 A
- (parameters)420 3462 A
- 3924(*/)S
- 5130 V
- (13692)210 648 A
- (u16_t)210 1110 A
- (c_ramqueue[CONS_RAM_WORDS];)1134 1362 A
- 2706(/*)S
- (buffer)252 2832 A
- (for)126 3126 A
- (video)210 3294 A
- (RAM)126 3546 A
- 3714(*/)S
- 5220 V
- (13693)210 648 A
- 1026(})S
- (console_t;)420 1110 A
- 5310 V
- (13694)210 648 A
- 5400 V
- (13695)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (nr_cons=)336 1530 A
- 1908(1;)S
- 2370(/*)S
- (actual)252 2496 A
- (number)252 2790 A
- 3084(of)S
- (consoles)336 3210 A
- 3588(*/)S
- 5490 V
- (13696)210 648 A
- (PRIVATE)294 1026 A
- (console_t)378 1362 A
- (cons_table[NR_CONS];)840 1782 A
- 5580 V
- (13697)210 648 A
- (PRIVATE)294 1026 A
- (console_t)378 1362 A
- (*curcons;)378 1782 A
- 2370(/*)S
- (currently)378 2496 A
- (visible)294 2916 A
- 3252(*/)S
- 5670 V
- (13698)210 648 A
- 5760 V
- (13699)210 648 A
- 1026(/*)S
- (Color)210 1152 A
- 1404(if)S
- (using)210 1530 A
- 1782(a)S
- (color)210 1866 A
- (controller.)462 2118 A
- 2622(*/)S
- 5850 V
- (13700)210 648 A
- (#define)294 1026 A
- (color)210 1362 A
- ((vid_port)378 1698 A
- 2118(==)S
- (C_6845))294 2244 A
- 5940 V
- (13701)210 648 A
- 6030 V
- (13702)210 648 A
- 1026(/*)S
- (Map)126 1152 A
- (from)168 1320 A
- (ANSI)168 1530 A
- (colors)252 1740 A
- 2034(to)S
- (the)126 2160 A
- (attributes)420 2328 A
- (used)168 2790 A
- 3000(by)S
- (the)126 3126 A
- 3294(PC)S
- 3420(*/)S
- 6120 V
- (13703)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (ansi_colors[8])588 1530 A
- 2160(=)S
- ({0,)126 2244 A
- 2412(4,)S
- 2538(2,)S
- 2664(6,)S
- 2790(1,)S
- 2916(5,)S
- 3042(3,)S
- (7};)126 3168 A
- 6210 V
- (13704)210 648 A
- 8418 V
- EP
- %%Page: 188 188
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (188)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13705)210 648 A
- 1026(/*)S
- (Structure)378 1152 A
- (used)168 1572 A
- (for)126 1782 A
- (font)168 1950 A
- (management)420 2160 A
- 2622(*/)S
- 990 V
- (13706)210 648 A
- (struct)252 1026 A
- (sequence)336 1320 A
- 1698({)S
- 1080 V
- (13707)210 648 A
- (unsigned)336 1362 A
- (short)210 1740 A
- (index;)252 1992 A
- 1170 V
- (13708)210 648 A
- (unsigned)336 1362 A
- (char)168 1740 A
- (port;)210 1950 A
- 1260 V
- (13709)210 648 A
- (unsigned)336 1362 A
- (char)168 1740 A
- (value;)252 1950 A
- 1350 V
- (13710)210 648 A
- 1026(};)S
- 1440 V
- (13711)210 648 A
- 1530 V
- (13712)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (cons_write,)462 2076 A
- ((struct)294 2580 A
- (tty)126 2916 A
- (*tp))168 3084 A
- 4050();)S
- 1620 V
- (13713)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (cons_echo,)420 2076 A
- ((tty_t)252 2538 A
- (*tp,)168 2832 A
- (int)126 3042 A
- 3210(c))S
- 4050();)S
- 1710 V
- (13714)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (out_char,)378 2076 A
- ((console_t)420 2496 A
- (*cons,)252 2958 A
- (int)126 3252 A
- 3420(c))S
- 4050();)S
- 1800 V
- (13715)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (beep,)210 2076 A
- ((void))252 2328 A
- 4050();)S
- 1890 V
- (13716)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (do_escape,)420 2076 A
- ((console_t)420 2538 A
- (*cons,)252 3000 A
- (int)126 3294 A
- 3462(c))S
- 4050();)S
- 1980 V
- (13717)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (flush,)252 2076 A
- ((console_t)420 2370 A
- (*cons))252 2832 A
- 4050();)S
- 2070 V
- (13718)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (parse_escape,)546 2076 A
- ((console_t)420 2664 A
- (*cons,)252 3126 A
- (int)126 3420 A
- 3588(c))S
- 4050();)S
- 2160 V
- (13719)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (scroll_screen,)588 2076 A
- ((console_t)420 2706 A
- (*cons,)252 3168 A
- (int)126 3462 A
- (dir))168 3630 A
- 4050();)S
- 2250 V
- (13720)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (set_6845,)378 2076 A
- ((int)168 2496 A
- (reg,)168 2706 A
- (unsigned)336 2916 A
- (val))168 3294 A
- 4050();)S
- 2340 V
- (13721)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (stop_beep,)420 2076 A
- ((void))252 2538 A
- 4050();)S
- 2430 V
- (13722)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (cons_org0,)420 2076 A
- ((void))252 2538 A
- 4050();)S
- 2520 V
- (13723)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (void)168 1866 A
- (ga_program,)462 2076 A
- ((struct)294 2580 A
- (sequence)336 2916 A
- (*seq))210 3294 A
- 3546();)S
- 2610 V
- (13724)210 648 A
- 2700 V
- (13725)210 648 A
- 2790 V
- (13726)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2880 V
- (13727)210 648 A
- 1068(*)S
- (cons_write)420 2370 A
- 4260(*)S
- 2970 V
- (13728)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3060 V
- (13729)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (cons_write(tp))588 1572 A
- 3150 V
- (13730)210 648 A
- (register)336 1026 A
- (struct)252 1404 A
- (tty)126 1698 A
- (*tp;)168 1866 A
- 2370(/*)S
- (tells)210 2496 A
- (which)210 2748 A
- (terminal)336 3000 A
- 3378(is)S
- 3504(to)S
- 3630(be)S
- (used)168 3756 A
- 3966(*/)S
- 3240 V
- (13731)210 648 A
- 1026({)S
- 3330 V
- (13732)210 648 A
- 1026(/*)S
- (Copy)168 1152 A
- 1362(as)S
- (much)168 1488 A
- (data)168 1698 A
- 1908(as)S
- (possible)336 2034 A
- 2412(to)S
- (the)126 2538 A
- (output)252 2706 A
- (queue,)252 3000 A
- (then)168 3294 A
- (start)210 3504 A
- (I/O.)168 3756 A
- 4008(On)S
- 3420 V
- (13733)210 648 A
- 1068(*)S
- (memory-mapped)546 1152 A
- (terminals,)420 1740 A
- (such)168 2202 A
- 2412(as)S
- (the)126 2538 A
- (IBM)126 2706 A
- (console,)336 2874 A
- (the)126 3252 A
- (I/O)126 3420 A
- (will)168 3588 A
- (also)168 3798 A
- 4008(be)S
- 3510 V
- (13734)210 648 A
- 1068(*)S
- (finished,)378 1152 A
- (and)126 1572 A
- (the)126 1740 A
- (counts)252 1908 A
- (updated.)336 2202 A
- (Keep)168 2622 A
- (repeating)378 2832 A
- (until)210 3252 A
- (all)126 3504 A
- (I/O)126 3672 A
- (done.)210 3840 A
- 3600 V
- (13735)210 648 A
- 1068(*/)S
- 3690 V
- (13736)210 648 A
- 3780 V
- (13737)210 648 A
- (int)126 1110 A
- (count;)252 1278 A
- 3870 V
- (13738)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*tbuf;)252 1698 A
- 3960 V
- (13739)210 648 A
- (char)168 1110 A
- (buf[64];)336 1320 A
- 4050 V
- (13740)210 648 A
- (phys_bytes)420 1110 A
- (user_phys;)420 1572 A
- 4140 V
- (13741)210 648 A
- (console_t)378 1110 A
- (*cons)210 1530 A
- 1782(=)S
- (tp->tty_priv;)546 1866 A
- 4230 V
- (13742)210 648 A
- 4320 V
- (13743)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- (quickly)294 1488 A
- (for)126 1824 A
- (nothing)294 1992 A
- 2328(to)S
- (do,)126 2454 A
- 2622(so)S
- (this)168 2748 A
- (can)126 2958 A
- 3126(be)S
- (called)252 3252 A
- (often)210 3546 A
- (without)294 3798 A
- 4410 V
- (13744)210 648 A
- 1152(*)S
- (unmodular)378 1236 A
- (tests)210 1656 A
- (elsewhere.)420 1908 A
- 4500 V
- (13745)210 648 A
- 1152(*/)S
- 4590 V
- (13746)210 648 A
- 1110(if)S
- (((count)294 1236 A
- 1572(=)S
- (tp->tty_outleft))672 1656 A
- 2370(==)S
- 2496(0)S
- 2580(||)S
- (tp->tty_inhibited))756 2706 A
- (return;)294 3504 A
- 4680 V
- (13747)210 648 A
- 4770 V
- (13748)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (user)168 1614 A
- (bytes)210 1824 A
- 2076(to)S
- (buf[])210 2202 A
- (for)126 2454 A
- (decent)252 2622 A
- (addressing.)462 2916 A
- (Loop)168 3420 A
- (over)168 3630 A
- (the)126 3840 A
- 4860 V
- (13749)210 648 A
- 1152(*)S
- (copies,)294 1236 A
- (since)210 1572 A
- (the)126 1824 A
- (user)168 1992 A
- (buffer)252 2202 A
- (may)126 2496 A
- 2664(be)S
- (much)168 2790 A
- (larger)252 3000 A
- (than)168 3294 A
- (buf[].)252 3504 A
- 4950 V
- (13750)210 648 A
- 1152(*/)S
- 5040 V
- (13751)210 648 A
- 1110(do)S
- 1236({)S
- 5130 V
- (13752)210 648 A
- 1362(if)S
- ((count)252 1488 A
- 1782(>)S
- (sizeof(buf)))504 1866 A
- (count)210 2412 A
- 2664(=)S
- (sizeof(buf);)504 2748 A
- 5220 V
- (13753)210 648 A
- (user_phys)378 1362 A
- 1782(=)S
- (proc_vir2phys(proc_addr(tp->tty_outproc),)1722 1866 A
- (tp->tty_out_vir);)714 3630 A
- 5310 V
- (13754)210 648 A
- (phys_copy(user_phys,)840 1362 A
- (vir2phys(buf),)588 2244 A
- ((phys_bytes))504 2874 A
- (count);)294 3420 A
- 5400 V
- (13755)210 648 A
- (tbuf)168 1362 A
- 1572(=)S
- (buf;)168 1656 A
- 5490 V
- (13756)210 648 A
- 5580 V
- (13757)210 648 A
- 1362(/*)S
- (Update)252 1488 A
- (terminal)336 1782 A
- (data)168 2160 A
- (structure.)420 2370 A
- 2832(*/)S
- 5670 V
- (13758)210 648 A
- (tp->tty_out_vir)630 1362 A
- 2034(+=)S
- (count;)252 2160 A
- 5760 V
- (13759)210 648 A
- (tp->tty_outcum)588 1362 A
- 1992(+=)S
- (count;)252 2118 A
- 5850 V
- (13760)210 648 A
- (tp->tty_outleft)630 1362 A
- 2034(-=)S
- (count;)252 2160 A
- 5940 V
- (13761)210 648 A
- 6030 V
- (13762)210 648 A
- 1362(/*)S
- (Output)252 1488 A
- (each)168 1782 A
- (byte)168 1992 A
- 2202(of)S
- (the)126 2328 A
- (copy)168 2496 A
- 2706(to)S
- (the)126 2832 A
- (screen.)294 3000 A
- (Avoid)210 3378 A
- (calling)294 3630 A
- 6120 V
- (13763)210 648 A
- 1404(*)S
- (out_char())420 1488 A
- (for)126 1950 A
- (the)126 2118 A
- ("easy")252 2286 A
- (characters,)462 2580 A
- (put)126 3084 A
- (them)168 3252 A
- (into)168 3462 A
- (the)126 3672 A
- (buffer)252 3840 A
- 6210 V
- (13764)210 648 A
- 1404(*)S
- (directly.)378 1488 A
- 8418 V
- EP
- %%Page: 189 189
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (189)180 4248 A
- 900 V
- 7 LST
- (13765)210 648 A
- 1404(*/)S
- 990 V
- (13766)210 648 A
- 1362(do)S
- 1488({)S
- 1080 V
- (13767)210 648 A
- 1698(if)S
- (((unsigned))462 1824 A
- (*tbuf)210 2328 A
- 2580(<)S
- 2664(')S
- 2748(')S
- 2832(||)S
- (cons->c_esc_state)714 2958 A
- 3714(>)S
- 3798(0)S
- 1170 V
- (13768)210 648 A
- 2034(||)S
- (cons->c_column)588 2160 A
- 2790(>=)S
- (scr_width)378 2916 A
- 1260 V
- (13769)210 648 A
- 2034(||)S
- (cons->c_rwords)588 2160 A
- 2790(>=)S
- (buflen(cons->c_ramqueue)))1050 2916 A
- 1350 V
- (13770)210 648 A
- 1698({)S
- 1440 V
- (13771)210 648 A
- (out_char(cons,)588 2034 A
- (*tbuf++);)378 2664 A
- 1530 V
- (13772)210 648 A
- 1698(})S
- (else)168 1782 A
- 1992({)S
- 1620 V
- (13773)210 648 A
- (cons->c_ramqueue[cons->c_rwords++])1428 2034 A
- 3504(=)S
- 1710 V
- (13774)210 648 A
- (cons->c_attr)504 2706 A
- 3252(|)S
- ((*tbuf++)336 3336 A
- 3714(&)S
- (BYTE);)252 3798 A
- 1800 V
- (13775)210 648 A
- (cons->c_column++;)714 2034 A
- 1890 V
- (13776)210 648 A
- 1698(})S
- 1980 V
- (13777)210 648 A
- 1362(})S
- (while)210 1446 A
- ((--count)336 1698 A
- 2076(!=)S
- (0);)126 2202 A
- 2070 V
- (13778)210 648 A
- 1110(})S
- (while)210 1194 A
- (((count)294 1446 A
- 1782(=)S
- (tp->tty_outleft))672 1866 A
- 2580(!=)S
- 2706(0)S
- 2790(&&)S
- (!tp->tty_inhibited);)840 2916 A
- 2160 V
- (13779)210 648 A
- 2250 V
- (13780)210 648 A
- (flush(cons);)504 1110 A
- 2370(/*)S
- (transfer)336 2496 A
- (anything)336 2874 A
- (buffered)336 3252 A
- 3630(to)S
- (the)126 3756 A
- (screen)252 3924 A
- 4218(*/)S
- 2340 V
- (13781)210 648 A
- 2430 V
- (13782)210 648 A
- 1110(/*)S
- (Reply)210 1236 A
- 1488(to)S
- (the)126 1614 A
- (writer)252 1782 A
- 2076(if)S
- (all)126 2202 A
- (output)252 2370 A
- 2664(is)S
- (finished.)378 2790 A
- 3210(*/)S
- 2520 V
- (13783)210 648 A
- 1110(if)S
- ((tp->tty_outleft)672 1236 A
- 1950(==)S
- 2076(0))S
- 2202({)S
- 2610 V
- (13784)210 648 A
- (tty_reply(tp->tty_outrepcode,)1218 1362 A
- (tp->tty_outcaller,)756 2622 A
- (tp->tty_outproc,)672 3420 A
- 2700 V
- (13785)210 648 A
- (tp->tty_outcum);)672 3378 A
- 2790 V
- (13786)210 648 A
- (tp->tty_outcum)588 1362 A
- 1992(=)S
- 2076(0;)S
- 2880 V
- (13787)210 648 A
- 1110(})S
- 2970 V
- (13788)210 648 A
- 1026(})S
- 3240 V
- (13791)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3330 V
- (13792)210 648 A
- 1068(*)S
- (cons_echo)378 2370 A
- 4260(*)S
- 3420 V
- (13793)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3510 V
- (13794)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (cons_echo(tp,)546 1572 A
- 2160(c))S
- 3600 V
- (13795)210 648 A
- (register)336 1026 A
- (tty_t)210 1404 A
- (*tp;)168 1656 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (tty)126 2958 A
- (struct)252 3126 A
- 3420(*/)S
- 3690 V
- (13796)210 648 A
- (int)126 1026 A
- 1194(c;)S
- 2370(/*)S
- (character)378 2496 A
- 2916(to)S
- 3042(be)S
- (echoed)252 3168 A
- 3462(*/)S
- 3780 V
- (13797)210 648 A
- 1026({)S
- 3870 V
- (13798)210 648 A
- 1026(/*)S
- (Echo)168 1152 A
- (keyboard)336 1362 A
- (input)210 1740 A
- ((print)252 1992 A
- 2286(&)S
- (flush).)294 2370 A
- 2706(*/)S
- 3960 V
- (13799)210 648 A
- (console_t)378 1110 A
- (*cons)210 1530 A
- 1782(=)S
- (tp->tty_priv;)546 1866 A
- 4050 V
- (13800)210 648 A
- 4140 V
- (13801)210 648 A
- (out_char(cons,)588 1110 A
- (c);)126 1740 A
- 4230 V
- (13802)210 648 A
- (flush(cons);)504 1110 A
- 4320 V
- (13803)210 648 A
- 1026(})S
- 4590 V
- (13806)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4680 V
- (13807)210 648 A
- 1068(*)S
- (out_char)336 2370 A
- 4260(*)S
- 4770 V
- (13808)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4860 V
- (13809)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (out_char(cons,)588 1572 A
- 2202(c))S
- 4950 V
- (13810)210 648 A
- (register)336 1026 A
- (console_t)378 1404 A
- (*cons;)252 1824 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (console)294 2958 A
- (struct)252 3294 A
- 3588(*/)S
- 5040 V
- (13811)210 648 A
- (int)126 1026 A
- 1194(c;)S
- 2370(/*)S
- (character)378 2496 A
- 2916(to)S
- 3042(be)S
- (output)252 3168 A
- 3462(*/)S
- 5130 V
- (13812)210 648 A
- 1026({)S
- 5220 V
- (13813)210 648 A
- 1026(/*)S
- (Output)252 1152 A
- 1446(a)S
- (character)378 1530 A
- 1950(on)S
- (the)126 2076 A
- (console.)336 2244 A
- (Check)210 2664 A
- (for)126 2916 A
- (escape)252 3084 A
- (sequences)378 3378 A
- (first.)252 3798 A
- 4092(*/)S
- 5310 V
- (13814)210 648 A
- 1110(if)S
- ((cons->c_esc_state)756 1236 A
- 2034(>)S
- 2118(0))S
- 2244({)S
- 5400 V
- (13815)210 648 A
- (parse_escape(cons,)756 1362 A
- (c);)126 2160 A
- 5490 V
- (13816)210 648 A
- (return;)294 1362 A
- 5580 V
- (13817)210 648 A
- 1110(})S
- 5670 V
- (13818)210 648 A
- 5760 V
- (13819)210 648 A
- (switch(c))378 1110 A
- 1530({)S
- 5850 V
- (13820)210 648 A
- (case)168 1362 A
- (000:)168 1572 A
- 2370(/*)S
- (null)168 2496 A
- 2706(is)S
- (typically)378 2832 A
- (used)168 3252 A
- (for)126 3462 A
- (padding)294 3630 A
- 3966(*/)S
- 5940 V
- (13821)210 648 A
- (return;)294 1698 A
- 2370(/*)S
- (better)252 2496 A
- (not)126 2790 A
- 2958(do)S
- (anything)336 3084 A
- 3462(*/)S
- 6030 V
- (13822)210 648 A
- 6120 V
- (13823)210 648 A
- (case)168 1362 A
- (007:)168 1572 A
- 2370(/*)S
- (ring)168 2496 A
- (the)126 2706 A
- (bell)168 2874 A
- 3084(*/)S
- 6210 V
- (13824)210 648 A
- (flush(cons);)504 1698 A
- 2370(/*)S
- (print)210 2496 A
- (any)126 2748 A
- (chars)210 2916 A
- (queued)252 3168 A
- (for)126 3462 A
- (output)252 3630 A
- 3924(*/)S
- 8418 V
- EP
- %%Page: 190 190
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (190)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13825)210 648 A
- (beep();)294 1698 A
- 990 V
- (13826)210 648 A
- (return;)294 1698 A
- 1080 V
- (13827)210 648 A
- 1170 V
- (13828)210 648 A
- (case)168 1362 A
- ('\b':)210 1572 A
- 2370(/*)S
- (backspace)378 2496 A
- 2916(*/)S
- 1260 V
- (13829)210 648 A
- 1698(if)S
- ((--cons->c_column)714 1824 A
- 2580(<)S
- 2664(0))S
- 2790({)S
- 1350 V
- (13830)210 648 A
- 2034(if)S
- ((--cons->c_row)588 2160 A
- 2790(>=)S
- 2916(0))S
- (cons->c_column)588 3042 A
- 3672(+=)S
- (scr_width;)420 3798 A
- 1440 V
- (13831)210 648 A
- 1698(})S
- 1530 V
- (13832)210 648 A
- (flush(cons);)504 1698 A
- 1620 V
- (13833)210 648 A
- (return;)294 1698 A
- 1710 V
- (13834)210 648 A
- 1800 V
- (13835)210 648 A
- (case)168 1362 A
- ('\n':)210 1572 A
- 2370(/*)S
- (line)168 2496 A
- (feed)168 2706 A
- 2916(*/)S
- 1890 V
- (13836)210 648 A
- 1698(if)S
- (((cons->c_tty->tty_termios.c_oflag)1428 1824 A
- 3294(&)S
- ((OPOST|ONLCR)))588 3378 A
- 1980 V
- (13837)210 648 A
- 3042(==)S
- ((OPOST|ONLCR)))588 3168 A
- 3798({)S
- 2070 V
- (13838)210 648 A
- (cons->c_column)588 2034 A
- 2664(=)S
- 2748(0;)S
- 2160 V
- (13839)210 648 A
- 1698(})S
- 2250 V
- (13840)210 648 A
- (/*FALL)252 1698 A
- (THROUGH*/)378 1992 A
- 2340 V
- (13841)210 648 A
- (case)168 1362 A
- (013:)168 1572 A
- 2370(/*)S
- (CTRL-K)252 2496 A
- 2790(*/)S
- 2430 V
- (13842)210 648 A
- (case)168 1362 A
- (014:)168 1572 A
- 2370(/*)S
- (CTRL-L)252 2496 A
- 2790(*/)S
- 2520 V
- (13843)210 648 A
- 1698(if)S
- ((cons->c_row)504 1824 A
- 2370(==)S
- (scr_lines-1))504 2496 A
- 3042({)S
- 2610 V
- (13844)210 648 A
- (scroll_screen(cons,)798 2034 A
- (SCROLL_UP);)462 2874 A
- 2700 V
- (13845)210 648 A
- 1698(})S
- (else)168 1782 A
- 1992({)S
- 2790 V
- (13846)210 648 A
- (cons->c_row++;)588 2034 A
- 2880 V
- (13847)210 648 A
- 1698(})S
- 2970 V
- (13848)210 648 A
- (flush(cons);)504 1698 A
- 3060 V
- (13849)210 648 A
- (return;)294 1698 A
- 3150 V
- (13850)210 648 A
- 3240 V
- (13851)210 648 A
- (case)168 1362 A
- ('\r':)210 1572 A
- 2370(/*)S
- (carriage)336 2496 A
- (return)252 2874 A
- 3168(*/)S
- 3330 V
- (13852)210 648 A
- (cons->c_column)588 1698 A
- 2328(=)S
- 2412(0;)S
- 3420 V
- (13853)210 648 A
- (flush(cons);)504 1698 A
- 3510 V
- (13854)210 648 A
- (return;)294 1698 A
- 3600 V
- (13855)210 648 A
- 3690 V
- (13856)210 648 A
- (case)168 1362 A
- ('\t':)210 1572 A
- 2370(/*)S
- (tab)126 2496 A
- 2664(*/)S
- 3780 V
- (13857)210 648 A
- (cons->c_column)588 1698 A
- 2328(=)S
- ((cons->c_column)630 2412 A
- 3084(+)S
- (TAB_SIZE))378 3168 A
- 3588(&)S
- (304TAB_MASK;)420 3672 A
- 3870 V
- (13858)210 648 A
- 1698(if)S
- ((cons->c_column)630 1824 A
- 2496(>)S
- (scr_width))420 2580 A
- 3042({)S
- 3960 V
- (13859)210 648 A
- (cons->c_column)588 2034 A
- 2664(-=)S
- (scr_width;)420 2790 A
- 4050 V
- (13860)210 648 A
- 2034(if)S
- ((cons->c_row)504 2160 A
- 2706(==)S
- (scr_lines-1))504 2832 A
- 3378({)S
- 4140 V
- (13861)210 648 A
- (scroll_screen(cons,)798 2370 A
- (SCROLL_UP);)462 3210 A
- 4230 V
- (13862)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 4320 V
- (13863)210 648 A
- (cons->c_row++;)588 2370 A
- 4410 V
- (13864)210 648 A
- 2034(})S
- 4500 V
- (13865)210 648 A
- 1698(})S
- 4590 V
- (13866)210 648 A
- (flush(cons);)504 1698 A
- 4680 V
- (13867)210 648 A
- (return;)294 1698 A
- 4770 V
- (13868)210 648 A
- 4860 V
- (13869)210 648 A
- (case)168 1362 A
- (033:)168 1572 A
- 2370(/*)S
- (ESC)126 2496 A
- 2664(-)S
- (start)210 2748 A
- 3000(of)S
- 3126(an)S
- (escape)252 3252 A
- (sequence)336 3546 A
- 3924(*/)S
- 4950 V
- (13870)210 648 A
- (flush(cons);)504 1698 A
- 2370(/*)S
- (print)210 2496 A
- (any)126 2748 A
- (chars)210 2916 A
- (queued)252 3168 A
- (for)126 3462 A
- (output)252 3630 A
- 3924(*/)S
- 5040 V
- (13871)210 648 A
- (cons->c_esc_state)714 1698 A
- 2454(=)S
- 2538(1;)S
- 2706(/*)S
- (mark)168 2832 A
- (ESC)126 3042 A
- 3210(as)S
- (seen)168 3336 A
- 3546(*/)S
- 5130 V
- (13872)210 648 A
- (return;)294 1698 A
- 5220 V
- (13873)210 648 A
- 5310 V
- (13874)210 648 A
- (default:)336 1362 A
- 2370(/*)S
- (printable)378 2496 A
- (chars)210 2916 A
- (are)126 3168 A
- (stored)252 3336 A
- 3630(in)S
- (ramqueue)336 3756 A
- 4134(*/)S
- 5400 V
- (13875)210 648 A
- 1698(if)S
- ((cons->c_column)630 1824 A
- 2496(>=)S
- (scr_width))420 2622 A
- 3084({)S
- 5490 V
- (13876)210 648 A
- 2034(if)S
- ((!LINEWRAP))462 2160 A
- (return;)294 2664 A
- 5580 V
- (13877)210 648 A
- 2034(if)S
- ((cons->c_row)504 2160 A
- 2706(==)S
- (scr_lines-1))504 2832 A
- 3378({)S
- 5670 V
- (13878)210 648 A
- (scroll_screen(cons,)798 2370 A
- (SCROLL_UP);)462 3210 A
- 5760 V
- (13879)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 5850 V
- (13880)210 648 A
- (cons->c_row++;)588 2370 A
- 5940 V
- (13881)210 648 A
- 2034(})S
- 6030 V
- (13882)210 648 A
- (cons->c_column)588 2034 A
- 2664(=)S
- 2748(0;)S
- 6120 V
- (13883)210 648 A
- (flush(cons);)504 2034 A
- 6210 V
- (13884)210 648 A
- 1698(})S
- 8418 V
- EP
- %%Page: 191 191
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (191)180 4248 A
- 900 V
- 7 LST
- (13885)210 648 A
- 1698(if)S
- ((cons->c_rwords)630 1824 A
- 2496(==)S
- (buflen(cons->c_ramqueue)))1050 2622 A
- (flush(cons);)504 3714 A
- 990 V
- (13886)210 648 A
- (cons->c_ramqueue[cons->c_rwords++])1428 1698 A
- 3168(=)S
- (cons->c_attr)504 3252 A
- 3798(|)S
- 3882((c)S
- 4008(&)S
- (BYTE);)252 4092 A
- 1080 V
- (13887)210 648 A
- (cons->c_column++;)714 1698 A
- 3378(/*)S
- (next)168 3504 A
- (column)252 3714 A
- 4008(*/)S
- 1170 V
- (13888)210 648 A
- (return;)294 1698 A
- 1260 V
- (13889)210 648 A
- 1110(})S
- 1350 V
- (13890)210 648 A
- 1026(})S
- 1620 V
- (13893)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1710 V
- (13894)210 648 A
- 1068(*)S
- (scroll_screen)546 2370 A
- 4260(*)S
- 1800 V
- (13895)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1890 V
- (13896)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (scroll_screen(cons,)798 1572 A
- (dir))168 2412 A
- 1980 V
- (13897)210 648 A
- (register)336 1026 A
- (console_t)378 1404 A
- (*cons;)252 1824 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (console)294 2958 A
- (struct)252 3294 A
- 3588(*/)S
- 2070 V
- (13898)210 648 A
- (int)126 1026 A
- (dir;)168 1194 A
- 2370(/*)S
- (SCROLL_UP)378 2496 A
- 2916(or)S
- (SCROLL_DOWN)462 3042 A
- 3546(*/)S
- 2160 V
- (13899)210 648 A
- 1026({)S
- 2250 V
- (13900)210 648 A
- (unsigned)336 1110 A
- (new_line,)378 1488 A
- (new_org,)336 1908 A
- (chars;)252 2286 A
- 2340 V
- (13901)210 648 A
- 2430 V
- (13902)210 648 A
- (flush(cons);)504 1110 A
- 2520 V
- (13903)210 648 A
- (chars)210 1110 A
- 1362(=)S
- (scr_size)336 1446 A
- 1824(-)S
- (scr_width;)420 1908 A
- 2706(/*)S
- (one)126 2832 A
- (screen)252 3000 A
- (minus)210 3294 A
- (one)126 3546 A
- (line)168 3714 A
- 3924(*/)S
- 2610 V
- (13904)210 648 A
- 2700 V
- (13905)210 648 A
- 1110(/*)S
- (Scrolling)378 1236 A
- (the)126 1656 A
- (screen)252 1824 A
- 2118(is)S
- 2244(a)S
- (real)168 2328 A
- (nuisance)336 2538 A
- (due)126 2916 A
- 3084(to)S
- (the)126 3210 A
- (various)294 3378 A
- (incompatible)504 3714 A
- 2790 V
- (13906)210 648 A
- 1152(*)S
- (video)210 1236 A
- (cards.)252 1488 A
- (This)168 1824 A
- (driver)252 2034 A
- (supports)336 2328 A
- (software)336 2706 A
- (scrolling)378 3084 A
- ((Hercules?),)504 3504 A
- 2880 V
- (13907)210 648 A
- 1152(*)S
- (hardware)336 1236 A
- (scrolling)378 1614 A
- ((mono)210 2034 A
- (and)126 2286 A
- (CGA)126 2454 A
- (cards))252 2622 A
- (and)126 2916 A
- (hardware)336 3084 A
- (scrolling)378 3462 A
- (without)294 3882 A
- 2970 V
- (13908)210 648 A
- 1152(*)S
- (wrapping)336 1236 A
- ((EGA)168 1614 A
- (and)126 1824 A
- (VGA)126 1992 A
- (cards).)294 2160 A
- 2538(In)S
- (the)126 2664 A
- (latter)252 2832 A
- (case)168 3126 A
- 3336(we)S
- (must)168 3462 A
- (make)168 3672 A
- (sure)168 3882 A
- (that)168 4092 A
- 3060 V
- (13909)210 648 A
- 1152(*)S
- (c_start)294 1698 A
- 2034(<=)S
- (c_org)210 2160 A
- 2412(&&)S
- (c_org)210 2538 A
- 2790(+)S
- (scr_size)336 2874 A
- 3252(<=)S
- (c_limit)294 3378 A
- 3150 V
- (13910)210 648 A
- 1152(*)S
- (holds,)252 1236 A
- (because)294 1530 A
- (EGA)126 1866 A
- (and)126 2034 A
- (VGA)126 2202 A
- (don't)210 2370 A
- (wrap)168 2622 A
- (around)252 2832 A
- (the)126 3126 A
- (end)126 3294 A
- 3462(of)S
- (video)210 3588 A
- (memory.)294 3840 A
- 3240 V
- (13911)210 648 A
- 1152(*/)S
- 3330 V
- (13912)210 648 A
- 1110(if)S
- ((dir)168 1236 A
- 1446(==)S
- (SCROLL_UP))420 1572 A
- 2034({)S
- 3420 V
- (13913)210 648 A
- 1362(/*)S
- (Scroll)252 1488 A
- (one)126 1782 A
- (line)168 1950 A
- 2160(up)S
- 2286(in)S
- 2412(3)S
- (ways:)210 2496 A
- (soft,)210 2748 A
- (avoid)210 3000 A
- (wrap,)210 3252 A
- (use)126 3504 A
- (origin.)294 3672 A
- 4008(*/)S
- 3510 V
- (13914)210 648 A
- 1362(if)S
- ((softscroll))504 1488 A
- 2034({)S
- 3600 V
- (13915)210 648 A
- (vid_vid_copy(cons->c_start)1092 1698 A
- 2832(+)S
- (scr_width,)420 2916 A
- (cons->c_start,)588 3378 A
- (chars);)294 4008 A
- 3690 V
- (13916)210 648 A
- 1362(})S
- (else)168 1446 A
- 3780 V
- (13917)210 648 A
- 1362(if)S
- ((!wrap)252 1488 A
- 1782(&&)S
- (cons->c_org)462 1908 A
- 2412(+)S
- (scr_size)336 2496 A
- 2874(+)S
- (scr_width)378 2958 A
- 3378(>=)S
- (cons->c_limit))588 3504 A
- 4134({)S
- 3870 V
- (13918)210 648 A
- (vid_vid_copy(cons->c_org)1008 1698 A
- 2748(+)S
- (scr_width,)420 2832 A
- (cons->c_start,)588 3294 A
- (chars);)294 3924 A
- 3960 V
- (13919)210 648 A
- (cons->c_org)462 1698 A
- 2202(=)S
- (cons->c_start;)588 2286 A
- 4050 V
- (13920)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 4140 V
- (13921)210 648 A
- (cons->c_org)462 1698 A
- 2202(=)S
- ((cons->c_org)504 2286 A
- 2832(+)S
- (scr_width))420 2916 A
- 3378(&)S
- (vid_mask;)378 3462 A
- 4230 V
- (13922)210 648 A
- 1362(})S
- 4320 V
- (13923)210 648 A
- (new_line)336 1362 A
- 1740(=)S
- ((cons->c_org)504 1824 A
- 2370(+)S
- (chars))252 2454 A
- 2748(&)S
- (vid_mask;)378 2832 A
- 4410 V
- (13924)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 4500 V
- (13925)210 648 A
- 1362(/*)S
- (Scroll)252 1488 A
- (one)126 1782 A
- (line)168 1950 A
- (down)168 2160 A
- 2370(in)S
- 2496(3)S
- (ways:)210 2580 A
- (soft,)210 2832 A
- (avoid)210 3084 A
- (wrap,)210 3336 A
- (use)126 3588 A
- (origin.)294 3756 A
- 4092(*/)S
- 4590 V
- (13926)210 648 A
- 1362(if)S
- ((softscroll))504 1488 A
- 2034({)S
- 4680 V
- (13927)210 648 A
- (vid_vid_copy(cons->c_start,)1134 1698 A
- (cons->c_start)546 2874 A
- 3462(+)S
- (scr_width,)420 3546 A
- (chars);)294 4008 A
- 4770 V
- (13928)210 648 A
- 1362(})S
- (else)168 1446 A
- 4860 V
- (13929)210 648 A
- 1362(if)S
- ((!wrap)252 1488 A
- 1782(&&)S
- (cons->c_org)462 1908 A
- 2412(<)S
- (cons->c_start)546 2496 A
- 3084(+)S
- (scr_width))420 3168 A
- 3630({)S
- 4950 V
- (13930)210 648 A
- (new_org)294 1698 A
- 2034(=)S
- (cons->c_limit)546 2118 A
- 2706(-)S
- (scr_size;)378 2790 A
- 5040 V
- (13931)210 648 A
- (vid_vid_copy(cons->c_org,)1050 1698 A
- (new_org)294 2790 A
- 3126(+)S
- (scr_width,)420 3210 A
- (chars);)294 3672 A
- 5130 V
- (13932)210 648 A
- (cons->c_org)462 1698 A
- 2202(=)S
- (new_org;)336 2286 A
- 5220 V
- (13933)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 5310 V
- (13934)210 648 A
- (cons->c_org)462 1698 A
- 2202(=)S
- ((cons->c_org)504 2286 A
- 2832(-)S
- (scr_width))420 2916 A
- 3378(&)S
- (vid_mask;)378 3462 A
- 5400 V
- (13935)210 648 A
- 1362(})S
- 5490 V
- (13936)210 648 A
- (new_line)336 1362 A
- 1740(=)S
- (cons->c_org;)504 1824 A
- 5580 V
- (13937)210 648 A
- 1110(})S
- 5670 V
- (13938)210 648 A
- 1110(/*)S
- (Blank)210 1236 A
- (the)126 1488 A
- (new)126 1656 A
- (line)168 1824 A
- 2034(at)S
- (top)126 2160 A
- 2328(or)S
- (bottom.)294 2454 A
- 2790(*/)S
- 5760 V
- (13939)210 648 A
- (blank_color)462 1110 A
- 1614(=)S
- (cons->c_blank;)588 1698 A
- 5850 V
- (13940)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1110 A
- (new_line,)378 2118 A
- (scr_width);)462 2538 A
- 5940 V
- (13941)210 648 A
- 6030 V
- (13942)210 648 A
- 1110(/*)S
- (Set)126 1236 A
- (the)126 1404 A
- (new)126 1572 A
- (video)210 1740 A
- (origin.)294 1992 A
- 2328(*/)S
- 6120 V
- (13943)210 648 A
- 1110(if)S
- ((cons)210 1236 A
- 1488(==)S
- (curcons))336 1614 A
- (set_6845(VID_ORG,)714 1992 A
- (cons->c_org);)546 2748 A
- 6210 V
- (13944)210 648 A
- (flush(cons);)504 1110 A
- 8418 V
- EP
- %%Page: 192 192
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (192)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (13945)210 648 A
- 1026(})S
- 1170 V
- (13948)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1260 V
- (13949)210 648 A
- 1068(*)S
- (flush)210 2370 A
- 4260(*)S
- 1350 V
- (13950)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1440 V
- (13951)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (flush(cons))462 1572 A
- 1530 V
- (13952)210 648 A
- (register)336 1026 A
- (console_t)378 1404 A
- (*cons;)252 1824 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (console)294 2958 A
- (struct)252 3294 A
- 3588(*/)S
- 1620 V
- (13953)210 648 A
- 1026({)S
- 1710 V
- (13954)210 648 A
- 1026(/*)S
- (Send)168 1152 A
- (characters)420 1362 A
- (buffered)336 1824 A
- 2202(in)S
- ('ramqueue')420 2328 A
- 2790(to)S
- (screen)252 2916 A
- (memory,)294 3210 A
- (check)210 3546 A
- (the)126 3798 A
- (new)126 3966 A
- 1800 V
- (13955)210 648 A
- 1068(*)S
- (cursor)252 1152 A
- (position,)378 1446 A
- (compute)294 1866 A
- (the)126 2202 A
- (new)126 2370 A
- (hardware)336 2538 A
- (cursor)252 2916 A
- (position)336 3210 A
- (and)126 3588 A
- (set)126 3756 A
- (it.)126 3924 A
- 1890 V
- (13956)210 648 A
- 1068(*/)S
- 1980 V
- (13957)210 648 A
- (unsigned)336 1110 A
- (cur;)168 1488 A
- 2070 V
- (13958)210 648 A
- (tty_t)210 1110 A
- (*tp)126 1362 A
- 1530(=)S
- (cons->c_tty;)504 1614 A
- 2160 V
- (13959)210 648 A
- 2250 V
- (13960)210 648 A
- 1110(/*)S
- (Have)168 1236 A
- (the)126 1446 A
- (characters)420 1614 A
- 2076(in)S
- ('ramqueue')420 2202 A
- (transferred)462 2664 A
- 3168(to)S
- (the)126 3294 A
- (screen.)294 3462 A
- 3798(*/)S
- 2340 V
- (13961)210 648 A
- 1110(if)S
- ((cons->c_rwords)630 1236 A
- 1908(>)S
- 1992(0))S
- 2118({)S
- 2430 V
- (13962)210 648 A
- (mem_vid_copy(cons->c_ramqueue,)1260 1362 A
- (cons->c_cur,)504 2664 A
- (cons->c_rwords);)672 3210 A
- 2520 V
- (13963)210 648 A
- (cons->c_rwords)588 1362 A
- 1992(=)S
- 2076(0;)S
- 2610 V
- (13964)210 648 A
- 2700 V
- (13965)210 648 A
- 1362(/*)S
- (TTY)126 1488 A
- (likes)210 1656 A
- 1908(to)S
- (know)168 2034 A
- (the)126 2244 A
- (current)294 2412 A
- (column)252 2748 A
- (and)126 3042 A
- 3210(if)S
- (echoing)294 3336 A
- (messed)252 3672 A
- (up.)126 3966 A
- 4134(*/)S
- 2790 V
- (13966)210 648 A
- (tp->tty_position)672 1362 A
- 2076(=)S
- (cons->c_column;)630 2160 A
- 2880 V
- (13967)210 648 A
- (tp->tty_reprint)630 1362 A
- 2034(=)S
- (TRUE;)210 2118 A
- 2970 V
- (13968)210 648 A
- 1110(})S
- 3060 V
- (13969)210 648 A
- 3150 V
- (13970)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- (and)126 1488 A
- (update)252 1656 A
- (the)126 1950 A
- (cursor)252 2118 A
- (position.)378 2412 A
- 2832(*/)S
- 3240 V
- (13971)210 648 A
- 1110(if)S
- ((cons->c_column)630 1236 A
- 1908(<)S
- 1992(0))S
- (cons->c_column)588 2118 A
- 2748(=)S
- 2832(0;)S
- 3330 V
- (13972)210 648 A
- 1110(if)S
- ((cons->c_column)630 1236 A
- 1908(>)S
- (scr_width))420 1992 A
- (cons->c_column)588 2454 A
- 3084(=)S
- (scr_width;)420 3168 A
- 3420 V
- (13973)210 648 A
- 1110(if)S
- ((cons->c_row)504 1236 A
- 1782(<)S
- 1866(0))S
- (cons->c_row)462 1992 A
- 2496(=)S
- 2580(0;)S
- 3510 V
- (13974)210 648 A
- 1110(if)S
- ((cons->c_row)504 1236 A
- 1782(>=)S
- (scr_lines))420 1908 A
- (cons->c_row)462 2370 A
- 2874(=)S
- (scr_lines)378 2958 A
- 3378(-)S
- 3462(1;)S
- 3600 V
- (13975)210 648 A
- (cur)126 1110 A
- 1278(=)S
- (cons->c_org)462 1362 A
- 1866(+)S
- (cons->c_row)462 1950 A
- 2454(*)S
- (scr_width)378 2538 A
- 2958(+)S
- (cons->c_column;)630 3042 A
- 3690 V
- (13976)210 648 A
- 1110(if)S
- ((cur)168 1236 A
- 1446(!=)S
- (cons->c_cur))504 1572 A
- 2118({)S
- 3780 V
- (13977)210 648 A
- 1362(if)S
- ((cons)210 1488 A
- 1740(==)S
- (curcons))336 1866 A
- (set_6845(CURSOR,)672 2244 A
- (cur);)210 2958 A
- 3870 V
- (13978)210 648 A
- (cons->c_cur)462 1362 A
- 1866(=)S
- (cur;)168 1950 A
- 3960 V
- (13979)210 648 A
- 1110(})S
- 4050 V
- (13980)210 648 A
- 1026(})S
- 4320 V
- (13983)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4410 V
- (13984)210 648 A
- 1068(*)S
- (parse_escape)504 2370 A
- 4260(*)S
- 4500 V
- (13985)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4590 V
- (13986)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (parse_escape(cons,)756 1572 A
- 2370(c))S
- 4680 V
- (13987)210 648 A
- (register)336 1026 A
- (console_t)378 1404 A
- (*cons;)252 1824 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (console)294 2958 A
- (struct)252 3294 A
- 3588(*/)S
- 4770 V
- (13988)210 648 A
- (char)168 1026 A
- 1236(c;)S
- 2370(/*)S
- (next)168 2496 A
- (character)378 2706 A
- 3126(in)S
- (escape)252 3252 A
- (sequence)336 3546 A
- 3924(*/)S
- 4860 V
- (13989)210 648 A
- 1026({)S
- 4950 V
- (13990)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (following)378 1320 A
- (ANSI)168 1740 A
- (escape)252 1950 A
- (sequences)378 2244 A
- (are)126 2664 A
- (currently)378 2832 A
- (supported.)420 3252 A
- 5040 V
- (13991)210 648 A
- 1068(*)S
- 1152(If)S
- 1278(n)S
- (and/or)252 1362 A
- 1656(m)S
- (are)126 1740 A
- (omitted,)336 1908 A
- (they)168 2286 A
- (default)294 2496 A
- 2832(to)S
- 2958(1.)S
- (Omitted)294 3084 A
- 3420(s)S
- (defaults)336 3504 A
- 3882(to)S
- 4008(0.)S
- 5130 V
- (13992)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nA)126 1404 A
- (moves)210 1572 A
- 1824(up)S
- 1950(n)S
- (lines)210 2034 A
- 5220 V
- (13993)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nB)126 1404 A
- (moves)210 1572 A
- (down)168 1824 A
- 2034(n)S
- (lines)210 2118 A
- 5310 V
- (13994)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nC)126 1404 A
- (moves)210 1572 A
- (right)210 1824 A
- 2076(n)S
- (spaces)252 2160 A
- 5400 V
- (13995)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nD)126 1404 A
- (moves)210 1572 A
- (left)168 1824 A
- 2034(n)S
- (spaces)252 2118 A
- 5490 V
- (13996)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([m;nH)210 1404 A
- (moves)210 1656 A
- (cursor)252 1908 A
- 2202(to)S
- ((m,n))210 2328 A
- 5580 V
- (13997)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([sJ)126 1404 A
- (clears)252 1572 A
- (screen)252 1866 A
- (relative)336 2160 A
- 2538(to)S
- (cursor)252 2664 A
- 2958((0)S
- 3084(to)S
- (end,)168 3210 A
- 3420(1)S
- (from)168 3504 A
- (start,)252 3714 A
- 4008(2)S
- (all))168 4092 A
- 5670 V
- (13998)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([sK)126 1404 A
- (clears)252 1572 A
- (line)168 1866 A
- (relative)336 2076 A
- 2454(to)S
- (cursor)252 2580 A
- 2874((0)S
- 3000(to)S
- (end,)168 3126 A
- 3336(1)S
- (from)168 3420 A
- (start,)252 3630 A
- 3924(2)S
- (all))168 4008 A
- 5760 V
- (13999)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nL)126 1404 A
- (inserts)294 1572 A
- 1908(n)S
- (lines)210 1992 A
- 2244(at)S
- (cursor)252 2370 A
- 5850 V
- (14000)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nM)126 1404 A
- (deletes)294 1572 A
- 1908(n)S
- (lines)210 1992 A
- 2244(at)S
- (cursor)252 2370 A
- 5940 V
- (14001)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nP)126 1404 A
- (deletes)294 1572 A
- 1908(n)S
- (chars)210 1992 A
- 2244(at)S
- (cursor)252 2370 A
- 6030 V
- (14002)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([n@)126 1404 A
- (inserts)294 1572 A
- 1908(n)S
- (chars)210 1992 A
- 2244(at)S
- (cursor)252 2370 A
- 6120 V
- (14003)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- ([nm)126 1404 A
- (enables)294 1572 A
- (rendition)378 1908 A
- 2328(n)S
- ((0=)126 2412 A
- (normal,)294 2580 A
- (1=bold,)294 2916 A
- (4=underline,)504 3252 A
- (5=blinking,)462 3798 A
- 6210 V
- (14004)210 648 A
- 1068(*)S
- (7=reverse,)420 1404 A
- (30..37)252 1866 A
- (set)126 2160 A
- (foreground)420 2328 A
- (color,)252 2790 A
- (40..47)252 3084 A
- (set)126 3378 A
- (background)420 3546 A
- (color))252 4008 A
- 8418 V
- EP
- %%Page: 193 193
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (193)180 4248 A
- 900 V
- 7 LST
- (14005)210 648 A
- 1068(*)S
- (ESC)126 1236 A
- 1404(M)S
- (scrolls)294 1488 A
- (the)126 1824 A
- (screen)252 1992 A
- (backwards)378 2286 A
- 2706(if)S
- (the)126 2832 A
- (cursor)252 3000 A
- 3294(is)S
- 3420(on)S
- (the)126 3546 A
- (top)126 3714 A
- (line)168 3882 A
- 990 V
- (14006)210 648 A
- 1068(*/)S
- 1080 V
- (14007)210 648 A
- 1170 V
- (14008)210 648 A
- (switch)252 1110 A
- ((cons->c_esc_state))798 1404 A
- 2244({)S
- 1260 V
- (14009)210 648 A
- (case)168 1194 A
- 1404(1:)S
- 2370(/*)S
- (ESC)126 2496 A
- (seen)168 2664 A
- 2874(*/)S
- 1350 V
- (14010)210 648 A
- (cons->c_esc_intro)714 1362 A
- 2118(=)S
- ('\0';)210 2202 A
- 1440 V
- (14011)210 648 A
- (cons->c_esc_parmp)714 1362 A
- 2118(=)S
- (cons->c_esc_parmv;)756 2202 A
- 1530 V
- (14012)210 648 A
- (cons->c_esc_parmv[0])840 1362 A
- 2244(=)S
- (cons->c_esc_parmv[1])840 2328 A
- 3210(=)S
- 3294(0;)S
- 1620 V
- (14013)210 648 A
- (switch)252 1362 A
- ((c))126 1656 A
- 1824({)S
- 1710 V
- (14014)210 648 A
- (case)168 1530 A
- ('[':)168 1740 A
- 2034(/*)S
- (Control)294 2160 A
- (Sequence)336 2496 A
- (Introducer)420 2874 A
- 3336(*/)S
- 1800 V
- (14015)210 648 A
- (cons->c_esc_intro)714 1698 A
- 2454(=)S
- 2538(c;)S
- 1890 V
- (14016)210 648 A
- (cons->c_esc_state)714 1698 A
- 2454(=)S
- 2538(2;)S
- 1980 V
- (14017)210 648 A
- (break;)252 1698 A
- 2070 V
- (14018)210 648 A
- (case)168 1530 A
- ('M':)168 1740 A
- 2034(/*)S
- (Reverse)294 2160 A
- (Index)210 2496 A
- 2748(*/)S
- 2160 V
- (14019)210 648 A
- (do_escape(cons,)630 1698 A
- (c);)126 2370 A
- 2250 V
- (14020)210 648 A
- (break;)252 1698 A
- 2340 V
- (14021)210 648 A
- (default:)336 1530 A
- 2430 V
- (14022)210 648 A
- (cons->c_esc_state)714 1698 A
- 2454(=)S
- 2538(0;)S
- 2520 V
- (14023)210 648 A
- 1362(})S
- 2610 V
- (14024)210 648 A
- (break;)252 1362 A
- 2700 V
- (14025)210 648 A
- 2790 V
- (14026)210 648 A
- (case)168 1194 A
- 1404(2:)S
- 2370(/*)S
- (ESC)126 2496 A
- 2664([)S
- (seen)168 2748 A
- 2958(*/)S
- 2880 V
- (14027)210 648 A
- 1362(if)S
- 1488((c)S
- 1614(>=)S
- ('0')126 1740 A
- 1908(&&)S
- 2034(c)S
- 2118(<=)S
- ('9'))168 2244 A
- 2454({)S
- 2970 V
- (14028)210 648 A
- 1698(if)S
- ((cons->c_esc_parmp)756 1824 A
- 2622(<)S
- (bufend(cons->c_esc_parmv)))1092 2706 A
- 3060 V
- (14029)210 648 A
- (*cons->c_esc_parmp)756 2034 A
- 2832(=)S
- (*cons->c_esc_parmp)756 2916 A
- 3714(*)S
- 3798(10)S
- 3924(+)S
- ((c-'0');)336 4008 A
- 3150 V
- (14030)210 648 A
- 1362(})S
- (else)168 1446 A
- 3240 V
- (14031)210 648 A
- 1362(if)S
- 1488((c)S
- 1614(==)S
- (';'))168 1740 A
- 1950({)S
- 3330 V
- (14032)210 648 A
- 1698(if)S
- ((++cons->c_esc_parmp)840 1824 A
- 2706(<)S
- (bufend(cons->c_esc_parmv)))1092 2790 A
- 3420 V
- (14033)210 648 A
- (*cons->c_esc_parmp)756 2034 A
- 2832(=)S
- 2916(0;)S
- 3510 V
- (14034)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 3600 V
- (14035)210 648 A
- (do_escape(cons,)630 1698 A
- (c);)126 2370 A
- 3690 V
- (14036)210 648 A
- 1362(})S
- 3780 V
- (14037)210 648 A
- (break;)252 1362 A
- 3870 V
- (14038)210 648 A
- 1110(})S
- 3960 V
- (14039)210 648 A
- 1026(})S
- 4230 V
- (14042)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4320 V
- (14043)210 648 A
- 1068(*)S
- (do_escape)378 2370 A
- 4260(*)S
- 4410 V
- (14044)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4500 V
- (14045)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (do_escape(cons,)630 1572 A
- 2244(c))S
- 4590 V
- (14046)210 648 A
- (register)336 1026 A
- (console_t)378 1404 A
- (*cons;)252 1824 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (console)294 2958 A
- (struct)252 3294 A
- 3588(*/)S
- 4680 V
- (14047)210 648 A
- (char)168 1026 A
- 1236(c;)S
- 2370(/*)S
- (next)168 2496 A
- (character)378 2706 A
- 3126(in)S
- (escape)252 3252 A
- (sequence)336 3546 A
- 3924(*/)S
- 4770 V
- (14048)210 648 A
- 1026({)S
- 4860 V
- (14049)210 648 A
- (int)126 1110 A
- (value,)252 1278 A
- 1572(n;)S
- 4950 V
- (14050)210 648 A
- (unsigned)336 1110 A
- (src,)168 1488 A
- (dst,)168 1698 A
- (count;)252 1908 A
- 5040 V
- (14051)210 648 A
- 5130 V
- (14052)210 648 A
- 1110(/*)S
- (Some)168 1236 A
- 1446(of)S
- (these)210 1572 A
- (things)252 1824 A
- (hack)168 2118 A
- 2328(on)S
- (screen)252 2454 A
- (RAM,)168 2748 A
- 2958(so)S
- 3084(it)S
- (had)126 3210 A
- (better)252 3378 A
- 3672(be)S
- 3798(up)S
- 3924(to)S
- (date)168 4050 A
- 4260(*/)S
- 5220 V
- (14053)210 648 A
- (flush(cons);)504 1110 A
- 5310 V
- (14054)210 648 A
- 5400 V
- (14055)210 648 A
- 1110(if)S
- ((cons->c_esc_intro)756 1236 A
- 2034(==)S
- ('\0'))210 2160 A
- 2412({)S
- 5490 V
- (14056)210 648 A
- 1362(/*)S
- (Handle)252 1488 A
- 1782(a)S
- (sequence)336 1866 A
- (beginning)378 2244 A
- (with)168 2664 A
- (just)168 2874 A
- (ESC)126 3084 A
- 3252(*/)S
- 5580 V
- (14057)210 648 A
- (switch)252 1362 A
- ((c))126 1656 A
- 1824({)S
- 5670 V
- (14058)210 648 A
- (case)168 1530 A
- ('M':)168 1740 A
- 2370(/*)S
- (Reverse)294 2496 A
- (Index)210 2832 A
- 3084(*/)S
- 5760 V
- (14059)210 648 A
- 1698(if)S
- ((cons->c_row)504 1824 A
- 2370(==)S
- 2496(0))S
- 2622({)S
- 5850 V
- (14060)210 648 A
- (scroll_screen(cons,)798 2034 A
- (SCROLL_DOWN);)546 2874 A
- 5940 V
- (14061)210 648 A
- 1698(})S
- (else)168 1782 A
- 1992({)S
- 6030 V
- (14062)210 648 A
- (cons->c_row--;)588 2034 A
- 6120 V
- (14063)210 648 A
- 1698(})S
- 6210 V
- (14064)210 648 A
- (flush(cons);)504 1698 A
- 8418 V
- EP
- %%Page: 194 194
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (194)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14065)210 648 A
- (break;)252 1698 A
- 990 V
- (14066)210 648 A
- 1080 V
- (14067)210 648 A
- (default:)336 1530 A
- (break;)252 1908 A
- 1170 V
- (14068)210 648 A
- 1362(})S
- 1260 V
- (14069)210 648 A
- 1110(})S
- (else)168 1194 A
- 1350 V
- (14070)210 648 A
- 1110(if)S
- ((cons->c_esc_intro)756 1236 A
- 2034(==)S
- ('['))168 2160 A
- 2370({)S
- 1440 V
- (14071)210 648 A
- 1362(/*)S
- (Handle)252 1488 A
- 1782(a)S
- (sequence)336 1866 A
- (beginning)378 2244 A
- (with)168 2664 A
- (ESC)126 2874 A
- 3042([)S
- (and)126 3126 A
- (parameters)420 3294 A
- 3756(*/)S
- 1530 V
- (14072)210 648 A
- (value)210 1362 A
- 1614(=)S
- (cons->c_esc_parmv[0];)882 1698 A
- 1620 V
- (14073)210 648 A
- (switch)252 1362 A
- ((c))126 1656 A
- 1824({)S
- 1710 V
- (14074)210 648 A
- (case)168 1530 A
- ('A':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nA)126 2664 A
- (moves)210 2832 A
- 3084(up)S
- 3210(n)S
- (lines)210 3294 A
- 3546(*/)S
- 1800 V
- (14075)210 648 A
- 1698(n)S
- 1782(=)S
- ((value)252 1866 A
- 2160(==)S
- 2286(0)S
- 2370(?)S
- 2454(1)S
- 2538(:)S
- (value);)294 2622 A
- 1890 V
- (14076)210 648 A
- (cons->c_row)462 1698 A
- 2202(-=)S
- 2328(n;)S
- 1980 V
- (14077)210 648 A
- (flush(cons);)504 1698 A
- 2070 V
- (14078)210 648 A
- (break;)252 1698 A
- 2160 V
- (14079)210 648 A
- 2250 V
- (14080)210 648 A
- (case)168 1530 A
- ('B':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nB)126 2664 A
- (moves)210 2832 A
- (down)168 3084 A
- 3294(n)S
- (lines)210 3378 A
- 3630(*/)S
- 2340 V
- (14081)210 648 A
- 1698(n)S
- 1782(=)S
- ((value)252 1866 A
- 2160(==)S
- 2286(0)S
- 2370(?)S
- 2454(1)S
- 2538(:)S
- (value);)294 2622 A
- 2430 V
- (14082)210 648 A
- (cons->c_row)462 1698 A
- 2202(+=)S
- 2328(n;)S
- 2520 V
- (14083)210 648 A
- (flush(cons);)504 1698 A
- 2610 V
- (14084)210 648 A
- (break;)252 1698 A
- 2700 V
- (14085)210 648 A
- 2790 V
- (14086)210 648 A
- (case)168 1530 A
- ('C':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nC)126 2664 A
- (moves)210 2832 A
- (right)210 3084 A
- 3336(n)S
- (spaces)252 3420 A
- 3714(*/)S
- 2880 V
- (14087)210 648 A
- 1698(n)S
- 1782(=)S
- ((value)252 1866 A
- 2160(==)S
- 2286(0)S
- 2370(?)S
- 2454(1)S
- 2538(:)S
- (value);)294 2622 A
- 2970 V
- (14088)210 648 A
- (cons->c_column)588 1698 A
- 2328(+=)S
- 2454(n;)S
- 3060 V
- (14089)210 648 A
- (flush(cons);)504 1698 A
- 3150 V
- (14090)210 648 A
- (break;)252 1698 A
- 3240 V
- (14091)210 648 A
- 3330 V
- (14092)210 648 A
- (case)168 1530 A
- ('D':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nD)126 2664 A
- (moves)210 2832 A
- (left)168 3084 A
- 3294(n)S
- (spaces)252 3378 A
- 3672(*/)S
- 3420 V
- (14093)210 648 A
- 1698(n)S
- 1782(=)S
- ((value)252 1866 A
- 2160(==)S
- 2286(0)S
- 2370(?)S
- 2454(1)S
- 2538(:)S
- (value);)294 2622 A
- 3510 V
- (14094)210 648 A
- (cons->c_column)588 1698 A
- 2328(-=)S
- 2454(n;)S
- 3600 V
- (14095)210 648 A
- (flush(cons);)504 1698 A
- 3690 V
- (14096)210 648 A
- (break;)252 1698 A
- 3780 V
- (14097)210 648 A
- 3870 V
- (14098)210 648 A
- (case)168 1530 A
- ('H':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([m;nH")252 2664 A
- (moves)210 2958 A
- (cursor)252 3210 A
- 3504(to)S
- ((m,n))210 3630 A
- 3882(*/)S
- 3960 V
- (14099)210 648 A
- (cons->c_row)462 1698 A
- 2202(=)S
- (cons->c_esc_parmv[0])840 2286 A
- 3168(-)S
- 3252(1;)S
- 4050 V
- (14100)210 648 A
- (cons->c_column)588 1698 A
- 2328(=)S
- (cons->c_esc_parmv[1])840 2412 A
- 3294(-)S
- 3378(1;)S
- 4140 V
- (14101)210 648 A
- (flush(cons);)504 1698 A
- 4230 V
- (14102)210 648 A
- (break;)252 1698 A
- 4320 V
- (14103)210 648 A
- 4410 V
- (14104)210 648 A
- (case)168 1530 A
- ('J':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([sJ)126 2664 A
- (clears)252 2832 A
- 3126(in)S
- (display)294 3252 A
- 3588(*/)S
- 4500 V
- (14105)210 648 A
- (switch)252 1698 A
- ((value))294 1992 A
- 2328({)S
- 4590 V
- (14106)210 648 A
- (case)168 1866 A
- 2076(0:)S
- 2370(/*)S
- (Clear)210 2496 A
- (from)168 2748 A
- (cursor)252 2958 A
- 3252(to)S
- (end)126 3378 A
- 3546(of)S
- (screen)252 3672 A
- 3966(*/)S
- 4680 V
- (14107)210 648 A
- (count)210 2034 A
- 2286(=)S
- (scr_size)336 2370 A
- 2748(-)S
- ((cons->c_cur)504 2832 A
- 3378(-)S
- (cons->c_org);)546 3462 A
- 4770 V
- (14108)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_cur;)504 2286 A
- 4860 V
- (14109)210 648 A
- (break;)252 2034 A
- 4950 V
- (14110)210 648 A
- (case)168 1866 A
- 2076(1:)S
- 2370(/*)S
- (Clear)210 2496 A
- (from)168 2748 A
- (start)210 2958 A
- 3210(of)S
- (screen)252 3336 A
- 3630(to)S
- (cursor)252 3756 A
- 4050(*/)S
- 5040 V
- (14111)210 648 A
- (count)210 2034 A
- 2286(=)S
- (cons->c_cur)462 2370 A
- 2874(-)S
- (cons->c_org;)504 2958 A
- 5130 V
- (14112)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_org;)504 2286 A
- 5220 V
- (14113)210 648 A
- (break;)252 2034 A
- 5310 V
- (14114)210 648 A
- (case)168 1866 A
- 2076(2:)S
- 2370(/*)S
- (Clear)210 2496 A
- (entire)252 2748 A
- (screen)252 3042 A
- 3336(*/)S
- 5400 V
- (14115)210 648 A
- (count)210 2034 A
- 2286(=)S
- (scr_size;)378 2370 A
- 5490 V
- (14116)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_org;)504 2286 A
- 5580 V
- (14117)210 648 A
- (break;)252 2034 A
- 5670 V
- (14118)210 648 A
- (default:)336 1866 A
- 2370(/*)S
- 2496(Do)S
- (nothing)294 2622 A
- 2958(*/)S
- 5760 V
- (14119)210 648 A
- (count)210 2034 A
- 2286(=)S
- 2370(0;)S
- 5850 V
- (14120)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_org;)504 2286 A
- 5940 V
- (14121)210 648 A
- 1698(})S
- 6030 V
- (14122)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 6120 V
- (14123)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (dst,)168 2706 A
- (count);)294 2916 A
- 6210 V
- (14124)210 648 A
- (break;)252 1698 A
- 8418 V
- EP
- %%Page: 195 195
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (195)180 4248 A
- 900 V
- 7 LST
- (14125)210 648 A
- 990 V
- (14126)210 648 A
- (case)168 1530 A
- ('K':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([sK)126 2664 A
- (clears)252 2832 A
- (line)168 3126 A
- (from)168 3336 A
- (cursor)252 3546 A
- 3840(*/)S
- 1080 V
- (14127)210 648 A
- (switch)252 1698 A
- ((value))294 1992 A
- 2328({)S
- 1170 V
- (14128)210 648 A
- (case)168 1866 A
- 2076(0:)S
- 2370(/*)S
- (Clear)210 2496 A
- (from)168 2748 A
- (cursor)252 2958 A
- 3252(to)S
- (end)126 3378 A
- 3546(of)S
- (line)168 3672 A
- 3882(*/)S
- 1260 V
- (14129)210 648 A
- (count)210 2034 A
- 2286(=)S
- (scr_width)378 2370 A
- 2790(-)S
- (cons->c_column;)630 2874 A
- 1350 V
- (14130)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_cur;)504 2286 A
- 1440 V
- (14131)210 648 A
- (break;)252 2034 A
- 1530 V
- (14132)210 648 A
- (case)168 1866 A
- 2076(1:)S
- 2370(/*)S
- (Clear)210 2496 A
- (from)168 2748 A
- (beginning)378 2958 A
- 3378(of)S
- (line)168 3504 A
- 3714(to)S
- (cursor)252 3840 A
- 4134(*/)S
- 1620 V
- (14133)210 648 A
- (count)210 2034 A
- 2286(=)S
- (cons->c_column;)630 2370 A
- 1710 V
- (14134)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_cur)462 2286 A
- 2790(-)S
- (cons->c_column;)630 2874 A
- 1800 V
- (14135)210 648 A
- (break;)252 2034 A
- 1890 V
- (14136)210 648 A
- (case)168 1866 A
- 2076(2:)S
- 2370(/*)S
- (Clear)210 2496 A
- (entire)252 2748 A
- (line)168 3042 A
- 3252(*/)S
- 1980 V
- (14137)210 648 A
- (count)210 2034 A
- 2286(=)S
- (scr_width;)420 2370 A
- 2070 V
- (14138)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_cur)462 2286 A
- 2790(-)S
- (cons->c_column;)630 2874 A
- 2160 V
- (14139)210 648 A
- (break;)252 2034 A
- 2250 V
- (14140)210 648 A
- (default:)336 1866 A
- 2370(/*)S
- 2496(Do)S
- (nothing)294 2622 A
- 2958(*/)S
- 2340 V
- (14141)210 648 A
- (count)210 2034 A
- 2286(=)S
- 2370(0;)S
- 2430 V
- (14142)210 648 A
- (dst)126 2034 A
- 2202(=)S
- (cons->c_cur;)504 2286 A
- 2520 V
- (14143)210 648 A
- 1698(})S
- 2610 V
- (14144)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 2700 V
- (14145)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (dst,)168 2706 A
- (count);)294 2916 A
- 2790 V
- (14146)210 648 A
- (break;)252 1698 A
- 2880 V
- (14147)210 648 A
- 2970 V
- (14148)210 648 A
- (case)168 1530 A
- ('L':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nL)126 2664 A
- (inserts)294 2832 A
- 3168(n)S
- (lines)210 3252 A
- 3504(at)S
- (cursor)252 3630 A
- 3924(*/)S
- 3060 V
- (14149)210 648 A
- 1698(n)S
- 1782(=)S
- (value;)252 1866 A
- 3150 V
- (14150)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(<)S
- 2034(1))S
- 2160(n)S
- 2244(=)S
- 2328(1;)S
- 3240 V
- (14151)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(>)S
- ((scr_lines)420 2034 A
- 2496(-)S
- (cons->c_row)))546 2580 A
- 3330 V
- (14152)210 648 A
- 2034(n)S
- 2118(=)S
- (scr_lines)378 2202 A
- 2622(-)S
- (cons->c_row;)504 2706 A
- 3420 V
- (14153)210 648 A
- 3510 V
- (14154)210 648 A
- (src)126 1698 A
- 1866(=)S
- (cons->c_org)462 1950 A
- 2454(+)S
- (cons->c_row)462 2538 A
- 3042(*)S
- (scr_width;)420 3126 A
- 3600 V
- (14155)210 648 A
- (dst)126 1698 A
- 1866(=)S
- (src)126 1950 A
- 2118(+)S
- 2202(n)S
- 2286(*)S
- (scr_width;)420 2370 A
- 3690 V
- (14156)210 648 A
- (count)210 1698 A
- 1950(=)S
- ((scr_lines)420 2034 A
- 2496(-)S
- (cons->c_row)462 2580 A
- 3084(-)S
- 3168(n))S
- 3294(*)S
- (scr_width;)420 3378 A
- 3780 V
- (14157)210 648 A
- (vid_vid_copy(src,)714 1698 A
- (dst,)168 2454 A
- (count);)294 2664 A
- 3870 V
- (14158)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 3960 V
- (14159)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (src,)168 2706 A
- 2916(n)S
- 3000(*)S
- (scr_width);)462 3084 A
- 4050 V
- (14160)210 648 A
- (break;)252 1698 A
- 4140 V
- (14161)210 648 A
- 4230 V
- (14162)210 648 A
- (case)168 1530 A
- ('M':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nM)126 2664 A
- (deletes)294 2832 A
- 3168(n)S
- (lines)210 3252 A
- 3504(at)S
- (cursor)252 3630 A
- 3924(*/)S
- 4320 V
- (14163)210 648 A
- 1698(n)S
- 1782(=)S
- (value;)252 1866 A
- 4410 V
- (14164)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(<)S
- 2034(1))S
- 2160(n)S
- 2244(=)S
- 2328(1;)S
- 4500 V
- (14165)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(>)S
- ((scr_lines)420 2034 A
- 2496(-)S
- (cons->c_row)))546 2580 A
- 4590 V
- (14166)210 648 A
- 2034(n)S
- 2118(=)S
- (scr_lines)378 2202 A
- 2622(-)S
- (cons->c_row;)504 2706 A
- 4680 V
- (14167)210 648 A
- 4770 V
- (14168)210 648 A
- (dst)126 1698 A
- 1866(=)S
- (cons->c_org)462 1950 A
- 2454(+)S
- (cons->c_row)462 2538 A
- 3042(*)S
- (scr_width;)420 3126 A
- 4860 V
- (14169)210 648 A
- (src)126 1698 A
- 1866(=)S
- (dst)126 1950 A
- 2118(+)S
- 2202(n)S
- 2286(*)S
- (scr_width;)420 2370 A
- 4950 V
- (14170)210 648 A
- (count)210 1698 A
- 1950(=)S
- ((scr_lines)420 2034 A
- 2496(-)S
- (cons->c_row)462 2580 A
- 3084(-)S
- 3168(n))S
- 3294(*)S
- (scr_width;)420 3378 A
- 5040 V
- (14171)210 648 A
- (vid_vid_copy(src,)714 1698 A
- (dst,)168 2454 A
- (count);)294 2664 A
- 5130 V
- (14172)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 5220 V
- (14173)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (dst)126 2706 A
- 2874(+)S
- (count,)252 2958 A
- 3252(n)S
- 3336(*)S
- (scr_width);)462 3420 A
- 5310 V
- (14174)210 648 A
- (break;)252 1698 A
- 5400 V
- (14175)210 648 A
- 5490 V
- (14176)210 648 A
- (case)168 1530 A
- ('@':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([n@)126 2664 A
- (inserts)294 2832 A
- 3168(n)S
- (chars)210 3252 A
- 3504(at)S
- (cursor)252 3630 A
- 3924(*/)S
- 5580 V
- (14177)210 648 A
- 1698(n)S
- 1782(=)S
- (value;)252 1866 A
- 5670 V
- (14178)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(<)S
- 2034(1))S
- 2160(n)S
- 2244(=)S
- 2328(1;)S
- 5760 V
- (14179)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(>)S
- ((scr_width)420 2034 A
- 2496(-)S
- (cons->c_column)))672 2580 A
- 5850 V
- (14180)210 648 A
- 2034(n)S
- 2118(=)S
- (scr_width)378 2202 A
- 2622(-)S
- (cons->c_column;)630 2706 A
- 5940 V
- (14181)210 648 A
- 6030 V
- (14182)210 648 A
- (src)126 1698 A
- 1866(=)S
- (cons->c_cur;)504 1950 A
- 6120 V
- (14183)210 648 A
- (dst)126 1698 A
- 1866(=)S
- (src)126 1950 A
- 2118(+)S
- 2202(n;)S
- 6210 V
- (14184)210 648 A
- (count)210 1698 A
- 1950(=)S
- (scr_width)378 2034 A
- 2454(-)S
- (cons->c_column)588 2538 A
- 3168(-)S
- 3252(n;)S
- 8418 V
- EP
- %%Page: 196 196
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (196)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14185)210 648 A
- (vid_vid_copy(src,)714 1698 A
- (dst,)168 2454 A
- (count);)294 2664 A
- 990 V
- (14186)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 1080 V
- (14187)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (src,)168 2706 A
- (n);)126 2916 A
- 1170 V
- (14188)210 648 A
- (break;)252 1698 A
- 1260 V
- (14189)210 648 A
- 1350 V
- (14190)210 648 A
- (case)168 1530 A
- ('P':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nP)126 2664 A
- (deletes)294 2832 A
- 3168(n)S
- (chars)210 3252 A
- 3504(at)S
- (cursor)252 3630 A
- 3924(*/)S
- 1440 V
- (14191)210 648 A
- 1698(n)S
- 1782(=)S
- (value;)252 1866 A
- 1530 V
- (14192)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(<)S
- 2034(1))S
- 2160(n)S
- 2244(=)S
- 2328(1;)S
- 1620 V
- (14193)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(>)S
- ((scr_width)420 2034 A
- 2496(-)S
- (cons->c_column)))672 2580 A
- 1710 V
- (14194)210 648 A
- 2034(n)S
- 2118(=)S
- (scr_width)378 2202 A
- 2622(-)S
- (cons->c_column;)630 2706 A
- 1800 V
- (14195)210 648 A
- 1890 V
- (14196)210 648 A
- (dst)126 1698 A
- 1866(=)S
- (cons->c_cur;)504 1950 A
- 1980 V
- (14197)210 648 A
- (src)126 1698 A
- 1866(=)S
- (dst)126 1950 A
- 2118(+)S
- 2202(n;)S
- 2070 V
- (14198)210 648 A
- (count)210 1698 A
- 1950(=)S
- (scr_width)378 2034 A
- 2454(-)S
- (cons->c_column)588 2538 A
- 3168(-)S
- 3252(n;)S
- 2160 V
- (14199)210 648 A
- (vid_vid_copy(src,)714 1698 A
- (dst,)168 2454 A
- (count);)294 2664 A
- 2250 V
- (14200)210 648 A
- (blank_color)462 1698 A
- 2202(=)S
- (cons->c_blank;)588 2286 A
- 2340 V
- (14201)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1698 A
- (dst)126 2706 A
- 2874(+)S
- (count,)252 2958 A
- (n);)126 3252 A
- 2430 V
- (14202)210 648 A
- (break;)252 1698 A
- 2520 V
- (14203)210 648 A
- 2610 V
- (14204)210 648 A
- (case)168 1530 A
- ('m':)168 1740 A
- 2370(/*)S
- (ESC)126 2496 A
- ([nm)126 2664 A
- (enables)294 2832 A
- (rendition)378 3168 A
- 3588(n)S
- 3672(*/)S
- 2700 V
- (14205)210 648 A
- (switch)252 1698 A
- ((value))294 1992 A
- 2328({)S
- 2790 V
- (14206)210 648 A
- (case)168 1866 A
- 2076(1:)S
- 2370(/*)S
- (BOLD)168 2496 A
- 2748(*/)S
- 2880 V
- (14207)210 648 A
- 2034(if)S
- ((color))294 2160 A
- 2496({)S
- 2970 V
- (14208)210 648 A
- 2370(/*)S
- (Can't)210 2496 A
- 2748(do)S
- (bold,)210 2874 A
- 3126(so)S
- (use)126 3252 A
- (yellow)252 3420 A
- 3714(*/)S
- 3060 V
- (14209)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0xf0ff))294 3672 A
- 4008(|)S
- (0x0E00;)294 4092 A
- 3150 V
- (14210)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 3240 V
- (14211)210 648 A
- 2370(/*)S
- (Set)126 2496 A
- (intensity)378 2664 A
- (bit)126 3084 A
- 3252(*/)S
- 3330 V
- (14212)210 648 A
- (cons->c_attr)504 2370 A
- 2916(|=)S
- (0x0800;)294 3042 A
- 3420 V
- (14213)210 648 A
- 2034(})S
- 3510 V
- (14214)210 648 A
- (break;)252 2034 A
- 3600 V
- (14215)210 648 A
- 3690 V
- (14216)210 648 A
- (case)168 1866 A
- 2076(4:)S
- 2370(/*)S
- (UNDERLINE)378 2496 A
- 2916(*/)S
- 3780 V
- (14217)210 648 A
- 2034(if)S
- ((color))294 2160 A
- 2496({)S
- 3870 V
- (14218)210 648 A
- 2370(/*)S
- (Use)126 2496 A
- (light)210 2664 A
- (green)210 2916 A
- 3168(*/)S
- 3960 V
- (14219)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0xf0ff))294 3672 A
- 4008(|)S
- (0x0A00;)294 4092 A
- 4050 V
- (14220)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 4140 V
- (14221)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0x8900);)336 3672 A
- 4230 V
- (14222)210 648 A
- 2034(})S
- 4320 V
- (14223)210 648 A
- (break;)252 2034 A
- 4410 V
- (14224)210 648 A
- 4500 V
- (14225)210 648 A
- (case)168 1866 A
- 2076(5:)S
- 2370(/*)S
- (BLINKING)336 2496 A
- 2874(*/)S
- 4590 V
- (14226)210 648 A
- 2034(if)S
- ((color))294 2160 A
- 2496({)S
- 4680 V
- (14227)210 648 A
- 2370(/*)S
- (Use)126 2496 A
- (magenta)294 2664 A
- 3000(*/)S
- 4770 V
- (14228)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0xf0ff))294 3672 A
- 4008(|)S
- (0x0500;)294 4092 A
- 4860 V
- (14229)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 4950 V
- (14230)210 648 A
- 2370(/*)S
- (Set)126 2496 A
- (the)126 2664 A
- (blink)210 2832 A
- (bit)126 3084 A
- 3252(*/)S
- 5040 V
- (14231)210 648 A
- (cons->c_attr)504 2370 A
- 2916(|=)S
- (0x8000;)294 3042 A
- 5130 V
- (14232)210 648 A
- 2034(})S
- 5220 V
- (14233)210 648 A
- (break;)252 2034 A
- 5310 V
- (14234)210 648 A
- 5400 V
- (14235)210 648 A
- (case)168 1866 A
- 2076(7:)S
- 2370(/*)S
- (REVERSE)294 2496 A
- 2832(*/)S
- 5490 V
- (14236)210 648 A
- 2034(if)S
- ((color))294 2160 A
- 2496({)S
- 5580 V
- (14237)210 648 A
- 2370(/*)S
- (Swap)168 2496 A
- 2706(fg)S
- (and)126 2832 A
- 3000(bg)S
- (colors)252 3126 A
- 3420(*/)S
- 5670 V
- (14238)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- 5760 V
- (14239)210 648 A
- (((cons->c_attr)588 2706 A
- 3336(&)S
- (0xf000))294 3420 A
- 3756(>>)S
- 3882(4))S
- 4008(|)S
- 5850 V
- (14240)210 648 A
- (((cons->c_attr)588 2706 A
- 3336(&)S
- (0x0f00))294 3420 A
- 3756(<<)S
- (4);)126 3882 A
- 5940 V
- (14241)210 648 A
- 2034(})S
- (else)168 2118 A
- 6030 V
- (14242)210 648 A
- 2034(if)S
- (((cons->c_attr)588 2160 A
- 2790(&)S
- (0x7000))294 2874 A
- 3210(==)S
- 3336(0))S
- 3462({)S
- 6120 V
- (14243)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0x8800))294 3672 A
- 4008(|)S
- (0x7000;)294 4092 A
- 6210 V
- (14244)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 8418 V
- EP
- %%Page: 197 197
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (197)180 4248 A
- 900 V
- 7 LST
- (14245)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- ((cons->c_attr)546 3000 A
- 3588(&)S
- (0x8800))294 3672 A
- 4008(|)S
- (0x0700;)294 4092 A
- 990 V
- (14246)210 648 A
- 2034(})S
- 1080 V
- (14247)210 648 A
- (break;)252 2034 A
- 1170 V
- (14248)210 648 A
- 1260 V
- (14249)210 648 A
- (default:)336 1866 A
- 2370(/*)S
- (COLOR)210 2496 A
- 2748(*/)S
- 1350 V
- (14250)210 648 A
- 2034(if)S
- ((30)126 2160 A
- 2328(<=)S
- (value)210 2454 A
- 2706(&&)S
- (value)210 2832 A
- 3084(<=)S
- (37))126 3210 A
- 3378({)S
- 1440 V
- (14251)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- 1530 V
- (14252)210 648 A
- ((cons->c_attr)546 2706 A
- 3294(&)S
- (0xf0ff))294 3378 A
- 3714(|)S
- 1620 V
- (14253)210 648 A
- ((ansi_colors[(value)798 2706 A
- 3546(-)S
- (30)])168 3630 A
- 3840(<<)S
- (8);)126 3966 A
- 1710 V
- (14254)210 648 A
- (cons->c_blank)546 2370 A
- 2958(=)S
- 1800 V
- (14255)210 648 A
- ((cons->c_blank)588 2706 A
- 3336(&)S
- (0xf0ff))294 3420 A
- 3756(|)S
- 1890 V
- (14256)210 648 A
- ((ansi_colors[(value)798 2706 A
- 3546(-)S
- (30)])168 3630 A
- 3840(<<)S
- (8);)126 3966 A
- 1980 V
- (14257)210 648 A
- 2034(})S
- (else)168 2118 A
- 2070 V
- (14258)210 648 A
- 2034(if)S
- ((40)126 2160 A
- 2328(<=)S
- (value)210 2454 A
- 2706(&&)S
- (value)210 2832 A
- 3084(<=)S
- (47))126 3210 A
- 3378({)S
- 2160 V
- (14259)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- 2250 V
- (14260)210 648 A
- ((cons->c_attr)546 2706 A
- 3294(&)S
- (0x0fff))294 3378 A
- 3714(|)S
- 2340 V
- (14261)210 648 A
- ((ansi_colors[(value)798 2706 A
- 3546(-)S
- (40)])168 3630 A
- 3840(<<)S
- (12);)168 3966 A
- 2430 V
- (14262)210 648 A
- (cons->c_blank)546 2370 A
- 2958(=)S
- 2520 V
- (14263)210 648 A
- ((cons->c_blank)588 2706 A
- 3336(&)S
- (0x0fff))294 3420 A
- 3756(|)S
- 2610 V
- (14264)210 648 A
- ((ansi_colors[(value)798 2706 A
- 3546(-)S
- (40)])168 3630 A
- 3840(<<)S
- (12);)168 3966 A
- 2700 V
- (14265)210 648 A
- 2034(})S
- (else)168 2118 A
- 2328({)S
- 2790 V
- (14266)210 648 A
- (cons->c_attr)504 2370 A
- 2916(=)S
- (cons->c_blank;)588 3000 A
- 2880 V
- (14267)210 648 A
- 2034(})S
- 2970 V
- (14268)210 648 A
- (break;)252 2034 A
- 3060 V
- (14269)210 648 A
- 1698(})S
- 3150 V
- (14270)210 648 A
- (break;)252 1698 A
- 3240 V
- (14271)210 648 A
- 1362(})S
- 3330 V
- (14272)210 648 A
- 1110(})S
- 3420 V
- (14273)210 648 A
- (cons->c_esc_state)714 1110 A
- 1866(=)S
- 1950(0;)S
- 3510 V
- (14274)210 648 A
- 1026(})S
- 3780 V
- (14277)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3870 V
- (14278)210 648 A
- 1068(*)S
- (set_6845)336 2370 A
- 4260(*)S
- 3960 V
- (14279)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4050 V
- (14280)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (set_6845(reg,)546 1572 A
- (val))168 2160 A
- 4140 V
- (14281)210 648 A
- (int)126 1026 A
- (reg;)168 1194 A
- 2370(/*)S
- (which)210 2496 A
- (register)336 2748 A
- (pair)168 3126 A
- 3336(to)S
- (set)126 3462 A
- 3630(*/)S
- 4230 V
- (14282)210 648 A
- (unsigned)336 1026 A
- (val;)168 1404 A
- 2370(/*)S
- (16-bit)252 2496 A
- (value)210 2790 A
- 3042(to)S
- (set)126 3168 A
- 3336(it)S
- 3462(to)S
- 3588(*/)S
- 4320 V
- (14283)210 648 A
- 1026({)S
- 4410 V
- (14284)210 648 A
- 1026(/*)S
- (Set)126 1152 A
- 1320(a)S
- (register)336 1404 A
- (pair)168 1782 A
- (inside)252 1992 A
- (the)126 2286 A
- (6845.)210 2454 A
- 4500 V
- (14285)210 648 A
- 1068(*)S
- (Registers)378 1152 A
- (12-13)210 1572 A
- (tell)168 1824 A
- (the)126 2034 A
- (6845)168 2202 A
- (where)210 2412 A
- 2664(in)S
- (video)210 2790 A
- (ram)126 3042 A
- 3210(to)S
- (start)210 3336 A
- 4590 V
- (14286)210 648 A
- 1068(*)S
- (Registers)378 1152 A
- (14-15)210 1572 A
- (tell)168 1824 A
- (the)126 2034 A
- (6845)168 2202 A
- (where)210 2412 A
- 2664(to)S
- (put)126 2790 A
- (the)126 2958 A
- (cursor)252 3126 A
- 4680 V
- (14287)210 648 A
- 1068(*/)S
- 4770 V
- (14288)210 648 A
- (lock();)294 1110 A
- 2370(/*)S
- (try)126 2496 A
- 2664(to)S
- (stop)168 2790 A
- (h/w)126 3000 A
- (loading)294 3168 A
- (in-between)420 3504 A
- (value)210 3966 A
- 4218(*/)S
- 4860 V
- (14289)210 648 A
- (out_byte(vid_port)714 1110 A
- 1866(+)S
- (INDEX,)252 1950 A
- (reg);)210 2244 A
- 3042(/*)S
- (set)126 3168 A
- (the)126 3336 A
- (index)210 3504 A
- (register)336 3756 A
- 4134(*/)S
- 4950 V
- (14290)210 648 A
- (out_byte(vid_port)714 1110 A
- 1866(+)S
- (DATA,)210 1950 A
- ((val>>8))336 2202 A
- 2580(&)S
- (BYTE);)252 2664 A
- 3042(/*)S
- (output)252 3168 A
- (high)168 3462 A
- (byte)168 3672 A
- 3882(*/)S
- 5040 V
- (14291)210 648 A
- (out_byte(vid_port)714 1110 A
- 1866(+)S
- (INDEX,)252 1950 A
- (reg)126 2244 A
- 2412(+)S
- (1);)126 2496 A
- 3042(/*)S
- (again)210 3168 A
- 3420(*/)S
- 5130 V
- (14292)210 648 A
- (out_byte(vid_port)714 1110 A
- 1866(+)S
- (DATA,)210 1950 A
- (val&BYTE);)420 2202 A
- 3042(/*)S
- (output)252 3168 A
- (low)126 3462 A
- (byte)168 3630 A
- 3840(*/)S
- 5220 V
- (14293)210 648 A
- (unlock();)378 1110 A
- 5310 V
- (14294)210 648 A
- 1026(})S
- 5580 V
- (14297)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5670 V
- (14298)210 648 A
- 1068(*)S
- (beep)168 2370 A
- 4260(*)S
- 5760 V
- (14299)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5850 V
- (14300)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (beep())252 1572 A
- 5940 V
- (14301)210 648 A
- 1026({)S
- 6030 V
- (14302)210 648 A
- 1026(/*)S
- (Making)252 1152 A
- 1446(a)S
- (beeping)294 1530 A
- (sound)210 1866 A
- 2118(on)S
- (the)126 2244 A
- (speaker)294 2412 A
- ((output)294 2748 A
- (for)126 3084 A
- (CRTL-G).)336 3252 A
- 6120 V
- (14303)210 648 A
- 1068(*)S
- (This)168 1152 A
- (routine)294 1362 A
- (works)210 1698 A
- 1950(by)S
- (turning)294 2076 A
- 2412(on)S
- (the)126 2538 A
- (bits)168 2706 A
- 2916(0)S
- (and)126 3000 A
- 3168(1)S
- 3252(in)S
- (port)168 3378 A
- 3588(B)S
- 3672(of)S
- (the)126 3798 A
- (8255)168 3966 A
- 6210 V
- (14304)210 648 A
- 1068(*)S
- (chip)168 1152 A
- (that)168 1362 A
- (drives)252 1572 A
- (the)126 1866 A
- (speaker.)336 2034 A
- 8418 V
- EP
- %%Page: 198 198
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (198)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14305)210 648 A
- 1068(*/)S
- 990 V
- (14306)210 648 A
- 1080 V
- (14307)210 648 A
- (message)294 1110 A
- (mess;)210 1446 A
- 1170 V
- (14308)210 648 A
- 1260 V
- (14309)210 648 A
- 1110(if)S
- ((beeping))378 1236 A
- (return;)294 1656 A
- 1350 V
- (14310)210 648 A
- (out_byte(TIMER_MODE,)840 1110 A
- (0xB6);)252 1992 A
- 2370(/*)S
- (set)126 2496 A
- 2664(up)S
- (timer)210 2790 A
- (channel)294 3042 A
- 3378(2)S
- ((square)294 3462 A
- (wave))210 3798 A
- 4050(*/)S
- 1440 V
- (14311)210 648 A
- (out_byte(TIMER2,)672 1110 A
- (BEEP_FREQ)378 1824 A
- 2244(&)S
- (BYTE);)252 2328 A
- 2706(/*)S
- (load)168 2832 A
- (low-order)378 3042 A
- (bits)168 3462 A
- 3672(of)S
- (frequency)378 3798 A
- 4218(*/)S
- 1530 V
- (14312)210 648 A
- (out_byte(TIMER2,)672 1110 A
- ((BEEP_FREQ)420 1824 A
- 2286(>>)S
- 2412(8))S
- 2538(&)S
- (BYTE);)252 2622 A
- 3042(/*)S
- (now)126 3168 A
- (high-order)420 3336 A
- (bits)168 3798 A
- 4008(*/)S
- 1620 V
- (14313)210 648 A
- (lock();)294 1110 A
- 2370(/*)S
- (guard)210 2496 A
- (PORT_B)252 2748 A
- (from)168 3042 A
- (keyboard)336 3252 A
- (intr)168 3630 A
- (handler)294 3840 A
- 4176(*/)S
- 1710 V
- (14314)210 648 A
- (out_byte(PORT_B,)672 1110 A
- (in_byte(PORT_B))630 1824 A
- 2496(|)S
- (3);)126 2580 A
- 3042(/*)S
- (turn)168 3168 A
- 3378(on)S
- (beep)168 3504 A
- (bits)168 3714 A
- 3924(*/)S
- 1800 V
- (14315)210 648 A
- (unlock();)378 1110 A
- 1890 V
- (14316)210 648 A
- (beeping)294 1110 A
- 1446(=)S
- (TRUE;)210 1530 A
- 1980 V
- (14317)210 648 A
- 2070 V
- (14318)210 648 A
- (mess.m_type)462 1110 A
- 1614(=)S
- (SET_ALARM;)420 1698 A
- 2160 V
- (14319)210 648 A
- (mess.CLOCK_PROC_NR)756 1110 A
- 1908(=)S
- (TTY;)168 1992 A
- 2250 V
- (14320)210 648 A
- (mess.DELTA_TICKS)672 1110 A
- 1824(=)S
- (B_TIME;)294 1908 A
- 2340 V
- (14321)210 648 A
- (mess.FUNC_TO_CALL)714 1110 A
- 1866(=)S
- ((sighandler_t))588 1950 A
- (stop_beep;)420 2580 A
- 2430 V
- (14322)210 648 A
- (sendrec(CLOCK,)588 1110 A
- (&mess);)294 1740 A
- 2520 V
- (14323)210 648 A
- 1026(})S
- 2790 V
- (14326)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2880 V
- (14327)210 648 A
- 1068(*)S
- (stop_beep)378 2370 A
- 4260(*)S
- 2970 V
- (14328)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3060 V
- (14329)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (stop_beep())462 1572 A
- 3150 V
- (14330)210 648 A
- 1026({)S
- 3240 V
- (14331)210 648 A
- 1026(/*)S
- (Turn)168 1152 A
- (off)126 1362 A
- (the)126 1530 A
- (beeper)252 1698 A
- 1992(by)S
- (turning)294 2118 A
- (off)126 2454 A
- (bits)168 2622 A
- 2832(0)S
- (and)126 2916 A
- 3084(1)S
- 3168(in)S
- (PORT_B.)294 3294 A
- 3630(*/)S
- 3330 V
- (14332)210 648 A
- 3420 V
- (14333)210 648 A
- (lock();)294 1110 A
- 2370(/*)S
- (guard)210 2496 A
- (PORT_B)252 2748 A
- (from)168 3042 A
- (keyboard)336 3252 A
- (intr)168 3630 A
- (handler)294 3840 A
- 4176(*/)S
- 3510 V
- (14334)210 648 A
- (out_byte(PORT_B,)672 1110 A
- (in_byte(PORT_B))630 1824 A
- 2496(&)S
- (3043);)168 2580 A
- 3600 V
- (14335)210 648 A
- (beeping)294 1110 A
- 1446(=)S
- (FALSE;)252 1530 A
- 3690 V
- (14336)210 648 A
- (unlock();)378 1110 A
- 3780 V
- (14337)210 648 A
- 1026(})S
- 4050 V
- (14340)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4140 V
- (14341)210 648 A
- 1068(*)S
- (scr_init)336 2370 A
- 4260(*)S
- 4230 V
- (14342)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4320 V
- (14343)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (scr_init(tp))504 1530 A
- 4410 V
- (14344)210 648 A
- (tty_t)210 1026 A
- (*tp;)168 1278 A
- 4500 V
- (14345)210 648 A
- 1026({)S
- 4590 V
- (14346)210 648 A
- 1026(/*)S
- (Initialize)420 1152 A
- (the)126 1614 A
- (screen)252 1782 A
- (driver.)294 2076 A
- 2412(*/)S
- 4680 V
- (14347)210 648 A
- (console_t)378 1110 A
- (*cons;)252 1530 A
- 4770 V
- (14348)210 648 A
- (phys_bytes)420 1110 A
- (vid_base;)378 1572 A
- 4860 V
- (14349)210 648 A
- (u16_t)210 1110 A
- (bios_crtbase;)546 1362 A
- 4950 V
- (14350)210 648 A
- (int)126 1110 A
- (line;)210 1278 A
- 5040 V
- (14351)210 648 A
- (unsigned)336 1110 A
- (page_size;)420 1488 A
- 5130 V
- (14352)210 648 A
- 5220 V
- (14353)210 648 A
- 1110(/*)S
- (Associate)378 1236 A
- (console)294 1656 A
- (and)126 1992 A
- (TTY.)168 2160 A
- 2370(*/)S
- 5310 V
- (14354)210 648 A
- (line)168 1110 A
- 1320(=)S
- 1404(tp)S
- 1530(-)S
- (&tty_table[0];)588 1614 A
- 5400 V
- (14355)210 648 A
- 1110(if)S
- ((line)210 1236 A
- 1488(>=)S
- (nr_cons))336 1614 A
- (return;)294 1992 A
- 5490 V
- (14356)210 648 A
- (cons)168 1110 A
- 1320(=)S
- (&cons_table[line];)756 1404 A
- 5580 V
- (14357)210 648 A
- (cons->c_tty)462 1110 A
- 1614(=)S
- (tp;)126 1698 A
- 5670 V
- (14358)210 648 A
- (tp->tty_priv)504 1110 A
- 1656(=)S
- (cons;)210 1740 A
- 5760 V
- (14359)210 648 A
- 5850 V
- (14360)210 648 A
- 1110(/*)S
- (Initialize)420 1236 A
- (the)126 1698 A
- (keyboard)336 1866 A
- (driver.)294 2244 A
- 2580(*/)S
- 5940 V
- (14361)210 648 A
- (kb_init(tp);)504 1110 A
- 6030 V
- (14362)210 648 A
- 6120 V
- (14363)210 648 A
- 1110(/*)S
- (Output)252 1236 A
- (functions.)420 1530 A
- 1992(*/)S
- 6210 V
- (14364)210 648 A
- (tp->tty_devwrite)672 1110 A
- 1824(=)S
- (cons_write;)462 1908 A
- 8418 V
- EP
- %%Page: 199 199
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (199)180 4248 A
- 900 V
- 7 LST
- (14365)210 648 A
- (tp->tty_echo)504 1110 A
- 1656(=)S
- (cons_echo;)420 1740 A
- 990 V
- (14366)210 648 A
- 1080 V
- (14367)210 648 A
- 1110(/*)S
- (Get)126 1236 A
- (the)126 1404 A
- (BIOS)168 1572 A
- (parameters)420 1782 A
- (that)168 2244 A
- (tells)210 2454 A
- (the)126 2706 A
- (VDU)126 2874 A
- (I/O)126 3042 A
- (base)168 3210 A
- (register.)378 3420 A
- 3840(*/)S
- 1170 V
- (14368)210 648 A
- (phys_copy(0x463L,)714 1110 A
- (vir2phys(&bios_crtbase),)1008 1866 A
- (2L);)168 2916 A
- 1260 V
- (14369)210 648 A
- 1350 V
- (14370)210 648 A
- (vid_port)336 1110 A
- 1488(=)S
- (bios_crtbase;)546 1572 A
- 1440 V
- (14371)210 648 A
- 1530 V
- (14372)210 648 A
- 1110(if)S
- ((color))294 1236 A
- 1572({)S
- 1620 V
- (14373)210 648 A
- (vid_base)336 1362 A
- 1740(=)S
- (COLOR_BASE;)462 1824 A
- 1710 V
- (14374)210 648 A
- (vid_size)336 1362 A
- 1740(=)S
- (COLOR_SIZE;)462 1824 A
- 1800 V
- (14375)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 1890 V
- (14376)210 648 A
- (vid_base)336 1362 A
- 1740(=)S
- (MONO_BASE;)420 1824 A
- 1980 V
- (14377)210 648 A
- (vid_size)336 1362 A
- 1740(=)S
- (MONO_SIZE;)420 1824 A
- 2070 V
- (14378)210 648 A
- 1110(})S
- 2160 V
- (14379)210 648 A
- 1110(if)S
- ((ega))210 1236 A
- (vid_size)336 1488 A
- 1866(=)S
- (EGA_SIZE;)378 1950 A
- 2370(/*)S
- (for)126 2496 A
- (both)168 2664 A
- (EGA)126 2874 A
- (and)126 3042 A
- (VGA)126 3210 A
- 3378(*/)S
- 2250 V
- (14380)210 648 A
- (wrap)168 1110 A
- 1320(=)S
- (!ega;)210 1404 A
- 2340 V
- (14381)210 648 A
- 2430 V
- (14382)210 648 A
- (vid_seg)294 1110 A
- 1446(=)S
- (protected_mode)588 1530 A
- 2160(?)S
- (VIDEO_SELECTOR)588 2244 A
- 2874(:)S
- (physb_to_hclick(vid_base);)1092 2958 A
- 2520 V
- (14383)210 648 A
- (init_dataseg(&gdt[VIDEO_INDEX],)1302 1110 A
- (vid_base,)378 2454 A
- ((phys_bytes))504 2874 A
- (vid_size,)378 3420 A
- 2610 V
- (14384)210 648 A
- (TASK_PRIVILEGE);)672 3378 A
- 2700 V
- (14385)210 648 A
- (vid_size)336 1110 A
- (>>=)126 1488 A
- 1656(1;)S
- 2370(/*)S
- (word)168 2496 A
- (count)210 2706 A
- 2958(*/)S
- 2790 V
- (14386)210 648 A
- (vid_mask)336 1110 A
- 1488(=)S
- (vid_size)336 1572 A
- 1950(-)S
- 2034(1;)S
- 2880 V
- (14387)210 648 A
- 2970 V
- (14388)210 648 A
- 1110(/*)S
- (There)210 1236 A
- (can)126 1488 A
- 1656(be)S
- 1782(as)S
- (many)168 1908 A
- (consoles)336 2118 A
- 2496(as)S
- (video)210 2622 A
- (memory)252 2874 A
- (allows.)294 3168 A
- 3504(*/)S
- 3060 V
- (14389)210 648 A
- (nr_cons)294 1110 A
- 1446(=)S
- (vid_size)336 1530 A
- 1908(/)S
- (scr_size;)378 1992 A
- 3150 V
- (14390)210 648 A
- 1110(if)S
- ((nr_cons)336 1236 A
- 1614(>)S
- (NR_CONS))336 1698 A
- (nr_cons)294 2076 A
- 2412(=)S
- (NR_CONS;)336 2496 A
- 3240 V
- (14391)210 648 A
- 1110(if)S
- ((nr_cons)336 1236 A
- 1614(>)S
- 1698(1))S
- (wrap)168 1824 A
- 2034(=)S
- 2118(0;)S
- 3330 V
- (14392)210 648 A
- (page_size)378 1110 A
- 1530(=)S
- (vid_size)336 1614 A
- 1992(/)S
- (nr_cons;)336 2076 A
- 3420 V
- (14393)210 648 A
- (cons->c_start)546 1110 A
- 1698(=)S
- (line)168 1782 A
- 1992(*)S
- (page_size;)420 2076 A
- 3510 V
- (14394)210 648 A
- (cons->c_limit)546 1110 A
- 1698(=)S
- (cons->c_start)546 1782 A
- 2370(+)S
- (page_size;)420 2454 A
- 3600 V
- (14395)210 648 A
- (cons->c_org)462 1110 A
- 1614(=)S
- (cons->c_start;)588 1698 A
- 3690 V
- (14396)210 648 A
- (cons->c_attr)504 1110 A
- 1656(=)S
- (cons->c_blank)546 1740 A
- 2328(=)S
- (BLANK_COLOR;)504 2412 A
- 3780 V
- (14397)210 648 A
- 3870 V
- (14398)210 648 A
- 1110(/*)S
- (Clear)210 1236 A
- (the)126 1488 A
- (screen.)294 1656 A
- 1992(*/)S
- 3960 V
- (14399)210 648 A
- (blank_color)462 1110 A
- 1614(=)S
- (BLANK_COLOR;)504 1698 A
- 4050 V
- (14400)210 648 A
- (mem_vid_copy(BLANK_MEM,)966 1110 A
- (cons->c_start,)588 2118 A
- (scr_size);)420 2748 A
- 4140 V
- (14401)210 648 A
- (select_console(0);)756 1110 A
- 4230 V
- (14402)210 648 A
- 1026(})S
- 4500 V
- (14405)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4590 V
- (14406)210 648 A
- 1068(*)S
- (putk)168 2370 A
- 4260(*)S
- 4680 V
- (14407)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4770 V
- (14408)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (putk(c))294 1530 A
- 4860 V
- (14409)210 648 A
- (int)126 1026 A
- 1194(c;)S
- 2370(/*)S
- (character)378 2496 A
- 2916(to)S
- (print)210 3042 A
- 3294(*/)S
- 4950 V
- (14410)210 648 A
- 1026({)S
- 5040 V
- (14411)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (procedure)378 1362 A
- 1782(is)S
- (used)168 1908 A
- 2118(by)S
- (the)126 2244 A
- (version)294 2412 A
- 2748(of)S
- (printf())336 2874 A
- (that)168 3252 A
- 3462(is)S
- (linked)252 3588 A
- (with)168 3882 A
- 5130 V
- (14412)210 648 A
- 1068(*)S
- (the)126 1152 A
- (kernel)252 1320 A
- (itself.)294 1614 A
- (The)126 1992 A
- (one)126 2160 A
- 2328(in)S
- (the)126 2454 A
- (library)294 2622 A
- (sends)210 2958 A
- 3210(a)S
- (message)294 3294 A
- 3630(to)S
- (FS,)126 3756 A
- (which)210 3924 A
- 4176(is)S
- 5220 V
- (14413)210 648 A
- 1068(*)S
- (not)126 1152 A
- (what)168 1320 A
- 1530(is)S
- (needed)252 1656 A
- (for)126 1950 A
- (printing)336 2118 A
- (within)252 2496 A
- (the)126 2790 A
- (kernel.)294 2958 A
- (This)168 3336 A
- (version)294 3546 A
- (just)168 3882 A
- (queues)252 4092 A
- 5310 V
- (14414)210 648 A
- 1068(*)S
- (the)126 1152 A
- (character)378 1320 A
- (and)126 1740 A
- (starts)252 1908 A
- (the)126 2202 A
- (output.)294 2370 A
- 5400 V
- (14415)210 648 A
- 1068(*/)S
- 5490 V
- (14416)210 648 A
- 5580 V
- (14417)210 648 A
- 1110(if)S
- 1236((c)S
- 1362(!=)S
- 1488(0))S
- 1614({)S
- 5670 V
- (14418)210 648 A
- 1362(if)S
- 1488((c)S
- 1614(==)S
- ('\n'))210 1740 A
- (putk('\r');)462 1992 A
- 5760 V
- (14419)210 648 A
- (out_char(&cons_table[0],)1008 1362 A
- ((int))210 2412 A
- (c);)126 2664 A
- 5850 V
- (14420)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 5940 V
- (14421)210 648 A
- (flush(&cons_table[0]);)924 1362 A
- 6030 V
- (14422)210 648 A
- 1110(})S
- 6120 V
- (14423)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 200 200
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (200)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (14426)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1080 V
- (14427)210 648 A
- 1068(*)S
- (toggle_scroll)546 2370 A
- 4260(*)S
- 1170 V
- (14428)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1260 V
- (14429)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (toggle_scroll())630 1530 A
- 1350 V
- (14430)210 648 A
- 1026({)S
- 1440 V
- (14431)210 648 A
- 1026(/*)S
- (Toggle)252 1152 A
- (between)294 1446 A
- (hardware)336 1782 A
- (and)126 2160 A
- (software)336 2328 A
- (scroll.)294 2706 A
- 3042(*/)S
- 1530 V
- (14432)210 648 A
- 1620 V
- (14433)210 648 A
- (cons_org0();)504 1110 A
- 1710 V
- (14434)210 648 A
- (softscroll)420 1110 A
- 1572(=)S
- (!softscroll;)504 1656 A
- 1800 V
- (14435)210 648 A
- (printf("%sware)588 1110 A
- (scrolling)378 1740 A
- (enabled.\n",)504 2160 A
- (softscroll)420 2706 A
- 3168(?)S
- ("Soft")252 3252 A
- 3546(:)S
- ("Hard");)336 3630 A
- 1890 V
- (14436)210 648 A
- 1026(})S
- 2160 V
- (14439)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2250 V
- (14440)210 648 A
- 1068(*)S
- (cons_stop)378 2370 A
- 4260(*)S
- 2340 V
- (14441)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2430 V
- (14442)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (cons_stop())462 1530 A
- 2520 V
- (14443)210 648 A
- 1026({)S
- 2610 V
- (14444)210 648 A
- 1026(/*)S
- (Prepare)294 1152 A
- (for)126 1488 A
- (halt)168 1656 A
- 1866(or)S
- (reboot.)294 1992 A
- 2328(*/)S
- 2700 V
- (14445)210 648 A
- 2790 V
- (14446)210 648 A
- (cons_org0();)504 1110 A
- 2880 V
- (14447)210 648 A
- (softscroll)420 1110 A
- 1572(=)S
- 1656(1;)S
- 2970 V
- (14448)210 648 A
- (select_console(0);)756 1110 A
- 3060 V
- (14449)210 648 A
- (cons_table[0].c_attr)840 1110 A
- 1992(=)S
- (cons_table[0].c_blank)882 2076 A
- 3000(=)S
- (BLANK_COLOR;)504 3084 A
- 3150 V
- (14450)210 648 A
- 1026(})S
- 3420 V
- (14453)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3510 V
- (14454)210 648 A
- 1068(*)S
- (cons_org0)378 2370 A
- 4260(*)S
- 3600 V
- (14455)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3690 V
- (14456)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (cons_org0())462 1572 A
- 3780 V
- (14457)210 648 A
- 1026({)S
- 3870 V
- (14458)210 648 A
- 1026(/*)S
- (Scroll)252 1152 A
- (video)210 1446 A
- (memory)252 1698 A
- (back)168 1992 A
- 2202(to)S
- (put)126 2328 A
- (the)126 2496 A
- (origin)252 2664 A
- 2958(at)S
- 3084(0.)S
- 3210(*/)S
- 3960 V
- (14459)210 648 A
- 4050 V
- (14460)210 648 A
- (int)126 1110 A
- (cons_line;)420 1278 A
- 4140 V
- (14461)210 648 A
- (console_t)378 1110 A
- (*cons;)252 1530 A
- 4230 V
- (14462)210 648 A
- (unsigned)336 1110 A
- 1488(n;)S
- 4320 V
- (14463)210 648 A
- 4410 V
- (14464)210 648 A
- (for)126 1110 A
- ((cons_line)420 1278 A
- 1740(=)S
- 1824(0;)S
- (cons_line)378 1950 A
- 2370(<)S
- (nr_cons;)336 2454 A
- (cons_line++))504 2832 A
- 3378({)S
- 4500 V
- (14465)210 648 A
- (cons)168 1362 A
- 1572(=)S
- (&cons_table[cons_line];)966 1656 A
- 4590 V
- (14466)210 648 A
- (while)210 1362 A
- ((cons->c_org)504 1614 A
- 2160(>)S
- (cons->c_start))588 2244 A
- 2874({)S
- 4680 V
- (14467)210 648 A
- 1698(n)S
- 1782(=)S
- (vid_size)336 1866 A
- 2244(-)S
- (scr_size;)378 2328 A
- 3042(/*)S
- (amount)252 3168 A
- 3462(of)S
- (unused)252 3588 A
- (memory)252 3882 A
- 4176(*/)S
- 4770 V
- (14468)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(>)S
- (cons->c_org)462 2034 A
- 2538(-)S
- (cons->c_start))588 2622 A
- 4860 V
- (14469)210 648 A
- 2034(n)S
- 2118(=)S
- (cons->c_org)462 2202 A
- 2706(-)S
- (cons->c_start;)588 2790 A
- 4950 V
- (14470)210 648 A
- (vid_vid_copy(cons->c_org,)1050 1698 A
- (cons->c_org)462 2790 A
- 3294(-)S
- 3378(n,)S
- (scr_size);)420 3504 A
- 5040 V
- (14471)210 648 A
- (cons->c_org)462 1698 A
- 2202(-=)S
- 2328(n;)S
- 5130 V
- (14472)210 648 A
- 1362(})S
- 5220 V
- (14473)210 648 A
- (flush(cons);)504 1362 A
- 5310 V
- (14474)210 648 A
- 1110(})S
- 5400 V
- (14475)210 648 A
- (select_console(current);)1008 1110 A
- 5490 V
- (14476)210 648 A
- 1026(})S
- 5760 V
- (14479)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5850 V
- (14480)210 648 A
- 1068(*)S
- (select_console)588 2370 A
- 4260(*)S
- 5940 V
- (14481)210 648 A
- (*===========================================================================*/)3276 1068 A
- 6030 V
- (14482)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (select_console(int)756 1530 A
- (cons_line))420 2328 A
- 6120 V
- (14483)210 648 A
- 1026({)S
- 6210 V
- (14484)210 648 A
- 1026(/*)S
- (Set)126 1152 A
- (the)126 1320 A
- (current)294 1488 A
- (console)294 1824 A
- 2160(to)S
- (console)294 2286 A
- (number)252 2622 A
- ('cons_line'.)504 2916 A
- 3462(*/)S
- 8418 V
- EP
- %%Page: 201 201
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 12 B
- (201)180 4248 A
- 900 V
- 7 LST
- (14485)210 648 A
- 990 V
- (14486)210 648 A
- 1110(if)S
- ((cons_line)420 1236 A
- 1698(<)S
- 1782(0)S
- 1866(||)S
- (cons_line)378 1992 A
- 2412(>=)S
- (nr_cons))336 2538 A
- (return;)294 2916 A
- 1080 V
- (14487)210 648 A
- (current)294 1110 A
- 1446(=)S
- (cons_line;)420 1530 A
- 1170 V
- (14488)210 648 A
- (curcons)294 1110 A
- 1446(=)S
- (&cons_table[cons_line];)966 1530 A
- 1260 V
- (14489)210 648 A
- (set_6845(VID_ORG,)714 1110 A
- (curcons->c_org);)672 1866 A
- 1350 V
- (14490)210 648 A
- (set_6845(CURSOR,)672 1110 A
- (curcons->c_cur);)672 1824 A
- 1440 V
- (14491)210 648 A
- 1026(})S
- 1710 V
- (14494)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1800 V
- (14495)210 648 A
- 1068(*)S
- (con_loadfont)504 2370 A
- 4260(*)S
- 1890 V
- (14496)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1980 V
- (14497)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (con_loadfont(user_phys))966 1488 A
- 2070 V
- (14498)210 648 A
- (phys_bytes)420 1026 A
- (user_phys;)420 1488 A
- 2160 V
- (14499)210 648 A
- 1026({)S
- 2250 V
- (14500)210 648 A
- 1026(/*)S
- (Load)168 1152 A
- 1362(a)S
- (font)168 1446 A
- (into)168 1656 A
- (the)126 1866 A
- (EGA)126 2034 A
- 2202(or)S
- (VGA)126 2328 A
- (adapter.)336 2496 A
- 2874(*/)S
- 2340 V
- (14501)210 648 A
- 2430 V
- (14502)210 648 A
- (static)252 1110 A
- (struct)252 1404 A
- (sequence)336 1698 A
- (seq1[7])294 2076 A
- 2412(=)S
- 2496({)S
- 2520 V
- (14503)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x00,)210 2286 A
- (0x01)168 2538 A
- 2748(},)S
- 2610 V
- (14504)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x02,)210 2286 A
- (0x04)168 2538 A
- 2748(},)S
- 2700 V
- (14505)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x04,)210 2286 A
- (0x07)168 2538 A
- 2748(},)S
- 2790 V
- (14506)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x00,)210 2286 A
- (0x03)168 2538 A
- 2748(},)S
- 2880 V
- (14507)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x04,)210 2244 A
- (0x02)168 2496 A
- 2706(},)S
- 2970 V
- (14508)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x05,)210 2244 A
- (0x00)168 2496 A
- 2706(},)S
- 3060 V
- (14509)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x06,)210 2244 A
- (0x00)168 2496 A
- 2706(},)S
- 3150 V
- (14510)210 648 A
- 1110(};)S
- 3240 V
- (14511)210 648 A
- (static)252 1110 A
- (struct)252 1404 A
- (sequence)336 1698 A
- (seq2[7])294 2076 A
- 2412(=)S
- 2496({)S
- 3330 V
- (14512)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x00,)210 2286 A
- (0x01)168 2538 A
- 2748(},)S
- 3420 V
- (14513)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x02,)210 2286 A
- (0x03)168 2538 A
- 2748(},)S
- 3510 V
- (14514)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x04,)210 2286 A
- (0x03)168 2538 A
- 2748(},)S
- 3600 V
- (14515)210 648 A
- 1362({)S
- (GA_SEQUENCER_INDEX,)798 1446 A
- (0x00,)210 2286 A
- (0x03)168 2538 A
- 2748(},)S
- 3690 V
- (14516)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x04,)210 2244 A
- (0x00)168 2496 A
- 2706(},)S
- 3780 V
- (14517)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x05,)210 2244 A
- (0x10)168 2496 A
- 2706(},)S
- 3870 V
- (14518)210 648 A
- 1362({)S
- (GA_GRAPHICS_INDEX,)756 1446 A
- (0x06,)210 2244 A
- 2622(0)S
- 2706(},)S
- 3960 V
- (14519)210 648 A
- 1110(};)S
- 4050 V
- (14520)210 648 A
- 4140 V
- (14521)210 648 A
- (seq2[6].value=)588 1110 A
- (color)210 1740 A
- 1992(?)S
- (0x0E)168 2076 A
- 2286(:)S
- (0x0A;)210 2370 A
- 4230 V
- (14522)210 648 A
- 4320 V
- (14523)210 648 A
- 1110(if)S
- ((!ega))252 1236 A
- (return(ENOTTY);)630 1530 A
- 4410 V
- (14524)210 648 A
- 4500 V
- (14525)210 648 A
- (lock();)294 1110 A
- 4590 V
- (14526)210 648 A
- (ga_program(seq1);)714 1110 A
- 2034(/*)S
- (bring)210 2160 A
- (font)168 2412 A
- (memory)252 2622 A
- (into)168 2916 A
- (view)168 3126 A
- 3336(*/)S
- 4680 V
- (14527)210 648 A
- 4770 V
- (14528)210 648 A
- (phys_copy(user_phys,)840 1110 A
- ((phys_bytes)GA_VIDEO_ADDRESS,)1218 1992 A
- ((phys_bytes)GA_FONT_SIZE);)1092 3252 A
- 4860 V
- (14529)210 648 A
- 4950 V
- (14530)210 648 A
- (ga_program(seq2);)714 1110 A
- 2034(/*)S
- (restore)294 2160 A
- 2496(*/)S
- 5040 V
- (14531)210 648 A
- (unlock();)378 1110 A
- 5130 V
- (14532)210 648 A
- 5220 V
- (14533)210 648 A
- (return(OK);)462 1110 A
- 5310 V
- (14534)210 648 A
- 1026(})S
- 5580 V
- (14537)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5670 V
- (14538)210 648 A
- 1068(*)S
- (ga_program)420 2370 A
- 4260(*)S
- 5760 V
- (14539)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5850 V
- (14540)210 648 A
- (PRIVATE)294 1026 A
- (void)168 1362 A
- (ga_program(seq))630 1572 A
- 5940 V
- (14541)210 648 A
- (struct)252 1026 A
- (sequence)336 1320 A
- (*seq;)210 1698 A
- 6030 V
- (14542)210 648 A
- 1026({)S
- 6120 V
- (14543)210 648 A
- 1026(/*)S
- (support)294 1152 A
- (function)336 1488 A
- (for)126 1866 A
- (con_loadfont)504 2034 A
- 2580(*/)S
- 6210 V
- (14544)210 648 A
- 8418 V
- EP
- %%Page: 202 202
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (202)180 648 A
- 11 R
- 1978(File:)S
- 2211(src/kernel/console.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14545)210 648 A
- (int)126 1110 A
- (len=)168 1278 A
- 1488(7;)S
- 990 V
- (14546)210 648 A
- 1110(do)S
- 1236({)S
- 1080 V
- (14547)210 648 A
- (out_byte(seq->index,)840 1362 A
- (seq->port);)462 2244 A
- 1170 V
- (14548)210 648 A
- (out_byte(seq->index+1,)924 1362 A
- (seq->value);)504 2328 A
- 1260 V
- (14549)210 648 A
- (seq++;)252 1362 A
- 1350 V
- (14550)210 648 A
- 1110(})S
- (while)210 1194 A
- ((--len)252 1446 A
- 1740(>)S
- (0);)126 1824 A
- 1440 V
- (14551)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/kernel/dmp.c)672 2034 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (14600)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (file)168 1362 A
- (contains)336 1572 A
- (some)168 1950 A
- (dumping)294 2160 A
- (routines)336 2496 A
- (for)126 2874 A
- (debugging.)420 3042 A
- 3504(*/)S
- 2340 V
- (14601)210 648 A
- 2430 V
- (14602)210 648 A
- (#include)336 1026 A
- ("kernel.h")420 1404 A
- 2520 V
- (14603)210 648 A
- (#include)336 1026 A
- (<minix/com.h>)546 1404 A
- 2610 V
- (14604)210 648 A
- (#include)336 1026 A
- ("proc.h")336 1404 A
- 2700 V
- (14605)210 648 A
- 2790 V
- (14606)210 648 A
- (char)168 1026 A
- (*vargv;)294 1236 A
- 2880 V
- (14607)210 648 A
- 2970 V
- (14608)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE(char)630 1362 A
- (*proc_name,)462 2034 A
- ((int)168 2538 A
- (proc_nr));)420 2748 A
- 3060 V
- (14609)210 648 A
- 3150 V
- (14610)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3240 V
- (14611)210 648 A
- 1068(*)S
- (p_dmp)210 2370 A
- 4260(*)S
- 3330 V
- (14612)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3420 V
- (14613)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (p_dmp())294 1530 A
- 3510 V
- (14614)210 648 A
- 1026({)S
- 3600 V
- (14615)210 648 A
- 1026(/*)S
- (Proc)168 1152 A
- (table)210 1362 A
- (dump)168 1614 A
- 1824(*/)S
- 3690 V
- (14616)210 648 A
- 3780 V
- (14617)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 3870 V
- (14618)210 648 A
- (static)252 1110 A
- (struct)252 1404 A
- (proc)168 1698 A
- (*oldrp)252 1908 A
- 2202(=)S
- (BEG_PROC_ADDR;)588 2286 A
- 3960 V
- (14619)210 648 A
- (int)126 1110 A
- 1278(n)S
- 1362(=)S
- 1446(0;)S
- 4050 V
- (14620)210 648 A
- (phys_clicks)462 1110 A
- (text,)210 1614 A
- (data,)210 1866 A
- (size;)210 2118 A
- 4140 V
- (14621)210 648 A
- (int)126 1110 A
- (proc_nr;)336 1278 A
- 4230 V
- (14622)210 648 A
- 4320 V
- (14623)210 648 A
- (printf("\n--pid)630 1110 A
- (--pc-)210 1782 A
- (---sp-)252 2034 A
- (flag)168 2328 A
- (-user)210 2538 A
- (--sys--)294 2790 A
- (-text-)252 3126 A
- (-data-)252 3420 A
- (-size-)252 3714 A
- (-recv-)252 4008 A
- (command\n");)504 4302 A
- 4410 V
- (14624)210 648 A
- 4500 V
- (14625)210 648 A
- (for)126 1110 A
- ((rp)126 1278 A
- 1446(=)S
- (oldrp;)252 1530 A
- 1824(rp)S
- 1950(<)S
- (END_PROC_ADDR;)588 2034 A
- (rp++))210 2664 A
- 2916({)S
- 4590 V
- (14626)210 648 A
- (proc_nr)294 1362 A
- 1698(=)S
- (proc_number(rp);)672 1782 A
- 4680 V
- (14627)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(&)S
- (P_SLOT_FREE))504 2118 A
- (continue;)378 2664 A
- 4770 V
- (14628)210 648 A
- 1362(if)S
- ((++n)168 1488 A
- 1698(>)S
- (20))126 1782 A
- (break;)252 1950 A
- 4860 V
- (14629)210 648 A
- (text)168 1362 A
- 1572(=)S
- (rp->p_map[T].mem_phys;)924 1656 A
- 4950 V
- (14630)210 648 A
- (data)168 1362 A
- 1572(=)S
- (rp->p_map[D].mem_phys;)924 1656 A
- 5040 V
- (14631)210 648 A
- (size)168 1362 A
- 1572(=)S
- (rp->p_map[T].mem_len)840 1656 A
- 5130 V
- (14632)210 648 A
- 1698(+)S
- (((rp->p_map[S].mem_phys)966 1782 A
- 2790(+)S
- (rp->p_map[S].mem_len))882 2874 A
- 3798(-)S
- (data);)252 3882 A
- 5220 V
- (14633)210 648 A
- (printf("%5d)462 1362 A
- (%5lx)168 1866 A
- (%6lx)168 2076 A
- (%2x)126 2286 A
- (%7U)126 2454 A
- (%7U)126 2622 A
- (%5uK)168 2790 A
- (%5uK)168 3000 A
- (%5uK)168 3210 A
- 3420(",)S
- 5310 V
- (14634)210 648 A
- (proc_nr)294 1656 A
- 1992(<)S
- 2076(0)S
- 2160(?)S
- (proc_nr)294 2244 A
- 2580(:)S
- (rp->p_pid,)420 2664 A
- 5400 V
- (14635)210 648 A
- ((unsigned)378 1656 A
- (long))210 2076 A
- (rp->p_reg.pc,)546 2328 A
- 5490 V
- (14636)210 648 A
- ((unsigned)378 1656 A
- (long))210 2076 A
- (rp->p_reg.sp,)546 2328 A
- 5580 V
- (14637)210 648 A
- (rp->p_flags,)504 1656 A
- 5670 V
- (14638)210 648 A
- (rp->user_time,)588 1656 A
- (rp->sys_time,)546 2286 A
- 5760 V
- (14639)210 648 A
- (click_to_round_k(text),)966 1656 A
- (click_to_round_k(data),)966 2664 A
- 5850 V
- (14640)210 648 A
- (click_to_round_k(size));)1008 1656 A
- 5940 V
- (14641)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(&)S
- (RECEIVING))420 2118 A
- 2580({)S
- 6030 V
- (14642)210 648 A
- (printf("%-7.7s",)672 1698 A
- (proc_name(rp->p_getfrom));)1092 2412 A
- 6120 V
- (14643)210 648 A
- 1362(})S
- (else)168 1446 A
- 6210 V
- (14644)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(&)S
- (SENDING))336 2118 A
- 2496({)S
- 8418 V
- EP
- %%Page: 203 203
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2049(File:)S
- 2282(src/kernel/dmp.c)S
- 12 B
- (203)180 4248 A
- 900 V
- 7 LST
- (14645)210 648 A
- (printf("S:%-5.5s",)756 1698 A
- (proc_name(rp->p_sendto));)1050 2496 A
- 990 V
- (14646)210 648 A
- 1362(})S
- (else)168 1446 A
- 1080 V
- (14647)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(==)S
- 2160(0))S
- 2286({)S
- 1170 V
- (14648)210 648 A
- (printf(")336 1698 A
- (");)126 2328 A
- 1260 V
- (14649)210 648 A
- 1362(})S
- 1350 V
- (14650)210 648 A
- (printf("%s\n",)588 1362 A
- (rp->p_name);)504 1992 A
- 1440 V
- (14651)210 648 A
- 1110(})S
- 1530 V
- (14652)210 648 A
- 1110(if)S
- ((rp)126 1236 A
- 1404(==)S
- (END_PROC_ADDR))588 1530 A
- 2160(rp)S
- 2286(=)S
- (BEG_PROC_ADDR;)588 2370 A
- (else)168 3000 A
- (printf("--more--\r");)882 3210 A
- 1620 V
- (14653)210 648 A
- (oldrp)210 1110 A
- 1362(=)S
- (rp;)126 1446 A
- 1710 V
- (14654)210 648 A
- 1026(})S
- 1980 V
- (14657)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2070 V
- (14658)210 648 A
- 1068(*)S
- (map_dmp)294 2370 A
- 4260(*)S
- 2160 V
- (14659)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2250 V
- (14660)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (map_dmp())378 1530 A
- 2340 V
- (14661)210 648 A
- 1026({)S
- 2430 V
- (14662)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 2520 V
- (14663)210 648 A
- (static)252 1110 A
- (struct)252 1404 A
- (proc)168 1698 A
- (*oldrp)252 1908 A
- 2202(=)S
- (cproc_addr(HARDWARE);)882 2286 A
- 2610 V
- (14664)210 648 A
- (int)126 1110 A
- 1278(n)S
- 1362(=)S
- 1446(0;)S
- 2700 V
- (14665)210 648 A
- (phys_clicks)462 1110 A
- (size;)210 1614 A
- 2790 V
- (14666)210 648 A
- 2880 V
- (14667)210 648 A
- (printf("\nPROC)588 1110 A
- (NAME-)210 1740 A
- (-----TEXT-----)588 2034 A
- (-----DATA-----)588 2706 A
- (----STACK-----)588 3378 A
- (-SIZE-\n");)462 4050 A
- 2970 V
- (14668)210 648 A
- (for)126 1110 A
- ((rp)126 1278 A
- 1446(=)S
- (oldrp;)252 1530 A
- 1824(rp)S
- 1950(<)S
- (END_PROC_ADDR;)588 2034 A
- (rp++))210 2664 A
- 2916({)S
- 3060 V
- (14669)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(&)S
- (P_SLOT_FREE))504 2118 A
- (continue;)378 2664 A
- 3150 V
- (14670)210 648 A
- 1362(if)S
- ((++n)168 1488 A
- 1698(>)S
- (20))126 1782 A
- (break;)252 1950 A
- 3240 V
- (14671)210 648 A
- (size)168 1362 A
- 1572(=)S
- (rp->p_map[T].mem_len)840 1656 A
- 3330 V
- (14672)210 648 A
- 1698(+)S
- (((rp->p_map[S].mem_phys)966 1782 A
- 2790(+)S
- (rp->p_map[S].mem_len))882 2874 A
- 3420 V
- (14673)210 648 A
- 3042(-)S
- (rp->p_map[D].mem_phys);)966 3126 A
- 3510 V
- (14674)210 648 A
- (printf("%3d)462 1362 A
- (%-6.6s)252 1866 A
- (%4x)126 2202 A
- (%4x)126 2370 A
- (%4x)126 2538 A
- (%4x)126 2748 A
- (%4x)126 2916 A
- (%4x)126 3084 A
- (%4x)126 3294 A
- (%4x)126 3462 A
- (%4x)126 3630 A
- (%5uK\n",)336 3840 A
- 3600 V
- (14675)210 648 A
- (proc_number(rp),)672 1656 A
- 3690 V
- (14676)210 648 A
- (rp->p_name,)462 1656 A
- 3780 V
- (14677)210 648 A
- (rp->p_map[T].mem_vir,)882 1656 A
- (rp->p_map[T].mem_phys,)924 2580 A
- (rp->p_map[T].mem_len,)882 3546 A
- 3870 V
- (14678)210 648 A
- (rp->p_map[D].mem_vir,)882 1656 A
- (rp->p_map[D].mem_phys,)924 2580 A
- (rp->p_map[D].mem_len,)882 3546 A
- 3960 V
- (14679)210 648 A
- (rp->p_map[S].mem_vir,)882 1656 A
- (rp->p_map[S].mem_phys,)924 2580 A
- (rp->p_map[S].mem_len,)882 3546 A
- 4050 V
- (14680)210 648 A
- (click_to_round_k(size));)1008 1656 A
- 4140 V
- (14681)210 648 A
- 1110(})S
- 4230 V
- (14682)210 648 A
- 1110(if)S
- ((rp)126 1236 A
- 1404(==)S
- (END_PROC_ADDR))588 1530 A
- 2160(rp)S
- 2286(=)S
- (cproc_addr(HARDWARE);)882 2370 A
- (else)168 3294 A
- (printf("--more--\r");)882 3504 A
- 4320 V
- (14683)210 648 A
- (oldrp)210 1110 A
- 1362(=)S
- (rp;)126 1446 A
- 4410 V
- (14684)210 648 A
- 1026(})S
- 4680 V
- (14687)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4770 V
- (14688)210 648 A
- 1068(*)S
- (proc_name)378 2370 A
- 4260(*)S
- 4860 V
- (14689)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4950 V
- (14690)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (*proc_name(proc_nr))798 1572 A
- 5040 V
- (14691)210 648 A
- (int)126 1026 A
- (proc_nr;)336 1194 A
- 5130 V
- (14692)210 648 A
- 1026({)S
- 5220 V
- (14693)210 648 A
- 1110(if)S
- ((proc_nr)336 1236 A
- 1614(==)S
- (ANY))168 1740 A
- (return)252 1950 A
- ("ANY";)252 2244 A
- 5310 V
- (14694)210 648 A
- (return)252 1110 A
- (proc_addr(proc_nr)->p_name;)1134 1404 A
- 5400 V
- (14695)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 204 204
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (204)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V