mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-05 07:42:45 +00:00
This commit is contained in:
parent
dd8a567518
commit
c630fee7e0
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ namespace HelloWorld {
|
||||||
//Indy.IL2CPU.Engine.Execute()
|
//Indy.IL2CPU.Engine.Execute()
|
||||||
// which is called from Builder.RunEngine()
|
// which is called from Builder.RunEngine()
|
||||||
|
|
||||||
using (var xOldAsmblr = new CosmosAssembler(0)) {
|
//using (var xOldAsmblr = new AssemblerNasm()) {
|
||||||
//TODO: Move new build logic into "new sort".
|
//TODO: Move new build logic into "new sort".
|
||||||
// Build stuff is all UI, launching QEMU, making ISO etc.
|
// Build stuff is all UI, launching QEMU, making ISO etc.
|
||||||
// IL2CPU should only contain scanning and assembling of binary files
|
// IL2CPU should only contain scanning and assembling of binary files
|
||||||
|
|
@ -28,9 +28,9 @@ namespace HelloWorld {
|
||||||
var xPath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
|
var xPath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
|
||||||
xPath = Path.Combine(xPath, @"..\..\Output.asm");
|
xPath = Path.Combine(xPath, @"..\..\Output.asm");
|
||||||
using (var xOut = File.CreateText(xPath)) {
|
using (var xOut = File.CreateText(xPath)) {
|
||||||
xOldAsmblr.FlushText(xOut);
|
xAsmblr.FlushText( xOut );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue