Add routine to initialize and test for the FPU.
[syslinux.git] / menu / display.c
blob5391d7fd7c4b2104236a47073722db0d66237ee4
1 /* -*- c -*- ------------------------------------------------------------- *
3 * Copyright 2004-2006 Murali Krishnan Ganapathy - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 * Boston MA 02111-1307, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
13 #ifndef NULL
14 #define NULL ((void *) 0)
15 #endif
17 #include "help.h"
18 #include "com32io.h"
19 #include "menu.h"
20 #include "tui.h"
21 #include <stdlib.h>
22 #include <com32.h>
23 #include <stdio.h>
26 int main(int argc, char *argv[])
28 if (argc < 2) {
29 csprint("Usage: display.c32 <textfile>\n",0x07);
30 exit(1);
33 init_help(NULL); // No base dir, so all filenames must be absolute
34 runhelp(argv[1]);
35 close_help();
36 return 0;