Tidy up linux interface.h.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
a1ba1d2cd1
commit
cdf8573202
6 changed files with 1 additions and 78 deletions
|
@ -63,7 +63,6 @@ add_library(appleii SHARED
|
|||
linux/linuxframe.cpp
|
||||
|
||||
linux/duplicates/Debug.cpp
|
||||
linux/duplicates/WinVideo.cpp
|
||||
linux/duplicates/Joystick.cpp
|
||||
linux/duplicates/SerialComms.cpp
|
||||
linux/duplicates/PropertySheet.cpp
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void CheckCpu();
|
||||
|
||||
extern int g_nAltCharSetOffset; // alternate character set
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
#include "StdAfx.h"
|
||||
|
||||
#include "Video.h"
|
||||
#include "NTSC.h"
|
||||
|
||||
void VideoRefreshScreen ( uint32_t uRedrawWholeScreenVideoMode /* =0*/, bool bRedrawWholeScreen /* =false*/ )
|
||||
{
|
||||
if (bRedrawWholeScreen)
|
||||
{
|
||||
// uVideoModeForWholeScreen set if:
|
||||
// . MODE_DEBUG : always
|
||||
// . MODE_RUNNING : called from VideoRedrawScreen(), eg. during full-speed
|
||||
if (bRedrawWholeScreen)
|
||||
NTSC_SetVideoMode(uRedrawWholeScreenVideoMode);
|
||||
NTSC_VideoRedrawWholeScreen();
|
||||
}
|
||||
}
|
|
@ -8,28 +8,15 @@
|
|||
#include <string>
|
||||
|
||||
// Resources
|
||||
|
||||
HRSRC FindResource(void *, const char * filename, const char *);
|
||||
|
||||
// Bitmap
|
||||
HBITMAP LoadBitmap(HINSTANCE hInstance, const char * filename);
|
||||
LONG GetBitmapBits(HBITMAP hbit, LONG cb, LPVOID lpvBits);
|
||||
|
||||
// Keyboard
|
||||
|
||||
BYTE KeybGetKeycode();
|
||||
BYTE KeybReadData();
|
||||
BYTE KeybReadFlag();
|
||||
|
||||
// Joystick
|
||||
|
||||
BYTE JoyReadButton(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG uExecutedCycles);
|
||||
BYTE JoyReadPosition(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG uExecutedCycles);
|
||||
|
||||
// MessageBox
|
||||
|
||||
int MessageBox(HWND, const char * text, const char * caption, UINT type);
|
||||
|
||||
// Mockingboard
|
||||
// Sound
|
||||
void registerSoundBuffer(IDirectSoundBuffer * buffer);
|
||||
void unregisterSoundBuffer(IDirectSoundBuffer * buffer);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
add_executable(testcpu6502
|
||||
stdafx.cpp
|
||||
../../source/SynchronousEventManager.cpp
|
||||
dummy.cpp
|
||||
TestCPU6502.cpp)
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
#include "linux/interface.h"
|
||||
|
||||
void registerSoundBuffer(IDirectSoundBuffer * buffer)
|
||||
{
|
||||
}
|
||||
|
||||
void unregisterSoundBuffer(IDirectSoundBuffer * buffer)
|
||||
{
|
||||
}
|
||||
|
||||
// Resources
|
||||
|
||||
HRSRC FindResource(void *, const char * filename, const char *)
|
||||
{
|
||||
return HRSRC();
|
||||
}
|
||||
|
||||
// Keyboard
|
||||
|
||||
BYTE KeybGetKeycode() { return 0; }
|
||||
BYTE KeybReadData() { return 0; }
|
||||
BYTE KeybReadFlag() { return 0; }
|
||||
|
||||
// Joystick
|
||||
|
||||
BYTE JoyReadButton(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft) { return 0; }
|
||||
BYTE JoyReadPosition(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft) { return 0; }
|
||||
|
||||
// MessageBox
|
||||
|
||||
int MessageBox(HWND, const char * text, const char * caption, UINT type) { return 0; }
|
||||
|
||||
// Bitmap
|
||||
|
||||
HBITMAP LoadBitmap(HINSTANCE hInstance, const char * filename)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
LONG GetBitmapBits(HBITMAP hbit, LONG cb, LPVOID lpvBits)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue