|
|
1.1 root 1: \ *****************************************************************************
2: \ * Copyright (c) 2011 IBM Corporation
3: \ * All rights reserved.
4: \ * This program and the accompanying materials
5: \ * are made available under the terms of the BSD License
6: \ * which accompanies this distribution, and is available at
7: \ * http://www.opensource.org/licenses/bsd-license.php
8: \ *
9: \ * Contributors:
10: \ * IBM Corporation - initial implementation
11: \ ****************************************************************************/
12:
13: \ PAPR hvterm console. Enabled very early.
14:
1.1.1.2 ! root 15: 0 CONSTANT default-hvtermno
! 16:
! 17: : hvterm-emit default-hvtermno SWAP hv-putchar ;
! 18: : hvterm-key? default-hvtermno hv-haschar ;
! 19: : hvterm-key BEGIN hvterm-key? UNTIL default-hvtermno hv-getchar ;
1.1 root 20:
21: ' hvterm-emit to emit
22: ' hvterm-key to key
23: ' hvterm-key? to key?
24:
25: \ Override serial methods to make term-io.fs happy
26: : serial-emit hvterm-emit ;
27: : serial-key? hvterm-key? ;
28: : serial-key hvterm-key ;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.