pce-pro.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. pce-pro.h - PCE-PRO flash card programmer support for uCON64
  3. Copyright (c) 2004 - 2005 dbjh
  4. Based on Delphi source code by ToToTEK Multi Media. Information in that source
  5. code has been used with permission. However, ToToTEK Multi Media explicitly
  6. stated that the information in that source code may be freely distributed.
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU General Public License for more details.
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19. #ifndef PCE_PRO_H
  20. #define PCE_PRO_H
  21. #ifdef HAVE_CONFIG_H
  22. #include "config.h"
  23. #endif
  24. #include "misc/getopt2.h" // st_getopt2_t
  25. #define PCE_PRO_LOADER_SIZE (56 * 1024)
  26. extern const st_getopt2_t pcepro_usage[];
  27. #ifdef USE_PARALLEL
  28. extern int pce_read_rom (const char *filename, unsigned short parport,
  29. int size);
  30. extern int pce_write_rom (const char *filename, unsigned short parport);
  31. #endif
  32. #endif