49 tUBYTE control = mPsg.control() & 0xc0; \ 50 if (control == 0xc0) { \ 51 mPsg.setSelected(mPsg_data); \ 52 } else if (control == 0x80) { \ 53 if (mPsg.selected() < 16) { \ 54 mSound.setAYRegister(mPsg.selected(), mPsg_data); \ Ppi & ppi()
Definition: cpc.h:98
Z80 mZ80
Definition: cpc.h:118
Colours mColours
Definition: cpc.h:125
CpcType
Definition: cpc.h:65
Sound mSound
Definition: cpc.h:127
void init()
Definition: roland.cpp:97
Ppi mPpi
Definition: cpc.h:120
Namespace for all CPC components.
Definition: colours.cpp:22
uint mSpeed
Definition: cpc.h:113
uint mBpp
Definition: cpc.h:114
Vdu mVdu
Definition: cpc.h:128
Sound & sound()
Definition: cpc.h:103
The sound chip of the CPC.
Definition: sound.h:31
Psg & psg()
Definition: cpc.h:100
Vdu & vdu()
Definition: cpc.h:101
The floppy drive controller.
Definition: fdc.h:34
Psg mPsg
Definition: cpc.h:122
Keyboard mKeyboard
Definition: cpc.h:124
~Cpc() ROLAND_DEFAULT int init() ROLAND_NOEXCEPT
Get byte from port
Definition: 8255.txt:134
Prefs mPrefs
Definition: cpc.h:116
Keyboard & keyboard()
Definition: cpc.h:106
void waitstates() ROLAND_NOEXCEPT
Definition: cpc.cpp:415
Crtc & crtc()
Definition: cpc.h:102
CpcType mCpcType
Definition: cpc.h:110
Prefs prefs
Definition: roland.cpp:74
tUBYTE z80_in_handler(tREGPAIR port) ROLAND_NOEXCEPT
Definition: cpc.cpp:102
uint speed() const
Definition: cpc.h:89
GateArray mGatearray
Definition: cpc.h:123
Z80 & z80()
Definition: cpc.h:97
GateArray & gatearray()
Definition: cpc.h:107
#define ROLAND_DEFAULT
Definition: compspec.h:46
uint8_t tUBYTE
Definition: types.h:74
unsigned int uint
Definition: types.h:121
Fdc mFdc
Definition: cpc.h:121
Crtc mCrtc
Definition: cpc.h:119
#define ROLAND_NOEXCEPT
Definition: compspec.h:36
Definition: keyboard.h:31
Definition: gatearray.h:31
MemMan mMemman
Definition: cpc.h:126
Cpc() ROLAND_DELETE Cpc(const Prefs &prefs)
MemMan & memman()
Definition: cpc.h:104
void z80_out_handler(tREGPAIR port, tUBYTE value) ROLAND_NOEXCEPT
Definition: cpc.cpp:242
Colours & colours()
Definition: cpc.h:105
RamSize
Definition: cpc.h:71
Fdc & fdc()
Definition: cpc.h:99
void setSpeed(uint value)
Definition: cpc.h:87
#define ROLAND_DELETE
Definition: compspec.h:47