FreeCalypso > hg > freecalypso-hwlab
diff lunalcd/initmain.c @ 65:cdf2c99e5025
lunalcd project started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Mar 2020 01:31:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lunalcd/initmain.c Thu Mar 19 01:31:05 2020 +0000 @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <stdlib.h> + +main(argc, argv) + char **argv; +{ + if (argc != 2) { + fprintf(stderr, "usage: %s output-mode\n", argv[0]); + exit(1); + } + set_output_mode(argv[1]); + lcd_init_seq(); + exit(0); +}