diff --git a/OSBindings/Qt/mainwindow.cpp b/OSBindings/Qt/mainwindow.cpp index 39a1b646a..6eae7d315 100644 --- a/OSBindings/Qt/mainwindow.cpp +++ b/OSBindings/Qt/mainwindow.cpp @@ -1069,7 +1069,11 @@ void MainWindow::start_atariST() { using Target = Analyser::Static::AtariST::Target; auto target = std::make_unique(); - /* There are no options yet for an Atari ST. */ + switch(ui->atariSTRAMComboBox->currentIndex()) { + default: target->memory_size = Target::MemorySize::FiveHundredAndTwelveKilobytes; break; + case 1: target->memory_size = Target::MemorySize::OneMegabyte; break; + case 2: target->memory_size = Target::MemorySize::FourMegabytes; break; + } launchTarget(std::move(target)); } @@ -1274,7 +1278,8 @@ void MainWindow::launchTarget(std::unique_ptr &&target /* Amstrad CPC. */ \ ComboBox(amstradCPCModelComboBox, "amstradcpc.model"); \ \ - /* Atari ST: nothing */ \ + /* Atari ST. */ \ + ComboBox(atariSTRAMComboBox, "atarist.memorySize"); \ \ /* Electron. */ \ CheckBox(electronDFSCheckBox, "electron.hasDFS"); \ diff --git a/OSBindings/Qt/mainwindow.ui b/OSBindings/Qt/mainwindow.ui index 3d05cc783..511df37ea 100644 --- a/OSBindings/Qt/mainwindow.ui +++ b/OSBindings/Qt/mainwindow.ui @@ -343,12 +343,39 @@ Atari ST - - - - At present only a 512k Atari ST is supported. - - + + + + + + + + RAM: + + + + + + + + 512 kb + + + + + 1 mb + + + + + 4 mb + + + + + + +