Public feed
#377417
talk_init:
cli
mov edi, 0x000B8000
mov eax, (80*25)-1
talk_init_blankscreen_loop:
mov word [ds:edi+eax*2], 0x0000
dec ax
ja talk_init_blankscreen_loop
ret
talk_write:
xor eax, eax
mov cx, 7 << 8
talk_write_loop:
mov cl, byte [esi]
mov word [ds:edi+eax*2], cx
inc esi
inc ax
test cl, cl
jnz talk_write_loop
talk_write_loop_end:
ret
talk_deinit:
hlt