Well, I tried Dave's suggestion, but something went wrong.
.data
windowSize SMALL_RECT <0,79,0,24>
bufferSize COORD <80,25>
startPoint COORD <0,0>
so I got rid of these code:
mov windowSize.Left, 0
mov windowSize.Right, 79
mov windowSize.Top, 0
mov windowSize.Bottom, 24
mov bufferSize.x, 80
mov bufferSize.y, 25
mov startPoint.x, 0
mov startPoint.y, 0
But the console is displayed black, with nothing inside. :icon_rolleyes: