+ very simple implementation of do_write for i8086-msdos. 'Hello World' now works!!!

git-svn-id: branches/i8086@23992 -
This commit is contained in:
nickysn 2013-03-24 23:30:31 +00:00
parent f24f119822
commit e3ce68612c

View File

@ -34,6 +34,15 @@ end;
function do_write(h:thandle;addr:pointer;len : longint) : longint;
begin
{ TODO: add error checking }
asm
mov ah, 40h
mov bx, h
mov cx, len
mov dx, addr
int 21h
end ['ax','bx','cx','dx'];
do_write := len;
end;