- Timestamp:
- Dec 20, 1999, 12:47:20 PM (26 years ago)
- Location:
- trunk/src/NTDLL
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/arith64.asm
r1654 r2159 1 ; $Id: arith64.asm,v 1. 2 1999-11-09 09:54:46 phallerExp $1 ; $Id: arith64.asm,v 1.3 1999-12-20 11:47:00 sandervl Exp $ 2 2 3 3 ;/* … … 666 666 667 667 ; ---------------------------------------------------------------------------- 668 669 PUBLIC _POP_FPU 670 _POP_FPU proc near 671 mov eax, [esp+4] 672 fstp qword ptr [eax] 673 ret 674 _POP_FPU endp 675 668 676 CODE32 ENDS 669 677 -
trunk/src/NTDLL/crt.cpp
r1955 r2159 1 /* $Id: crt.cpp,v 1.1 2 1999-12-03 11:56:26sandervl Exp $ */1 /* $Id: crt.cpp,v 1.13 1999-12-20 11:47:00 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #include "ntdll.h" 24 24 #include <heapstring.h> 25 #include "arith64.h" 25 26 26 27 /* … … 1310 1311 *****************************************************************************/ 1311 1312 1312 LONG CDECL NTDLL__CIpow(double x, double y) 1313 { 1314 dprintf(("NTDLL: _CIpow\n")); 1315 dprintf(("should be register function\n")); 1316 return pow(x, y); 1313 LONG CDECL NTDLL__CIpow() 1314 { 1315 double x,y; 1316 POP_FPU(y); 1317 POP_FPU(x); 1318 return pow(x,y); 1317 1319 } 1318 1320 … … 1332 1334 LONG CDECL NTDLL__ftol(void) 1333 1335 { 1334 dprintf(("NTDLL: _ftol not implemented.\n")); 1335 1336 return 0; 1336 /* don't just do DO_FPU("fistp",retval), because the rounding 1337 * mode must also be set to "round towards zero"... */ 1338 double fl; 1339 POP_FPU(fl); 1340 return (LONG)fl; 1337 1341 } 1338 1342 … … 1352 1356 LPSTR CDECL NTDLL__ltoa(long x,LPSTR buf,INT radix) 1353 1357 { 1354 dprintf(("NTDLL: _ltoa(%08xh, %08xh, %08xh) not implemented\n", 1355 x, 1356 buf, 1357 radix)); 1358 1359 return 0; 1358 return ltoa(x,buf,radix); 1360 1359 } 1361 1360 … … 1619 1618 LPSTR CDECL NTDLL__ultoa(long x,LPSTR buf,INT radix) 1620 1619 { 1621 dprintf(("NTDLL: _ultoa(%08xh, %08xh, %08xh) not implemented\n", 1622 x, 1623 buf, 1624 radix)); 1625 1626 return 0; 1620 return ultoa(x,buf,radix); 1627 1621 } 1628 1622 … … 1863 1857 1864 1858 1865 /*****************************************************************************1866 * Name :1867 * Purpose :1868 * Parameters:1869 * Variables :1870 * Result :1871 * Remark : NTDLL.9091872 * Status :1873 *1874 * Author : Jens Wiessner1875 *****************************************************************************/1876 1877 void CDECL NTDLL_qsort( void *base, size_t nmemb, size_t size,1878 int (*compar)( const void *s1, const void *s2 ))1879 {1880 dprintf(("NTDLL: qsort(%08xh, %08xh, %08xh, %08xh) not implemented.\n",1881 base, nmemb, size, compar));1882 }1883 1884 1859 1885 1860 /***************************************************************************** -
trunk/src/NTDLL/makefile
r1895 r2159 1 # $Id: makefile,v 1.1 4 1999-11-30 19:42:09sandervl Exp $1 # $Id: makefile,v 1.15 1999-12-20 11:47:01 sandervl Exp $ 2 2 3 3 # … … 35 35 unknown.obj\ 36 36 arith64.obj\ 37 regfunc.obj 37 regfunc.obj qsort.obj 38 38 39 39 … … 90 90 regfunc.obj: .\regfunc.asm 91 91 92 qsort.obj: qsort.c 93 92 94 clean: 93 95 $(RM) *.obj *.lib *.dll *.map *.pch -
trunk/src/NTDLL/ntdll.def
r2134 r2159 1 ; $Id: ntdll.def,v 1. 29 1999-12-19 12:25:55sandervl Exp $1 ; $Id: ntdll.def,v 1.30 1999-12-20 11:47:01 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 335 335 RtlConvertUlongToLargeInteger = _RtlConvertUlongToLargeInteger@4 @320 336 336 337 RtlDeleteCriticalSection = _DeleteCriticalSection@4 @327 338 RtlLeaveCriticalSection = _LeaveCriticalSection@4 @426 339 RtlEnterCriticalSection = _EnterCriticalSection@4 @344 340 RtlInitializeCriticalSection = _InitializeCriticalSection@4 @406 341 337 342 ; ------------------ 338 343 ; Register Functions … … 399 404 memset = _NTDLL_memset @907 400 405 pow = _NTDLL_pow @908 401 qsort = _ NTDLL_qsort@909406 qsort = _qsort @909 402 407 sin = _NTDLL_sin @910 403 408 sprintf = _OS2sprintf @911
Note:
See TracChangeset
for help on using the changeset viewer.