mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 02:22:39 +00:00
Template the TMS on its personality.
Template parameter currently unused, but preparatory to other improvements.
This commit is contained in:
@@ -431,6 +431,7 @@ class ConcreteMachine:
|
||||
}
|
||||
|
||||
private:
|
||||
// TODO: incorporate this into the VDP declaration.
|
||||
static TI::TMS::Personality tms_personality_for_model(Analyser::Static::Sega::Target::Model model) {
|
||||
switch(model) {
|
||||
default:
|
||||
@@ -485,7 +486,7 @@ class ConcreteMachine:
|
||||
const Target::Region region_;
|
||||
const Target::PagingScheme paging_scheme_;
|
||||
CPU::Z80::Processor<ConcreteMachine, false, false> z80_;
|
||||
JustInTimeActor<TI::TMS::TMS9918> vdp_;
|
||||
JustInTimeActor<TI::TMS::TMS9918<TI::TMS::Personality::SMSVDP>> vdp_; // TODO.
|
||||
|
||||
Concurrency::AsyncTaskQueue<false> audio_queue_;
|
||||
TI::SN76489 sn76489_;
|
||||
|
||||
Reference in New Issue
Block a user