#include "gbos.h" /* count [n]: print n numbered lines (default 25) to observe terminal scrolling and the OSK scroll-region. Each line is tagged so you can tell which lines are visible after scrolling. */ void main(void) { char *argv[4]; unsigned char argc = argv_parse(argv, 4); unsigned char n = 25, i; if (argc >= 1) n = atou(argv[0]); for (i = 1; i <= n; i++) { puts("line "); putu(i); puts(" ------------------"); nl(); } }