├── components ├── boot_screen │ ├── font_render │ │ ├── freetype2 │ │ │ ├── builds │ │ │ │ ├── newline │ │ │ │ ├── win32 │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── detect.mk │ │ │ │ │ ├── visualc │ │ │ │ │ │ ├── freetype.dsw │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── visualce │ │ │ │ │ │ ├── freetype.dsw │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── w32-lcc.mk │ │ │ │ │ ├── w32-bccd.mk │ │ │ │ │ ├── w32-vcc.mk │ │ │ │ │ ├── w32-bcc.mk │ │ │ │ │ ├── w32-wat.mk │ │ │ │ │ ├── w32-icc.mk │ │ │ │ │ ├── w32-intl.mk │ │ │ │ │ ├── w32-dev.mk │ │ │ │ │ ├── w32-gcc.mk │ │ │ │ │ ├── w32-mingw32.mk │ │ │ │ │ ├── win32-def.mk │ │ │ │ │ ├── vc2005 │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── vc2008 │ │ │ │ │ │ └── index.html │ │ │ │ │ └── vc2010 │ │ │ │ │ │ └── index.html │ │ │ │ ├── detect.mk │ │ │ │ ├── amiga │ │ │ │ │ ├── README │ │ │ │ │ ├── makefile │ │ │ │ │ ├── smakefile │ │ │ │ │ ├── makefile.os4 │ │ │ │ │ ├── src │ │ │ │ │ │ └── base │ │ │ │ │ │ │ ├── ftdebug.c │ │ │ │ │ │ │ └── ftsystem.c │ │ │ │ │ └── include │ │ │ │ │ │ └── freetype │ │ │ │ │ │ └── config │ │ │ │ │ │ ├── ftconfig.h │ │ │ │ │ │ └── ftmodule.h │ │ │ │ ├── atari │ │ │ │ │ ├── README.TXT │ │ │ │ │ ├── ATARI.H │ │ │ │ │ ├── FREETYPE.PRJ │ │ │ │ │ ├── FNames.SIC │ │ │ │ │ └── gen-purec-patch.sh │ │ │ │ ├── unix │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── freetype2.in │ │ │ │ │ ├── unix-lcc.mk │ │ │ │ │ ├── unix-dev.mk │ │ │ │ │ ├── ft-munmap.m4 │ │ │ │ │ └── unixddef.mk │ │ │ │ ├── beos │ │ │ │ │ ├── beos.mk │ │ │ │ │ └── detect.mk │ │ │ │ ├── dos │ │ │ │ │ ├── dos-emx.mk │ │ │ │ │ ├── dos-wat.mk │ │ │ │ │ ├── dos-gcc.mk │ │ │ │ │ └── dos-def.mk │ │ │ │ ├── ansi │ │ │ │ │ └── ansi.mk │ │ │ │ ├── os2 │ │ │ │ │ ├── os2-gcc.mk │ │ │ │ │ ├── os2-dev.mk │ │ │ │ │ └── os2-def.mk │ │ │ │ ├── mac │ │ │ │ │ └── ascii2mpw.py │ │ │ │ ├── link_std.mk │ │ │ │ ├── link_dos.mk │ │ │ │ └── wince │ │ │ │ │ ├── vc2005-ce │ │ │ │ │ └── index.html │ │ │ │ │ └── vc2008-ce │ │ │ │ │ └── index.html │ │ │ ├── .gitignore │ │ │ ├── docs │ │ │ │ ├── reference │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── README │ │ │ │ ├── FTL.TXT │ │ │ │ ├── MAKEPP │ │ │ │ ├── INSTALL.MAC │ │ │ │ └── TODO │ │ │ ├── src │ │ │ │ ├── tools │ │ │ │ │ ├── docmaker │ │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── cordic.py │ │ │ │ │ └── ftrandom │ │ │ │ │ │ └── Makefile │ │ │ │ ├── autofit │ │ │ │ │ ├── afangles.h │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── afindic.h │ │ │ │ │ └── aflatin2.h │ │ │ │ ├── gzip │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── infcodes.h │ │ │ │ │ ├── infblock.h │ │ │ │ │ └── adler32.c │ │ │ │ ├── lzw │ │ │ │ │ └── Jamfile │ │ │ │ ├── winfonts │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── module.mk │ │ │ │ ├── bzip2 │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── rules.mk │ │ │ │ ├── bdf │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── bdf.c │ │ │ │ │ └── module.mk │ │ │ │ ├── cff │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── cffdrivr.h │ │ │ │ ├── otvalid │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── otvalid.c │ │ │ │ │ └── otvgpos.h │ │ │ │ ├── pfr │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── pfr.c │ │ │ │ │ └── pfrsbit.h │ │ │ │ ├── psaux │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── psaux.c │ │ │ │ ├── pshinter │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── pshinter.c │ │ │ │ │ └── pshmod.h │ │ │ │ ├── sfnt │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── sfdriver.h │ │ │ │ ├── pcf │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── pcf.c │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── pcfread.h │ │ │ │ │ └── pcfdrivr.h │ │ │ │ ├── raster │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── raster.c │ │ │ │ ├── type42 │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── type42.c │ │ │ │ │ └── t42drivr.h │ │ │ │ ├── psnames │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── psnames.c │ │ │ │ │ └── psmodule.h │ │ │ │ ├── smooth │ │ │ │ │ ├── Jamfile │ │ │ │ │ ├── module.mk │ │ │ │ │ └── smooth.c │ │ │ │ ├── cid │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── type1cid.c │ │ │ │ ├── type1 │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── type1.c │ │ │ │ ├── truetype │ │ │ │ │ ├── module.mk │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── ttdriver.h │ │ │ │ ├── gxvalid │ │ │ │ │ ├── module.mk │ │ │ │ │ └── Jamfile │ │ │ │ ├── Jamfile │ │ │ │ ├── cache │ │ │ │ │ ├── Jamfile │ │ │ │ │ └── ftcache.c │ │ │ │ └── base │ │ │ │ │ ├── md5.h │ │ │ │ │ └── Jamfile │ │ │ ├── objs │ │ │ │ ├── README │ │ │ │ └── .gitignore │ │ │ ├── version.sed │ │ │ ├── .mailmap │ │ │ ├── Makefile │ │ │ └── include │ │ │ │ └── freetype │ │ │ │ └── config │ │ │ │ └── ftmodule.h │ │ ├── component.mk │ │ └── include │ │ │ └── freetype │ │ │ └── config │ │ │ └── ftmodule.h │ ├── Ubuntu-R.ttf │ ├── component.mk │ ├── unicode.h │ ├── boot_screen.h │ └── unicode.c ├── OTA │ ├── external_app.h │ ├── component.mk │ └── update_firmware.h ├── GUI │ ├── GUI_frontend.h │ ├── GUI.h │ ├── CMakeLists.txt │ ├── component.mk │ └── info.md ├── drivers │ ├── battery │ │ ├── component.mk │ │ └── battery.h │ ├── display │ │ ├── display_HAL │ │ │ └── component.mk │ │ ├── ST7789 │ │ │ └── component.mk │ │ └── backlight_ctrl │ │ │ ├── component.mk │ │ │ └── backlight_ctrl.h │ ├── system_configuration │ │ ├── component.mk │ │ └── system_configuration.h │ ├── LED │ │ ├── component.mk │ │ └── LED_notification.h │ ├── sound │ │ └── component.mk │ ├── sd_storage │ │ └── component.mk │ └── user_input │ │ ├── TCA9555 │ │ ├── component.mk │ │ └── TCA9555.h │ │ └── user_input_HAL │ │ ├── component.mk │ │ └── user_input.h └── emulators │ ├── GBC │ ├── gnuboy │ │ ├── pcm.h │ │ ├── fb.h │ │ ├── rtc.h │ │ ├── component.mk │ │ ├── defs.h │ │ ├── loader.h │ │ ├── sound.h │ │ ├── newsound.c │ │ ├── cpu.h │ │ ├── rcfile.c │ │ ├── hw.h │ │ ├── exports.c │ │ ├── path.c │ │ ├── events.c │ │ ├── split.c │ │ ├── cpuregs.h │ │ ├── lcd.h │ │ ├── rckeys.c │ │ ├── mem.h │ │ ├── rc.h │ │ └── fastmem.h │ ├── component.mk │ └── gnuboy_manager.h │ ├── SMS │ ├── smsplus │ │ ├── fileio.h │ │ ├── component.mk │ │ ├── fmintf.h │ │ ├── ym2413.h │ │ ├── shared.h │ │ ├── error.h │ │ ├── tms.h │ │ ├── state.h │ │ ├── loadrom.h │ │ └── hvc.h │ ├── component.mk │ └── SMS_manager.h │ └── NES │ ├── component.mk │ ├── nofrendo │ ├── component.mk │ ├── nes │ │ └── mmclist.h │ └── intro.h │ └── NES_manager.h ├── images ├── device_manager.png └── microByte_logo.png ├── .gitignore ├── main ├── component.mk └── CMakeLists.txt ├── .gitmodules ├── CMakeLists.txt ├── partitions.csv └── Makefile /components/boot_screen/font_render/freetype2/builds/newline: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/.gitignore: -------------------------------------------------------------------------------- 1 | config.mk 2 | -------------------------------------------------------------------------------- /components/OTA/external_app.h: -------------------------------------------------------------------------------- 1 | void external_app_init(const char *app_name); -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/reference/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /components/GUI/GUI_frontend.h: -------------------------------------------------------------------------------- 1 | void GUI_frontend(void); 2 | void async_battery_alert(); -------------------------------------------------------------------------------- /components/OTA/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := . 2 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/OTA/update_firmware.h: -------------------------------------------------------------------------------- 1 | int update_init(char *fw_name); 2 | void update_check(); -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/tools/docmaker/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /components/drivers/battery/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := . 2 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/drivers/display/display_HAL/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := . 2 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /images/device_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/images/device_manager.png -------------------------------------------------------------------------------- /images/microByte_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/images/microByte_logo.png -------------------------------------------------------------------------------- /components/drivers/system_configuration/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . -------------------------------------------------------------------------------- /components/drivers/LED/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/drivers/sound/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/boot_screen/Ubuntu-R.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/Ubuntu-R.ttf -------------------------------------------------------------------------------- /components/drivers/sd_storage/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/drivers/display/ST7789/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/drivers/user_input/TCA9555/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/objs/README: -------------------------------------------------------------------------------- 1 | This directory contains all the object files created when building the 2 | library. 3 | -------------------------------------------------------------------------------- /components/drivers/display/backlight_ctrl/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /components/drivers/user_input/user_input_HAL/component.mk: -------------------------------------------------------------------------------- 1 | CFLAGS += -DIS_LITTLE_ENDIAN 2 | COMPONENT_ADD_INCLUDEDIRS := . 3 | COMPONENT_SRCDIRS := . -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore build folder 2 | build/ 3 | 4 | # Ignore old configurations 5 | sdkconfig.old 6 | 7 | # Ignore VSCode configuration 8 | .vscode/ -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/.gitignore: -------------------------------------------------------------------------------- 1 | # user-specific cache/settings files 2 | *.opensdf 3 | *.sdf 4 | *.suo 5 | *.user 6 | -------------------------------------------------------------------------------- /components/boot_screen/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_ADD_INCLUDEDIRS := . 2 | COMPONENT_SRCDIRS := . 3 | COMPONENT_EMBED_FILES += Ubuntu-R.ttf 4 | CFLAGS += -DIS_LITTLE_ENDIAN -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/tools/Jamfile: -------------------------------------------------------------------------------- 1 | # Jamfile for src/tools 2 | # 3 | SubDir FT2_TOP src tools ; 4 | 5 | Main apinames : apinames.c ; 6 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/FTL.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/docs/FTL.TXT -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/detect.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/detect.mk -------------------------------------------------------------------------------- /main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # "main" pseudo-component makefile. 3 | # 4 | # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) 5 | 6 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/README -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/makefile -------------------------------------------------------------------------------- /components/GUI/GUI.h: -------------------------------------------------------------------------------- 1 | #define MSG_LOW_BATTERY_GAME 0x00 2 | #define MSG_LOW_BATTERY 0x01 3 | 4 | 5 | void GUI_task(void *arg); 6 | void GUI_refresh(); 7 | void GUI_async_message(); 8 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/smakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/smakefile -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/atari/README.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/atari/README.TXT -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/detect.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/win32/detect.mk -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/makefile.os4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/makefile.os4 -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/src/base/ftdebug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/src/base/ftdebug.c -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/src/base/ftsystem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/src/base/ftsystem.c -------------------------------------------------------------------------------- /main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS "" 3 | REQUIRES lvgl) 4 | 5 | target_compile_definitions(${COMPONENT_LIB} PRIVATE LV_CONF_INCLUDE_SIMPLE=1) -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/autofit/afangles.h: -------------------------------------------------------------------------------- 1 | /* 2 | * afangles.h 3 | * 4 | * This is a dummy file, used to please the build system. It is never 5 | * included by the auto-fitter sources. 6 | * 7 | */ 8 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/include/freetype/config/ftconfig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/include/freetype/config/ftconfig.h -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/amiga/include/freetype/config/ftmodule.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfm92/microByte_firmware/HEAD/components/boot_screen/font_render/freetype2/builds/amiga/include/freetype/config/ftmodule.h -------------------------------------------------------------------------------- /components/GUI/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE SOURCES LVGL/src/*.c) 2 | idf_component_register(SRCS ${SOURCES} 3 | INCLUDE_DIRS . LVGL) 4 | 5 | target_compile_definitions(${COMPONENT_LIB} INTERFACE LV_CONF_INCLUDE_SIMPLE=1) 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "components/lv_port_esp32"] 2 | path = components/lv_port_esp32 3 | url = https://github.com/lvgl/lv_port_esp32.git 4 | [submodule "components/GUI/LVGL"] 5 | path = components/GUI/LVGL 6 | url = https://github.com/lvgl/lvgl 7 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/objs/.gitignore: -------------------------------------------------------------------------------- 1 | apinames 2 | freetype.def 3 | freetype.lib 4 | ftexport.sym 5 | ftmodule.h 6 | ftoption.h 7 | libfreetype.la 8 | .libs 9 | *.lo 10 | *.o 11 | *.a 12 | debug*/ 13 | release*/ 14 | win32/ 15 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(microByte) 7 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/reference/README: -------------------------------------------------------------------------------- 1 | After saying `make refdoc' this directory contains the FreeType API 2 | reference. You need python to make this target. 3 | 4 | This also works with Jam: Just type `jam refdoc' in the main directory. 5 | 6 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/version.sed: -------------------------------------------------------------------------------- 1 | #! /usr/bin/sed -nf 2 | 3 | s/^#define *FREETYPE_MAJOR *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p 4 | s/^#define *FREETYPE_MINOR *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p 5 | s/^#define *FREETYPE_PATCH *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p 6 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/pcm.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __PCM_H__ 3 | #define __PCM_H__ 4 | 5 | 6 | #include "defs.h" 7 | #include 8 | 9 | struct pcm 10 | { 11 | int hz, len; 12 | int stereo; 13 | int16_t* buf; 14 | int pos; 15 | }; 16 | 17 | extern struct pcm pcm; 18 | 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/MAKEPP: -------------------------------------------------------------------------------- 1 | As a special exception, FreeType can also be built with the 'makepp' 2 | build tool, available from http://makepp.sourceforge.net. 3 | 4 | Note, however. that you will need at least version 1.19 and pass the 5 | option --norc-substitution to have it work correctly. 6 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/fileio.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _FILEIO_H_ 3 | #define _FILEIO_H_ 4 | 5 | #if 0 6 | /* Function prototypes */ 7 | uint8 *loadFromZipByName(char *archive, char *filename, int *filesize); 8 | int check_zip(char *filename); 9 | int gzsize(gzFile *gd); 10 | #endif 11 | 12 | #endif /* _FILEIO_H_ */ 13 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/.gitignore: -------------------------------------------------------------------------------- 1 | aclocal.m4 2 | autom4te.cache 3 | config.cache 4 | config.guess 5 | config.log 6 | config.status 7 | config.sub 8 | configure 9 | configure.ac 10 | freetype2.pc 11 | freetype-config 12 | ftconfig.h 13 | install-sh 14 | libtool 15 | ltmain.sh 16 | unix-cc.mk 17 | unix-def.mk 18 | -------------------------------------------------------------------------------- /components/boot_screen/unicode.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: MIT 2 | 3 | #pragma once 4 | 5 | #include 6 | 7 | 8 | // Encode utf code and saves to str, returns length of utf-8 string 9 | uint8_t u8_encode(char *str, uint32_t ucode); 10 | // Decode utf code and saves to ucode, returns length of utf-8 string 11 | uint8_t u8_decode(uint32_t *ucode, const char *str); 12 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/fb.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef __FB_H__ 4 | #define __FB_H__ 5 | 6 | 7 | #include "defs.h" 8 | 9 | struct fb 10 | { 11 | byte *ptr; 12 | int w, h; 13 | int pelsize; 14 | int pitch; 15 | int indexed; 16 | struct 17 | { 18 | int l, r; 19 | } cc[4]; 20 | int yuv; 21 | int enabled; 22 | int dirty; 23 | }; 24 | 25 | 26 | extern struct fb fb; 27 | 28 | 29 | #endif 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/freetype2.in: -------------------------------------------------------------------------------- 1 | prefix="%prefix%" 2 | exec_prefix="%exec_prefix%" 3 | libdir="%libdir%" 4 | includedir="%includedir%" 5 | 6 | Name: FreeType 2 7 | Description: A free, high-quality, and portable font engine. 8 | Version: %ft_version% 9 | Requires: 10 | Libs: -L${libdir} -lfreetype 11 | Libs.private: %LIBZ% %LIBBZ2% %FT2_EXTRA_LIBS% 12 | Cflags: -I${includedir}/freetype2 -I${includedir} 13 | -------------------------------------------------------------------------------- /components/GUI/component.mk: -------------------------------------------------------------------------------- 1 | #COMPONENT_ADD_INCLUDEDIRS := . 2 | #COMPONENT_SRCDIRS := . 3 | 4 | ifndef LV_CONF_INCLUDE_SIMPLE 5 | CFLAGS += -DLV_CONF_INCLUDE_SIMPLE 6 | endif 7 | 8 | COMPONENT_SRCDIRS := LVGL/ \ 9 | LVGL/src/lv_core \ 10 | LVGL/src/lv_draw \ 11 | LVGL/src/lv_widgets \ 12 | LVGL/src/lv_hal \ 13 | LVGL/src/lv_misc \ 14 | LVGL/src/lv_themes \ 15 | LVGL/src/lv_font \ 16 | . 17 | 18 | COMPONENT_ADD_INCLUDEDIRS := $(COMPONENT_SRCDIRS) . -------------------------------------------------------------------------------- /components/emulators/GBC/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_DEPENDS := gnuboy 11 | COMPONENT_ADD_INCLUDEDIRS := . 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /components/emulators/SMS/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_DEPENDS := smsplus 11 | COMPONENT_ADD_INCLUDEDIRS := . 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x4000 4 | otadata, data, ota, 0xd000, 0x2000 5 | phy_init, data, phy, 0xf000, 0x1000 6 | ota_0, app, ota_0, 0x10000, 0x190000 7 | ota_1, app, ota_1, 0x200000, 0x180000 8 | data_0, data, fat, 0x410000 , 3M 9 | 10 | 11 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/rtc.h: -------------------------------------------------------------------------------- 1 | #ifndef __RTC_H__ 2 | #define __RTC_H__ 3 | 4 | #include 5 | 6 | #include "defs.h" 7 | 8 | struct rtc 9 | { 10 | int batt; 11 | int sel; 12 | int latch; 13 | int d, h, m, s, t; 14 | int stop, carry; 15 | byte regs[8]; 16 | }; 17 | 18 | extern struct rtc rtc; 19 | 20 | void rtc_latch(byte b); 21 | void rtc_write(byte b); 22 | void rtc_save_internal(FILE *f); 23 | void rtc_load_internal(FILE *f); 24 | void rtc_tick(); 25 | 26 | #endif 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /components/emulators/NES/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_DEPENDS := nofrendo 11 | COMPONENT_ADD_INCLUDEDIRS := . 12 | 13 | CFLAGS += -Wno-error=char-subscripts -Wno-error=attributes 14 | 15 | #-DNOFRENDO_DEBUG -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_ADD_INCLUDEDIRS := . ./cpu ./sound 11 | COMPONENT_SRCDIRS := . cpu sound 12 | 13 | CFLAGS += -DLSB_FIRST=1 -Wno-error=unused-const-variable 14 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | CFLAGS += -DGNUBOY_NO_MINIZIP -DGNUBOY_NO_SCREENSHOT -DIS_LITTLE_ENDIAN 11 | #COMPONENT_DEPENDS := 12 | COMPONENT_ADD_INCLUDEDIRS := . 13 | COMPONENT_SRCDIRS := . 14 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/atari/ATARI.H: -------------------------------------------------------------------------------- 1 | #if defined( __GXVALID_H__ ) 2 | #pragma warn -aus /* too many unevaluated variables in gxvalid */ 3 | #endif 4 | 5 | #ifndef ATARI_H 6 | #define ATARI_H 7 | 8 | #pragma warn -stu 9 | 10 | /* PureC doesn't like 32bit enumerations */ 11 | 12 | #ifndef FT_IMAGE_TAG 13 | #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value 14 | #endif /* FT_IMAGE_TAG */ 15 | 16 | #ifndef FT_ENC_TAG 17 | #define FT_ENC_TAG( value, a, b, c, d ) value 18 | #endif /* FT_ENC_TAG */ 19 | 20 | #endif /* ATARI_H */ 21 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/defs.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #ifndef __DEFS_H__ 5 | #define __DEFS_H__ 6 | 7 | 8 | 9 | #ifdef IS_LITTLE_ENDIAN 10 | #define LO 0 11 | #define HI 1 12 | #else 13 | #define LO 1 14 | #define HI 0 15 | #endif 16 | 17 | 18 | typedef unsigned char byte; 19 | 20 | typedef unsigned char un8; 21 | typedef unsigned short un16; 22 | typedef unsigned int un32; 23 | 24 | typedef signed char n8; 25 | typedef signed short n16; 26 | typedef signed int n32; 27 | 28 | typedef un16 word; 29 | typedef word addr; 30 | 31 | 32 | 33 | 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/.mailmap: -------------------------------------------------------------------------------- 1 | Alexei Podtelezhnikov (Алексей Подтележников) 2 | Behdad Esfahbod 3 | Bram Tassyns bram tassyns 4 | Bram Tassyns 5 | Suzuki, Toshiya (鈴木俊哉) 6 | Suzuki, Toshiya (鈴木俊哉) sssa 7 | Suzuki, Toshiya (鈴木俊哉) suzuki toshiya 8 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/loader.h: -------------------------------------------------------------------------------- 1 | #ifndef __LOADER_H__ 2 | #define __LOADER_H__ 3 | #include 4 | 5 | typedef struct loader_s 6 | { 7 | char *rom; 8 | char *base; 9 | char *sram; 10 | char *state; 11 | int ramloaded; 12 | } loader_t; 13 | 14 | 15 | extern loader_t loader; 16 | 17 | bool gbc_rom_load(const char *game_name, uint8_t console); 18 | int gbc_sram_load(); 19 | int gbc_sram_save(); 20 | bool gbc_state_load(const char *game_name, uint8_t console); 21 | bool gbc_state_save(const char *game_name, uint8_t console); 22 | 23 | 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/sound.h: -------------------------------------------------------------------------------- 1 | #ifndef __SOUND_H__ 2 | #define __SOUND_H__ 3 | 4 | 5 | struct sndchan 6 | { 7 | int on; 8 | unsigned pos; 9 | int cnt, encnt, swcnt; 10 | int len, enlen, swlen; 11 | int swfreq; 12 | int freq; 13 | int envol, endir; 14 | }; 15 | 16 | 17 | struct snd 18 | { 19 | int rate; 20 | struct sndchan ch[4]; 21 | uint8_t wave[16]; 22 | }; 23 | 24 | 25 | extern struct snd snd; 26 | 27 | void sound_write(uint8_t r, uint8_t b); 28 | uint8_t sound_read(uint8_t r); 29 | void sound_dirty(); 30 | void gbc_sound_reset(); 31 | void sound_mix(); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gzip/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/gzip Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) gzip ; 13 | 14 | Library $(FT2_LIB) : ftgzip.c ; 15 | 16 | # end of src/pcf Jamfile 17 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/lzw/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/lzw Jamfile 2 | # 3 | # Copyright 2004, 2006 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) lzw ; 13 | 14 | Library $(FT2_LIB) : ftlzw.c ; 15 | 16 | # end of src/lzw Jamfile 17 | -------------------------------------------------------------------------------- /components/emulators/NES/nofrendo/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | # This Makefile can be left empty. By default, it will take the sources in the 5 | # src/ directory, compile them and link them into lib(subdirectory_name).a 6 | # in the build directory. This behaviour is entirely configurable, 7 | # please read the ESP-IDF documents if you need to do this. 8 | # 9 | 10 | COMPONENT_ADD_INCLUDEDIRS := cpu libsnss nes sndhrdw . 11 | COMPONENT_SRCDIRS := cpu libsnss nes sndhrdw mappers . 12 | 13 | CFLAGS += -Wno-error=char-subscripts -Wno-error=attributes -DNOFRENDO_DEBUG -Wno-error=implicit-function-declaration 14 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/winfonts/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/winfonts Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) winfonts ; 13 | 14 | Library $(FT2_LIB) : winfnt.c ; 15 | 16 | # end of src/winfonts Jamfile 17 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/newsound.c: -------------------------------------------------------------------------------- 1 | #if 0 2 | /* 3 | * new sound core for 1.1.x 4 | */ 5 | 6 | 7 | 8 | enum sevcode 9 | { 10 | SEV_S1E, 11 | SEV_S2E, 12 | SEV_S3E, 13 | SEV_S4E, 14 | SEV_S1L, 15 | SEV_S2L, 16 | SEV_S3L, 17 | SEV_S4L, 18 | SEV_SW, 19 | SEV_WAV 20 | }; 21 | 22 | 23 | struct sev 24 | { 25 | int prev, next; 26 | int time; 27 | }; 28 | 29 | 30 | 31 | static struct sev *sevs; 32 | 33 | 34 | 35 | void sound_mix(int cycles) 36 | { 37 | 38 | } 39 | 40 | 41 | void sound_update(int force) 42 | { 43 | int now = 0; 44 | 45 | for (;;) 46 | { 47 | if (sevs->time > cpu.snd) break; 48 | 49 | } 50 | } 51 | #endif 52 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/component.mk: -------------------------------------------------------------------------------- 1 | COMPONENT_OBJS := freetype2/src/base/ftsystem.o \ 2 | freetype2/src/base/ftinit.o \ 3 | freetype2/src/base/ftdebug.o \ 4 | freetype2/src/base/ftbase.o \ 5 | freetype2/src/truetype/truetype.o \ 6 | freetype2/src/sfnt/sfnt.o \ 7 | freetype2/src/smooth/smooth.o \ 8 | font_render.o \ 9 | 10 | 11 | COMPONENT_SRCDIRS := freetype2/src/base \ 12 | freetype2/src/truetype \ 13 | freetype2/src/sfnt \ 14 | freetype2/src/smooth \ 15 | . 16 | 17 | COMPONENT_ADD_INCLUDEDIRS := include \ 18 | freetype2/include \ 19 | . 20 | 21 | CFLAGS += -DFT2_BUILD_LIBRARY -Wno-unused-function -DIS_LITTLE_ENDIAN -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/bzip2/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/bzip2 Jamfile 2 | # 3 | # Copyright 2010 by 4 | # Joel Klinghed 5 | # 6 | # Based on src/lzw/Jamfile, Copyright 2004, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | SubDir FT2_TOP $(FT2_SRC_DIR) bzip2 ; 16 | 17 | Library $(FT2_LIB) : ftbzip2.c ; 18 | 19 | # end of src/bzip2 Jamfile 20 | -------------------------------------------------------------------------------- /components/boot_screen/boot_screen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Function: boot_screen_task 3 | * -------------------- 4 | * 5 | * This task performs the font render process and the creation of the plasma animation at the bottom 6 | * of the animation. Once is finish the partial photogram, it sends to the display HAL. 7 | * 8 | * Returns: Nothing 9 | * 10 | */ 11 | void boot_screen_task(void *arg); 12 | 13 | /* 14 | * Function: boot_screen_free 15 | * -------------------- 16 | * 17 | * When the boot is finished and the boot screen task is eliminated, call this function to relesase 18 | * the resources reserved by the font converter engine. 19 | * 20 | * Returns: Nothing 21 | * 22 | */ 23 | void boot_screen_free(); -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/beos/beos.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for a BeOS system 3 | # 4 | 5 | # Copyright 1996-2000, 2002, 2005 by 6 | # David Turner, Robert Wilhelm, and Werner Lemberg. 7 | # 8 | # This file is part of the FreeType project, and may only be used, modified, 9 | # and distributed under the terms of the FreeType project license, 10 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 11 | # indicate that you have read the license and understand and accept it 12 | # fully. 13 | 14 | include $(TOP_DIR)/builds/beos/beos-def.mk 15 | include $(TOP_DIR)/builds/compiler/ansi-cc.mk 16 | include $(TOP_DIR)/builds/link_std.mk 17 | 18 | 19 | # EOF 20 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/dos/dos-emx.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for the EMX gcc compiler 3 | # 4 | 5 | 6 | # Copyright 2003 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | include $(TOP_DIR)/builds/dos/dos-def.mk 17 | include $(TOP_DIR)/builds/compiler/emx.mk 18 | include $(TOP_DIR)/builds/link_dos.mk 19 | 20 | 21 | # EOF 22 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/dos/dos-wat.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for the Watcom C/C++ compiler 3 | # 4 | 5 | 6 | # Copyright 2003 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | include $(TOP_DIR)/builds/dos/dos-def.mk 16 | include $(TOP_DIR)/builds/compiler/watcom.mk 17 | include $(TOP_DIR)/builds/link_dos.mk 18 | 19 | 20 | # EOF 21 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/cpu.h: -------------------------------------------------------------------------------- 1 | #ifndef __CPU_H__ 2 | #define __CPU_H__ 3 | 4 | 5 | 6 | #include "defs.h" 7 | 8 | 9 | union reg 10 | { 11 | byte b[2][2]; 12 | word w[2]; 13 | un32 d; /* padding for alignment, carry */ 14 | }; 15 | 16 | struct cpu 17 | { 18 | union reg pc, sp, bc, de, hl, af; 19 | int ime, ima; 20 | int speed; 21 | int halt; 22 | int div, tim; 23 | int lcdc; 24 | int snd; 25 | }; 26 | 27 | extern struct cpu cpu; 28 | 29 | 30 | void cpu_timers(int cnt); 31 | void cpu_reset(); 32 | int cpu_emulate(int cycles); /* NOTE there may be an ASM version of that */ 33 | 34 | void div_advance(int cnt); 35 | void timer_advance(int cnt); 36 | void sound_advance(int cnt); 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/dos/dos-gcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for the DJGPP compiler 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | include $(TOP_DIR)/builds/dos/dos-def.mk 17 | include $(TOP_DIR)/builds/compiler/gcc.mk 18 | include $(TOP_DIR)/builds/link_dos.mk 19 | 20 | 21 | # EOF 22 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/visualc/freetype.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "freetype"=.\freetype.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/ansi/ansi.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for a `normal' pseudo ANSI compiler/system 3 | # 4 | 5 | 6 | # Copyright 1996-2000 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | include $(TOP_DIR)/builds/ansi/ansi-def.mk 17 | include $(TOP_DIR)/builds/compiler/ansi-cc.mk 18 | include $(TOP_DIR)/builds/link_std.mk 19 | 20 | 21 | # EOF 22 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/visualce/freetype.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "freetype"=.\freetype.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-lcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Win32 + LCC 3 | # 4 | 5 | 6 | # Copyright 1996-2000 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | SEP := / 17 | include $(TOP_DIR)/builds/win32/win32-def.mk 18 | include $(TOP_DIR)/builds/compiler/win-lcc.mk 19 | 20 | # include linking instructions 21 | include $(TOP_DIR)/builds/link_dos.mk 22 | 23 | # EOF 24 | 25 | -------------------------------------------------------------------------------- /components/drivers/display/backlight_ctrl/backlight_ctrl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Function: backlight_init 3 | * -------------------- 4 | * 5 | * Initialize the display backlight control 6 | * 7 | * 8 | * Returns: Nothing 9 | * 10 | */ 11 | void backlight_init(); 12 | 13 | /* 14 | * Function: backlight_set 15 | * -------------------- 16 | * 17 | * Set the bright level of the screen 18 | * 19 | * Arguments: 20 | * -level: 0 to 100 brigh level 21 | * 22 | * Returns: Nothing 23 | * 24 | */ 25 | void backlight_set(uint8_t level); 26 | 27 | /* 28 | * Function: backlight_get 29 | * -------------------- 30 | * 31 | * Return the actual backlight level 32 | * 33 | * Returns: The bright level of the display 0-100 34 | * 35 | */ 36 | uint8_t backlight_get(); -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/rcfile.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include 5 | 6 | #include "gnuboy.h" 7 | #include "defs.h" 8 | #include "rc.h" 9 | #include "hw.h" 10 | 11 | 12 | char *rcpath; 13 | 14 | int rc_sourcefile(char *filename) 15 | { 16 | FILE *f; 17 | char *name; 18 | char line[256], *p; 19 | 20 | name = path_search(filename, "r", rcpath); 21 | f = fopen(name, "r"); 22 | if (!f) return -1; 23 | 24 | for (;;) 25 | { 26 | if (feof(f)) break; 27 | fgets(line, sizeof line, f); 28 | if ((p = strpbrk(line, "#\r\n"))) 29 | *p = 0; 30 | rc_command(line); 31 | } 32 | fclose(f); 33 | return 0; 34 | } 35 | 36 | 37 | rcvar_t rcfile_exports[] = 38 | { 39 | RCV_STRING("rcpath", &rcpath), 40 | RCV_END 41 | }; 42 | 43 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/atari/FREETYPE.PRJ: -------------------------------------------------------------------------------- 1 | ;FreeType project file 2 | 3 | FREETYPE.LIB 4 | 5 | .C [-K -P -R -A] 6 | .L [-J -V] 7 | .S 8 | 9 | = 10 | 11 | ..\..\src\base\ftsystem.c 12 | ..\..\src\base\ftdebug.c 13 | 14 | ..\..\src\base\ftinit.c 15 | ..\..\src\base\ftglyph.c 16 | ..\..\src\base\ftmm 17 | ..\..\src\base\ftbbox 18 | 19 | ..\..\src\base\ftbase.c 20 | ..\..\src\autohint\autohint.c 21 | ;..\..\src\cache\ftcache.c 22 | ..\..\src\cff\cff.c 23 | ..\..\src\cid\type1cid.c 24 | ..\..\src\psaux\psaux.c 25 | ..\..\src\pshinter\pshinter.c 26 | ..\..\src\psnames\psnames.c 27 | ..\..\src\raster\raster.c 28 | ..\..\src\sfnt\sfnt.c 29 | ..\..\src\smooth\smooth.c 30 | ..\..\src\truetype\truetype.c 31 | ..\..\src\type1\type1.c 32 | ..\..\src\type42\type42.c 33 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/bdf/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/bdf Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) bdf ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = bdfdrivr bdflib ; 20 | } 21 | else 22 | { 23 | _sources = bdf ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/bdf Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cff/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 CFF module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += CFF_DRIVER 17 | 18 | define CFF_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, cff_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)cff $(ECHO_DRIVER_DESC)OpenType fonts with extension *.otf$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/otvalid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 otvalid module definition 3 | # 4 | 5 | 6 | # Copyright 2004, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += OTVALID_MODULE 17 | 18 | define OTVALID_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, otv_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)otvalid $(ECHO_DRIVER_DESC)OpenType validation module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/hw.h: -------------------------------------------------------------------------------- 1 | #ifndef __HW_H__ 2 | #define __HW_H__ 3 | 4 | 5 | #include "defs.h" 6 | 7 | 8 | #define PAD_RIGHT 0x01 9 | #define PAD_LEFT 0x02 10 | #define PAD_UP 0x04 11 | #define PAD_DOWN 0x08 12 | #define PAD_A 0x10 13 | #define PAD_B 0x20 14 | #define PAD_SELECT 0x40 15 | #define PAD_START 0x80 16 | 17 | #define IF_VBLANK 0x01 18 | #define IF_STAT 0x02 19 | #define IF_TIMER 0x04 20 | #define IF_SERIAL 0x08 21 | #define IF_PAD 0x10 22 | 23 | struct hw 24 | { 25 | byte ilines; 26 | byte pad; 27 | int cgb, gba; 28 | int hdma; 29 | }; 30 | 31 | 32 | extern struct hw hw; 33 | 34 | void hw_hdma(); 35 | void hw_dma(byte b); 36 | void hw_hdma_cmd(byte c); 37 | void hw_reset(); 38 | void pad_set(byte k, int st); 39 | void pad_refresh(); 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/unix-lcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Configuration rules for Unix + LCC 3 | # 4 | # Development version without optimizations & libtool 5 | # and no installation. 6 | # 7 | 8 | 9 | # Copyright 1996-2000 by 10 | # David Turner, Robert Wilhelm, and Werner Lemberg. 11 | # 12 | # This file is part of the FreeType project, and may only be used, modified, 13 | # and distributed under the terms of the FreeType project license, 14 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 15 | # indicate that you have read the license and understand and accept it 16 | # fully. 17 | 18 | 19 | include $(TOP_DIR)/builds/unix/unixddef.mk 20 | include $(TOP_DIR)/builds/compiler/unix-lcc.mk 21 | include $(TOP_DIR)/builds/link_std.mk 22 | 23 | 24 | # EOF 25 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pfr/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PFR module definition 3 | # 4 | 5 | 6 | # Copyright 2002, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PFR_DRIVER 17 | 18 | define PFR_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, pfr_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)pfr $(ECHO_DRIVER_DESC)PFR/TrueDoc font files with extension *.pfr$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-bccd.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Borland C++ on Win32 + debugging 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | DEVEL_DIR := $(TOP_DIR)/devel 17 | 18 | include $(TOP_DIR)/builds/win32/win32-def.mk 19 | 20 | include $(TOP_DIR)/builds/compiler/bcc-dev.mk 21 | 22 | # include linking instructions 23 | include $(TOP_DIR)/builds/link_dos.mk 24 | 25 | 26 | # EOF 27 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psaux/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSaux module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSAUX_MODULE 17 | 18 | define PSAUX_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, psaux_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)psaux $(ECHO_DRIVER_DESC)Postscript Type 1 & Type 2 helper module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pshinter/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSHinter module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2001, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSHINTER_MODULE 17 | 18 | define PSHINTER_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, pshinter_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)pshinter $(ECHO_DRIVER_DESC)Postscript hinter module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/sfnt/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 SFNT module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += SFNT_MODULE 17 | 18 | define SFNT_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, sfnt_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)sfnt $(ECHO_DRIVER_DESC)helper module for TrueType & OpenType formats$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/autofit/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 auto-fitter module definition 3 | # 4 | 5 | 6 | # Copyright 2003, 2004, 2005, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += AUTOFIT_MODULE 17 | 18 | define AUTOFIT_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, autofit_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)autofit $(ECHO_DRIVER_DESC)automatic hinting module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pcf/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pcf Jamfile 2 | # 3 | # Copyright 2001, 2003 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pcf ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pcfdrivr pcfread pcfutil ; 20 | } 21 | else 22 | { 23 | _sources = pcf ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pcf Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/raster/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 renderer module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += RASTER_MODULE 17 | 18 | define RASTER_MODULE 19 | $(OPEN_DRIVER) FT_Renderer_Class, ft_raster1_renderer_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)raster $(ECHO_DRIVER_DESC)monochrome bitmap renderer$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type42/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Type42 module definition 3 | # 4 | 5 | 6 | # Copyright 2002, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE42_DRIVER 17 | 18 | define TYPE42_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t42_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)type42 $(ECHO_DRIVER_DESC)Type 42 font files with no known extension$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psnames/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/psnames Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) psnames ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = psmodule pspic ; 20 | } 21 | else 22 | { 23 | _sources = psnames ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/psnames Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psnames/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSnames module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSNAMES_MODULE 17 | 18 | define PSNAMES_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, psnames_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)psnames $(ECHO_DRIVER_DESC)Postscript & Unicode Glyph name handling$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/smooth/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/smooth Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) smooth ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ftgrays ftsmooth ftspic ; 20 | } 21 | else 22 | { 23 | _sources = smooth ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/smooth Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 CID module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE1CID_DRIVER 17 | 18 | define TYPE1CID_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1cid_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)cid $(ECHO_DRIVER_DESC)Postscript CID-keyed fonts, no known extension$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/raster/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/raster Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) raster ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ftraster ftrend1 rastpic ; 20 | } 21 | else 22 | { 23 | _sources = raster ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/raster Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type1/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Type1 module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE1_DRIVER 17 | 18 | define TYPE1_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type42/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/type42 Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) type42 ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = t42objs t42parse t42drivr ; 20 | } 21 | else 22 | { 23 | _sources = type42 ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/type42 Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/os2/os2-gcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for the OS/2 + gcc 3 | # 4 | 5 | 6 | # Copyright 1996-2000 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | # include OS/2-specific definitions 17 | include $(TOP_DIR)/builds/os2/os2-def.mk 18 | 19 | # include gcc-specific definitions 20 | include $(TOP_DIR)/builds/compiler/gcc.mk 21 | 22 | # include linking instructions 23 | include $(TOP_DIR)/builds/link_dos.mk 24 | 25 | 26 | # EOF 27 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cid Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cid ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = cidobjs cidload cidgload cidriver cidparse ; 20 | } 21 | else 22 | { 23 | _sources = type1cid ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/cid Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pfr/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pfr Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pfr ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pfrdrivr pfrgload pfrload pfrobjs pfrcmap pfrsbit ; 20 | } 21 | else 22 | { 23 | _sources = pfr ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pfr Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/truetype/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 TrueType module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TRUETYPE_DRIVER 17 | 18 | define TRUETYPE_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, tt_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)truetype $(ECHO_DRIVER_DESC)Windows/Mac font files with extension *.ttf or *.ttc$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type1/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/type1 Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) type1 ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = t1afm t1driver t1objs t1load t1gload t1parse ; 20 | } 21 | else 22 | { 23 | _sources = type1 ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/type1 Jamfile 30 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/fmintf.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _FMINTF_H_ 3 | #define _FMINTF_H_ 4 | 5 | enum 6 | { 7 | SND_NONE, /* YM2413 emulation disabled */ 8 | SND_EMU2413, /* Mitsutaka Okazaki's YM2413 emulator */ 9 | SND_YM2413 /* Jarek Burczynski's YM2413 emulator */ 10 | }; 11 | 12 | #if 0 13 | typedef struct { 14 | uint8 latch; 15 | uint8 reg[0x40]; 16 | } FM_Context; 17 | 18 | /* Function prototypes */ 19 | void FM_Init(void); 20 | void FM_Shutdown(void); 21 | void FM_Reset(void); 22 | void FM_Update(int16 **buffer, int length); 23 | void FM_Write(int offset, int data); 24 | void FM_GetContext(uint8 *data); 25 | void FM_SetContext(uint8 *data); 26 | int FM_GetContextSize(void); 27 | uint8 *FM_GetContextPtr(void); 28 | void FM_WriteReg(int reg, int data); 29 | #endif 30 | 31 | #endif /* _FMINTF_H_ */ 32 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cff/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cff Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cff ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = cffdrivr cffgload cffload cffobjs cffparse cffcmap cffpic ; 20 | } 21 | else 22 | { 23 | _sources = cff ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/cff Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/winfonts/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Windows FNT/FON module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += WINDOWS_DRIVER 17 | 18 | define WINDOWS_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, winfnt_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)winfnt $(ECHO_DRIVER_DESC)Windows bitmap fonts with extension *.fnt or *.fon$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pshinter/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pshinter Jamfile 2 | # 3 | # Copyright 2001, 2003 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pshinter ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pshrec pshglob pshalgo pshmod pshpic ; 20 | } 21 | else 22 | { 23 | _sources = pshinter ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pshinter Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/unix-dev.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Configuration rules for Unix + GCC 3 | # 4 | # Development version without optimizations & libtool 5 | # and no installation. 6 | # 7 | 8 | 9 | # Copyright 1996-2000, 2003, 2006 by 10 | # David Turner, Robert Wilhelm, and Werner Lemberg. 11 | # 12 | # This file is part of the FreeType project, and may only be used, modified, 13 | # and distributed under the terms of the FreeType project license, 14 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 15 | # indicate that you have read the license and understand and accept it 16 | # fully. 17 | 18 | 19 | DEVEL_DIR := $(TOP_DIR)/devel 20 | 21 | include $(TOP_DIR)/builds/unix/unixddef.mk 22 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk 23 | include $(TOP_DIR)/builds/link_std.mk 24 | 25 | 26 | # EOF 27 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gxvalid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 gxvalid module definition 3 | # 4 | 5 | # Copyright 2004, 2005, 2006 6 | # by suzuki toshiya, Masatake YAMATO, Red Hat K.K., 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += GXVALID_MODULE 17 | 18 | define GXVALID_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, gxv_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)gxvalid $(ECHO_DRIVER_DESC)TrueTypeGX/AAT validation module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/otvalid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/otvalid Jamfile 2 | # 3 | # Copyright 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) otvalid ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = otvbase otvcommn otvgdef otvgpos otvgsub otvjstf otvmod otvmath ; 20 | } 21 | else 22 | { 23 | _sources = otvalid ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/otvalid Jamfile 30 | -------------------------------------------------------------------------------- /components/drivers/LED/LED_notification.h: -------------------------------------------------------------------------------- 1 | //LED commands available 2 | #define LED_BLINK_HS 0x00 // Blink High Speed -> Period of 100 mS 3 | #define LED_BLINK_LS 0x01 // Blink Low Speed -> Period of 500 mS 4 | #define LED_TURN_ON 0x02 5 | #define LED_TURN_OFF 0x03 6 | #define LED_FADE_ON 0x04 7 | #define LED_FADE_OFF 0x05 8 | #define LED_LOAD_ANI 0x06 9 | 10 | /* 11 | * Function: LED_init 12 | * -------------------- 13 | * 14 | * Initialize the notification LED control 15 | * 16 | * 17 | * Returns: Nothing 18 | * 19 | */ 20 | void LED_init(); 21 | 22 | /* 23 | * Function: LED_mode 24 | * -------------------- 25 | * 26 | * Set the blink/fade mode of the LED. 27 | * 28 | * Arguments: 29 | * -mode: Set the mode that you want to run, see defines up 30 | * 31 | * Returns: Nothing 32 | * 33 | */ 34 | void LED_mode(uint8_t mode); -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/truetype/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/truetype Jamfile 2 | # 3 | # Copyright 2001, 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) truetype ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ttpic ; 20 | } 21 | else 22 | { 23 | _sources = truetype ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/truetype Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/sfnt/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/sfnt Jamfile 2 | # 3 | # Copyright 2001, 2002, 2004, 2005 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) sfnt ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = sfobjs sfdriver ttcmap ttmtx ttpost ttload ttsbit ttkern ttbdf sfntpic ; 20 | } 21 | else 22 | { 23 | _sources = sfnt ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/sfnt Jamfile 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psaux/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/psaux Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) psaux ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = psauxmod psobjs t1decode t1cmap 20 | psconv afmparse 21 | ; 22 | } 23 | else 24 | { 25 | _sources = psaux ; 26 | } 27 | 28 | Library $(FT2_LIB) : $(_sources).c ; 29 | } 30 | 31 | # end of src/psaux Jamfile 32 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/exports.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "gnuboy.h" 5 | #include "rc.h" 6 | 7 | extern rcvar_t rcfile_exports[], emu_exports[], loader_exports[], 8 | lcd_exports[], rtc_exports[], debug_exports[], sound_exports[], 9 | vid_exports[], joy_exports[], pcm_exports[]; 10 | 11 | 12 | rcvar_t *sources[] = 13 | { 14 | rcfile_exports, 15 | emu_exports, 16 | loader_exports, 17 | lcd_exports, 18 | rtc_exports, 19 | debug_exports, 20 | sound_exports, 21 | vid_exports, 22 | joy_exports, 23 | pcm_exports, 24 | NULL 25 | }; 26 | 27 | 28 | void init_exports() 29 | { 30 | rcvar_t **s = sources; 31 | 32 | while (*s) 33 | rc_exportvars(*(s++)); 34 | } 35 | 36 | 37 | void show_exports() 38 | { 39 | int i, j; 40 | for (i = 0; sources[i]; i++) 41 | for (j = 0; sources[i][j].name; j++) 42 | printf("%s\n", sources[i][j].name); 43 | } 44 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/atari/FNames.SIC: -------------------------------------------------------------------------------- 1 | /* the following changes file names for PureC projects */ 2 | 3 | if (argc > 0) 4 | { 5 | ordner = argv[0]; 6 | if (basename(ordner) == "") /* ist Ordner */ 7 | { 8 | ChangeFilenames(ordner); 9 | } 10 | } 11 | 12 | proc ChangeFilenames(folder) 13 | local i,entries,directory,file; 14 | { 15 | entries = filelist(directory,folder); 16 | for (i = 0; i < entries; ++i) 17 | { 18 | file = directory[i,0]; 19 | if ((directory[i,3]&16) > 0) /* subdirectory */ 20 | { 21 | ChangeFilenames(folder+file+"\\"); 22 | } 23 | else 24 | { 25 | if ((stricmp(suffix(file),".h")==0)|(stricmp(suffix(file),".c")==0)) 26 | ChangeFilename(folder,file); 27 | } 28 | } 29 | } 30 | 31 | proc ChangeFilename(path,datei) 32 | local newfile,err; 33 | { 34 | newfile=datei; 35 | newfile[0]=(newfile[0] | 32) ^ 32; 36 | err=files.rename("-q",path+datei,newfile); 37 | } 38 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/path.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "gnuboy.h" 6 | 7 | #ifdef ALT_PATH_SEP 8 | #define SEP ';' 9 | #else 10 | #define SEP ':' 11 | #endif 12 | 13 | char *path_search(char *name, char *mode, char *path) 14 | { 15 | FILE *f; 16 | static char *buf; 17 | char *p, *n; 18 | int l; 19 | 20 | if(buf){ 21 | free(buf); 22 | buf = 0; 23 | } 24 | if (!path || !*path || *name == DIRSEP_CHAR) 25 | return (buf = strdup(name)); 26 | 27 | buf = malloc(strlen(path) + strlen(name) + 2); 28 | 29 | for (p = path; *p; p += l) 30 | { 31 | if (*p == SEP) p++; 32 | n = strchr(p, SEP); 33 | if (n) l = n - p; 34 | else l = strlen(p); 35 | strncpy(buf, p, l); 36 | buf[l] = DIRSEP_CHAR; 37 | strcpy(buf+l+1, name); 38 | if ((f = fopen(buf, mode))) 39 | { 40 | fclose(f); 41 | return buf; 42 | } 43 | } 44 | return name; 45 | } 46 | 47 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-vcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Visual C++ on Win32 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -w 20 | 21 | include $(TOP_DIR)/builds/win32/win32-def.mk 22 | include $(TOP_DIR)/builds/compiler/visualc.mk 23 | 24 | # include linking instructions 25 | include $(TOP_DIR)/builds/link_dos.mk 26 | 27 | 28 | # EOF 29 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) ; 13 | 14 | # The file is used to define macros that are 15 | # later used in #include statements. It needs to be parsed in order to 16 | # record these definitions. 17 | # 18 | HDRMACRO [ FT2_SubDir $(FT2_INCLUDE_DIR) internal internal.h ] ; 19 | 20 | for xx in $(FT2_COMPONENTS) 21 | { 22 | SubInclude FT2_TOP $(FT2_SRC_DIR) $(xx) ; 23 | } 24 | 25 | # end of src Jamfile 26 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-bcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Borland C++ on Win32 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # default definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -wB 20 | 21 | include $(TOP_DIR)/builds/win32/win32-def.mk 22 | include $(TOP_DIR)/builds/compiler/bcc.mk 23 | 24 | # include linking instructions 25 | include $(TOP_DIR)/builds/link_dos.mk 26 | 27 | 28 | # EOF 29 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/os2/os2-dev.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for OS/2 + GCC 3 | # 4 | # Development version without optimizations. 5 | # 6 | 7 | 8 | # Copyright 1996-2000, 2003, 2006 by 9 | # David Turner, Robert Wilhelm, and Werner Lemberg. 10 | # 11 | # This file is part of the FreeType project, and may only be used, modified, 12 | # and distributed under the terms of the FreeType project license, 13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 14 | # indicate that you have read the license and understand and accept it 15 | # fully. 16 | 17 | 18 | DEVEL_DIR := $(TOP_DIR)/devel 19 | 20 | # include OS/2-specific definitions 21 | include $(TOP_DIR)/builds/os2/os2-def.mk 22 | 23 | # include gcc-specific definitions 24 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk 25 | 26 | # include linking instructions 27 | include $(TOP_DIR)/builds/link_dos.mk 28 | 29 | 30 | # EOF 31 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-wat.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Watcom C/C++ 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # redefine export symbol definitions 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/watcom-ftexports.lbc 18 | EXPORTS_OPTIONS = -\"export @$(EXPORTS_LIST)\"- 19 | APINAMES_OPTIONS := -wW 20 | 21 | include $(TOP_DIR)/builds/win32/win32-def.mk 22 | include $(TOP_DIR)/builds/compiler/watcom.mk 23 | 24 | # include linking instructions 25 | include $(TOP_DIR)/builds/link_dos.mk 26 | 27 | 28 | # EOF 29 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-icc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Win32 + IBM Visual Age C++ 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # default definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -w 20 | 21 | include $(TOP_DIR)/builds/win32/win32-def.mk 22 | include $(TOP_DIR)/builds/compiler/visualage.mk 23 | 24 | # include linking instructions 25 | include $(TOP_DIR)/builds/link_dos.mk 26 | 27 | 28 | # EOF 29 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-intl.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Intel C/C++ on Win32 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # default definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -w 20 | 21 | include $(TOP_DIR)/builds/win32/win32-def.mk 22 | include $(TOP_DIR)/builds/compiler/intelc.mk 23 | 24 | # include linking instructions 25 | include $(TOP_DIR)/builds/link_dos.mk 26 | 27 | 28 | # EOF 29 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/tools/cordic.py: -------------------------------------------------------------------------------- 1 | # compute arctangent table for CORDIC computations in fttrigon.c 2 | import sys, math 3 | 4 | #units = 64*65536.0 # don't change !! 5 | units = 180 * 2**16 6 | scale = units/math.pi 7 | shrink = 1.0 8 | comma = "" 9 | 10 | print "" 11 | print "table of arctan( 1/2^n ) for PI = " + repr(units/65536.0) + " units" 12 | 13 | for n in range(1,32): 14 | 15 | x = 0.5**n # tangent value 16 | 17 | angle = math.atan(x) # arctangent 18 | angle2 = round(angle*scale) # arctangent in FT_Angle units 19 | 20 | if angle2 <= 0: 21 | break 22 | 23 | sys.stdout.write( comma + repr( int(angle2) ) ) 24 | comma = ", " 25 | 26 | shrink /= math.sqrt( 1 + x*x ) 27 | 28 | print 29 | print "shrink factor = " + repr( shrink ) 30 | print "shrink factor 2 = " + repr( int( shrink * (2**32) ) ) 31 | print "expansion factor = " + repr( 1/shrink ) 32 | print "" 33 | 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/tools/ftrandom/Makefile: -------------------------------------------------------------------------------- 1 | # TOP_DIR and OBJ_DIR should be set by the user to the right directories, 2 | # if necessary. 3 | 4 | TOP_DIR ?= ../../.. 5 | OBJ_DIR ?= $(TOP_DIR)/objs 6 | 7 | 8 | # The setup below is for gcc on a Unix-like platform. 9 | 10 | SRC_DIR = $(TOP_DIR)/src/tools/ftrandom 11 | 12 | CC = gcc 13 | WFLAGS = -Wmissing-prototypes \ 14 | -Wunused \ 15 | -Wimplicit \ 16 | -Wreturn-type \ 17 | -Wparentheses \ 18 | -pedantic \ 19 | -Wformat \ 20 | -Wchar-subscripts \ 21 | -Wsequence-point 22 | CFLAGS = $(WFLAGS) \ 23 | -g \ 24 | -I $(TOP_DIR)/include 25 | LIBS = -lm \ 26 | -L $(OBJ_DIR) \ 27 | -lfreetype \ 28 | -lz 29 | 30 | all: $(OBJ_DIR)/ftrandom 31 | 32 | $(OBJ_DIR)/ftrandom: $(SRC_DIR)/ftrandom.c $(OBJ_DIR)/libfreetype.a 33 | $(CC) -o $(OBJ_DIR)/ftrandom $(CFLAGS) $(SRC_DIR)/ftrandom.c $(LIBS) 34 | 35 | # EOF 36 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gzip/infcodes.h: -------------------------------------------------------------------------------- 1 | /* infcodes.h -- header to use infcodes.c 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | #ifndef _INFCODES_H 12 | #define _INFCODES_H 13 | 14 | struct inflate_codes_state; 15 | typedef struct inflate_codes_state FAR inflate_codes_statef; 16 | 17 | local inflate_codes_statef *inflate_codes_new OF(( 18 | uInt, uInt, 19 | inflate_huft *, inflate_huft *, 20 | z_streamp )); 21 | 22 | local int inflate_codes OF(( 23 | inflate_blocks_statef *, 24 | z_streamp , 25 | int)); 26 | 27 | local void inflate_codes_free OF(( 28 | inflate_codes_statef *, 29 | z_streamp )); 30 | 31 | #endif /* _INFCODES_H */ 32 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-dev.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Win32 + GCC 3 | # 4 | # Development version without optimizations. 5 | # 6 | 7 | 8 | # Copyright 1996-2000, 2003, 2006 by 9 | # David Turner, Robert Wilhelm, and Werner Lemberg. 10 | # 11 | # This file is part of the FreeType project, and may only be used, modified, 12 | # and distributed under the terms of the FreeType project license, 13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 14 | # indicate that you have read the license and understand and accept it 15 | # fully. 16 | 17 | 18 | # NOTE: This version requires that GNU Make is invoked from the Windows 19 | # Shell (_not_ Cygwin BASH)! 20 | # 21 | 22 | DEVEL_DIR := $(TOP_DIR)/devel 23 | 24 | include $(TOP_DIR)/builds/win32/win32-def.mk 25 | 26 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk 27 | 28 | # include linking instructions 29 | include $(TOP_DIR)/builds/link_dos.mk 30 | 31 | 32 | # EOF 33 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/beos/detect.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration file to detect an BeOS host platform. 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | .PHONY: setup 17 | 18 | 19 | ifeq ($(PLATFORM),ansi) 20 | 21 | ifdef BE_HOST_CPU 22 | 23 | PLATFORM := beos 24 | 25 | endif # test MACHTYPE beos 26 | endif 27 | 28 | ifeq ($(PLATFORM),beos) 29 | 30 | DELETE := rm -f 31 | CAT := cat 32 | SEP := / 33 | BUILD_DIR := $(TOP_DIR)/builds/beos 34 | CONFIG_FILE := beos.mk 35 | 36 | setup: std_setup 37 | 38 | endif # test PLATFORM beos 39 | 40 | 41 | # EOF 42 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-gcc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for Win32 + GCC 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # default definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = $(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -w 20 | 21 | # include Win32-specific definitions 22 | include $(TOP_DIR)/builds/win32/win32-def.mk 23 | 24 | # include gcc-specific definitions 25 | include $(TOP_DIR)/builds/compiler/gcc.mk 26 | 27 | # include linking instructions 28 | include $(TOP_DIR)/builds/link_dos.mk 29 | 30 | 31 | # EOF 32 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 build system -- top-level Makefile 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2002, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | # Project names 17 | # 18 | PROJECT := freetype 19 | PROJECT_TITLE := FreeType 20 | 21 | # The variable TOP_DIR holds the path to the topmost directory in the project 22 | # engine source hierarchy. If it is not defined, default it to `.'. 23 | # 24 | TOP_DIR ?= . 25 | 26 | # The variable OBJ_DIR gives the location where object files and the 27 | # FreeType library are built. 28 | # 29 | OBJ_DIR ?= $(TOP_DIR)/objs 30 | 31 | 32 | include $(TOP_DIR)/builds/toplevel.mk 33 | 34 | # EOF 35 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/events.c: -------------------------------------------------------------------------------- 1 | #if 0 2 | /* 3 | * events.c 4 | * 5 | * Event queue. 6 | */ 7 | 8 | 9 | #include "input.h" 10 | 11 | 12 | char keystates[MAX_KEYS]; 13 | int nkeysdown; 14 | 15 | #define MAX_EVENTS 32 16 | 17 | static event_t eventqueue[MAX_EVENTS]; 18 | static int eventhead, eventpos; 19 | 20 | 21 | int ev_postevent(event_t *ev) 22 | { 23 | int nextevent; 24 | nextevent = (eventhead+1)%MAX_EVENTS; 25 | if (nextevent == eventpos) 26 | return 0; 27 | eventqueue[eventhead] = *ev; 28 | eventhead = nextevent; 29 | return 1; 30 | } 31 | 32 | int ev_getevent(event_t *ev) 33 | { 34 | if (eventpos == eventhead) 35 | { 36 | ev->type = EV_NONE; 37 | return 0; 38 | } 39 | *ev = eventqueue[eventpos]; 40 | eventpos = (eventpos+1)%MAX_EVENTS; 41 | if (ev->type == EV_PRESS) 42 | { 43 | keystates[ev->code] = 1; 44 | nkeysdown++; 45 | } 46 | if (ev->type == EV_RELEASE) 47 | { 48 | keystates[ev->code] = 0; 49 | nkeysdown--; 50 | if (nkeysdown < 0) nkeysdown = 0; 51 | } 52 | return 1; 53 | } 54 | #endif 55 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/ft-munmap.m4: -------------------------------------------------------------------------------- 1 | ## FreeType specific autoconf tests 2 | # 3 | # Copyright 2002, 2003, 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | # serial 2 13 | 14 | AC_DEFUN([FT_MUNMAP_PARAM], 15 | [AC_MSG_CHECKING([for munmap's first parameter type]) 16 | AC_COMPILE_IFELSE([ 17 | AC_LANG_SOURCE([[ 18 | 19 | #include 20 | #include 21 | int munmap(void *, size_t); 22 | 23 | ]]) 24 | ], 25 | [AC_MSG_RESULT([void *]) 26 | AC_DEFINE([MUNMAP_USES_VOIDP], 27 | [], 28 | [Define to 1 if the first argument of munmap is of type void *])], 29 | [AC_MSG_RESULT([char *])]) 30 | ]) 31 | 32 | # end of ft-munmap.m4 33 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gxvalid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/gxvalid Jamfile 2 | # 3 | # Copyright 2005 by 4 | # suzuki toshiya, Masatake YAMATO and Red Hat K.K. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) gxvalid ; 13 | 14 | 15 | { 16 | local _sources ; 17 | 18 | if $(FT2_MULTI) 19 | { 20 | _sources = gxvcommn gxvfeat gxvbsln gxvtrak gxvopbd gxvprop 21 | gxvmort gxvmort0 gxvmort1 gxvmort2 gxvmort4 gxvmort5 22 | gxvmorx gxvmorx0 gxvmorx1 gxvmorx2 gxvmorx4 gxvmorx5 23 | gxvlcar gxvkern gxvmod gxvjust ; 24 | } 25 | else 26 | { 27 | _sources = gxvalid ; 28 | } 29 | 30 | Library $(FT2_LIB) : $(_sources).c ; 31 | } 32 | 33 | # end of src/gxvalid Jamfile 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/w32-mingw32.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules for mingw32 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | # default definitions of the export list 16 | # 17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def 18 | EXPORTS_OPTIONS = $(EXPORTS_LIST) 19 | APINAMES_OPTIONS := -dfreetype.dll -w 20 | 21 | # include Win32-specific definitions 22 | include $(TOP_DIR)/builds/win32/win32-def.mk 23 | 24 | LIBRARY := lib$(PROJECT) 25 | 26 | # include gcc-specific definitions 27 | include $(TOP_DIR)/builds/compiler/gcc.mk 28 | 29 | # include linking instructions 30 | include $(TOP_DIR)/builds/link_dos.mk 31 | 32 | 33 | # EOF 34 | -------------------------------------------------------------------------------- /components/GUI/info.md: -------------------------------------------------------------------------------- 1 | # LVGL Image and icons creations instructions. 2 | 3 | This document explain how you can convert a image into a icon for microByte interface. 4 | 5 | You can find a ton of icons in the next webpage: https://www.flaticon.es/ 6 | 7 | To convert from PNG to the LVGL image format, you can use the next online converter: https://lvgl.io/tools/imageconverter 8 | 9 | ## Main menu icons 10 | Set the next configuration to get icons compatibles with the main menu of the GUI 11 | 12 | ## Image propety: 13 | - Image format: PNG. 14 | - Size: 64 PX. 15 | 16 | ## Image converter set-up: 17 | - Color Format: True color with Alpha 18 | - Output Format: C array 19 | - Dithering of true colors images: No 20 | 21 | 22 | ## Sub-menu icons 23 | Set the next configuration to get icons compatibles with the sub-menu of the GUI(Emulators, configuration...) 24 | 25 | ## Image propety: 26 | - Image format: PNG. 27 | - Size: 32 PX. 28 | 29 | ## Image converter set-up: 30 | - Color Format: True color with Alpha 31 | - Output Format: C array 32 | - Dithering of true colors images: No -------------------------------------------------------------------------------- /components/drivers/user_input/TCA9555/TCA9555.h: -------------------------------------------------------------------------------- 1 | 2 | /********************* 3 | * FUNCTIONS 4 | *********************/ 5 | 6 | /* 7 | * Function: TCA955_init 8 | * -------------------- 9 | * 10 | * Initialize I2C Bus and check if the TCA955 mux is connected to the bus 11 | * 12 | * Returns: True if the initialization suceed otherwise false. 13 | * 14 | */ 15 | bool TCA955_init(void); 16 | 17 | /* 18 | * Function: TCA9555_pinMode 19 | * -------------------- 20 | * 21 | * Configure a specific pin to be an input. 22 | * By default all the pins are inputs. 23 | * 24 | * Arguments 25 | * -pin: 0-16 pin number. 26 | * 27 | * Returns: True if the configuration suceed otherwise false. 28 | * 29 | */ 30 | bool TCA9555_pinMode(uint8_t pin); 31 | 32 | /* 33 | * Function: TCA9555_readInputs 34 | * -------------------- 35 | * 36 | * Get the value of the input pins attached to the driver. 37 | * 38 | * 39 | * Returns: A integer of 16 bits with the value of each pin (Each bit is the value of each input). 40 | * 41 | */ 42 | int16_t TCA9555_readInputs(void); -------------------------------------------------------------------------------- /components/drivers/user_input/user_input_HAL/user_input.h: -------------------------------------------------------------------------------- 1 | /********************* 2 | * FUNCTIONS 3 | *********************/ 4 | 5 | /* 6 | * Function: input_init 7 | * -------------------- 8 | * 9 | * Initialize the mux driver and set the right configuration. 10 | * 11 | * Returns: Nothing 12 | */ 13 | 14 | void input_init(void); 15 | 16 | /* 17 | * Function: input_read 18 | * -------------------- 19 | * 20 | * Gets the value of the buttons attached to the mux and if the menu button is pushed, 21 | * it peforms some special functions such as brightness and volumen set or open the on 22 | * game menu. 23 | * 24 | * Returns: An unsigned interger of 16bit with the status of each button. See the next 25 | * table to know the position of each button. 26 | * Bit position of each button 27 | * - 0 -> Down - 2 -> Up 28 | * - 1 -> Left - 3 -> Right 29 | * 30 | * - 12 -> Select - 11 -> Menu 31 | * - 10 -> Start 32 | * 33 | * - 9 -> A - 8 -> B - 7 -> Y 34 | * - 6 -> X - 5 -> R - 13 -> L 35 | */ 36 | 37 | uint16_t input_read(void); -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/split.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* 4 | * splitline is a destructive argument parser, much like a very primitive 5 | * form of a shell parser. it supports quotes for embedded spaces and 6 | * literal quotes with the backslash escape. 7 | */ 8 | 9 | char *splitnext(char **pos) 10 | { 11 | char *a, *d, *s; 12 | 13 | d = s = *pos; 14 | while (*s == ' ' || *s == '\t') s++; 15 | a = s; 16 | while (*s && *s != ' ' && *s != '\t') 17 | { 18 | if (*s == '"') 19 | { 20 | s++; 21 | while (*s && *s != '"') 22 | { 23 | if (*s == '\\') 24 | s++; 25 | if (*s) 26 | *(d++) = *(s++); 27 | } 28 | if (*s == '"') s++; 29 | } 30 | else 31 | { 32 | if (*s == '\\') 33 | s++; 34 | *(d++) = *(s++); 35 | } 36 | } 37 | while (*s == ' ' || *s == '\t') s++; 38 | *d = 0; 39 | *pos = s; 40 | return a; 41 | } 42 | 43 | int splitline(char **argv, int max, char *line) 44 | { 45 | char *s; 46 | int i; 47 | 48 | s = line; 49 | for (i = 0; *s && i < max + 1; i++) 50 | argv[i] = splitnext(&s); 51 | argv[i] = 0; 52 | return i; 53 | } 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/cpuregs.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef __CPUREGS_H__ 4 | 5 | #define __CPUREGS_H__ 6 | 7 | 8 | 9 | #include "defs.h" 10 | #include "cpu.h" 11 | 12 | #define LB(r) ((r).b[LO][LO]) 13 | #define HB(r) ((r).b[LO][HI]) 14 | #define W(r) ((r).w[LO]) 15 | #define DW(r) ((r).d) 16 | 17 | #define A HB(cpu.af) 18 | #define F LB(cpu.af) 19 | #define B HB(cpu.bc) 20 | #define C LB(cpu.bc) 21 | #define D HB(cpu.de) 22 | #define E LB(cpu.de) 23 | #define H HB(cpu.hl) 24 | #define L LB(cpu.hl) 25 | 26 | #define AF W(cpu.af) 27 | #define BC W(cpu.bc) 28 | #define DE W(cpu.de) 29 | #define HL W(cpu.hl) 30 | 31 | #define PC W(cpu.pc) 32 | #define SP W(cpu.sp) 33 | 34 | #define xAF DW(cpu.af) 35 | #define xBC DW(cpu.bc) 36 | #define xDE DW(cpu.de) 37 | #define xHL DW(cpu.hl) 38 | 39 | #define xPC DW(cpu.pc) 40 | #define xSP DW(cpu.sp) 41 | 42 | #define IMA cpu.ima 43 | #define IME cpu.ime 44 | #define IF R_IF 45 | #define IE R_IE 46 | 47 | #define FZ 0x80 48 | #define FN 0x40 49 | #define FH 0x20 50 | #define FC 0x10 51 | #define FL 0x0F /* low unused portion of flags */ 52 | 53 | 54 | #endif /* __CPUREGS_H__ */ 55 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/autofit/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/autofit Jamfile 2 | # 3 | # Copyright 2003, 2004, 2005, 2006, 2007, 2009 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP src autofit ; 13 | 14 | { 15 | local _sources ; 16 | 17 | # define FT2_AUTOFIT2 to enable experimental latin hinter replacement 18 | if $(FT2_AUTOFIT2) 19 | { 20 | DEFINES += FT_OPTION_AUTOFIT2 ; 21 | } 22 | if $(FT2_MULTI) 23 | { 24 | _sources = afangles afglobal afhints aflatin afcjk afindic afloader afmodule afdummy afwarp afpic ; 25 | 26 | if $(FT2_AUTOFIT2) 27 | { 28 | _sources += aflatin2 ; 29 | } 30 | } 31 | else 32 | { 33 | _sources = autofit ; 34 | } 35 | 36 | Library $(FT2_LIB) : $(_sources).c ; 37 | } 38 | 39 | # end of src/autofit Jamfile 40 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/mac/ascii2mpw.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import sys 3 | import string 4 | 5 | if len( sys.argv ) == 1 : 6 | for asc_line in sys.stdin.readlines(): 7 | mpw_line = string.replace(asc_line, "\\xA5", "\245") 8 | mpw_line = string.replace(mpw_line, "\\xB6", "\266") 9 | mpw_line = string.replace(mpw_line, "\\xC4", "\304") 10 | mpw_line = string.replace(mpw_line, "\\xC5", "\305") 11 | mpw_line = string.replace(mpw_line, "\\xFF", "\377") 12 | mpw_line = string.replace(mpw_line, "\n", "\r") 13 | mpw_line = string.replace(mpw_line, "\\n", "\n") 14 | sys.stdout.write(mpw_line) 15 | elif sys.argv[1] == "-r" : 16 | for mpw_line in sys.stdin.readlines(): 17 | asc_line = string.replace(mpw_line, "\n", "\\n") 18 | asc_line = string.replace(asc_line, "\r", "\n") 19 | asc_line = string.replace(asc_line, "\245", "\\xA5") 20 | asc_line = string.replace(asc_line, "\266", "\\xB6") 21 | asc_line = string.replace(asc_line, "\304", "\\xC4") 22 | asc_line = string.replace(asc_line, "\305", "\\xC5") 23 | asc_line = string.replace(asc_line, "\377", "\\xFF") 24 | sys.stdout.write(asc_line) 25 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := microByte 7 | PROJECT_VER := 0.83 8 | 9 | EXTRA_COMPONENT_DIRS := components/GUI \ 10 | components/drivers/system_configuration \ 11 | components/drivers/display/backlight_ctrl \ 12 | components/drivers/display/ST7789 \ 13 | components/drivers/display/display_HAL \ 14 | components/drivers/user_input/TCA9555 \ 15 | components/drivers/user_input/user_input_HAL \ 16 | components/drivers/sd_storage \ 17 | components/drivers/battery \ 18 | components/drivers/sound \ 19 | components/OTA \ 20 | components/emulators/GBC \ 21 | components/emulators/GBC/gnuboy \ 22 | components/emulators/SMS \ 23 | components/emulators/SMS/smsplus \ 24 | components/emulators/NES \ 25 | components/emulators/NES/nofrendo \ 26 | components/boot_screen \ 27 | components/boot_screen/font_render \ 28 | components/drivers/LED \ 29 | #components/emulators/SNES/snes9x \ 30 | #components/emulators/SNES \ 31 | 32 | 33 | include $(IDF_PATH)/make/project.mk -------------------------------------------------------------------------------- /components/drivers/battery/battery.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Function: battery_init 3 | * -------------------- 4 | * 5 | * Initialize the ADC peripheral to get the battery level value 6 | * 7 | * Returns: Nothing 8 | */ 9 | 10 | void battery_init(void); 11 | 12 | /* 13 | * Function: battery_game_mode 14 | * -------------------- 15 | * 16 | * Tell to the battery if we're on game mode to avoid send the periodical battery status. 17 | * 18 | * Arguments: 19 | * - game_mode: "true" to set the game mode otherwise "false" 20 | * 21 | * Returns: Nothing 22 | */ 23 | 24 | void battery_game_mode(bool game_mode); 25 | 26 | /* 27 | * Function: battery_get_percentage 28 | * -------------------- 29 | * 30 | * Async battery get percentage level 31 | * 32 | * Returns: The actual level of the battery 0%->100% 33 | */ 34 | 35 | 36 | uint8_t battery_get_percentage(); 37 | 38 | /* 39 | * Function: batteryTask 40 | * -------------------- 41 | * 42 | * Task that controls every 1 sec the battery status. 43 | * Important! It shouldn't be call in any part of the code execpt on the main loop and starting as a task. 44 | * 45 | * Returns: Nothing 46 | */ 47 | void batteryTask(void *arg); -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/smooth/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 smooth renderer module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += SMOOTH_RENDERER 17 | 18 | define SMOOTH_RENDERER 19 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_renderer_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer$(ECHO_DRIVER_DONE) 21 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_lcd_renderer_class $(CLOSE_DRIVER) 22 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for LCDs$(ECHO_DRIVER_DONE) 23 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_lcdv_renderer_class $(CLOSE_DRIVER) 24 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for vertical LCDs$(ECHO_DRIVER_DONE) 25 | endef 26 | 27 | # EOF 28 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/unix/unixddef.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 configuration rules templates for 3 | # development under Unix with no configure script (gcc only) 4 | # 5 | 6 | 7 | # Copyright 1996-2000, 2003, 2006 by 8 | # David Turner, Robert Wilhelm, and Werner Lemberg. 9 | # 10 | # This file is part of the FreeType project, and may only be used, modified, 11 | # and distributed under the terms of the FreeType project license, 12 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 13 | # indicate that you have read the license and understand and accept it 14 | # fully. 15 | 16 | 17 | TOP_DIR := $(shell cd $(TOP_DIR); pwd) 18 | OBJ_DIR := $(shell cd $(OBJ_DIR); pwd) 19 | 20 | PLATFORM := unix 21 | 22 | DELETE := rm -f 23 | CAT := cat 24 | SEP := / 25 | 26 | # we use a special devel ftoption.h 27 | DEVEL_DIR := $(TOP_DIR)/devel 28 | 29 | 30 | # library file name 31 | # 32 | LIBRARY := lib$(PROJECT) 33 | 34 | 35 | # The directory where all library files are placed. 36 | # 37 | # By default, this is the same as $(OBJ_DIR); however, this can be changed 38 | # to suit particular needs. 39 | # 40 | LIB_DIR := $(OBJ_DIR) 41 | 42 | 43 | NO_OUTPUT := 2> /dev/null 44 | 45 | # EOF 46 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/lcd.h: -------------------------------------------------------------------------------- 1 | #ifndef __LCD_H__ 2 | #define __LCD_H__ 3 | 4 | #include "defs.h" 5 | 6 | struct vissprite 7 | { 8 | short pat; 9 | short x; 10 | short v; 11 | byte pal; 12 | byte pri; 13 | //byte pad[2]; //6 14 | }; 15 | 16 | struct scan 17 | { 18 | int bg[64]; 19 | int wnd[64]; 20 | byte buf[256]; 21 | un16 pal2[64]; 22 | byte pri[256]; 23 | struct vissprite vs[16]; 24 | int ns, l, x, y, s, t, u, v, wx, wy, wt, wv; 25 | }; 26 | 27 | struct obj 28 | { 29 | byte y; 30 | byte x; 31 | byte pat; 32 | byte flags; 33 | }; 34 | 35 | struct lcd 36 | { 37 | byte vbank[2][8192]; 38 | union 39 | { 40 | byte mem[256]; 41 | struct obj obj[40]; 42 | } oam; 43 | byte pal[128]; 44 | }; 45 | 46 | extern struct lcd lcd; 47 | extern struct scan scan; 48 | 49 | 50 | void lcd_begin(); 51 | void lcd_refreshline(); 52 | void pal_write(int i, byte b); 53 | void pal_write_dmg(int i, int mapnum, byte d); 54 | void vram_write(int a, byte b); 55 | void pal_dirty(); 56 | void vram_dirty(); 57 | void lcd_reset(); 58 | //void bg_scan_color(); 59 | void updatepatpix(); 60 | 61 | /* lcdc.c */ 62 | void lcdc_trans(); 63 | void lcdc_change(byte b); 64 | void stat_write(byte b); 65 | void stat_trigger(); 66 | 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/atari/gen-purec-patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | TOP_DIR=. 4 | OBJ_DIR=. 5 | 6 | for x in "$@" 7 | do 8 | case x"$x" in 9 | x--srcdir=* | x--topdir=* ) 10 | TOP_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` 11 | ;; 12 | x--builddir=* | x--objdir=* ) 13 | OBJ_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` 14 | ;; 15 | esac 16 | done 17 | 18 | mkdir -p ${OBJ_DIR}/builds/atari/tmp/orig 19 | 20 | ( cd ${TOP_DIR} && find . -name '*.[CHch]' -type f | fgrep -v builds/atari/tmp | cpio -o ) | \ 21 | ( cd ${OBJ_DIR}/builds/atari/tmp/orig && cpio -idum ) 22 | cp ${TOP_DIR}/builds/atari/deflinejoiner.awk ${OBJ_DIR}/builds/atari/tmp 23 | 24 | pushd ${OBJ_DIR}/builds/atari/tmp 25 | 26 | cp -pr orig purec 27 | for f in `cd orig && find . -type f` 28 | do 29 | echo filter $f 30 | env LANG=C awk -f deflinejoiner.awk < orig/$f > purec/$f 31 | done 32 | 33 | echo '#define FT2_BUILD_LIBRARY' > purec/include/ft2build.h 34 | echo '#include "ATARI.H"' >> purec/include/ft2build.h 35 | env LANG=C awk -f deflinejoiner.awk < orig/include/ft2build.h >> purec/include/ft2build.h 36 | 37 | env LANG=C diff -ur orig purec > ../purec.diff 38 | 39 | popd 40 | rm -rf ${OBJ_DIR}/builds/atari/tmp 41 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gzip/infblock.h: -------------------------------------------------------------------------------- 1 | /* infblock.h -- header to use infblock.c 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | #ifndef _INFBLOCK_H 12 | #define _INFBLOCK_H 13 | 14 | struct inflate_blocks_state; 15 | typedef struct inflate_blocks_state FAR inflate_blocks_statef; 16 | 17 | local inflate_blocks_statef * inflate_blocks_new OF(( 18 | z_streamp z, 19 | check_func c, /* check function */ 20 | uInt w)); /* window size */ 21 | 22 | local int inflate_blocks OF(( 23 | inflate_blocks_statef *, 24 | z_streamp , 25 | int)); /* initial return code */ 26 | 27 | local void inflate_blocks_reset OF(( 28 | inflate_blocks_statef *, 29 | z_streamp , 30 | uLongf *)); /* check value on output */ 31 | 32 | local int inflate_blocks_free OF(( 33 | inflate_blocks_statef *, 34 | z_streamp)); 35 | 36 | #endif /* _INFBLOCK_H */ 37 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/link_std.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Link instructions for standard systems 3 | # 4 | 5 | 6 | # Copyright 1996-2000 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | ifdef BUILD_PROJECT 17 | 18 | .PHONY: clean_project distclean_project 19 | 20 | # Now include the main sub-makefile. It contains all the rules used to 21 | # build the library with the previous variables defined. 22 | # 23 | include $(TOP_DIR)/builds/$(PROJECT).mk 24 | 25 | # The cleanup targets. 26 | # 27 | clean_project: clean_project_std 28 | distclean_project: distclean_project_std 29 | 30 | # This final rule is used to link all object files into a single library. 31 | # this is compiler-specific 32 | # 33 | $(PROJECT_LIBRARY): $(OBJECTS_LIST) 34 | ifdef CLEAN_LIBRARY 35 | -$(CLEAN_LIBRARY) $(NO_OUTPUT) 36 | endif 37 | $(LINK_LIBRARY) 38 | 39 | endif 40 | 41 | 42 | # EOF 43 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/ym2413.h: -------------------------------------------------------------------------------- 1 | #if 0 2 | #ifndef _H_YM2413_ 3 | #define _H_YM2413_ 4 | 5 | /* select output bits size of output : 8 or 16 */ 6 | #define SAMPLE_BITS 16 7 | 8 | /* compiler dependence */ 9 | #ifndef OSD_CPU_H 10 | #define OSD_CPU_H 11 | typedef unsigned char UINT8; /* unsigned 8bit */ 12 | typedef unsigned short UINT16; /* unsigned 16bit */ 13 | typedef unsigned int UINT32; /* unsigned 32bit */ 14 | typedef signed char INT8; /* signed 8bit */ 15 | typedef signed short INT16; /* signed 16bit */ 16 | typedef signed int INT32; /* signed 32bit */ 17 | #endif 18 | 19 | #if (SAMPLE_BITS == 16) 20 | typedef INT16 SAMP; 21 | #endif 22 | #if (SAMPLE_BITS == 8) 23 | typedef INT8 SAMP; 24 | #endif 25 | 26 | int YM2413Init(int num, int clock, int rate); 27 | void YM2413Shutdown(void); 28 | void YM2413ResetChip(int which); 29 | void YM2413Write(int which, int a, int v); 30 | unsigned char YM2413Read(int which, int a); 31 | void YM2413UpdateOne(int which, INT16 **buffers, int length); 32 | 33 | typedef void (*OPLL_UPDATEHANDLER)(int param,int min_interval_us); 34 | void YM2413SetUpdateHandler(int which, OPLL_UPDATEHANDLER UpdateHandler, int param); 35 | 36 | #endif /*_H_YM2413_*/ 37 | #endif 38 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/link_dos.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Link instructions for Dos-like systems (Dos, Win32, OS/2) 3 | # 4 | 5 | 6 | # Copyright 1996-2000 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | ifdef BUILD_PROJECT 17 | 18 | .PHONY: clean_project distclean_project 19 | 20 | # Now include the main sub-makefile. It contains all the rules used to 21 | # build the library with the previous variables defined. 22 | # 23 | include $(TOP_DIR)/builds/$(PROJECT).mk 24 | 25 | # The cleanup targets. 26 | # 27 | clean_project: clean_project_dos 28 | distclean_project: distclean_project_dos 29 | 30 | # This final rule is used to link all object files into a single library. 31 | # this is compiler-specific 32 | # 33 | $(PROJECT_LIBRARY): $(OBJECTS_LIST) 34 | ifdef CLEAN_LIBRARY 35 | -$(CLEAN_LIBRARY) $(NO_OUTPUT) 36 | endif 37 | $(LINK_LIBRARY) 38 | 39 | endif 40 | 41 | 42 | # EOF 43 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/os2/os2-def.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 OS/2 specific definitions 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | DELETE := del 17 | CAT := type 18 | SEP := $(strip \ ) 19 | BUILD_DIR := $(TOP_DIR)/builds/os2 20 | PLATFORM := os2 21 | 22 | # The executable file extension (for tools), *with* leading dot. 23 | # 24 | E := .exe 25 | 26 | # The directory where all library files are placed. 27 | # 28 | # By default, this is the same as $(OBJ_DIR); however, this can be changed 29 | # to suit particular needs. 30 | # 31 | LIB_DIR := $(OBJ_DIR) 32 | 33 | # The name of the final library file. Note that the DOS-specific Makefile 34 | # uses a shorter (8.3) name. 35 | # 36 | LIBRARY := $(PROJECT) 37 | 38 | 39 | # The NO_OUTPUT macro is used to ignore the output of commands. 40 | # 41 | NO_OUTPUT = 2> nul 42 | 43 | 44 | # EOF 45 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/dos/dos-def.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 DOS specific definitions 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | DELETE := del 17 | CAT := type 18 | SEP := $(strip \ ) 19 | BUILD_DIR := $(TOP_DIR)/builds/dos 20 | PLATFORM := dos 21 | 22 | 23 | # The executable file extension (for tools), *with* leading dot. 24 | # 25 | E := .exe 26 | 27 | # The directory where all library files are placed. 28 | # 29 | # By default, this is the same as $(OBJ_DIR); however, this can be changed 30 | # to suit particular needs. 31 | # 32 | LIB_DIR := $(OBJ_DIR) 33 | 34 | # The name of the final library file. Note that the DOS-specific Makefile 35 | # uses a shorter (8.3) name. 36 | # 37 | LIBRARY := $(PROJECT) 38 | 39 | 40 | # The NO_OUTPUT macro is used to ignore the output of commands. 41 | # 42 | NO_OUTPUT = > nul 43 | 44 | 45 | # EOF 46 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cache/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cache Jamfile 2 | # 3 | # Copyright 2001, 2003, 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cache ; 13 | 14 | # The file contains some macro definitions that are 15 | # later used in #include statements related to the cache sub-system. It 16 | # needs to be parsed through a HDRMACRO rule for macro definitions. 17 | # 18 | HDRMACRO [ FT2_SubDir include ftcache.h ] ; 19 | 20 | { 21 | local _sources ; 22 | 23 | if $(FT2_MULTI) 24 | { 25 | _sources = ftcmru 26 | ftcmanag 27 | ftccache 28 | ftcglyph 29 | ftcsbits 30 | ftcimage 31 | ftcbasic 32 | ftccmap 33 | ; 34 | } 35 | else 36 | { 37 | _sources = ftcache ; 38 | } 39 | 40 | Library $(FT2_LIB) : $(_sources).c ; 41 | } 42 | 43 | # end of src/cache Jamfile 44 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/win32-def.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Win32 specific definitions 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2003, 2005, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | DELETE := del 17 | CAT := type 18 | SEP := $(strip \ ) 19 | BUILD_DIR := $(TOP_DIR)/builds/win32 20 | PLATFORM := win32 21 | 22 | # The executable file extension (for tools). NOTE: WE INCLUDE THE DOT HERE !! 23 | # 24 | E := .exe 25 | E_BUILD := .exe 26 | 27 | 28 | # The directory where all library files are placed. 29 | # 30 | # By default, this is the same as $(OBJ_DIR); however, this can be changed 31 | # to suit particular needs. 32 | # 33 | LIB_DIR := $(OBJ_DIR) 34 | 35 | 36 | # The name of the final library file. Note that the DOS-specific Makefile 37 | # uses a shorter (8.3) name. 38 | # 39 | LIBRARY := $(PROJECT) 40 | 41 | 42 | # The NO_OUTPUT macro is used to ignore the output of commands. 43 | # 44 | NO_OUTPUT = 2> nul 45 | 46 | 47 | # EOF 48 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/rckeys.c: -------------------------------------------------------------------------------- 1 | #if 0 2 | #include 3 | #include 4 | 5 | #include "gnuboy.h" 6 | #include "defs.h" 7 | #include "rc.h" 8 | #include "input.h" 9 | 10 | 11 | char *keybind[MAX_KEYS]; 12 | 13 | 14 | int rc_bindkey(char *keyname, char *cmd) 15 | { 16 | int key; 17 | char *a; 18 | 19 | key = k_keycode(keyname); 20 | if (!key) return -1; 21 | 22 | a = strdup(cmd); 23 | if (!a) die("out of memory binding key\n"); 24 | 25 | if (keybind[key]) free(keybind[key]); 26 | keybind[key] = a; 27 | 28 | return 0; 29 | } 30 | 31 | 32 | 33 | int rc_unbindkey(char *keyname) 34 | { 35 | int key; 36 | 37 | key = k_keycode(keyname); 38 | if (!key) return -1; 39 | 40 | if (keybind[key]) free(keybind[key]); 41 | keybind[key] = NULL; 42 | return 0; 43 | } 44 | 45 | 46 | void rc_unbindall() 47 | { 48 | int i; 49 | 50 | for (i = 0; i < MAX_KEYS; i++) 51 | { 52 | if (keybind[i]) 53 | { 54 | free(keybind[i]); 55 | keybind[i] = NULL; 56 | } 57 | } 58 | } 59 | 60 | 61 | 62 | void rc_dokey(int key, int st) 63 | { 64 | if (!keybind[key]) return; 65 | if (keybind[key][0] != '+' && !st) return; 66 | 67 | if (st) 68 | rc_command(keybind[key]); 69 | else 70 | { 71 | keybind[key][0] = '-'; 72 | rc_command(keybind[key]); 73 | keybind[key][0] = '+'; 74 | } 75 | } 76 | #endif 77 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/shared.h: -------------------------------------------------------------------------------- 1 | #ifndef _SHARED_H_ 2 | #define _SHARED_H_ 3 | 4 | typedef unsigned char uint8; 5 | typedef unsigned short int uint16; 6 | typedef unsigned long int uint32; 7 | 8 | typedef signed char int8; 9 | typedef signed short int int16; 10 | typedef signed long int int32; 11 | 12 | #ifdef NGC 13 | #include "osd.h" 14 | #endif 15 | 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | //#include 25 | 26 | #define ESP32_PSRAM (0x3f800000) 27 | 28 | #ifndef NGC 29 | #ifndef PATH_MAX 30 | #ifdef MAX_PATH 31 | #define PATH_MAX MAX_PATH 32 | #else 33 | #define PATH_MAX 1024 34 | #endif 35 | #endif 36 | #endif 37 | 38 | #include "z80.h" 39 | #include "sms.h" 40 | #include "pio.h" 41 | #include "memz80.h" 42 | #include "vdp.h" 43 | #include "render.h" 44 | #include "tms.h" 45 | #include "sn76489.h" 46 | #include "emu2413.h" 47 | #include "ym2413.h" 48 | #include "fmintf.h" 49 | #include "sound.h" 50 | #include "system.h" 51 | #include "error.h" 52 | #include "loadrom.h" 53 | #include "config.h" 54 | #include "state.h" 55 | 56 | #ifndef NGC 57 | #include "fileio.h" 58 | #endif 59 | 60 | #endif /* _SHARED_H_ */ 61 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy_manager.h: -------------------------------------------------------------------------------- 1 | /********************* 2 | * FUNCTIONS 3 | *********************/ 4 | 5 | /* 6 | * Function: gnuboy_start 7 | * -------------------- 8 | * 9 | * Initialize the emulator core and the video/audio tasks. 10 | * 11 | * NOTE: The game must be loaded previously. 12 | * 13 | * Returns: Nothing 14 | */ 15 | void gnuboy_start(); 16 | 17 | /* 18 | * Function: gnuboy_resume 19 | * -------------------- 20 | * 21 | * Pause the execution of the emulator and the video/audio tasks. 22 | * 23 | * Returns: Nothing 24 | */ 25 | void gnuboy_resume(); 26 | 27 | /* 28 | * Function: gnuboy_suspend 29 | * -------------------- 30 | * 31 | * Resume the execution of the emulator and the video/audio tasks. 32 | * 33 | * Returns: Nothing 34 | */ 35 | void gnuboy_suspend(); 36 | 37 | /* 38 | * Function: gnuboy_save 39 | * -------------------- 40 | * 41 | * Save the progress of the game into a file on the SD card. 42 | * 43 | * Returns: Nothing 44 | */ 45 | void gnuboy_save(); 46 | 47 | /* 48 | * Function: gnuboy_load_game 49 | * -------------------- 50 | * 51 | * Load the selected game from the SD card and if it exists the save game. 52 | * 53 | * Arguments: 54 | * -name: Name of the game. 55 | * -console: Console to execute GAMEBOY_COLOR/GAMEBOY 56 | * 57 | * Returns: Nothing 58 | */ 59 | bool gnuboy_execute_game(const char *name, uint8_t console, bool load); -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/error.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Sega Master System / GameGear Emulator 3 | * Copyright (C) 1998-2007 Charles MacDonald 4 | * 5 | * additionnal code by Eke-Eke (SMS Plus GX) 6 | * 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 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | * 21 | * Error logging routines 22 | * 23 | ******************************************************************************/ 24 | 25 | #ifndef _ERROR_H_ 26 | #define _ERROR_H_ 27 | 28 | /* Function prototypes */ 29 | void error_init(void); 30 | void error_shutdown(void); 31 | void error(char *format, ...); 32 | 33 | #endif /* _ERROR_H_ */ 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/bdf/bdf.c: -------------------------------------------------------------------------------- 1 | /* bdf.c 2 | 3 | FreeType font driver for bdf files 4 | 5 | Copyright (C) 2001, 2002 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | #define FT_MAKE_OPTION_SINGLE_OBJECT 28 | 29 | #include 30 | #include "bdflib.c" 31 | #include "bdfdrivr.c" 32 | 33 | 34 | /* END */ 35 | -------------------------------------------------------------------------------- /components/emulators/NES/NES_manager.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /********************* 4 | * FUNCTIONS 5 | *********************/ 6 | 7 | /* 8 | * Function: NES_start 9 | * -------------------- 10 | * 11 | * Initialize the emulator core and the video/audio tasks. 12 | * 13 | * NOTE: The game must be loaded previously. 14 | * 15 | * Returns: Nothing 16 | */ 17 | void NES_start(const char *game_name); 18 | 19 | /* 20 | * Function: NES_resume 21 | * -------------------- 22 | * 23 | * Pause the execution of the emulator and the video/audio tasks. 24 | * 25 | * Returns: Nothing 26 | */ 27 | void NES_resume(); 28 | 29 | /* 30 | * Function: NES_suspend 31 | * -------------------- 32 | * 33 | * Resume the execution of the emulator and the video/audio tasks. 34 | * 35 | * Returns: Nothing 36 | */ 37 | void NES_suspend(); 38 | 39 | /* 40 | * Function: NES_load_game 41 | * -------------------- 42 | * 43 | * Load the selected game from the SD card and if it exists the save game. 44 | * 45 | * Arguments: 46 | * -name: Name of the game. 47 | * 48 | * Returns: Nothing 49 | */ 50 | void NES_load_game(); 51 | 52 | /* 53 | * Function: NES_save_game 54 | * -------------------- 55 | * 56 | * Save the progress of the game into a file on the SD card. 57 | * 58 | * Returns: Nothing 59 | */ 60 | void NES_save_game(); 61 | 62 | QueueHandle_t nofrendo_vidQueue; 63 | QueueHandle_t nofrendo_audioQueue; 64 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pcf/pcf.c: -------------------------------------------------------------------------------- 1 | /* pcf.c 2 | 3 | FreeType font driver for pcf fonts 4 | 5 | Copyright 2000-2001, 2003 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | 28 | #define FT_MAKE_OPTION_SINGLE_OBJECT 29 | 30 | 31 | #include 32 | #include "pcfutil.c" 33 | #include "pcfread.c" 34 | #include "pcfdrivr.c" 35 | 36 | /* END */ 37 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/mem.h: -------------------------------------------------------------------------------- 1 | #ifndef __MEM_H__ 2 | #define __MEM_H__ 3 | 4 | 5 | #include "defs.h" 6 | 7 | 8 | 9 | #define MBC_NONE 0 10 | #define MBC_MBC1 1 11 | #define MBC_MBC2 2 12 | #define MBC_MBC3 3 13 | #define MBC_MBC5 5 14 | #define MBC_RUMBLE 15 15 | #define MBC_HUC1 0xC1 16 | #define MBC_HUC3 0xC3 17 | 18 | struct mbc 19 | { 20 | int type; 21 | int model; 22 | int rombank; 23 | int rambank; 24 | int romsize; 25 | int ramsize; 26 | int enableram; 27 | int batt; 28 | byte *rmap[0x10], *wmap[0x10]; 29 | }; 30 | 31 | struct rom 32 | { 33 | byte (* bank)[16384]; 34 | char name[20]; 35 | int length; 36 | }; 37 | 38 | struct ram 39 | { 40 | byte hi[256]; 41 | byte ibank[8][4096]; 42 | byte (*sbank)[8192]; 43 | byte loaded; 44 | byte sram_dirty; 45 | }; 46 | 47 | 48 | extern struct mbc mbc; 49 | extern struct rom rom; 50 | extern struct ram ram; 51 | 52 | 53 | void mem_updatemap(); 54 | void ioreg_write(byte r, byte b); 55 | void mbc_write(int a, byte b); 56 | void mem_write(int a, byte b); 57 | byte mem_read(int a); 58 | void mbc_reset(); 59 | 60 | 61 | #define READB(a) ( mbc.rmap[(a)>>12] \ 62 | ? mbc.rmap[(a)>>12][(a)] \ 63 | : mem_read((a)) ) 64 | #define READW(a) ( READB((a)) | ((word)READB((a)+1)<<8) ) 65 | 66 | #define WRITEB(a, b) ( mbc.wmap[(a)>>12] \ 67 | ? ( mbc.wmap[(a)>>12][(a)] = (b) ) \ 68 | : ( mem_write((a), (b)), (b) ) ) 69 | #define WRITEW(a, w) ( WRITEB((a), (w)&0xFF), WRITEB((a)+1, (w)>>8) ) 70 | 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/vc2005/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for VS.NET 2005 5 | 6 | 7 | 8 |

9 | FreeType 2 Project Files for VS.NET 2005 10 |

11 | 12 |

This directory contains project files for Visual C++, named 13 | freetype.vcproj, and Visual Studio, called freetype.sln. It 14 | compiles the following libraries from the FreeType 2.4.12 sources:

15 | 16 |
    17 |
    18 |     freetype2412.lib     - release build; single threaded
    19 |     freetype2412_D.lib   - debug build;   single threaded
    20 |     freetype2412MT.lib   - release build; multi-threaded
    21 |     freetype2412MT_D.lib - debug build;   multi-threaded
    22 |
23 | 24 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 25 | archives are already stored this way, so no further action is required. If 26 | you use some .tar.*z archives, be sure to configure your extracting 27 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 29 | file smart CR/LF Conversion option. Alternatively, you may consider 30 | using the unix2dos or u2d utilities that are floating 31 | around, which specifically deal with this particular problem. 32 | 33 |

Build directories are placed in the top-level objs 34 | directory.

35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/vc2008/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for VS.NET 2008 5 | 6 | 7 | 8 |

9 | FreeType 2 Project Files for VS.NET 2008 10 |

11 | 12 |

This directory contains project files for Visual C++, named 13 | freetype.vcproj, and Visual Studio, called freetype.sln. It 14 | compiles the following libraries from the FreeType 2.4.12 sources:

15 | 16 |
    17 |
    18 |     freetype2412.lib     - release build; single threaded
    19 |     freetype2412_D.lib   - debug build;   single threaded
    20 |     freetype2412MT.lib   - release build; multi-threaded
    21 |     freetype2412MT_D.lib - debug build;   multi-threaded
    22 |
23 | 24 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 25 | archives are already stored this way, so no further action is required. If 26 | you use some .tar.*z archives, be sure to configure your extracting 27 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 29 | file smart CR/LF Conversion option. Alternatively, you may consider 30 | using the unix2dos or u2d utilities that are floating 31 | around, which specifically deal with this particular problem. 32 | 33 |

Build directories are placed in the top-level objs 34 | directory.

35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/vc2010/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for VS.NET 2010 5 | 6 | 7 | 8 |

9 | FreeType 2 Project Files for VS.NET 2010 10 |

11 | 12 |

This directory contains a project file for Visual C++, named 13 | freetype.vcxproj, and Visual Studio, called freetype.sln. It 14 | compiles the following libraries from the FreeType 2.4.12 sources:

15 | 16 |
    17 |
    18 |     freetype2412.lib     - release build; single threaded
    19 |     freetype2412_D.lib   - debug build;   single threaded
    20 |     freetype2412MT.lib   - release build; multi-threaded
    21 |     freetype2412MT_D.lib - debug build;   multi-threaded
    22 |
23 | 24 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 25 | archives are already stored this way, so no further action is required. If 26 | you use some .tar.*z archives, be sure to configure your extracting 27 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 29 | file smart CR/LF Conversion option. Alternatively, you may consider 30 | using the unix2dos or u2d utilities that are floating 31 | around, which specifically deal with this particular problem. 32 | 33 |

Build directories are placed in the top-level objs 34 | directory.

35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psnames/psnames.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* psnames.c */ 4 | /* */ 5 | /* FreeType PSNames module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "pspic.c" 23 | #include "psmodule.c" 24 | 25 | 26 | /* END */ 27 | -------------------------------------------------------------------------------- /components/drivers/system_configuration/system_configuration.h: -------------------------------------------------------------------------------- 1 | /******************************** 2 | * Display pin configuration 3 | * ******************************/ 4 | 5 | #define SCR_MODEL ST7789 6 | #define SCR_WIDTH 240 7 | #define SCR_HEIGHT 240 8 | #define SCR_BUFFER_SIZE 20 9 | 10 | #define HSPI_MOSI 13 11 | #define HSPI_CLK 14 12 | #define HSPI_RST 33 13 | #define HSPI_DC 32 14 | #define HSPI_BACKLIGTH 15 15 | #define HSPI_CLK_SPEED 60*1000*1000 // 60Mhz 16 | 17 | 18 | /******************************** 19 | * SD CARD pin configuration 20 | * ******************************/ 21 | 22 | #define VSPI_MOSI 23 23 | #define VSPI_MISO 19 24 | #define VSPI_CLK 18 25 | #define VSPI_CS0 5 26 | 27 | /******************************** 28 | * Pin Mux pin configuration 29 | * ******************************/ 30 | 31 | #define MUX_SDA 21 32 | #define MUX_SCL 22 33 | #define MUX_INT 34 34 | #define I2C_CLK 400*1000 //400Khz 35 | #define I2C_dev_address 0x20 36 | 37 | /******************************** 38 | * I2S Pin 39 | * ******************************/ 40 | 41 | #define I2S_BCK 27 42 | #define I2S_WS 26 43 | #define I2S_DATA_O 25 44 | #define I2S_NUM I2S_NUM_0 45 | 46 | /******************************** 47 | * Notification LED 48 | * ******************************/ 49 | 50 | #define LED_PIN 2 -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/tms.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Sega Master System / GameGear Emulator 3 | * Copyright (C) 1998-2007 Charles MacDonald 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 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 | * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | * 19 | * TMS9918 and legacy video mode support. 20 | * 21 | ******************************************************************************/ 22 | 23 | #ifndef _TMS_H_ 24 | #define _TMS_H_ 25 | 26 | /* Global variables */ 27 | extern int text_counter; 28 | 29 | /* Function prototypes */ 30 | extern void make_tms_tables(void); 31 | extern void render_bg_tms(int line); 32 | extern void render_obj_tms(int line); 33 | extern void parse_line(int line); 34 | 35 | #endif /* _TMS_H_ */ 36 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/gzip/adler32.c: -------------------------------------------------------------------------------- 1 | /* adler32.c -- compute the Adler-32 checksum of a data stream 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* @(#) $Id$ */ 7 | 8 | #include "zlib.h" 9 | 10 | #define BASE 65521L /* largest prime smaller than 65536 */ 11 | #define NMAX 5552 12 | /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 13 | 14 | #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 15 | #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 16 | #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 17 | #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); 18 | #define DO16(buf) DO8(buf,0); DO8(buf,8); 19 | 20 | /* ========================================================================= */ 21 | ZEXPORT(uLong) adler32( /* adler, buf, len) */ 22 | uLong adler, 23 | const Bytef *buf, 24 | uInt len ) 25 | { 26 | unsigned long s1 = adler & 0xffff; 27 | unsigned long s2 = (adler >> 16) & 0xffff; 28 | int k; 29 | 30 | if (buf == Z_NULL) return 1L; 31 | 32 | while (len > 0) { 33 | k = len < NMAX ? len : NMAX; 34 | len -= k; 35 | while (k >= 16) { 36 | DO16(buf); 37 | buf += 16; 38 | k -= 16; 39 | } 40 | if (k != 0) do { 41 | s1 += *buf++; 42 | s2 += s1; 43 | } while (--k); 44 | s1 %= BASE; 45 | s2 %= BASE; 46 | } 47 | return (s2 << 16) | s1; 48 | } 49 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type42/type42.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* type42.c */ 4 | /* */ 5 | /* FreeType Type 42 driver component. */ 6 | /* */ 7 | /* Copyright 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #define FT_MAKE_OPTION_SINGLE_OBJECT 19 | 20 | #include 21 | #include "t42objs.c" 22 | #include "t42parse.c" 23 | #include "t42drivr.c" 24 | 25 | /* END */ 26 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/raster/raster.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* raster.c */ 4 | /* */ 5 | /* FreeType monochrome rasterer module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "rastpic.c" 23 | #include "ftraster.c" 24 | #include "ftrend1.c" 25 | 26 | 27 | /* END */ 28 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/smooth/smooth.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* smooth.c */ 4 | /* */ 5 | /* FreeType anti-aliasing rasterer module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "ftspic.c" 23 | #include "ftgrays.c" 24 | #include "ftsmooth.c" 25 | 26 | 27 | /* END */ 28 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/visualc/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for Visual C++ and VS.NET 2005 5 | 6 | 7 | 8 |

9 | FreeType 2 Project Files for Visual C++ and VS.NET 2005 10 |

11 | 12 |

This directory contains project files for Visual C++, named 13 | freetype.dsp, and Visual Studio, called freetype.sln. It 14 | compiles the following libraries from the FreeType 2.4.12 sources:

15 | 16 |
    17 |
    18 |     freetype2412.lib     - release build; single threaded
    19 |     freetype2412_D.lib   - debug build;   single threaded
    20 |     freetype2412MT.lib   - release build; multi-threaded
    21 |     freetype2412MT_D.lib - debug build;   multi-threaded
    22 |
23 | 24 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 25 | archives are already stored this way, so no further action is required. If 26 | you use some .tar.*z archives, be sure to configure your extracting 27 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 29 | file smart CR/LF Conversion option. Alternatively, you may consider 30 | using the unix2dos or u2d utilities that are floating 31 | around, which specifically deal with this particular problem. 32 | 33 |

Build directories are placed in the top-level objs 34 | directory.

35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/rc.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #ifndef __RC_H__ 5 | #define __RC_H__ 6 | 7 | 8 | 9 | typedef enum rctype 10 | { 11 | rcv_end, 12 | rcv_int, 13 | rcv_string, 14 | rcv_vector, 15 | rcv_bool 16 | } rcvtype_t; 17 | 18 | 19 | typedef struct rcvar_s 20 | { 21 | char *name; 22 | int type; 23 | int len; 24 | void *mem; 25 | } rcvar_t; 26 | 27 | #define RCV_END { 0, rcv_end, 0, 0 } 28 | #define RCV_INT(n,v) { (n), rcv_int, 1, (v) } 29 | #define RCV_STRING(n,v) { (n), rcv_string, 0, (v) } 30 | #define RCV_VECTOR(n,v,l) { (n), rcv_vector, (l), (v) } 31 | #define RCV_BOOL(n,v) { (n), rcv_bool, 1, (v) } 32 | 33 | typedef struct rccmd_s 34 | { 35 | char *name; 36 | int (*func)(int, char **); 37 | } rccmd_t; 38 | 39 | #define RCC(n,f) { (n), (f) } 40 | #define RCC_END { 0, 0 } 41 | 42 | void rc_export(rcvar_t *v); 43 | void rc_exportvars(rcvar_t *vars); 44 | 45 | int rc_findvar(char *name); 46 | 47 | int rc_setvar_n(int i, int c, char **v); 48 | int rc_setvar(char *name, int c, char **v); 49 | 50 | int rc_getint_n(int i); 51 | int *rc_getvec_n(int i); 52 | char *rc_getstr_n(int i); 53 | 54 | int rc_getint(char *name); 55 | int *rc_getvec(char *name); 56 | char *rc_getstr(char *name); 57 | 58 | void rc_dokey(int key, int st); 59 | 60 | /* rccmds.c */ 61 | int rc_command(char *line); 62 | 63 | /* rcfile.c */ 64 | int rc_sourcefile(char *filename); 65 | 66 | /* rckeys.c */ 67 | int rc_bindkey(char *keyname, char *cmd); 68 | int rc_unbindkey(char *keyname); 69 | void rc_unbindall(); 70 | 71 | #endif 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /components/emulators/NES/nofrendo/nes/mmclist.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Nofrendo (c) 1998-2000 Matthew Conte (matt@conte.com) 3 | ** 4 | ** 5 | ** This program is free software; you can redistribute it and/or 6 | ** modify it under the terms of version 2 of the GNU Library General 7 | ** Public License as published by the Free Software Foundation. 8 | ** 9 | ** This program is distributed in the hope that it will be useful, 10 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | ** Library General Public License for more details. To obtain a 13 | ** copy of the GNU Library General Public License, write to the Free 14 | ** Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 15 | ** 16 | ** Any permitted reproduction of these routines, in whole or in part, 17 | ** must bear this legend. 18 | ** 19 | ** 20 | ** mmclist.h 21 | ** 22 | ** list of all mapper interfaces 23 | ** $Id: mmclist.h,v 1.2 2001/04/27 14:37:11 neil Exp $ 24 | */ 25 | 26 | #ifndef _MMCLIST_H_ 27 | #define _MMCLIST_H_ 28 | 29 | #include "nes_mmc.h" 30 | 31 | extern mapintf_t *mappers[]; 32 | 33 | #endif /* !_MMCLIST_H_ */ 34 | 35 | /* 36 | ** $Log: mmclist.h,v $ 37 | ** Revision 1.2 2001/04/27 14:37:11 neil 38 | ** wheeee 39 | ** 40 | ** Revision 1.1.1.1 2001/04/27 07:03:54 neil 41 | ** initial 42 | ** 43 | ** Revision 1.1 2000/10/24 12:20:28 matt 44 | ** changed directory structure 45 | ** 46 | ** Revision 1.1 2000/07/31 04:27:40 matt 47 | ** initial revision 48 | ** 49 | */ 50 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pcf/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PCF module definition 3 | # 4 | 5 | # Copyright 2000, 2006 by 6 | # Francesco Zappa Nardelli 7 | # 8 | # Permission is hereby granted, free of charge, to any person obtaining a copy 9 | # of this software and associated documentation files (the "Software"), to deal 10 | # in the Software without restriction, including without limitation the rights 11 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | # copies of the Software, and to permit persons to whom the Software is 13 | # furnished to do so, subject to the following conditions: 14 | # 15 | # The above copyright notice and this permission notice shall be included in 16 | # all copies or substantial portions of the Software. 17 | # 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | # THE SOFTWARE. 25 | 26 | 27 | FTMODULE_H_COMMANDS += PCF_DRIVER 28 | 29 | define PCF_DRIVER 30 | $(OPEN_DRIVER) FT_Driver_ClassRec, pcf_driver_class $(CLOSE_DRIVER) 31 | $(ECHO_DRIVER)pcf $(ECHO_DRIVER_DESC)pcf bitmap fonts$(ECHO_DRIVER_DONE) 32 | endef 33 | 34 | # EOF 35 | -------------------------------------------------------------------------------- /components/emulators/SMS/SMS_manager.h: -------------------------------------------------------------------------------- 1 | /********************* 2 | * FUNCTIONS 3 | *********************/ 4 | 5 | /* 6 | * Function: SMS_start 7 | * -------------------- 8 | * 9 | * Initialize the emulator core and the video/audio tasks. 10 | * 11 | * NOTE: The game must be loaded previously. 12 | * 13 | * Returns: Nothing 14 | */ 15 | void SMS_start(); 16 | 17 | /* 18 | * Function: SMS_resume 19 | * -------------------- 20 | * 21 | * Pause the execution of the emulator and the video/audio tasks. 22 | * 23 | * Returns: Nothing 24 | */ 25 | void SMS_resume(); 26 | 27 | /* 28 | * Function: SMS_suspend 29 | * -------------------- 30 | * 31 | * Resume the execution of the emulator and the video/audio tasks. 32 | * 33 | * Returns: Nothing 34 | */ 35 | void SMS_suspend(); 36 | 37 | 38 | /* 39 | * Function: SMS_execute_game 40 | * -------------------- 41 | * 42 | * Load the selected game from the SD card and load it into the RAM memory 43 | * 44 | * Arguments: 45 | * -name: Name of the game. 46 | * -console: Console to execute SMS(Sega Master System)/GG(Game Gear) 47 | * -load: If you want to load previous save game data. 48 | * 49 | * Returns: True if it was loaded the selected game, otherwise false. 50 | */ 51 | bool SMS_execute_game(const char *game_name, uint8_t console, bool load); 52 | 53 | /* 54 | * Function: SMS_save_game 55 | * -------------------- 56 | * 57 | * Save the progress of the game into a file on the SD card. 58 | * 59 | * Returns: Nothing 60 | */ 61 | void SMS_save_game(); -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/state.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Sega Master System / GameGear Emulator 3 | * Copyright (C) 1998-2007 Charles MacDonald 4 | * 5 | * additionnal code by Eke-Eke (SMS Plus GX) 6 | * 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 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | * 21 | * Freeze State support 22 | * 23 | ******************************************************************************/ 24 | 25 | #ifndef _STATE_H_ 26 | #define _STATE_H_ 27 | 28 | #define STATE_VERSION 0x0104 /* Version 1.4 (BCD) */ 29 | #define STATE_HEADER "SST\0" /* State file header */ 30 | 31 | /* Function prototypes */ 32 | extern int system_save_state(void *mem); 33 | extern void system_load_state(void *mem); 34 | 35 | #endif /* _STATE_H_ */ 36 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/bdf/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 BDF module definition 3 | # 4 | 5 | # Copyright 2001, 2002, 2006 by 6 | # Francesco Zappa Nardelli 7 | # 8 | # Permission is hereby granted, free of charge, to any person obtaining a copy 9 | # of this software and associated documentation files (the "Software"), to deal 10 | # in the Software without restriction, including without limitation the rights 11 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | # copies of the Software, and to permit persons to whom the Software is 13 | # furnished to do so, subject to the following conditions: 14 | # 15 | # The above copyright notice and this permission notice shall be included in 16 | # all copies or substantial portions of the Software. 17 | # 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | # THE SOFTWARE. 25 | 26 | 27 | FTMODULE_H_COMMANDS += BDF_DRIVER 28 | 29 | define BDF_DRIVER 30 | $(OPEN_DRIVER) FT_Driver_ClassRec, bdf_driver_class $(CLOSE_DRIVER) 31 | $(ECHO_DRIVER)bdf $(ECHO_DRIVER_DESC)bdf bitmap fonts$(ECHO_DRIVER_DONE) 32 | endef 33 | 34 | # EOF 35 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/loadrom.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Sega Master System / GameGear Emulator 3 | * Copyright (C) 1998-2007 Charles MacDonald 4 | * 5 | * additionnal code by Eke-Eke (SMS Plus GX) 6 | * 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 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | * 21 | * ROM File loading support 22 | * 23 | ******************************************************************************/ 24 | #ifndef _LOADROM_H_ 25 | #define _LOADROM_H_ 26 | #include "stdbool.h" 27 | /* Function prototypes */ 28 | bool load_rom(char *filename, uint8_t console); 29 | 30 | #ifndef NGC 31 | unsigned char *loadzip(char *archive, char *filename, int *filesize); 32 | extern char game_name[PATH_MAX]; 33 | #endif 34 | 35 | #endif /* _LOADROM_H_ */ 36 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/INSTALL.MAC: -------------------------------------------------------------------------------- 1 | Please follow the instructions in INSTALL.UNIX to install FreeType on 2 | Mac OS X. 3 | 4 | Currently FreeType2 functions based on some deprecated Carbon APIs 5 | return FT_Err_Unimplemented_Feature always, even if FreeType2 is 6 | configured and built on the system that deprecated Carbon APIs are 7 | available. To enable deprecated FreeType2 functions as far as possible, 8 | replace src/base/ftmac.c by builds/mac/ftmac.c. 9 | 10 | Starting with Mac OS X 10.5, gcc defaults the deployment target 11 | to 10.5. In previous versions of Mac OS X, this defaulted to 10.1. 12 | If you want your built binaries to run only on 10.5, this change 13 | does not concern you. If you want them to also run on older versions 14 | of Mac OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET 15 | environment variable or pass -mmacosx-version-min to gcc. You should 16 | specify the oldest version of Mac OS you want the code to run on. 17 | For example, if you use Bourne shell: 18 | 19 | export MACOSX_DEPLOYMENT_TARGET=10.2 20 | 21 | or, if you use C shell: 22 | 23 | setenv MACOSX_DEPLOYMENT_TARGET 10.2 24 | 25 | Alternatively, you could pass "-mmacosx-version-min=10.2" to gcc. 26 | 27 | Here the number 10.2 is the lowest version that the built binaries 28 | can run on. In the cases in above, the built binaries will run on 29 | Mac OS X 10.2 and later, but _not_ earlier. If you want to run on 30 | earlier, you have to set lower version, e.g. 10.0. 31 | 32 | For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README. 33 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pshinter/pshinter.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pshinter.c */ 4 | /* */ 5 | /* FreeType PostScript Hinting module */ 6 | /* */ 7 | /* Copyright 2001, 2003 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "pshpic.c" 23 | #include "pshrec.c" 24 | #include "pshglob.c" 25 | #include "pshalgo.c" 26 | #include "pshmod.c" 27 | 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/include/freetype/config/ftmodule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file registers the FreeType modules compiled into the library. 3 | * 4 | * If you use GNU make, this file IS NOT USED! Instead, it is created in 5 | * the objects directory (normally `/objs/') based on information 6 | * from `/modules.cfg'. 7 | * 8 | * Please read `docs/INSTALL.ANY' and `docs/CUSTOMIZE' how to compile 9 | * FreeType without GNU make. 10 | * 11 | */ 12 | 13 | FT_USE_MODULE( FT_Module_Class, autofit_module_class ) 14 | FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) 15 | FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) 16 | FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) 17 | FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) 18 | FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) 19 | FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) 20 | FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) 21 | FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) 22 | FT_USE_MODULE( FT_Module_Class, psaux_module_class ) 23 | FT_USE_MODULE( FT_Module_Class, psnames_module_class ) 24 | FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) 25 | FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) 26 | FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) 27 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) 28 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class ) 29 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class ) 30 | FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) 31 | 32 | /* EOF */ 33 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cid/type1cid.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* type1cid.c */ 4 | /* */ 5 | /* FreeType OpenType driver component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "cidparse.c" 23 | #include "cidload.c" 24 | #include "cidobjs.c" 25 | #include "cidriver.c" 26 | #include "cidgload.c" 27 | 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/docs/TODO: -------------------------------------------------------------------------------- 1 | Here is a list of items that need to be addressed in FreeType 2 2 | --------------------------------------------------------------- 3 | 4 | * Implement stem3/counter hints properly in the Postscript hinter. 5 | 6 | * Add CIDCMap support to the CID driver. 7 | 8 | * Add track kerning support to the PFR driver. 9 | 10 | * Add kerning (AFM file) support to the CID driver. 11 | 12 | 13 | Here is a list of bugs which should be handled 14 | ---------------------------------------------- 15 | 16 | Other bugs have been registered at the savannah bugzilla of FreeType. 17 | 18 | * CID driver: 19 | Handle the case where a CID font has a top-level font matrix also 20 | (see PLRM, 5.11.3, Type 0 CIDFonts). Since CID_FaceInfoRec lacks 21 | a font_matrix entry we have to directly apply it to all subfont 22 | matrices. 23 | 24 | * CID driver: 25 | Use top-level font matrix entry for setting the upem value, not the 26 | entries in the FDarray. If absent, use 1000. 27 | 28 | ------------------------------------------------------------------------ 29 | 30 | Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 by 31 | David Turner, Robert Wilhelm, and Werner Lemberg. 32 | 33 | This file is part of the FreeType project, and may only be used, 34 | modified, and distributed under the terms of the FreeType project 35 | license, LICENSE.TXT. By continuing to use, modify, or distribute this 36 | file you indicate that you have read the license and understand and 37 | accept it fully. 38 | 39 | 40 | --- end of TODO --- 41 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pfr/pfr.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pfr.c */ 4 | /* */ 5 | /* FreeType PFR driver component. */ 6 | /* */ 7 | /* Copyright 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #define FT_MAKE_OPTION_SINGLE_OBJECT 19 | 20 | #include 21 | 22 | #include "pfrload.c" 23 | #include "pfrgload.c" 24 | #include "pfrcmap.c" 25 | #include "pfrobjs.c" 26 | #include "pfrdrivr.c" 27 | #include "pfrsbit.c" 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/include/freetype/config/ftmodule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file registers the FreeType modules compiled into the library. 3 | * 4 | * If you use GNU make, this file IS NOT USED! Instead, it is created in 5 | * the objects directory (normally `/objs/`) based on information 6 | * from `/modules.cfg`. 7 | * 8 | * Please read `docs/INSTALL.ANY` and `docs/CUSTOMIZE` how to compile 9 | * FreeType without GNU make. 10 | * 11 | */ 12 | 13 | //FT_USE_MODULE( FT_Module_Class, autofit_module_class ) 14 | FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) 15 | //FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) 16 | //FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) 17 | //FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) 18 | //FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) 19 | //FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) 20 | //FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) 21 | //FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) 22 | //FT_USE_MODULE( FT_Module_Class, psaux_module_class ) 23 | //FT_USE_MODULE( FT_Module_Class, psnames_module_class ) 24 | //FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) 25 | //FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) 26 | FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) 27 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) 28 | //FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class ) 29 | //FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class ) 30 | //FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) 31 | 32 | /* EOF */ 33 | -------------------------------------------------------------------------------- /components/emulators/GBC/gnuboy/fastmem.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __FASTMEM_H__ 3 | #define __FASTMEM_H__ 4 | 5 | 6 | #include "defs.h" 7 | #include "mem.h" 8 | 9 | 10 | inline static byte readb(int a) 11 | { 12 | byte *p = mbc.rmap[a>>12]; 13 | if (p) 14 | { 15 | return p[a]; 16 | } 17 | else 18 | { 19 | return mem_read(a); 20 | } 21 | } 22 | 23 | inline static void writeb(int a, byte b) 24 | { 25 | byte *p = mbc.wmap[a>>12]; 26 | if (p) p[a] = b; 27 | else mem_write(a, b); 28 | } 29 | 30 | inline static int readw(int a) 31 | { 32 | if ((a+1) & 0xfff) 33 | { 34 | byte *p = mbc.rmap[a>>12]; 35 | if (p) 36 | { 37 | #ifdef IS_LITTLE_ENDIAN 38 | #ifndef ALLOW_UNALIGNED_IO 39 | if (a&1) return p[a] | (p[a+1]<<8); 40 | #endif 41 | return *(word *)(p+a); 42 | #else 43 | return p[a] | (p[a+1]<<8); 44 | #endif 45 | } 46 | } 47 | return mem_read(a) | (mem_read(a+1)<<8); 48 | } 49 | 50 | inline static void writew(int a, int w) 51 | { 52 | if ((a+1) & 0xfff) 53 | { 54 | byte *p = mbc.wmap[a>>12]; 55 | if (p) 56 | { 57 | #ifdef IS_LITTLE_ENDIAN 58 | #ifndef ALLOW_UNALIGNED_IO 59 | if (a&1) 60 | { 61 | p[a] = w; 62 | p[a+1] = w >> 8; 63 | return; 64 | } 65 | #endif 66 | *(word *)(p+a) = w; 67 | return; 68 | #else 69 | p[a] = w; 70 | p[a+1] = w >> 8; 71 | return; 72 | #endif 73 | } 74 | } 75 | mem_write(a, w); 76 | mem_write(a+1, w>>8); 77 | } 78 | 79 | inline static byte readhi(int a) 80 | { 81 | return readb(a | 0xff00); 82 | } 83 | 84 | inline static void writehi(int a, byte b) 85 | { 86 | writeb(a | 0xff00, b); 87 | } 88 | 89 | 90 | #endif 91 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pcf/pcfread.h: -------------------------------------------------------------------------------- 1 | /* pcfread.h 2 | 3 | FreeType font driver for pcf fonts 4 | 5 | Copyright 2003 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | 28 | #ifndef __PCFREAD_H__ 29 | #define __PCFREAD_H__ 30 | 31 | 32 | #include 33 | 34 | FT_BEGIN_HEADER 35 | 36 | FT_LOCAL( PCF_Property ) 37 | pcf_find_property( PCF_Face face, 38 | const FT_String* prop ); 39 | 40 | FT_END_HEADER 41 | 42 | #endif /* __PCFREAD_H__ */ 43 | 44 | 45 | /* END */ 46 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/base/md5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc. 3 | * MD5 Message-Digest Algorithm (RFC 1321). 4 | * 5 | * Homepage: 6 | * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 7 | * 8 | * Author: 9 | * Alexander Peslyak, better known as Solar Designer 10 | * 11 | * This software was written by Alexander Peslyak in 2001. No copyright is 12 | * claimed, and the software is hereby placed in the public domain. 13 | * In case this attempt to disclaim copyright and place the software in the 14 | * public domain is deemed null and void, then the software is 15 | * Copyright (c) 2001 Alexander Peslyak and it is hereby released to the 16 | * general public under the following terms: 17 | * 18 | * Redistribution and use in source and binary forms, with or without 19 | * modification, are permitted. 20 | * 21 | * There's ABSOLUTELY NO WARRANTY, express or implied. 22 | * 23 | * See md5.c for more information. 24 | */ 25 | 26 | #ifdef HAVE_OPENSSL 27 | #include 28 | #elif !defined(_MD5_H) 29 | #define _MD5_H 30 | 31 | /* Any 32-bit or wider unsigned integer data type will do */ 32 | typedef unsigned int MD5_u32plus; 33 | 34 | typedef struct { 35 | MD5_u32plus lo, hi; 36 | MD5_u32plus a, b, c, d; 37 | unsigned char buffer[64]; 38 | MD5_u32plus block[16]; 39 | } MD5_CTX; 40 | 41 | extern void MD5_Init(MD5_CTX *ctx); 42 | extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); 43 | extern void MD5_Final(unsigned char *result, MD5_CTX *ctx); 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /components/emulators/SMS/smsplus/hvc.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Sega Master System / GameGear Emulator 3 | * Copyright (C) 1998-2007 Charles MacDonald 4 | * 5 | * additionnal code by Eke-Eke (SMS Plus GX) 6 | * 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 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | * 21 | * H/V counter 22 | * 23 | ******************************************************************************/ 24 | 25 | #ifndef _HVC_H_ 26 | #define _HVC_H_ 27 | 28 | /* fixed hc table (thanks to FluBBa) */ 29 | extern uint8 hc_256[228]; 30 | 31 | extern uint8 vc_ntsc_192[]; 32 | 33 | extern uint8 vc_ntsc_224[]; 34 | 35 | extern uint8 vc_ntsc_240[]; 36 | 37 | extern uint8 vc_pal_192[]; 38 | 39 | extern uint8 vc_pal_224[]; 40 | 41 | extern uint8 vc_pal_240[]; 42 | 43 | extern const uint8 *vc_table[2][3]; 44 | 45 | #endif /* _HVC_H_ */ 46 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/otvalid/otvalid.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* otvalid.c */ 4 | /* */ 5 | /* FreeType validator for OpenType tables (body only). */ 6 | /* */ 7 | /* Copyright 2004, 2007 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #define FT_MAKE_OPTION_SINGLE_OBJECT 19 | 20 | #include 21 | 22 | #include "otvbase.c" 23 | #include "otvcommn.c" 24 | #include "otvgdef.c" 25 | #include "otvgpos.c" 26 | #include "otvgsub.c" 27 | #include "otvjstf.c" 28 | #include "otvmath.c" 29 | #include "otvmod.c" 30 | 31 | /* END */ 32 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type1/type1.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* type1.c */ 4 | /* */ 5 | /* FreeType Type 1 driver component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "t1parse.c" 23 | #include "t1load.c" 24 | #include "t1objs.c" 25 | #include "t1driver.c" 26 | #include "t1gload.c" 27 | 28 | #ifndef T1_CONFIG_OPTION_NO_AFM 29 | #include "t1afm.c" 30 | #endif 31 | 32 | 33 | /* END */ 34 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cache/ftcache.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* ftcache.c */ 4 | /* */ 5 | /* The FreeType Caching sub-system (body only). */ 6 | /* */ 7 | /* Copyright 2000-2001, 2003 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "ftcmru.c" 23 | #include "ftcmanag.c" 24 | #include "ftccache.c" 25 | #include "ftccmap.c" 26 | #include "ftcglyph.c" 27 | #include "ftcimage.c" 28 | #include "ftcsbits.c" 29 | #include "ftcbasic.c" 30 | 31 | /* END */ 32 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/sfnt/sfdriver.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* sfdriver.h */ 4 | /* */ 5 | /* High-level SFNT driver interface (specification). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __SFDRIVER_H__ 20 | #define __SFDRIVER_H__ 21 | 22 | 23 | #include 24 | #include FT_MODULE_H 25 | 26 | 27 | FT_BEGIN_HEADER 28 | 29 | 30 | FT_DECLARE_MODULE( sfnt_module_class ) 31 | 32 | 33 | FT_END_HEADER 34 | 35 | #endif /* __SFDRIVER_H__ */ 36 | 37 | 38 | /* END */ 39 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/base/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/base Jamfile 2 | # 3 | # Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) base ; 13 | 14 | 15 | { 16 | local _sources ; 17 | 18 | if $(FT2_MULTI) 19 | { 20 | _sources = ftadvanc ftcalc ftdbgmem ftgloadr 21 | ftobjs ftoutln ftrfork ftsnames 22 | ftstream fttrigon ftutil 23 | basepic ftpic 24 | ; 25 | } 26 | else 27 | { 28 | _sources = ftbase ; 29 | } 30 | 31 | Library $(FT2_LIB) : $(_sources).c ; 32 | } 33 | 34 | # Add the optional/replaceable files. 35 | # 36 | { 37 | local _sources = bbox bdf bitmap debug gasp 38 | glyph gxval init lcdfil mm 39 | otval pfr stroke synth system 40 | type1 winfnt xf86 patent 41 | ; 42 | 43 | Library $(FT2_LIB) : ft$(_sources).c ; 44 | } 45 | 46 | # Add Macintosh-specific file to the library when necessary. 47 | # 48 | if $(MAC) 49 | { 50 | Library $(FT2_LIB) : ftmac.c ; 51 | } 52 | else if $(OS) = MACOSX 53 | { 54 | if $(FT2_MULTI) 55 | { 56 | Library $(FT2_LIB) : ftmac.c ; 57 | } 58 | } 59 | 60 | # end of src/base Jamfile 61 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psaux/psaux.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* psaux.c */ 4 | /* */ 5 | /* FreeType auxiliary PostScript driver component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001, 2002, 2006 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "psobjs.c" 23 | #include "psauxmod.c" 24 | #include "t1decode.c" 25 | #include "t1cmap.c" 26 | 27 | #ifndef T1_CONFIG_OPTION_NO_AFM 28 | #include "afmparse.c" 29 | #endif 30 | 31 | #include "psconv.c" 32 | 33 | 34 | /* END */ 35 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pshinter/pshmod.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pshmod.h */ 4 | /* */ 5 | /* PostScript hinter module interface (specification). */ 6 | /* */ 7 | /* Copyright 2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __PSHMOD_H__ 20 | #define __PSHMOD_H__ 21 | 22 | 23 | #include 24 | #include FT_MODULE_H 25 | 26 | 27 | FT_BEGIN_HEADER 28 | 29 | 30 | FT_DECLARE_MODULE( pshinter_module_class ) 31 | 32 | 33 | FT_END_HEADER 34 | 35 | 36 | #endif /* __PSHMOD_H__ */ 37 | 38 | 39 | /* END */ 40 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/psnames/psmodule.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* psmodule.h */ 4 | /* */ 5 | /* High-level PSNames module interface (specification). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __PSMODULE_H__ 20 | #define __PSMODULE_H__ 21 | 22 | 23 | #include 24 | #include FT_MODULE_H 25 | 26 | 27 | FT_BEGIN_HEADER 28 | 29 | 30 | FT_DECLARE_MODULE( psnames_module_class ) 31 | 32 | 33 | FT_END_HEADER 34 | 35 | #endif /* __PSMODULE_H__ */ 36 | 37 | 38 | /* END */ 39 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/cff/cffdrivr.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* cffdrivr.h */ 4 | /* */ 5 | /* High-level OpenType driver interface (specification). */ 6 | /* */ 7 | /* Copyright 1996-2001, 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __CFFDRIVER_H__ 20 | #define __CFFDRIVER_H__ 21 | 22 | 23 | #include 24 | #include FT_INTERNAL_DRIVER_H 25 | 26 | 27 | FT_BEGIN_HEADER 28 | 29 | 30 | FT_DECLARE_DRIVER( cff_driver_class ) 31 | 32 | 33 | FT_END_HEADER 34 | 35 | #endif /* __CFFDRIVER_H__ */ 36 | 37 | 38 | /* END */ 39 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/truetype/ttdriver.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* ttdriver.h */ 4 | /* */ 5 | /* High-level TrueType driver interface (specification). */ 6 | /* */ 7 | /* Copyright 1996-2001, 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __TTDRIVER_H__ 20 | #define __TTDRIVER_H__ 21 | 22 | 23 | #include 24 | #include FT_INTERNAL_DRIVER_H 25 | 26 | 27 | FT_BEGIN_HEADER 28 | 29 | 30 | FT_DECLARE_DRIVER( tt_driver_class ) 31 | 32 | 33 | FT_END_HEADER 34 | 35 | #endif /* __TTDRIVER_H__ */ 36 | 37 | 38 | /* END */ 39 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/otvalid/otvgpos.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* otvgpos.h */ 4 | /* */ 5 | /* OpenType GPOS table validator (specification). */ 6 | /* */ 7 | /* Copyright 2004 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __OTVGPOS_H__ 20 | #define __OTVGPOS_H__ 21 | 22 | 23 | FT_BEGIN_HEADER 24 | 25 | 26 | FT_LOCAL( void ) 27 | otv_GPOS_subtable_validate( FT_Bytes table, 28 | OTV_Validator valid ); 29 | 30 | 31 | FT_END_HEADER 32 | 33 | #endif /* __OTVGPOS_H__ */ 34 | 35 | 36 | /* END */ 37 | -------------------------------------------------------------------------------- /components/boot_screen/unicode.c: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: MIT 2 | #include "unicode.h" 3 | 4 | 5 | uint8_t u8_encode(char *str, uint32_t ucode) { 6 | if (ucode < 0x80) { 7 | str[0] = (char)(ucode & 0xff); 8 | return 1; 9 | } 10 | else if (ucode < 0x800) { 11 | str[0] = (char)(((ucode >> 6) & 0x1f) | 0xc0); 12 | str[1] = (char)(((ucode >> 0) & 0x3f) | 0x80); 13 | return 2; 14 | } 15 | else if (ucode < 0x10000) { 16 | str[0] = (char)(((ucode >> 12) & 0x0f) | 0xe0); 17 | str[1] = (char)(((ucode >> 6) & 0x3f) | 0x80); 18 | str[2] = (char)(((ucode >> 0) & 0x3f) | 0x80); 19 | return 3; 20 | } 21 | else if (ucode < 0x110000) { 22 | str[0] = (char)(((ucode >> 18) & 0x07) | 0xf0); 23 | str[1] = (char)(((ucode >> 12) & 0x3f) | 0x80); 24 | str[2] = (char)(((ucode >> 6) & 0x3f) | 0x80); 25 | str[3] = (char)(((ucode >> 0) & 0x3f) | 0x80); 26 | return 4; 27 | } 28 | else { 29 | // Error 30 | return 0; 31 | } 32 | } 33 | 34 | uint8_t u8_decode(uint32_t *ucode, const char *str) { 35 | *ucode = 0; 36 | if (*str == 0) { 37 | return 0; 38 | } 39 | else if (*str < 0x80) { 40 | *ucode = *str; 41 | return 1; 42 | } 43 | else if (*str < 0xe0) { 44 | *ucode = *str & 0x1f; 45 | *ucode = (*ucode << 6) | (*++str & 0x3f); 46 | return 2; 47 | } 48 | else if (*str < 0xf0) { 49 | *ucode = *str & 0x0f; 50 | *ucode = (*ucode << 6) | (*++str & 0x3f); 51 | *ucode = (*ucode << 6) | (*++str & 0x3f); 52 | return 3; 53 | } 54 | else if (*str < 0xf5) { 55 | *ucode = *str & 0x07; 56 | *ucode = (*ucode << 6) | (*++str & 0x3f); 57 | *ucode = (*ucode << 6) | (*++str & 0x3f); 58 | *ucode = (*ucode << 6) | (*++str & 0x3f); 59 | return 4; 60 | } 61 | return 0; 62 | } 63 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/autofit/afindic.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* afindic.h */ 4 | /* */ 5 | /* Auto-fitter hinting routines for Indic scripts (specification). */ 6 | /* */ 7 | /* Copyright 2007, 2012 by */ 8 | /* Rahul Bhalerao , . */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __AFINDIC_H__ 20 | #define __AFINDIC_H__ 21 | 22 | #include "afhints.h" 23 | 24 | 25 | FT_BEGIN_HEADER 26 | 27 | 28 | /* the Indic-specific script class */ 29 | 30 | AF_DECLARE_SCRIPT_CLASS( af_indic_script_class ) 31 | 32 | 33 | /* */ 34 | 35 | FT_END_HEADER 36 | 37 | #endif /* __AFINDIC_H__ */ 38 | 39 | 40 | /* END */ 41 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/autofit/aflatin2.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* aflatin2.h */ 4 | /* */ 5 | /* Auto-fitter hinting routines for latin script (specification). */ 6 | /* */ 7 | /* Copyright 2003-2007, 2012 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __AFLATIN2_H__ 20 | #define __AFLATIN2_H__ 21 | 22 | #include "afhints.h" 23 | 24 | 25 | FT_BEGIN_HEADER 26 | 27 | 28 | /* the latin-specific script class */ 29 | 30 | AF_DECLARE_SCRIPT_CLASS( af_latin2_script_class ) 31 | 32 | /* */ 33 | 34 | FT_END_HEADER 35 | 36 | #endif /* __AFLATIN_H__ */ 37 | 38 | 39 | /* END */ 40 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pcf/pcfdrivr.h: -------------------------------------------------------------------------------- 1 | /* pcfdrivr.h 2 | 3 | FreeType font driver for pcf fonts 4 | 5 | Copyright 2000-2001, 2002 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | 28 | #ifndef __PCFDRIVR_H__ 29 | #define __PCFDRIVR_H__ 30 | 31 | #include 32 | #include FT_INTERNAL_DRIVER_H 33 | 34 | FT_BEGIN_HEADER 35 | 36 | #ifdef FT_CONFIG_OPTION_PIC 37 | #error "this module does not support PIC yet" 38 | #endif 39 | 40 | FT_EXPORT_VAR( const FT_Driver_ClassRec ) pcf_driver_class; 41 | 42 | FT_END_HEADER 43 | 44 | 45 | #endif /* __PCFDRIVR_H__ */ 46 | 47 | 48 | /* END */ 49 | -------------------------------------------------------------------------------- /components/emulators/NES/nofrendo/intro.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Nofrendo (c) 1998-2000 Matthew Conte (matt@conte.com) 3 | ** 4 | ** 5 | ** This program is free software; you can redistribute it and/or 6 | ** modify it under the terms of version 2 of the GNU Library General 7 | ** Public License as published by the Free Software Foundation. 8 | ** 9 | ** This program is distributed in the hope that it will be useful, 10 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | ** Library General Public License for more details. To obtain a 13 | ** copy of the GNU Library General Public License, write to the Free 14 | ** Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 15 | ** 16 | ** Any permitted reproduction of these routines, in whole or in part, 17 | ** must bear this legend. 18 | ** 19 | ** 20 | ** intro.h 21 | ** 22 | ** Nofrendo intro -- 6502 code 23 | ** $Id: intro.h,v 1.2 2001/04/27 14:37:11 neil Exp $ 24 | */ 25 | 26 | #ifndef _INTRO_H_ 27 | #define _INTRO_H_ 28 | 29 | #include "nes/nes_rom.h" 30 | 31 | extern void intro_get_header(rominfo_t *rominfo); 32 | extern int intro_get_rom(rominfo_t *rominfo); 33 | 34 | #endif /* !_INTRO_H_ */ 35 | 36 | /* 37 | ** $Log: intro.h,v $ 38 | ** Revision 1.2 2001/04/27 14:37:11 neil 39 | ** wheeee 40 | ** 41 | ** Revision 1.1.1.1 2001/04/27 07:03:54 neil 42 | ** initial 43 | ** 44 | ** Revision 1.3 2000/10/25 00:23:16 matt 45 | ** makefiles updated for new directory structure 46 | ** 47 | ** Revision 1.2 2000/10/10 13:03:54 matt 48 | ** Mr. Clean makes a guest appearance 49 | ** 50 | ** Revision 1.1 2000/07/30 04:29:11 matt 51 | ** initial revision 52 | ** 53 | */ 54 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/type42/t42drivr.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* t42drivr.h */ 4 | /* */ 5 | /* High-level Type 42 driver interface (specification). */ 6 | /* */ 7 | /* Copyright 2002 by Roberto Alameda. */ 8 | /* */ 9 | /* This file is part of the FreeType project, and may only be used, */ 10 | /* modified, and distributed under the terms of the FreeType project */ 11 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 | /* this file you indicate that you have read the license and */ 13 | /* understand and accept it fully. */ 14 | /* */ 15 | /***************************************************************************/ 16 | 17 | 18 | #ifndef __T42DRIVR_H__ 19 | #define __T42DRIVR_H__ 20 | 21 | 22 | #include 23 | #include FT_INTERNAL_DRIVER_H 24 | 25 | 26 | FT_BEGIN_HEADER 27 | 28 | #ifdef FT_CONFIG_OPTION_PIC 29 | #error "this module does not support PIC yet" 30 | #endif 31 | 32 | 33 | FT_EXPORT_VAR( const FT_Driver_ClassRec ) t42_driver_class; 34 | 35 | 36 | FT_END_HEADER 37 | 38 | 39 | #endif /* __T42DRIVR_H__ */ 40 | 41 | 42 | /* END */ 43 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/pfr/pfrsbit.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pfrsbit.h */ 4 | /* */ 5 | /* FreeType PFR bitmap loader (specification). */ 6 | /* */ 7 | /* Copyright 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #ifndef __PFRSBIT_H__ 20 | #define __PFRSBIT_H__ 21 | 22 | #include "pfrobjs.h" 23 | 24 | FT_BEGIN_HEADER 25 | 26 | FT_LOCAL( FT_Error ) 27 | pfr_slot_load_bitmap( PFR_Slot glyph, 28 | PFR_Size size, 29 | FT_UInt glyph_index ); 30 | 31 | FT_END_HEADER 32 | 33 | #endif /* __PFR_SBIT_H__ */ 34 | 35 | 36 | /* END */ 37 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/wince/vc2005-ce/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for VS.NET 2005 5 | (Pocket PC) 6 | 7 | 8 | 9 |

10 | FreeType 2 Project Files for VS.NET 2005 11 | (Pocket PC) 12 |

13 | 14 |

This directory contains project files for Visual C++, named 15 | freetype.vcproj, and Visual Studio, called freetype.sln for 16 | the following targets: 17 | 18 |

    19 |
  • PPC/SP 2003 (Pocket PC 2003)
  • 20 |
  • PPC/SP WM5 (Windows Mobile 5)
  • 21 |
  • PPC/SP WM6 (Windows Mobile 6)
  • 22 |
23 | 24 | It compiles the following libraries from the FreeType 2.4.12 sources:

25 | 26 |
    27 |
    28 |     freetype2412.lib     - release build; single threaded
    29 |     freetype2412_D.lib   - debug build;   single threaded
    30 |     freetype2412MT.lib   - release build; multi-threaded
    31 |     freetype2412MT_D.lib - debug build;   multi-threaded
    32 |
33 | 34 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 35 | archives are already stored this way, so no further action is required. If 36 | you use some .tar.*z archives, be sure to configure your extracting 37 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 39 | file smart CR/LF Conversion option. Alternatively, you may consider 40 | using the unix2dos or u2d utilities that are floating 41 | around, which specifically deal with this particular problem. 42 | 43 |

Build directories are placed in the top-level objs 44 | directory.

45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/wince/vc2008-ce/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for VS.NET 2008 5 | (Pocket PC) 6 | 7 | 8 | 9 |

10 | FreeType 2 Project Files for VS.NET 2008 11 | (Pocket PC) 12 |

13 | 14 |

This directory contains project files for Visual C++, named 15 | freetype.dsp, and Visual Studio, called freetype.sln for 16 | the following targets: 17 | 18 |

    19 |
  • PPC/SP 2003 (Pocket PC 2003)
  • 20 |
  • PPC/SP WM5 (Windows Mobile 5)
  • 21 |
  • PPC/SP WM6 (Windows Mobile 6)
  • 22 |
23 | 24 | It compiles the following libraries from the FreeType 2.4.12 sources:

25 | 26 |
    27 |
    28 |     freetype2412.lib     - release build; single threaded
    29 |     freetype2412_D.lib   - debug build;   single threaded
    30 |     freetype2412MT.lib   - release build; multi-threaded
    31 |     freetype2412MT_D.lib - debug build;   multi-threaded
    32 |
33 | 34 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 35 | archives are already stored this way, so no further action is required. If 36 | you use some .tar.*z archives, be sure to configure your extracting 37 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 39 | file smart CR/LF Conversion option. Alternatively, you may consider 40 | using the unix2dos or u2d utilities that are floating 41 | around, which specifically deal with this particular problem. 42 | 43 |

Build directories are placed in the top-level objs 44 | directory.

45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/src/bzip2/rules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 BZIP2 support configuration rules 3 | # 4 | 5 | # Copyright 2010 by 6 | # Joel Klinghed. 7 | # 8 | # Based on src/lzw/rules.mk, Copyright 2004-2006 by 9 | # Albert Chin-A-Young. 10 | # 11 | # This file is part of the FreeType project, and may only be used, modified, 12 | # and distributed under the terms of the FreeType project license, 13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 14 | # indicate that you have read the license and understand and accept it 15 | # fully. 16 | 17 | 18 | # BZIP2 driver directory 19 | # 20 | BZIP2_DIR := $(SRC_DIR)/bzip2 21 | 22 | 23 | # compilation flags for the driver 24 | # 25 | BZIP2_COMPILE := $(FT_COMPILE) 26 | 27 | 28 | # BZIP2 support sources (i.e., C files) 29 | # 30 | BZIP2_DRV_SRC := $(BZIP2_DIR)/ftbzip2.c 31 | 32 | # BZIP2 driver object(s) 33 | # 34 | # BZIP2_DRV_OBJ_M is used during `multi' builds 35 | # BZIP2_DRV_OBJ_S is used during `single' builds 36 | # 37 | BZIP2_DRV_OBJ_M := $(OBJ_DIR)/ftbzip2.$O 38 | BZIP2_DRV_OBJ_S := $(OBJ_DIR)/ftbzip2.$O 39 | 40 | # BZIP2 support source file for single build 41 | # 42 | BZIP2_DRV_SRC_S := $(BZIP2_DIR)/ftbzip2.c 43 | 44 | 45 | # BZIP2 support - single object 46 | # 47 | $(BZIP2_DRV_OBJ_S): $(BZIP2_DRV_SRC_S) $(BZIP2_DRV_SRC) $(FREETYPE_H) $(BZIP2_DRV_H) 48 | $(BZIP2_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(BZIP2_DRV_SRC_S)) 49 | 50 | 51 | # BZIP2 support - multiple objects 52 | # 53 | $(OBJ_DIR)/%.$O: $(BZIP2_DIR)/%.c $(FREETYPE_H) $(BZIP2_DRV_H) 54 | $(BZIP2_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<) 55 | 56 | 57 | # update main driver object lists 58 | # 59 | DRV_OBJS_S += $(BZIP2_DRV_OBJ_S) 60 | DRV_OBJS_M += $(BZIP2_DRV_OBJ_M) 61 | 62 | 63 | # EOF 64 | -------------------------------------------------------------------------------- /components/boot_screen/font_render/freetype2/builds/win32/visualce/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | FreeType 2 Project Files for Visual C++ and VS.NET 2005 5 | (Pocket PC) 6 | 7 | 8 | 9 |

10 | FreeType 2 Project Files for Visual C++ and VS.NET 2005 11 | (Pocket PC) 12 |

13 | 14 |

This directory contains project files for Visual C++, named 15 | freetype.dsp, and Visual Studio, called freetype.sln for 16 | the following targets: 17 | 18 |

    19 |
  • PPC/SP 2003 (Pocket PC 2003)
  • 20 |
  • PPC/SP WM5 (Windows Mobile 5)
  • 21 |
  • PPC/SP WM6 (Windows Mobile 6)
  • 22 |
23 | 24 | It compiles the following libraries from the FreeType 2.4.12 sources:

25 | 26 |
    27 |
    28 |     freetype2412.lib     - release build; single threaded
    29 |     freetype2412_D.lib   - debug build;   single threaded
    30 |     freetype2412MT.lib   - release build; multi-threaded
    31 |     freetype2412MT_D.lib - debug build;   multi-threaded
    32 |
33 | 34 |

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP 35 | archives are already stored this way, so no further action is required. If 36 | you use some .tar.*z archives, be sure to configure your extracting 37 | tool to convert the line endings. For example, with WinZip, you should activate the TAR 39 | file smart CR/LF Conversion option. Alternatively, you may consider 40 | using the unix2dos or u2d utilities that are floating 41 | around, which specifically deal with this particular problem. 42 | 43 |

Build directories are placed in the top-level objs 44 | directory.

45 | 46 | 47 | 48 | --------------------------------------------------------------------------------