1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Substitute VDP for the MSX 2.

This commit is contained in:
Thomas Harte 2023-01-14 22:05:59 -05:00
parent ced002125e
commit 68361913ee

View File

@ -828,8 +828,15 @@ class ConcreteMachine:
Activity::Observer *activity_observer_ = nullptr;
};
static constexpr TI::TMS::Personality vdp_model() {
switch(model) {
case Target::Model::MSX1: return TI::TMS::Personality::TMS9918A;
case Target::Model::MSX2: return TI::TMS::Personality::V9938;
}
}
CPU::Z80::Processor<ConcreteMachine, false, false> z80_;
JustInTimeActor<TI::TMS::TMS9918<TI::TMS::Personality::TMS9918A>> vdp_;
JustInTimeActor<TI::TMS::TMS9918<vdp_model()>> vdp_;
Intel::i8255::i8255<i8255PortHandler> i8255_;
Concurrency::AsyncTaskQueue<false> audio_queue_;