Ten lines? Why so complicated? Back in my day we did it with just two lines:
mov al, 13
int 10
And then you pushed your pixels to the video segment (a0000). So simple and elegant...But my dad still mocked me because it was too complicated! Back in his day, you didn't need to bother with stupid video modes, and could just POKE the pixels to your screen!