More conditional code.

This commit is contained in:
Matthijs ter Woord 2015-05-23 10:28:44 +02:00
parent 78a5574904
commit 8a6872c600
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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