1
0
Fork 0

I Made it build in Android Studio in Linux

This commit is contained in:
Gwenhael Le Moine 2024-04-01 17:05:56 +02:00
parent 8025fe107d
commit 8f122f6599
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
39 changed files with 46 additions and 45 deletions

View file

@ -68,6 +68,7 @@ android {
ndk {
debugSymbolLevel 'FULL' // { SYMBOL_TABLE | FULL }
}
signingConfig signingConfigs.debug
}
}
compileOptions {

View file

@ -8,8 +8,8 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "Opcodes.h"
#include "emu48.h"
#include "opcodes.h"
#include "apple.h"
#include "io.h" // I/O register definitions
#include "i28f160.h"
@ -18,7 +18,7 @@
#pragma intrinsic(memset,memcpy)
#include "Ops.h"
#include "ops.h"
//
// ROM buffer access functions

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
// hand cursor AND mask
static CONST BYTE ANDmaskCursor[] =

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
HDDEDATA CALLBACK DdeCallback(UINT iType,UINT iFmt,HCONV hConv,

View file

@ -8,8 +8,8 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "Opcodes.h"
#include "emu48.h"
#include "opcodes.h"
#include "ops.h"
#include "debugger.h"

View file

@ -8,8 +8,8 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "Opcodes.h"
#include "emu48.h"
#include "opcodes.h"
#include "ops.h"
#include "color.h"
#include "disrpl.h"

View file

@ -8,7 +8,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#pragma inline_depth(0)

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
typedef struct // type of model memory mapping
{

View file

@ -9,7 +9,7 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#include "kml.h"

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "disrpl.h"
DWORD dwRplPlatform = RPL_P3; // current RPL platform

View file

@ -8,7 +8,7 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#include "kml.h"
#include "debugger.h"
@ -1751,7 +1751,7 @@ static LRESULT OnToolDisasm(VOID) // disasm dialogbox call
static LRESULT OnTopics(VOID)
{
ShellExecute(hWnd,_T("open"),_T("Emu48.htm"),NULL,szEmuDirectory,SW_SHOWNORMAL);
ShellExecute(hWnd,_T("open"),_T("emu48.htm"),NULL,szEmuDirectory,SW_SHOWNORMAL);
return 0;
}

View file

@ -1,5 +1,5 @@
/*
* Emu48.h
* emu48.h
*
* This file is part of Emu48
*

View file

@ -9,7 +9,7 @@
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#include "kml.h"
#include "debugger.h"

View file

@ -7,8 +7,8 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "Opcodes.h"
#include "emu48.h"
#include "opcodes.h"
#include "io.h"
#include "debugger.h"
@ -72,7 +72,7 @@ static DWORD dwOldCyc; // cpu cycles at last event
static DWORD dwSpeedRef; // timer value at last event
static DWORD dwTickRef; // sample timer ticks
#include "Ops.h"
#include "ops.h"
// save last instruction in circular instruction buffer
static __inline VOID SaveInstrAddr(DWORD dwAddr)

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
#define SAMPLES_PER_SEC 44100 // sound sampling rate

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Opcodes.h"
#include "opcodes.h"
#define F 0xFF // F = function

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
#include "io.h" // I/O register definitions
#include "kml.h"

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "i28f160.h"
#define ARRAYSIZEOF(a) (sizeof(a) / sizeof(a[0]))

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h" // I/O definitions
DWORD dwKeyMinDelay = 50; // minimum time for key hold

View file

@ -8,7 +8,7 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
#include "kml.h"
#define KEYMACROHEAD "Emu-KeyMacro" // macro signature

View file

@ -8,7 +8,7 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
#include "kml.h"
static VOID InitLex(LPCTSTR szScript);

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h" // I/O definitions
// #define BAT_SIMULATION // switch low bat simulation

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
#include "opcodes.h"
#include "io.h"

View file

@ -8,7 +8,7 @@
*/
#include "pch.h"
#include "resource.h"
#include "Emu48.h"
#include "emu48.h"
static TCHAR szOriginal[MAX_PATH] = _T("");

View file

@ -8,8 +8,8 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "Opcodes.h"
#include "emu48.h"
#include "opcodes.h"
#include "apple.h"
#include "io.h" // I/O register definitions
@ -25,7 +25,7 @@
#pragma intrinsic(memset,memcpy)
#include "Ops.h"
#include "ops.h"
// Fields start and length
UINT F_s[16] = {0/*P*/,0,2,0,15,3,0,0,0,0,0,0,0,0,0,0};

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#define ERR_CHAR 127 // character for transfer error

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
// flash page types

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
#include "io.h"

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#define INTERRUPT ((void)(Chipset.SoftInt=TRUE,bInterrupt=TRUE))

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "i28f160.h"
// #define REGISTRY // use registry instead of *.ini file

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "snddef.h"
typedef HRESULT (WINAPI *LPFNDLLGETCLASSOBJECT)(REFCLSID,REFIID,LPVOID *);

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
// #define DEBUG_SOUND // switch for sound debug purpose
// #define SINE_APPROX // sine signal approximation

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "io.h"
#define fnRadix 51 // fraction mark

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
//################
//#

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
#include "ops.h"
#include "io.h" // I/O definitions

View file

@ -7,7 +7,7 @@
*
*/
#include "pch.h"
#include "Emu48.h"
#include "emu48.h"
TCHAR szUdpServer[1024] = _T("localhost");
WORD wUdpPort = 5025; // scpi-raw

View file

@ -12,4 +12,4 @@
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "core/Emu48.h"
#include "core/emu48.h"

0
gradlew vendored Normal file → Executable file
View file