fal.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. fal.h - Flash Linker Advance support for uCON64
  3. Copyright (c) 2001 Jeff Frohwein
  4. Copyright (c) 2001 NoisyB <noisyb@gmx.net>
  5. Copyright (c) 2001 - 2002 dbjh
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. */
  18. #ifndef FAL_H
  19. #define FAL_H
  20. extern const st_getopt2_t fal_usage[];
  21. #ifdef USE_PARALLEL
  22. extern int fal_read_rom (const char *filename, unsigned int parport, int size);
  23. extern int fal_write_rom (const char *filename, unsigned int parport);
  24. extern int fal_read_sram (const char *filename, unsigned int parport, int bank);
  25. extern int fal_write_sram (const char *filename, unsigned int parport, int bank);
  26. #endif
  27. #endif