rom.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /****************************************************************************
  2. ******* *******
  3. ******* R O M
  4. ******* *******
  5. ****************************************************************************
  6. Author : Ian Nandhra
  7. Date :
  8. *
  9. * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. Version : 0.01
  25. Mods
  26. ----------------------------------------------------------------------------
  27. Date By Description
  28. ----------------------------------------------------------------------------
  29. ***************************************************************************/
  30. #ifndef _rom_h
  31. #define _rom_h 1
  32. #ifndef lint
  33. #ifdef SCCS
  34. static char *_rio_rom_h_sccs = "@(#)rom.h 1.1";
  35. #endif
  36. #endif
  37. typedef struct ROM ROM;
  38. struct ROM {
  39. u_short slx;
  40. char pcb_letter_rev;
  41. char pcb_number_rev;
  42. char serial[4];
  43. char year;
  44. char week;
  45. };
  46. #endif
  47. #define HOST_ROM (ROM *) 0x7c00
  48. #define RTA_ROM (ROM *) 0x7801
  49. #define ROM_LENGTH 0x20
  50. /*********** end of file ***********/