// whatport.c

#include <stdio.h>
#include <conio.h>
#include <malloc.h>
#include <time.h>
#include <dos.h>
#include <stdlib.h>
#include <string.h>

extern unsigned get_port(void);

main()
{
  unsigned port = 0;

  port = get_port();

  if(port == 0)
    printf("no hardware found\n");

  else printf("port after get_port = %X\n",port);
}

// end whatport.c

