Merge from dev to master
11
.gitattributes
vendored
|
@ -1,5 +1,14 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
#* text=auto
|
||||
|
||||
# Declare files that will always have CRLF line endings on checkout.
|
||||
*.sln text eol=crlf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
*.png binary
|
||||
*.ico binary
|
||||
*.bmp binary
|
||||
*.ttf binary
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
|
|
34
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
conf/*.uae
|
||||
conf/*.conf
|
||||
kickstarts/*.rom
|
||||
kickstarts/*.key
|
||||
*.db
|
||||
*.dep
|
||||
*.ast
|
||||
|
@ -20,17 +21,34 @@ kickstarts/*.rom
|
|||
*.npa01
|
||||
*.idx
|
||||
*.dat
|
||||
Amiberry/VisualGDB/Debug/Amiberry
|
||||
Amiberry/VisualGDB/Release/Amiberry
|
||||
VisualGDB/VisualGDB/Debug/Amiberry
|
||||
VisualGDB/VisualGDB/Release/Amiberry
|
||||
*.sqlite
|
||||
Amiberry/VisualGDB/Release-rpi2/Amiberry
|
||||
*.ipch
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
*.TMP
|
||||
VSLinux/obj/ARM/Debug/Amiberry.tlog/unsuccessfulbuild
|
||||
*.lastbuildstate
|
||||
*.tlog
|
||||
src/guisan/lib/libguisan.a
|
||||
*.d
|
||||
VisualGDB/VisualGDB/Release/Amiberry-sdl2
|
||||
*.npa00-cfdc2249
|
||||
*.a
|
||||
*.npa00-f5145647
|
||||
VisualGDB/VisualGDB/Debug/Amiberry-sdl2
|
||||
VSLinux/obj/ARM/Debug/amiberry-sdl2
|
||||
*.npa00-25509379
|
||||
*.npa00-01e2471b
|
||||
*.npa00-d8f9b35e
|
||||
VisualGDB/VisualGDB/Debug/build68k
|
||||
VisualGDB/VisualGDB/Debug/genblitter
|
||||
VisualGDB/VisualGDB/Release/build68k
|
||||
VisualGDB/VisualGDB/Release/genblitter
|
||||
VisualGDB/VisualGDB/Release/genlinetoscr
|
||||
VisualGDB/VisualGDB/Release/gencpu
|
||||
VisualGDB/VisualGDB/Release/gencomp
|
||||
*.tlog
|
||||
VSLinux/obj/ARM/Debug/amiberry-sdl2-dev
|
||||
VisualGDB/VisualGDB/Debug/Amiberry-sdl2-dev
|
||||
VSLinux/obj/ARM/Debug/
|
||||
VisualGDB/Amiberry/VisualGDB/Debug/Amiberry-sdl1
|
||||
VisualGDB/Amiberry/VisualGDB/Debug/Amiberry-sdl2
|
||||
VisualGDB/Amiberry/VisualGDB/
|
||||
/amiberry*
|
||||
|
|
3
.vs/ProjectSettings.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
7
.vs/VSWorkspaceState.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"SelectedNode": "\\Makefile",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
253
AndroidAppSettings.cfg
Normal file
|
@ -0,0 +1,253 @@
|
|||
# The application settings for Android libSDL port
|
||||
|
||||
AppSettingVersion=19
|
||||
|
||||
# libSDL version to use (1.2 or 1.3, specify 1.3 for SDL2)
|
||||
LibSdlVersion=1.2
|
||||
|
||||
# Specify application name (e.x. My Application)
|
||||
AppName="Amiberry"
|
||||
|
||||
# Specify reversed site name of application (e.x. com.mysite.myapp)
|
||||
AppFullName=com.blitterstudio.amiberry
|
||||
|
||||
# Specify screen orientation: (v)ertical/(p)ortrait or (h)orizontal/(l)andscape
|
||||
ScreenOrientation=h
|
||||
|
||||
# Do not allow device to sleep when the application is in foreground, set this for video players or apps which use accelerometer
|
||||
InhibitSuspend=y
|
||||
|
||||
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
|
||||
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu
|
||||
# If the URL in in the form ':dir/file.dat:http://URL/' it will be downloaded as binary BLOB to the application dir and not unzipped
|
||||
# If the URL does not contain 'http://' it is treated as file from 'project/jni/application/src/AndroidData' dir -
|
||||
# these files are put inside .apk package by build system
|
||||
# Also please avoid 'https://' URLs, many Android devices do not have trust certificates and will fail to connect to SF.net over HTTPS
|
||||
AppDataDownloadUrl="!!Data files|data16092017.zip^!!blankdisks files|blankdisks.zip"
|
||||
|
||||
# Video color depth - 16 BPP is the fastest and supported for all modes, 24 bpp is supported only
|
||||
# with SwVideoMode=y, SDL_OPENGL mode supports everything. (16)/(24)/(32)
|
||||
VideoDepthBpp=16
|
||||
|
||||
# Enable OpenGL depth buffer (needed only for 3-d applications, small speed decrease) (y) or (n)
|
||||
NeedDepthBuffer=n
|
||||
|
||||
# Enable OpenGL stencil buffer (needed only for 3-d applications, small speed decrease) (y) or (n)
|
||||
NeedStencilBuffer=n
|
||||
|
||||
# Try to use GLES 2.x context - will revert to GLES 1.X if unsupported by device
|
||||
# you need this option only if you're developing 3-d app (y) or (n)
|
||||
NeedGles2=n
|
||||
|
||||
# Application uses software video buffer - you're calling SDL_SetVideoMode() without SDL_HWSURFACE and without SDL_OPENGL,
|
||||
# this will allow small speed optimization. Enable this even when you're using SDL_HWSURFACE. (y) or (n)
|
||||
SwVideoMode=y
|
||||
|
||||
# Application video output will be resized to fit into native device screen (y)/(n)
|
||||
SdlVideoResize=y
|
||||
|
||||
# Application resizing will keep 4:3 aspect ratio, with black bars at sides (y)/(n)
|
||||
SdlVideoResizeKeepAspect=n
|
||||
|
||||
# Application does not call SDL_Flip() or SDL_UpdateRects() appropriately, or draws from non-main thread -
|
||||
# enabling the compatibility mode will force screen update every 100 milliseconds, which is laggy and inefficient (y) or (n)
|
||||
CompatibilityHacks=n
|
||||
|
||||
# Application initializes SDL audio/video inside static constructors (which is bad, you won't be able to run ndk-gdb) (y)/(n)
|
||||
CompatibilityHacksStaticInit=n
|
||||
|
||||
# On-screen Android soft text input emulates hardware keyboard, this will only work with Hackers Keyboard app (y)/(n)
|
||||
CompatibilityHacksTextInputEmulatesHwKeyboard=y
|
||||
TextInputKeyboard=3
|
||||
# Hack for broken devices: prevent audio chopping, by sleeping a bit after pushing each audio chunk (y)/(n)
|
||||
CompatibilityHacksPreventAudioChopping=n
|
||||
|
||||
# Hack for broken apps: application ignores audio buffer size returned by SDL (y)/(n)
|
||||
CompatibilityHacksAppIgnoresAudioBufferSize=n
|
||||
|
||||
# Hack for VCMI: preload additional shared libraries before aplication start
|
||||
CompatibilityHacksAdditionalPreloadedSharedLibraries=""
|
||||
|
||||
# Hack for Free Heroes 2, which redraws the screen inside SDL_PumpEvents(): slow and compatible SDL event queue -
|
||||
# do not use it with accelerometer/gyroscope, or your app may freeze at random (y)/(n)
|
||||
CompatibilityHacksSlowCompatibleEventQueue=n
|
||||
|
||||
# Save and restore OpenGL state when drawing on-screen keyboard for apps that use SDL_OPENGL
|
||||
CompatibilityHacksTouchscreenKeyboardSaveRestoreOpenGLState=n
|
||||
|
||||
# Application uses SDL_UpdateRects() properly, and does not draw in any region outside those rects.
|
||||
# This improves drawing speed, but I know only one application that does that, and it's written by me (y)/(n)
|
||||
CompatibilityHacksProperUsageOfSDL_UpdateRects=n
|
||||
|
||||
# Application uses mouse (y) or (n), this will show mouse emulation dialog to the user
|
||||
AppUsesMouse=y
|
||||
|
||||
# Application needs two-button mouse, will also enable advanced point-and-click features (y) or (n)
|
||||
AppNeedsTwoButtonMouse=y
|
||||
|
||||
# Show SDL mouse cursor, for applications that do not draw cursor at all (y) or (n)
|
||||
ShowMouseCursor=n
|
||||
|
||||
# Force relative (laptop) mouse movement mode, useful when both on-screen keyboard and mouse are needed (y) or (n)
|
||||
ForceRelativeMouseMode=y
|
||||
|
||||
# Application needs arrow keys (y) or (n), will show on-screen dpad/joystick (y) or (n)
|
||||
AppNeedsArrowKeys=y
|
||||
|
||||
# Application needs text input (y) or (n), enables button for text input on screen
|
||||
AppNeedsTextInput=y
|
||||
|
||||
# Application uses joystick (y) or (n), the on-screen DPAD will be used as joystick 0 axes 0-1
|
||||
AppUsesJoystick=n
|
||||
|
||||
# Application uses second on-screen joystick, as SDL joystick 0 axes 2-3 (y)/(n)
|
||||
AppUsesSecondJoystick=n
|
||||
|
||||
# Application uses accelerometer (y) or (n), the accelerometer will be used as joystick 1 axes 0-1 and 5-7
|
||||
AppUsesAccelerometer=n
|
||||
|
||||
# Application uses gyroscope (y) or (n), the gyroscope will be used as joystick 1 axes 2-4
|
||||
AppUsesGyroscope=n
|
||||
|
||||
# Application uses multitouch (y) or (n), multitouch events are passed as SDL_JOYBALLMOTION events for the joystick 0
|
||||
AppUsesMultitouch=y
|
||||
|
||||
# Application records audio (it will use any available source, such a s microphone)
|
||||
# API is defined in file SDL_android.h: int SDL_ANDROID_OpenAudioRecording(SDL_AudioSpec *spec); void SDL_ANDROID_CloseAudioRecording(void);
|
||||
# This option will add additional permission to Android manifest (y)/(n)
|
||||
AppRecordsAudio=n
|
||||
|
||||
# Application needs to access SD card. If your data files are bigger than 5 Mb, enable it. (y) / (n)
|
||||
AccessSdCard=y
|
||||
|
||||
# Immersive mode - Android will hide on-screen Home/Back keys. Looks bad if you invoke Android keyboard. (y) / (n)
|
||||
ImmersiveMode=
|
||||
|
||||
# Application implements Android-specific routines to put to background, and will not draw anything to screen
|
||||
# between SDL_ACTIVEEVENT lost / gained notifications - you should check for them
|
||||
# rigth after SDL_Flip(), if (n) then SDL_Flip() will block till app in background (y) or (n)
|
||||
# This option is reported to be buggy, sometimes failing to restore video state
|
||||
NonBlockingSwapBuffers=n
|
||||
|
||||
# Redefine common hardware keys to SDL keysyms
|
||||
# BACK hardware key is available on all devices, MENU is available on pre-ICS devices, other keys may be absent
|
||||
# SEARCH and CALL by default return same keycode as DPAD_CENTER - one of those keys is available on most devices
|
||||
# Use word NO_REMAP if you want to preserve native functionality for certain key (volume keys are 3-rd and 4-th)
|
||||
# Keys: TOUCHSCREEN (works only when AppUsesMouse=n), DPAD_CENTER/SEARCH, VOLUMEUP, VOLUMEDOWN, MENU, BACK, CAMERA
|
||||
RedefinedKeys="NO_REMAP RETURN NO_REMAP NO_REMAP F12 F12 NO_REMAP RETURN NO_REMAP NO_REMAP"
|
||||
|
||||
# Number of virtual keyboard keys (currently 6 is maximum)
|
||||
AppTouchscreenKeyboardKeysAmount=4
|
||||
|
||||
# Number of virtual keyboard keys that support autofire (currently 2 is maximum)
|
||||
AppTouchscreenKeyboardKeysAmountAutoFire=2
|
||||
|
||||
# Redefine on-screen keyboard keys to SDL keysyms - 6 keyboard keys + 4 multitouch gestures (zoom in/out and rotate left/right)
|
||||
RedefinedKeysScreenKb="HOME END PAGEDOWN PAGEUP RCTRL F13 UNKNOWN UNKNOWN UNKNOWN"
|
||||
|
||||
# Names for on-screen keyboard keys, such as Fire, Jump, Run etc, separated by spaces, they are used in SDL config menu
|
||||
RedefinedKeysScreenKbNames="HOME END PAGEDOWN PAGEUP RCTRL F13 UNKNOWN UNKNOWN UNKNOWN"
|
||||
|
||||
# On-screen keys theme
|
||||
# 0 = Ultimate Droid by Sean Stieber (green, with gamepad joystick)
|
||||
# 1 = Simple Theme by Beholder (white, with gamepad joystick)
|
||||
# 2 = Sun by Sirea (yellow, with round joystick)
|
||||
# 3 = Keen by Gerstrong (multicolor, with round joystick)
|
||||
TouchscreenKeysTheme=2
|
||||
|
||||
# Redefine gamepad keys to SDL keysyms, button order is:
|
||||
# A B X Y L1 R1 L2 R2 LThumb RThumb
|
||||
RedefinedKeysGamepad="PAGEDOWN END HOME PAGEUP F13 RCTRL F11 F15 PAGEDOWN HOME F12"
|
||||
|
||||
# How long to show startup menu button, in msec, 0 to disable startup menu
|
||||
StartupMenuButtonTimeout=3000
|
||||
|
||||
# Menu items to hide from startup menu, available menu items:
|
||||
# SettingsMenu.OkButton SettingsMenu.DummyMenu SettingsMenu.MainMenu SettingsMenuMisc.DownloadConfig SettingsMenuMisc.OptionalDownloadConfig SettingsMenuMisc.AudioConfig SettingsMenuMisc.VideoSettingsConfig SettingsMenuMisc.ShowReadme SettingsMenuMisc.GyroscopeCalibration SettingsMenuMisc.ResetToDefaultsConfig SettingsMenuMouse.MouseConfigMainMenu SettingsMenuMouse.DisplaySizeConfig SettingsMenuMouse.LeftClickConfig SettingsMenuMouse.RightClickConfig SettingsMenuMouse.AdditionalMouseConfig SettingsMenuMouse.JoystickMouseConfig SettingsMenuMouse.TouchPressureMeasurementTool SettingsMenuMouse.CalibrateTouchscreenMenu SettingsMenuKeyboard.KeyboardConfigMainMenu SettingsMenuKeyboard.ScreenKeyboardSizeConfig SettingsMenuKeyboard.ScreenKeyboardDrawSizeConfig SettingsMenuKeyboard.ScreenKeyboardThemeConfig SettingsMenuKeyboard.ScreenKeyboardTransparencyConfig SettingsMenuKeyboard.RemapHwKeysConfig SettingsMenuKeyboard.RemapScreenKbConfig SettingsMenuKeyboard.ScreenGesturesConfig SettingsMenuKeyboard.CustomizeScreenKbLayout
|
||||
HiddenMenuOptions='SettingsMenuMisc.OptionalDownloadConfig SettingsMenuMouse.DisplaySizeConfig SettingsMenuMouse.JoystickMouseConfig'
|
||||
|
||||
# Menu items to show at startup - this is Java code snippet, leave empty for default
|
||||
# new SettingsMenuMisc.ShowReadme(), (AppUsesMouse \&\& \! ForceRelativeMouseMode \? new SettingsMenuMouse.DisplaySizeConfig(true) : new SettingsMenu.DummyMenu()), new SettingsMenuMisc.OptionalDownloadConfig(true), new SettingsMenuMisc.GyroscopeCalibration()
|
||||
# Available menu items:
|
||||
# SettingsMenu.OkButton SettingsMenu.DummyMenu SettingsMenu.MainMenu SettingsMenuMisc.DownloadConfig SettingsMenuMisc.OptionalDownloadConfig SettingsMenuMisc.AudioConfig SettingsMenuMisc.VideoSettingsConfig SettingsMenuMisc.ShowReadme SettingsMenuMisc.GyroscopeCalibration SettingsMenuMisc.ResetToDefaultsConfig SettingsMenuMouse.MouseConfigMainMenu SettingsMenuMouse.DisplaySizeConfig SettingsMenuMouse.LeftClickConfig SettingsMenuMouse.RightClickConfig SettingsMenuMouse.AdditionalMouseConfig SettingsMenuMouse.JoystickMouseConfig SettingsMenuMouse.TouchPressureMeasurementTool SettingsMenuMouse.CalibrateTouchscreenMenu SettingsMenuKeyboard.KeyboardConfigMainMenu SettingsMenuKeyboard.ScreenKeyboardSizeConfig SettingsMenuKeyboard.ScreenKeyboardDrawSizeConfig SettingsMenuKeyboard.ScreenKeyboardThemeConfig SettingsMenuKeyboard.ScreenKeyboardTransparencyConfig SettingsMenuKeyboard.RemapHwKeysConfig SettingsMenuKeyboard.RemapScreenKbConfig SettingsMenuKeyboard.ScreenGesturesConfig SettingsMenuKeyboard.CustomizeScreenKbLayout
|
||||
FirstStartMenuOptions=''
|
||||
|
||||
# GCC version, or 'clang' for CLANG
|
||||
NDK_TOOLCHAIN_VERSION=4.9
|
||||
|
||||
# Enable multi-ABI binary, with hardware FPU support - it will also work on old devices,
|
||||
# but .apk size is 2x bigger (y) / (n) / (x86) / (all)
|
||||
MultiABI='armeabi-v7a'
|
||||
|
||||
# Minimum amount of RAM application requires, in Mb, SDL will print warning to user if it's lower
|
||||
AppMinimumRAM=256
|
||||
|
||||
# Application version code (integer)
|
||||
AppVersionCode=010218
|
||||
|
||||
# Application user-visible version name (string)
|
||||
AppVersionName="1.0.0.18"
|
||||
|
||||
# Reset SDL config when updating application to the new version (y) / (n)
|
||||
ResetSdlConfigForThisVersion=n
|
||||
|
||||
# Delete application data files when upgrading (specify file/dir paths separated by spaces)
|
||||
DeleteFilesOnUpgrade=" "
|
||||
|
||||
# Optional shared libraries to compile - removing some of them will save space
|
||||
# MP3 support by libMAD is encumbered by patents and libMAD is GPL-ed
|
||||
# Available libraries: mad (GPL-ed!) sdl_mixer sdl_image sdl_ttf sdl_net sdl_blitpool sdl_gfx sdl_sound intl xml2 lua jpeg png ogg flac tremor vorbis freetype xerces curl theora fluidsynth lzma lzo2 mikmod openal timidity zzip bzip2 yaml-cpp python boost_date_time boost_filesystem boost_iostreams boost_program_options boost_regex boost_signals boost_system boost_thread glu avcodec avdevice avfilter avformat avresample avutil swscale swresample bzip2
|
||||
CompiledLibraries="vorbis flac ogg mpg123 mpeg2 xml2 sdl_image sdl_ttf guichan"
|
||||
|
||||
# Application uses custom build script AndroidBuild.sh instead of Android.mk (y) or (n)
|
||||
CustomBuildScript=y
|
||||
|
||||
# Aditional CFLAGS for application
|
||||
AppCflags=''
|
||||
|
||||
# Additional LDFLAGS for application
|
||||
AppLdflags=''
|
||||
|
||||
# If application has headers with the same name as system headers, this option tries to fix compiler flags to make it compilable
|
||||
AppOverlapsSystemHeaders=
|
||||
|
||||
# Build only following subdirs (empty will build all dirs, ignored with custom script)
|
||||
AppSubdirsBuild=''
|
||||
|
||||
# Exclude these files from build
|
||||
AppBuildExclude=''
|
||||
|
||||
# Application command line parameters, including app name as 0-th param
|
||||
AppCmdline='uae4arm -f'
|
||||
|
||||
# Here you may type readme text, which will be shown during startup. Format is:
|
||||
# Text in English, use \\\\n to separate lines^de:Text in Deutsch^ru:Text in Russian, and so on (that's four backslashes, nice isn't it?)
|
||||
ReadmeText='^You may press "Home" now - the data will be downloaded in background'
|
||||
|
||||
# Screen size is used by Google Play to prevent an app to be installed on devices with smaller screens
|
||||
# Minimum screen size that application supports: (s)mall / (m)edium / (l)arge
|
||||
MinimumScreenSize=s
|
||||
|
||||
# Your AdMob Publisher ID, (n) if you don't want advertisements
|
||||
AdmobPublisherId=n
|
||||
|
||||
# Your AdMob test device ID, to receive a test ad
|
||||
AdmobTestDeviceId=
|
||||
|
||||
# Your AdMob banner size (BANNER/IAB_BANNER/IAB_LEADERBOARD/IAB_MRECT/IAB_WIDE_SKYSCRAPER/SMART_BANNER)
|
||||
AdmobBannerSize=
|
||||
|
||||
# On-screen dpad/joystick will appear under finger when it touches the screen (y) or (n)
|
||||
# Joystick always follows finger, so moving mouse requires touching the screen with other finger
|
||||
FloatingScreenJoystick=n
|
||||
|
||||
# Application does not call SDL_Flip() or SDL_UpdateRects() after mouse click (ScummVM and all Amiga emulators do that) -
|
||||
# force screen update by moving mouse cursor a little after each click (y) or (n)
|
||||
CompatibilityHacksForceScreenUpdateMouseClick=y
|
||||
|
||||
# Hide Android system mouse cursor image when USB mouse is attached (y) or (n) - the app must draw it's own mouse cursor
|
||||
HideSystemMousePointer=y
|
||||
|
||||
# The app will open files with following extension, file path will be added to commandline params
|
||||
AppOpenFileExtension='uae Uae UAE'
|
||||
|
13
AndroidBuild.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
LOCAL_PATH=`dirname $0`
|
||||
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
|
||||
|
||||
JOBS=4
|
||||
|
||||
ln -sf libsdl_ttf.so $LOCAL_PATH/../../../obj/local/$1/libSDL_ttf.so
|
||||
ln -sf libguichan.so $LOCAL_PATH/../../../obj/local/$1/libguichan_sdl.so
|
||||
|
||||
../setEnvironment-$1.sh sh -c "make -j$JOBS" && mv -f amiberry-android libapplication-$1.so
|
||||
|
BIN
AndroidData/blankdisks.zip
Normal file
BIN
AndroidData/data16092017.zip
Normal file
384
Makefile
|
@ -1,74 +1,227 @@
|
|||
# Default platform is rpi3 / SDL1
|
||||
|
||||
ifeq ($(PLATFORM),)
|
||||
PLATFORM = rpi3
|
||||
endif
|
||||
|
||||
#
|
||||
# DispmanX Common flags for both SDL1 and SDL2 (RPI-specific)
|
||||
#
|
||||
DISPMANX_FLAGS = -DUSE_DISPMANX -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads
|
||||
DISPMANX_LDFLAGS = -lbcm_host -lvchiq_arm -L/opt/vc/lib
|
||||
|
||||
CPPFLAGS+= -MD -MP
|
||||
#DEBUG=1
|
||||
#GCC_PROFILE=1
|
||||
#GEN_PROFILE=1
|
||||
#USE_PROFILE=1
|
||||
#WITH_LOGGING=1
|
||||
#SANITIZE=1
|
||||
|
||||
#
|
||||
# SDL1 targets
|
||||
#
|
||||
ifeq ($(PLATFORM),rpi3)
|
||||
CPU_FLAGS += -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
||||
MORE_CFLAGS += -DARMV6T2 -DUSE_ARMNEON
|
||||
CPU_FLAGS += -march=armv8-a -mtune=cortex-a53 -mfpu=neon-fp-armv8
|
||||
CFLAGS += ${DISPMANX_FLAGS} -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL1
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi3-sdl1-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi2)
|
||||
CPU_FLAGS += -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
MORE_CFLAGS += -DARMV6T2 -DUSE_ARMNEON
|
||||
CPU_FLAGS += -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += ${DISPMANX_FLAGS} -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL1
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi2-sdl1-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi1)
|
||||
CPU_FLAGS += -march=armv6zk -mfpu=vfp -mfloat-abi=hard
|
||||
CPU_FLAGS += -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp
|
||||
CFLAGS += ${DISPMANX_FLAGS} -DUSE_SDL1
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
NAME = amiberry-rpi1-sdl1-dev
|
||||
|
||||
else ifeq ($(PLATFORM),xu4)
|
||||
CPU_FLAGS += -march=armv7ve -mcpu=cortex-a15.cortex-a7 -mtune=cortex-a15.cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL1 -DMALI_GPU
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-xu4-sdl1-dev
|
||||
ifdef DEBUG
|
||||
# Otherwise we'll get compilation errors, check https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
|
||||
# quote: The assembly code in bn_mul.h is optimized for the ARM platform and uses some registers, including r7 to efficiently do an operation. GCC also uses r7 as the frame pointer under ARM Thumb assembly.
|
||||
MORE_CFLAGS += -fomit-frame-pointer
|
||||
endif
|
||||
|
||||
else ifeq ($(PLATFORM),android)
|
||||
CPU_FLAGS += -mfpu=neon -mfloat-abi=soft
|
||||
DEFS += -DANDROIDSDL
|
||||
ANDROID = 1
|
||||
HAVE_NEON = 1
|
||||
HAVE_SDL_DISPLAY = 1
|
||||
NAME = amiberry-android
|
||||
|
||||
#
|
||||
# SDL2 with DispmanX targets (RPI only)
|
||||
#
|
||||
else ifeq ($(PLATFORM),rpi3-sdl2-dispmanx)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv8-a -mtune=cortex-a53 -mfpu=neon-fp-armv8
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2 ${DISPMANX_FLAGS}
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi3-sdl2-dispmanx-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi2-sdl2-dispmanx)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2 ${DISPMANX_FLAGS}
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi2-sdl2-dispmanx-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi1-sdl2-dispmanx)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp
|
||||
CFLAGS += -DUSE_SDL2 ${DISPMANX_FLAGS}
|
||||
LDFLAGS += ${DISPMANX_LDFLAGS}
|
||||
NAME = amiberry-rpi1-sdl2-dispmanx-dev
|
||||
|
||||
#
|
||||
# SDL2 targets
|
||||
#
|
||||
else ifeq ($(PLATFORM),rpi3-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv8-a -mtune=cortex-a53 -mfpu=neon-fp-armv8
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi3-sdl2-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi2-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-rpi2-sdl2-dev
|
||||
|
||||
else ifeq ($(PLATFORM),rpi1-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp
|
||||
CFLAGS += -DUSE_SDL2
|
||||
NAME = amiberry-rpi1-sdl2-dev
|
||||
|
||||
else ifeq ($(PLATFORM),pine64)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7-a -mfpu=vfpv3-d16
|
||||
CFLAGS += -DARMV6T2 -D__arm__ -DUSE_SDL2
|
||||
CC = arm-linux-gnueabihf-gcc
|
||||
CXX = arm-linux-gnueabihf-g++
|
||||
NAME = amiberry-pine64-sdl2-dev
|
||||
|
||||
else ifeq ($(PLATFORM),xu4-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7ve -mcpu=cortex-a15.cortex-a7 -mtune=cortex-a15.cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2 -DMALI_GPU
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-xu4-sdl2-dev
|
||||
ifdef DEBUG
|
||||
# Otherwise we'll get compilation errors, check https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
|
||||
# quote: The assembly code in bn_mul.h is optimized for the ARM platform and uses some registers, including r7 to efficiently do an operation. GCC also uses r7 as the frame pointer under ARM Thumb assembly.
|
||||
MORE_CFLAGS += -fomit-frame-pointer
|
||||
endif
|
||||
|
||||
else ifeq ($(PLATFORM),tinker)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7-a -mtune=cortex-a17 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2 -DTINKER -DUSE_RENDER_THREAD -DMALI_GPU -I/usr/local/include
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-tinker-dev
|
||||
|
||||
else ifeq ($(PLATFORM),android-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -mfpu=neon -mfloat-abi=soft
|
||||
DEFS += -DANDROIDSDL
|
||||
ANDROID = 1
|
||||
HAVE_NEON = 1
|
||||
HAVE_SDL_DISPLAY = 1
|
||||
NAME = amiberry-android
|
||||
endif
|
||||
|
||||
NAME = amiberry
|
||||
RM = rm -f
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
STRIP = strip
|
||||
|
||||
PROG = $(NAME)
|
||||
|
||||
#
|
||||
# SDL1 options
|
||||
#
|
||||
ifndef USE_SDL2
|
||||
all: $(PROG)
|
||||
|
||||
#DEBUG=1
|
||||
#TRACER=1
|
||||
|
||||
PANDORA=1
|
||||
#GEN_PROFILE=1
|
||||
#USE_PROFILE=1
|
||||
|
||||
SDL_CFLAGS = `sdl-config --cflags`
|
||||
LDFLAGS += -lSDL -lSDL_image -lSDL_ttf -lguichan_sdl -lguichan
|
||||
endif
|
||||
|
||||
#
|
||||
# SDL2 options
|
||||
#
|
||||
ifdef USE_SDL2
|
||||
all: guisan $(PROG)
|
||||
|
||||
SDL_CFLAGS = `sdl2-config --cflags --libs`
|
||||
CPPFLAGS += -Isrc/guisan/include
|
||||
LDFLAGS += -lSDL2 -lSDL2_image -lSDL2_ttf -lguisan -Lsrc/guisan/lib
|
||||
endif
|
||||
|
||||
#
|
||||
# Common options
|
||||
#
|
||||
CPPFLAGS += -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers
|
||||
DEFS += `xml2-config --cflags`
|
||||
DEFS += -DCPU_arm -DARMV6_ASSEMBLY -DPANDORA -DPICASSO96
|
||||
DEFS += -DWITH_INGAME_WARNING -DRASPBERRY -DCAPSLOCK_DEBIAN_WORKAROUND
|
||||
DEFS += -DROM_PATH_PREFIX=\"./\" -DDATA_PREFIX=\"./data/\" -DSAVE_PREFIX=\"./saves/\"
|
||||
DEFS += -DUSE_SDL
|
||||
|
||||
MORE_CFLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads
|
||||
MORE_CFLAGS += -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include
|
||||
MORE_CFLAGS += -Wno-unused -Wno-format -DGCCCONSTFUNC="__attribute__((const))"
|
||||
MORE_CFLAGS += -fexceptions -fpermissive
|
||||
|
||||
LDFLAGS += -lSDL -lpthread -lm -lz -lSDL_image -lpng -lrt -lxml2 -lFLAC -lmpg123 -ldl
|
||||
LDFLAGS += -lSDL_ttf -lguichan_sdl -lguichan -lbcm_host -L/opt/vc/lib
|
||||
DEFS += -DAMIBERRY -DARMV6_ASSEMBLY
|
||||
|
||||
ifndef DEBUG
|
||||
MORE_CFLAGS += -Ofast -pipe
|
||||
CFLAGS += -std=gnu++14 -Ofast -frename-registers
|
||||
else
|
||||
MORE_CFLAGS += -g -DDEBUG -Wl,--export-dynamic
|
||||
|
||||
ifdef TRACER
|
||||
TRACE_CFLAGS = -DTRACER -finstrument-functions -Wall -rdynamic
|
||||
CFLAGS += -std=gnu++14 -g -rdynamic -funwind-tables -mapcs-frame -DDEBUG -Wl,--export-dynamic
|
||||
endif
|
||||
|
||||
ifdef WITH_LOGGING
|
||||
CFLAGS += -DWITH_LOGGING
|
||||
endif
|
||||
|
||||
ifdef GCC_PROFILE
|
||||
CFLAGS += -pg
|
||||
LDFLAGS += -pg
|
||||
endif
|
||||
|
||||
ifdef GEN_PROFILE
|
||||
CFLAGS += -fprofile-generate -fprofile-arcs -fvpt
|
||||
LDFLAGS += -lgcov
|
||||
endif
|
||||
|
||||
ifdef USE_PROFILE
|
||||
CFLAGS += -fprofile-use -fprofile-correction -fbranch-probabilities -fvpt
|
||||
LDFLAGS += -lgcov
|
||||
endif
|
||||
|
||||
ifdef SANITIZE
|
||||
LDFLAGS += -lasan
|
||||
CFLAGS += -fsanitize=leak -fsanitize-recover=address
|
||||
endif
|
||||
|
||||
LDFLAGS += -lpthread -lz -lpng -lrt -lxml2 -lFLAC -lmpg123 -ldl -lmpeg2convert -lmpeg2
|
||||
|
||||
ASFLAGS += $(CPU_FLAGS)
|
||||
|
||||
CXXFLAGS += $(SDL_CFLAGS) $(CPU_FLAGS) $(DEFS) $(MORE_CFLAGS)
|
||||
export CFLAGS += $(SDL_CFLAGS) $(CPU_FLAGS) $(DEFS) $(EXTRA_CFLAGS) -DGCCCONSTFUNC="__attribute__((const))" -pipe -Wno-unused -Wno-format
|
||||
export CXXFLAGS += $(CFLAGS)
|
||||
|
||||
ifdef GEN_PROFILE
|
||||
MORE_CFLAGS += -fprofile-generate=/home/pi/projects/amiberry -fprofile-arcs -fvpt
|
||||
endif
|
||||
ifdef USE_PROFILE
|
||||
MORE_CFLAGS += -fprofile-use -fbranch-probabilities -fvpt
|
||||
endif
|
||||
|
||||
OBJS = \
|
||||
src/akiko.o \
|
||||
src/ar.o \
|
||||
src/aros.rom.o \
|
||||
src/audio.o \
|
||||
src/autoconf.o \
|
||||
|
@ -79,31 +232,42 @@ OBJS = \
|
|||
src/blkdev_cdimage.o \
|
||||
src/bsdsocket.o \
|
||||
src/calc.o \
|
||||
src/cd32_fmv.o \
|
||||
src/cd32_fmv_genlock.o \
|
||||
src/cdrom.o \
|
||||
src/cfgfile.o \
|
||||
src/cia.o \
|
||||
src/crc32.o \
|
||||
src/custom.o \
|
||||
src/def_icons.o \
|
||||
src/devices.o \
|
||||
src/disk.o \
|
||||
src/diskutil.o \
|
||||
src/drawing.o \
|
||||
src/events.o \
|
||||
src/expansion.o \
|
||||
src/fdi2raw.o \
|
||||
src/filesys.o \
|
||||
src/flashrom.o \
|
||||
src/fpp.o \
|
||||
src/fsdb.o \
|
||||
src/fsdb_unix.o \
|
||||
src/fsusage.o \
|
||||
src/gayle.o \
|
||||
src/gfxboard.o \
|
||||
src/gfxutil.o \
|
||||
src/hardfile.o \
|
||||
src/hrtmon.rom.o \
|
||||
src/ide.o \
|
||||
src/inputdevice.o \
|
||||
src/keybuf.o \
|
||||
src/main.o \
|
||||
src/memory.o \
|
||||
src/native2amiga.o \
|
||||
src/rommgr.o \
|
||||
src/rtc.o \
|
||||
src/savestate.o \
|
||||
src/scsi.o \
|
||||
src/statusline.o \
|
||||
src/traps.o \
|
||||
src/uaelib.o \
|
||||
|
@ -111,18 +275,23 @@ OBJS = \
|
|||
src/zfile.o \
|
||||
src/zfile_archive.o \
|
||||
src/archivers/7z/7zAlloc.o \
|
||||
src/archivers/7z/7zDecode.o \
|
||||
src/archivers/7z/7zExtract.o \
|
||||
src/archivers/7z/7zHeader.o \
|
||||
src/archivers/7z/7zIn.o \
|
||||
src/archivers/7z/7zItem.o \
|
||||
src/archivers/7z/7zBuf.o \
|
||||
src/archivers/7z/7zCrc.o \
|
||||
src/archivers/7z/7zCrcOpt.o \
|
||||
src/archivers/7z/7zDec.o \
|
||||
src/archivers/7z/7zIn.o \
|
||||
src/archivers/7z/7zStream.o \
|
||||
src/archivers/7z/Bcj2.o \
|
||||
src/archivers/7z/Bra.o \
|
||||
src/archivers/7z/Bra86.o \
|
||||
src/archivers/7z/LzmaDec.o \
|
||||
src/archivers/7z/Lzma2Dec.o \
|
||||
src/archivers/7z/BraIA64.o \
|
||||
src/archivers/7z/Delta.o \
|
||||
src/archivers/7z/Sha256.o \
|
||||
src/archivers/7z/Xz.o \
|
||||
src/archivers/7z/XzCrc64.o \
|
||||
src/archivers/7z/XzDec.o \
|
||||
src/archivers/dms/crc_csum.o \
|
||||
src/archivers/dms/getbits.o \
|
||||
src/archivers/dms/maketbl.o \
|
||||
|
@ -146,6 +315,7 @@ OBJS = \
|
|||
src/archivers/lha/uae_lha.o \
|
||||
src/archivers/lha/util.o \
|
||||
src/archivers/lzx/unlzx.o \
|
||||
src/archivers/mp2/kjmp2.o \
|
||||
src/archivers/wrp/warp.o \
|
||||
src/archivers/zip/unzip.o \
|
||||
src/machdep/support.o \
|
||||
|
@ -153,56 +323,69 @@ OBJS = \
|
|||
src/osdep/cda_play.o \
|
||||
src/osdep/charset.o \
|
||||
src/osdep/fsdb_host.o \
|
||||
src/osdep/hardfile_pandora.o \
|
||||
src/osdep/amiberry_hardfile.o \
|
||||
src/osdep/keyboard.o \
|
||||
src/osdep/mp3decoder.o \
|
||||
src/osdep/picasso96.o \
|
||||
src/osdep/writelog.o \
|
||||
src/osdep/pandora.o \
|
||||
src/osdep/pandora_filesys.o \
|
||||
src/osdep/pandora_input.o \
|
||||
src/osdep/pandora_gui.o \
|
||||
src/osdep/pandora_rp9.o \
|
||||
src/osdep/pandora_mem.o \
|
||||
src/osdep/amiberry.o \
|
||||
src/osdep/amiberry_filesys.o \
|
||||
src/osdep/amiberry_input.o \
|
||||
src/osdep/amiberry_gfx.o \
|
||||
src/osdep/amiberry_gui.o \
|
||||
src/osdep/amiberry_rp9.o \
|
||||
src/osdep/amiberry_mem.o \
|
||||
src/osdep/sigsegv_handler.o \
|
||||
src/osdep/menu/menu_config.o \
|
||||
src/sounddep/sound_sdl_new.o \
|
||||
src/sounddep/sound.o \
|
||||
src/osdep/gui/UaeRadioButton.o \
|
||||
src/osdep/gui/UaeDropDown.o \
|
||||
src/osdep/gui/UaeCheckBox.o \
|
||||
src/osdep/gui/UaeListBox.o \
|
||||
src/osdep/gui/InGameMessage.o \
|
||||
src/osdep/gui/SelectorEntry.o \
|
||||
src/osdep/gui/ShowHelp.o \
|
||||
src/osdep/gui/ShowMessage.o \
|
||||
src/osdep/gui/SelectFolder.o \
|
||||
src/osdep/gui/SelectFile.o \
|
||||
src/osdep/gui/CreateFilesysHardfile.o \
|
||||
src/osdep/gui/EditFilesysVirtual.o \
|
||||
src/osdep/gui/EditFilesysHardfile.o \
|
||||
src/osdep/gui/PanelAbout.o \
|
||||
src/osdep/gui/PanelPaths.o \
|
||||
src/osdep/gui/PanelQuickstart.o \
|
||||
src/osdep/gui/PanelConfig.o \
|
||||
src/osdep/gui/PanelCPU.o \
|
||||
src/osdep/gui/PanelChipset.o \
|
||||
src/osdep/gui/PanelCustom.o \
|
||||
src/osdep/gui/PanelROM.o \
|
||||
src/osdep/gui/PanelRAM.o \
|
||||
src/osdep/gui/PanelFloppy.o \
|
||||
src/osdep/gui/PanelHD.o \
|
||||
src/osdep/gui/PanelInput.o \
|
||||
src/osdep/gui/PanelDisplay.o \
|
||||
src/osdep/gui/PanelSound.o \
|
||||
src/osdep/gui/PanelInput.o \
|
||||
src/osdep/gui/PanelMisc.o \
|
||||
src/osdep/gui/PanelSavestate.o \
|
||||
src/osdep/gui/main_window.o \
|
||||
src/osdep/gui/Navigation.o
|
||||
|
||||
OBJS += src/osdep/rasp_gfx.o
|
||||
|
||||
ifndef USE_SDL2
|
||||
OBJS += src/osdep/gui/sdltruetypefont.o
|
||||
OBJS += src/osdep/picasso96.o
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),rpi1)
|
||||
OBJS += src/osdep/arm_helper.o
|
||||
ifeq ($(ANDROID), 1)
|
||||
OBJS += src/osdep/gui/androidsdl_event.o
|
||||
OBJS += src/osdep/gui/PanelOnScreen.o
|
||||
endif
|
||||
|
||||
ifdef HAVE_NEON
|
||||
OBJS += src/osdep/neon_helper.o
|
||||
src/osdep/neon_helper.o: src/osdep/neon_helper.s
|
||||
$(CXX) $(CPU_FLAGS) -Wall -o src/osdep/neon_helper.o -c src/osdep/neon_helper.s
|
||||
else
|
||||
OBJS += src/osdep/neon_helper.o
|
||||
OBJS += src/osdep/arm_helper.o
|
||||
src/osdep/arm_helper.o: src/osdep/arm_helper.s
|
||||
$(CXX) $(CPU_FLAGS) -Wall -o src/osdep/arm_helper.o -c src/osdep/arm_helper.s
|
||||
endif
|
||||
|
||||
OBJS += src/newcpu.o
|
||||
|
@ -213,26 +396,89 @@ OBJS += src/cpustbl.o
|
|||
OBJS += src/cpuemu_0.o
|
||||
OBJS += src/cpuemu_4.o
|
||||
OBJS += src/cpuemu_11.o
|
||||
OBJS += src/cpuemu_40.o
|
||||
OBJS += src/cpuemu_44.o
|
||||
OBJS += src/jit/compemu.o
|
||||
OBJS += src/jit/compstbl.o
|
||||
OBJS += src/jit/compemu_fpp.o
|
||||
OBJS += src/jit/compemu_support.o
|
||||
|
||||
src/osdep/neon_helper.o: src/osdep/neon_helper.s
|
||||
$(CXX) $(CPU_FLAGS) -Wall -o src/osdep/neon_helper.o -c src/osdep/neon_helper.s
|
||||
-include $(OBJS:%.o=%.d)
|
||||
|
||||
src/osdep/arm_helper.o: src/osdep/arm_helper.s
|
||||
$(CXX) $(CPU_FLAGS) -Wall -o src/osdep/arm_helper.o -c src/osdep/arm_helper.s
|
||||
|
||||
|
||||
src/trace.o: src/trace.c
|
||||
$(CC) $(MORE_CFLAGS) -c src/trace.c -o src/trace.o
|
||||
src/jit/compemu_support.o: src/jit/compemu_support.cpp
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -fomit-frame-pointer -o src/jit/compemu_support.o -c src/jit/compemu_support.cpp
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
|
||||
$(CXX) -o $(PROG) $(OBJS) $(LDFLAGS)
|
||||
ifndef DEBUG
|
||||
# want to keep a copy of the binary before stripping? Then enable the below line
|
||||
# cp $(PROG) $(PROG)-debug
|
||||
$(STRIP) $(PROG)
|
||||
endif
|
||||
|
||||
ASMS = \
|
||||
src/audio.s \
|
||||
src/autoconf.s \
|
||||
src/blitfunc.s \
|
||||
src/blitter.s \
|
||||
src/cia.s \
|
||||
src/custom.s \
|
||||
src/disk.s \
|
||||
src/drawing.s \
|
||||
src/events.s \
|
||||
src/expansion.s \
|
||||
src/filesys.s \
|
||||
src/fpp.s \
|
||||
src/fsdb.s \
|
||||
src/fsdb_unix.s \
|
||||
src/fsusage.s \
|
||||
src/gfxutil.s \
|
||||
src/hardfile.s \
|
||||
src/inputdevice.s \
|
||||
src/keybuf.s \
|
||||
src/main.s \
|
||||
src/memory.s \
|
||||
src/native2amiga.s \
|
||||
src/traps.s \
|
||||
src/uaelib.s \
|
||||
src/uaeresource.s \
|
||||
src/zfile.s \
|
||||
src/zfile_archive.s \
|
||||
src/machdep/support.s \
|
||||
src/osdep/picasso96.s \
|
||||
src/osdep/amiberry.s \
|
||||
src/osdep/amiberry_gfx.s \
|
||||
src/osdep/amiberry_mem.s \
|
||||
src/osdep/sigsegv_handler.s \
|
||||
src/sounddep/sound.s \
|
||||
src/newcpu.s \
|
||||
src/newcpu_common.s \
|
||||
src/readcpu.s \
|
||||
src/cpudefs.s \
|
||||
src/cpustbl.s \
|
||||
src/cpuemu_0.s \
|
||||
src/cpuemu_4.s \
|
||||
src/cpuemu_11.s \
|
||||
src/jit/compemu.s \
|
||||
src/jit/compemu_fpp.s \
|
||||
src/jit/compstbl.s \
|
||||
src/jit/compemu_support.s
|
||||
|
||||
genasm: $(ASMS)
|
||||
|
||||
clean:
|
||||
$(RM) $(PROG) $(OBJS)
|
||||
$(RM) $(PROG) $(PROG)-debug $(OBJS) $(ASMS) $(OBJS:%.o=%.d)
|
||||
$(MAKE) -C src/guisan clean
|
||||
|
||||
cleanprofile:
|
||||
$(RM) $(OBJS:%.o=%.gcda)
|
||||
|
||||
delasm:
|
||||
$(RM) $(ASMS)
|
||||
|
||||
bootrom:
|
||||
od -v -t xC -w8 src/filesys |tail -n +5 | sed -e "s,^.......,," -e "s,[0123456789abcdefABCDEF][0123456789abcdefABCDEF],db(0x&);,g" > src/filesys_bootrom.cpp
|
||||
touch src/filesys.cpp
|
||||
|
||||
guisan:
|
||||
$(MAKE) -C src/guisan
|
||||
|
|
72
README.md
|
@ -1,46 +1,50 @@
|
|||
# Amiga emulator for Raspberry Pi
|
||||
# Amiga emulator for the Raspberry Pi and other ARM SoC
|
||||
|
||||
# History (newest first)
|
||||
- Added more Picasso resolutions
|
||||
- Added NetBeans project
|
||||
- Added Visual Studio solution using VC++ for Linux
|
||||
- Fixed bugs related to video and audio glitches
|
||||
- Renamed folder structure according to the WinUAE standard
|
||||
- The emulator now changes screen resolution on the host dynamically instead of always scaling to the native one (improves performance a lot)
|
||||
- Added mapping option for keyboard key to Quit the emulator directly
|
||||
- Added mapping option for game controller button to a) Enter GUI and b) Quit the emulator
|
||||
- Added Shutdown button, to power off the (host) computer
|
||||
- Added Visual Studio solution (requires VisualGDB), so we can compile and debug from Windows PC
|
||||
- Fixed bugs and crashes in GUI keyboard navigation
|
||||
- Loading the Configuration file now respects the input settings
|
||||
- Removed Pandora specific keyboard shortcuts which caused crashes
|
||||
- Pi Zero / Pi 1 version now has full Picasso96 support (up to 1080p 24bit)
|
||||
- FullHD (1080p) resolution supported in Picasso96 mode on all Pi models
|
||||
- Code formatting and cleanup
|
||||
- Added support for custom functions assignable to keyboard LEDs (e.g. HD activity)
|
||||
- Pi 3 is now the default target if no Platform is specified
|
||||
- Optimizations for Pi 3 added
|
||||
- New target platform: Pi 3
|
||||
- Forked from Uae4Arm-rpi project
|
||||
Warning: this branch is where Development takes place. It may be unstable, crash, not work from time to time - If you're looking for the latest "stable" version, please use the master branch for now.
|
||||
|
||||
Binary package dependencies (install these if you only want to run the binary):
|
||||
# Compiling SDL2
|
||||
If you want to run the SDL2 version, you currently need to compile SDL2 from source on the Raspberry Pi, to get support for launching full screen applications from the console. The version bundled with Stretch is not compiled with support for the "rpi" driver, so it only works under X11.
|
||||
|
||||
sudo apt-get install libsdl1.2debian libsdl-image1.2 libsdl-gfx1.2-5 libsdl-ttf2.0-0 libmpg123-0 libguichan-sdl-0.8.1-1 libxml2 mpeg2dec
|
||||
Follow these steps to download, compile and install SDL2 from source:
|
||||
|
||||
How to compile from source (on Raspbian Jessie):
|
||||
https://github.com/midwan/amiberry/wiki/Compile-SDL2-from-source
|
||||
|
||||
Install following packages:
|
||||
With SDL2 installed, you can proceed to install Amiberry as follows:
|
||||
|
||||
sudo apt-get install libsdl-dev libguichan-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libxml2-dev libflac-dev libmpg123-dev libmpeg2-4-dev
|
||||
# Pre-requisites
|
||||
Install the following packages:
|
||||
|
||||
Then for Raspberry Pi 3:
|
||||
sudo apt-get install libxml2-dev libflac-dev libmpg123-dev libpng-dev libmpeg2-4-dev
|
||||
|
||||
make
|
||||
# Compiling Amiberry
|
||||
Clone this repo:
|
||||
|
||||
For Raspberry Pi 2:
|
||||
cd ~
|
||||
git clone https://github.com/midwan/amiberry -b dev amiberry-dev
|
||||
cd amiberry-dev
|
||||
|
||||
make PLATFORM=rpi2
|
||||
The default platform is currently "rpi3", so for Raspberry Pi 3 (SDL1) you can just type:
|
||||
|
||||
For Raspberry Pi 1/Zero:
|
||||
make all
|
||||
|
||||
make PLATFORM=rpi1
|
||||
For Raspberry Pi 2 (SDL1):
|
||||
|
||||
make all PLATFORM=rpi2
|
||||
|
||||
For Raspberry Pi 1/Zero (SDL1):
|
||||
|
||||
make all PLATFORM=rpi1
|
||||
|
||||
And for the SDL2 versions, you can use the following:
|
||||
|
||||
make all PLATFORM=rpi3-sdl2
|
||||
|
||||
Or for Raspberry Pi 2 (SDL2):
|
||||
|
||||
make all PLATFORM=rpi2-sdl2
|
||||
|
||||
Or for Raspberry Pi 1/Zero (SDL2):
|
||||
|
||||
make all PLATFORM=rpi1-sdl2
|
||||
|
||||
You can check the Makefile for a full list of supported platforms!
|
||||
|
|
|
@ -1,331 +0,0 @@
|
|||
UAE4ARM - Pandora edition
|
||||
|
||||
Version 1.0.0.12
|
||||
|
||||
Thanks to all for working on the different versions of UAE this emulator based on:
|
||||
- Toni Wilen
|
||||
- Chui for the UAE4all emulator
|
||||
- Notaz for the GP2X port
|
||||
- Pickle for the Wiz port
|
||||
- john4p for his work on the Pandora version
|
||||
- tuki_cat for improved keyboard gfx and betatesting
|
||||
- lubomyr for the Android version
|
||||
- all people from aranym project for the ARM JIT
|
||||
|
||||
|
||||
Description
|
||||
|
||||
A fast and optimized Amiga Emulator
|
||||
|
||||
Features: AGA/OCS/ECS, 68000, 68020 and 68040 emulation, harddisk-support, WHDLoad-support, Chip/Slow/Fast-mem settings,
|
||||
savestates, vsync, most games (not AGA) run fullspeed at 600 MHz with no frameskip and lot of AGA games run fullspeed
|
||||
at 1000 MHz, smooth 50Hz scrolling, custom controls, custom screen modes, screen positioning, heavy/medium/light manual
|
||||
autofire, nub mouse input, support for stylus input
|
||||
|
||||
This version based on UAE4ALL for Pandora. Instead of implement the changes in UAE4ALL, I decided to start a new project.
|
||||
UAE4ALL is in a stable state and there are fundamental changes like switching to a new 68000 core for the new version
|
||||
which may cause new bugs, performance losses and breaks compatibility to few games.
|
||||
|
||||
The main differences to UAE4ALL:
|
||||
- Different 68000 core (newcpu instead of FAME/C) with support for 32 bit addressing mode
|
||||
- Support for 68030 and 68040 cpus
|
||||
- FPU (68881, 68882 and internal 68040)
|
||||
- JIT
|
||||
- Autodetect Amiga ROMs
|
||||
- Up to 5 HDDs
|
||||
- Lot of new audio options
|
||||
- Picasso96
|
||||
- GUI
|
||||
- bsdsockets
|
||||
- RDB hardfiles
|
||||
- Support for rp9
|
||||
- CD32 support
|
||||
|
||||
What's missing compared to WinUAE:
|
||||
- Cycle exact emulation of cpu and blitter
|
||||
- SCSI support
|
||||
- AHI
|
||||
- Builtin debugger
|
||||
and some more...
|
||||
|
||||
|
||||
Index
|
||||
|
||||
1. Setup
|
||||
|
||||
2. Controls
|
||||
2.1 General and quick keys (outside of GUI)
|
||||
2.2 Nubs as mouse
|
||||
2.3 dPad as mouse
|
||||
2.4 Mousehack enabled
|
||||
2.5 Specific controls inside GUI
|
||||
|
||||
3. GUI
|
||||
3.1 Paths
|
||||
3.2 Configurations
|
||||
3.3 CPU and FPU
|
||||
3.4 Chipset
|
||||
3.5 ROM
|
||||
3.6 RAM
|
||||
3.7 Floppy drives
|
||||
3.8 Hard drives / CD
|
||||
3.9 Display
|
||||
3.10 Sound
|
||||
3.11 Input
|
||||
3.12 Miscellaneous
|
||||
3.13 Savestates
|
||||
|
||||
|
||||
------------------------------------
|
||||
|
||||
1. Setup
|
||||
|
||||
Place the UAE4ARM PND in the required directory (menu, desktop or apps). Running it for the first time will create the
|
||||
necessary folders in pandora/appdata on you SD card.
|
||||
|
||||
In order to use UAE4ARM you need an Amiga Bios image (kickstart rom). Place all your roms and the keyfiles (if required)
|
||||
in the appdata folder of UAE4ARM and select this folder with the GUI (goto page Paths, choose folder in option "System ROMS"
|
||||
and click on "Rescan ROMs").
|
||||
|
||||
To use rp9, you have to copy the rp9 files and the files workbench-135.hdf, workbench-211.hdf and workbench-311.hdf from
|
||||
the AmigaForever data folder to appdata/uae4arm/rp9.
|
||||
|
||||
|
||||
------------------------------------
|
||||
|
||||
2. Controls
|
||||
|
||||
2.1 General & Quick Keys (outside of GUI)
|
||||
|
||||
SELECT: Open GUI
|
||||
START: Play button of CD32
|
||||
Pandora Key: pressing this at any time (inside or outside the GUI) and it will minimise UAE4ARM
|
||||
Hold L+R + D-pad up/down: Move displayed gfx vertically
|
||||
Hold L+R + 1/2/3/4/5/6/7/8: select preset screenmode
|
||||
Hold L+R + 9/0: set number of displayed lines
|
||||
Hold L+R + w: change Amiga displayed width
|
||||
Hold L+R + r: toggle lores/hires
|
||||
L+START: RWD button of CD32
|
||||
R+START: FFW button of CD32
|
||||
L+c: Toggle custom controls
|
||||
L+d: Toggle status line
|
||||
L+f: Toggle frameskip
|
||||
L+l: Quick load
|
||||
L+s: Quick save
|
||||
R+D-pad: Arrow keys in all control modes
|
||||
|
||||
|
||||
2.2 Nubs as mouse
|
||||
|
||||
D-pad: Joystick movement
|
||||
X: 1st Joystick button / RED button on CD32 controller
|
||||
B: 2nd Joystick button / BLUE button on CD32 controller
|
||||
A: GREEN button on CD32 controller
|
||||
Y: Space bar / YELLOW button on CD32 controller
|
||||
R+D-pad: Arrow keys
|
||||
R+A: Ctrl
|
||||
R+B: left Alt
|
||||
R+X: Help
|
||||
|
||||
|
||||
2.3 dPad as mouse
|
||||
|
||||
D-pad: Move mouse pointer
|
||||
A: left mouse click
|
||||
B: right mouse click
|
||||
Y: Space bar
|
||||
D-pad left or right: Left flipper (Pinball Dreams/Fantasies)
|
||||
A/B: Right flipper (Pinball Dreams/Fantasies)
|
||||
X: Pull spring (Pinball Dreams/Fantasies)
|
||||
|
||||
|
||||
2.4 Mousehack enabled
|
||||
|
||||
Tap screen: left click
|
||||
L/R: Hold and tap with stylus performs right click
|
||||
|
||||
Other buttons same as in 2.1.
|
||||
|
||||
|
||||
2.5 Specific controls inside GUI
|
||||
|
||||
Q: Quits the emulator.
|
||||
R: Reset Amiga
|
||||
SELECT: Continue emulation
|
||||
|
||||
|
||||
------------------------------------
|
||||
|
||||
3. GUI
|
||||
|
||||
You can navigate through the controls with the D-pad and select an option by pressing X.
|
||||
|
||||
There are always three buttons visible:
|
||||
- Reset: Reset the Amiga
|
||||
- Quit: Quit emulator
|
||||
- Start/Resume: Start of emulation / resume emulation
|
||||
|
||||
|
||||
3.1 Paths
|
||||
|
||||
Specify the location of your kickstart roms and the folder where the configurations files should be stored.
|
||||
After changing the location of the kickstart roms, click on "Rescan ROMS" to refresh the list of the available ROMs.
|
||||
|
||||
|
||||
3.2 Configurations
|
||||
|
||||
To load a configuration, select the entry in the list and then click on "Load". If you doubleclick on an entry in the list,
|
||||
the emulation starts with this configuration.
|
||||
If you want to create a new configuration, setup all options, enter a new name in "Name", provide a short description and
|
||||
then click on "Save".
|
||||
"Delete" will delete the selected configuration.
|
||||
|
||||
|
||||
3.3 CPU and FPU
|
||||
|
||||
Select the required Amiga CPU (68000 - 68040).
|
||||
|
||||
If you select 68020, you can choose between 24-bit addressing (68EC020) or 32-bit addressing (68020).
|
||||
|
||||
The option "More compatible" is only available if 68000 is selected and emulates simple prefetch of the 68000. This may
|
||||
improve compatibility in few situations but it's not required for most games and demos.
|
||||
|
||||
JIT enables the Just-in-time compiler. This may breaks compatibility in some games. You will not notice a big performance
|
||||
improvement as long as you didn't select "Fastest" in "CPU Speed".
|
||||
|
||||
What options are available for FPU depends on the selected CPU.
|
||||
|
||||
Note: In current version, you will not see a difference in the performance for 68020, 68030 and 68040. The cpu cycles for
|
||||
the opcodes are based on 68020. The different cycles for 68030 and 68040 will come in a later version.
|
||||
|
||||
|
||||
3.4 Chipset
|
||||
|
||||
If you want to emulate an Amiga 1200, select AGA. For most Amiga 500 games, select "Full ECS". Some older Amiga games
|
||||
requires "OCS" or "ECS Agnus". You have to play with these options if a game won't work as expected.
|
||||
For some games you have to switch to "NTSC" (60 Hz instead of 50 Hz) for correct timing.
|
||||
|
||||
When you see some graphic issues in a game, try "Immediate" for blitter and/or disable "Fast copper".
|
||||
"Fast copper" uses a prediction algorithm instead of checking the copper state on a more regular basis. This may cause
|
||||
issues but brings a big performance improvement. The option was removed in WinUAE in an early state, but for most games,
|
||||
it works fine and the better performance is helpful for 600 MHz Pandoras.
|
||||
|
||||
For "Collision Level", select "Sprites and Sprites vs. Playfield" which is fine for nearly all games.
|
||||
|
||||
|
||||
3.5 ROM
|
||||
|
||||
Select the required kickstart ROM for the Amiga you want to emulate.
|
||||
|
||||
"Extended ROM File" is required for CD32.
|
||||
|
||||
|
||||
3.6 RAM
|
||||
|
||||
Select the amount of RAM for each type you want in your Amiga.
|
||||
"Slow" is the simple memory extension of an Amiga 500.
|
||||
"Z3 fast" and "RTG" are only available when a 32-bit CPU is selected.
|
||||
"RTG" is the graphics memory used by Picasso96.
|
||||
|
||||
|
||||
3.7 Floppy drives
|
||||
|
||||
You can enable/disable each drive by clicking the checkbox next to DFx or select the drive type in the dropdown control.
|
||||
"3.5'' DD" is the right choose for nearly all ADF and ADZ files.
|
||||
The option "Write-protected" indicates if the emulator can write to the ADF.
|
||||
The button "..." opens a dialog to select the required disk file.
|
||||
With the big dropdown control, you can select one of the disks you recently used.
|
||||
|
||||
You can reduce the loading time for lot of games by increasing the floppy drive emulation speed. A few games will not load
|
||||
with higher drive speed and you have to select 100%.
|
||||
|
||||
"Save config for disk" will create a new configuration file with the name of the disk in DF0. This configuration will be
|
||||
loaded each time you select the disk and have the option "Load config with same name as disk" enabled.
|
||||
|
||||
|
||||
3.8 Hard drives / CD
|
||||
|
||||
Use "Add Directory" to add a folder or "Add Hardfile" to add a HDF file as a hard disk.
|
||||
|
||||
To edit the settings of a HDD, click on "..." left to the entry in the list.
|
||||
|
||||
With "Create Hardfile", you can create a new formatted HDF file up to 2 GB. For large files, it will take some time to
|
||||
create the new hard disk. You have to format the new HDD in Amiga via the Workbench.
|
||||
|
||||
Select "CD drive" to emulate CD for CD32. Use "Eject"" to remove currentCD and click on "..." to open a dialog to select
|
||||
the iso/cue file for CD emulation.
|
||||
Note: in current version, only WAV is supported for audio tracks. MP3 and FLAC may be supported in a later version.
|
||||
|
||||
|
||||
3.9 Display
|
||||
|
||||
Select the required width and height of the Amiga screen.
|
||||
If you select "NTSC", a value greater than 240 for "Height" makes no sense.
|
||||
When the game, demo or workbench uses Hires mode and you selected a "Width" lower than 640, you will only see half of the
|
||||
pixels.
|
||||
With "Vert. offset" you can adjust the position of the first drawn line of the Amiga screen. You can also change this during
|
||||
emulation with L+R + dpad up/down.
|
||||
When you activate "Frameskip", only every second frame is drawn. This will improve performance and some more games are
|
||||
playable.
|
||||
|
||||
|
||||
3.10 Sound
|
||||
|
||||
You can turn on sound emulation with different levels of accuracy and choose between mono and stereo.
|
||||
|
||||
The different types of interpolation have different impact on the performance. Play with the settings to find the type you
|
||||
like most. You may need headphones the really hear the differences between the interpolations.
|
||||
|
||||
With "Filter", you can select the type of the Amiga audio filter.
|
||||
|
||||
With "Stereo separation" and "Stereo delay" you can adjust how the left and right audio channels of the Amiga are mixed to
|
||||
the left and right channels of the Pandora. A value of 70% for separation and no delay is a good start.
|
||||
|
||||
|
||||
3.11 Input
|
||||
|
||||
You can select the control type for both ports.
|
||||
Set the emulated mouse speed to .25x, .5x, 1x 2x and 4x to slow down or speed up the mouse.
|
||||
When "Enable mousehack" is activated, you can use the stylus to set the mouse pointer to the exact position. This works
|
||||
very well on Workbench, but many games using there own mouse handling and will not profit from this code.
|
||||
"Tap Delay" specifies the time between taping the screen and an emulated mouse button click.
|
||||
|
||||
When enabling "Custom Control", you can define which Amiga key should be emulated by pressing one of the ABXY- or D-pad
|
||||
buttons. Useful to setup controls for pinball games. During emulation, you can switch between regular behaviour of the
|
||||
buttons and custom settings by pressing left shoulder button and 'c'.
|
||||
|
||||
|
||||
3.12 Miscellaneous
|
||||
|
||||
"Status Line" shows/hides the status line indicator. During emulation, you can show/hide this by pressing left shoulder
|
||||
button and 'd'. The first value in the status line shows the idle time of the Pandora CPU in %, the second value is the
|
||||
current frame rate. When you have a HDD in your Amiga emulation, the HD indicator shows read (blue) and write (red) access
|
||||
to the HDD. The next values are showing the track number for each disk drive and indicates disk access.
|
||||
|
||||
When you deactivate the option "Show GUI on startup" and use this configuration by specifying it with the command line
|
||||
parameter "-config=<file>", the emulations starts directly without showing the GUI.
|
||||
|
||||
Set the speed for the Pandora CPU to overclock it for games which need more power. Be careful with this parameter.
|
||||
|
||||
"bsdsocket.library" enables network functions (i.e. for web browsers in OS3.9).
|
||||
|
||||
|
||||
3.13 Savestates
|
||||
|
||||
Savestates are stored with the name of the disk in drive DF0 attached with the selected number.
|
||||
|
||||
Note: Savestates will not work with HDDs.
|
||||
|
||||
|
||||
------------------------------------
|
||||
|
||||
4. Command line options
|
||||
|
||||
-config=<file>
|
||||
or
|
||||
-f <file>
|
||||
Start emulator with specified configuration file instead of the default file.
|
||||
|
||||
-s <option>=<value>
|
||||
Set a specific option to the new value. Look at the configuration files to see the names of the available options and
|
||||
how the value for an option is provided.
|
|
@ -1,20 +1,45 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26228.10
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry", "Amiberry.vcxproj", "{FDB65B17-494A-4248-9F05-B527D4EA15DF}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry", "Amiberry.vcxproj", "{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD} = {06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "guisan", "guisan\guisan.vcxproj", "{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|ARM = Release|ARM
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FDB65B17-494A-4248-9F05-B527D4EA15DF}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FDB65B17-494A-4248-9F05-B527D4EA15DF}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FDB65B17-494A-4248-9F05-B527D4EA15DF}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{FDB65B17-494A-4248-9F05-B527D4EA15DF}.Release|ARM.Build.0 = Release|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Debug|x64.ActiveCfg = Debug|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Debug|x86.ActiveCfg = Debug|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Release|ARM.Build.0 = Release|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Release|x64.ActiveCfg = Release|ARM
|
||||
{7B9A67B2-3F13-4E7B-A875-AAB6CAAE63D7}.Release|x86.ActiveCfg = Release|ARM
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|x64.Build.0 = Debug|x64
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Debug|x86.Build.0 = Debug|x86
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|ARM.Build.0 = Release|ARM
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|x64.ActiveCfg = Release|x64
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|x64.Build.0 = Release|x64
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|x86.ActiveCfg = Release|x86
|
||||
{06B356E1-FE8B-4E50-BF9F-A9D6E419ECBD}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{fdb65b17-494a-4248-9f05-b527d4ea15df}</ProjectGuid>
|
||||
<ProjectGuid>{7b9a67b2-3f13-4e7b-a875-aab6caae63d7}</ProjectGuid>
|
||||
<Keyword>Linux</Keyword>
|
||||
<RootNamespace>Amiberry</RootNamespace>
|
||||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
||||
<ApplicationType>Linux</ApplicationType>
|
||||
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
|
||||
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
|
||||
<LinuxProjectType>{2238F9CD-F817-4ECC-BD14-2524D2669B35}</LinuxProjectType>
|
||||
<LinuxProjectType>{FC1A4D80-50E9-41DA-9192-61C0DBAA00D2}</LinuxProjectType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
|
@ -29,24 +29,44 @@
|
|||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry; make -j4</RemoteBuildCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry; make clean; make -j4</RemoteReBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry; make clean</RemoteCleanCommandLine>
|
||||
<NMakeIncludeSearchPath>..\src\threaddep;..\src\osdep;..\src\include;..\src;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vcos\pthreads;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vmcs_host\linux;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\SDL;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\libxml2;$(IncludePath)</NMakeIncludeSearchPath>
|
||||
<NMakePreprocessorDefinitions>DEBUG;ARMV6T2;USE_ARMNEON;ARMV6_ASSEMBLY;AMIBERRY;CPU_arm;CAPSLOCK_DEBIAN_WORKAROUND;USE_SDL;_REENTRANT;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry-sdl2; make -j2 PLATFORM=rpi3-sdl2</RemoteBuildCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry-sdl2; make clean; make -j2 PLATFORM=rpi3-sdl2</RemoteReBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry-sdl2; make clean</RemoteCleanCommandLine>
|
||||
<NMakeIncludeSearchPath>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\6\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\6;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\arm-linux-gnueabihf;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\local\include\SDL2;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\SDL2;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\libxml2;..\src;..\src\include;..\src\osdep;..\src\archivers;..\src\guisan\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vmcs_host\linux;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vcos\pthreads;$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||
<NMakePreprocessorDefinitions>DEBUG;ARMV6T2;USE_ARMNEON;ARMV6_ASSEMBLY;AMIBERRY;CPU_arm;CAPSLOCK_DEBIAN_WORKAROUND;USE_SDL2;_REENTRANT;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
<RemoteBuildOutputs>
|
||||
</RemoteBuildOutputs>
|
||||
<RemoteProjectDir>$(RemoteRootDir)/$(ProjectName)-sdl2</RemoteProjectDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry; make -j4</RemoteBuildCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry; make clean; make -j4</RemoteReBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry; make clean</RemoteCleanCommandLine>
|
||||
<NMakeIncludeSearchPath>..\src\threaddep;..\src\osdep;..\src\include;..\src;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vcos\pthreads;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include\interface\vmcs_host\linux;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\vc\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\SDL;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\libxml2;$(IncludePath)</NMakeIncludeSearchPath>
|
||||
<NMakePreprocessorDefinitions>CPU_arm;ARMV6_ASSEMBLY;PANDORA;PICASSO96;WITH_INGAME_WARNING;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;USE_SDL;ARMV6T2;USE_ARMNEON;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
<NMakeIncludeSearchPath>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\6\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\6;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\arm-linux-gnueabihf;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\SDL2;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\libxml2;..\src;..\src\include;..\src\osdep;..\src\archivers;..\src\guisan\include;$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry-sdl2; make -j3 PLATFORM=rpi3-sdl2</RemoteBuildCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry-sdl2; make clean; make -j3 PLATFORM=rpi3-sdl2</RemoteReBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry-sdl2; make clean</RemoteCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions>ARMV6T2;USE_ARMNEON;ARMV6_ASSEMBLY;AMIBERRY;CPU_arm;CAPSLOCK_DEBIAN_WORKAROUND;USE_SDL2;_REENTRANT;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
<RemoteProjectDir>$(RemoteRootDir)/$(ProjectName)-sdl2</RemoteProjectDir>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="..\conf\dir.txt">
|
||||
|
@ -66,12 +86,19 @@
|
|||
<Image Include="..\data\35floppy.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\amiberry-logo.png" />
|
||||
<Image Include="..\data\amigainfo.ico" />
|
||||
<Image Include="..\data\chip.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\controller.png" />
|
||||
<Image Include="..\data\cpu.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\cursor-x2.bmp" />
|
||||
<Image Include="..\data\cursor.bmp">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\delete.png">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
|
@ -93,6 +120,9 @@
|
|||
<Image Include="..\data\paths.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\quickstart.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\data\savestate.png">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
|
@ -104,7 +134,8 @@
|
|||
</Image>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Font Include="..\data\FreeSans.ttf">
|
||||
<Font Include="..\data\AmigaTopaz.ttf" />
|
||||
<Font Include="..\data\Topaznew.ttf">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Font>
|
||||
</ItemGroup>
|
||||
|
@ -112,22 +143,59 @@
|
|||
<None Include="..\Makefile">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\src\aks.def" />
|
||||
<None Include="..\src\filesys.asm">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\src\inputevents.def">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\src\osdep\neon_helper.s" />
|
||||
<None Include="..\src\table68k">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\src\akiko.cpp" />
|
||||
<ClCompile Include="..\src\akiko.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\ar.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zAlloc.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zBuf.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zBuf2.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zCrc.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zDecode.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zExtract.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zHeader.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zCrcOpt.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zDec.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zFile.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zIn.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zItem.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\7zStream.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\Alloc.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Bcj2.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\Bra.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\Bra86.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\BraIA64.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\CpuArch.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Delta.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\LzFind.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\LzFindMt.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Lzma2Dec.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\Lzma2Enc.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Lzma86Dec.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Lzma86Enc.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\LzmaDec.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\LzmaEnc.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\LzmaLib.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\MtCoder.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Ppmd7.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Ppmd7Dec.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Ppmd7Enc.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Sha256.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Threads.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\Xz.cpp" />
|
||||
<ClCompile Include="..\src\archivers\7z\XzCrc64.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\XzDec.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\XzEnc.c" />
|
||||
<ClCompile Include="..\src\archivers\7z\XzIn.c" />
|
||||
<ClCompile Include="..\src\archivers\dms\crc_csum.cpp" />
|
||||
<ClCompile Include="..\src\archivers\dms\getbits.cpp" />
|
||||
<ClCompile Include="..\src\archivers\dms\maketbl.cpp" />
|
||||
|
@ -151,54 +219,166 @@
|
|||
<ClCompile Include="..\src\archivers\lha\uae_lha.cpp" />
|
||||
<ClCompile Include="..\src\archivers\lha\util.cpp" />
|
||||
<ClCompile Include="..\src\archivers\lzx\unlzx.cpp" />
|
||||
<ClCompile Include="..\src\archivers\mp2\kjmp2.cpp" />
|
||||
<ClCompile Include="..\src\archivers\wrp\warp.cpp" />
|
||||
<ClCompile Include="..\src\archivers\zip\unzip.cpp" />
|
||||
<ClCompile Include="..\src\aros.rom.cpp" />
|
||||
<ClCompile Include="..\src\audio.cpp" />
|
||||
<ClCompile Include="..\src\autoconf.cpp" />
|
||||
<ClCompile Include="..\src\blitfunc.cpp" />
|
||||
<ClCompile Include="..\src\blitops.cpp" />
|
||||
<ClCompile Include="..\src\blittable.cpp" />
|
||||
<ClCompile Include="..\src\blitter.cpp" />
|
||||
<ClCompile Include="..\src\blkdev.cpp" />
|
||||
<ClCompile Include="..\src\blkdev_cdimage.cpp" />
|
||||
<ClCompile Include="..\src\bsdsocket.cpp" />
|
||||
<ClCompile Include="..\src\calc.cpp" />
|
||||
<ClCompile Include="..\src\cdrom.cpp" />
|
||||
<ClCompile Include="..\src\cfgfile.cpp" />
|
||||
<ClCompile Include="..\src\cia.cpp" />
|
||||
<ClCompile Include="..\src\cpudefs.cpp" />
|
||||
<ClCompile Include="..\src\cpuemu_0.cpp" />
|
||||
<ClCompile Include="..\src\cpuemu_11.cpp" />
|
||||
<ClCompile Include="..\src\cpuemu_4.cpp" />
|
||||
<ClCompile Include="..\src\cpustbl.cpp" />
|
||||
<ClCompile Include="..\src\crc32.cpp" />
|
||||
<ClCompile Include="..\src\custom.cpp" />
|
||||
<ClCompile Include="..\src\disk.cpp" />
|
||||
<ClCompile Include="..\src\diskutil.cpp" />
|
||||
<ClCompile Include="..\src\drawing.cpp" />
|
||||
<ClCompile Include="..\src\events.cpp" />
|
||||
<ClCompile Include="..\src\expansion.cpp" />
|
||||
<ClCompile Include="..\src\filesys.cpp" />
|
||||
<ClCompile Include="..\src\fpp.cpp" />
|
||||
<ClCompile Include="..\src\fsdb.cpp" />
|
||||
<ClCompile Include="..\src\fsdb_unix.cpp" />
|
||||
<ClCompile Include="..\src\fsusage.cpp" />
|
||||
<ClCompile Include="..\src\gfxboard.cpp" />
|
||||
<ClCompile Include="..\src\gfxutil.cpp" />
|
||||
<ClCompile Include="..\src\hardfile.cpp" />
|
||||
<ClCompile Include="..\src\inputdevice.cpp" />
|
||||
<ClCompile Include="..\src\aros.rom.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\audio.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\autoconf.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blitfunc.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blitops.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blittable.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blitter.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blkdev.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\blkdev_cdimage.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\bsdsocket.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\calc.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cd32_fmv.cpp" />
|
||||
<ClCompile Include="..\src\cd32_fmv_genlock.cpp" />
|
||||
<ClCompile Include="..\src\cdrom.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cfgfile.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cia.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cpudefs.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cpuemu_0.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cpuemu_11.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cpuemu_4.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cpuemu_40.cpp" />
|
||||
<ClCompile Include="..\src\cpuemu_44.cpp" />
|
||||
<ClCompile Include="..\src\cpustbl.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\crc32.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\custom.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\def_icons.cpp" />
|
||||
<ClCompile Include="..\src\devices.cpp" />
|
||||
<ClCompile Include="..\src\disk.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\diskutil.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\drawing.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\events.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\expansion.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\fdi2raw.cpp" />
|
||||
<ClCompile Include="..\src\filesys.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\filesys_bootrom.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\flashrom.cpp" />
|
||||
<ClCompile Include="..\src\fpp.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\fpp_native.cpp" />
|
||||
<ClCompile Include="..\src\fsdb.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\fsdb_unix.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\fsusage.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\gayle.cpp" />
|
||||
<ClCompile Include="..\src\gfxboard.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\gfxutil.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\hardfile.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\hrtmon.rom.cpp" />
|
||||
<ClCompile Include="..\src\ide.cpp" />
|
||||
<ClCompile Include="..\src\inputdevice.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\jit\codegen_arm.cpp" />
|
||||
<ClCompile Include="..\src\jit\compemu.cpp" />
|
||||
<ClCompile Include="..\src\jit\compemu_fpp.cpp" />
|
||||
<ClCompile Include="..\src\jit\compemu_midfunc_arm.cpp" />
|
||||
<ClCompile Include="..\src\jit\compemu_midfunc_arm2.cpp" />
|
||||
<ClCompile Include="..\src\jit\compemu_support.cpp" />
|
||||
<ClCompile Include="..\src\jit\compstbl.cpp" />
|
||||
<ClCompile Include="..\src\keybuf.cpp" />
|
||||
<ClCompile Include="..\src\jit\gencomp_arm.cpp" />
|
||||
<ClCompile Include="..\src\keybuf.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\linetoscr.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\machdep\support.cpp" />
|
||||
<ClCompile Include="..\src\main.cpp" />
|
||||
<ClCompile Include="..\src\memory.cpp" />
|
||||
<ClCompile Include="..\src\native2amiga.cpp" />
|
||||
<ClCompile Include="..\src\newcpu.cpp" />
|
||||
<ClCompile Include="..\src\newcpu_common.cpp" />
|
||||
<ClCompile Include="..\src\main.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\memory.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\native2amiga.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\newcpu.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\newcpu_common.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\osdep\amiberry.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_filesys.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_gfx.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_gui.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_input.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_mem.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_rp9.cpp" />
|
||||
<ClCompile Include="..\src\osdep\bsdsocket_host.cpp" />
|
||||
<ClCompile Include="..\src\osdep\cda_play.cpp" />
|
||||
<ClCompile Include="..\src\osdep\charset.cpp" />
|
||||
|
@ -209,72 +389,105 @@
|
|||
<ClCompile Include="..\src\osdep\gui\InGameMessage.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\main_window.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\Navigation.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelAbout.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelChipset.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelConfig.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelCPU.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelCustom.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelDisplay.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelFloppy.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelHD.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelInput.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelMisc.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelPaths.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelQuickstart.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelRAM.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelROM.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelSavestate.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\PanelSound.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\sdltruetypefont.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\SelectFile.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\SelectFolder.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\SelectorEntry.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\ShowHelp.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\ShowMessage.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\UaeCheckBox.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\UaeDropDown.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\UaeListBox.cpp" />
|
||||
<ClCompile Include="..\src\osdep\gui\UaeRadioButton.cpp" />
|
||||
<ClCompile Include="..\src\osdep\hardfile_pandora.cpp" />
|
||||
<ClCompile Include="..\src\osdep\amiberry_hardfile.cpp" />
|
||||
<ClCompile Include="..\src\osdep\keyboard.cpp" />
|
||||
<ClCompile Include="..\src\osdep\menu\menu_config.cpp" />
|
||||
<ClCompile Include="..\src\osdep\mp3decoder.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora_filesys.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora_gui.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora_input.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora_mem.cpp" />
|
||||
<ClCompile Include="..\src\osdep\pandora_rp9.cpp" />
|
||||
<ClCompile Include="..\src\osdep\picasso96.cpp" />
|
||||
<ClCompile Include="..\src\osdep\rasp_gfx.cpp" />
|
||||
<ClCompile Include="..\src\osdep\sigsegv_handler.cpp" />
|
||||
<ClCompile Include="..\src\osdep\writelog.cpp" />
|
||||
<ClCompile Include="..\src\readcpu.cpp" />
|
||||
<ClCompile Include="..\src\rommgr.cpp" />
|
||||
<ClCompile Include="..\src\savestate.cpp" />
|
||||
<ClCompile Include="..\src\sounddep\sound_sdl_new.cpp" />
|
||||
<ClCompile Include="..\src\statusline.cpp" />
|
||||
<ClCompile Include="..\src\trace.c" />
|
||||
<ClCompile Include="..\src\traps.cpp" />
|
||||
<ClCompile Include="..\src\uaelib.cpp" />
|
||||
<ClCompile Include="..\src\uaeresource.cpp" />
|
||||
<ClCompile Include="..\src\zfile.cpp" />
|
||||
<ClCompile Include="..\src\zfile_archive.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\src\osdep\arm_helper.s" />
|
||||
<ClCompile Include="..\src\p96_blit.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\readcpu.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\rommgr.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\rtc.cpp" />
|
||||
<ClCompile Include="..\src\savestate.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\scsi.cpp" />
|
||||
<ClCompile Include="..\src\sinctable.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\sounddep\sound.cpp" />
|
||||
<ClCompile Include="..\src\statusline.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\traps.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\uaelib.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\uaeresource.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\zfile.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\zfile_archive.cpp">
|
||||
<DeploymentContent>false</DeploymentContent>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\src\archivers\7z\7z.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zAlloc.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zBuf.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zCrc.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zDecode.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zExtract.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zHeader.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zIn.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zItem.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zFile.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\7zVersion.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Alloc.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Bcj2.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Bra.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\CpuArch.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Delta.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzFind.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzFindMt.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzHash.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Lzma2Dec.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Lzma2Enc.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Lzma86.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzmaDec.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzmaEnc.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\LzmaLib.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\MtCoder.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Ppmd.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Ppmd7.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\RotateDefs.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Sha256.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Threads.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Types.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\Xz.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\XzCrc64.h" />
|
||||
<ClInclude Include="..\src\archivers\7z\XzEnc.h" />
|
||||
<ClInclude Include="..\src\archivers\dms\cdata.h" />
|
||||
<ClInclude Include="..\src\archivers\dms\crc_csum.h" />
|
||||
<ClInclude Include="..\src\archivers\dms\getbits.h" />
|
||||
|
@ -289,64 +502,76 @@
|
|||
<ClInclude Include="..\src\archivers\dms\u_rle.h" />
|
||||
<ClInclude Include="..\src\archivers\lha\lha.h" />
|
||||
<ClInclude Include="..\src\archivers\lha\lha_macro.h" />
|
||||
<ClInclude Include="..\src\archivers\mp2\kjmp2.h" />
|
||||
<ClInclude Include="..\src\archivers\wrp\warp.h" />
|
||||
<ClInclude Include="..\src\archivers\zip\unzip.h" />
|
||||
<ClInclude Include="..\src\blit.h" />
|
||||
<ClInclude Include="..\src\blitfunc.h" />
|
||||
<ClInclude Include="..\src\cputbl.h" />
|
||||
<ClInclude Include="..\src\include\akiko.h" />
|
||||
<ClInclude Include="..\src\include\ar.h" />
|
||||
<ClInclude Include="..\src\include\audio.h" />
|
||||
<ClInclude Include="..\src\include\autoconf.h" />
|
||||
<ClInclude Include="..\src\include\blit.h" />
|
||||
<ClInclude Include="..\src\include\blitfunc.h" />
|
||||
<ClInclude Include="..\src\include\blitter.h" />
|
||||
<ClInclude Include="..\src\include\blkdev.h" />
|
||||
<ClInclude Include="..\src\include\bsdsocket.h" />
|
||||
<ClInclude Include="..\src\include\calc.h" />
|
||||
<ClInclude Include="..\src\include\cd32_fmv.h" />
|
||||
<ClInclude Include="..\src\include\cia.h" />
|
||||
<ClInclude Include="..\src\include\clipboard.h" />
|
||||
<ClInclude Include="..\src\include\commpipe.h" />
|
||||
<ClInclude Include="..\src\include\cputbl.h" />
|
||||
<ClInclude Include="..\src\include\cpummu.h" />
|
||||
<ClInclude Include="..\src\include\cpu_prefetch.h" />
|
||||
<ClInclude Include="..\src\include\crc32.h" />
|
||||
<ClInclude Include="..\src\include\custom.h" />
|
||||
<ClInclude Include="..\src\include\debug.h" />
|
||||
<ClInclude Include="..\src\include\devices.h" />
|
||||
<ClInclude Include="..\src\include\disk.h" />
|
||||
<ClInclude Include="..\src\include\diskutil.h" />
|
||||
<ClInclude Include="..\src\include\drawing.h" />
|
||||
<ClInclude Include="..\src\include\ersatz.h" />
|
||||
<ClInclude Include="..\src\include\events.h" />
|
||||
<ClInclude Include="..\src\include\execio.h" />
|
||||
<ClInclude Include="..\src\include\execlib.h" />
|
||||
<ClInclude Include="..\src\include\fdi2raw.h" />
|
||||
<ClInclude Include="..\src\include\filesys.h" />
|
||||
<ClInclude Include="..\src\include\flags_arm.h" />
|
||||
<ClInclude Include="..\src\include\fpp-ieee-be.h" />
|
||||
<ClInclude Include="..\src\include\fpp-unknown.h" />
|
||||
<ClInclude Include="..\src\include\flashrom.h" />
|
||||
<ClInclude Include="..\src\include\fpp.h" />
|
||||
<ClInclude Include="..\src\include\fsdb.h" />
|
||||
<ClInclude Include="..\src\include\fsusage.h" />
|
||||
<ClInclude Include="..\src\include\gayle.h" />
|
||||
<ClInclude Include="..\src\include\genblitter.h" />
|
||||
<ClInclude Include="..\src\include\gensound.h" />
|
||||
<ClInclude Include="..\src\include\gfxboard.h" />
|
||||
<ClInclude Include="..\src\include\gui.h" />
|
||||
<ClInclude Include="..\src\include\ide.h" />
|
||||
<ClInclude Include="..\src\include\inputdevice.h" />
|
||||
<ClInclude Include="..\src\include\keyboard.h" />
|
||||
<ClInclude Include="..\src\include\keybuf.h" />
|
||||
<ClInclude Include="..\src\include\mackbd.h" />
|
||||
<ClInclude Include="..\src\include\memory.h" />
|
||||
<ClInclude Include="..\src\include\mmu_common.h" />
|
||||
<ClInclude Include="..\src\include\native2amiga.h" />
|
||||
<ClInclude Include="..\src\include\native2amiga_api.h" />
|
||||
<ClInclude Include="..\src\include\newcpu.h" />
|
||||
<ClInclude Include="..\src\include\options.h" />
|
||||
<ClInclude Include="..\src\include\osemu.h" />
|
||||
<ClInclude Include="..\src\include\picasso96.h" />
|
||||
<ClInclude Include="..\src\include\readcpu.h" />
|
||||
<ClInclude Include="..\src\include\rommgr.h" />
|
||||
<ClInclude Include="..\src\include\rtc.h" />
|
||||
<ClInclude Include="..\src\include\rtgmodes.h" />
|
||||
<ClInclude Include="..\src\include\savestate.h" />
|
||||
<ClInclude Include="..\src\include\scsi.h" />
|
||||
<ClInclude Include="..\src\include\scsidev.h" />
|
||||
<ClInclude Include="..\src\include\statusline.h" />
|
||||
<ClInclude Include="..\src\include\sysdeps.h" />
|
||||
<ClInclude Include="..\src\include\traps.h" />
|
||||
<ClInclude Include="..\src\include\uae.h" />
|
||||
<ClInclude Include="..\src\include\uaeresource.h" />
|
||||
<ClInclude Include="..\src\include\uae\attributes.h" />
|
||||
<ClInclude Include="..\src\include\uae\cdrom.h" />
|
||||
<ClInclude Include="..\src\include\uae\io.h" />
|
||||
<ClInclude Include="..\src\include\uae\likely.h" />
|
||||
<ClInclude Include="..\src\include\uae\mman.h" />
|
||||
<ClInclude Include="..\src\include\uae\string.h" />
|
||||
<ClInclude Include="..\src\include\uae\types.h" />
|
||||
<ClInclude Include="..\src\include\uae\vm.h" />
|
||||
<ClInclude Include="..\src\include\xwin.h" />
|
||||
<ClInclude Include="..\src\include\zarchive.h" />
|
||||
<ClInclude Include="..\src\include\zfile.h" />
|
||||
|
@ -357,27 +582,30 @@
|
|||
<ClInclude Include="..\src\jit\comptbl.h" />
|
||||
<ClInclude Include="..\src\machdep\m68k.h" />
|
||||
<ClInclude Include="..\src\machdep\maccess.h" />
|
||||
<ClInclude Include="..\src\machdep\md-fpp.h" />
|
||||
<ClInclude Include="..\src\machdep\rpt.h" />
|
||||
<ClInclude Include="..\src\osdep\amiberry_gfx.h" />
|
||||
<ClInclude Include="..\src\osdep\amiberry_rp9.h" />
|
||||
<ClInclude Include="..\src\osdep\cda_play.h" />
|
||||
<ClInclude Include="..\src\osdep\config.h" />
|
||||
<ClInclude Include="..\src\osdep\gui\gui_handling.h" />
|
||||
<ClInclude Include="..\src\osdep\gui\sdltruetypefont.hpp" />
|
||||
<ClInclude Include="..\src\osdep\gui\SelectorEntry.hpp" />
|
||||
<ClInclude Include="..\src\osdep\gui\UaeCheckBox.hpp" />
|
||||
<ClInclude Include="..\src\osdep\gui\UaeDropDown.hpp" />
|
||||
<ClInclude Include="..\src\osdep\gui\UaeListBox.hpp" />
|
||||
<ClInclude Include="..\src\osdep\gui\UaeRadioButton.hpp" />
|
||||
<ClInclude Include="..\src\osdep\mp3decoder.h" />
|
||||
<ClInclude Include="..\src\osdep\pandora_rp9.h" />
|
||||
<ClInclude Include="..\src\osdep\picasso96.h" />
|
||||
<ClInclude Include="..\src\osdep\sysconfig.h" />
|
||||
<ClInclude Include="..\src\osdep\target.h" />
|
||||
<ClInclude Include="..\src\sounddep\sound.h" />
|
||||
<ClInclude Include="..\src\threaddep\thread.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\src\archivers\7z\7zVersion.rc" />
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<RemotePostBuildEvent>
|
||||
<Command>cp ~/projects/Amiberry/amiberry-sdl1 ~/projects/amiberry</Command>
|
||||
<Command>cp ~/projects/Amiberry-sdl2/amiberry-rpi3-sdl2-dev ~/projects/amiberry/</Command>
|
||||
</RemotePostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
|
@ -387,7 +615,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<RemotePostBuildEvent>
|
||||
<Command>cp ~/projects/Amiberry/amiberry-sdl1 ~/projects/amiberry</Command>
|
||||
<Command>cp ~/projects/Amiberry-sdl2/amiberry-sdl2-dev ~/projects/amiberry/</Command>
|
||||
<Message>Copy binary to launch location</Message>
|
||||
</RemotePostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<PreLaunchCommand>export DISPLAY=:0.0</PreLaunchCommand>
|
||||
<RemoteDebuggerCommand>/home/pi/projects/amiberry/amiberry-rpi3-sdl2-dev</RemoteDebuggerCommand>
|
||||
<RemoteDebuggerWorkingDirectory>/home/pi/projects/amiberry</RemoteDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>LinuxDebugger</DebuggerFlavor>
|
||||
<PreLaunchCommand>
|
||||
</PreLaunchCommand>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<RemoteDebuggerCommand>projects/amiberry/amiberry-sdl2-dev</RemoteDebuggerCommand>
|
||||
<RemoteDebuggerWorkingDirectory>projects/amiberry</RemoteDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>LinuxDebugger</DebuggerFlavor>
|
||||
<PreLaunchCommand>export DEBUG=0</PreLaunchCommand>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,5 +1,12 @@
|
|||
Visual Studio solution using VC++ for Linux.
|
||||
===========================================
|
||||
With this solution you can use Visual Studio to edit the sources, remote debug and remote build the project running on a Pi.
|
||||
For now, no cross compilation is supported in this project but if that is added from Microsoft in the future this solution will be updated accordingly.
|
||||
|
||||
The project is configured to be deployed on a standard Raspbian distro, under the folder ~/projects/ (it will create a subfolder named Amiberry there). The sources are copied to the destination Pi (make sure you edit the connection details so they are correct!), then built using the Remote Build commands available in the project Properties.
|
||||
|
||||
If you want to use Intellisense, you will need to copy the include files from the Pi locally and point the project to them.
|
||||
|
||||
You will need Visual Studio 2015 or later and VC++ for Linux installed.
|
||||
Look here for more information on VC++ for Linux:
|
||||
https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/
|
||||
|
|
210
VSLinux/guisan/guisan.vcxproj
Normal file
|
@ -0,0 +1,210 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x86">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x86">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{06b356e1-fe8b-4e50-bf9f-a9d6e419ecbd}</ProjectGuid>
|
||||
<Keyword>Linux</Keyword>
|
||||
<RootNamespace>guisan</RootNamespace>
|
||||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
||||
<ApplicationType>Linux</ApplicationType>
|
||||
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
|
||||
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
|
||||
<LinuxProjectType>{FC1A4D80-50E9-41DA-9192-61C0DBAA00D2}</LinuxProjectType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<RemoteRootDir>~/projects/Amiberry-sdl2/src</RemoteRootDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<RemoteRootDir>~/projects/Amiberry-sdl2/src</RemoteRootDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make all</RemoteBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make clean</RemoteCleanCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make clean; make all</RemoteReBuildCommandLine>
|
||||
<NMakeIncludeSearchPath>C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\SDL2;$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||
<RemoteBuildCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make all</RemoteBuildCommandLine>
|
||||
<RemoteReBuildCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make clean; make all</RemoteReBuildCommandLine>
|
||||
<RemoteCleanCommandLine>cd ~/projects/Amiberry-sdl2/src/guisan/; make clean</RemoteCleanCommandLine>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\src\guisan\lib\.keep">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</None>
|
||||
<None Include="..\..\src\guisan\Makefile" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\basiccontainer.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\cliprectangle.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\color.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\deathlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\defaultfont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\event.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\exception.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focushandler.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focuslistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\font.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\genericinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\glut.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\graphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\gui.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\image.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imagefont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\input.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\inputevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\key.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keylistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\listmodel.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouselistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglgraphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglimage.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglsdlimageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\platform.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\rectangle.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlgraphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimage.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlpixel.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdltruetypefont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widget.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgetlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\button.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\checkbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\container.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\dropdown.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\icon.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\imagebutton.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\label.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\listbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\progressbar.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\radiobutton.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\scrollarea.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\slider.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tab.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tabbedarea.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textfield.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\window.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\x.hpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\guisan\src\actionevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\basiccontainer.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\cliprectangle.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\color.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\defaultfont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\event.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\exception.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\focushandler.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\font.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\genericinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\graphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\gui.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\guisan.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\image.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\imagefont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\inputevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\key.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\keyevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\keyinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\opengl.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglgraphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglimage.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\rectangle.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdl.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlgraphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimage.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimageloader.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdltruetypefont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\selectionevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widget.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\button.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\checkbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\container.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\dropdown.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\icon.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\imagebutton.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\label.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\listbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\progressbar.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\radiobutton.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\scrollarea.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\slider.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tab.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tabbedarea.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textfield.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\window.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
</Project>
|
390
VSLinux/guisan/guisan.vcxproj.filters
Normal file
|
@ -0,0 +1,390 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
<UniqueIdentifier>{eeccf75c-d704-4a8b-9282-f083ba4283a7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="lib">
|
||||
<UniqueIdentifier>{7f295f07-15f7-4000-81ea-c83f4ca91ca7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="src">
|
||||
<UniqueIdentifier>{0ae8cfa1-0e8f-4a72-9ea2-f8c1fc9b8970}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="include\guisan">
|
||||
<UniqueIdentifier>{27c19eef-8ca1-41c3-a0b5-ef0f16bde5a7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="include\guisan\opengl">
|
||||
<UniqueIdentifier>{5fa33cfa-ffca-4f07-b5ca-3fca6db3dc91}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="include\guisan\sdl">
|
||||
<UniqueIdentifier>{5227ba91-51a7-4209-9121-03505fdb08fc}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="include\guisan\widgets">
|
||||
<UniqueIdentifier>{6248903a-d143-48ca-b3e9-48692f78ec08}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="src\opengl">
|
||||
<UniqueIdentifier>{aee8cc37-3791-4194-98db-09124b276380}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="src\sdl">
|
||||
<UniqueIdentifier>{4542cfd7-c089-47ed-825c-f4c219c7f45b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="src\widgets">
|
||||
<UniqueIdentifier>{52b5b3c9-6832-454a-b245-039fb824f16f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\src\guisan\lib\.keep">
|
||||
<Filter>lib</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\guisan\Makefile" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan.hpp">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionevent.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionlistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\basiccontainer.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\cliprectangle.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\color.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\deathlistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\defaultfont.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\event.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\exception.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focushandler.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focuslistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\font.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\genericinput.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\glut.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\graphics.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\gui.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\image.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imagefont.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imageloader.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\input.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\inputevent.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\key.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyevent.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyinput.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keylistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\listmodel.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseevent.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseinput.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouselistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\platform.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\rectangle.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionevent.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionlistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widget.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgetlistener.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\x.hpp">
|
||||
<Filter>include\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglgraphics.hpp">
|
||||
<Filter>include\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglimage.hpp">
|
||||
<Filter>include\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglsdlimageloader.hpp">
|
||||
<Filter>include\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlgraphics.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimage.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimageloader.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlinput.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlpixel.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdltruetypefont.hpp">
|
||||
<Filter>include\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\button.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\checkbox.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\container.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\dropdown.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\icon.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\imagebutton.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\label.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\listbox.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\radiobutton.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\scrollarea.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\slider.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tab.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tabbedarea.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textbox.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textfield.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\window.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\progressbar.hpp">
|
||||
<Filter>include\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\guisan\src\actionevent.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\basiccontainer.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\cliprectangle.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\color.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\defaultfont.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\event.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\exception.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\focushandler.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\font.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\genericinput.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\graphics.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\gui.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\guisan.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\image.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\imagefont.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\inputevent.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\key.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\keyevent.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\keyinput.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseevent.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseinput.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\rectangle.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\selectionevent.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widget.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\opengl.cpp">
|
||||
<Filter>src\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglgraphics.cpp">
|
||||
<Filter>src\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglimage.cpp">
|
||||
<Filter>src\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdl.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlgraphics.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimage.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimageloader.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlinput.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdltruetypefont.cpp">
|
||||
<Filter>src\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\button.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\checkbox.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\container.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\dropdown.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\icon.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\imagebutton.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\label.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\listbox.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\radiobutton.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\scrollarea.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\slider.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tab.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tabbedarea.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textbox.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textfield.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\window.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\progressbar.cpp">
|
||||
<Filter>src\widgets</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
154
VisualGDB/Amiberry-sdl1/Amiberry-sdl1-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,154 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.121</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>4.9.2</GCC>
|
||||
<GDB>7.7.1</GDB>
|
||||
<Revision>4</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry-sdl1.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>true</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>true</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
154
VisualGDB/Amiberry-sdl1/Amiberry-sdl1-Release.vgdbsettings
Normal file
|
@ -0,0 +1,154 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.121</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>4.9.2</GCC>
|
||||
<GDB>7.7.1</GDB>
|
||||
<Revision>4</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry-sdl1.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>true</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
382
VisualGDB/Amiberry-sdl1/Amiberry-sdl1.vcxproj
Normal file
|
@ -0,0 +1,382 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{14635D01-67B8-4863-9507-3FA5C8FB4B32}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>4.9.2/7.7.1/r4</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>4.9.2/7.7.1/r4</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/include/SDL;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;vchiq_arm;SDL;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL_image;SDL_ttf;guichan;guichan_sdl;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/include/SDL;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;vchiq_arm;SDL;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL_image;SDL_ttf;guichan;guichan_sdl;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\archivers\7z\7z.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zAlloc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zBuf.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zCrc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zFile.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zVersion.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Alloc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Bcj2.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Bra.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\CpuArch.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Delta.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzFind.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzHash.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Lzma2Dec.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Lzma86.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzmaDec.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzmaLib.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\RotateDefs.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Sha256.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Types.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Xz.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\XzCrc64.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\cdata.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\crc_csum.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\getbits.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\maketbl.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\pfile.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\tables.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_deep.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_heavy.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_init.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_medium.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_quick.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\u_rle.h" />
|
||||
<ClInclude Include="..\..\src\archivers\lha\lha.h" />
|
||||
<ClInclude Include="..\..\src\archivers\lha\lha_macro.h" />
|
||||
<ClInclude Include="..\..\src\archivers\mp2\kjmp2.h" />
|
||||
<ClInclude Include="..\..\src\archivers\wrp\warp.h" />
|
||||
<ClInclude Include="..\..\src\archivers\zip\unzip.h" />
|
||||
<ClInclude Include="..\..\src\blit.h" />
|
||||
<ClInclude Include="..\..\src\blitfunc.h" />
|
||||
<ClInclude Include="..\..\src\cputbl.h" />
|
||||
<ClInclude Include="..\..\src\include\akiko.h" />
|
||||
<ClInclude Include="..\..\src\include\ar.h" />
|
||||
<ClInclude Include="..\..\src\include\audio.h" />
|
||||
<ClInclude Include="..\..\src\include\autoconf.h" />
|
||||
<ClInclude Include="..\..\src\include\blitter.h" />
|
||||
<ClInclude Include="..\..\src\include\blkdev.h" />
|
||||
<ClInclude Include="..\..\src\include\bsdsocket.h" />
|
||||
<ClInclude Include="..\..\src\include\calc.h" />
|
||||
<ClInclude Include="..\..\src\include\cd32_fmv.h" />
|
||||
<ClInclude Include="..\..\src\include\cia.h" />
|
||||
<ClInclude Include="..\..\src\include\commpipe.h" />
|
||||
<ClInclude Include="..\..\src\include\cpummu.h" />
|
||||
<ClInclude Include="..\..\src\include\cpu_prefetch.h" />
|
||||
<ClInclude Include="..\..\src\include\crc32.h" />
|
||||
<ClInclude Include="..\..\src\include\custom.h" />
|
||||
<ClInclude Include="..\..\src\include\devices.h" />
|
||||
<ClInclude Include="..\..\src\include\disk.h" />
|
||||
<ClInclude Include="..\..\src\include\diskutil.h" />
|
||||
<ClInclude Include="..\..\src\include\drawing.h" />
|
||||
<ClInclude Include="..\..\src\include\events.h" />
|
||||
<ClInclude Include="..\..\src\include\execio.h" />
|
||||
<ClInclude Include="..\..\src\include\execlib.h" />
|
||||
<ClInclude Include="..\..\src\include\fdi2raw.h" />
|
||||
<ClInclude Include="..\..\src\include\filesys.h" />
|
||||
<ClInclude Include="..\..\src\include\flags_arm.h" />
|
||||
<ClInclude Include="..\..\src\include\flashrom.h" />
|
||||
<ClInclude Include="..\..\src\include\fpp.h" />
|
||||
<ClInclude Include="..\..\src\include\fsdb.h" />
|
||||
<ClInclude Include="..\..\src\include\fsusage.h" />
|
||||
<ClInclude Include="..\..\src\include\gayle.h" />
|
||||
<ClInclude Include="..\..\src\include\genblitter.h" />
|
||||
<ClInclude Include="..\..\src\include\gensound.h" />
|
||||
<ClInclude Include="..\..\src\include\gfxboard.h" />
|
||||
<ClInclude Include="..\..\src\include\gui.h" />
|
||||
<ClInclude Include="..\..\src\include\ide.h" />
|
||||
<ClInclude Include="..\..\src\include\inputdevice.h" />
|
||||
<ClInclude Include="..\..\src\include\keyboard.h" />
|
||||
<ClInclude Include="..\..\src\include\keybuf.h" />
|
||||
<ClInclude Include="..\..\src\include\mackbd.h" />
|
||||
<ClInclude Include="..\..\src\include\memory.h" />
|
||||
<ClInclude Include="..\..\src\include\mmu_common.h" />
|
||||
<ClInclude Include="..\..\src\include\native2amiga.h" />
|
||||
<ClInclude Include="..\..\src\include\native2amiga_api.h" />
|
||||
<ClInclude Include="..\..\src\include\newcpu.h" />
|
||||
<ClInclude Include="..\..\src\include\options.h" />
|
||||
<ClInclude Include="..\..\src\include\readcpu.h" />
|
||||
<ClInclude Include="..\..\src\include\rommgr.h" />
|
||||
<ClInclude Include="..\..\src\include\rtc.h" />
|
||||
<ClInclude Include="..\..\src\include\rtgmodes.h" />
|
||||
<ClInclude Include="..\..\src\include\savestate.h" />
|
||||
<ClInclude Include="..\..\src\include\scsi.h" />
|
||||
<ClInclude Include="..\..\src\include\statusline.h" />
|
||||
<ClInclude Include="..\..\src\include\sysdeps.h" />
|
||||
<ClInclude Include="..\..\src\include\traps.h" />
|
||||
<ClInclude Include="..\..\src\include\uae.h" />
|
||||
<ClInclude Include="..\..\src\include\uaeresource.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\attributes.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\cdrom.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\io.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\likely.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\mman.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\string.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\types.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\vm.h" />
|
||||
<ClInclude Include="..\..\src\include\xwin.h" />
|
||||
<ClInclude Include="..\..\src\include\zarchive.h" />
|
||||
<ClInclude Include="..\..\src\include\zfile.h" />
|
||||
<ClInclude Include="..\..\src\jit\compemu.h" />
|
||||
<ClInclude Include="..\..\src\jit\comptbl.h" />
|
||||
<ClInclude Include="..\..\src\machdep\m68k.h" />
|
||||
<ClInclude Include="..\..\src\machdep\maccess.h" />
|
||||
<ClInclude Include="..\..\src\machdep\rpt.h" />
|
||||
<ClInclude Include="..\..\src\osdep\amiberry_gfx.h" />
|
||||
<ClInclude Include="..\..\src\osdep\amiberry_rp9.h" />
|
||||
<ClInclude Include="..\..\src\osdep\cda_play.h" />
|
||||
<ClInclude Include="..\..\src\osdep\config.h" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\gui_handling.h" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\sdltruetypefont.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\SelectorEntry.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeCheckBox.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeDropDown.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeListBox.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeRadioButton.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\mp3decoder.h" />
|
||||
<ClInclude Include="..\..\src\osdep\picasso96.h" />
|
||||
<ClInclude Include="..\..\src\osdep\sysconfig.h" />
|
||||
<ClInclude Include="..\..\src\osdep\target.h" />
|
||||
<ClInclude Include="..\..\src\sounddep\sound.h" />
|
||||
<ClInclude Include="..\..\src\threaddep\thread.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\akiko.cpp" />
|
||||
<ClCompile Include="..\..\src\ar.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zAlloc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zBuf.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zBuf2.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zCrc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zCrcOpt.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zDec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zFile.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zIn.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zStream.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Alloc.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bcj2.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bra.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bra86.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\BraIA64.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\CpuArch.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Delta.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzFind.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma2Dec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma86Dec.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma86Enc.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzmaDec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzmaLib.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Sha256.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Xz.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzCrc64.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzDec.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzIn.c" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\crc_csum.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\getbits.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\maketbl.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\pfile.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\tables.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_deep.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_heavy.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_init.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_medium.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_quick.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\u_rle.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\crcio.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\dhuf.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\header.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\huf.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\larc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\lhamaketbl.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\lharc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\shuf.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\slide.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\uae_lha.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\util.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lzx\unlzx.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\mp2\kjmp2.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\wrp\warp.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\zip\unzip.cpp" />
|
||||
<ClCompile Include="..\..\src\aros.rom.cpp" />
|
||||
<ClCompile Include="..\..\src\audio.cpp" />
|
||||
<ClCompile Include="..\..\src\autoconf.cpp" />
|
||||
<ClCompile Include="..\..\src\blitfunc.cpp" />
|
||||
<ClCompile Include="..\..\src\blitops.cpp" />
|
||||
<ClCompile Include="..\..\src\blittable.cpp" />
|
||||
<ClCompile Include="..\..\src\blitter.cpp" />
|
||||
<ClCompile Include="..\..\src\blkdev.cpp" />
|
||||
<ClCompile Include="..\..\src\blkdev_cdimage.cpp" />
|
||||
<ClCompile Include="..\..\src\bsdsocket.cpp" />
|
||||
<ClCompile Include="..\..\src\calc.cpp" />
|
||||
<ClCompile Include="..\..\src\cd32_fmv.cpp" />
|
||||
<ClCompile Include="..\..\src\cd32_fmv_genlock.cpp" />
|
||||
<ClCompile Include="..\..\src\cdrom.cpp" />
|
||||
<ClCompile Include="..\..\src\cfgfile.cpp" />
|
||||
<ClCompile Include="..\..\src\cia.cpp" />
|
||||
<ClCompile Include="..\..\src\cpudefs.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_0.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_11.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_4.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_40.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_44.cpp" />
|
||||
<ClCompile Include="..\..\src\cpustbl.cpp" />
|
||||
<ClCompile Include="..\..\src\crc32.cpp" />
|
||||
<ClCompile Include="..\..\src\custom.cpp" />
|
||||
<ClCompile Include="..\..\src\def_icons.cpp" />
|
||||
<ClCompile Include="..\..\src\devices.cpp" />
|
||||
<ClCompile Include="..\..\src\disk.cpp" />
|
||||
<ClCompile Include="..\..\src\diskutil.cpp" />
|
||||
<ClCompile Include="..\..\src\drawing.cpp" />
|
||||
<ClCompile Include="..\..\src\events.cpp" />
|
||||
<ClCompile Include="..\..\src\expansion.cpp" />
|
||||
<ClCompile Include="..\..\src\fdi2raw.cpp" />
|
||||
<ClCompile Include="..\..\src\filesys.cpp" />
|
||||
<ClCompile Include="..\..\src\flashrom.cpp" />
|
||||
<ClCompile Include="..\..\src\fpp.cpp" />
|
||||
<ClCompile Include="..\..\src\fpp_native.cpp" />
|
||||
<ClCompile Include="..\..\src\fsdb.cpp" />
|
||||
<ClCompile Include="..\..\src\fsdb_unix.cpp" />
|
||||
<ClCompile Include="..\..\src\fsusage.cpp" />
|
||||
<ClCompile Include="..\..\src\gayle.cpp" />
|
||||
<ClCompile Include="..\..\src\gfxboard.cpp" />
|
||||
<ClCompile Include="..\..\src\gfxutil.cpp" />
|
||||
<ClCompile Include="..\..\src\hardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\hrtmon.rom.cpp" />
|
||||
<ClCompile Include="..\..\src\ide.cpp" />
|
||||
<ClCompile Include="..\..\src\inputdevice.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu_fpp.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu_support.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compstbl.cpp" />
|
||||
<ClCompile Include="..\..\src\keybuf.cpp" />
|
||||
<ClCompile Include="..\..\src\machdep\support.cpp" />
|
||||
<ClCompile Include="..\..\src\main.cpp" />
|
||||
<ClCompile Include="..\..\src\memory.cpp" />
|
||||
<ClCompile Include="..\..\src\native2amiga.cpp" />
|
||||
<ClCompile Include="..\..\src\newcpu.cpp" />
|
||||
<ClCompile Include="..\..\src\newcpu_common.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_filesys.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_gfx.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_gui.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_hardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_input.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_mem.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_rp9.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\bsdsocket_host.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\cda_play.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\charset.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\fsdb_host.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\CreateFilesysHardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\EditFilesysHardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\EditFilesysVirtual.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\InGameMessage.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\main_window.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\Navigation.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelAbout.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelChipset.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelConfig.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelCPU.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelCustom.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelDisplay.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelFloppy.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelHD.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelInput.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelMisc.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelPaths.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelQuickstart.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelRAM.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelROM.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelSavestate.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelSound.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\sdltruetypefont.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectFile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectFolder.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectorEntry.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\ShowHelp.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\ShowMessage.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeCheckBox.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeDropDown.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeListBox.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeRadioButton.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\keyboard.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\mp3decoder.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\neon_helper.s" />
|
||||
<ClCompile Include="..\..\src\osdep\picasso96.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\sigsegv_handler.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\writelog.cpp" />
|
||||
<ClCompile Include="..\..\src\readcpu.cpp" />
|
||||
<ClCompile Include="..\..\src\rommgr.cpp" />
|
||||
<ClCompile Include="..\..\src\rtc.cpp" />
|
||||
<ClCompile Include="..\..\src\savestate.cpp" />
|
||||
<ClCompile Include="..\..\src\scsi.cpp" />
|
||||
<ClCompile Include="..\..\src\sounddep\sound.cpp" />
|
||||
<ClCompile Include="..\..\src\statusline.cpp" />
|
||||
<ClCompile Include="..\..\src\traps.cpp" />
|
||||
<ClCompile Include="..\..\src\uaelib.cpp" />
|
||||
<ClCompile Include="..\..\src\uaeresource.cpp" />
|
||||
<ClCompile Include="..\..\src\zfile.cpp" />
|
||||
<ClCompile Include="..\..\src\zfile_archive.cpp" />
|
||||
<None Include="..\..\src\filesys.asm" />
|
||||
<None Include="..\..\src\inputevents.def" />
|
||||
<None Include="Amiberry-sdl1-Debug.vgdbsettings" />
|
||||
<None Include="Amiberry-sdl1-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
</Project>
|
1002
VisualGDB/Amiberry-sdl1/Amiberry-sdl1.vcxproj.filters
Normal file
|
@ -1,43 +0,0 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26228.9
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry", "Amiberry\Amiberry.vcxproj", "{D76BB09D-FF2A-4028-A065-421C430CD238}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|VisualGDB = Debug|VisualGDB
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|VisualGDB = Release|VisualGDB
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
Release-rpi1|VisualGDB = Release-rpi1|VisualGDB
|
||||
Release-rpi1|x64 = Release-rpi1|x64
|
||||
Release-rpi1|x86 = Release-rpi1|x86
|
||||
Release-rpi2|VisualGDB = Release-rpi2|VisualGDB
|
||||
Release-rpi2|x64 = Release-rpi2|x64
|
||||
Release-rpi2|x86 = Release-rpi2|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Debug|x64.ActiveCfg = Debug|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Debug|x86.ActiveCfg = Debug|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release|x64.ActiveCfg = Release|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release|x86.ActiveCfg = Release|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi1|VisualGDB.ActiveCfg = Release-rpi1|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi1|VisualGDB.Build.0 = Release-rpi1|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi1|x64.ActiveCfg = Release-rpi1|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi1|x86.ActiveCfg = Release-rpi1|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi2|VisualGDB.ActiveCfg = Release-rpi2|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi2|VisualGDB.Build.0 = Release-rpi2|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi2|x64.ActiveCfg = Release-rpi2|VisualGDB
|
||||
{D76BB09D-FF2A-4028-A065-421C430CD238}.Release-rpi2|x86.ActiveCfg = Release-rpi2|VisualGDB
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
194
VisualGDB/Amiberry/Amiberry-Debug-dispmanx.vgdbsettings
Normal file
|
@ -0,0 +1,194 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug-dispmanx</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.124</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>true</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>true</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>true</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>true</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>true</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>true</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>true</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>true</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>true</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath>/usr/local/lib</LdLibraryPath>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>true</Enabled>
|
||||
<SelectedAnalyzers>
|
||||
<string>core.builtin.BuiltinFunctions</string>
|
||||
<string>core.builtin.NoReturnFunctions</string>
|
||||
<string>core.CallAndMessage</string>
|
||||
<string>core.DivideZero</string>
|
||||
<string>core.DynamicTypePropagation</string>
|
||||
<string>core.NonNullParamChecker</string>
|
||||
<string>core.NullDereference</string>
|
||||
<string>core.StackAddressEscape</string>
|
||||
<string>core.UndefinedBinaryOperatorResult</string>
|
||||
<string>core.uninitialized.ArraySubscript</string>
|
||||
<string>core.uninitialized.Assign</string>
|
||||
<string>core.uninitialized.Branch</string>
|
||||
<string>core.uninitialized.CapturedBlockVariable</string>
|
||||
<string>core.uninitialized.UndefReturn</string>
|
||||
<string>core.VLASize</string>
|
||||
<string>cplusplus.NewDelete</string>
|
||||
<string>cplusplus.NewDeleteLeaks</string>
|
||||
<string>deadcode.DeadStores</string>
|
||||
<string>nullability.NullPassedToNonnull</string>
|
||||
<string>nullability.NullReturnedFromNonnull</string>
|
||||
<string>security.insecureAPI.getpw</string>
|
||||
<string>security.insecureAPI.gets</string>
|
||||
<string>security.insecureAPI.mkstemp</string>
|
||||
<string>security.insecureAPI.mktemp</string>
|
||||
<string>security.insecureAPI.UncheckedReturn</string>
|
||||
<string>security.insecureAPI.vfork</string>
|
||||
<string>unix.API</string>
|
||||
<string>unix.cstring.BadSizeArg</string>
|
||||
<string>unix.cstring.NullArg</string>
|
||||
<string>unix.Malloc</string>
|
||||
<string>unix.MallocSizeof</string>
|
||||
<string>unix.MismatchedDeallocator</string>
|
||||
<string>unix.Vfork</string>
|
||||
</SelectedAnalyzers>
|
||||
<ExtraArguments>
|
||||
<string>-analyzer-store=region</string>
|
||||
<string>-analyzer-opt-analyze-nested-blocks</string>
|
||||
<string>-analyzer-eagerly-assume</string>
|
||||
</ExtraArguments>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
|
@ -10,7 +10,7 @@
|
|||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<HostName>192.168.1.124</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
|
@ -35,58 +35,46 @@
|
|||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>true</SkipDeploymentTests>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<Toolchain>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
</Toolchain>
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
<UseFrameParameter>true</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>true</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>true</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>true</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>true</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>true</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>true</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>true</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
|
@ -102,8 +90,9 @@
|
|||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableAsyncExecutionMode>true</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
|
@ -114,9 +103,9 @@
|
|||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>true</RunGDBUnderSudo>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<LdLibraryPath>/usr/local/lib</LdLibraryPath>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
|
@ -146,6 +135,7 @@
|
|||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
|
@ -155,6 +145,50 @@
|
|||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>true</Enabled>
|
||||
<SelectedAnalyzers>
|
||||
<string>core.builtin.BuiltinFunctions</string>
|
||||
<string>core.builtin.NoReturnFunctions</string>
|
||||
<string>core.CallAndMessage</string>
|
||||
<string>core.DivideZero</string>
|
||||
<string>core.DynamicTypePropagation</string>
|
||||
<string>core.NonNullParamChecker</string>
|
||||
<string>core.NullDereference</string>
|
||||
<string>core.StackAddressEscape</string>
|
||||
<string>core.UndefinedBinaryOperatorResult</string>
|
||||
<string>core.uninitialized.ArraySubscript</string>
|
||||
<string>core.uninitialized.Assign</string>
|
||||
<string>core.uninitialized.Branch</string>
|
||||
<string>core.uninitialized.CapturedBlockVariable</string>
|
||||
<string>core.uninitialized.UndefReturn</string>
|
||||
<string>core.VLASize</string>
|
||||
<string>cplusplus.NewDelete</string>
|
||||
<string>cplusplus.NewDeleteLeaks</string>
|
||||
<string>deadcode.DeadStores</string>
|
||||
<string>nullability.NullPassedToNonnull</string>
|
||||
<string>nullability.NullReturnedFromNonnull</string>
|
||||
<string>security.insecureAPI.getpw</string>
|
||||
<string>security.insecureAPI.gets</string>
|
||||
<string>security.insecureAPI.mkstemp</string>
|
||||
<string>security.insecureAPI.mktemp</string>
|
||||
<string>security.insecureAPI.UncheckedReturn</string>
|
||||
<string>security.insecureAPI.vfork</string>
|
||||
<string>unix.API</string>
|
||||
<string>unix.cstring.BadSizeArg</string>
|
||||
<string>unix.cstring.NullArg</string>
|
||||
<string>unix.Malloc</string>
|
||||
<string>unix.MallocSizeof</string>
|
||||
<string>unix.MismatchedDeallocator</string>
|
||||
<string>unix.Vfork</string>
|
||||
</SelectedAnalyzers>
|
||||
<ExtraArguments>
|
||||
<string>-analyzer-store=region</string>
|
||||
<string>-analyzer-opt-analyze-nested-blocks</string>
|
||||
<string>-analyzer-eagerly-assume</string>
|
||||
</ExtraArguments>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
18
VisualGDB/Amiberry/Amiberry-Debug.vgdbsettings.midwan.user
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<LiveWatches />
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
154
VisualGDB/Amiberry/Amiberry-Release-dispmanx.vgdbsettings
Normal file
|
@ -0,0 +1,154 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release-dispmanx</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.124</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
|
@ -6,45 +6,61 @@
|
|||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<HostName>192.168.1.124</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>true</SkipDeploymentTests>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<Toolchain>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
</Toolchain>
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
|
@ -76,6 +92,7 @@
|
|||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
|
@ -83,13 +100,14 @@
|
|||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/tmp/$(TargetFileName)</DeploymentTargetPath>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
|
@ -111,10 +129,26 @@
|
|||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
17
VisualGDB/Amiberry/Amiberry-Release.vgdbsettings.midwan.user
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
74
VisualGDB/Amiberry/Amiberry.sln
Normal file
|
@ -0,0 +1,74 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27130.2020
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry", "Amiberry.vcxproj", "{FDC6BF55-C4BC-44FB-85A9-3369784716E8}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6} = {E613050D-EE8C-4ED1-936D-EB9E0E155EA6}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "guisan", "..\guisan\guisan.vcxproj", "{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry-sdl1", "..\Amiberry-sdl1\Amiberry-sdl1.vcxproj", "{14635D01-67B8-4863-9507-3FA5C8FB4B32}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genblitter", "..\genblitter\genblitter.vcxproj", "{619EFB8C-E41A-4058-B085-1B8CD22692DD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genlinetoscr", "..\genlinetoscr\genlinetoscr.vcxproj", "{883F2A00-8030-429B-AC7F-E930DDF9568F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|VisualGDB = Debug|VisualGDB
|
||||
Debug-dispmanx|VisualGDB = Debug-dispmanx|VisualGDB
|
||||
Release|VisualGDB = Release|VisualGDB
|
||||
Release-dispmanx|VisualGDB = Release-dispmanx|VisualGDB
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug-dispmanx|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug-dispmanx|VisualGDB.Build.0 = Debug-dispmanx|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release-dispmanx|VisualGDB.ActiveCfg = Release-dispmanx|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release-dispmanx|VisualGDB.Build.0 = Release-dispmanx|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release-dispmanx|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release-dispmanx|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release-dispmanx|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release-dispmanx|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release-dispmanx|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release-dispmanx|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release-dispmanx|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release-dispmanx|VisualGDB.Build.0 = Release|VisualGDB
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {92D4AA99-3244-4535-8DB4-C7E117E62389}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-dispmanx|VisualGDB">
|
||||
<Configuration>Debug-dispmanx</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-rpi1|VisualGDB">
|
||||
<Configuration>Release-rpi1</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-rpi2|VisualGDB">
|
||||
<Configuration>Release-rpi2</Configuration>
|
||||
<ProjectConfiguration Include="Release-dispmanx|VisualGDB">
|
||||
<Configuration>Release-dispmanx</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
|
@ -19,9 +19,16 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{D76BB09D-FF2A-4028-A065-421C430CD238}</ProjectGuid>
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{FDC6BF55-C4BC-44FB-85A9-3369784716E8}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'" Label="Configuration" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-dispmanx|VisualGDB'" Label="Configuration" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
|
@ -30,103 +37,117 @@
|
|||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-rpi2|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-rpi1|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-dispmanx|VisualGDB'">
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>../../src;../../src/include;../../src/osdep;../../src/threaddep;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/SDL;=/usr/include/libxml2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;_REENTRANT;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;ARMV6T2;PICASSO96;USE_ARMNEON;CPU_arm;ARMV6_ASSEMBLY;PANDORA;WITH_INGAME_WARNING;USE_SDL;ROM_PATH_PREFIX=\"./\";DATA_PREFIX=\"./data/\";SAVE_PREFIX=\"./saves/\";GCCCONSTFUNC="__attribute__((const))";%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;SDL;pthread;m;z;SDL_image;png;rt;xml2;FLAC;mpg123;dl;SDL_ttf;guichan_sdl;guichan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;bcm_host;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript>
|
||||
</LinkerScript>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>../../src;../../src/include;../../src/osdep;../../src/threaddep;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/SDL;=/usr/include/libxml2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;_REENTRANT;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;ARMV6T2;PICASSO96;USE_ARMNEON;CPU_arm;ARMV6_ASSEMBLY;PANDORA;WITH_INGAME_WARNING;USE_SDL;ROM_PATH_PREFIX=\"./\";DATA_PREFIX=\"./data/\";SAVE_PREFIX=\"./saves/\";GCCCONSTFUNC="__attribute__((const))";%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;USE_RENDER_THREAD;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
<OmitFramePointer>true</OmitFramePointer>
|
||||
<InlineFunctions>true</InlineFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;SDL;pthread;m;z;SDL_image;png;rt;xml2;FLAC;mpg123;dl;SDL_ttf;guichan_sdl;guichan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-rpi2|VisualGDB'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-dispmanx|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>../../src;../../src/include;../../src/osdep;../../src/threaddep;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/SDL;=/usr/include/libxml2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;_REENTRANT;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;ARMV6T2;PICASSO96;USE_ARMNEON;CPU_arm;ARMV6_ASSEMBLY;PANDORA;WITH_INGAME_WARNING;USE_SDL;ROM_PATH_PREFIX=\"./\";DATA_PREFIX=\"./data/\";SAVE_PREFIX=\"./saves/\";GCCCONSTFUNC="__attribute__((const))";%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<OmitFramePointer>true</OmitFramePointer>
|
||||
<InlineFunctions>true</InlineFunctions>
|
||||
<AdditionalCOptions>-march=armv8-a -mfpu=neon-fp-armv8</AdditionalCOptions>
|
||||
<AdditionalCPPOptions>-march=armv8-a -mfpu=neon-fp-armv8</AdditionalCPPOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;SDL;pthread;m;z;SDL_image;png;rt;xml2;FLAC;mpg123;dl;SDL_ttf;guichan_sdl;guichan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;bcm_host;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript>
|
||||
</LinkerScript>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-rpi1|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>../../src;../../src/include;../../src/osdep;../../src/threaddep;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/SDL;=/usr/include/libxml2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;_REENTRANT;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;PICASSO96;CPU_arm;ARMV6_ASSEMBLY;PANDORA;WITH_INGAME_WARNING;USE_SDL;ROM_PATH_PREFIX=\"./\";DATA_PREFIX=\"./data/\";SAVE_PREFIX=\"./saves/\";GCCCONSTFUNC="__attribute__((const))";%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv6zk -mfpu=vfp -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
<OmitFramePointer>true</OmitFramePointer>
|
||||
<InlineFunctions>true</InlineFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>bcm_host;SDL;pthread;m;z;SDL_image;png;rt;xml2;FLAC;mpg123;dl;SDL_ttf;guichan_sdl;guichan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript>
|
||||
</LinkerScript>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\src\filesys.asm" />
|
||||
<None Include="..\..\src\inputevents.def" />
|
||||
<None Include="..\..\src\table68k" />
|
||||
<None Include="Amiberry-Debug.vgdbsettings" />
|
||||
<None Include="Amiberry-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\akiko.cpp" />
|
||||
<ClCompile Include="..\..\src\ar.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zAlloc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zBuf.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zBuf2.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zCrc.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zDecode.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zExtract.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zHeader.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zCrcOpt.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zDec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zFile.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zIn.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zItem.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\7zStream.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Alloc.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bcj2.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bra.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Bra86.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\BraIA64.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\CpuArch.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Delta.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzFind.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma2Dec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma86Dec.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Lzma86Enc.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzmaDec.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\LzmaLib.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Sha256.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\Xz.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzCrc64.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzDec.c" />
|
||||
<ClCompile Include="..\..\src\archivers\7z\XzIn.c" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\crc_csum.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\getbits.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\dms\maketbl.cpp" />
|
||||
|
@ -150,6 +171,7 @@
|
|||
<ClCompile Include="..\..\src\archivers\lha\uae_lha.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lha\util.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\lzx\unlzx.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\mp2\kjmp2.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\wrp\warp.cpp" />
|
||||
<ClCompile Include="..\..\src\archivers\zip\unzip.cpp" />
|
||||
<ClCompile Include="..\..\src\aros.rom.cpp" />
|
||||
|
@ -163,6 +185,8 @@
|
|||
<ClCompile Include="..\..\src\blkdev_cdimage.cpp" />
|
||||
<ClCompile Include="..\..\src\bsdsocket.cpp" />
|
||||
<ClCompile Include="..\..\src\calc.cpp" />
|
||||
<ClCompile Include="..\..\src\cd32_fmv.cpp" />
|
||||
<ClCompile Include="..\..\src\cd32_fmv_genlock.cpp" />
|
||||
<ClCompile Include="..\..\src\cdrom.cpp" />
|
||||
<ClCompile Include="..\..\src\cfgfile.cpp" />
|
||||
<ClCompile Include="..\..\src\cia.cpp" />
|
||||
|
@ -170,34 +194,51 @@
|
|||
<ClCompile Include="..\..\src\cpuemu_0.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_11.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_4.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_40.cpp" />
|
||||
<ClCompile Include="..\..\src\cpuemu_44.cpp" />
|
||||
<ClCompile Include="..\..\src\cpustbl.cpp" />
|
||||
<ClCompile Include="..\..\src\crc32.cpp" />
|
||||
<ClCompile Include="..\..\src\custom.cpp" />
|
||||
<ClCompile Include="..\..\src\def_icons.cpp" />
|
||||
<ClCompile Include="..\..\src\devices.cpp" />
|
||||
<ClCompile Include="..\..\src\disk.cpp" />
|
||||
<ClCompile Include="..\..\src\diskutil.cpp" />
|
||||
<ClCompile Include="..\..\src\drawing.cpp" />
|
||||
<ClCompile Include="..\..\src\events.cpp" />
|
||||
<ClCompile Include="..\..\src\expansion.cpp" />
|
||||
<ClCompile Include="..\..\src\fdi2raw.cpp" />
|
||||
<ClCompile Include="..\..\src\filesys.cpp" />
|
||||
<ClCompile Include="..\..\src\flashrom.cpp" />
|
||||
<ClCompile Include="..\..\src\fpp.cpp" />
|
||||
<ClCompile Include="..\..\src\fsdb.cpp" />
|
||||
<ClCompile Include="..\..\src\fsdb_unix.cpp" />
|
||||
<ClCompile Include="..\..\src\fsusage.cpp" />
|
||||
<ClCompile Include="..\..\src\gayle.cpp" />
|
||||
<ClCompile Include="..\..\src\gfxboard.cpp" />
|
||||
<ClCompile Include="..\..\src\gfxutil.cpp" />
|
||||
<ClCompile Include="..\..\src\hardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\hrtmon.rom.cpp" />
|
||||
<ClCompile Include="..\..\src\ide.cpp" />
|
||||
<ClCompile Include="..\..\src\inputdevice.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu_fpp.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compemu_support.cpp" />
|
||||
<ClCompile Include="..\..\src\jit\compstbl.cpp" />
|
||||
<ClCompile Include="..\..\src\keybuf.cpp" />
|
||||
<ClCompile Include="..\..\src\main.cpp" />
|
||||
<ClCompile Include="..\..\src\machdep\support.cpp" />
|
||||
<ClCompile Include="..\..\src\main.cpp" />
|
||||
<ClCompile Include="..\..\src\memory.cpp" />
|
||||
<ClCompile Include="..\..\src\native2amiga.cpp" />
|
||||
<ClCompile Include="..\..\src\newcpu.cpp" />
|
||||
<ClCompile Include="..\..\src\newcpu_common.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_filesys.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_gfx.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_gui.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_hardfile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_input.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_mem.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\amiberry_rp9.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\bsdsocket_host.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\cda_play.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\charset.cpp" />
|
||||
|
@ -208,47 +249,43 @@
|
|||
<ClCompile Include="..\..\src\osdep\gui\InGameMessage.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\main_window.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\Navigation.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelAbout.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelChipset.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelConfig.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelCPU.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelCustom.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelDisplay.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelFloppy.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelHD.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelInput.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelMisc.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelPaths.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelQuickstart.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelRAM.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelROM.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelSavestate.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelSound.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\sdltruetypefont.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectFile.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectFolder.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\SelectorEntry.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\ShowHelp.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\ShowMessage.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeCheckBox.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeDropDown.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeListBox.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\UaeRadioButton.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\hardfile_pandora.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\keyboard.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\menu\menu_config.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\mp3decoder.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\neon_helper.s" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora_filesys.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora_gui.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora_input.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora_mem.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\pandora_rp9.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\picasso96.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\rasp_gfx.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\sigsegv_handler.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\writelog.cpp" />
|
||||
<ClCompile Include="..\..\src\readcpu.cpp" />
|
||||
<ClCompile Include="..\..\src\rommgr.cpp" />
|
||||
<ClCompile Include="..\..\src\rtc.cpp" />
|
||||
<ClCompile Include="..\..\src\savestate.cpp" />
|
||||
<ClCompile Include="..\..\src\sounddep\sound_sdl_new.cpp" />
|
||||
<ClCompile Include="..\..\src\scsi.cpp" />
|
||||
<ClCompile Include="..\..\src\sounddep\sound.cpp" />
|
||||
<ClCompile Include="..\..\src\statusline.cpp" />
|
||||
<ClCompile Include="..\..\src\traps.cpp" />
|
||||
<ClCompile Include="..\..\src\uaelib.cpp" />
|
||||
|
@ -256,76 +293,39 @@
|
|||
<ClCompile Include="..\..\src\zfile.cpp" />
|
||||
<ClCompile Include="..\..\src\zfile_archive.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="..\..\data\35floppy.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\chip.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\cpu.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\delete.png">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\drive.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\expansion.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\file.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\joystick.bmp">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\joystick.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\misc.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\mouse.bmp">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\paths.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\remapping.bmp">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\savestate.png">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\screen.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
<Image Include="..\..\data\sound.ico">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Image>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Font Include="..\..\data\FreeSans.ttf">
|
||||
<DeploymentContent>true</DeploymentContent>
|
||||
</Font>
|
||||
<None Include="..\..\src\aks.def" />
|
||||
<None Include="..\..\src\filesys.asm" />
|
||||
<None Include="..\..\src\inputevents.def" />
|
||||
<None Include="Amiberry-Debug.vgdbsettings" />
|
||||
<None Include="Amiberry-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\archivers\7z\7z.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zAlloc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zBuf.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zCrc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zDecode.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zExtract.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zHeader.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zIn.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zItem.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zFile.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\7zVersion.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Alloc.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Bcj2.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Bra.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\CpuArch.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Delta.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzFind.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzHash.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Lzma2Dec.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Lzma86.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzmaDec.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\LzmaLib.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\RotateDefs.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Sha256.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Types.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\Xz.h" />
|
||||
<ClInclude Include="..\..\src\archivers\7z\XzCrc64.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\cdata.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\crc_csum.h" />
|
||||
<ClInclude Include="..\..\src\archivers\dms\getbits.h" />
|
||||
|
@ -340,93 +340,99 @@
|
|||
<ClInclude Include="..\..\src\archivers\dms\u_rle.h" />
|
||||
<ClInclude Include="..\..\src\archivers\lha\lha.h" />
|
||||
<ClInclude Include="..\..\src\archivers\lha\lha_macro.h" />
|
||||
<ClInclude Include="..\..\src\archivers\mp2\kjmp2.h" />
|
||||
<ClInclude Include="..\..\src\archivers\wrp\warp.h" />
|
||||
<ClInclude Include="..\..\src\archivers\zip\unzip.h" />
|
||||
<ClInclude Include="..\..\src\blit.h" />
|
||||
<ClInclude Include="..\..\src\blitfunc.h" />
|
||||
<ClInclude Include="..\..\src\cputbl.h" />
|
||||
<ClInclude Include="..\..\src\include\akiko.h" />
|
||||
<ClInclude Include="..\..\src\include\ar.h" />
|
||||
<ClInclude Include="..\..\src\include\audio.h" />
|
||||
<ClInclude Include="..\..\src\include\autoconf.h" />
|
||||
<ClInclude Include="..\..\src\include\blit.h" />
|
||||
<ClInclude Include="..\..\src\include\blitfunc.h" />
|
||||
<ClInclude Include="..\..\src\include\blitter.h" />
|
||||
<ClInclude Include="..\..\src\include\blkdev.h" />
|
||||
<ClInclude Include="..\..\src\include\bsdsocket.h" />
|
||||
<ClInclude Include="..\..\src\include\calc.h" />
|
||||
<ClInclude Include="..\..\src\include\cd32_fmv.h" />
|
||||
<ClInclude Include="..\..\src\include\cia.h" />
|
||||
<ClInclude Include="..\..\src\include\clipboard.h" />
|
||||
<ClInclude Include="..\..\src\include\commpipe.h" />
|
||||
<ClInclude Include="..\..\src\include\cputbl.h" />
|
||||
<ClInclude Include="..\..\src\include\cpummu.h" />
|
||||
<ClInclude Include="..\..\src\include\cpu_prefetch.h" />
|
||||
<ClInclude Include="..\..\src\include\crc32.h" />
|
||||
<ClInclude Include="..\..\src\include\custom.h" />
|
||||
<ClInclude Include="..\..\src\include\debug.h" />
|
||||
<ClInclude Include="..\..\src\include\devices.h" />
|
||||
<ClInclude Include="..\..\src\include\disk.h" />
|
||||
<ClInclude Include="..\..\src\include\diskutil.h" />
|
||||
<ClInclude Include="..\..\src\include\drawing.h" />
|
||||
<ClInclude Include="..\..\src\include\ersatz.h" />
|
||||
<ClInclude Include="..\..\src\include\events.h" />
|
||||
<ClInclude Include="..\..\src\include\execio.h" />
|
||||
<ClInclude Include="..\..\src\include\execlib.h" />
|
||||
<ClInclude Include="..\..\src\include\fdi2raw.h" />
|
||||
<ClInclude Include="..\..\src\include\filesys.h" />
|
||||
<ClInclude Include="..\..\src\include\flags_arm.h" />
|
||||
<ClInclude Include="..\..\src\include\fpp-ieee-be.h" />
|
||||
<ClInclude Include="..\..\src\include\fpp-unknown.h" />
|
||||
<ClInclude Include="..\..\src\include\flashrom.h" />
|
||||
<ClInclude Include="..\..\src\include\fpp.h" />
|
||||
<ClInclude Include="..\..\src\include\fsdb.h" />
|
||||
<ClInclude Include="..\..\src\include\fsusage.h" />
|
||||
<ClInclude Include="..\..\src\include\gayle.h" />
|
||||
<ClInclude Include="..\..\src\include\genblitter.h" />
|
||||
<ClInclude Include="..\..\src\include\gensound.h" />
|
||||
<ClInclude Include="..\..\src\include\gfxboard.h" />
|
||||
<ClInclude Include="..\..\src\include\gui.h" />
|
||||
<ClInclude Include="..\..\src\include\ide.h" />
|
||||
<ClInclude Include="..\..\src\include\inputdevice.h" />
|
||||
<ClInclude Include="..\..\src\include\keyboard.h" />
|
||||
<ClInclude Include="..\..\src\include\keybuf.h" />
|
||||
<ClInclude Include="..\..\src\include\mackbd.h" />
|
||||
<ClInclude Include="..\..\src\include\memory.h" />
|
||||
<ClInclude Include="..\..\src\include\mmu_common.h" />
|
||||
<ClInclude Include="..\..\src\include\native2amiga.h" />
|
||||
<ClInclude Include="..\..\src\include\native2amiga_api.h" />
|
||||
<ClInclude Include="..\..\src\include\newcpu.h" />
|
||||
<ClInclude Include="..\..\src\include\options.h" />
|
||||
<ClInclude Include="..\..\src\include\osemu.h" />
|
||||
<ClInclude Include="..\..\src\include\picasso96.h" />
|
||||
<ClInclude Include="..\..\src\include\readcpu.h" />
|
||||
<ClInclude Include="..\..\src\include\rommgr.h" />
|
||||
<ClInclude Include="..\..\src\include\rtc.h" />
|
||||
<ClInclude Include="..\..\src\include\rtgmodes.h" />
|
||||
<ClInclude Include="..\..\src\include\savestate.h" />
|
||||
<ClInclude Include="..\..\src\include\scsi.h" />
|
||||
<ClInclude Include="..\..\src\include\scsidev.h" />
|
||||
<ClInclude Include="..\..\src\include\statusline.h" />
|
||||
<ClInclude Include="..\..\src\include\sysdeps.h" />
|
||||
<ClInclude Include="..\..\src\include\traps.h" />
|
||||
<ClInclude Include="..\..\src\include\uae.h" />
|
||||
<ClInclude Include="..\..\src\include\uaeresource.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\attributes.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\cdrom.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\io.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\likely.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\mman.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\string.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\types.h" />
|
||||
<ClInclude Include="..\..\src\include\uae\vm.h" />
|
||||
<ClInclude Include="..\..\src\include\xwin.h" />
|
||||
<ClInclude Include="..\..\src\include\zarchive.h" />
|
||||
<ClInclude Include="..\..\src\include\zfile.h" />
|
||||
<ClInclude Include="..\..\src\jit\codegen_arm.h" />
|
||||
<ClInclude Include="..\..\src\jit\compemu.h" />
|
||||
<ClInclude Include="..\..\src\jit\compemu_midfunc_arm.h" />
|
||||
<ClInclude Include="..\..\src\jit\compemu_midfunc_arm2.h" />
|
||||
<ClInclude Include="..\..\src\jit\comptbl.h" />
|
||||
<ClInclude Include="..\..\src\machdep\m68k.h" />
|
||||
<ClInclude Include="..\..\src\machdep\maccess.h" />
|
||||
<ClInclude Include="..\..\src\machdep\md-fpp.h" />
|
||||
<ClInclude Include="..\..\src\machdep\rpt.h" />
|
||||
<ClInclude Include="..\..\src\osdep\amiberry_gfx.h" />
|
||||
<ClInclude Include="..\..\src\osdep\amiberry_rp9.h" />
|
||||
<ClInclude Include="..\..\src\osdep\cda_play.h" />
|
||||
<ClInclude Include="..\..\src\osdep\config.h" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\gui_handling.h" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\sdltruetypefont.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\SelectorEntry.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeCheckBox.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeDropDown.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeListBox.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\gui\UaeRadioButton.hpp" />
|
||||
<ClInclude Include="..\..\src\osdep\mp3decoder.h" />
|
||||
<ClInclude Include="..\..\src\osdep\pandora_rp9.h" />
|
||||
<ClInclude Include="..\..\src\osdep\picasso96.h" />
|
||||
<ClInclude Include="..\..\src\osdep\sysconfig.h" />
|
||||
<ClInclude Include="..\..\src\osdep\target.h" />
|
||||
<ClInclude Include="..\..\src\sounddep\sound.h" />
|
||||
<ClInclude Include="..\..\src\threaddep\thread.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,4 +0,0 @@
|
|||
Visual Studio solution using VisualGDB
|
||||
======================================
|
||||
You will need Visual Studio 2015 or later and VisualGDB (http://visualgdb.com/) installed to use this solution.
|
||||
This is configured to use cross compiling and remote debugging.
|
BIN
VisualGDB/VisualGDB/Debug/genlinetoscr
Normal file
17
VisualGDB/genblitter/Readme.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
This tool generates the following files:
|
||||
- blit.h
|
||||
- blitfunc.cpp
|
||||
- blitfunc.h
|
||||
- blittable.cpp
|
||||
|
||||
To use it, compile it for the target platform, then execute it there as follows:
|
||||
|
||||
genblitter.exe i > blit.h
|
||||
|
||||
genblitter.exe f > blitfunc.cpp
|
||||
|
||||
genblitter.exe h > blitfunc.h
|
||||
|
||||
genblitter.exe t > blittable.cpp
|
||||
|
||||
Copy the resulting files back in the "src" directory of Amiberry
|
169
VisualGDB/genblitter/genblitter-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,169 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>genblitter.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release-rpi2</ConfigurationName>
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
|
@ -15,36 +15,55 @@
|
|||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>true</SkipDeploymentTests>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<ProjectFile>genblitter.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
|
@ -76,6 +95,7 @@
|
|||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
|
@ -89,18 +109,20 @@
|
|||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/tmp/$(TargetFileName)</DeploymentTargetPath>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
|
@ -125,7 +147,12 @@
|
|||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
75
VisualGDB/genblitter/genblitter.vcxproj
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{619EFB8C-E41A-4058-B085-1B8CD22692DD}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;..\..\src\include;..\..\src;..\..\src\osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genblitter-Debug.vgdbsettings" />
|
||||
<None Include="genblitter-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\blitops.cpp" />
|
||||
<ClCompile Include="..\..\src\genblitter.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
40
VisualGDB/genblitter/genblitter.vcxproj.filters
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source files">
|
||||
<UniqueIdentifier>{afe8a49f-0586-4eea-b2ea-cc1c4567db36}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header files">
|
||||
<UniqueIdentifier>{4718ef87-4582-42a4-8469-11a35b5a4418}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource files">
|
||||
<UniqueIdentifier>{e9ba1ae1-6dab-41af-8b75-7c41100a7fc9}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="VisualGDB settings">
|
||||
<UniqueIdentifier>{c7346196-4f74-4afd-aa85-9da2661c7ab7}</UniqueIdentifier>
|
||||
<Extensions>*.vgdbsettings</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genblitter-Debug.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
<None Include="genblitter-Release.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genblitter.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\blitops.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
4
VisualGDB/genblitter/genblitter.vcxproj.user
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
7
VisualGDB/genlinetoscr/Readme.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
This tool generates the "linetoscr.cpp" file.
|
||||
|
||||
Compile it for the target system (e.g. Raspberry) then run it there as:
|
||||
|
||||
genlinetoscr > linetoscr.cpp
|
||||
|
||||
Copy the generated file back into the "src" directory.
|
168
VisualGDB/genlinetoscr/genlinetoscr-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,168 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>genlinetoscr.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release-rpi1</ConfigurationName>
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
|
@ -15,36 +15,54 @@
|
|||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>true</SkipDeploymentTests>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<ProjectFile>genlinetoscr.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
|
@ -76,6 +94,7 @@
|
|||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
|
@ -89,18 +108,20 @@
|
|||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/tmp/$(TargetFileName)</DeploymentTargetPath>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
|
@ -125,7 +146,12 @@
|
|||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
74
VisualGDB/genlinetoscr/genlinetoscr.vcxproj
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{883F2A00-8030-429B-AC7F-E930DDF9568F}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;=/usr/local/include/SDL2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;=/usr/local/include/SDL2;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genlinetoscr-Debug.vgdbsettings" />
|
||||
<None Include="genlinetoscr-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genlinetoscr.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
37
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.filters
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source files">
|
||||
<UniqueIdentifier>{19e139ec-d402-45d4-89fc-39f22443a95b}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header files">
|
||||
<UniqueIdentifier>{0a02e0a2-214b-4e9e-a7c5-0668ebf38e34}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource files">
|
||||
<UniqueIdentifier>{30f92ef0-a24c-49e2-9e92-906dcef4d050}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="VisualGDB settings">
|
||||
<UniqueIdentifier>{20bde34c-9e8e-42ee-83c1-c8c8143c7516}</UniqueIdentifier>
|
||||
<Extensions>*.vgdbsettings</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genlinetoscr-Debug.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
<None Include="genlinetoscr-Release.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genlinetoscr.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
4
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.user
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
149
VisualGDB/guisan/guisan-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,149 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>guisan.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
137
VisualGDB/guisan/guisan-Release.vgdbsettings
Normal file
|
@ -0,0 +1,137 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>guisan.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
197
VisualGDB/guisan/guisan.vcxproj
Normal file
|
@ -0,0 +1,197 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<GNUTargetType>StaticLibrary</GNUTargetType>
|
||||
<OutDir>$(SolutionDir)..\..\src\guisan\lib\</OutDir>
|
||||
<TargetName>lib$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<GNUTargetType>StaticLibrary</GNUTargetType>
|
||||
<OutDir>$(SolutionDir)..\..\src\guisan\lib\</OutDir>
|
||||
<TargetName>lib$(ProjectName)</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/opt/vc/include;=/opt/vc/include/interface/vcos/pthreads;=/opt/vc/include/interface/vmcs_host/linux;../../src/guisan/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;_REENTRANT;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/opt/vc/include;=/opt/vc/include/interface/vcos/pthreads;=/opt/vc/include/interface/vmcs_host/linux;../../src/guisan/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;_REENTRANT;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\guisan\src\actionevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\basiccontainer.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\cliprectangle.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\color.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\defaultfont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\event.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\exception.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\focushandler.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\font.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\genericinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\graphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\gui.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\guisan.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\image.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\imagefont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\inputevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\key.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\keyevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\keyinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\opengl.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglgraphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglimage.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\rectangle.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdl.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlgraphics.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimage.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimageloader.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlinput.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdltruetypefont.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\selectionevent.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widget.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\button.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\checkbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\container.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\dropdown.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\icon.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\imagebutton.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\label.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\listbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\progressbar.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\radiobutton.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\scrollarea.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\slider.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tab.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tabbedarea.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textbox.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textfield.cpp" />
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\window.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<None Include="guisan-Debug.vgdbsettings" />
|
||||
<None Include="guisan-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\basiccontainer.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\cliprectangle.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\color.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\deathlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\defaultfont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\event.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\exception.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focushandler.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focuslistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\font.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\genericinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\glut.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\graphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\gui.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\image.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imagefont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\input.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\inputevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\key.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keylistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\listmodel.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouselistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglgraphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglimage.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglsdlimageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\platform.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\rectangle.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlgraphics.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimage.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimageloader.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlinput.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlpixel.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdltruetypefont.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionevent.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widget.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgetlistener.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\button.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\checkbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\container.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\dropdown.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\icon.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\imagebutton.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\label.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\listbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\progressbar.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\radiobutton.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\scrollarea.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\slider.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tab.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tabbedarea.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textbox.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textfield.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\window.hpp" />
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\x.hpp" />
|
||||
</ItemGroup>
|
||||
</Project>
|
397
VisualGDB/guisan/guisan.vcxproj.filters
Normal file
|
@ -0,0 +1,397 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source files">
|
||||
<UniqueIdentifier>{f5296e0a-029c-48df-8602-bfaa9a5323b4}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource files">
|
||||
<UniqueIdentifier>{67df271e-9feb-49e4-8a09-10136b22cf53}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="VisualGDB settings">
|
||||
<UniqueIdentifier>{bf2ced4b-3c31-47dd-ad52-ed2ce362c913}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source files\opengl">
|
||||
<UniqueIdentifier>{c587368c-05e4-4112-8fa3-b67623d469ff}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source files\sdl">
|
||||
<UniqueIdentifier>{fe50fca5-4072-4832-bee8-1839308324d2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source files\widgets">
|
||||
<UniqueIdentifier>{bbd41029-30e0-4bf9-9217-2c5f3d9d847e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header files">
|
||||
<UniqueIdentifier>{265d2c93-6729-4454-9205-d32234995971}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header files\guisan">
|
||||
<UniqueIdentifier>{cf6c4dda-c8e0-4f50-8a65-a8fbd9796c62}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header files\guisan\opengl">
|
||||
<UniqueIdentifier>{d8d6bb85-3423-4047-9b28-f08fc4969a77}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header files\guisan\sdl">
|
||||
<UniqueIdentifier>{cc2572e2-eafa-4be7-afdf-10cb5b4f9d08}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header files\guisan\widgets">
|
||||
<UniqueIdentifier>{8925d54e-e927-41ea-8347-a90faa63124b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="guisan-Debug.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
<None Include="guisan-Release.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\guisan\src\actionevent.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\basiccontainer.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\cliprectangle.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\color.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\defaultfont.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\event.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\exception.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\focushandler.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\font.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\genericinput.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\graphics.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\gui.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\guisan.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\image.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\imagefont.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\inputevent.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\key.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\keyevent.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\keyinput.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseevent.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\mouseinput.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\rectangle.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\selectionevent.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widget.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\opengl.cpp">
|
||||
<Filter>Source files\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglgraphics.cpp">
|
||||
<Filter>Source files\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\opengl\openglimage.cpp">
|
||||
<Filter>Source files\opengl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdl.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlgraphics.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimage.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlimageloader.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdlinput.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\sdl\sdltruetypefont.cpp">
|
||||
<Filter>Source files\sdl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\button.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\checkbox.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\container.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\dropdown.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\icon.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\imagebutton.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\label.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\listbox.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\radiobutton.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\scrollarea.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\slider.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tab.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\tabbedarea.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textbox.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\textfield.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\window.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\guisan\src\widgets\progressbar.cpp">
|
||||
<Filter>Source files\widgets</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan.hpp">
|
||||
<Filter>Header files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionevent.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\actionlistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\basiccontainer.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\cliprectangle.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\color.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\deathlistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\defaultfont.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\event.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\exception.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focushandler.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\focuslistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\font.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\genericinput.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\glut.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\graphics.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\gui.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\image.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imagefont.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\imageloader.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\input.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\inputevent.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\key.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyevent.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keyinput.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\keylistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\listmodel.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseevent.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouseinput.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\mouselistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\platform.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\rectangle.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionevent.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\selectionlistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widget.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgetlistener.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\x.hpp">
|
||||
<Filter>Header files\guisan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglgraphics.hpp">
|
||||
<Filter>Header files\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglimage.hpp">
|
||||
<Filter>Header files\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\opengl\openglsdlimageloader.hpp">
|
||||
<Filter>Header files\guisan\opengl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlgraphics.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimage.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlimageloader.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlinput.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdlpixel.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\sdl\sdltruetypefont.hpp">
|
||||
<Filter>Header files\guisan\sdl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\button.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\checkbox.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\container.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\dropdown.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\icon.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\imagebutton.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\label.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\listbox.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\radiobutton.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\scrollarea.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\slider.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tab.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\tabbedarea.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textbox.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\textfield.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\window.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\guisan\include\guisan\widgets\progressbar.hpp">
|
||||
<Filter>Header files\guisan\widgets</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
BIN
banner.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
data/AmigaTopaz.ttf
Normal file
BIN
data/Topaznew.ttf
Normal file
BIN
data/amiberry-logo.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
data/amigainfo.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/controller.png
Normal file
After Width: | Height: | Size: 665 B |
BIN
data/cursor-x2.bmp
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
data/cursor.bmp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
data/delete.png
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 597 B |
BIN
data/quickstart.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 528 B |
BIN
icon.png
Normal file
After Width: | Height: | Size: 130 KiB |
1
nbproject/private/Pi3_Debug.properties
Normal file
|
@ -0,0 +1 @@
|
|||
/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/osdep/gui/PanelInput.cpp=/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats#-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard -I/usr/include/libxml2 -DCPU_arm -DARMV6_ASSEMBLY -DWITH_INGAME_WARNING -DUSE_SDL -DARMV6T2 -DUSE_ARMNEON -DRASPBERRY -DCAPSLOCK_DEBIAN_WORKAROUND -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Wno-unused -Wno-format "-DGCCCONSTFUNC=__attribute__((const))" -mstructure-size-boundary=32 -falign-functions=32 -std=gnu++14 -g -rdynamic -funwind-tables -mapcs-frame -DDEBUG -Wl,--export-dynamic -c src/osdep/gui/PanelInput.cpp -o src/osdep/gui/PanelInput.o
|
|
@ -2,6 +2,8 @@
|
|||
<configurationDescriptor version="100">
|
||||
<logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
|
||||
<df root="." name="0">
|
||||
<df name="_Archived Items">
|
||||
</df>
|
||||
<df name="conf">
|
||||
</df>
|
||||
<df name="data">
|
||||
|
@ -31,21 +33,72 @@
|
|||
<in>7zItem.h</in>
|
||||
</df>
|
||||
</df>
|
||||
<in>7z.h</in>
|
||||
<in>7zAlloc.cpp</in>
|
||||
<in>7zAlloc.h</in>
|
||||
<in>7zBuf.cpp</in>
|
||||
<in>7zBuf.h</in>
|
||||
<in>7zBuf2.c</in>
|
||||
<in>7zCrc.cpp</in>
|
||||
<in>7zCrc.h</in>
|
||||
<in>7zCrcOpt.cpp</in>
|
||||
<in>7zDec.cpp</in>
|
||||
<in>7zFile.c</in>
|
||||
<in>7zFile.h</in>
|
||||
<in>7zIn.cpp</in>
|
||||
<in>7zStream.cpp</in>
|
||||
<in>7zVersion.h</in>
|
||||
<in>Alloc.c</in>
|
||||
<in>Alloc.h</in>
|
||||
<in>Bcj2.cpp</in>
|
||||
<in>Bcj2.h</in>
|
||||
<in>Bra.cpp</in>
|
||||
<in>Bra.h</in>
|
||||
<in>Bra86.cpp</in>
|
||||
<in>BraIA64.c</in>
|
||||
<in>CpuArch.c</in>
|
||||
<in>CpuArch.h</in>
|
||||
<in>Delta.c</in>
|
||||
<in>Delta.h</in>
|
||||
<in>LzFind.cpp</in>
|
||||
<in>LzFind.h</in>
|
||||
<in>LzFindMt.c</in>
|
||||
<in>LzFindMt.h</in>
|
||||
<in>LzHash.h</in>
|
||||
<in>Lzma2Dec.cpp</in>
|
||||
<in>Lzma2Dec.h</in>
|
||||
<in>Lzma2Enc.c</in>
|
||||
<in>Lzma2Enc.h</in>
|
||||
<in>Lzma86.h</in>
|
||||
<in>Lzma86Dec.c</in>
|
||||
<in>Lzma86Enc.c</in>
|
||||
<in>LzmaDec.cpp</in>
|
||||
<in>LzmaDec.h</in>
|
||||
<in>LzmaEnc.cpp</in>
|
||||
<in>LzmaEnc.h</in>
|
||||
<in>LzmaLib.c</in>
|
||||
<in>LzmaLib.h</in>
|
||||
<in>MtCoder.c</in>
|
||||
<in>MtCoder.h</in>
|
||||
<in>Ppmd.h</in>
|
||||
<in>Ppmd7.c</in>
|
||||
<in>Ppmd7.h</in>
|
||||
<in>Ppmd7Dec.c</in>
|
||||
<in>Ppmd7Enc.c</in>
|
||||
<in>RotateDefs.h</in>
|
||||
<in>Sha256.c</in>
|
||||
<in>Sha256.h</in>
|
||||
<in>Threads.c</in>
|
||||
<in>Threads.h</in>
|
||||
<in>Types.h</in>
|
||||
<in>Xz.cpp</in>
|
||||
<in>Xz.h</in>
|
||||
<in>XzCrc64.c</in>
|
||||
<in>XzCrc64.h</in>
|
||||
<in>XzDec.c</in>
|
||||
<in>XzEnc.c</in>
|
||||
<in>XzEnc.h</in>
|
||||
<in>XzIn.c</in>
|
||||
</df>
|
||||
<df name="dms">
|
||||
<in>cdata.h</in>
|
||||
|
@ -90,6 +143,10 @@
|
|||
<df name="lzx">
|
||||
<in>unlzx.cpp</in>
|
||||
</df>
|
||||
<df name="mp2">
|
||||
<in>kjmp2.cpp</in>
|
||||
<in>kjmp2.h</in>
|
||||
</df>
|
||||
<df name="wrp">
|
||||
<in>warp.cpp</in>
|
||||
<in>warp.h</in>
|
||||
|
@ -100,7 +157,18 @@
|
|||
</df>
|
||||
</df>
|
||||
<df name="include">
|
||||
<df name="uae">
|
||||
<in>attributes.h</in>
|
||||
<in>cdrom.h</in>
|
||||
<in>io.h</in>
|
||||
<in>likely.h</in>
|
||||
<in>mman.h</in>
|
||||
<in>string.h</in>
|
||||
<in>types.h</in>
|
||||
<in>vm.h</in>
|
||||
</df>
|
||||
<in>akiko.h</in>
|
||||
<in>ar.h</in>
|
||||
<in>audio.h</in>
|
||||
<in>autoconf.h</in>
|
||||
<in>blit.h</in>
|
||||
|
@ -109,14 +177,17 @@
|
|||
<in>blkdev.h</in>
|
||||
<in>bsdsocket.h</in>
|
||||
<in>calc.h</in>
|
||||
<in>cd32_fmv.h</in>
|
||||
<in>cia.h</in>
|
||||
<in>clipboard.h</in>
|
||||
<in>commpipe.h</in>
|
||||
<in>cpu_prefetch.h</in>
|
||||
<in>cpummu.h</in>
|
||||
<in>cputbl.h</in>
|
||||
<in>crc32.h</in>
|
||||
<in>custom.h</in>
|
||||
<in>debug.h</in>
|
||||
<in>devices.h</in>
|
||||
<in>disk.h</in>
|
||||
<in>diskutil.h</in>
|
||||
<in>drawing.h</in>
|
||||
|
@ -124,21 +195,27 @@
|
|||
<in>events.h</in>
|
||||
<in>execio.h</in>
|
||||
<in>execlib.h</in>
|
||||
<in>fdi2raw.h</in>
|
||||
<in>filesys.h</in>
|
||||
<in>flags_arm.h</in>
|
||||
<in>flashrom.h</in>
|
||||
<in>fpp-ieee-be.h</in>
|
||||
<in>fpp-unknown.h</in>
|
||||
<in>fpp.h</in>
|
||||
<in>fsdb.h</in>
|
||||
<in>fsusage.h</in>
|
||||
<in>gayle.h</in>
|
||||
<in>genblitter.h</in>
|
||||
<in>gensound.h</in>
|
||||
<in>gfxboard.h</in>
|
||||
<in>gui.h</in>
|
||||
<in>ide.h</in>
|
||||
<in>inputdevice.h</in>
|
||||
<in>keyboard.h</in>
|
||||
<in>keybuf.h</in>
|
||||
<in>mackbd.h</in>
|
||||
<in>memory.h</in>
|
||||
<in>mmu_common.h</in>
|
||||
<in>native2amiga.h</in>
|
||||
<in>native2amiga_api.h</in>
|
||||
<in>newcpu.h</in>
|
||||
|
@ -147,6 +224,7 @@
|
|||
<in>picasso96.h</in>
|
||||
<in>readcpu.h</in>
|
||||
<in>rommgr.h</in>
|
||||
<in>rtc.h</in>
|
||||
<in>rtgmodes.h</in>
|
||||
<in>savestate.h</in>
|
||||
<in>scsi.h</in>
|
||||
|
@ -170,6 +248,7 @@
|
|||
<in>compemu_midfunc_arm.h</in>
|
||||
<in>compemu_midfunc_arm2.cpp</in>
|
||||
<in>compemu_midfunc_arm2.h</in>
|
||||
<in>compemu_prefs.cpp</in>
|
||||
<in>compemu_support.cpp</in>
|
||||
<in>compstbl.cpp</in>
|
||||
<in>comptbl.h</in>
|
||||
|
@ -201,12 +280,14 @@
|
|||
<in>PanelCPU.cpp</in>
|
||||
<in>PanelChipset.cpp</in>
|
||||
<in>PanelConfig.cpp</in>
|
||||
<in>PanelCustom.cpp</in>
|
||||
<in>PanelDisplay.cpp</in>
|
||||
<in>PanelFloppy.cpp</in>
|
||||
<in>PanelHD.cpp</in>
|
||||
<in>PanelInput.cpp</in>
|
||||
<in>PanelMisc.cpp</in>
|
||||
<in>PanelPaths.cpp</in>
|
||||
<in>PanelQuickstart.cpp</in>
|
||||
<in>PanelRAM.cpp</in>
|
||||
<in>PanelROM.cpp</in>
|
||||
<in>PanelSavestate.cpp</in>
|
||||
|
@ -215,6 +296,7 @@
|
|||
<in>SelectFolder.cpp</in>
|
||||
<in>SelectorEntry.cpp</in>
|
||||
<in>SelectorEntry.hpp</in>
|
||||
<in>ShowHelp.cpp</in>
|
||||
<in>ShowMessage.cpp</in>
|
||||
<in>UaeCheckBox.cpp</in>
|
||||
<in>UaeCheckBox.hpp</in>
|
||||
|
@ -253,12 +335,23 @@
|
|||
<in>pandora_rp9.cpp</in>
|
||||
<in>pandora_rp9.h</in>
|
||||
<in>picasso96.cpp</in>
|
||||
<in>picasso96.h</in>
|
||||
<in>rasp_gfx.cpp</in>
|
||||
<in>raspi_input.cpp</in>
|
||||
<in>sigsegv_handler.cpp</in>
|
||||
<in>sysconfig.h</in>
|
||||
<in>target.h</in>
|
||||
<in>writelog.cpp</in>
|
||||
</df>
|
||||
<df name="softfloat">
|
||||
<in>softfloat-macros.h</in>
|
||||
<in>softfloat-specialize.h</in>
|
||||
<in>softfloat.cpp</in>
|
||||
<in>softfloat.h</in>
|
||||
<in>softfloat_decimal.cpp</in>
|
||||
<in>softfloat_fpsp.cpp</in>
|
||||
<in>softfloat_fpsp_tables.h</in>
|
||||
</df>
|
||||
<df name="sounddep">
|
||||
<in>sound.cpp</in>
|
||||
<in>sound.h</in>
|
||||
|
@ -268,10 +361,13 @@
|
|||
<in>thread.h</in>
|
||||
</df>
|
||||
<in>akiko.cpp</in>
|
||||
<in>ar.cpp</in>
|
||||
<in>aros.rom.cpp</in>
|
||||
<in>audio.cpp</in>
|
||||
<in>autoconf.cpp</in>
|
||||
<in>blit.h</in>
|
||||
<in>blitfunc.cpp</in>
|
||||
<in>blitfunc.h</in>
|
||||
<in>blitops.cpp</in>
|
||||
<in>blittable.cpp</in>
|
||||
<in>blitter.cpp</in>
|
||||
|
@ -280,6 +376,8 @@
|
|||
<in>bsdsocket.cpp</in>
|
||||
<in>build68k.cpp</in>
|
||||
<in>calc.cpp</in>
|
||||
<in>cd32_fmv.cpp</in>
|
||||
<in>cd32_fmv_genlock.cpp</in>
|
||||
<in>cdrom.cpp</in>
|
||||
<in>cfgfile.cpp</in>
|
||||
<in>cia.cpp</in>
|
||||
|
@ -287,30 +385,43 @@
|
|||
<in>cpuemu_0.cpp</in>
|
||||
<in>cpuemu_11.cpp</in>
|
||||
<in>cpuemu_4.cpp</in>
|
||||
<in>cpuemu_40.cpp</in>
|
||||
<in>cpuemu_44.cpp</in>
|
||||
<in>cpustbl.cpp</in>
|
||||
<in>cputbl.h</in>
|
||||
<in>crc32.cpp</in>
|
||||
<in>custom.cpp</in>
|
||||
<in>def_icons.cpp</in>
|
||||
<in>devices.cpp</in>
|
||||
<in>disk.cpp</in>
|
||||
<in>diskutil.cpp</in>
|
||||
<in>drawing.cpp</in>
|
||||
<in>events.cpp</in>
|
||||
<in>expansion.cpp</in>
|
||||
<in>fdi2raw.cpp</in>
|
||||
<in>filesys.asm</in>
|
||||
<in>filesys.cpp</in>
|
||||
<in>filesys_bootrom.cpp</in>
|
||||
<in>flashrom.cpp</in>
|
||||
<in>fpp.cpp</in>
|
||||
<in>fpp_native.cpp</in>
|
||||
<in>fpp_softfloat.cpp</in>
|
||||
<in>fsdb.cpp</in>
|
||||
<in>fsdb_unix.cpp</in>
|
||||
<in>fsusage.cpp</in>
|
||||
<in>gayle.cpp</in>
|
||||
<in>genblitter.cpp</in>
|
||||
<in>gencpu.cpp</in>
|
||||
<in>gfxboard.cpp</in>
|
||||
<in>gfxutil.cpp</in>
|
||||
<in>hardfile.cpp</in>
|
||||
<in>hrtmon.rom.cpp</in>
|
||||
<in>ide.cpp</in>
|
||||
<in>inputdevice.cpp</in>
|
||||
<in>inputevents.def</in>
|
||||
<in>keybuf.cpp</in>
|
||||
<in>linetoscr.c</in>
|
||||
<in>linetoscr.cpp</in>
|
||||
<in>main.cpp</in>
|
||||
<in>memory.cpp</in>
|
||||
<in>native2amiga.cpp</in>
|
||||
|
@ -319,7 +430,9 @@
|
|||
<in>p96_blit.cpp</in>
|
||||
<in>readcpu.cpp</in>
|
||||
<in>rommgr.cpp</in>
|
||||
<in>rtc.cpp</in>
|
||||
<in>savestate.cpp</in>
|
||||
<in>scsi.cpp</in>
|
||||
<in>sinctable.cpp</in>
|
||||
<in>statusline.cpp</in>
|
||||
<in>trace.c</in>
|
||||
|
@ -332,8 +445,6 @@
|
|||
<df name="VisualGDB">
|
||||
<df name="Amiberry">
|
||||
</df>
|
||||
<df name="Amiberry-gles">
|
||||
</df>
|
||||
</df>
|
||||
<df name="VSLinux">
|
||||
</df>
|
||||
|
@ -341,9 +452,9 @@
|
|||
</logicalFolder>
|
||||
<projectmakefile>Makefile</projectmakefile>
|
||||
<confs>
|
||||
<conf name="Pi2_Debug" type="0">
|
||||
<conf name="Pi3_Debug" type="0">
|
||||
<toolsSet>
|
||||
<developmentServer>pi@retropie:22</developmentServer>
|
||||
<developmentServer>pi@cd32.home:22</developmentServer>
|
||||
<platform>2</platform>
|
||||
</toolsSet>
|
||||
<compile>
|
||||
|
@ -387,9 +498,9 @@
|
|||
</environment>
|
||||
</runprofile>
|
||||
</conf>
|
||||
<conf name="Pi2_Release" type="0">
|
||||
<conf name="Pi3_Release" type="0">
|
||||
<toolsSet>
|
||||
<developmentServer>pi@retropie:22</developmentServer>
|
||||
<developmentServer>pi@cd32.home:22</developmentServer>
|
||||
<platform>2</platform>
|
||||
</toolsSet>
|
||||
<compile>
|
||||
|
|
|
@ -2,10 +2,26 @@
|
|||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<data xmlns="http://www.netbeans.org/ns/make-project-private/1">
|
||||
<activeConfTypeElem>0</activeConfTypeElem>
|
||||
<activeConfIndexElem>0</activeConfIndexElem>
|
||||
<activeConfIndexElem>1</activeConfIndexElem>
|
||||
</data>
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="1">
|
||||
<file>
|
||||
<url>src/osdep/gui/ShowMessage.cpp</url>
|
||||
<bookmark id="1">
|
||||
<name/>
|
||||
<line>98</line>
|
||||
<key/>
|
||||
</bookmark>
|
||||
</file>
|
||||
</editor-bookmarks>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group/>
|
||||
<group>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/custom.cpp</file>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/include/options.h</file>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/osdep/gui/PanelInput.cpp</file>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/include/inputdevice.h</file>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/cfgfile.cpp</file>
|
||||
<file>file:/Users/horaceandthespider/Documents/Geek/Amiberry/amiberry-hats/src/inputdevice.cpp</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
||||
|
|
23
nbproject/private/tools/localhost/GNU/g++
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#set -x
|
||||
real_tool=/usr/bin/g++
|
||||
if [ -n "${__CND_BUILD_LOG__}" ]; then
|
||||
OS=`uname`;
|
||||
if [ $OS = Darwin -o $OS = FreeBSD ]; then
|
||||
__CND_TEMP_FILE__=`mktemp -t nbwrapper`
|
||||
else
|
||||
__CND_TEMP_FILE__=`mktemp`
|
||||
fi
|
||||
echo "called: ${real_tool}" > ${__CND_TEMP_FILE__}
|
||||
echo "\t`pwd`" >> ${__CND_TEMP_FILE__}
|
||||
echo "\t${real_tool}" >> ${__CND_TEMP_FILE__}
|
||||
for opt in "$@"; do
|
||||
echo "\t${opt}" >> ${__CND_TEMP_FILE__}
|
||||
done
|
||||
echo >> ${__CND_TEMP_FILE__}
|
||||
cat ${__CND_TEMP_FILE__} >> ${__CND_BUILD_LOG__}
|
||||
rm ${__CND_TEMP_FILE__}
|
||||
fi
|
||||
PATH=`dirname "${real_tool}"`:${PATH}
|
||||
export PATH
|
||||
exec "${real_tool}" "$@"
|
23
nbproject/private/tools/localhost/GNU/gcc
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#set -x
|
||||
real_tool=/usr/bin/gcc
|
||||
if [ -n "${__CND_BUILD_LOG__}" ]; then
|
||||
OS=`uname`;
|
||||
if [ $OS = Darwin -o $OS = FreeBSD ]; then
|
||||
__CND_TEMP_FILE__=`mktemp -t nbwrapper`
|
||||
else
|
||||
__CND_TEMP_FILE__=`mktemp`
|
||||
fi
|
||||
echo "called: ${real_tool}" > ${__CND_TEMP_FILE__}
|
||||
echo "\t`pwd`" >> ${__CND_TEMP_FILE__}
|
||||
echo "\t${real_tool}" >> ${__CND_TEMP_FILE__}
|
||||
for opt in "$@"; do
|
||||
echo "\t${opt}" >> ${__CND_TEMP_FILE__}
|
||||
done
|
||||
echo >> ${__CND_TEMP_FILE__}
|
||||
cat ${__CND_TEMP_FILE__} >> ${__CND_BUILD_LOG__}
|
||||
rm ${__CND_TEMP_FILE__}
|
||||
fi
|
||||
PATH=`dirname "${real_tool}"`:${PATH}
|
||||
export PATH
|
||||
exec "${real_tool}" "$@"
|
23
nbproject/private/tools/pi_cd32.home_22/GNU/g++
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#set -x
|
||||
real_tool=/usr/bin/g++
|
||||
if [ -n "${__CND_BUILD_LOG__}" ]; then
|
||||
OS=`uname`;
|
||||
if [ $OS = Darwin -o $OS = FreeBSD ]; then
|
||||
__CND_TEMP_FILE__=`mktemp -t nbwrapper`
|
||||
else
|
||||
__CND_TEMP_FILE__=`mktemp`
|
||||
fi
|
||||
echo "called: ${real_tool}" > ${__CND_TEMP_FILE__}
|
||||
echo "\t`pwd`" >> ${__CND_TEMP_FILE__}
|
||||
echo "\t${real_tool}" >> ${__CND_TEMP_FILE__}
|
||||
for opt in "$@"; do
|
||||
echo "\t${opt}" >> ${__CND_TEMP_FILE__}
|
||||
done
|
||||
echo >> ${__CND_TEMP_FILE__}
|
||||
cat ${__CND_TEMP_FILE__} >> ${__CND_BUILD_LOG__}
|
||||
rm ${__CND_TEMP_FILE__}
|
||||
fi
|
||||
PATH=`dirname "${real_tool}"`:${PATH}
|
||||
export PATH
|
||||
exec "${real_tool}" "$@"
|
23
nbproject/private/tools/pi_cd32.home_22/GNU/gcc
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#set -x
|
||||
real_tool=/usr/bin/gcc
|
||||
if [ -n "${__CND_BUILD_LOG__}" ]; then
|
||||
OS=`uname`;
|
||||
if [ $OS = Darwin -o $OS = FreeBSD ]; then
|
||||
__CND_TEMP_FILE__=`mktemp -t nbwrapper`
|
||||
else
|
||||
__CND_TEMP_FILE__=`mktemp`
|
||||
fi
|
||||
echo "called: ${real_tool}" > ${__CND_TEMP_FILE__}
|
||||
echo "\t`pwd`" >> ${__CND_TEMP_FILE__}
|
||||
echo "\t${real_tool}" >> ${__CND_TEMP_FILE__}
|
||||
for opt in "$@"; do
|
||||
echo "\t${opt}" >> ${__CND_TEMP_FILE__}
|
||||
done
|
||||
echo >> ${__CND_TEMP_FILE__}
|
||||
cat ${__CND_TEMP_FILE__} >> ${__CND_BUILD_LOG__}
|
||||
rm ${__CND_TEMP_FILE__}
|
||||
fi
|
||||
PATH=`dirname "${real_tool}"`:${PATH}
|
||||
export PATH
|
||||
exec "${real_tool}" "$@"
|
1
nbproject/project.properties
Normal file
|
@ -0,0 +1 @@
|
|||
#Sat Sep 30 18:59:28 BST 2017
|
|
@ -14,11 +14,11 @@
|
|||
</sourceRootList>
|
||||
<confList>
|
||||
<confElem>
|
||||
<name>Pi2_Debug</name>
|
||||
<name>Pi3_Debug</name>
|
||||
<type>0</type>
|
||||
</confElem>
|
||||
<confElem>
|
||||
<name>Pi2_Release</name>
|
||||
<name>Pi3_Release</name>
|
||||
<type>0</type>
|
||||
</confElem>
|
||||
</confList>
|
||||
|
|
917
src/akiko.cpp
138
src/aks.def
Normal file
|
@ -0,0 +1,138 @@
|
|||
|
||||
AKS(ENTERGUI)
|
||||
AKS(SCREENSHOT_FILE)
|
||||
AKS(SCREENSHOT_CLIPBOARD)
|
||||
AKS(FREEZEBUTTON)
|
||||
AKS(FLOPPY0)
|
||||
AKS(FLOPPY1)
|
||||
AKS(FLOPPY2)
|
||||
AKS(FLOPPY3)
|
||||
AKS(EFLOPPY0)
|
||||
AKS(EFLOPPY1)
|
||||
AKS(EFLOPPY2)
|
||||
AKS(EFLOPPY3)
|
||||
AKS(TOGGLEDEFAULTSCREEN)
|
||||
AKS(TOGGLEWINDOWEDFULLSCREEN)
|
||||
AKS(TOGGLEFULLWINDOWFULLSCREEN)
|
||||
AKS(TOGGLEWINDOWFULLWINDOW)
|
||||
AKS(ENTERDEBUGGER)
|
||||
AKS(IRQ7)
|
||||
AKS(PAUSE)
|
||||
AKS(SINGLESTEP)
|
||||
AKS(WARP)
|
||||
AKS(INHIBITSCREEN)
|
||||
AKS(STATEREWIND)
|
||||
AKS(STATECURRENT)
|
||||
AKS(STATECAPTURE)
|
||||
AKS(VIDEORECORD)
|
||||
AKS(VOLDOWN)
|
||||
AKS(VOLUP)
|
||||
AKS(VOLMUTE)
|
||||
AKS(MVOLDOWN)
|
||||
AKS(MVOLUP)
|
||||
AKS(MVOLMUTE)
|
||||
AKS(QUIT)
|
||||
AKS(HARDRESET)
|
||||
AKS(SOFTRESET)
|
||||
AKS(STATESAVEQUICK)
|
||||
AKS(STATERESTOREQUICK)
|
||||
AKS(STATESAVEQUICK1)
|
||||
AKS(STATERESTOREQUICK1)
|
||||
AKS(STATESAVEQUICK2)
|
||||
AKS(STATERESTOREQUICK2)
|
||||
AKS(STATESAVEQUICK3)
|
||||
AKS(STATERESTOREQUICK3)
|
||||
AKS(STATESAVEQUICK4)
|
||||
AKS(STATERESTOREQUICK4)
|
||||
AKS(STATESAVEQUICK5)
|
||||
AKS(STATERESTOREQUICK5)
|
||||
AKS(STATESAVEQUICK6)
|
||||
AKS(STATERESTOREQUICK6)
|
||||
AKS(STATESAVEQUICK7)
|
||||
AKS(STATERESTOREQUICK7)
|
||||
AKS(STATESAVEQUICK8)
|
||||
AKS(STATERESTOREQUICK8)
|
||||
AKS(STATESAVEQUICK9)
|
||||
AKS(STATERESTOREQUICK9)
|
||||
AKS(STATESAVEDIALOG)
|
||||
AKS(STATERESTOREDIALOG)
|
||||
AKS(DECREASEREFRESHRATE)
|
||||
AKS(INCREASEREFRESHRATE)
|
||||
AKS(ARCADIADIAGNOSTICS)
|
||||
AKS(ARCADIAPLY1)
|
||||
AKS(ARCADIAPLY2)
|
||||
AKS(ARCADIACOIN1)
|
||||
AKS(ARCADIACOIN2)
|
||||
AKS(ALGSERVICE)
|
||||
AKS(ALGLSTART)
|
||||
AKS(ALGRSTART)
|
||||
AKS(ALGLCOIN)
|
||||
AKS(ALGRCOIN)
|
||||
AKS(ALGLTRIGGER)
|
||||
AKS(ALGRTRIGGER)
|
||||
AKS(ALGLHOLSTER)
|
||||
AKS(ALGRHOLSTER)
|
||||
AKS(TOGGLEMOUSEGRAB)
|
||||
AKS(SWITCHINTERPOL)
|
||||
AKS(INPUT_CONFIG_1)
|
||||
AKS(INPUT_CONFIG_2)
|
||||
AKS(INPUT_CONFIG_3)
|
||||
AKS(INPUT_CONFIG_4)
|
||||
AKS(SWAPJOYPORTS)
|
||||
AKS(PASTE)
|
||||
AKS(DISKSWAPPER_NEXT)
|
||||
AKS(DISKSWAPPER_PREV)
|
||||
AKS(DISKSWAPPER_INSERT0)
|
||||
AKS(DISKSWAPPER_INSERT1)
|
||||
AKS(DISKSWAPPER_INSERT2)
|
||||
AKS(DISKSWAPPER_INSERT3)
|
||||
AKS(DISK_PREV0)
|
||||
AKS(DISK_PREV1)
|
||||
AKS(DISK_PREV2)
|
||||
AKS(DISK_PREV3)
|
||||
AKS(DISK_NEXT0)
|
||||
AKS(DISK_NEXT1)
|
||||
AKS(DISK_NEXT2)
|
||||
AKS(DISK_NEXT3)
|
||||
AKS(RTG_PREV)
|
||||
AKS(RTG_NEXT)
|
||||
AKS(RTG_C)
|
||||
AKS(RTG_0)
|
||||
AKS(RTG_1)
|
||||
AKS(RTG_2)
|
||||
AKS(RTG_3)
|
||||
AKS(CDTV_FRONT_PANEL_STOP)
|
||||
AKS(CDTV_FRONT_PANEL_PLAYPAUSE)
|
||||
AKS(CDTV_FRONT_PANEL_PREV)
|
||||
AKS(CDTV_FRONT_PANEL_NEXT)
|
||||
AKS(CDTV_FRONT_PANEL_REW)
|
||||
AKS(CDTV_FRONT_PANEL_FF)
|
||||
AKS(VIDEOGRAB_RESTART)
|
||||
AKS(VIDEOGRAB_PAUSE)
|
||||
AKS(VIDEOGRAB_PREV)
|
||||
AKS(VIDEOGRAB_NEXT)
|
||||
AKS(QUALIFIER1)
|
||||
AKS(QUALIFIER2)
|
||||
AKS(QUALIFIER3)
|
||||
AKS(QUALIFIER4)
|
||||
AKS(QUALIFIER5)
|
||||
AKS(QUALIFIER6)
|
||||
AKS(QUALIFIER7)
|
||||
AKS(QUALIFIER8)
|
||||
AKS(QUALIFIER_SPECIAL)
|
||||
AKS(QUALIFIER_SHIFT)
|
||||
AKS(QUALIFIER_CONTROL)
|
||||
AKS(QUALIFIER_ALT)
|
||||
AKS(QUALIFIER_WIN)
|
||||
AKS(CUBOTOUCH)
|
||||
AKS(CUBOTEST)
|
||||
AKS(CUBOCOIN1)
|
||||
AKS(CUBOCOIN2)
|
||||
AKS(CUBOCOIN3)
|
||||
AKS(CUBOCOIN4)
|
||||
AKS(MOUSEMAP_PORT0_LEFT)
|
||||
AKS(MOUSEMAP_PORT0_RIGHT)
|
||||
AKS(MOUSEMAP_PORT1_LEFT)
|
||||
AKS(MOUSEMAP_PORT1_RIGHT)
|
||||
AKS(MOUSE_SPEED_DOWN)
|
||||
AKS(MOUSE_SPEED_UP)
|
2205
src/ar.cpp
Normal file
203
src/archivers/7z/7z.h
Normal file
|
@ -0,0 +1,203 @@
|
|||
/* 7z.h -- 7z interface
|
||||
2010-03-11 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_H
|
||||
#define __7Z_H
|
||||
|
||||
#include "7zBuf.h"
|
||||
|
||||
EXTERN_C_BEGIN
|
||||
|
||||
#define k7zStartHeaderSize 0x20
|
||||
#define k7zSignatureSize 6
|
||||
extern Byte k7zSignature[k7zSignatureSize];
|
||||
#define k7zMajorVersion 0
|
||||
|
||||
enum EIdEnum
|
||||
{
|
||||
k7zIdEnd,
|
||||
k7zIdHeader,
|
||||
k7zIdArchiveProperties,
|
||||
k7zIdAdditionalStreamsInfo,
|
||||
k7zIdMainStreamsInfo,
|
||||
k7zIdFilesInfo,
|
||||
k7zIdPackInfo,
|
||||
k7zIdUnpackInfo,
|
||||
k7zIdSubStreamsInfo,
|
||||
k7zIdSize,
|
||||
k7zIdCRC,
|
||||
k7zIdFolder,
|
||||
k7zIdCodersUnpackSize,
|
||||
k7zIdNumUnpackStream,
|
||||
k7zIdEmptyStream,
|
||||
k7zIdEmptyFile,
|
||||
k7zIdAnti,
|
||||
k7zIdName,
|
||||
k7zIdCTime,
|
||||
k7zIdATime,
|
||||
k7zIdMTime,
|
||||
k7zIdWinAttributes,
|
||||
k7zIdComment,
|
||||
k7zIdEncodedHeader,
|
||||
k7zIdStartPos,
|
||||
k7zIdDummy
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UInt32 NumInStreams;
|
||||
UInt32 NumOutStreams;
|
||||
UInt64 MethodID;
|
||||
CBuf Props;
|
||||
} CSzCoderInfo;
|
||||
|
||||
void SzCoderInfo_Init(CSzCoderInfo *p);
|
||||
void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UInt32 InIndex;
|
||||
UInt32 OutIndex;
|
||||
} CSzBindPair;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
CSzCoderInfo *Coders;
|
||||
CSzBindPair *BindPairs;
|
||||
UInt32 *PackStreams;
|
||||
UInt64 *UnpackSizes;
|
||||
UInt32 NumCoders;
|
||||
UInt32 NumBindPairs;
|
||||
UInt32 NumPackStreams;
|
||||
int UnpackCRCDefined;
|
||||
UInt32 UnpackCRC;
|
||||
|
||||
UInt32 NumUnpackStreams;
|
||||
} CSzFolder;
|
||||
|
||||
void SzFolder_Init(CSzFolder *p);
|
||||
UInt64 SzFolder_GetUnpackSize(CSzFolder *p);
|
||||
int SzFolder_FindBindPairForInStream(CSzFolder *p, UInt32 inStreamIndex);
|
||||
UInt32 SzFolder_GetNumOutStreams(CSzFolder *p);
|
||||
UInt64 SzFolder_GetUnpackSize(CSzFolder *p);
|
||||
|
||||
SRes SzFolder_Decode(const CSzFolder *folder, const UInt64 *packSizes,
|
||||
ILookInStream *stream, UInt64 startPos,
|
||||
Byte *outBuffer, size_t outSize, ISzAlloc *allocMain);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UInt32 Low;
|
||||
UInt32 High;
|
||||
} CNtfsFileTime;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
CNtfsFileTime MTime;
|
||||
UInt64 Size;
|
||||
UInt32 Crc;
|
||||
UInt32 Attrib;
|
||||
Byte HasStream;
|
||||
Byte IsDir;
|
||||
Byte IsAnti;
|
||||
Byte CrcDefined;
|
||||
Byte MTimeDefined;
|
||||
Byte AttribDefined;
|
||||
} CSzFileItem;
|
||||
|
||||
void SzFile_Init(CSzFileItem *p);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UInt64 *PackSizes;
|
||||
Byte *PackCRCsDefined;
|
||||
UInt32 *PackCRCs;
|
||||
CSzFolder *Folders;
|
||||
CSzFileItem *Files;
|
||||
UInt32 NumPackStreams;
|
||||
UInt32 NumFolders;
|
||||
UInt32 NumFiles;
|
||||
} CSzAr;
|
||||
|
||||
void SzAr_Init(CSzAr *p);
|
||||
void SzAr_Free(CSzAr *p, ISzAlloc *alloc);
|
||||
|
||||
|
||||
/*
|
||||
SzExtract extracts file from archive
|
||||
|
||||
*outBuffer must be 0 before first call for each new archive.
|
||||
|
||||
Extracting cache:
|
||||
If you need to decompress more than one file, you can send
|
||||
these values from previous call:
|
||||
*blockIndex,
|
||||
*outBuffer,
|
||||
*outBufferSize
|
||||
You can consider "*outBuffer" as cache of solid block. If your archive is solid,
|
||||
it will increase decompression speed.
|
||||
|
||||
If you use external function, you can declare these 3 cache variables
|
||||
(blockIndex, outBuffer, outBufferSize) as static in that external function.
|
||||
|
||||
Free *outBuffer and set *outBuffer to 0, if you want to flush cache.
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
CSzAr db;
|
||||
|
||||
UInt64 startPosAfterHeader;
|
||||
UInt64 dataPos;
|
||||
|
||||
UInt32 *FolderStartPackStreamIndex;
|
||||
UInt64 *PackStreamStartPositions;
|
||||
UInt32 *FolderStartFileIndex;
|
||||
UInt32 *FileIndexToFolderIndexMap;
|
||||
|
||||
size_t *FileNameOffsets; /* in 2-byte steps */
|
||||
CBuf FileNames; /* UTF-16-LE */
|
||||
} CSzArEx;
|
||||
|
||||
void SzArEx_Init(CSzArEx *p);
|
||||
void SzArEx_Free(CSzArEx *p, ISzAlloc *alloc);
|
||||
UInt64 SzArEx_GetFolderStreamPos(const CSzArEx *p, UInt32 folderIndex, UInt32 indexInFolder);
|
||||
int SzArEx_GetFolderFullPackSize(const CSzArEx *p, UInt32 folderIndex, UInt64 *resSize);
|
||||
|
||||
/*
|
||||
if dest == NULL, the return value specifies the required size of the buffer,
|
||||
in 16-bit characters, including the null-terminating character.
|
||||
if dest != NULL, the return value specifies the number of 16-bit characters that
|
||||
are written to the dest, including the null-terminating character. */
|
||||
|
||||
size_t SzArEx_GetFileNameUtf16(const CSzArEx *p, size_t fileIndex, UInt16 *dest);
|
||||
|
||||
SRes SzArEx_Extract(
|
||||
const CSzArEx *db,
|
||||
ILookInStream *inStream,
|
||||
UInt32 fileIndex, /* index of file */
|
||||
UInt32 *blockIndex, /* index of solid block */
|
||||
Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
|
||||
size_t *outBufferSize, /* buffer size for output buffer */
|
||||
size_t *offset, /* offset of stream for required file in *outBuffer */
|
||||
size_t *outSizeProcessed, /* size of file in *outBuffer */
|
||||
ISzAlloc *allocMain,
|
||||
ISzAlloc *allocTemp);
|
||||
|
||||
|
||||
/*
|
||||
SzArEx_Open Errors:
|
||||
SZ_ERROR_NO_ARCHIVE
|
||||
SZ_ERROR_ARCHIVE
|
||||
SZ_ERROR_UNSUPPORTED
|
||||
SZ_ERROR_MEM
|
||||
SZ_ERROR_CRC
|
||||
SZ_ERROR_INPUT_EOF
|
||||
SZ_ERROR_FAIL
|
||||
*/
|
||||
|
||||
SRes SzArEx_Open(CSzArEx *p, ILookInStream *inStream, ISzAlloc *allocMain, ISzAlloc *allocTemp);
|
||||
|
||||
EXTERN_C_END
|
||||
|
||||
#endif
|
|
@ -1,7 +1,6 @@
|
|||
/* 7zAlloc.c -- Allocation functions
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
2010-10-29 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "7zAlloc.h"
|
||||
|
||||
/* #define _SZ_ALLOC_DEBUG */
|
||||
|
@ -24,23 +23,23 @@ void *SzAlloc(void *p, size_t size)
|
|||
p = p;
|
||||
if (size == 0)
|
||||
return 0;
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
fprintf(stderr, "\nAlloc %10d bytes; count = %10d", size, g_allocCount);
|
||||
g_allocCount++;
|
||||
#endif
|
||||
#endif
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
void SzFree(void *p, void *address)
|
||||
{
|
||||
p = p;
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
if (address != 0)
|
||||
{
|
||||
g_allocCount--;
|
||||
fprintf(stderr, "\nFree; count = %10d", g_allocCount);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
free(address);
|
||||
}
|
||||
|
||||
|
@ -49,29 +48,29 @@ void *SzAllocTemp(void *p, size_t size)
|
|||
p = p;
|
||||
if (size == 0)
|
||||
return 0;
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
fprintf(stderr, "\nAlloc_temp %10d bytes; count = %10d", size, g_allocCountTemp);
|
||||
g_allocCountTemp++;
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
return HeapAlloc(GetProcessHeap(), 0, size);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
void SzFreeTemp(void *p, void *address)
|
||||
{
|
||||
p = p;
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
#ifdef _SZ_ALLOC_DEBUG
|
||||
if (address != 0)
|
||||
{
|
||||
g_allocCountTemp--;
|
||||
fprintf(stderr, "\nFree_temp; count = %10d", g_allocCountTemp);
|
||||
}
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
HeapFree(GetProcessHeap(), 0, address);
|
||||
return;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
free(address);
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* 7zAlloc.h -- Allocation functions
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
2010-10-29 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_ALLOC_H
|
||||
#define __7Z_ALLOC_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void *SzAlloc(void *p, size_t size);
|
||||
void SzFree(void *p, void *address);
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
/* 7zBuf.h -- Byte Buffer
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
2009-02-07 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_BUF_H
|
||||
#define __7Z_BUF_H
|
||||
|
||||
#include "Types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Byte *data;
|
||||
|
@ -28,4 +32,8 @@ void DynBuf_SeekToBeg(CDynBuf *p);
|
|||
int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
|
||||
void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
45
src/archivers/7z/7zBuf2.c
Normal file
|
@ -0,0 +1,45 @@
|
|||
/* 7zBuf2.c -- Byte Buffer
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <string.h>
|
||||
#include "7zBuf.h"
|
||||
|
||||
void DynBuf_Construct(CDynBuf *p)
|
||||
{
|
||||
p->data = 0;
|
||||
p->size = 0;
|
||||
p->pos = 0;
|
||||
}
|
||||
|
||||
void DynBuf_SeekToBeg(CDynBuf *p)
|
||||
{
|
||||
p->pos = 0;
|
||||
}
|
||||
|
||||
int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc)
|
||||
{
|
||||
if (size > p->size - p->pos)
|
||||
{
|
||||
size_t newSize = p->pos + size;
|
||||
Byte *data;
|
||||
newSize += newSize / 4;
|
||||
data = (Byte *)alloc->Alloc(alloc, newSize);
|
||||
if (data == 0)
|
||||
return 0;
|
||||
p->size = newSize;
|
||||
memcpy(data, p->data, p->pos);
|
||||
alloc->Free(alloc, p->data);
|
||||
p->data = data;
|
||||
}
|
||||
memcpy(p->data + p->pos, buf, size);
|
||||
p->pos += size;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc)
|
||||
{
|
||||
alloc->Free(alloc, p->data);
|
||||
p->data = 0;
|
||||
p->size = 0;
|
||||
p->pos = 0;
|
||||
}
|
|
@ -1,35 +1,80 @@
|
|||
/* 7zCrc.c -- CRC32 calculation
|
||||
2008-08-05
|
||||
Igor Pavlov
|
||||
Public domain */
|
||||
/* 7zCrc.c -- CRC32 init
|
||||
2010-12-01 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "7zCrc.h"
|
||||
#include "CpuArch.h"
|
||||
|
||||
#define kCrcPoly 0xEDB88320
|
||||
UInt32 g_CrcTable[256];
|
||||
|
||||
void MY_FAST_CALL CrcGenerateTable(void)
|
||||
#if defined(MY_CPU_LE)
|
||||
#define CRC_NUM_TABLES 4
|
||||
#else
|
||||
#define CRC_NUM_TABLES 5
|
||||
#define CRC_UINT32_SWAP(v) ((v >> 24) | ((v >> 8) & 0xFF00) | ((v << 8) & 0xFF0000) | (v << 24))
|
||||
UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, const UInt32 *table);
|
||||
#endif
|
||||
|
||||
#ifndef MY_CPU_BE
|
||||
UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table);
|
||||
#endif
|
||||
|
||||
typedef UInt32 (MY_FAST_CALL *CRC_FUNC)(UInt32 v, const void *data, size_t size, const UInt32 *table);
|
||||
|
||||
static CRC_FUNC g_CrcUpdate;
|
||||
UInt32 g_CrcTable[256 * CRC_NUM_TABLES];
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdate(UInt32 v, const void *data, size_t size)
|
||||
{
|
||||
return g_CrcUpdate(v, data, size, g_CrcTable);
|
||||
}
|
||||
|
||||
UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size)
|
||||
{
|
||||
return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL;
|
||||
}
|
||||
|
||||
void MY_FAST_CALL CrcGenerateTable()
|
||||
{
|
||||
UInt32 i;
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
UInt32 r = i;
|
||||
int j;
|
||||
unsigned j;
|
||||
for (j = 0; j < 8; j++)
|
||||
r = (r >> 1) ^ (kCrcPoly & ~((r & 1) - 1));
|
||||
g_CrcTable[i] = r;
|
||||
}
|
||||
}
|
||||
for (; i < 256 * CRC_NUM_TABLES; i++)
|
||||
{
|
||||
UInt32 r = g_CrcTable[i - 256];
|
||||
g_CrcTable[i] = g_CrcTable[r & 0xFF] ^ (r >> 8);
|
||||
}
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdate(UInt32 v, const void *data, size_t size)
|
||||
{
|
||||
const Byte *p = (const Byte *)data;
|
||||
for (; size > 0 ; size--, p++)
|
||||
v = CRC_UPDATE_BYTE(v, *p);
|
||||
return v;
|
||||
}
|
||||
#ifdef MY_CPU_LE
|
||||
|
||||
UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size)
|
||||
{
|
||||
return CrcUpdate(CRC_INIT_VAL, data, size) ^ 0xFFFFFFFF;
|
||||
g_CrcUpdate = CrcUpdateT4;
|
||||
|
||||
#if CRC_NUM_TABLES == 8
|
||||
if (!CPU_Is_InOrder())
|
||||
g_CrcUpdate = CrcUpdateT8;
|
||||
#endif
|
||||
|
||||
#else
|
||||
{
|
||||
#ifndef MY_CPU_BE
|
||||
UInt32 k = 1;
|
||||
if (*(const Byte *)&k == 1)
|
||||
g_CrcUpdate = CrcUpdateT4;
|
||||
else
|
||||
#endif
|
||||
{
|
||||
for (i = 256 * CRC_NUM_TABLES - 1; i >= 256; i--)
|
||||
{
|
||||
UInt32 x = g_CrcTable[i - 256];
|
||||
g_CrcTable[i] = CRC_UINT32_SWAP(x);
|
||||
}
|
||||
g_CrcUpdate = CrcUpdateT1_BeT4;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
/* 7zCrc.h -- CRC32 calculation
|
||||
2008-03-13
|
||||
Igor Pavlov
|
||||
Public domain */
|
||||
2009-11-21 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_CRC_H
|
||||
#define __7Z_CRC_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "Types.h"
|
||||
|
||||
EXTERN_C_BEGIN
|
||||
|
||||
extern UInt32 g_CrcTable[];
|
||||
|
||||
/* Call CrcGenerateTable one time before other CRC functions */
|
||||
void MY_FAST_CALL CrcGenerateTable(void);
|
||||
|
||||
#define CRC_INIT_VAL 0xFFFFFFFF
|
||||
#define CRC_GET_DIGEST(crc) ((crc) ^ 0xFFFFFFFF)
|
||||
#define CRC_GET_DIGEST(crc) ((crc) ^ CRC_INIT_VAL)
|
||||
#define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdate(UInt32 crc, const void *data, size_t size);
|
||||
UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
|
||||
|
||||
EXTERN_C_END
|
||||
|
||||
#endif
|
||||
|
|
64
src/archivers/7z/7zCrcOpt.cpp
Normal file
|
@ -0,0 +1,64 @@
|
|||
/* 7zCrcOpt.c -- CRC32 calculation
|
||||
2010-12-01 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "CpuArch.h"
|
||||
|
||||
#define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
|
||||
|
||||
#ifndef MY_CPU_BE
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table)
|
||||
{
|
||||
const Byte *p = (const Byte *)data;
|
||||
for (; size > 0 && ((unsigned)(ptrdiff_t)p & 3) != 0; size--, p++)
|
||||
v = CRC_UPDATE_BYTE_2(v, *p);
|
||||
for (; size >= 4; size -= 4, p += 4)
|
||||
{
|
||||
v ^= *(const UInt32 *)p;
|
||||
v =
|
||||
table[0x300 + (v & 0xFF)] ^
|
||||
table[0x200 + ((v >> 8) & 0xFF)] ^
|
||||
table[0x100 + ((v >> 16) & 0xFF)] ^
|
||||
table[0x000 + ((v >> 24))];
|
||||
}
|
||||
for (; size > 0; size--, p++)
|
||||
v = CRC_UPDATE_BYTE_2(v, *p);
|
||||
return v;
|
||||
}
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table)
|
||||
{
|
||||
return CrcUpdateT4(v, data, size, table);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef MY_CPU_LE
|
||||
|
||||
#define CRC_UINT32_SWAP(v) ((v >> 24) | ((v >> 8) & 0xFF00) | ((v << 8) & 0xFF0000) | (v << 24))
|
||||
|
||||
UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, const UInt32 *table)
|
||||
{
|
||||
const Byte *p = (const Byte *)data;
|
||||
for (; size > 0 && ((unsigned)(ptrdiff_t)p & 3) != 0; size--, p++)
|
||||
v = CRC_UPDATE_BYTE_2(v, *p);
|
||||
v = CRC_UINT32_SWAP(v);
|
||||
table += 0x100;
|
||||
for (; size >= 4; size -= 4, p += 4)
|
||||
{
|
||||
v ^= *(const UInt32 *)p;
|
||||
v =
|
||||
table[0x000 + (v & 0xFF)] ^
|
||||
table[0x100 + ((v >> 8) & 0xFF)] ^
|
||||
table[0x200 + ((v >> 16) & 0xFF)] ^
|
||||
table[0x300 + ((v >> 24))];
|
||||
}
|
||||
table -= 0x100;
|
||||
v = CRC_UINT32_SWAP(v);
|
||||
for (; size > 0; size--, p++)
|
||||
v = CRC_UPDATE_BYTE_2(v, *p);
|
||||
return v;
|
||||
}
|
||||
|
||||
#endif
|
470
src/archivers/7z/7zDec.cpp
Normal file
|
@ -0,0 +1,470 @@
|
|||
/* 7zDec.c -- Decoding from 7z folder
|
||||
2010-11-02 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* #define _7ZIP_PPMD_SUPPPORT */
|
||||
|
||||
#include "7z.h"
|
||||
|
||||
#include "Bcj2.h"
|
||||
#include "Bra.h"
|
||||
#include "CpuArch.h"
|
||||
#include "LzmaDec.h"
|
||||
#include "Lzma2Dec.h"
|
||||
#ifdef _7ZIP_PPMD_SUPPPORT
|
||||
#include "Ppmd7.h"
|
||||
#endif
|
||||
|
||||
#define k_Copy 0
|
||||
#define k_LZMA2 0x21
|
||||
#define k_LZMA 0x30101
|
||||
#define k_BCJ 0x03030103
|
||||
#define k_PPC 0x03030205
|
||||
#define k_ARM 0x03030501
|
||||
#define k_ARMT 0x03030701
|
||||
#define k_SPARC 0x03030805
|
||||
#define k_BCJ2 0x0303011B
|
||||
|
||||
#ifdef _7ZIP_PPMD_SUPPPORT
|
||||
|
||||
#define k_PPMD 0x30401
|
||||
|
||||
typedef struct
|
||||
{
|
||||
IByteIn p;
|
||||
const Byte *cur;
|
||||
const Byte *end;
|
||||
const Byte *begin;
|
||||
UInt64 processed;
|
||||
Bool extra;
|
||||
SRes res;
|
||||
ILookInStream *inStream;
|
||||
} CByteInToLook;
|
||||
|
||||
static Byte ReadByte(void *pp)
|
||||
{
|
||||
CByteInToLook *p = (CByteInToLook *)pp;
|
||||
if (p->cur != p->end)
|
||||
return *p->cur++;
|
||||
if (p->res == SZ_OK)
|
||||
{
|
||||
size_t size = p->cur - p->begin;
|
||||
p->processed += size;
|
||||
p->res = p->inStream->Skip(p->inStream, size);
|
||||
size = (1 << 25);
|
||||
p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size);
|
||||
p->cur = p->begin;
|
||||
p->end = p->begin + size;
|
||||
if (size != 0)
|
||||
return *p->cur++;;
|
||||
}
|
||||
p->extra = True;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
CPpmd7 ppmd;
|
||||
CByteInToLook s;
|
||||
SRes res = SZ_OK;
|
||||
|
||||
s.p.Read = ReadByte;
|
||||
s.inStream = inStream;
|
||||
s.begin = s.end = s.cur = NULL;
|
||||
s.extra = False;
|
||||
s.res = SZ_OK;
|
||||
s.processed = 0;
|
||||
|
||||
if (coder->Props.size != 5)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
|
||||
{
|
||||
unsigned order = coder->Props.data[0];
|
||||
UInt32 memSize = GetUi32(coder->Props.data + 1);
|
||||
if (order < PPMD7_MIN_ORDER ||
|
||||
order > PPMD7_MAX_ORDER ||
|
||||
memSize < PPMD7_MIN_MEM_SIZE ||
|
||||
memSize > PPMD7_MAX_MEM_SIZE)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
Ppmd7_Construct(&ppmd);
|
||||
if (!Ppmd7_Alloc(&ppmd, memSize, allocMain))
|
||||
return SZ_ERROR_MEM;
|
||||
Ppmd7_Init(&ppmd, order);
|
||||
}
|
||||
{
|
||||
CPpmd7z_RangeDec rc;
|
||||
Ppmd7z_RangeDec_CreateVTable(&rc);
|
||||
rc.Stream = &s.p;
|
||||
if (!Ppmd7z_RangeDec_Init(&rc))
|
||||
res = SZ_ERROR_DATA;
|
||||
else if (s.extra)
|
||||
res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA);
|
||||
else
|
||||
{
|
||||
SizeT i;
|
||||
for (i = 0; i < outSize; i++)
|
||||
{
|
||||
int sym = Ppmd7_DecodeSymbol(&ppmd, &rc.p);
|
||||
if (s.extra || sym < 0)
|
||||
break;
|
||||
outBuffer[i] = (Byte)sym;
|
||||
}
|
||||
if (i != outSize)
|
||||
res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA);
|
||||
else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc))
|
||||
res = SZ_ERROR_DATA;
|
||||
}
|
||||
}
|
||||
Ppmd7_Free(&ppmd, allocMain);
|
||||
return res;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
CLzmaDec state;
|
||||
SRes res = SZ_OK;
|
||||
|
||||
LzmaDec_Construct(&state);
|
||||
RINOK(LzmaDec_AllocateProbs(&state, coder->Props.data, (unsigned)coder->Props.size, allocMain));
|
||||
state.dic = outBuffer;
|
||||
state.dicBufSize = outSize;
|
||||
LzmaDec_Init(&state);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
Byte *inBuf = NULL;
|
||||
size_t lookahead = (1 << 18);
|
||||
if (lookahead > inSize)
|
||||
lookahead = (size_t)inSize;
|
||||
res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
|
||||
{
|
||||
SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos;
|
||||
ELzmaStatus status;
|
||||
res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
|
||||
lookahead -= inProcessed;
|
||||
inSize -= inProcessed;
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
if (state.dicPos == state.dicBufSize || (inProcessed == 0 && dicPos == state.dicPos))
|
||||
{
|
||||
if (state.dicBufSize != outSize || lookahead != 0 ||
|
||||
(status != LZMA_STATUS_FINISHED_WITH_MARK &&
|
||||
status != LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK))
|
||||
res = SZ_ERROR_DATA;
|
||||
break;
|
||||
}
|
||||
res = inStream->Skip((void *)inStream, inProcessed);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
LzmaDec_FreeProbs(&state, allocMain);
|
||||
return res;
|
||||
}
|
||||
|
||||
static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
CLzma2Dec state;
|
||||
SRes res = SZ_OK;
|
||||
|
||||
Lzma2Dec_Construct(&state);
|
||||
if (coder->Props.size != 1)
|
||||
return SZ_ERROR_DATA;
|
||||
RINOK(Lzma2Dec_AllocateProbs(&state, coder->Props.data[0], allocMain));
|
||||
state.decoder.dic = outBuffer;
|
||||
state.decoder.dicBufSize = outSize;
|
||||
Lzma2Dec_Init(&state);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
Byte *inBuf = NULL;
|
||||
size_t lookahead = (1 << 18);
|
||||
if (lookahead > inSize)
|
||||
lookahead = (size_t)inSize;
|
||||
res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
|
||||
{
|
||||
SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos;
|
||||
ELzmaStatus status;
|
||||
res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
|
||||
lookahead -= inProcessed;
|
||||
inSize -= inProcessed;
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
if (state.decoder.dicPos == state.decoder.dicBufSize || (inProcessed == 0 && dicPos == state.decoder.dicPos))
|
||||
{
|
||||
if (state.decoder.dicBufSize != outSize || lookahead != 0 ||
|
||||
(status != LZMA_STATUS_FINISHED_WITH_MARK))
|
||||
res = SZ_ERROR_DATA;
|
||||
break;
|
||||
}
|
||||
res = inStream->Skip((void *)inStream, inProcessed);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Lzma2Dec_FreeProbs(&state, allocMain);
|
||||
return res;
|
||||
}
|
||||
|
||||
static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer)
|
||||
{
|
||||
while (inSize > 0)
|
||||
{
|
||||
void *inBuf;
|
||||
size_t curSize = (1 << 18);
|
||||
if (curSize > inSize)
|
||||
curSize = (size_t)inSize;
|
||||
RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize));
|
||||
if (curSize == 0)
|
||||
return SZ_ERROR_INPUT_EOF;
|
||||
memcpy(outBuffer, inBuf, curSize);
|
||||
outBuffer += curSize;
|
||||
inSize -= curSize;
|
||||
RINOK(inStream->Skip((void *)inStream, curSize));
|
||||
}
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
static Bool IS_MAIN_METHOD(UInt32 m)
|
||||
{
|
||||
switch(m)
|
||||
{
|
||||
case k_Copy:
|
||||
case k_LZMA:
|
||||
case k_LZMA2:
|
||||
#ifdef _7ZIP_PPMD_SUPPPORT
|
||||
case k_PPMD:
|
||||
#endif
|
||||
return True;
|
||||
}
|
||||
return False;
|
||||
}
|
||||
|
||||
static Bool IS_SUPPORTED_CODER(const CSzCoderInfo *c)
|
||||
{
|
||||
return
|
||||
c->NumInStreams == 1 &&
|
||||
c->NumOutStreams == 1 &&
|
||||
c->MethodID <= (UInt32)0xFFFFFFFF &&
|
||||
IS_MAIN_METHOD((UInt32)c->MethodID);
|
||||
}
|
||||
|
||||
#define IS_BCJ2(c) ((c)->MethodID == k_BCJ2 && (c)->NumInStreams == 4 && (c)->NumOutStreams == 1)
|
||||
|
||||
static SRes CheckSupportedFolder(const CSzFolder *f)
|
||||
{
|
||||
if (f->NumCoders < 1 || f->NumCoders > 4)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (!IS_SUPPORTED_CODER(&f->Coders[0]))
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (f->NumCoders == 1)
|
||||
{
|
||||
if (f->NumPackStreams != 1 || f->PackStreams[0] != 0 || f->NumBindPairs != 0)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
return SZ_OK;
|
||||
}
|
||||
if (f->NumCoders == 2)
|
||||
{
|
||||
CSzCoderInfo *c = &f->Coders[1];
|
||||
if (c->MethodID > (UInt32)0xFFFFFFFF ||
|
||||
c->NumInStreams != 1 ||
|
||||
c->NumOutStreams != 1 ||
|
||||
f->NumPackStreams != 1 ||
|
||||
f->PackStreams[0] != 0 ||
|
||||
f->NumBindPairs != 1 ||
|
||||
f->BindPairs[0].InIndex != 1 ||
|
||||
f->BindPairs[0].OutIndex != 0)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
switch ((UInt32)c->MethodID)
|
||||
{
|
||||
case k_BCJ:
|
||||
case k_ARM:
|
||||
break;
|
||||
default:
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
return SZ_OK;
|
||||
}
|
||||
if (f->NumCoders == 4)
|
||||
{
|
||||
if (!IS_SUPPORTED_CODER(&f->Coders[1]) ||
|
||||
!IS_SUPPORTED_CODER(&f->Coders[2]) ||
|
||||
!IS_BCJ2(&f->Coders[3]))
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (f->NumPackStreams != 4 ||
|
||||
f->PackStreams[0] != 2 ||
|
||||
f->PackStreams[1] != 6 ||
|
||||
f->PackStreams[2] != 1 ||
|
||||
f->PackStreams[3] != 0 ||
|
||||
f->NumBindPairs != 3 ||
|
||||
f->BindPairs[0].InIndex != 5 || f->BindPairs[0].OutIndex != 0 ||
|
||||
f->BindPairs[1].InIndex != 4 || f->BindPairs[1].OutIndex != 1 ||
|
||||
f->BindPairs[2].InIndex != 3 || f->BindPairs[2].OutIndex != 2)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
return SZ_OK;
|
||||
}
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
|
||||
static UInt64 GetSum(const UInt64 *values, UInt32 index)
|
||||
{
|
||||
UInt64 sum = 0;
|
||||
UInt32 i;
|
||||
for (i = 0; i < index; i++)
|
||||
sum += values[i];
|
||||
return sum;
|
||||
}
|
||||
|
||||
#define CASE_BRA_CONV(isa) case k_ ## isa: isa ## _Convert(outBuffer, outSize, 0, 0); break;
|
||||
|
||||
static SRes SzFolder_Decode2(const CSzFolder *folder, const UInt64 *packSizes,
|
||||
ILookInStream *inStream, UInt64 startPos,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain,
|
||||
Byte *tempBuf[])
|
||||
{
|
||||
UInt32 ci;
|
||||
SizeT tempSizes[3] = { 0, 0, 0};
|
||||
SizeT tempSize3 = 0;
|
||||
Byte *tempBuf3 = 0;
|
||||
|
||||
RINOK(CheckSupportedFolder(folder));
|
||||
|
||||
for (ci = 0; ci < folder->NumCoders; ci++)
|
||||
{
|
||||
CSzCoderInfo *coder = &folder->Coders[ci];
|
||||
|
||||
if (IS_MAIN_METHOD((UInt32)coder->MethodID))
|
||||
{
|
||||
UInt32 si = 0;
|
||||
UInt64 offset;
|
||||
UInt64 inSize;
|
||||
Byte *outBufCur = outBuffer;
|
||||
SizeT outSizeCur = outSize;
|
||||
if (folder->NumCoders == 4)
|
||||
{
|
||||
UInt32 indices[] = { 3, 2, 0 };
|
||||
UInt64 unpackSize = folder->UnpackSizes[ci];
|
||||
si = indices[ci];
|
||||
if (ci < 2)
|
||||
{
|
||||
Byte *temp;
|
||||
outSizeCur = (SizeT)unpackSize;
|
||||
if (outSizeCur != unpackSize)
|
||||
return SZ_ERROR_MEM;
|
||||
temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur);
|
||||
if (temp == 0 && outSizeCur != 0)
|
||||
return SZ_ERROR_MEM;
|
||||
outBufCur = tempBuf[1 - ci] = temp;
|
||||
tempSizes[1 - ci] = outSizeCur;
|
||||
}
|
||||
else if (ci == 2)
|
||||
{
|
||||
if (unpackSize > outSize) /* check it */
|
||||
return SZ_ERROR_PARAM;
|
||||
tempBuf3 = outBufCur = outBuffer + (outSize - (size_t)unpackSize);
|
||||
tempSize3 = outSizeCur = (SizeT)unpackSize;
|
||||
}
|
||||
else
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
offset = GetSum(packSizes, si);
|
||||
inSize = packSizes[si];
|
||||
RINOK(LookInStream_SeekTo(inStream, startPos + offset));
|
||||
|
||||
if (coder->MethodID == k_Copy)
|
||||
{
|
||||
if (inSize != outSizeCur) /* check it */
|
||||
return SZ_ERROR_DATA;
|
||||
RINOK(SzDecodeCopy(inSize, inStream, outBufCur));
|
||||
}
|
||||
else if (coder->MethodID == k_LZMA)
|
||||
{
|
||||
RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
|
||||
}
|
||||
else if (coder->MethodID == k_LZMA2)
|
||||
{
|
||||
RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef _7ZIP_PPMD_SUPPPORT
|
||||
RINOK(SzDecodePpmd(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
|
||||
#else
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else if (coder->MethodID == k_BCJ2)
|
||||
{
|
||||
UInt64 offset = GetSum(packSizes, 1);
|
||||
UInt64 s3Size = packSizes[1];
|
||||
SRes res;
|
||||
if (ci != 3)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
RINOK(LookInStream_SeekTo(inStream, startPos + offset));
|
||||
tempSizes[2] = (SizeT)s3Size;
|
||||
if (tempSizes[2] != s3Size)
|
||||
return SZ_ERROR_MEM;
|
||||
tempBuf[2] = (Byte *)IAlloc_Alloc(allocMain, tempSizes[2]);
|
||||
if (tempBuf[2] == 0 && tempSizes[2] != 0)
|
||||
return SZ_ERROR_MEM;
|
||||
res = SzDecodeCopy(s3Size, inStream, tempBuf[2]);
|
||||
RINOK(res)
|
||||
|
||||
res = Bcj2_Decode(
|
||||
tempBuf3, tempSize3,
|
||||
tempBuf[0], tempSizes[0],
|
||||
tempBuf[1], tempSizes[1],
|
||||
tempBuf[2], tempSizes[2],
|
||||
outBuffer, outSize);
|
||||
RINOK(res)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ci != 1)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
switch(coder->MethodID)
|
||||
{
|
||||
case k_BCJ:
|
||||
{
|
||||
UInt32 state;
|
||||
x86_Convert_Init(state);
|
||||
x86_Convert(outBuffer, outSize, 0, &state, 0);
|
||||
break;
|
||||
}
|
||||
CASE_BRA_CONV(ARM)
|
||||
default:
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
}
|
||||
}
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
SRes SzFolder_Decode(const CSzFolder *folder, const UInt64 *packSizes,
|
||||
ILookInStream *inStream, UInt64 startPos,
|
||||
Byte *outBuffer, size_t outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
Byte *tempBuf[3] = { 0, 0, 0};
|
||||
int i;
|
||||
SRes res = SzFolder_Decode2(folder, packSizes, inStream, startPos,
|
||||
outBuffer, (SizeT)outSize, allocMain, tempBuf);
|
||||
for (i = 0; i < 3; i++)
|
||||
IAlloc_Free(allocMain, tempBuf[i]);
|
||||
return res;
|
||||
}
|
|
@ -1,254 +0,0 @@
|
|||
/* 7zDecode.c -- Decoding from 7z folder
|
||||
2008-11-23 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "Bcj2.h"
|
||||
#include "Bra.h"
|
||||
#include "LzmaDec.h"
|
||||
#include "7zDecode.h"
|
||||
|
||||
#define k_Copy 0
|
||||
#define k_LZMA 0x30101
|
||||
#define k_BCJ 0x03030103
|
||||
#define k_BCJ2 0x0303011B
|
||||
|
||||
static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
CLzmaDec state;
|
||||
SRes res = SZ_OK;
|
||||
|
||||
LzmaDec_Construct(&state);
|
||||
RINOK(LzmaDec_AllocateProbs(&state, coder->Props.data, (unsigned)coder->Props.size, allocMain));
|
||||
state.dic = outBuffer;
|
||||
state.dicBufSize = outSize;
|
||||
LzmaDec_Init(&state);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
Byte *inBuf = NULL;
|
||||
size_t lookahead = (1 << 18);
|
||||
if (lookahead > inSize)
|
||||
lookahead = (size_t)inSize;
|
||||
res = inStream->Look((void *)inStream, (void **)&inBuf, &lookahead);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
|
||||
{
|
||||
SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos;
|
||||
ELzmaStatus status;
|
||||
res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
|
||||
lookahead -= inProcessed;
|
||||
inSize -= inProcessed;
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
if (state.dicPos == state.dicBufSize || (inProcessed == 0 && dicPos == state.dicPos))
|
||||
{
|
||||
if (state.dicBufSize != outSize || lookahead != 0 ||
|
||||
(status != LZMA_STATUS_FINISHED_WITH_MARK &&
|
||||
status != LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK))
|
||||
res = SZ_ERROR_DATA;
|
||||
break;
|
||||
}
|
||||
res = inStream->Skip((void *)inStream, inProcessed);
|
||||
if (res != SZ_OK)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
LzmaDec_FreeProbs(&state, allocMain);
|
||||
return res;
|
||||
}
|
||||
|
||||
static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer)
|
||||
{
|
||||
while (inSize > 0)
|
||||
{
|
||||
void *inBuf;
|
||||
size_t curSize = (1 << 18);
|
||||
if (curSize > inSize)
|
||||
curSize = (size_t)inSize;
|
||||
RINOK(inStream->Look((void *)inStream, (void **)&inBuf, &curSize));
|
||||
if (curSize == 0)
|
||||
return SZ_ERROR_INPUT_EOF;
|
||||
memcpy(outBuffer, inBuf, curSize);
|
||||
outBuffer += curSize;
|
||||
inSize -= curSize;
|
||||
RINOK(inStream->Skip((void *)inStream, curSize));
|
||||
}
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
#define IS_UNSUPPORTED_METHOD(m) ((m) != k_Copy && (m) != k_LZMA)
|
||||
#define IS_UNSUPPORTED_CODER(c) (IS_UNSUPPORTED_METHOD(c.MethodID) || c.NumInStreams != 1 || c.NumOutStreams != 1)
|
||||
#define IS_NO_BCJ(c) (c.MethodID != k_BCJ || c.NumInStreams != 1 || c.NumOutStreams != 1)
|
||||
#define IS_NO_BCJ2(c) (c.MethodID != k_BCJ2 || c.NumInStreams != 4 || c.NumOutStreams != 1)
|
||||
|
||||
SRes CheckSupportedFolder(const CSzFolder *f)
|
||||
{
|
||||
if (f->NumCoders < 1 || f->NumCoders > 4)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (IS_UNSUPPORTED_CODER(f->Coders[0]))
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (f->NumCoders == 1)
|
||||
{
|
||||
if (f->NumPackStreams != 1 || f->PackStreams[0] != 0 || f->NumBindPairs != 0)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
return SZ_OK;
|
||||
}
|
||||
if (f->NumCoders == 2)
|
||||
{
|
||||
if (IS_NO_BCJ(f->Coders[1]) ||
|
||||
f->NumPackStreams != 1 || f->PackStreams[0] != 0 ||
|
||||
f->NumBindPairs != 1 ||
|
||||
f->BindPairs[0].InIndex != 1 || f->BindPairs[0].OutIndex != 0)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
return SZ_OK;
|
||||
}
|
||||
if (f->NumCoders == 4)
|
||||
{
|
||||
if (IS_UNSUPPORTED_CODER(f->Coders[1]) ||
|
||||
IS_UNSUPPORTED_CODER(f->Coders[2]) ||
|
||||
IS_NO_BCJ2(f->Coders[3]))
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
if (f->NumPackStreams != 4 ||
|
||||
f->PackStreams[0] != 2 ||
|
||||
f->PackStreams[1] != 6 ||
|
||||
f->PackStreams[2] != 1 ||
|
||||
f->PackStreams[3] != 0 ||
|
||||
f->NumBindPairs != 3 ||
|
||||
f->BindPairs[0].InIndex != 5 || f->BindPairs[0].OutIndex != 0 ||
|
||||
f->BindPairs[1].InIndex != 4 || f->BindPairs[1].OutIndex != 1 ||
|
||||
f->BindPairs[2].InIndex != 3 || f->BindPairs[2].OutIndex != 2)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
return SZ_OK;
|
||||
}
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
|
||||
UInt64 GetSum(const UInt64 *values, UInt32 index)
|
||||
{
|
||||
UInt64 sum = 0;
|
||||
UInt32 i;
|
||||
for (i = 0; i < index; i++)
|
||||
sum += values[i];
|
||||
return sum;
|
||||
}
|
||||
|
||||
SRes SzDecode2(const UInt64 *packSizes, const CSzFolder *folder,
|
||||
ILookInStream *inStream, UInt64 startPos,
|
||||
Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain,
|
||||
Byte *tempBuf[])
|
||||
{
|
||||
UInt32 ci;
|
||||
SizeT tempSizes[3] = { 0, 0, 0};
|
||||
SizeT tempSize3 = 0;
|
||||
Byte *tempBuf3 = 0;
|
||||
|
||||
RINOK(CheckSupportedFolder(folder));
|
||||
|
||||
for (ci = 0; ci < folder->NumCoders; ci++)
|
||||
{
|
||||
CSzCoderInfo *coder = &folder->Coders[ci];
|
||||
|
||||
if (coder->MethodID == k_Copy || coder->MethodID == k_LZMA)
|
||||
{
|
||||
UInt32 si = 0;
|
||||
UInt64 offset;
|
||||
UInt64 inSize;
|
||||
Byte *outBufCur = outBuffer;
|
||||
SizeT outSizeCur = outSize;
|
||||
if (folder->NumCoders == 4)
|
||||
{
|
||||
UInt32 indices[] = { 3, 2, 0 };
|
||||
UInt64 unpackSize = folder->UnpackSizes[ci];
|
||||
si = indices[ci];
|
||||
if (ci < 2)
|
||||
{
|
||||
Byte *temp;
|
||||
outSizeCur = (SizeT)unpackSize;
|
||||
if (outSizeCur != unpackSize)
|
||||
return SZ_ERROR_MEM;
|
||||
temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur);
|
||||
if (temp == 0 && outSizeCur != 0)
|
||||
return SZ_ERROR_MEM;
|
||||
outBufCur = tempBuf[1 - ci] = temp;
|
||||
tempSizes[1 - ci] = outSizeCur;
|
||||
}
|
||||
else if (ci == 2)
|
||||
{
|
||||
if (unpackSize > outSize) /* check it */
|
||||
return SZ_ERROR_PARAM;
|
||||
tempBuf3 = outBufCur = outBuffer + (outSize - (size_t)unpackSize);
|
||||
tempSize3 = outSizeCur = (SizeT)unpackSize;
|
||||
}
|
||||
else
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
offset = GetSum(packSizes, si);
|
||||
inSize = packSizes[si];
|
||||
RINOK(LookInStream_SeekTo(inStream, startPos + offset));
|
||||
|
||||
if (coder->MethodID == k_Copy)
|
||||
{
|
||||
if (inSize != outSizeCur) /* check it */
|
||||
return SZ_ERROR_DATA;
|
||||
RINOK(SzDecodeCopy(inSize, inStream, outBufCur));
|
||||
}
|
||||
else
|
||||
{
|
||||
RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
|
||||
}
|
||||
}
|
||||
else if (coder->MethodID == k_BCJ)
|
||||
{
|
||||
UInt32 state;
|
||||
if (ci != 1)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
x86_Convert_Init(state);
|
||||
x86_Convert(outBuffer, outSize, 0, &state, 0);
|
||||
}
|
||||
else if (coder->MethodID == k_BCJ2)
|
||||
{
|
||||
UInt64 offset = GetSum(packSizes, 1);
|
||||
UInt64 s3Size = packSizes[1];
|
||||
SRes res;
|
||||
if (ci != 3)
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
RINOK(LookInStream_SeekTo(inStream, startPos + offset));
|
||||
tempSizes[2] = (SizeT)s3Size;
|
||||
if (tempSizes[2] != s3Size)
|
||||
return SZ_ERROR_MEM;
|
||||
tempBuf[2] = (Byte *)IAlloc_Alloc(allocMain, tempSizes[2]);
|
||||
if (tempBuf[2] == 0 && tempSizes[2] != 0)
|
||||
return SZ_ERROR_MEM;
|
||||
res = SzDecodeCopy(s3Size, inStream, tempBuf[2]);
|
||||
RINOK(res)
|
||||
|
||||
res = Bcj2_Decode(
|
||||
tempBuf3, tempSize3,
|
||||
tempBuf[0], tempSizes[0],
|
||||
tempBuf[1], tempSizes[1],
|
||||
tempBuf[2], tempSizes[2],
|
||||
outBuffer, outSize);
|
||||
RINOK(res)
|
||||
}
|
||||
else
|
||||
return SZ_ERROR_UNSUPPORTED;
|
||||
}
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
SRes SzDecode(const UInt64 *packSizes, const CSzFolder *folder,
|
||||
ILookInStream *inStream, UInt64 startPos,
|
||||
Byte *outBuffer, size_t outSize, ISzAlloc *allocMain)
|
||||
{
|
||||
Byte *tempBuf[3] = { 0, 0, 0};
|
||||
int i;
|
||||
SRes res = SzDecode2(packSizes, folder, inStream, startPos,
|
||||
outBuffer, (SizeT)outSize, allocMain, tempBuf);
|
||||
for (i = 0; i < 3; i++)
|
||||
IAlloc_Free(allocMain, tempBuf[i]);
|
||||
return res;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/* 7zDecode.h -- Decoding from 7z folder
|
||||
2008-11-23 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_DECODE_H
|
||||
#define __7Z_DECODE_H
|
||||
|
||||
#include "7zItem.h"
|
||||
|
||||
SRes SzDecode(const UInt64 *packSizes, const CSzFolder *folder,
|
||||
ILookInStream *stream, UInt64 startPos,
|
||||
Byte *outBuffer, size_t outSize, ISzAlloc *allocMain);
|
||||
|
||||
#endif
|
|
@ -1,93 +0,0 @@
|
|||
/* 7zExtract.c -- Extracting from 7z archive
|
||||
2008-11-23 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "7zCrc.h"
|
||||
#include "7zDecode.h"
|
||||
#include "7zExtract.h"
|
||||
|
||||
SRes SzAr_Extract(
|
||||
const CSzArEx *p,
|
||||
ILookInStream *inStream,
|
||||
UInt32 fileIndex,
|
||||
UInt32 *blockIndex,
|
||||
Byte **outBuffer,
|
||||
size_t *outBufferSize,
|
||||
size_t *offset,
|
||||
size_t *outSizeProcessed,
|
||||
ISzAlloc *allocMain,
|
||||
ISzAlloc *allocTemp)
|
||||
{
|
||||
UInt32 folderIndex = p->FileIndexToFolderIndexMap[fileIndex];
|
||||
SRes res = SZ_OK;
|
||||
*offset = 0;
|
||||
*outSizeProcessed = 0;
|
||||
if (folderIndex == (UInt32)-1)
|
||||
{
|
||||
IAlloc_Free(allocMain, *outBuffer);
|
||||
*blockIndex = folderIndex;
|
||||
*outBuffer = 0;
|
||||
*outBufferSize = 0;
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
if (*outBuffer == 0 || *blockIndex != folderIndex)
|
||||
{
|
||||
CSzFolder *folder = p->db.Folders + folderIndex;
|
||||
UInt64 unpackSizeSpec = SzFolder_GetUnpackSize(folder);
|
||||
size_t unpackSize = (size_t)unpackSizeSpec;
|
||||
UInt64 startOffset = SzArEx_GetFolderStreamPos(p, folderIndex, 0);
|
||||
|
||||
if (unpackSize != unpackSizeSpec)
|
||||
return SZ_ERROR_MEM;
|
||||
*blockIndex = folderIndex;
|
||||
IAlloc_Free(allocMain, *outBuffer);
|
||||
*outBuffer = 0;
|
||||
|
||||
RINOK(LookInStream_SeekTo(inStream, startOffset));
|
||||
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
*outBufferSize = unpackSize;
|
||||
if (unpackSize != 0)
|
||||
{
|
||||
*outBuffer = (Byte *)IAlloc_Alloc(allocMain, unpackSize);
|
||||
if (*outBuffer == 0)
|
||||
res = SZ_ERROR_MEM;
|
||||
}
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
res = SzDecode(p->db.PackSizes +
|
||||
p->FolderStartPackStreamIndex[folderIndex], folder,
|
||||
inStream, startOffset,
|
||||
*outBuffer, unpackSize, allocTemp);
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
if (folder->UnpackCRCDefined)
|
||||
{
|
||||
if (CrcCalc(*outBuffer, unpackSize) != folder->UnpackCRC)
|
||||
res = SZ_ERROR_CRC;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
UInt32 i;
|
||||
CSzFileItem *fileItem = p->db.Files + fileIndex;
|
||||
*offset = 0;
|
||||
for (i = p->FolderStartFileIndex[folderIndex]; i < fileIndex; i++)
|
||||
*offset += (UInt32)p->db.Files[i].Size;
|
||||
*outSizeProcessed = (size_t)fileItem->Size;
|
||||
if (*offset + *outSizeProcessed > *outBufferSize)
|
||||
return SZ_ERROR_FAIL;
|
||||
{
|
||||
if (fileItem->FileCRCDefined)
|
||||
{
|
||||
if (CrcCalc(*outBuffer + *offset, *outSizeProcessed) != fileItem->FileCRC)
|
||||
res = SZ_ERROR_CRC;
|
||||
}
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
/* 7zExtract.h -- Extracting from 7z archive
|
||||
2008-11-23 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_EXTRACT_H
|
||||
#define __7Z_EXTRACT_H
|
||||
|
||||
#include "7zIn.h"
|
||||
|
||||
/*
|
||||
SzExtract extracts file from archive
|
||||
|
||||
*outBuffer must be 0 before first call for each new archive.
|
||||
|
||||
Extracting cache:
|
||||
If you need to decompress more than one file, you can send
|
||||
these values from previous call:
|
||||
*blockIndex,
|
||||
*outBuffer,
|
||||
*outBufferSize
|
||||
You can consider "*outBuffer" as cache of solid block. If your archive is solid,
|
||||
it will increase decompression speed.
|
||||
|
||||
If you use external function, you can declare these 3 cache variables
|
||||
(blockIndex, outBuffer, outBufferSize) as static in that external function.
|
||||
|
||||
Free *outBuffer and set *outBuffer to 0, if you want to flush cache.
|
||||
*/
|
||||
|
||||
SRes SzAr_Extract(
|
||||
const CSzArEx *db,
|
||||
ILookInStream *inStream,
|
||||
UInt32 fileIndex, /* index of file */
|
||||
UInt32 *blockIndex, /* index of solid block */
|
||||
Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
|
||||
size_t *outBufferSize, /* buffer size for output buffer */
|
||||
size_t *offset, /* offset of stream for required file in *outBuffer */
|
||||
size_t *outSizeProcessed, /* size of file in *outBuffer */
|
||||
ISzAlloc *allocMain,
|
||||
ISzAlloc *allocTemp);
|
||||
|
||||
#endif
|
284
src/archivers/7z/7zFile.c
Normal file
|
@ -0,0 +1,284 @@
|
|||
/* 7zFile.c -- File IO
|
||||
2009-11-24 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "7zFile.h"
|
||||
|
||||
#ifndef USE_WINDOWS_FILE
|
||||
|
||||
#ifndef UNDER_CE
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
/*
|
||||
ReadFile and WriteFile functions in Windows have BUG:
|
||||
If you Read or Write 64MB or more (probably min_failure_size = 64MB - 32KB + 1)
|
||||
from/to Network file, it returns ERROR_NO_SYSTEM_RESOURCES
|
||||
(Insufficient system resources exist to complete the requested service).
|
||||
Probably in some version of Windows there are problems with other sizes:
|
||||
for 32 MB (maybe also for 16 MB).
|
||||
And message can be "Network connection was lost"
|
||||
*/
|
||||
|
||||
#define kChunkSizeMax (1 << 22)
|
||||
|
||||
#endif
|
||||
|
||||
void File_Construct(CSzFile *p)
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
p->handle = INVALID_HANDLE_VALUE;
|
||||
#else
|
||||
p->file = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !defined(UNDER_CE) || !defined(USE_WINDOWS_FILE)
|
||||
static WRes File_Open(CSzFile *p, const char *name, int writeMode)
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
p->handle = CreateFileA(name,
|
||||
writeMode ? GENERIC_WRITE : GENERIC_READ,
|
||||
FILE_SHARE_READ, NULL,
|
||||
writeMode ? CREATE_ALWAYS : OPEN_EXISTING,
|
||||
FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError();
|
||||
#else
|
||||
p->file = fopen(name, writeMode ? "wb+" : "rb");
|
||||
return (p->file != 0) ? 0 :
|
||||
#ifdef UNDER_CE
|
||||
2; /* ENOENT */
|
||||
#else
|
||||
errno;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
WRes InFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 0); }
|
||||
WRes OutFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 1); }
|
||||
#endif
|
||||
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
static WRes File_OpenW(CSzFile *p, const WCHAR *name, int writeMode)
|
||||
{
|
||||
p->handle = CreateFileW(name,
|
||||
writeMode ? GENERIC_WRITE : GENERIC_READ,
|
||||
FILE_SHARE_READ, NULL,
|
||||
writeMode ? CREATE_ALWAYS : OPEN_EXISTING,
|
||||
FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError();
|
||||
}
|
||||
WRes InFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 0); }
|
||||
WRes OutFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 1); }
|
||||
#endif
|
||||
|
||||
WRes File_Close(CSzFile *p)
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
if (p->handle != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
if (!CloseHandle(p->handle))
|
||||
return GetLastError();
|
||||
p->handle = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
#else
|
||||
if (p->file != NULL)
|
||||
{
|
||||
int res = fclose(p->file);
|
||||
if (res != 0)
|
||||
return res;
|
||||
p->file = NULL;
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
WRes File_Read(CSzFile *p, void *data, size_t *size)
|
||||
{
|
||||
size_t originalSize = *size;
|
||||
if (originalSize == 0)
|
||||
return 0;
|
||||
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
|
||||
*size = 0;
|
||||
do
|
||||
{
|
||||
DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize;
|
||||
DWORD processed = 0;
|
||||
BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL);
|
||||
data = (void *)((Byte *)data + processed);
|
||||
originalSize -= processed;
|
||||
*size += processed;
|
||||
if (!res)
|
||||
return GetLastError();
|
||||
if (processed == 0)
|
||||
break;
|
||||
}
|
||||
while (originalSize > 0);
|
||||
return 0;
|
||||
|
||||
#else
|
||||
|
||||
*size = fread(data, 1, originalSize, p->file);
|
||||
if (*size == originalSize)
|
||||
return 0;
|
||||
return ferror(p->file);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
WRes File_Write(CSzFile *p, const void *data, size_t *size)
|
||||
{
|
||||
size_t originalSize = *size;
|
||||
if (originalSize == 0)
|
||||
return 0;
|
||||
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
|
||||
*size = 0;
|
||||
do
|
||||
{
|
||||
DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize;
|
||||
DWORD processed = 0;
|
||||
BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL);
|
||||
data = (void *)((Byte *)data + processed);
|
||||
originalSize -= processed;
|
||||
*size += processed;
|
||||
if (!res)
|
||||
return GetLastError();
|
||||
if (processed == 0)
|
||||
break;
|
||||
}
|
||||
while (originalSize > 0);
|
||||
return 0;
|
||||
|
||||
#else
|
||||
|
||||
*size = fwrite(data, 1, originalSize, p->file);
|
||||
if (*size == originalSize)
|
||||
return 0;
|
||||
return ferror(p->file);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin)
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
|
||||
LARGE_INTEGER value;
|
||||
DWORD moveMethod;
|
||||
value.LowPart = (DWORD)*pos;
|
||||
value.HighPart = (LONG)((UInt64)*pos >> 16 >> 16); /* for case when UInt64 is 32-bit only */
|
||||
switch (origin)
|
||||
{
|
||||
case SZ_SEEK_SET: moveMethod = FILE_BEGIN; break;
|
||||
case SZ_SEEK_CUR: moveMethod = FILE_CURRENT; break;
|
||||
case SZ_SEEK_END: moveMethod = FILE_END; break;
|
||||
default: return ERROR_INVALID_PARAMETER;
|
||||
}
|
||||
value.LowPart = SetFilePointer(p->handle, value.LowPart, &value.HighPart, moveMethod);
|
||||
if (value.LowPart == 0xFFFFFFFF)
|
||||
{
|
||||
WRes res = GetLastError();
|
||||
if (res != NO_ERROR)
|
||||
return res;
|
||||
}
|
||||
*pos = ((Int64)value.HighPart << 32) | value.LowPart;
|
||||
return 0;
|
||||
|
||||
#else
|
||||
|
||||
int moveMethod;
|
||||
int res;
|
||||
switch (origin)
|
||||
{
|
||||
case SZ_SEEK_SET: moveMethod = SEEK_SET; break;
|
||||
case SZ_SEEK_CUR: moveMethod = SEEK_CUR; break;
|
||||
case SZ_SEEK_END: moveMethod = SEEK_END; break;
|
||||
default: return 1;
|
||||
}
|
||||
res = fseek(p->file, (long)*pos, moveMethod);
|
||||
*pos = ftell(p->file);
|
||||
return res;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
WRes File_GetLength(CSzFile *p, UInt64 *length)
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
|
||||
DWORD sizeHigh;
|
||||
DWORD sizeLow = GetFileSize(p->handle, &sizeHigh);
|
||||
if (sizeLow == 0xFFFFFFFF)
|
||||
{
|
||||
DWORD res = GetLastError();
|
||||
if (res != NO_ERROR)
|
||||
return res;
|
||||
}
|
||||
*length = (((UInt64)sizeHigh) << 32) + sizeLow;
|
||||
return 0;
|
||||
|
||||
#else
|
||||
|
||||
long pos = ftell(p->file);
|
||||
int res = fseek(p->file, 0, SEEK_END);
|
||||
*length = ftell(p->file);
|
||||
fseek(p->file, pos, SEEK_SET);
|
||||
return res;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* ---------- FileSeqInStream ---------- */
|
||||
|
||||
static SRes FileSeqInStream_Read(void *pp, void *buf, size_t *size)
|
||||
{
|
||||
CFileSeqInStream *p = (CFileSeqInStream *)pp;
|
||||
return File_Read(&p->file, buf, size) == 0 ? SZ_OK : SZ_ERROR_READ;
|
||||
}
|
||||
|
||||
void FileSeqInStream_CreateVTable(CFileSeqInStream *p)
|
||||
{
|
||||
p->s.Read = FileSeqInStream_Read;
|
||||
}
|
||||
|
||||
|
||||
/* ---------- FileInStream ---------- */
|
||||
|
||||
static SRes FileInStream_Read(void *pp, void *buf, size_t *size)
|
||||
{
|
||||
CFileInStream *p = (CFileInStream *)pp;
|
||||
return (File_Read(&p->file, buf, size) == 0) ? SZ_OK : SZ_ERROR_READ;
|
||||
}
|
||||
|
||||
static SRes FileInStream_Seek(void *pp, Int64 *pos, ESzSeek origin)
|
||||
{
|
||||
CFileInStream *p = (CFileInStream *)pp;
|
||||
return File_Seek(&p->file, pos, origin);
|
||||
}
|
||||
|
||||
void FileInStream_CreateVTable(CFileInStream *p)
|
||||
{
|
||||
p->s.Read = FileInStream_Read;
|
||||
p->s.Seek = FileInStream_Seek;
|
||||
}
|
||||
|
||||
|
||||
/* ---------- FileOutStream ---------- */
|
||||
|
||||
static size_t FileOutStream_Write(void *pp, const void *data, size_t size)
|
||||
{
|
||||
CFileOutStream *p = (CFileOutStream *)pp;
|
||||
File_Write(&p->file, data, &size);
|
||||
return size;
|
||||
}
|
||||
|
||||
void FileOutStream_CreateVTable(CFileOutStream *p)
|
||||
{
|
||||
p->s.Write = FileOutStream_Write;
|
||||
}
|
83
src/archivers/7z/7zFile.h
Normal file
|
@ -0,0 +1,83 @@
|
|||
/* 7zFile.h -- File IO
|
||||
2009-11-24 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_FILE_H
|
||||
#define __7Z_FILE_H
|
||||
|
||||
#ifdef _WIN32_
|
||||
#define USE_WINDOWS_FILE
|
||||
#endif
|
||||
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "Types.h"
|
||||
|
||||
EXTERN_C_BEGIN
|
||||
|
||||
/* ---------- File ---------- */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
HANDLE handle;
|
||||
#else
|
||||
FILE *file;
|
||||
#endif
|
||||
} CSzFile;
|
||||
|
||||
void File_Construct(CSzFile *p);
|
||||
#if !defined(UNDER_CE) || !defined(USE_WINDOWS_FILE)
|
||||
WRes InFile_Open(CSzFile *p, const char *name);
|
||||
WRes OutFile_Open(CSzFile *p, const char *name);
|
||||
#endif
|
||||
#ifdef USE_WINDOWS_FILE
|
||||
WRes InFile_OpenW(CSzFile *p, const WCHAR *name);
|
||||
WRes OutFile_OpenW(CSzFile *p, const WCHAR *name);
|
||||
#endif
|
||||
WRes File_Close(CSzFile *p);
|
||||
|
||||
/* reads max(*size, remain file's size) bytes */
|
||||
WRes File_Read(CSzFile *p, void *data, size_t *size);
|
||||
|
||||
/* writes *size bytes */
|
||||
WRes File_Write(CSzFile *p, const void *data, size_t *size);
|
||||
|
||||
WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin);
|
||||
WRes File_GetLength(CSzFile *p, UInt64 *length);
|
||||
|
||||
|
||||
/* ---------- FileInStream ---------- */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ISeqInStream s;
|
||||
CSzFile file;
|
||||
} CFileSeqInStream;
|
||||
|
||||
void FileSeqInStream_CreateVTable(CFileSeqInStream *p);
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ISeekInStream s;
|
||||
CSzFile file;
|
||||
} CFileInStream;
|
||||
|
||||
void FileInStream_CreateVTable(CFileInStream *p);
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ISeqOutStream s;
|
||||
CSzFile file;
|
||||
} CFileOutStream;
|
||||
|
||||
void FileOutStream_CreateVTable(CFileOutStream *p);
|
||||
|
||||
EXTERN_C_END
|
||||
|
||||
#endif
|
|
@ -1,6 +0,0 @@
|
|||
/* 7zHeader.c -- 7z Headers
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "7zHeader.h"
|
||||
|
||||
Byte k7zSignature[k7zSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C};
|
|
@ -1,57 +0,0 @@
|
|||
/* 7zHeader.h -- 7z Headers
|
||||
2008-10-04 : Igor Pavlov : Public domain */
|
||||
|
||||
#ifndef __7Z_HEADER_H
|
||||
#define __7Z_HEADER_H
|
||||
|
||||
#include "Types.h"
|
||||
|
||||
#define k7zSignatureSize 6
|
||||
extern Byte k7zSignature[k7zSignatureSize];
|
||||
|
||||
#define k7zMajorVersion 0
|
||||
|
||||
#define k7zStartHeaderSize 0x20
|
||||
|
||||
enum EIdEnum
|
||||
{
|
||||
k7zIdEnd,
|
||||
|
||||
k7zIdHeader,
|
||||
|
||||
k7zIdArchiveProperties,
|
||||
|
||||
k7zIdAdditionalStreamsInfo,
|
||||
k7zIdMainStreamsInfo,
|
||||
k7zIdFilesInfo,
|
||||
|
||||
k7zIdPackInfo,
|
||||
k7zIdUnpackInfo,
|
||||
k7zIdSubStreamsInfo,
|
||||
|
||||
k7zIdSize,
|
||||
k7zIdCRC,
|
||||
|
||||
k7zIdFolder,
|
||||
|
||||
k7zIdCodersUnpackSize,
|
||||
k7zIdNumUnpackStream,
|
||||
|
||||
k7zIdEmptyStream,
|
||||
k7zIdEmptyFile,
|
||||
k7zIdAnti,
|
||||
|
||||
k7zIdName,
|
||||
k7zIdCTime,
|
||||
k7zIdATime,
|
||||
k7zIdMTime,
|
||||
k7zIdWinAttributes,
|
||||
k7zIdComment,
|
||||
|
||||
k7zIdEncodedHeader,
|
||||
|
||||
k7zIdStartPos,
|
||||
k7zIdDummy
|
||||
};
|
||||
|
||||
#endif
|
|
@ -1,17 +1,134 @@
|
|||
/* 7zIn.c -- 7z Input functions
|
||||
2008-12-31 : Igor Pavlov : Public domain */
|
||||
2010-10-29 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "7z.h"
|
||||
#include "7zCrc.h"
|
||||
#include "CpuArch.h"
|
||||
|
||||
#include "7zDecode.h"
|
||||
#include "7zIn.h"
|
||||
Byte k7zSignature[k7zSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C};
|
||||
|
||||
#define RINOM(x) { if ((x) == 0) return SZ_ERROR_MEM; }
|
||||
|
||||
#define NUM_FOLDER_CODERS_MAX 32
|
||||
#define NUM_CODER_STREAMS_MAX 32
|
||||
|
||||
void SzCoderInfo_Init(CSzCoderInfo *p)
|
||||
{
|
||||
Buf_Init(&p->Props);
|
||||
}
|
||||
|
||||
void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc)
|
||||
{
|
||||
Buf_Free(&p->Props, alloc);
|
||||
SzCoderInfo_Init(p);
|
||||
}
|
||||
|
||||
void SzFolder_Init(CSzFolder *p)
|
||||
{
|
||||
p->Coders = 0;
|
||||
p->BindPairs = 0;
|
||||
p->PackStreams = 0;
|
||||
p->UnpackSizes = 0;
|
||||
p->NumCoders = 0;
|
||||
p->NumBindPairs = 0;
|
||||
p->NumPackStreams = 0;
|
||||
p->UnpackCRCDefined = 0;
|
||||
p->UnpackCRC = 0;
|
||||
p->NumUnpackStreams = 0;
|
||||
}
|
||||
|
||||
void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc)
|
||||
{
|
||||
UInt32 i;
|
||||
if (p->Coders)
|
||||
for (i = 0; i < p->NumCoders; i++)
|
||||
SzCoderInfo_Free(&p->Coders[i], alloc);
|
||||
IAlloc_Free(alloc, p->Coders);
|
||||
IAlloc_Free(alloc, p->BindPairs);
|
||||
IAlloc_Free(alloc, p->PackStreams);
|
||||
IAlloc_Free(alloc, p->UnpackSizes);
|
||||
SzFolder_Init(p);
|
||||
}
|
||||
|
||||
UInt32 SzFolder_GetNumOutStreams(CSzFolder *p)
|
||||
{
|
||||
UInt32 result = 0;
|
||||
UInt32 i;
|
||||
for (i = 0; i < p->NumCoders; i++)
|
||||
result += p->Coders[i].NumOutStreams;
|
||||
return result;
|
||||
}
|
||||
|
||||
int SzFolder_FindBindPairForInStream(CSzFolder *p, UInt32 inStreamIndex)
|
||||
{
|
||||
UInt32 i;
|
||||
for (i = 0; i < p->NumBindPairs; i++)
|
||||
if (p->BindPairs[i].InIndex == inStreamIndex)
|
||||
return i;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int SzFolder_FindBindPairForOutStream(CSzFolder *p, UInt32 outStreamIndex)
|
||||
{
|
||||
UInt32 i;
|
||||
for (i = 0; i < p->NumBindPairs; i++)
|
||||
if (p->BindPairs[i].OutIndex == outStreamIndex)
|
||||
return i;
|
||||
return -1;
|
||||
}
|
||||
|
||||
UInt64 SzFolder_GetUnpackSize(CSzFolder *p)
|
||||
{
|
||||
int i = (int)SzFolder_GetNumOutStreams(p);
|
||||
if (i == 0)
|
||||
return 0;
|
||||
for (i--; i >= 0; i--)
|
||||
if (SzFolder_FindBindPairForOutStream(p, i) < 0)
|
||||
return p->UnpackSizes[i];
|
||||
/* throw 1; */
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SzFile_Init(CSzFileItem *p)
|
||||
{
|
||||
p->HasStream = 1;
|
||||
p->IsDir = 0;
|
||||
p->IsAnti = 0;
|
||||
p->CrcDefined = 0;
|
||||
p->MTimeDefined = 0;
|
||||
}
|
||||
|
||||
void SzAr_Init(CSzAr *p)
|
||||
{
|
||||
p->PackSizes = 0;
|
||||
p->PackCRCsDefined = 0;
|
||||
p->PackCRCs = 0;
|
||||
p->Folders = 0;
|
||||
p->Files = 0;
|
||||
p->NumPackStreams = 0;
|
||||
p->NumFolders = 0;
|
||||
p->NumFiles = 0;
|
||||
}
|
||||
|
||||
void SzAr_Free(CSzAr *p, ISzAlloc *alloc)
|
||||
{
|
||||
UInt32 i;
|
||||
if (p->Folders)
|
||||
for (i = 0; i < p->NumFolders; i++)
|
||||
SzFolder_Free(&p->Folders[i], alloc);
|
||||
|
||||
IAlloc_Free(alloc, p->PackSizes);
|
||||
IAlloc_Free(alloc, p->PackCRCsDefined);
|
||||
IAlloc_Free(alloc, p->PackCRCs);
|
||||
IAlloc_Free(alloc, p->Folders);
|
||||
IAlloc_Free(alloc, p->Files);
|
||||
SzAr_Init(p);
|
||||
}
|
||||
|
||||
|
||||
void SzArEx_Init(CSzArEx *p)
|
||||
{
|
||||
SzAr_Init(&p->db);
|
||||
|
@ -19,6 +136,8 @@ void SzArEx_Init(CSzArEx *p)
|
|||
p->PackStreamStartPositions = 0;
|
||||
p->FolderStartFileIndex = 0;
|
||||
p->FileIndexToFolderIndexMap = 0;
|
||||
p->FileNameOffsets = 0;
|
||||
Buf_Init(&p->FileNames);
|
||||
}
|
||||
|
||||
void SzArEx_Free(CSzArEx *p, ISzAlloc *alloc)
|
||||
|
@ -27,6 +146,10 @@ void SzArEx_Free(CSzArEx *p, ISzAlloc *alloc)
|
|||
IAlloc_Free(alloc, p->PackStreamStartPositions);
|
||||
IAlloc_Free(alloc, p->FolderStartFileIndex);
|
||||
IAlloc_Free(alloc, p->FileIndexToFolderIndexMap);
|
||||
|
||||
IAlloc_Free(alloc, p->FileNameOffsets);
|
||||
Buf_Free(&p->FileNames, alloc);
|
||||
|
||||
SzAr_Free(&p->db, alloc);
|
||||
SzArEx_Init(p);
|
||||
}
|
||||
|
@ -188,7 +311,7 @@ typedef struct _CSzState
|
|||
{
|
||||
Byte *Data;
|
||||
size_t Size;
|
||||
} CSzData;
|
||||
}CSzData;
|
||||
|
||||
static SRes SzReadByte(CSzData *sd, Byte *b)
|
||||
{
|
||||
|
@ -488,11 +611,11 @@ static SRes SzGetNextFolderItem(CSzData *sd, CSzFolder *folder, ISzAlloc *alloc)
|
|||
return SZ_ERROR_UNSUPPORTED;
|
||||
|
||||
folder->NumBindPairs = numBindPairs = numOutStreams - 1;
|
||||
MY_ALLOC(CBindPair, folder->BindPairs, (size_t)numBindPairs, alloc);
|
||||
MY_ALLOC(CSzBindPair, folder->BindPairs, (size_t)numBindPairs, alloc);
|
||||
|
||||
for (i = 0; i < numBindPairs; i++)
|
||||
{
|
||||
CBindPair *bp = folder->BindPairs + i;
|
||||
CSzBindPair *bp = folder->BindPairs + i;
|
||||
RINOK(SzReadNumber32(sd, &bp->InIndex));
|
||||
RINOK(SzReadNumber32(sd, &bp->OutIndex));
|
||||
}
|
||||
|
@ -780,81 +903,38 @@ static SRes SzReadStreamsInfo(
|
|||
}
|
||||
}
|
||||
|
||||
Byte kUtf8Limits[5] = { 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
|
||||
size_t SzArEx_GetFileNameUtf16(const CSzArEx *p, size_t fileIndex, UInt16 *dest)
|
||||
{
|
||||
size_t len = p->FileNameOffsets[fileIndex + 1] - p->FileNameOffsets[fileIndex];
|
||||
if (dest != 0)
|
||||
{
|
||||
size_t i;
|
||||
const Byte *src = p->FileNames.data + (p->FileNameOffsets[fileIndex] * 2);
|
||||
for (i = 0; i < len; i++)
|
||||
dest[i] = GetUi16(src + i * 2);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
|
||||
static SRes SzReadFileNames(CSzData *sd, UInt32 numFiles, CSzFileItem *files, ISzAlloc *alloc)
|
||||
static SRes SzReadFileNames(const Byte *p, size_t size, UInt32 numFiles, size_t *sizes)
|
||||
{
|
||||
UInt32 i;
|
||||
size_t pos = 0;
|
||||
for (i = 0; i < numFiles; i++)
|
||||
{
|
||||
UInt32 len = 0;
|
||||
UInt32 pos = 0;
|
||||
CSzFileItem *file = files + i;
|
||||
while (pos + 2 <= sd->Size)
|
||||
sizes[i] = pos;
|
||||
for (;;)
|
||||
{
|
||||
int numAdds;
|
||||
UInt32 value = (UInt32)(sd->Data[pos] | (((UInt32)sd->Data[pos + 1]) << 8));
|
||||
pos += 2;
|
||||
len++;
|
||||
if (value == 0)
|
||||
break;
|
||||
if (value < 0x80)
|
||||
continue;
|
||||
if (value >= 0xD800 && value < 0xE000)
|
||||
{
|
||||
UInt32 c2;
|
||||
if (value >= 0xDC00)
|
||||
if (pos >= size)
|
||||
return SZ_ERROR_ARCHIVE;
|
||||
if (pos + 2 > sd->Size)
|
||||
return SZ_ERROR_ARCHIVE;
|
||||
c2 = (UInt32)(sd->Data[pos] | (((UInt32)sd->Data[pos + 1]) << 8));
|
||||
pos += 2;
|
||||
if (c2 < 0xDC00 || c2 >= 0xE000)
|
||||
return SZ_ERROR_ARCHIVE;
|
||||
value = ((value - 0xD800) << 10) | (c2 - 0xDC00);
|
||||
}
|
||||
for (numAdds = 1; numAdds < 5; numAdds++)
|
||||
if (value < (((UInt32)1) << (numAdds * 5 + 6)))
|
||||
if (p[pos * 2] == 0 && p[pos * 2 + 1] == 0)
|
||||
break;
|
||||
len += numAdds;
|
||||
pos++;
|
||||
}
|
||||
|
||||
MY_ALLOC(char, file->Name, (size_t)len, alloc);
|
||||
|
||||
len = 0;
|
||||
while (2 <= sd->Size)
|
||||
{
|
||||
int numAdds;
|
||||
UInt32 value = (UInt32)(sd->Data[0] | (((UInt32)sd->Data[1]) << 8));
|
||||
SzSkeepDataSize(sd, 2);
|
||||
if (value < 0x80)
|
||||
{
|
||||
file->Name[len++] = (char)value;
|
||||
if (value == 0)
|
||||
break;
|
||||
continue;
|
||||
pos++;
|
||||
}
|
||||
if (value >= 0xD800 && value < 0xE000)
|
||||
{
|
||||
UInt32 c2 = (UInt32)(sd->Data[0] | (((UInt32)sd->Data[1]) << 8));
|
||||
SzSkeepDataSize(sd, 2);
|
||||
value = ((value - 0xD800) << 10) | (c2 - 0xDC00);
|
||||
}
|
||||
for (numAdds = 1; numAdds < 5; numAdds++)
|
||||
if (value < (((UInt32)1) << (numAdds * 5 + 6)))
|
||||
break;
|
||||
file->Name[len++] = (char)(kUtf8Limits[numAdds - 1] + (value >> (6 * numAdds)));
|
||||
do
|
||||
{
|
||||
numAdds--;
|
||||
file->Name[len++] = (char)(0x80 + ((value >> (6 * numAdds)) & 0x3F));
|
||||
}
|
||||
while (numAdds > 0);
|
||||
|
||||
len += numAdds;
|
||||
}
|
||||
}
|
||||
return SZ_OK;
|
||||
sizes[i] = pos;
|
||||
return (pos == size) ? SZ_OK : SZ_ERROR_ARCHIVE;
|
||||
}
|
||||
|
||||
static SRes SzReadHeader2(
|
||||
|
@ -920,7 +1000,8 @@ static SRes SzReadHeader2(
|
|||
if (type == k7zIdEnd)
|
||||
break;
|
||||
RINOK(SzReadNumber(sd, &size));
|
||||
|
||||
if (size > sd->Size)
|
||||
return SZ_ERROR_ARCHIVE;
|
||||
if ((UInt64)(int)type != type)
|
||||
{
|
||||
RINOK(SzSkeepDataSize(sd, size));
|
||||
|
@ -930,8 +1011,17 @@ static SRes SzReadHeader2(
|
|||
{
|
||||
case k7zIdName:
|
||||
{
|
||||
size_t namesSize;
|
||||
RINOK(SzReadSwitch(sd));
|
||||
RINOK(SzReadFileNames(sd, numFiles, files, allocMain))
|
||||
namesSize = (size_t)size - 1;
|
||||
if ((namesSize & 1) != 0)
|
||||
return SZ_ERROR_ARCHIVE;
|
||||
if (!Buf_Create(&p->FileNames, namesSize, allocMain))
|
||||
return SZ_ERROR_MEM;
|
||||
MY_ALLOC(size_t, p->FileNameOffsets, numFiles + 1, allocMain);
|
||||
memcpy(p->FileNames.data, sd->Data, namesSize);
|
||||
RINOK(SzReadFileNames(sd->Data, namesSize >> 1, numFiles, p->FileNameOffsets))
|
||||
RINOK(SzSkeepDataSize(sd, namesSize));
|
||||
break;
|
||||
}
|
||||
case k7zIdEmptyStream:
|
||||
|
@ -948,6 +1038,25 @@ static SRes SzReadHeader2(
|
|||
RINOK(SzReadBoolVector(sd, numEmptyStreams, emptyFileVector, allocTemp));
|
||||
break;
|
||||
}
|
||||
case k7zIdWinAttributes:
|
||||
{
|
||||
RINOK(SzReadBoolVector2(sd, numFiles, lwtVector, allocTemp));
|
||||
RINOK(SzReadSwitch(sd));
|
||||
for (i = 0; i < numFiles; i++)
|
||||
{
|
||||
CSzFileItem *f = &files[i];
|
||||
Byte defined = (*lwtVector)[i];
|
||||
f->AttribDefined = defined;
|
||||
f->Attrib = 0;
|
||||
if (defined)
|
||||
{
|
||||
RINOK(SzReadUInt32(sd, &f->Attrib));
|
||||
}
|
||||
}
|
||||
IAlloc_Free(allocTemp, *lwtVector);
|
||||
*lwtVector = NULL;
|
||||
break;
|
||||
}
|
||||
case k7zIdMTime:
|
||||
{
|
||||
RINOK(SzReadBoolVector2(sd, numFiles, lwtVector, allocTemp));
|
||||
|
@ -964,6 +1073,8 @@ static SRes SzReadHeader2(
|
|||
RINOK(SzReadUInt32(sd, &f->MTime.High));
|
||||
}
|
||||
}
|
||||
IAlloc_Free(allocTemp, *lwtVector);
|
||||
*lwtVector = NULL;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
@ -988,8 +1099,8 @@ static SRes SzReadHeader2(
|
|||
{
|
||||
file->IsDir = 0;
|
||||
file->Size = (*unpackSizes)[sizeIndex];
|
||||
file->FileCRC = (*digests)[sizeIndex];
|
||||
file->FileCRCDefined = (Byte)(*digestsDefined)[sizeIndex];
|
||||
file->Crc = (*digests)[sizeIndex];
|
||||
file->CrcDefined = (Byte)(*digestsDefined)[sizeIndex];
|
||||
sizeIndex++;
|
||||
}
|
||||
else
|
||||
|
@ -1000,7 +1111,8 @@ static SRes SzReadHeader2(
|
|||
file->IsDir = (Byte)((*emptyFileVector)[emptyFileIndex] ? 0 : 1);
|
||||
emptyFileIndex++;
|
||||
file->Size = 0;
|
||||
file->FileCRCDefined = 0;
|
||||
file->Crc = 0;
|
||||
file->CrcDefined = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1066,7 +1178,7 @@ static SRes SzReadAndDecodePackedStreams2(
|
|||
if (!Buf_Create(outBuffer, (size_t)unpackSize, allocTemp))
|
||||
return SZ_ERROR_MEM;
|
||||
|
||||
res = SzDecode(p->PackSizes, folder,
|
||||
res = SzFolder_Decode(folder, p->PackSizes,
|
||||
inStream, dataStartPos,
|
||||
outBuffer->data, (size_t)unpackSize, allocTemp);
|
||||
RINOK(res);
|
||||
|
@ -1106,12 +1218,16 @@ static SRes SzArEx_Open2(
|
|||
ISzAlloc *allocTemp)
|
||||
{
|
||||
Byte header[k7zStartHeaderSize];
|
||||
Int64 startArcPos;
|
||||
UInt64 nextHeaderOffset, nextHeaderSize;
|
||||
size_t nextHeaderSizeT;
|
||||
UInt32 nextHeaderCRC;
|
||||
CBuf buffer;
|
||||
SRes res;
|
||||
|
||||
startArcPos = 0;
|
||||
RINOK(inStream->Seek(inStream, &startArcPos, SZ_SEEK_CUR));
|
||||
|
||||
RINOK(LookInStream_Read2(inStream, header, k7zStartHeaderSize, SZ_ERROR_NO_ARCHIVE));
|
||||
|
||||
if (!TestSignatureCandidate(header))
|
||||
|
@ -1123,7 +1239,7 @@ static SRes SzArEx_Open2(
|
|||
nextHeaderSize = GetUi64(header + 20);
|
||||
nextHeaderCRC = GetUi32(header + 28);
|
||||
|
||||
p->startPosAfterHeader = k7zStartHeaderSize;
|
||||
p->startPosAfterHeader = startArcPos + k7zStartHeaderSize;
|
||||
|
||||
if (CrcCalc(header + 12, 20) != GetUi32(header + 8))
|
||||
return SZ_ERROR_CRC;
|
||||
|
@ -1140,13 +1256,13 @@ static SRes SzArEx_Open2(
|
|||
{
|
||||
Int64 pos = 0;
|
||||
RINOK(inStream->Seek(inStream, &pos, SZ_SEEK_END));
|
||||
if ((UInt64)pos < nextHeaderOffset ||
|
||||
(UInt64)pos < k7zStartHeaderSize + nextHeaderOffset ||
|
||||
(UInt64)pos < k7zStartHeaderSize + nextHeaderOffset + nextHeaderSize)
|
||||
if ((UInt64)pos < startArcPos + nextHeaderOffset ||
|
||||
(UInt64)pos < startArcPos + k7zStartHeaderSize + nextHeaderOffset ||
|
||||
(UInt64)pos < startArcPos + k7zStartHeaderSize + nextHeaderOffset + nextHeaderSize)
|
||||
return SZ_ERROR_INPUT_EOF;
|
||||
}
|
||||
|
||||
RINOK(LookInStream_SeekTo(inStream, k7zStartHeaderSize + nextHeaderOffset));
|
||||
RINOK(LookInStream_SeekTo(inStream, startArcPos + k7zStartHeaderSize + nextHeaderOffset));
|
||||
|
||||
if (!Buf_Create(&buffer, nextHeaderSizeT, allocTemp))
|
||||
return SZ_ERROR_MEM;
|
||||
|
@ -1202,3 +1318,85 @@ SRes SzArEx_Open(CSzArEx *p, ILookInStream *inStream, ISzAlloc *allocMain, ISzAl
|
|||
SzArEx_Free(p, allocMain);
|
||||
return res;
|
||||
}
|
||||
|
||||
SRes SzArEx_Extract(
|
||||
const CSzArEx *p,
|
||||
ILookInStream *inStream,
|
||||
UInt32 fileIndex,
|
||||
UInt32 *blockIndex,
|
||||
Byte **outBuffer,
|
||||
size_t *outBufferSize,
|
||||
size_t *offset,
|
||||
size_t *outSizeProcessed,
|
||||
ISzAlloc *allocMain,
|
||||
ISzAlloc *allocTemp)
|
||||
{
|
||||
UInt32 folderIndex = p->FileIndexToFolderIndexMap[fileIndex];
|
||||
SRes res = SZ_OK;
|
||||
*offset = 0;
|
||||
*outSizeProcessed = 0;
|
||||
if (folderIndex == (UInt32)-1)
|
||||
{
|
||||
IAlloc_Free(allocMain, *outBuffer);
|
||||
*blockIndex = folderIndex;
|
||||
*outBuffer = 0;
|
||||
*outBufferSize = 0;
|
||||
return SZ_OK;
|
||||
}
|
||||
|
||||
if (*outBuffer == 0 || *blockIndex != folderIndex)
|
||||
{
|
||||
CSzFolder *folder = p->db.Folders + folderIndex;
|
||||
UInt64 unpackSizeSpec = SzFolder_GetUnpackSize(folder);
|
||||
size_t unpackSize = (size_t)unpackSizeSpec;
|
||||
UInt64 startOffset = SzArEx_GetFolderStreamPos(p, folderIndex, 0);
|
||||
|
||||
if (unpackSize != unpackSizeSpec)
|
||||
return SZ_ERROR_MEM;
|
||||
*blockIndex = folderIndex;
|
||||
IAlloc_Free(allocMain, *outBuffer);
|
||||
*outBuffer = 0;
|
||||
|
||||
RINOK(LookInStream_SeekTo(inStream, startOffset));
|
||||
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
*outBufferSize = unpackSize;
|
||||
if (unpackSize != 0)
|
||||
{
|
||||
*outBuffer = (Byte *)IAlloc_Alloc(allocMain, unpackSize);
|
||||
if (*outBuffer == 0)
|
||||
res = SZ_ERROR_MEM;
|
||||
}
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
res = SzFolder_Decode(folder,
|
||||
p->db.PackSizes + p->FolderStartPackStreamIndex[folderIndex],
|
||||
inStream, startOffset,
|
||||
*outBuffer, unpackSize, allocTemp);
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
if (folder->UnpackCRCDefined)
|
||||
{
|
||||
if (CrcCalc(*outBuffer, unpackSize) != folder->UnpackCRC)
|
||||
res = SZ_ERROR_CRC;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (res == SZ_OK)
|
||||
{
|
||||
UInt32 i;
|
||||
CSzFileItem *fileItem = p->db.Files + fileIndex;
|
||||
*offset = 0;
|
||||
for (i = p->FolderStartFileIndex[folderIndex]; i < fileIndex; i++)
|
||||
*offset += (UInt32)p->db.Files[i].Size;
|
||||
*outSizeProcessed = (size_t)fileItem->Size;
|
||||
if (*offset + *outSizeProcessed > *outBufferSize)
|
||||
return SZ_ERROR_FAIL;
|
||||
if (fileItem->CrcDefined && CrcCalc(*outBuffer + *offset, *outSizeProcessed) != fileItem->Crc)
|
||||
res = SZ_ERROR_CRC;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|