flat assembler
Message board for the users of flat assembler.
Index
> DOS > EDR-DOS WIP 2009-03-28 GetFileInformationByHandle |
Author |
|
DOS386 30 Mar 2009, 01:41
.
Yesterday King Udo released a new "WIP" version of EDR-DOS The most important new feature is support of the GetFileInformationByHandle - INT $21 /AX=$71A6 function that no other DOS has so far. http://drdosprojects.de http://www.ctyme.com/intr/rb-3216.htm http://msdn.microsoft.com/en-us/library/aa364952(loband).aspx http://msdn.microsoft.com/en-us/library/aa363788(VS.85,loband).aspx http://msdn.macrosoft.com/en-us/library/aa364952(loband).aspx http://msdn.macrosoft.com/en-us/library/aa363788(VS.85,loband).aspx heh, 2 middle links ^^^ are broken, guess why The returned attribute value seems to be buggy, though. Code: les bx,es:[bx] ; go to next driver in chain jmp get_colour10 get_colour30: mov ax,es:24[bx] ; get current COLOUR parameters mov dl,es:26[bx] get_colour40: mov bx,4[bp] ; and store them in variables mov ds:[bx],ax mov ds:2[bx],dl pop es pop bp ret Code: push bx push ax db 0fh,31h ; RDTSC db 66h ; MOV ECX,lasttsc+4 mov cx,lasttsc+4 db 66h ; MOV EBX,lasttsc mov bx,lasttsc db 66h ; SUB EAX,EBX sub ax,bx db 66h ; SBB EDX,ECX sbb dx,cx cmp tscsel,0 je diff_tsc10 db 66h push dx db 66h push ax mov dx,tscsel call output_hex And his assembler ^^^ seems a bit historical I'll upload some "related" FASM code later. @Revolution: thanks, fixed Last edited by DOS386 on 30 Mar 2009, 01:58; edited 4 times in total |
|||
30 Mar 2009, 01:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.