1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Randomly try a different explicit instantiation.

This commit is contained in:
Thomas Harte 2023-11-16 23:37:37 -05:00
parent effddcaf65
commit fbe02e3ad5
2 changed files with 17 additions and 5 deletions

View File

@ -1119,7 +1119,19 @@ template <Model model> void Decoder<model>::set_32bit_protected_mode(bool enable
}
// Ensure all possible decoders are built.
template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i8086>;
template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i80186>;
template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i80286>;
//template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i8086>;
//template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i80186>;
//template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i80286>;
template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i80386>;
template
std::pair<int, typename Decoder<InstructionSet::x86::Model::i8086>::InstructionT>
Decoder<InstructionSet::x86::Model::i8086>::decode(const uint8_t *, size_t);
template
std::pair<int, typename Decoder<InstructionSet::x86::Model::i80186>::InstructionT>
Decoder<InstructionSet::x86::Model::i80186>::decode(const uint8_t *, size_t);
template
std::pair<int, typename Decoder<InstructionSet::x86::Model::i80286>::InstructionT>
Decoder<InstructionSet::x86::Model::i80286>::decode(const uint8_t *, size_t);

View File

@ -89,8 +89,8 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate {
let appleIIgsTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "appleiigs")
machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: appleIIgsTabIndex))
let pcTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "pc")
machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: pcTabIndex))
// let pcTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "pc")
// machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: pcTabIndex))
machineNameTable.reloadData()