diff --git a/source/Cosmos.Debug.DebugStub/Serial.asm b/source/Cosmos.Debug.DebugStub/Serial.asm index 9d770be0d..d773d5c4f 100644 --- a/source/Cosmos.Debug.DebugStub/Serial.asm +++ b/source/Cosmos.Debug.DebugStub/Serial.asm @@ -1,4 +1,4 @@ -; Generated at 7-3-2015 19:22:31 +; Generated at 22-5-2015 19:17:06 @@ -11,6 +11,8 @@ +%ifndef Exclude_IOPort_Based_SerialInit + DebugStub_InitSerial: Mov DX, 1 Mov AL, 0 @@ -78,3 +80,5 @@ DebugStub_ComWrite8_Exit: mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite8_Exit Ret +%endif + diff --git a/source/Cosmos.Debug.DebugStub/Serial.xs b/source/Cosmos.Debug.DebugStub/Serial.xs index 1f1ce64b1..ebd8ff82b 100644 --- a/source/Cosmos.Debug.DebugStub/Serial.xs +++ b/source/Cosmos.Debug.DebugStub/Serial.xs @@ -38,6 +38,8 @@ // // http://www.nondot.org/sabre/os/files/Communication/ser_port.txt +! %ifndef Exclude_IOPort_Based_SerialInit + // Todo Auto params // Todo ebp frame ptr auto etc function InitSerial { @@ -135,3 +137,5 @@ Wait: ESI++ } + +! %endif