home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff274.lzh / HP11 / amiga / amiga.h < prev    next >
Text File  |  1989-11-16  |  1KB  |  40 lines

  1. /* These are the computer specific routines which must be rewritten on a
  2.   different computer */
  3. void AmigaCleanUp(void); /* CleanUp before exiting, eg make the hp11 disappear,
  4.   deallocate any memory it took ... This is called by the main CleanUp routine */
  5.  
  6. BOOL AmigaInit(int, APTR); /* Prepare the HP11 for use (eg display it). This is called
  7.   by the main Init routine */
  8.  
  9. void Display(char *); /* Display the argument in the display.
  10.   Valid chars are 0..9 . , - E r o R u n i g
  11.   Any other chars are displayed as a space, . & , take no space in the
  12.   display (which is 11 chars long). */
  13.  
  14. int PollKey(int); /* Read a key from the HP11 keyboard.
  15.   if the argument is TRUE, wait for one to be pressed otherwise return -1 if
  16.   none is yet available.
  17.   The value returned is from 0 to 39 (-1 for no key) */
  18.  
  19. /* Display the various indicators : TRUE to display, FALSE to erase */
  20. void Dispf(int), Dispg(int), DispUSER(int), DispG(int),
  21.      DispRAD(int), DispPRGM(int);
  22.  
  23. BOOL RelKey(void); /* Wait for the latest key (read by PollKey) to be released */
  24.  
  25. /* Enable/Disable any clipboard style editing facilities (if provided) */
  26. void EditOn(void), EditOff(void);
  27.  
  28. /* Provide only if you want seomething special to happen while the HP11 is
  29.   off. There is a default version in hp11.c */
  30. void sleep(void);
  31.  
  32. /* Wait n 50ths of a second. Here simply defined ... */
  33. #define Wait50 Delay
  34. void Delay(long);
  35.  
  36. /* These routines are actually in menus.c */
  37. void MenusOn(void), MenusOff(void);
  38.  
  39.  
  40.