mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-04 10:30:34 +00:00
717c5cba84
. Format now extensible for supporting new hardware types in the future . Include missing items like Apple2Type, CyclesThisVideoFrame (#255) Continue to support loading of old v1 format. Added card save/load for: . Mouse (#260) . HDD (#260) . Printer Extended card support for: . SSC Other: . Added save-state v1 struct size checks . Create SaveState_Structs_v2.h and split out common into SaveState_Structs_common.h . Refactor HardDisk.cpp to use imagehandle; and consolidate with Disk.cpp . Fix Disk/HD_GetFullPathName() which wasn't always returning full pathname . Consolidate common GetImageTitle() and move into DiskImage.cpp
27 lines
855 B
C
27 lines
855 B
C
#pragma once
|
|
|
|
extern DWORD soundtype;
|
|
extern double g_fClksPerSpkrSample;
|
|
|
|
void SpkrDestroy ();
|
|
void SpkrInitialize ();
|
|
void SpkrReinitialize ();
|
|
void SpkrReset();
|
|
BOOL SpkrSetEmulationType (HWND,DWORD);
|
|
void SpkrUpdate (DWORD);
|
|
void SpkrUpdate_Timer();
|
|
void Spkr_SetErrorInc(const int nErrorInc);
|
|
void Spkr_SetErrorMax(const int nErrorMax);
|
|
DWORD SpkrGetVolume();
|
|
void SpkrSetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
|
void Spkr_Mute();
|
|
void Spkr_Demute();
|
|
bool Spkr_IsActive();
|
|
bool Spkr_DSInit();
|
|
void Spkr_DSUninit();
|
|
void SpkrSetSnapshot_v1(const unsigned __int64 SpkrLastCycle);
|
|
void SpkrGetSnapshot(unsigned __int64& rSpkrLastCycle);
|
|
void SpkrSetSnapshot(const unsigned __int64 SpkrLastCycle);
|
|
|
|
BYTE __stdcall SpkrToggle (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|