1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Added typer support for loading from DFS. It'll do for now.

This commit is contained in:
Thomas Harte 2016-09-24 22:52:49 -04:00
parent 0918751802
commit 67b54269c9

View File

@ -122,7 +122,17 @@ void StaticAnalyser::Acorn::AddTargets(
target.disks = disks;
target.acorn.has_dfs = true;
// TODO: what about booting?
// TODO: can't I just press shift?
switch(dfs_catalogue->bootOption)
{
default: target.loadingCommand = "*CAT\n"; break;
case Catalogue::BootOption::LoadBOOT:
target.loadingCommand = "*LOAD !BOOT\n"; break;
case Catalogue::BootOption::RunBOOT:
target.loadingCommand = "*RUN !BOOT\n"; break;
case Catalogue::BootOption::ExecBOOT:
target.loadingCommand = "*EXEC !BOOT\n"; break;
}
}
}