text stringlengths 0 99.6k |
|---|
If there are any questions or comments on CBTRLE or CBterm/C64, please |
leave a message to SYSOP in the CBIG SIG. |
Thank you |
-Chrisdos CBIG SYSOP |
[76703,717] |
VT52 terminal emulator overlay for CBterm/C64 |
(c) 1986 by Chrisdos. All rights reserved. |
Ver 1.0 |
The CBTT52 program is an overlay routine for CBterm that will allow |
CBterm to emulate some functions of a VT52 terminal. |
To use, simply LOAD"CBTT52",8,1 |
Then: NEW |
Then LOAD"CBTERM" and RUN. |
CBterm will find CBTT52 in memory and install it. The version number will |
read V4T5. |
The following VT52 control codes are supported: |
<ESC> A Cursor Up |
<ESC> B Cursor Down |
<ESC> C Cursor Right |
<ESC> D Cursor Left |
<ESC> H Cursor Home |
<ESC> J Clear to End of Screen |
<ESC> K Clear to End of Line |
<ESC> Ylc Set Cursor to line, column |
<ESC> n Normal Video Characters |
<ESC> o Reverse Video Characters |
<ESC> I (Reverse Line Feed) and <ESC> Z (Ident) are not supported in this |
version. |
2 other local control keys have been redefined in addition to CBterms |
normal C= controls. These are C= (English Pound) - Toggle EVEN/ODD Parity, |
and C= 6 - Send BREAK SIGNAL. |
The VT52 emulator starts up in EVEN Parity. Pressing C= (English Pound) will |
switch to ODD Parity. Pressing again will toggle back to EVEN, etc. This |
refers to th TRANSMITTED bytes only. CBterm ignors recieved parity. |
Pressing the C= 6 control keys will cause a BREAK signal of 250ms to be sent. |
For more information or help with this or any CBterm program, leave a |
message to SYSOP in the Compuserve CBIG sig. (Go CBIG) |
. -Chrisdos |
/* calendar.c */ |
/* print monthly calendar */ |
#include <stdio.h> |
#define CLS 147 |
#define VERTLINE 124 |
#define PRINTCHN 5 |
/* printer constants below */ |
#define FF 12 |
#define EXPAND 14 |
#define NORMAL 15 |
main () |
al); |
printcal (month,fullyear,cal); |
(wkday,numdays,cal) |
unsigned wkday, numdays, cal[][6]; |
PRINTCHN,"%s\n",horzline); |
for (row = 0; row < 6; row++) |
oldepth < 5; coldepth++) |
out: reference number |
* (# days past reference date) |
* ==================================== |
*/ |
dayno (month, day, year) |
int month, day, year; |
5; |
if ((i % 4) == 0) |
days ++; |
number (1-12) |
* out: pointer to name of month |
* ==================================== |
*/ |
monthname (monthno) |
unsigned monthno; |
a month |
* ------------------------------------ |
* in: month, year |
* out: number of days in that month |
* ==================================== |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.