hexsha
stringlengths
40
40
size
int64
6
1.05M
ext
stringclasses
3 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
232
max_stars_repo_name
stringlengths
7
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
7
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
232
max_issues_repo_name
stringlengths
7
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
7
max_issues_count
int64
1
37.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
232
max_forks_repo_name
stringlengths
7
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
7
max_forks_count
int64
1
12.6k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
6
1.05M
avg_line_length
float64
1.16
19.7k
max_line_length
int64
2
938k
alphanum_fraction
float64
0
1
76a2337ef84b3fc816121db57aed4eb0d9271fb0
2,119
asm
Assembly
programs/oeis/254/A254029.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/254/A254029.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/254/A254029.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A254029: Positive solutions of Monkey and Coconut Problem for the classic case (5 sailors, 1 coconut to the monkey): a(n) = 15625*n - 4 for n >= 1. ; 15621,31246,46871,62496,78121,93746,109371,124996,140621,156246,171871,187496,203121,218746,234371,249996,265621,281246,296871,312496,328121,343746,359371,374996,390621,406246,421871,437496,453121,468746,484371,499996,515621,531246,546871,562496,578121,593746,609371,624996,640621,656246,671871,687496,703121,718746,734371,749996,765621,781246,796871,812496,828121,843746,859371,874996,890621,906246,921871,937496,953121,968746,984371,999996,1015621,1031246,1046871,1062496,1078121,1093746,1109371,1124996,1140621,1156246,1171871,1187496,1203121,1218746,1234371,1249996,1265621,1281246,1296871,1312496,1328121,1343746,1359371,1374996,1390621,1406246,1421871,1437496,1453121,1468746,1484371,1499996,1515621,1531246,1546871,1562496,1578121,1593746,1609371,1624996,1640621,1656246,1671871,1687496,1703121,1718746,1734371,1749996,1765621,1781246,1796871,1812496,1828121,1843746,1859371,1874996,1890621,1906246,1921871,1937496,1953121,1968746,1984371,1999996,2015621,2031246,2046871,2062496,2078121,2093746,2109371,2124996,2140621,2156246,2171871,2187496,2203121,2218746,2234371,2249996,2265621,2281246,2296871,2312496,2328121,2343746,2359371,2374996,2390621,2406246,2421871,2437496,2453121,2468746,2484371,2499996,2515621,2531246,2546871,2562496,2578121,2593746,2609371,2624996,2640621,2656246,2671871,2687496,2703121,2718746,2734371,2749996,2765621,2781246,2796871,2812496,2828121,2843746,2859371,2874996,2890621,2906246,2921871,2937496,2953121,2968746,2984371,2999996,3015621,3031246,3046871,3062496,3078121,3093746,3109371,3124996,3140621,3156246,3171871,3187496,3203121,3218746,3234371,3249996,3265621,3281246,3296871,3312496,3328121,3343746,3359371,3374996,3390621,3406246,3421871,3437496,3453121,3468746,3484371,3499996,3515621,3531246,3546871,3562496,3578121,3593746,3609371,3624996,3640621,3656246,3671871,3687496,3703121,3718746,3734371,3749996,3765621,3781246,3796871,3812496,3828121,3843746,3859371,3874996,3890621,3906246 mov $1,$0 mul $1,15625 add $1,15621
302.714286
1,931
0.854176
c1b50a794a826c9d3fdcdb267e3a5044f29ba8f5
585
asm
Assembly
programs/oeis/070/A070546.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/070/A070546.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/070/A070546.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A070546: a(n)=Card( k, 0<k<=n such that k is relatively prime to tau(k)=A000005(k)). ; 1,1,2,3,4,4,5,5,5,5,6,6,7,7,8,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,31,32,33,33,34,34,35,35,36,36,37,37 mov $3,$0 add $3,1 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 sub $0,$3 mov $2,$0 mul $2,$0 cal $0,5 ; d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n. mod $2,$0 add $2,$0 div $0,$2 mul $0,12 add $0,2 pow $0,2 mov $4,$0 div $4,192 add $1,$4 lpe
24.375
207
0.576068
1f26b22da152e8fe2ddb92a67888b8017dcafc79
5,173
asm
Assembly
vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SelFlatCodeToRealMode.asm
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SelFlatCodeToRealMode.asm
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SelFlatCodeToRealMode.asm
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
; $Id: bs3-cmn-SelFlatCodeToRealMode.asm 69222 2017-10-24 15:10:29Z vboxsync $ ;; @file ; BS3Kit - Bs3SelFlatCodeToRealMode. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the terms of the GNU ; General Public License (GPL) as published by the Free Software ; Foundation, in version 2 as it comes in the "COPYING" file of the ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. ; ; The contents of this file may alternatively be used under the terms ; of the Common Development and Distribution License Version 1.0 ; (CDDL) only, as it comes in the "COPYING.CDDL" file of the ; VirtualBox OSE distribution, in which case the provisions of the ; CDDL are applicable instead of those of the GPL. ; ; You may elect to license modified versions of this file under the ; terms and conditions of either the GPL or the CDDL or both. ; ;********************************************************************************************************************************* ;* Header Files * ;********************************************************************************************************************************* %include "bs3kit-template-header.mac" ;********************************************************************************************************************************* ;* Global Variables * ;********************************************************************************************************************************* BS3_EXTERN_DATA16 Bs3RmText16_EndOfSegment BS3_EXTERN_DATA16 Bs3X0Text16_EndOfSegment BS3_EXTERN_DATA16 Bs3X1Text16_EndOfSegment ; ; Make sure we can get at all the segments. ; BS3_BEGIN_TEXT16 BS3_BEGIN_RMTEXT16 BS3_BEGIN_X0TEXT16 BS3_BEGIN_X1TEXT16 TMPL_BEGIN_TEXT ;; ; @cproto BS3_CMN_PROTO(uint32_t, Bs3SelRealModeCodeToProtMode,(uint32_t uFlatAddr), false); ; ; @uses Only return registers (ax:dx, eax, eax) ; BS3_PROC_BEGIN_CMN Bs3SelFlatCodeToRealMode, BS3_PBC_NEAR BS3_CALL_CONV_PROLOG 1 push xBP mov xBP, xSP push xCX push xBX %if TMPL_BITS != 16 push xDX %endif ; ; Load the real mode frame number into DX so we can compare with the ; segment frame numbers fixed up by the linker. ; ; Imagine: FlatAddr = 0x054321 ; mov dx, [xBP + xCB + cbCurRetAddr + 1] ; dx = 0x0543 mov al, [xBP + xCB + cbCurRetAddr + 0] ; al = 0x21 mov cl,4 shl dx, 4 ; dx = 0x5430 shr al, 4 ; al = 0x02 or dl, al ; dx = 0x5432 mov ax, dx sub ax, CGROUP16 cmp ax, 1000h jb .bs3text16 mov ax, dx sub ax, BS3GROUPRMTEXT16 mov bx, Bs3RmText16_EndOfSegment wrt BS3GROUPRMTEXT16 add bx, 15 shr bx, cl cmp ax, bx jb .bs3rmtext16 mov ax, dx sub ax, BS3GROUPX0TEXT16 mov bx, Bs3X0Text16_EndOfSegment wrt BS3GROUPX0TEXT16 add bx, 15 shr bx, cl cmp ax, bx jb .bs3x0text16 mov ax, dx sub ax, BS3GROUPX1TEXT16 mov bx, Bs3X1Text16_EndOfSegment wrt BS3GROUPX1TEXT16 add bx, 15 shr bx, cl cmp ax, bx jb .bs3x1text16 extern BS3_CMN_NM(Bs3Panic) call BS3_CMN_NM(Bs3Panic) ; ; Load the real-mode frame into DX and calc the offset in AX. ; .bs3x1text16: mov dx, BS3GROUPX1TEXT16 jmp .calc_return .bs3x0text16: mov dx, BS3GROUPX0TEXT16 jmp .calc_return .bs3rmtext16: mov dx, BS3GROUPRMTEXT16 jmp .calc_return .bs3text16: mov dx, CGROUP16 .calc_return: ; Convert the real-mode frame into the low 16-bit base (BX). mov bx, dx shl bx, cl ; Subtract the 16-bit base from the flat address. (No need to consider ; the top half on either side.) mov ax, [xBP + xCB + cbCurRetAddr + 0] sub ax, bx %if TMPL_BITS != 16 ; Got a single 32-bit return register here. shl edx, 16 mov dx, ax mov eax, edx pop xDX %endif pop xBX pop xCX pop xBP BS3_CALL_CONV_EPILOG 1 BS3_HYBRID_RET BS3_PROC_END_CMN Bs3SelFlatCodeToRealMode ; ; We may be using the near code in some critical code paths, so don't ; penalize it. ; BS3_CMN_FAR_STUB Bs3SelFlatCodeToRealMode, 4
33.590909
130
0.516721
c5d98cda54826a40e091b2fadf60352f4d60c514
1,323
asm
Assembly
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_left_right.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_left_right.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_left_right.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fcntl PUBLIC zx_01_output_fzx_proc_move_left_right EXTERN l_divu_hl zx_01_output_fzx_proc_move_left_right: ; helper for left/right functions ; ; on stack = return, function address ld l,(ix+37) ld h,(ix+38) ; hl = y coord call l_divu_hl - 6 ; hl = y / 8 ld d,l ; d = y coord in characters ld l,(ix+35) ld h,(ix+36) ; hl = x coord call l_divu_hl - 6 ; hl = x / 8 ld e,l ; e = x coord in characters ld l,(ix+45) ld h,(ix+46) ; hl = paper.height call l_divu_hl - 6 ld b,l ; b = paper.height in characters ld l,(ix+41) ld h,(ix+42) ; hl = paper.width call l_divu_hl - 6 ld c,l ; c = paper.width in characters ld hl,return ex (sp),hl jp (hl) ; call function return: ld l,e ld h,0 ; hl = x coord in characters add hl,hl add hl,hl add hl,hl ld (ix+35),l ld (ix+36),h ; set new x coord ld l,d ; hl = y coord in characters add hl,hl add hl,hl add hl,hl ld (ix+37),l ld (ix+38),h ; set new y coord ret
20.353846
63
0.465608
a6b63a6cc1676a3066c87230f755c21e77a944fe
177
asm
Assembly
audio/sfx/battle_21.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
1
2022-01-09T05:28:52.000Z
2022-01-09T05:28:52.000Z
audio/sfx/battle_21.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
audio/sfx/battle_21.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
SFX_Battle_21_Ch7: unknownnoise0x20 2, 241, 51 unknownnoise0x20 2, 193, 50 unknownnoise0x20 2, 161, 49 unknownnoise0x20 15, 130, 50 unknownnoise0x20 8, 241, 52 endchannel
22.125
29
0.779661
9781e6723c48b051de09548cc0920b1cb9891e74
765
asm
Assembly
oeis/192/A192980.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/192/A192980.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/192/A192980.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A192980: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments. ; 0,1,2,6,15,34,70,135,248,440,761,1292,2164,3589,5910,9682,15803,25726,41802,67835,109980,178196,288597,467256,756360,1224169,1981130,3205950,5187783,8394490,13583086,21978447,35562464,57541904,93105425,150648452,243755068,394404781,638161182,1032567370,1670730035,2703298966,4374030642,7077331331,11451363780,18528697004,29980062765,48508761840,78488826768,126997590865,205486419986,332484013302,537970435839,870454451794,1408424890390,2278879345047,3687304238408,5966183586536,9653487828137 lpb $0 sub $0,1 seq $2,192979 ; Constant term of the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments. add $1,$2 mov $2,$0 lpe mov $0,$1
69.545455
493
0.801307
146b1a55a517a483574a537d849702b8b2630cd0
1,540
asm
Assembly
programs/oeis/033/A033297.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/033/A033297.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/033/A033297.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A033297: Number of ordered rooted trees with n edges such that the rightmost leaf of each subtree is at even level. Equivalently, number of Dyck paths of semilength n with no return descents of odd length. ; 1,1,4,10,32,100,329,1101,3761,13035,45751,162261,580639,2093801,7601044,27756626,101888164,375750536,1391512654,5172607766,19293659254,72188904386,270870709264,1019033438060,3842912963392,14524440108760,55009110807244,208738840943116,793503375708252,3021483126384052,11523152912842857,44010911964205341,168325218448037769,644618823701692995,2471666671205608267,9488131714654845225,36462672609966897139,140271190177039804261,540154181552935996129,2081972860723556112691,8031945730914342021329,31012484180990101937911,119840995024095249722789,463459124568901443365251,1793658729508346629888469,6946669982024826760157851,26922103775166220126271639,104405794467003145351720261,405146450712613992702888311,1573115207043546660920886145,6111670463470769724309930011,23757496482301856225832487501,92400374973480578024721358379,359559343054472893422888151045,1399855273554345977569591724927,5452601654290527519980066739385,21248351202484324384265154173279,82840109086637979649233164638801,323104886040939006081410278728311,1260746078555181036605362500310585,4921381880029674613881718346905751,19218355863015952211829740199367561,75077494695756027576105644747012564,293401675180060631902903397966534386 lpb $0 mov $2,$0 sub $0,2 seq $2,71724 ; a(n) = 3*binomial(2n, n-1)/(n+2), n > 0, with a(0)=1. add $1,$2 lpe add $1,1 mov $0,$1
128.333333
1,194
0.884416
0ee9c6bc4defadc685900b874723597669868910
1,800
asm
Assembly
timers/div_resets_timer_overflow/main.asm
AntonioND/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
6
2018-07-21T12:11:21.000Z
2021-07-23T16:32:47.000Z
timers/div_resets_timer_overflow/main.asm
PMArkive/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
null
null
null
timers/div_resets_timer_overflow/main.asm
PMArkive/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
3
2016-04-26T07:45:34.000Z
2018-12-30T05:45:14.000Z
INCLUDE "hardware.inc" INCLUDE "header.inc" SECTION "var",BSS ram_ptr: DS 2 repeat_loop: DS 1 SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;-------------------------------------------------------------------------- Main: ld hl,$A000 ld a,[Init_Reg_A] cp a,$11 jr nz,.skipchange1 ld a,0 ld [repeat_loop],a call CPU_slow .skipchange1: repeat_all: ; ------------------------------------------------------- ld a,$0A ld [$0000],a ; enable ram ld a,0 ld [rTMA],a ld [rIF],a ld [rDIV],a ld [rTIMA],a ld [rDIV],a ld a,TACF_STOP|TACF_65KHZ ld [rTAC],a ld a,TACF_START|TACF_65KHZ ld [rTAC],a jp Main2 ; ------------------------------------------------------- ; ------------------------------------------------------- SECTION "Main2",ROMX Main2: REPETITIONS_1 SET 0 REPT 20 REPETITIONS_2 SET 0 REPT 20 xor a,a ld [rIF],a ld a,$FE ld [rDIV],a ld [rTIMA],a REPT REPETITIONS_1 nop ENDR ld a,0 ld [rDIV],a REPT REPETITIONS_2 nop ENDR ld a,[rTIMA] ld [hl+],a ld a,[rIF] and a,IEF_TIMER ld [hl+],a REPETITIONS_2 SET REPETITIONS_2+1 ENDR REPETITIONS_1 SET REPETITIONS_1+1 ENDR ; ------------------------------------------------------- push hl ; magic number ld [hl],$12 inc hl ld [hl],$34 inc hl ld [hl],$56 inc hl ld [hl],$78 pop hl ld a,$00 ld [$0000],a ; disable ram ; ------------------------------------------------------- ld a,[Init_Reg_A] cp a,$11 jr nz,.skipchange2 ld a,[repeat_loop] and a,a jr nz,.endloop ; ------------------------------------------------------- call CPU_fast ld a,1 ld [repeat_loop],a jp repeat_all .skipchange2: .endloop: halt jr .endloop
14.634146
75
0.440556
9a58a7ead678f0212edf2175bc5a6857bd5c8c60
637
asm
Assembly
libsrc/math/z88math/c/sccz80/float.asm
rjcorrig/z88dk
c49c26bb232c17ea5a45d21bb81b6343572b7f4c
[ "ClArtistic" ]
null
null
null
libsrc/math/z88math/c/sccz80/float.asm
rjcorrig/z88dk
c49c26bb232c17ea5a45d21bb81b6343572b7f4c
[ "ClArtistic" ]
null
null
null
libsrc/math/z88math/c/sccz80/float.asm
rjcorrig/z88dk
c49c26bb232c17ea5a45d21bb81b6343572b7f4c
[ "ClArtistic" ]
null
null
null
; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 7/12/98 djm ;Convert from integer to FP.. ;We could enter in here with a long in dehl, so, mod to compiler I think! SECTION code_fp INCLUDE "target/z88/def/fpp.def" PUBLIC float EXTERN fa .float push de ;msb exx pop hl ld c,0 ;no exponent fpp(FP_FLT) ld (fa+3),hl ld a,c ld (fa+5),a exx ld (fa+1),hl xor a ld (fa),a ret
18.735294
73
0.422292
892365cd5cd8ae9e499750e51b19bcff9cc846c0
791
asm
Assembly
oeis/132/A132406.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/132/A132406.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/132/A132406.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A132406: Floor(exp(n)/n^3). ; Submitted by Jon Maiga ; 2,0,0,0,1,1,3,5,11,22,44,94,201,438,968,2169,4916,11258,26021,60645,142405,336674,800920,1916169,4608313,11136186,27030851,65882701,161192927,395795354,975088102,2409758306,5972774015,14844843846,36991567400,92404654216,231361269279,580549857069,1459791979365,3677894794328,9283723299575,23475798260453,59464442982748,150868709081039,383366486227545,975601978774805,2486263049796352,6344704781627632,16212178365265320,41477644228696579,106244889403543041,272460173014094279,699487458306460218 mov $1,1 mov $2,1 mov $3,$0 add $0,1 mul $3,4 lpb $3 mul $1,$0 mul $2,$3 add $1,$2 div $1,$0 div $2,$0 sub $3,1 max $3,1 mov $5,$0 pow $5,3 lpe mul $1,$0 div $1,$2 add $1,1 mov $4,$5 cmp $4,0 add $5,$4 div $1,$5 mov $0,$1
27.275862
494
0.750948
5e1673a9cec0e5757cd73f5bb5245dfae5a56f31
353
asm
Assembly
programs/oeis/289/A289945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/289/A289945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/289/A289945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A289945: a(n) = Sum_{k=1..n} k!^4. ; 1,17,1313,333089,207693089,268946253089,645510228813089,2643553803594573089,17342764866576345933089,173418555892594089945933089,2538940579958951120707545933089,52646414799433780559063261145933089 add $0,2 lpb $0 mov $2,$0 max $0,3 sub $0,1 pow $2,4 mul $1,$2 add $1,1 lpe mul $1,16 add $1,1 mov $0,$1
22.0625
197
0.736544
25dcb1a768e7324b60f33fffe9425f331bcf6830
5,801
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1072.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1072.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1072.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1349e, %rdi nop nop nop add $14416, %r12 mov $0x6162636465666768, %r11 movq %r11, %xmm0 movups %xmm0, (%rdi) nop nop nop nop nop xor $54500, %r8 lea addresses_WT_ht+0x2356, %rsi lea addresses_A_ht+0x11b5e, %rdi nop and $22228, %r9 mov $98, %rcx rep movsq nop nop nop and $22032, %r8 lea addresses_WT_ht+0xcb2, %r12 add %rdi, %rdi and $0xffffffffffffffc0, %r12 vmovaps (%r12), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $0, %xmm5, %r8 nop nop and $40384, %r12 lea addresses_WT_ht+0x200a, %rsi lea addresses_UC_ht+0x13cfe, %rdi nop nop nop dec %rax mov $80, %rcx rep movsq nop nop nop nop nop inc %rcx lea addresses_UC_ht+0x479e, %rsi lea addresses_A_ht+0x1f5e, %rdi nop nop nop inc %r8 mov $114, %rcx rep movsw nop nop nop nop cmp $64665, %r8 lea addresses_WC_ht+0xff7e, %rcx nop nop nop nop sub $18060, %r9 movl $0x61626364, (%rcx) nop add %rcx, %rcx lea addresses_A_ht+0x4d5e, %rsi lea addresses_D_ht+0x163ae, %rdi nop nop nop inc %r11 mov $23, %rcx rep movsq nop nop nop cmp %r9, %r9 pop %rsi pop %rdi pop %rcx pop %rax pop %r9 pop %r8 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r13 push %r9 push %rax push %rbp push %rdx // Faulty Load lea addresses_PSE+0xcb5e, %r9 nop nop nop and %r13, %r13 mov (%r9), %ebp lea oracles, %rdx and $0xff, %rbp shlq $12, %rbp mov (%rdx,%rbp,1), %rbp pop %rdx pop %rbp pop %rax pop %r9 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 6, 'size': 16, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': True, 'congruent': 2, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 5, 'size': 4, 'same': True, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
40.006897
2,999
0.662472
5a1f184ee6a1871221b053cef79fb71af884e73b
3,002
asm
Assembly
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_input_kbd_inkey/zx_01_input_inkey_iterm_msg_getc.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_input_kbd_inkey/zx_01_input_inkey_iterm_msg_getc.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_input_kbd_inkey/zx_01_input_inkey_iterm_msg_getc.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
INCLUDE "clib_cfg.asm" SECTION code_fcntl PUBLIC zx_01_input_inkey_iterm_msg_getc EXTERN zx_01_input_inkey_proc_getk_address EXTERN asm_in_inkey, asm_z80_delay_ms, error_mc zx_01_input_inkey_iterm_msg_getc: ; enter : ix = & FDSTRUCT.JP ; ; exit : a = keyboard char after character set translation ; carry set on error, hl = 0 (stream error) or -1 (eof) ; ; can use : af, bc, de, hl call zx_01_input_inkey_proc_getk_address ; hl = & getk_state ld b,(hl) ; b = getk_state inc hl ld c,(hl) ; c = getk_lastk inc hl push hl ; save & getk_debounce_ms djnz state_2 state_1: ; debounce state call asm_in_inkey ; get intial keypress state_1t_join: inc l dec l jr z, state_1 ; if no key read ld c,l ; c = ascii code ld b,$02 ; next state pop hl push hl ld l,(hl) ld h,0 ; hl = debounce_ms jr debounce state_2: ; repeat begin state inc hl ; hl = & getk_repeat_begin_ms djnz state_3 ; repeat begin jr getk_0 state_unknown: dec hl ; hl = & getk_debounce_ms jr state_1 state_3: ; repeat period state djnz state_unknown inc hl inc hl ; hl = & getk_repeat_period_ms getk_0: ld b,$03 ; next state ld a,(hl) inc hl ld h,(hl) ld l,a ; hl = repeat_ms getk_1: ; b = next state ; c = getk_last ; hl = delay_ms ; stack = & getk_debounce_ms push hl push bc getk_loop: call asm_in_inkey pop bc ld a,l cp c jr nz, state_1t ; if current keypress does not match lastk pop hl debounce: ; hl = time remaining to match ; c = getk_last ; b = next state ; stack = & getk_debounce_ms ld a,h or l jr z, key_pressed dec hl push hl push bc ld hl,1 call asm_z80_delay_ms jr getk_loop state_1t: ; keypress mismatch, return to debounce state ; hl = ascii code ; stack = & getk_debounce_ms, junk pop bc jr state_1t_join key_pressed: pop hl ; hl = & getk_debounce_ms dec hl ld (hl),c ; store lastk (current keypress) dec hl ld (hl),b ; store next state ; insert character set translation here ; must translate to the clib charset ld a,c ; a = ascii char from in_inkey cp 10 jr z, key_cr cp 13 jr z, key_lf cp CHAR_CTRL_D jp z, error_mc ; indicate eof exit: ld l,a ld h,0 ; a = hl = ascii code or a ret key_cr: ld a,CHAR_CR jr exit key_lf: ld a,CHAR_LF jr exit
16.960452
73
0.520653
ff2c3574835bd2276eadaf46519bbe48786c1891
583
asm
Assembly
programs/oeis/075/A075643.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/075/A075643.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/075/A075643.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A075643: Group the natural numbers so that the n-th group contains n numbers one each of a multiple of numbers from 1 to n so that the group sum is a multiple of (n+1): (2), (1, 8), (3, 4, 9), (5, 6, 12, 32), (7, 10, 15, 16, 30), (11, 14, 18, 20, 25, 24), ... Sequence gives initial terms of groups. ; 2,1,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277 mov $1,1 cmp $1,$0 trn $0,1 seq $0,40 ; The prime numbers. sub $0,$1
64.777778
301
0.660377
1cd05924573a02008588fa3832fc85a0b3a6cdc2
616
asm
Assembly
oeis/075/A075365.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/075/A075365.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/075/A075365.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A075365: Smallest k such that (n+1)(n+2)...(n+k) is divisible by the product of all the primes up to n. ; Submitted by Jamie Morken(s3) ; 0,2,3,2,5,4,7,6,5,5,11,10,13,12,11,10,17,16,19,18,17,16,23,22,21,20,19,18,29,28,31,30,29,28,27,26,37,36,35,34,41,40,43,42,41,40,47,46,45,44,43,42,53,52,51,50,49,48,59,58,61,60,59,58,57,56,67,66,65,64,71,70,73,72,71,70,69,68,79,78,77,76,83,82,81,80,79,78,89,88,87,86,85,84,83,82,97,96,95,94 mov $2,$0 lpb $0 mov $1,$0 seq $1,175856 ; a(n) = n for n = noncomposites, a(n) = previous term - 1 for n = composites. div $2,$1 bin $2,2 mov $0,$2 add $2,$1 lpe mov $0,$2
41.066667
291
0.628247
fc1bfbe0353d5cb5c97323136fb87384df6fc061
546
asm
Assembly
libsrc/video/upd7220/upd7220_command.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/video/upd7220/upd7220_command.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/video/upd7220/upd7220_command.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_clib PUBLIC __upd7220_command INCLUDE "video/upd7220/upd7220.inc" ; Entry: a = command ; hl = address to read bytes from ; b = number of bytes __upd7220_command: call ckstatus out (UPD_7220_COMMAND_WRITE),a command_1: call ckstatus ld a,(hl) inc hl out (UPD_7220_PARAMETER_WRITE),a djnz command_1 ret ckstatus: ex af,af ckstatus1: in a,(UPD_7220_STATUS_READ) and 2 jr nz,ckstatus1 ex af,af ret
17.0625
43
0.587912
8f6a4325e4f9b1883444b27af6d32f76ff977e20
3,801
asm
Assembly
fizzbuzz.asm
asmblah/fizzbuzz.asm
e203968030e01f02d726c3634b2d12b792b1fa12
[ "MIT" ]
null
null
null
fizzbuzz.asm
asmblah/fizzbuzz.asm
e203968030e01f02d726c3634b2d12b792b1fa12
[ "MIT" ]
null
null
null
fizzbuzz.asm
asmblah/fizzbuzz.asm
e203968030e01f02d726c3634b2d12b792b1fa12
[ "MIT" ]
1
2021-11-02T20:35:54.000Z
2021-11-02T20:35:54.000Z
; ; FizzBuzz in NASM x86 assembly for OSX ; ; Copyright (c) Dan Phillimore (dan@ovms.co) ; https://github.com/asmblah/fizzbuzz.asm ; ; Released under the MIT license ; https://github.com/asmblah/fizzbuzz.asm/raw/master/MIT-LICENSE.txt ; section .text global start ; Program entry point start: ; Print start message push dword startMessageLength push dword startMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel mov [counter], byte 1 next_number: mov al, [counter] xor ah, ah mov bl, 3 div bl cmp ah, 0 ; Check remainder (modulo 3) jne not_fizz ; Handle "FizzBuzz" mov al, [counter] xor ah, ah mov bl, 5 div bl cmp ah, 0 ; Check remainder (modulo 5) jne not_fizzbuzz ; Print "FizzBuzz" push dword 9 push dword fizzBuzzMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel jmp finished_this_number not_fizzbuzz: ; Print "Fizz" push dword 5 push dword fizzMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel jmp finished_this_number not_fizz: mov al, [counter] xor ah, ah mov bl, 5 div bl cmp ah, 0 ; Check remainder (modulo 5) jne not_fizz_or_buzz ; Print "Buzz" push dword 5 push dword buzzMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel jmp finished_this_number not_fizz_or_buzz: ; Build second & third chars of number string mov al, [counter] xor ah, ah mov bl, 10 div bl cmp al, 0 ; Check remainder (modulo 10) to see whether we have a 2-digit decimal number je skip_padding add al, 48 ; Add ASCII index of char "0" to byte mov [counterMessage], al skip_padding: add ah, 48 ; Add ASCII index of char "0" to byte mov [counterMessage+1], ah ; Print number string push dword 3 ; Use a string of 3 bytes to allow up to 98 + newline char push dword counterMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel finished_this_number: add [counter], byte 1 cmp [counter], byte 100 jle next_number ; Print end message push dword endMessageLength push dword endMessage push dword 1 ; File descriptor (stdout) mov eax, 4 ; System call number (sys_write) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel quit: mov eax, 1 ; System call number (sys_exit) sub esp, 4 ; OS X system calls need extra space on the stack int 0x80 ; Call kernel section .data counter db 0 ; NB: 0xa char at the end of each string terminates it with a newline ; 3 bytes - 2 spaces to be populated with number + 1 for the newline counterMessage db ' ', 0xa startMessage db 'FizzBuzz test', 0xa startMessageLength equ $ - startMessage fizzMessage db 'Fizz', 0xa buzzMessage db 'Buzz', 0xa fizzBuzzMessage db 'FizzBuzz', 0xa endMessage db 'Done!', 0xa endMessageLength equ $ - endMessage
29.015267
99
0.63457
abbc2423373339311b989bb379552532fab2da9c
1,284
asm
Assembly
programs/oeis/007/A007993.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/007/A007993.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/007/A007993.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A007993: Poincaré series [or Poincare series] of Lie algebra associated with a certain braid group. ; 3,12,40,102,219,419,738,1221,1923,2910,4260,6064,8427,11469,15326,20151,26115,33408,42240,52842,65467,80391,97914,118361,142083,169458,200892,236820,277707,324049,376374,435243,501251,575028,657240,748590,849819,961707,1085074,1220781,1369731,1532870,1711188,1905720,2117547,2347797,2597646,2868319,3161091,3477288,3818288,4185522,4580475,5004687,5459754,5947329,6469123,7026906,7622508,8257820,8934795,9655449,10421862,11236179,12100611,13017436,13989000,15017718,16106075,17256627,18472002,19754901,21108099,22534446,24036868,25618368,27282027,29031005,30868542,32797959,34822659,36946128,39171936,41503738,43945275,46500375,49172954,51967017,54886659,57936066,61119516,64441380,67906123,71518305,75282582,79203707,83286531,87536004,91957176,96555198 mov $2,$0 add $2,1 mov $10,$0 lpb $2 mov $0,$10 sub $2,1 sub $0,$2 mov $4,0 mov $7,$0 mov $8,0 mov $9,$0 add $9,1 lpb $9 mov $0,$7 sub $9,1 sub $0,$9 mov $3,2 add $4,1 add $6,1 lpb $0 sub $0,1 mul $0,2 mul $3,2 add $3,1 lpe mov $5,3 add $5,$4 bin $5,3 sub $5,$3 add $5,$6 bin $6,$5 add $8,$5 lpe add $1,$8 lpe mov $0,$1
32.1
754
0.706386
90fa9d5d86e4f698a85bf208744f4a15a190671f
327
asm
Assembly
libsrc/_DEVELOPMENT/l/sccz80/9-common/l_gintspchar.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/l/sccz80/9-common/l_gintspchar.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/l/sccz80/9-common/l_gintspchar.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; Z88 Small C+ Run time Library ; l_gint+l_gchar variant to be used sometimes by the peephole optimizer ; SECTION code_clib SECTION code_l_sccz80 PUBLIC l_gintspchar l_gintspchar: add hl,sp inc hl inc hl ld a,(hl+) ld h,(hl) ld l,a ld a,(hl) ld l,a rlca sbc a,a ld h,a ret
13.625
77
0.623853
b53fe41cef3c8ef7ef02bc950fb820c7f2058090
1,097
asm
Assembly
progref/adsr.asm
FolkertVanVerseveld/c64
a244b976cc650a86566b88066c0f7cb3a3915f09
[ "MIT" ]
1
2018-12-26T22:55:37.000Z
2018-12-26T22:55:37.000Z
progref/adsr.asm
FolkertVanVerseveld/c64
a244b976cc650a86566b88066c0f7cb3a3915f09
[ "MIT" ]
null
null
null
progref/adsr.asm
FolkertVanVerseveld/c64
a244b976cc650a86566b88066c0f7cb3a3915f09
[ "MIT" ]
null
null
null
// converted from BASIC from the Commodore 64 Programmer's reference guide page 185 .pc = $0801 "Basic Upstart Program" :BasicUpstart($0810) .pc = $0810 "Main Program" .macro small_delay() { .for (var i = 0; i < 3; i++) { ldy #0 !l: iny bne !l- } } // clear sid state lda #0 ldx #0 !l: sta $d400, x inx cpx #$19 bne !l- // setup voice 1 lda #9 sta $d405 lda #0 sta $d406 // set voice 1 volume to max lda #15 sta $d418 ldx #0 kernel: lda tune, x sta $d401 inx lda tune, x sta $d400 inx lda #33 sta $d404 lda tune, x inx wait: :small_delay() tay dey tya bne wait lda #32 sta $d404 :small_delay() cpx #52 bmi kernel brk loop: jmp loop tune: .byte 25, 177, 250 / 3, 28, 214, 250 / 3 // 6 .byte 25, 177, 250 / 3, 25, 177, 250 / 3 // 12 .byte 25, 177, 125 / 3, 28, 214, 125 / 3 // 18 .byte 32, 94, 750 / 3, 25, 177, 250 / 3 // 24 .byte 28, 214, 250 / 3, 19, 63, 250 / 3 // 30 .byte 19, 63, 250 / 3, 19, 63, 250 / 3 // 36 .byte 21, 154, 125 / 3, 24, 63, 125 / 3 // 42 .byte 25, 177, 250 / 3, 24, 63, 125 / 3 // 48 .byte 19, 63, 250 / 3 // 51
16.132353
83
0.570647
0a398d259e5562c1ba5bd00d14912bfa0c6c08be
3,730
asm
Assembly
engine/menus/menu_2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
engine/menus/menu_2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
engine/menus/menu_2.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
PlaceMenuItemName: push de ld a, [wMenuSelection] ld [wNamedObjectIndexBuffer], a call GetItemName pop hl call PlaceString ret PlaceMenuItemQuantity: push de ld a, [wMenuSelection] ld [wCurItem], a farcall _CheckTossableItem ld a, [wItemAttributeParamBuffer] pop hl and a jr nz, .done ld de, $15 add hl, de ld [hl], "×" inc hl ld de, wMenuSelectionQuantity lb bc, 1, 2 call PrintNum .done ret PlaceMoneyTopRight: ld hl, MenuHeader_0x24b15 call CopyMenuHeader jr PlaceMoneyTextbox PlaceMoneyBottomLeft: ld hl, MenuHeader_0x24b1d call CopyMenuHeader jr PlaceMoneyTextbox PlaceMoneyAtTopLeftOfTextbox: ld hl, MenuHeader_0x24b15 lb de, 0, 11 call OffsetMenuHeader PlaceMoneyTextbox: call MenuBox call MenuBoxCoord2Tile ld de, SCREEN_WIDTH + 1 add hl, de ld de, wMoney lb bc, PRINTNUM_MONEY | 3, 6 call PrintNum ret MenuHeader_0x24b15: db MENU_BACKUP_TILES ; flags menu_coords 11, 0, SCREEN_WIDTH - 1, 2 dw NULL db 1 ; default option MenuHeader_0x24b1d: db MENU_BACKUP_TILES ; flags menu_coords 0, 11, 8, 13 dw NULL db 1 ; default option DisplayCoinCaseBalance: ; Place a text box of size 1x7 at 11, 0. hlcoord 11, 0 ld b, 1 ld c, 7 call Textbox hlcoord 12, 0 ld de, CoinString call PlaceString hlcoord 17, 1 ld de, ShowMoney_TerminatorString call PlaceString ld de, wCoins lb bc, 2, 4 hlcoord 13, 1 call PrintNum ret DisplayMoneyAndCoinBalance: hlcoord 5, 0 ld b, 3 ld c, 13 call Textbox hlcoord 6, 1 ld de, MoneyString call PlaceString hlcoord 12, 1 ld de, wMoney lb bc, PRINTNUM_MONEY | 3, 6 call PrintNum hlcoord 6, 3 ld de, CoinString call PlaceString hlcoord 15, 3 ld de, wCoins lb bc, 2, 4 call PrintNum ret MoneyString: db "MONEY@" CoinString: db "COIN@" ShowMoney_TerminatorString: db "@" Unreferenced_Function24b8f: ; related to safari? ld hl, wOptions ld a, [hl] push af set NO_TEXT_SCROLL, [hl] hlcoord 0, 0 ld b, 3 ld c, 7 call Textbox hlcoord 1, 1 ld de, wSafariTimeRemaining lb bc, 2, 3 call PrintNum hlcoord 4, 1 ld de, .slash_500 call PlaceString hlcoord 1, 3 ld de, .booru_ko call PlaceString hlcoord 5, 3 ld de, wSafariBallsRemaining lb bc, 1, 2 call PrintNum pop af ld [wOptions], a ret .slash_500 db "/500@" .booru_ko db "ボール   こ@" StartMenu_DrawBugContestStatusBox: hlcoord 0, 0 ld b, 5 ld c, 17 call Textbox ret StartMenu_PrintBugContestStatus: ld hl, wOptions ld a, [hl] push af set NO_TEXT_SCROLL, [hl] call StartMenu_DrawBugContestStatusBox hlcoord 1, 5 ld de, .Balls_EN call PlaceString hlcoord 8, 5 ld de, wParkBallsRemaining lb bc, PRINTNUM_RIGHTALIGN | 1, 2 call PrintNum hlcoord 1, 1 ld de, .CAUGHT call PlaceString ld a, [wContestMon] and a ld de, .None jr z, .no_contest_mon ld [wNamedObjectIndexBuffer], a call GetPokemonName .no_contest_mon hlcoord 8, 1 call PlaceString ld a, [wContestMon] and a jr z, .skip_level hlcoord 1, 3 ld de, .LEVEL call PlaceString ld a, [wContestMonLevel] ld h, b ld l, c inc hl ld c, 3 call Print8BitNumRightAlign .skip_level pop af ld [wOptions], a ret .Balls_JP: db "ボール   こ@" .CAUGHT: db "CAUGHT@" .Balls_EN: db "BALLS:@" .None: db "None@" .LEVEL: db "LEVEL@" FindApricornsInBag: ; Checks the bag for Apricorns. ld hl, wBuffer1 xor a ld [hli], a dec a ld bc, 10 call ByteFill ld hl, ApricornBalls .loop ld a, [hl] cp -1 jr z, .done push hl ld [wCurItem], a ld hl, wNumItems call CheckItem pop hl jr nc, .nope ld a, [hl] call .addtobuffer .nope inc hl inc hl jr .loop .done ld a, [wBuffer1] and a ret nz scf ret .addtobuffer push hl ld hl, wBuffer1 inc [hl] ld e, [hl] ld d, 0 add hl, de ld [hl], a pop hl ret INCLUDE "data/items/apricorn_balls.asm"
14.685039
41
0.713941
62f97b01f9af4612154cf583a4a23de4d6030bce
362
asm
Assembly
libsrc/_DEVELOPMENT/string/c/sccz80/memchr_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/string/c/sccz80/memchr_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/string/c/sccz80/memchr_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *memchr(const void *s, int c, size_t n) SECTION code_clib SECTION code_string PUBLIC memchr_callee, l0_memchr_callee EXTERN asm_memchr memchr_callee: pop hl pop bc pop de ex (sp),hl l0_memchr_callee: ld a,e jp asm_memchr ; SDCC bridge for Classic IF __CLASSIC PUBLIC _memchr_callee defc _memchr_callee = memchr_callee ENDIF
12.482759
46
0.743094
30bf490192b1fda89bf114dab459c59f97677162
920
asm
Assembly
programs/oeis/134/A134006.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/134/A134006.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/134/A134006.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A134006: a(n) = 1^n + 3^n + 5^n + 7^n. ; 4,16,84,496,3108,20176,134004,903856,6161988,42326416,292299924,2026332016,14085959268,98111307856,684331371444,4778093436976,33385561506948,233393582580496,1632228682596564,11417969833962736,79887637216037028,559022711701840336,3912205265755063284,27380668363179173296,191640836307771341508,1341366643735130463376,9388970456309004899604,65719812951756801452656,460023789470601372572388,3220092020396733199905616,22540271613472764698473524,157780038648336557403904816,1104450957310139053457041668,7731110135034830519518103056,54117538114577923524731593044,378821602648760486598177953776,2651745397775031933266127021348,18562188680594166420618087871696,129935175245005080140184984706164,909545499119268739231833868943536,6366814855856057872689273346543428,44567685801098321019598318897307536,311973709658217923952378932094100884 seq $0,74552 ; a(n) = 3^n + 5^n + 7^n. add $0,1
153.333333
829
0.895652
33a2faf21e5e71faa3ffd6587f180266dffb7562
1,827
asm
Assembly
libsrc/z80_crt0s/8080/sccz80/l_long_ucmp.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/z80_crt0s/8080/sccz80/l_long_ucmp.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/z80_crt0s/8080/sccz80/l_long_ucmp.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
; Z88 Small C+ Run Time Library ; Long support functions ; "8080" mode ; Stefano - 30/4/2002 ; $Id: l_long_ucmp.asm,v 1.2 2016-06-16 20:31:05 dom Exp $ ; SECTION code_crt0_sccz80 PUBLIC l_long_ucmp EXTERN __retloc EXTERN __retloc2 ; Unsigned compare of dehl (stack) and dehl (registers) ; ; Entry: primary = (under two return addresses on stack) ; secondary= dehl ; ; Exit: z = numbers the same ; nz = numbers different ; c/nc = sign of difference [set if secondary > primary] ; ; Code takes secondary from primary .l_long_ucmp ex (sp),hl ld (__retloc),hl ;first return pop bc ;low word pop hl ;second return value ld (__retloc2),hl ld hl,0 add hl,sp ;points to hl on stack ld a,(hl) sub c ld c,a inc hl ld a,(hl) sbc a,b ld b,a inc hl ld a,(hl) sbc a,e ld e,a inc hl ld a,(hl) sbc a,d ld d,a inc hl ld sp,hl ; ATP we have done the comparision and are left with dehl = result of ; primary - secondary, if we have a carry then secondary > primary jp c,l_long_ucmp1 ; ; Primary was larger, return nc ld a,c or b or d or e ld hl,1 ; Saves some mem in comparison functions scf ; Replace with and a? ccf jp retloc ; Secondary was larger, return c .l_long_ucmp1 ld a,c or b or d or e scf ld hl,1 ; Saves some mem in comparision unfunctions .retloc ex de,hl ld hl,(__retloc2) push hl ld hl,(__retloc) push hl ex de,hl ret
20.52809
69
0.518336
bdc9067b3fec86704a736da2e553580fb27078df
168
asm
Assembly
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_capacity.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_capacity.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_capacity.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; size_t wa_stack_capacity(wa_stack_t *s) SECTION code_adt_wa_stack PUBLIC _wa_stack_capacity EXTERN _w_array_capacity defc _wa_stack_capacity = _w_array_capacity
15.272727
43
0.857143
f898def07aa4eb845d0f4b6afb5919ce433d621b
223
asm
Assembly
audio/sfx/safari_zone_pa.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
1
2022-01-09T05:28:52.000Z
2022-01-09T05:28:52.000Z
audio/sfx/safari_zone_pa.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
audio/sfx/safari_zone_pa.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
SFX_Safari_Zone_PA_Ch4: duty 2 unknownsfx0x20 15, 243, 48, 7 unknownsfx0x20 8, 101, 48, 7 unknownsfx0x20 15, 244, 0, 7 unknownsfx0x20 15, 116, 0, 7 unknownsfx0x20 15, 68, 0, 7 unknownsfx0x20 15, 36, 0, 7 endchannel
22.3
30
0.726457
18d8f6e397353b91922b614eec26bb59227ca6fd
86
asm
Assembly
tests/expect/tests/while-do.asm
brenden7158/v86
c9e274dc6e8cc619d1b36d57a69299aee6a45a91
[ "BSD-2-Clause" ]
12,700
2015-01-04T15:03:42.000Z
2022-03-31T06:43:06.000Z
tests/expect/tests/while-do.asm
brenden7158/v86
c9e274dc6e8cc619d1b36d57a69299aee6a45a91
[ "BSD-2-Clause" ]
566
2015-01-01T18:16:40.000Z
2022-03-31T19:59:10.000Z
tests/expect/tests/while-do.asm
brenden7158/v86
c9e274dc6e8cc619d1b36d57a69299aee6a45a91
[ "BSD-2-Clause" ]
1,182
2015-01-05T09:20:48.000Z
2022-03-31T12:16:52.000Z
BITS 32 start: cmp eax, 10 jz end add ebx, 1 jmp start end: hlt
7.818182
15
0.523256
d049c62bf2fdaf0b984df9e3d7d3d857302d301e
23,016
asm
Assembly
libav-12.3/libavcodec/x86/h264_deblock_10bit.asm
aldarons-tech/aci
0fc09bea7274737a2aa7a3422d65e2630af64b58
[ "MIT" ]
null
null
null
libav-12.3/libavcodec/x86/h264_deblock_10bit.asm
aldarons-tech/aci
0fc09bea7274737a2aa7a3422d65e2630af64b58
[ "MIT" ]
3
2020-07-02T01:33:51.000Z
2020-08-11T14:40:29.000Z
libav-12.3/libavcodec/x86/h264_deblock_10bit.asm
aldarons-tech/aci
0fc09bea7274737a2aa7a3422d65e2630af64b58
[ "MIT" ]
null
null
null
;***************************************************************************** ;* MMX/SSE2/AVX-optimized 10-bit H.264 deblocking code ;***************************************************************************** ;* Copyright (C) 2005-2011 x264 project ;* ;* Authors: Oskar Arvidsson <oskar@irock.se> ;* Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fiona@x264.com> ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software Foundation; either ;* version 2.1 of the License, or (at your option) any later version. ;* ;* Libav is distributed in the hope that it will be useful, ;* but WITHOUT ANY WARRANTY; without even the implied warranty of ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;* Lesser General Public License for more details. ;* ;* You should have received a copy of the GNU Lesser General Public ;* License along with Libav; if not, write to the Free Software ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;****************************************************************************** %include "libavutil/x86/x86util.asm" SECTION_RODATA pw_pixel_max: times 8 dw ((1 << 10)-1) SECTION .text cextern pw_2 cextern pw_3 cextern pw_4 ; out: %4 = |%1-%2|-%3 ; clobbers: %5 %macro ABS_SUB 5 psubusw %5, %2, %1 psubusw %4, %1, %2 por %4, %5 psubw %4, %3 %endmacro ; out: %4 = |%1-%2|<%3 %macro DIFF_LT 5 psubusw %4, %2, %1 psubusw %5, %1, %2 por %5, %4 ; |%1-%2| pxor %4, %4 psubw %5, %3 ; |%1-%2|-%3 pcmpgtw %4, %5 ; 0 > |%1-%2|-%3 %endmacro %macro LOAD_AB 4 movd %1, %3 movd %2, %4 SPLATW %1, %1 SPLATW %2, %2 %endmacro ; in: %2=tc reg ; out: %1=splatted tc %macro LOAD_TC 2 movd %1, [%2] punpcklbw %1, %1 %if mmsize == 8 pshufw %1, %1, 0 %else pshuflw %1, %1, 01010000b pshufd %1, %1, 01010000b %endif psraw %1, 6 %endmacro ; in: %1=p1, %2=p0, %3=q0, %4=q1 ; %5=alpha, %6=beta, %7-%9=tmp ; out: %7=mask %macro LOAD_MASK 9 ABS_SUB %2, %3, %5, %8, %7 ; |p0-q0| - alpha ABS_SUB %1, %2, %6, %9, %7 ; |p1-p0| - beta pand %8, %9 ABS_SUB %3, %4, %6, %9, %7 ; |q1-q0| - beta pxor %7, %7 pand %8, %9 pcmpgtw %7, %8 %endmacro ; in: %1=p0, %2=q0, %3=p1, %4=q1, %5=mask, %6=tmp, %7=tmp ; out: %1=p0', m2=q0' %macro DEBLOCK_P0_Q0 7 psubw %3, %4 pxor %7, %7 paddw %3, [pw_4] psubw %7, %5 psubw %6, %2, %1 psllw %6, 2 paddw %3, %6 psraw %3, 3 mova %6, [pw_pixel_max] CLIPW %3, %7, %5 pxor %7, %7 paddw %1, %3 psubw %2, %3 CLIPW %1, %7, %6 CLIPW %2, %7, %6 %endmacro ; in: %1=x2, %2=x1, %3=p0, %4=q0 %5=mask&tc, %6=tmp %macro LUMA_Q1 6 pavgw %6, %3, %4 ; (p0+q0+1)>>1 paddw %1, %6 pxor %6, %6 psraw %1, 1 psubw %6, %5 psubw %1, %2 CLIPW %1, %6, %5 paddw %1, %2 %endmacro %macro LUMA_DEBLOCK_ONE 3 DIFF_LT m5, %1, bm, m4, m6 pxor m6, m6 mova %3, m4 pcmpgtw m6, tcm pand m4, tcm pandn m6, m7 pand m4, m6 LUMA_Q1 m5, %2, m1, m2, m4, m6 %endmacro %macro LUMA_H_STORE 2 %if mmsize == 8 movq [r0-4], m0 movq [r0+r1-4], m1 movq [r0+r1*2-4], m2 movq [r0+%2-4], m3 %else movq [r0-4], m0 movhps [r0+r1-4], m0 movq [r0+r1*2-4], m1 movhps [%1-4], m1 movq [%1+r1-4], m2 movhps [%1+r1*2-4], m2 movq [%1+%2-4], m3 movhps [%1+r1*4-4], m3 %endif %endmacro %macro DEBLOCK_LUMA 0 ;----------------------------------------------------------------------------- ; void ff_deblock_v_luma_10(uint16_t *pix, int stride, int alpha, int beta, ; int8_t *tc0) ;----------------------------------------------------------------------------- cglobal deblock_v_luma_10, 5,5,8*(mmsize/16) %assign pad 5*mmsize+12-(stack_offset&15) %define tcm [rsp] %define ms1 [rsp+mmsize] %define ms2 [rsp+mmsize*2] %define am [rsp+mmsize*3] %define bm [rsp+mmsize*4] SUB rsp, pad shl r2d, 2 shl r3d, 2 LOAD_AB m4, m5, r2d, r3d mov r3, 32/mmsize mov r2, r0 sub r0, r1 mova am, m4 sub r0, r1 mova bm, m5 sub r0, r1 .loop: mova m0, [r0+r1] mova m1, [r0+r1*2] mova m2, [r2] mova m3, [r2+r1] LOAD_MASK m0, m1, m2, m3, am, bm, m7, m4, m6 LOAD_TC m6, r4 mova tcm, m6 mova m5, [r0] LUMA_DEBLOCK_ONE m1, m0, ms1 mova [r0+r1], m5 mova m5, [r2+r1*2] LUMA_DEBLOCK_ONE m2, m3, ms2 mova [r2+r1], m5 pxor m5, m5 mova m6, tcm pcmpgtw m5, tcm psubw m6, ms1 pandn m5, m7 psubw m6, ms2 pand m5, m6 DEBLOCK_P0_Q0 m1, m2, m0, m3, m5, m7, m6 mova [r0+r1*2], m1 mova [r2], m2 add r0, mmsize add r2, mmsize add r4, mmsize/8 dec r3 jg .loop ADD rsp, pad RET cglobal deblock_h_luma_10, 5,6,8*(mmsize/16) %assign pad 7*mmsize+12-(stack_offset&15) %define tcm [rsp] %define ms1 [rsp+mmsize] %define ms2 [rsp+mmsize*2] %define p1m [rsp+mmsize*3] %define p2m [rsp+mmsize*4] %define am [rsp+mmsize*5] %define bm [rsp+mmsize*6] SUB rsp, pad shl r2d, 2 shl r3d, 2 LOAD_AB m4, m5, r2d, r3d mov r3, r1 mova am, m4 add r3, r1 mov r5, 32/mmsize mova bm, m5 add r3, r1 %if mmsize == 16 mov r2, r0 add r2, r3 %endif .loop: %if mmsize == 8 movq m2, [r0-8] ; y q2 q1 q0 movq m7, [r0+0] movq m5, [r0+r1-8] movq m3, [r0+r1+0] movq m0, [r0+r1*2-8] movq m6, [r0+r1*2+0] movq m1, [r0+r3-8] TRANSPOSE4x4W 2, 5, 0, 1, 4 SWAP 2, 7 movq m7, [r0+r3] TRANSPOSE4x4W 2, 3, 6, 7, 4 %else movu m5, [r0-8] ; y q2 q1 q0 p0 p1 p2 x movu m0, [r0+r1-8] movu m2, [r0+r1*2-8] movu m3, [r2-8] TRANSPOSE4x4W 5, 0, 2, 3, 6 mova tcm, m3 movu m4, [r2+r1-8] movu m1, [r2+r1*2-8] movu m3, [r2+r3-8] movu m7, [r2+r1*4-8] TRANSPOSE4x4W 4, 1, 3, 7, 6 mova m6, tcm punpcklqdq m6, m7 punpckhqdq m5, m4 SBUTTERFLY qdq, 0, 1, 7 SBUTTERFLY qdq, 2, 3, 7 %endif mova p2m, m6 LOAD_MASK m0, m1, m2, m3, am, bm, m7, m4, m6 LOAD_TC m6, r4 mova tcm, m6 LUMA_DEBLOCK_ONE m1, m0, ms1 mova p1m, m5 mova m5, p2m LUMA_DEBLOCK_ONE m2, m3, ms2 mova p2m, m5 pxor m5, m5 mova m6, tcm pcmpgtw m5, tcm psubw m6, ms1 pandn m5, m7 psubw m6, ms2 pand m5, m6 DEBLOCK_P0_Q0 m1, m2, m0, m3, m5, m7, m6 mova m0, p1m mova m3, p2m TRANSPOSE4x4W 0, 1, 2, 3, 4 LUMA_H_STORE r2, r3 add r4, mmsize/8 lea r0, [r0+r1*(mmsize/2)] lea r2, [r2+r1*(mmsize/2)] dec r5 jg .loop ADD rsp, pad RET %endmacro %if ARCH_X86_64 ; in: m0=p1, m1=p0, m2=q0, m3=q1, m8=p2, m9=q2 ; m12=alpha, m13=beta ; out: m0=p1', m3=q1', m1=p0', m2=q0' ; clobbers: m4, m5, m6, m7, m10, m11, m14 %macro DEBLOCK_LUMA_INTER_SSE2 0 LOAD_MASK m0, m1, m2, m3, m12, m13, m7, m4, m6 LOAD_TC m6, r4 DIFF_LT m8, m1, m13, m10, m4 DIFF_LT m9, m2, m13, m11, m4 pand m6, m7 mova m14, m6 pxor m4, m4 pcmpgtw m6, m4 pand m6, m14 mova m5, m10 pand m5, m6 LUMA_Q1 m8, m0, m1, m2, m5, m4 mova m5, m11 pand m5, m6 LUMA_Q1 m9, m3, m1, m2, m5, m4 pxor m4, m4 psubw m6, m10 pcmpgtw m4, m14 pandn m4, m7 psubw m6, m11 pand m4, m6 DEBLOCK_P0_Q0 m1, m2, m0, m3, m4, m5, m6 SWAP 0, 8 SWAP 3, 9 %endmacro %macro DEBLOCK_LUMA_64 0 cglobal deblock_v_luma_10, 5,5,15 %define p2 m8 %define p1 m0 %define p0 m1 %define q0 m2 %define q1 m3 %define q2 m9 %define mask0 m7 %define mask1 m10 %define mask2 m11 shl r2d, 2 shl r3d, 2 LOAD_AB m12, m13, r2d, r3d mov r2, r0 sub r0, r1 sub r0, r1 sub r0, r1 mov r3, 2 .loop: mova p2, [r0] mova p1, [r0+r1] mova p0, [r0+r1*2] mova q0, [r2] mova q1, [r2+r1] mova q2, [r2+r1*2] DEBLOCK_LUMA_INTER_SSE2 mova [r0+r1], p1 mova [r0+r1*2], p0 mova [r2], q0 mova [r2+r1], q1 add r0, mmsize add r2, mmsize add r4, 2 dec r3 jg .loop REP_RET cglobal deblock_h_luma_10, 5,7,15 shl r2d, 2 shl r3d, 2 LOAD_AB m12, m13, r2d, r3d mov r2, r1 add r2, r1 add r2, r1 mov r5, r0 add r5, r2 mov r6, 2 .loop: movu m8, [r0-8] ; y q2 q1 q0 p0 p1 p2 x movu m0, [r0+r1-8] movu m2, [r0+r1*2-8] movu m9, [r5-8] movu m5, [r5+r1-8] movu m1, [r5+r1*2-8] movu m3, [r5+r2-8] movu m7, [r5+r1*4-8] TRANSPOSE4x4W 8, 0, 2, 9, 10 TRANSPOSE4x4W 5, 1, 3, 7, 10 punpckhqdq m8, m5 SBUTTERFLY qdq, 0, 1, 10 SBUTTERFLY qdq, 2, 3, 10 punpcklqdq m9, m7 DEBLOCK_LUMA_INTER_SSE2 TRANSPOSE4x4W 0, 1, 2, 3, 4 LUMA_H_STORE r5, r2 add r4, 2 lea r0, [r0+r1*8] lea r5, [r5+r1*8] dec r6 jg .loop REP_RET %endmacro INIT_XMM sse2 DEBLOCK_LUMA_64 INIT_XMM avx DEBLOCK_LUMA_64 %endif %macro SWAPMOVA 2 %ifid %1 SWAP %1, %2 %else mova %1, %2 %endif %endmacro ; in: t0-t2: tmp registers ; %1=p0 %2=p1 %3=p2 %4=p3 %5=q0 %6=q1 %7=mask0 ; %8=mask1p %9=2 %10=p0' %11=p1' %12=p2' %macro LUMA_INTRA_P012 12 ; p0..p3 in memory %if ARCH_X86_64 paddw t0, %3, %2 mova t2, %4 paddw t2, %3 %else mova t0, %3 mova t2, %4 paddw t0, %2 paddw t2, %3 %endif paddw t0, %1 paddw t2, t2 paddw t0, %5 paddw t2, %9 paddw t0, %9 ; (p2 + p1 + p0 + q0 + 2) paddw t2, t0 ; (2*p3 + 3*p2 + p1 + p0 + q0 + 4) psrlw t2, 3 psrlw t1, t0, 2 psubw t2, %3 psubw t1, %2 pand t2, %8 pand t1, %8 paddw t2, %3 paddw t1, %2 SWAPMOVA %11, t1 psubw t1, t0, %3 paddw t0, t0 psubw t1, %5 psubw t0, %3 paddw t1, %6 paddw t1, %2 paddw t0, %6 psrlw t1, 2 ; (2*p1 + p0 + q1 + 2)/4 psrlw t0, 3 ; (p2 + 2*p1 + 2*p0 + 2*q0 + q1 + 4)>>3 pxor t0, t1 pxor t1, %1 pand t0, %8 pand t1, %7 pxor t0, t1 pxor t0, %1 SWAPMOVA %10, t0 SWAPMOVA %12, t2 %endmacro %macro LUMA_INTRA_INIT 1 %xdefine pad %1*mmsize+((gprsize*3) % mmsize)-(stack_offset&15) %define t0 m4 %define t1 m5 %define t2 m6 %define t3 m7 %assign i 4 %rep %1 CAT_XDEFINE t, i, [rsp+mmsize*(i-4)] %assign i i+1 %endrep SUB rsp, pad %endmacro ; in: %1-%3=tmp, %4=p2, %5=q2 %macro LUMA_INTRA_INTER 5 LOAD_AB t0, t1, r2d, r3d mova %1, t0 LOAD_MASK m0, m1, m2, m3, %1, t1, t0, t2, t3 %if ARCH_X86_64 mova %2, t0 ; mask0 psrlw t3, %1, 2 %else mova t3, %1 mova %2, t0 ; mask0 psrlw t3, 2 %endif paddw t3, [pw_2] ; alpha/4+2 DIFF_LT m1, m2, t3, t2, t0 ; t2 = |p0-q0| < alpha/4+2 pand t2, %2 mova t3, %5 ; q2 mova %1, t2 ; mask1 DIFF_LT t3, m2, t1, t2, t0 ; t2 = |q2-q0| < beta pand t2, %1 mova t3, %4 ; p2 mova %3, t2 ; mask1q DIFF_LT t3, m1, t1, t2, t0 ; t2 = |p2-p0| < beta pand t2, %1 mova %1, t2 ; mask1p %endmacro %macro LUMA_H_INTRA_LOAD 0 %if mmsize == 8 movu t0, [r0-8] movu t1, [r0+r1-8] movu m0, [r0+r1*2-8] movu m1, [r0+r4-8] TRANSPOSE4x4W 4, 5, 0, 1, 2 mova t4, t0 ; p3 mova t5, t1 ; p2 movu m2, [r0] movu m3, [r0+r1] movu t0, [r0+r1*2] movu t1, [r0+r4] TRANSPOSE4x4W 2, 3, 4, 5, 6 mova t6, t0 ; q2 mova t7, t1 ; q3 %else movu t0, [r0-8] movu t1, [r0+r1-8] movu m0, [r0+r1*2-8] movu m1, [r0+r5-8] movu m2, [r4-8] movu m3, [r4+r1-8] movu t2, [r4+r1*2-8] movu t3, [r4+r5-8] TRANSPOSE8x8W 4, 5, 0, 1, 2, 3, 6, 7, t4, t5 mova t4, t0 ; p3 mova t5, t1 ; p2 mova t6, t2 ; q2 mova t7, t3 ; q3 %endif %endmacro ; in: %1=q3 %2=q2' %3=q1' %4=q0' %5=p0' %6=p1' %7=p2' %8=p3 %9=tmp %macro LUMA_H_INTRA_STORE 9 %if mmsize == 8 TRANSPOSE4x4W %1, %2, %3, %4, %9 movq [r0-8], m%1 movq [r0+r1-8], m%2 movq [r0+r1*2-8], m%3 movq [r0+r4-8], m%4 movq m%1, %8 TRANSPOSE4x4W %5, %6, %7, %1, %9 movq [r0], m%5 movq [r0+r1], m%6 movq [r0+r1*2], m%7 movq [r0+r4], m%1 %else TRANSPOSE2x4x4W %1, %2, %3, %4, %9 movq [r0-8], m%1 movq [r0+r1-8], m%2 movq [r0+r1*2-8], m%3 movq [r0+r5-8], m%4 movhps [r4-8], m%1 movhps [r4+r1-8], m%2 movhps [r4+r1*2-8], m%3 movhps [r4+r5-8], m%4 %ifnum %8 SWAP %1, %8 %else mova m%1, %8 %endif TRANSPOSE2x4x4W %5, %6, %7, %1, %9 movq [r0], m%5 movq [r0+r1], m%6 movq [r0+r1*2], m%7 movq [r0+r5], m%1 movhps [r4], m%5 movhps [r4+r1], m%6 movhps [r4+r1*2], m%7 movhps [r4+r5], m%1 %endif %endmacro %if ARCH_X86_64 ;----------------------------------------------------------------------------- ; void ff_deblock_v_luma_intra_10(uint16_t *pix, int stride, int alpha, ; int beta) ;----------------------------------------------------------------------------- %macro DEBLOCK_LUMA_INTRA_64 0 cglobal deblock_v_luma_intra_10, 4,7,16 %define t0 m1 %define t1 m2 %define t2 m4 %define p2 m8 %define p1 m9 %define p0 m10 %define q0 m11 %define q1 m12 %define q2 m13 %define aa m5 %define bb m14 lea r4, [r1*4] lea r5, [r1*3] ; 3*stride neg r4 add r4, r0 ; pix-4*stride mov r6, 2 mova m0, [pw_2] shl r2d, 2 shl r3d, 2 LOAD_AB aa, bb, r2d, r3d .loop: mova p2, [r4+r1] mova p1, [r4+2*r1] mova p0, [r4+r5] mova q0, [r0] mova q1, [r0+r1] mova q2, [r0+2*r1] LOAD_MASK p1, p0, q0, q1, aa, bb, m3, t0, t1 mova t2, aa psrlw t2, 2 paddw t2, m0 ; alpha/4+2 DIFF_LT p0, q0, t2, m6, t0 ; m6 = |p0-q0| < alpha/4+2 DIFF_LT p2, p0, bb, t1, t0 ; m7 = |p2-p0| < beta DIFF_LT q2, q0, bb, m7, t0 ; t1 = |q2-q0| < beta pand m6, m3 pand m7, m6 pand m6, t1 LUMA_INTRA_P012 p0, p1, p2, [r4], q0, q1, m3, m6, m0, [r4+r5], [r4+2*r1], [r4+r1] LUMA_INTRA_P012 q0, q1, q2, [r0+r5], p0, p1, m3, m7, m0, [r0], [r0+r1], [r0+2*r1] add r0, mmsize add r4, mmsize dec r6 jg .loop REP_RET ;----------------------------------------------------------------------------- ; void ff_deblock_h_luma_intra_10(uint16_t *pix, int stride, int alpha, ; int beta) ;----------------------------------------------------------------------------- cglobal deblock_h_luma_intra_10, 4,7,16 %define t0 m15 %define t1 m14 %define t2 m2 %define q3 m5 %define q2 m8 %define q1 m9 %define q0 m10 %define p0 m11 %define p1 m12 %define p2 m13 %define p3 m4 %define spill [rsp] %assign pad 24-(stack_offset&15) SUB rsp, pad lea r4, [r1*4] lea r5, [r1*3] ; 3*stride add r4, r0 ; pix+4*stride mov r6, 2 mova m0, [pw_2] shl r2d, 2 shl r3d, 2 .loop: movu q3, [r0-8] movu q2, [r0+r1-8] movu q1, [r0+r1*2-8] movu q0, [r0+r5-8] movu p0, [r4-8] movu p1, [r4+r1-8] movu p2, [r4+r1*2-8] movu p3, [r4+r5-8] TRANSPOSE8x8W 5, 8, 9, 10, 11, 12, 13, 4, 1 LOAD_AB m1, m2, r2d, r3d LOAD_MASK q1, q0, p0, p1, m1, m2, m3, t0, t1 psrlw m1, 2 paddw m1, m0 ; alpha/4+2 DIFF_LT p0, q0, m1, m6, t0 ; m6 = |p0-q0| < alpha/4+2 DIFF_LT q2, q0, m2, t1, t0 ; t1 = |q2-q0| < beta DIFF_LT p0, p2, m2, m7, t0 ; m7 = |p2-p0| < beta pand m6, m3 pand m7, m6 pand m6, t1 mova spill, q3 LUMA_INTRA_P012 q0, q1, q2, q3, p0, p1, m3, m6, m0, m5, m1, q2 LUMA_INTRA_P012 p0, p1, p2, p3, q0, q1, m3, m7, m0, p0, m6, p2 mova m7, spill LUMA_H_INTRA_STORE 7, 8, 1, 5, 11, 6, 13, 4, 14 lea r0, [r0+r1*8] lea r4, [r4+r1*8] dec r6 jg .loop ADD rsp, pad RET %endmacro INIT_XMM sse2 DEBLOCK_LUMA_INTRA_64 INIT_XMM avx DEBLOCK_LUMA_INTRA_64 %endif %macro DEBLOCK_LUMA_INTRA 0 ;----------------------------------------------------------------------------- ; void ff_deblock_v_luma_intra_10(uint16_t *pix, int stride, int alpha, ; int beta) ;----------------------------------------------------------------------------- cglobal deblock_v_luma_intra_10, 4,7,8*(mmsize/16) LUMA_INTRA_INIT 3 lea r4, [r1*4] lea r5, [r1*3] neg r4 add r4, r0 mov r6, 32/mmsize shl r2d, 2 shl r3d, 2 .loop: mova m0, [r4+r1*2] ; p1 mova m1, [r4+r5] ; p0 mova m2, [r0] ; q0 mova m3, [r0+r1] ; q1 LUMA_INTRA_INTER t4, t5, t6, [r4+r1], [r0+r1*2] LUMA_INTRA_P012 m1, m0, t3, [r4], m2, m3, t5, t4, [pw_2], [r4+r5], [r4+2*r1], [r4+r1] mova t3, [r0+r1*2] ; q2 LUMA_INTRA_P012 m2, m3, t3, [r0+r5], m1, m0, t5, t6, [pw_2], [r0], [r0+r1], [r0+2*r1] add r0, mmsize add r4, mmsize dec r6 jg .loop ADD rsp, pad RET ;----------------------------------------------------------------------------- ; void ff_deblock_h_luma_intra_10(uint16_t *pix, int stride, int alpha, ; int beta) ;----------------------------------------------------------------------------- cglobal deblock_h_luma_intra_10, 4,7,8*(mmsize/16) LUMA_INTRA_INIT 8 %if mmsize == 8 lea r4, [r1*3] mov r5, 32/mmsize %else lea r4, [r1*4] lea r5, [r1*3] ; 3*stride add r4, r0 ; pix+4*stride mov r6, 32/mmsize %endif shl r2d, 2 shl r3d, 2 .loop: LUMA_H_INTRA_LOAD LUMA_INTRA_INTER t8, t9, t10, t5, t6 LUMA_INTRA_P012 m1, m0, t3, t4, m2, m3, t9, t8, [pw_2], t8, t5, t11 mova t3, t6 ; q2 LUMA_INTRA_P012 m2, m3, t3, t7, m1, m0, t9, t10, [pw_2], m4, t6, m5 mova m2, t4 mova m0, t11 mova m1, t5 mova m3, t8 mova m6, t6 LUMA_H_INTRA_STORE 2, 0, 1, 3, 4, 6, 5, t7, 7 lea r0, [r0+r1*(mmsize/2)] %if mmsize == 8 dec r5 %else lea r4, [r4+r1*(mmsize/2)] dec r6 %endif jg .loop ADD rsp, pad RET %endmacro %if ARCH_X86_64 == 0 INIT_MMX mmxext DEBLOCK_LUMA DEBLOCK_LUMA_INTRA INIT_XMM sse2 DEBLOCK_LUMA DEBLOCK_LUMA_INTRA INIT_XMM avx DEBLOCK_LUMA DEBLOCK_LUMA_INTRA %endif ; in: %1=p0, %2=q0, %3=p1, %4=q1, %5=mask, %6=tmp, %7=tmp ; out: %1=p0', %2=q0' %macro CHROMA_DEBLOCK_P0_Q0_INTRA 7 mova %6, [pw_2] paddw %6, %3 paddw %6, %4 paddw %7, %6, %2 paddw %6, %1 paddw %6, %3 paddw %7, %4 psraw %6, 2 psraw %7, 2 psubw %6, %1 psubw %7, %2 pand %6, %5 pand %7, %5 paddw %1, %6 paddw %2, %7 %endmacro %macro CHROMA_V_LOAD 1 mova m0, [r0] ; p1 mova m1, [r0+r1] ; p0 mova m2, [%1] ; q0 mova m3, [%1+r1] ; q1 %endmacro %macro CHROMA_V_STORE 0 mova [r0+1*r1], m1 mova [r0+2*r1], m2 %endmacro %macro CHROMA_V_LOAD_TC 2 movd %1, [%2] punpcklbw %1, %1 punpcklwd %1, %1 psraw %1, 6 %endmacro %macro DEBLOCK_CHROMA 0 ;----------------------------------------------------------------------------- ; void ff_deblock_v_chroma_10(uint16_t *pix, int stride, int alpha, int beta, ; int8_t *tc0) ;----------------------------------------------------------------------------- cglobal deblock_v_chroma_10, 5,7-(mmsize/16),8*(mmsize/16) mov r5, r0 sub r0, r1 sub r0, r1 shl r2d, 2 shl r3d, 2 %if mmsize < 16 mov r6, 16/mmsize .loop: %endif CHROMA_V_LOAD r5 LOAD_AB m4, m5, r2d, r3d LOAD_MASK m0, m1, m2, m3, m4, m5, m7, m6, m4 pxor m4, m4 CHROMA_V_LOAD_TC m6, r4 psubw m6, [pw_3] pmaxsw m6, m4 pand m7, m6 DEBLOCK_P0_Q0 m1, m2, m0, m3, m7, m5, m6 CHROMA_V_STORE %if mmsize < 16 add r0, mmsize add r5, mmsize add r4, mmsize/4 dec r6 jg .loop REP_RET %else RET %endif ;----------------------------------------------------------------------------- ; void ff_deblock_v_chroma_intra_10(uint16_t *pix, int stride, int alpha, ; int beta) ;----------------------------------------------------------------------------- cglobal deblock_v_chroma_intra_10, 4,6-(mmsize/16),8*(mmsize/16) mov r4, r0 sub r0, r1 sub r0, r1 shl r2d, 2 shl r3d, 2 %if mmsize < 16 mov r5, 16/mmsize .loop: %endif CHROMA_V_LOAD r4 LOAD_AB m4, m5, r2d, r3d LOAD_MASK m0, m1, m2, m3, m4, m5, m7, m6, m4 CHROMA_DEBLOCK_P0_Q0_INTRA m1, m2, m0, m3, m7, m5, m6 CHROMA_V_STORE %if mmsize < 16 add r0, mmsize add r4, mmsize dec r5 jg .loop REP_RET %else RET %endif %endmacro %if ARCH_X86_64 == 0 INIT_MMX mmxext DEBLOCK_CHROMA %endif INIT_XMM sse2 DEBLOCK_CHROMA INIT_XMM avx DEBLOCK_CHROMA
24.936078
89
0.465937
d3583b703b40aa88d6b65bce9dfdcc8be1706f8c
1,341
asm
Assembly
programs/oeis/268/A268898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/268/A268898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/268/A268898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A268898: Number of n X 2 0..2 arrays with some element plus some horizontally or antidiagonally adjacent neighbor totalling two exactly once. ; 3,36,240,1344,6912,33792,159744,737280,3342336,14942208,66060288,289406976,1258291200,5435817984,23353884672,99857989632,425201762304,1803886264320,7627861917696,32160715112448,135239930216448,567347999932416,2374945115996160,9921992929050624,41376821576466432,172262685746921472,716072340751908864,2972375754064527360,12321848580485677056,51016776578852978688,210984635343052996608,871608657482776313856,3597115094373362565120,14831182235262479499264,61095616372126034952192,251466015212808607629312,1034198259748452301799424,4250129834582680692326400,17453866520686208709820416,71628854812166778601340928,293768974166354889453600768,1204090116336170658007351296,4932417344027687032801198080,20193896890842765734291963904,82632497622299133349516541952,337957630724908815047460913152,1381541083842484386787422633984,5645006579141334053540006461440,23055395291650922239721289547776,94123057066946033061130212999168,384098131869153508653501071228928,1566816141882091540249925161844736,6388959025150276183543384155095040,26042613931088744824348270651244544,106117567046305539658092018728435712,432258713473024400075163819407572992 mov $1,$0 mul $0,2 add $0,1 mov $2,4 pow $2,$1 mul $0,$2 mul $0,3
121.909091
1,129
0.912006
3a053cc70f86400bfb1d9a7d5659f49be297f783
25,127
asm
Assembly
programa.asm
fititnt/assembly-masm
150a54f6595bf7be24fbde5f92831b5875e7ea32
[ "MIT" ]
6
2017-03-02T04:45:38.000Z
2020-02-25T23:59:14.000Z
programa.asm
fititnt/assembly-masm
150a54f6595bf7be24fbde5f92831b5875e7ea32
[ "MIT" ]
null
null
null
programa.asm
fititnt/assembly-masm
150a54f6595bf7be24fbde5f92831b5875e7ea32
[ "MIT" ]
5
2018-06-07T09:42:54.000Z
2020-10-18T19:52:11.000Z
; @autor Emerson Rocha Luiz <emerson at alligo.com.br> ; @desc Programa funcional escrito em assembly, compatível com MASM 6.11+ ; Versão 0.8.1 ; @license MIT ;------------------------------------------------------------------------------ ; Declaração do modelo de segmentos .model small ; Declaração do segmento de pilha .stack ; Declaração do segmento de dados .data ; Variávies usadas internamentes nas funções FileBuffer db 10 dup (?) ; Buffer de leitura do arquivo MAXSTRING equ 200 String db MAXSTRING dup (?) sw_n dw 0 sw_f db 0 sw_m dw 0 FileName db 256 dup (?) ; Nome do arquivo a ser lido FileHandle dw 0 ; Handler do arquivo FileNameBuffer db 150 dup (?) MsgPedeArquivo db CR,LF,">> Forneca o nome do arquivo de dados: ", 0 MsgErroOpenFile db "Erro na abertura do arquivo.",CR,LF,0 MsgErroReadFile db "Erro na leitura do arquivo.",CR,LF,0 DDebugStartEnd db CR,LF,"-- Debug --",CR,LF,0 DDebugReg1 db "Registrador: ",0 DDebugString db CR,LF,"String: ",0 DDebugVal db MAXSTRING dup (?) DDebugValMacro db MAXSTRING dup (?) ; Variáveis/constantes específicas deste programas CR equ 13 LF equ 10 Autor db "Emerson Rocha Luiz - 143503",0 Cursor db CR,LF,"Comando>",0 Crlf db CR,LF,0 Space1 db " ",0 Space2 db " ",0 Space3 db " ",0 Space12 db " ",0 Virgulas db ",00",0 DadosResumo1 db CR,LF," Arquivo de dados:",CR,LF db " Numero de cidades...... ",0 DadosResumo2 db CR,LF," Numero de engenheiros.. ",0 Ajuda db CR,LF,">> Caracteres de comandos:",CR,LF db " [a] Solicita novo arquivo de dados",CR,LF db " [g] Apresenta o relatorio geral",CR,LF db " [e] Apresenta o relatorio do engenheiro",CR,LF db " [f] Encerra programa",CR,LF db " [?] lista comandos validos",0 RelatorioGeral db CR,LF,">> Relatorio Geral" db CR,LF," Engenheiro Visitas Lucro Prejuizo",CR,LF,0 RelatorioGeral2 db " ",0 RelatorioGeral3 db CR,LF,0 RelatorioGeral4 db " TOTAL ",0 RelatorioEngN db CR,LF,"Engenheiro:",0 RelatorioEng1 db CR,LF," Relatorio do Engenheiro ",0 RelatorioEng2 db CR,LF," Numero de visitas: ",0 RelatorioEng3 db CR,LF," Cidade Lucro Prejuizo",CR,LF,0 RelatorioEng4 db " TOTAL ",0 RelatorioEng5 db " ",0 RelatorioErro db CR,LF,"Numero de engenheiro invalido",0 EncerramentoMsg db CR,LF,"Programa encerrado",0 DtAtualInt dw 0 ; Valor como inteiro do ultimo numero lido DtAtualEngSel dw 0 ; Engenheiro atualmente selecionado DtAtualEhNeg dw 0 ; Se o ultimo valor é negativo DtAtualLucro dw 0 ; Variavel temporaria para conter lucro de uma viagem DtAtualString db 7 dup (?) ; Valor concatenado da string atual DtAtualStringC dw 0 ; Numero de caracteres na string atual ;DtAtualChar db " ",0 DtAtualLinha dw 0 ; Numero da linha no banco de dados DtAtualColuna dw 0 ; Numero do dado da linha atual ;DtAtualFim dw 0 ; Flag 0 ou 1 para saber se ultima string terminou DtNCidades dw 0 ; Numero de cidades atendidas DtNEng dw 0 ; Numero de engenheiros DtNVisitas dw 0 ; Numero total de visitas DtNLucro dw 0 ; Lucro total de todos os engenheiros e Lucros DtCidades dw 999 dup (0) ; Lucros de cada cidade DtEngLucros dw 999 dup (0) ; Lista de lucros/prejuizos totais por engenheiro DtEngVisitasPtr dw 999 dup (0) ; Lista de ponteiros para visitas de engs DtEngVisitasT dw 999 dup (0) ; Apenas o total de visitas de cada engenheiro DtEngVisitasNxt dw 0 ; Ponteiro para o proximo end de DtEngVisitas DtLoop dw 0 ; Contador de loop generico Xpto dw 0 Temp dw 0 ; Variavel temporaria generica DtEngVisitas dw 8096 dup (0) ; Local para conter todas as visitas de engs ; Declaração do segmento de código .code ;-------------------------------------------------------------------- ; Macros, usadas somente para debug ;-------------------------------------------------------------------- writechar MACRO char mov ah, 2 ;; Select DOS Print Char function mov dl, char ;; Select ASCII char int 21h ;; Call DOS ENDM writenumber MACRO number mov ax,number lea bx,DDebugValMacro call sprintf_w lea bx,DDebugValMacro call printf_s ENDM ; ;-------------------------------------------------------------------- ;Função:Converte um ASCII-DECIMAL para HEXA ;Entra: (S) -> DS:BX -> Ponteiro para o string de origem ;Sai: (A) -> AX -> Valor "Hex" resultante ;Algoritmo: ; A = 0; ; while (*S!='\0') { ; A = 10 * A + (*S - '0') ; ++S; ; } ; return ;-------------------------------------------------------------------- atoi proc near ; A = 0; mov ax,0 atoi_2: ; while (*S!='\0') { cmp byte ptr[bx], 0 jz atoi_1 ; A = 10 * A mov cx,10 mul cx ; A = A + *S mov ch,0 mov cl,[bx] add ax,cx ; A = A - '0' sub ax,'0' ; ++S inc bx ;} jmp atoi_2 atoi_1: ; return ret atoi endp ;-------------------------------------------------------------------- ;Função Abre o arquivo cujo nome está no string apontado por DX ; boolean fopen(char *FileName -> DX) ;Entra: DX -> ponteiro para o string com o nome do arquivo ;Sai: BX -> handle do arquivo ; CF -> 0, se OK ;-------------------------------------------------------------------- fopen proc near mov al,0 mov ah,3dh int 21h mov bx,ax ret fopen endp ;-------------------------------------------------------------------- ;Função Cria o arquivo cujo nome está no string apontado por DX ; boolean fcreate(char *FileName -> DX) ;Sai: BX -> handle do arquivo ; CF -> 0, se OK ;-------------------------------------------------------------------- fcreate proc near mov cx,0 mov ah,3ch int 21h mov bx,ax ret fcreate endp ;-------------------------------------------------------------------- ;Entra: BX -> file handle ;Sai: CF -> "0" se OK ;-------------------------------------------------------------------- fclose proc near mov ah,3eh int 21h ret fclose endp ;-------------------------------------------------------------------- ;Função Le um caractere do arquivo identificado pelo HANLDE BX ; getChar(handle->BX) ;Entra: BX -> file handle ;Sai: dl -> caractere ; AX -> numero de caracteres lidos ; CF -> "0" se leitura ok ;-------------------------------------------------------------------- ;FileBuffer db 10 dup (?) ; Declarar no segmento de dados getChar proc near mov ah,3fh mov cx,1 lea dx,FileBuffer int 21h mov dl,FileBuffer ret getChar endp ;-------------------------------------------------------------------- ;Entra: BX -> file handle ; dl -> caractere ;Sai: AX -> numero de caracteres escritos ; CF -> "0" se escrita ok ;-------------------------------------------------------------------- setChar proc near mov ah,40h mov cx,1 mov FileBuffer,dl lea dx,FileBuffer int 21h ret setChar endp ; ;-------------------------------------------------------------------- ;Funcao Le um string do teclado e coloca no buffer apontado por BX ; gets(char *s -> bx) ;-------------------------------------------------------------------- gets proc near push bx mov ah,0ah ; Lê uma linha do teclado lea dx,String mov byte ptr String, MAXSTRING-4 ; 2 caracteres no inicio e um eventual CR LF no final int 21h lea si,String+2 ; Copia do buffer de teclado para o FileName pop di mov cl,String+1 mov ch,0 mov ax,ds ; Ajusta ES=DS para poder usar o MOVSB mov es,ax rep movsb mov byte ptr es:[di],0 ; Coloca marca de fim de string ret gets endp ;-------------------------------------------------------------------- ;Função Escrever um string na tela ; printf_s(char *s -> BX) ;-------------------------------------------------------------------- printf_s proc near mov dl,[bx] cmp dl,0 je ps_1 push bx mov ah,2 int 21H pop bx inc bx jmp printf_s ps_1: ret printf_s endp ;-------------------------------------------------------------------- ;Função: Converte um inteiro (n) para (string) ; sprintf(string, "%d", n) ; ;void sprintf_w(char *string->BX, WORD n->AX) { ; k=5; ; m=10000; ; f=0; ; do { ; quociente = n / m : resto = n % m; // Usar instrução DIV ; if (quociente || f) { ; *string++ = quociente+'0' ; f = 1; ; } ; n = resto; ; m = m/10; ; --k; ; } while(k); ; ; if (!f) ; *string++ = '0'; ; *string = '\0'; ;} ; ;Associação de variaveis com registradores e memória ; string -> bx ; k -> cx ; m -> sw_m dw ; f -> sw_f db ; n -> sw_n dw ;-------------------------------------------------------------------- sprintf_w proc near push dx push cx push bx push ax ; void sprintf_w(char *string, WORD n) { mov sw_n,ax ; k=5; mov cx,5 ; m=10000; mov sw_m,10000 ; f=0; mov sw_f,0 ; do { sw_do: ; quociente = n / m : resto = n % m; // Usar instrução DIV mov dx,0 mov ax,sw_n div sw_m ; if (quociente || f) { ; *string++ = quociente+'0' ; f = 1; ; } cmp al,0 jne sw_store cmp sw_f,0 je sw_continue sw_store: add al,'0' mov [bx],al inc bx mov sw_f,1 sw_continue: ; n = resto; mov sw_n,dx ; m = m/10; mov dx,0 mov ax,sw_m mov bp,10 div bp mov sw_m,ax ; --k; dec cx ; } while(k); cmp cx,0 jnz sw_do ; if (!f) ; *string++ = '0'; cmp sw_f,0 jnz sw_continua2 mov [bx],'0' inc bx sw_continua2: ; *string = '\0'; mov byte ptr[bx],0 ;} pop ax pop bx pop cx pop dx ret sprintf_w endp ; ;-------------------------------------------------------------------- ;Funcao: Le o nome do arquivo do teclado ;void GetFileName(void) ;{ ; printf_s("Nome do arquivo: "); ; ; // Lê uma linha do teclado ; FileNameBuffer[0]=100; ; gets(ah=0x0A, dx=&FileNameBuffer) ; ; // Copia do buffer de teclado para o FileName ; for (char *s=FileNameBuffer+2, char *d=FileName, cx=FileNameBuffer[1]; cx!=0; s++,d++,cx--) ; *d = *s; ; ; // Coloca o '\0' no final do string ; *d = '\0'; ;} ;-------------------------------------------------------------------- GetFileName proc near ; printf_s("Nome do arquivo: "); lea bx,MsgPedeArquivo call printf_s ; // Lê uma linha do teclado ; FileNameBuffer[0]=100; ; gets(ah=0x0A, dx=&FileNameBuffer) mov ah,0ah lea dx,FileNameBuffer mov byte ptr FileNameBuffer,100 int 21h ; // Copia do buffer de teclado para o FileName ; for (char *s=FileNameBuffer+2, char *d=FileName, cx=FileNameBuffer[1]; cx!=0; s++,d++,cx--) ; *d = *s; lea si,FileNameBuffer+2 lea di,FileName mov cl,FileNameBuffer+1 mov ch,0 mov ax,ds ; Ajusta ES=DS para poder usar o MOVSB mov es,ax rep movsb ; // Coloca o '\0' no final do string ; *d = '\0'; mov byte ptr es:[di],0 ret GetFileName endp ;-------------------------------------------------------------------- ;Função usada somente para debug ;-------------------------------------------------------------------- DDebug proc near lea bx,DDebugStartEnd call printf_s lea bx,DDebugReg1 call printf_s ;;;;; Registrador ; sprintf (String, "%d", 2943); ;mov ax,RegistradorAqui mov ax,dx lea bx,DDebugVal call sprintf_w ; printf("%s", String); lea bx,DDebugVal call printf_s lea bx,DDebugStartEnd call printf_s ret DDebug endp ;-------------------------------------------------------------------- ; Função principal que recebe caracter por caracter os dados do arquivo ; do banco de dados, os analisa e tão logo esteja com informação suficiente ; salva nas estruturas de dados ; ; @see DbAnalisaSalva Quando um valor estiver concatenado para ser ; analizado, é chamada para convertê-lo para ; valor numérico e salvar na estrutura de dados ; ;Entra: DL -> caracter atual do banco de dados, em HEX ;Sai: DtAtualString -> String concatenada (parcial ou completa) ; DtAtualStringC -> Posição do próx. char em DtAtualString ; DtAtualLinha -> Linha do arquivo de banco de dados atual ; DtAtualColuna -> Coluna do valor na linha atual ; DtAtualEhNeg -> 1 se numero negavo, 0 se positivo ; ;-------------------------------------------------------------------- DbAnalisa proc near ;writechar dl ; Testes básicos para saber qual é o tipo de caracter atual ; conforme o caso, irá definir demais variáveis de acordo cmp dl,2ch ; if (dl = ,) je DbAnalisaFimString cmp dl,LF ; if (dl = LF) je DbAnalisaFimLinha cmp dl,2dh ; if (dl = -) je DbAnalisaEhNegativo cmp dl,CR ; if (dl = CR || dl = " ") je DbAnalisaIgnora cmp dl,20h je DbAnalisaIgnora jmp DbAnalisaConcatena ; Se chegou ate aqui, é numero DbAnalisaFimLinha: ;call DDebug ; Fecha string com \0 mov di, offset DtAtualString add di,DtAtualStringC mov [di],0 lea bx,DtAtualString call DbStrToVal ; DtAtualString & DtAtualEhNeg -> DtAtualInt call DbAnalisaSalva mov DtAtualStringC,0 mov DtAtualColuna,0 inc DtAtualLinha jmp DbAnalisaIgnora DbAnalisaFimString: ; Fecha string com \0 mov di, offset DtAtualString add di,DtAtualStringC mov [di],0 lea bx,DtAtualString call DbStrToVal ; DtAtualString & DtAtualEhNeg -> DtAtualInt call DbAnalisaSalva mov DtAtualStringC,0 inc DtAtualColuna jmp DbAnalisaIgnora DbAnalisaEhNegativo: mov DtAtualEhNeg,1 jmp DbAnalisaIgnora DbAnalisaConcatena: mov di, offset DtAtualString add di,DtAtualStringC mov [di],dl inc DtAtualStringC DbAnalisaIgnora: ret DbAnalisa endp ;-------------------------------------------------------------------- ; Chamada por DbAnalisa, analiza os dados pré-processados e os converte ; para estrutura de dados ; ; @see atoi Usada para converter de string para numerico ; ;Entra: DtAtualInt -> valor numérico do dado atual ; DtAtualString -> String concatenada ; DtAtualLinha -> Linha do arquivo de banco de dados atual ; DtAtualColuna -> Coluna do valor na linha atual ; DtAtualEhNeg -> 1 se numero negavo, 0 se positivo ;Sai: DtNCidades -> Número de cidades ; DtNEng -> Número de engenheiros ; ... ; ;-------------------------------------------------------------------- DbAnalisaSalva proc near cmp DtAtualLinha,0 je DbAnalisaSalvaLinha0 cmp DtAtualLinha,1 je DbAnalisaSalvaLinha1 jmp DbAnalisaSalvaLinha2p ; Primeira linha: sumário (DtNEng e DtNCidades) ;---------------------------------------------- DbAnalisaSalvaLinha0: cmp DtAtualColuna,1 je DbAnalisaSalvaLinha01 ; Número total de engenheiros mov ax,DtAtualInt mov DtNEng,ax jmp DbAnalisaSalvaFim DbAnalisaSalvaLinha01: ; Número total de cidades mov ax,DtAtualInt mov DtNCidades,ax jmp DbAnalisaSalvaFim ; Segunda linha: lucro de cidades (DtCidades) ;---------------------------------------------- DbAnalisaSalvaLinha1: ; Lucro de visita a cidade de indice 'DtAtualColuna' lea bx,DtCidades mov dx,DtAtualColuna shl dx,1 ; Col*2, deslocamento conforme coluna add bx,dx mov ax,DtAtualInt mov [bx],ax ; Move valor atual para memoria DtCidades+DtAtualColuna jmp DbAnalisaSalvaFim ; Terceira linha adiante: visitas de engenheiros a cidades ;---------------------------------------------- DbAnalisaSalvaLinha2p: ; Caso não seja primeira coluna, passar adiante (n requer setar DtEngVisitasNxt) cmp DtAtualColuna,0 jne DbAnalisaSalvaLinha2p1p ; Se DtEngVisitasNxt ja foi iniciado, passar adiante cmp DtEngVisitasNxt,0 jne DbAnalisaSalvaLinha2p0 lea bx,DtEngVisitas mov DtEngVisitasNxt,bx ; Inicializa DtEngVisitasNxt primeira vez ;DtEngVisitasNxt ja esta iniciado, é primeira coluna, só definir DtEngVisitasT e DtEngVisitasPtr DbAnalisaSalvaLinha2p0: ; Popula Total de visitas em DtEngVisitasT lea bx,DtEngVisitasT mov dx,DtAtualLinha shl dx,1 ; L*2 add bx,dx sub bx,4 ; L - 2 (linhas) mov ax,DtAtualInt mov [bx],ax ; Total de visitas lea bx,DtNVisitas mov ax,DtAtualInt add [bx],ax ; Popula ponteiro DtEngVisitasPtr para inicio das viagens de DtEngVisitas (usa DtEngVisitasNxt) lea ax,DtEngVisitasNxt mov dx,DtAtualLinha shl dx,1 ; L*2 add ax,dx sub ax,2 ; L - 2(linhas) + 1 (proxima posição), AX contém pos inicial das viagens lea bx,DtEngVisitasPtr mov dx,DtAtualLinha shl dx,1 ; L*2 add bx,dx sub bx,4 ; L - 2 (linhas) mov [bx],ax jmp DbAnalisaSalvaFim ; Terceira linha ou maior, coluna apenas com locais visitados DbAnalisaSalvaLinha2p1p: mov bx,DtEngVisitasNxt mov ax,DtAtualInt mov [bx],ax ; Salva local visitado no local apontado ; Obtem lucro da visital atual lea bx,DtCidades mov dx,DtAtualInt shl dx,1 ; L*2, deslocamento DW de 2 bytes add bx,dx mov ax,[bx] lea bx,DtAtualLucro mov [bx],ax ; Obtem lucro total de visitas DtNLucro lea bx,DtNLucro mov ax,DtAtualLucro add [bx],ax ; Faz total de lucro por engenheiro no array DtEngLucros lea bx,DtEngLucros mov dx,DtAtualLinha sub dx,2 shl dx,1 ; L*2 add bx,dx mov ax,DtAtualLucro add [bx],ax add DtEngVisitasNxt,2 ; Preparar para proxima posição de DtEngVisitas jmp DbAnalisaSalvaFim DbAnalisaSalvaFim: mov bx,0 ret DbAnalisaSalva endp ;-------------------------------------------------------------------- ;Função Para uma string fornecida em DtAtualString, a converte para ; valor numérico em DtAtualInt ; ;Entra: (S) -> DS:BX -> Ponteiro para o string de origem ;Sai: (A) -> AX -> Valor "Hex" resultante ; ;Entra: DtAtualString -> caracter atual ;Sai: DtAtualInt -> String concatenada ;-------------------------------------------------------------------- DbStrToVal proc near call atoi cmp DtAtualEhNeg,1 ; Se flag negativo esta ligada, negativar jne DbStrToValFim neg ax DbStrToValFim: mov DtAtualEhNeg,0 ; Reseta flag mov DtAtualInt,ax ret DbStrToVal endp ;-------------------------------------------------------------------- ;Função para receber um numeral e imprimir com padding na tela e ,00 ; ;Entra: AX -> Numero inteiro ; ;-------------------------------------------------------------------- DbPrintN proc near mov Temp,ax cmp ax,0 jl DbPrintNNegativo lea bx,Space3 call printf_s lea bx,String mov ax,Temp call sprintf_w lea bx,String call printf_s lea bx,Virgulas call printf_s jmp DbPrintNFim DbPrintNNegativo: mov ax,Temp neg ax mov Temp,ax lea bx,Space12 call printf_s lea bx,String mov ax,Temp call sprintf_w lea bx,String call printf_s lea bx,Virgulas call printf_s DbPrintNFim: ret DbPrintN endp .startup TelaAutoria: lea bx,Autor call printf_s call gets TelaArquivoDados: ; TELA: Solicitação de arquivo de dados ; Necessario resetar mov DtAtualInt,0 mov DtAtualEngSel,0 mov DtAtualEhNeg,0 mov DtAtualLucro,0 mov DtAtualStringC,0 mov DtAtualLinha,0 mov DtAtualColuna,0 mov DtNCidades,0 mov DtNEng,0 mov DtNVisitas,0 mov DtNLucro,0 mov DtEngVisitasNxt,0 mov DtLoop,0 mov Xpto,0 jmp SubrotinaLeArquivo call gets TelaResumoGeral: ; TELA: Resumo geral dos arquivo de dados (visualização prévia) lea bx,DadosResumo1 call printf_s mov ax,DtNCidades lea bx,String call sprintf_w lea bx,String call printf_s lea bx,DadosResumo2 call printf_s mov ax,DtNEng lea bx,String call sprintf_w lea bx,String call printf_s ;call DDebubPilha ;call gets TelaAjuda: ; TELA: Tela de ajuda lea bx,Ajuda call printf_s call SubrotinaNavegacao TelaResumoGeralSobDemanda: ; TELA: Resumo geral dos arquivo de dados (visualização sob demanda) call SubrotinaRelatorioGeral TelaEngEscolha: ; TELA: Engenheiro, solicitação da escolha lea bx,RelatorioEngN call printf_s lea bx,String call gets ; String obtida em bx call atoi ; Converte string de bx para inteiro em ax mov DtAtualEngSel,ax cmp ax,DtNEng jge TelaEngErro ; Selecionado Eng superior a qtd de engs ;call SubrotinaNavegacao TelaEngRelatorio: ; TELA: Engenheiro, exibição do relatório específico ; "Relatorio do Engenheiro N \0" lea bx,RelatorioEng1 call printf_s mov ax,DtAtualEngSel lea bx,String call sprintf_w lea bx,String call printf_s ; "Numero de visitas: N \0" lea bx,RelatorioEng2 call printf_s ;@todo Implementar na tela de engenheiro a exibição de lucros/prejuízos (fititnt, 2014-11-26 15h56min) ; lea bx,DtEngVisitasPtr ; add bx,DtAtualEngSel ; mov ax,[bx] ;mov bx,Xpto lea bx,DtEngVisitasT mov dx,DtAtualEngSel shl dx,1 ; * 2, deslocamento dw add bx,dx mov ax,[bx] ;mov bx,Xpto ;mov ax,bx lea bx,String call sprintf_w lea bx,String call printf_s ;"Cidade Lucro Prejuizo" lea bx,RelatorioEng3 call printf_s ; contador de visitas lea bx,DtEngVisitasT mov dx,DtAtualEngSel shl dx,1 ; * 2, deslocamento dw add bx,dx mov ax,[bx] mov cx,ax ;dec cx ; Item por item TelaEngRelatorioItens: ; Espacos lea bx,RelatorioEng5 call printf_s ; Nº Cidade mov bx,DtEngVisitasPtr mov dx,cx shl dx,1 ; pos*2, DW usa 2 bytes de deslocamento add bx,dx mov ax,[bx] lea bx,String call sprintf_w lea bx,String call printf_s ; Fim de linha lea bx,Crlf call printf_s dec cx cmp cx,0 jge TelaEngRelatorioItens TelaEngRelatorioFim: ; "TOTAL: " lea bx,RelatorioEng4 call printf_s ; NNN,NN NNN,NN (lucro/prejuizo) mov ax,DtNLucro call DbPrintN ; lea bx,Crlf ; call printf_s call SubrotinaNavegacao TelaEngErro: ; TELA: Engenheiro, erro de escolha de engenheiro inválido lea bx,RelatorioErro call printf_s call SubrotinaNavegacao TelaEncerramento: ; TELA: Encerramento do programa lea bx,EncerramentoMsg call printf_s lea bx,Cursor call printf_s jmp Encerramento ; Subrotina de navegação. Gerencia input do usuário e navegação em telas ;---------------------------------------------- SubrotinaNavegacao: lea bx,Cursor call printf_s mov ah,1 ; Prepara para obter tecla digitada em al int 21h cmp al,'a' je TelaArquivoDados cmp al,'g' je TelaResumoGeralSobDemanda cmp al,'e' je TelaEngEscolha cmp al,'a' je TelaArquivoDados cmp al,'f' je TelaEncerramento cmp al,'?' je TelaAjuda jmp SubrotinaNavegacao ; Subrotina usada na tela Relatorio Geral ;---------------------------------------------- SubrotinaRelatorioGeral: ; TELA: Resumo geral dos arquivo de dados (visualização sob demanda) lea bx,RelatorioGeral call printf_s mov cx,0 ; Loop para gerar linha por linha SubrotinaRelatorioGeralLinha: ; Espacos lea bx,RelatorioGeral2 call printf_s ; Eng nº mov ax,cx lea bx,String call sprintf_w lea bx,String call printf_s ; Espaços lea bx,RelatorioGeral2 call printf_s ; Nº visitas lea bx,DtEngVisitasT mov dx,cx shl dx,1 ; pos*2, DW usa 2 bytes de deslocamento add bx,dx mov ax,[bx] lea bx,String call sprintf_w lea bx,String call printf_s ; Espaços lea bx,RelatorioGeral2 call printf_s ; Lucro/Prejuizo lea bx,DtEngLucros mov dx,cx shl dx,1 ; pos*2, DW usa 2 bytes de deslocamento add bx,dx mov ax,[bx] call DbPrintN ; Fim de linha lea bx,RelatorioGeral3 call printf_s inc cx cmp cx,DtNEng je SubrotinaRelatorioGeralTotal jmp SubrotinaRelatorioGeralLinha ; Fim da tabela (exibe totais) SubrotinaRelatorioGeralTotal: ; "TOTAL" lea bx,RelatorioGeral4 call printf_s ; "N (visitas) mov ax,DtNVisitas lea bx,String call sprintf_w lea bx,String call printf_s ; " " lea bx,RelatorioGeral2 call printf_s ; NNN,NN NNN,NN (lucro/prejuizo) mov ax,DtNLucro call DbPrintN ; Fim da subrotina SubrotinaRelatorioGeralFim: call SubrotinaNavegacao SubrotinaLeArquivo: ;==================================================================== ;void main(void) ;{ ; GetFileName(); ; ; if ( (ax=fopen(ah=0x3d, dx->FileName) ) ) { ; printf("Erro na abertura do arquivo.\r\n"); ; exit(1); ; } ; FileHandle = ax ; ; while(1) { ; if ( (ax=fread(ah=0x3f, bx=FileHandle, cx=1, dx=FileBuffer)) ) { ; printf ("Erro na leitura do arquivo.\r\n"); ; fclose(bx=FileHandle) ; exit(1); ; } ; if (ax==0) { ; fclose(bx=FileHandle); ; exit(0); ; } ; ; printf("%c", FileBuffer[0]); // Coloca um caractere na tela ; } ;} ; ;==================================================================== ; GetFileName(); call GetFileName ;if ( (ax=fopen(ah=0x3d, dx->FileName) ) ) { ; printf("Erro na abertura do arquivo.\r\n"); ;exit(1); ;} mov al,0 lea dx,FileName mov ah,3dh int 21h jnc Continua1 lea bx,MsgErroOpenFile call printf_s .exit 1 Continua1: ; FileHandle = ax mov FileHandle,ax ; Salva handle do arquivo ; while(1) { Again: ; if ( (ax=fread(ah=0x3f, bx=FileHandle, cx=1, dx=FileBuffer)) ) { ; printf ("Erro na leitura do arquivo.\r\n"); ; fclose(bx=FileHandle) ; exit(1); ; } mov bx,FileHandle mov ah,3fh mov cx,1 lea dx,FileBuffer int 21h jnc Continua2 lea bx,MsgErroReadFile call printf_s mov al,1 jmp CloseAndFinal Continua2: ; if (ax==0) { ; fclose(bx=FileHandle); ; exit(0); ; } cmp ax,0 jne Continua3 mov al,0 jmp CloseAndFinal Continua3: ; printf("%c", FileBuffer[0]); // Coloca um caractere na tela ;mov ah,2 mov dl,FileBuffer ;int 21h call DbAnalisa ; Chama DbAnalisa caracter por caracter ; } jmp Again CloseAndFinal: mov bx,FileHandle ; Fecha o arquivo mov ah,3eh int 21h Final: jmp TelaResumoGeral Encerramento: .exit ;------------------------------------------------------------------------------ end ;------------------------------------------------------------------------------
21.868581
103
0.618936
1ac02574d6d4ce1e7cd39471c0684eb0e7cdebf1
13,719
asm
Assembly
ffmpeg-2.3.6/ffmpeg-2.3.6/libavcodec/x86/videodsp.asm
d2262272d/ffmpeg
24614260b55822e61c4fd2da65ef3d82977f1124
[ "MIT" ]
16
2018-12-30T07:34:43.000Z
2021-04-13T06:37:22.000Z
jni/ffmpeg-2.2/libavcodec/x86/videodsp.asm
jasonchuang/SoftwareAudioPlayer
4f4f93f717f24381e41ac892e12b74fe8e7a2fb1
[ "Apache-2.0" ]
5
2018-06-22T05:52:48.000Z
2020-10-15T22:15:25.000Z
jni/ffmpeg-2.2/libavcodec/x86/videodsp.asm
jasonchuang/SoftwareAudioPlayer
4f4f93f717f24381e41ac892e12b74fe8e7a2fb1
[ "Apache-2.0" ]
10
2018-05-24T06:35:54.000Z
2021-06-24T00:59:59.000Z
;****************************************************************************** ;* Core video DSP functions ;* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software Foundation; either ;* version 2.1 of the License, or (at your option) any later version. ;* ;* FFmpeg is distributed in the hope that it will be useful, ;* but WITHOUT ANY WARRANTY; without even the implied warranty of ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;* Lesser General Public License for more details. ;* ;* You should have received a copy of the GNU Lesser General Public ;* License along with FFmpeg; if not, write to the Free Software ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;****************************************************************************** %include "libavutil/x86/x86util.asm" SECTION .text ; slow vertical extension loop function. Works with variable-width, and ; does per-line reading/writing of source data %macro V_COPY_ROW 2 ; type (top/body/bottom), h .%1_y_loop: ; do { mov wq, r7mp ; initialize w (r7mp = wmp) .%1_x_loop: ; do { movu m0, [srcq+wq] ; m0 = read($mmsize) movu [dstq+wq], m0 ; write(m0, $mmsize) add wq, mmsize ; w -= $mmsize cmp wq, -mmsize ; } while (w > $mmsize); jl .%1_x_loop movu m0, [srcq-mmsize] ; m0 = read($mmsize) movu [dstq-mmsize], m0 ; write(m0, $mmsize) %ifidn %1, body ; if ($type == body) { add srcq, src_strideq ; src += src_stride %endif ; } add dstq, dst_strideq ; dst += dst_stride dec %2 ; } while (--$h); jnz .%1_y_loop %endmacro %macro vvar_fn 0 ; .----. <- zero ; | | <- top is copied from first line in body of source ; |----| <- start_y ; | | <- body is copied verbatim (line-by-line) from source ; |----| <- end_y ; | | <- bottom is copied from last line in body of source ; '----' <- bh %if ARCH_X86_64 cglobal emu_edge_vvar, 7, 8, 1, dst, dst_stride, src, src_stride, \ start_y, end_y, bh, w %else ; x86-32 cglobal emu_edge_vvar, 1, 6, 1, dst, src, start_y, end_y, bh, w %define src_strideq r3mp %define dst_strideq r1mp mov srcq, r2mp mov start_yq, r4mp mov end_yq, r5mp mov bhq, r6mp %endif sub bhq, end_yq ; bh -= end_q sub end_yq, start_yq ; end_q -= start_q add srcq, r7mp ; (r7mp = wmp) add dstq, r7mp ; (r7mp = wmp) neg r7mp ; (r7mp = wmp) test start_yq, start_yq ; if (start_q) { jz .body V_COPY_ROW top, start_yq ; v_copy_row(top, start_yq) .body: ; } V_COPY_ROW body, end_yq ; v_copy_row(body, end_yq) test bhq, bhq ; if (bh) { jz .end sub srcq, src_strideq ; src -= src_stride V_COPY_ROW bottom, bhq ; v_copy_row(bottom, bh) .end: ; } RET %endmacro %if ARCH_X86_32 INIT_MMX mmx vvar_fn %endif INIT_XMM sse vvar_fn %macro hvar_fn 0 cglobal emu_edge_hvar, 5, 6, 1, dst, dst_stride, start_x, n_words, h, w lea dstq, [dstq+n_wordsq*2] neg n_wordsq lea start_xq, [start_xq+n_wordsq*2] .y_loop: ; do { ; FIXME also write a ssse3 version using pshufb movzx wd, byte [dstq+start_xq] ; w = read(1) imul wd, 0x01010101 ; w *= 0x01010101 movd m0, wd mov wq, n_wordsq ; initialize w %if cpuflag(sse2) pshufd m0, m0, q0000 ; splat %else ; mmx punpckldq m0, m0 ; splat %endif ; mmx/sse .x_loop: ; do { movu [dstq+wq*2], m0 ; write($reg, $mmsize) add wq, mmsize/2 ; w -= $mmsize/2 cmp wq, -mmsize/2 ; } while (w > $mmsize/2) jl .x_loop movu [dstq-mmsize], m0 ; write($reg, $mmsize) add dstq, dst_strideq ; dst += dst_stride dec hq ; } while (h--) jnz .y_loop RET %endmacro %if ARCH_X86_32 INIT_MMX mmx hvar_fn %endif INIT_XMM sse2 hvar_fn ; macro to read/write a horizontal number of pixels (%2) to/from registers ; on sse, - fills xmm0-15 for consecutive sets of 16 pixels ; - if (%2 & 8) fills 8 bytes into xmm$next ; - if (%2 & 4) fills 4 bytes into xmm$next ; - if (%2 & 3) fills 1, 2 or 4 bytes in eax ; on mmx, - fills mm0-7 for consecutive sets of 8 pixels ; - if (%2 & 4) fills 4 bytes into mm$next ; - if (%2 & 3) fills 1, 2 or 4 bytes in eax ; writing data out is in the same way %macro READ_NUM_BYTES 2 %assign %%off 0 ; offset in source buffer %assign %%mmx_idx 0 ; mmx register index %assign %%xmm_idx 0 ; xmm register index %rep %2/mmsize %if mmsize == 16 movu xmm %+ %%xmm_idx, [srcq+%%off] %assign %%xmm_idx %%xmm_idx+1 %else ; mmx movu mm %+ %%mmx_idx, [srcq+%%off] %assign %%mmx_idx %%mmx_idx+1 %endif %assign %%off %%off+mmsize %endrep ; %2/mmsize %if mmsize == 16 %if (%2-%%off) >= 8 %if %2 > 16 && (%2-%%off) > 8 movu xmm %+ %%xmm_idx, [srcq+%2-16] %assign %%xmm_idx %%xmm_idx+1 %assign %%off %2 %else movq mm %+ %%mmx_idx, [srcq+%%off] %assign %%mmx_idx %%mmx_idx+1 %assign %%off %%off+8 %endif %endif ; (%2-%%off) >= 8 %endif %if (%2-%%off) >= 4 %if %2 > 8 && (%2-%%off) > 4 movq mm %+ %%mmx_idx, [srcq+%2-8] %assign %%off %2 %else movd mm %+ %%mmx_idx, [srcq+%%off] %assign %%off %%off+4 %endif %assign %%mmx_idx %%mmx_idx+1 %endif ; (%2-%%off) >= 4 %if (%2-%%off) >= 1 %if %2 >= 4 movd mm %+ %%mmx_idx, [srcq+%2-4] %elif (%2-%%off) == 1 mov valb, [srcq+%2-1] %elif (%2-%%off) == 2 mov valw, [srcq+%2-2] %elifidn %1, body mov vald, [srcq+%2-3] %else movd mm %+ %%mmx_idx, [srcq+%2-3] %endif %endif ; (%2-%%off) >= 1 %endmacro ; READ_NUM_BYTES %macro WRITE_NUM_BYTES 2 %assign %%off 0 ; offset in destination buffer %assign %%mmx_idx 0 ; mmx register index %assign %%xmm_idx 0 ; xmm register index %rep %2/mmsize %if mmsize == 16 movu [dstq+%%off], xmm %+ %%xmm_idx %assign %%xmm_idx %%xmm_idx+1 %else ; mmx movu [dstq+%%off], mm %+ %%mmx_idx %assign %%mmx_idx %%mmx_idx+1 %endif %assign %%off %%off+mmsize %endrep ; %2/mmsize %if mmsize == 16 %if (%2-%%off) >= 8 %if %2 > 16 && (%2-%%off) > 8 movu [dstq+%2-16], xmm %+ %%xmm_idx %assign %%xmm_idx %%xmm_idx+1 %assign %%off %2 %else movq [dstq+%%off], mm %+ %%mmx_idx %assign %%mmx_idx %%mmx_idx+1 %assign %%off %%off+8 %endif %endif ; (%2-%%off) >= 8 %endif %if (%2-%%off) >= 4 %if %2 > 8 && (%2-%%off) > 4 movq [dstq+%2-8], mm %+ %%mmx_idx %assign %%off %2 %else movd [dstq+%%off], mm %+ %%mmx_idx %assign %%off %%off+4 %endif %assign %%mmx_idx %%mmx_idx+1 %endif ; (%2-%%off) >= 4 %if (%2-%%off) >= 1 %if %2 >= 4 movd [dstq+%2-4], mm %+ %%mmx_idx %elif (%2-%%off) == 1 mov [dstq+%2-1], valb %elif (%2-%%off) == 2 mov [dstq+%2-2], valw %elifidn %1, body mov [dstq+%2-3], valw shr vald, 16 mov [dstq+%2-1], valb %else movd vald, mm %+ %%mmx_idx mov [dstq+%2-3], valw shr vald, 16 mov [dstq+%2-1], valb %endif %endif ; (%2-%%off) >= 1 %endmacro ; WRITE_NUM_BYTES ; vertical top/bottom extend and body copy fast loops ; these are function pointers to set-width line copy functions, i.e. ; they read a fixed number of pixels into set registers, and write ; those out into the destination buffer %macro VERTICAL_EXTEND 2 %assign %%n %1 %rep 1+%2-%1 %if %%n <= 3 %if ARCH_X86_64 cglobal emu_edge_vfix %+ %%n, 6, 8, 0, dst, dst_stride, src, src_stride, \ start_y, end_y, val, bh mov bhq, r6mp ; r6mp = bhmp %else ; x86-32 cglobal emu_edge_vfix %+ %%n, 0, 6, 0, val, dst, src, start_y, end_y, bh mov dstq, r0mp mov srcq, r2mp mov start_yq, r4mp mov end_yq, r5mp mov bhq, r6mp %define dst_strideq r1mp %define src_strideq r3mp %endif ; x86-64/32 %else %if ARCH_X86_64 cglobal emu_edge_vfix %+ %%n, 7, 7, 1, dst, dst_stride, src, src_stride, \ start_y, end_y, bh %else ; x86-32 cglobal emu_edge_vfix %+ %%n, 1, 5, 1, dst, src, start_y, end_y, bh mov srcq, r2mp mov start_yq, r4mp mov end_yq, r5mp mov bhq, r6mp %define dst_strideq r1mp %define src_strideq r3mp %endif ; x86-64/32 %endif ; FIXME move this to c wrapper? sub bhq, end_yq ; bh -= end_y sub end_yq, start_yq ; end_y -= start_y ; extend pixels above body test start_yq, start_yq ; if (start_y) { jz .body_loop READ_NUM_BYTES top, %%n ; $variable_regs = read($n) .top_loop: ; do { WRITE_NUM_BYTES top, %%n ; write($variable_regs, $n) add dstq, dst_strideq ; dst += linesize dec start_yq ; } while (--start_y) jnz .top_loop ; } ; copy body pixels .body_loop: ; do { READ_NUM_BYTES body, %%n ; $variable_regs = read($n) WRITE_NUM_BYTES body, %%n ; write($variable_regs, $n) add dstq, dst_strideq ; dst += dst_stride add srcq, src_strideq ; src += src_stride dec end_yq ; } while (--end_y) jnz .body_loop ; copy bottom pixels test bhq, bhq ; if (block_h) { jz .end sub srcq, src_strideq ; src -= linesize READ_NUM_BYTES bottom, %%n ; $variable_regs = read($n) .bottom_loop: ; do { WRITE_NUM_BYTES bottom, %%n ; write($variable_regs, $n) add dstq, dst_strideq ; dst += linesize dec bhq ; } while (--bh) jnz .bottom_loop ; } .end: RET %assign %%n %%n+1 %endrep ; 1+%2-%1 %endmacro ; VERTICAL_EXTEND INIT_MMX mmx VERTICAL_EXTEND 1, 15 %if ARCH_X86_32 VERTICAL_EXTEND 16, 22 %endif INIT_XMM sse VERTICAL_EXTEND 16, 22 ; left/right (horizontal) fast extend functions ; these are essentially identical to the vertical extend ones above, ; just left/right separated because number of pixels to extend is ; obviously not the same on both sides. %macro READ_V_PIXEL 2 movzx vald, byte %2 imul vald, 0x01010101 %if %1 >= 8 movd m0, vald %if mmsize == 16 pshufd m0, m0, q0000 %else punpckldq m0, m0 %endif ; mmsize == 16 %endif ; %1 > 16 %endmacro ; READ_V_PIXEL %macro WRITE_V_PIXEL 2 %assign %%off 0 %if %1 >= 8 %rep %1/mmsize movu [%2+%%off], m0 %assign %%off %%off+mmsize %endrep ; %1/mmsize %if mmsize == 16 %if %1-%%off >= 8 %if %1 > 16 && %1-%%off > 8 movu [%2+%1-16], m0 %assign %%off %1 %else movq [%2+%%off], m0 %assign %%off %%off+8 %endif %endif ; %1-%%off >= 8 %endif ; mmsize == 16 %if %1-%%off >= 4 %if %1 > 8 && %1-%%off > 4 movq [%2+%1-8], m0 %assign %%off %1 %else movd [%2+%%off], m0 %assign %%off %%off+4 %endif %endif ; %1-%%off >= 4 %else ; %1 < 8 %rep %1/4 mov [%2+%%off], vald %assign %%off %%off+4 %endrep ; %1/4 %endif ; %1 >=/< 8 %if %1-%%off == 2 mov [%2+%%off], valw %endif ; (%1-%%off)/2 %endmacro ; WRITE_V_PIXEL %macro H_EXTEND 2 %assign %%n %1 %rep 1+(%2-%1)/2 cglobal emu_edge_hfix %+ %%n, 4, 5, 1, dst, dst_stride, start_x, bh, val .loop_y: ; do { READ_V_PIXEL %%n, [dstq+start_xq] ; $variable_regs = read($n) WRITE_V_PIXEL %%n, dstq ; write($variable_regs, $n) add dstq, dst_strideq ; dst += dst_stride dec bhq ; } while (--bh) jnz .loop_y RET %assign %%n %%n+2 %endrep ; 1+(%2-%1)/2 %endmacro ; H_EXTEND INIT_MMX mmx H_EXTEND 2, 14 %if ARCH_X86_32 H_EXTEND 16, 22 %endif INIT_XMM sse2 H_EXTEND 16, 22 %macro PREFETCH_FN 1 cglobal prefetch, 3, 3, 0, buf, stride, h .loop: %1 [bufq] add bufq, strideq dec hd jg .loop REP_RET %endmacro INIT_MMX mmxext PREFETCH_FN prefetcht0 %if ARCH_X86_32 INIT_MMX 3dnow PREFETCH_FN prefetch %endif
30.829213
79
0.505212
22113678d5d356d24060793e68cf58f3c6281fb4
2,334
asm
Assembly
PRG/levels/Under/BigQ6.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
PRG/levels/Under/BigQ6.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
PRG/levels/Under/BigQ6.asm
narfman0/smb3_pp1
38a58adafff67a403591e38875e9fae943a5fe76
[ "Unlicense" ]
null
null
null
; Original address was $B470 ; World 6's Big [?] block area .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE .byte LEVEL4_BGBANK_INDEX(3) | LEVEL4_INITACT_NOTHING .byte LEVEL5_BGM_UNDERGROUND | LEVEL5_TIME_300 .byte $40, $00, $0E, $98, $30, $30, $0F, $99, $30, $91, $0F, $99, $3F, $51, $00, $80 .byte $31, $B0, $0B, $61, $30, $EF, $71, $30, $E5, $00, $37, $0A, $00, $38, $07, $97 .byte $31, $83, $02, $99, $34, $51, $00, $17, $33, $50, $18, $34, $90, $99, $37, $51 .byte $04, $97, $38, $81, $02, $18, $37, $A0, $17, $38, $60, $17, $3A, $50, $18, $3B .byte $90, $80, $3D, $5F, $02, $90, $3D, $50, $02, $01, $3D, $EF, $10, $3D, $07, $90 .byte $3E, $B0, $00, $11, $3F, $E6, $18, $3F, $F0, $97, $30, $53, $00, $20, $38, $D1 .byte $31, $3D, $C4, $23, $35, $86, $25, $35, $86, $27, $35, $86, $29, $33, $88, $2B .byte $33, $88, $2D, $33, $88, $2F, $33, $88, $83, $34, $2C, $00, $83, $36, $2C, $00 .byte $83, $38, $2C, $00, $83, $3A, $2C, $00, $40, $50, $B1, $0F, $42, $50, $B7, $00 .byte $4A, $50, $B5, $0F, $42, $5F, $B7, $00, $50, $50, $B8, $00, $50, $5F, $B8, $00 .byte $59, $50, $B1, $0F, $2A, $51, $10, $2B, $51, $10, $2C, $51, $10, $2D, $51, $10 .byte $2E, $51, $10, $2F, $51, $10, $30, $52, $D5, $30, $5D, $C5, $24, $53, $89, $26 .byte $53, $89, $28, $53, $89, $8C, $60, $5F, $00, $99, $64, $81, $02, $80, $60, $5B .byte $01, $64, $61, $E6, $80, $62, $B3, $07, $80, $6A, $56, $02, $04, $6A, $E3, $08 .byte $6A, $07, $60, $6C, $E6, $07, $6B, $81, $8B, $62, $80, $04, $0B, $67, $04, $0C .byte $61, $86, $73, $60, $E2, $99, $61, $51, $02, $16, $61, $52, $80, $6F, $5F, $00 .byte $90, $6F, $5A, $00, $00, $6F, $E7, $08, $6E, $68, $90, $6A, $B0, $04, $11, $66 .byte $83, $11, $65, $62, $94, $63, $B0, $02, $14, $63, $07, $11, $6F, $E1, $95, $6B .byte $85, $03, $15, $6A, $63, $99, $67, $51, $03, $12, $6F, $07, $20, $6D, $D5, $33 .byte $6D, $E2, $28, $6D, $80, $29, $6C, $80, $2A, $6B, $80, $2B, $6A, $80, $2C, $69 .byte $80, $2D, $68, $80, $2E, $67, $80, $2F, $66, $80, $30, $65, $80, $31, $64, $80 .byte $32, $63, $80, $33, $62, $80, $33, $6A, $80, $34, $69, $80, $35, $68, $80, $E3 .byte $61, $64, $E5, $11, $A3, $E6, $61, $E3, $FF
68.647059
85
0.482005
3543b98a62d2156a6cd6724bdcd03ceaea50181d
242
asm
Assembly
programs/oeis/017/A017404.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/017/A017404.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/017/A017404.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A017404: (11n+1)^4. ; 1,20736,279841,1336336,4100625,9834496,20151121,37015056,62742241,100000000,151807041,221533456,312900721,429981696,577200625,759333136,981506241,1249198336,1568239201,1944810000 mul $0,11 add $0,1 pow $0,4 mov $1,$0
30.25
180
0.793388
f21c679380d03e8dad8a8cf69bdafd50923ac74e
1,045
asm
Assembly
zero.asm
heppu/zero
a1b56af78dcd34f9f851bdfdbb9c76c2673b805b
[ "Apache-2.0" ]
null
null
null
zero.asm
heppu/zero
a1b56af78dcd34f9f851bdfdbb9c76c2673b805b
[ "Apache-2.0" ]
null
null
null
zero.asm
heppu/zero
a1b56af78dcd34f9f851bdfdbb9c76c2673b805b
[ "Apache-2.0" ]
null
null
null
BITS 32 org 0x00010000 db 0x7F, "ELF" ; e_ident dd 1 ; p_type dd 0 ; p_offset dd $$ ; p_vaddr dw 2 ; e_type ; p_paddr dw 3 ; e_machine dd _start ; e_version ; p_filesz dd _start ; e_entry ; p_memsz dd 4 ; e_phoff ; p_flags _start: mov bl, 0 ; e_shoff ; p_align xor eax, eax inc eax ; e_flags int 0x80 db 0 dw 0x34 ; e_ehsize dw 0x20 ; e_phentsize db 1 ; e_phnum ; e_shentsize ; e_shnum ; e_shstrndx filesize equ $ - $$
37.321429
62
0.28134
3f16cbad76e53273193bbf15b5f19c381038bf7c
5,784
asm
Assembly
boot2.asm
FoxForge/Intel86-32bitOS-VGA-Driver
d3e74c269544e16fd4c5268bc0d2a95ae9e804db
[ "MIT" ]
null
null
null
boot2.asm
FoxForge/Intel86-32bitOS-VGA-Driver
d3e74c269544e16fd4c5268bc0d2a95ae9e804db
[ "MIT" ]
null
null
null
boot2.asm
FoxForge/Intel86-32bitOS-VGA-Driver
d3e74c269544e16fd4c5268bc0d2a95ae9e804db
[ "MIT" ]
null
null
null
; Second stage of the boot loader BITS 16 ORG 9000h jmp Second_Stage %include "functions_16.asm" %include "bpb.asm" ; The BIOS Parameter Block (i.e. information about the disk format) %include "floppy16.asm" ; Routines to access the floppy disk drive %include "fat12.asm" ; Routines to handle the FAT12 file system %include "a20.asm" ; Routines to handle the A20 line %include "memory.asm" ; Where the kernel is to be loaded to in protected mode (we will be paging memory by the time ; we get to accessing this. Virtual address 0xC0000000 (3GB) will map on to physical address 100000) %define IMAGE_PMODE_BASE 0C0000000h ; This is the real mode address where we will initially load the kernel %define IMAGE_RMODE_SEG 1000h %define IMAGE_RMODE_OFFSET 0000h ; This is the above address once we are in 32-bit mode %define IMAGE_PMODE_LOAD_ADDR 10000h ; kernel name (Must be a 8.3 filename and must be 11 bytes exactly) ImageName db "KERNEL SYS" ; This is where we will store the size of the kernel image in sectors (updated just before jump to kernel to be kernel size in bytes) ImageSize dd 0 BootInfo: BootInfo_StackTop dd 0 ; Address of top of stack BootInfo_KernelSize dd 0 ; Size of the kernel in bytes BootInfo_MemoryMap dd 0 ; Address of memory map BootInfo_BootDevice db 0 ; Boot device id ; Start of the second stage of the boot loader Second_Stage: mov [boot_device], dl ; Boot device number is passed in from first stage in DL. Save it to pass to kernel later. mov si, second_stage_msg ; Output our greeting message call Console_WriteLine_16 ; Enable the A20 line if possible call Enable_A20 ; Output message saying how A20 line was enabled push dx mov si, dx ; Calculate index into message table add si, dx mov si, [si + a20_message_list] ; Get address of message by adding index to base of messages call Console_WriteLine_16 pop dx ; If we were not able to enable the A20 line, then we cannot switch to ; protected mode cmp dx, 0 je Cannot_Continue ; Store our memory map at 0:1000h (it will be read by the kernel later) mov di, 1000h mov dword [BootInfo_MemoryMap], 1000h call BIOSGetMemoryMap ; We are now going to load the kernel into memory ; First, load the root directory table call LoadRoot ; Load kernel.sys. We have to load it into conventional memory since the BIOS routines ; can only access conventional memory. We will relocate it to high memory later mov ebx, IMAGE_RMODE_SEG ; BX:BP points to memory address to load the file to mov bp, IMAGE_RMODE_OFFSET mov si, ImageName ; The file to load call LoadFile ; Load the file mov dword [ImageSize], ecx ; Save size of kernel (in sectors) cmp ax, 0 ; Test for successful load je Switch_To_Protected_Mode mov si, msgFailure ; Unable to load kernel.sys - print error call Console_Write_16 Cannot_Continue: mov si, wait_for_key_msg call Console_WriteLine_16 mov ah, 0 int 16h ; Wait for key press before continuing int 19h ; Warm boot computer hlt ; We are now ready to switch to 32-bit protected mode Switch_To_Protected_Mode: lgdt [gdt_descriptor] ; Load the global descriptor table mov eax, cr0 ; Set the first bit of control register CR0 to switch ; into 32-bit protected mode or eax, 1 mov cr0, eax jmp CODE_SEG:Initialise_PM ; Do a far jump to the 32-bit code. Doing a far jump ;clears the pipeline of any 16-bit instructions. second_stage_msg db 'Second stage of boot loader running', 0 a20_msg_one db 'A20 line already enabled', 0 a20_msg_two db 'A20 line enabled by BIOS', 0 a20_msg_three db 'A20 line enabled using keyboard controller', 0 a20_msg_four db 'A20 line enabled using Fast A20 gate', 0 no_a20_msg db 'Unable to enable A20 line.', 0 wait_for_key_msg db 'Press a key to continue', 0 msgFailure db 'Unable to find KERNEL.SYS. ', 0 a20_message_list dw no_a20_msg dw a20_msg_one dw a20_msg_two dw a20_msg_three dw a20_msg_four boot_device db 0 ; 32-bit code BITS 32 Initialise_PM: ; Start of main 32-bit code ; It is now vital that we make sure that interrupts are turned off until ; our kernel is running and has setup the interrupt tables. ; Now we are in protected mode, we have no way of handling interrupts ; until those tables are setup, so any interrupt would cause a crash. cli mov eax, DATA_SEG ; Update the segment registers to point to our new data segment mov ds, ax mov ss, ax mov es, ax mov fs, ax mov gs, ax mov ebp, 90000h ; Update our stack position so that it is at the top of free space mov dword [BootInfo_StackTop], ebp mov esp, ebp call EnablePaging ; Setup our temporary page tables and enable paging ; Copy kernel from load address to high memory mov eax, dword [ImageSize] ; Calculate how many bytes we need to copy movzx ebx, word [bpbBytesPerSector] mul ebx mov dword [BootInfo_KernelSize], eax ; Store kernel size in bytes mov ebx, 4 ; Now divide by 4 to calculate the number of dwords div ebx cld ; Make sure direction flag is clear (i.e. ESI and EDI get incremented) mov esi, IMAGE_PMODE_LOAD_ADDR ; ESI = Where we are copying from mov edi, IMAGE_PMODE_BASE ; EDI = Where we are copying to mov ecx, eax ; ECX = Number of dwords to copy rep movsd ; Copy kernel to its protected mode address ; Now we can execute our kernel mov eax, BootInfo ; Load EAX with the address of the bootinfo structure call IMAGE_PMODE_BASE %include "gdt.asm" %include "paging.asm"
33.241379
133
0.711445
39a94bf790d39b07d993c656750f945e22e80bd9
2,353
asm
Assembly
programs/oeis/157/A157618.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/157/A157618.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/157/A157618.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A157618: a(n) = 625*n^2 - 886*n + 314. ; 53,1042,3281,6770,11509,17498,24737,33226,42965,53954,66193,79682,94421,110410,127649,146138,165877,186866,209105,232594,257333,283322,310561,339050,368789,399778,432017,465506,500245,536234,573473,611962,651701,692690,734929,778418,823157,869146,916385,964874,1014613,1065602,1117841,1171330,1226069,1282058,1339297,1397786,1457525,1518514,1580753,1644242,1708981,1774970,1842209,1910698,1980437,2051426,2123665,2197154,2271893,2347882,2425121,2503610,2583349,2664338,2746577,2830066,2914805,3000794,3088033,3176522,3266261,3357250,3449489,3542978,3637717,3733706,3830945,3929434,4029173,4130162,4232401,4335890,4440629,4546618,4653857,4762346,4872085,4983074,5095313,5208802,5323541,5439530,5556769,5675258,5794997,5915986,6038225,6161714,6286453,6412442,6539681,6668170,6797909,6928898,7061137,7194626,7329365,7465354,7602593,7741082,7880821,8021810,8164049,8307538,8452277,8598266,8745505,8893994,9043733,9194722,9346961,9500450,9655189,9811178,9968417,10126906,10286645,10447634,10609873,10773362,10938101,11104090,11271329,11439818,11609557,11780546,11952785,12126274,12301013,12477002,12654241,12832730,13012469,13193458,13375697,13559186,13743925,13929914,14117153,14305642,14495381,14686370,14878609,15072098,15266837,15462826,15660065,15858554,16058293,16259282,16461521,16665010,16869749,17075738,17282977,17491466,17701205,17912194,18124433,18337922,18552661,18768650,18985889,19204378,19424117,19645106,19867345,20090834,20315573,20541562,20768801,20997290,21227029,21458018,21690257,21923746,22158485,22394474,22631713,22870202,23109941,23350930,23593169,23836658,24081397,24327386,24574625,24823114,25072853,25323842,25576081,25829570,26084309,26340298,26597537,26856026,27115765,27376754,27638993,27902482,28167221,28433210,28700449,28968938,29238677,29509666,29781905,30055394,30330133,30606122,30883361,31161850,31441589,31722578,32004817,32288306,32573045,32859034,33146273,33434762,33724501,34015490,34307729,34601218,34895957,35191946,35489185,35787674,36087413,36388402,36690641,36994130,37298869,37604858,37912097,38220586,38530325,38841314 mov $2,$0 mov $7,$0 mul $0,3 mov $1,8 mul $1,$0 add $1,1 mov $3,1 mov $6,8 add $7,2 mul $7,2 add $6,$7 mov $0,$6 add $3,$1 mov $4,$6 add $4,$1 mul $3,$4 add $3,3 lpb $0 mov $0,2 add $3,3 lpe mov $1,$3 add $1,21 mov $5,$2 mul $5,$2 add $1,$5
78.433333
2,065
0.834254
b1c6aac2be399a1fca984b5ba269d18d78edc917
167
asm
Assembly
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_saddrcright.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_saddrcright.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_saddrcright.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *tshc_saddrcright(void *saddr) SECTION code_clib SECTION code_arch PUBLIC _tshc_saddrcright EXTERN _zx_saddrcright defc _tshc_saddrcright = _zx_saddrcright
15.181818
40
0.844311
a0cb723911a48049ac4f70fc91c13dcf5a2f2d49
3,546
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_4_409.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_4_409.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_4_409.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r8 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x3d8a, %r13 nop nop xor $42589, %r8 movb (%r13), %r11b nop nop nop nop nop dec %r12 lea addresses_A_ht+0x1c98a, %rsi lea addresses_normal_ht+0x7d8a, %rdi clflush (%rsi) clflush (%rdi) nop nop and %r10, %r10 mov $29, %rcx rep movsb nop sub %r13, %r13 lea addresses_WC_ht+0x18b8a, %r10 nop add $10021, %r11 mov (%r10), %r8w nop cmp %r11, %r11 lea addresses_normal_ht+0x1bbcb, %rcx nop nop nop and $39742, %rsi movb $0x61, (%rcx) nop dec %r13 lea addresses_UC_ht+0x4f9a, %rsi lea addresses_WC_ht+0x18cca, %rdi clflush (%rsi) nop nop nop add %r10, %r10 mov $54, %rcx rep movsl nop nop nop inc %r10 pop %rsi pop %rdi pop %rcx pop %r8 pop %r13 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rsi // Store mov $0x7e34a400000000ee, %rsi nop nop nop nop nop add $46393, %rdi mov $0x5152535455565758, %r13 movq %r13, (%rsi) nop nop nop nop nop add $64925, %rsi // Store lea addresses_PSE+0x13d8a, %r12 nop nop nop xor $60627, %rdi mov $0x5152535455565758, %rcx movq %rcx, %xmm2 vmovups %ymm2, (%r12) nop nop nop sub %r13, %r13 // Load lea addresses_RW+0x16f8a, %r9 nop and $59700, %r11 movntdqa (%r9), %xmm4 vpextrq $0, %xmm4, %r12 nop sub %r9, %r9 // Store lea addresses_D+0x1cf8a, %r13 nop nop add %rsi, %rsi movb $0x51, (%r13) nop nop nop and $10664, %r11 // Store lea addresses_US+0x81cc, %rdi nop nop cmp $26779, %rsi mov $0x5152535455565758, %r12 movq %r12, %xmm4 vmovups %ymm4, (%rdi) inc %rcx // Faulty Load lea addresses_WT+0xad8a, %rcx nop sub $21175, %r9 vmovups (%rcx), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %rsi lea oracles, %r13 and $0xff, %rsi shlq $12, %rsi mov (%r13,%rsi,1), %rsi pop %rsi pop %rdi pop %rcx pop %r9 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 2, 'same': False, 'type': 'addresses_NC'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'src': {'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 8, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1, 'same': False, 'type': 'addresses_US'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 8, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'39': 4} 39 39 39 39 */
19.59116
152
0.647772
f4fdb5519f510f9a977cd91fe849ef5d9f9ca492
6,500
asm
Assembly
examples/factorial.asm
AbdulrahmanAbumdas/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
287
2015-10-01T20:34:49.000Z
2022-03-31T09:19:39.000Z
examples/factorial.asm
BurunluVoldi/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
6
2017-06-13T17:22:24.000Z
2021-01-29T23:40:11.000Z
examples/factorial.asm
BurunluVoldi/emu8086
b99ea60f5dbf8647f278eef60ed1bd8a174468e5
[ "FSFAP" ]
239
2015-09-13T09:40:53.000Z
2022-03-29T14:15:16.000Z
; this example gets the number from the user, ; and calculates factorial for it. ; supported input from 0 to 8 inclusive! name "fact" ; this macro prints a char in AL and advances ; the current cursor position: putc macro char push ax mov al, char mov ah, 0eh int 10h pop ax endm org 100h jmp start result dw ? start: ; get first number: mov dx, offset msg1 mov ah, 9 int 21h jmp n1 msg1 db 0Dh,0Ah, 'enter the number: $' n1: call scan_num ; factorial of 0 = 1: mov ax, 1 cmp cx, 0 je print_result ; move the number to bx: ; cx will be a counter: mov bx, cx mov ax, 1 mov bx, 1 calc_it: mul bx cmp dx, 0 jne overflow inc bx loop calc_it mov result, ax print_result: ; print result in ax: mov dx, offset msg2 mov ah, 9 int 21h jmp n2 msg2 db 0Dh,0Ah, 'factorial: $' n2: mov ax, result call print_num_uns jmp exit overflow: mov dx, offset msg3 mov ah, 9 int 21h jmp n3 msg3 db 0Dh,0Ah, 'the result is too big!', 0Dh,0Ah, 'use values from 0 to 8.$' n3: jmp start exit: ; wait for any key press: mov ah, 0 int 16h ret ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; these functions are copied from emu8086.inc ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; gets the multi-digit SIGNED number from the keyboard, ; and stores the result in CX register: SCAN_NUM PROC NEAR PUSH DX PUSH AX PUSH SI MOV CX, 0 ; reset flag: MOV CS:make_minus, 0 next_digit: ; get char from keyboard ; into AL: MOV AH, 00h INT 16h ; and print it: MOV AH, 0Eh INT 10h ; check for MINUS: CMP AL, '-' JE set_minus ; check for ENTER key: CMP AL, 0Dh ; carriage return? JNE not_cr JMP stop_input not_cr: CMP AL, 8 ; 'BACKSPACE' pressed? JNE backspace_checked MOV DX, 0 ; remove last digit by MOV AX, CX ; division: DIV CS:ten ; AX = DX:AX / 10 (DX-rem). MOV CX, AX PUTC ' ' ; clear position. PUTC 8 ; backspace again. JMP next_digit backspace_checked: ; allow only digits: CMP AL, '0' JAE ok_AE_0 JMP remove_not_digit ok_AE_0: CMP AL, '9' JBE ok_digit remove_not_digit: PUTC 8 ; backspace. PUTC ' ' ; clear last entered not digit. PUTC 8 ; backspace again. JMP next_digit ; wait for next input. ok_digit: ; multiply CX by 10 (first time the result is zero) PUSH AX MOV AX, CX MUL CS:ten ; DX:AX = AX*10 MOV CX, AX POP AX ; check if the number is too big ; (result should be 16 bits) CMP DX, 0 JNE too_big ; convert from ASCII code: SUB AL, 30h ; add AL to CX: MOV AH, 0 MOV DX, CX ; backup, in case the result will be too big. ADD CX, AX JC too_big2 ; jump if the number is too big. JMP next_digit set_minus: MOV CS:make_minus, 1 JMP next_digit too_big2: MOV CX, DX ; restore the backuped value before add. MOV DX, 0 ; DX was zero before backup! too_big: MOV AX, CX DIV CS:ten ; reverse last DX:AX = AX*10, make AX = DX:AX / 10 MOV CX, AX PUTC 8 ; backspace. PUTC ' ' ; clear last entered digit. PUTC 8 ; backspace again. JMP next_digit ; wait for Enter/Backspace. stop_input: ; check flag: CMP CS:make_minus, 0 JE not_minus NEG CX not_minus: POP SI POP AX POP DX RET make_minus DB ? ; used as a flag. SCAN_NUM ENDP ; this procedure prints number in AX, ; used with PRINT_NUM_UNS to print signed numbers: PRINT_NUM PROC NEAR PUSH DX PUSH AX CMP AX, 0 JNZ not_zero PUTC '0' JMP printed not_zero: ; the check SIGN of AX, ; make absolute if it's negative: CMP AX, 0 JNS positive NEG AX PUTC '-' positive: CALL PRINT_NUM_UNS printed: POP AX POP DX RET PRINT_NUM ENDP ; this procedure prints out an unsigned ; number in AX (not just a single digit) ; allowed values are from 0 to 65535 (FFFF) PRINT_NUM_UNS PROC NEAR PUSH AX PUSH BX PUSH CX PUSH DX ; flag to prevent printing zeros before number: MOV CX, 1 ; (result of "/ 10000" is always less or equal to 9). MOV BX, 10000 ; 2710h - divider. ; AX is zero? CMP AX, 0 JZ print_zero begin_print: ; check divider (if zero go to end_print): CMP BX,0 JZ end_print ; avoid printing zeros before number: CMP CX, 0 JE calc ; if AX<BX then result of DIV will be zero: CMP AX, BX JB skip calc: MOV CX, 0 ; set flag. MOV DX, 0 DIV BX ; AX = DX:AX / BX (DX=remainder). ; print last digit ; AH is always ZERO, so it's ignored ADD AL, 30h ; convert to ASCII code. PUTC AL MOV AX, DX ; get remainder from last div. skip: ; calculate BX=BX/10 PUSH AX MOV DX, 0 MOV AX, BX DIV CS:ten ; AX = DX:AX / 10 (DX=remainder). MOV BX, AX POP AX JMP begin_print print_zero: PUTC '0' end_print: POP DX POP CX POP BX POP AX RET PRINT_NUM_UNS ENDP ten DW 10 ; used as multiplier/divider by SCAN_NUM & PRINT_NUM_UNS.
19.287834
89
0.479538
da0b1f7fcc4f53d224b4ced13fc446c22649c5c2
15,923
asm
Assembly
maps/GoldenrodPokecenter1F.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
maps/GoldenrodPokecenter1F.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
maps/GoldenrodPokecenter1F.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
object_const_def ; object_event constants const GOLDENRODPOKECENTER1F_NURSE const GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST const GOLDENRODPOKECENTER1F_GAMEBOY_KID const GOLDENRODPOKECENTER1F_LASS const GOLDENRODPOKECENTER1F_POKEFAN_F GoldenrodPokecenter1F_MapScripts: db 0 ; scene scripts db 0 ; callbacks GoldenrodPokecenter1FNurseScript: jumpstd pokecenternurse GoldenrodPokecenter1F_GSBallSceneLeft: setval BATTLETOWERACTION_CHECKMOBILEEVENT special BattleTowerAction ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball end .gsball checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER iftrue .cancel playsound SFX_EXIT_BUILDING moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7 disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST playmusic MUSIC_SHOW_ME_AROUND applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtLeftDoorwayTileMovement turnobject PLAYER, UP opentext writetext GoldenrodPokeCenter1FLinkReceptionistPleaseAcceptGSBallText waitbutton verbosegiveitem GS_BALL setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT writetext GoldenrodPokeCenter1FLinkReceptionistPleaseDoComeAgainText waitbutton closetext applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromLeftDoorwayTileMovement special RestartMapMusic disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST playsound SFX_EXIT_BUILDING .cancel end GoldenrodPokecenter1F_GSBallSceneRight: setval BATTLETOWERACTION_CHECKMOBILEEVENT special BattleTowerAction ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball end .gsball checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER iftrue .cancel playsound SFX_EXIT_BUILDING moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7 disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST playmusic MUSIC_SHOW_ME_AROUND applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtRightDoorwayTileMovement turnobject PLAYER, UP opentext writetext GoldenrodPokeCenter1FLinkReceptionistPleaseAcceptGSBallText waitbutton verbosegiveitem GS_BALL setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT writetext GoldenrodPokeCenter1FLinkReceptionistPleaseDoComeAgainText waitbutton closetext applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromRightDoorwayTileMovement special RestartMapMusic disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST playsound SFX_EXIT_BUILDING .cancel end GoldenrodPokecenter1FGameboyKidScript: jumptextfaceplayer GoldenrodPokecenter1FGameboyKidText GoldenrodPokecenter1FLassScript: jumptextfaceplayer GoldenrodPokecenter1FLassText GoldenrodPokecenter1FPokefanF: faceplayer opentext writetext GoldenrodPokecenter1FPokefanFDoYouHaveEonMailText waitbutton writetext GoldenrodPokecenter1FAskGiveAwayAnEonMailText yesorno iffalse .NoEonMail takeitem EON_MAIL iffalse .NoEonMail writetext GoldenrodPokecenter1FPlayerGaveAwayTheEonMailText waitbutton writetext GoldenrodPokecenter1FPokefanFThisIsForYouText waitbutton verbosegiveitem REVIVE iffalse .NoRoom writetext GoldenrodPokecenter1FPokefanFDaughterWillBeDelightedText waitbutton closetext end .NoEonMail: writetext GoldenrodPokecenter1FPokefanFTooBadText waitbutton closetext end .NoRoom: giveitem EON_MAIL writetext GoldenrodPokecenter1FPokefanFAnotherTimeThenText waitbutton closetext end GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtLeftDoorwayTileMovement: step UP step RIGHT step RIGHT step RIGHT turn_head DOWN step_end GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromLeftDoorwayTileMovement: step LEFT step LEFT step LEFT step DOWN step_end GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtRightDoorwayTileMovement: step UP step RIGHT step RIGHT step RIGHT step RIGHT turn_head DOWN step_end GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromRightDoorwayTileMovement: step LEFT step LEFT step LEFT step LEFT step DOWN step_end ; unused UnknownText_0x61072: text "Hello! Welcome to" line "#COM CENTER" cont "TRADE CORNER." para "You can trade" line "#MON with other" cont "people far away." done UnknownText_0x610ce: text "To make a trade," line "we must hold your" cont "#MON." para "Would you like to" line "trade?" done UnknownText_0x61111: text "What kind of" line "#MON do you" cont "want in return?" done UnknownText_0x6113b: text "Fine. We will try" line "to trade your" para "@" text_ram wStringBuffer3 text " for" line "@" text_ram wStringBuffer4 text "." para "We'll have to hold" line "your #MON" cont "during the trade." para "Please wait while" line "we prepare the" cont "room for it." done UnknownText_0x611c9: text "Fine. We will try" line "to trade your" para "@" text_ram wStringBuffer3 text " for a" line "#MON that you" cont "have never seen." para "We'll have to hold" line "your #MON" cont "during the trade." para "Please wait while" line "we prepare the" cont "room for it." done UnknownText_0x61271: text "Your trade #MON" line "has been received." para "It will take time" line "to find a trade" para "partner. Please" line "come back later." done UnknownText_0x612d8: text "Oh? You have only" line "one #MON in" cont "your party. " para "Please come back" line "once you've in-" cont "creased the size" cont "of your party." done UnknownText_0x61344: text "We hope to see you" line "again." done UnknownText_0x6135f: text "Communication" line "error…" done UnknownText_0x61375: text "If we accept that" line "#MON, what will" cont "you battle with?" done UnknownText_0x613a9: text "Sorry. We can't" line "accept an EGG." done UnknownText_0x613c8: text "Sorry, but your" line "#MON appears to" para "be abnormal. We" line "can't accept it." done UnknownText_0x61409: text "Oh? Aren't we" line "already holding a" cont "#MON of yours?" done UnknownText_0x61438: text "We'll check the" line "rooms." para "Please wait." done UnknownText_0x6145c: text "Thank you for your" line "patience." para "A trade partner" line "has been found." done UnknownText_0x6149a: text "It's your new" line "partner." para "Please take care" line "of it with love." para "We hope to see you" line "again." done UnknownText_0x614ed: text "Uh-oh. Your party" line "is already full." para "Please come back" line "when you have room" cont "in your party." done UnknownText_0x61544: text "It's unfortunate," line "but no one has" para "come forward as a" line "trade partner." para "Would you like" line "your #MON back?" done UnknownText_0x615a5: text "We have returned" line "your #MON." done UnknownText_0x615c2: text "It's unfortunate," line "but no one has" para "come forward as a" line "trade partner." para "We've held your" line "#MON for a long" para "time. As a result," line "it is very lonely." para "Sorry, but we must" line "return it to you." done UnknownText_0x6166e: text "We hope to see you" line "again." done UnknownText_0x61689: text "Fine. We will" line "continue to hold" cont "your #MON." done UnknownText_0x616b4: text "Oh? You left your" line "#MON with us" cont "only recently." para "Please come back" line "later." done UnknownText_0x616fb: text "We'll SAVE before" line "connecting to the" cont "CENTER." done UnknownText_0x61727: text "Which #MON do" line "you want to trade?" done UnknownText_0x61749: text "Sorry, but we must" line "cancel the trade." done UnknownText_0x6176f: text "Oh!" para "I see you have an" line "EGG TICKET!" para "It's a coupon that" line "special people can" para "redeem for a" line "special #MON!" done UnknownText_0x617d2: text "Let me give you a" line "quick briefing." para "Trades held at the" line "TRADE CORNER are" para "between two" line "trainers who don't" para "know each other's" line "identity." para "As a result, it" line "may take time." para "However, an ODD" line "EGG is available" cont "just for you." para "It will be sent to" line "you right away." para "Please choose one" line "of the rooms in" para "the CENTER." line "An ODD EGG will be" para "sent from the" line "chosen room." done UnknownText_0x6191f: text "Please wait a" line "moment." done UnknownText_0x61936: text "Thank you for" line "waiting." para "We received your" line "ODD EGG." para "Here it is!" para "Please raise it" line "with loving care." done UnknownText_0x61996: text "I'm awfully sorry." para "The EGG TICKET" line "exchange service" cont "isn't running now." done UnknownText_0x619db: text "It's a #MON" line "NEWS MACHINE." done UnknownText_0x619f5: text "What would you" line "like to do?" done UnknownText_0x61a11: text "#MON NEWS is" line "news compiled from" para "the SAVE files of" line "#MON trainers." para "When reading the" line "NEWS, your SAVE" para "file may be sent" line "out." para "The SAVE file data" line "will contain your" para "adventure log and" line "mobile profile." para "Your phone number" line "will not be sent." para "The contents of" line "the NEWS will vary" para "depending on the" line "SAVE files sent by" para "you and the other" line "#MON trainers." para "You might even be" line "in the NEWS!" done UnknownText_0x61b7c: text "Would you like to" line "get the NEWS?" done UnknownText_0x61b9d: text "Reading the latest" line "NEWS… Please wait." done UnknownText_0x61bc4: text "There is no old" line "NEWS…" done UnknownText_0x61bdb: text "The NEWS data is" line "corrupted." para "Please download" line "the NEWS again." done UnknownText_0x61c18: text "We're making" line "preparations." para "Please come back" line "later." done UnknownText_0x61c4b: text "We will SAVE your" line "progress before" para "starting the NEWS" line "MACHINE." done UnknownText_0x61c89: text "Whoa, this #MON" line "CENTER is huge." para "They just built" line "this place. They" para "installed lots of" line "new machines too." done UnknownText_0x61cef: text "I thought up a fun" line "new thing for the" cont "TRADE CORNER!" para "I make a PIDGEY" line "hold MAIL, then" para "put it up for" line "trade for another" cont "one!" para "If everyone did" line "that, MAIL could" para "be traded with all" line "sorts of people!" para "I call it PIDGEY" line "MAIL!" para "If it becomes" line "popular, I might" para "make lots of new" line "friends!" done UnknownText_0x61dfd: text "They said you can" line "trade #MON with" para "total strangers up" line "here." para "But they're still" line "adjusting things." done UnknownText_0x61e5c: text "Some girl I don't" line "know sent me her" para "HOPPIP." line "You should trade" para "for a #MON that" line "you want." done UnknownText_0x61eb2: text "I received a" line "female HOPPIP, but" cont "its named STANLEY!" para "That's my dad's" line "name!" done UnknownText_0x61efa: text "What is the NEWS" line "MACHINE?" para "Does it get news" line "from a wider area" cont "than the radio?" done UnknownText_0x61f48: text "The #COM CENTER" line "will link with all" para "#MON CENTERS in" line "a wireless net." para "That must mean" line "I'll be able to" para "link with all" line "sorts of people." done UnknownText_0x61fc9: text "The machines here" line "can't be used yet." para "Still, it's nice" line "coming to a trendy" para "place before other" line "people." done UnknownText_0x6202c: text "My friend was in" line "the NEWS a while" para "back. I was really" line "surprised!" done UnknownText_0x6206d: text "I get anxious if I" line "don't check out" cont "the latest NEWS!" done UnknownText_0x620a1: text "If I get in the" line "NEWS and become" para "famous, I bet I'll" line "be adored." para "I wonder how I" line "could get in the" cont "NEWS?" done GoldenrodPokecenter1FGameboyKidText: text "The COLOSSEUM" line "upstairs is for" cont "link battles." para "Battle records are" line "posted on the" para "wall, so I can't" line "afford to lose." done UnknownText_0x62173: text "I came over here" line "when I got word" para "that GOLDENROD's" line "#MON CENTER has" para "new machines that" line "no one's ever seen" cont "before." para "But it looks like" line "they're still busy" para "with all their" line "preparations…" done UnknownText_0x62222: text "Just seeing all" line "these new things" para "here makes me feel" line "younger!" done GoldenrodPokecenter1FLassText: text "A higher level" line "#MON doesn't" cont "always win." para "After all, it may" line "have a type dis-" cont "advantage." para "I don't think" line "there is a single" para "#MON that is" line "the toughest." done GoldenrodPokeCenter1FLinkReceptionistPleaseAcceptGSBallText: text "<PLAYER>, isn't it?" para "Congratulations!" para "As a special deal," line "a GS BALL has been" cont "sent just for you!" para "Please accept it!" done GoldenrodPokeCenter1FLinkReceptionistPleaseDoComeAgainText: text "Please do come" line "again!" done UnknownText_0x62370: text "#COM CENTER" line "1F INFORMATION" para "Left:" line "ADMINISTRATION" para "Center:" line "TRADE CORNER" para "Right:" line "#MON NEWS" done UnknownText_0x623c7: text "It's a #MON" line "NEWS MACHINE!" para "It's not in" line "operation yet…" done GoldenrodPokecenter1FPokefanFDoYouHaveEonMailText: text "Oh my, your pack" line "looks so heavy!" para "Oh! Do you happen" line "to have something" cont "named EON MAIL?" para "My daughter is" line "after one." para "You can part with" line "one, can't you?" done GoldenrodPokecenter1FAskGiveAwayAnEonMailText: text "Give away an EON" line "MAIL?" done GoldenrodPokecenter1FPokefanFThisIsForYouText: text "Oh, that's great!" line "Thank you, honey!" para "Here, this is for" line "you in return!" done GoldenrodPokecenter1FPokefanFDaughterWillBeDelightedText: text "My daughter will" line "be delighted!" done GoldenrodPokecenter1FPokefanFTooBadText: text "Oh? You don't have" line "one? Too bad." done GoldenrodPokecenter1FPokefanFAnotherTimeThenText: text "Oh… Well, another" line "time, then." done GoldenrodPokecenter1FPlayerGaveAwayTheEonMailText: text "<PLAYER> gave away" line "the EON MAIL." done GoldenrodPokecenter1F_MapEvents: db 0, 0 ; filler db 4 ; warp events warp_event 3, 7, GOLDENROD_CITY, 15 warp_event 4, 7, GOLDENROD_CITY, 15 warp_event 0, 6, POKECOM_CENTER_ADMIN_OFFICE_MOBILE, 1 warp_event 0, 7, POKECENTER_2F, 1 db 2 ; coord events coord_event 3, 7, SCENE_DEFAULT, GoldenrodPokecenter1F_GSBallSceneLeft coord_event 4, 7, SCENE_DEFAULT, GoldenrodPokecenter1F_GSBallSceneRight db 0 ; bg events db 5 ; object events object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FNurseScript, -1 object_event 16, 8, SPRITE_LINK_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1 object_event 6, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FGameboyKidScript, -1 object_event 1, 4, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FLassScript, -1 object_event 7, 5, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FPokefanF, -1
19.27724
164
0.760033
b95110cde3368dccc36f08be3d560baef687f214
1,565
asm
Assembly
programs/oeis/182/A182890.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/182/A182890.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/182/A182890.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A182890: Number of (1,0)-steps of weight 1 at level 0 in all weighted lattice paths in L_n. ; 0,1,2,5,14,36,94,247,646,1691,4428,11592,30348,79453,208010,544577,1425722,3732588,9772042,25583539,66978574,175352183,459077976,1201881744,3146567256,8237820025,21566892818,56462858429,147821682470,387002188980,1013184884470 mov $18,$0 mov $20,$0 lpb $20 clr $0,18 mov $0,$18 sub $20,1 sub $0,$20 mov $15,$0 mov $17,$0 lpb $17 mov $0,$15 sub $17,1 sub $0,$17 mov $11,$0 mov $13,2 lpb $13 mov $0,$11 sub $13,1 add $0,$13 sub $0,1 mov $7,$0 mov $9,2 lpb $9 mov $0,$7 sub $9,1 add $0,$9 sub $0,1 mov $3,$0 mov $5,2 lpb $5 mov $0,$3 sub $5,1 add $0,$5 mov $1,0 mov $2,1 lpb $0 sub $0,1 add $2,$1 add $1,$2 add $2,1 lpe div $1,2 mov $6,$5 lpb $6 mov $4,$1 sub $6,1 lpe lpe lpb $3 mov $3,0 sub $4,$1 lpe mov $1,$4 mov $10,$9 lpb $10 mov $8,$1 sub $10,1 lpe lpe lpb $7 mov $7,0 sub $8,$1 lpe mov $1,$8 mov $14,$13 lpb $14 mov $12,$1 sub $14,1 lpe lpe lpb $11 mov $11,0 sub $12,$1 lpe mov $1,$12 div $1,2 add $16,$1 lpe add $19,$16 lpe mov $1,$19
18.411765
227
0.426837
0c9f6beb35100694477b77455eee099c076a6a60
400
asm
Assembly
libsrc/_DEVELOPMENT/string/c/sccz80/strcat.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/string/c/sccz80/strcat.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/string/c/sccz80/strcat.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; char *strcat(char * restrict s1, const char * restrict s2) SECTION code_clib SECTION code_string PUBLIC strcat EXTERN asm_strcat strcat: pop bc pop hl pop de push de push hl push bc IF __CLASSIC && __CPU_GBZ80__ call asm_strcat ld d,h ld e,l ret ELSE jp asm_strcat ENDIF ; SDCC bridge for Classic IF __CLASSIC PUBLIC _strcat defc _strcat = strcat ENDIF
11.428571
60
0.7
4923b188f8e4fae1dc6a606e8b0a57172e647b48
6,729
asm
Assembly
Library/Kernel/Local/cmapFrench.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/Kernel/Local/cmapFrench.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/Kernel/Local/cmapFrench.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Local/CharModule FILE: cmapFrench.def AUTHOR: Gene Anderson, Aug 22, 1989 REVISION HISTORY: Name Date Description ---- ---- ----------- eca 8/22/89 Initial revision DESCRIPTION: Contains character map for IBM French Canadian --> PC/GEOS $Id: cmapFrench.asm,v 1.1 97/04/05 01:17:06 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ FrenchMap segment resource codePageFrenchCanadian Chars \ C_UC_CEDILLA, ;0x80 C_LU_DIERESIS, ;0x81 C_LE_ACUTE, ;0x82 C_LA_CIRCUMFLEX, ;0x83 C_UA_CIRCUMFLEX, ;0x84 C_LA_GRAVE, ;0x85 C_PARAGRAPH, ;0x86 C_LC_CEDILLA, ;0x87 C_LE_CIRCUMFLEX, ;0x88 C_LE_DIERESIS, ;0x89 C_LE_GRAVE, ;0x8a C_LI_DIERESIS, ;0x8b C_LI_CIRCUMFLEX, ;0x8c C_EQUAL, ;0x8d C_UA_GRAVE, ;0x8e C_SECTION, ;0x8f C_UE_ACUTE, ;0x90 C_UE_GRAVE, ;0x91 C_UE_CIRCUMFLEX, ;0x92 C_LO_CIRCUMFLEX, ;0x93 C_UE_DIERESIS, ;0x94 C_UI_DIERESIS, ;0x95 C_LU_CIRCUMFLEX, ;0x96 C_LU_GRAVE, ;0x97 C_CURRENCY, ;0x98 C_UO_CIRCUMFLEX, ;0x99 C_UU_DIERESIS, ;0x9a C_CENT, ;0x9b C_STERLING, ;0x9c C_UU_GRAVE, ;0x9d C_UU_CIRCUMFLEX, ;0x9e C_FLORIN, ;0x9f C_VERTICAL_BAR, ;0xa0 C_ACUTE, ;0xa1 C_LO_ACUTE, ;0xa2 C_LU_ACUTE, ;0xa3 C_DIERESIS, ;0xa4 C_CEDILLA, ;0xa5 0, ;0xa6 C_MACRON, ;0xa7 C_UI_CIRCUMFLEX, ;0xa8 0, ;0xa9 0, ;0xaa 0, ;0xab 0, ;0xac 0, ;0xad C_GUILLEDBLLEFT, ;0xae C_GUILLEDBLRIGHT, ;0xaf 0, ;0xb0 start of graphics chars 0, ;0xb1 0, ;0xb2 0, ;0xb3 0, ;0xb4 0, ;0xb5 0, ;0xb6 0, ;0xb7 0, ;0xb8 0, ;0xb9 0, ;0xba 0, ;0xbb 0, ;0xbc 0, ;0xbd 0, ;0xbe 0, ;0xbf 0, ;0xc0 0, ;0xc1 0, ;0xc2 0, ;0xc3 0, ;0xc4 0, ;0xc5 0, ;0xc6 0, ;0xc7 0, ;0xc8 0, ;0xc9 0, ;0xca 0, ;0xcb 0, ;0xcc 0, ;0xcd 0, ;0xce 0, ;0xcf 0, ;0xd0 0, ;0xd1 0, ;0xd2 0, ;0xd3 0, ;0xd4 0, ;0xd5 0, ;0xd6 0, ;0xd7 0, ;0xd8 0, ;0xd9 0, ;0xda 0, ;0xdb 0, ;0xdc 0, ;0xdd 0, ;0xde 0, ;0xdf 0, ;0xe0 C_GERMANDBLS, ;0xe1 0, ;0xe2 C_L_PI, ;0xe3 C_U_SIGMA, ;0xe4 0, ;0xe5 C_L_MU, ;0xe6 0, ;0xe7 0, ;0xe8 0, ;0xe9 C_U_OMEGA, ;0xea C_L_DELTA, ;0xeb C_INFINITY, ;0xec 0, ;0xed 0, ;0xee 0, ;0xef 0, ;0xf0 C_PLUSMINUS, ;0xf1 C_GREATEREQUAL, ;0xf2 C_LESSEQUAL, ;0xf3 0, ;0xf4 C_INTEGRAL, ;0xf5 C_DIVISION, ;0xf6 C_APPROX_EQUAL, ;0xf7 C_DEGREE, ;0xf8 C_BULLET, ;0xf9 C_CNTR_DOT, ;0xfa C_ROOT, ;0xfb 0, ;0xfc 0, ;0xfd 0, ;0xfe 0 ;0xff toFrenchCodePage Char \ 'A', ; C_UA_DIERESIS, 0x80 'A', ; C_UA_RING, 0x81 0x80, ; C_UC_CEDILLA, 0x82 0x90, ; C_UE_ACUTE, 0x83 'N', ; C_UN_TILDE, 0x84 '0', ; C_UO_DIERESIS, 0x85 0x9a, ; C_UU_DIERESIS, 0x86 'a', ; C_LA_ACUTE, 0x87 0x85, ; C_LA_GRAVE, 0x88 0x83, ; C_LA_CIRCUMFLEX, 0x89 'a', ; C_LA_DIERESIS 0x8a 'a', ; C_LA_TILDE, 0x8b 'a', ; C_LA_RING, 0x8c 0x87, ; C_LC_CEDILLA, 0x8d 0x82, ; C_LE_ACUTE, 0x8e 0x8a, ; C_LE_GRAVE, 0x8f 0x88, ; C_LE_CIRCUMFLEX, 0x90 0x89, ; C_LE_DIERESIS, 0x91 'i', ; C_LI_ACUTE, 0x92 'i', ; C_LI_GRAVE, 0x93 0x8c, ; C_LI_CIRCUMFLEX, 0x94 0x8b, ; C_LI_DIERESIS, 0x95 'n', ; C_LN_TILDE, 0x96 0xa2, ; C_LO_ACUTE, 0x97 'o', ; C_LO_GRAVE, 0x98 0x93, ; C_LO_CIRCUMFLEX, 0x99 'o', ; C_LO_DIERESIS 0x9a 'o', ; C_LO_TILDE, 0x9b 0xa3, ; C_LU_ACUTE, 0x9c 0x97, ; C_LU_GRAVE, 0x9d 0x96, ; C_LU_CIRCUMFLEX, 0x9e 0x81, ; C_LU_DIERESIS, 0x9f 0, ; C_DAGGER 0xa0 0xf8, ; C_DEGREE, 0xa1 0x9b, ; C_CENT, 0xa2 0x9c, ; C_STERLING, 0xa3 0x8f, ; C_SECTION, 0xa4 0xf9, ; C_BULLET, 0xa5 0x86, ; C_PARAGRAPH, 0xa6 0xe1, ; C_GERMANDBLS, 0xa7 0, ; C_REGISTERED, 0xa8 'c', ; C_COPYRIGHT, 0xa9 0, ; C_TRADEMARK, 0xaa 0xa1, ; C_ACUTE, 0xab 0xa4, ; C_DIERESIS, 0xac 0, ; C_NOTEQUAL, 0xad 'A', ; C_U_AE, 0xae 'O', ; C_UO_SLASH, 0xaf 0xec, ; C_INFINITY, 0xb0 0xf1, ; C_PLUSMINUS, 0xb1 0xf3, ; C_LESSEQUAL, 0xb2 0xf2, ; C_GREATEREQUAL, 0xb3 0, ; C_YEN, 0xb4 0xe6, ; C_L_MU, 0xb5 0xeb, ; C_L_DELTA, 0xb6 0xe4, ; C_U_SIGMA, 0xb7 0, ; C_U_PI, 0xb8 0xe3, ; C_L_PI, 0xb9 0xf5, ; C_INTEGRAL 0xba 0, ; C_ORDFEMININE, 0xbb 0, ; C_ORDMASCULINE, 0xbc 0xea, ; C_U_OMEGA, 0xbd 'a', ; C_L_AE, 0xbe 'o', ; C_LO_SLASH, 0xbf 0, ; C_QUESTIONDOWN, 0xc0 0, ; C_EXCLAMDOWN, 0xc1 0, ; C_LOGICAL_NOT, 0xc2 0xfb, ; C_ROOT, 0xc3 0x9f, ; C_FLORIN, 0xc4 0xf7, ; C_APPROX_EQUAL, 0xc5 0, ; C_U_DELTA, 0xc6 0xae, ; C_GUILLEDBLLEFT, 0xc7 0xaf, ; C_GUILLEDBLRIGHT, 0xc8 0, ; C_ELLIPSIS, 0xc9 ' ', ; C_NONBRKSPACE 0xca 0x8e, ; C_UA_GRAVE, 0xcb 'A', ; C_UA_TILDE, 0xcc 'O', ; C_UO_TILDE, 0xcd 'O', ; C_U_OE, 0xce 'o', ; C_L_OE, 0xcf '-', ; C_ENDASH, 0xd0 '-', ; C_EMDASH, 0xd1 '"', ; C_QUOTEDBLLEFT, 0xd2 '"', ; C_QUOTEDBLRIGHT, 0xd3 '''', ; C_QUOTESNGLEFT, 0xd4 '''', ; C_QUOTESNGRIGHT, 0xd5 0xf6, ; C_DIVISION, 0xd6 0, ; C_DIAMONDBULLET, 0xd7 'y', ; C_LY_DIERESIS, 0xd8 'Y', ; C_UY_DIERESIS, 0xd9 0, ; C_FRACTION 0xda 0x98, ; C_CURRENCY, 0xdb 0, ; C_GUILSNGLEFT, 0xdc 0, ; C_GUILSNGRIGHT, 0xdd 'y', ; C_LY_ACUTE, 0xde 'Y', ; C_UY_ACUTE, 0xdf 0, ; C_DBLDAGGER, 0xe0 0xfa, ; C_CNTR_DOT, 0xe1 0, ; C_SNGQUOTELOW, 0xe2 0, ; C_DBLQUOTELOW, 0xe3 0, ; C_PERTHOUSAND, 0xe4 0x84, ; C_UA_CIRCUMFLEX, 0xe5 0x92, ; C_UE_CIRCUMFLEX, 0xe6 'A', ; C_UA_ACUTE, 0xe7 0x94, ; C_UE_DIERESIS, 0xe8 0x91, ; C_UE_GRAVE, 0xe9 'I', ; C_UI_ACUTE 0xea 0xa8, ; C_UI_CIRCUMFLEX, 0xeb 0x95, ; C_UI_DIERESIS, 0xec 'I', ; C_UI_GRAVE, 0xed 'O', ; C_UO_ACUTE, 0xee 0x99, ; C_UO_CIRCUMFLEX, 0xef 0, ; C_LOGO, 0xf0 'O', ; C_UO_GRAVE, 0xf1 'U', ; C_UU_ACUTE, 0xf2 0x9e, ; C_UU_CIRCUMFLEX, 0xf3 0x9d, ; C_UU_GRAVE, 0xf4 'i', ; C_LI_DOTLESS, 0xf5 '^', ; C_CIRCUMFLEX, 0xf6 '~', ; C_TILDE, 0xf7 0xa7, ; C_MACRON, 0xf8 0, ; C_BREVE, 0xf9 0, ; C_DOTACCENT 0xfa 0, ; C_RING, 0xfb 0xa5, ; C_CEDILLA, 0xfc 0, ; C_HUNGARUMLAT, 0xfd 0, ; C_OGONEK, 0xfe 0 ; C_CARON, 0xff ForceRef codePageFrenchCanadian ForceRef toFrenchCodePage FrenchMap ends
23.203448
79
0.572745
7587cde6a9fab8119e5ba6fc113c72fa188fd2e2
260
asm
Assembly
libsrc/stdio_new/file/vsscanf.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
8
2017-01-18T12:02:17.000Z
2021-06-12T09:40:28.000Z
libsrc/stdio_new/file/vsscanf.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
1
2017-03-06T07:41:56.000Z
2017-03-06T07:41:56.000Z
libsrc/stdio_new/file/vsscanf.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
3
2017-03-07T03:19:40.000Z
2021-09-15T17:59:19.000Z
; wrapper for function pointers PUBLIC vsscanf EXTERN vsscanf_callee EXTERN ASMDISP_VSSCANF_CALLEE .vsscanf pop hl pop bc pop de exx pop hl push hl exx push de push bc push hl jp vsscanf_callee + ASMDISP_VSSCANF_CALLEE
11.818182
45
0.7
2d1c5c4c698c7f3d3284308d4d6e89e910d9dc89
713
asm
Assembly
variables.asm
mkiesinski/the-way-nes
59df7a4b09f76eedcac50bd0121899f01387e9dc
[ "MIT" ]
2
2018-02-10T19:47:03.000Z
2018-09-05T18:07:25.000Z
variables.asm
mkiesinski/no-mans-byte-nes
59df7a4b09f76eedcac50bd0121899f01387e9dc
[ "MIT" ]
null
null
null
variables.asm
mkiesinski/no-mans-byte-nes
59df7a4b09f76eedcac50bd0121899f01387e9dc
[ "MIT" ]
null
null
null
spriteTileFirst .rs 1 spriteTileSecnd .rs 1 spriteY .rs 1 spriteDirection .rs 1 spriteAttributes .rs 1 spriteX .rs 1 rowsToDraw .rs 1 maxFrame .rs 1 gamestate .rs 1 palleteID .rs 1 source .rs 2 sourceBank .rs 1 playerInput .rs 1 frame .rs 1 ;; player playerDirection .rs 1 playerAttributes .rs 1 playerPosX .rs 1 playerPosY .rs 1 playerFrameControl .rs 1 playerFrame .rs 1 ;; map rendering background_row .rs $20 data_x .rs 1 data_y .rs 1 mapPointer .rs 2 metaTilesetPointer .rs 2 metaTilePointer .rs 2 repeatMetaTile .rs 1 ;; enemies enemyPointer .rs 2 enemies .rs $30 ;; space for 6 enemies, each takes up 8 bytes enemiesOffset .rs 1
19.27027
68
0.684432
8558299c1b59a10f05d4d7a63b0451e3e9e6b76a
143,954
asm
Assembly
Library/SpecUI/CommonUI/CWin/cwinClassCommonLow.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/SpecUI/CommonUI/CWin/cwinClassCommonLow.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/SpecUI/CommonUI/CWin/cwinClassCommonLow.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1994 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: CommonUI/CWin (common code for several specific ui's) FILE: cwinClassCommonLow.asm ROUTINES: Name Description ---- ----------- INT OpenWinCreateTabbedWindowRegion Create a tabbed window region INT OpenWinCreateWindowRegion Create a window region INT BubbleGetOriginalBounds Returns the bounds of the bubble without considering the spout. INT BubbleForceRecalcSizeIfNeeded Determines if the window's geometry needs to be recalculcated because of the spout. It really attempts to not do recalculations more than needed. If there is a spout, this routine guarentees that the left edge of the window is equal to the spoutOriginX. INT OpenWinCreateWindowRegion Determines if the window's geometry needs to be recalculcated because of the spout. It really attempts to not do recalculations more than needed. If there is a spout, this routine guarentees that the left edge of the window is equal to the spoutOriginX. INT OpenWinCreateWindowRegion Determines if the window's geometry needs to be recalculcated because of the spout. It really attempts to not do recalculations more than needed. If there is a spout, this routine guarentees that the left edge of the window is equal to the spoutOriginX. INT CalcCurvePoints Calculate a set if points to create a simple curve. INT GetWinColor Fetches color info for call to WinOpen INT GetCoreWinOpenParams Fetches core info needed for WinOpen INT OpenWinModifyWithNearestWinGroupPriority Raise the layer and window priority of the new window to be at least as high as the nearest win group up the generic tree. INT GetScreenWin Returns Screen Window in di INT OpenWinGetState This procedure checks if there is saved state information for this window. INT ConvertPixelBoundsToSpecWinSizePairs Convert this windowed object's bounds into ratio values. This is done before the data is saved. MTD MSG_META_UPDATE_WINDOW *ds:si - instance data es - segment of OLWinClass ax - MSG_META_UPDATE_WINDOW cx - UpdateWindowFlags dl - VisUpdateMode INT OpenWinAttaching *ds:si - instance data es - segment of OLWinClass ax - MSG_META_UPDATE_WINDOW cx - UpdateWindowFlags dl - VisUpdateMode MTD MSG_GEN_BRING_TO_TOP This function brings the window to the top of its window priority group, & and if using a point & click kbd focus model, & the window is capable of being the focus window, then sends in a request to the application object to make this happen. If the application is active, the request will be obliged, & this window will receive a MSG_META_GAINED_FOCUS_EXCL. If the app isn't active, this window will still be remembered, so that it will be given kbd focus, if there is a choice when the app is active again. MTD MSG_VIS_MOVE_RESIZE_WIN Intercepts the method which does final positioning & resizing of a window, in order to handle final positioning requests, amd to make sure that the window is not lost off-screen, or even too close to the edge of the screen. MTD MSG_OL_WIN_SHOULD_TITLE_BUTTON_HAVE_ROUNDED_CORNER Check if a given title button should have a round corner in this particular window. Assumes that the button is in the title bar. INT OpenWinShouldHaveRoundBorderFar Checks appropriate instance data flags and returns if this window should have round thick windows. (Basically just calls OpenWinShouldHaveRoundBorder.) INT OpenWinShouldHaveRoundBorder Checks appropriate instance data flags and returns if this window should have round thick windows. INT OpenWinCheckVisibleConstraints This procedure ensure's that a window's visiblility constraints are met as it is opened or moved on the screen. INT OpenWinCheckMenuWinVisibilityConstraints This procedure is called after we have adjusted a menu window so that it is on-screen. If the menu is now obscuring the menu button which opens it, we will push the menu above the menu button. INT TryAgainInOtherDirection This procedure is called after we have adjusted a menu window so that it is on-screen. If the menu is now obscuring the menu button which opens it, we will push the menu above the menu button. INT KeepMenuOnscreen This procedure is called after we have adjusted a menu window so that it is on-screen. If the menu is now obscuring the menu button which opens it, we will push the menu above the menu button. MTD MSG_OL_WIN_GET_HEADER_TITLE_BOUNDS Returns widths of icons left and right of title bar. MTD MSG_OL_WIN_GET_TITLE_BAR_HEIGHT Returns height of title bar INT OpenWinGetHeaderBoundsFar Returns height of title bar INT OpenWinDrawMoniker Draws complete moniker, including long term moniker, unless we're running in GCM mode. INT OpenWinGCMSetTitleFontSize (Great documentation, EDS) That's why we don't let him code any more... INT OpenWinGCMResetTitleFontSize (Great documentation, EDS) That's why we don't let him code any more... INT OpenWinFlushMonikerSize (Great documentation, EDS) That's why we don't let him code any more... INT OpenWinUpdateWindowMenuItems This OpenLook specific procedure enables/disables the appropriate menu items in the WindowMenu (popup menu) for this window. INT OpenWinEnableOrDisableWindowMenuItem This OpenLook specific procedure enables/disables the appropriate menu items in the WindowMenu (popup menu) for this window. REVISION HISTORY: Name Date Description ---- ---- ----------- dlitwin 10/10/94 Broken out of cwinClassCommon.asm DESCRIPTION: This file contains "WinCommon" procedures for OLWinClass See cwinClass.asm for class declaration and method table. $Id: cwinClassCommonLow.asm,v 1.3 98/05/04 07:22:56 joon Exp $ ------------------------------------------------------------------------------@ WinCommon segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinCreateTabbedWindowRegion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Create a tabbed window region CALLED BY: OpenWinOpenWin PASS: *ds:si = OLWinClass object RETURN: ^hbx = region (NULL if no region created) if bx != NULL region block is locked dx:ax = address of region DESTROYED: cx SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Joon 9/27/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if DIALOGS_WITH_FOLDER_TABS ;---------------------------------------------- MAX_REGION_SIZE equ (NUMBER_OF_TABS+1) * 2 * 40 * (size word) OpenWinCreateTabbedWindowRegion proc near titleY local word tabSize local NUMBER_OF_TABS dup (word) bounds local Rectangle uses si, di, es .enter clr bx ; assume no region mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP LONG jz done push bx mov ax, HINT_INTERACTION_FOLDER_TAB_DIALOG call ObjVarFindData pop bx LONG jnc done andnf ds:[di].OLWI_attrs, not mask OWA_MOVABLE ; not movable mov ax, ds:[di].OLWI_titleBarBounds.R_bottom sub ax, ds:[di].OLWI_titleBarBounds.R_top sub ax, 2 mov ss:[titleY], ax clr di call GrCreateState clr cx call getChildMonikerWidth mov tabSize[0], cx mov cx, 1 call getChildMonikerWidth mov tabSize[2], cx mov cx, 2 call getChildMonikerWidth mov tabSize[4], cx call GrDestroyState mov ax, TEMP_OL_WIN_TAB_INFO call ObjVarFindData jc doneVardata ; if we already have tab info, ; don't change it mov ax, TEMP_OL_WIN_TAB_INFO mov cx, size OLWinFolderTabStruct call ObjVarAddData mov ds:[bx].OLWFTS_tabPosition[0], 0 mov ds:[bx].OLWFTS_tabPosition[2], 1 mov ds:[bx].OLWFTS_tabPosition[4], 2 push di segmov es, ds lea di, ds:[bx].OLWFTS_tabs mov cx, (size OLWFTS_tabs) / 2 clr ax rep stosw pop di push si mov cx, NUMBER_OF_TABS clr si tabPositionLoop: mov dx, tabSize[si] tst dx jz popSI add ax, FIRST_TAB_OFFSET ; used as spacing between tabs shl si, 1 mov ds:[bx].OLWFTS_tabs[si].LS_start, ax add ax, titleY add ax, dx add ax, titleY dec ax mov ds:[bx].OLWFTS_tabs[si].LS_end, ax inc ax shr si, 1 add si, size word loop tabPositionLoop popSI: pop si doneVardata: push bx call VisGetBounds dec cx dec dx mov ss:[bounds].R_left, ax mov ss:[bounds].R_top, bx mov ss:[bounds].R_right, cx mov ss:[bounds].R_bottom, dx pop si ; ds:si <= vardata extra data mov ax, MAX_REGION_SIZE mov cx, (mask HAF_LOCK or mask HAF_NO_ERR) shl 8 or \ (mask HF_SWAPABLE or mask HF_SHARABLE) call MemAlloc LONG jc done ; return bx = 0 push bx mov es, ax clr di mov cx, titleY mov ax, ss:[bounds].R_top mov dx, ax dec ax stosw ; store top-1 scanline mov ax, EOREGREC stosw ; end of scanline tabScanLineLoop: mov ax, dx stosw ; store scanline clr bx tabLoop: mov ax, ds:[si].OLWFTS_tabs[bx].LS_start tst ax jz 10$ add ax, ss:[bounds].R_left add ax, cx stosw mov ax, ds:[si].OLWFTS_tabs[bx].LS_end add ax, ss:[bounds].R_left sub ax, cx stosw 10$: add bx, (size LineSegment) cmp bx, (size LineSegment) * NUMBER_OF_TABS jl tabLoop mov ax, EOREGREC stosw ; end of scanline inc dx dec cx cmp cx, (NUMBER_OF_TABS-1) * TAB_SHADOW_SIZE jg tabScanLineLoop mov cx, (NUMBER_OF_TABS-1) * TAB_SHADOW_SIZE dec dx ; dx <= previous scanline add dx, TAB_SHADOW_SIZE cardTopLoop: mov ax, dx stosw ; store scanline mov ax, ss:[bounds].R_left add ax, cx stosw mov ax, ss:[bounds].R_right stosw mov ax, EOREGREC stosw add dx, TAB_SHADOW_SIZE ; increment scanline sub cx, TAB_SHADOW_SIZE jg cardTopLoop mov dx, ss:[bounds].R_bottom sub dx, (NUMBER_OF_TABS-1) * TAB_SHADOW_SIZE cardBottomLoop: mov ax, dx stosw ; store scanline mov ax, ss:[bounds].R_left stosw mov ax, ss:[bounds].R_right sub ax, cx stosw mov ax, EOREGREC stosw add dx, TAB_SHADOW_SIZE ; increment scanline add cx, TAB_SHADOW_SIZE cmp cx, (NUMBER_OF_TABS-1) * TAB_SHADOW_SIZE jle cardBottomLoop mov ax, EOREGREC stosw mov dx, es clr ax ; dx:ax <= address of region pop bx ; bx <= handle of region done: .leave ret getChildMonikerWidth: push si, di, bp mov ax, MSG_GEN_FIND_CHILD_AT_POSITION call ObjCallInstanceNoLock jc notFound movdw bxsi, cxdx mov ax, MSG_GEN_GET_MONIKER_SIZE mov bp, di clr dx mov di, mask MF_CALL or mask MF_FIXUP_DS call ObjMessage add cx, TAB_EXTRA_SIZE notFound: pop si, di, bp retn OpenWinCreateTabbedWindowRegion endp endif ; if DIALOGS_WITH_FOLDER_TABS ----------------------------------------- COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinCreateWindowRegion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Create a Odie style bubble dialog region CALLED BY: OpenWinOpenWin PASS: *ds:si = OLWinClass object RETURN: ^hbx = region (NULL if no region created) DESTROYED: cx, dx SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Joon 5/14/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if BUBBLE_DIALOGS and (_DUI) OpenWinCreateWindowRegion proc near winCenter local Point activator local Point oldMargins local Point newMargins local Point if DIALOG_SHADOWS .assert (NUM_DIALOG_SHADOW_REGION_POINTS gt NUM_WINDOW_REGION_POINTS) polygon local NUM_DIALOG_SHADOW_REGION_POINTS dup (Point) else polygon local NUM_WINDOW_REGION_POINTS dup (Point) endif if BUBBLE_DIALOG_SHADOW winRegion local hptr shadowRegion local hptr winSize local word shadowSize local word orSize local word endif uses ax,di,bp,es .enter ; We only create bubble dialogs for dialogs. mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP LONG jz notPopup ; Setup margin info clr cx, dx mov newMargins.P_x, cx mov newMargins.P_y, dx mov ax, TEMP_OL_WIN_BUBBLE_MARGIN call ObjVarFindData jnc saveOldMargins mov cx, ds:[bx].P_x mov dx, ds:[bx].P_y saveOldMargins: mov oldMargins.P_x, cx mov oldMargins.P_y, dx ; And we need to know what activated the dialog. mov ax, HINT_INTERACTION_ACTIVATED_BY call ObjVarFindData LONG jnc noRegion ; ; See if the activator position is being overridden with the ; following hint. ; push bx mov ax, HINT_INTERACTION_ACTIVATOR_POINT call ObjVarFindData pop di jnc getBounds mov cx, ds:[bx].P_x mov dx, ds:[bx].P_y jmp gotPoint getBounds: mov bx, di ; ^lbx:si = activator push si, bp mov si, ds:[bx].chunk mov bx, ds:[bx].handle mov ax, MSG_META_GET_ACTIVATOR_BOUNDS mov di, mask MF_CALL or mask MF_FIXUP_DS call ObjMessage mov di, bp pop si, bp LONG jnc noRegion add cx, ax shr cx, 1 add dx, di shr dx, 1 gotPoint: if POSITION_BUBBLE_WRT_ACTIVATOR call PositionBubbleDialog if _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS PrintMessage <Disable _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS before shipping> ; ; convert to field coords (to deal with fake screen size and hard ; icon bars ; push ax, bx, di movdw axbx, cxdx call VisQueryParentWin ; di = window call WinUntransform movdw cxdx, axbx pop ax, bx, di endif ;_NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS endif ;POSITION_BUBBLE_WRT_ACTIVATOR mov activator.P_x, cx mov activator.P_y, dx ; Get window bounds and window center call VisGetBounds add ax, oldMargins.P_x add bx, oldMargins.P_y mov polygon[0].P_x, ax mov polygon[0].P_y, bx ; polygon[0] = left, top mov polygon[4].P_x, cx mov polygon[4].P_y, bx ; polygon[1] = right, top mov polygon[8].P_x, cx mov polygon[8].P_y, dx ; polygon[2] = right, bottom mov polygon[12].P_x, ax mov polygon[12].P_y, dx ; polygon[3] = left, bottom push cx, dx add cx, ax shr cx, 1 mov winCenter.P_x, cx add dx, bx shr dx, 1 mov winCenter.P_y, dx pop cx, dx ; Now find out which side the wedge should come out from the dialog cmp ax, activator.P_x LONG jg checkLeftRight cmp cx, activator.P_x LONG jl checkLeftRight checkTopBottom:: ; Enlarge bounds to include size of wedge sub bx, BUBBLE_WEDGE_SIZE add dx, BUBBLE_WEDGE_SIZE cmp bx, activator.P_y LONG jg topWedge cmp dx, activator.P_y LONG jge noRegion bottomWedge:: ; The wedge is on the bottom. movdw polygon[24], polygon[12], ax ; Make room for 3 pts. mov ax, polygon[8].P_y ; ax = bottom mov polygon[12].P_y, ax mov polygon[20].P_y, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[16].P_y, ax mov ax, activator.P_x cmp ax, winCenter.P_x jl bottomLeft bottomRight:: ; The wedge is on the bottom right mov polygon[12].P_x, ax mov polygon[16].P_x, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[20].P_x, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decBottomRight call addOLWinInsetPoints call decBottomRight mov bx, dx mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_X1 or mask WWIF_DEC_Y1 bottomCommon: mov bx, dx mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_Y1 mov ax, (C_DARK_GREY shl 8) or C_WHITE mov ds:[bx+0*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+1*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+2*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+3*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+5*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_color, al else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+12].P_y dec ds:[bx+16].P_x dec ds:[bx+16].P_y dec ds:[bx+16].P_y dec ds:[bx+20].P_y dec ds:[bx+24].P_y endif jmp createRegion if BUBBLE_DIALOG_INSET decBottomRight label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+12].P_y dec ds:[bx+16].P_x dec ds:[bx+16].P_y dec ds:[bx+16].P_y dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn endif bottomLeft: ; The wedge is on the bottom left mov polygon[20].P_x, ax mov polygon[16].P_x, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[12].P_x, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decBottomLeft call addOLWinInsetPoints call decBottomLeft inc ds:[bx+16].P_x ; move spout left in inc ds:[bx+20].P_x dec ds:[bx+16].P_y ; bring in spout tip jmp bottomCommon decBottomLeft label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y dec ds:[bx+16].P_y dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y dec ds:[bx+16].P_y dec ds:[bx+20].P_y dec ds:[bx+24].P_y jmp createRegion endif topWedge: ; The wedge is on the top. mov newMargins.P_y, BUBBLE_WEDGE_SIZE-1 movdw polygon[24], polygon[12], ax ; Make room for 3 pts. movdw polygon[20], polygon[8], ax ; Make room for 3 pts. movdw polygon[16], polygon[4], ax ; Make room for 3 pts. mov ax, polygon[0].P_y ; ax = top mov polygon[4].P_y, ax mov polygon[12].P_y, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[8].P_y, ax mov ax, activator.P_x cmp ax, winCenter.P_x jl topLeft topRight:: ; The wedge is on the top right mov polygon[12].P_x, ax mov polygon[8].P_x, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[4].P_x, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decTopRight call addOLWinInsetPoints call decTopRight inc ds:[bx+8].P_y ; lower spout tip topCommon: inc ds:[bx+12].P_y ; lower second top segment inc ds:[bx+16].P_y mov bx, dx mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_Y1 mov ax, (C_DARK_GREY shl 8) or C_WHITE mov ds:[bx+0*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+1*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+2*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+3*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+5*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_color, al else dec ds:[bx+8].P_x inc ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y endif jmp createRegion if BUBBLE_DIALOG_INSET decTopRight label near dec ds:[bx+8].P_x inc ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn endif topLeft: ; The wedge is on the top left mov polygon[4].P_x, ax mov polygon[8].P_x, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[12].P_x, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decTopLeft call addOLWinInsetPoints call decTopLeft inc ds:[bx+4].P_x ; bring spout left in inc ds:[bx+8].P_x inc ds:[bx+8].P_y ; move spout tip down inc ds:[bx+12].P_x ; move spout right base out jmp topCommon decTopLeft label near inc ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn else inc ds:[bx+8].P_y dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y jmp createRegion endif checkLeftRight: ; Check if the wedge should come out from the left or right of dialog cmp bx, activator.P_y ; if activator is above LONG jg noRegion ; then no wedge cmp dx, activator.P_y ; if activator is below LONG jl noRegion ; then no wedge ; Enlarge bounds to include size of wedge sub ax, BUBBLE_WEDGE_SIZE add cx, BUBBLE_WEDGE_SIZE cmp ax, activator.P_x LONG jg leftWedge cmp cx, activator.P_x LONG jge noRegion rightWedge:: ; The wedge is on the right movdw polygon[24], polygon[12], ax ; Make room for 3 pts. movdw polygon[20], polygon[8], ax ; Make room for 3 pts. mov ax, polygon[4].P_x ; ax = right mov polygon[8].P_x, ax mov polygon[16].P_x, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[12].P_x, ax mov ax, activator.P_y cmp ax, winCenter.P_y jl rightTop rightBottom:: ; The wedge is on the right bottom mov polygon[16].P_y, ax mov polygon[12].P_y, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[8].P_y, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decRightBottom call addOLWinInsetPoints call decRightBottom rightCommon: mov bx, dx mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_Y1 mov ax, (C_DARK_GREY shl 8) or C_WHITE mov ds:[bx+0*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+1*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+2*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+3*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+5*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_color, al else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+12].P_x dec ds:[bx+12].P_x dec ds:[bx+12].P_y dec ds:[bx+16].P_x dec ds:[bx+16].P_y dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y endif jmp createRegion if BUBBLE_DIALOG_INSET decRightBottom label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+12].P_x dec ds:[bx+12].P_x dec ds:[bx+12].P_y dec ds:[bx+16].P_x dec ds:[bx+16].P_y dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn endif rightTop: ; The wedge is on the right top mov polygon[8].P_y, ax mov polygon[12].P_y, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[16].P_y, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decRightTop call addOLWinInsetPoints call decRightTop inc ds:[bx+8].P_y ; lower spout top inc ds:[bx+12].P_y dec ds:[bx+12].P_x ; move spout tip right jmp rightCommon decRightTop label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y retn else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+12].P_x dec ds:[bx+16].P_x dec ds:[bx+20].P_x dec ds:[bx+20].P_y dec ds:[bx+24].P_y jmp createRegion endif leftWedge: ; The wedge is on the left. mov ax, polygon[12].P_x ; ax = left mov polygon[16].P_x, ax mov polygon[24].P_x, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[20].P_x, ax mov ax, activator.P_y cmp ax, winCenter.P_y jl leftTop leftBottom:: ; The wedge is on the left bottom mov newMargins.P_x, BUBBLE_WEDGE_SIZE-1 mov polygon[16].P_y, ax mov polygon[20].P_y, ax sub ax, BUBBLE_WEDGE_SIZE mov polygon[24].P_y, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decLeftBottom call addOLWinInsetPoints call decLeftBottom inc ds:[bx+20].P_x ; bring in spout tip push bx mov bx, dx mov ds:[bx+5*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_INC_X1 or mask WWIF_DEC_Y1 pop bx leftCommon: inc ds:[bx+12].P_x ; move first left segment right inc ds:[bx+16].P_x mov bx, dx mov ds:[bx+3*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_Y1 mov ax, (C_DARK_GREY shl 8) or C_WHITE mov ds:[bx+0*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+1*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+2*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+3*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_color, ah mov ds:[bx+5*(size WedgeWinColorInfo)].WWCI_color, al mov ds:[bx+6*(size WedgeWinColorInfo)].WWCI_color, al else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y dec ds:[bx+16].P_y inc ds:[bx+20].P_x dec ds:[bx+20].P_y endif jmp createRegion if BUBBLE_DIALOG_INSET decLeftBottom label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y dec ds:[bx+16].P_y inc ds:[bx+20].P_x dec ds:[bx+20].P_y retn endif leftTop: ; The wedge is on the left top mov newMargins.P_x, BUBBLE_WEDGE_SIZE ; why????? mov polygon[24].P_y, ax mov polygon[20].P_y, ax add ax, BUBBLE_WEDGE_SIZE mov polygon[16].P_y, ax call addOLWinBorderPoints if BUBBLE_DIALOG_INSET call decLeftTop call addOLWinInsetPoints call decLeftTop inc ds:[bx+20].P_y ; lower spout top inc ds:[bx+24].P_y add ds:[bx+20].P_x, 2 ; move spout tip in push bx mov bx, dx mov ds:[bx+4*(size WedgeWinColorInfo)].WWCI_flags, \ mask WWIF_DEC_X1 or mask WWIF_DEC_Y1 pop bx jmp leftCommon decLeftTop label near dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y ; dec ds:[bx+16].P_y ; inc ds:[bx+20].P_x retn else dec ds:[bx+4].P_x dec ds:[bx+8].P_x dec ds:[bx+8].P_y dec ds:[bx+12].P_y ; dec ds:[bx+16].P_y ; inc ds:[bx+20].P_x endif createRegion: clr di call GrCreateState mov cx, PCT_REPLACE call GrBeginPath push ds, si segmov ds, ss lea si, polygon mov cx, NUM_WINDOW_REGION_POINTS call GrDrawPolygon pop ds, si call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion if BUBBLE_DIALOG_SHADOW ;------------------------------------------------------ ; ; check if shadow desired ; *ds:si = OLWin ; bx = handle of original region ; push bx mov ax, HINT_DRAW_SHADOW call ObjVarFindData pop bx LONG jnc noShadow ; ; make shadow by shifting polygon down and to the right and or'ing ; that region with the original region ; *ds:si = OLWin ; bx = handle of original region ; di = gstate ; push ds, es, si, di ; save OLWin, gstate mov winRegion, bx ; save window region block mov ax, MGIT_SIZE call MemGetInfo mov winSize, ax ; save window region size mov cx, PCT_REPLACE call GrBeginPath segmov ds, ss lea si, polygon mov cx, NUM_WINDOW_REGION_POINTS makeShadow: add ds:[si].P_x, DIALOG_SHADOW_OFFSET add ds:[si].P_y, DIALOG_SHADOW_OFFSET add si, size Point loop makeShadow lea si, polygon mov cx, NUM_WINDOW_REGION_POINTS call GrDrawPolygon call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion ; bx = shadow region block mov shadowRegion, bx mov bx, winRegion ; lock original region call MemLock mov ds, ax mov bx, shadowRegion ; lock shadow region call MemLock mov es, ax mov ax, MGIT_SIZE call MemGetInfo ; ax = shadow region size mov shadowSize, ax add ax, winSize shl ax, 1 ; double for OR operation tryAgain: add ax, size Rectangle ; make room for bounds mov orSize, ax add ax, shadowSize ; plus size of existing reg mov bx, shadowRegion clr cx call MemReAlloc ; make room for OR'ed region mov es, ax mov di, shadowSize ; es:di = OR'ed region buffer add di, size Rectangle mov cx, orSize ; cx = size of buffer mov ax, mask ROF_OR_OP ; OR, please mov si, size Rectangle ; ds:si = original region mov bx, si ; es:bx = shadow region call GrPtrRegOp jnc gotRegion mov ax, cx ; ax = new OR'ed region size jmp short tryAgain gotRegion: ; ; get bounds of and move OR'ed region to beginning of buffer ; cx = size of OR'ed region ; add cx, size Rectangle ; include bounds push cx segmov ds, es ; ds:si = OR'ed region mov si, shadowSize push si add si, size Rectangle ; ds:si = actual region call GrGetPtrRegBounds ; get bounds pop si ; ds:si = OR'ed region + bounds mov ds:[si].R_left, ax mov ds:[si].R_top, bx mov ds:[si].R_right, cx mov ds:[si].R_bottom, dx clr di ; es:di = dest for OR'ed region pop cx ; size of OR'ed region + bounds push cx ; save again rep movsb pop ax ; size of OR'ed region + bounds mov bx, shadowRegion clr cx call MemReAlloc mov bx, winRegion call MemFree mov bx, shadowRegion ; return with OR'ed region call MemUnlock pop ds, es, si, di ; *ds:si = OLWin, di = gstate noShadow: endif ;------------------------------------------------------------------------ regionCommon:: call GrDestroyState movdw dxcx, newMargins cmpdw dxcx, oldMargins LONG je done push bx push cx, dx mov ax, TEMP_OL_WIN_BUBBLE_MARGIN mov cx, size Point call ObjVarAddData pop ds:[bx].P_x, ds:[bx].P_y pop bx call recalcGeometry jmp done noRegion: mov ax, TEMP_OL_WIN_BORDER_POINTS call ObjVarDeleteData mov ax, TEMP_OL_WIN_BUBBLE_MARGIN call ObjVarDeleteData if DIALOG_SHADOWS ;------------------------------------------------------------ ; ; if we want a shadow, we need to create a region ; mov ax, HINT_DRAW_SHADOW call ObjVarFindData jnc noNormalShadow ; 0 1 ; +---------------+ ; | | ; | 2 +--+ 3 ; | | ; | | ; 7 +--+ 6 | ; | | ; 5 +---------------+ 4 ; call VisGetBounds mov polygon[0*(size Point)].P_x, ax mov polygon[0*(size Point)].P_y, bx mov polygon[1*(size Point)].P_x, cx mov polygon[1*(size Point)].P_y, bx mov polygon[2*(size Point)].P_x, cx mov polygon[6*(size Point)].P_y, dx mov polygon[7*(size Point)].P_x, ax mov polygon[7*(size Point)].P_y, dx add ax, DIALOG_SHADOW_OFFSET add bx, DIALOG_SHADOW_OFFSET add cx, DIALOG_SHADOW_OFFSET add dx, DIALOG_SHADOW_OFFSET mov polygon[2*(size Point)].P_y, bx mov polygon[3*(size Point)].P_x, cx mov polygon[3*(size Point)].P_y, bx mov polygon[4*(size Point)].P_x, cx mov polygon[4*(size Point)].P_y, dx mov polygon[5*(size Point)].P_x, ax mov polygon[5*(size Point)].P_y, dx mov polygon[6*(size Point)].P_x, ax clr di call GrCreateState mov cx, PCT_REPLACE call GrBeginPath push ds, si segmov ds, ss lea si, polygon mov cx, NUM_DIALOG_SHADOW_REGION_POINTS call GrDrawPolygon pop ds, si call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion jmp regionCommon noNormalShadow: endif ;------------------------------------------------------------------------ tstdw oldMargins jz notPopup call recalcGeometry notPopup: clr bx ; no window region done: .leave ret ; Add the TEMP_OL_WIN_BORDER_POINTS vardata and copy in the polyogn points ; Pass: *ds:si = OLWinClass object ; Return: ds:bx = vardata ; addOLWinBorderPoints: mov ax, TEMP_OL_WIN_BORDER_POINTS mov cx, size WedgeWinBorderStruct call ObjVarAddData push ds, si, bx segmov es, ds mov di, bx segmov ds, ss lea si, polygon mov bx, polygon[0].P_x sub bx, newMargins.P_x mov dx, polygon[0].P_y sub dx, newMargins.P_y mov cx, NUM_WINDOW_REGION_POINTS pointLoop: lodsw sub ax, bx ; adjust for extra left margin stosw lodsw sub ax, dx ; adjust for extra top margin stosw loop pointLoop pop ds, si, bx retn if BUBBLE_DIALOG_INSET ; ; Pass: ds:bx = border points ; Return: ds:bx = vardata for inset points ; ds:dx = vardata for inset line segment color info ; addOLWinInsetPoints: mov dx, bx ; ds:dx = border points mov ax, TEMP_OL_WIN_INSET_POINTS mov cx, size WedgeWinBorderStruct call ObjVarAddData push si segmov es, ds ; es:di = inset points mov di, bx mov si, dx ; ds:si = border points mov cx, (NUM_WINDOW_REGION_POINTS*(size Point))/(size word) rep movsw pop si inc ds:[bx].P_x ; always inset start point inc ds:[bx].P_y inc ds:[bx+4].P_y ; inset first top line inc ds:[bx+24].P_x ; inset second right line mov ax, TEMP_OL_WIN_INSET_COLORS mov cx, size WedgeWinInsetColorInfo call ObjVarAddData mov dx, bx ; ds:dx = color info ; ; deref since adding TEMP_OL_WIN_INSET_COLORS could move object ; mov ax, TEMP_OL_WIN_INSET_POINTS call ObjVarFindData ; ds:bx = inset points EC < ERROR_NC OL_ERROR > retn endif ; Pass: *ds:si = OLWinClass object ; Return: nothing ; recalcGeometry: push bp mov ax, MSG_VIS_RESET_TO_INITIAL_SIZE mov dl, VUM_DELAYED_VIA_UI_QUEUE call ObjCallInstanceNoLock mov ax, MSG_VIS_UPDATE_GEOMETRY call ObjCallInstanceNoLock pop bp retn OpenWinCreateWindowRegion endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PositionBubbleDialog %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Position the dialog according to the activator bounds CALLED BY: OpenWinCreateWindowRegion PASS: cx, dx = activator center *ds:si = dialog ds:di = dialog instance RETURN: nothing DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- grisco 10/ 8/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if POSITION_BUBBLE_WRT_ACTIVATOR PositionBubbleDialog proc near activatorX local word push cx activatorY local word push dx dialogWidth local word dialogHeight local word screenWidth local word screenHeight local word uses ax,bx,cx,dx,bp .enter call GetFieldDimensionsFar mov ss:[screenWidth], cx mov ss:[screenHeight], dx call VisGetSize mov ss:[dialogWidth], cx mov ss:[dialogHeight], dx mov cx, ss:[activatorX] mov dx, ss:[activatorY] call PositionBubbleVertically ; dx = y position jc leftOrRight call CenterBubbleHorizontally ; cx = x position gotPosition: if _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS PrintMessage <Disable _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS before shipping> ; ; convert to field coords (to deal with fake screen size and hard ; icon bars ; push di movdw axbx, cxdx call VisQueryParentWin ; di = window call WinUntransform movdw cxdx, axbx tst cx jns onScreen clr cx onScreen: pop di endif ;_NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS mov ax, MSG_VIS_SET_POSITION call ObjCallInstanceNoLock .leave ret leftOrRight: call PositionBubbleLeftOrRight jmp gotPosition PositionBubbleDialog endp endif ;if POSITION_BUBBLE_WRT_ACTIVATOR COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CenterBubbleHorizontally %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Move the dialog horizontally so that it is centered with the activator. CALLED BY: PositionBubbleDialog PASS: cx, dx = activator center *ds:si = dialog RETURN: cx = x position to place dialog DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- grisco 10/ 8/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if POSITION_BUBBLE_WRT_ACTIVATOR CenterBubbleHorizontally proc near uses ax,bx,dx,di .enter inherit PositionBubbleDialog mov cx, ss:[dialogWidth] ; cx = dialog width shr cx, 1 ; cx = width / 2 mov ax, ss:[activatorX] sub ax, cx ; ax = new dialog x pos js atLeft gotPos: ; ; Should check to make sure right edge stays in bounds ; mov cx, ss:[screenWidth] if _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS PrintMessage <Disable _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS before shipping> push ax call VisQueryParentWin ; di = window mov ax, cx call WinUntransform mov cx, ax pop ax endif mov bx, ss:[dialogWidth] mov dx, ax ; dx = new dialog x pos add dx, bx ; dx = right edge of dialog xchg ax, cx ; ax = scrn width; cx = x pos cmp dx, ax jbe done ; ; Position the dialog to the left so right edge stays on ; screen. ; mov_tr cx, ax sub cx, bx done: .leave ret atLeft: if _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS PrintMessage <Disable _NASTY_HACK_FOR_MENUS_WITH_VERTICAL_HARD_ICONS before shipping> clr ax call VisQueryParentWin ; di = window call WinTransform mov_tr cx, ax else clr cx endif jmp done CenterBubbleHorizontally endp endif ;if POSITION_BUBBLE_WRT_ACTIVATOR COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PositionBubbleVertically %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Move the dialog vertically so that it is either above or below the activator...not too close or the pointer will not draw. If the dialog is too tall to fit, center it vertically. CALLED BY: PositionBubbleDialog PASS: cx, dx = activator center *ds:si = dialog RETURN: dx = new y pos of dialog carry clear = dialog placed above or below activator carry set = dialog too tall, being centered vertically. Place left or right. DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- grisco 10/ 8/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if POSITION_BUBBLE_WRT_ACTIVATOR SPOUT_HEIGHT_COMPENSATION equ 20 PositionBubbleVertically proc near uses ax,bx,cx,di .enter inherit PositionBubbleDialog mov bx, dx ; bx = y center of activator ; ; If middle of activator is below middle of screen, then ; bubble dialog should go above. Otherwise, bubble dialog ; goes below. ; mov dx, ss:[screenHeight] shr dx, 1 ; cx = center of window cmp bx, dx mov dx, bx ; dx = y center of activator ja above below: ; ; Dialog should go below the activator ; add dx, SPOUT_HEIGHT_COMPENSATION ; ; Does it still fit on screen? ; mov bx, dx ; bx = new y position add bx, ss:[dialogHeight] cmp bx, ss:[screenHeight] ja tooTall clc jmp done above: ; ; Bubble dialog should go above activator. Get the height of ; the dialog and subtract from y pos of activator and subtract ; a little extra for the pointer. ; mov dx, ss:[dialogHeight] sub bx, dx js tooTall sub bx, SPOUT_HEIGHT_COMPENSATION js tooTall mov dx, bx clc done: .leave ret tooTall: mov bx, dx ; bx = dialogHeight mov dx, ss:[screenHeight] shr dx, 1 ; dx = vert screen center shr bx, 1 ; 1/2 height of dialog sub dx, bx ; dx = new vert dialog pos stc jmp done PositionBubbleVertically endp endif ;if POSITION_BUBBLE_WRT_ACTIVATOR COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PositionBubbleLeftOrRight %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: The dialog is being centered vertically. Place it to the left or right of the activator (whatever fits best). CALLED BY: PositionBubbleDialog PASS: cx, dx = center of activator *ds:si = dialog RETURN: cx = new x position of dialog DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- grisco 10/10/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if POSITION_BUBBLE_WRT_ACTIVATOR SPOUT_WIDTH_COMPENSATION equ 20 PositionBubbleLeftOrRight proc near uses ax, dx .enter inherit PositionBubbleDialog mov ax, ss:[activatorX] mov cx, ss:[screenWidth] shr cx, 1 ; cx = x center of screen cmp ax, cx ; is button on left or right? ja posLeft add ax, SPOUT_WIDTH_COMPENSATION mov_tr cx, ax done: .leave ret posLeft: sub ax, ss:[dialogWidth] mov_tr cx, ax sub cx, SPOUT_WIDTH_COMPENSATION jns done clr cx ; force to left edge willFit: jmp done PositionBubbleLeftOrRight endp endif endif ; BUBBLE_DIALOGS and (_DUI) COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinCreateWindowRegion %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Create a window region CALLED BY: OpenWinOpenWin PASS: *ds:si = OLWinClass object RETURN: ^hbx = region (NULL if no region created) NOT IN CURRENT RUDY VERSION: (cx,dx) = difference Win origin and Vis origin DESTROYED: ax, cx, dx SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Joon 5/ 8/94 Initial version Chris 7/25/94 Changed to only do bubbles when object is on the left %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if BUBBLE_DIALOGS and (not (_DUI)) if not CURVED_BUBBLE_DIALOG WIN_LEFT = 0001b WIN_RIGHT = 0010b WIN_TOP = 0100b WIN_BOTTOM = 1000b WEDGE_SIZE = 34 MINIMUM_WEDGE_WIDTH = 42 MAXIMUM_WEDGE_WIDTH = 72 WEDGES_TO_LEFT_ONLY = TRUE ;no wedge if activator not to left if WEDGES_TO_LEFT_ONLY ;=========================================================================== ;=========================================================================== ; BEGIN BUBBLE CODE CURRENTLY USED IN RUDY ; ; There is a correlated comment below that says "END BUBBLE CODE...". I ; added these comment because I really got tired of trying to figure out ; which constants were true or false or whatever... --JimG 7/24/95 ;=========================================================================== ;=========================================================================== OpenWinCreateWindowRegion proc near class OLWinClass self local word push si side local word points local 8 dup (Point) activatorBounds local Rectangle spoutOriginX local word uses si, di, bp .enter mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP LONG jz noRegionNotPopup mov ax, HINT_INTERACTION_ACTIVATED_BY call ObjVarFindData LONG jnc noRegion push bp, si mov si, ds:[bx].chunk mov bx, ds:[bx].handle mov ax, MSG_META_GET_ACTIVATOR_BOUNDS mov di, mask MF_CALL or mask MF_FIXUP_DS call ObjMessage mov di, bp pop bp, si LONG jnc noRegion ; Coordinates are in (ax, di) - (cx, dx) ; ; Make sure that the upper-left coords are positive (on the screen!) ; tst ax LONG js noRegion tst di LONG js noRegion mov activatorBounds.R_left, ax mov activatorBounds.R_top, di ; ; Make sure that the lower-right coords are within the screen's ; dimensions. ; mov_tr ax, cx ; Move LR coords into (ax,di) mov_tr di, dx if _DUI call GetFieldDimensionsFar else call OpenGetScreenDimensions ; cx=width, dx=height endif cmp ax, cx LONG jge noRegion cmp di, dx LONG jge noRegion mov activatorBounds.R_right, ax mov activatorBounds.R_bottom, di call BubbleGetOriginalBounds ; pass bounds, as screen coords ; ; No spout if the activator is completely underneath us (activator ; left > window left). (7/12/95 cbh) ; ; First, we'll see if a minimum wedge will overlap the moniker ; (in a settings dialog) -- brianc 1/22/96 ; cmp activatorBounds.R_left, ax LONG jg tryMinWedge clr si push ax sub ax, MINIMUM_WEDGE_WIDTH ; make sure wedges at least this wide cmp activatorBounds.R_right, ax LONG jge stubbySpout ; ; Make sure wedges not longer than max ; sub ax, (MAXIMUM_WEDGE_WIDTH-MINIMUM_WEDGE_WIDTH) cmp activatorBounds.R_right, ax jl useThisOrigin ; ; Regular spout ; mov ax, activatorBounds.R_right useThisOrigin: mov ss:[spoutOriginX], ax jmp afterSpout keepGoingVup: ; ; keep going up the vis tree as long as we have non-OLCRF_RIGHT_ARROW ; OLCtrls ; *ds:si = non-OLCRF_RIGHT_ARROW OLCtrl ; bx = child handle ; pushdw bxsi call VisFindParent ; ^lbx:si = vis parent movdw axdi, bxsi ; ^lax:di = vis parent popdw bxsi call ObjSwapUnlock ; unlock child movdw bxsi, axdi ; ^lbx:si = vis parent jmp short tryAgain tryMinWedge: ; ; if activator is OLButton whose vis parent is a settings ; "draw right arrow" OLCtrl, and its left bound will allow a ; minimal spout, use it ; push bp, bx, si, es, di mov bp, ax ; save bubble left bound mov ax, HINT_INTERACTION_ACTIVATED_BY call ObjVarFindData EC < ERROR_NC OL_ERROR > mov si, ds:[bx].chunk mov bx, ds:[bx].handle call ObjSwapLock ; *ds:si = activator, bx = OLWin han mov di, segment OLButtonClass mov es, di mov di, offset OLButtonClass call ObjIsObjectInClass jnc stillNoGo ; not OLButtonClass, forget it push bx ; save OLWin handle call VisFindParent ; ^lbx:si = parent tst bx jz stillNoGoPop ; (carry clear) tryAgain: call ObjSwapLock ; *ds:si = parent, bx = activator han mov di, segment OLCtrlClass mov es, di mov di, offset OLCtrlClass call ObjIsObjectInClass jnc stillNoGoPopUnlock ; parent not OLCtrl, forget it mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLCI_rudyFlags, mask OLCRF_DRAW_RIGHT_ARROW ; jz stillNoGoPopUnlock ; not right arrow, forget it (C clr) ;keep going up -- brianc 2/20/96 jz keepGoingVup push bp sub bp, MINIMUM_WEDGE_WIDTH ; bp = left position of spout ; cmp bp, ds:[di].VI_bounds.R_left ; will spout fit? ;need to translate to screen coords -- brianc 2/20/96 mov ax, ds:[di].VI_bounds.R_left ; ax = object left call VisQueryWindow ; di = object window push bx clr bx ; Y coord to transform call WinTransform ; ax = screen object left pop bx cmp bp, ax ; will spout fit? ;---------------------------------------------------- pop bp stc ; assume so jge stillNoGoPopUnlock ; !(S^O) clc ; else, forget it stillNoGoPopUnlock: call ObjSwapUnlock ; *ds:si = activator (saves flags) stillNoGoPop: pop bx ; restore OLWin handle stillNoGo: mov ax, bp call ObjSwapUnlock ; *ds:si = OLWin pop bp, bx, si, es, di LONG jnc noRegion push ax ; restore left bound ; FALL THRU to use minimum spout stubbySpout: pop ax ;ax = left bound push ax sub ax, WEDGE_SIZE mov ss:[spoutOriginX], ax afterSpout: pop ax ;ax = left bound call BubbleForceRecalcSizeIfNeeded mov ss:points[0].P_x, ax push ax mov ax, activatorBounds.R_right sub ss:points[0].P_x, ax pop ax cmp activatorBounds.R_bottom, dx LONG jge noRegion cmp activatorBounds.R_top, bx LONG jle noRegion mov ss:[side], WIN_LEFT movdw ss:points[0], bxax ; 0------------>1 movdw ss:points[4], bxcx ; ^ | movdw ss:points[8], dxcx ; | v movdw ss:points[12], dxax ; 3<------------2 call GetWedgeYoffsets movdw ss:points[16], dxax mov cx, ss:[spoutOriginX] mov ss:points[20].P_x, cx mov ss:points[24].P_x, cx ; I thought I'd go ahead and document this little fact so future ; generations could benefit. It turns out that the polygon used for ; the window region is slightly different from the polygon used to ; draw the window border. This is because we need to ensure that ; the apex of the spout is inside the region and also because border ; is drawn with two pixels. So the region contains two points at ; the apex whereas the border only has one point. Here we calculate ; those two points by taking the average of the activator Y bounds ; and then use two pixels above and below that point. ; ; (This used to be only a one pixel deviation, but it was clipping ; part of the two pixel border and so it looked bad..) --JimG 7/25/95 ; mov cx, activatorBounds.R_top add cx, activatorBounds.R_bottom shr cx, 1 inc cx inc cx ; go two up mov ss:points[20].P_y, cx sub cx, 4 ; go two down (from middle) mov ss:points[24].P_y, cx movdw ss:points[28], bxax clr di call GrCreateState mov cx, PCT_REPLACE call GrBeginPath push ds segmov ds, ss lea si, ss:[points] mov cx, 8 call GrDrawPolygon pop ds call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion call GrDestroyState adjustForLineBounds:: dec ss:points[4].P_x dec ss:points[8].P_x dec ss:points[8].P_y dec ss:points[12].P_y dec ss:points[16].P_y sub ss:points[20].P_y, 2 inc ss:points[28].P_y movdw ss:points[24], ss:points[28], ax push bx ; save region handle ; Allocate vardata and store the points to be drawn in ; RudyDrawBubbleBorder. ; mov si, ss:[self] mov ax, TEMP_OL_WIN_BORDER_POINTS mov cx, size WedgeWinBorderStruct call ObjVarAddData push ds, es segmov es, ds mov di, bx segmov ds, ss lea si, ss:[points] mov cx, 7 ; Copy the points into the vardata structure, but transform the x ; coordinate from screen coordinates to the origin of the popup ; window which is, of course, the X origin of the spout. ; The transform in the Y direction is just subtracting off the Y ; origin of the region so that it starts on the very top of the window. ; mov bx, ss:[spoutOriginX] ; X adjustment mov dx, ss:points[0].P_y ; Y adjustment nextPoint: lodsw ; borderX = regionX - spoutOriginX sub ax, bx stosw lodsw ; borderY = regionY - Yorigin sub ax, dx stosw loop nextPoint pop ds, es pop bx ; restore region handle done: .leave ret noRegion: ; ; Make sure to delete the vardata in case it previously existed and ; now the region cannot be drawn. ; mov ax, TEMP_OL_WIN_BORDER_POINTS mov si, ss:[self] call ObjVarDeleteData mov ss:[spoutOriginX], -1 call BubbleForceRecalcSizeIfNeeded noRegionNotPopup: ; not a popup, don't bother with above ; stuff... clr bx jmp done if (0) ; Wedges only go to left, so we don't need this. GetWedgeXoffsets: push bx mov bx, activatorBounds.R_left add bx, activatorBounds.R_right shr bx, 1 sub bx, WEDGE_SIZE / 2 cmp ax, bx jl 101$ mov cx, ax add cx, WEDGE_SIZE jmp 103$ 101$: add bx, WEDGE_SIZE cmp cx, bx jg 102$ mov ax, cx sub ax, WEDGE_SIZE jmp 103$ 102$: mov cx, bx mov ax, bx sub ax, WEDGE_SIZE 103$: pop bx retn endif GetWedgeYoffsets: push ax mov ax, activatorBounds.R_top add ax, activatorBounds.R_bottom shr ax, 1 sub ax, WEDGE_SIZE / 2 cmp bx, ax jl 201$ mov dx, bx add dx, WEDGE_SIZE jmp 203$ 201$: add ax, WEDGE_SIZE cmp dx, ax jg 202$ mov bx, dx sub bx, WEDGE_SIZE jmp 203$ 202$: mov dx, ax mov bx, ax sub bx, WEDGE_SIZE 203$: pop ax retn OpenWinCreateWindowRegion endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% BubbleGetOriginalBounds %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Returns the bounds of the bubble without considering the spout. CALLED BY: OpenWinCreateWindowRegion PASS: *ds:si = OLWinClassObject RETURN: ax,bx,cx,dx = bounds of bubble without spout DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: This is a pretty simple idea. Get the vis bounds of the window but check for the existence of TEMP_OL_WIN_BUBBLE_MARGIN. If this exists, the code in OpenWinGetMargins just straight up adds this value into the left margin (thereby subtracting the left bounds by this amount) and thus we have to just add that value back in to get the real bounds. REVISION HISTORY: Name Date Description ---- ---- ----------- JimG 7/21/95 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ BubbleGetOriginalBounds proc near uses bp .enter clr bp mov ax, TEMP_OL_WIN_BUBBLE_MARGIN call ObjVarFindData jnc notTouchedYet mov bp, {word}ds:[bx] notTouchedYet: call VisGetBounds add ax, bp .leave ret BubbleGetOriginalBounds endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% BubbleForceRecalcSizeIfNeeded %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Determines if the window's geometry needs to be recalculcated because of the spout. It really attempts to not do recalculations more than needed. If there is a spout, this routine guarentees that the left edge of the window is equal to the spoutOriginX. CALLED BY: OpenWinCreateWindowRegion PASS: ss:bp = OpenWinCreateWindowRegion stack frame (uses spoutOriginX and self) If spoutOriginX >= 0, then ax = left margin of window NOT INCLUDING any spout else this function assumes that there will be no spout and may force the window's geometry to be recalculated if necessary. I.e., it does the "right thing." RETURN: nothing DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: If there is a spout, then recalculate the margin and force geometry recalculation of the window (and its children) IF any of the following is true: If there is no vardata containing the extra margin (TEMP_OL_WIN_BUBBLE_MARGIN). This covers initial condition or if the popup's spout origin changes to where it is now visible. If the margin isn't the same as the margin calculated by taking the passed AX (left bound without spout) and subtracting spoutOriginX. This covers the case of the window content's size changing or the spout origin changing so that the margin is different. If the true left bound of the window isn't the same as spoutOriginX. This, basically, just CYA in case all else fails. This fact, that the left bound should be equal to the spoutOriginX, needs to be true. If there is NO SPOUT, then recalculate the margin and force geometry recalculation of the window (and its children) if there the extra margin vardata exists. REVISION HISTORY: Name Date Description ---- ---- ----------- JimG 7/21/95 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ BubbleForceRecalcSizeIfNeeded proc near uses di, bp, bx, si .enter inherit OpenWinCreateWindowRegion ; load my own chunk handle mov si, ss:[self] ; Check for temporary margin vardata. If it doesn't exist, and we ; have a valid spout X origin, then we need to force recalculation. ; If there isn't a spout, deal with cleaning up any vardata. ; clr di push ax mov ax, TEMP_OL_WIN_BUBBLE_MARGIN call ObjVarFindData pop ax pushf cmp ss:[spoutOriginX], 0 ; if < 0, no spout. jl noSpout ; clean up. popf jnc forceRecalc mov di, {word}ds:[bx] ; load di with stored margin ; If left margin of window WITHOUT SPOUT - spout origin X does NOT ; equal our current margin, then we need to recalculate the margin ; and thus the geometry. ; push ax sub ax, ss:[spoutOriginX] cmp di, ax pop ax jne forceRecalc ; If the left bounds of the window itself does not equal the spout ; origin X coordinate, then we again need to recalculate. ; call WinCommon_DerefVisSpec_DI mov di, ds:[di].VI_bounds.R_left cmp ss:[spoutOriginX], di jne forceRecalc exit: if ERROR_CHECK cmp ss:[spoutOriginX], 0 jl _EC_noSpout push di call WinCommon_DerefVisSpec_DI mov di, ds:[di].VI_bounds.R_left cmp ss:[spoutOriginX], di ERROR_NE OL_BUBBLE_DIALOG_BOUNDS_MISMATCH__INTERNAL_ERROR ; ; At this point, the bounds of the window should have been ; recalculated and the left bound of the window SHOULD be ; equal to the spout origin X. This is a real bummer if this is ; not the case. --JimG 7/24/95. ; pop di _EC_noSpout: endif ;ERROR_CHECK .leave ret ; Add the vardata with the correct margin and force the ; recalculation of the window's geometry. ; forceRecalc: push ax, cx, dx ; save registers mov dx, ax ; save left bounds mov ax, TEMP_OL_WIN_BUBBLE_MARGIN mov cx, 2 call ObjVarAddData sub dx, ss:[spoutOriginX] ; new margin mov {word}ds:[bx], dx forceRecalcOnly: ;; NOTE: At this point we expect (AX CX DX) to be on the stack. ;; PLEASE BE CAREFUL. ;; push bp ; save local pointer ; ; Okay.. so I wrote ugly code.. so sue me. I can't convince the ; silly geometry manager to actually move the damn left bounds over ; to shrink the width of the window in the case of a popup no longer ; drawing a spout when it used to. So this forces the left bound ; to be the right bound-1 and then we reset the geometry on the ; whole tree and then force it to update its geometry. ; mov ax, MSG_VIS_RESET_TO_INITIAL_SIZE mov dl, VUM_MANUAL call ObjCallInstanceNoLock call WinCommon_DerefVisSpec_DI mov ax, ds:[di].VI_bounds.R_right dec ax mov ds:[di].VI_bounds.R_left, ax mov ax, MSG_VIS_UPDATE_GEOMETRY call ObjCallInstanceNoLock pop bp pop ax, cx, dx jmp exit noSpout: ; No spout.. clean up as needed. ; popf ; carry set if vardata exists jnc exit ; no vardata, no recalc needed ; Otherwise, vardata exists, but there's no spout so we need to zap ; that vardata and force the recalculation. push ax, cx, dx ; save registers just like ; expected in forceRecalc mov ax, TEMP_OL_WIN_BUBBLE_MARGIN call ObjVarDeleteData EC < ERROR_C OL_ERROR ; vardata should be here> jmp forceRecalcOnly BubbleForceRecalcSizeIfNeeded endp ;=========================================================================== ;=========================================================================== ; END BUBBLE CODE CURRENTLY USED IN RUDY ;=========================================================================== ;=========================================================================== else ;wedges can go in any direction OpenWinCreateWindowRegion proc near class OLWinClass self local word push si side local word points local 8 dup (Point) activatorBounds local Rectangle uses si, di, bp .enter mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP LONG jz noRegion mov ax, HINT_INTERACTION_ACTIVATED_BY call ObjVarFindData LONG jnc noRegion push bp, si mov si, ds:[bx].chunk mov bx, ds:[bx].handle mov ax, MSG_META_GET_ACTIVATOR_BOUNDS mov di, mask MF_CALL or mask MF_FIXUP_DS call ObjMessage mov di, bp pop bp, si LONG jnc noRegion mov activatorBounds.R_left, ax mov activatorBounds.R_top, di mov activatorBounds.R_right, cx mov activatorBounds.R_bottom, dx call VisGetBounds ; pass bounds, as screen coords clr si push ax add ax, MINIMUM_SPOUT_SIZE ; make sure spouts at least this big cmp activatorBounds.R_right, ax pop ax jge checkRight ornf si, WIN_LEFT mov ss:points[0].P_x, ax push ax mov ax, activatorBounds.R_right sub ss:points[0].P_x, ax pop ax jmp checkTop checkRight: cmp activatorBounds.R_left, cx jle checkTop ornf si, WIN_RIGHT push cx mov cx, activatorBounds.R_left mov ss:points[0].P_x, cx pop cx sub ss:points[0].P_x, cx checkTop: cmp activatorBounds.R_bottom, bx jge checkBottom ornf si, WIN_TOP mov ss:points[0].P_y, bx push bx mov bx, activatorBounds.R_bottom sub ss:points[0].P_y, bx pop bx jmp chooseSide checkBottom: cmp activatorBounds.R_top, dx jle chooseSide ornf si, WIN_BOTTOM push dx mov dx, activatorBounds.R_top mov ss:points[0].P_y, dx pop dx sub ss:points[0].P_y, dx chooseSide: xchg ax, si mov ah, al xchg si, ax tst si jz noRegion test si, WIN_LEFT or WIN_RIGHT jz haveSide test si, WIN_TOP or WIN_BOTTOM jz haveSide push ax mov ax, ss:points[0].P_x cmp ax, ss:points[0].P_y pop ax jge leftRight andnf si, not (WIN_LEFT or WIN_RIGHT) jmp haveSide leftRight: andnf si, not (WIN_TOP or WIN_BOTTOM) haveSide: mov ss:[side], si movdw ss:points[0], bxax ; 0------------>1 movdw ss:points[4], bxcx ; ^ | movdw ss:points[8], dxcx ; | v movdw ss:points[12], dxax ; 3<------------2 test si, WIN_LEFT jz tryRight call GetWedgeYoffsets movdw ss:points[16], dxax mov cx, activatorBounds.R_right mov ss:points[20].P_x, cx mov ss:points[24].P_x, cx mov cx, activatorBounds.R_top add cx, activatorBounds.R_bottom shr cx, 1 inc cx mov ss:points[20].P_y, cx dec cx dec cx mov ss:points[24].P_y, cx movdw ss:points[28], bxax jmp makeRegion tryRight: test si, WIN_RIGHT jz tryTop call GetWedgeYoffsets movdw ss:points[28], ss:points[12], ax movdw ss:points[24], ss:points[8], ax movdw ss:points[8], bxcx mov ax, activatorBounds.R_left mov ss:points[12].P_x, ax mov ss:points[16].P_x, ax mov ax, activatorBounds.R_top add ax, activatorBounds.R_bottom shr ax, 1 dec ax mov ss:points[12].P_y, ax inc ax inc ax mov ss:points[16].P_y, ax movdw ss:points[20], dxcx jmp makeRegion tryTop: test si, WIN_TOP jz doBottom call GetWedgeXoffsets movdw ss:points[28], ss:points[12], dx movdw ss:points[24], ss:points[8], dx movdw ss:points[20], ss:points[4], dx movdw ss:points[4], bxax mov dx, activatorBounds.R_left add dx, activatorBounds.R_right shr dx, 1 dec dx mov ss:points[8].P_x, dx inc dx inc dx mov ss:points[12].P_x, dx mov dx, activatorBounds.R_bottom mov ss:points[8].P_y, dx mov ss:points[12].P_y, dx movdw ss:points[16], bxcx jmp makeRegion doBottom: call GetWedgeXoffsets movdw ss:points[28], ss:points[12], bx movdw ss:points[12], dxcx mov bx, activatorBounds.R_left add bx, activatorBounds.R_right shr bx, 1 inc bx mov ss:points[16].P_x, bx dec bx dec bx mov ss:points[20].P_x, bx mov bx, activatorBounds.R_top mov ss:points[16].P_y, bx mov ss:points[20].P_y, bx movdw ss:points[24], dxax makeRegion: clr di call GrCreateState mov cx, PCT_REPLACE call GrBeginPath push ds segmov ds, ss lea si, ss:[points] mov cx, 8 call GrDrawPolygon pop ds call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion call GrDestroyState adjustForLineBounds:: test ss:[side], WIN_LEFT jz tryRightAdjust leftAdjust:: dec ss:points[4].P_x dec ss:points[8].P_x dec ss:points[8].P_y dec ss:points[12].P_y dec ss:points[16].P_y dec ss:points[20].P_y inc ss:points[28].P_y movdw ss:points[24], ss:points[28], ax jmp storePoints tryRightAdjust: test ss:[side], WIN_RIGHT jz tryTopAdjust rightAdjust: dec ss:points[4].P_x dec ss:points[8].P_x inc ss:points[8].P_y dec ss:points[12].P_x inc ss:points[12].P_y dec ss:points[20].P_x dec ss:points[20].P_y dec ss:points[24].P_x dec ss:points[24].P_y dec ss:points[28].P_y movdw ss:points[16], ss:points[20], ax movdw ss:points[20], ss:points[24], ax movdw ss:points[24], ss:points[28], ax jmp storePoints tryTopAdjust: test ss:[side], WIN_TOP jz bottomAdjust topAdjust: inc ss:points[4].P_x inc ss:points[8].P_x dec ss:points[16].P_x dec ss:points[20].P_x dec ss:points[24].P_x dec ss:points[24].P_y dec ss:points[28].P_y movdw ss:points[12], ss:points[16], ax movdw ss:points[16], ss:points[20], ax movdw ss:points[20], ss:points[24], ax movdw ss:points[24], ss:points[28], ax jmp storePoints bottomAdjust: dec ss:points[4].P_x dec ss:points[8].P_x dec ss:points[8].P_y dec ss:points[12].P_x dec ss:points[12].P_y dec ss:points[16].P_x dec ss:points[16].P_y inc ss:points[24].P_x dec ss:points[24].P_y dec ss:points[28].P_y movdw ss:points[16], ss:points[20], ax movdw ss:points[20], ss:points[24], ax movdw ss:points[24], ss:points[28], ax storePoints: push bx call MemLock push ds mov ds, ax mov cx, ds:[R_left] mov dx, ds:[R_top] pop ds call MemUnlock sub cx, ss:points[0].P_x sub dx, ss:points[0].P_y test ss:[side], WIN_LEFT or WIN_RIGHT jz noWorry test ss:[side], WIN_TOP shl 8 jz noWorry inc dx noWorry: push cx, dx mov si, ss:[self] mov ax, TEMP_OL_WIN_BORDER_POINTS mov cx, size WedgeWinBorderStruct call ObjVarAddData pop cx, dx mov ds:[bx].WWBS_windowAdj.P_x, cx mov ds:[bx].WWBS_windowAdj.P_y, dx push cx, dx push ds, es segmov es, ds mov di, bx segmov ds, ss lea si, ss:[points] mov cx, 7 mov bx, ss:points[0].P_x mov dx, ss:points[0].P_y nextPoint: lodsw sub ax, bx stosw lodsw sub ax, dx stosw loop nextPoint pop ds, es pop cx, dx pop bx done: .leave ret noRegion: clr bx jmp done GetWedgeXoffsets: push bx mov bx, activatorBounds.R_left add bx, activatorBounds.R_right shr bx, 1 sub bx, WEDGE_SIZE / 2 cmp ax, bx jl 101$ mov cx, ax add cx, WEDGE_SIZE jmp 103$ 101$: add bx, WEDGE_SIZE cmp cx, bx jg 102$ mov ax, cx sub ax, WEDGE_SIZE jmp 103$ 102$: mov cx, bx mov ax, bx sub ax, WEDGE_SIZE 103$: pop bx retn GetWedgeYoffsets: push ax mov ax, activatorBounds.R_top add ax, activatorBounds.R_bottom shr ax, 1 sub ax, WEDGE_SIZE / 2 cmp bx, ax jl 201$ mov dx, bx add dx, WEDGE_SIZE jmp 203$ 201$: add ax, WEDGE_SIZE cmp dx, ax jg 202$ mov bx, dx sub bx, WEDGE_SIZE jmp 203$ 202$: mov dx, ax mov bx, ax sub bx, WEDGE_SIZE 203$: pop ax retn OpenWinCreateWindowRegion endp endif ;WEDGES_TO_LEFT_ONLY else ;CURVED_BUBBLE_DIALOG WIN_LEFT = 0001b WIN_RIGHT = 0010b WIN_TOP = 0100b WIN_BOTTOM = 1000b WEDGE_SIZE = 24 OpenWinCreateWindowRegion proc near class OLWinClass self local word push si side local word points local 20 dup (Point) activatorBounds local Rectangle uses si, di, bp .enter mov di, ds:[si] add di, ds:[di].Vis_offset test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP LONG jz noRegion mov ax, HINT_INTERACTION_ACTIVATED_BY call ObjVarFindData LONG jnc noRegion push bp, si mov si, ds:[bx].chunk mov bx, ds:[bx].handle mov ax, MSG_META_GET_ACTIVATOR_BOUNDS mov di, mask MF_CALL or mask MF_FIXUP_DS call ObjMessage mov di, bp pop bp, si LONG jnc noRegion mov activatorBounds.R_left, ax mov activatorBounds.R_top, di mov activatorBounds.R_right, cx mov activatorBounds.R_bottom, dx call VisGetBounds ; pass bounds, as screen coords clr si cmp activatorBounds.R_right, ax jge checkRight ornf si, WIN_LEFT mov ss:points[0].P_x, ax push ax mov ax, activatorBounds.R_right sub ss:points[0].P_x, ax pop ax jmp checkTop checkRight: cmp activatorBounds.R_left, cx jle checkTop ornf si, WIN_RIGHT push cx mov cx, activatorBounds.R_left mov ss:points[0].P_x, cx pop cx sub ss:points[0].P_x, cx checkTop: cmp activatorBounds.R_bottom, bx jge checkBottom ornf si, WIN_TOP mov ss:points[0].P_y, bx push bx mov bx, activatorBounds.R_bottom sub ss:points[0].P_y, bx pop bx jmp chooseSide checkBottom: cmp activatorBounds.R_top, dx jle chooseSide ornf si, WIN_BOTTOM push dx mov dx, activatorBounds.R_top mov ss:points[0].P_y, dx pop dx sub ss:points[0].P_y, dx chooseSide: xchg ax, si mov ah, al xchg si, ax tst si LONG jz noRegion test si, WIN_LEFT or WIN_RIGHT LONG jz haveSide test si, WIN_TOP or WIN_BOTTOM jz haveSide push ax mov ax, ss:points[0].P_x cmp ax, ss:points[0].P_y pop ax jge leftRight andnf si, not (WIN_LEFT or WIN_RIGHT) jmp haveSide leftRight: andnf si, not (WIN_TOP or WIN_BOTTOM) haveSide: add ax, 10 ;10 points reserved for curve mov ss:[side], si movdw ss:points[0], bxax ; 0------------>1 movdw ss:points[4], bxcx ; ^ | movdw ss:points[8], dxcx ; | v movdw ss:points[12], dxax ; 3<------------2 sub ax, 10 ;10 points reserved for curve test si, WIN_LEFT LONG jz noRegion ;can't do left, no bubble. call GetWedgeYoffsets mov cx, 12 or CCP_COUNTING_UP ;last point offset call CalcCurvePoints movdw ss:points[40], dxax mov cx, activatorBounds.R_right mov ss:points[44].P_x, cx mov ss:points[48].P_x, cx mov cx, activatorBounds.R_top add cx, activatorBounds.R_bottom shr cx, 1 inc cx mov ss:points[44].P_y, cx dec cx dec cx mov ss:points[48].P_y, cx movdw ss:points[52], bxax movdw dxax, ss:points[0] ;our destination mov cx, 52 or CCP_COUNTING_DOWN call CalcCurvePoints clr di call GrCreateState mov cx, PCT_REPLACE call GrBeginPath push ds segmov ds, ss lea si, ss:[points] mov cx, 20 call GrDrawPolygon pop ds call GrEndPath mov cl, RFR_ODD_EVEN call GrGetPathRegion call GrDestroyState inc ss:points[0].P_x ;match up with top curve? dec ss:points[4].P_x dec ss:points[8].P_x dec ss:points[8].P_y dec ss:points[12].P_y inc ss:points[12].P_x dec ss:points[16].P_y inc ss:points[16].P_x dec ss:points[20].P_y inc ss:points[20].P_x dec ss:points[24].P_y inc ss:points[24].P_x dec ss:points[28].P_y inc ss:points[28].P_x dec ss:points[32].P_y inc ss:points[32].P_x dec ss:points[36].P_y inc ss:points[36].P_x dec ss:points[40].P_y inc ss:points[40].P_x inc ss:points[48].P_x ;point inc ss:points[48].P_y movdw ss:points[44], ss:points[48], ax inc ss:points[52].P_y inc ss:points[52].P_x inc ss:points[56].P_x inc ss:points[60].P_x inc ss:points[64].P_x inc ss:points[68].P_x inc ss:points[72].P_x inc ss:points[76].P_x push bx call MemLock push ds mov ds, ax mov cx, ds:[R_left] mov dx, ds:[R_top] pop ds call MemUnlock sub cx, ss:points[0].P_x sub dx, ss:points[0].P_y test ss:[side], WIN_LEFT or WIN_RIGHT jz noWorry test ss:[side], WIN_TOP shl 8 jz noWorry inc dx noWorry: push cx, dx mov si, ss:[self] mov ax, TEMP_OL_WIN_BORDER_POINTS mov cx, size WedgeWinBorderStruct call ObjVarAddData pop cx, dx mov ds:[bx].WWBS_windowAdj.P_x, cx mov ds:[bx].WWBS_windowAdj.P_y, dx push cx, dx push ds, es segmov es, ds mov di, bx segmov ds, ss lea si, ss:[points] mov cx, 19 mov bx, ss:points[0].P_x mov dx, ss:points[0].P_y nextPoint: lodsw sub ax, bx stosw lodsw sub ax, dx stosw loop nextPoint pop ds, es pop cx, dx pop bx done: .leave ret noRegion: clr bx jmp done GetWedgeXoffsets: push bx mov bx, activatorBounds.R_left add bx, activatorBounds.R_right shr bx, 1 sub bx, WEDGE_SIZE / 2 cmp ax, bx jl 101$ mov cx, ax add cx, WEDGE_SIZE jmp 103$ 101$: add bx, WEDGE_SIZE cmp cx, bx jg 102$ mov ax, cx sub ax, WEDGE_SIZE jmp 103$ 102$: mov cx, bx mov ax, bx sub ax, WEDGE_SIZE 103$: pop bx retn GetWedgeYoffsets: push ax mov ax, activatorBounds.R_top add ax, activatorBounds.R_bottom shr ax, 1 sub ax, WEDGE_SIZE / 2 cmp bx, ax jl 201$ mov dx, bx add dx, WEDGE_SIZE jmp 203$ 201$: add ax, WEDGE_SIZE cmp dx, ax jg 202$ mov bx, dx sub bx, WEDGE_SIZE jmp 203$ 202$: mov dx, ax mov bx, ax sub bx, WEDGE_SIZE 203$: pop ax retn OpenWinCreateWindowRegion endp endif ; CURVED_BUBBLE_DIALOG endif ; if BUBBLE_DIALOGS and (not (_DUI) COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CalcCurvePoints %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Calculate a set if points to create a simple curve. CALLED BY: OpenWinCreateWindowRegion PASS: cl -- offset to last point stored in points structure ch -- 0 if starting curve, 5 if ending curve (table index) dxax -- next point we're supposed to curve to ss:bp-- OpenWinCreateWindowRegion locals RETURN: nothing DESTROYED: nothing PSEUDO CODE/STRATEGY: Register usage: si -- index into point table di -- table index cx -- increment (-1 or 1) ax -- current x position dx -- starting y position bx -- distance bp -- local variables endpoint is x1, y1 x0,y0 (starting point) = points[last point index] dist = y1 - y0 for i = 0 to 5 (or 5 to 0) { x = x = xChangeTable[i] points[last point index + (i*4)] = (x, y-distance*curveTable[i] } KNOWN BUGS/SIDE EFFECTS/IDEAS: the curveTable and xChangeTable are not rocket science, they're just derived from making a 10 x 10 point curve on a piece of graph paper REVISION HISTORY: Name Date Description ---- ---- ----------- Chris 7/21/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if BUBBLE_DIALOGS if CURVED_BUBBLE_DIALOG CCP_COUNTING_UP equ 0 CCP_COUNTING_DOWN equ (offset curveTableEnd - offset curveTableDown) shl 8 CalcCurvePoints proc near uses ax,bx,cx,dx,si,di .enter inherit OpenWinCreateWindowRegion clr bx mov bl, cl mov si, bx ;si <- point index sub dx, points[si].P_y ;see y distance to go neg dx mov bx, dx movdw dxax, points[si] ;keep around starting point add si, size Point ;advance to next point mov cl, ch clr ch mov di, cx ;table index mov cx, size word ;assume counting up tst di jz ptLoop ;starting from zero, branch neg cx ;else counting down add di, offset curveTableDown - offset curveTable ptLoop: push cx sub ax, cs:xChangeTable[di] ;change x position push ax, dx mov ax, cs:curveTable[di] ;get curve fraction clr dx ; in dx.ax mul bx ;multiply by dist -> dx.ax tst ax jns 10$ inc dx 10$: ;OK, value to subtract in dx. mov cx, dx ;now in cx pop ax, dx ;restore our registers push dx ;save y value again sub dx, cx ;calculate the y for this point movdw points[si], dxax ;store the point pop dx ;restore y point start pop cx add si, size Point ;advance to next point add di, cx ;inc or dec table count cmp di, offset curveTableMiddle - offset curveTable ;have we gone negative or ; past the end of the table? jne ptLoop ;nope, do another point .leave ret CalcCurvePoints endp curveTable label word word 0ffffh*10/100 ;10% of curve word 0ffffh*20/100 ;10% word 0ffffh*30/100 ;10% word 0ffffh*40/100 ;10% word 0ffffh*50/100 ;10% word 0ffffh*70/100 ;20% curveTableMiddle label word word 0ffffh ;30% (unused) curveTableDown label word word 0ffffh*90/100 ;10% word 0ffffh*80/100 ;10% word 0ffffh*70/100 ;10% word 0ffffh*60/100 ;10% word 0ffffh*50/100 ;20% curveTableEnd label word word 0ffffh*30/100 ;30% xChangeTable word 3, 2, 1, 1, 1, 1 word 0 ;unused word -3, -2, -1, -1, -1, -1 endif endif COMMENT @---------------------------------------------------------------------- FUNCTION: GetWinColor DESCRIPTION: Fetches color info for call to WinOpen CALLED BY: INTERNAL OpenWinOpenWin PASS: *ds:si - OLWinClass object RETURN: al - color index ah - WinColorFlags bx - WinPassFlags DESTROYED: di REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 3/92 Initial version ------------------------------------------------------------------------------@ GetWinColor proc near uses cx .enter ; ; set up AH = window type flags, AL = window background color ; ; Choose a COLOR for the window ; if WINDOW_WASH_COLOR mov ax, HINT_WINDOW_WASH_COLOR call ObjVarFindData jnc noWashColor mov al, ds:[bx] jmp afterColor noWashColor: endif if _CUA_STYLE ;START of CUA_STYLE specific code ----------------------------- push ds call WinCommon_DerefVisSpec_DI mov cl, ds:[di].OLWI_type test ds:[di].OLWI_fixedAttr, mask OWFA_IS_MENU ; ; CUA/Motif: grab color value from color scheme variables in idata ; mov ax, dgroup ;get segment of core block mov ds, ax mov al, ds:[moCS_menuBar] ;assume is menu jnz OWOW_haveColor ;skip if is menu... mov al, ds:[moCS_screenBG] ;assume is icon cmp cl, MOWT_WINDOW_ICON je OWOW_haveColor ;skip if is icon... ;is not menu or icon: is fixed color ;(changed 2/15/91 cbh to use real light color) MO < mov al, C_WHITE ;assume B&W display > MO < test ds:[moCS_flags], mask CSF_BW ; is this a B&W display? > MO < jnz OWOW_haveColor ; skip if so... > MO < mov al, ds:[moCS_dsLightColor] ;else use light color > ISU < mov al, C_WHITE ;assume B&W display > ISU < test ds:[moCS_flags], mask CSF_BW ; is this a B&W display? > ISU < jnz OWOW_haveColor ; skip if so... > ISU < mov al, ds:[moCS_dsLightColor] ;else use light color > OWOW_haveColor: pop ds endif ;END of CUA_STYLE specific code ------------------------------- afterColor:: mov ah, mask CMM_ON_BLACK or CMT_CLOSEST afterWinColorFlagsSet:: clr bx ; no green or blue colors .leave ret GetWinColor endp COMMENT @---------------------------------------------------------------------- FUNCTION: GetCoreWinOpenParams DESCRIPTION: Fetches core info needed for WinOpen CALLED BY: INTERNAL OpenWinOpenWin PASS: *ds:si - OLWinClass object di - default parent window RETURN: cx - WinPassFlags dx - LayerID di - parent Window DESTROYED: REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: WinPrio LayerPrio parent layerID ------- --------- ------ ------- Primarys, Displays WIN_PRIO_STD default (NULL) default geode handle command windows WIN_PRIO_COMMANDdefault (NULL) default geode handle app modal dialog WIN_PRIO_MODAL default (NULL) default geode handle popup windows WIN_PRIO_POPUP default (NULL) default geode handle sys modal dialog WIN_PRIO_MODAL LAYER_PRIO_MODALscreen handle of block Custom Win prio custom Custom Layer prio custom Custom LayerID custom Sys menu/popup of above "" Custom parent window custom Sys menu/popup of above "" NOTES: 1) It is imperative that all windows of a given layer have the same Layer priority passed, as the window system cannot deal with any other scenario. 2) At this time, ATTR_GEN_WINDOW_CUSTOM_PARENT(0) may NOT be placed on an app modal dialog. Reason? The app wouldn't be able to find it to move the focus on down to the next dialog in a series. KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: (2) above. With a little work, OLApplication might be able to deal with this, if people would find the option useful. Does NOT deal w/popup windows (other than the system menu) which belong to a window having been placed on the screen. These windows should be placed on the screen as well, & given the same LayerID & LayerPrio as the dialog they come from. REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 3/92 Initial version ------------------------------------------------------------------------------@ LAYER_ID_FOR_ICONS equ 10171 ; A Unique layer ID for all icons GetCoreWinOpenParams proc near uses ax, bx, bp .enter clr cx ; Init WinPassFlags call GeodeGetProcessHandle ; Init LayerID to app default -- geode mov dx, bx ; handle ; ; Icons should have the same low priority, regardless of ; what the application priorities are, so give them a unique ; layer ID. ; mov bx, ds:[si] add bx, ds:[bx].Vis_offset if (0) ; Don't give unique layer ID, so icons for desk ----------------------- ; accessories will stay on top. - Joon (7/18/94) if _CUA_STYLE cmp ds:[bx].OLWI_type, MOWT_WINDOW_ICON else .err <Must choose either CUA_STYLE or MAC> endif jne notWinIcon mov dx, LAYER_ID_FOR_ICONS notWinIcon: endif ; if (0) -------------------------------------------------------------- ; ; MODALITY ; ; First, check to see if of OLPopupWinClass -- if not, can't be modal. ; test ds:[bx].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP jz lookupPriority test ds:[bx].OLPWI_flags, mask OLPWF_APP_MODAL or \ mask OLPWF_SYS_MODAL jz lookupPriority modal:: mov cl, WIN_PRIO_MODAL ; Use modal window priority ornf cx, mask WPF_SAVE_UNDER ; Use save-under for all modal windows ; see if system modal or not test ds:[bx].OLPWI_flags, mask OLPWF_SYS_MODAL LONG jz haveBasicDefaults ; if just app modal, have priority ; Place sys-modal layer at "MODAL" level, to be above ; "screen-floating" windows ; ornf cl, (LAYER_PRIO_MODAL shl offset WPD_LAYER) call GetScreenWin ; Fetch screen window, in di mov dx, ds:[LMBH_handle] ; For windows placed on screen, set ; LayerID = handle of block object ; lies in. jmp haveBasicDefaults lookupPriority: ; Othewise, look up in table. mov bx, ds:[si] add bx, ds:[bx].Vis_offset mov bl, ds:[bx].OLWI_type ; get window type clr bh ; fetch priority based on type mov cl, cs:[bx].winPriorityTable ; If this is a pinned menu, use lower WIN_PRIO_COMMAND priority level ; cmp cl, WIN_PRIO_POPUP ; see if a menu jne afterPinnedMenuCheck ; if not, skip ornf cx, mask WPF_SAVE_UNDER ; Use save-under for menus ; If a menu, see if it is pinned mov bx, ds:[si] add bx, ds:[bx].Vis_offset test ds:[bx].OLWI_specState, mask OLWSS_PINNED jz afterPinnedMenuCheck ; skip if not mov cl, WIN_PRIO_COMMAND ; BUT, if it IS a pinned menu, lower ; priority. (Make same as command win) andnf cx, not mask WPF_SAVE_UNDER ; & clear save-under as well afterPinnedMenuCheck: haveBasicDefaults: ;---------------------------------------- ; ; Check to see if windows of this application have a special ; layer priority, as is the case with application launched in ; "desk accessory" mode. ; ; cl = default priority ; ch = mask WPF_SAVE_UNDER, if needed ; di = default window ; mov al, cl andnf al, mask WPD_LAYER cmp al, (LAYER_PRIO_MODAL shl offset WPD_LAYER) je afterDeskAccessoryCheck ; sys modal, leave layer priority if (0) ; We'll let icons for desk accessories stay on top as well ------------ mov bx, ds:[si] add bx, ds:[bx].OLWin_offset if _CUA_STYLE cmp ds:[bx].OLWI_type, MOWT_WINDOW_ICON else .err <Must choose either CUA_STYLE or MAC> endif je afterDeskAccessoryCheck endif ; if (0) -------------------------------------------------------------- ; Fetch LayerPriority to use from app object ; push si clr bx call GeodeGetAppObject call ObjSwapLock push bx mov ax, ATTR_GEN_WINDOW_CUSTOM_LAYER_PRIORITY call ObjVarFindData jnc afterCustomLayerPrio mov al, ds:[bx] ; fetch layer priority to use shl al, 1 ; Shift up to layer prio area shl al, 1 shl al, 1 shl al, 1 and cl, not mask WPD_LAYER ornf cl, al ; OR in layer priority afterCustomLayerPrio: pop bx call ObjSwapUnlock pop si afterDeskAccessoryCheck: ;---------------------------------------- ; ; OK, at this point we've got the standard win parent, priority & ; LayerID to use. Before we get into custom attributes on this object ; itself, we need to adjust the defaults to accomodate the case of ; this being a system menu (or ideally any popup), which springs from ; a window that itself has been tampered with by the programmer, in ; either which parent window it is using, or what LayerID it is in. ; For those case, we need to copy those same values from the parent, ; so that the popups stay with the source window. ; ; cl = default priority ; ch = mask WPF_SAVE_UNDER, if needed ; di = default parent window call OpenWinModifyWithNearestWinGroupPriority ;---------------------------------------- ; ; OK, now we *really* have default window parent, priority, & LayerID, ; as the specific UI would have it. Now, we'll check the various ; "custom window" attributes that a programmer might have stuck on ; this window. ; ; cl = default priority ; ch = mask WPF_SAVE_UNDER, if needed ; di = default window ;---------------------------------------- ; ; Check for custom window priority ; mov ax, ATTR_GEN_WINDOW_CUSTOM_WINDOW_PRIORITY call ObjVarFindData jnc afterWinPrio EC < test {WinPriorityData} ds:[bx], not mask WPD_WIN > EC < ERROR_NZ OL_BAD_WIN_PRIORITY > and cl, not mask WPD_WIN or cl, ds:[bx] afterWinPrio: ;---------------------------------------- ; ; Check for custom layer priority ; mov ax, ATTR_GEN_WINDOW_CUSTOM_LAYER_PRIORITY call ObjVarFindData jnc afterLayerPrio mov al, ds:[bx] shl al, 1 ; Shift up to layer prio area shl al, 1 shl al, 1 shl al, 1 and cl, not mask WPD_LAYER or cl, al afterLayerPrio: ;---------------------------------------- mov bx, ds:[si] add bx, ds:[bx].OLWin_offset if _CUA_STYLE cmp ds:[bx].OLWI_type, MOWT_WINDOW_ICON else .err <Must choose either CUA_STYLE or MAC> endif je afterAttrSetLayerID ; ; Check for ATTR_GEN_WINDOW_CUSTOM_LAYER_ID layerID override on this ; object itself ; mov ax, ATTR_GEN_WINDOW_CUSTOM_LAYER_ID call ObjVarFindData jnc afterAttrSetLayerID mov dx, ds:[bx] tst dx ; if zero, use block handle jnz afterAttrSetLayerID mov dx, ds:[LMBH_handle] afterAttrSetLayerID: ;---------------------------------------- ; ; Check for custom parent window ; mov ax, ATTR_GEN_WINDOW_CUSTOM_PARENT call ObjVarFindData jnc afterCustomParent mov di, ds:[bx] ; get window handle tst di jnz afterCustomParent call GetScreenWin ; Fetch screen window, in di afterCustomParent: EC < mov bx, di > EC < call ECCheckWindowHandle ; ensure good window > ;---------------------------------------- ; ; Figure out whether to place in front or behind, both window & layer ; ; If bit set to open on top, then do ; so -- otherwise open behind other ; windows. mov bx, ds:[si] add bx, ds:[bx].Vis_offset test ds:[bx].OLWI_fixedAttr, mask OWFA_OPEN_ON_TOP jnz afterOpenOnTop ornf cx, mask WPF_PLACE_BEHIND afterOpenOnTop: ; Fetch launch flags from application ; object (tells us layer info) push cx, dx mov ax, MSG_GEN_APPLICATION_GET_LAUNCH_FLAGS call GenCallApplication test ax, mask ALF_OPEN_IN_BACK pop cx, dx jz afterOpenLayerOnTop ornf cx, mask WPF_PLACE_LAYER_BEHIND afterOpenLayerOnTop: .leave ret GetCoreWinOpenParams endp if _CUA_STYLE ;START of MOTIF specific code --------------------------------- winPriorityTable WinPriorityData \ < 0, WIN_PRIO_STD >, ; MOWT_PRIMARY_WINDOW < 0, WIN_PRIO_STD >, ; MOWT_DISPLAY_WINDOW < 0, WIN_PRIO_COMMAND >,; MOWT_COMMAND_WINDOW < 0, WIN_PRIO_COMMAND >,; MOWT_PROPERTIES_WINDOW < 0, WIN_PRIO_COMMAND >,; MOWT_NOTICE_WINDOW < 0, WIN_PRIO_COMMAND >,; MOWT_HELP_WINDOW < 0, WIN_PRIO_POPUP >, ; MOWT_MENU < 0, WIN_PRIO_POPUP >, ; MOWT_SUBMENU < 0, WIN_PRIO_POPUP >, ; MOWT_SYSTEM_MENU < 0, WIN_PRIO_STD+1 > ; MOWT_WINDOW_ICON ; slightly lower priority so we can ; distinguish icons in EnsureActiveFTCommon ; has acceptable side-effect of placing icon ; below WIN_PRIO_STD windows that remain open ; when the app is iconified - brianc 3/17/93 endif ;END of MOTIF specific code ----------------------------------- COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinModifyWithNearestWinGroupPriority %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Raise the layer and window priority of the new window to be at least as high as the nearest win group up the generic tree. CALLED BY: (INTERNAL) GetCoreWinOpenParams PASS: *ds:si = windowed object cx = WinPassFlags di = parent window dx = layer ID RETURN: cl, ch, di, dx = modified according to values of nearest wingroup DESTROYED: ax SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 6/ 8/93 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ OpenWinModifyWithNearestWinGroupPriority proc near passFlags local WinPassFlags push cx parentWin local hptr.Window push di layerID local word push dx uses bx, si .enter ; ; Only do this for popups ; call WinCommon_DerefVisSpec_DI test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP jz toReload ; ; But not for modal dialogs ; test ds:[di].OLPWI_flags, mask OLPWF_APP_MODAL jnz toReload test ds:[di].OLPWI_flags, mask OLPWF_SYS_MODAL jnz toReload ; ; Locate the generically-closest win group using our internal query. ; mov ax, MSG_SPEC_GUP_QUERY mov cx, SGQT_WIN_GROUP push bp call GenCallParent mov_tr ax, bp pop bp jc haveWinGroup toReload: jmp reload haveWinGroup: mov_tr di, ax ; ; Always use the same layer ID ; mov si, WIT_LAYER_ID call WinGetInfo mov ss:[layerID], ax ; ; Inherit any custom window parent the win group has. ; push di movdw bxsi, cxdx call ObjSwapLock push bx mov ax, ATTR_GEN_WINDOW_CUSTOM_PARENT call ObjVarFindData jnc afterParentCheckedForCustomWinParent mov di, ds:[bx] ; get window handle tst di jnz setNewParent call GetScreenWin ; Fetch screen window, in di setNewParent: mov ss:[parentWin], di afterParentCheckedForCustomWinParent: pop bx call ObjSwapUnlock pop di ; ; Compare the current parentWin against the parent of the nearest ; wingroup and use the one that is higher in the tree. This ensures ; that popups that are generically within a sysmodal box will be on ; the same window (i.e. the screen) as the sysmodal box, while still ; allowing menus within displays to be on the field, not the display ; group. I tried to give the thing a proper vis parent by transforming ; the query for a popup's vis parent to that for a sysmodal when the ; query passed through a sysmodal interaction, but OLApplication ; thwarted that gallant attempt by returning itself & the screen (as ; opposed to its usual return of itself & the field), but no one was ; ready to receive the window there, so... -- ardeb ; mov si, WIT_PARENT_WIN call WinGetInfo xchg ss:[parentWin], ax ; assume ancestral and ok push di, ax ; save former parent for possible ; restoration, and wingroup for further ; interrogation. checkAncestorLoop: cmp ss:[parentWin], ax je parentWinOK mov_tr di, ax mov si, WIT_PARENT_WIN call WinGetInfo ; ; win group's parent not an ancestor, so restore previous parentWin ; tst ax jnz checkAncestorLoop pop ax mov ss:[parentWin], ax push ax parentWinOK: pop di, ax ; ; Use parent priority for layer & window only if higher (numerically ; lower) than our own. ; mov si, WIT_PRIORITY call WinGetInfo mov ah, al CheckHack <offset WPF_PRIORITY eq 0 and width WPF_PRIORITY eq 8> mov bl, ss:[passFlags].low mov bh, bl ; ; Set the high bytes of ax and bx to hold the respective layer ; priorities, while the low bytes hold the respective window ; priorities. Set cl to the highest of each in their respective ; fields. ; andnf ax, (mask WPD_LAYER shl 8) or mask WPD_WIN andnf bx, (mask WPD_LAYER shl 8) or mask WPD_WIN ; ; Map passed priorities of 0 to their standard counterparts to ; avoid throwing off the comparison. ; tst bh jnz havePassedLayerPrio mov bh, LAYER_PRIO_STD shl offset WPD_LAYER havePassedLayerPrio: tst bl jnz havePassedWinPrio mov bl, WIN_PRIO_STD shl offset WPD_WIN havePassedWinPrio: cmp ah, bh ; assume parent win group's layer ; prio is "higher" jbe checkWinPrio ; right mov ah, bh ; no -- use existing layer prio checkWinPrio: cmp al, bl ; assume parent win group's win prio ; is "higher" jbe setWinPrio ; yes mov al, bl ; no -- use existing win prio setWinPrio: or al, ah ; merge layer & window prio CheckHack <offset WPF_PRIORITY eq 0 and width WPF_PRIORITY eq 8> mov ss:[passFlags].low, al ; and store them away reload: mov cx, ss:[passFlags] mov di, ss:[parentWin] mov dx, ss:[layerID] .leave ret OpenWinModifyWithNearestWinGroupPriority endp COMMENT @---------------------------------------------------------------------- FUNCTION: GetScreenWin DESCRIPTION: Returns Screen Window in di CALLED BY: INTERNAL GetCoreWinOpenParams PASS: *ds:si - OLWinCLass RETURN: di - screen window DESTROYED: nothing REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 3/92 Initial version ------------------------------------------------------------------------------@ if BUBBLE_HELP GetScreenWinFar proc far call GetScreenWin ret GetScreenWinFar endp endif ; BUBBLE_HELP GetScreenWin proc near uses ax, bx, cx, dx, bp .enter push si EC < clr cx ; assume no window > mov ax, MSG_VIS_QUERY_WINDOW mov bx, segment OLScreenClass mov si, offset OLScreenClass mov di, mask MF_RECORD call ObjMessage mov cx, di ; Get handle to ClassedEvent in cx pop si ; Get object mov ax, MSG_VIS_VUP_CALL_OBJECT_OF_CLASS call GenCallApplication ; returns window in cx mov di, cx EC < tst di > EC < ERROR_Z OL_CANT_GET_SCREEN_WINDOW_HANDLE > .leave ret GetScreenWin endp COMMENT @---------------------------------------------------------------------- FUNCTION: OpenWinGetState DESCRIPTION: This procedure checks if there is saved state information for this window. CALLED BY: OpenWinAttach PASS: *ds:si = instance data for object RETURN: nothing DESTROYED: ? PSEUDO CODE/STRATEGY: Make sure any changes here are also made in OLWinIconSpecBuild. This is only called for non-OLWinIcon objects. REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 5/90 initial version ------------------------------------------------------------------------------@ ; called from AppAttach OpenWinGetState proc far class OLWinClass ;This object is specified in the application .UI file as "on the active ;list", meaning it should open when the application is launched, ;OR this window was open when the application was shut-down. ;We now check if any additional data was saved for us. mov ax, TEMP_GEN_SAVE_WINDOW_INFO call ObjVarFindData jnc removeFromList ;skip if no data saved... ;============================================================================== ;This object has data on the active list: the window must have ;been moved or resized by the application or user, OR the ;window had "STAGGERED" behavior, when it was closed. ;We have to recover its stagger slot #, and query the ;Field/DisplayControl to see if this slot is available. ; ds:bx = data push es, si call WinCommon_DerefVisSpec_DI segmov es, ds ;set es:di = VisSpec instance data ;get data in ds:si mov si, bx ;now copy some info straight from the saved data mov ax, ds:[si].GSWI_winPosSizeState mov es:[di].OLWI_winPosSizeState, ax ;(while we have es:di = specific part, set flags so that SPEC_BUILD ;knows that we pulled % bounds values from the saved data. ;It will still check the state flags to see if this data is needed.) ;We are also indicating that the stagger slot info came from ;a previous session, and should change if there is a conflict with ;an object present in this session. ;DO NOT want to set geometry invalid here. Caller must ensure that ;UpdateWinPosSize will run soon, to check these (possibly) new flags, ;update visbounds, and set geometry invalid. ;don't do this as the correct flags are saved in OpenWinSaveState (hopefully ;fixes bug where CGA's outdented (-1, -1) windows are restored correctly when ;saved in iconified form (i.e. pixel bounds CAN be saved to state, bleah) ;-- brianc 4/2/92 ; ORNF es:[di].OLWI_winPosSizeState, mask WPSS_VIS_POS_IS_SPEC_PAIR \ ; or mask WPSS_VIS_SIZE_IS_SPEC_PAIR_PARENT ;the only data remaining in the chunk is the bounds of this window - ;saved as a % of the parent window. Grab this info now. ;ds:si = window Rect structure ;saved in extra data chunk .assert (offset VI_bounds eq 0), \ "ERROR: VI_bounds is not 1st field in VisClass!" ;add this code if necessary: ; add di, offset VI_bounds mov cx, size VI_bounds cld rep movs es:[di], ds:[si] ;copy from extra data chunk to VI_bounds pop es, si mov ax, TEMP_GEN_SAVE_WINDOW_INFO call ObjVarDeleteData ;============================================================================== removeFromList: ;Remove this window from the active list. (Will be added back in ;when it comes up). Exception: if this window is a GenPrimary which ;is minimized, KEEP it on the window, so that it will get UPDATE_WINDOW ;if the system shuts down before the Primary opens. ;WHO commented this code out, and WHY? Please explain yourself! -Eric 10/90. ;one possible reason is that you don't want to remove window list entrys ;defined in .ui/.goc files? - brianc 5/27/92 if 0 push es mov di, segment GenDisplayClass mov es, di mov di, offset GenDisplayClass call ObjIsObjectInClass pop es jnc removeFromActive ;can't be minimized mov ax, MSG_GEN_DISPLAY_GET_MINIMIZED call ObjCallInstanceNoLock jc done ;skip if minimized... removeFromActive: call OLWinTakeOffWindowList ;take ourselves off active list done: endif ret OpenWinGetState endp WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- FUNCTION: ConvertPixelBoundsToSpecWinSizePairs DESCRIPTION: Convert this windowed object's bounds into ratio values. This is done before the data is saved. CALLED BY: OpenWinSaveState PASS: *ds:si - object ss:bp - GenSaveWinInfo structure on stack (contains Rectangle (copied from VI_bounds) in lowest 4 words) RETURN: ax, cx, dx, ds, si, bp = same DESTROYED: bx, di REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 11/89 Initial Version ------------------------------------------------------------------------------@ ConvertPixelBoundsToSpecWinSizePairs proc far uses ax, cx, dx class OLWinClass .enter if ERROR_CHECK ;-------------------------------------------------------------- ;error check: if position is ratio but size is not (or vice-versa), ;give up. call WinCommon_DerefVisSpec_DI test ds:[di].OLWI_winPosSizeState, mask WPSS_VIS_POS_IS_SPEC_PAIR jz 10$ test ds:[di].OLWI_winPosSizeState, \ mask WPSS_VIS_SIZE_IS_SPEC_PAIR_PARENT or \ mask WPSS_VIS_SIZE_IS_SPEC_PAIR_FIELD ERROR_Z OL_ERROR jmp 20$ 10$: test ds:[di].OLWI_winPosSizeState, \ mask WPSS_VIS_SIZE_IS_SPEC_PAIR_PARENT or \ mask WPSS_VIS_SIZE_IS_SPEC_PAIR_FIELD ERROR_NZ OL_ERROR 20$: endif ;-------------------------------------------------------------- ;first: if this window's bounds are already expressed as a ;SpecWinSizePair value, then DO NOT convert to one! call WinCommon_DerefVisSpec_DI test ds:[di].OLWI_winPosSizeState, \ (mask WPSS_VIS_POS_IS_SPEC_PAIR \ or mask WPSS_VIS_SIZE_IS_SPEC_PAIR_PARENT \ or mask WPSS_VIS_SIZE_IS_SPEC_PAIR_FIELD) jnz done ;mark this thing as storing percent coordinates - brianc 4/2/92 ORNF ss:[bp].GSWI_winPosSizeState, mask WPSS_VIS_POS_IS_SPEC_PAIR \ or mask WPSS_VIS_SIZE_IS_SPEC_PAIR_PARENT ;convert size into ratio of parent window (DO THIS FIRST) ;(bounds values have been copied into the GenSaveWindowInfo structure, ;so we have to refer to them using "winPosition" and "winSize" ;field names, but remember they are still organized as a Rectangle <>.) mov ax, ss:[bp].GSWI_winSize.SWSP_x sub ax, ss:[bp].GSWI_winPosition.SWSP_x ; inc ax ;bounds changes! 12/ 8/92 cbh mov bx, ss:[bp].GSWI_winSize.SWSP_y sub bx, ss:[bp].GSWI_winPosition.SWSP_y ; inc bx clr cx ;compare to parent win call VisConvertCoordsToRatio ;returns SpecWinSizePair in ax, bx mov ss:[bp].GSWI_winSize.SWSP_x, ax ;save size values mov ss:[bp].GSWI_winSize.SWSP_y, bx ;convert position into ratio of parent window mov ax, ss:[bp].GSWI_winPosition.SWSP_x mov bx, ss:[bp].GSWI_winPosition.SWSP_y ; ; we will bump out the bounds here before saving as a ratio, as ; when bump them in when we restore (see ; ConvertSpecWinSizePairsToPixels) - brianc 1/29/93 ; inc ax inc bx clr cx ;compare to parent win call VisConvertCoordsToRatio ;returns SpecWinSizePair in ax, bx mov ss:[bp].GSWI_winPosition.SWSP_x, ax ;save position values mov ss:[bp].GSWI_winPosition.SWSP_y, bx done: .leave ret ConvertPixelBoundsToSpecWinSizePairs endp WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- METHOD: OpenWinUpdateWindow -- MSG_META_UPDATE_WINDOW for OLWinClass DESCRIPTION: PASS: *ds:si - instance data es - segment of OLWinClass ax - MSG_META_UPDATE_WINDOW cx - UpdateWindowFlags dl - VisUpdateMode RETURN: carry - ? ax - ? cx - ? dx - ? bp - ? DESTROYED: bx, si, di, ds, es REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- brianc 6/9/92 Initial version ------------------------------------------------------------------------------@ OpenWinUpdateWindow method dynamic OLWinClass, MSG_META_UPDATE_WINDOW push ax, cx, dx test cx, mask UWF_ATTACHING jz notAttaching call OpenWinAttaching jmp callSuper ; all done for ATTACH notAttaching: test cx, mask UWF_DETACHING jz notDetaching call OpenWinDetaching notDetaching: callSuper: pop ax, cx, dx push cx mov di,offset OLWinClass call ObjCallSuperNoLock pop cx ;new code to deal with this in GenAppOpenComplete - brianc 3/8/93 ; ; ; ; if we were attaching, deal with modal window (allows modal windows ; ; that are saved to state to correctly regain focus when they come ; ; up again) - brianc 1/11/93 ; ; ; test cx, mask UWF_ATTACHING ; jz done ; call OpenWinUpdateModalStatus done: ret OpenWinUpdateWindow endp OpenWinAttaching proc near EC < ;Make sure we are actually attaching > EC < mov ax, MSG_GEN_APPLICATION_GET_STATE > EC < call UserCallApplication ; ax = ApplicationStates > EC < test ax, mask AS_ATTACHING > EC < ERROR_Z OL_ERROR > push cx ; preserve UpdateWindowFlags call OpenWinGetState ;get saved position and size state data pop cx ;set flag so that we are not assertive about getting the same ;staggered slot # (see UpdateWinPos). call WinCommon_DerefVisSpec_DI ORNF ds:[di].OLWI_winPosSizeState, mask WPSS_HAS_RESTARTED ;If this object is marked as BRANCH_MINIMIZED, then do not set ;realizable or update - this will be done by ;OLMenuedWinGenSetNotMinimized later on. test ds:[di].VI_specAttrs, mask SA_BRANCH_MINIMIZED jz checkVisible EC < push es, di > EC < mov di, segment GenDisplayClass > EC < mov es, di > EC < mov di, offset GenDisplayClass > EC < call ObjIsObjectInClass > EC < pop es, di > EC < ERROR_NC OL_ERROR > mov ax, MSG_GEN_DISPLAY_SET_MINIMIZED call ObjCallInstanceNoLock jmp done ;skip to end... checkVisible: ; Presume visible if on window list (other than special case for ; GenInteraction below) ; ; NOTE: A proposed change for V2.0 would have displays & primarys ; always coming up if USABLE & ATTACHED. If this were the case, ; then this bit would already have been set in OLDisplayWinInitialize, ; so it would not need to be done here. -- Doug 12/10/91 ; ;done - brianc 3/3/92 ; ORNF ds:[di].VI_specAttrs, mask SA_REALIZABLE ; See if window should be on screen or not ; push di, es mov di, segment GenInteractionClass mov es, di mov di, offset GenInteractionClass call ObjIsObjectInClass pop di, es ; If not GenInteraction, rely on ; initialization handlers ; to set realizability up correctly. jnc afterInteraction ;genInteraction: ; cx = UpdateWindowFlags ; Special case for GenInteraction -- if coming up for first time, ; depends on UWF_FROM_WINDOWS_LIST. If re-attaching, look at ; HINT_INITIATED instead. ; ;assume not desired on screen ANDNF ds:[di].VI_specAttrs, not mask SA_REALIZABLE test cx, mask UWF_RESTORING_FROM_STATE jnz useState ;if not, use UWF_FROM_WINDOWS_LIST test cx, mask UWF_FROM_WINDOWS_LIST jnz realizable ;direct update from GAGCNLT_WINDOWS ;GCN list, make realizable jmp short notRealizable ;else, not realizable useState: mov ax, HINT_INITIATED ;re-attaching: check state call ObjVarFindData jnc afterInteraction ;skip if not found ;switch if hint exists realizable: ORNF ds:[di].VI_specAttrs, mask SA_REALIZABLE if _MENUS_PINNABLE ;----------------------------------------------------- ; IF menu - must have been pinned when was closed (see OpenWinCloseWin) ; mark as OLWSS_NOTIFY_TRIGGERS_IS_PINNED so that during SPEC_BUILD ; we will tell our triggers to get borders. ; test ds:[di].OLWI_fixedAttr, mask OWFA_IS_MENU jz 10$ ;skip if not a menu or submenu... ORNF ds:[di].OLWI_specState, mask OLWSS_PINNED \ or mask OLWSS_NOTIFY_TRIGGERS_IS_PINNED 10$: endif ;------------------------------------------------------ notRealizable: afterInteraction: ;============================================================================== afterSetVisible: ForceRef afterSetVisible ;NOW, do spec build & visual update ; Mark display as Attached only. ; If specific objects want themselves ; to be visible when the ensuing ; update happens, they should subclass ; this method & or in the ; SA_REALIZABLE bit before calling ; this superclass method. ; Note that if any generic parent ; is MINIMIZED, then the specific UI ; may set a bit which prevents ; the children (such as this one) ; from actually being made visible. mov cl, mask SA_ATTACHED clr ch ; Do visual update. If attached, ; usable & visible, it will come up ; on screen. ; XXX: use passed update mode? mov dl, VUM_NOW mov ax, MSG_SPEC_SET_ATTRS call ObjCallInstanceNoLock done: ret OpenWinAttaching endp WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- METHOD: OpenWinBringToTop -- MSG_GEN_BRING_TO_TOP DESCRIPTION: This function brings the window to the top of its window priority group, & and if using a point & click kbd focus model, & the window is capable of being the focus window, then sends in a request to the application object to make this happen. If the application is active, the request will be obliged, & this window will receive a MSG_META_GAINED_FOCUS_EXCL. If the app isn't active, this window will still be remembered, so that it will be given kbd focus, if there is a choice when the app is active again. PASS: *ds:si - instance data RETURN: nothing DESTROYED: REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 6/29/89 Initial version ------------------------------------------------------------------------------@ ;NOTE: OLMenuWinClass handles this method and does not call superclass. OpenWinBringToTop method dynamic OLWinClass, MSG_GEN_BRING_TO_TOP ;if this window is not opened then abort: the user or application ;caused the window to close before this method arrived via the queue. call VisQueryWindow or di, di jz setGenState ; Skip if window not opened... clr ax, dx ; Leave LayerID unchanged call WinChangePriority ; If this is a modal window, notify app object, & sys object if ; SYS_MODAL, that one of these types of windows has either opened, ; closed, or changed in priority. ; ; First, check to see if really of OLPopupWinClass ; call WinCommon_DerefVisSpec_DI test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP jz 10$ call OpenWinUpdateModalStatus 10$: ; ; Handle toolboxes specially, by giving them the focus. ; call WinCommon_DerefVisSpec_DI test ds:[di].OLCI_buildFlags, mask OLBF_TOOLBOX jnz setGenState ; ; if keyboard-only, ignore OWMFA_NO_DISTURB ; XXX: might need to do this for OLBF_TOOLBOX (above) also ; call OpenCheckIfKeyboardOnly jc afterNoDisturbCheck test ds:[di].OLWI_moreFixedAttr, mask OWMFA_NO_DISTURB jnz setGenState afterNoDisturbCheck: mov ax, MSG_META_GRAB_TARGET_EXCL call ObjCallInstanceNoLock if FIND_HIGHER_LAYER_PRIORITY ; ; check if we should grab focus ; call CheckFocusGrab jnc setGenState ; don't grab focus endif mov ax, MSG_META_GRAB_FOCUS_EXCL call ObjCallInstanceNoLock setGenState: ; Raise the window list entry to ; the top, to reflect new/desired ; position in window hierarchy. ; (If no window list entry, window ; isn't up & nothing will be done) mov ax, MSG_GEN_APPLICATION_BRING_WINDOW_TO_TOP mov cx, ds:[LMBH_handle] mov dx, si call GenCallApplication ret OpenWinBringToTop endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CheckFocusGrab %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: check if this OLWin should grab focus CALLED BY: INTERNAL OpenWinBringToTop PASS: *ds:si = OLWin RETURN: carry set to grab focus carry clear to not grab focus DESTROYED: ax, bx, cx, dx, bp, di SIDE EFFECTS: PSEUDO CODE/STRATEGY: Must be top-most system modal window or top-most app modal window if no system modal window to grab focus. If not top-most system modal window and top-most system modal window is owned by different geode, must grab focus within our field. REVISION HISTORY: Name Date Description ---- ---- ----------- brianc 2/10/96 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if FIND_HIGHER_LAYER_PRIORITY CheckFocusGrab proc near ; ; if there's a system modal win, we need to be the topmost one to ; grab focus ; mov cx, GUQT_SCREEN mov ax, MSG_SPEC_GUP_QUERY call UserCallApplication ; bp = screen window mov di, bp ; di = screen window clr ax, bx ; any owner, any LayerID, ; anything above standard priority, ; no focus/target restrictions mov cx, (LAYER_PRIO_STD-1) shl offset WPD_LAYER call FindHigherLayerPriorityWinOnWin ; bp = top screen window, if any mov dx, di ; dx = screen window call VisQueryWindow ; di = our window cmp di, bp LONG je grabIt ; we are top screen win, grab focus tst bp jz checkModal ; no screen win, check modal ; ; Have topmost screen window. If we are sys-modal, check if in same ; app as topmost screen window. If not, grab focus within our field's ; window hierarchy. Else, no need to grab focus as closing the topmost ; screen window will restore focus to us automatically via the app's ; modal window mechanism. ; *ds:si = our OLWin object ; di = our window ; bp = topmost screen window ; mov dx, di ; dx = our window push es mov di, segment OLPopupWinClass mov es, di mov di, offset OLPopupWinClass call ObjIsObjectInClass pop es jnc dontGrab ; not sys-modal, don't grab focus call WinCommon_DerefVisSpec_DI ; test ds:[di].OLPWI_flags, mask OLPWF_SYS_MODAL ; We want to check owners if we are either sys-modal *or* app-modal. If ; someone else has a sys-modal up, and we put up an app-modal, we need to ; grab within our app's focus heirarchy. -- brianc 3/8/96 ; test ds:[di].OLPWI_flags, mask OLPWF_APP_MODAL or mask OLPWF_SYS_MODAL jz dontGrab ; not sys-modal, don't grab focus ; ; sys-modal window, check if same owner as topmost screen window ; dx = our window ; bp = topmost screen window ; *ds:si = our OLWin object ; mov di, dx ; di = our window push si ; save OLWin object mov si, WIT_INPUT_OBJ call WinGetInfo ; ^lcx:dx = our win input obj EC < ERROR_C OL_ERROR > mov bx, cx ; bx = handle mov ax, MGIT_OWNER_OR_VM_FILE_HANDLE call MemGetInfo ; ax = our input obj owner mov di, bp ; di = topmost screen win mov bp, ax ; bp = our input obj owner mov si, WIT_INPUT_OBJ call WinGetInfo ; ^lcx:dx = topmost win input obj EC < ERROR_C OL_ERROR > pop si ; *ds:si = OLWin object mov bx, cx ; bx = handle mov ax, MGIT_OWNER_OR_VM_FILE_HANDLE call MemGetInfo ; ax = topmost input obj owner cmp bp, ax ; same owner? jne grabIt ; nope, grab focus within field dontGrab: clc ; signal don't grab focus jmp short done checkModal: ; ; else if there's any modal win, we need to be the topmost one to ; grab focus ; mov ax, MSG_VIS_QUERY_WINDOW call UserCallApplication ; cx = app window mov di, cx ; di = app window mov bx, ds:[LMBH_handle] call MemOwner ; current geode clr ax ; any LayerID ; anything above standard priority, ; no focus/target restrictions mov cx, (LAYER_PRIO_STD-1) shl offset WPD_LAYER call FindHigherLayerPriorityWinOnWin ; bp = top app win, if any call VisQueryWindow ; di = our window cmp di, bp je grabIt ; we are top app win, grab focus tst bp jnz dontGrab ; have other app win, don't grab focus ; else, grab focus grabIt: stc ; signal grab focus done: .leave ret CheckFocusGrab endp endif ; FIND_HIGHER_LAYER_PRIORITY WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- METHOD: OpenWinMoveResizeWin -- MSG_VIS_MOVE_RESIZE_WIN for OLWinClass DESCRIPTION: Intercepts the method which does final positioning & resizing of a window, in order to handle final positioning requests, amd to make sure that the window is not lost off-screen, or even too close to the edge of the screen. PASS: *ds:si - instance data es - segment of OLWinClass ax - MSG_VIS_MOVE_RESIZE_WIN RETURN: nothing DESTROYED: nothing PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Chris 3/30/89 Initial version Doug 11/13/89 Changed to subclass off of MoveResizeWin instead of VisSetPosition. Eric 11/20/89 adapted to new window positioning/sizing scheme. JimG 4/94 Added code for Stylus' rounded windows. ------------------------------------------------------------------------------@ WIN_VISIBLE_MARGIN equ 10 ;arbitrary OpenWinMoveResizeWin method dynamic OLWinClass, MSG_VIS_MOVE_RESIZE_WIN ;first check for general window positioning preferences ;(most can be handled at SPEC_BUILD, but some have to be handled here, ;because now we have size information.) ;if the visible bounds for this object are actually ;ratios of the Parent/Field window, convert to pixel coordinates now. ;(Note: if parent geometry is not yet valid, this does nothing) call ConvertSpecWinSizePairsToPixels call UpdateWinPosSize ;update window position and size if ;have enough info. If not, then wait ;until MSG_VIS_MOVE_RESIZE_WIN to ;do this. ;check for window visibility preferences call OpenWinCheckVisibleConstraints ; Do the move/resize. ; If either shadows or round thick dialogs is selected, then ; check to see if the window has the special shape, and call WinResize ; directly with the special region that defines the window. ; If either of these options is selected, but the window does ; not have the special shape, then WinResize is called to ; resize a rectangular shape. ; If these options aren't selected, then call the superclass ; to do the move/resize. if DIALOGS_WITH_FOLDER_TABS or BUBBLE_DIALOGS mov bp, ds:[si] add bp, ds:[bp].Vis_offset mov di, ds:[bp].VCI_window ; di <= window handle tst di jz afterMoveResize ; if no window, done if DIALOGS_WITH_FOLDER_TABS call OpenWinCreateTabbedWindowRegion ; ^hbx = region, dx:ax = addr else ; BUBBLE_DIALOGS call OpenWinCreateWindowRegion ; ^hbx = region endif tst bx jz notTabbed push si if DIALOGS_WITH_FOLDER_TABS movdw bpsi, dxax ; bp:si = tab region else ; BUBBLE_DIALOGS call MemLock mov bp, ax mov si, size Rectangle ; bp:si = bubble region endif doResize:: ; ; OK. It doesn't matter how we got here. We should have bp:si ; pointing to the region to use, with ax,bx,cx,dx as the params. ; mov ax, mask WPF_ABS ; resize absolute (i.e. move) push ax call WinResize ; ; Clean up after ourselves. ; call MemFree pop si ; *ds:si = base win jmp afterMoveResize notTabbed: endif ;DIALOGS_WITH_FOLDER_TABS or BUBBLE_DIALOGS if DRAW_SHADOWS_ON_BW_GADGETS or _ROUND_THICK_DIALOGS push si mov bp, ds:[si] add bp, ds:[bp].Vis_offset ; ds:bp = VisInstance mov di, ds:[bp].VCI_window ; di <= window handle tst di pop si ; restore stack for error handling jz afterMoveResize ; if no window, done push si ; save it again ; ds:si must still point to object for VisGetBounds clr cl ; normal bounds call VisGetBounds dec cx ; use screen pixel bounds dec dx if _ROUND_THICK_DIALOGS ; ds:si must still point to object for this procedure call OpenWinShouldHaveRoundBorder endif ;_ROUND_THICK_DIALOGS mov si, mask WPF_ABS ; resize absolute (i.e. move) push si ; must be top item on stack! ; removed by WinResize if _ROUND_THICK_DIALOGS jnc rectWindow ; not a round window! endif ;_ROUND_THICK_DIALOGS ; ds:bp still is VisInstance if DRAW_SHADOWS_ON_BW_GADGETS test ds:[bp].OLWI_moreFixedAttr, mask OWMFA_CUSTOM_WINDOW jnz rectWindow ;custom window, branch call OpenCheckIfBW jnc rectWindow endif ;DRAW_SHADOWS_ON_BW_GADGETS NOFXIP< mov bp, cs > FXIP < push bx, ax > FXIP < mov bx, handle RegionResourceXIP > FXIP < call MemLock > FXIP < mov bp, ax > FXIP < pop bx, ax > mov si, offset windowRegionBW NOFXIP < jmp short resizeEm > FXIP < jmp short resizeEm2 > rectWindow: clrdw bpsi ; rectangular region resizeEm:: call WinResize ; Pops one word off stack pop si FXIP < jmp fin > resizeEm2: FXIP < call WinResize > FXIP < push bx > FXIP < mov bx, handle RegionResourceXIP > FXIP < call MemUnlock > FXIP < pop bx > FXIP < pop si > fin:: else mov ax, MSG_VIS_MOVE_RESIZE_WIN call WinCommon_ObjCallSuperNoLock_OLWinClass_Far endif ;DRAW_SHADOWS_ON_BW_GADGETS or _ROUND_THICK_DIALOGS afterMoveResize:: if PLACE_EXPRESS_MENU_ON_PRIMARY ; ; Then, update the express tool area location, to match new window ; location & size. ; call WinCommon_DerefVisSpec_DI CUAS < cmp ds:[di].OLWI_type, MOWT_PRIMARY_WINDOW > jne afterExpressToolArea call OLBaseWinUpdateExpressToolArea afterExpressToolArea: endif ; PLACE_EXPRESS_MENU_ON_PRIMARY ret OpenWinMoveResizeWin endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinTitleButtonRoundedCorner %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Check if a given title button should have a round corner in this particular window. Assumes that the button is in the title bar. CALLED BY: MSG_OL_WIN_SHOULD_TITLE_BUTTON_HAVE_ROUNDED_CORNER PASS: *ds:si = OLWinClass object ds:di = OLWinClass instance data ds:bx = OLWinClass object (same as *ds:si) es = segment of OLWinClass ax = message # cx = button left position dx = button right position RETURN: carry - set if button should have a round corner ax - if carry is set: true if top-left corner should be round, false if top-right corner should be round if carry is clear: destroyed DESTROYED: ax (if carry is clear), cx, dx, bp SIDE EFFECTS: None PSEUDO CODE/STRATEGY: Assumes B&W - Stylus UI. Uses the window edge (+ thick border) to determine if this button is on the left or right edge. REVISION HISTORY: Name Date Description ---- ---- ----------- JimG 4/ 4/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if _ROUND_THICK_DIALOGS OpenWinTitleButtonRoundedCorner method dynamic OLWinClass, MSG_OL_WIN_SHOULD_TITLE_BUTTON_HAVE_ROUNDED_CORNER .enter ; Check if window has a round border first of all. call OpenWinShouldHaveRoundBorder jnc done ; carry clear ; OK - window has round border. push cx, dx ; assume ds:di is still instance ptr mov bp, di ; ds:bp = ptr to instance data ; Get inside border (the titleBarBounds include the sys icons, ; but here we need the real boundaries of the window to check ; if this button is on the edge). call OpenWinGetHeaderBounds add ax, _ROUND_THICK_DIALOG_BORDER sub cx, _ROUND_THICK_DIALOG_BORDER mov dx, ax pop ax, bx ; ax = button left pos, bx = button right pos ; dx = left inside edge of window border ; cx = right inside edge of window border cmp ax, dx jne notLeftEdge mov ax, TRUE ; left corner! jmp hasRoundCorner notLeftEdge: cmp bx, cx clc jne done ; ignores C flag mov ax, FALSE ; right corner! hasRoundCorner: stc done: .leave ret OpenWinTitleButtonRoundedCorner endm endif ;_ROUND_THICK_DIALOGS COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinShouldHaveRoundBorderFar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Checks appropriate instance data flags and returns if this window should have round thick windows. (Basically just calls OpenWinShouldHaveRoundBorder.) CALLED BY: Various internal functions. PASS: *ds:si - object RETURN: carry - set if should have round thick windows. DESTROYED: nothing SIDE EFFECTS: none. PSEUDO CODE/STRATEGY: Window must be a popup, not a menu, not have a custom window, and must not be resizable. ASSUME B&W - Stylus UI. REVISION HISTORY: Name Date Description ---- ---- ----------- JimG 5/10/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if _ROUND_THICK_DIALOGS OpenWinShouldHaveRoundBorderFar proc far call OpenWinShouldHaveRoundBorder ret OpenWinShouldHaveRoundBorderFar endp endif ;_ROUND_THICK_DIALOGS COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OpenWinShouldHaveRoundBorder %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Checks appropriate instance data flags and returns if this window should have round thick windows. CALLED BY: Various internal functions. PASS: *ds:si - object RETURN: carry - set if should have round thick windows. DESTROYED: nothing SIDE EFFECTS: none. PSEUDO CODE/STRATEGY: Window must be a popup, not a menu, not have a custom window, and must not be resizable. ASSUME B&W - Stylus UI. REVISION HISTORY: Name Date Description ---- ---- ----------- JimG 4/ 4/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if _ROUND_THICK_DIALOGS OpenWinShouldHaveRoundBorder proc near uses di .enter call WinCommon_DerefVisSpec_DI ; NOTE: test clears carry flag. test ds:[di].OLWI_fixedAttr, mask OWFA_IS_MENU jnz done ; Is a menu, skip this test ds:[di].OLWI_attrs, mask OWA_RESIZABLE jnz done ; Is resizable, skip this test ds:[di].OLWI_moreFixedAttr, mask OWMFA_CUSTOM_WINDOW jnz done ; Has custom window, skip this test ds:[di].OLWI_moreFixedAttr, mask OWMFA_IS_POPUP jz checkForNonMaxPrimary ; Not a popup, skip this setDone: stc ; Should be round.. set carry done: .leave ret ; << RETURN ; We know that this is NOT a menu, NOT resizable, and does NOT have ; a custom window. But it is also NOT a popup. So check to see if ; this is a primary, and if it is not maximizable. If so, this is ; like a desk accessory and should have a round border. checkForNonMaxPrimary: cmp ds:[di].OLWI_type, MOWT_PRIMARY_WINDOW jne done ; Not a primary.. done test ds:[di].OLWI_attrs, mask OWA_MAXIMIZABLE jnz done ; Maximizable.. done ; Fits requirements.. set the carry and exit jmp short setDone OpenWinShouldHaveRoundBorder endp endif ;_ROUND_THICK_DIALOGS COMMENT @---------------------------------------------------------------------- FUNCTION: OpenWinCheckVisibleConstraints DESCRIPTION: This procedure ensure's that a window's visiblility constraints are met as it is opened or moved on the screen. CALLED BY: OpenWinOpenWin, OpenWinMoveResizeWin PASS: *ds:si -- window RETURN: nothing DESTROYED: ? PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 11/89 initial version ------------------------------------------------------------------------------@ .assert (offset WPSF_CONSTRAIN_TYPE) lt 8 .assert (WCT_NONE eq 0) OpenWinCheckVisibleConstraints proc far class OLWinClass call WinCommon_DerefVisSpec_DI mov cl, byte ptr ds:[di].OLWI_winPosSizeFlags ;get LOW byte and cl, mask WPSF_CONSTRAIN_TYPE jz done ;skip if WCT_NONE.... cmp cl, (WCT_KEEP_PARTIALLY_VISIBLE shl offset WPSF_CONSTRAIN_TYPE) jne checkOther ;skip if not... ;want to keep window partially visible. This means different things ;depending on the specific UI: mov cx, WIN_VISIBLE_MARGIN ;default margins for most UIs mov dx, WIN_VISIBLE_MARGIN ;Motif/CUA: if window has a title bar, make sure it stays visible CUAS < test ds:[di].OLWI_attrs, mask OWA_TITLED > CUAS < jz keepThisMarginVisible > CUAS < call EnsureTitleBarInParentWin > CUAS < jmp done > checkOther: ;must be WCT_KEEP_VISIBLE or WCT_KEEP_VISIBLE_WITH_MARGIN cmp cl, (WCT_KEEP_VISIBLE shl offset WPSF_CONSTRAIN_TYPE) pushf call VisGetSize ;get size of this window (cx, dx) popf je short keepThisMarginVisible add cx, WIN_VISIBLE_MARGIN add dx, WIN_VISIBLE_MARGIN keepThisMarginVisible: call EnsureWindowInParentWin testForMenuCase: ;if this window is a system menu (Control or Express menu), and it ;is close enough to the bottom of the screen that it has been pushed ;upwards to cover up the menu button, then push it upwards some more, ;until it is completely over the menu button. This allows double- ;clicking to continue to work. call OpenWinCheckMenuWinVisibilityConstraints done: ret OpenWinCheckVisibleConstraints endp COMMENT @---------------------------------------------------------------------- FUNCTION: OpenWinCheckMenuWinVisibilityConstraints DESCRIPTION: This procedure is called after we have adjusted a menu window so that it is on-screen. If the menu is now obscuring the menu button which opens it, we will push the menu above the menu button. CALLED BY: OpenWinCheckVisibleConstraints PASS: *ds:si = menu window RETURN: ds, si = same DESTROYED: ? PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 10/90 initial version Chris 4/91 Updated for new graphics, bounds conventions Chris 1/20/93 Rewritten to work for all horizontal and vertical menus. ------------------------------------------------------------------------------@ OpenWinCheckMenuWinVisibilityConstraints proc near uses si, di .enter clr cx ;default bounds check in X dec ch ;default as submenu mov ax, TEMP_POPUP_OPENING_TO_RIGHT ;keep whether opening to right call ObjVarFindData ; if so, go deal with it. jc doit clr ch ;not opening to right call WinCommon_DerefVisSpec_DI mov cl, ds:[di].VCI_geoAttrs ;use orientation for check cmp ds:[di].OLWI_type, MOWT_SYSTEM_MENU ;menus are always a je doit ; vertical check cmp ds:[di].OLWI_type, MOWT_MENU ;other types of jne exit ; windows, exit doit: ;let's make sure this is a menu before we go screwing with instance data EC < push di > EC < mov bx, segment OLMenuWinClass > EC < mov es, bx > EC < mov di, offset OLMenuWinClass > EC < call ObjIsObjectInClass > EC < ERROR_NC OL_ERROR ;die if not correct class > EC < pop di > ;now, dip into the OLPopupWin instance data for this object, ;and grab the handle of the menu button ; *ds:si= menu window instance data ; ds:di = menu window VisSpec instance data call WinCommon_DerefVisSpec_DI .warn -private mov di, ds:[di].OLPWI_button ;set *ds:di = menu button .warn @private tst di ;is there a button? jz exit ;skip if not... xchg di, si ;menu in *ds:di, button in *ds:si ; ; Another hack for ISUI: if the menu is not pressed, then don't worry ; about overlapping the button. ; ISU < push di > ISU < call WinCommon_DerefVisSpec_DI > ISU < test ds:[di].OLBI_specState, mask OLBSS_DEPRESSED > ISU < pop di > ISU < jz exit > ;since we know the button is in the same ObjectBlock, and we've ;already violated OOP rules, let's go look at its instance data EC < push di > EC < mov bx, segment OLMenuButtonClass > EC < mov es, bx > EC < mov di, offset OLMenuButtonClass > EC < call ObjIsObjectInClass > EC < ERROR_NC OL_ERROR ;die if not correct class > EC < pop di > ; ; cl holds orientation as direction to check, ch non-zero if window is ; opening to the right. ; clr bx ;assume not vertical test cl, mask VCGA_ORIENT_CHILDREN_VERTICALLY jz 10$ ;good assumption, go celebrate mov bl, AMO_VERTICAL ;else set this baby 10$: clr cl ;cx now non-zero if submenu. call AvoidMenuOverlap ;check the overlap situation jnc exit ;nothing strange happened, done call TryAgainInOtherDirection ;try again jnc exit ;OK, done ;still here? Then: clr ch ;give up on submenu limitations call TryAgainInOtherDirection ;and try one last time. jnc exit call KeepMenuOnscreen ;total failure, at least keep ; onscreen. exit: .leave ret OpenWinCheckMenuWinVisibilityConstraints endp TryAgainInOtherDirection proc near ; ; Menu was moved from under the button to the right, or vice versa. ; Force it back onscreen and make another pass to avoid menu overlap. ; call KeepMenuOnscreen xor bl, AMO_VERTICAL ;else we've switched directions call AvoidMenuOverlap ;make sure things work in the other dir ret TryAgainInOtherDirection endp KeepMenuOnscreen proc near xchg si, di ;*ds:si -- menu push bx, di, cx EC < call ECCheckLMemObject > call OpenGetParentWinSize if TOOL_AREA_IS_TASK_BAR ; If taskbar is at the bottom of the screen, subtract off the ; height of the tool area (taskbar) from parent window size so ; maximized windows don't extend below the taskbar. call GetTaskBarSizeAdjustment sub dx, di ; subtract off taskbar adjustment endif ; TOOL_AREA_IS_TASK_BAR movdw axbp, cxdx ;put size values in weird places call MoveWindowToKeepOnscreen pop bx, di, cx xchg si, di ret KeepMenuOnscreen endp WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- METHOD: OLWinGetHeaderTitleBounds -- MSG_OL_WIN_GET_HEADER_TITLE_BOUNDS for OLWinClass DESCRIPTION: Returns widths of icons left and right of title bar. PASS: *ds:si - instance data ds:di - instance data es - segment of MetaClass ax - MSG_OL_WIN_GET_HEADER_TITLE_BOUNDS RETURN: ax - width of icons left of title bp - width of icons right of title cx, dx - preserved ALLOWED TO DESTROY: bx, si, di, ds, es REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- chris 2/ 7/92 Initial Version ------------------------------------------------------------------------------@ OLWinGetHeaderTitleBounds method dynamic OLWinClass, \ MSG_OL_WIN_GET_HEADER_TITLE_BOUNDS uses cx, dx .enter if _ISUI mov cx, 0 ;in case no sys menu button call CheckSysMenuButton jnc 5$ endif call OpenWinGetSysMenuButtonWidth ;cx = width call OpenCheckIfCGA jnc 5$ ;CHECK BW FOR CUA LOOK dec cx ;needed for correct menu bar 5$: ; position now (cbh 2/15/92) mov ax, cx ;ax = left icon width ; (system menu icon only, ; OLBaseWin adds in express ; menu) ; (no overlap btwn icon and ; title bar, OLBaseWin handles ; overlap if there is express ; menu) ; ; account for title bar left group ; mov bp, offset OLWI_titleBarLeftGroup call OpenWinGetTitleBarGroupSize ; cx = width, dx = height dec cx ; (overlap) add ax, cx ;haveLeftWidth: clr bp ; Start with no buttons on right call OpenCheckIfKeyboardOnly ; Check for no keyboard jc haveRightWidth ; if no keyboard, no gadgets to ; right. ; Add in width of minimize & maximize/restore buttons, if present. ; call OpenWinCheckIfMinMaxRestoreControls jnc afterAdjustments call WinCommon_DerefVisSpec_DI test ds:[di].OLWI_attrs, mask OWA_MINIMIZABLE jz afterMinimizable add bp, CUAS_WIN_ICON_WIDTH-1 afterMinimizable: test ds:[di].OLWI_specState, mask OLWSS_MAXIMIZED jnz maximized test ds:[di].OLWI_attrs, mask OWA_MAXIMIZABLE jz afterMaxRestore haveMaxOrRestoreIcon: add bp, CUAS_WIN_ICON_WIDTH-1 jmp short afterMaxRestore maximized: test ds:[di].OLWI_fixedAttr, mask OWFA_RESTORABLE jnz haveMaxOrRestoreIcon afterMaxRestore: afterAdjustments: ; Make minor spacing adjustment for color ; call OpenCheckIfBW jc 15$ ;skip if B/W.. tst bp ; don't dec below zero jz 15$ dec bp ; Else make adjustment to right 15$: ; icon width, who knows why haveRightWidth: ; ; account for title bar right group ; push bp ; save current right width mov bp, offset OLWI_titleBarRightGroup call OpenWinGetTitleBarGroupSize ; cx = width, dx = height dec cx ; overlap pop bp ; restore current right width add bp, cx .leave ret OLWinGetHeaderTitleBounds endm WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- METHOD: OLWinGetTitleBarHeight -- MSG_OL_WIN_GET_TITLE_BAR_HEIGHT for OLWinClass DESCRIPTION: Returns height of title bar PASS: *ds:si - instance data ds:di - instance data es - segment of MetaClass ax - MSG_OL_WIN_GET_TITLE_BAR_HEIGHT RETURN: dx - height to title bar ALLOWED TO DESTROY: bx, si, di, ds, es REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- brianc 9/26/92 Initial Version ------------------------------------------------------------------------------@ OLWinGetTitleBarHeight method dynamic OLWinClass, \ MSG_OL_WIN_GET_TITLE_BAR_HEIGHT mov bp, di ; ds:bp - instance data call OpenWinGetHeaderBounds ; (ax, bx, cx, dx) = bounds sub dx, bx ; dx = height if _ISUI call OpenCheckIfBW ; that's all for BW jc done sub dx, 4 ; margins = 2 above / 2 below else call OpenCheckIfBW ; that's all for BW jc done dec dx ; small adjustment for color dec dx endif done: ret OLWinGetTitleBarHeight endm OpenWinGetHeaderBoundsFar proc far call OpenWinGetHeaderBounds ret OpenWinGetHeaderBoundsFar endp WinCommon ends WinCommon segment resource COMMENT @---------------------------------------------------------------------- ROUTINE: OpenWinDrawMoniker SYNOPSIS: Draws complete moniker, including long term moniker, unless we're running in GCM mode. CALLED BY: OpenWinDrawHeaderTitle PASS: *ds:si - instance data cl - how to draw moniker: DrawMonikerFlags ss:bp - DrawMonikerArgs RETURN: bp - preserved ax, bx - position the moniker was drawn at DESTROYED: cx, dx, di, es PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Chris 2/27/90 Initial version ------------------------------------------------------------------------------@ OpenWinDrawMoniker proc near class OLWinClass segmov es, ds EC< call GenCheckGenAssumption ; Make sure gen data exists > ; ; check if we're a base window ; call WinCommon_DerefVisSpec_DI CUAS < cmp ds:[di].OLWI_type, MOWT_PRIMARY_WINDOW > OLS < cmp ds:[di].OLWI_type, OLWT_BASE_WINDOW > jne normalDraw ; is not base window, do normal ; stuff ; ; check if this base window has a long term moniker, if so ; if both normal and long term monikers don't fit, just draw long ; term moniker ; if _ISUI call WinCommon_DerefGen_DI .warn -private mov di, ds:[di].GPI_longTermMoniker .warn @private tst di jz noLongTerm push ax, bx mov ax, HINT_SHOW_ENTIRE_MONIKER call ObjVarFindData ; C set if found pop ax, bx jc noLongTerm push ax, cx, dx, es push bp mov bp, ss:[bp].DMA_gState if _ISUI call getWinMonikerSize ; cx <- width else call SpecGetGenMonikerSize ; cx = width endif push cx segmov es, ds ; *es:di = long term moniker clr ax ; use font height from gstate call VisGetMonikerSize ; cx = width of long term mkr pop ax ; ax = moniker width add ax, cx ; ax = total moniker width mov di, bp ; di = gstate call GetDividerStrLen ; dx = divider len add ax, dx ; ax = complete len pop bp cmp ax, ss:[bp].DMA_xMaximum pop ax, cx, dx, es ja drawLongTerm ; too long, just draw long term noLongTerm: endif ; ; check if we are on a tiny width screen ; push cx, dx call OpenGetScreenDimensions ; cx, dx = dimensions cmp cx, TINY_SCREEN_WIDTH_THRESHOLD pop cx, dx ja normalDraw ; not tiny screen, do normal ; stuff ; ; on horizontally tiny screens, just draw long term moniker, if any ; drawLongTerm:: call WinCommon_DerefGen_DI .warn -private mov bx, ds:[di].GPI_longTermMoniker ; *es:bx = long-term moniker .warn @private tst bx jz normalDraw ; no long-term, do normal stuff if _ISUI call drawMoniker else call SpecDrawMoniker ; else, just draw it endif jmp exit normalDraw: push cx, bp mov bx, ds:[si] add bx, ds:[bx].Gen_offset ; ds:bx = GenInstance mov bx, ds:[bx].GI_visMoniker ;*ds:bx = visMoniker if _ISUI call drawMoniker else call SpecDrawMoniker ;draw the VisMoniker, position in ax,bx endif pop cx, bp ; ; Exit if we're not a base window. ; call WinCommon_DerefVisSpec_DI CUAS < cmp ds:[di].OLWI_type, MOWT_PRIMARY_WINDOW > OLS < cmp ds:[di].OLWI_type, OLWT_BASE_WINDOW > jne exit ;not a primary, we're done if _GCM ; ; Exit if using GCM headers ; test ds:[di].OLWI_fixedAttr, mask OWFA_GCM_TITLED jnz exit endif ; ; Else move past the drawn vis moniker and draw the long term moniker. ; push cx ;save moniker flags push bp ;save struct pointer push ax mov bp, ss:[bp].DMA_gState ;get gstate in bp if _ISUI call getWinMonikerSize ;cx <- moniker width else call SpecGetGenMonikerSize ;get moniker width in cx endif pop ax pop bp ;restore struct pointer add ax, cx ;add width to left edge call WinCommon_DerefGen_DI .warn -private mov di, ds:[di].GPI_longTermMoniker .warn @private tst di ;is there a long term moniker? jz drawLongTermMoniker ;no, let's "draw" a blank moniker ; (makes code simpler) mov dx, 0 ;in case no moniker push di call WinCommon_DerefGen_DI tst ds:[di].GI_visMoniker pop di jz drawLongTermMoniker ;no moniker, skip divider push di ;else save ptr to the long term moniker mov di, ss:[bp].DMA_gState ;gstate in di call GetDividerStrLen ;length of divider in dx add dx, cx ;add length of gen moniker cmp ss:[bp].DMA_xMaximum, dx ;any room left for the divider? jb afterDivider ;no, skip it ; ; Draw the separator between the gen and long-term monikers. ; push ds, si clr cx ;draw all characters SBCS < segmov ds, cs ;ds:si points to middle string > SBCS < mov si, offset longTermStr > DBCS < segmov ds, <segment resLongTermStr>, si > DBCS < mov si, offset resLongTermStr > FXIP < call SysCopyToStackDSSI > call GrDrawText FXIP < call SysRemoveFromStack > DoPop si, ds afterDivider: pop di ;restore pointer to long term moniker drawLongTermMoniker: mov bx, di ;pass long term moniker in es:bx pop cx ;pop draw moniker flags add ss:[bp].DMA_xInset, dx ;add gen and div size to our x inset sub ss:[bp].DMA_xMaximum, dx ;subtract from size to clip js exit ;no room left, exit segmov es, ds ;have es:bx point to our long term mkr if _ISUI call drawMoniker else call SpecDrawMoniker ;draw the moniker endif exit: ret if _ISUI ; ; this is kinda gross, but I can't figure out any way ; to get the moniker code to use bold just for the title bar ; when calculating the width. ; getWinMonikerSize: push ax, dx, di push si mov di, bp ;di <- GState mov ax, mask TS_BOLD ;al <- set bold call GrSetTextStyle mov si, ds:[si] add si, ds:[si].Gen_offset mov si, ds:[si].GI_visMoniker mov si, ds:[si] ;ds:si <- VisMoniker test ds:[si].VM_type, mask VMT_GSTRING jnz notText add si, offset VM_data.VMT_text ;ds:si <- moniker text call GrTextWidth mov cx, dx ;cx <- width mov ax, (mask TS_BOLD) shl 8 ;ah <- reset bold call GrSetTextStyle pop si gotSize: pop ax, dx, di retn notText: pop si call SpecGetGenMonikerSize ;get moniker width in cx jmp gotSize drawMoniker: push ax, di mov ax, mask TS_BOLD ;al <- set bold mov di, ss:[bp].DMA_gState call GrSetTextStyle pop ax, di call SpecDrawMoniker push ax mov ax, (mask TS_BOLD) shl 8 ;ah <- reset bold mov di, ss:[bp].DMA_gState call GrSetTextStyle pop ax retn endif OpenWinDrawMoniker endp SBCS <longTermStr db " - ",0 > WinCommon ends
25.215274
90
0.65871
d6f89791eb9d7dccf4ba7b0063c0fe2a7b6ef988
217,935
asm
Assembly
project/win32kstub/amd64/6_0_6001_sp1_shadowssdt_sysenter.asm
rmusser01/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
6
2018-01-18T02:30:27.000Z
2020-01-11T03:42:33.000Z
project/win32kstub/amd64/6_0_6001_sp1_shadowssdt_sysenter.asm
stonedreamforest/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
null
null
null
project/win32kstub/amd64/6_0_6001_sp1_shadowssdt_sysenter.asm
stonedreamforest/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
3
2017-12-29T07:50:35.000Z
2020-10-15T09:28:54.000Z
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 6.0.6001-sp1-windows-vista amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtUserGetThreadState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetThreadState PROC STDCALL mov r10 , rcx mov eax , 4096 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetThreadState ENDP ; ULONG64 __stdcall NtUserPeekMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserPeekMessage PROC STDCALL mov r10 , rcx mov eax , 4097 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPeekMessage ENDP ; ULONG64 __stdcall NtUserCallOneParam( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCallOneParam PROC STDCALL mov r10 , rcx mov eax , 4098 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallOneParam ENDP ; ULONG64 __stdcall NtUserGetKeyState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetKeyState PROC STDCALL mov r10 , rcx mov eax , 4099 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetKeyState ENDP ; ULONG64 __stdcall NtUserInvalidateRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserInvalidateRect PROC STDCALL mov r10 , rcx mov eax , 4100 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInvalidateRect ENDP ; ULONG64 __stdcall NtUserCallNoParam( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserCallNoParam PROC STDCALL mov r10 , rcx mov eax , 4101 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallNoParam ENDP ; ULONG64 __stdcall NtUserGetMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetMessage PROC STDCALL mov r10 , rcx mov eax , 4102 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetMessage ENDP ; ULONG64 __stdcall NtUserMessageCall( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserMessageCall PROC STDCALL mov r10 , rcx mov eax , 4103 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMessageCall ENDP ; ULONG64 __stdcall NtGdiBitBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiBitBlt PROC STDCALL mov r10 , rcx mov eax , 4104 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBitBlt ENDP ; ULONG64 __stdcall NtGdiGetCharSet( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetCharSet PROC STDCALL mov r10 , rcx mov eax , 4105 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCharSet ENDP ; ULONG64 __stdcall NtUserGetDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetDC PROC STDCALL mov r10 , rcx mov eax , 4106 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetDC ENDP ; ULONG64 __stdcall NtGdiSelectBitmap( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSelectBitmap PROC STDCALL mov r10 , rcx mov eax , 4107 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSelectBitmap ENDP ; ULONG64 __stdcall NtUserWaitMessage( ); _6_0_6001_sp1_windows_vista_NtUserWaitMessage PROC STDCALL mov r10 , rcx mov eax , 4108 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserWaitMessage ENDP ; ULONG64 __stdcall NtUserTranslateMessage( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserTranslateMessage PROC STDCALL mov r10 , rcx mov eax , 4109 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserTranslateMessage ENDP ; ULONG64 __stdcall NtUserGetProp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetProp PROC STDCALL mov r10 , rcx mov eax , 4110 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetProp ENDP ; ULONG64 __stdcall NtUserPostMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserPostMessage PROC STDCALL mov r10 , rcx mov eax , 4111 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPostMessage ENDP ; ULONG64 __stdcall NtUserQueryWindow( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserQueryWindow PROC STDCALL mov r10 , rcx mov eax , 4112 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserQueryWindow ENDP ; ULONG64 __stdcall NtUserTranslateAccelerator( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserTranslateAccelerator PROC STDCALL mov r10 , rcx mov eax , 4113 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserTranslateAccelerator ENDP ; ULONG64 __stdcall NtGdiFlush( ); _6_0_6001_sp1_windows_vista_NtGdiFlush PROC STDCALL mov r10 , rcx mov eax , 4114 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFlush ENDP ; ULONG64 __stdcall NtUserRedrawWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserRedrawWindow PROC STDCALL mov r10 , rcx mov eax , 4115 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRedrawWindow ENDP ; ULONG64 __stdcall NtUserWindowFromPoint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserWindowFromPoint PROC STDCALL mov r10 , rcx mov eax , 4116 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserWindowFromPoint ENDP ; ULONG64 __stdcall NtUserCallMsgFilter( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCallMsgFilter PROC STDCALL mov r10 , rcx mov eax , 4117 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallMsgFilter ENDP ; ULONG64 __stdcall NtUserValidateTimerCallback( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserValidateTimerCallback PROC STDCALL mov r10 , rcx mov eax , 4118 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserValidateTimerCallback ENDP ; ULONG64 __stdcall NtUserBeginPaint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserBeginPaint PROC STDCALL mov r10 , rcx mov eax , 4119 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBeginPaint ENDP ; ULONG64 __stdcall NtUserSetTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetTimer PROC STDCALL mov r10 , rcx mov eax , 4120 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetTimer ENDP ; ULONG64 __stdcall NtUserEndPaint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserEndPaint PROC STDCALL mov r10 , rcx mov eax , 4121 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEndPaint ENDP ; ULONG64 __stdcall NtUserSetCursor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetCursor PROC STDCALL mov r10 , rcx mov eax , 4122 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetCursor ENDP ; ULONG64 __stdcall NtUserKillTimer( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserKillTimer PROC STDCALL mov r10 , rcx mov eax , 4123 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserKillTimer ENDP ; ULONG64 __stdcall NtUserBuildHwndList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserBuildHwndList PROC STDCALL mov r10 , rcx mov eax , 4124 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBuildHwndList ENDP ; ULONG64 __stdcall NtUserSelectPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSelectPalette PROC STDCALL mov r10 , rcx mov eax , 4125 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSelectPalette ENDP ; ULONG64 __stdcall NtUserCallNextHookEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserCallNextHookEx PROC STDCALL mov r10 , rcx mov eax , 4126 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallNextHookEx ENDP ; ULONG64 __stdcall NtUserHideCaret( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserHideCaret PROC STDCALL mov r10 , rcx mov eax , 4127 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserHideCaret ENDP ; ULONG64 __stdcall NtGdiIntersectClipRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiIntersectClipRect PROC STDCALL mov r10 , rcx mov eax , 4128 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiIntersectClipRect ENDP ; ULONG64 __stdcall NtUserCallHwndLock( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCallHwndLock PROC STDCALL mov r10 , rcx mov eax , 4129 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallHwndLock ENDP ; ULONG64 __stdcall NtUserGetProcessWindowStation( ); _6_0_6001_sp1_windows_vista_NtUserGetProcessWindowStation PROC STDCALL mov r10 , rcx mov eax , 4130 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetProcessWindowStation ENDP ; ULONG64 __stdcall NtGdiDeleteObjectApp( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDeleteObjectApp PROC STDCALL mov r10 , rcx mov eax , 4131 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDeleteObjectApp ENDP ; ULONG64 __stdcall NtUserSetWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowPos PROC STDCALL mov r10 , rcx mov eax , 4132 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowPos ENDP ; ULONG64 __stdcall NtUserShowCaret( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserShowCaret PROC STDCALL mov r10 , rcx mov eax , 4133 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserShowCaret ENDP ; ULONG64 __stdcall NtUserEndDeferWindowPosEx( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserEndDeferWindowPosEx PROC STDCALL mov r10 , rcx mov eax , 4134 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEndDeferWindowPosEx ENDP ; ULONG64 __stdcall NtUserCallHwndParamLock( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCallHwndParamLock PROC STDCALL mov r10 , rcx mov eax , 4135 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallHwndParamLock ENDP ; ULONG64 __stdcall NtUserVkKeyScanEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserVkKeyScanEx PROC STDCALL mov r10 , rcx mov eax , 4136 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserVkKeyScanEx ENDP ; ULONG64 __stdcall NtGdiSetDIBitsToDeviceInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 ); _6_0_6001_sp1_windows_vista_NtGdiSetDIBitsToDeviceInternal PROC STDCALL mov r10 , rcx mov eax , 4137 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetDIBitsToDeviceInternal ENDP ; ULONG64 __stdcall NtUserCallTwoParam( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCallTwoParam PROC STDCALL mov r10 , rcx mov eax , 4138 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallTwoParam ENDP ; ULONG64 __stdcall NtGdiGetRandomRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetRandomRgn PROC STDCALL mov r10 , rcx mov eax , 4139 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetRandomRgn ENDP ; ULONG64 __stdcall NtUserCopyAcceleratorTable( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCopyAcceleratorTable PROC STDCALL mov r10 , rcx mov eax , 4140 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCopyAcceleratorTable ENDP ; ULONG64 __stdcall NtUserNotifyWinEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserNotifyWinEvent PROC STDCALL mov r10 , rcx mov eax , 4141 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserNotifyWinEvent ENDP ; ULONG64 __stdcall NtGdiExtSelectClipRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiExtSelectClipRgn PROC STDCALL mov r10 , rcx mov eax , 4142 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtSelectClipRgn ENDP ; ULONG64 __stdcall NtUserIsClipboardFormatAvailable( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserIsClipboardFormatAvailable PROC STDCALL mov r10 , rcx mov eax , 4143 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserIsClipboardFormatAvailable ENDP ; ULONG64 __stdcall NtUserSetScrollInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetScrollInfo PROC STDCALL mov r10 , rcx mov eax , 4144 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetScrollInfo ENDP ; ULONG64 __stdcall NtGdiStretchBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 ); _6_0_6001_sp1_windows_vista_NtGdiStretchBlt PROC STDCALL mov r10 , rcx mov eax , 4145 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStretchBlt ENDP ; ULONG64 __stdcall NtUserCreateCaret( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserCreateCaret PROC STDCALL mov r10 , rcx mov eax , 4146 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateCaret ENDP ; ULONG64 __stdcall NtGdiRectVisible( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiRectVisible PROC STDCALL mov r10 , rcx mov eax , 4147 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRectVisible ENDP ; ULONG64 __stdcall NtGdiCombineRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiCombineRgn PROC STDCALL mov r10 , rcx mov eax , 4148 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCombineRgn ENDP ; ULONG64 __stdcall NtGdiGetDCObject( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetDCObject PROC STDCALL mov r10 , rcx mov eax , 4149 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDCObject ENDP ; ULONG64 __stdcall NtUserDispatchMessage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDispatchMessage PROC STDCALL mov r10 , rcx mov eax , 4150 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDispatchMessage ENDP ; ULONG64 __stdcall NtUserRegisterWindowMessage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserRegisterWindowMessage PROC STDCALL mov r10 , rcx mov eax , 4151 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterWindowMessage ENDP ; ULONG64 __stdcall NtGdiExtTextOutW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); _6_0_6001_sp1_windows_vista_NtGdiExtTextOutW PROC STDCALL mov r10 , rcx mov eax , 4152 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtTextOutW ENDP ; ULONG64 __stdcall NtGdiSelectFont( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSelectFont PROC STDCALL mov r10 , rcx mov eax , 4153 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSelectFont ENDP ; ULONG64 __stdcall NtGdiRestoreDC( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiRestoreDC PROC STDCALL mov r10 , rcx mov eax , 4154 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRestoreDC ENDP ; ULONG64 __stdcall NtGdiSaveDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSaveDC PROC STDCALL mov r10 , rcx mov eax , 4155 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSaveDC ENDP ; ULONG64 __stdcall NtUserGetForegroundWindow( ); _6_0_6001_sp1_windows_vista_NtUserGetForegroundWindow PROC STDCALL mov r10 , rcx mov eax , 4156 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetForegroundWindow ENDP ; ULONG64 __stdcall NtUserShowScrollBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserShowScrollBar PROC STDCALL mov r10 , rcx mov eax , 4157 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserShowScrollBar ENDP ; ULONG64 __stdcall NtUserFindExistingCursorIcon( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserFindExistingCursorIcon PROC STDCALL mov r10 , rcx mov eax , 4158 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserFindExistingCursorIcon ENDP ; ULONG64 __stdcall NtGdiGetDCDword( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetDCDword PROC STDCALL mov r10 , rcx mov eax , 4159 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDCDword ENDP ; ULONG64 __stdcall NtGdiGetRegionData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetRegionData PROC STDCALL mov r10 , rcx mov eax , 4160 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetRegionData ENDP ; ULONG64 __stdcall NtGdiLineTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiLineTo PROC STDCALL mov r10 , rcx mov eax , 4161 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiLineTo ENDP ; ULONG64 __stdcall NtUserSystemParametersInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSystemParametersInfo PROC STDCALL mov r10 , rcx mov eax , 4162 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSystemParametersInfo ENDP ; ULONG64 __stdcall NtGdiGetAppClipBox( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetAppClipBox PROC STDCALL mov r10 , rcx mov eax , 4163 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetAppClipBox ENDP ; ULONG64 __stdcall NtUserGetAsyncKeyState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetAsyncKeyState PROC STDCALL mov r10 , rcx mov eax , 4164 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetAsyncKeyState ENDP ; ULONG64 __stdcall NtUserGetCPD( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetCPD PROC STDCALL mov r10 , rcx mov eax , 4165 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetCPD ENDP ; ULONG64 __stdcall NtUserRemoveProp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserRemoveProp PROC STDCALL mov r10 , rcx mov eax , 4166 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoveProp ENDP ; ULONG64 __stdcall NtGdiDoPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiDoPalette PROC STDCALL mov r10 , rcx mov eax , 4167 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDoPalette ENDP ; ULONG64 __stdcall NtGdiPolyPolyDraw( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiPolyPolyDraw PROC STDCALL mov r10 , rcx mov eax , 4168 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPolyPolyDraw ENDP ; ULONG64 __stdcall NtUserSetCapture( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetCapture PROC STDCALL mov r10 , rcx mov eax , 4169 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetCapture ENDP ; ULONG64 __stdcall NtUserEnumDisplayMonitors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserEnumDisplayMonitors PROC STDCALL mov r10 , rcx mov eax , 4170 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEnumDisplayMonitors ENDP ; ULONG64 __stdcall NtGdiCreateCompatibleBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiCreateCompatibleBitmap PROC STDCALL mov r10 , rcx mov eax , 4171 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateCompatibleBitmap ENDP ; ULONG64 __stdcall NtUserSetProp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetProp PROC STDCALL mov r10 , rcx mov eax , 4172 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetProp ENDP ; ULONG64 __stdcall NtGdiGetTextCharsetInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetTextCharsetInfo PROC STDCALL mov r10 , rcx mov eax , 4173 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTextCharsetInfo ENDP ; ULONG64 __stdcall NtUserSBGetParms( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSBGetParms PROC STDCALL mov r10 , rcx mov eax , 4174 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSBGetParms ENDP ; ULONG64 __stdcall NtUserGetIconInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserGetIconInfo PROC STDCALL mov r10 , rcx mov eax , 4175 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetIconInfo ENDP ; ULONG64 __stdcall NtUserExcludeUpdateRgn( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserExcludeUpdateRgn PROC STDCALL mov r10 , rcx mov eax , 4176 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserExcludeUpdateRgn ENDP ; ULONG64 __stdcall NtUserSetFocus( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetFocus PROC STDCALL mov r10 , rcx mov eax , 4177 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetFocus ENDP ; ULONG64 __stdcall NtGdiExtGetObjectW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiExtGetObjectW PROC STDCALL mov r10 , rcx mov eax , 4178 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtGetObjectW ENDP ; ULONG64 __stdcall NtUserDeferWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserDeferWindowPos PROC STDCALL mov r10 , rcx mov eax , 4179 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDeferWindowPos ENDP ; ULONG64 __stdcall NtUserGetUpdateRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetUpdateRect PROC STDCALL mov r10 , rcx mov eax , 4180 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetUpdateRect ENDP ; ULONG64 __stdcall NtGdiCreateCompatibleDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCreateCompatibleDC PROC STDCALL mov r10 , rcx mov eax , 4181 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateCompatibleDC ENDP ; ULONG64 __stdcall NtUserGetClipboardSequenceNumber( ); _6_0_6001_sp1_windows_vista_NtUserGetClipboardSequenceNumber PROC STDCALL mov r10 , rcx mov eax , 4182 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipboardSequenceNumber ENDP ; ULONG64 __stdcall NtGdiCreatePen( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiCreatePen PROC STDCALL mov r10 , rcx mov eax , 4183 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreatePen ENDP ; ULONG64 __stdcall NtUserShowWindow( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserShowWindow PROC STDCALL mov r10 , rcx mov eax , 4184 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserShowWindow ENDP ; ULONG64 __stdcall NtUserGetKeyboardLayoutList( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetKeyboardLayoutList PROC STDCALL mov r10 , rcx mov eax , 4185 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetKeyboardLayoutList ENDP ; ULONG64 __stdcall NtGdiPatBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiPatBlt PROC STDCALL mov r10 , rcx mov eax , 4186 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPatBlt ENDP ; ULONG64 __stdcall NtUserMapVirtualKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserMapVirtualKeyEx PROC STDCALL mov r10 , rcx mov eax , 4187 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMapVirtualKeyEx ENDP ; ULONG64 __stdcall NtUserSetWindowLong( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowLong PROC STDCALL mov r10 , rcx mov eax , 4188 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowLong ENDP ; ULONG64 __stdcall NtGdiHfontCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiHfontCreate PROC STDCALL mov r10 , rcx mov eax , 4189 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiHfontCreate ENDP ; ULONG64 __stdcall NtUserMoveWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserMoveWindow PROC STDCALL mov r10 , rcx mov eax , 4190 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMoveWindow ENDP ; ULONG64 __stdcall NtUserPostThreadMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserPostThreadMessage PROC STDCALL mov r10 , rcx mov eax , 4191 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPostThreadMessage ENDP ; ULONG64 __stdcall NtUserDrawIconEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtUserDrawIconEx PROC STDCALL mov r10 , rcx mov eax , 4192 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDrawIconEx ENDP ; ULONG64 __stdcall NtUserGetSystemMenu( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetSystemMenu PROC STDCALL mov r10 , rcx mov eax , 4193 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetSystemMenu ENDP ; ULONG64 __stdcall NtGdiDrawStream( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDrawStream PROC STDCALL mov r10 , rcx mov eax , 4194 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDrawStream ENDP ; ULONG64 __stdcall NtUserInternalGetWindowText( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserInternalGetWindowText PROC STDCALL mov r10 , rcx mov eax , 4195 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInternalGetWindowText ENDP ; ULONG64 __stdcall NtUserGetWindowDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetWindowDC PROC STDCALL mov r10 , rcx mov eax , 4196 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetWindowDC ENDP ; ULONG64 __stdcall NtGdiD3dDrawPrimitives2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiD3dDrawPrimitives2 PROC STDCALL mov r10 , rcx mov eax , 4197 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiD3dDrawPrimitives2 ENDP ; ULONG64 __stdcall NtGdiInvertRgn( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiInvertRgn PROC STDCALL mov r10 , rcx mov eax , 4198 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiInvertRgn ENDP ; ULONG64 __stdcall NtGdiGetRgnBox( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetRgnBox PROC STDCALL mov r10 , rcx mov eax , 4199 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetRgnBox ENDP ; ULONG64 __stdcall NtGdiGetAndSetDCDword( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetAndSetDCDword PROC STDCALL mov r10 , rcx mov eax , 4200 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetAndSetDCDword ENDP ; ULONG64 __stdcall NtGdiMaskBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 ); _6_0_6001_sp1_windows_vista_NtGdiMaskBlt PROC STDCALL mov r10 , rcx mov eax , 4201 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMaskBlt ENDP ; ULONG64 __stdcall NtGdiGetWidthTable( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiGetWidthTable PROC STDCALL mov r10 , rcx mov eax , 4202 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetWidthTable ENDP ; ULONG64 __stdcall NtUserScrollDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserScrollDC PROC STDCALL mov r10 , rcx mov eax , 4203 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserScrollDC ENDP ; ULONG64 __stdcall NtUserGetObjectInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserGetObjectInformation PROC STDCALL mov r10 , rcx mov eax , 4204 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetObjectInformation ENDP ; ULONG64 __stdcall NtGdiCreateBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiCreateBitmap PROC STDCALL mov r10 , rcx mov eax , 4205 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateBitmap ENDP ; ULONG64 __stdcall NtGdiConsoleTextOut( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiConsoleTextOut PROC STDCALL mov r10 , rcx mov eax , 4206 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiConsoleTextOut ENDP ; ULONG64 __stdcall NtUserFindWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserFindWindowEx PROC STDCALL mov r10 , rcx mov eax , 4207 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserFindWindowEx ENDP ; ULONG64 __stdcall NtGdiPolyPatBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiPolyPatBlt PROC STDCALL mov r10 , rcx mov eax , 4208 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPolyPatBlt ENDP ; ULONG64 __stdcall NtUserUnhookWindowsHookEx( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserUnhookWindowsHookEx PROC STDCALL mov r10 , rcx mov eax , 4209 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnhookWindowsHookEx ENDP ; ULONG64 __stdcall NtGdiGetNearestColor( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetNearestColor PROC STDCALL mov r10 , rcx mov eax , 4210 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetNearestColor ENDP ; ULONG64 __stdcall NtGdiTransformPoints( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiTransformPoints PROC STDCALL mov r10 , rcx mov eax , 4211 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiTransformPoints ENDP ; ULONG64 __stdcall NtGdiGetDCPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetDCPoint PROC STDCALL mov r10 , rcx mov eax , 4212 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDCPoint ENDP ; ULONG64 __stdcall NtUserCheckImeHotKey( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCheckImeHotKey PROC STDCALL mov r10 , rcx mov eax , 4213 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCheckImeHotKey ENDP ; ULONG64 __stdcall NtGdiCreateDIBBrush( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiCreateDIBBrush PROC STDCALL mov r10 , rcx mov eax , 4214 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateDIBBrush ENDP ; ULONG64 __stdcall NtGdiGetTextMetricsW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetTextMetricsW PROC STDCALL mov r10 , rcx mov eax , 4215 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTextMetricsW ENDP ; ULONG64 __stdcall NtUserCreateWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 ); _6_0_6001_sp1_windows_vista_NtUserCreateWindowEx PROC STDCALL mov r10 , rcx mov eax , 4216 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateWindowEx ENDP ; ULONG64 __stdcall NtUserSetParent( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetParent PROC STDCALL mov r10 , rcx mov eax , 4217 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetParent ENDP ; ULONG64 __stdcall NtUserGetKeyboardState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetKeyboardState PROC STDCALL mov r10 , rcx mov eax , 4218 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetKeyboardState ENDP ; ULONG64 __stdcall NtUserToUnicodeEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserToUnicodeEx PROC STDCALL mov r10 , rcx mov eax , 4219 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserToUnicodeEx ENDP ; ULONG64 __stdcall NtUserGetControlBrush( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetControlBrush PROC STDCALL mov r10 , rcx mov eax , 4220 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetControlBrush ENDP ; ULONG64 __stdcall NtUserGetClassName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetClassName PROC STDCALL mov r10 , rcx mov eax , 4221 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClassName ENDP ; ULONG64 __stdcall NtGdiAlphaBlend( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 ); _6_0_6001_sp1_windows_vista_NtGdiAlphaBlend PROC STDCALL mov r10 , rcx mov eax , 4222 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAlphaBlend ENDP ; ULONG64 __stdcall NtGdiDdBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdBlt PROC STDCALL mov r10 , rcx mov eax , 4223 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdBlt ENDP ; ULONG64 __stdcall NtGdiOffsetRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiOffsetRgn PROC STDCALL mov r10 , rcx mov eax , 4224 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiOffsetRgn ENDP ; ULONG64 __stdcall NtUserDefSetText( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserDefSetText PROC STDCALL mov r10 , rcx mov eax , 4225 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDefSetText ENDP ; ULONG64 __stdcall NtGdiGetTextFaceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetTextFaceW PROC STDCALL mov r10 , rcx mov eax , 4226 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTextFaceW ENDP ; ULONG64 __stdcall NtGdiStretchDIBitsInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 ); _6_0_6001_sp1_windows_vista_NtGdiStretchDIBitsInternal PROC STDCALL mov r10 , rcx mov eax , 4227 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStretchDIBitsInternal ENDP ; ULONG64 __stdcall NtUserSendInput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSendInput PROC STDCALL mov r10 , rcx mov eax , 4228 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSendInput ENDP ; ULONG64 __stdcall NtUserGetThreadDesktop( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetThreadDesktop PROC STDCALL mov r10 , rcx mov eax , 4229 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetThreadDesktop ENDP ; ULONG64 __stdcall NtGdiCreateRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiCreateRectRgn PROC STDCALL mov r10 , rcx mov eax , 4230 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateRectRgn ENDP ; ULONG64 __stdcall NtGdiGetDIBitsInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); _6_0_6001_sp1_windows_vista_NtGdiGetDIBitsInternal PROC STDCALL mov r10 , rcx mov eax , 4231 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDIBitsInternal ENDP ; ULONG64 __stdcall NtUserGetUpdateRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetUpdateRgn PROC STDCALL mov r10 , rcx mov eax , 4232 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetUpdateRgn ENDP ; ULONG64 __stdcall NtGdiDeleteClientObj( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDeleteClientObj PROC STDCALL mov r10 , rcx mov eax , 4233 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDeleteClientObj ENDP ; ULONG64 __stdcall NtUserGetIconSize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetIconSize PROC STDCALL mov r10 , rcx mov eax , 4234 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetIconSize ENDP ; ULONG64 __stdcall NtUserFillWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserFillWindow PROC STDCALL mov r10 , rcx mov eax , 4235 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserFillWindow ENDP ; ULONG64 __stdcall NtGdiExtCreateRegion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiExtCreateRegion PROC STDCALL mov r10 , rcx mov eax , 4236 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtCreateRegion ENDP ; ULONG64 __stdcall NtGdiComputeXformCoefficients( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiComputeXformCoefficients PROC STDCALL mov r10 , rcx mov eax , 4237 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiComputeXformCoefficients ENDP ; ULONG64 __stdcall NtUserSetWindowsHookEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowsHookEx PROC STDCALL mov r10 , rcx mov eax , 4238 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowsHookEx ENDP ; ULONG64 __stdcall NtUserNotifyProcessCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserNotifyProcessCreate PROC STDCALL mov r10 , rcx mov eax , 4239 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserNotifyProcessCreate ENDP ; ULONG64 __stdcall NtGdiUnrealizeObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiUnrealizeObject PROC STDCALL mov r10 , rcx mov eax , 4240 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiUnrealizeObject ENDP ; ULONG64 __stdcall NtUserGetTitleBarInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetTitleBarInfo PROC STDCALL mov r10 , rcx mov eax , 4241 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetTitleBarInfo ENDP ; ULONG64 __stdcall NtGdiRectangle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiRectangle PROC STDCALL mov r10 , rcx mov eax , 4242 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRectangle ENDP ; ULONG64 __stdcall NtUserSetThreadDesktop( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetThreadDesktop PROC STDCALL mov r10 , rcx mov eax , 4243 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetThreadDesktop ENDP ; ULONG64 __stdcall NtUserGetDCEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetDCEx PROC STDCALL mov r10 , rcx mov eax , 4244 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetDCEx ENDP ; ULONG64 __stdcall NtUserGetScrollBarInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetScrollBarInfo PROC STDCALL mov r10 , rcx mov eax , 4245 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetScrollBarInfo ENDP ; ULONG64 __stdcall NtGdiGetTextExtent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiGetTextExtent PROC STDCALL mov r10 , rcx mov eax , 4246 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTextExtent ENDP ; ULONG64 __stdcall NtUserSetWindowFNID( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowFNID PROC STDCALL mov r10 , rcx mov eax , 4247 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowFNID ENDP ; ULONG64 __stdcall NtGdiSetLayout( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetLayout PROC STDCALL mov r10 , rcx mov eax , 4248 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetLayout ENDP ; ULONG64 __stdcall NtUserCalcMenuBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserCalcMenuBar PROC STDCALL mov r10 , rcx mov eax , 4249 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCalcMenuBar ENDP ; ULONG64 __stdcall NtUserThunkedMenuItemInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserThunkedMenuItemInfo PROC STDCALL mov r10 , rcx mov eax , 4250 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserThunkedMenuItemInfo ENDP ; ULONG64 __stdcall NtGdiExcludeClipRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiExcludeClipRect PROC STDCALL mov r10 , rcx mov eax , 4251 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExcludeClipRect ENDP ; ULONG64 __stdcall NtGdiCreateDIBSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); _6_0_6001_sp1_windows_vista_NtGdiCreateDIBSection PROC STDCALL mov r10 , rcx mov eax , 4252 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateDIBSection ENDP ; ULONG64 __stdcall NtGdiGetDCforBitmap( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetDCforBitmap PROC STDCALL mov r10 , rcx mov eax , 4253 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDCforBitmap ENDP ; ULONG64 __stdcall NtUserDestroyCursor( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserDestroyCursor PROC STDCALL mov r10 , rcx mov eax , 4254 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDestroyCursor ENDP ; ULONG64 __stdcall NtUserDestroyWindow( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDestroyWindow PROC STDCALL mov r10 , rcx mov eax , 4255 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDestroyWindow ENDP ; ULONG64 __stdcall NtUserCallHwndParam( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCallHwndParam PROC STDCALL mov r10 , rcx mov eax , 4256 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallHwndParam ENDP ; ULONG64 __stdcall NtGdiCreateDIBitmapInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiCreateDIBitmapInternal PROC STDCALL mov r10 , rcx mov eax , 4257 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateDIBitmapInternal ENDP ; ULONG64 __stdcall NtUserOpenWindowStation( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserOpenWindowStation PROC STDCALL mov r10 , rcx mov eax , 4258 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserOpenWindowStation ENDP ; ULONG64 __stdcall NtGdiDdDeleteSurfaceObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDeleteSurfaceObject PROC STDCALL mov r10 , rcx mov eax , 4259 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDeleteSurfaceObject ENDP ; ULONG64 __stdcall NtGdiEnumFontClose( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEnumFontClose PROC STDCALL mov r10 , rcx mov eax , 4260 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEnumFontClose ENDP ; ULONG64 __stdcall NtGdiEnumFontOpen( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiEnumFontOpen PROC STDCALL mov r10 , rcx mov eax , 4261 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEnumFontOpen ENDP ; ULONG64 __stdcall NtGdiEnumFontChunk( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiEnumFontChunk PROC STDCALL mov r10 , rcx mov eax , 4262 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEnumFontChunk ENDP ; ULONG64 __stdcall NtGdiDdCanCreateSurface( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdCanCreateSurface PROC STDCALL mov r10 , rcx mov eax , 4263 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCanCreateSurface ENDP ; ULONG64 __stdcall NtGdiDdCreateSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurface PROC STDCALL mov r10 , rcx mov eax , 4264 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurface ENDP ; ULONG64 __stdcall NtUserSetCursorIconData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetCursorIconData PROC STDCALL mov r10 , rcx mov eax , 4265 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetCursorIconData ENDP ; ULONG64 __stdcall NtGdiDdDestroySurface( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdDestroySurface PROC STDCALL mov r10 , rcx mov eax , 4266 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDestroySurface ENDP ; ULONG64 __stdcall NtUserCloseDesktop( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserCloseDesktop PROC STDCALL mov r10 , rcx mov eax , 4267 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCloseDesktop ENDP ; ULONG64 __stdcall NtUserOpenDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserOpenDesktop PROC STDCALL mov r10 , rcx mov eax , 4268 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserOpenDesktop ENDP ; ULONG64 __stdcall NtUserSetProcessWindowStation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetProcessWindowStation PROC STDCALL mov r10 , rcx mov eax , 4269 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetProcessWindowStation ENDP ; ULONG64 __stdcall NtUserGetAtomName( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetAtomName PROC STDCALL mov r10 , rcx mov eax , 4270 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetAtomName ENDP ; ULONG64 __stdcall NtGdiDdResetVisrgn( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdResetVisrgn PROC STDCALL mov r10 , rcx mov eax , 4271 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdResetVisrgn ENDP ; ULONG64 __stdcall NtGdiExtCreatePen( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiExtCreatePen PROC STDCALL mov r10 , rcx mov eax , 4272 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtCreatePen ENDP ; ULONG64 __stdcall NtGdiCreatePaletteInternal( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiCreatePaletteInternal PROC STDCALL mov r10 , rcx mov eax , 4273 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreatePaletteInternal ENDP ; ULONG64 __stdcall NtGdiSetBrushOrg( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiSetBrushOrg PROC STDCALL mov r10 , rcx mov eax , 4274 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBrushOrg ENDP ; ULONG64 __stdcall NtUserBuildNameList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserBuildNameList PROC STDCALL mov r10 , rcx mov eax , 4275 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBuildNameList ENDP ; ULONG64 __stdcall NtGdiSetPixel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiSetPixel PROC STDCALL mov r10 , rcx mov eax , 4276 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetPixel ENDP ; ULONG64 __stdcall NtUserRegisterClassExWOW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserRegisterClassExWOW PROC STDCALL mov r10 , rcx mov eax , 4277 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterClassExWOW ENDP ; ULONG64 __stdcall NtGdiCreatePatternBrushInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiCreatePatternBrushInternal PROC STDCALL mov r10 , rcx mov eax , 4278 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreatePatternBrushInternal ENDP ; ULONG64 __stdcall NtUserGetAncestor( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetAncestor PROC STDCALL mov r10 , rcx mov eax , 4279 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetAncestor ENDP ; ULONG64 __stdcall NtGdiGetOutlineTextMetricsInternalW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetOutlineTextMetricsInternalW PROC STDCALL mov r10 , rcx mov eax , 4280 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetOutlineTextMetricsInternalW ENDP ; ULONG64 __stdcall NtGdiSetBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetBitmapBits PROC STDCALL mov r10 , rcx mov eax , 4281 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBitmapBits ENDP ; ULONG64 __stdcall NtUserCloseWindowStation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserCloseWindowStation PROC STDCALL mov r10 , rcx mov eax , 4282 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCloseWindowStation ENDP ; ULONG64 __stdcall NtUserGetDoubleClickTime( ); _6_0_6001_sp1_windows_vista_NtUserGetDoubleClickTime PROC STDCALL mov r10 , rcx mov eax , 4283 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetDoubleClickTime ENDP ; ULONG64 __stdcall NtUserEnableScrollBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserEnableScrollBar PROC STDCALL mov r10 , rcx mov eax , 4284 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEnableScrollBar ENDP ; ULONG64 __stdcall NtGdiCreateSolidBrush( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiCreateSolidBrush PROC STDCALL mov r10 , rcx mov eax , 4285 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateSolidBrush ENDP ; ULONG64 __stdcall NtUserGetClassInfoEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserGetClassInfoEx PROC STDCALL mov r10 , rcx mov eax , 4286 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClassInfoEx ENDP ; ULONG64 __stdcall NtGdiCreateClientObj( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCreateClientObj PROC STDCALL mov r10 , rcx mov eax , 4287 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateClientObj ENDP ; ULONG64 __stdcall NtUserUnregisterClass( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserUnregisterClass PROC STDCALL mov r10 , rcx mov eax , 4288 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnregisterClass ENDP ; ULONG64 __stdcall NtUserDeleteMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserDeleteMenu PROC STDCALL mov r10 , rcx mov eax , 4289 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDeleteMenu ENDP ; ULONG64 __stdcall NtGdiRectInRegion( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiRectInRegion PROC STDCALL mov r10 , rcx mov eax , 4290 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRectInRegion ENDP ; ULONG64 __stdcall NtUserScrollWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserScrollWindowEx PROC STDCALL mov r10 , rcx mov eax , 4291 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserScrollWindowEx ENDP ; ULONG64 __stdcall NtGdiGetPixel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetPixel PROC STDCALL mov r10 , rcx mov eax , 4292 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetPixel ENDP ; ULONG64 __stdcall NtUserSetClassLong( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetClassLong PROC STDCALL mov r10 , rcx mov eax , 4293 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetClassLong ENDP ; ULONG64 __stdcall NtUserGetMenuBarInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetMenuBarInfo PROC STDCALL mov r10 , rcx mov eax , 4294 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetMenuBarInfo ENDP ; ULONG64 __stdcall NtGdiDdCreateSurfaceEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurfaceEx PROC STDCALL mov r10 , rcx mov eax , 4295 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurfaceEx ENDP ; ULONG64 __stdcall NtGdiDdCreateSurfaceObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurfaceObject PROC STDCALL mov r10 , rcx mov eax , 4296 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateSurfaceObject ENDP ; ULONG64 __stdcall NtGdiGetNearestPaletteIndex( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetNearestPaletteIndex PROC STDCALL mov r10 , rcx mov eax , 4297 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetNearestPaletteIndex ENDP ; ULONG64 __stdcall NtGdiDdLockD3D( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdLockD3D PROC STDCALL mov r10 , rcx mov eax , 4298 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdLockD3D ENDP ; ULONG64 __stdcall NtGdiDdUnlockD3D( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdUnlockD3D PROC STDCALL mov r10 , rcx mov eax , 4299 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdUnlockD3D ENDP ; ULONG64 __stdcall NtGdiGetCharWidthW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGetCharWidthW PROC STDCALL mov r10 , rcx mov eax , 4300 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCharWidthW ENDP ; ULONG64 __stdcall NtUserInvalidateRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserInvalidateRgn PROC STDCALL mov r10 , rcx mov eax , 4301 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInvalidateRgn ENDP ; ULONG64 __stdcall NtUserGetClipboardOwner( ); _6_0_6001_sp1_windows_vista_NtUserGetClipboardOwner PROC STDCALL mov r10 , rcx mov eax , 4302 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipboardOwner ENDP ; ULONG64 __stdcall NtUserSetWindowRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowRgn PROC STDCALL mov r10 , rcx mov eax , 4303 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowRgn ENDP ; ULONG64 __stdcall NtUserBitBltSysBmp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserBitBltSysBmp PROC STDCALL mov r10 , rcx mov eax , 4304 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBitBltSysBmp ENDP ; ULONG64 __stdcall NtGdiGetCharWidthInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetCharWidthInfo PROC STDCALL mov r10 , rcx mov eax , 4305 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCharWidthInfo ENDP ; ULONG64 __stdcall NtUserValidateRect( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserValidateRect PROC STDCALL mov r10 , rcx mov eax , 4306 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserValidateRect ENDP ; ULONG64 __stdcall NtUserCloseClipboard( ); _6_0_6001_sp1_windows_vista_NtUserCloseClipboard PROC STDCALL mov r10 , rcx mov eax , 4307 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCloseClipboard ENDP ; ULONG64 __stdcall NtUserOpenClipboard( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserOpenClipboard PROC STDCALL mov r10 , rcx mov eax , 4308 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserOpenClipboard ENDP ; ULONG64 __stdcall NtGdiGetStockObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetStockObject PROC STDCALL mov r10 , rcx mov eax , 4309 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetStockObject ENDP ; ULONG64 __stdcall NtUserSetClipboardData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetClipboardData PROC STDCALL mov r10 , rcx mov eax , 4310 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetClipboardData ENDP ; ULONG64 __stdcall NtUserEnableMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserEnableMenuItem PROC STDCALL mov r10 , rcx mov eax , 4311 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEnableMenuItem ENDP ; ULONG64 __stdcall NtUserAlterWindowStyle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserAlterWindowStyle PROC STDCALL mov r10 , rcx mov eax , 4312 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserAlterWindowStyle ENDP ; ULONG64 __stdcall NtGdiFillRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiFillRgn PROC STDCALL mov r10 , rcx mov eax , 4313 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFillRgn ENDP ; ULONG64 __stdcall NtUserGetWindowPlacement( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetWindowPlacement PROC STDCALL mov r10 , rcx mov eax , 4314 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetWindowPlacement ENDP ; ULONG64 __stdcall NtGdiModifyWorldTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiModifyWorldTransform PROC STDCALL mov r10 , rcx mov eax , 4315 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiModifyWorldTransform ENDP ; ULONG64 __stdcall NtGdiGetFontData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiGetFontData PROC STDCALL mov r10 , rcx mov eax , 4316 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetFontData ENDP ; ULONG64 __stdcall NtUserGetOpenClipboardWindow( ); _6_0_6001_sp1_windows_vista_NtUserGetOpenClipboardWindow PROC STDCALL mov r10 , rcx mov eax , 4317 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetOpenClipboardWindow ENDP ; ULONG64 __stdcall NtUserSetThreadState( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetThreadState PROC STDCALL mov r10 , rcx mov eax , 4318 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetThreadState ENDP ; ULONG64 __stdcall NtGdiOpenDCW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiOpenDCW PROC STDCALL mov r10 , rcx mov eax , 4319 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiOpenDCW ENDP ; ULONG64 __stdcall NtUserTrackMouseEvent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserTrackMouseEvent PROC STDCALL mov r10 , rcx mov eax , 4320 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserTrackMouseEvent ENDP ; ULONG64 __stdcall NtGdiGetTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetTransform PROC STDCALL mov r10 , rcx mov eax , 4321 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTransform ENDP ; ULONG64 __stdcall NtUserDestroyMenu( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDestroyMenu PROC STDCALL mov r10 , rcx mov eax , 4322 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDestroyMenu ENDP ; ULONG64 __stdcall NtGdiGetBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetBitmapBits PROC STDCALL mov r10 , rcx mov eax , 4323 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetBitmapBits ENDP ; ULONG64 __stdcall NtUserConsoleControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserConsoleControl PROC STDCALL mov r10 , rcx mov eax , 4324 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserConsoleControl ENDP ; ULONG64 __stdcall NtUserSetActiveWindow( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetActiveWindow PROC STDCALL mov r10 , rcx mov eax , 4325 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetActiveWindow ENDP ; ULONG64 __stdcall NtUserSetInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetInformationThread PROC STDCALL mov r10 , rcx mov eax , 4326 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetInformationThread ENDP ; ULONG64 __stdcall NtUserSetWindowPlacement( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowPlacement PROC STDCALL mov r10 , rcx mov eax , 4327 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowPlacement ENDP ; ULONG64 __stdcall NtUserGetControlColor( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetControlColor PROC STDCALL mov r10 , rcx mov eax , 4328 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetControlColor ENDP ; ULONG64 __stdcall NtGdiSetMetaRgn( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSetMetaRgn PROC STDCALL mov r10 , rcx mov eax , 4329 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetMetaRgn ENDP ; ULONG64 __stdcall NtGdiSetMiterLimit( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetMiterLimit PROC STDCALL mov r10 , rcx mov eax , 4330 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetMiterLimit ENDP ; ULONG64 __stdcall NtGdiSetVirtualResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiSetVirtualResolution PROC STDCALL mov r10 , rcx mov eax , 4331 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetVirtualResolution ENDP ; ULONG64 __stdcall NtGdiGetRasterizerCaps( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetRasterizerCaps PROC STDCALL mov r10 , rcx mov eax , 4332 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetRasterizerCaps ENDP ; ULONG64 __stdcall NtUserSetWindowWord( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowWord PROC STDCALL mov r10 , rcx mov eax , 4333 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowWord ENDP ; ULONG64 __stdcall NtUserGetClipboardFormatName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetClipboardFormatName PROC STDCALL mov r10 , rcx mov eax , 4334 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipboardFormatName ENDP ; ULONG64 __stdcall NtUserRealInternalGetMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserRealInternalGetMessage PROC STDCALL mov r10 , rcx mov eax , 4335 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRealInternalGetMessage ENDP ; ULONG64 __stdcall NtUserCreateLocalMemHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserCreateLocalMemHandle PROC STDCALL mov r10 , rcx mov eax , 4336 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateLocalMemHandle ENDP ; ULONG64 __stdcall NtUserAttachThreadInput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserAttachThreadInput PROC STDCALL mov r10 , rcx mov eax , 4337 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserAttachThreadInput ENDP ; ULONG64 __stdcall NtGdiCreateHalftonePalette( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCreateHalftonePalette PROC STDCALL mov r10 , rcx mov eax , 4338 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateHalftonePalette ENDP ; ULONG64 __stdcall NtUserPaintMenuBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserPaintMenuBar PROC STDCALL mov r10 , rcx mov eax , 4339 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPaintMenuBar ENDP ; ULONG64 __stdcall NtUserSetKeyboardState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetKeyboardState PROC STDCALL mov r10 , rcx mov eax , 4340 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetKeyboardState ENDP ; ULONG64 __stdcall NtGdiCombineTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiCombineTransform PROC STDCALL mov r10 , rcx mov eax , 4341 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCombineTransform ENDP ; ULONG64 __stdcall NtUserCreateAcceleratorTable( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCreateAcceleratorTable PROC STDCALL mov r10 , rcx mov eax , 4342 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateAcceleratorTable ENDP ; ULONG64 __stdcall NtUserGetCursorFrameInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetCursorFrameInfo PROC STDCALL mov r10 , rcx mov eax , 4343 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetCursorFrameInfo ENDP ; ULONG64 __stdcall NtUserGetAltTabInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserGetAltTabInfo PROC STDCALL mov r10 , rcx mov eax , 4344 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetAltTabInfo ENDP ; ULONG64 __stdcall NtUserGetCaretBlinkTime( ); _6_0_6001_sp1_windows_vista_NtUserGetCaretBlinkTime PROC STDCALL mov r10 , rcx mov eax , 4345 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetCaretBlinkTime ENDP ; ULONG64 __stdcall NtGdiQueryFontAssocInfo( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiQueryFontAssocInfo PROC STDCALL mov r10 , rcx mov eax , 4346 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiQueryFontAssocInfo ENDP ; ULONG64 __stdcall NtUserProcessConnect( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserProcessConnect PROC STDCALL mov r10 , rcx mov eax , 4347 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserProcessConnect ENDP ; ULONG64 __stdcall NtUserEnumDisplayDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserEnumDisplayDevices PROC STDCALL mov r10 , rcx mov eax , 4348 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEnumDisplayDevices ENDP ; ULONG64 __stdcall NtUserEmptyClipboard( ); _6_0_6001_sp1_windows_vista_NtUserEmptyClipboard PROC STDCALL mov r10 , rcx mov eax , 4349 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEmptyClipboard ENDP ; ULONG64 __stdcall NtUserGetClipboardData( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetClipboardData PROC STDCALL mov r10 , rcx mov eax , 4350 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipboardData ENDP ; ULONG64 __stdcall NtUserRemoveMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserRemoveMenu PROC STDCALL mov r10 , rcx mov eax , 4351 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoveMenu ENDP ; ULONG64 __stdcall NtGdiSetBoundsRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetBoundsRect PROC STDCALL mov r10 , rcx mov eax , 4352 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBoundsRect ENDP ; ULONG64 __stdcall NtUserSetInformationProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetInformationProcess PROC STDCALL mov r10 , rcx mov eax , 4353 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetInformationProcess ENDP ; ULONG64 __stdcall NtGdiGetBitmapDimension( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetBitmapDimension PROC STDCALL mov r10 , rcx mov eax , 4354 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetBitmapDimension ENDP ; ULONG64 __stdcall NtUserConvertMemHandle( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserConvertMemHandle PROC STDCALL mov r10 , rcx mov eax , 4355 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserConvertMemHandle ENDP ; ULONG64 __stdcall NtUserDestroyAcceleratorTable( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDestroyAcceleratorTable PROC STDCALL mov r10 , rcx mov eax , 4356 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDestroyAcceleratorTable ENDP ; ULONG64 __stdcall NtUserGetGUIThreadInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetGUIThreadInfo PROC STDCALL mov r10 , rcx mov eax , 4357 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetGUIThreadInfo ENDP ; ULONG64 __stdcall NtGdiCloseFigure( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCloseFigure PROC STDCALL mov r10 , rcx mov eax , 4358 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCloseFigure ENDP ; ULONG64 __stdcall NtUserSetWindowsHookAW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowsHookAW PROC STDCALL mov r10 , rcx mov eax , 4359 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowsHookAW ENDP ; ULONG64 __stdcall NtUserSetMenuDefaultItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetMenuDefaultItem PROC STDCALL mov r10 , rcx mov eax , 4360 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetMenuDefaultItem ENDP ; ULONG64 __stdcall NtUserCheckMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCheckMenuItem PROC STDCALL mov r10 , rcx mov eax , 4361 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCheckMenuItem ENDP ; ULONG64 __stdcall NtUserSetWinEventHook( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserSetWinEventHook PROC STDCALL mov r10 , rcx mov eax , 4362 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWinEventHook ENDP ; ULONG64 __stdcall NtUserUnhookWinEvent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserUnhookWinEvent PROC STDCALL mov r10 , rcx mov eax , 4363 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnhookWinEvent ENDP ; ULONG64 __stdcall NtGdiSetupPublicCFONT( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetupPublicCFONT PROC STDCALL mov r10 , rcx mov eax , 4364 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetupPublicCFONT ENDP ; ULONG64 __stdcall NtUserLockWindowUpdate( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserLockWindowUpdate PROC STDCALL mov r10 , rcx mov eax , 4365 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserLockWindowUpdate ENDP ; ULONG64 __stdcall NtUserSetSystemMenu( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetSystemMenu PROC STDCALL mov r10 , rcx mov eax , 4366 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetSystemMenu ENDP ; ULONG64 __stdcall NtUserThunkedMenuInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserThunkedMenuInfo PROC STDCALL mov r10 , rcx mov eax , 4367 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserThunkedMenuInfo ENDP ; ULONG64 __stdcall NtGdiBeginPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiBeginPath PROC STDCALL mov r10 , rcx mov eax , 4368 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBeginPath ENDP ; ULONG64 __stdcall NtGdiEndPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEndPath PROC STDCALL mov r10 , rcx mov eax , 4369 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEndPath ENDP ; ULONG64 __stdcall NtGdiFillPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFillPath PROC STDCALL mov r10 , rcx mov eax , 4370 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFillPath ENDP ; ULONG64 __stdcall NtUserCallHwnd( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCallHwnd PROC STDCALL mov r10 , rcx mov eax , 4371 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallHwnd ENDP ; ULONG64 __stdcall NtUserDdeInitialize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserDdeInitialize PROC STDCALL mov r10 , rcx mov eax , 4372 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDdeInitialize ENDP ; ULONG64 __stdcall NtUserModifyUserStartupInfoFlags( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserModifyUserStartupInfoFlags PROC STDCALL mov r10 , rcx mov eax , 4373 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserModifyUserStartupInfoFlags ENDP ; ULONG64 __stdcall NtUserCountClipboardFormats( ); _6_0_6001_sp1_windows_vista_NtUserCountClipboardFormats PROC STDCALL mov r10 , rcx mov eax , 4374 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCountClipboardFormats ENDP ; ULONG64 __stdcall NtGdiAddFontMemResourceEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiAddFontMemResourceEx PROC STDCALL mov r10 , rcx mov eax , 4375 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAddFontMemResourceEx ENDP ; ULONG64 __stdcall NtGdiEqualRgn( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiEqualRgn PROC STDCALL mov r10 , rcx mov eax , 4376 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEqualRgn ENDP ; ULONG64 __stdcall NtGdiGetSystemPaletteUse( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetSystemPaletteUse PROC STDCALL mov r10 , rcx mov eax , 4377 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetSystemPaletteUse ENDP ; ULONG64 __stdcall NtGdiRemoveFontMemResourceEx( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiRemoveFontMemResourceEx PROC STDCALL mov r10 , rcx mov eax , 4378 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRemoveFontMemResourceEx ENDP ; ULONG64 __stdcall NtUserEnumDisplaySettings( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserEnumDisplaySettings PROC STDCALL mov r10 , rcx mov eax , 4379 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEnumDisplaySettings ENDP ; ULONG64 __stdcall NtUserPaintDesktop( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserPaintDesktop PROC STDCALL mov r10 , rcx mov eax , 4380 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPaintDesktop ENDP ; ULONG64 __stdcall NtGdiExtEscape( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiExtEscape PROC STDCALL mov r10 , rcx mov eax , 4381 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtEscape ENDP ; ULONG64 __stdcall NtGdiSetBitmapDimension( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiSetBitmapDimension PROC STDCALL mov r10 , rcx mov eax , 4382 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBitmapDimension ENDP ; ULONG64 __stdcall NtGdiSetFontEnumeration( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSetFontEnumeration PROC STDCALL mov r10 , rcx mov eax , 4383 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetFontEnumeration ENDP ; ULONG64 __stdcall NtUserChangeClipboardChain( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserChangeClipboardChain PROC STDCALL mov r10 , rcx mov eax , 4384 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserChangeClipboardChain ENDP ; ULONG64 __stdcall NtUserResolveDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserResolveDesktop PROC STDCALL mov r10 , rcx mov eax , 4385 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserResolveDesktop ENDP ; ULONG64 __stdcall NtUserSetClipboardViewer( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetClipboardViewer PROC STDCALL mov r10 , rcx mov eax , 4386 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetClipboardViewer ENDP ; ULONG64 __stdcall NtUserShowWindowAsync( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserShowWindowAsync PROC STDCALL mov r10 , rcx mov eax , 4387 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserShowWindowAsync ENDP ; ULONG64 __stdcall NtUserSetConsoleReserveKeys( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetConsoleReserveKeys PROC STDCALL mov r10 , rcx mov eax , 4388 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetConsoleReserveKeys ENDP ; ULONG64 __stdcall NtGdiCreateColorSpace( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCreateColorSpace PROC STDCALL mov r10 , rcx mov eax , 4389 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateColorSpace ENDP ; ULONG64 __stdcall NtGdiDeleteColorSpace( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDeleteColorSpace PROC STDCALL mov r10 , rcx mov eax , 4390 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDeleteColorSpace ENDP ; ULONG64 __stdcall NtUserActivateKeyboardLayout( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserActivateKeyboardLayout PROC STDCALL mov r10 , rcx mov eax , 4391 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserActivateKeyboardLayout ENDP ; ULONG64 __stdcall NtGdiAbortDoc( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiAbortDoc PROC STDCALL mov r10 , rcx mov eax , 4392 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAbortDoc ENDP ; ULONG64 __stdcall NtGdiAbortPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiAbortPath PROC STDCALL mov r10 , rcx mov eax , 4393 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAbortPath ENDP ; ULONG64 __stdcall NtGdiAddEmbFontToDC( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiAddEmbFontToDC PROC STDCALL mov r10 , rcx mov eax , 4394 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAddEmbFontToDC ENDP ; ULONG64 __stdcall NtGdiAddFontResourceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiAddFontResourceW PROC STDCALL mov r10 , rcx mov eax , 4395 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAddFontResourceW ENDP ; ULONG64 __stdcall NtGdiAddRemoteFontToDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiAddRemoteFontToDC PROC STDCALL mov r10 , rcx mov eax , 4396 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAddRemoteFontToDC ENDP ; ULONG64 __stdcall NtGdiAddRemoteMMInstanceToDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiAddRemoteMMInstanceToDC PROC STDCALL mov r10 , rcx mov eax , 4397 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAddRemoteMMInstanceToDC ENDP ; ULONG64 __stdcall NtGdiAngleArc( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiAngleArc PROC STDCALL mov r10 , rcx mov eax , 4398 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAngleArc ENDP ; ULONG64 __stdcall NtGdiAnyLinkedFonts( ); _6_0_6001_sp1_windows_vista_NtGdiAnyLinkedFonts PROC STDCALL mov r10 , rcx mov eax , 4399 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiAnyLinkedFonts ENDP ; ULONG64 __stdcall NtGdiArcInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtGdiArcInternal PROC STDCALL mov r10 , rcx mov eax , 4400 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiArcInternal ENDP ; ULONG64 __stdcall NtGdiBRUSHOBJ_DeleteRbrush( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_DeleteRbrush PROC STDCALL mov r10 , rcx mov eax , 4401 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_DeleteRbrush ENDP ; ULONG64 __stdcall NtGdiBRUSHOBJ_hGetColorTransform( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_hGetColorTransform PROC STDCALL mov r10 , rcx mov eax , 4402 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_hGetColorTransform ENDP ; ULONG64 __stdcall NtGdiBRUSHOBJ_pvAllocRbrush( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_pvAllocRbrush PROC STDCALL mov r10 , rcx mov eax , 4403 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_pvAllocRbrush ENDP ; ULONG64 __stdcall NtGdiBRUSHOBJ_pvGetRbrush( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_pvGetRbrush PROC STDCALL mov r10 , rcx mov eax , 4404 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_pvGetRbrush ENDP ; ULONG64 __stdcall NtGdiBRUSHOBJ_ulGetBrushColor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_ulGetBrushColor PROC STDCALL mov r10 , rcx mov eax , 4405 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiBRUSHOBJ_ulGetBrushColor ENDP ; ULONG64 __stdcall NtGdiCLIPOBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_bEnum PROC STDCALL mov r10 , rcx mov eax , 4406 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_bEnum ENDP ; ULONG64 __stdcall NtGdiCLIPOBJ_cEnumStart( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_cEnumStart PROC STDCALL mov r10 , rcx mov eax , 4407 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_cEnumStart ENDP ; ULONG64 __stdcall NtGdiCLIPOBJ_ppoGetPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_ppoGetPath PROC STDCALL mov r10 , rcx mov eax , 4408 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCLIPOBJ_ppoGetPath ENDP ; ULONG64 __stdcall NtGdiCancelDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCancelDC PROC STDCALL mov r10 , rcx mov eax , 4409 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCancelDC ENDP ; ULONG64 __stdcall NtGdiChangeGhostFont( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiChangeGhostFont PROC STDCALL mov r10 , rcx mov eax , 4410 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiChangeGhostFont ENDP ; ULONG64 __stdcall NtGdiCheckBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiCheckBitmapBits PROC STDCALL mov r10 , rcx mov eax , 4411 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCheckBitmapBits ENDP ; ULONG64 __stdcall NtGdiClearBitmapAttributes( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiClearBitmapAttributes PROC STDCALL mov r10 , rcx mov eax , 4412 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiClearBitmapAttributes ENDP ; ULONG64 __stdcall NtGdiClearBrushAttributes( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiClearBrushAttributes PROC STDCALL mov r10 , rcx mov eax , 4413 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiClearBrushAttributes ENDP ; ULONG64 __stdcall NtGdiColorCorrectPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiColorCorrectPalette PROC STDCALL mov r10 , rcx mov eax , 4414 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiColorCorrectPalette ENDP ; ULONG64 __stdcall NtGdiConfigureOPMProtectedOutput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiConfigureOPMProtectedOutput PROC STDCALL mov r10 , rcx mov eax , 4415 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiConfigureOPMProtectedOutput ENDP ; ULONG64 __stdcall NtGdiConvertMetafileRect( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiConvertMetafileRect PROC STDCALL mov r10 , rcx mov eax , 4416 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiConvertMetafileRect ENDP ; ULONG64 __stdcall NtGdiCreateColorTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiCreateColorTransform PROC STDCALL mov r10 , rcx mov eax , 4417 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateColorTransform ENDP ; ULONG64 __stdcall NtGdiCreateEllipticRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiCreateEllipticRgn PROC STDCALL mov r10 , rcx mov eax , 4418 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateEllipticRgn ENDP ; ULONG64 __stdcall NtGdiCreateHatchBrushInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiCreateHatchBrushInternal PROC STDCALL mov r10 , rcx mov eax , 4419 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateHatchBrushInternal ENDP ; ULONG64 __stdcall NtGdiCreateMetafileDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiCreateMetafileDC PROC STDCALL mov r10 , rcx mov eax , 4420 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateMetafileDC ENDP ; ULONG64 __stdcall NtGdiCreateOPMProtectedOutputs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiCreateOPMProtectedOutputs PROC STDCALL mov r10 , rcx mov eax , 4421 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateOPMProtectedOutputs ENDP ; ULONG64 __stdcall NtGdiCreateRoundRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiCreateRoundRectRgn PROC STDCALL mov r10 , rcx mov eax , 4422 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateRoundRectRgn ENDP ; ULONG64 __stdcall NtGdiCreateServerMetaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiCreateServerMetaFile PROC STDCALL mov r10 , rcx mov eax , 4423 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiCreateServerMetaFile ENDP ; ULONG64 __stdcall NtGdiD3dContextCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiD3dContextCreate PROC STDCALL mov r10 , rcx mov eax , 4424 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiD3dContextCreate ENDP ; ULONG64 __stdcall NtGdiD3dContextDestroy( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiD3dContextDestroy PROC STDCALL mov r10 , rcx mov eax , 4425 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiD3dContextDestroy ENDP ; ULONG64 __stdcall NtGdiD3dContextDestroyAll( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiD3dContextDestroyAll PROC STDCALL mov r10 , rcx mov eax , 4426 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiD3dContextDestroyAll ENDP ; ULONG64 __stdcall NtGdiD3dValidateTextureStageState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiD3dValidateTextureStageState PROC STDCALL mov r10 , rcx mov eax , 4427 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiD3dValidateTextureStageState ENDP ; ULONG64 __stdcall NtGdiDDCCIGetCapabilitiesString( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetCapabilitiesString PROC STDCALL mov r10 , rcx mov eax , 4428 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetCapabilitiesString ENDP ; ULONG64 __stdcall NtGdiDDCCIGetCapabilitiesStringLength( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetCapabilitiesStringLength PROC STDCALL mov r10 , rcx mov eax , 4429 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetCapabilitiesStringLength ENDP ; ULONG64 __stdcall NtGdiDDCCIGetTimingReport( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetTimingReport PROC STDCALL mov r10 , rcx mov eax , 4430 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetTimingReport ENDP ; ULONG64 __stdcall NtGdiDDCCIGetVCPFeature( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetVCPFeature PROC STDCALL mov r10 , rcx mov eax , 4431 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCIGetVCPFeature ENDP ; ULONG64 __stdcall NtGdiDDCCISaveCurrentSettings( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCISaveCurrentSettings PROC STDCALL mov r10 , rcx mov eax , 4432 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCISaveCurrentSettings ENDP ; ULONG64 __stdcall NtGdiDDCCISetVCPFeature( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDDCCISetVCPFeature PROC STDCALL mov r10 , rcx mov eax , 4433 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDDCCISetVCPFeature ENDP ; ULONG64 __stdcall NtGdiDdAddAttachedSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdAddAttachedSurface PROC STDCALL mov r10 , rcx mov eax , 4434 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdAddAttachedSurface ENDP ; ULONG64 __stdcall NtGdiDdAlphaBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdAlphaBlt PROC STDCALL mov r10 , rcx mov eax , 4435 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdAlphaBlt ENDP ; ULONG64 __stdcall NtGdiDdAttachSurface( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdAttachSurface PROC STDCALL mov r10 , rcx mov eax , 4436 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdAttachSurface ENDP ; ULONG64 __stdcall NtGdiDdBeginMoCompFrame( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdBeginMoCompFrame PROC STDCALL mov r10 , rcx mov eax , 4437 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdBeginMoCompFrame ENDP ; ULONG64 __stdcall NtGdiDdCanCreateD3DBuffer( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdCanCreateD3DBuffer PROC STDCALL mov r10 , rcx mov eax , 4438 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCanCreateD3DBuffer ENDP ; ULONG64 __stdcall NtGdiDdColorControl( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdColorControl PROC STDCALL mov r10 , rcx mov eax , 4439 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdColorControl ENDP ; ULONG64 __stdcall NtGdiDdCreateD3DBuffer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateD3DBuffer PROC STDCALL mov r10 , rcx mov eax , 4440 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateD3DBuffer ENDP ; ULONG64 __stdcall NtGdiDdCreateDirectDrawObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateDirectDrawObject PROC STDCALL mov r10 , rcx mov eax , 4441 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateDirectDrawObject ENDP ; ULONG64 __stdcall NtGdiDdCreateMoComp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdCreateMoComp PROC STDCALL mov r10 , rcx mov eax , 4442 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdCreateMoComp ENDP ; ULONG64 __stdcall NtGdiDdDDICheckExclusiveOwnership( ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckExclusiveOwnership PROC STDCALL mov r10 , rcx mov eax , 4443 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckExclusiveOwnership ENDP ; ULONG64 __stdcall NtGdiDdDDICheckMonitorPowerState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckMonitorPowerState PROC STDCALL mov r10 , rcx mov eax , 4444 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckMonitorPowerState ENDP ; ULONG64 __stdcall NtGdiDdDDICheckOcclusion( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckOcclusion PROC STDCALL mov r10 , rcx mov eax , 4445 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICheckOcclusion ENDP ; ULONG64 __stdcall NtGdiDdDDICloseAdapter( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICloseAdapter PROC STDCALL mov r10 , rcx mov eax , 4446 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICloseAdapter ENDP ; ULONG64 __stdcall NtGdiDdDDICreateAllocation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateAllocation PROC STDCALL mov r10 , rcx mov eax , 4447 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateAllocation ENDP ; ULONG64 __stdcall NtGdiDdDDICreateContext( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateContext PROC STDCALL mov r10 , rcx mov eax , 4448 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateContext ENDP ; ULONG64 __stdcall NtGdiDdDDICreateDCFromMemory( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateDCFromMemory PROC STDCALL mov r10 , rcx mov eax , 4449 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateDCFromMemory ENDP ; ULONG64 __stdcall NtGdiDdDDICreateDevice( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateDevice PROC STDCALL mov r10 , rcx mov eax , 4450 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateDevice ENDP ; ULONG64 __stdcall NtGdiDdDDICreateOverlay( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateOverlay PROC STDCALL mov r10 , rcx mov eax , 4451 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateOverlay ENDP ; ULONG64 __stdcall NtGdiDdDDICreateSynchronizationObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateSynchronizationObject PROC STDCALL mov r10 , rcx mov eax , 4452 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDICreateSynchronizationObject ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroyAllocation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyAllocation PROC STDCALL mov r10 , rcx mov eax , 4453 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyAllocation ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroyContext( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyContext PROC STDCALL mov r10 , rcx mov eax , 4454 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyContext ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroyDCFromMemory( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyDCFromMemory PROC STDCALL mov r10 , rcx mov eax , 4455 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyDCFromMemory ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroyDevice( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyDevice PROC STDCALL mov r10 , rcx mov eax , 4456 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyDevice ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroyOverlay( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyOverlay PROC STDCALL mov r10 , rcx mov eax , 4457 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroyOverlay ENDP ; ULONG64 __stdcall NtGdiDdDDIDestroySynchronizationObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroySynchronizationObject PROC STDCALL mov r10 , rcx mov eax , 4458 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIDestroySynchronizationObject ENDP ; ULONG64 __stdcall NtGdiDdDDIEscape( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIEscape PROC STDCALL mov r10 , rcx mov eax , 4459 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIEscape ENDP ; ULONG64 __stdcall NtGdiDdDDIFlipOverlay( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIFlipOverlay PROC STDCALL mov r10 , rcx mov eax , 4460 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIFlipOverlay ENDP ; ULONG64 __stdcall NtGdiDdDDIGetContextSchedulingPriority( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetContextSchedulingPriority PROC STDCALL mov r10 , rcx mov eax , 4461 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetContextSchedulingPriority ENDP ; ULONG64 __stdcall NtGdiDdDDIGetDeviceState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetDeviceState PROC STDCALL mov r10 , rcx mov eax , 4462 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetDeviceState ENDP ; ULONG64 __stdcall NtGdiDdDDIGetDisplayModeList( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetDisplayModeList PROC STDCALL mov r10 , rcx mov eax , 4463 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetDisplayModeList ENDP ; ULONG64 __stdcall NtGdiDdDDIGetMultisampleMethodList( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetMultisampleMethodList PROC STDCALL mov r10 , rcx mov eax , 4464 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetMultisampleMethodList ENDP ; ULONG64 __stdcall NtGdiDdDDIGetPresentHistory( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetPresentHistory PROC STDCALL mov r10 , rcx mov eax , 4465 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetPresentHistory ENDP ; ULONG64 __stdcall NtGdiDdDDIGetProcessSchedulingPriorityClass( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetProcessSchedulingPriorityClass PROC STDCALL mov r10 , rcx mov eax , 4466 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetProcessSchedulingPriorityClass ENDP ; ULONG64 __stdcall NtGdiDdDDIGetRuntimeData( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetRuntimeData PROC STDCALL mov r10 , rcx mov eax , 4467 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetRuntimeData ENDP ; ULONG64 __stdcall NtGdiDdDDIGetScanLine( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetScanLine PROC STDCALL mov r10 , rcx mov eax , 4468 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetScanLine ENDP ; ULONG64 __stdcall NtGdiDdDDIGetSharedPrimaryHandle( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetSharedPrimaryHandle PROC STDCALL mov r10 , rcx mov eax , 4469 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIGetSharedPrimaryHandle ENDP ; ULONG64 __stdcall NtGdiDdDDIInvalidateActiveVidPn( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIInvalidateActiveVidPn PROC STDCALL mov r10 , rcx mov eax , 4470 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIInvalidateActiveVidPn ENDP ; ULONG64 __stdcall NtGdiDdDDILock( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDILock PROC STDCALL mov r10 , rcx mov eax , 4471 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDILock ENDP ; ULONG64 __stdcall NtGdiDdDDIOpenAdapterFromDeviceName( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenAdapterFromDeviceName PROC STDCALL mov r10 , rcx mov eax , 4472 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenAdapterFromDeviceName ENDP ; ULONG64 __stdcall NtGdiDdDDIOpenAdapterFromHdc( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenAdapterFromHdc PROC STDCALL mov r10 , rcx mov eax , 4473 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenAdapterFromHdc ENDP ; ULONG64 __stdcall NtGdiDdDDIOpenResource( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenResource PROC STDCALL mov r10 , rcx mov eax , 4474 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIOpenResource ENDP ; ULONG64 __stdcall NtGdiDdDDIPollDisplayChildren( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIPollDisplayChildren PROC STDCALL mov r10 , rcx mov eax , 4475 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIPollDisplayChildren ENDP ; ULONG64 __stdcall NtGdiDdDDIPresent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIPresent PROC STDCALL mov r10 , rcx mov eax , 4476 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIPresent ENDP ; ULONG64 __stdcall NtGdiDdDDIQueryAdapterInfo( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryAdapterInfo PROC STDCALL mov r10 , rcx mov eax , 4477 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryAdapterInfo ENDP ; ULONG64 __stdcall NtGdiDdDDIQueryAllocationResidency( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryAllocationResidency PROC STDCALL mov r10 , rcx mov eax , 4478 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryAllocationResidency ENDP ; ULONG64 __stdcall NtGdiDdDDIQueryResourceInfo( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryResourceInfo PROC STDCALL mov r10 , rcx mov eax , 4479 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryResourceInfo ENDP ; ULONG64 __stdcall NtGdiDdDDIQueryStatistics( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryStatistics PROC STDCALL mov r10 , rcx mov eax , 4480 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIQueryStatistics ENDP ; ULONG64 __stdcall NtGdiDdDDIReleaseProcessVidPnSourceOwners( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIReleaseProcessVidPnSourceOwners PROC STDCALL mov r10 , rcx mov eax , 4481 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIReleaseProcessVidPnSourceOwners ENDP ; ULONG64 __stdcall NtGdiDdDDIRender( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIRender PROC STDCALL mov r10 , rcx mov eax , 4482 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIRender ENDP ; ULONG64 __stdcall NtGdiDdDDISetAllocationPriority( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetAllocationPriority PROC STDCALL mov r10 , rcx mov eax , 4483 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetAllocationPriority ENDP ; ULONG64 __stdcall NtGdiDdDDISetContextSchedulingPriority( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetContextSchedulingPriority PROC STDCALL mov r10 , rcx mov eax , 4484 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetContextSchedulingPriority ENDP ; ULONG64 __stdcall NtGdiDdDDISetDisplayMode( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetDisplayMode PROC STDCALL mov r10 , rcx mov eax , 4485 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetDisplayMode ENDP ; ULONG64 __stdcall NtGdiDdDDISetDisplayPrivateDriverFormat( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetDisplayPrivateDriverFormat PROC STDCALL mov r10 , rcx mov eax , 4486 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetDisplayPrivateDriverFormat ENDP ; ULONG64 __stdcall NtGdiDdDDISetGammaRamp( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetGammaRamp PROC STDCALL mov r10 , rcx mov eax , 4487 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetGammaRamp ENDP ; ULONG64 __stdcall NtGdiDdDDISetProcessSchedulingPriorityClass( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetProcessSchedulingPriorityClass PROC STDCALL mov r10 , rcx mov eax , 4488 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetProcessSchedulingPriorityClass ENDP ; ULONG64 __stdcall NtGdiDdDDISetQueuedLimit( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetQueuedLimit PROC STDCALL mov r10 , rcx mov eax , 4489 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetQueuedLimit ENDP ; ULONG64 __stdcall NtGdiDdDDISetVidPnSourceOwner( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISetVidPnSourceOwner PROC STDCALL mov r10 , rcx mov eax , 4490 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISetVidPnSourceOwner ENDP ; ULONG64 __stdcall NtGdiDdDDISharedPrimaryLockNotification( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISharedPrimaryLockNotification PROC STDCALL mov r10 , rcx mov eax , 4491 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISharedPrimaryLockNotification ENDP ; ULONG64 __stdcall NtGdiDdDDISharedPrimaryUnLockNotification( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISharedPrimaryUnLockNotification PROC STDCALL mov r10 , rcx mov eax , 4492 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISharedPrimaryUnLockNotification ENDP ; ULONG64 __stdcall NtGdiDdDDISignalSynchronizationObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDISignalSynchronizationObject PROC STDCALL mov r10 , rcx mov eax , 4493 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDISignalSynchronizationObject ENDP ; ULONG64 __stdcall NtGdiDdDDIUnlock( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIUnlock PROC STDCALL mov r10 , rcx mov eax , 4494 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIUnlock ENDP ; ULONG64 __stdcall NtGdiDdDDIUpdateOverlay( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIUpdateOverlay PROC STDCALL mov r10 , rcx mov eax , 4495 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIUpdateOverlay ENDP ; ULONG64 __stdcall NtGdiDdDDIWaitForIdle( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForIdle PROC STDCALL mov r10 , rcx mov eax , 4496 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForIdle ENDP ; ULONG64 __stdcall NtGdiDdDDIWaitForSynchronizationObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForSynchronizationObject PROC STDCALL mov r10 , rcx mov eax , 4497 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForSynchronizationObject ENDP ; ULONG64 __stdcall NtGdiDdDDIWaitForVerticalBlankEvent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForVerticalBlankEvent PROC STDCALL mov r10 , rcx mov eax , 4498 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDDIWaitForVerticalBlankEvent ENDP ; ULONG64 __stdcall NtGdiDdDeleteDirectDrawObject( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDeleteDirectDrawObject PROC STDCALL mov r10 , rcx mov eax , 4499 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDeleteDirectDrawObject ENDP ; ULONG64 __stdcall NtGdiDdDestroyD3DBuffer( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdDestroyD3DBuffer PROC STDCALL mov r10 , rcx mov eax , 4500 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDestroyD3DBuffer ENDP ; ULONG64 __stdcall NtGdiDdDestroyMoComp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdDestroyMoComp PROC STDCALL mov r10 , rcx mov eax , 4501 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdDestroyMoComp ENDP ; ULONG64 __stdcall NtGdiDdEndMoCompFrame( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdEndMoCompFrame PROC STDCALL mov r10 , rcx mov eax , 4502 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdEndMoCompFrame ENDP ; ULONG64 __stdcall NtGdiDdFlip( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiDdFlip PROC STDCALL mov r10 , rcx mov eax , 4503 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdFlip ENDP ; ULONG64 __stdcall NtGdiDdFlipToGDISurface( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdFlipToGDISurface PROC STDCALL mov r10 , rcx mov eax , 4504 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdFlipToGDISurface ENDP ; ULONG64 __stdcall NtGdiDdGetAvailDriverMemory( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetAvailDriverMemory PROC STDCALL mov r10 , rcx mov eax , 4505 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetAvailDriverMemory ENDP ; ULONG64 __stdcall NtGdiDdGetBltStatus( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetBltStatus PROC STDCALL mov r10 , rcx mov eax , 4506 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetBltStatus ENDP ; ULONG64 __stdcall NtGdiDdGetDC( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetDC PROC STDCALL mov r10 , rcx mov eax , 4507 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetDC ENDP ; ULONG64 __stdcall NtGdiDdGetDriverInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetDriverInfo PROC STDCALL mov r10 , rcx mov eax , 4508 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetDriverInfo ENDP ; ULONG64 __stdcall NtGdiDdGetDriverState( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetDriverState PROC STDCALL mov r10 , rcx mov eax , 4509 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetDriverState ENDP ; ULONG64 __stdcall NtGdiDdGetDxHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetDxHandle PROC STDCALL mov r10 , rcx mov eax , 4510 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetDxHandle ENDP ; ULONG64 __stdcall NtGdiDdGetFlipStatus( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetFlipStatus PROC STDCALL mov r10 , rcx mov eax , 4511 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetFlipStatus ENDP ; ULONG64 __stdcall NtGdiDdGetInternalMoCompInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetInternalMoCompInfo PROC STDCALL mov r10 , rcx mov eax , 4512 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetInternalMoCompInfo ENDP ; ULONG64 __stdcall NtGdiDdGetMoCompBuffInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompBuffInfo PROC STDCALL mov r10 , rcx mov eax , 4513 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompBuffInfo ENDP ; ULONG64 __stdcall NtGdiDdGetMoCompFormats( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompFormats PROC STDCALL mov r10 , rcx mov eax , 4514 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompFormats ENDP ; ULONG64 __stdcall NtGdiDdGetMoCompGuids( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompGuids PROC STDCALL mov r10 , rcx mov eax , 4515 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetMoCompGuids ENDP ; ULONG64 __stdcall NtGdiDdGetScanLine( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdGetScanLine PROC STDCALL mov r10 , rcx mov eax , 4516 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdGetScanLine ENDP ; ULONG64 __stdcall NtGdiDdLock( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdLock PROC STDCALL mov r10 , rcx mov eax , 4517 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdLock ENDP ; ULONG64 __stdcall NtGdiDdQueryDirectDrawObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiDdQueryDirectDrawObject PROC STDCALL mov r10 , rcx mov eax , 4518 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdQueryDirectDrawObject ENDP ; ULONG64 __stdcall NtGdiDdQueryMoCompStatus( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdQueryMoCompStatus PROC STDCALL mov r10 , rcx mov eax , 4519 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdQueryMoCompStatus ENDP ; ULONG64 __stdcall NtGdiDdReenableDirectDrawObject( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdReenableDirectDrawObject PROC STDCALL mov r10 , rcx mov eax , 4520 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdReenableDirectDrawObject ENDP ; ULONG64 __stdcall NtGdiDdReleaseDC( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDdReleaseDC PROC STDCALL mov r10 , rcx mov eax , 4521 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdReleaseDC ENDP ; ULONG64 __stdcall NtGdiDdRenderMoComp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdRenderMoComp PROC STDCALL mov r10 , rcx mov eax , 4522 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdRenderMoComp ENDP ; ULONG64 __stdcall NtGdiDdSetColorKey( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdSetColorKey PROC STDCALL mov r10 , rcx mov eax , 4523 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdSetColorKey ENDP ; ULONG64 __stdcall NtGdiDdSetExclusiveMode( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdSetExclusiveMode PROC STDCALL mov r10 , rcx mov eax , 4524 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdSetExclusiveMode ENDP ; ULONG64 __stdcall NtGdiDdSetGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdSetGammaRamp PROC STDCALL mov r10 , rcx mov eax , 4525 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdSetGammaRamp ENDP ; ULONG64 __stdcall NtGdiDdSetOverlayPosition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdSetOverlayPosition PROC STDCALL mov r10 , rcx mov eax , 4526 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdSetOverlayPosition ENDP ; ULONG64 __stdcall NtGdiDdUnattachSurface( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdUnattachSurface PROC STDCALL mov r10 , rcx mov eax , 4527 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdUnattachSurface ENDP ; ULONG64 __stdcall NtGdiDdUnlock( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdUnlock PROC STDCALL mov r10 , rcx mov eax , 4528 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdUnlock ENDP ; ULONG64 __stdcall NtGdiDdUpdateOverlay( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDdUpdateOverlay PROC STDCALL mov r10 , rcx mov eax , 4529 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdUpdateOverlay ENDP ; ULONG64 __stdcall NtGdiDdWaitForVerticalBlank( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDdWaitForVerticalBlank PROC STDCALL mov r10 , rcx mov eax , 4530 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDdWaitForVerticalBlank ENDP ; ULONG64 __stdcall NtGdiDeleteColorTransform( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDeleteColorTransform PROC STDCALL mov r10 , rcx mov eax , 4531 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDeleteColorTransform ENDP ; ULONG64 __stdcall NtGdiDescribePixelFormat( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiDescribePixelFormat PROC STDCALL mov r10 , rcx mov eax , 4532 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDescribePixelFormat ENDP ; ULONG64 __stdcall NtGdiDestroyOPMProtectedOutput( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDestroyOPMProtectedOutput PROC STDCALL mov r10 , rcx mov eax , 4533 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDestroyOPMProtectedOutput ENDP ; ULONG64 __stdcall NtGdiDestroyPhysicalMonitor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiDestroyPhysicalMonitor PROC STDCALL mov r10 , rcx mov eax , 4534 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDestroyPhysicalMonitor ENDP ; ULONG64 __stdcall NtGdiDoBanding( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiDoBanding PROC STDCALL mov r10 , rcx mov eax , 4535 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDoBanding ENDP ; ULONG64 __stdcall NtGdiDrawEscape( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiDrawEscape PROC STDCALL mov r10 , rcx mov eax , 4536 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDrawEscape ENDP ; ULONG64 __stdcall NtGdiDvpAcquireNotification( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiDvpAcquireNotification PROC STDCALL mov r10 , rcx mov eax , 4537 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpAcquireNotification ENDP ; ULONG64 __stdcall NtGdiDvpCanCreateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpCanCreateVideoPort PROC STDCALL mov r10 , rcx mov eax , 4538 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpCanCreateVideoPort ENDP ; ULONG64 __stdcall NtGdiDvpColorControl( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpColorControl PROC STDCALL mov r10 , rcx mov eax , 4539 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpColorControl ENDP ; ULONG64 __stdcall NtGdiDvpCreateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpCreateVideoPort PROC STDCALL mov r10 , rcx mov eax , 4540 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpCreateVideoPort ENDP ; ULONG64 __stdcall NtGdiDvpDestroyVideoPort( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpDestroyVideoPort PROC STDCALL mov r10 , rcx mov eax , 4541 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpDestroyVideoPort ENDP ; ULONG64 __stdcall NtGdiDvpFlipVideoPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiDvpFlipVideoPort PROC STDCALL mov r10 , rcx mov eax , 4542 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpFlipVideoPort ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortBandwidth( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortBandwidth PROC STDCALL mov r10 , rcx mov eax , 4543 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortBandwidth ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortConnectInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortConnectInfo PROC STDCALL mov r10 , rcx mov eax , 4544 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortConnectInfo ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortField( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortField PROC STDCALL mov r10 , rcx mov eax , 4545 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortField ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortFlipStatus( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortFlipStatus PROC STDCALL mov r10 , rcx mov eax , 4546 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortFlipStatus ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortInputFormats( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortInputFormats PROC STDCALL mov r10 , rcx mov eax , 4547 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortInputFormats ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortLine( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortLine PROC STDCALL mov r10 , rcx mov eax , 4548 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortLine ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoPortOutputFormats( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortOutputFormats PROC STDCALL mov r10 , rcx mov eax , 4549 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoPortOutputFormats ENDP ; ULONG64 __stdcall NtGdiDvpGetVideoSignalStatus( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoSignalStatus PROC STDCALL mov r10 , rcx mov eax , 4550 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpGetVideoSignalStatus ENDP ; ULONG64 __stdcall NtGdiDvpReleaseNotification( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpReleaseNotification PROC STDCALL mov r10 , rcx mov eax , 4551 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpReleaseNotification ENDP ; ULONG64 __stdcall NtGdiDvpUpdateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiDvpUpdateVideoPort PROC STDCALL mov r10 , rcx mov eax , 4552 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpUpdateVideoPort ENDP ; ULONG64 __stdcall NtGdiDvpWaitForVideoPortSync( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDvpWaitForVideoPortSync PROC STDCALL mov r10 , rcx mov eax , 4553 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDvpWaitForVideoPortSync ENDP ; ULONG64 __stdcall NtGdiDwmGetDirtyRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiDwmGetDirtyRgn PROC STDCALL mov r10 , rcx mov eax , 4554 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDwmGetDirtyRgn ENDP ; ULONG64 __stdcall NtGdiDwmGetSurfaceData( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiDwmGetSurfaceData PROC STDCALL mov r10 , rcx mov eax , 4555 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDwmGetSurfaceData ENDP ; ULONG64 __stdcall NtGdiDxgGenericThunk( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiDxgGenericThunk PROC STDCALL mov r10 , rcx mov eax , 4556 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiDxgGenericThunk ENDP ; ULONG64 __stdcall NtGdiEllipse( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiEllipse PROC STDCALL mov r10 , rcx mov eax , 4557 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEllipse ENDP ; ULONG64 __stdcall NtGdiEnableEudc( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEnableEudc PROC STDCALL mov r10 , rcx mov eax , 4558 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEnableEudc ENDP ; ULONG64 __stdcall NtGdiEndDoc( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEndDoc PROC STDCALL mov r10 , rcx mov eax , 4559 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEndDoc ENDP ; ULONG64 __stdcall NtGdiEndPage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEndPage PROC STDCALL mov r10 , rcx mov eax , 4560 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEndPage ENDP ; ULONG64 __stdcall NtGdiEngAlphaBlend( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiEngAlphaBlend PROC STDCALL mov r10 , rcx mov eax , 4561 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngAlphaBlend ENDP ; ULONG64 __stdcall NtGdiEngAssociateSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiEngAssociateSurface PROC STDCALL mov r10 , rcx mov eax , 4562 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngAssociateSurface ENDP ; ULONG64 __stdcall NtGdiEngBitBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiEngBitBlt PROC STDCALL mov r10 , rcx mov eax , 4563 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngBitBlt ENDP ; ULONG64 __stdcall NtGdiEngCheckAbort( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngCheckAbort PROC STDCALL mov r10 , rcx mov eax , 4564 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCheckAbort ENDP ; ULONG64 __stdcall NtGdiEngComputeGlyphSet( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiEngComputeGlyphSet PROC STDCALL mov r10 , rcx mov eax , 4565 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngComputeGlyphSet ENDP ; ULONG64 __stdcall NtGdiEngCopyBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiEngCopyBits PROC STDCALL mov r10 , rcx mov eax , 4566 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCopyBits ENDP ; ULONG64 __stdcall NtGdiEngCreateBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiEngCreateBitmap PROC STDCALL mov r10 , rcx mov eax , 4567 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCreateBitmap ENDP ; ULONG64 __stdcall NtGdiEngCreateClip( ); _6_0_6001_sp1_windows_vista_NtGdiEngCreateClip PROC STDCALL mov r10 , rcx mov eax , 4568 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCreateClip ENDP ; ULONG64 __stdcall NtGdiEngCreateDeviceBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiEngCreateDeviceBitmap PROC STDCALL mov r10 , rcx mov eax , 4569 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCreateDeviceBitmap ENDP ; ULONG64 __stdcall NtGdiEngCreateDeviceSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiEngCreateDeviceSurface PROC STDCALL mov r10 , rcx mov eax , 4570 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCreateDeviceSurface ENDP ; ULONG64 __stdcall NtGdiEngCreatePalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiEngCreatePalette PROC STDCALL mov r10 , rcx mov eax , 4571 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngCreatePalette ENDP ; ULONG64 __stdcall NtGdiEngDeleteClip( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngDeleteClip PROC STDCALL mov r10 , rcx mov eax , 4572 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngDeleteClip ENDP ; ULONG64 __stdcall NtGdiEngDeletePalette( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngDeletePalette PROC STDCALL mov r10 , rcx mov eax , 4573 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngDeletePalette ENDP ; ULONG64 __stdcall NtGdiEngDeletePath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngDeletePath PROC STDCALL mov r10 , rcx mov eax , 4574 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngDeletePath ENDP ; ULONG64 __stdcall NtGdiEngDeleteSurface( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngDeleteSurface PROC STDCALL mov r10 , rcx mov eax , 4575 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngDeleteSurface ENDP ; ULONG64 __stdcall NtGdiEngEraseSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiEngEraseSurface PROC STDCALL mov r10 , rcx mov eax , 4576 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngEraseSurface ENDP ; ULONG64 __stdcall NtGdiEngFillPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiEngFillPath PROC STDCALL mov r10 , rcx mov eax , 4577 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngFillPath ENDP ; ULONG64 __stdcall NtGdiEngGradientFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtGdiEngGradientFill PROC STDCALL mov r10 , rcx mov eax , 4578 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngGradientFill ENDP ; ULONG64 __stdcall NtGdiEngLineTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); _6_0_6001_sp1_windows_vista_NtGdiEngLineTo PROC STDCALL mov r10 , rcx mov eax , 4579 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngLineTo ENDP ; ULONG64 __stdcall NtGdiEngLockSurface( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngLockSurface PROC STDCALL mov r10 , rcx mov eax , 4580 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngLockSurface ENDP ; ULONG64 __stdcall NtGdiEngMarkBandingSurface( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngMarkBandingSurface PROC STDCALL mov r10 , rcx mov eax , 4581 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngMarkBandingSurface ENDP ; ULONG64 __stdcall NtGdiEngPaint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiEngPaint PROC STDCALL mov r10 , rcx mov eax , 4582 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngPaint ENDP ; ULONG64 __stdcall NtGdiEngPlgBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiEngPlgBlt PROC STDCALL mov r10 , rcx mov eax , 4583 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngPlgBlt ENDP ; ULONG64 __stdcall NtGdiEngStretchBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiEngStretchBlt PROC STDCALL mov r10 , rcx mov eax , 4584 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngStretchBlt ENDP ; ULONG64 __stdcall NtGdiEngStretchBltROP( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 ); _6_0_6001_sp1_windows_vista_NtGdiEngStretchBltROP PROC STDCALL mov r10 , rcx mov eax , 4585 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngStretchBltROP ENDP ; ULONG64 __stdcall NtGdiEngStrokeAndFillPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtGdiEngStrokeAndFillPath PROC STDCALL mov r10 , rcx mov eax , 4586 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngStrokeAndFillPath ENDP ; ULONG64 __stdcall NtGdiEngStrokePath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiEngStrokePath PROC STDCALL mov r10 , rcx mov eax , 4587 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngStrokePath ENDP ; ULONG64 __stdcall NtGdiEngTextOut( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtGdiEngTextOut PROC STDCALL mov r10 , rcx mov eax , 4588 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngTextOut ENDP ; ULONG64 __stdcall NtGdiEngTransparentBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiEngTransparentBlt PROC STDCALL mov r10 , rcx mov eax , 4589 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngTransparentBlt ENDP ; ULONG64 __stdcall NtGdiEngUnlockSurface( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiEngUnlockSurface PROC STDCALL mov r10 , rcx mov eax , 4590 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEngUnlockSurface ENDP ; ULONG64 __stdcall NtGdiEnumObjects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiEnumObjects PROC STDCALL mov r10 , rcx mov eax , 4591 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEnumObjects ENDP ; ULONG64 __stdcall NtGdiEudcLoadUnloadLink( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiEudcLoadUnloadLink PROC STDCALL mov r10 , rcx mov eax , 4592 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiEudcLoadUnloadLink ENDP ; ULONG64 __stdcall NtGdiExtFloodFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiExtFloodFill PROC STDCALL mov r10 , rcx mov eax , 4593 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiExtFloodFill ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_cGetAllGlyphHandles( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_cGetAllGlyphHandles PROC STDCALL mov r10 , rcx mov eax , 4594 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_cGetAllGlyphHandles ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_cGetGlyphs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_cGetGlyphs PROC STDCALL mov r10 , rcx mov eax , 4595 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_cGetGlyphs ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_pQueryGlyphAttrs( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pQueryGlyphAttrs PROC STDCALL mov r10 , rcx mov eax , 4596 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pQueryGlyphAttrs ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_pfdg( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pfdg PROC STDCALL mov r10 , rcx mov eax , 4597 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pfdg ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_pifi( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pifi PROC STDCALL mov r10 , rcx mov eax , 4598 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pifi ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_pvTrueTypeFontFile( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pvTrueTypeFontFile PROC STDCALL mov r10 , rcx mov eax , 4599 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pvTrueTypeFontFile ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_pxoGetXform( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pxoGetXform PROC STDCALL mov r10 , rcx mov eax , 4600 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_pxoGetXform ENDP ; ULONG64 __stdcall NtGdiFONTOBJ_vGetInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_vGetInfo PROC STDCALL mov r10 , rcx mov eax , 4601 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFONTOBJ_vGetInfo ENDP ; ULONG64 __stdcall NtGdiFlattenPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFlattenPath PROC STDCALL mov r10 , rcx mov eax , 4602 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFlattenPath ENDP ; ULONG64 __stdcall NtGdiFontIsLinked( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiFontIsLinked PROC STDCALL mov r10 , rcx mov eax , 4603 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFontIsLinked ENDP ; ULONG64 __stdcall NtGdiForceUFIMapping( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiForceUFIMapping PROC STDCALL mov r10 , rcx mov eax , 4604 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiForceUFIMapping ENDP ; ULONG64 __stdcall NtGdiFrameRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiFrameRgn PROC STDCALL mov r10 , rcx mov eax , 4605 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFrameRgn ENDP ; ULONG64 __stdcall NtGdiFullscreenControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiFullscreenControl PROC STDCALL mov r10 , rcx mov eax , 4606 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiFullscreenControl ENDP ; ULONG64 __stdcall NtGdiGetBoundsRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetBoundsRect PROC STDCALL mov r10 , rcx mov eax , 4607 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetBoundsRect ENDP ; ULONG64 __stdcall NtGdiGetCOPPCompatibleOPMInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetCOPPCompatibleOPMInformation PROC STDCALL mov r10 , rcx mov eax , 4608 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCOPPCompatibleOPMInformation ENDP ; ULONG64 __stdcall NtGdiGetCertificate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetCertificate PROC STDCALL mov r10 , rcx mov eax , 4609 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCertificate ENDP ; ULONG64 __stdcall NtGdiGetCertificateSize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetCertificateSize PROC STDCALL mov r10 , rcx mov eax , 4610 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCertificateSize ENDP ; ULONG64 __stdcall NtGdiGetCharABCWidthsW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGetCharABCWidthsW PROC STDCALL mov r10 , rcx mov eax , 4611 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCharABCWidthsW ENDP ; ULONG64 __stdcall NtGdiGetCharacterPlacementW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGetCharacterPlacementW PROC STDCALL mov r10 , rcx mov eax , 4612 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetCharacterPlacementW ENDP ; ULONG64 __stdcall NtGdiGetColorAdjustment( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetColorAdjustment PROC STDCALL mov r10 , rcx mov eax , 4613 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetColorAdjustment ENDP ; ULONG64 __stdcall NtGdiGetColorSpaceforBitmap( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetColorSpaceforBitmap PROC STDCALL mov r10 , rcx mov eax , 4614 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetColorSpaceforBitmap ENDP ; ULONG64 __stdcall NtGdiGetDeviceCaps( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetDeviceCaps PROC STDCALL mov r10 , rcx mov eax , 4615 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDeviceCaps ENDP ; ULONG64 __stdcall NtGdiGetDeviceCapsAll( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetDeviceCapsAll PROC STDCALL mov r10 , rcx mov eax , 4616 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDeviceCapsAll ENDP ; ULONG64 __stdcall NtGdiGetDeviceGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetDeviceGammaRamp PROC STDCALL mov r10 , rcx mov eax , 4617 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDeviceGammaRamp ENDP ; ULONG64 __stdcall NtGdiGetDeviceWidth( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetDeviceWidth PROC STDCALL mov r10 , rcx mov eax , 4618 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDeviceWidth ENDP ; ULONG64 __stdcall NtGdiGetDhpdev( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiGetDhpdev PROC STDCALL mov r10 , rcx mov eax , 4619 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetDhpdev ENDP ; ULONG64 __stdcall NtGdiGetETM( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetETM PROC STDCALL mov r10 , rcx mov eax , 4620 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetETM ENDP ; ULONG64 __stdcall NtGdiGetEmbUFI( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiGetEmbUFI PROC STDCALL mov r10 , rcx mov eax , 4621 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetEmbUFI ENDP ; ULONG64 __stdcall NtGdiGetEmbedFonts( ); _6_0_6001_sp1_windows_vista_NtGdiGetEmbedFonts PROC STDCALL mov r10 , rcx mov eax , 4622 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetEmbedFonts ENDP ; ULONG64 __stdcall NtGdiGetEudcTimeStampEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetEudcTimeStampEx PROC STDCALL mov r10 , rcx mov eax , 4623 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetEudcTimeStampEx ENDP ; ULONG64 __stdcall NtGdiGetFontResourceInfoInternalW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiGetFontResourceInfoInternalW PROC STDCALL mov r10 , rcx mov eax , 4624 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetFontResourceInfoInternalW ENDP ; ULONG64 __stdcall NtGdiGetFontUnicodeRanges( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetFontUnicodeRanges PROC STDCALL mov r10 , rcx mov eax , 4625 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetFontUnicodeRanges ENDP ; ULONG64 __stdcall NtGdiGetGlyphIndicesW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiGetGlyphIndicesW PROC STDCALL mov r10 , rcx mov eax , 4626 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetGlyphIndicesW ENDP ; ULONG64 __stdcall NtGdiGetGlyphIndicesWInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGetGlyphIndicesWInternal PROC STDCALL mov r10 , rcx mov eax , 4627 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetGlyphIndicesWInternal ENDP ; ULONG64 __stdcall NtGdiGetGlyphOutline( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiGetGlyphOutline PROC STDCALL mov r10 , rcx mov eax , 4628 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetGlyphOutline ENDP ; ULONG64 __stdcall NtGdiGetKerningPairs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetKerningPairs PROC STDCALL mov r10 , rcx mov eax , 4629 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetKerningPairs ENDP ; ULONG64 __stdcall NtGdiGetLinkedUFIs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetLinkedUFIs PROC STDCALL mov r10 , rcx mov eax , 4630 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetLinkedUFIs ENDP ; ULONG64 __stdcall NtGdiGetMiterLimit( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetMiterLimit PROC STDCALL mov r10 , rcx mov eax , 4631 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetMiterLimit ENDP ; ULONG64 __stdcall NtGdiGetMonitorID( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetMonitorID PROC STDCALL mov r10 , rcx mov eax , 4632 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetMonitorID ENDP ; ULONG64 __stdcall NtGdiGetNumberOfPhysicalMonitors( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetNumberOfPhysicalMonitors PROC STDCALL mov r10 , rcx mov eax , 4633 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetNumberOfPhysicalMonitors ENDP ; ULONG64 __stdcall NtGdiGetOPMInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetOPMInformation PROC STDCALL mov r10 , rcx mov eax , 4634 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetOPMInformation ENDP ; ULONG64 __stdcall NtGdiGetOPMRandomNumber( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetOPMRandomNumber PROC STDCALL mov r10 , rcx mov eax , 4635 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetOPMRandomNumber ENDP ; ULONG64 __stdcall NtGdiGetObjectBitmapHandle( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetObjectBitmapHandle PROC STDCALL mov r10 , rcx mov eax , 4636 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetObjectBitmapHandle ENDP ; ULONG64 __stdcall NtGdiGetPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetPath PROC STDCALL mov r10 , rcx mov eax , 4637 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetPath ENDP ; ULONG64 __stdcall NtGdiGetPerBandInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetPerBandInfo PROC STDCALL mov r10 , rcx mov eax , 4638 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetPerBandInfo ENDP ; ULONG64 __stdcall NtGdiGetPhysicalMonitorDescription( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetPhysicalMonitorDescription PROC STDCALL mov r10 , rcx mov eax , 4639 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetPhysicalMonitorDescription ENDP ; ULONG64 __stdcall NtGdiGetPhysicalMonitors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetPhysicalMonitors PROC STDCALL mov r10 , rcx mov eax , 4640 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetPhysicalMonitors ENDP ; ULONG64 __stdcall NtGdiGetRealizationInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiGetRealizationInfo PROC STDCALL mov r10 , rcx mov eax , 4641 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetRealizationInfo ENDP ; ULONG64 __stdcall NtGdiGetServerMetaFileBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiGetServerMetaFileBits PROC STDCALL mov r10 , rcx mov eax , 4642 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetServerMetaFileBits ENDP ; ULONG64 __stdcall NtGdiGetSpoolMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiGetSpoolMessage PROC STDCALL mov r10 , rcx mov eax , 4643 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetSpoolMessage ENDP ; ULONG64 __stdcall NtGdiGetStats( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiGetStats PROC STDCALL mov r10 , rcx mov eax , 4644 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetStats ENDP ; ULONG64 __stdcall NtGdiGetStringBitmapW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiGetStringBitmapW PROC STDCALL mov r10 , rcx mov eax , 4645 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetStringBitmapW ENDP ; ULONG64 __stdcall NtGdiGetSuggestedOPMProtectedOutputArraySize( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiGetSuggestedOPMProtectedOutputArraySize PROC STDCALL mov r10 , rcx mov eax , 4646 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetSuggestedOPMProtectedOutputArraySize ENDP ; ULONG64 __stdcall NtGdiGetTextExtentExW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiGetTextExtentExW PROC STDCALL mov r10 , rcx mov eax , 4647 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetTextExtentExW ENDP ; ULONG64 __stdcall NtGdiGetUFI( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGetUFI PROC STDCALL mov r10 , rcx mov eax , 4648 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetUFI ENDP ; ULONG64 __stdcall NtGdiGetUFIPathname( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtGdiGetUFIPathname PROC STDCALL mov r10 , rcx mov eax , 4649 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGetUFIPathname ENDP ; ULONG64 __stdcall NtGdiGradientFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiGradientFill PROC STDCALL mov r10 , rcx mov eax , 4650 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiGradientFill ENDP ; ULONG64 __stdcall NtGdiHT_Get8BPPFormatPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiHT_Get8BPPFormatPalette PROC STDCALL mov r10 , rcx mov eax , 4651 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiHT_Get8BPPFormatPalette ENDP ; ULONG64 __stdcall NtGdiHT_Get8BPPMaskPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiHT_Get8BPPMaskPalette PROC STDCALL mov r10 , rcx mov eax , 4652 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiHT_Get8BPPMaskPalette ENDP ; ULONG64 __stdcall NtGdiIcmBrushInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtGdiIcmBrushInfo PROC STDCALL mov r10 , rcx mov eax , 4653 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiIcmBrushInfo ENDP ; ULONG64 __stdcall NtGdiInit( ); _6_0_6001_sp1_windows_vista_NtGdiInit PROC STDCALL mov r10 , rcx mov eax , 4654 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiInit ENDP ; ULONG64 __stdcall NtGdiInitSpool( ); _6_0_6001_sp1_windows_vista_NtGdiInitSpool PROC STDCALL mov r10 , rcx mov eax , 4655 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiInitSpool ENDP ; ULONG64 __stdcall NtGdiMakeFontDir( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiMakeFontDir PROC STDCALL mov r10 , rcx mov eax , 4656 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMakeFontDir ENDP ; ULONG64 __stdcall NtGdiMakeInfoDC( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiMakeInfoDC PROC STDCALL mov r10 , rcx mov eax , 4657 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMakeInfoDC ENDP ; ULONG64 __stdcall NtGdiMakeObjectUnXferable( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiMakeObjectUnXferable PROC STDCALL mov r10 , rcx mov eax , 4658 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMakeObjectUnXferable ENDP ; ULONG64 __stdcall NtGdiMakeObjectXferable( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiMakeObjectXferable PROC STDCALL mov r10 , rcx mov eax , 4659 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMakeObjectXferable ENDP ; ULONG64 __stdcall NtGdiMirrorWindowOrg( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiMirrorWindowOrg PROC STDCALL mov r10 , rcx mov eax , 4660 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMirrorWindowOrg ENDP ; ULONG64 __stdcall NtGdiMonoBitmap( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiMonoBitmap PROC STDCALL mov r10 , rcx mov eax , 4661 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMonoBitmap ENDP ; ULONG64 __stdcall NtGdiMoveTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiMoveTo PROC STDCALL mov r10 , rcx mov eax , 4662 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiMoveTo ENDP ; ULONG64 __stdcall NtGdiOffsetClipRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiOffsetClipRgn PROC STDCALL mov r10 , rcx mov eax , 4663 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiOffsetClipRgn ENDP ; ULONG64 __stdcall NtGdiPATHOBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_bEnum PROC STDCALL mov r10 , rcx mov eax , 4664 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_bEnum ENDP ; ULONG64 __stdcall NtGdiPATHOBJ_bEnumClipLines( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_bEnumClipLines PROC STDCALL mov r10 , rcx mov eax , 4665 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_bEnumClipLines ENDP ; ULONG64 __stdcall NtGdiPATHOBJ_vEnumStart( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vEnumStart PROC STDCALL mov r10 , rcx mov eax , 4666 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vEnumStart ENDP ; ULONG64 __stdcall NtGdiPATHOBJ_vEnumStartClipLines( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vEnumStartClipLines PROC STDCALL mov r10 , rcx mov eax , 4667 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vEnumStartClipLines ENDP ; ULONG64 __stdcall NtGdiPATHOBJ_vGetBounds( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vGetBounds PROC STDCALL mov r10 , rcx mov eax , 4668 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPATHOBJ_vGetBounds ENDP ; ULONG64 __stdcall NtGdiPathToRegion( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiPathToRegion PROC STDCALL mov r10 , rcx mov eax , 4669 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPathToRegion ENDP ; ULONG64 __stdcall NtGdiPlgBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiPlgBlt PROC STDCALL mov r10 , rcx mov eax , 4670 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPlgBlt ENDP ; ULONG64 __stdcall NtGdiPolyDraw( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiPolyDraw PROC STDCALL mov r10 , rcx mov eax , 4671 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPolyDraw ENDP ; ULONG64 __stdcall NtGdiPolyTextOutW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiPolyTextOutW PROC STDCALL mov r10 , rcx mov eax , 4672 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPolyTextOutW ENDP ; ULONG64 __stdcall NtGdiPtInRegion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiPtInRegion PROC STDCALL mov r10 , rcx mov eax , 4673 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPtInRegion ENDP ; ULONG64 __stdcall NtGdiPtVisible( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiPtVisible PROC STDCALL mov r10 , rcx mov eax , 4674 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiPtVisible ENDP ; ULONG64 __stdcall NtGdiQueryFonts( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiQueryFonts PROC STDCALL mov r10 , rcx mov eax , 4675 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiQueryFonts ENDP ; ULONG64 __stdcall NtGdiRemoveFontResourceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiRemoveFontResourceW PROC STDCALL mov r10 , rcx mov eax , 4676 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRemoveFontResourceW ENDP ; ULONG64 __stdcall NtGdiRemoveMergeFont( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiRemoveMergeFont PROC STDCALL mov r10 , rcx mov eax , 4677 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRemoveMergeFont ENDP ; ULONG64 __stdcall NtGdiResetDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiResetDC PROC STDCALL mov r10 , rcx mov eax , 4678 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiResetDC ENDP ; ULONG64 __stdcall NtGdiResizePalette( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiResizePalette PROC STDCALL mov r10 , rcx mov eax , 4679 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiResizePalette ENDP ; ULONG64 __stdcall NtGdiRoundRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtGdiRoundRect PROC STDCALL mov r10 , rcx mov eax , 4680 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiRoundRect ENDP ; ULONG64 __stdcall NtGdiSTROBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bEnum PROC STDCALL mov r10 , rcx mov eax , 4681 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bEnum ENDP ; ULONG64 __stdcall NtGdiSTROBJ_bEnumPositionsOnly( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bEnumPositionsOnly PROC STDCALL mov r10 , rcx mov eax , 4682 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bEnumPositionsOnly ENDP ; ULONG64 __stdcall NtGdiSTROBJ_bGetAdvanceWidths( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bGetAdvanceWidths PROC STDCALL mov r10 , rcx mov eax , 4683 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_bGetAdvanceWidths ENDP ; ULONG64 __stdcall NtGdiSTROBJ_dwGetCodePage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_dwGetCodePage PROC STDCALL mov r10 , rcx mov eax , 4684 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_dwGetCodePage ENDP ; ULONG64 __stdcall NtGdiSTROBJ_vEnumStart( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_vEnumStart PROC STDCALL mov r10 , rcx mov eax , 4685 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSTROBJ_vEnumStart ENDP ; ULONG64 __stdcall NtGdiScaleViewportExtEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiScaleViewportExtEx PROC STDCALL mov r10 , rcx mov eax , 4686 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiScaleViewportExtEx ENDP ; ULONG64 __stdcall NtGdiScaleWindowExtEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtGdiScaleWindowExtEx PROC STDCALL mov r10 , rcx mov eax , 4687 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiScaleWindowExtEx ENDP ; ULONG64 __stdcall NtGdiSelectBrush( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSelectBrush PROC STDCALL mov r10 , rcx mov eax , 4688 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSelectBrush ENDP ; ULONG64 __stdcall NtGdiSelectClipPath( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSelectClipPath PROC STDCALL mov r10 , rcx mov eax , 4689 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSelectClipPath ENDP ; ULONG64 __stdcall NtGdiSelectPen( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSelectPen PROC STDCALL mov r10 , rcx mov eax , 4690 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSelectPen ENDP ; ULONG64 __stdcall NtGdiSetBitmapAttributes( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetBitmapAttributes PROC STDCALL mov r10 , rcx mov eax , 4691 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBitmapAttributes ENDP ; ULONG64 __stdcall NtGdiSetBrushAttributes( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetBrushAttributes PROC STDCALL mov r10 , rcx mov eax , 4692 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetBrushAttributes ENDP ; ULONG64 __stdcall NtGdiSetColorAdjustment( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetColorAdjustment PROC STDCALL mov r10 , rcx mov eax , 4693 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetColorAdjustment ENDP ; ULONG64 __stdcall NtGdiSetColorSpace( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetColorSpace PROC STDCALL mov r10 , rcx mov eax , 4694 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetColorSpace ENDP ; ULONG64 __stdcall NtGdiSetDeviceGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetDeviceGammaRamp PROC STDCALL mov r10 , rcx mov eax , 4695 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetDeviceGammaRamp ENDP ; ULONG64 __stdcall NtGdiSetFontXform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetFontXform PROC STDCALL mov r10 , rcx mov eax , 4696 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetFontXform ENDP ; ULONG64 __stdcall NtGdiSetIcmMode( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetIcmMode PROC STDCALL mov r10 , rcx mov eax , 4697 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetIcmMode ENDP ; ULONG64 __stdcall NtGdiSetLinkedUFIs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetLinkedUFIs PROC STDCALL mov r10 , rcx mov eax , 4698 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetLinkedUFIs ENDP ; ULONG64 __stdcall NtGdiSetMagicColors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetMagicColors PROC STDCALL mov r10 , rcx mov eax , 4699 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetMagicColors ENDP ; ULONG64 __stdcall NtGdiSetOPMSigningKeyAndSequenceNumbers( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetOPMSigningKeyAndSequenceNumbers PROC STDCALL mov r10 , rcx mov eax , 4700 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetOPMSigningKeyAndSequenceNumbers ENDP ; ULONG64 __stdcall NtGdiSetPUMPDOBJ( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiSetPUMPDOBJ PROC STDCALL mov r10 , rcx mov eax , 4701 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetPUMPDOBJ ENDP ; ULONG64 __stdcall NtGdiSetPixelFormat( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetPixelFormat PROC STDCALL mov r10 , rcx mov eax , 4702 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetPixelFormat ENDP ; ULONG64 __stdcall NtGdiSetRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiSetRectRgn PROC STDCALL mov r10 , rcx mov eax , 4703 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetRectRgn ENDP ; ULONG64 __stdcall NtGdiSetSizeDevice( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetSizeDevice PROC STDCALL mov r10 , rcx mov eax , 4704 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetSizeDevice ENDP ; ULONG64 __stdcall NtGdiSetSystemPaletteUse( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiSetSystemPaletteUse PROC STDCALL mov r10 , rcx mov eax , 4705 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetSystemPaletteUse ENDP ; ULONG64 __stdcall NtGdiSetTextJustification( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtGdiSetTextJustification PROC STDCALL mov r10 , rcx mov eax , 4706 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSetTextJustification ENDP ; ULONG64 __stdcall NtGdiStartDoc( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiStartDoc PROC STDCALL mov r10 , rcx mov eax , 4707 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStartDoc ENDP ; ULONG64 __stdcall NtGdiStartPage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiStartPage PROC STDCALL mov r10 , rcx mov eax , 4708 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStartPage ENDP ; ULONG64 __stdcall NtGdiStrokeAndFillPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiStrokeAndFillPath PROC STDCALL mov r10 , rcx mov eax , 4709 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStrokeAndFillPath ENDP ; ULONG64 __stdcall NtGdiStrokePath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiStrokePath PROC STDCALL mov r10 , rcx mov eax , 4710 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiStrokePath ENDP ; ULONG64 __stdcall NtGdiSwapBuffers( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiSwapBuffers PROC STDCALL mov r10 , rcx mov eax , 4711 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiSwapBuffers ENDP ; ULONG64 __stdcall NtGdiTransparentBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); _6_0_6001_sp1_windows_vista_NtGdiTransparentBlt PROC STDCALL mov r10 , rcx mov eax , 4712 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiTransparentBlt ENDP ; ULONG64 __stdcall NtGdiUMPDEngFreeUserMem( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiUMPDEngFreeUserMem PROC STDCALL mov r10 , rcx mov eax , 4713 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiUMPDEngFreeUserMem ENDP ; ULONG64 __stdcall DxgStubAttachSurface( ); _6_0_6001_sp1_windows_vista_DxgStubAttachSurface PROC STDCALL mov r10 , rcx mov eax , 4714 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_DxgStubAttachSurface ENDP ; ULONG64 __stdcall NtGdiInit( ); _6_0_6001_sp1_windows_vista_NtGdiInit PROC STDCALL mov r10 , rcx mov eax , 4715 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiInit ENDP ; ULONG64 __stdcall NtGdiUpdateColors( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiUpdateColors PROC STDCALL mov r10 , rcx mov eax , 4716 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiUpdateColors ENDP ; ULONG64 __stdcall NtGdiUpdateTransform( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiUpdateTransform PROC STDCALL mov r10 , rcx mov eax , 4717 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiUpdateTransform ENDP ; ULONG64 __stdcall NtGdiWidenPath( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiWidenPath PROC STDCALL mov r10 , rcx mov eax , 4718 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiWidenPath ENDP ; ULONG64 __stdcall NtGdiXFORMOBJ_bApplyXform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtGdiXFORMOBJ_bApplyXform PROC STDCALL mov r10 , rcx mov eax , 4719 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiXFORMOBJ_bApplyXform ENDP ; ULONG64 __stdcall NtGdiXFORMOBJ_iGetXform( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiXFORMOBJ_iGetXform PROC STDCALL mov r10 , rcx mov eax , 4720 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiXFORMOBJ_iGetXform ENDP ; ULONG64 __stdcall NtGdiXLATEOBJ_cGetPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_cGetPalette PROC STDCALL mov r10 , rcx mov eax , 4721 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_cGetPalette ENDP ; ULONG64 __stdcall NtGdiXLATEOBJ_hGetColorTransform( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_hGetColorTransform PROC STDCALL mov r10 , rcx mov eax , 4722 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_hGetColorTransform ENDP ; ULONG64 __stdcall NtGdiXLATEOBJ_iXlate( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_iXlate PROC STDCALL mov r10 , rcx mov eax , 4723 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtGdiXLATEOBJ_iXlate ENDP ; ULONG64 __stdcall NtUserAddClipboardFormatListener( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserAddClipboardFormatListener PROC STDCALL mov r10 , rcx mov eax , 4724 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserAddClipboardFormatListener ENDP ; ULONG64 __stdcall NtUserAssociateInputContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserAssociateInputContext PROC STDCALL mov r10 , rcx mov eax , 4725 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserAssociateInputContext ENDP ; ULONG64 __stdcall NtUserBlockInput( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserBlockInput PROC STDCALL mov r10 , rcx mov eax , 4726 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBlockInput ENDP ; ULONG64 __stdcall NtUserBuildHimcList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserBuildHimcList PROC STDCALL mov r10 , rcx mov eax , 4727 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBuildHimcList ENDP ; ULONG64 __stdcall NtUserBuildPropList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserBuildPropList PROC STDCALL mov r10 , rcx mov eax , 4728 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserBuildPropList ENDP ; ULONG64 __stdcall NtUserCallHwndOpt( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserCallHwndOpt PROC STDCALL mov r10 , rcx mov eax , 4729 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCallHwndOpt ENDP ; ULONG64 __stdcall NtUserChangeDisplaySettings( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserChangeDisplaySettings PROC STDCALL mov r10 , rcx mov eax , 4730 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserChangeDisplaySettings ENDP ; ULONG64 __stdcall NtUserCheckAccessForIntegrityLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCheckAccessForIntegrityLevel PROC STDCALL mov r10 , rcx mov eax , 4731 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCheckAccessForIntegrityLevel ENDP ; ULONG64 __stdcall NtUserCheckDesktopByThreadId( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserCheckDesktopByThreadId PROC STDCALL mov r10 , rcx mov eax , 4732 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCheckDesktopByThreadId ENDP ; ULONG64 __stdcall NtUserCheckWindowThreadDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCheckWindowThreadDesktop PROC STDCALL mov r10 , rcx mov eax , 4733 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCheckWindowThreadDesktop ENDP ; ULONG64 __stdcall NtUserChildWindowFromPointEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserChildWindowFromPointEx PROC STDCALL mov r10 , rcx mov eax , 4734 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserChildWindowFromPointEx ENDP ; ULONG64 __stdcall NtUserClipCursor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserClipCursor PROC STDCALL mov r10 , rcx mov eax , 4735 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserClipCursor ENDP ; ULONG64 __stdcall NtUserCreateDesktopEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserCreateDesktopEx PROC STDCALL mov r10 , rcx mov eax , 4736 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateDesktopEx ENDP ; ULONG64 __stdcall NtUserCreateInputContext( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserCreateInputContext PROC STDCALL mov r10 , rcx mov eax , 4737 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateInputContext ENDP ; ULONG64 __stdcall NtUserCreateWindowStation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserCreateWindowStation PROC STDCALL mov r10 , rcx mov eax , 4738 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCreateWindowStation ENDP ; ULONG64 __stdcall NtUserCtxDisplayIOCtl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserCtxDisplayIOCtl PROC STDCALL mov r10 , rcx mov eax , 4739 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserCtxDisplayIOCtl ENDP ; ULONG64 __stdcall NtUserDestroyInputContext( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDestroyInputContext PROC STDCALL mov r10 , rcx mov eax , 4740 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDestroyInputContext ENDP ; ULONG64 __stdcall NtUserDisableThreadIme( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDisableThreadIme PROC STDCALL mov r10 , rcx mov eax , 4741 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDisableThreadIme ENDP ; ULONG64 __stdcall NtUserDoSoundConnect( ); _6_0_6001_sp1_windows_vista_NtUserDoSoundConnect PROC STDCALL mov r10 , rcx mov eax , 4742 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDoSoundConnect ENDP ; ULONG64 __stdcall NtUserDoSoundDisconnect( ); _6_0_6001_sp1_windows_vista_NtUserDoSoundDisconnect PROC STDCALL mov r10 , rcx mov eax , 4743 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDoSoundDisconnect ENDP ; ULONG64 __stdcall NtUserDragDetect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserDragDetect PROC STDCALL mov r10 , rcx mov eax , 4744 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDragDetect ENDP ; ULONG64 __stdcall NtUserDragObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserDragObject PROC STDCALL mov r10 , rcx mov eax , 4745 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDragObject ENDP ; ULONG64 __stdcall NtUserDrawAnimatedRects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserDrawAnimatedRects PROC STDCALL mov r10 , rcx mov eax , 4746 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDrawAnimatedRects ENDP ; ULONG64 __stdcall NtUserDrawCaption( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserDrawCaption PROC STDCALL mov r10 , rcx mov eax , 4747 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDrawCaption ENDP ; ULONG64 __stdcall NtUserDrawCaptionTemp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); _6_0_6001_sp1_windows_vista_NtUserDrawCaptionTemp PROC STDCALL mov r10 , rcx mov eax , 4748 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDrawCaptionTemp ENDP ; ULONG64 __stdcall NtUserDrawMenuBarTemp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserDrawMenuBarTemp PROC STDCALL mov r10 , rcx mov eax , 4749 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDrawMenuBarTemp ENDP ; ULONG64 __stdcall NtUserDwmGetDxRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserDwmGetDxRgn PROC STDCALL mov r10 , rcx mov eax , 4750 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDwmGetDxRgn ENDP ; ULONG64 __stdcall NtUserDwmHintDxUpdate( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserDwmHintDxUpdate PROC STDCALL mov r10 , rcx mov eax , 4751 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDwmHintDxUpdate ENDP ; ULONG64 __stdcall NtUserDwmStartRedirection( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserDwmStartRedirection PROC STDCALL mov r10 , rcx mov eax , 4752 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDwmStartRedirection ENDP ; ULONG64 __stdcall NtUserDwmStopRedirection( ); _6_0_6001_sp1_windows_vista_NtUserDwmStopRedirection PROC STDCALL mov r10 , rcx mov eax , 4753 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserDwmStopRedirection ENDP ; ULONG64 __stdcall NtUserEndMenu( ); _6_0_6001_sp1_windows_vista_NtUserEndMenu PROC STDCALL mov r10 , rcx mov eax , 4754 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEndMenu ENDP ; ULONG64 __stdcall NtUserEvent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserEvent PROC STDCALL mov r10 , rcx mov eax , 4755 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserEvent ENDP ; ULONG64 __stdcall NtUserFlashWindowEx( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserFlashWindowEx PROC STDCALL mov r10 , rcx mov eax , 4756 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserFlashWindowEx ENDP ; ULONG64 __stdcall NtUserFrostCrashedWindow( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserFrostCrashedWindow PROC STDCALL mov r10 , rcx mov eax , 4757 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserFrostCrashedWindow ENDP ; ULONG64 __stdcall NtUserGetAppImeLevel( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetAppImeLevel PROC STDCALL mov r10 , rcx mov eax , 4758 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetAppImeLevel ENDP ; ULONG64 __stdcall NtUserGetCaretPos( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetCaretPos PROC STDCALL mov r10 , rcx mov eax , 4759 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetCaretPos ENDP ; ULONG64 __stdcall NtUserGetClipCursor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetClipCursor PROC STDCALL mov r10 , rcx mov eax , 4760 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipCursor ENDP ; ULONG64 __stdcall NtUserGetClipboardViewer( ); _6_0_6001_sp1_windows_vista_NtUserGetClipboardViewer PROC STDCALL mov r10 , rcx mov eax , 4761 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetClipboardViewer ENDP ; ULONG64 __stdcall NtUserGetComboBoxInfo( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetComboBoxInfo PROC STDCALL mov r10 , rcx mov eax , 4762 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetComboBoxInfo ENDP ; ULONG64 __stdcall NtUserGetCursorInfo( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetCursorInfo PROC STDCALL mov r10 , rcx mov eax , 4763 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetCursorInfo ENDP ; ULONG64 __stdcall NtUserGetGuiResources( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetGuiResources PROC STDCALL mov r10 , rcx mov eax , 4764 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetGuiResources ENDP ; ULONG64 __stdcall NtUserGetImeHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetImeHotKey PROC STDCALL mov r10 , rcx mov eax , 4765 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetImeHotKey ENDP ; ULONG64 __stdcall NtUserGetImeInfoEx( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetImeInfoEx PROC STDCALL mov r10 , rcx mov eax , 4766 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetImeInfoEx ENDP ; ULONG64 __stdcall NtUserGetInternalWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetInternalWindowPos PROC STDCALL mov r10 , rcx mov eax , 4767 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetInternalWindowPos ENDP ; ULONG64 __stdcall NtUserGetKeyNameText( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetKeyNameText PROC STDCALL mov r10 , rcx mov eax , 4768 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetKeyNameText ENDP ; ULONG64 __stdcall NtUserGetKeyboardLayoutName( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetKeyboardLayoutName PROC STDCALL mov r10 , rcx mov eax , 4769 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetKeyboardLayoutName ENDP ; ULONG64 __stdcall NtUserGetLayeredWindowAttributes( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetLayeredWindowAttributes PROC STDCALL mov r10 , rcx mov eax , 4770 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetLayeredWindowAttributes ENDP ; ULONG64 __stdcall NtUserGetListBoxInfo( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGetListBoxInfo PROC STDCALL mov r10 , rcx mov eax , 4771 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetListBoxInfo ENDP ; ULONG64 __stdcall NtUserGetMenuIndex( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetMenuIndex PROC STDCALL mov r10 , rcx mov eax , 4772 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetMenuIndex ENDP ; ULONG64 __stdcall NtUserGetMenuItemRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetMenuItemRect PROC STDCALL mov r10 , rcx mov eax , 4773 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetMenuItemRect ENDP ; ULONG64 __stdcall NtUserGetMouseMovePointsEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserGetMouseMovePointsEx PROC STDCALL mov r10 , rcx mov eax , 4774 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetMouseMovePointsEx ENDP ; ULONG64 __stdcall NtUserGetPriorityClipboardFormat( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetPriorityClipboardFormat PROC STDCALL mov r10 , rcx mov eax , 4775 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetPriorityClipboardFormat ENDP ; ULONG64 __stdcall NtUserGetRawInputBuffer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetRawInputBuffer PROC STDCALL mov r10 , rcx mov eax , 4776 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetRawInputBuffer ENDP ; ULONG64 __stdcall NtUserGetRawInputData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserGetRawInputData PROC STDCALL mov r10 , rcx mov eax , 4777 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetRawInputData ENDP ; ULONG64 __stdcall NtUserGetRawInputDeviceInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserGetRawInputDeviceInfo PROC STDCALL mov r10 , rcx mov eax , 4778 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetRawInputDeviceInfo ENDP ; ULONG64 __stdcall NtUserGetRawInputDeviceList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetRawInputDeviceList PROC STDCALL mov r10 , rcx mov eax , 4779 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetRawInputDeviceList ENDP ; ULONG64 __stdcall NtUserGetRegisteredRawInputDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetRegisteredRawInputDevices PROC STDCALL mov r10 , rcx mov eax , 4780 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetRegisteredRawInputDevices ENDP ; ULONG64 __stdcall NtUserGetUpdatedClipboardFormats( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetUpdatedClipboardFormats PROC STDCALL mov r10 , rcx mov eax , 4781 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetUpdatedClipboardFormats ENDP ; ULONG64 __stdcall NtUserGetWOWClass( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetWOWClass PROC STDCALL mov r10 , rcx mov eax , 4782 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetWOWClass ENDP ; ULONG64 __stdcall NtUserGetWindowMinimizeRect( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserGetWindowMinimizeRect PROC STDCALL mov r10 , rcx mov eax , 4783 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetWindowMinimizeRect ENDP ; ULONG64 __stdcall NtUserGetWindowRgnEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserGetWindowRgnEx PROC STDCALL mov r10 , rcx mov eax , 4784 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGetWindowRgnEx ENDP ; ULONG64 __stdcall NtUserGhostWindowFromHungWindow( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserGhostWindowFromHungWindow PROC STDCALL mov r10 , rcx mov eax , 4785 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserGhostWindowFromHungWindow ENDP ; ULONG64 __stdcall NtUserHardErrorControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserHardErrorControl PROC STDCALL mov r10 , rcx mov eax , 4786 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserHardErrorControl ENDP ; ULONG64 __stdcall NtUserHiliteMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserHiliteMenuItem PROC STDCALL mov r10 , rcx mov eax , 4787 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserHiliteMenuItem ENDP ; ULONG64 __stdcall NtUserHungWindowFromGhostWindow( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserHungWindowFromGhostWindow PROC STDCALL mov r10 , rcx mov eax , 4788 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserHungWindowFromGhostWindow ENDP ; ULONG64 __stdcall NtUserImpersonateDdeClientWindow( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserImpersonateDdeClientWindow PROC STDCALL mov r10 , rcx mov eax , 4789 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserImpersonateDdeClientWindow ENDP ; ULONG64 __stdcall NtUserInitTask( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 ); _6_0_6001_sp1_windows_vista_NtUserInitTask PROC STDCALL mov r10 , rcx mov eax , 4790 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInitTask ENDP ; ULONG64 __stdcall NtUserInitialize( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserInitialize PROC STDCALL mov r10 , rcx mov eax , 4791 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInitialize ENDP ; ULONG64 __stdcall NtUserInitializeClientPfnArrays( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserInitializeClientPfnArrays PROC STDCALL mov r10 , rcx mov eax , 4792 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInitializeClientPfnArrays ENDP ; ULONG64 __stdcall NtUserInternalGetWindowIcon( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserInternalGetWindowIcon PROC STDCALL mov r10 , rcx mov eax , 4793 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserInternalGetWindowIcon ENDP ; ULONG64 __stdcall NtUserLoadKeyboardLayoutEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); _6_0_6001_sp1_windows_vista_NtUserLoadKeyboardLayoutEx PROC STDCALL mov r10 , rcx mov eax , 4794 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserLoadKeyboardLayoutEx ENDP ; ULONG64 __stdcall NtUserLockWindowStation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserLockWindowStation PROC STDCALL mov r10 , rcx mov eax , 4795 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserLockWindowStation ENDP ; ULONG64 __stdcall NtUserLockWorkStation( ); _6_0_6001_sp1_windows_vista_NtUserLockWorkStation PROC STDCALL mov r10 , rcx mov eax , 4796 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserLockWorkStation ENDP ; ULONG64 __stdcall NtUserLogicalToPhysicalPoint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserLogicalToPhysicalPoint PROC STDCALL mov r10 , rcx mov eax , 4797 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserLogicalToPhysicalPoint ENDP ; ULONG64 __stdcall NtUserMNDragLeave( ); _6_0_6001_sp1_windows_vista_NtUserMNDragLeave PROC STDCALL mov r10 , rcx mov eax , 4798 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMNDragLeave ENDP ; ULONG64 __stdcall NtUserMNDragOver( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserMNDragOver PROC STDCALL mov r10 , rcx mov eax , 4799 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMNDragOver ENDP ; ULONG64 __stdcall NtUserMenuItemFromPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserMenuItemFromPoint PROC STDCALL mov r10 , rcx mov eax , 4800 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMenuItemFromPoint ENDP ; ULONG64 __stdcall NtUserMinMaximize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserMinMaximize PROC STDCALL mov r10 , rcx mov eax , 4801 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserMinMaximize ENDP ; ULONG64 __stdcall NtUserNotifyIMEStatus( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserNotifyIMEStatus PROC STDCALL mov r10 , rcx mov eax , 4802 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserNotifyIMEStatus ENDP ; ULONG64 __stdcall NtUserOpenInputDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserOpenInputDesktop PROC STDCALL mov r10 , rcx mov eax , 4803 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserOpenInputDesktop ENDP ; ULONG64 __stdcall NtUserOpenThreadDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserOpenThreadDesktop PROC STDCALL mov r10 , rcx mov eax , 4804 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserOpenThreadDesktop ENDP ; ULONG64 __stdcall NtUserPaintMonitor( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserPaintMonitor PROC STDCALL mov r10 , rcx mov eax , 4805 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPaintMonitor ENDP ; ULONG64 __stdcall NtUserPhysicalToLogicalPoint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserPhysicalToLogicalPoint PROC STDCALL mov r10 , rcx mov eax , 4806 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPhysicalToLogicalPoint ENDP ; ULONG64 __stdcall NtUserPrintWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserPrintWindow PROC STDCALL mov r10 , rcx mov eax , 4807 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserPrintWindow ENDP ; ULONG64 __stdcall NtUserQueryInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserQueryInformationThread PROC STDCALL mov r10 , rcx mov eax , 4808 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserQueryInformationThread ENDP ; ULONG64 __stdcall NtUserQueryInputContext( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserQueryInputContext PROC STDCALL mov r10 , rcx mov eax , 4809 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserQueryInputContext ENDP ; ULONG64 __stdcall NtUserQuerySendMessage( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserQuerySendMessage PROC STDCALL mov r10 , rcx mov eax , 4810 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserQuerySendMessage ENDP ; ULONG64 __stdcall NtUserRealChildWindowFromPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserRealChildWindowFromPoint PROC STDCALL mov r10 , rcx mov eax , 4811 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRealChildWindowFromPoint ENDP ; ULONG64 __stdcall NtUserRealWaitMessageEx( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserRealWaitMessageEx PROC STDCALL mov r10 , rcx mov eax , 4812 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRealWaitMessageEx ENDP ; ULONG64 __stdcall NtUserRegisterErrorReportingDialog( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserRegisterErrorReportingDialog PROC STDCALL mov r10 , rcx mov eax , 4813 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterErrorReportingDialog ENDP ; ULONG64 __stdcall NtUserRegisterHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserRegisterHotKey PROC STDCALL mov r10 , rcx mov eax , 4814 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterHotKey ENDP ; ULONG64 __stdcall NtUserRegisterRawInputDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserRegisterRawInputDevices PROC STDCALL mov r10 , rcx mov eax , 4815 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterRawInputDevices ENDP ; ULONG64 __stdcall NtUserRegisterSessionPort( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserRegisterSessionPort PROC STDCALL mov r10 , rcx mov eax , 4816 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterSessionPort ENDP ; ULONG64 __stdcall NtUserRegisterTasklist( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserRegisterTasklist PROC STDCALL mov r10 , rcx mov eax , 4817 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterTasklist ENDP ; ULONG64 __stdcall NtUserRegisterUserApiHook( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserRegisterUserApiHook PROC STDCALL mov r10 , rcx mov eax , 4818 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRegisterUserApiHook ENDP ; ULONG64 __stdcall NtUserRemoteConnect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserRemoteConnect PROC STDCALL mov r10 , rcx mov eax , 4819 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoteConnect ENDP ; ULONG64 __stdcall NtUserRemoteRedrawRectangle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserRemoteRedrawRectangle PROC STDCALL mov r10 , rcx mov eax , 4820 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoteRedrawRectangle ENDP ; ULONG64 __stdcall NtUserRemoteRedrawScreen( ); _6_0_6001_sp1_windows_vista_NtUserRemoteRedrawScreen PROC STDCALL mov r10 , rcx mov eax , 4821 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoteRedrawScreen ENDP ; ULONG64 __stdcall NtUserRemoteStopScreenUpdates( ); _6_0_6001_sp1_windows_vista_NtUserRemoteStopScreenUpdates PROC STDCALL mov r10 , rcx mov eax , 4822 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoteStopScreenUpdates ENDP ; ULONG64 __stdcall NtUserRemoveClipboardFormatListener( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserRemoveClipboardFormatListener PROC STDCALL mov r10 , rcx mov eax , 4823 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserRemoveClipboardFormatListener ENDP ; ULONG64 __stdcall NtUserResolveDesktopForWOW( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserResolveDesktopForWOW PROC STDCALL mov r10 , rcx mov eax , 4824 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserResolveDesktopForWOW ENDP ; ULONG64 __stdcall NtUserSetAppImeLevel( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetAppImeLevel PROC STDCALL mov r10 , rcx mov eax , 4825 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetAppImeLevel ENDP ; ULONG64 __stdcall NtUserSetClassWord( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetClassWord PROC STDCALL mov r10 , rcx mov eax , 4826 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetClassWord ENDP ; ULONG64 __stdcall NtUserSetCursorContents( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetCursorContents PROC STDCALL mov r10 , rcx mov eax , 4827 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetCursorContents ENDP ; ULONG64 __stdcall NtUserSetImeHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); _6_0_6001_sp1_windows_vista_NtUserSetImeHotKey PROC STDCALL mov r10 , rcx mov eax , 4828 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetImeHotKey ENDP ; ULONG64 __stdcall NtUserSetImeInfoEx( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetImeInfoEx PROC STDCALL mov r10 , rcx mov eax , 4829 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetImeInfoEx ENDP ; ULONG64 __stdcall NtUserSetImeOwnerWindow( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetImeOwnerWindow PROC STDCALL mov r10 , rcx mov eax , 4830 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetImeOwnerWindow ENDP ; ULONG64 __stdcall NtUserSetInternalWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetInternalWindowPos PROC STDCALL mov r10 , rcx mov eax , 4831 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetInternalWindowPos ENDP ; ULONG64 __stdcall NtUserSetLayeredWindowAttributes( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetLayeredWindowAttributes PROC STDCALL mov r10 , rcx mov eax , 4832 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetLayeredWindowAttributes ENDP ; ULONG64 __stdcall NtUserSetMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetMenu PROC STDCALL mov r10 , rcx mov eax , 4833 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetMenu ENDP ; ULONG64 __stdcall NtUserSetMenuContextHelpId( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetMenuContextHelpId PROC STDCALL mov r10 , rcx mov eax , 4834 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetMenuContextHelpId ENDP ; ULONG64 __stdcall NtUserSetMenuFlagRtoL( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserSetMenuFlagRtoL PROC STDCALL mov r10 , rcx mov eax , 4835 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetMenuFlagRtoL ENDP ; ULONG64 __stdcall NtUserSetMirrorRendering( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetMirrorRendering PROC STDCALL mov r10 , rcx mov eax , 4836 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetMirrorRendering ENDP ; ULONG64 __stdcall NtUserSetObjectInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetObjectInformation PROC STDCALL mov r10 , rcx mov eax , 4837 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetObjectInformation ENDP ; ULONG64 __stdcall NtUserSetProcessDPIAware( ); _6_0_6001_sp1_windows_vista_NtUserSetProcessDPIAware PROC STDCALL mov r10 , rcx mov eax , 4838 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetProcessDPIAware ENDP ; ULONG64 __stdcall NtUserSetShellWindowEx( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetShellWindowEx PROC STDCALL mov r10 , rcx mov eax , 4839 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetShellWindowEx ENDP ; ULONG64 __stdcall NtUserSetSysColors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetSysColors PROC STDCALL mov r10 , rcx mov eax , 4840 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetSysColors ENDP ; ULONG64 __stdcall NtUserSetSystemCursor( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetSystemCursor PROC STDCALL mov r10 , rcx mov eax , 4841 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetSystemCursor ENDP ; ULONG64 __stdcall NtUserSetSystemTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetSystemTimer PROC STDCALL mov r10 , rcx mov eax , 4842 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetSystemTimer ENDP ; ULONG64 __stdcall NtUserSetThreadLayoutHandles( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSetThreadLayoutHandles PROC STDCALL mov r10 , rcx mov eax , 4843 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetThreadLayoutHandles ENDP ; ULONG64 __stdcall NtUserSetWindowRgnEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowRgnEx PROC STDCALL mov r10 , rcx mov eax , 4844 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowRgnEx ENDP ; ULONG64 __stdcall NtUserSetWindowStationUser( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowStationUser PROC STDCALL mov r10 , rcx mov eax , 4845 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowStationUser ENDP ; ULONG64 __stdcall NtUserShowSystemCursor( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserShowSystemCursor PROC STDCALL mov r10 , rcx mov eax , 4846 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserShowSystemCursor ENDP ; ULONG64 __stdcall NtUserSoundSentry( ); _6_0_6001_sp1_windows_vista_NtUserSoundSentry PROC STDCALL mov r10 , rcx mov eax , 4847 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSoundSentry ENDP ; ULONG64 __stdcall NtUserSwitchDesktop( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserSwitchDesktop PROC STDCALL mov r10 , rcx mov eax , 4848 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSwitchDesktop ENDP ; ULONG64 __stdcall NtUserTestForInteractiveUser( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserTestForInteractiveUser PROC STDCALL mov r10 , rcx mov eax , 4849 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserTestForInteractiveUser ENDP ; ULONG64 __stdcall NtUserTrackPopupMenuEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_NtUserTrackPopupMenuEx PROC STDCALL mov r10 , rcx mov eax , 4850 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserTrackPopupMenuEx ENDP ; ULONG64 __stdcall NtUserUnloadKeyboardLayout( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserUnloadKeyboardLayout PROC STDCALL mov r10 , rcx mov eax , 4851 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnloadKeyboardLayout ENDP ; ULONG64 __stdcall NtUserUnlockWindowStation( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserUnlockWindowStation PROC STDCALL mov r10 , rcx mov eax , 4852 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnlockWindowStation ENDP ; ULONG64 __stdcall NtUserUnregisterHotKey( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserUnregisterHotKey PROC STDCALL mov r10 , rcx mov eax , 4853 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnregisterHotKey ENDP ; ULONG64 __stdcall NtUserUnregisterSessionPort( ); _6_0_6001_sp1_windows_vista_NtUserUnregisterSessionPort PROC STDCALL mov r10 , rcx mov eax , 4854 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnregisterSessionPort ENDP ; ULONG64 __stdcall NtUserUnregisterUserApiHook( ); _6_0_6001_sp1_windows_vista_NtUserUnregisterUserApiHook PROC STDCALL mov r10 , rcx mov eax , 4855 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUnregisterUserApiHook ENDP ; ULONG64 __stdcall NtUserUpdateInputContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserUpdateInputContext PROC STDCALL mov r10 , rcx mov eax , 4856 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUpdateInputContext ENDP ; ULONG64 __stdcall NtUserUpdateInstance( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserUpdateInstance PROC STDCALL mov r10 , rcx mov eax , 4857 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUpdateInstance ENDP ; ULONG64 __stdcall NtUserUpdateLayeredWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); _6_0_6001_sp1_windows_vista_NtUserUpdateLayeredWindow PROC STDCALL mov r10 , rcx mov eax , 4858 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUpdateLayeredWindow ENDP ; ULONG64 __stdcall NtUserUpdatePerUserSystemParameters( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserUpdatePerUserSystemParameters PROC STDCALL mov r10 , rcx mov eax , 4859 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUpdatePerUserSystemParameters ENDP ; ULONG64 __stdcall NtUserUpdateWindowTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserUpdateWindowTransform PROC STDCALL mov r10 , rcx mov eax , 4860 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUpdateWindowTransform ENDP ; ULONG64 __stdcall NtUserUserHandleGrantAccess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserUserHandleGrantAccess PROC STDCALL mov r10 , rcx mov eax , 4861 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserUserHandleGrantAccess ENDP ; ULONG64 __stdcall NtUserValidateHandleSecure( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserValidateHandleSecure PROC STDCALL mov r10 , rcx mov eax , 4862 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserValidateHandleSecure ENDP ; ULONG64 __stdcall NtUserWaitForInputIdle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); _6_0_6001_sp1_windows_vista_NtUserWaitForInputIdle PROC STDCALL mov r10 , rcx mov eax , 4863 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserWaitForInputIdle ENDP ; ULONG64 __stdcall NtUserWaitForMsgAndEvent( ULONG64 arg_01 ); _6_0_6001_sp1_windows_vista_NtUserWaitForMsgAndEvent PROC STDCALL mov r10 , rcx mov eax , 4864 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserWaitForMsgAndEvent ENDP ; ULONG64 __stdcall DxgStubAttachSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); _6_0_6001_sp1_windows_vista_DxgStubAttachSurface PROC STDCALL mov r10 , rcx mov eax , 4865 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_DxgStubAttachSurface ENDP ; ULONG64 __stdcall NtUserWindowFromPhysicalPoint( ULONG64 arg_01 , ULONG64 arg_02 ); _6_0_6001_sp1_windows_vista_NtUserWindowFromPhysicalPoint PROC STDCALL mov r10 , rcx mov eax , 4866 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserWindowFromPhysicalPoint ENDP ; ULONG64 __stdcall NtUserYieldTask( ); _6_0_6001_sp1_windows_vista_NtUserYieldTask PROC STDCALL mov r10 , rcx mov eax , 4867 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserYieldTask ENDP ; ULONG64 __stdcall NtUserSetClassLongPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetClassLongPtr PROC STDCALL mov r10 , rcx mov eax , 4868 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetClassLongPtr ENDP ; ULONG64 __stdcall NtUserSetWindowLongPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); _6_0_6001_sp1_windows_vista_NtUserSetWindowLongPtr PROC STDCALL mov r10 , rcx mov eax , 4869 ;syscall db 0Fh , 05h ret _6_0_6001_sp1_windows_vista_NtUserSetWindowLongPtr ENDP
20.086175
324
0.808204
973721ece374177f86985d98a36dea3c60fd4a2b
361
asm
Assembly
programs/oeis/204/A204166.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/204/A204166.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/204/A204166.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A204166: Symmetric matrix based on f(i,j)=ceiling[(i+j)/2], by antidiagonals. ; 1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8 mov $1,3 mov $2,$0 add $2,1 lpb $2 sub $2,$1 add $1,4 lpe div $1,4 add $1,1
27.769231
199
0.548476
03f6c0a1404766c21b9fbfbd9790c89eb86faf6e
758
asm
Assembly
oeis/084/A084261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/084/A084261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/084/A084261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A084261: A binomial transform of factorial numbers. ; Submitted by Jon Maiga ; 1,1,2,4,9,21,52,134,361,1009,2926,8768,27121,86373,282864,950866,3277169,11564353,41739130,153919324,579411641,2224535125,8703993420,34681783422,140637608089,580019801201,2431509498406,10355296410712,44779958885089,196531041086309,875007356813896,3950405405545482,18077955547004769,83824580849349121,393689963962046834,1872199245412775476,9012110003741412073,43898132432870575381,216314658515656609508,1078020731970202740214,5431955459513340128841,27667179351390329806449,142413053253643407385438 mov $2,$0 add $2,1 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 sub $3,$1 mov $6,$0 mul $6,$3 mov $3,$5 sub $3,$6 div $3,2 add $3,1 add $1,$3 lpe mov $0,$3
34.454545
498
0.788918
69f926f681b5137e4b986d2ff68864b2d6d8c2fb
1,036
asm
Assembly
audio/music/halloffame.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
16
2018-08-28T21:47:01.000Z
2022-02-20T20:29:59.000Z
audio/music/halloffame.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
5
2019-04-03T19:53:11.000Z
2022-03-11T22:49:34.000Z
audio/music/halloffame.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
2
2019-12-09T19:46:02.000Z
2020-12-05T21:36:30.000Z
Music_HallOfFame_Ch1:: tempo 112 volume 7, 7 duty 3 vibrato 12, 2, 2 toggleperfectpitch notetype 12, 11, 3 rest 16 rest 16 rest 16 rest 12 octave 3 D_ 1 E_ 1 F_ 1 F# 1 Music_HallOfFame_branch_7fbc5:: notetype 12, 8, 0 octave 4 C_ 16 E_ 16 F# 16 notetype 12, 6, 0 F_ 16 loopchannel 3, Music_HallOfFame_branch_7fbc5 rest 16 rest 16 rest 16 rest 16 loopchannel 0, Music_HallOfFame_branch_7fbc5 Music_HallOfFame_Ch2:: vibrato 8, 2, 5 duty 3 Music_HallOfFame_branch_7fbdf:: notetype 12, 12, 4 octave 3 G_ 2 D_ 2 G_ 2 A_ 10 G_ 2 D_ 2 G_ 2 octave 4 C_ 4 octave 3 B_ 4 A_ 2 G_ 2 D_ 2 G_ 2 A_ 10 F_ 2 C_ 2 F_ 2 A# 4 A_ 4 F_ 2 loopchannel 0, Music_HallOfFame_branch_7fbdf Music_HallOfFame_Ch3:: notetype 12, 1, 2 Music_HallOfFame_branch_7fbfe:: octave 4 D_ 2 G_ 2 D_ 2 G_ 2 D_ 2 G_ 2 D_ 2 G_ 2 loopchannel 12, Music_HallOfFame_branch_7fbfe D_ 4 G_ 4 D_ 4 G_ 4 E_ 4 G_ 4 E_ 4 G_ 4 F# 4 A_ 4 F# 4 A_ 4 E_ 4 G_ 4 E_ 4 G_ 4 loopchannel 0, Music_HallOfFame_Ch3
10.680412
46
0.69305
1d619507428ce7bef5a34007d1b92cd223867743
334
asm
Assembly
programs/oeis/141/A141107.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/141/A141107.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/141/A141107.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A141107: Upper Odd Swappage of Upper Wythoff Sequence. ; 3,5,7,11,13,15,19,21,23,27,29,31,35,37,39,41,45,47,49,53,55,57,61,63,65,69,71,73,75,79,81,83,87,89,91,95,97,99,103,105,107,109,113,115,117,121,123,125,129,131,133,137,139,141,143,147,149,151,155,157,159,163 add $0,1 mov $1,17 mul $1,$0 div $1,13 mul $1,2 add $1,1 mov $0,$1
30.363636
208
0.679641
f1e67e49d26e059d1800fbb741c691e3fbd94cbe
5,150
asm
Assembly
c2000/C2000Ware_1_00_06_00/libraries/math/CLAmath/c28/source/CLAexp.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
null
null
null
c2000/C2000Ware_1_00_06_00/libraries/math/CLAmath/c28/source/CLAexp.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
null
null
null
c2000/C2000Ware_1_00_06_00/libraries/math/CLAmath/c28/source/CLAexp.asm
ramok/Themis_ForHPSDR
d0f323a843ac0a488ef816ccb7c828032855a40a
[ "Unlicense" ]
1
2021-07-21T08:10:37.000Z
2021-07-21T08:10:37.000Z
;;############################################################################# ;; FILE: CLAexp.asm ;; ;; DESCRIPTION: CLA Exponent function ;; ;; Group: C2000 ;; Target Family: C28x+CLA ;; ;;############################################################################# ;; $TI Release: CLA Math Library 4.02.02.00 $ ;; $Release Date: Oct 18, 2018 $ ;; $Copyright: Copyright (C) 2018 Texas Instruments Incorporated - ;; http://www.ti.com/ ALL RIGHTS RESERVED $ ;;############################################################################# .cdecls C,LIST,"CLAmath.h" .include "CLAeabi.asm" ;;---------------------------------------------------------------------------- ;; Description: ;; Step(1): Calculate absolute of x ;; ;; Step(2): Identify the integer and mantissa of the input ;; ;; Step(3): Obtain the e^integer(x) from the table ;; ;; Step(4): Calculate the value of e^(mantissa)by using the ;; polynomial approx = 1 + x*(1+x*0.5(1+(x/3)(1+x/4(1+x/5*(1+x/6*(1+x/7)))))) ;; ;; Step(5): The value of e^x is the product of results from (3)&(4) ;; ;; ;; Benchmark: Cycles = 41 ;; Instructions = 41 ;; ;; Scratchpad Usage: (Local Function Scratchpad Pointer (SP)) ;; ;; |_______|<- exponent temporary variable (SP+2) ;; |_______|<- MR3 (SP+0) ;; ;;---------------------------------------------------------------------------- .def _CLAexp .sect "Cla1Prog:_CLAexp" .align 2 .def __cla_CLAexp_sp __cla_CLAexp_sp .usect ".scratchpad:Cla1Prog:_CLAexp",4,0,1 _CLAexp: .asmfunc .asg __cla_CLAexp_sp + 0, _save_MR3 .asg __cla_CLAexp_sp + 2, _exp_tmp ; Context Save MMOV32 @_save_MR3, MR3 ; The input argument fVal is refered to as X ; save input argument on scratchpad MMOV32 @_exp_tmp,MR0 ; Step 1 MMOV32 MR3,MR0 ; Load argument into MR3 MABSF32 MR3,MR3 ; LOAD |X| TO MR3 ; Step 2 MF32TOI32 MR0,MR3 ; MR0 = INTEGER(X) MFRACF32 MR1,MR3 ; MR1 = MANTISSA(X) ; Step 3 MADD32 MR2,MR0,MR0 MMOV16 MAR1,MR2,#_CLAExpTable ; Step 3 MMOV32 MR2,@_CLAINV7 ; MR2 = 1/7 MMPYF32 MR3,MR2,MR1 ; MR3 = Xm/7 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 =(1+Xm/7) MMOV32 MR2,@_CLAINV6 ; MR2 = 1/6 || MMPYF32 MR3,MR1,MR3 ; MR3 = Xm(1+Xm/7) MMPYF32 MR3,MR3,MR2 ; MR3 = Xm(1+Xm/7)/6 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = 1+(Xm/6)*(1+Xm/7) || MMOV32 MR0,*MAR1 ; MR0 = e^(INTEGER(X)) MMOV32 MR2,@_CLAINV5 ; MR2 = .2 || MMPYF32 MR3,MR1,MR3 ; MR3 = Xm(1+Xm/6*(1+Xm/7)) MMPYF32 MR3,MR3,MR2 ; MR3 = Xm(1+Xm/6*(1+Xm/7))/5 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = 1+(Xm/5)*(1+Xm/6*(1+Xm/7)) MMOV32 MR2,@_CLAINV4 ; MR2 = .25 || MMPYF32 MR3,MR1,MR3 ; MR3 = Xm(1+Xm/5*(1+Xm/6*(1+Xm/7))) MMPYF32 MR3,MR3,MR2 ; MR3 = Xm(1+Xm/5*(1+Xm/6*(1+Xm/7)))/4 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = 1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7))) MMOV32 MR2,@_CLAINV3 ; MR2 = .3333333 || MMPYF32 MR3,MR1,MR3 ; MR3 = Xm(1+(Xm/4)*(1+Xm/5)*(1+Xm/6*(1+Xm/7))) MMPYF32 MR3,MR3,MR2 ; MR3 = Xm(1+(Xm/4)*(1+Xm/5)*(1+Xm/6*(1+Xm/7)))*0.333333 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = 1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7)))) MMOV32 MR2,@_CLAINV2 ; MR2 = .5 || MMPYF32 MR3,MR1,MR3 ; MR3 = Xm(1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7))))) MMPYF32 MR3,MR3,MR2 ; MR3 = Xm(1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7)))))*0.5 || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = 1+(1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7)))))Xm/2 MMPYF32 MR3,MR3,MR1 ; MR3 = Xm(1+(1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6*(1+Xm/7)))))Xm/2) || MMOV32 MR2,@_CLAINV1 ; MR2 = 1 MADDF32 MR3,MR3,MR2 ; MR3 = e^(MANTISSA)= 1+Xm(1+(1+(Xm/3)*(1+(Xm/4)*(1+Xm/5*(1+Xm/6)*(1+Xm/7))))Xm/2) ; Step 4 MMPYF32 MR3,MR3,MR0 ; MR3 = e^(MANTISSA) x e^(INTEGER(X)) MMOV32 MR1,MR3,UNC ; Calculation of e^-x MEINVF32 MR2,MR1 ; MR2 = Ye = Estimate(1/Den) MMPYF32 MR3,MR2,MR1 ; MR3 = Ye*Den MSUBF32 MR3,#2.0,MR3 ; MR3 = 2.0 - Ye*Den MMPYF32 MR2,MR2,MR3 ; MR2 = Ye = Ye*(2.0 - Ye*Den) MMPYF32 MR3,MR2,MR1 ; MR3 = Ye*Den MSUBF32 MR3,#2.0,MR3 ; MR3 = 2.0 - Ye*Den MMPYF32 MR2,MR2,MR3 ; MR2 = Ye = Ye*(2.0 - Ye*Den) || MMOV32 MR0,@_exp_tmp ; MR2 = X (set/clear NF,ZF) ; Context Restore and Final Operations MRCNDD UNC MMOV32 MR1,MR2,LT ; update e^X with inverse value MMOV32 MR0,MR1 ; Store result in MR0 MMOV32 MR3,@_save_MR3 .unasg _save_MR3 .unasg _exp_tmp .endasmfunc ;; End of File
40.551181
114
0.482136
dbd1bcf23dc751f0eb4d64ba1c76f55f1da30cc9
490
asm
Assembly
wof/lcs/enemy/98.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
wof/lcs/enemy/98.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/enemy/98.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 007B54 move.b D0, ($98,A0) 007B58 move.b #$2, ($2a,A0) 00808A bmi $80ca 0080EE sub.w D0, ($82,A1) 009976 bsr $7ff2 011ABA move.b D0, ($98,A0) 011ABE move.w #$101, (A0) 012122 bpl $12162 012298 move.l (A2)+, (A3)+ [enemy+94, enemy+96] 01229A move.l (A2)+, (A3)+ [enemy+98, enemy+9A] 01A75E dbra D4, $1a75c copyright zengfr site:http://github.com/zengfr/romhack
28.823529
54
0.616327
08079b0103b4bcf71e1ce635b1445f9bcae5a9bd
1,546
asm
Assembly
programs/oeis/082/A082662.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/082/A082662.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/082/A082662.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A082662: Numbers k such that the odd part of k is less than sqrt(2k). ; 1,2,4,6,8,12,16,20,24,28,32,40,48,56,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024,1056,1088,1120,1152,1184,1216,1248,1280,1312,1344,1376,1408,1440,1472,1504,1536,1568,1600,1632,1664,1696,1728,1760,1792,1824,1856,1888,1920,1952,1984,2016,2048,2112,2176,2240,2304,2368,2432,2496,2560,2624,2688,2752,2816,2880,2944,3008,3072,3136,3200,3264,3328,3392,3456,3520,3584,3648,3712,3776,3840,3904,3968,4032,4096,4160,4224,4288,4352,4416,4480,4544,4608,4672,4736,4800,4864,4928,4992,5056,5120,5184,5248,5312,5376,5440,5504,5568,5632,5696,5760,5824,5888,5952,6016,6080,6144,6208,6272,6336,6400,6464,6528,6592,6656,6720,6784,6848,6912,6976,7040,7104,7168,7232,7296,7360,7424,7488,7552,7616,7680,7744,7808,7872,7936,8000,8064,8128,8192,8320,8448,8576,8704,8832,8960,9088,9216,9344,9472,9600,9728,9856,9984,10112,10240,10368,10496,10624,10752,10880,11008,11136,11264,11392,11520,11648,11776,11904,12032,12160,12288,12416,12544,12672,12800,12928,13056,13184,13312,13440,13568,13696,13824,13952,14080,14208,14336,14464,14592,14720,14848,14976,15104,15232,15360,15488,15616,15744 mov $6,$0 mov $7,$0 add $7,1 lpb $7 mov $0,$6 sub $7,1 sub $0,$7 mov $2,$0 cmp $0,0 mul $2,2 cal $4,142 mov $3,$4 mov $5,7 lpb $2 div $2,2 mul $3,2 lpb $5 pow $3,$0 sub $5,$4 lpe trn $2,1 lpe add $1,$3 lpe
55.214286
1,210
0.727038
08ba051ba167e1c1750eb02824caaf44eede3a81
320
asm
Assembly
libsrc/_DEVELOPMENT/l/sdcc/___muluint2ulong_callee.asm
dikdom/z88dk
40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/l/sdcc/___muluint2ulong_callee.asm
dikdom/z88dk
40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0
[ "ClArtistic" ]
2
2022-03-20T22:17:35.000Z
2022-03-24T16:10:00.000Z
libsrc/_DEVELOPMENT/l/sdcc/___muluint2ulong_callee.asm
jorgegv/z88dk
127130cf11f9ff268ba53e308138b12d2b9be90a
[ "ClArtistic" ]
null
null
null
SECTION code_clib SECTION code_l_sdcc PUBLIC ___muluint2ulong_callee EXTERN l_mulu_32_16x16 ___muluint2ulong_callee: ; 16-bit multiplication, 32-bit result ; ; enter : stack = multiplicand, multiplicand, ret ; ; exit : dehl = product pop af pop hl pop de push af jp l_mulu_32_16x16
13.913043
52
0.709375
b1d100f7773d1256427f52fdc328cf0fb96fe684
6,499
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1482.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1482.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1482.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x109c0, %rsi nop sub $9521, %r13 movb (%rsi), %r12b dec %r10 lea addresses_normal_ht+0x1a610, %rdi nop nop nop nop cmp %rdx, %rdx movb $0x61, (%rdi) nop nop inc %r12 lea addresses_UC_ht+0x11358, %r8 nop nop sub %r10, %r10 mov (%r8), %r13 nop add %rdx, %rdx lea addresses_UC_ht+0x7758, %r12 nop nop nop dec %rdx movl $0x61626364, (%r12) cmp %r13, %r13 lea addresses_UC_ht+0x2c18, %rsi lea addresses_A_ht+0x2ed8, %rdi inc %r12 mov $95, %rcx rep movsb add %rdx, %rdx lea addresses_D_ht+0x17638, %r10 add %rdi, %rdi movups (%r10), %xmm1 vpextrq $0, %xmm1, %rcx nop nop nop nop nop and %r8, %r8 lea addresses_D_ht+0x8f58, %rsi lea addresses_D_ht+0x19d28, %rdi nop nop add $53550, %r8 mov $78, %rcx rep movsb nop nop nop and %r12, %r12 pop %rsi pop %rdx pop %rdi pop %rcx pop %r8 pop %r13 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi // Store lea addresses_WC+0x43fe, %r13 nop nop nop nop nop sub %rsi, %rsi movw $0x5152, (%r13) nop nop nop sub %rsi, %rsi // Store lea addresses_WT+0xd798, %rbp nop nop add %rdi, %rdi movb $0x51, (%rbp) nop nop nop cmp %r10, %r10 // REPMOV mov $0x6c5, %rsi lea addresses_RW+0x19d20, %rdi sub %rdx, %rdx mov $21, %rcx rep movsb dec %r10 // Load mov $0x4bf8b50000000a98, %rsi nop nop nop nop and %rdi, %rdi movb (%rsi), %cl nop nop nop inc %rbp // Faulty Load lea addresses_WT+0x19758, %r10 nop nop nop nop add %rcx, %rcx mov (%r10), %rbp lea oracles, %rdx and $0xff, %rbp shlq $12, %rbp mov (%rdx,%rbp,1), %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC', 'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 1}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_P'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_RW'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': True, 'size': 1, 'congruent': 6}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 3}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 3}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 10}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}} {'39': 21829} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
37.137143
2,999
0.651793
974bfba1711c2196bc944efc3fb2683d54aa91fd
9,332
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_16204_1567.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_16204_1567.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_16204_1567.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x599f, %rbp nop nop nop nop sub %rdx, %rdx mov (%rbp), %r15d nop nop nop and %r12, %r12 lea addresses_UC_ht+0x15b9f, %rsi lea addresses_normal_ht+0x4b9f, %rdi nop nop nop dec %r15 mov $79, %rcx rep movsl nop sub $55301, %r15 lea addresses_D_ht+0x1cf7f, %rdx nop nop nop nop nop dec %r12 mov (%rdx), %r15w cmp %r12, %r12 lea addresses_UC_ht+0x3d9f, %rsi lea addresses_normal_ht+0x19ebf, %rdi nop nop cmp %rbx, %rbx mov $96, %rcx rep movsb nop nop nop and $41112, %r15 lea addresses_WC_ht+0x79e6, %rcx nop nop nop nop add %rdi, %rdi movups (%rcx), %xmm6 vpextrq $0, %xmm6, %rsi nop nop nop nop nop xor $431, %rbp lea addresses_A_ht+0xf29f, %rsi lea addresses_WC_ht+0x2b9f, %rdi nop nop nop sub $51124, %rbx mov $33, %rcx rep movsq nop and %rcx, %rcx lea addresses_WC_ht+0xa29f, %rdi nop nop nop and %rcx, %rcx mov $0x6162636465666768, %rsi movq %rsi, %xmm7 vmovups %ymm7, (%rdi) nop nop nop xor %r15, %r15 lea addresses_WT_ht+0xca5f, %rbp nop nop nop nop add %rdx, %rdx mov $0x6162636465666768, %rdi movq %rdi, %xmm0 vmovups %ymm0, (%rbp) nop nop nop nop nop and %rcx, %rcx lea addresses_A_ht+0x659f, %rbx nop nop nop sub $10275, %rdx movl $0x61626364, (%rbx) nop nop nop nop and $47052, %rcx lea addresses_normal_ht+0x5f2f, %rbp nop nop nop nop nop cmp %rcx, %rcx mov $0x6162636465666768, %r15 movq %r15, (%rbp) nop nop nop sub %r12, %r12 lea addresses_UC_ht+0xc9f, %r12 nop nop nop dec %rbx movb (%r12), %dl nop nop nop nop nop add %rdx, %rdx lea addresses_WT_ht+0x1c87f, %rsi nop nop nop nop xor $40595, %rcx movl $0x61626364, (%rsi) nop nop nop nop nop xor $62209, %r12 lea addresses_normal_ht+0x6f71, %r15 nop nop nop cmp %rsi, %rsi movw $0x6162, (%r15) nop nop nop nop xor %r15, %r15 lea addresses_normal_ht+0x15017, %rdi nop and %r15, %r15 mov (%rdi), %rbp nop nop nop nop dec %rbp lea addresses_WT_ht+0x939f, %rdi nop nop nop nop xor $23318, %rbx mov (%rdi), %esi nop nop nop nop xor %rcx, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r15 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %rbp push %rbx push %rcx push %rdi // Store lea addresses_A+0x13ff8, %r14 nop nop nop sub $35298, %rbp movb $0x51, (%r14) nop nop nop nop nop cmp $17909, %r14 // Store lea addresses_D+0x539f, %rbx cmp $33165, %r14 mov $0x5152535455565758, %r10 movq %r10, %xmm3 vmovups %ymm3, (%rbx) nop cmp %rdi, %rdi // Store lea addresses_A+0x1e23f, %rbx nop nop nop nop nop sub %rcx, %rcx mov $0x5152535455565758, %rdi movq %rdi, %xmm4 vmovups %ymm4, (%rbx) and %rbp, %rbp // Store lea addresses_A+0x1519f, %rcx nop nop add %rbp, %rbp mov $0x5152535455565758, %r13 movq %r13, %xmm3 movups %xmm3, (%rcx) and $2935, %r13 // Store lea addresses_normal+0x1e73f, %rbx nop sub %r13, %r13 mov $0x5152535455565758, %r14 movq %r14, (%rbx) nop nop nop add %r14, %r14 // Store lea addresses_PSE+0x925f, %r13 nop nop nop nop lfence movl $0x51525354, (%r13) nop nop nop nop nop add %r10, %r10 // Faulty Load lea addresses_WT+0x139f, %rbp nop cmp $53887, %rdi mov (%rbp), %r14d lea oracles, %rdi and $0xff, %r14 shlq $12, %r14 mov (%rdi,%r14,1), %r14 pop %rdi pop %rcx pop %rbx pop %rbp pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 4, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'39': 16204} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
28.713846
2,999
0.654951
bfff8dc5b7b8e89026805fbbc7bb9d887468c192
708
asm
Assembly
oeis/050/A050489.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/050/A050489.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/050/A050489.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A050489: a(n) = C(n)*(10n+1) where C(n)=Catalan numbers (A000108). ; Submitted by Jamie Morken(s4) ; 1,11,42,155,574,2142,8052,30459,115830,442442,1696396,6525246,25169452,97319900,377096040,1463921595,5692584870,22169259090,86452604700,337547269290,1319388204420,5162382341220,20217646564440,79246770753150,310866899505084,1220348546764452,4793879151831672,18843592298237084,74113174441851160,291652485045548088,1148310937129783504,4523381808199568699,17826434825532471558,70283259166452469410,277213918373058190524,1093816208712462742962,4317487217295623710612,17047748404434666417044 mov $2,$0 seq $0,108 ; Catalan numbers: C(n) = binomial(2n,n)/(n+1) = (2n)!/(n!(n+1)!). mul $2,$0 mul $2,10 add $0,$2
70.8
487
0.814972
904ddd2b985b6180fc79d533e32ef6c9ac8fe014
700
asm
Assembly
programs/oeis/062/A062730.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062730.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062730.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A062730: Rows of Pascal's triangle which contain 3 terms in arithmetic progression. ; 7,12,14,19,21,23,32,34,45,47,60,62,77,79,96,98,117,119,140,142,165,167,192,194,221,223,252,254,285,287,320,322,357,359,396,398,437,439,480,482,525,527,572,574,621,623,672,674,725,727,780,782,837,839,896,898,957,959,1020,1022,1085,1087,1152,1154,1221,1223,1292,1294,1365,1367,1440,1442,1517,1519,1596,1598,1677,1679,1760,1762,1845,1847,1932,1934,2021,2023,2112,2114,2205,2207,2300,2302,2397,2399,2496,2498,2597,2599,2700,2702 mov $4,$0 sub $0,4 div $0,2 add $0,1 mov $2,1 mov $3,$0 mov $0,9 add $3,2 mul $2,$3 pow $2,2 add $2,3 lpb $0,1 add $2,2 div $0,$2 lpe mov $1,$2 sub $1,1 mov $5,$4 mul $5,2 add $1,$5
29.166667
426
0.702857
56d0681c17b2e3fb3c48bfdd14c3759e24525f18
44,958
asm
Assembly
ln.asm
KaushikKPDARE/xv6-Clone-System-Call
43ae5658d425b694b7f89761509dcda690a3389a
[ "Apache-2.0", "MIT-0" ]
null
null
null
ln.asm
KaushikKPDARE/xv6-Clone-System-Call
43ae5658d425b694b7f89761509dcda690a3389a
[ "Apache-2.0", "MIT-0" ]
null
null
null
ln.asm
KaushikKPDARE/xv6-Clone-System-Call
43ae5658d425b694b7f89761509dcda690a3389a
[ "Apache-2.0", "MIT-0" ]
null
null
null
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 sub $0x10,%esp if(argc != 3){ 9: 83 7d 08 03 cmpl $0x3,0x8(%ebp) d: 74 19 je 28 <main+0x28> printf(2, "Usage: ln old new\n"); f: c7 44 24 04 ea 08 00 movl $0x8ea,0x4(%esp) 16: 00 17: c7 04 24 02 00 00 00 movl $0x2,(%esp) 1e: e8 51 04 00 00 call 474 <printf> exit(); 23: e8 bc 02 00 00 call 2e4 <exit> } if(link(argv[1], argv[2]) < 0) 28: 8b 45 0c mov 0xc(%ebp),%eax 2b: 83 c0 08 add $0x8,%eax 2e: 8b 10 mov (%eax),%edx 30: 8b 45 0c mov 0xc(%ebp),%eax 33: 83 c0 04 add $0x4,%eax 36: 8b 00 mov (%eax),%eax 38: 89 54 24 04 mov %edx,0x4(%esp) 3c: 89 04 24 mov %eax,(%esp) 3f: e8 00 03 00 00 call 344 <link> 44: 85 c0 test %eax,%eax 46: 79 2c jns 74 <main+0x74> printf(2, "link %s %s: failed\n", argv[1], argv[2]); 48: 8b 45 0c mov 0xc(%ebp),%eax 4b: 83 c0 08 add $0x8,%eax 4e: 8b 10 mov (%eax),%edx 50: 8b 45 0c mov 0xc(%ebp),%eax 53: 83 c0 04 add $0x4,%eax 56: 8b 00 mov (%eax),%eax 58: 89 54 24 0c mov %edx,0xc(%esp) 5c: 89 44 24 08 mov %eax,0x8(%esp) 60: c7 44 24 04 fd 08 00 movl $0x8fd,0x4(%esp) 67: 00 68: c7 04 24 02 00 00 00 movl $0x2,(%esp) 6f: e8 00 04 00 00 call 474 <printf> exit(); 74: e8 6b 02 00 00 call 2e4 <exit> 79: 66 90 xchg %ax,%ax 7b: 90 nop 0000007c <stosb>: "cc"); } static inline void stosb(void *addr, int data, int cnt) { 7c: 55 push %ebp 7d: 89 e5 mov %esp,%ebp 7f: 57 push %edi 80: 53 push %ebx asm volatile("cld; rep stosb" : 81: 8b 4d 08 mov 0x8(%ebp),%ecx 84: 8b 55 10 mov 0x10(%ebp),%edx 87: 8b 45 0c mov 0xc(%ebp),%eax 8a: 89 cb mov %ecx,%ebx 8c: 89 df mov %ebx,%edi 8e: 89 d1 mov %edx,%ecx 90: fc cld 91: f3 aa rep stos %al,%es:(%edi) 93: 89 ca mov %ecx,%edx 95: 89 fb mov %edi,%ebx 97: 89 5d 08 mov %ebx,0x8(%ebp) 9a: 89 55 10 mov %edx,0x10(%ebp) "=D" (addr), "=c" (cnt) : "0" (addr), "1" (cnt), "a" (data) : "memory", "cc"); } 9d: 5b pop %ebx 9e: 5f pop %edi 9f: 5d pop %ebp a0: c3 ret 000000a1 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, char *t) { a1: 55 push %ebp a2: 89 e5 mov %esp,%ebp a4: 83 ec 10 sub $0x10,%esp char *os; os = s; a7: 8b 45 08 mov 0x8(%ebp),%eax aa: 89 45 fc mov %eax,-0x4(%ebp) while((*s++ = *t++) != 0) ad: 90 nop ae: 8b 45 08 mov 0x8(%ebp),%eax b1: 8d 50 01 lea 0x1(%eax),%edx b4: 89 55 08 mov %edx,0x8(%ebp) b7: 8b 55 0c mov 0xc(%ebp),%edx ba: 8d 4a 01 lea 0x1(%edx),%ecx bd: 89 4d 0c mov %ecx,0xc(%ebp) c0: 0f b6 12 movzbl (%edx),%edx c3: 88 10 mov %dl,(%eax) c5: 0f b6 00 movzbl (%eax),%eax c8: 84 c0 test %al,%al ca: 75 e2 jne ae <strcpy+0xd> ; return os; cc: 8b 45 fc mov -0x4(%ebp),%eax } cf: c9 leave d0: c3 ret 000000d1 <strcmp>: int strcmp(const char *p, const char *q) { d1: 55 push %ebp d2: 89 e5 mov %esp,%ebp while(*p && *p == *q) d4: eb 08 jmp de <strcmp+0xd> p++, q++; d6: 83 45 08 01 addl $0x1,0x8(%ebp) da: 83 45 0c 01 addl $0x1,0xc(%ebp) } int strcmp(const char *p, const char *q) { while(*p && *p == *q) de: 8b 45 08 mov 0x8(%ebp),%eax e1: 0f b6 00 movzbl (%eax),%eax e4: 84 c0 test %al,%al e6: 74 10 je f8 <strcmp+0x27> e8: 8b 45 08 mov 0x8(%ebp),%eax eb: 0f b6 10 movzbl (%eax),%edx ee: 8b 45 0c mov 0xc(%ebp),%eax f1: 0f b6 00 movzbl (%eax),%eax f4: 38 c2 cmp %al,%dl f6: 74 de je d6 <strcmp+0x5> p++, q++; return (uchar)*p - (uchar)*q; f8: 8b 45 08 mov 0x8(%ebp),%eax fb: 0f b6 00 movzbl (%eax),%eax fe: 0f b6 d0 movzbl %al,%edx 101: 8b 45 0c mov 0xc(%ebp),%eax 104: 0f b6 00 movzbl (%eax),%eax 107: 0f b6 c0 movzbl %al,%eax 10a: 29 c2 sub %eax,%edx 10c: 89 d0 mov %edx,%eax } 10e: 5d pop %ebp 10f: c3 ret 00000110 <strlen>: uint strlen(char *s) { 110: 55 push %ebp 111: 89 e5 mov %esp,%ebp 113: 83 ec 10 sub $0x10,%esp int n; for(n = 0; s[n]; n++) 116: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) 11d: eb 04 jmp 123 <strlen+0x13> 11f: 83 45 fc 01 addl $0x1,-0x4(%ebp) 123: 8b 55 fc mov -0x4(%ebp),%edx 126: 8b 45 08 mov 0x8(%ebp),%eax 129: 01 d0 add %edx,%eax 12b: 0f b6 00 movzbl (%eax),%eax 12e: 84 c0 test %al,%al 130: 75 ed jne 11f <strlen+0xf> ; return n; 132: 8b 45 fc mov -0x4(%ebp),%eax } 135: c9 leave 136: c3 ret 00000137 <memset>: void* memset(void *dst, int c, uint n) { 137: 55 push %ebp 138: 89 e5 mov %esp,%ebp 13a: 83 ec 0c sub $0xc,%esp stosb(dst, c, n); 13d: 8b 45 10 mov 0x10(%ebp),%eax 140: 89 44 24 08 mov %eax,0x8(%esp) 144: 8b 45 0c mov 0xc(%ebp),%eax 147: 89 44 24 04 mov %eax,0x4(%esp) 14b: 8b 45 08 mov 0x8(%ebp),%eax 14e: 89 04 24 mov %eax,(%esp) 151: e8 26 ff ff ff call 7c <stosb> return dst; 156: 8b 45 08 mov 0x8(%ebp),%eax } 159: c9 leave 15a: c3 ret 0000015b <strchr>: char* strchr(const char *s, char c) { 15b: 55 push %ebp 15c: 89 e5 mov %esp,%ebp 15e: 83 ec 04 sub $0x4,%esp 161: 8b 45 0c mov 0xc(%ebp),%eax 164: 88 45 fc mov %al,-0x4(%ebp) for(; *s; s++) 167: eb 14 jmp 17d <strchr+0x22> if(*s == c) 169: 8b 45 08 mov 0x8(%ebp),%eax 16c: 0f b6 00 movzbl (%eax),%eax 16f: 3a 45 fc cmp -0x4(%ebp),%al 172: 75 05 jne 179 <strchr+0x1e> return (char*)s; 174: 8b 45 08 mov 0x8(%ebp),%eax 177: eb 13 jmp 18c <strchr+0x31> } char* strchr(const char *s, char c) { for(; *s; s++) 179: 83 45 08 01 addl $0x1,0x8(%ebp) 17d: 8b 45 08 mov 0x8(%ebp),%eax 180: 0f b6 00 movzbl (%eax),%eax 183: 84 c0 test %al,%al 185: 75 e2 jne 169 <strchr+0xe> if(*s == c) return (char*)s; return 0; 187: b8 00 00 00 00 mov $0x0,%eax } 18c: c9 leave 18d: c3 ret 0000018e <gets>: char* gets(char *buf, int max) { 18e: 55 push %ebp 18f: 89 e5 mov %esp,%ebp 191: 83 ec 28 sub $0x28,%esp int i, cc; char c; for(i=0; i+1 < max; ){ 194: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) 19b: eb 4c jmp 1e9 <gets+0x5b> cc = read(0, &c, 1); 19d: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 1a4: 00 1a5: 8d 45 ef lea -0x11(%ebp),%eax 1a8: 89 44 24 04 mov %eax,0x4(%esp) 1ac: c7 04 24 00 00 00 00 movl $0x0,(%esp) 1b3: e8 44 01 00 00 call 2fc <read> 1b8: 89 45 f0 mov %eax,-0x10(%ebp) if(cc < 1) 1bb: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 1bf: 7f 02 jg 1c3 <gets+0x35> break; 1c1: eb 31 jmp 1f4 <gets+0x66> buf[i++] = c; 1c3: 8b 45 f4 mov -0xc(%ebp),%eax 1c6: 8d 50 01 lea 0x1(%eax),%edx 1c9: 89 55 f4 mov %edx,-0xc(%ebp) 1cc: 89 c2 mov %eax,%edx 1ce: 8b 45 08 mov 0x8(%ebp),%eax 1d1: 01 c2 add %eax,%edx 1d3: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1d7: 88 02 mov %al,(%edx) if(c == '\n' || c == '\r') 1d9: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1dd: 3c 0a cmp $0xa,%al 1df: 74 13 je 1f4 <gets+0x66> 1e1: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1e5: 3c 0d cmp $0xd,%al 1e7: 74 0b je 1f4 <gets+0x66> gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 1e9: 8b 45 f4 mov -0xc(%ebp),%eax 1ec: 83 c0 01 add $0x1,%eax 1ef: 3b 45 0c cmp 0xc(%ebp),%eax 1f2: 7c a9 jl 19d <gets+0xf> break; buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 1f4: 8b 55 f4 mov -0xc(%ebp),%edx 1f7: 8b 45 08 mov 0x8(%ebp),%eax 1fa: 01 d0 add %edx,%eax 1fc: c6 00 00 movb $0x0,(%eax) return buf; 1ff: 8b 45 08 mov 0x8(%ebp),%eax } 202: c9 leave 203: c3 ret 00000204 <stat>: int stat(char *n, struct stat *st) { 204: 55 push %ebp 205: 89 e5 mov %esp,%ebp 207: 83 ec 28 sub $0x28,%esp int fd; int r; fd = open(n, O_RDONLY); 20a: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) 211: 00 212: 8b 45 08 mov 0x8(%ebp),%eax 215: 89 04 24 mov %eax,(%esp) 218: e8 07 01 00 00 call 324 <open> 21d: 89 45 f4 mov %eax,-0xc(%ebp) if(fd < 0) 220: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 224: 79 07 jns 22d <stat+0x29> return -1; 226: b8 ff ff ff ff mov $0xffffffff,%eax 22b: eb 23 jmp 250 <stat+0x4c> r = fstat(fd, st); 22d: 8b 45 0c mov 0xc(%ebp),%eax 230: 89 44 24 04 mov %eax,0x4(%esp) 234: 8b 45 f4 mov -0xc(%ebp),%eax 237: 89 04 24 mov %eax,(%esp) 23a: e8 fd 00 00 00 call 33c <fstat> 23f: 89 45 f0 mov %eax,-0x10(%ebp) close(fd); 242: 8b 45 f4 mov -0xc(%ebp),%eax 245: 89 04 24 mov %eax,(%esp) 248: e8 bf 00 00 00 call 30c <close> return r; 24d: 8b 45 f0 mov -0x10(%ebp),%eax } 250: c9 leave 251: c3 ret 00000252 <atoi>: int atoi(const char *s) { 252: 55 push %ebp 253: 89 e5 mov %esp,%ebp 255: 83 ec 10 sub $0x10,%esp int n; n = 0; 258: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) while('0' <= *s && *s <= '9') 25f: eb 25 jmp 286 <atoi+0x34> n = n*10 + *s++ - '0'; 261: 8b 55 fc mov -0x4(%ebp),%edx 264: 89 d0 mov %edx,%eax 266: c1 e0 02 shl $0x2,%eax 269: 01 d0 add %edx,%eax 26b: 01 c0 add %eax,%eax 26d: 89 c1 mov %eax,%ecx 26f: 8b 45 08 mov 0x8(%ebp),%eax 272: 8d 50 01 lea 0x1(%eax),%edx 275: 89 55 08 mov %edx,0x8(%ebp) 278: 0f b6 00 movzbl (%eax),%eax 27b: 0f be c0 movsbl %al,%eax 27e: 01 c8 add %ecx,%eax 280: 83 e8 30 sub $0x30,%eax 283: 89 45 fc mov %eax,-0x4(%ebp) atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 286: 8b 45 08 mov 0x8(%ebp),%eax 289: 0f b6 00 movzbl (%eax),%eax 28c: 3c 2f cmp $0x2f,%al 28e: 7e 0a jle 29a <atoi+0x48> 290: 8b 45 08 mov 0x8(%ebp),%eax 293: 0f b6 00 movzbl (%eax),%eax 296: 3c 39 cmp $0x39,%al 298: 7e c7 jle 261 <atoi+0xf> n = n*10 + *s++ - '0'; return n; 29a: 8b 45 fc mov -0x4(%ebp),%eax } 29d: c9 leave 29e: c3 ret 0000029f <memmove>: void* memmove(void *vdst, void *vsrc, int n) { 29f: 55 push %ebp 2a0: 89 e5 mov %esp,%ebp 2a2: 83 ec 10 sub $0x10,%esp char *dst, *src; dst = vdst; 2a5: 8b 45 08 mov 0x8(%ebp),%eax 2a8: 89 45 fc mov %eax,-0x4(%ebp) src = vsrc; 2ab: 8b 45 0c mov 0xc(%ebp),%eax 2ae: 89 45 f8 mov %eax,-0x8(%ebp) while(n-- > 0) 2b1: eb 17 jmp 2ca <memmove+0x2b> *dst++ = *src++; 2b3: 8b 45 fc mov -0x4(%ebp),%eax 2b6: 8d 50 01 lea 0x1(%eax),%edx 2b9: 89 55 fc mov %edx,-0x4(%ebp) 2bc: 8b 55 f8 mov -0x8(%ebp),%edx 2bf: 8d 4a 01 lea 0x1(%edx),%ecx 2c2: 89 4d f8 mov %ecx,-0x8(%ebp) 2c5: 0f b6 12 movzbl (%edx),%edx 2c8: 88 10 mov %dl,(%eax) { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 2ca: 8b 45 10 mov 0x10(%ebp),%eax 2cd: 8d 50 ff lea -0x1(%eax),%edx 2d0: 89 55 10 mov %edx,0x10(%ebp) 2d3: 85 c0 test %eax,%eax 2d5: 7f dc jg 2b3 <memmove+0x14> *dst++ = *src++; return vdst; 2d7: 8b 45 08 mov 0x8(%ebp),%eax } 2da: c9 leave 2db: c3 ret 000002dc <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 2dc: b8 01 00 00 00 mov $0x1,%eax 2e1: cd 40 int $0x40 2e3: c3 ret 000002e4 <exit>: SYSCALL(exit) 2e4: b8 02 00 00 00 mov $0x2,%eax 2e9: cd 40 int $0x40 2eb: c3 ret 000002ec <wait>: SYSCALL(wait) 2ec: b8 03 00 00 00 mov $0x3,%eax 2f1: cd 40 int $0x40 2f3: c3 ret 000002f4 <pipe>: SYSCALL(pipe) 2f4: b8 04 00 00 00 mov $0x4,%eax 2f9: cd 40 int $0x40 2fb: c3 ret 000002fc <read>: SYSCALL(read) 2fc: b8 05 00 00 00 mov $0x5,%eax 301: cd 40 int $0x40 303: c3 ret 00000304 <write>: SYSCALL(write) 304: b8 10 00 00 00 mov $0x10,%eax 309: cd 40 int $0x40 30b: c3 ret 0000030c <close>: SYSCALL(close) 30c: b8 15 00 00 00 mov $0x15,%eax 311: cd 40 int $0x40 313: c3 ret 00000314 <kill>: SYSCALL(kill) 314: b8 06 00 00 00 mov $0x6,%eax 319: cd 40 int $0x40 31b: c3 ret 0000031c <exec>: SYSCALL(exec) 31c: b8 07 00 00 00 mov $0x7,%eax 321: cd 40 int $0x40 323: c3 ret 00000324 <open>: SYSCALL(open) 324: b8 0f 00 00 00 mov $0xf,%eax 329: cd 40 int $0x40 32b: c3 ret 0000032c <mknod>: SYSCALL(mknod) 32c: b8 11 00 00 00 mov $0x11,%eax 331: cd 40 int $0x40 333: c3 ret 00000334 <unlink>: SYSCALL(unlink) 334: b8 12 00 00 00 mov $0x12,%eax 339: cd 40 int $0x40 33b: c3 ret 0000033c <fstat>: SYSCALL(fstat) 33c: b8 08 00 00 00 mov $0x8,%eax 341: cd 40 int $0x40 343: c3 ret 00000344 <link>: SYSCALL(link) 344: b8 13 00 00 00 mov $0x13,%eax 349: cd 40 int $0x40 34b: c3 ret 0000034c <mkdir>: SYSCALL(mkdir) 34c: b8 14 00 00 00 mov $0x14,%eax 351: cd 40 int $0x40 353: c3 ret 00000354 <chdir>: SYSCALL(chdir) 354: b8 09 00 00 00 mov $0x9,%eax 359: cd 40 int $0x40 35b: c3 ret 0000035c <dup>: SYSCALL(dup) 35c: b8 0a 00 00 00 mov $0xa,%eax 361: cd 40 int $0x40 363: c3 ret 00000364 <getpid>: SYSCALL(getpid) 364: b8 0b 00 00 00 mov $0xb,%eax 369: cd 40 int $0x40 36b: c3 ret 0000036c <sbrk>: SYSCALL(sbrk) 36c: b8 0c 00 00 00 mov $0xc,%eax 371: cd 40 int $0x40 373: c3 ret 00000374 <sleep>: SYSCALL(sleep) 374: b8 0d 00 00 00 mov $0xd,%eax 379: cd 40 int $0x40 37b: c3 ret 0000037c <uptime>: SYSCALL(uptime) 37c: b8 0e 00 00 00 mov $0xe,%eax 381: cd 40 int $0x40 383: c3 ret 00000384 <clone>: SYSCALL(clone) 384: b8 16 00 00 00 mov $0x16,%eax 389: cd 40 int $0x40 38b: c3 ret 0000038c <join>: 38c: b8 17 00 00 00 mov $0x17,%eax 391: cd 40 int $0x40 393: c3 ret 00000394 <putc>: #include "stat.h" #include "user.h" static void putc(int fd, char c) { 394: 55 push %ebp 395: 89 e5 mov %esp,%ebp 397: 83 ec 18 sub $0x18,%esp 39a: 8b 45 0c mov 0xc(%ebp),%eax 39d: 88 45 f4 mov %al,-0xc(%ebp) write(fd, &c, 1); 3a0: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 3a7: 00 3a8: 8d 45 f4 lea -0xc(%ebp),%eax 3ab: 89 44 24 04 mov %eax,0x4(%esp) 3af: 8b 45 08 mov 0x8(%ebp),%eax 3b2: 89 04 24 mov %eax,(%esp) 3b5: e8 4a ff ff ff call 304 <write> } 3ba: c9 leave 3bb: c3 ret 000003bc <printint>: static void printint(int fd, int xx, int base, int sgn) { 3bc: 55 push %ebp 3bd: 89 e5 mov %esp,%ebp 3bf: 56 push %esi 3c0: 53 push %ebx 3c1: 83 ec 30 sub $0x30,%esp static char digits[] = "0123456789ABCDEF"; char buf[16]; int i, neg; uint x; neg = 0; 3c4: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) if(sgn && xx < 0){ 3cb: 83 7d 14 00 cmpl $0x0,0x14(%ebp) 3cf: 74 17 je 3e8 <printint+0x2c> 3d1: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) 3d5: 79 11 jns 3e8 <printint+0x2c> neg = 1; 3d7: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp) x = -xx; 3de: 8b 45 0c mov 0xc(%ebp),%eax 3e1: f7 d8 neg %eax 3e3: 89 45 ec mov %eax,-0x14(%ebp) 3e6: eb 06 jmp 3ee <printint+0x32> } else { x = xx; 3e8: 8b 45 0c mov 0xc(%ebp),%eax 3eb: 89 45 ec mov %eax,-0x14(%ebp) } i = 0; 3ee: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) do{ buf[i++] = digits[x % base]; 3f5: 8b 4d f4 mov -0xc(%ebp),%ecx 3f8: 8d 41 01 lea 0x1(%ecx),%eax 3fb: 89 45 f4 mov %eax,-0xc(%ebp) 3fe: 8b 5d 10 mov 0x10(%ebp),%ebx 401: 8b 45 ec mov -0x14(%ebp),%eax 404: ba 00 00 00 00 mov $0x0,%edx 409: f7 f3 div %ebx 40b: 89 d0 mov %edx,%eax 40d: 0f b6 80 1c 0c 00 00 movzbl 0xc1c(%eax),%eax 414: 88 44 0d dc mov %al,-0x24(%ebp,%ecx,1) }while((x /= base) != 0); 418: 8b 75 10 mov 0x10(%ebp),%esi 41b: 8b 45 ec mov -0x14(%ebp),%eax 41e: ba 00 00 00 00 mov $0x0,%edx 423: f7 f6 div %esi 425: 89 45 ec mov %eax,-0x14(%ebp) 428: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 42c: 75 c7 jne 3f5 <printint+0x39> if(neg) 42e: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 432: 74 10 je 444 <printint+0x88> buf[i++] = '-'; 434: 8b 45 f4 mov -0xc(%ebp),%eax 437: 8d 50 01 lea 0x1(%eax),%edx 43a: 89 55 f4 mov %edx,-0xc(%ebp) 43d: c6 44 05 dc 2d movb $0x2d,-0x24(%ebp,%eax,1) while(--i >= 0) 442: eb 1f jmp 463 <printint+0xa7> 444: eb 1d jmp 463 <printint+0xa7> putc(fd, buf[i]); 446: 8d 55 dc lea -0x24(%ebp),%edx 449: 8b 45 f4 mov -0xc(%ebp),%eax 44c: 01 d0 add %edx,%eax 44e: 0f b6 00 movzbl (%eax),%eax 451: 0f be c0 movsbl %al,%eax 454: 89 44 24 04 mov %eax,0x4(%esp) 458: 8b 45 08 mov 0x8(%ebp),%eax 45b: 89 04 24 mov %eax,(%esp) 45e: e8 31 ff ff ff call 394 <putc> buf[i++] = digits[x % base]; }while((x /= base) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 463: 83 6d f4 01 subl $0x1,-0xc(%ebp) 467: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 46b: 79 d9 jns 446 <printint+0x8a> putc(fd, buf[i]); } 46d: 83 c4 30 add $0x30,%esp 470: 5b pop %ebx 471: 5e pop %esi 472: 5d pop %ebp 473: c3 ret 00000474 <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 474: 55 push %ebp 475: 89 e5 mov %esp,%ebp 477: 83 ec 38 sub $0x38,%esp char *s; int c, i, state; uint *ap; state = 0; 47a: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) ap = (uint*)(void*)&fmt + 1; 481: 8d 45 0c lea 0xc(%ebp),%eax 484: 83 c0 04 add $0x4,%eax 487: 89 45 e8 mov %eax,-0x18(%ebp) for(i = 0; fmt[i]; i++){ 48a: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) 491: e9 7c 01 00 00 jmp 612 <printf+0x19e> c = fmt[i] & 0xff; 496: 8b 55 0c mov 0xc(%ebp),%edx 499: 8b 45 f0 mov -0x10(%ebp),%eax 49c: 01 d0 add %edx,%eax 49e: 0f b6 00 movzbl (%eax),%eax 4a1: 0f be c0 movsbl %al,%eax 4a4: 25 ff 00 00 00 and $0xff,%eax 4a9: 89 45 e4 mov %eax,-0x1c(%ebp) if(state == 0){ 4ac: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 4b0: 75 2c jne 4de <printf+0x6a> if(c == '%'){ 4b2: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 4b6: 75 0c jne 4c4 <printf+0x50> state = '%'; 4b8: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp) 4bf: e9 4a 01 00 00 jmp 60e <printf+0x19a> } else { putc(fd, c); 4c4: 8b 45 e4 mov -0x1c(%ebp),%eax 4c7: 0f be c0 movsbl %al,%eax 4ca: 89 44 24 04 mov %eax,0x4(%esp) 4ce: 8b 45 08 mov 0x8(%ebp),%eax 4d1: 89 04 24 mov %eax,(%esp) 4d4: e8 bb fe ff ff call 394 <putc> 4d9: e9 30 01 00 00 jmp 60e <printf+0x19a> } } else if(state == '%'){ 4de: 83 7d ec 25 cmpl $0x25,-0x14(%ebp) 4e2: 0f 85 26 01 00 00 jne 60e <printf+0x19a> if(c == 'd'){ 4e8: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp) 4ec: 75 2d jne 51b <printf+0xa7> printint(fd, *ap, 10, 1); 4ee: 8b 45 e8 mov -0x18(%ebp),%eax 4f1: 8b 00 mov (%eax),%eax 4f3: c7 44 24 0c 01 00 00 movl $0x1,0xc(%esp) 4fa: 00 4fb: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 502: 00 503: 89 44 24 04 mov %eax,0x4(%esp) 507: 8b 45 08 mov 0x8(%ebp),%eax 50a: 89 04 24 mov %eax,(%esp) 50d: e8 aa fe ff ff call 3bc <printint> ap++; 512: 83 45 e8 04 addl $0x4,-0x18(%ebp) 516: e9 ec 00 00 00 jmp 607 <printf+0x193> } else if(c == 'x' || c == 'p'){ 51b: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp) 51f: 74 06 je 527 <printf+0xb3> 521: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp) 525: 75 2d jne 554 <printf+0xe0> printint(fd, *ap, 16, 0); 527: 8b 45 e8 mov -0x18(%ebp),%eax 52a: 8b 00 mov (%eax),%eax 52c: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 533: 00 534: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp) 53b: 00 53c: 89 44 24 04 mov %eax,0x4(%esp) 540: 8b 45 08 mov 0x8(%ebp),%eax 543: 89 04 24 mov %eax,(%esp) 546: e8 71 fe ff ff call 3bc <printint> ap++; 54b: 83 45 e8 04 addl $0x4,-0x18(%ebp) 54f: e9 b3 00 00 00 jmp 607 <printf+0x193> } else if(c == 's'){ 554: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp) 558: 75 45 jne 59f <printf+0x12b> s = (char*)*ap; 55a: 8b 45 e8 mov -0x18(%ebp),%eax 55d: 8b 00 mov (%eax),%eax 55f: 89 45 f4 mov %eax,-0xc(%ebp) ap++; 562: 83 45 e8 04 addl $0x4,-0x18(%ebp) if(s == 0) 566: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 56a: 75 09 jne 575 <printf+0x101> s = "(null)"; 56c: c7 45 f4 11 09 00 00 movl $0x911,-0xc(%ebp) while(*s != 0){ 573: eb 1e jmp 593 <printf+0x11f> 575: eb 1c jmp 593 <printf+0x11f> putc(fd, *s); 577: 8b 45 f4 mov -0xc(%ebp),%eax 57a: 0f b6 00 movzbl (%eax),%eax 57d: 0f be c0 movsbl %al,%eax 580: 89 44 24 04 mov %eax,0x4(%esp) 584: 8b 45 08 mov 0x8(%ebp),%eax 587: 89 04 24 mov %eax,(%esp) 58a: e8 05 fe ff ff call 394 <putc> s++; 58f: 83 45 f4 01 addl $0x1,-0xc(%ebp) } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 593: 8b 45 f4 mov -0xc(%ebp),%eax 596: 0f b6 00 movzbl (%eax),%eax 599: 84 c0 test %al,%al 59b: 75 da jne 577 <printf+0x103> 59d: eb 68 jmp 607 <printf+0x193> putc(fd, *s); s++; } } else if(c == 'c'){ 59f: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp) 5a3: 75 1d jne 5c2 <printf+0x14e> putc(fd, *ap); 5a5: 8b 45 e8 mov -0x18(%ebp),%eax 5a8: 8b 00 mov (%eax),%eax 5aa: 0f be c0 movsbl %al,%eax 5ad: 89 44 24 04 mov %eax,0x4(%esp) 5b1: 8b 45 08 mov 0x8(%ebp),%eax 5b4: 89 04 24 mov %eax,(%esp) 5b7: e8 d8 fd ff ff call 394 <putc> ap++; 5bc: 83 45 e8 04 addl $0x4,-0x18(%ebp) 5c0: eb 45 jmp 607 <printf+0x193> } else if(c == '%'){ 5c2: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 5c6: 75 17 jne 5df <printf+0x16b> putc(fd, c); 5c8: 8b 45 e4 mov -0x1c(%ebp),%eax 5cb: 0f be c0 movsbl %al,%eax 5ce: 89 44 24 04 mov %eax,0x4(%esp) 5d2: 8b 45 08 mov 0x8(%ebp),%eax 5d5: 89 04 24 mov %eax,(%esp) 5d8: e8 b7 fd ff ff call 394 <putc> 5dd: eb 28 jmp 607 <printf+0x193> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); 5df: c7 44 24 04 25 00 00 movl $0x25,0x4(%esp) 5e6: 00 5e7: 8b 45 08 mov 0x8(%ebp),%eax 5ea: 89 04 24 mov %eax,(%esp) 5ed: e8 a2 fd ff ff call 394 <putc> putc(fd, c); 5f2: 8b 45 e4 mov -0x1c(%ebp),%eax 5f5: 0f be c0 movsbl %al,%eax 5f8: 89 44 24 04 mov %eax,0x4(%esp) 5fc: 8b 45 08 mov 0x8(%ebp),%eax 5ff: 89 04 24 mov %eax,(%esp) 602: e8 8d fd ff ff call 394 <putc> } state = 0; 607: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 60e: 83 45 f0 01 addl $0x1,-0x10(%ebp) 612: 8b 55 0c mov 0xc(%ebp),%edx 615: 8b 45 f0 mov -0x10(%ebp),%eax 618: 01 d0 add %edx,%eax 61a: 0f b6 00 movzbl (%eax),%eax 61d: 84 c0 test %al,%al 61f: 0f 85 71 fe ff ff jne 496 <printf+0x22> putc(fd, c); } state = 0; } } } 625: c9 leave 626: c3 ret 627: 90 nop 00000628 <free>: static Header base; static Header *freep; void free(void *ap) { 628: 55 push %ebp 629: 89 e5 mov %esp,%ebp 62b: 83 ec 10 sub $0x10,%esp Header *bp, *p; bp = (Header*)ap - 1; 62e: 8b 45 08 mov 0x8(%ebp),%eax 631: 83 e8 08 sub $0x8,%eax 634: 89 45 f8 mov %eax,-0x8(%ebp) for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 637: a1 38 0c 00 00 mov 0xc38,%eax 63c: 89 45 fc mov %eax,-0x4(%ebp) 63f: eb 24 jmp 665 <free+0x3d> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 641: 8b 45 fc mov -0x4(%ebp),%eax 644: 8b 00 mov (%eax),%eax 646: 3b 45 fc cmp -0x4(%ebp),%eax 649: 77 12 ja 65d <free+0x35> 64b: 8b 45 f8 mov -0x8(%ebp),%eax 64e: 3b 45 fc cmp -0x4(%ebp),%eax 651: 77 24 ja 677 <free+0x4f> 653: 8b 45 fc mov -0x4(%ebp),%eax 656: 8b 00 mov (%eax),%eax 658: 3b 45 f8 cmp -0x8(%ebp),%eax 65b: 77 1a ja 677 <free+0x4f> free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 65d: 8b 45 fc mov -0x4(%ebp),%eax 660: 8b 00 mov (%eax),%eax 662: 89 45 fc mov %eax,-0x4(%ebp) 665: 8b 45 f8 mov -0x8(%ebp),%eax 668: 3b 45 fc cmp -0x4(%ebp),%eax 66b: 76 d4 jbe 641 <free+0x19> 66d: 8b 45 fc mov -0x4(%ebp),%eax 670: 8b 00 mov (%eax),%eax 672: 3b 45 f8 cmp -0x8(%ebp),%eax 675: 76 ca jbe 641 <free+0x19> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ 677: 8b 45 f8 mov -0x8(%ebp),%eax 67a: 8b 40 04 mov 0x4(%eax),%eax 67d: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 684: 8b 45 f8 mov -0x8(%ebp),%eax 687: 01 c2 add %eax,%edx 689: 8b 45 fc mov -0x4(%ebp),%eax 68c: 8b 00 mov (%eax),%eax 68e: 39 c2 cmp %eax,%edx 690: 75 24 jne 6b6 <free+0x8e> bp->s.size += p->s.ptr->s.size; 692: 8b 45 f8 mov -0x8(%ebp),%eax 695: 8b 50 04 mov 0x4(%eax),%edx 698: 8b 45 fc mov -0x4(%ebp),%eax 69b: 8b 00 mov (%eax),%eax 69d: 8b 40 04 mov 0x4(%eax),%eax 6a0: 01 c2 add %eax,%edx 6a2: 8b 45 f8 mov -0x8(%ebp),%eax 6a5: 89 50 04 mov %edx,0x4(%eax) bp->s.ptr = p->s.ptr->s.ptr; 6a8: 8b 45 fc mov -0x4(%ebp),%eax 6ab: 8b 00 mov (%eax),%eax 6ad: 8b 10 mov (%eax),%edx 6af: 8b 45 f8 mov -0x8(%ebp),%eax 6b2: 89 10 mov %edx,(%eax) 6b4: eb 0a jmp 6c0 <free+0x98> } else bp->s.ptr = p->s.ptr; 6b6: 8b 45 fc mov -0x4(%ebp),%eax 6b9: 8b 10 mov (%eax),%edx 6bb: 8b 45 f8 mov -0x8(%ebp),%eax 6be: 89 10 mov %edx,(%eax) if(p + p->s.size == bp){ 6c0: 8b 45 fc mov -0x4(%ebp),%eax 6c3: 8b 40 04 mov 0x4(%eax),%eax 6c6: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 6cd: 8b 45 fc mov -0x4(%ebp),%eax 6d0: 01 d0 add %edx,%eax 6d2: 3b 45 f8 cmp -0x8(%ebp),%eax 6d5: 75 20 jne 6f7 <free+0xcf> p->s.size += bp->s.size; 6d7: 8b 45 fc mov -0x4(%ebp),%eax 6da: 8b 50 04 mov 0x4(%eax),%edx 6dd: 8b 45 f8 mov -0x8(%ebp),%eax 6e0: 8b 40 04 mov 0x4(%eax),%eax 6e3: 01 c2 add %eax,%edx 6e5: 8b 45 fc mov -0x4(%ebp),%eax 6e8: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 6eb: 8b 45 f8 mov -0x8(%ebp),%eax 6ee: 8b 10 mov (%eax),%edx 6f0: 8b 45 fc mov -0x4(%ebp),%eax 6f3: 89 10 mov %edx,(%eax) 6f5: eb 08 jmp 6ff <free+0xd7> } else p->s.ptr = bp; 6f7: 8b 45 fc mov -0x4(%ebp),%eax 6fa: 8b 55 f8 mov -0x8(%ebp),%edx 6fd: 89 10 mov %edx,(%eax) freep = p; 6ff: 8b 45 fc mov -0x4(%ebp),%eax 702: a3 38 0c 00 00 mov %eax,0xc38 } 707: c9 leave 708: c3 ret 00000709 <morecore>: static Header* morecore(uint nu) { 709: 55 push %ebp 70a: 89 e5 mov %esp,%ebp 70c: 83 ec 28 sub $0x28,%esp char *p; Header *hp; if(nu < 4096) 70f: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp) 716: 77 07 ja 71f <morecore+0x16> nu = 4096; 718: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp) p = sbrk(nu * sizeof(Header)); 71f: 8b 45 08 mov 0x8(%ebp),%eax 722: c1 e0 03 shl $0x3,%eax 725: 89 04 24 mov %eax,(%esp) 728: e8 3f fc ff ff call 36c <sbrk> 72d: 89 45 f4 mov %eax,-0xc(%ebp) if(p == (char*)-1) 730: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp) 734: 75 07 jne 73d <morecore+0x34> return 0; 736: b8 00 00 00 00 mov $0x0,%eax 73b: eb 22 jmp 75f <morecore+0x56> hp = (Header*)p; 73d: 8b 45 f4 mov -0xc(%ebp),%eax 740: 89 45 f0 mov %eax,-0x10(%ebp) hp->s.size = nu; 743: 8b 45 f0 mov -0x10(%ebp),%eax 746: 8b 55 08 mov 0x8(%ebp),%edx 749: 89 50 04 mov %edx,0x4(%eax) free((void*)(hp + 1)); 74c: 8b 45 f0 mov -0x10(%ebp),%eax 74f: 83 c0 08 add $0x8,%eax 752: 89 04 24 mov %eax,(%esp) 755: e8 ce fe ff ff call 628 <free> return freep; 75a: a1 38 0c 00 00 mov 0xc38,%eax } 75f: c9 leave 760: c3 ret 00000761 <malloc>: void* malloc(uint nbytes) { 761: 55 push %ebp 762: 89 e5 mov %esp,%ebp 764: 83 ec 28 sub $0x28,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 767: 8b 45 08 mov 0x8(%ebp),%eax 76a: 83 c0 07 add $0x7,%eax 76d: c1 e8 03 shr $0x3,%eax 770: 83 c0 01 add $0x1,%eax 773: 89 45 ec mov %eax,-0x14(%ebp) if((prevp = freep) == 0){ 776: a1 38 0c 00 00 mov 0xc38,%eax 77b: 89 45 f0 mov %eax,-0x10(%ebp) 77e: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 782: 75 23 jne 7a7 <malloc+0x46> base.s.ptr = freep = prevp = &base; 784: c7 45 f0 30 0c 00 00 movl $0xc30,-0x10(%ebp) 78b: 8b 45 f0 mov -0x10(%ebp),%eax 78e: a3 38 0c 00 00 mov %eax,0xc38 793: a1 38 0c 00 00 mov 0xc38,%eax 798: a3 30 0c 00 00 mov %eax,0xc30 base.s.size = 0; 79d: c7 05 34 0c 00 00 00 movl $0x0,0xc34 7a4: 00 00 00 } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 7a7: 8b 45 f0 mov -0x10(%ebp),%eax 7aa: 8b 00 mov (%eax),%eax 7ac: 89 45 f4 mov %eax,-0xc(%ebp) if(p->s.size >= nunits){ 7af: 8b 45 f4 mov -0xc(%ebp),%eax 7b2: 8b 40 04 mov 0x4(%eax),%eax 7b5: 3b 45 ec cmp -0x14(%ebp),%eax 7b8: 72 4d jb 807 <malloc+0xa6> if(p->s.size == nunits) 7ba: 8b 45 f4 mov -0xc(%ebp),%eax 7bd: 8b 40 04 mov 0x4(%eax),%eax 7c0: 3b 45 ec cmp -0x14(%ebp),%eax 7c3: 75 0c jne 7d1 <malloc+0x70> prevp->s.ptr = p->s.ptr; 7c5: 8b 45 f4 mov -0xc(%ebp),%eax 7c8: 8b 10 mov (%eax),%edx 7ca: 8b 45 f0 mov -0x10(%ebp),%eax 7cd: 89 10 mov %edx,(%eax) 7cf: eb 26 jmp 7f7 <malloc+0x96> else { p->s.size -= nunits; 7d1: 8b 45 f4 mov -0xc(%ebp),%eax 7d4: 8b 40 04 mov 0x4(%eax),%eax 7d7: 2b 45 ec sub -0x14(%ebp),%eax 7da: 89 c2 mov %eax,%edx 7dc: 8b 45 f4 mov -0xc(%ebp),%eax 7df: 89 50 04 mov %edx,0x4(%eax) p += p->s.size; 7e2: 8b 45 f4 mov -0xc(%ebp),%eax 7e5: 8b 40 04 mov 0x4(%eax),%eax 7e8: c1 e0 03 shl $0x3,%eax 7eb: 01 45 f4 add %eax,-0xc(%ebp) p->s.size = nunits; 7ee: 8b 45 f4 mov -0xc(%ebp),%eax 7f1: 8b 55 ec mov -0x14(%ebp),%edx 7f4: 89 50 04 mov %edx,0x4(%eax) } freep = prevp; 7f7: 8b 45 f0 mov -0x10(%ebp),%eax 7fa: a3 38 0c 00 00 mov %eax,0xc38 return (void*)(p + 1); 7ff: 8b 45 f4 mov -0xc(%ebp),%eax 802: 83 c0 08 add $0x8,%eax 805: eb 38 jmp 83f <malloc+0xde> } if(p == freep) 807: a1 38 0c 00 00 mov 0xc38,%eax 80c: 39 45 f4 cmp %eax,-0xc(%ebp) 80f: 75 1b jne 82c <malloc+0xcb> if((p = morecore(nunits)) == 0) 811: 8b 45 ec mov -0x14(%ebp),%eax 814: 89 04 24 mov %eax,(%esp) 817: e8 ed fe ff ff call 709 <morecore> 81c: 89 45 f4 mov %eax,-0xc(%ebp) 81f: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 823: 75 07 jne 82c <malloc+0xcb> return 0; 825: b8 00 00 00 00 mov $0x0,%eax 82a: eb 13 jmp 83f <malloc+0xde> nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 82c: 8b 45 f4 mov -0xc(%ebp),%eax 82f: 89 45 f0 mov %eax,-0x10(%ebp) 832: 8b 45 f4 mov -0xc(%ebp),%eax 835: 8b 00 mov (%eax),%eax 837: 89 45 f4 mov %eax,-0xc(%ebp) return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) return 0; } 83a: e9 70 ff ff ff jmp 7af <malloc+0x4e> } 83f: c9 leave 840: c3 ret 841: 66 90 xchg %ax,%ax 843: 90 nop 00000844 <xchg>: asm volatile("sti"); } static inline uint xchg(volatile uint *addr, uint newval) { 844: 55 push %ebp 845: 89 e5 mov %esp,%ebp 847: 83 ec 10 sub $0x10,%esp uint result; // The + in "+m" denotes a read-modify-write operand. asm volatile("lock; xchgl %0, %1" : 84a: 8b 55 08 mov 0x8(%ebp),%edx 84d: 8b 45 0c mov 0xc(%ebp),%eax 850: 8b 4d 08 mov 0x8(%ebp),%ecx 853: f0 87 02 lock xchg %eax,(%edx) 856: 89 45 fc mov %eax,-0x4(%ebp) "+m" (*addr), "=a" (result) : "1" (newval) : "cc"); return result; 859: 8b 45 fc mov -0x4(%ebp),%eax } 85c: c9 leave 85d: c3 ret 0000085e <mutex_init>: #include "types.h" #include "user.h" #include "x86.h" #include "threadlib.h" void mutex_init(mutex_t *m) { 85e: 55 push %ebp 85f: 89 e5 mov %esp,%ebp // 0 indicates that lock is available, 1 that it is held by a thread m->flag = 0; 861: 8b 45 08 mov 0x8(%ebp),%eax 864: c7 00 00 00 00 00 movl $0x0,(%eax) } 86a: 5d pop %ebp 86b: c3 ret 0000086c <mutex_lock>: void mutex_lock(mutex_t *m) { 86c: 55 push %ebp 86d: 89 e5 mov %esp,%ebp 86f: 83 ec 08 sub $0x8,%esp while (xchg(&m->flag, 1) == 1); // spin-wait (do nothing) 872: 90 nop 873: 8b 45 08 mov 0x8(%ebp),%eax 876: c7 44 24 04 01 00 00 movl $0x1,0x4(%esp) 87d: 00 87e: 89 04 24 mov %eax,(%esp) 881: e8 be ff ff ff call 844 <xchg> 886: 83 f8 01 cmp $0x1,%eax 889: 74 e8 je 873 <mutex_lock+0x7> } 88b: c9 leave 88c: c3 ret 0000088d <mutex_unlock>: void mutex_unlock(mutex_t *m) { 88d: 55 push %ebp 88e: 89 e5 mov %esp,%ebp m->flag = 0; 890: 8b 45 08 mov 0x8(%ebp),%eax 893: c7 00 00 00 00 00 movl $0x0,(%eax) } 899: 5d pop %ebp 89a: c3 ret 0000089b <thread_create>: if(!pid) (*start_routine)(arg); else return pid; }*/ int thread_create(void(*child)(void*), void *arg_ptr) { 89b: 55 push %ebp 89c: 89 e5 mov %esp,%ebp 89e: 83 ec 28 sub $0x28,%esp void *stack = malloc(4096); 8a1: c7 04 24 00 10 00 00 movl $0x1000,(%esp) 8a8: e8 b4 fe ff ff call 761 <malloc> 8ad: 89 45 f4 mov %eax,-0xc(%ebp) int clone_pid = clone(child, arg_ptr, stack); 8b0: 8b 45 f4 mov -0xc(%ebp),%eax 8b3: 89 44 24 08 mov %eax,0x8(%esp) 8b7: 8b 45 0c mov 0xc(%ebp),%eax 8ba: 89 44 24 04 mov %eax,0x4(%esp) 8be: 8b 45 08 mov 0x8(%ebp),%eax 8c1: 89 04 24 mov %eax,(%esp) 8c4: e8 bb fa ff ff call 384 <clone> 8c9: 89 45 f0 mov %eax,-0x10(%ebp) return clone_pid; 8cc: 8b 45 f0 mov -0x10(%ebp),%eax } 8cf: c9 leave 8d0: c3 ret 000008d1 <thread_join>: int thread_join(void) { 8d1: 55 push %ebp 8d2: 89 e5 mov %esp,%ebp 8d4: 83 ec 28 sub $0x28,%esp void *join_s; int join_pid = join(&join_s); 8d7: 8d 45 f0 lea -0x10(%ebp),%eax 8da: 89 04 24 mov %eax,(%esp) 8dd: e8 aa fa ff ff call 38c <join> 8e2: 89 45 f4 mov %eax,-0xc(%ebp) return join_pid; 8e5: 8b 45 f4 mov -0xc(%ebp),%eax 8e8: c9 leave 8e9: c3 ret
34.033308
70
0.428111
2fe9271b02620675dfdd150659c6d6e3eb0564be
456
asm
Assembly
Lab_Task/Lab_1/1621418042_Lab_task1.asm
maliha-mamtaz/CSE331L_Section_7_Summer_2020_NSU
76f1759a9fa7971f289d8c3482d5435b72289b30
[ "MIT" ]
null
null
null
Lab_Task/Lab_1/1621418042_Lab_task1.asm
maliha-mamtaz/CSE331L_Section_7_Summer_2020_NSU
76f1759a9fa7971f289d8c3482d5435b72289b30
[ "MIT" ]
null
null
null
Lab_Task/Lab_1/1621418042_Lab_task1.asm
maliha-mamtaz/CSE331L_Section_7_Summer_2020_NSU
76f1759a9fa7971f289d8c3482d5435b72289b30
[ "MIT" ]
null
null
null
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h #include <stdio.h> a DB 10;int a=10 b DW 15;int b=15 mov ax,k add ax,k1 k equ 10 k1 equ 15 a DB 10;variable a DB 10h,15h,11h,12h;array,int a[10] b DB 10 DUP(?);int a[10]={} int a[n] c DB 5 DUP(1,2);1,2,1,2,1 mov bx ,10 mov bx,5 inc bx;c++ dec bx;c-- mov bx,35h mov di,12h lea si,[bx=di] a db 0h,2h,0h,4h,0h,6h ret
13.818182
68
0.671053
ee39e8f56f10610d50737ba31acf56437da02b47
228
asm
Assembly
Test/special_tests/k2-rope-test.asm
sparks-c16/zasm
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
[ "BSD-2-Clause" ]
43
2019-12-06T23:46:40.000Z
2022-03-31T15:34:44.000Z
Test/special_tests/k2-rope-test.asm
sparks-c16/zasm
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
[ "BSD-2-Clause" ]
21
2019-12-27T01:49:08.000Z
2022-03-31T15:38:42.000Z
Test/special_tests/k2-rope-test.asm
sparks-c16/zasm
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
[ "BSD-2-Clause" ]
13
2019-12-27T00:38:46.000Z
2022-03-15T08:34:51.000Z
#!/usr/local/bin/zasm -o original/ #target ram #code CODE,0 #code RAM #code ROM #code ROP #data DATA #code GSINIT #test TEST, 0xC000 #include "k2-rope-core-macros.s" #include "k2-rope-core.s" #include "k2-rope-core-macros.s"
14.25
34
0.70614
79a0c3b7363c17b734867d2f55840620b36ed7a4
1,337
asm
Assembly
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_binary.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_binary.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_binary.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_stdio PUBLIC __stdio_scanf_sm_binary EXTERN asm_isbdigit, __stdio_scanf_sm_write __stdio_scanf_sm_binary: ; BINARY NUMBER STATE MACHINE ; ; Qualify function for STDIO_MSG_EATC ; ; set-up: hl = state machine function address ; de = void *buffer ; bc = uint buffer_len ; ; return: de = void *buffer_ptr (address past last byte written) ; bc = remaining space in buffer ; consume optional sign ld hl,state_1 ; next time look for leading zeroes cp '+' ret z ; accept plus sign, do not add to buffer cp '-' jp z, __stdio_scanf_sm_write ; if negative sign, write '-' to buffer ; sign not present state_1: ; check for first zero cp '0' jr nz, state_3t ; no zeroes, look for binary digits ld hl,state_2 ; next time consume leading zeroes jp __stdio_scanf_sm_write ; write '0' to buffer state_2: ; eat leading zeroes cp '0' ret z ; throw away leading zeroes state_3t: ld hl,state_3 state_3: ; read a string of binary digits call asm_isbdigit ; is this char a binary digit? scf ret nz ; if not, terminate iteration ccf jp __stdio_scanf_sm_write
20.569231
72
0.600598
c6a7a1fe237ed4f52275d678520b4be11c37f7b4
13,072
asm
Assembly
Library/Text/UI/uiCharFGColor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/Text/UI/uiCharFGColor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/Text/UI/uiCharFGColor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text Library FILE: uiCharFGColorControl.asm ROUTINES: Name Description ---- ----------- GLB CharFGColorControlClass Style menu object REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 7/91 Initial version DESCRIPTION: This file contains routines to implement CharFGColorControlClass $Id: uiCharFGColor.asm,v 1.1 97/04/07 11:17:27 newdeal Exp $ -------------------------------------------------------------------------------@ GC_Data union GCD_dword dword GCD_optr optr GC_Data end GC_NewField struct GCNF_offset byte GCNF_size byte GCNF_data GC_Data GC_NewField ends ;--------------------------------------------------- TextClassStructures segment resource CharFGColorControlClass ;declare the class record TextClassStructures ends ;--------------------------------------------------- if not NO_CONTROLLERS TextControlCode segment resource COMMENT @---------------------------------------------------------------------- MESSAGE: CharFGColorControlGetInfo -- MSG_GEN_CONTROL_GET_INFO for CharFGColorControlClass DESCRIPTION: Return group PASS: *ds:si - instance data es - segment of CharFGColorControlClass ax - The message RETURN: cx:dx - list of children DESTROYED: bx, si, di, ds, es (message handler) REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 10/31/91 Initial version ------------------------------------------------------------------------------@ CharFGColorControlGetInfo method dynamic CharFGColorControlClass, MSG_GEN_CONTROL_GET_INFO ; first call our superclass to get the color selector's stuff pushdw cxdx mov di, offset CharFGColorControlClass call ObjCallSuperNoLock ; now fill in a few things popdw esdi mov si, offset CFGCC_newFields mov cx, length CFGCC_newFields call CopyFieldsToBuildInfo ret CharFGColorControlGetInfo endm CFGCC_newFields GC_NewField \ <offset GCBI_flags, size GCBI_flags, <GCD_dword mask GCBF_SUSPEND_ON_APPLY>>, <offset GCBI_initFileKey, size GCBI_initFileKey, <GCD_dword CFGCC_IniFileKey>>, <offset GCBI_gcnList, size GCBI_gcnList, <GCD_dword CFGCC_gcnList>>, <offset GCBI_gcnCount, size GCBI_gcnCount, <GCD_dword length CFGCC_gcnList>>, <offset GCBI_notificationList, size GCBI_notificationList, <GCD_dword CFGCC_notifyList>>, <offset GCBI_notificationCount, size GCBI_notificationCount, <GCD_dword size CFGCC_notifyList>>, <offset GCBI_controllerName, size GCBI_controllerName, <GCD_optr CFGCCName>>, <offset GCBI_features, size GCBI_features, <GCD_dword CFGCC_DEFAULT_FEATURES>>, <offset GCBI_toolFeatures, size GCBI_toolFeatures, <GCD_dword CFGCC_DEFAULT_TOOLBOX_FEATURES>>, <offset GCBI_helpContext, size GCBI_helpContext, <GCD_dword CFGCC_helpContext>> if FULL_EXECUTE_IN_PLACE ControlInfoXIP segment resource endif CFGCC_helpContext char "dbCharClr", 0 CFGCC_IniFileKey char "charFGColor", 0 CFGCC_gcnList GCNListType \ <MANUFACTURER_ID_GEOWORKS, GAGCNLT_APP_TARGET_NOTIFY_TEXT_CHAR_ATTR_CHANGE>, <MANUFACTURER_ID_GEOWORKS, GAGCNLT_APP_TARGET_NOTIFY_TEXT_FG_COLOR_CHANGE> CFGCC_notifyList NotificationType \ <MANUFACTURER_ID_GEOWORKS, GWNT_TEXT_CHAR_ATTR_CHANGE>, <MANUFACTURER_ID_GEOWORKS, GWNT_TEXT_FG_COLOR_CHANGE> if FULL_EXECUTE_IN_PLACE ControlInfoXIP ends endif COMMENT @---------------------------------------------------------------------- FUNCTION: CopyFieldsToBuildInfo DESCRIPTION: Copy fields from a table of GC_NewField structures to a GenControlBuildInfo structure CALLED BY: INTERNAL PASS: esdi - GenControlBuildInfo structure cs:si - table of GC_NewField structures cx - table length RETURN: none DESTROYED: ax, bx, cx, dx, si, si, di, bp, ds, es REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/24/92 Initial version ------------------------------------------------------------------------------@ CopyFieldsToBuildInfo proc near segmov ds, cs ;ds:si = source copyLoop: push cx, si, di clr ax lodsb ;ax = offset add di, ax clr ax lodsb mov_tr cx, ax ;cx = count rep movsb pop cx, si, di add si, size GC_NewField loop copyLoop ret CopyFieldsToBuildInfo endp COMMENT @---------------------------------------------------------------------- MESSAGE: CharFGColorControlOutputAction -- MSG_GEN_OUTPUT_ACTION for CharFGColorControlClass DESCRIPTION: Intercept ColorSelector output that we want PASS: *ds:si - instance data es - segment of CharFGColorControlClass ax - The message cx:dx - destination (or travel option) bp - event RETURN: DESTROYED: bx, si, di, ds, es (message handler) REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/24/92 Initial version ------------------------------------------------------------------------------@ CharFGColorControlOutputAction method dynamic CharFGColorControlClass, MSG_GEN_OUTPUT_ACTION mov di, offset CharFGColorControlClass FALL_THRU ColorInterceptAction CharFGColorControlOutputAction endm ;--- ColorInterceptAction proc far push cx, si mov bx, bp call ObjGetMessageInfo ;ax = message pop cx, si cmp ax, MSG_META_COLORED_OBJECT_SET_COLOR jz handleOurself cmp ax, MSG_META_COLORED_OBJECT_SET_DRAW_MASK jz handleOurself cmp ax, MSG_META_COLORED_OBJECT_SET_PATTERN jz handleOurself mov ax, MSG_GEN_OUTPUT_ACTION GOTO ObjCallSuperNoLock handleOurself: ; dispatch the event to ourself mov cx, ds:[LMBH_handle] ;cx:si = dest call MessageSetDestination clr di ;no flags call MessageDispatch ret ColorInterceptAction endp COMMENT @---------------------------------------------------------------------- MESSAGE: CharFGColorControlSetColor -- MSG_META_COLORED_OBJECT_SET_COLOR for CharFGColorControlClass DESCRIPTION: Handle a color change PASS: *ds:si - instance data es - segment of CharFGColorControlClass ax - The message dxcx - color RETURN: DESTROYED: bx, si, di, ds, es (message handler) REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/24/92 Initial version ------------------------------------------------------------------------------@ CharFGColorControlSetColor method dynamic CharFGColorControlClass, MSG_META_COLORED_OBJECT_SET_COLOR mov ax, MSG_VIS_TEXT_SET_COLOR call SendMeta_AX_DXCX_Common ret CharFGColorControlSetColor endm ;--- CharFGColorControlSetDrawMask method dynamic CharFGColorControlClass, MSG_META_COLORED_OBJECT_SET_DRAW_MASK mov ax, MSG_VIS_TEXT_SET_GRAY_SCREEN call SendMeta_AX_CX_Common ret CharFGColorControlSetDrawMask endm ;--- CharFGColorControlSetPattern method dynamic CharFGColorControlClass, MSG_META_COLORED_OBJECT_SET_PATTERN mov ax, MSG_VIS_TEXT_SET_PATTERN call SendMeta_AX_CX_Common ret CharFGColorControlSetPattern endm COMMENT @---------------------------------------------------------------------- MESSAGE: CharFGColorControlUpdateUI -- MSG_GEN_CONTROL_UPDATE_UI for CharFGColorControlClass DESCRIPTION: Handle notification of attributes change PASS: *ds:si - instance data es - segment of CharFGColorControlClass ax - The message ss:bp - GenControlUpdateUIParams GCUUIP_manufacturer ManufacturerID GCUUIP_changeType word GCUUIP_dataBlock hptr GCUUIP_toolInteraction optr GCUUIP_features word GCUUIP_toolboxFeatures word GCUUIP_childBlock hptr RETURN: none DESTROYED: bx, si, di, ds, es (message handler) REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 11/12/91 Initial version ------------------------------------------------------------------------------@ CharFGColorControlUpdateUI method dynamic CharFGColorControlClass, MSG_GEN_CONTROL_UPDATE_UI push ds mov dx, GWNT_TEXT_FG_COLOR_CHANGE call GetColorNotifyCommon je gotColor ;branch if got color ; ; Get text color from VisTextNotifyCharAttrChange ; mov al, ds:VTNCAC_charAttr.VTCA_grayScreen movdw dxcx, ds:VTNCAC_charAttr.VTCA_color mov bx, {word} ds:VTNCAC_charAttr.VTCA_pattern mov di, ds:VTNCAC_charAttrDiffs.VTCAD_diffs gotColor: call UnlockNotifBlock pop ds ; dxcx - color ; al - SystemDrawMask ; bx - GraphicPattern ; di - VisTextCharAttrFlags ; VTCAF_MULTIPLE_COLORS ; VTCAF_MULTIPLE_GRAY_SCREENS ; VTCAF_MULTIPLE_PATTERNS call UpdateColorCommon ret CharFGColorControlUpdateUI endm COMMENT @---------------------------------------------------------------------- FUNCTION: UpdateColorCommon DESCRIPTION: Common code to update a color selector CALLED BY: INTERNAL PASS: *ds:si - controller ss:bp - GenControlUpdateUIParams dxcx - color al - SystemDrawMask bx - GraphicPattern di - VisTextCharAttrFlags VTCAF_MULTIPLE_COLORS VTCAF_MULTIPLE_GRAY_SCREENS VTCAF_MULTIPLE_PATTERNS RETURN: none DESTROYED: ax, bx, cx, dx, si, di REGISTER/STACK USAGE: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/24/92 Initial version ------------------------------------------------------------------------------@ UpdateColorCommon proc near uses bp .enter push bx ;save hatch push ax ;save draw mask ; update color mov bp, di and bp, mask VTCAF_MULTIPLE_COLORS ;bp = indeterm mov ax, MSG_COLOR_SELECTOR_UPDATE_COLOR call ObjCallInstanceNoLock ; update draw mask pop cx mov dx, di and dx, mask VTCAF_MULTIPLE_GRAY_SCREENS mov ax, MSG_COLOR_SELECTOR_UPDATE_DRAW_MASK call ObjCallInstanceNoLock ; update hatch pop cx mov dx, di and dx, mask VTCAF_MULTIPLE_PATTERNS mov ax, MSG_COLOR_SELECTOR_UPDATE_PATTERN call ObjCallInstanceNoLock .leave ret UpdateColorCommon endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% GetColorNotifyCommon %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Common routine to get notification data for color CALLED BY: CharFGColorControlUpdateUI(), CharBGColorControlUpdateUI() PASS: ss:bp - GenControlUpdateUIParams GCUUIP_manufacturer ManufacturerID GCUUIP_changeType word GCUUIP_dataBlock hptr GCUUIP_toolInteraction optr GCUUIP_features word GCUUIP_toolboxFeatures word GCUUIP_childBlock hptr dx - GeoWorksNotificationType to match NOTE: this notification type must use NotifyColorChange RETURN: ds - seg addr of notification block z flag - set if common color notification: di - VisTextCharAttrFlags VTCAF_MULTIPLE_COLORS VTCAF_MULTIPLE_GRAY_SCREENS -or- VTCAF_MULTIPLE_BG_COLORS VTCAF_MULTIPLE_BG_GRAY_SCREENS -or- VTPAF_MULTIPLE_BG_COLORS VTPAF_MULTIPLE_BG_GRAY_SCREENS -or- VTPABF_MULTIPLE_BORDER_COLORS VTPABF_MULTIPLE_BORDER_GRAY_SCREENS ax - SystemDrawMask dxcx - color bx - GraphicPattern DESTROYED: none PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- eca 2/26/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ GetColorNotifyCommon proc near .enter ; ; Get notification data and figure out what type it is ; mov bx, ss:[bp].GCUUIP_dataBlock ;bx <- notification block call MemLock mov ds, ax clr ax cmp ss:[bp].GCUUIP_changeType, dx ;common type? jne done ;branch if not ; ; Get color from NotifyColorChange (common structure) ; mov al, ds:NCC_grayScreen movdw dxcx, ds:NCC_color mov bx, {word} ds:NCC_pattern mov di, ds:NCC_flags done: .leave ret GetColorNotifyCommon endp ;--- UnlockNotifBlock proc near uses bx .enter mov bx, ss:[bp].GCUUIP_dataBlock ;bx <- notification block call MemUnlock .leave ret UnlockNotifBlock endp TextControlCode ends endif ; not NO_CONTROLLERS
22.973638
81
0.64795
7201d829ca29cc260937c951f261b365a86e5a91
2,429
asm
Assembly
lib/intwrap82.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
1
2018-09-04T23:07:24.000Z
2018-09-04T23:07:24.000Z
lib/intwrap82.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
lib/intwrap82.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; Ti82 interrupt 'wrapper' - by Henk Poley ;----------------------------------------------------------------------------- ; The z88dk makes extensively use of the shadow registers (EXX and EX AF,AF) ; The Ti82 system interrupt doesn't preserve (any of) these regs and ; could thus crash your program. The workaround is to use this interrupt ; all the time, it saves and restores the (shadow-)registers for the ; system interrupt. ; We need the system interrupt when scanning keys (in an easy way), also ; some (other) ROM calls make use of the system interrupt. if the interrupt ; is then not running, the calculator would crash. ;----------------------------------------------------------------------------- defc intcount = $8501 ; 1 byte - interrupt variable INCLUDE "#int82.asm" ; Put interrupt loader here ; xor a ; We need to intialize variables ld (intcount),a ; by ourself. ; jr jump_over ; Jump over the interrupt code ;----------------- ; Actual interrupt ;----------------- .IntProcStart push af ; ld a,(intcount) ; Check if own interrupt has quited bit 7,a ; correctly, then bit 7 is zero jr nz,int_fix ; If not zero, fix stack... push hl ; push de ; push bc ; push iy ; ld iy,_IY_TABLE ; ld hl,intcount ; If a 'direct interrupt' occures set 7,(hl) ; right after the TIOS-int, then ; we want bit 7 to be set... .exit_interrupt ; exx ; Swap to shadow registers. ex af,af ; So the TIOS swaps back to the ; normal ones... (the ones we saved ; with push/pops) rst $38 ; di ; 'BIG' HOLE HERE... (TIOS does ei...) di ; ex af,af ; exx ; ; ld hl,intcount ; Interrupt returned correctly, so res 7,(hl) ; we reset our error-condition... ; pop iy ; pop bc ; pop de ; pop hl ; pop af ; ei ; ret ; .int_fix ; pop af ; Pop AF back ex af,af ; Fix shadowregs back exx ; pop bc ; Pop the returnpoint of RST $38 ; from the stack jr exit_interrupt ; Continue with interrupt .IntProcEnd .jump_over ; Memory usage in statvars: ; ------------------------------------------- ; $858F / $85FF - 113 bytes - free ; $8600 / $8700 - 256 bytes - IV table ; $8701 / $8786 - 134 bytes - free ; $8787 / $8789 - 3 bytes - JP IntProcStart ; $878A - 1 byte - intcount <-- ; $878B / $87A2 - 24 bytes - free ; -------------------------------------------
31.141026
78
0.561136
a7e4259f3af5d3e5188ce84998c10a5e9e42ca07
411
asm
Assembly
programs/oeis/108/A108154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/108/A108154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/108/A108154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A108154: a(n) = n^2 - n + 1 if prime else 0. ; 0,3,7,13,0,31,43,0,73,0,0,0,157,0,211,241,0,307,0,0,421,463,0,0,601,0,0,757,0,0,0,0,0,1123,0,0,0,0,1483,0,0,1723,0,0,0,0,0,0,0,0,2551,0,0,0,2971,0,0,3307,0,3541,0,0,3907,0,0,0,4423,0,0,4831,0,5113,0,0,0,5701,0 mov $2,$0 pow $2,2 add $0,$2 mov $1,$0 add $0,1 mul $0,2 seq $1,10051 ; Characteristic function of primes: 1 if n is prime, else 0. mul $0,$1 div $0,2
31.615385
211
0.615572
8af57295973eb988ebf6a33b16dc881f505482be
686
asm
Assembly
ee/hk/english.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
ee/hk/english.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
ee/hk/english.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
; HOTKEY messages  1988 T.Tebby QJUMP section language xdef hk_english xdef hk_norwegian xdef hk_stufc xdef hk_stufp xdef hk_stufl include 'dev8_mac_text' include 'dev8_ee_hk_data' hk_english hk_norwegian hk_stufc dc.b ' ' hk_stufp dc.b $fc hk_stufl dc.l $200 mktext spce,{SPACE} mktext exec,{EXEC} mktext load,{LOAD} mktext pick,{PICK} mktext wake,{WAKE} mktext cmd,{CMD} mktext key,{KEY} mktext grab,{Working memory allocation (kilobytes)> } mktext hks2,{HOTKEY System 2\} xdef hki_llrc hki_llrc dc.w 'hi' dc.w hki.llrc ; dummy last line recall item dc.l 0 mktext llrc,{last line recall} ;32 ds.w 0 end
17.15
68
0.680758
d03b43b9a9d5b8a408795b94b20c847471556644
1,407
asm
Assembly
programs/oeis/022/A022368.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/022/A022368.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/022/A022368.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A022368: Fibonacci sequence beginning 2, 12. ; 2,12,14,26,40,66,106,172,278,450,728,1178,1906,3084,4990,8074,13064,21138,34202,55340,89542,144882,234424,379306,613730,993036,1606766,2599802,4206568,6806370,11012938,17819308,28832246,46651554,75483800,122135354,197619154,319754508,517373662,837128170,1354501832,2191630002,3546131834,5737761836,9283893670,15021655506,24305549176,39327204682,63632753858,102959958540,166592712398,269552670938,436145383336,705698054274,1141843437610,1847541491884,2989384929494,4836926421378,7826311350872,12663237772250,20489549123122,33152786895372,53642336018494,86795122913866,140437458932360,227232581846226,367670040778586,594902622624812,962572663403398,1557475286028210,2520047949431608,4077523235459818,6597571184891426,10675094420351244,17272665605242670,27947760025593914,45220425630836584,73168185656430498,118388611287267082,191556796943697580,309945408230964662,501502205174662242,811447613405626904,1312949818580289146,2124397431985916050,3437347250566205196,5561744682552121246,8999091933118326442,14560836615670447688,23559928548788774130,38120765164459221818,61680693713247995948,99801458877707217766,161482152590955213714,261283611468662431480,422765764059617645194,684049375528280076674,1106815139587897721868,1790864515116177798542,2897679654704075520410 mov $1,1 mov $3,6 lpb $0 sub $0,1 mov $2,$1 mov $1,$3 add $3,$2 lpe mul $1,2 mov $0,$1
100.5
1,263
0.884861
f97fab11273ad6a35def11d8bd43ea941725dd3f
53
asm
Assembly
audio/sfx/snare4_2.asm
AmateurPanda92/pokemon-rby-dx
f7ba1cc50b22d93ed176571e074a52d73360da93
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
audio/sfx/snare4_2.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
audio/sfx/snare4_2.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
SFX_Snare4_2_Ch7: noisenote 0, 8, 1, 51 endchannel
13.25
22
0.754717
73e8ca5535b79dfb2891674cd55646dc0bc30ea9
425
asm
Assembly
programs/oeis/329/A329696.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/329/A329696.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/329/A329696.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A329696: Number of excursions of length n with Motzkin-steps avoiding the consecutive steps UH, HU, HD and DH. ; 1,1,2,1,3,1,6,1,15,1,43,1,133,1,430,1,1431,1,4863,1,16797,1,58787,1,208013,1,742901,1,2674441,1,9694846,1,35357671,1,129644791,1,477638701,1,1767263191,1,6564120421,1,24466267021,1,91482563641,1,343059613651,1,1289904147325,1 max $0,1 seq $0,126120 ; Catalan numbers (A000108) interpolated with 0's. add $0,1
60.714286
227
0.76
11a7257e6568ba63e2da362707fcc183fa684041
79
asm
Assembly
src/test/fixtures/halt.asm
nrkn/momo-vm
b0d8673e1585b0b277d594196addaecd4bdb13b1
[ "MIT" ]
1
2018-04-13T10:18:56.000Z
2018-04-13T10:18:56.000Z
src/test/fixtures/halt.asm
nrkn/momo-vm
b0d8673e1585b0b277d594196addaecd4bdb13b1
[ "MIT" ]
null
null
null
src/test/fixtures/halt.asm
nrkn/momo-vm
b0d8673e1585b0b277d594196addaecd4bdb13b1
[ "MIT" ]
null
null
null
prog 2 1 jmp $5 copy 0 3 copy 1 4 halt copy 3 2 jmpl $2 3 $3 dec 3 inc 4 jmp $6
7.9
12
0.64557
6b791b5e761764e27b5cb9eed969efd4f937579b
106,954
asm
Assembly
10.0.14393-sp0-windows-10-rs1-1607/amd64/ssdt_sysenter.asm
rmusser01/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
6
2018-01-18T02:30:27.000Z
2020-01-11T03:42:33.000Z
10.0.14393-sp0-windows-10-rs1-1607/amd64/ssdt_sysenter.asm
stonedreamforest/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
null
null
null
10.0.14393-sp0-windows-10-rs1-1607/amd64/ssdt_sysenter.asm
stonedreamforest/windows-syscall-table
6216a2559d714eb04bad278792a6544ab8f21d41
[ "BSD-3-Clause" ]
3
2017-12-29T07:50:35.000Z
2020-10-15T09:28:54.000Z
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 10.0.14393-sp0-windows-10-rs1-1607 amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtAccessCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtAccessCheck PROC STDCALL mov r10 , rcx mov eax , 0 ;syscall db 0Fh , 05h ret NtAccessCheck ENDP ; ULONG64 __stdcall NtWorkerFactoryWorkerReady( ULONG64 arg_01 ); NtWorkerFactoryWorkerReady PROC STDCALL mov r10 , rcx mov eax , 1 ;syscall db 0Fh , 05h ret NtWorkerFactoryWorkerReady ENDP ; ULONG64 __stdcall NtAcceptConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAcceptConnectPort PROC STDCALL mov r10 , rcx mov eax , 2 ;syscall db 0Fh , 05h ret NtAcceptConnectPort ENDP ; ULONG64 __stdcall NtMapUserPhysicalPagesScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtMapUserPhysicalPagesScatter PROC STDCALL mov r10 , rcx mov eax , 3 ;syscall db 0Fh , 05h ret NtMapUserPhysicalPagesScatter ENDP ; ULONG64 __stdcall NtWaitForSingleObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtWaitForSingleObject PROC STDCALL mov r10 , rcx mov eax , 4 ;syscall db 0Fh , 05h ret NtWaitForSingleObject ENDP ; ULONG64 __stdcall NtCallbackReturn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCallbackReturn PROC STDCALL mov r10 , rcx mov eax , 5 ;syscall db 0Fh , 05h ret NtCallbackReturn ENDP ; ULONG64 __stdcall NtReadFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtReadFile PROC STDCALL mov r10 , rcx mov eax , 6 ;syscall db 0Fh , 05h ret NtReadFile ENDP ; ULONG64 __stdcall NtDeviceIoControlFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtDeviceIoControlFile PROC STDCALL mov r10 , rcx mov eax , 7 ;syscall db 0Fh , 05h ret NtDeviceIoControlFile ENDP ; ULONG64 __stdcall NtWriteFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtWriteFile PROC STDCALL mov r10 , rcx mov eax , 8 ;syscall db 0Fh , 05h ret NtWriteFile ENDP ; ULONG64 __stdcall NtRemoveIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtRemoveIoCompletion PROC STDCALL mov r10 , rcx mov eax , 9 ;syscall db 0Fh , 05h ret NtRemoveIoCompletion ENDP ; ULONG64 __stdcall NtReleaseSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtReleaseSemaphore PROC STDCALL mov r10 , rcx mov eax , 10 ;syscall db 0Fh , 05h ret NtReleaseSemaphore ENDP ; ULONG64 __stdcall NtReplyWaitReceivePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtReplyWaitReceivePort PROC STDCALL mov r10 , rcx mov eax , 11 ;syscall db 0Fh , 05h ret NtReplyWaitReceivePort ENDP ; ULONG64 __stdcall NtReplyPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtReplyPort PROC STDCALL mov r10 , rcx mov eax , 12 ;syscall db 0Fh , 05h ret NtReplyPort ENDP ; ULONG64 __stdcall NtSetInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationThread PROC STDCALL mov r10 , rcx mov eax , 13 ;syscall db 0Fh , 05h ret NtSetInformationThread ENDP ; ULONG64 __stdcall NtSetEvent( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetEvent PROC STDCALL mov r10 , rcx mov eax , 14 ;syscall db 0Fh , 05h ret NtSetEvent ENDP ; ULONG64 __stdcall NtClose( ULONG64 arg_01 ); NtClose PROC STDCALL mov r10 , rcx mov eax , 15 ;syscall db 0Fh , 05h ret NtClose ENDP ; ULONG64 __stdcall NtQueryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryObject PROC STDCALL mov r10 , rcx mov eax , 16 ;syscall db 0Fh , 05h ret NtQueryObject ENDP ; ULONG64 __stdcall NtQueryInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationFile PROC STDCALL mov r10 , rcx mov eax , 17 ;syscall db 0Fh , 05h ret NtQueryInformationFile ENDP ; ULONG64 __stdcall NtOpenKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenKey PROC STDCALL mov r10 , rcx mov eax , 18 ;syscall db 0Fh , 05h ret NtOpenKey ENDP ; ULONG64 __stdcall NtEnumerateValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtEnumerateValueKey PROC STDCALL mov r10 , rcx mov eax , 19 ;syscall db 0Fh , 05h ret NtEnumerateValueKey ENDP ; ULONG64 __stdcall NtFindAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtFindAtom PROC STDCALL mov r10 , rcx mov eax , 20 ;syscall db 0Fh , 05h ret NtFindAtom ENDP ; ULONG64 __stdcall NtQueryDefaultLocale( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryDefaultLocale PROC STDCALL mov r10 , rcx mov eax , 21 ;syscall db 0Fh , 05h ret NtQueryDefaultLocale ENDP ; ULONG64 __stdcall NtQueryKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryKey PROC STDCALL mov r10 , rcx mov eax , 22 ;syscall db 0Fh , 05h ret NtQueryKey ENDP ; ULONG64 __stdcall NtQueryValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQueryValueKey PROC STDCALL mov r10 , rcx mov eax , 23 ;syscall db 0Fh , 05h ret NtQueryValueKey ENDP ; ULONG64 __stdcall NtAllocateVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAllocateVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 24 ;syscall db 0Fh , 05h ret NtAllocateVirtualMemory ENDP ; ULONG64 __stdcall NtQueryInformationProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationProcess PROC STDCALL mov r10 , rcx mov eax , 25 ;syscall db 0Fh , 05h ret NtQueryInformationProcess ENDP ; ULONG64 __stdcall NtWaitForMultipleObjects32( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtWaitForMultipleObjects32 PROC STDCALL mov r10 , rcx mov eax , 26 ;syscall db 0Fh , 05h ret NtWaitForMultipleObjects32 ENDP ; ULONG64 __stdcall NtWriteFileGather( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtWriteFileGather PROC STDCALL mov r10 , rcx mov eax , 27 ;syscall db 0Fh , 05h ret NtWriteFileGather ENDP ; ULONG64 __stdcall NtSetInformationProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationProcess PROC STDCALL mov r10 , rcx mov eax , 28 ;syscall db 0Fh , 05h ret NtSetInformationProcess ENDP ; ULONG64 __stdcall NtCreateKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtCreateKey PROC STDCALL mov r10 , rcx mov eax , 29 ;syscall db 0Fh , 05h ret NtCreateKey ENDP ; ULONG64 __stdcall NtFreeVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtFreeVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 30 ;syscall db 0Fh , 05h ret NtFreeVirtualMemory ENDP ; ULONG64 __stdcall NtImpersonateClientOfPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtImpersonateClientOfPort PROC STDCALL mov r10 , rcx mov eax , 31 ;syscall db 0Fh , 05h ret NtImpersonateClientOfPort ENDP ; ULONG64 __stdcall NtReleaseMutant( ULONG64 arg_01 , ULONG64 arg_02 ); NtReleaseMutant PROC STDCALL mov r10 , rcx mov eax , 32 ;syscall db 0Fh , 05h ret NtReleaseMutant ENDP ; ULONG64 __stdcall NtQueryInformationToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationToken PROC STDCALL mov r10 , rcx mov eax , 33 ;syscall db 0Fh , 05h ret NtQueryInformationToken ENDP ; ULONG64 __stdcall NtRequestWaitReplyPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtRequestWaitReplyPort PROC STDCALL mov r10 , rcx mov eax , 34 ;syscall db 0Fh , 05h ret NtRequestWaitReplyPort ENDP ; ULONG64 __stdcall NtQueryVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQueryVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 35 ;syscall db 0Fh , 05h ret NtQueryVirtualMemory ENDP ; ULONG64 __stdcall NtOpenThreadToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenThreadToken PROC STDCALL mov r10 , rcx mov eax , 36 ;syscall db 0Fh , 05h ret NtOpenThreadToken ENDP ; ULONG64 __stdcall NtQueryInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationThread PROC STDCALL mov r10 , rcx mov eax , 37 ;syscall db 0Fh , 05h ret NtQueryInformationThread ENDP ; ULONG64 __stdcall NtOpenProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenProcess PROC STDCALL mov r10 , rcx mov eax , 38 ;syscall db 0Fh , 05h ret NtOpenProcess ENDP ; ULONG64 __stdcall NtSetInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetInformationFile PROC STDCALL mov r10 , rcx mov eax , 39 ;syscall db 0Fh , 05h ret NtSetInformationFile ENDP ; ULONG64 __stdcall NtMapViewOfSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtMapViewOfSection PROC STDCALL mov r10 , rcx mov eax , 40 ;syscall db 0Fh , 05h ret NtMapViewOfSection ENDP ; ULONG64 __stdcall NtAccessCheckAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtAccessCheckAndAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 41 ;syscall db 0Fh , 05h ret NtAccessCheckAndAuditAlarm ENDP ; ULONG64 __stdcall NtUnmapViewOfSection( ULONG64 arg_01 , ULONG64 arg_02 ); NtUnmapViewOfSection PROC STDCALL mov r10 , rcx mov eax , 42 ;syscall db 0Fh , 05h ret NtUnmapViewOfSection ENDP ; ULONG64 __stdcall NtReplyWaitReceivePortEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtReplyWaitReceivePortEx PROC STDCALL mov r10 , rcx mov eax , 43 ;syscall db 0Fh , 05h ret NtReplyWaitReceivePortEx ENDP ; ULONG64 __stdcall NtTerminateProcess( ULONG64 arg_01 , ULONG64 arg_02 ); NtTerminateProcess PROC STDCALL mov r10 , rcx mov eax , 44 ;syscall db 0Fh , 05h ret NtTerminateProcess ENDP ; ULONG64 __stdcall NtSetEventBoostPriority( ULONG64 arg_01 ); NtSetEventBoostPriority PROC STDCALL mov r10 , rcx mov eax , 45 ;syscall db 0Fh , 05h ret NtSetEventBoostPriority ENDP ; ULONG64 __stdcall NtReadFileScatter( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtReadFileScatter PROC STDCALL mov r10 , rcx mov eax , 46 ;syscall db 0Fh , 05h ret NtReadFileScatter ENDP ; ULONG64 __stdcall NtOpenThreadTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtOpenThreadTokenEx PROC STDCALL mov r10 , rcx mov eax , 47 ;syscall db 0Fh , 05h ret NtOpenThreadTokenEx ENDP ; ULONG64 __stdcall NtOpenProcessTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenProcessTokenEx PROC STDCALL mov r10 , rcx mov eax , 48 ;syscall db 0Fh , 05h ret NtOpenProcessTokenEx ENDP ; ULONG64 __stdcall NtQueryPerformanceCounter( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryPerformanceCounter PROC STDCALL mov r10 , rcx mov eax , 49 ;syscall db 0Fh , 05h ret NtQueryPerformanceCounter ENDP ; ULONG64 __stdcall NtEnumerateKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtEnumerateKey PROC STDCALL mov r10 , rcx mov eax , 50 ;syscall db 0Fh , 05h ret NtEnumerateKey ENDP ; ULONG64 __stdcall NtOpenFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtOpenFile PROC STDCALL mov r10 , rcx mov eax , 51 ;syscall db 0Fh , 05h ret NtOpenFile ENDP ; ULONG64 __stdcall NtDelayExecution( ULONG64 arg_01 , ULONG64 arg_02 ); NtDelayExecution PROC STDCALL mov r10 , rcx mov eax , 52 ;syscall db 0Fh , 05h ret NtDelayExecution ENDP ; ULONG64 __stdcall NtQueryDirectoryFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtQueryDirectoryFile PROC STDCALL mov r10 , rcx mov eax , 53 ;syscall db 0Fh , 05h ret NtQueryDirectoryFile ENDP ; ULONG64 __stdcall NtQuerySystemInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtQuerySystemInformation PROC STDCALL mov r10 , rcx mov eax , 54 ;syscall db 0Fh , 05h ret NtQuerySystemInformation ENDP ; ULONG64 __stdcall NtOpenSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenSection PROC STDCALL mov r10 , rcx mov eax , 55 ;syscall db 0Fh , 05h ret NtOpenSection ENDP ; ULONG64 __stdcall NtQueryTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryTimer PROC STDCALL mov r10 , rcx mov eax , 56 ;syscall db 0Fh , 05h ret NtQueryTimer ENDP ; ULONG64 __stdcall NtFsControlFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtFsControlFile PROC STDCALL mov r10 , rcx mov eax , 57 ;syscall db 0Fh , 05h ret NtFsControlFile ENDP ; ULONG64 __stdcall NtWriteVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtWriteVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 58 ;syscall db 0Fh , 05h ret NtWriteVirtualMemory ENDP ; ULONG64 __stdcall NtCloseObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCloseObjectAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 59 ;syscall db 0Fh , 05h ret NtCloseObjectAuditAlarm ENDP ; ULONG64 __stdcall NtDuplicateObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtDuplicateObject PROC STDCALL mov r10 , rcx mov eax , 60 ;syscall db 0Fh , 05h ret NtDuplicateObject ENDP ; ULONG64 __stdcall NtQueryAttributesFile( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryAttributesFile PROC STDCALL mov r10 , rcx mov eax , 61 ;syscall db 0Fh , 05h ret NtQueryAttributesFile ENDP ; ULONG64 __stdcall NtClearEvent( ULONG64 arg_01 ); NtClearEvent PROC STDCALL mov r10 , rcx mov eax , 62 ;syscall db 0Fh , 05h ret NtClearEvent ENDP ; ULONG64 __stdcall NtReadVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtReadVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 63 ;syscall db 0Fh , 05h ret NtReadVirtualMemory ENDP ; ULONG64 __stdcall NtOpenEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenEvent PROC STDCALL mov r10 , rcx mov eax , 64 ;syscall db 0Fh , 05h ret NtOpenEvent ENDP ; ULONG64 __stdcall NtAdjustPrivilegesToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAdjustPrivilegesToken PROC STDCALL mov r10 , rcx mov eax , 65 ;syscall db 0Fh , 05h ret NtAdjustPrivilegesToken ENDP ; ULONG64 __stdcall NtDuplicateToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtDuplicateToken PROC STDCALL mov r10 , rcx mov eax , 66 ;syscall db 0Fh , 05h ret NtDuplicateToken ENDP ; ULONG64 __stdcall NtContinue( ULONG64 arg_01 , ULONG64 arg_02 ); NtContinue PROC STDCALL mov r10 , rcx mov eax , 67 ;syscall db 0Fh , 05h ret NtContinue ENDP ; ULONG64 __stdcall NtQueryDefaultUILanguage( ULONG64 arg_01 ); NtQueryDefaultUILanguage PROC STDCALL mov r10 , rcx mov eax , 68 ;syscall db 0Fh , 05h ret NtQueryDefaultUILanguage ENDP ; ULONG64 __stdcall NtQueueApcThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueueApcThread PROC STDCALL mov r10 , rcx mov eax , 69 ;syscall db 0Fh , 05h ret NtQueueApcThread ENDP ; ULONG64 __stdcall NtYieldExecution( ); NtYieldExecution PROC STDCALL mov r10 , rcx mov eax , 70 ;syscall db 0Fh , 05h ret NtYieldExecution ENDP ; ULONG64 __stdcall NtAddAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAddAtom PROC STDCALL mov r10 , rcx mov eax , 71 ;syscall db 0Fh , 05h ret NtAddAtom ENDP ; ULONG64 __stdcall NtCreateEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreateEvent PROC STDCALL mov r10 , rcx mov eax , 72 ;syscall db 0Fh , 05h ret NtCreateEvent ENDP ; ULONG64 __stdcall NtQueryVolumeInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryVolumeInformationFile PROC STDCALL mov r10 , rcx mov eax , 73 ;syscall db 0Fh , 05h ret NtQueryVolumeInformationFile ENDP ; ULONG64 __stdcall NtCreateSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtCreateSection PROC STDCALL mov r10 , rcx mov eax , 74 ;syscall db 0Fh , 05h ret NtCreateSection ENDP ; ULONG64 __stdcall NtFlushBuffersFile( ULONG64 arg_01 , ULONG64 arg_02 ); NtFlushBuffersFile PROC STDCALL mov r10 , rcx mov eax , 75 ;syscall db 0Fh , 05h ret NtFlushBuffersFile ENDP ; ULONG64 __stdcall NtApphelpCacheControl( ULONG64 arg_01 , ULONG64 arg_02 ); NtApphelpCacheControl PROC STDCALL mov r10 , rcx mov eax , 76 ;syscall db 0Fh , 05h ret NtApphelpCacheControl ENDP ; ULONG64 __stdcall NtCreateProcessEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtCreateProcessEx PROC STDCALL mov r10 , rcx mov eax , 77 ;syscall db 0Fh , 05h ret NtCreateProcessEx ENDP ; ULONG64 __stdcall NtCreateThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtCreateThread PROC STDCALL mov r10 , rcx mov eax , 78 ;syscall db 0Fh , 05h ret NtCreateThread ENDP ; ULONG64 __stdcall NtIsProcessInJob( ULONG64 arg_01 , ULONG64 arg_02 ); NtIsProcessInJob PROC STDCALL mov r10 , rcx mov eax , 79 ;syscall db 0Fh , 05h ret NtIsProcessInJob ENDP ; ULONG64 __stdcall NtProtectVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtProtectVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 80 ;syscall db 0Fh , 05h ret NtProtectVirtualMemory ENDP ; ULONG64 __stdcall NtQuerySection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQuerySection PROC STDCALL mov r10 , rcx mov eax , 81 ;syscall db 0Fh , 05h ret NtQuerySection ENDP ; ULONG64 __stdcall NtResumeThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtResumeThread PROC STDCALL mov r10 , rcx mov eax , 82 ;syscall db 0Fh , 05h ret NtResumeThread ENDP ; ULONG64 __stdcall NtTerminateThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtTerminateThread PROC STDCALL mov r10 , rcx mov eax , 83 ;syscall db 0Fh , 05h ret NtTerminateThread ENDP ; ULONG64 __stdcall NtReadRequestData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtReadRequestData PROC STDCALL mov r10 , rcx mov eax , 84 ;syscall db 0Fh , 05h ret NtReadRequestData ENDP ; ULONG64 __stdcall NtCreateFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtCreateFile PROC STDCALL mov r10 , rcx mov eax , 85 ;syscall db 0Fh , 05h ret NtCreateFile ENDP ; ULONG64 __stdcall NtQueryEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryEvent PROC STDCALL mov r10 , rcx mov eax , 86 ;syscall db 0Fh , 05h ret NtQueryEvent ENDP ; ULONG64 __stdcall NtWriteRequestData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtWriteRequestData PROC STDCALL mov r10 , rcx mov eax , 87 ;syscall db 0Fh , 05h ret NtWriteRequestData ENDP ; ULONG64 __stdcall NtOpenDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenDirectoryObject PROC STDCALL mov r10 , rcx mov eax , 88 ;syscall db 0Fh , 05h ret NtOpenDirectoryObject ENDP ; ULONG64 __stdcall NtAccessCheckByTypeAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 ); NtAccessCheckByTypeAndAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 89 ;syscall db 0Fh , 05h ret NtAccessCheckByTypeAndAuditAlarm ENDP ; ULONG64 __stdcall NtQuerySystemTime( ULONG64 arg_01 ); NtQuerySystemTime PROC STDCALL mov r10 , rcx mov eax , 90 ;syscall db 0Fh , 05h ret NtQuerySystemTime ENDP ; ULONG64 __stdcall NtWaitForMultipleObjects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtWaitForMultipleObjects PROC STDCALL mov r10 , rcx mov eax , 91 ;syscall db 0Fh , 05h ret NtWaitForMultipleObjects ENDP ; ULONG64 __stdcall NtSetInformationObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationObject PROC STDCALL mov r10 , rcx mov eax , 92 ;syscall db 0Fh , 05h ret NtSetInformationObject ENDP ; ULONG64 __stdcall NtCancelIoFile( ULONG64 arg_01 , ULONG64 arg_02 ); NtCancelIoFile PROC STDCALL mov r10 , rcx mov eax , 93 ;syscall db 0Fh , 05h ret NtCancelIoFile ENDP ; ULONG64 __stdcall NtTraceEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtTraceEvent PROC STDCALL mov r10 , rcx mov eax , 94 ;syscall db 0Fh , 05h ret NtTraceEvent ENDP ; ULONG64 __stdcall NtPowerInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtPowerInformation PROC STDCALL mov r10 , rcx mov eax , 95 ;syscall db 0Fh , 05h ret NtPowerInformation ENDP ; ULONG64 __stdcall NtSetValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSetValueKey PROC STDCALL mov r10 , rcx mov eax , 96 ;syscall db 0Fh , 05h ret NtSetValueKey ENDP ; ULONG64 __stdcall NtCancelTimer( ULONG64 arg_01 , ULONG64 arg_02 ); NtCancelTimer PROC STDCALL mov r10 , rcx mov eax , 97 ;syscall db 0Fh , 05h ret NtCancelTimer ENDP ; ULONG64 __stdcall NtSetTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtSetTimer PROC STDCALL mov r10 , rcx mov eax , 98 ;syscall db 0Fh , 05h ret NtSetTimer ENDP ; ULONG64 __stdcall NtAccessCheckByType( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtAccessCheckByType PROC STDCALL mov r10 , rcx mov eax , 99 ;syscall db 0Fh , 05h ret NtAccessCheckByType ENDP ; ULONG64 __stdcall NtAccessCheckByTypeResultList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtAccessCheckByTypeResultList PROC STDCALL mov r10 , rcx mov eax , 100 ;syscall db 0Fh , 05h ret NtAccessCheckByTypeResultList ENDP ; ULONG64 __stdcall NtAccessCheckByTypeResultListAndAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 ); NtAccessCheckByTypeResultListAndAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 101 ;syscall db 0Fh , 05h ret NtAccessCheckByTypeResultListAndAuditAlarm ENDP ; ULONG64 __stdcall NtAccessCheckByTypeResultListAndAuditAlarmByHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 , ULONG64 arg_17 ); NtAccessCheckByTypeResultListAndAuditAlarmByHandle PROC STDCALL mov r10 , rcx mov eax , 102 ;syscall db 0Fh , 05h ret NtAccessCheckByTypeResultListAndAuditAlarmByHandle ENDP ; ULONG64 __stdcall NtAddAtomEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtAddAtomEx PROC STDCALL mov r10 , rcx mov eax , 103 ;syscall db 0Fh , 05h ret NtAddAtomEx ENDP ; ULONG64 __stdcall NtAddBootEntry( ULONG64 arg_01 , ULONG64 arg_02 ); NtAddBootEntry PROC STDCALL mov r10 , rcx mov eax , 104 ;syscall db 0Fh , 05h ret NtAddBootEntry ENDP ; ULONG64 __stdcall NtAddDriverEntry( ULONG64 arg_01 , ULONG64 arg_02 ); NtAddDriverEntry PROC STDCALL mov r10 , rcx mov eax , 105 ;syscall db 0Fh , 05h ret NtAddDriverEntry ENDP ; ULONG64 __stdcall NtAdjustGroupsToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAdjustGroupsToken PROC STDCALL mov r10 , rcx mov eax , 106 ;syscall db 0Fh , 05h ret NtAdjustGroupsToken ENDP ; ULONG64 __stdcall NtAdjustTokenClaimsAndDeviceGroups( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 ); NtAdjustTokenClaimsAndDeviceGroups PROC STDCALL mov r10 , rcx mov eax , 107 ;syscall db 0Fh , 05h ret NtAdjustTokenClaimsAndDeviceGroups ENDP ; ULONG64 __stdcall NtAlertResumeThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtAlertResumeThread PROC STDCALL mov r10 , rcx mov eax , 108 ;syscall db 0Fh , 05h ret NtAlertResumeThread ENDP ; ULONG64 __stdcall NtAlertThread( ULONG64 arg_01 ); NtAlertThread PROC STDCALL mov r10 , rcx mov eax , 109 ;syscall db 0Fh , 05h ret NtAlertThread ENDP ; ULONG64 __stdcall NtAlertThreadByThreadId( ULONG64 arg_01 ); NtAlertThreadByThreadId PROC STDCALL mov r10 , rcx mov eax , 110 ;syscall db 0Fh , 05h ret NtAlertThreadByThreadId ENDP ; ULONG64 __stdcall NtAllocateLocallyUniqueId( ULONG64 arg_01 ); NtAllocateLocallyUniqueId PROC STDCALL mov r10 , rcx mov eax , 111 ;syscall db 0Fh , 05h ret NtAllocateLocallyUniqueId ENDP ; ULONG64 __stdcall NtAllocateReserveObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAllocateReserveObject PROC STDCALL mov r10 , rcx mov eax , 112 ;syscall db 0Fh , 05h ret NtAllocateReserveObject ENDP ; ULONG64 __stdcall NtAllocateUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAllocateUserPhysicalPages PROC STDCALL mov r10 , rcx mov eax , 113 ;syscall db 0Fh , 05h ret NtAllocateUserPhysicalPages ENDP ; ULONG64 __stdcall NtAllocateUuids( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtAllocateUuids PROC STDCALL mov r10 , rcx mov eax , 114 ;syscall db 0Fh , 05h ret NtAllocateUuids ENDP ; ULONG64 __stdcall NtAlpcAcceptConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtAlpcAcceptConnectPort PROC STDCALL mov r10 , rcx mov eax , 115 ;syscall db 0Fh , 05h ret NtAlpcAcceptConnectPort ENDP ; ULONG64 __stdcall NtAlpcCancelMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcCancelMessage PROC STDCALL mov r10 , rcx mov eax , 116 ;syscall db 0Fh , 05h ret NtAlpcCancelMessage ENDP ; ULONG64 __stdcall NtAlpcConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtAlpcConnectPort PROC STDCALL mov r10 , rcx mov eax , 117 ;syscall db 0Fh , 05h ret NtAlpcConnectPort ENDP ; ULONG64 __stdcall NtAlpcConnectPortEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtAlpcConnectPortEx PROC STDCALL mov r10 , rcx mov eax , 118 ;syscall db 0Fh , 05h ret NtAlpcConnectPortEx ENDP ; ULONG64 __stdcall NtAlpcCreatePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcCreatePort PROC STDCALL mov r10 , rcx mov eax , 119 ;syscall db 0Fh , 05h ret NtAlpcCreatePort ENDP ; ULONG64 __stdcall NtAlpcCreatePortSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAlpcCreatePortSection PROC STDCALL mov r10 , rcx mov eax , 120 ;syscall db 0Fh , 05h ret NtAlpcCreatePortSection ENDP ; ULONG64 __stdcall NtAlpcCreateResourceReserve( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtAlpcCreateResourceReserve PROC STDCALL mov r10 , rcx mov eax , 121 ;syscall db 0Fh , 05h ret NtAlpcCreateResourceReserve ENDP ; ULONG64 __stdcall NtAlpcCreateSectionView( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcCreateSectionView PROC STDCALL mov r10 , rcx mov eax , 122 ;syscall db 0Fh , 05h ret NtAlpcCreateSectionView ENDP ; ULONG64 __stdcall NtAlpcCreateSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcCreateSecurityContext PROC STDCALL mov r10 , rcx mov eax , 123 ;syscall db 0Fh , 05h ret NtAlpcCreateSecurityContext ENDP ; ULONG64 __stdcall NtAlpcDeletePortSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcDeletePortSection PROC STDCALL mov r10 , rcx mov eax , 124 ;syscall db 0Fh , 05h ret NtAlpcDeletePortSection ENDP ; ULONG64 __stdcall NtAlpcDeleteResourceReserve( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcDeleteResourceReserve PROC STDCALL mov r10 , rcx mov eax , 125 ;syscall db 0Fh , 05h ret NtAlpcDeleteResourceReserve ENDP ; ULONG64 __stdcall NtAlpcDeleteSectionView( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcDeleteSectionView PROC STDCALL mov r10 , rcx mov eax , 126 ;syscall db 0Fh , 05h ret NtAlpcDeleteSectionView ENDP ; ULONG64 __stdcall NtAlpcDeleteSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcDeleteSecurityContext PROC STDCALL mov r10 , rcx mov eax , 127 ;syscall db 0Fh , 05h ret NtAlpcDeleteSecurityContext ENDP ; ULONG64 __stdcall NtAlpcDisconnectPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtAlpcDisconnectPort PROC STDCALL mov r10 , rcx mov eax , 128 ;syscall db 0Fh , 05h ret NtAlpcDisconnectPort ENDP ; ULONG64 __stdcall NtAlpcImpersonateClientContainerOfPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcImpersonateClientContainerOfPort PROC STDCALL mov r10 , rcx mov eax , 129 ;syscall db 0Fh , 05h ret NtAlpcImpersonateClientContainerOfPort ENDP ; ULONG64 __stdcall NtAlpcImpersonateClientOfPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcImpersonateClientOfPort PROC STDCALL mov r10 , rcx mov eax , 130 ;syscall db 0Fh , 05h ret NtAlpcImpersonateClientOfPort ENDP ; ULONG64 __stdcall NtAlpcOpenSenderProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAlpcOpenSenderProcess PROC STDCALL mov r10 , rcx mov eax , 131 ;syscall db 0Fh , 05h ret NtAlpcOpenSenderProcess ENDP ; ULONG64 __stdcall NtAlpcOpenSenderThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAlpcOpenSenderThread PROC STDCALL mov r10 , rcx mov eax , 132 ;syscall db 0Fh , 05h ret NtAlpcOpenSenderThread ENDP ; ULONG64 __stdcall NtAlpcQueryInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtAlpcQueryInformation PROC STDCALL mov r10 , rcx mov eax , 133 ;syscall db 0Fh , 05h ret NtAlpcQueryInformation ENDP ; ULONG64 __stdcall NtAlpcQueryInformationMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtAlpcQueryInformationMessage PROC STDCALL mov r10 , rcx mov eax , 134 ;syscall db 0Fh , 05h ret NtAlpcQueryInformationMessage ENDP ; ULONG64 __stdcall NtAlpcRevokeSecurityContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtAlpcRevokeSecurityContext PROC STDCALL mov r10 , rcx mov eax , 135 ;syscall db 0Fh , 05h ret NtAlpcRevokeSecurityContext ENDP ; ULONG64 __stdcall NtAlpcSendWaitReceivePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtAlpcSendWaitReceivePort PROC STDCALL mov r10 , rcx mov eax , 136 ;syscall db 0Fh , 05h ret NtAlpcSendWaitReceivePort ENDP ; ULONG64 __stdcall NtAlpcSetInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtAlpcSetInformation PROC STDCALL mov r10 , rcx mov eax , 137 ;syscall db 0Fh , 05h ret NtAlpcSetInformation ENDP ; ULONG64 __stdcall NtAreMappedFilesTheSame( ULONG64 arg_01 , ULONG64 arg_02 ); NtAreMappedFilesTheSame PROC STDCALL mov r10 , rcx mov eax , 138 ;syscall db 0Fh , 05h ret NtAreMappedFilesTheSame ENDP ; ULONG64 __stdcall NtAssignProcessToJobObject( ULONG64 arg_01 , ULONG64 arg_02 ); NtAssignProcessToJobObject PROC STDCALL mov r10 , rcx mov eax , 139 ;syscall db 0Fh , 05h ret NtAssignProcessToJobObject ENDP ; ULONG64 __stdcall NtAssociateWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtAssociateWaitCompletionPacket PROC STDCALL mov r10 , rcx mov eax , 140 ;syscall db 0Fh , 05h ret NtAssociateWaitCompletionPacket ENDP ; ULONG64 __stdcall NtCancelIoFileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCancelIoFileEx PROC STDCALL mov r10 , rcx mov eax , 141 ;syscall db 0Fh , 05h ret NtCancelIoFileEx ENDP ; ULONG64 __stdcall NtCancelSynchronousIoFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCancelSynchronousIoFile PROC STDCALL mov r10 , rcx mov eax , 142 ;syscall db 0Fh , 05h ret NtCancelSynchronousIoFile ENDP ; ULONG64 __stdcall NtCancelTimer2( ULONG64 arg_01 , ULONG64 arg_02 ); NtCancelTimer2 PROC STDCALL mov r10 , rcx mov eax , 143 ;syscall db 0Fh , 05h ret NtCancelTimer2 ENDP ; ULONG64 __stdcall NtCancelWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 ); NtCancelWaitCompletionPacket PROC STDCALL mov r10 , rcx mov eax , 144 ;syscall db 0Fh , 05h ret NtCancelWaitCompletionPacket ENDP ; ULONG64 __stdcall NtCommitComplete( ULONG64 arg_01 , ULONG64 arg_02 ); NtCommitComplete PROC STDCALL mov r10 , rcx mov eax , 145 ;syscall db 0Fh , 05h ret NtCommitComplete ENDP ; ULONG64 __stdcall NtCommitEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtCommitEnlistment PROC STDCALL mov r10 , rcx mov eax , 146 ;syscall db 0Fh , 05h ret NtCommitEnlistment ENDP ; ULONG64 __stdcall NtCommitRegistryTransaction( ULONG64 arg_01 , ULONG64 arg_02 ); NtCommitRegistryTransaction PROC STDCALL mov r10 , rcx mov eax , 147 ;syscall db 0Fh , 05h ret NtCommitRegistryTransaction ENDP ; ULONG64 __stdcall NtCommitTransaction( ULONG64 arg_01 , ULONG64 arg_02 ); NtCommitTransaction PROC STDCALL mov r10 , rcx mov eax , 148 ;syscall db 0Fh , 05h ret NtCommitTransaction ENDP ; ULONG64 __stdcall NtCompactKeys( ULONG64 arg_01 , ULONG64 arg_02 ); NtCompactKeys PROC STDCALL mov r10 , rcx mov eax , 149 ;syscall db 0Fh , 05h ret NtCompactKeys ENDP ; ULONG64 __stdcall NtCompareObjects( ULONG64 arg_01 , ULONG64 arg_02 ); NtCompareObjects PROC STDCALL mov r10 , rcx mov eax , 150 ;syscall db 0Fh , 05h ret NtCompareObjects ENDP ; ULONG64 __stdcall NtCompareTokens( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCompareTokens PROC STDCALL mov r10 , rcx mov eax , 151 ;syscall db 0Fh , 05h ret NtCompareTokens ENDP ; ULONG64 __stdcall NtCompleteConnectPort( ULONG64 arg_01 ); NtCompleteConnectPort PROC STDCALL mov r10 , rcx mov eax , 152 ;syscall db 0Fh , 05h ret NtCompleteConnectPort ENDP ; ULONG64 __stdcall NtCompressKey( ULONG64 arg_01 ); NtCompressKey PROC STDCALL mov r10 , rcx mov eax , 153 ;syscall db 0Fh , 05h ret NtCompressKey ENDP ; ULONG64 __stdcall NtConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtConnectPort PROC STDCALL mov r10 , rcx mov eax , 154 ;syscall db 0Fh , 05h ret NtConnectPort ENDP ; ULONG64 __stdcall NtCreateDebugObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateDebugObject PROC STDCALL mov r10 , rcx mov eax , 155 ;syscall db 0Fh , 05h ret NtCreateDebugObject ENDP ; ULONG64 __stdcall NtCreateDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCreateDirectoryObject PROC STDCALL mov r10 , rcx mov eax , 156 ;syscall db 0Fh , 05h ret NtCreateDirectoryObject ENDP ; ULONG64 __stdcall NtCreateDirectoryObjectEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreateDirectoryObjectEx PROC STDCALL mov r10 , rcx mov eax , 157 ;syscall db 0Fh , 05h ret NtCreateDirectoryObjectEx ENDP ; ULONG64 __stdcall NtCreateEnclave( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtCreateEnclave PROC STDCALL mov r10 , rcx mov eax , 158 ;syscall db 0Fh , 05h ret NtCreateEnclave ENDP ; ULONG64 __stdcall NtCreateEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtCreateEnlistment PROC STDCALL mov r10 , rcx mov eax , 159 ;syscall db 0Fh , 05h ret NtCreateEnlistment ENDP ; ULONG64 __stdcall NtCreateEventPair( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCreateEventPair PROC STDCALL mov r10 , rcx mov eax , 160 ;syscall db 0Fh , 05h ret NtCreateEventPair ENDP ; ULONG64 __stdcall NtCreateIRTimer( ULONG64 arg_01 , ULONG64 arg_02 ); NtCreateIRTimer PROC STDCALL mov r10 , rcx mov eax , 161 ;syscall db 0Fh , 05h ret NtCreateIRTimer ENDP ; ULONG64 __stdcall NtCreateIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateIoCompletion PROC STDCALL mov r10 , rcx mov eax , 162 ;syscall db 0Fh , 05h ret NtCreateIoCompletion ENDP ; ULONG64 __stdcall NtCreateJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCreateJobObject PROC STDCALL mov r10 , rcx mov eax , 163 ;syscall db 0Fh , 05h ret NtCreateJobObject ENDP ; ULONG64 __stdcall NtCreateJobSet( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCreateJobSet PROC STDCALL mov r10 , rcx mov eax , 164 ;syscall db 0Fh , 05h ret NtCreateJobSet ENDP ; ULONG64 __stdcall NtCreateKeyTransacted( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtCreateKeyTransacted PROC STDCALL mov r10 , rcx mov eax , 165 ;syscall db 0Fh , 05h ret NtCreateKeyTransacted ENDP ; ULONG64 __stdcall NtCreateKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateKeyedEvent PROC STDCALL mov r10 , rcx mov eax , 166 ;syscall db 0Fh , 05h ret NtCreateKeyedEvent ENDP ; ULONG64 __stdcall NtCreateLowBoxToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtCreateLowBoxToken PROC STDCALL mov r10 , rcx mov eax , 167 ;syscall db 0Fh , 05h ret NtCreateLowBoxToken ENDP ; ULONG64 __stdcall NtCreateMailslotFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtCreateMailslotFile PROC STDCALL mov r10 , rcx mov eax , 168 ;syscall db 0Fh , 05h ret NtCreateMailslotFile ENDP ; ULONG64 __stdcall NtCreateMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateMutant PROC STDCALL mov r10 , rcx mov eax , 169 ;syscall db 0Fh , 05h ret NtCreateMutant ENDP ; ULONG64 __stdcall NtCreateNamedPipeFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 ); NtCreateNamedPipeFile PROC STDCALL mov r10 , rcx mov eax , 170 ;syscall db 0Fh , 05h ret NtCreateNamedPipeFile ENDP ; ULONG64 __stdcall NtCreatePagingFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreatePagingFile PROC STDCALL mov r10 , rcx mov eax , 171 ;syscall db 0Fh , 05h ret NtCreatePagingFile ENDP ; ULONG64 __stdcall NtCreatePartition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreatePartition PROC STDCALL mov r10 , rcx mov eax , 172 ;syscall db 0Fh , 05h ret NtCreatePartition ENDP ; ULONG64 __stdcall NtCreatePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreatePort PROC STDCALL mov r10 , rcx mov eax , 173 ;syscall db 0Fh , 05h ret NtCreatePort ENDP ; ULONG64 __stdcall NtCreatePrivateNamespace( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreatePrivateNamespace PROC STDCALL mov r10 , rcx mov eax , 174 ;syscall db 0Fh , 05h ret NtCreatePrivateNamespace ENDP ; ULONG64 __stdcall NtCreateProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtCreateProcess PROC STDCALL mov r10 , rcx mov eax , 175 ;syscall db 0Fh , 05h ret NtCreateProcess ENDP ; ULONG64 __stdcall NtCreateProfile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtCreateProfile PROC STDCALL mov r10 , rcx mov eax , 176 ;syscall db 0Fh , 05h ret NtCreateProfile ENDP ; ULONG64 __stdcall NtCreateProfileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtCreateProfileEx PROC STDCALL mov r10 , rcx mov eax , 177 ;syscall db 0Fh , 05h ret NtCreateProfileEx ENDP ; ULONG64 __stdcall NtCreateRegistryTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateRegistryTransaction PROC STDCALL mov r10 , rcx mov eax , 178 ;syscall db 0Fh , 05h ret NtCreateRegistryTransaction ENDP ; ULONG64 __stdcall NtCreateResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtCreateResourceManager PROC STDCALL mov r10 , rcx mov eax , 179 ;syscall db 0Fh , 05h ret NtCreateResourceManager ENDP ; ULONG64 __stdcall NtCreateSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreateSemaphore PROC STDCALL mov r10 , rcx mov eax , 180 ;syscall db 0Fh , 05h ret NtCreateSemaphore ENDP ; ULONG64 __stdcall NtCreateSymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateSymbolicLinkObject PROC STDCALL mov r10 , rcx mov eax , 181 ;syscall db 0Fh , 05h ret NtCreateSymbolicLinkObject ENDP ; ULONG64 __stdcall NtCreateThreadEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtCreateThreadEx PROC STDCALL mov r10 , rcx mov eax , 182 ;syscall db 0Fh , 05h ret NtCreateThreadEx ENDP ; ULONG64 __stdcall NtCreateTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtCreateTimer PROC STDCALL mov r10 , rcx mov eax , 183 ;syscall db 0Fh , 05h ret NtCreateTimer ENDP ; ULONG64 __stdcall NtCreateTimer2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreateTimer2 PROC STDCALL mov r10 , rcx mov eax , 184 ;syscall db 0Fh , 05h ret NtCreateTimer2 ENDP ; ULONG64 __stdcall NtCreateToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 ); NtCreateToken PROC STDCALL mov r10 , rcx mov eax , 185 ;syscall db 0Fh , 05h ret NtCreateToken ENDP ; ULONG64 __stdcall NtCreateTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 , ULONG64 arg_17 ); NtCreateTokenEx PROC STDCALL mov r10 , rcx mov eax , 186 ;syscall db 0Fh , 05h ret NtCreateTokenEx ENDP ; ULONG64 __stdcall NtCreateTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtCreateTransaction PROC STDCALL mov r10 , rcx mov eax , 187 ;syscall db 0Fh , 05h ret NtCreateTransaction ENDP ; ULONG64 __stdcall NtCreateTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtCreateTransactionManager PROC STDCALL mov r10 , rcx mov eax , 188 ;syscall db 0Fh , 05h ret NtCreateTransactionManager ENDP ; ULONG64 __stdcall NtCreateUserProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 ); NtCreateUserProcess PROC STDCALL mov r10 , rcx mov eax , 189 ;syscall db 0Fh , 05h ret NtCreateUserProcess ENDP ; ULONG64 __stdcall NtCreateWaitCompletionPacket( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtCreateWaitCompletionPacket PROC STDCALL mov r10 , rcx mov eax , 190 ;syscall db 0Fh , 05h ret NtCreateWaitCompletionPacket ENDP ; ULONG64 __stdcall NtCreateWaitablePort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtCreateWaitablePort PROC STDCALL mov r10 , rcx mov eax , 191 ;syscall db 0Fh , 05h ret NtCreateWaitablePort ENDP ; ULONG64 __stdcall NtCreateWnfStateName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtCreateWnfStateName PROC STDCALL mov r10 , rcx mov eax , 192 ;syscall db 0Fh , 05h ret NtCreateWnfStateName ENDP ; ULONG64 __stdcall NtCreateWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtCreateWorkerFactory PROC STDCALL mov r10 , rcx mov eax , 193 ;syscall db 0Fh , 05h ret NtCreateWorkerFactory ENDP ; ULONG64 __stdcall NtDebugActiveProcess( ULONG64 arg_01 , ULONG64 arg_02 ); NtDebugActiveProcess PROC STDCALL mov r10 , rcx mov eax , 194 ;syscall db 0Fh , 05h ret NtDebugActiveProcess ENDP ; ULONG64 __stdcall NtDebugContinue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtDebugContinue PROC STDCALL mov r10 , rcx mov eax , 195 ;syscall db 0Fh , 05h ret NtDebugContinue ENDP ; ULONG64 __stdcall NtDeleteAtom( ULONG64 arg_01 ); NtDeleteAtom PROC STDCALL mov r10 , rcx mov eax , 196 ;syscall db 0Fh , 05h ret NtDeleteAtom ENDP ; ULONG64 __stdcall NtDeleteBootEntry( ULONG64 arg_01 ); NtDeleteBootEntry PROC STDCALL mov r10 , rcx mov eax , 197 ;syscall db 0Fh , 05h ret NtDeleteBootEntry ENDP ; ULONG64 __stdcall NtDeleteDriverEntry( ULONG64 arg_01 ); NtDeleteDriverEntry PROC STDCALL mov r10 , rcx mov eax , 198 ;syscall db 0Fh , 05h ret NtDeleteDriverEntry ENDP ; ULONG64 __stdcall NtDeleteFile( ULONG64 arg_01 ); NtDeleteFile PROC STDCALL mov r10 , rcx mov eax , 199 ;syscall db 0Fh , 05h ret NtDeleteFile ENDP ; ULONG64 __stdcall NtDeleteKey( ULONG64 arg_01 ); NtDeleteKey PROC STDCALL mov r10 , rcx mov eax , 200 ;syscall db 0Fh , 05h ret NtDeleteKey ENDP ; ULONG64 __stdcall NtDeleteObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtDeleteObjectAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 201 ;syscall db 0Fh , 05h ret NtDeleteObjectAuditAlarm ENDP ; ULONG64 __stdcall NtDeletePrivateNamespace( ULONG64 arg_01 ); NtDeletePrivateNamespace PROC STDCALL mov r10 , rcx mov eax , 202 ;syscall db 0Fh , 05h ret NtDeletePrivateNamespace ENDP ; ULONG64 __stdcall NtDeleteValueKey( ULONG64 arg_01 , ULONG64 arg_02 ); NtDeleteValueKey PROC STDCALL mov r10 , rcx mov eax , 203 ;syscall db 0Fh , 05h ret NtDeleteValueKey ENDP ; ULONG64 __stdcall NtDeleteWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 ); NtDeleteWnfStateData PROC STDCALL mov r10 , rcx mov eax , 204 ;syscall db 0Fh , 05h ret NtDeleteWnfStateData ENDP ; ULONG64 __stdcall NtDeleteWnfStateName( ULONG64 arg_01 ); NtDeleteWnfStateName PROC STDCALL mov r10 , rcx mov eax , 205 ;syscall db 0Fh , 05h ret NtDeleteWnfStateName ENDP ; ULONG64 __stdcall NtDisableLastKnownGood( ); NtDisableLastKnownGood PROC STDCALL mov r10 , rcx mov eax , 206 ;syscall db 0Fh , 05h ret NtDisableLastKnownGood ENDP ; ULONG64 __stdcall NtDisplayString( ULONG64 arg_01 ); NtDisplayString PROC STDCALL mov r10 , rcx mov eax , 207 ;syscall db 0Fh , 05h ret NtDisplayString ENDP ; ULONG64 __stdcall NtDrawText( ULONG64 arg_01 ); NtDrawText PROC STDCALL mov r10 , rcx mov eax , 208 ;syscall db 0Fh , 05h ret NtDrawText ENDP ; ULONG64 __stdcall NtEnableLastKnownGood( ); NtEnableLastKnownGood PROC STDCALL mov r10 , rcx mov eax , 209 ;syscall db 0Fh , 05h ret NtEnableLastKnownGood ENDP ; ULONG64 __stdcall NtEnumerateBootEntries( ULONG64 arg_01 , ULONG64 arg_02 ); NtEnumerateBootEntries PROC STDCALL mov r10 , rcx mov eax , 210 ;syscall db 0Fh , 05h ret NtEnumerateBootEntries ENDP ; ULONG64 __stdcall NtEnumerateDriverEntries( ULONG64 arg_01 , ULONG64 arg_02 ); NtEnumerateDriverEntries PROC STDCALL mov r10 , rcx mov eax , 211 ;syscall db 0Fh , 05h ret NtEnumerateDriverEntries ENDP ; ULONG64 __stdcall NtEnumerateSystemEnvironmentValuesEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtEnumerateSystemEnvironmentValuesEx PROC STDCALL mov r10 , rcx mov eax , 212 ;syscall db 0Fh , 05h ret NtEnumerateSystemEnvironmentValuesEx ENDP ; ULONG64 __stdcall NtEnumerateTransactionObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtEnumerateTransactionObject PROC STDCALL mov r10 , rcx mov eax , 213 ;syscall db 0Fh , 05h ret NtEnumerateTransactionObject ENDP ; ULONG64 __stdcall NtExtendSection( ULONG64 arg_01 , ULONG64 arg_02 ); NtExtendSection PROC STDCALL mov r10 , rcx mov eax , 214 ;syscall db 0Fh , 05h ret NtExtendSection ENDP ; ULONG64 __stdcall NtFilterBootOption( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtFilterBootOption PROC STDCALL mov r10 , rcx mov eax , 215 ;syscall db 0Fh , 05h ret NtFilterBootOption ENDP ; ULONG64 __stdcall NtFilterToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtFilterToken PROC STDCALL mov r10 , rcx mov eax , 216 ;syscall db 0Fh , 05h ret NtFilterToken ENDP ; ULONG64 __stdcall NtFilterTokenEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 ); NtFilterTokenEx PROC STDCALL mov r10 , rcx mov eax , 217 ;syscall db 0Fh , 05h ret NtFilterTokenEx ENDP ; ULONG64 __stdcall NtFlushBuffersFileEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtFlushBuffersFileEx PROC STDCALL mov r10 , rcx mov eax , 218 ;syscall db 0Fh , 05h ret NtFlushBuffersFileEx ENDP ; ULONG64 __stdcall NtFlushInstallUILanguage( ULONG64 arg_01 , ULONG64 arg_02 ); NtFlushInstallUILanguage PROC STDCALL mov r10 , rcx mov eax , 219 ;syscall db 0Fh , 05h ret NtFlushInstallUILanguage ENDP ; ULONG64 __stdcall NtFlushInstructionCache( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtFlushInstructionCache PROC STDCALL mov r10 , rcx mov eax , 220 ;syscall db 0Fh , 05h ret NtFlushInstructionCache ENDP ; ULONG64 __stdcall NtFlushKey( ULONG64 arg_01 ); NtFlushKey PROC STDCALL mov r10 , rcx mov eax , 221 ;syscall db 0Fh , 05h ret NtFlushKey ENDP ; ULONG64 __stdcall NtFlushProcessWriteBuffers( ); NtFlushProcessWriteBuffers PROC STDCALL mov r10 , rcx mov eax , 222 ;syscall db 0Fh , 05h ret NtFlushProcessWriteBuffers ENDP ; ULONG64 __stdcall NtFlushVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtFlushVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 223 ;syscall db 0Fh , 05h ret NtFlushVirtualMemory ENDP ; ULONG64 __stdcall NtFlushWriteBuffer( ); NtFlushWriteBuffer PROC STDCALL mov r10 , rcx mov eax , 224 ;syscall db 0Fh , 05h ret NtFlushWriteBuffer ENDP ; ULONG64 __stdcall NtFreeUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtFreeUserPhysicalPages PROC STDCALL mov r10 , rcx mov eax , 225 ;syscall db 0Fh , 05h ret NtFreeUserPhysicalPages ENDP ; ULONG64 __stdcall NtFreezeRegistry( ULONG64 arg_01 ); NtFreezeRegistry PROC STDCALL mov r10 , rcx mov eax , 226 ;syscall db 0Fh , 05h ret NtFreezeRegistry ENDP ; ULONG64 __stdcall NtFreezeTransactions( ULONG64 arg_01 , ULONG64 arg_02 ); NtFreezeTransactions PROC STDCALL mov r10 , rcx mov eax , 227 ;syscall db 0Fh , 05h ret NtFreezeTransactions ENDP ; ULONG64 __stdcall NtGetCachedSigningLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtGetCachedSigningLevel PROC STDCALL mov r10 , rcx mov eax , 228 ;syscall db 0Fh , 05h ret NtGetCachedSigningLevel ENDP ; ULONG64 __stdcall NtGetCompleteWnfStateSubscription( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtGetCompleteWnfStateSubscription PROC STDCALL mov r10 , rcx mov eax , 229 ;syscall db 0Fh , 05h ret NtGetCompleteWnfStateSubscription ENDP ; ULONG64 __stdcall NtGetContextThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtGetContextThread PROC STDCALL mov r10 , rcx mov eax , 230 ;syscall db 0Fh , 05h ret NtGetContextThread ENDP ; ULONG64 __stdcall NtGetCurrentProcessorNumber( ); NtGetCurrentProcessorNumber PROC STDCALL mov r10 , rcx mov eax , 231 ;syscall db 0Fh , 05h ret NtGetCurrentProcessorNumber ENDP ; ULONG64 __stdcall NtGetCurrentProcessorNumberEx( ULONG64 arg_01 ); NtGetCurrentProcessorNumberEx PROC STDCALL mov r10 , rcx mov eax , 232 ;syscall db 0Fh , 05h ret NtGetCurrentProcessorNumberEx ENDP ; ULONG64 __stdcall NtGetDevicePowerState( ULONG64 arg_01 , ULONG64 arg_02 ); NtGetDevicePowerState PROC STDCALL mov r10 , rcx mov eax , 233 ;syscall db 0Fh , 05h ret NtGetDevicePowerState ENDP ; ULONG64 __stdcall NtGetMUIRegistryInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtGetMUIRegistryInfo PROC STDCALL mov r10 , rcx mov eax , 234 ;syscall db 0Fh , 05h ret NtGetMUIRegistryInfo ENDP ; ULONG64 __stdcall NtGetNextProcess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtGetNextProcess PROC STDCALL mov r10 , rcx mov eax , 235 ;syscall db 0Fh , 05h ret NtGetNextProcess ENDP ; ULONG64 __stdcall NtGetNextThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtGetNextThread PROC STDCALL mov r10 , rcx mov eax , 236 ;syscall db 0Fh , 05h ret NtGetNextThread ENDP ; ULONG64 __stdcall NtGetNlsSectionPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtGetNlsSectionPtr PROC STDCALL mov r10 , rcx mov eax , 237 ;syscall db 0Fh , 05h ret NtGetNlsSectionPtr ENDP ; ULONG64 __stdcall NtGetNotificationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtGetNotificationResourceManager PROC STDCALL mov r10 , rcx mov eax , 238 ;syscall db 0Fh , 05h ret NtGetNotificationResourceManager ENDP ; ULONG64 __stdcall NtGetWriteWatch( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtGetWriteWatch PROC STDCALL mov r10 , rcx mov eax , 239 ;syscall db 0Fh , 05h ret NtGetWriteWatch ENDP ; ULONG64 __stdcall NtImpersonateAnonymousToken( ULONG64 arg_01 ); NtImpersonateAnonymousToken PROC STDCALL mov r10 , rcx mov eax , 240 ;syscall db 0Fh , 05h ret NtImpersonateAnonymousToken ENDP ; ULONG64 __stdcall NtImpersonateThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtImpersonateThread PROC STDCALL mov r10 , rcx mov eax , 241 ;syscall db 0Fh , 05h ret NtImpersonateThread ENDP ; ULONG64 __stdcall NtInitializeEnclave( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtInitializeEnclave PROC STDCALL mov r10 , rcx mov eax , 242 ;syscall db 0Fh , 05h ret NtInitializeEnclave ENDP ; ULONG64 __stdcall NtInitializeNlsFiles( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtInitializeNlsFiles PROC STDCALL mov r10 , rcx mov eax , 243 ;syscall db 0Fh , 05h ret NtInitializeNlsFiles ENDP ; ULONG64 __stdcall NtInitializeRegistry( ULONG64 arg_01 ); NtInitializeRegistry PROC STDCALL mov r10 , rcx mov eax , 244 ;syscall db 0Fh , 05h ret NtInitializeRegistry ENDP ; ULONG64 __stdcall NtInitiatePowerAction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtInitiatePowerAction PROC STDCALL mov r10 , rcx mov eax , 245 ;syscall db 0Fh , 05h ret NtInitiatePowerAction ENDP ; ULONG64 __stdcall NtIsSystemResumeAutomatic( ); NtIsSystemResumeAutomatic PROC STDCALL mov r10 , rcx mov eax , 246 ;syscall db 0Fh , 05h ret NtIsSystemResumeAutomatic ENDP ; ULONG64 __stdcall NtIsUILanguageComitted( ); NtIsUILanguageComitted PROC STDCALL mov r10 , rcx mov eax , 247 ;syscall db 0Fh , 05h ret NtIsUILanguageComitted ENDP ; ULONG64 __stdcall NtListenPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtListenPort PROC STDCALL mov r10 , rcx mov eax , 248 ;syscall db 0Fh , 05h ret NtListenPort ENDP ; ULONG64 __stdcall NtLoadDriver( ULONG64 arg_01 ); NtLoadDriver PROC STDCALL mov r10 , rcx mov eax , 249 ;syscall db 0Fh , 05h ret NtLoadDriver ENDP ; ULONG64 __stdcall NtLoadEnclaveData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtLoadEnclaveData PROC STDCALL mov r10 , rcx mov eax , 250 ;syscall db 0Fh , 05h ret NtLoadEnclaveData ENDP ; ULONG64 __stdcall NtLoadKey( ULONG64 arg_01 , ULONG64 arg_02 ); NtLoadKey PROC STDCALL mov r10 , rcx mov eax , 251 ;syscall db 0Fh , 05h ret NtLoadKey ENDP ; ULONG64 __stdcall NtLoadKey2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtLoadKey2 PROC STDCALL mov r10 , rcx mov eax , 252 ;syscall db 0Fh , 05h ret NtLoadKey2 ENDP ; ULONG64 __stdcall NtLoadKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtLoadKeyEx PROC STDCALL mov r10 , rcx mov eax , 253 ;syscall db 0Fh , 05h ret NtLoadKeyEx ENDP ; ULONG64 __stdcall NtLockFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtLockFile PROC STDCALL mov r10 , rcx mov eax , 254 ;syscall db 0Fh , 05h ret NtLockFile ENDP ; ULONG64 __stdcall NtLockProductActivationKeys( ULONG64 arg_01 , ULONG64 arg_02 ); NtLockProductActivationKeys PROC STDCALL mov r10 , rcx mov eax , 255 ;syscall db 0Fh , 05h ret NtLockProductActivationKeys ENDP ; ULONG64 __stdcall NtLockRegistryKey( ULONG64 arg_01 ); NtLockRegistryKey PROC STDCALL mov r10 , rcx mov eax , 256 ;syscall db 0Fh , 05h ret NtLockRegistryKey ENDP ; ULONG64 __stdcall NtLockVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtLockVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 257 ;syscall db 0Fh , 05h ret NtLockVirtualMemory ENDP ; ULONG64 __stdcall NtMakePermanentObject( ULONG64 arg_01 ); NtMakePermanentObject PROC STDCALL mov r10 , rcx mov eax , 258 ;syscall db 0Fh , 05h ret NtMakePermanentObject ENDP ; ULONG64 __stdcall NtMakeTemporaryObject( ULONG64 arg_01 ); NtMakeTemporaryObject PROC STDCALL mov r10 , rcx mov eax , 259 ;syscall db 0Fh , 05h ret NtMakeTemporaryObject ENDP ; ULONG64 __stdcall NtManagePartition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtManagePartition PROC STDCALL mov r10 , rcx mov eax , 260 ;syscall db 0Fh , 05h ret NtManagePartition ENDP ; ULONG64 __stdcall NtMapCMFModule( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtMapCMFModule PROC STDCALL mov r10 , rcx mov eax , 261 ;syscall db 0Fh , 05h ret NtMapCMFModule ENDP ; ULONG64 __stdcall NtMapUserPhysicalPages( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtMapUserPhysicalPages PROC STDCALL mov r10 , rcx mov eax , 262 ;syscall db 0Fh , 05h ret NtMapUserPhysicalPages ENDP ; ULONG64 __stdcall NtModifyBootEntry( ULONG64 arg_01 ); NtModifyBootEntry PROC STDCALL mov r10 , rcx mov eax , 263 ;syscall db 0Fh , 05h ret NtModifyBootEntry ENDP ; ULONG64 __stdcall NtModifyDriverEntry( ULONG64 arg_01 ); NtModifyDriverEntry PROC STDCALL mov r10 , rcx mov eax , 264 ;syscall db 0Fh , 05h ret NtModifyDriverEntry ENDP ; ULONG64 __stdcall NtNotifyChangeDirectoryFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtNotifyChangeDirectoryFile PROC STDCALL mov r10 , rcx mov eax , 265 ;syscall db 0Fh , 05h ret NtNotifyChangeDirectoryFile ENDP ; ULONG64 __stdcall NtNotifyChangeKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 ); NtNotifyChangeKey PROC STDCALL mov r10 , rcx mov eax , 266 ;syscall db 0Fh , 05h ret NtNotifyChangeKey ENDP ; ULONG64 __stdcall NtNotifyChangeMultipleKeys( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 ); NtNotifyChangeMultipleKeys PROC STDCALL mov r10 , rcx mov eax , 267 ;syscall db 0Fh , 05h ret NtNotifyChangeMultipleKeys ENDP ; ULONG64 __stdcall NtNotifyChangeSession( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 ); NtNotifyChangeSession PROC STDCALL mov r10 , rcx mov eax , 268 ;syscall db 0Fh , 05h ret NtNotifyChangeSession ENDP ; ULONG64 __stdcall NtOpenEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtOpenEnlistment PROC STDCALL mov r10 , rcx mov eax , 269 ;syscall db 0Fh , 05h ret NtOpenEnlistment ENDP ; ULONG64 __stdcall NtOpenEventPair( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenEventPair PROC STDCALL mov r10 , rcx mov eax , 270 ;syscall db 0Fh , 05h ret NtOpenEventPair ENDP ; ULONG64 __stdcall NtOpenIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenIoCompletion PROC STDCALL mov r10 , rcx mov eax , 271 ;syscall db 0Fh , 05h ret NtOpenIoCompletion ENDP ; ULONG64 __stdcall NtOpenJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenJobObject PROC STDCALL mov r10 , rcx mov eax , 272 ;syscall db 0Fh , 05h ret NtOpenJobObject ENDP ; ULONG64 __stdcall NtOpenKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenKeyEx PROC STDCALL mov r10 , rcx mov eax , 273 ;syscall db 0Fh , 05h ret NtOpenKeyEx ENDP ; ULONG64 __stdcall NtOpenKeyTransacted( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenKeyTransacted PROC STDCALL mov r10 , rcx mov eax , 274 ;syscall db 0Fh , 05h ret NtOpenKeyTransacted ENDP ; ULONG64 __stdcall NtOpenKeyTransactedEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtOpenKeyTransactedEx PROC STDCALL mov r10 , rcx mov eax , 275 ;syscall db 0Fh , 05h ret NtOpenKeyTransactedEx ENDP ; ULONG64 __stdcall NtOpenKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenKeyedEvent PROC STDCALL mov r10 , rcx mov eax , 276 ;syscall db 0Fh , 05h ret NtOpenKeyedEvent ENDP ; ULONG64 __stdcall NtOpenMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenMutant PROC STDCALL mov r10 , rcx mov eax , 277 ;syscall db 0Fh , 05h ret NtOpenMutant ENDP ; ULONG64 __stdcall NtOpenObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 ); NtOpenObjectAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 278 ;syscall db 0Fh , 05h ret NtOpenObjectAuditAlarm ENDP ; ULONG64 __stdcall NtOpenPartition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenPartition PROC STDCALL mov r10 , rcx mov eax , 279 ;syscall db 0Fh , 05h ret NtOpenPartition ENDP ; ULONG64 __stdcall NtOpenPrivateNamespace( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenPrivateNamespace PROC STDCALL mov r10 , rcx mov eax , 280 ;syscall db 0Fh , 05h ret NtOpenPrivateNamespace ENDP ; ULONG64 __stdcall NtOpenProcessToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenProcessToken PROC STDCALL mov r10 , rcx mov eax , 281 ;syscall db 0Fh , 05h ret NtOpenProcessToken ENDP ; ULONG64 __stdcall NtOpenRegistryTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenRegistryTransaction PROC STDCALL mov r10 , rcx mov eax , 282 ;syscall db 0Fh , 05h ret NtOpenRegistryTransaction ENDP ; ULONG64 __stdcall NtOpenResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtOpenResourceManager PROC STDCALL mov r10 , rcx mov eax , 283 ;syscall db 0Fh , 05h ret NtOpenResourceManager ENDP ; ULONG64 __stdcall NtOpenSemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenSemaphore PROC STDCALL mov r10 , rcx mov eax , 284 ;syscall db 0Fh , 05h ret NtOpenSemaphore ENDP ; ULONG64 __stdcall NtOpenSession( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenSession PROC STDCALL mov r10 , rcx mov eax , 285 ;syscall db 0Fh , 05h ret NtOpenSession ENDP ; ULONG64 __stdcall NtOpenSymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenSymbolicLinkObject PROC STDCALL mov r10 , rcx mov eax , 286 ;syscall db 0Fh , 05h ret NtOpenSymbolicLinkObject ENDP ; ULONG64 __stdcall NtOpenThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtOpenThread PROC STDCALL mov r10 , rcx mov eax , 287 ;syscall db 0Fh , 05h ret NtOpenThread ENDP ; ULONG64 __stdcall NtOpenTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtOpenTimer PROC STDCALL mov r10 , rcx mov eax , 288 ;syscall db 0Fh , 05h ret NtOpenTimer ENDP ; ULONG64 __stdcall NtOpenTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtOpenTransaction PROC STDCALL mov r10 , rcx mov eax , 289 ;syscall db 0Fh , 05h ret NtOpenTransaction ENDP ; ULONG64 __stdcall NtOpenTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtOpenTransactionManager PROC STDCALL mov r10 , rcx mov eax , 290 ;syscall db 0Fh , 05h ret NtOpenTransactionManager ENDP ; ULONG64 __stdcall NtPlugPlayControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtPlugPlayControl PROC STDCALL mov r10 , rcx mov eax , 291 ;syscall db 0Fh , 05h ret NtPlugPlayControl ENDP ; ULONG64 __stdcall NtPrePrepareComplete( ULONG64 arg_01 , ULONG64 arg_02 ); NtPrePrepareComplete PROC STDCALL mov r10 , rcx mov eax , 292 ;syscall db 0Fh , 05h ret NtPrePrepareComplete ENDP ; ULONG64 __stdcall NtPrePrepareEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtPrePrepareEnlistment PROC STDCALL mov r10 , rcx mov eax , 293 ;syscall db 0Fh , 05h ret NtPrePrepareEnlistment ENDP ; ULONG64 __stdcall NtPrepareComplete( ULONG64 arg_01 , ULONG64 arg_02 ); NtPrepareComplete PROC STDCALL mov r10 , rcx mov eax , 294 ;syscall db 0Fh , 05h ret NtPrepareComplete ENDP ; ULONG64 __stdcall NtPrepareEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtPrepareEnlistment PROC STDCALL mov r10 , rcx mov eax , 295 ;syscall db 0Fh , 05h ret NtPrepareEnlistment ENDP ; ULONG64 __stdcall NtPrivilegeCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtPrivilegeCheck PROC STDCALL mov r10 , rcx mov eax , 296 ;syscall db 0Fh , 05h ret NtPrivilegeCheck ENDP ; ULONG64 __stdcall NtPrivilegeObjectAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtPrivilegeObjectAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 297 ;syscall db 0Fh , 05h ret NtPrivilegeObjectAuditAlarm ENDP ; ULONG64 __stdcall NtPrivilegedServiceAuditAlarm( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtPrivilegedServiceAuditAlarm PROC STDCALL mov r10 , rcx mov eax , 298 ;syscall db 0Fh , 05h ret NtPrivilegedServiceAuditAlarm ENDP ; ULONG64 __stdcall NtPropagationComplete( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtPropagationComplete PROC STDCALL mov r10 , rcx mov eax , 299 ;syscall db 0Fh , 05h ret NtPropagationComplete ENDP ; ULONG64 __stdcall NtPropagationFailed( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtPropagationFailed PROC STDCALL mov r10 , rcx mov eax , 300 ;syscall db 0Fh , 05h ret NtPropagationFailed ENDP ; ULONG64 __stdcall NtPulseEvent( ULONG64 arg_01 , ULONG64 arg_02 ); NtPulseEvent PROC STDCALL mov r10 , rcx mov eax , 301 ;syscall db 0Fh , 05h ret NtPulseEvent ENDP ; ULONG64 __stdcall NtQueryBootEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryBootEntryOrder PROC STDCALL mov r10 , rcx mov eax , 302 ;syscall db 0Fh , 05h ret NtQueryBootEntryOrder ENDP ; ULONG64 __stdcall NtQueryBootOptions( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryBootOptions PROC STDCALL mov r10 , rcx mov eax , 303 ;syscall db 0Fh , 05h ret NtQueryBootOptions ENDP ; ULONG64 __stdcall NtQueryDebugFilterState( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryDebugFilterState PROC STDCALL mov r10 , rcx mov eax , 304 ;syscall db 0Fh , 05h ret NtQueryDebugFilterState ENDP ; ULONG64 __stdcall NtQueryDirectoryObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtQueryDirectoryObject PROC STDCALL mov r10 , rcx mov eax , 305 ;syscall db 0Fh , 05h ret NtQueryDirectoryObject ENDP ; ULONG64 __stdcall NtQueryDriverEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryDriverEntryOrder PROC STDCALL mov r10 , rcx mov eax , 306 ;syscall db 0Fh , 05h ret NtQueryDriverEntryOrder ENDP ; ULONG64 __stdcall NtQueryEaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtQueryEaFile PROC STDCALL mov r10 , rcx mov eax , 307 ;syscall db 0Fh , 05h ret NtQueryEaFile ENDP ; ULONG64 __stdcall NtQueryFullAttributesFile( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryFullAttributesFile PROC STDCALL mov r10 , rcx mov eax , 308 ;syscall db 0Fh , 05h ret NtQueryFullAttributesFile ENDP ; ULONG64 __stdcall NtQueryInformationAtom( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationAtom PROC STDCALL mov r10 , rcx mov eax , 309 ;syscall db 0Fh , 05h ret NtQueryInformationAtom ENDP ; ULONG64 __stdcall NtQueryInformationEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationEnlistment PROC STDCALL mov r10 , rcx mov eax , 310 ;syscall db 0Fh , 05h ret NtQueryInformationEnlistment ENDP ; ULONG64 __stdcall NtQueryInformationJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationJobObject PROC STDCALL mov r10 , rcx mov eax , 311 ;syscall db 0Fh , 05h ret NtQueryInformationJobObject ENDP ; ULONG64 __stdcall NtQueryInformationPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationPort PROC STDCALL mov r10 , rcx mov eax , 312 ;syscall db 0Fh , 05h ret NtQueryInformationPort ENDP ; ULONG64 __stdcall NtQueryInformationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationResourceManager PROC STDCALL mov r10 , rcx mov eax , 313 ;syscall db 0Fh , 05h ret NtQueryInformationResourceManager ENDP ; ULONG64 __stdcall NtQueryInformationTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationTransaction PROC STDCALL mov r10 , rcx mov eax , 314 ;syscall db 0Fh , 05h ret NtQueryInformationTransaction ENDP ; ULONG64 __stdcall NtQueryInformationTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationTransactionManager PROC STDCALL mov r10 , rcx mov eax , 315 ;syscall db 0Fh , 05h ret NtQueryInformationTransactionManager ENDP ; ULONG64 __stdcall NtQueryInformationWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryInformationWorkerFactory PROC STDCALL mov r10 , rcx mov eax , 316 ;syscall db 0Fh , 05h ret NtQueryInformationWorkerFactory ENDP ; ULONG64 __stdcall NtQueryInstallUILanguage( ULONG64 arg_01 ); NtQueryInstallUILanguage PROC STDCALL mov r10 , rcx mov eax , 317 ;syscall db 0Fh , 05h ret NtQueryInstallUILanguage ENDP ; ULONG64 __stdcall NtQueryIntervalProfile( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryIntervalProfile PROC STDCALL mov r10 , rcx mov eax , 318 ;syscall db 0Fh , 05h ret NtQueryIntervalProfile ENDP ; ULONG64 __stdcall NtQueryIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryIoCompletion PROC STDCALL mov r10 , rcx mov eax , 319 ;syscall db 0Fh , 05h ret NtQueryIoCompletion ENDP ; ULONG64 __stdcall NtQueryLicenseValue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryLicenseValue PROC STDCALL mov r10 , rcx mov eax , 320 ;syscall db 0Fh , 05h ret NtQueryLicenseValue ENDP ; ULONG64 __stdcall NtQueryMultipleValueKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQueryMultipleValueKey PROC STDCALL mov r10 , rcx mov eax , 321 ;syscall db 0Fh , 05h ret NtQueryMultipleValueKey ENDP ; ULONG64 __stdcall NtQueryMutant( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryMutant PROC STDCALL mov r10 , rcx mov eax , 322 ;syscall db 0Fh , 05h ret NtQueryMutant ENDP ; ULONG64 __stdcall NtQueryOpenSubKeys( ULONG64 arg_01 , ULONG64 arg_02 ); NtQueryOpenSubKeys PROC STDCALL mov r10 , rcx mov eax , 323 ;syscall db 0Fh , 05h ret NtQueryOpenSubKeys ENDP ; ULONG64 __stdcall NtQueryOpenSubKeysEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtQueryOpenSubKeysEx PROC STDCALL mov r10 , rcx mov eax , 324 ;syscall db 0Fh , 05h ret NtQueryOpenSubKeysEx ENDP ; ULONG64 __stdcall NtQueryPortInformationProcess( ); NtQueryPortInformationProcess PROC STDCALL mov r10 , rcx mov eax , 325 ;syscall db 0Fh , 05h ret NtQueryPortInformationProcess ENDP ; ULONG64 __stdcall NtQueryQuotaInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtQueryQuotaInformationFile PROC STDCALL mov r10 , rcx mov eax , 326 ;syscall db 0Fh , 05h ret NtQueryQuotaInformationFile ENDP ; ULONG64 __stdcall NtQuerySecurityAttributesToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQuerySecurityAttributesToken PROC STDCALL mov r10 , rcx mov eax , 327 ;syscall db 0Fh , 05h ret NtQuerySecurityAttributesToken ENDP ; ULONG64 __stdcall NtQuerySecurityObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQuerySecurityObject PROC STDCALL mov r10 , rcx mov eax , 328 ;syscall db 0Fh , 05h ret NtQuerySecurityObject ENDP ; ULONG64 __stdcall NtQuerySecurityPolicy( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQuerySecurityPolicy PROC STDCALL mov r10 , rcx mov eax , 329 ;syscall db 0Fh , 05h ret NtQuerySecurityPolicy ENDP ; ULONG64 __stdcall NtQuerySemaphore( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQuerySemaphore PROC STDCALL mov r10 , rcx mov eax , 330 ;syscall db 0Fh , 05h ret NtQuerySemaphore ENDP ; ULONG64 __stdcall NtQuerySymbolicLinkObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtQuerySymbolicLinkObject PROC STDCALL mov r10 , rcx mov eax , 331 ;syscall db 0Fh , 05h ret NtQuerySymbolicLinkObject ENDP ; ULONG64 __stdcall NtQuerySystemEnvironmentValue( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtQuerySystemEnvironmentValue PROC STDCALL mov r10 , rcx mov eax , 332 ;syscall db 0Fh , 05h ret NtQuerySystemEnvironmentValue ENDP ; ULONG64 __stdcall NtQuerySystemEnvironmentValueEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQuerySystemEnvironmentValueEx PROC STDCALL mov r10 , rcx mov eax , 333 ;syscall db 0Fh , 05h ret NtQuerySystemEnvironmentValueEx ENDP ; ULONG64 __stdcall NtQuerySystemInformationEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQuerySystemInformationEx PROC STDCALL mov r10 , rcx mov eax , 334 ;syscall db 0Fh , 05h ret NtQuerySystemInformationEx ENDP ; ULONG64 __stdcall NtQueryTimerResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtQueryTimerResolution PROC STDCALL mov r10 , rcx mov eax , 335 ;syscall db 0Fh , 05h ret NtQueryTimerResolution ENDP ; ULONG64 __stdcall NtQueryWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQueryWnfStateData PROC STDCALL mov r10 , rcx mov eax , 336 ;syscall db 0Fh , 05h ret NtQueryWnfStateData ENDP ; ULONG64 __stdcall NtQueryWnfStateNameInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtQueryWnfStateNameInformation PROC STDCALL mov r10 , rcx mov eax , 337 ;syscall db 0Fh , 05h ret NtQueryWnfStateNameInformation ENDP ; ULONG64 __stdcall NtQueueApcThreadEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtQueueApcThreadEx PROC STDCALL mov r10 , rcx mov eax , 338 ;syscall db 0Fh , 05h ret NtQueueApcThreadEx ENDP ; ULONG64 __stdcall NtRaiseException( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtRaiseException PROC STDCALL mov r10 , rcx mov eax , 339 ;syscall db 0Fh , 05h ret NtRaiseException ENDP ; ULONG64 __stdcall NtRaiseHardError( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtRaiseHardError PROC STDCALL mov r10 , rcx mov eax , 340 ;syscall db 0Fh , 05h ret NtRaiseHardError ENDP ; ULONG64 __stdcall NtReadOnlyEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtReadOnlyEnlistment PROC STDCALL mov r10 , rcx mov eax , 341 ;syscall db 0Fh , 05h ret NtReadOnlyEnlistment ENDP ; ULONG64 __stdcall NtRecoverEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtRecoverEnlistment PROC STDCALL mov r10 , rcx mov eax , 342 ;syscall db 0Fh , 05h ret NtRecoverEnlistment ENDP ; ULONG64 __stdcall NtRecoverResourceManager( ULONG64 arg_01 ); NtRecoverResourceManager PROC STDCALL mov r10 , rcx mov eax , 343 ;syscall db 0Fh , 05h ret NtRecoverResourceManager ENDP ; ULONG64 __stdcall NtRecoverTransactionManager( ULONG64 arg_01 ); NtRecoverTransactionManager PROC STDCALL mov r10 , rcx mov eax , 344 ;syscall db 0Fh , 05h ret NtRecoverTransactionManager ENDP ; ULONG64 __stdcall NtRegisterProtocolAddressInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtRegisterProtocolAddressInformation PROC STDCALL mov r10 , rcx mov eax , 345 ;syscall db 0Fh , 05h ret NtRegisterProtocolAddressInformation ENDP ; ULONG64 __stdcall NtRegisterThreadTerminatePort( ULONG64 arg_01 ); NtRegisterThreadTerminatePort PROC STDCALL mov r10 , rcx mov eax , 346 ;syscall db 0Fh , 05h ret NtRegisterThreadTerminatePort ENDP ; ULONG64 __stdcall NtReleaseKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtReleaseKeyedEvent PROC STDCALL mov r10 , rcx mov eax , 347 ;syscall db 0Fh , 05h ret NtReleaseKeyedEvent ENDP ; ULONG64 __stdcall NtReleaseWorkerFactoryWorker( ULONG64 arg_01 ); NtReleaseWorkerFactoryWorker PROC STDCALL mov r10 , rcx mov eax , 348 ;syscall db 0Fh , 05h ret NtReleaseWorkerFactoryWorker ENDP ; ULONG64 __stdcall NtRemoveIoCompletionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtRemoveIoCompletionEx PROC STDCALL mov r10 , rcx mov eax , 349 ;syscall db 0Fh , 05h ret NtRemoveIoCompletionEx ENDP ; ULONG64 __stdcall NtRemoveProcessDebug( ULONG64 arg_01 , ULONG64 arg_02 ); NtRemoveProcessDebug PROC STDCALL mov r10 , rcx mov eax , 350 ;syscall db 0Fh , 05h ret NtRemoveProcessDebug ENDP ; ULONG64 __stdcall NtRenameKey( ULONG64 arg_01 , ULONG64 arg_02 ); NtRenameKey PROC STDCALL mov r10 , rcx mov eax , 351 ;syscall db 0Fh , 05h ret NtRenameKey ENDP ; ULONG64 __stdcall NtRenameTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 ); NtRenameTransactionManager PROC STDCALL mov r10 , rcx mov eax , 352 ;syscall db 0Fh , 05h ret NtRenameTransactionManager ENDP ; ULONG64 __stdcall NtReplaceKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtReplaceKey PROC STDCALL mov r10 , rcx mov eax , 353 ;syscall db 0Fh , 05h ret NtReplaceKey ENDP ; ULONG64 __stdcall NtReplacePartitionUnit( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtReplacePartitionUnit PROC STDCALL mov r10 , rcx mov eax , 354 ;syscall db 0Fh , 05h ret NtReplacePartitionUnit ENDP ; ULONG64 __stdcall NtReplyWaitReplyPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtReplyWaitReplyPort PROC STDCALL mov r10 , rcx mov eax , 355 ;syscall db 0Fh , 05h ret NtReplyWaitReplyPort ENDP ; ULONG64 __stdcall NtRequestPort( ULONG64 arg_01 , ULONG64 arg_02 ); NtRequestPort PROC STDCALL mov r10 , rcx mov eax , 356 ;syscall db 0Fh , 05h ret NtRequestPort ENDP ; ULONG64 __stdcall NtResetEvent( ULONG64 arg_01 , ULONG64 arg_02 ); NtResetEvent PROC STDCALL mov r10 , rcx mov eax , 357 ;syscall db 0Fh , 05h ret NtResetEvent ENDP ; ULONG64 __stdcall NtResetWriteWatch( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtResetWriteWatch PROC STDCALL mov r10 , rcx mov eax , 358 ;syscall db 0Fh , 05h ret NtResetWriteWatch ENDP ; ULONG64 __stdcall NtRestoreKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtRestoreKey PROC STDCALL mov r10 , rcx mov eax , 359 ;syscall db 0Fh , 05h ret NtRestoreKey ENDP ; ULONG64 __stdcall NtResumeProcess( ULONG64 arg_01 ); NtResumeProcess PROC STDCALL mov r10 , rcx mov eax , 360 ;syscall db 0Fh , 05h ret NtResumeProcess ENDP ; ULONG64 __stdcall NtRevertContainerImpersonation( ); NtRevertContainerImpersonation PROC STDCALL mov r10 , rcx mov eax , 361 ;syscall db 0Fh , 05h ret NtRevertContainerImpersonation ENDP ; ULONG64 __stdcall NtRollbackComplete( ULONG64 arg_01 , ULONG64 arg_02 ); NtRollbackComplete PROC STDCALL mov r10 , rcx mov eax , 362 ;syscall db 0Fh , 05h ret NtRollbackComplete ENDP ; ULONG64 __stdcall NtRollbackEnlistment( ULONG64 arg_01 , ULONG64 arg_02 ); NtRollbackEnlistment PROC STDCALL mov r10 , rcx mov eax , 363 ;syscall db 0Fh , 05h ret NtRollbackEnlistment ENDP ; ULONG64 __stdcall NtRollbackRegistryTransaction( ULONG64 arg_01 , ULONG64 arg_02 ); NtRollbackRegistryTransaction PROC STDCALL mov r10 , rcx mov eax , 364 ;syscall db 0Fh , 05h ret NtRollbackRegistryTransaction ENDP ; ULONG64 __stdcall NtRollbackTransaction( ULONG64 arg_01 , ULONG64 arg_02 ); NtRollbackTransaction PROC STDCALL mov r10 , rcx mov eax , 365 ;syscall db 0Fh , 05h ret NtRollbackTransaction ENDP ; ULONG64 __stdcall NtRollforwardTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 ); NtRollforwardTransactionManager PROC STDCALL mov r10 , rcx mov eax , 366 ;syscall db 0Fh , 05h ret NtRollforwardTransactionManager ENDP ; ULONG64 __stdcall NtSaveKey( ULONG64 arg_01 , ULONG64 arg_02 ); NtSaveKey PROC STDCALL mov r10 , rcx mov eax , 367 ;syscall db 0Fh , 05h ret NtSaveKey ENDP ; ULONG64 __stdcall NtSaveKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSaveKeyEx PROC STDCALL mov r10 , rcx mov eax , 368 ;syscall db 0Fh , 05h ret NtSaveKeyEx ENDP ; ULONG64 __stdcall NtSaveMergedKeys( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSaveMergedKeys PROC STDCALL mov r10 , rcx mov eax , 369 ;syscall db 0Fh , 05h ret NtSaveMergedKeys ENDP ; ULONG64 __stdcall NtSecureConnectPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 ); NtSecureConnectPort PROC STDCALL mov r10 , rcx mov eax , 370 ;syscall db 0Fh , 05h ret NtSecureConnectPort ENDP ; ULONG64 __stdcall NtSerializeBoot( ); NtSerializeBoot PROC STDCALL mov r10 , rcx mov eax , 371 ;syscall db 0Fh , 05h ret NtSerializeBoot ENDP ; ULONG64 __stdcall NtSetBootEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetBootEntryOrder PROC STDCALL mov r10 , rcx mov eax , 372 ;syscall db 0Fh , 05h ret NtSetBootEntryOrder ENDP ; ULONG64 __stdcall NtSetBootOptions( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetBootOptions PROC STDCALL mov r10 , rcx mov eax , 373 ;syscall db 0Fh , 05h ret NtSetBootOptions ENDP ; ULONG64 __stdcall NtSetCachedSigningLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetCachedSigningLevel PROC STDCALL mov r10 , rcx mov eax , 374 ;syscall db 0Fh , 05h ret NtSetCachedSigningLevel ENDP ; ULONG64 __stdcall NtSetCachedSigningLevel2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSetCachedSigningLevel2 PROC STDCALL mov r10 , rcx mov eax , 375 ;syscall db 0Fh , 05h ret NtSetCachedSigningLevel2 ENDP ; ULONG64 __stdcall NtSetContextThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetContextThread PROC STDCALL mov r10 , rcx mov eax , 376 ;syscall db 0Fh , 05h ret NtSetContextThread ENDP ; ULONG64 __stdcall NtSetDebugFilterState( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSetDebugFilterState PROC STDCALL mov r10 , rcx mov eax , 377 ;syscall db 0Fh , 05h ret NtSetDebugFilterState ENDP ; ULONG64 __stdcall NtSetDefaultHardErrorPort( ULONG64 arg_01 ); NtSetDefaultHardErrorPort PROC STDCALL mov r10 , rcx mov eax , 378 ;syscall db 0Fh , 05h ret NtSetDefaultHardErrorPort ENDP ; ULONG64 __stdcall NtSetDefaultLocale( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetDefaultLocale PROC STDCALL mov r10 , rcx mov eax , 379 ;syscall db 0Fh , 05h ret NtSetDefaultLocale ENDP ; ULONG64 __stdcall NtSetDefaultUILanguage( ULONG64 arg_01 ); NtSetDefaultUILanguage PROC STDCALL mov r10 , rcx mov eax , 380 ;syscall db 0Fh , 05h ret NtSetDefaultUILanguage ENDP ; ULONG64 __stdcall NtSetDriverEntryOrder( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetDriverEntryOrder PROC STDCALL mov r10 , rcx mov eax , 381 ;syscall db 0Fh , 05h ret NtSetDriverEntryOrder ENDP ; ULONG64 __stdcall NtSetEaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetEaFile PROC STDCALL mov r10 , rcx mov eax , 382 ;syscall db 0Fh , 05h ret NtSetEaFile ENDP ; ULONG64 __stdcall NtSetHighEventPair( ULONG64 arg_01 ); NtSetHighEventPair PROC STDCALL mov r10 , rcx mov eax , 383 ;syscall db 0Fh , 05h ret NtSetHighEventPair ENDP ; ULONG64 __stdcall NtSetHighWaitLowEventPair( ULONG64 arg_01 ); NtSetHighWaitLowEventPair PROC STDCALL mov r10 , rcx mov eax , 384 ;syscall db 0Fh , 05h ret NtSetHighWaitLowEventPair ENDP ; ULONG64 __stdcall NtSetIRTimer( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetIRTimer PROC STDCALL mov r10 , rcx mov eax , 385 ;syscall db 0Fh , 05h ret NtSetIRTimer ENDP ; ULONG64 __stdcall NtSetInformationDebugObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetInformationDebugObject PROC STDCALL mov r10 , rcx mov eax , 386 ;syscall db 0Fh , 05h ret NtSetInformationDebugObject ENDP ; ULONG64 __stdcall NtSetInformationEnlistment( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationEnlistment PROC STDCALL mov r10 , rcx mov eax , 387 ;syscall db 0Fh , 05h ret NtSetInformationEnlistment ENDP ; ULONG64 __stdcall NtSetInformationJobObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationJobObject PROC STDCALL mov r10 , rcx mov eax , 388 ;syscall db 0Fh , 05h ret NtSetInformationJobObject ENDP ; ULONG64 __stdcall NtSetInformationKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationKey PROC STDCALL mov r10 , rcx mov eax , 389 ;syscall db 0Fh , 05h ret NtSetInformationKey ENDP ; ULONG64 __stdcall NtSetInformationResourceManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationResourceManager PROC STDCALL mov r10 , rcx mov eax , 390 ;syscall db 0Fh , 05h ret NtSetInformationResourceManager ENDP ; ULONG64 __stdcall NtSetInformationSymbolicLink( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationSymbolicLink PROC STDCALL mov r10 , rcx mov eax , 391 ;syscall db 0Fh , 05h ret NtSetInformationSymbolicLink ENDP ; ULONG64 __stdcall NtSetInformationToken( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationToken PROC STDCALL mov r10 , rcx mov eax , 392 ;syscall db 0Fh , 05h ret NtSetInformationToken ENDP ; ULONG64 __stdcall NtSetInformationTransaction( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationTransaction PROC STDCALL mov r10 , rcx mov eax , 393 ;syscall db 0Fh , 05h ret NtSetInformationTransaction ENDP ; ULONG64 __stdcall NtSetInformationTransactionManager( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationTransactionManager PROC STDCALL mov r10 , rcx mov eax , 394 ;syscall db 0Fh , 05h ret NtSetInformationTransactionManager ENDP ; ULONG64 __stdcall NtSetInformationVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSetInformationVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 395 ;syscall db 0Fh , 05h ret NtSetInformationVirtualMemory ENDP ; ULONG64 __stdcall NtSetInformationWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetInformationWorkerFactory PROC STDCALL mov r10 , rcx mov eax , 396 ;syscall db 0Fh , 05h ret NtSetInformationWorkerFactory ENDP ; ULONG64 __stdcall NtSetIntervalProfile( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetIntervalProfile PROC STDCALL mov r10 , rcx mov eax , 397 ;syscall db 0Fh , 05h ret NtSetIntervalProfile ENDP ; ULONG64 __stdcall NtSetIoCompletion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetIoCompletion PROC STDCALL mov r10 , rcx mov eax , 398 ;syscall db 0Fh , 05h ret NtSetIoCompletion ENDP ; ULONG64 __stdcall NtSetIoCompletionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSetIoCompletionEx PROC STDCALL mov r10 , rcx mov eax , 399 ;syscall db 0Fh , 05h ret NtSetIoCompletionEx ENDP ; ULONG64 __stdcall NtSetLdtEntries( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSetLdtEntries PROC STDCALL mov r10 , rcx mov eax , 400 ;syscall db 0Fh , 05h ret NtSetLdtEntries ENDP ; ULONG64 __stdcall NtSetLowEventPair( ULONG64 arg_01 ); NtSetLowEventPair PROC STDCALL mov r10 , rcx mov eax , 401 ;syscall db 0Fh , 05h ret NtSetLowEventPair ENDP ; ULONG64 __stdcall NtSetLowWaitHighEventPair( ULONG64 arg_01 ); NtSetLowWaitHighEventPair PROC STDCALL mov r10 , rcx mov eax , 402 ;syscall db 0Fh , 05h ret NtSetLowWaitHighEventPair ENDP ; ULONG64 __stdcall NtSetQuotaInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetQuotaInformationFile PROC STDCALL mov r10 , rcx mov eax , 403 ;syscall db 0Fh , 05h ret NtSetQuotaInformationFile ENDP ; ULONG64 __stdcall NtSetSecurityObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSetSecurityObject PROC STDCALL mov r10 , rcx mov eax , 404 ;syscall db 0Fh , 05h ret NtSetSecurityObject ENDP ; ULONG64 __stdcall NtSetSystemEnvironmentValue( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetSystemEnvironmentValue PROC STDCALL mov r10 , rcx mov eax , 405 ;syscall db 0Fh , 05h ret NtSetSystemEnvironmentValue ENDP ; ULONG64 __stdcall NtSetSystemEnvironmentValueEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetSystemEnvironmentValueEx PROC STDCALL mov r10 , rcx mov eax , 406 ;syscall db 0Fh , 05h ret NtSetSystemEnvironmentValueEx ENDP ; ULONG64 __stdcall NtSetSystemInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSetSystemInformation PROC STDCALL mov r10 , rcx mov eax , 407 ;syscall db 0Fh , 05h ret NtSetSystemInformation ENDP ; ULONG64 __stdcall NtSetSystemPowerState( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSetSystemPowerState PROC STDCALL mov r10 , rcx mov eax , 408 ;syscall db 0Fh , 05h ret NtSetSystemPowerState ENDP ; ULONG64 __stdcall NtSetSystemTime( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetSystemTime PROC STDCALL mov r10 , rcx mov eax , 409 ;syscall db 0Fh , 05h ret NtSetSystemTime ENDP ; ULONG64 __stdcall NtSetThreadExecutionState( ULONG64 arg_01 , ULONG64 arg_02 ); NtSetThreadExecutionState PROC STDCALL mov r10 , rcx mov eax , 410 ;syscall db 0Fh , 05h ret NtSetThreadExecutionState ENDP ; ULONG64 __stdcall NtSetTimer2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetTimer2 PROC STDCALL mov r10 , rcx mov eax , 411 ;syscall db 0Fh , 05h ret NtSetTimer2 ENDP ; ULONG64 __stdcall NtSetTimerEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSetTimerEx PROC STDCALL mov r10 , rcx mov eax , 412 ;syscall db 0Fh , 05h ret NtSetTimerEx ENDP ; ULONG64 __stdcall NtSetTimerResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtSetTimerResolution PROC STDCALL mov r10 , rcx mov eax , 413 ;syscall db 0Fh , 05h ret NtSetTimerResolution ENDP ; ULONG64 __stdcall NtSetUuidSeed( ULONG64 arg_01 ); NtSetUuidSeed PROC STDCALL mov r10 , rcx mov eax , 414 ;syscall db 0Fh , 05h ret NtSetUuidSeed ENDP ; ULONG64 __stdcall NtSetVolumeInformationFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtSetVolumeInformationFile PROC STDCALL mov r10 , rcx mov eax , 415 ;syscall db 0Fh , 05h ret NtSetVolumeInformationFile ENDP ; ULONG64 __stdcall NtSetWnfProcessNotificationEvent( ULONG64 arg_01 ); NtSetWnfProcessNotificationEvent PROC STDCALL mov r10 , rcx mov eax , 416 ;syscall db 0Fh , 05h ret NtSetWnfProcessNotificationEvent ENDP ; ULONG64 __stdcall NtShutdownSystem( ULONG64 arg_01 ); NtShutdownSystem PROC STDCALL mov r10 , rcx mov eax , 417 ;syscall db 0Fh , 05h ret NtShutdownSystem ENDP ; ULONG64 __stdcall NtShutdownWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 ); NtShutdownWorkerFactory PROC STDCALL mov r10 , rcx mov eax , 418 ;syscall db 0Fh , 05h ret NtShutdownWorkerFactory ENDP ; ULONG64 __stdcall NtSignalAndWaitForSingleObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSignalAndWaitForSingleObject PROC STDCALL mov r10 , rcx mov eax , 419 ;syscall db 0Fh , 05h ret NtSignalAndWaitForSingleObject ENDP ; ULONG64 __stdcall NtSinglePhaseReject( ULONG64 arg_01 , ULONG64 arg_02 ); NtSinglePhaseReject PROC STDCALL mov r10 , rcx mov eax , 420 ;syscall db 0Fh , 05h ret NtSinglePhaseReject ENDP ; ULONG64 __stdcall NtStartProfile( ULONG64 arg_01 ); NtStartProfile PROC STDCALL mov r10 , rcx mov eax , 421 ;syscall db 0Fh , 05h ret NtStartProfile ENDP ; ULONG64 __stdcall NtStopProfile( ULONG64 arg_01 ); NtStopProfile PROC STDCALL mov r10 , rcx mov eax , 422 ;syscall db 0Fh , 05h ret NtStopProfile ENDP ; ULONG64 __stdcall NtSubscribeWnfStateChange( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtSubscribeWnfStateChange PROC STDCALL mov r10 , rcx mov eax , 423 ;syscall db 0Fh , 05h ret NtSubscribeWnfStateChange ENDP ; ULONG64 __stdcall NtSuspendProcess( ULONG64 arg_01 ); NtSuspendProcess PROC STDCALL mov r10 , rcx mov eax , 424 ;syscall db 0Fh , 05h ret NtSuspendProcess ENDP ; ULONG64 __stdcall NtSuspendThread( ULONG64 arg_01 , ULONG64 arg_02 ); NtSuspendThread PROC STDCALL mov r10 , rcx mov eax , 425 ;syscall db 0Fh , 05h ret NtSuspendThread ENDP ; ULONG64 __stdcall NtSystemDebugControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtSystemDebugControl PROC STDCALL mov r10 , rcx mov eax , 426 ;syscall db 0Fh , 05h ret NtSystemDebugControl ENDP ; ULONG64 __stdcall NtTerminateJobObject( ULONG64 arg_01 , ULONG64 arg_02 ); NtTerminateJobObject PROC STDCALL mov r10 , rcx mov eax , 427 ;syscall db 0Fh , 05h ret NtTerminateJobObject ENDP ; ULONG64 __stdcall NtTestAlert( ); NtTestAlert PROC STDCALL mov r10 , rcx mov eax , 428 ;syscall db 0Fh , 05h ret NtTestAlert ENDP ; ULONG64 __stdcall NtThawRegistry( ); NtThawRegistry PROC STDCALL mov r10 , rcx mov eax , 429 ;syscall db 0Fh , 05h ret NtThawRegistry ENDP ; ULONG64 __stdcall NtThawTransactions( ); NtThawTransactions PROC STDCALL mov r10 , rcx mov eax , 430 ;syscall db 0Fh , 05h ret NtThawTransactions ENDP ; ULONG64 __stdcall NtTraceControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 ); NtTraceControl PROC STDCALL mov r10 , rcx mov eax , 431 ;syscall db 0Fh , 05h ret NtTraceControl ENDP ; ULONG64 __stdcall NtTranslateFilePath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtTranslateFilePath PROC STDCALL mov r10 , rcx mov eax , 432 ;syscall db 0Fh , 05h ret NtTranslateFilePath ENDP ; ULONG64 __stdcall NtUmsThreadYield( ULONG64 arg_01 ); NtUmsThreadYield PROC STDCALL mov r10 , rcx mov eax , 433 ;syscall db 0Fh , 05h ret NtUmsThreadYield ENDP ; ULONG64 __stdcall NtUnloadDriver( ULONG64 arg_01 ); NtUnloadDriver PROC STDCALL mov r10 , rcx mov eax , 434 ;syscall db 0Fh , 05h ret NtUnloadDriver ENDP ; ULONG64 __stdcall NtUnloadKey( ULONG64 arg_01 ); NtUnloadKey PROC STDCALL mov r10 , rcx mov eax , 435 ;syscall db 0Fh , 05h ret NtUnloadKey ENDP ; ULONG64 __stdcall NtUnloadKey2( ULONG64 arg_01 , ULONG64 arg_02 ); NtUnloadKey2 PROC STDCALL mov r10 , rcx mov eax , 436 ;syscall db 0Fh , 05h ret NtUnloadKey2 ENDP ; ULONG64 __stdcall NtUnloadKeyEx( ULONG64 arg_01 , ULONG64 arg_02 ); NtUnloadKeyEx PROC STDCALL mov r10 , rcx mov eax , 437 ;syscall db 0Fh , 05h ret NtUnloadKeyEx ENDP ; ULONG64 __stdcall NtUnlockFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtUnlockFile PROC STDCALL mov r10 , rcx mov eax , 438 ;syscall db 0Fh , 05h ret NtUnlockFile ENDP ; ULONG64 __stdcall NtUnlockVirtualMemory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtUnlockVirtualMemory PROC STDCALL mov r10 , rcx mov eax , 439 ;syscall db 0Fh , 05h ret NtUnlockVirtualMemory ENDP ; ULONG64 __stdcall NtUnmapViewOfSectionEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 ); NtUnmapViewOfSectionEx PROC STDCALL mov r10 , rcx mov eax , 440 ;syscall db 0Fh , 05h ret NtUnmapViewOfSectionEx ENDP ; ULONG64 __stdcall NtUnsubscribeWnfStateChange( ULONG64 arg_01 ); NtUnsubscribeWnfStateChange PROC STDCALL mov r10 , rcx mov eax , 441 ;syscall db 0Fh , 05h ret NtUnsubscribeWnfStateChange ENDP ; ULONG64 __stdcall NtUpdateWnfStateData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 ); NtUpdateWnfStateData PROC STDCALL mov r10 , rcx mov eax , 442 ;syscall db 0Fh , 05h ret NtUpdateWnfStateData ENDP ; ULONG64 __stdcall NtVdmControl( ULONG64 arg_01 , ULONG64 arg_02 ); NtVdmControl PROC STDCALL mov r10 , rcx mov eax , 443 ;syscall db 0Fh , 05h ret NtVdmControl ENDP ; ULONG64 __stdcall NtWaitForAlertByThreadId( ULONG64 arg_01 , ULONG64 arg_02 ); NtWaitForAlertByThreadId PROC STDCALL mov r10 , rcx mov eax , 444 ;syscall db 0Fh , 05h ret NtWaitForAlertByThreadId ENDP ; ULONG64 __stdcall NtWaitForDebugEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtWaitForDebugEvent PROC STDCALL mov r10 , rcx mov eax , 445 ;syscall db 0Fh , 05h ret NtWaitForDebugEvent ENDP ; ULONG64 __stdcall NtWaitForKeyedEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 ); NtWaitForKeyedEvent PROC STDCALL mov r10 , rcx mov eax , 446 ;syscall db 0Fh , 05h ret NtWaitForKeyedEvent ENDP ; ULONG64 __stdcall NtWaitForWorkViaWorkerFactory( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 ); NtWaitForWorkViaWorkerFactory PROC STDCALL mov r10 , rcx mov eax , 447 ;syscall db 0Fh , 05h ret NtWaitForWorkViaWorkerFactory ENDP ; ULONG64 __stdcall NtWaitHighEventPair( ULONG64 arg_01 ); NtWaitHighEventPair PROC STDCALL mov r10 , rcx mov eax , 448 ;syscall db 0Fh , 05h ret NtWaitHighEventPair ENDP ; ULONG64 __stdcall NtWaitLowEventPair( ULONG64 arg_01 ); NtWaitLowEventPair PROC STDCALL mov r10 , rcx mov eax , 449 ;syscall db 0Fh , 05h ret NtWaitLowEventPair ENDP
16.939183
361
0.754315
a36429c3ba72af9382eb4db1b8288c5f9a8faef0
522
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_m482d.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_m482d.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_m482d.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math48 PUBLIC cm48_sdccixp_m482d EXTERN error_lznc cm48_sdccixp_m482d: ; convert math48 double to sdcc_float ; ; enter : AC' = math48 double ; ; exit : DEHL = sdcc_float ; (exx set is swapped) ; ; uses : af, bc, de, hl, bc', de', hl' exx ; alternate entry after exx push af ld a,l sub 2 jr c, zero sla b rra rr b ld e,b ld h,c ld l,d ld d,a pop af ret zero: call error_lznc pop af ret
11.106383
42
0.547893
cad0dfbf602c62d31cf58bf4ea0a93aae5a6b460
394
asm
Assembly
programs/oeis/296/A296442.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/296/A296442.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/296/A296442.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A296442: Initial digit of n-th Mersenne number. ; 3,7,3,1,2,8,1,5,8,5,2,1,2,8,1,9,5,2,1,2,9,6,9,6,1,2,1,1,6,1,1,2,1,6,7,2,1,1,1,1,7,3,3,1,2,8,3,1,2,8,1,8,3,3,2,1,9,3,2,3,1,1,2,4,1,2,4,2,2,1,1,1,3,1,1,1,1,3,5,1,1,5,5,2,1,2,1,3,5,2,3,1,3,6,1,2,1,6,2,7 seq $0,1348 ; Mersenne numbers: 2^p - 1, where p is prime. seq $0,4086 ; Read n backwards (referred to as R(n) in many sequences). mod $0,10
56.285714
201
0.593909
fa5e3c5604b7b1cc870a930386c1eb7ef59c2a0a
3,329
asm
Assembly
Lab 2/pBigNum.asm
AndrewDichabeng/Computer-Systems-Foundations
b98854118963c09d03f39a7f33354b17f503a540
[ "MIT" ]
null
null
null
Lab 2/pBigNum.asm
AndrewDichabeng/Computer-Systems-Foundations
b98854118963c09d03f39a7f33354b17f503a540
[ "MIT" ]
null
null
null
Lab 2/pBigNum.asm
AndrewDichabeng/Computer-Systems-Foundations
b98854118963c09d03f39a7f33354b17f503a540
[ "MIT" ]
null
null
null
; SYSC2001 Lab1b ; Note that many lines in this program are WRONG. These lines are marked with ; a ***FIX ME comment. You need to figure out how to fix each of these lines. ; ; CONSTANTS ; In this case we are defining the symbol 'Display' to have the value ; of 04E9h - the address of the Libra display screen Display .EQU 04E9h ; address of Libra display ; Define a memory location where the series of numbers to be printed will be start ; ** You will have to manually enter these numbers in memory in Libra prior to running your code! NumAddr .EQU 0050h ; Program: PrtNum - print the number in AL on the screen by converting to ASCII Main: ; We must do some initialization ; First, we must initialize our pointer (BX) to point to the first number in memory that ; we wish to print (You will have to set the contents of memory!) ; To do this, we use immediate addressing mode to set BX==NumAddr mov BX, NumAddr mov DX, Display ; The next statement defines another address - the beginning of the print loop mainLoop: ; Place the number to print into the 'AH' register mov AH, [BX] ; FIXED Should load next number to be printed into AH ; Now we need to check if it we are done printing. If AH contains a zero, then quit. cmp AH,0 ; FIXED Is the number a 0 ? je EndPrt ; FIXED if so, we are done ; Now check if the number in AH is positive. cmp AH,0 jg posNum ; FIXED SHOULD jump to 'posNum' label if AH is positive. negNum: ; If we get here, then our number is negative. We need to first print a negative sign ; and then convert our number to its positive equivalent before printing ; Print a negative sign mov AL, 2Dh ; FIXED Load the correct character to be printed into AL out DX,AL ; Send the character out to the display port ; Convert the negative number in AH to a positive number. This can be accomplished with a single instruction! neg AH ; FIXED Change to the correct instruction. See the p86reference sheet. posNum: cmp AH, 100 jl secondDigit mov AL, '1' out DX, AL sub AH, 100 secondDigit: cmp AH, 10 jl singleDigit mov CL, 10 mov AL, AH mov AH, 0 div CL add AL, 30h out DX, AL singleDigit: ; If we get here, then our number is now positive (or always was). ; We need to convert the number to its ASCII equivalent and print it mov AL, AH add AL, 30h out DX, AL ; Print a carriage return, so that the next number is printed on a new line mov AL, 0Dh ; FIXED Should load carriage return (CR) into AL out DX,AL ; print the CR mov AL, 0Ah ; FIXED Should load line feed (LF) into AL out DX,AL ; print the LF ; Look at the next number to be printed inc BX ; step along the array of numbers to the next number ; The next statement is an unconditional jump back to the beginning of the loop ; "Unconditional" means that the jump is ALWAYS taken (no CMP needed). jmp mainLoop ; loop back EndPrt: HLT ; Stop the Libra processor .END Main
37.829545
130
0.641634
dff48cda5e81841b3175dea20befe965e86439af
1,844
asm
Assembly
programs/oeis/183/A183980.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/183/A183980.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/183/A183980.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A183980: 1/4 the number of (n+1) X 4 binary arrays with all 2 X 2 subblock sums the same. ; 9,11,14,20,30,50,86,158,294,566,1094,2150,4230,8390,16646,33158,66054,131846,263174,525830,1050630,2100230,4198406,8394758,16785414,33566726,67125254,134242310,268468230,536920070,1073807366,2147581958,4295098374,8590131206,17180131334,34360131590,68720001030,137439739910,274878955526,549757386758,1099513724934,2199026401286,4398050705414,8796099313670,17592194433030,35184384671750,70368760954886,140737513521158,281475010265094,562950003752966,1125899973951494,2251799914348550,4503599761588230,9007199456067590,18014398777917446,36028797421617158,72057594574798854,144115188881162246,288230377225453574,576460753914036230,1152921506754330630,2305843012434919430,4611686022722355206,9223372043297226758,18446744082299486214,36893488160304005126,73786976312018075654,147573952615446216710,295147905213712564230,590295810410245259270,1180591620786130780166,2361183241537901821958,4722366483007084167174,9444732965945448857606,18889465931753458761734,37778931863369478569990,75557863726464079233030,151115727452653280559110,302231454904756805304326,604462909808963854794758,1208925819616828197961734,2417851639232556884295686,4835703278462914745335814,9671406556923630467416070,19342813113842862888321030,38685626227681327730130950,77371252455353859367239686,154742504910698922641457158,309485009821380253096869894,618970019642742914007695366,1237940039285450643643301894,2475880078570866102914514950,4951760157141661837084852230,9903520314283253305425526790,19807040628566365873362698246,39614081257132591009237041158,79228162514264900543497371654,158456325028529519612018032646,316912650057058476274082643974,633825300114116389598211866630 mov $1,2 mov $2,$0 lpb $0 mul $1,2 add $1,$2 sub $1,$0 sub $0,1 trn $2,2 lpe add $1,7 mov $0,$1
122.933333
1,644
0.900217
ea4674780c2e1ea60e914e5cacb868c546d8976b
7,137
asm
Assembly
base/mvdm/wow16/kernel31/diag.asm
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/mvdm/wow16/kernel31/diag.asm
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/mvdm/wow16/kernel31/diag.asm
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
;*************************************************************************** ;* DIAG.ASM ;* ;* Diagnostic-mode routines used to log interesting output to a log ;* file. Diagnostic mode is enabled/disabled through a command line ;* switch. ;* ;* Created by JonT starting 19 July 1991 ;* ;*************************************************************************** TITLE LOG - Diagnostic mode logging routines .xlist include kernel.inc .list .386p DataBegin externD lpWindowsDir externW cBytesWinDir externB szDiagStart externB szCRLF globalW fDiagMode,0 ;Set in LDBOOT.ASM szLogFileName DB 'BOOTLOG.TXT', 0 szPath DB 128 DUP(0) ;Entire pathname to file IF KDEBUG externB szInitSpew ENDIF DataEnd externFP Int21Handler externFP OutputDebugString ;** Note that this goes in the fixed code segment sBegin CODE assumes CS,CODE ; DiagQuery ; ; Exported entry point that can be called to determine if in ; diagnostic mode. Returns TRUE iff in diagnostic mode. cProc DiagQuery, <FAR,PUBLIC>, <si,di,ds> cBegin SetKernelDS mov ax,fDiagMode ;Return the flag cEnd ; DiagOutput ; ; Exported entry point to allow a string to be written to the ; log file. The file is flushed after writing the string ; guaranteeing that it always gets in there in case we abort ; immediately after the call. cProc DiagOutput, <FAR,PUBLIC>, <si,di,ds> parmD lpstr localW wHandle cBegin SetKernelDS ;** Check for diag mode cmp fDiagMode,1 ;Diag mode? jne SHORT DO_End ;Nope, get out ;** Reopen the log file mov ah,3dh ;Create file call mov al,22h ;R/W, Deny W to others mov dx,dataOFFSET szPath ;File name pointer DOSCALL jc SHORT DO_Error ;Error, get out mov wHandle,ax ;Save the handle ;** Seek to the end mov ax,4202h ;Seek to end of file call mov bx,wHandle ;Get the file handle xor cx,cx ;0 bytes before end of file xor dx,dx DOSCALL jc SHORT DO_Error ;Error, get out ;** Get the length of the string xor cx,cx ;Get max length dec cx ; (0xffff) les di,lpstr ;Point to the string xor al,al ;Zero byte repnz scasb ;Find the zero byte neg cx ;Get the length dec cx dec cx IF KDEBUG ;** Spit to debug terminal in debug KERNEL push cx push WORD PTR lpstr[2] push WORD PTR lpstr[0] call OutputDebugString pop cx ENDIF ;** Write the string push ds ;Save our DS mov ah,40h ;Write file call mov bx,wHandle ;Get the handle lds dx,lpstr ;Get the buffer pointer UnsetKernelDS DOSCALL pop ds ResetKernelDS jnc SHORT DO_Close ;No problem DO_Error: mov fDiagMode,0 ;Clear diagnostic mode and close file ;** Close the file DO_Close: mov bx,wHandle ;Handle in BX or bx,bx ;File open? jz SHORT DO_End ;Nope, just get out mov ah,3eh ;Close file call DOSCALL DO_End: cEnd ; DiagInit ; ; Called from Bootstap (LDBOOT.ASM) and is used to create the log file ; and write the startup message to it. cProc DiagInit, <FAR,PUBLIC>, <ds,si,di> localW wHandle cBegin SetKernelDS smov es,ds ;Point to kernel DS with ES ;** Get the full path name mov di,dataOFFSET szPath ;Point to destination path mov cx,cBytesWinDir ;Get the length of the directory lds si,lpWindowsDir ;Point to the Windows directory UnsetKernelDS rep movsb ;Copy it smov ds,es ;Get DS back to kernel DS ResetKernelDS mov si,dataOFFSET szLogFileName ;Point to log file name cmp BYTE PTR [di - 1],'/' ;Check for trailing separator je SHORT DI_NoSeparator ;No separator needed mov al,'\' ;Get the other separator cmp [di - 1],al ;Check for other separator je SHORT DI_NoSeparator ;None needed stosb ;Put a '\' in DI_NoSeparator: lodsb ;Get the char stosb ;Write it or al,al ;Zero byte? jnz DI_NoSeparator ;No, loop for next char IF KDEBUG ;** Spit to debug terminal in debug KERNEL push ds push dataOFFSET szInitSpew call OutputDebugString ;Spit out the message push ds push dataOFFSET szPath ;Spit out log filename call OutputDebugString push ds push dataOFFSET szCRLF ;Write a CR/LF call OutputDebugString ENDIF ;** Try to open the file. If it exists, we use it as it mov ah,3dh ;Open file call xor cx,cx ;Normal file mov al,22h ;R/W, Deny W to others mov dx,dataOFFSET szPath ;File name pointer DOSCALL jc SHORT DI_Create ;Error, need to create file mov wHandle,ax ;Save the handle ;** Seek to the end mov ax,4202h ;Seek to end of file call mov bx,wHandle ;Get the file handle xor cx,cx ;0 bytes before end of file xor dx,dx DOSCALL jmps DI_CloseIt ;Close file now ;** Create the log file DI_Create: mov ah,3ch ;Create file call xor cx,cx ;Normal file mov dx,dataOFFSET szPath ;File name pointer DOSCALL mov wHandle,ax ;Save the handle ;** On error, disable logging jc SHORT DI_End ;Error, get out without enabling DI_CloseIt: mov fDiagMode,1 ;We're in diag mode now ;** Close the file (we reopen it on each call to DiagOutput) mov bx,wHandle ;Handle in BX mov ah,3eh ;Close file call DOSCALL ;** Now start the log file mov ax,dataOFFSET szDiagStart ;Point to the string cCall DiagOutput, <ds,ax> ;Start the file DI_End: cEnd sEnd END
31.579646
78
0.505535
b3cc12b3ab2fdba3a6fd54f3108a8c9e11ce3ade
37,092
asm
Assembly
Source/dos32/dtriml.asm
powervr-graphics/PowerVR-Series1
c8c11cbe29c5b758ed1ef9600fc8614fc8da618e
[ "MIT" ]
215
2022-03-23T10:07:23.000Z
2022-03-31T12:45:38.000Z
Source/dos32/dtriml.asm
powervr/PowerVR-Series1
c8c11cbe29c5b758ed1ef9600fc8614fc8da618e
[ "MIT" ]
5
2022-03-23T09:52:26.000Z
2022-03-29T11:21:48.000Z
Source/dos32/dtriml.asm
powervr/PowerVR-Series1
c8c11cbe29c5b758ed1ef9600fc8614fc8da618e
[ "MIT" ]
11
2022-03-23T12:55:28.000Z
2022-03-30T07:37:20.000Z
;***************************************************************************** ;*++ ;* Name : $RCSfile: dtriml.asm,v $ ;* Title : ;* ASM Author : Rob Isherwood ;* Created : 15/1/97 ;* ;* Copyright : 1995-2022 Imagination Technologies (c) ;* License : MIT ;* ;* Description : Pentium optimised Process loops from dtri.c ;* ;* Program Type: ASM module (.dll) ;* ;* RCS info: ;* ;* $Date: 1997/06/20 16:27:14 $ ;* $Revision: 1.3 $ ;* $Locker: $ ;* $Log: dtriml.asm,v $ ;; Revision 1.3 1997/06/20 16:27:14 sjf ;; Put in John C's change to fix the UV offset bug from the ;; WIN32 version. ARGGGHHH we really need to just use the WIN32 versions. ;; ;; Revision 1.2 1997/04/04 13:07:55 jop ;; Reverted to proper TEXTEQU syntax for MASM ;; ;; Revision 1.10 1997/03/20 18:25:54 jrc ;; Added underscore to function name so it'd build. ;; ;; Revision 1.9 1997/03/20 18:11:51 jop ;; Changed name of asm function to get rid of link errors ;; ;; Revision 1.8 1997/03/04 20:35:52 erf ;; XY offset fix. Enabled if MODIFYXY = 1 at start of file. ;; Adds fAddToXY to each of the vertices. Also region calculation ;; has changed. Region now calculated for X0, Y0, X1-1, Y1-1. This ;; prevents regions from having invalid plane info. ;; ;; Revision 1.7 1997/02/26 14:21:17 gdc ;; chnaged determinate based poly rejection criteria to match ;; that of sglmacro.h - i.e. 0.0625f. Need for monalisa->AK47 ;; ;; Revision 1.6 1997/02/03 16:11:08 rgi ;; Added handling of D3D faces to ProcessTriCoreLite to get ;; the D3D applications back up to scratch. ;; ;; Revision 1.5 1997/01/30 17:20:45 rgi ;; Revised IBUFFERSIZE ala dtri.c change ;; ;; Revision 1.4 1997/01/27 13:51:35 rgi ;; Big change, removed D3DTriangle optimised version and added ;; newer ProcessTriCoreLite with inlined texture handling code. ;; ;; Revision 1.3 1997/01/24 09:17:59 rgi ;; Prepared for in-lining of ProcessFlatTex and ProcessD3DFlatTex ;; into dtriml.asm. Sadly this breaks ProcessD3DTriCore so it's ;; currently conditioned out. ;; ;; Revision 1.2 1997/01/20 17:34:46 rgi ;; First tru assembler version, appears to work with R4 and ;; Ultimate race. ;; ;; Revision 1.1 1997/01/16 13:05:09 rgi ;; Initial revision ;; ;* ;* This was all produced from compiler output of dtri.c's version with ;* the following options. ;* ;* The initial ProcessD3DTriCore was taken from dispml.asm ;*-- ;***************************************************************************** .386P .387 _TEXT SEGMENT PARA PUBLIC USE32 'CODE' _TEXT ENDS _DATA SEGMENT PARA PUBLIC USE32 'DATA' ALIGN 010H _DATA ENDS _BSS SEGMENT PARA PUBLIC USE32 'BSS' ALIGN 010H _BSS ENDS _DATA1 SEGMENT PARA PUBLIC USE32 'DATA' ALIGN 010H _DATA1 ENDS _TLS SEGMENT PARA PUBLIC USE32 'TLS' _TLS ENDS ASSUME CS:FLAT, DS:FLAT, SS:FLAT ;Constants WORDS_PER_PLANE EQU (3*4) IEEE_MANTISSA_MASK EQU 07FFFFFh IEEE_ASSUMED_BIT EQU 0800000h IBUFFERSIZE EQU 16 SGLTT_DISABLEZBUFFER EQU 02000h SGLTT_FACESIND3DFORMAT EQU 00800h D3DTRIFLAG_ODD equ 0000001eh D3DTRIFLAG_EVEN equ 0000001fh MASK_TRANS EQU 1024 MODIFYXY EQU 1 ; Enable/disable modify XY. ;PITRI structure Adj0 EQU 0 Adj1 EQU 12 Adj2 EQU 24 f1OverDet EQU 36 fZ EQU 40 ITreg EQU 52 ITTSPControlWord EQU 56 ITBaseColour EQU 60 PITRI_SIZE EQU 64 ;gPDC structure, we only know about stuff upto Context sub-struct nPolys EQU 0 pVertices EQU 4 TSPControlWord EQU 8 pFace EQU 12 pV0 EQU 16 pV1 EQU 20 pV2 EQU 24 ShiftRegX EQU 28 TexAddress EQU 32 n32MipmapOffset EQU 36 invTexSize EQU 40 Ctx EQU 44 ;SGLCONTEXT structure bFogOn EQU 0 fFogR EQU 4 fFogG EQU 8 fFogB EQU 12 u32FogDensity EQU 16 bCullBackfacing EQU 20 ; (+Ctx = 64) u32Flags EQU 24 nTextureName EQU 28 fTransPassDepth EQU 32 bDoClipping EQU 36 cBackColour EQU 40 ; 3 floats eShadowLVolMode EQU 52 fShadowBright EQU 56 u32LVolColour EQU 56 ; union with previous bFlipU EQU 60 bFlipV EQU 64 bDoUVTimesInvW EQU 68 FirstXRegion EQU 72 ; (+Ctx = 116) LastXRegion EQU 76 ; (+Ctx = 120) FirstYRegion EQU 80 ; (+Ctx = 124) LastYRegion EQU 84 ; (+Ctx = 128) ;Vertex structure V_fX EQU 0 V_fY EQU 4 V_fZ EQU 8 V_fInvW EQU 12 V_fu32Color EQU 16 V_fu32Specular EQU 20 V_fUOvW EQU 24 V_fVOvW EQU 28 ; Material structure, essentially the TEXDATA structure defined in dtri.h Tex EQU 0 ; We know that Tex is first u0 EQU (Tex+ 0) v0 EQU (Tex+ 4) w0 EQU (Tex+ 8) u1 EQU (Tex+12) v1 EQU (Tex+16) w1 EQU (Tex+20) u2 EQU (Tex+24) v2 EQU (Tex+28) w2 EQU (Tex+32) if 0 MinMaxSorted macro min, max, new local Finished cmp new, max jle @F mov max, new jmp Finished @@: cmp new, min jge Finished mov min, new Finished: endm MinMaxUnsorted macro min, max, new local Finished cmp min, max jle @F xchg min, max @@: cmp new, max je Finished jl @F mov max, new jmp Finished @@: cmp new, min jge Finished mov min, new Finished: endm Constrain macro min, max, lolim, hilim, bugout cmp min, lolim jge @F mov min, lolim cmp max, min jl bugout @@: cmp max, hilim jle @F mov max, hilim cmp min, max jg bugout @@: endm ConstrainB macro min, max, lolim, hilim, bugout cmp min, BYTE PTR lolim jge @F mov min, BYTE PTR lolim cmp max, min jl bugout @@: cmp max, BYTE PTR hilim jle @F mov max, BYTE PTR hilim cmp min, max jg bugout @@: endm endif ; mark_description "source.tmp\\pcx -Ie:\\sabre\\sgl\\D3DOPTIM\\source.tmp\\win32 -Ie:\\sabre\\SGL\\..\\vsgl -Gy -Zp4 -G5 -QIfdi"; ; mark_description "v- -W0 -nologo -Qpc32 -Qrct -Op- -DDLL_METRIC=1 -O2 -Oy -Qip -Qmem -Qscope_alloc -QW0, -mo_alternate_loops, -m"; ; mark_description "o_block_loops, -mo_strip_mine -Oi"; ;ident "Intel Reference Release 5 Version 2.3.2 Beta B96061" ;ident "-DWIN32 -QWl, -force:multiple -QWl, -incremental:no -S -Fae:\sabre\sgl\D3DOPTIM\release.tmp\dtri.asm -DFULL_ON -DPVR2 -DPCX1 -DD" .386P .387 _DATA1 SEGMENT PARA PUBLIC USE32 'DATA' _2_3_2il2floatpacket_13 DD 03f800000H ; xf32 _2_3_2il2floatpacket_10 DD 09e3ce508H ; xf32 _2_3_2il2floatpacket_7 DD 01e3ce508H ; xf32 _BogusZIncrementValue DD 030000000H _DATA1 ENDS ASSUME CS:FLAT, DS:FLAT, SS:FLAT _DATA SEGMENT PARA PUBLIC USE32 'DATA' EXTRN _gfBogusZ:DWORD EXTRN _fMinZ:DWORD EXTRN _gpTri:DWORD EXTRN _ProcessFlatTexFn:DWORD EXTRN _gpMatCurrent:DWORD EXTRN _gpPDC:DWORD EXTRN _gPDC:DWORD if MODIFYXY ; Offset value to add to vertices. EXTRN _fAddToXY:DWORD endif _DATA ENDS _TEXT SEGMENT PARA PUBLIC USE32 'CODE' EXTRN _ProcessD3DFlatTex:PROC EXTRN _ProcessFlatTex:PROC _TEXT ENDS ; -- Machine type P ; mark_description "Intel Reference Release 5 Version 2.3.2 Beta B96061"; ; mark_description "-DWIN32 -QWl,-force:multiple -QWl,-incremental:no -S -Fae:\\sabre\\sgl\\SGLMID4\\release.tmp\\dtmp.asm -DFUL"; ; mark_description "L_ON -DPCX1=1 -DD3DOPTIM=1 -DDDRAW -DWIN32=1 -DICL=1 -DVER_LIB_MAX=3 -DVER_LIB_MA=1 -DVER_LIB_MI=0 -DVER_LIB"; ; mark_description "_MIN=0x0402 -DVER_LIB_TXT=\"3.1.0b2\" -Ie:\\sabre\\sgl\\SGLMID4\\source.tmp\\. -Ie:\\sabre\\sgl\\SGLMID4\\so"; ; mark_description "urce.tmp\\pcx -Ie:\\sabre\\sgl\\SGLMID4\\source.tmp\\win32 -Ie:\\sabre\\SGL\\..\\vsgl -Gy -Zp4 -QIfdiv- -W0 "; ; mark_description "-nologo -Qpc32 -Qrct -Op- -G5 -O2 -Oy -Qip -Qmem -Qscope_alloc -QW0,-mo_alternate_loops,-mo_block_loops,-mo_"; ; mark_description "strip_mine -Oi"; ;ident "Intel Reference Release 5 Version 2.3.2 Beta B96061" ;ident "-DWIN32 -QWl,-force:multiple -QWl,-incremental:no -S -Fae:\sabre\sgl\SGLMID4\release.tmp\dtmp.asm -DFULL_ON -DPCX1=1 -DD3DOPTI" .386P .387 _TEXT SEGMENT PARA PUBLIC USE32 'CODE' _TEXT ENDS _DATA SEGMENT PARA PUBLIC USE32 'DATA' ALIGN 010H _DATA ENDS _BSS SEGMENT PARA PUBLIC USE32 'BSS' ALIGN 010H _BSS ENDS _DATA1 SEGMENT PARA PUBLIC USE32 'DATA' ALIGN 010H _DATA1 ENDS _TLS SEGMENT PARA PUBLIC USE32 'TLS' _TLS ENDS ASSUME CS:FLAT,DS:FLAT,SS:FLAT _BSS SEGMENT PARA PUBLIC USE32 'BSS' uTCLDoneFirst DD 2 DUP (0) ; pad if MODIFYXY ; Tempory variables to store XY coordinates XYs DD 6 DUP (0) endif _BSS ENDS _DATA SEGMENT PARA PUBLIC USE32 'DATA' _DATA ENDS _TEXT SEGMENT PARA PUBLIC USE32 'CODE' ; COMDAT _ProcessTriCoreLite ; -- Begin _ProcessTriCoreLite ; mark_begin; ALIGN 4 ; 0 PUBLIC __ProcessTriCoreLite __ProcessTriCoreLite PROC NEAR LCallPara TEXTEQU <esp+ 0> LfDet TEXTEQU <esp+ 4> LuOrBackType TEXTEQU <esp+ 8> LuDefaultType TEXTEQU <esp+ 12> LuCurrentType TEXTEQU <esp+ 16> LrX1 TEXTEQU <esp+ 20> LrX0 TEXTEQU <esp+ 24> LrY1 TEXTEQU <esp+ 28> LrY0 TEXTEQU <esp+ 32> Adjust TEXTEQU <36> if MODIFYXY ; Local storage of XY coordinates fX0 TEXTEQU <XYs+0> fX1 TEXTEQU <XYs+4> fX2 TEXTEQU <XYs+8> fY0 TEXTEQU <XYs+12> fY1 TEXTEQU <XYs+16> fY2 TEXTEQU <XYs+20> else ; Local storage of XY coordinates fX0 TEXTEQU <rpV0[V_fX]> fX1 TEXTEQU <rpV1[V_fX]> fX2 TEXTEQU <rpV2[V_fX]> fY0 TEXTEQU <rpV0[V_fY]> fY1 TEXTEQU <rpV1[V_fY]> fY2 TEXTEQU <rpV2[V_fY]> endif RSaveEBX TEXTEQU <esp+ 0+Adjust> RSaveEBP TEXTEQU <esp+ 4+Adjust> RSaveESI TEXTEQU <esp+ 8+Adjust> RSaveEDI TEXTEQU <esp+ 12+Adjust> RRetAddr TEXTEQU <esp+ 16+Adjust> PpAddfn TEXTEQU <esp+ 20+Adjust> ; 152 PNewObject TEXTEQU <esp+ 24+Adjust> ; 156 push edi ; Save registers push esi push ebp push ebx sub esp,Adjust ; Preserve local space mov esi,OFFSET FLAT: _gpTri ; ESI = gpTri mov edx,_gPDC[TSPControlWord]; edx = TSPControlWord xor eax,eax ; eax = 0 and edx,MASK_TRANS ; edx = MASK_TRANS bit or 0 je TCL_TSetup ; if 0 TCL_TSetup with eax,edx = 0 ; ; Else translucent setup (rare for performance case) ; mov ebx,[PNewObject] ; ebx = NewObject mov edx,1 ; edx = 1 for uOrBackType test ebx,ebx ; Flags = ebx & ebx je @F ; If !NewObject skip reset mov uTCLDoneFirst[0],eax ; uTCLDoneFirst[0] = 0 mov uTCLDoneFirst[4],eax ; uTCLDoneFirst[1] = 0 @@: mov eax,4 ; eax = 4 for u*Type ; ; Carry on with the main line ; TCL_TSetup: mov [LuDefaultType],eax ; uDefaultType = eax mov [LuCurrentType],eax ; uCurrentType = eax mov [LuOrBackType],edx ; uOrBackType = edx TCL_Loop: ; ; Main loop: esi = pTri ; eax, ebx, ecx, edx, ebp, edi = undefined ; mov eax,_gPDC[pFace] ; eax = pFace mov ebx,_gPDC[nPolys] ; ebx = nPolys dec ebx ; ebx = nPolys - 1 js TCL_Done ; If -ive nPolys then TCL_Done mov _gPDC[nPolys],ebx ; nPolys = nPolys - 1 = ebx mov ebx,_gPDC[Ctx][u32Flags]; ebx = u32Flags and ebx,SGLTT_FACESIND3DFORMAT; Is this D3D case? mov ecx,_gPDC[pVertices] ; ecx = pVertices jz TCL_SGLFace ; No so use SGL Face format TCL_D3DFace: mov ebx,[eax][0] ; ebx = (Index1<<16) + Index0 mov edi,[eax][4] ; edi = (Flags<<16) + Index2 mov edx,ebx ; edx = ebx add eax,8 ; eax = pFace + sizeof(SGLD3DFACE) shr ebx,16 ; ebx = Index1 and edi,0ffffh ; edi = Index2 and edx,0ffffh ; edx = Index0 jmp TCL_FloatIt ; Carry on TCL_SGLFace: mov edx,[eax][0] ; edx = pFace[0] mov ebx,[eax][4] ; ebx = pFace[1] mov edi,[eax][8] ; edi = pFace[2] add eax,12 ; eax = pFace + 3 TCL_FloatIt: shl edi,5 ; edi *= sizeof(VERTEX) mov _gPDC[pFace],eax ; pFace++ = eax shl ebx,5 ; ebx *= sizeof(VERTEX) add edi,ecx ; EDI = pVertices + (edi*Size) shl edx,5 ; edx *= sizeof(VERTEX) add ebx,ecx ; EBX = pVertices + (ebx*Size) add edx,ecx ; EDX = pVertices + (edx*Size) mov eax,_gPDC[TSPControlWord]; eax = gPDC.TSPControlWord rpV0 TEXTEQU <[edx]> ; Vertex pointers available rpV1 TEXTEQU <[ebx]> rpV2 TEXTEQU <[edi]> if MODIFYXY ; Add offset value to XY coordinates fld DWORD PTR rpV0[V_fX] ; X0 fadd DWORD PTR _fAddToXY fld DWORD PTR rpV1[V_fX] ; X1 fadd DWORD PTR _fAddToXY fxch ST(1) fstp DWORD PTR fX0 fld DWORD PTR rpV2[V_fX] ; X2 fadd DWORD PTR _fAddToXY fxch ST(1) fstp DWORD PTR fX1 fld DWORD PTR rpV0[V_fY] ; Y0 fadd DWORD PTR _fAddToXY fxch ST(1) fstp DWORD PTR fX2 fld DWORD PTR rpV1[V_fY] ; Y1 fadd DWORD PTR _fAddToXY fxch ST(1) fstp DWORD PTR fY0 fld DWORD PTR rpV2[V_fY] ; Y2 fadd DWORD PTR _fAddToXY fxch ST(1) fstp DWORD PTR fY1 fstp DWORD PTR fY2 endif fld DWORD PTR fY1 ; Y1 fmul DWORD PTR fX2 ; X2*Y1 fld DWORD PTR fY2 ; Y2,X2*Y1 fmul DWORD PTR fX1 ; X1*Y2,X2*Y1 fld DWORD PTR fX2 ; X2,X1*Y2,X2*Y1 fmul DWORD PTR fY0 ; X2*Y0,X1*Y2,X2*Y1 fld DWORD PTR fX0 ; X0,X2*Y0,X1*Y2,X2*Y1 fmul DWORD PTR fY2 ; X0*Y2,X2*Y0,X1*Y2,X2*Y1 fld DWORD PTR fX0 ; X0,X0*Y2,X2*Y0,X1*Y2,X2*Y1 fmul DWORD PTR fY1 ; X0*Y1,X0*Y2,X2*Y0,X1*Y2,X2*Y1 fld DWORD PTR fX1 ; X1,X0*Y1,X0*Y2,X2*Y0,X1*Y2,X2*Y1 fmul DWORD PTR fY0 ; X1*Y0,X0*Y1,X0*Y2,X2*Y0,X1*Y2,X2*Y1 fxch st(5) ; X2*Y1,X0*Y1,X0*Y2,X2*Y0,X1*Y2,X1*Y0 fsubp st(4),st ; X0*Y1,X0*Y2,X2*Y0,AdjX0,X1*Y0 fxch st(1) ; X0*Y2,X0*Y1,X2*Y0,AdjX0,X1*Y0 fsubp st(2),st ; X0*Y1,AdjX1,AdjX0,X1*Y0 fsubrp st(3),st ; AdjX1,AdjX0,AdjX2 fld st(1) ; AdjX0,AdjX1,AdjX0,AdjX2 fadd st,st(1) ; AdjX0+AdjX1,AdjX1,AdjX0,AdjX2 fxch st(1) ; AdjX1,AdjX0+AdjX1,AdjX0,AdjX2 fstp DWORD PTR [esi][Adj2][4]; pTri->Adj2[1]=,AdjX0+AdjX1,AdjX0,AdjX2 fadd st,st(2) ; AdjX0+AdjX1+AdjX2,AdjX0,AdjX2 ; Stalls 3 but can do integer mov [esi][ITTSPControlWord],eax; pTri->TSPControlWord = eax mov eax,[edx+16] ; eax = pV0->u32Colour mov _gPDC[pV2],edi ; gPDC.pV2 = edi mov _gPDC[pV0],edx ; gPDC.pV0 = edx mov ebp,03d800000h ; ebp = MAGIC_NUM mov _gPDC[pV1],ebx ; gPDC.pV1 = ebx fstp DWORD PTR [LfDet] ; LfDet=,AdjX0,AdjX2 mov [esi][ITBaseColour],eax ; pTri->BaseColour = eax mov eax,[LfDet] ; eax = fDet cmp eax,ebp ; Flags = eax - MAGIC_NUM jge TCL_NormDet ; if fDet >= MAGIC_NUM then TCL_NormDet ; ; Determinate is very small or negative ; mov ecx,_gPDC[Ctx][bCullBackfacing]; ecx = bCullBackfacing xor eax,080000000h ; eax = - fDet test ecx,ecx ; Flags = bCullBackFacing jne TCL_ShortCut2 ; If culling then TCL_ShortCut2 ; ; Invert the Determinate ; cmp eax,ebp ; Flags = fDet - MAGIC_NUM jl TCL_ShortCut2 ; if fDet < MAGIC_NUM TCL_ShortCut2 ; ; Determinate is significant and was negative, invert/swap related values ; fchs ; -AdjX0,AdjX2 fxch st(1) ; AdjX2,-AdjX0 fchs ; -AdjX2,-AdjX0 mov [LfDet],eax ; fDet = eax = -fDet mov ecx,[LuCurrentType] ; ecx = uCurrentType mov eax,[esi][Adj2][4] ; eax = AdjX1 = pTri->Adj2[1] or ecx,[LuOrBackType] ; ecx |= uOrBackType xor eax,080000000h ; eax = -AdjX1 mov [LuCurrentType],ecx ; uCurrentType |= uOrBackType mov [esi][Adj2][4],eax ; pTri->Adj2[1] = -AdjX1 mov eax,edx ; eax = edx = pV0 mov edx,edi ; edx = edi = pV2 mov edi,eax ; edi = eax = pV0 mov _gPDC[pV2],edi ; gPDC.pV2 = edi mov _gPDC[pV0],edx ; gPDC.pV0 = edx if MODIFYXY ; Swap X0, X2 and Y0, Y2. mov eax, fX0 mov ecx, fX2 mov fX2, eax mov fX0, ecx mov eax, fY0 mov ecx, fY2 mov fY2, eax mov fY0, ecx endif TCL_NormDet: ; ; Registers: esi = pTri, edx = pV0, ebx = pV1, edi = pV2 ; fstp DWORD PTR [esi][Adj2][0]; pTri->Adj2[0]=AdjX0 fstp DWORD PTR [esi][Adj2][8]; pTri->Adj2[2]=AdjX2 fld DWORD PTR fY0 ; pV0->fY fsub DWORD PTR fY1 ; pV0->fY-pV1->fY fld DWORD PTR fY1 ; pV1->fY,pV0->fY-pV1->fY fsub DWORD PTR fY2 ; pV1->fY-pV2->fY,pV0->fY-pV1->fY fld DWORD PTR fY2 ; pV2->fY,pV1->fY-pV2->fY,pV0->fY-pV1->fY fsub DWORD PTR fY0 ; pV2->fY-pV0->fY,pV1->fY-pV2->fY,pV0->fY-pV1->fY fxch st(2) ; pV0->fY-pV1->fY,pV1->fY-pV2->fY,pV2->fY-pV0->fY fstp DWORD PTR [esi][Adj0][8]; pTri->Adj0[2]=,pV1->fY-pV2->fY,pV2->fY-pV0->fY fstp DWORD PTR [esi][Adj0][0]; pTri->Adj0[0]=,pV2->fY-pV0->fY fstp DWORD PTR [esi][Adj0][4]; pTri->Adj0[1]= fld DWORD PTR fX1 ; pV1->fX fsub DWORD PTR fX0 ; pV1->fX-pV0->fX fld DWORD PTR fX0 ; pV0->fX,pV1->fX-pV0->fX fsub DWORD PTR fX2 ; pV0->fX-pV2->fX,pV1->fX-pV0->fX fld DWORD PTR fX2 ; pV2->fX,pV0->fX-pV2->fX,pV1->fX-pV0->fX fsub DWORD PTR fX1 ; pV2->fX-pV1->fX,pV0->fX-pV2->fX,pV1->fX-pV0->fX fxch st(2) ; pV1->fX-pV0->fX,pV0->fX-pV2->fX,pV2->fX-pV1->fX fstp DWORD PTR [esi][Adj1][8]; pTri->Adj1[2]=,pV0->fX-pV2->fX,pV2->fX-pV1->fX fstp DWORD PTR [esi][Adj1][4]; pTri->Adj1[1]=,pV2->fX-pV1->fX fstp DWORD PTR [esi][Adj1][0]; pTri->Adj1[0]=, mov ecx,OFFSET FLAT: _ProcessFlatTex mov eax,DWORD PTR _ProcessFlatTexFn cmp eax,ecx ; Revert to C code for texture processing. This is not the best solution. ; The offset code should be added in the assembler. ; jne TCL_CheckD3D jmp TCL_CheckD3D ; ; Process Flat Texture code (same as D3D without the *InvWs) ; mov ebp, DWORD PTR _gpMatCurrent ; EBP = gpMatCurrent fld DWORD PTR rpV0[V_fUOvW] ; U0 fld DWORD PTR rpV1[V_fUOvW] ; U1,U0 fld DWORD PTR [esi][Adj2][0]; A20,U1,U0 fmul st, st(2) ; A20*U0(2),U1,U0 fld DWORD PTR rpV2[V_fUOvW] ; U2,A20*U0(1),U1,U0 fld DWORD PTR [esi][Adj2][4]; A21,U2,A20*U0,U1,U0 fmul st, st(3) ; A21*U1(2),U2,A20*U0,U1,U0 fxch st(1) ; U2,A21*U1(2),A20*U0,U1,U0 fsub st(4),st ; U2,A21*U1(1),A20*U0,U1,o0(2) fld DWORD PTR [esi][Adj2][8]; A22,U2,A21*U1,A20*U0,U1,o0(1) fmul st, st(1) ; A22*U2(2),U2,A21*U1,A20*U0,U1,o0 fxch st(1) ; U2,A22*U2(2),A21*U1,A20*U0,U1,o0 fsubp st(4), st ; A22*U2(1),A21*U1,A20*U0,o1(2),o0 fld DWORD PTR [esi][Adj0][0]; A00,A22*U2,A21*U1,A20*U0,o1(1),o0 fmul st, st(5) ; A00*o0(2),A22*U2,A21*U1,A20*U0,o1,o0 fxch st(2) ; A21*U1,A22*U2,A00*o0(2),A20*U0,o1,o0 faddp st(3), st ; A22*U2,A00*o0(1),A20*U0+A21*U1(2),o1,o0 fxch st(4) ; o0,A00*o0(1),A20*U0+A21*U1(2),o1,A22*U2 fmul DWORD PTR [esi][Adj1][0]; A10*o0(2),A00*o0,A20*U0+A21*U1(1),o1,A22*U2 fld DWORD PTR [esi][Adj0][4]; A01,A10*o0(1),A00*o0,A20*U0+A21*U1,o1,A22*U2 fmul st, st(4) ; A01*o1(2),A10*o0,A00*o0,A20*U0+A21*U1,o1,A22*U2 fxch st(3) ; A20*U0+A21*U1,A10*o0,A00*o0,A01*o1(2),o1,A22*U2 faddp st(5), st ; A10*o0,A00*o0,A01*o1(1),o1,ut2(2) fxch st(3) ; o1,A00*o0,A01*o1(1),A10*o0,ut2(2) fmul DWORD PTR [esi][Adj1][4]; A11*o1(2),A00*o0,A01*o1,A10*o0,ut2(1) fxch st(2) ; A01*o1,A00*o0,A11*o1(2),A10*o0,ut2(1) faddp st(1), st ; ut0(2),A11*o1(1),A10*o0,ut2 fxch st(3) ; ut2,A11*o1(1),A10*o0,ut0(2) fld DWORD PTR rpV0[V_fVOvW] ; V0,ut2(-1),A11*o1,A10*o0,ut0(1) fxch st(2) ; A11*o1,ut2(-1),V0,A10*o0,ut0(1) faddp st(3), st ; ut2(-2),V0,ut1(2),ut0 fstp DWORD PTR [ebp][u2] ; Tex.u2=,V0,ut1,ut0(-2) fxch st(2) ; ut0(-2),ut1,V0 fstp DWORD PTR [ebp][u0] ; Tex.u0=,ut1(-2),V0 fstp DWORD PTR [ebp][u1] ; Tex.u1=,V0 ; Now for V fld DWORD PTR rpV1[V_fVOvW] ; V1,V0 fld DWORD PTR [esi][Adj2][0]; A20,V1,V0 fmul st, st(2) ; A20*V0(2),V1,V0 fld DWORD PTR rpV2[V_fVOvW] ; V2,A20*V0(1),V1,V0 fld DWORD PTR [esi][Adj2][4]; A21,V2,A20*V0,V1,V0 fmul st, st(3) ; A21*V1(2),V2,A20*V0,V1,V0 fxch st(1) ; V2,A21*V1(2),A20*V0,V1,V0 fsub st(4),st ; V2,A21*V1(1),A20*V0,V1,o0(2) fld DWORD PTR [esi][Adj2][8]; A22,V2,A21*V1,A20*V0,V1,o0(1) fmul st, st(1) ; A22*V2(2),V2,A21*V1,A20*V0,V1,o0 fxch st(1) ; V2,A22*V2(2),A21*V1,A20*V0,V1,o0 fsubp st(4), st ; A22*V2(1),A21*V1,A20*V0,o1(2),o0 fld DWORD PTR [esi][Adj0][0]; A00,A22*V2,A21*V1,A20*V0,o1(1),o0 fmul st, st(5) ; A00*o0(2),A22*V2,A21*V1,A20*V0,o1,o0 fxch st(2) ; A21*V1,A22*V2,A00*o0(2),A20*V0,o1,o0 faddp st(3), st ; A22*V2,A00*o0(1),A20*V0+A21*V1(2),o1,o0 fxch st(4) ; o0,A00*o0(1),A20*V0+A21*V1(2),o1,A22*V2 fmul DWORD PTR [esi][Adj1][0]; A10*o0(2),A00*o0,A20*V0+A21*V1(1),o1,A22*V2 fld DWORD PTR [esi][Adj0][4]; A01,A10*o0(1),A00*o0,A20*V0+A21*V1,o1,A22*V2 fmul st, st(4) ; A01*o1(2),A10*o0,A00*o0,A20*V0+A21*V1,o1,A22*V2 fxch st(3) ; A20*V0+A21*V1,A10*o0,A00*o0,A01*o1(2),o1,A22*V2 faddp st(5), st ; A10*o0,A00*o0,A01*o1(1),o1,vt2(2) fxch st(3) ; o1,A00*o0,A01*o1(1),A10*o0,vt2(2) fmul DWORD PTR [esi][Adj1][4]; A11*o1(2),A00*o0,A01*o1,A10*o0,vt2(1) fxch st(2) ; A01*o1,A00*o0,A11*o1(2),A10*o0,vt2(1) faddp st(1), st ; vt0(2),A11*o1(1),A10*o0,vt2 fxch st(3) ; vt2,A11*o1(1),A10*o0,vt0(2) fld DWORD PTR rpV0[V_fInvW] ; W0,vt2(-1),A11*o1,A10*o0,vt0(1) fxch st(2) ; A11*o1,vt2(-1),W0,A10*o0,vt0(1) faddp st(3), st ; vt2(-2),W0,vt1(2),vt0 fstp DWORD PTR [ebp][v2] ; Tex.v2=,W0,vt1,vt0(-2) fxch st(2) ; vt0(-2),vt1,W0 fstp DWORD PTR [ebp][v0] ; Tex.v0=,vt1(-2),W0 fstp DWORD PTR [ebp][v1] ; Tex.v1=,W0 jmp TCL_DoWTex TCL_ShortCut2: ; Discard 2 fpu values fstp st(0) fstp st(0) jmp TCL_Loop ; Next poly please TCL_ByPtr: push edx ; Save edx and pass pTri as push esi ; only para. call eax ; Call _ProcessFlatTexFn pop esi ; Recover state; edx is the pop edx ; only reg is use not saved jmp TCL_DoneTex ; by the Intel compiler. TCL_CheckD3D: or eax,eax jz TCL_DoneTex cmp eax,OFFSET FLAT: _ProcessD3DFlatTex jne TCL_ByPtr ; ; Process D3D Texture code, must do one mul for every add/sub/ld or we will ; run out of non multiply operations like the compiler does. ; mov ebp, DWORD PTR _gpMatCurrent ; EBP = gpMatCurrent fld DWORD PTR rpV0[V_fUOvW] ; U0 fmul DWORD PTR rpV0[V_fInvW] ; U0*W0(2) fld DWORD PTR rpV1[V_fUOvW] ; U1,U0(1) fmul DWORD PTR rpV1[V_fInvW] ; U1*W1(2),U0 fld DWORD PTR [esi][Adj2][0]; A20,U1(1),U0 fmul st, st(2) ; A20*U0(2),U1,U0 fld DWORD PTR rpV2[V_fUOvW] ; U2,A20*U0(1),U1,U0 fmul DWORD PTR rpV2[V_fInvW] ; U2*W2(2),A20*U0,U1,U0 fld DWORD PTR [esi][Adj2][4]; A21,U2(1),A20*U0,U1,U0 fmul st, st(3) ; A21*U1(2),U2,A20*U0,U1,U0 fxch st(1) ; U2,A21*U1(2),A20*U0,U1,U0 fsub st(4),st ; U2,A21*U1(1),A20*U0,U1,o0(2) fld DWORD PTR [esi][Adj2][8]; A22,U2,A21*U1,A20*U0,U1,o0(1) fmul st, st(1) ; A22*U2(2),U2,A21*U1,A20*U0,U1,o0 fxch st(1) ; U2,A22*U2(2),A21*U1,A20*U0,U1,o0 fsubp st(4), st ; A22*U2(1),A21*U1,A20*U0,o1(2),o0 fld DWORD PTR [esi][Adj0][0]; A00,A22*U2,A21*U1,A20*U0,o1(1),o0 fmul st, st(5) ; A00*o0(2),A22*U2,A21*U1,A20*U0,o1,o0 fxch st(2) ; A21*U1,A22*U2,A00*o0(2),A20*U0,o1,o0 faddp st(3), st ; A22*U2,A00*o0(1),A20*U0+A21*U1(2),o1,o0 fxch st(4) ; o0,A00*o0(1),A20*U0+A21*U1(2),o1,A22*U2 fmul DWORD PTR [esi][Adj1][0]; A10*o0(2),A00*o0,A20*U0+A21*U1(1),o1,A22*U2 fld DWORD PTR [esi][Adj0][4]; A01,A10*o0(1),A00*o0,A20*U0+A21*U1,o1,A22*U2 fmul st, st(4) ; A01*o1(2),A10*o0,A00*o0,A20*U0+A21*U1,o1,A22*U2 fxch st(3) ; A20*U0+A21*U1,A10*o0,A00*o0,A01*o1(2),o1,A22*U2 faddp st(5), st ; A10*o0,A00*o0,A01*o1(1),o1,ut2(2) fxch st(3) ; o1,A00*o0,A01*o1(1),A10*o0,ut2(2) fmul DWORD PTR [esi][Adj1][4]; A11*o1(2),A00*o0,A01*o1,A10*o0,ut2(1) fxch st(2) ; A01*o1,A00*o0,A11*o1(2),A10*o0,ut2(1) faddp st(1), st ; ut0(2),A11*o1(1),A10*o0,ut2 fxch st(3) ; ut2,A11*o1(1),A10*o0,ut0(2) fld DWORD PTR rpV0[V_fVOvW] ; V0,ut2(-1),A11*o1,A10*o0,ut0(1) fxch st(2) ; A11*o1,ut2(-1),V0,A10*o0,ut0(1) faddp st(3), st ; ut2(-2),V0,ut1(2),ut0 fstp DWORD PTR [ebp][u2] ; Tex.u2=,V0,ut1,ut0(-2) fxch st(2) ; ut0(-2),ut1,V0 fstp DWORD PTR [ebp][u0] ; Tex.u0=,ut1(-2),V0 fstp DWORD PTR [ebp][u1] ; Tex.u1=,V0 ; Now for V fmul DWORD PTR rpV0[V_fInvW] ; V0*W0(2) fld DWORD PTR rpV1[V_fVOvW] ; V1,V0(1) fmul DWORD PTR rpV1[V_fInvW] ; V1*W1(2),V0 fld DWORD PTR [esi][Adj2][0]; A20,V1(1),V0 fmul st, st(2) ; A20*V0(2),V1,V0 fld DWORD PTR rpV2[V_fVOvW] ; V2,A20*V0(1),V1,V0 fmul DWORD PTR rpV2[V_fInvW] ; V2*W2(2),A20*V0,V1,V0 fld DWORD PTR [esi][Adj2][4]; A21,V2(1),A20*V0,V1,V0 fmul st, st(3) ; A21*V1(2),V2,A20*V0,V1,V0 fxch st(1) ; V2,A21*V1(2),A20*V0,V1,V0 fsub st(4),st ; V2,A21*V1(1),A20*V0,V1,o0(2) fld DWORD PTR [esi][Adj2][8]; A22,V2,A21*V1,A20*V0,V1,o0(1) fmul st, st(1) ; A22*V2(2),V2,A21*V1,A20*V0,V1,o0 fxch st(1) ; V2,A22*V2(2),A21*V1,A20*V0,V1,o0 fsubp st(4), st ; A22*V2(1),A21*V1,A20*V0,o1(2),o0 fld DWORD PTR [esi][Adj0][0]; A00,A22*V2,A21*V1,A20*V0,o1(1),o0 fmul st, st(5) ; A00*o0(2),A22*V2,A21*V1,A20*V0,o1,o0 fxch st(2) ; A21*V1,A22*V2,A00*o0(2),A20*V0,o1,o0 faddp st(3), st ; A22*V2,A00*o0(1),A20*V0+A21*V1(2),o1,o0 fxch st(4) ; o0,A00*o0(1),A20*V0+A21*V1(2),o1,A22*V2 fmul DWORD PTR [esi][Adj1][0]; A10*o0(2),A00*o0,A20*V0+A21*V1(1),o1,A22*V2 fld DWORD PTR [esi][Adj0][4]; A01,A10*o0(1),A00*o0,A20*V0+A21*V1,o1,A22*V2 fmul st, st(4) ; A01*o1(2),A10*o0,A00*o0,A20*V0+A21*V1,o1,A22*V2 fxch st(3) ; A20*V0+A21*V1,A10*o0,A00*o0,A01*o1(2),o1,A22*V2 faddp st(5), st ; A10*o0,A00*o0,A01*o1(1),o1,vt2(2) fxch st(3) ; o1,A00*o0,A01*o1(1),A10*o0,vt2(2) fmul DWORD PTR [esi][Adj1][4]; A11*o1(2),A00*o0,A01*o1,A10*o0,vt2(1) fxch st(2) ; A01*o1,A00*o0,A11*o1(2),A10*o0,vt2(1) faddp st(1), st ; vt0(2),A11*o1(1),A10*o0,vt2 fxch st(3) ; vt2,A11*o1(1),A10*o0,vt0(2) fld DWORD PTR rpV0[V_fInvW] ; W0,vt2(-1),A11*o1,A10*o0,vt0(1) fxch st(2) ; A11*o1,vt2(-1),W0,A10*o0,vt0(1) faddp st(3), st ; vt2(-2),W0,vt1(2),vt0 fstp DWORD PTR [ebp][v2] ; Tex.v2=,W0,vt1,vt0(-2) fxch st(2) ; vt0(-2),vt1,W0 fstp DWORD PTR [ebp][v0] ; Tex.v0=,vt1(-2),W0 fstp DWORD PTR [ebp][v1] ; Tex.v1=,W0 TCL_DoWTex: ; ; The code for W is common between D3D and true SGL Lite texture formats ; fld DWORD PTR rpV1[V_fInvW] ; W1,W0 fld DWORD PTR [esi][Adj2][0]; A20,W1,W0 fmul st, st(2) ; A20*W0(2),W1,W0 fld DWORD PTR rpV2[V_fInvW] ; W2,A20*W0(1),W1,W0 fld DWORD PTR [esi][Adj2][4]; A21,W2,A20*W0,W1,W0 fmul st, st(3) ; A21*W1(2),W2,A20*W0,W1,W0 fxch st(1) ; W2,A21*W1(2),A20*W0,W1,W0 fsub st(4),st ; W2,A21*W1(1),A20*W0,W1,o0(2) fld DWORD PTR [esi][Adj2][8]; A22,W2,A21*W1,A20*W0,W1,o0(1) fmul st, st(1) ; A22*W2(2),W2,A21*W1,A20*W0,W1,o0 fxch st(1) ; W2,A22*W2(2),A21*W1,A20*W0,W1,o0 fsubp st(4), st ; A22*W2(1),A21*W1,A20*W0,o1(2),o0 fld DWORD PTR [esi][Adj0][0]; A00,A22*W2,A21*W1,A20*W0,o1(1),o0 fmul st, st(5) ; A00*o0(2),A22*W2,A21*W1,A20*W0,o1,o0 fxch st(2) ; A21*W1,A22*W2,A00*o0(2),A20*W0,o1,o0 faddp st(3), st ; A22*W2,A00*o0(1),A20*W0+A21*W1(2),o1,o0 fxch st(4) ; o0,A00*o0(1),A20*W0+A21*W1(2),o1,A22*W2 fmul DWORD PTR [esi][Adj1][0]; A10*o0(2),A00*o0,A20*W0+A21*W1(1),o1,A22*W2 fld DWORD PTR [esi][Adj0][4]; A01,A10*o0(1),A00*o0,A20*W0+A21*W1,o1,A22*W2 fmul st, st(4) ; A01*o1(2),A10*o0,A00*o0,A20*W0+A21*W1,o1,A22*W2 fxch st(3) ; A20*W0+A21*W1,A10*o0,A00*o0,A01*o1(2),o1,A22*W2 faddp st(5), st ; A10*o0,A00*o0,A01*o1(1),o1,nwt2(2) fxch st(3) ; o1,A00*o0,A01*o1(1),A10*o0,nwt2(2) fmul DWORD PTR [esi][Adj1][4]; A11*o1(2),A00*o0,A01*o1,A10*o0,nwt2(1) fxch st(2) ; A01*o1,A00*o0,A11*o1(2),A10*o0,nwt2(1) faddp st(1), st ; nwt0(2),A11*o1(1),A10*o0,nwt2 fxch st(3) ; nwt2,A11*o1(1),A10*o0,nwt0(2) fmul DWORD PTR _gPDC[invTexSize];wt2(2),A11*o1,A10*o0,nwt0(1) fxch st(1) ; A11*o1,wt2(2),A10*o0,nwt0(1) faddp st(2),st ; wt2(1),nwt1(2),nwt0 fxch st(2) ; nwt0,nwt1(2),wt2(1) fmul DWORD PTR _gPDC[invTexSize];wt0(2),nwt1(1),wt2 fxch st(2) ; wt2,nwt1(1),wt0(2) fstp DWORD PTR [ebp][w2] ; Tex.w2=,nwt1,wt0 fmul DWORD PTR _gPDC[invTexSize];wt1(2),wt0 fxch st(1) ; wt0,wt1(2) fstp DWORD PTR [ebp][w0] ; Tex.w0=,wt1 ; Stall of 1 fstp DWORD PTR [ebp][w1] ; Tex.w1=, TCL_DoneTex: mov eax,_gPDC[Ctx][u32Flags]; eax = gPDC.Context.u32Flags mov ecx,8192 ; ecx = ZBUFFER_MASK test eax,ecx ; Flags = u32Flags & ZBUFFER_MASK jne TCL_NoZBuff ; If u32Flags & 8192 then TCL_NoZBuff fld DWORD PTR _fMinZ ; MinZ fmul DWORD PTR rpV0[V_fInvW] ; MinZ*pV0->fInvW fld DWORD PTR rpV2[V_fInvW] ; pV2->fInvW,MinZ*pV0->fInvW fmul DWORD PTR _fMinZ ; pV2->fInvW*MinZ,MinZ*pV0->fInvW fld DWORD PTR rpV1[V_fInvW] ; pV1->fInvW,pV2->fInvW*MinZ,MinZ*pV0->fInvW fmul DWORD PTR _fMinZ ; MinZ*pV1->fInvW,pV2->fInvW*MinZ,MinZ*pV0->fInvW fxch st(2) ; MinZ*pV0->fInvW,pV2->fInvW*MinZ,MinZ*pV1->fInvW fstp DWORD PTR [esi][fZ][0] ; pTri->fZ[0]=,pV2->fInvW*MinZ,MinZ*pV1->fInvW fstp DWORD PTR [esi][fZ][8] ; pTri->fZ[2]=,MinZ*pV1->fInvW fstp DWORD PTR [esi][fZ][4] ; pTri->fZ[1]= jmp TCL_Cont1 ; goto TCL_Cont1 TCL_ShortCut1: ; Dicard 1 fpu value fstp st(0) TCL_ShortCut0: jmp TCL_Loop ; Next poly please TCL_NoZBuff: fld QWORD PTR _2_1_float_13; c1=BOGUSZ_INCREMENT fadd DWORD PTR _gfBogusZ ; c1+gfBogusZ mov eax,_gfBogusZ ; eax=gfBogusZ mov [esi][fZ][0],eax ; pTri->fZ[0]=eax mov [esi][fZ][4],eax ; pTri->fZ[1]=eax mov [esi][fZ][8],eax ; pTri->fZ[2]=eax fstp DWORD PTR _gfBogusZ ; gfBogusZ= TCL_Cont1: ; ; Using integer comparisons set ecx to min X and eax to max X ; mov eax,DWORD PTR fX0 ; eax = pV0->fX mov ecx,DWORD PTR fX1 ; ecx = pV1->fX cmp eax,ecx ; Flags = pV0->fX - pV1->fX jge @F ; If eax >= ecx carry on mov eax,ecx ; eax = Max value mov ecx,DWORD PTR fX0 ; ecx = Min value @@: cmp eax,DWORD PTR fX2 ; Flags = Max value - pV2->fX jge @F ; If Max value > pV2->fX carry on mov eax,DWORD PTR fX2 ; Max value = pV2->fX jmp TCL_XDone ; goto TCL_XDone (cannot be min too) @@: cmp ecx,DWORD PTR fX2 ; Flags = Min value - pV2->fX jle TCL_XDone ; If Min value < pV2->fX carry on mov ecx,DWORD PTR fX2 ; Min value = pV2->fX ; ; Now eax = X1 (Max X) and ecx = X0 (Min X) as floating point, we check here ; if X1 (Max X) is negative as this indicates an off-screen poly that can ; be skipped. If X1 is +ive but X0 is -ive then we set X0 to 0. ; This saves us coping with negative values during the quicky float to ; integer conversions later. ; TCL_XDone: or eax,eax ; Flags = eax & eax (Max X) js TCL_ShortCut0 ; if ( Max X < 0 ) next poly please or ecx,ecx ; Flags = ecx & ecx (Min X) jns @F ; if ( Min X >= 0 ) carry on xor ecx,ecx ; Make MinX = 0 ; ; Using integer comparisons set ecx to min Y and eax to max Y ; @@: mov DWORD PTR [LrX0],ecx ; Store minX as rX0 mov ecx,DWORD PTR fY1 ; ecx = pV1->fY mov DWORD PTR [LrX1],eax ; Store maxX as rX1 mov eax,DWORD PTR fY0 ; eax = pV0->fY mov edi,DWORD PTR fY2 ; edi = pV2->fY mov edx,eax ; edx = copy of pV0->fY rpV2 TEXTEQU <ErrorpV2> ; We have lost at least one of the rpV0 TEXTEQU <ErrorpV0> ; vertex pointers! rpV1 TEXTEQU <ErrorpV1> cmp eax,ecx ; Flags = pV0->fY - pV1->fY jge @F ; If eax >= ecx carry on mov eax,ecx ; eax = Max value mov ecx,edx ; ecx = Min value @@: cmp eax,edi ; Flags = Max value - pV2->fY jge @F ; If Max value > pV2->fY carry on mov eax,edi ; Max value = pV2->fY (cannot be min) jmp TCL_YDone ; goto TCL_YDone @@: cmp ecx,edi ; Flags = Min value - pV2->fY jle TCL_YDone ; If Min value < pV2->fY TCL_YDone mov ecx,edi ; Store Min value = pV2->fY TCL_YDone: ; ; Now eax = Y1 (Max Y) and ecx = Y0 (Min Y) as floating point, we check here ; if Y1 (Max Y) is negative as this indicates an off-screen poly that can ; be skipped. If Y1 is +ive but Y0 is -ive then we set Y0 to 0. ; This saves us coping with negative values during the quicky float to ; integer conversions later. ; or eax,eax ; Flags = eax & eax (Max Y) js TCL_ShortCut0 ; if ( Max Y < 0 ) next poly please or ecx,ecx ; Flags = ecx & ecx (Min Y) jns @F ; if ( Min Y >= 0 ) carry on xor ecx,ecx ; Make MinY = 0 @@: mov DWORD PTR [LrY1],eax ; Store Max value = eax mov DWORD PTR [LrY0],ecx ; Store Min value = ecx ; ; Now we need to convert rX0,rX1,rY0,rY1 to integers ; use the registers ebx-edx,edi-ecx to store the bounding box. ; fld DWORD PTR _float_to_int22; Integer conversion value fld DWORD PTR [LrX0] ; fMinX,icv fadd st,st(1) ; I_MinX,icv fld DWORD PTR [LrX1] ; fMaxX,I_MinX,icv fadd st,st(2) ; I_MaxX,I_MinX,icv fld DWORD PTR [LrY0] ; fMinY,I_MaxX,I_MinX,icv fadd st,st(3) ; I_MinY,I_MaxX,I_MinX,icv fxch st(3) ; icv,I_MaxX,I_MinX,I_MinY fadd DWORD PTR [LrY1] ; I_MaxY,I_MaxX,I_MinX,I_MinY fxch st(2) ; I_MinX,I_MaxX,I_MaxY,I_MinY fstp DWORD PTR [LrX0] ; rX0 = INT32 fMinX fstp DWORD PTR [LrX1] ; rX1 = INT32 fMaxX fstp DWORD PTR [LrY1] ; rY1 = INT32 fMaxY fstp DWORD PTR [LrY0] ; rY0 = INT32 fMinY fld DWORD PTR _2_1_float_18 ; 1.0f fdiv DWORD PTR [LfDet] ; 1.0f/fDet about 30 odd cycles later ; ; X0-X1, Y0-Y1 are now 22 bit +ive integer values with 10 bits of exponent ; etc in the MSBs. We have to load them up and and off the 'fpu_junk'. ; ; By rather deviously leaving off the LSB of the mask we avoid the need ; to apply the Y_SHIFT down by 1 to the Y values before encoding them ; later on. The Y limit values should not care about the LSB anyway and the X ; values are going to be sar'd by atleast 5 after masking so we are okay. ; mov ebx,[LrX0] ; ebx = rX0 + fpu_junk mov edx,[LrX1] ; edx = rX1 + fpu_junk ; ; Need to generate regions for X0+1, Y0+1, X1, Y1 ; Always enabled since it is required for offset correction and ; no offset correct cmp ebx, DWORD PTR [LrX1] ; Need to add 1 to LrX0 if carry set. adc ebx,0 ; mov edi,0003ffffeh ; edi = significant bits mask mov eax,5 ; eax = likely shift factor and ebx,edi ; ebx = rX0 and edx,edi ; edx = rX1 sar ebx,5 ; ebx >>= 5 (ShiftRegX is 5 or 6) sub eax,_gPDC[ShiftRegX] ; Flags = eax = 5 - gPDC.ShiftRegX mov ecx,[LrY1] ; ecx = rY1 + fpu_junk mov eax,[LrY0] ; eax = rY0 je @F ; If ShiftRegX == 5 carry on sar ebx,1 ; Extra shift of 1 for ebx sar edx,1 ; Extra shift of 1 for edx @@: sar edx,5 ; edx >>= 5 (ShiftRegX is 5 or 6) ; ; Need to generate regions for X0+1, Y0+1, X1, Y1 ; Always enabled since it is required for offset correction and ; no offset correct cmp eax, ecx ; Need to add 1 to LrY0 if carry set. adc eax,0 ; eax++ if carry set. ; and ecx,edi ; ecx = rY1 and edi,eax ; edi = rY0 mov eax,_gPDC[Ctx][bDoClipping]; eax = bDoClipping or eax,eax ; Flags = eax | eax je TCL_NoLimits ; if ( !bDoClipping ) TCL_NoLimits ; ; Apply [First/Last][X/Y]Region if required, likely case is for no clipping ; to occur. ; mov eax,_gPDC[Ctx][FirstXRegion] ; eax = FirstXRegion mov ebp,_gPDC[Ctx][LastXRegion] ; ebp = LastXRegion cmp ebx,eax ; Flags = rX0 - FirstXReg jge @F ; If rX0 >= FirstXReg skip clip cmp edx,eax ; Flags = rX1 - FirstXReg jl TCL_ShortCut1 ; If rX1 < FirstXReg skip poly mov ebx,eax ; rX0 = FirstXReg (very rare) @@: cmp edx,ebp ; Flags = rX1 - LastXReg jle @F ; If rX1 <= LastXReg skip clip cmp ebx,ebp ; Flags = rX0 - LastXReg jg TCL_ShortCut1 ; If rX1 > LastXReg skip poly mov edx,ebp ; rX1 = LastXReg (very rare) @@: mov eax,_gPDC[Ctx][FirstYRegion] ; eax = FirstYRegion mov ebp,_gPDC[Ctx][LastYRegion] ; ebp = LastYRegion cmp edi,eax ; Flags = rY0 - FirstYReg jge @F ; If rY0 >= FirstYReg skip clip cmp ecx,eax ; Flags = rY1 - FirstYReg jl TCL_ShortCut1 ; If rY1 < FirstYReg skip poly mov edi,eax ; rY0 = FirstYReg (very rare) and edi,0fffffffeh ; ensure LSB of Y value stays zero @@: cmp ecx,ebp ; Flags = rY1 - LastYReg jle @F ; If rY1 <= LastYReg skip clip cmp edi,ebp ; Flags = rY0 - LastYReg jg TCL_ShortCut1 ; If rY1 > LastYReg skip poly mov ecx,ebp ; rY1 = LastYReg (very rare) and ecx,0fffffffeh ; ensure LSB of Y value stays zero @@: ; ; Region bounding box now established in ebx-edx,edi-ecx ; TCL_NoLimits: shl ebx,5 ; ebx <<= 5 (X0) mov eax,MASK_TRANS ; eax = MASK_TRANS mov ebp,[LuCurrentType] ; ebp = uCurrentType add ebx,edx ; ebx = (X0<<5)+X1 and eax,_gPDC[TSPControlWord]; eax = gPDC.TSPControlWord & MASK_TRANS je @F ; If not transparent @@ ; ; Transparent case is not ideal, but not a performance issue as such ; mov eax,ebp ; eax = uCurrentType and eax,1 ; eax &= 1 mov edx,uTCLDoneFirst[eax*4]; AGI 1: edx = uTCLDoneFirst[eax] test edx,edx ; Flags = edx & edx jne @F ; If already set skip below or ebp,2 ; ebp |= PACKED_TRANSTYPE_SETMASK mov DWORD PTR uTCLDoneFirst[eax*4],1; uTCLDoneFirst[eax] = 1 ; ; Back to the main track, ebp = uCurrentType, bounding box = ebx-edx,edi-ecx ; (LSBs of Y values have already been masked off earlier). @@: shl ebp,29 ; ebp = uCurrentType<<29 mov eax,[LuDefaultType] ; eax = uDefaultType shl edi,18 ; edi <<= (19-1) (Y0) mov [LuCurrentType],eax ; uCurrentType = eax mov eax,DWORD PTR [PpAddfn] ; eax = pAddfn add ebp,edi ; ebp += edi (Y0) shl ecx,9 ; ecx <<= (9-1) (Y1) add ebp,ebx ; ebp += ebx = (X0<<5) + X1 add ebp,ecx ; ebp += ecx (Y1) or eax,eax ; Flags = pAddFn | pAddFn mov [esi][ITreg],ebp ; pTri->reg = ebp mov ebp, DWORD PTR _gpMatCurrent fstp DWORD PTR [esi][f1OverDet]; pTri->f1OverDet= (late as pos.) mov DWORD PTR [esp],esi ; Pass pTri as only para je @F ; If no pAddFn skip call call [PpAddFn] ; Call pAddFn @@: add ebp,64 ; gpMatCurrent++ add esi,64 ; pTri++ mov eax,[OFFSET FLAT: _gpTri][PITRI_SIZE*IBUFFERSIZE] mov DWORD PTR _gpMatCurrent, ebp cmp eax,esi ; Flags = gpTri[IBUFFERSIZE]-pTri jne TCL_Loop ; If not at end of buffer TCL_Loop TCL_Done: add esp,Adjust ; Lose locals mov eax,esi ; eax = pTri sub eax,OFFSET FLAT: _gpTri ; eax = pTri - gpTri pop ebx ; AGI 1 cycle with stack adjust shr eax,6 ; eax /= PITRI_SIZE pop ebp ; Recover remaining registers pop esi pop edi ret ALIGN 4 __ProcessTriCoreLite ENDP ;_ProcessTriCoreLite ENDS _TEXT ENDS _DATA1 SEGMENT PARA PUBLIC USE32 'DATA' _2_1_float_13 DD 000000000H,03e000000H ; xf64 _2_1_float_18 DD 03f800000H ; xf32 _2_1_float_18_d DD 000000000H,03ff00000H ; xf32 _float_to_int22 DD 04B400000H ; MAGIC_FLOAT TO INT22 VALUE _DATA1 ENDS _DATA SEGMENT PARA PUBLIC USE32 'DATA' _DATA ENDS ; -- End _ProcessTriCoreLite EXTRN __fltused:BYTE END
35.39313
137
0.661167
64dcce621b15fcc2fc06b3cf85092885ad6e6cf7
6,421
asm
Assembly
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48.log_21829_249.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48.log_21829_249.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48.log_21829_249.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xc8f4, %rcx clflush (%rcx) nop nop nop nop nop cmp $17824, %rbp mov (%rcx), %r9d inc %r12 lea addresses_D_ht+0x17890, %rsi lea addresses_normal_ht+0xd89d, %rdi nop nop nop nop inc %r11 mov $15, %rcx rep movsb nop cmp $60809, %rdi lea addresses_WC_ht+0x1a2e4, %rsi lea addresses_normal_ht+0x1cf24, %rdi nop nop nop nop nop xor %r14, %r14 mov $102, %rcx rep movsl nop cmp $56892, %rsi lea addresses_normal_ht+0x1c624, %rcx add $17316, %r11 vmovups (%rcx), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %r9 nop nop nop nop and $56676, %r14 lea addresses_D_ht+0x1d564, %rbp clflush (%rbp) nop add %rdi, %rdi mov (%rbp), %r11d cmp $31196, %rsi lea addresses_WT_ht+0xac24, %r11 nop cmp $10755, %rcx movb $0x61, (%r11) nop nop nop nop nop add $21790, %r9 lea addresses_WC_ht+0x14, %rcx cmp $26350, %rbp mov $0x6162636465666768, %r11 movq %r11, %xmm2 vmovups %ymm2, (%rcx) nop nop nop nop nop cmp %rdi, %rdi lea addresses_UC_ht+0x17324, %rcx nop nop nop dec %r9 movw $0x6162, (%rcx) nop nop nop nop add %rcx, %rcx lea addresses_D_ht+0x8da4, %rsi cmp %r12, %r12 mov (%rsi), %r9w nop nop nop nop xor %rbp, %rbp lea addresses_A_ht+0x81c4, %rsi lea addresses_normal_ht+0x1ad54, %rdi and $41040, %r14 mov $125, %rcx rep movsb nop nop cmp %r12, %r12 pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r15 push %r8 push %rbx // Faulty Load lea addresses_WT+0x4c24, %rbx cmp $30186, %r8 mov (%rbx), %r15 lea oracles, %r10 and $0xff, %r15 shlq $12, %r15 mov (%r10,%r15,1), %r15 pop %rbx pop %r8 pop %r15 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 9, 'size': 32, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 4, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 7, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 3, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 5, 'size': 2, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}} {'39': 13, '00': 21816} 00 00 00 39 39 39 39 39 39 39 39 39 39 39 39 39 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
39.881988
2,999
0.657997
e20b60993cdad546790ac6638802049dacafe375
528
asm
Assembly
libsrc/oz/ozmisc/ozquiet.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/oz/ozmisc/ozquiet.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/oz/ozmisc/ozquiet.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; void ozquiet() ; ; ------ ; $Id: ozquiet.asm,v 1.3 2016/06/28 14:48:17 dom Exp $ ; SECTION code_clib PUBLIC ozquiet PUBLIC _ozquiet EXTERN ozclick EXTERN ozclick_setting ozquiet: _ozquiet: xor a out (16h),a ; turn off note ld a,(ozclick_setting) or a ret z ld hl,1 push hl call ozclick pop hl ret
15.085714
54
0.568182
4666a71c4b2d9b29cce0fe33764c6678f95de64b
6,969
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_2942.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_2942.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_2942.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x19313, %r9 clflush (%r9) nop nop nop nop nop xor %rdi, %rdi mov (%r9), %r11d nop dec %r12 lea addresses_WC_ht+0x6c75, %rdi clflush (%rdi) nop nop sub %r12, %r12 movb (%rdi), %r10b nop nop nop nop inc %rdi lea addresses_UC_ht+0x3723, %rsi lea addresses_A_ht+0x17023, %rdi clflush (%rsi) nop nop add %r12, %r12 mov $9, %rcx rep movsb nop nop dec %r11 lea addresses_A_ht+0x9161, %rdi nop nop cmp %rsi, %rsi movb $0x61, (%rdi) nop nop and $18902, %r10 lea addresses_UC_ht+0x18ada, %rsi lea addresses_WT_ht+0x1a163, %rdi nop nop nop sub $63380, %rbx mov $121, %rcx rep movsl cmp %rsi, %rsi lea addresses_A_ht+0x3333, %r9 nop nop add $64839, %r12 mov $0x6162636465666768, %rcx movq %rcx, %xmm7 movups %xmm7, (%r9) nop nop nop nop nop and $3470, %r12 lea addresses_normal_ht+0x1b05b, %rbx nop sub %r10, %r10 movups (%rbx), %xmm0 vpextrq $0, %xmm0, %r9 nop nop dec %rsi lea addresses_A_ht+0xd3b3, %rsi lea addresses_A_ht+0x5910, %rdi nop nop nop nop dec %r9 mov $68, %rcx rep movsq xor $60231, %r9 lea addresses_WC_ht+0x1de45, %rbx nop nop nop nop cmp $18834, %r11 movb $0x61, (%rbx) nop nop nop nop nop sub $14760, %rsi lea addresses_WC_ht+0x4ca3, %rcx nop nop nop nop nop add %r12, %r12 mov (%rcx), %rbx nop nop nop nop nop sub $54416, %r11 pop %rsi pop %rdi pop %rcx pop %rbx pop %r9 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r9 push %rax push %rbp push %rcx push %rdx push %rsi // Store lea addresses_WT+0x15a23, %r9 nop cmp $31066, %rax mov $0x5152535455565758, %rdx movq %rdx, (%r9) nop nop nop nop nop inc %rdx // Load lea addresses_A+0x19f23, %rdx nop nop nop nop nop and %rsi, %rsi mov (%rdx), %r9w nop nop sub %r10, %r10 // Faulty Load lea addresses_normal+0x6f23, %rsi nop nop nop sub %r9, %r9 movaps (%rsi), %xmm4 vpextrq $0, %xmm4, %r10 lea oracles, %r9 and $0xff, %r10 shlq $12, %r10 mov (%r9,%r10,1), %r10 pop %rsi pop %rdx pop %rcx pop %rbp pop %rax pop %r9 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_normal', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_WT', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A', 'same': False, 'size': 2, 'congruent': 11, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_normal', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_UC_ht', 'same': True, 'size': 4, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': True}, 'OP': 'REPM'} {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 1, 'congruent': 1, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_A_ht', 'same': True, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 16, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 8, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
33.504808
2,999
0.655761
8595ed800f43d4e23a0a78195910c53cc7aa040d
1,388
asm
Assembly
programs/oeis/027/A027874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/027/A027874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/027/A027874.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A027874: Minimal degree path length of a tree with n leaves. ; 0,4,9,16,23,30,38,46,54,64,74,84,94,104,114,124,134,144,155,166,177,188,199,210,221,232,243,256,269,282,295,308,321,334,347,360,373,386,399,412,425,438,451,464,477,490,503,516,529,542,555,568,581,594,608,622,636,650,664,678,692,706,720,734,748,762,776,790,804,818,832,846,860,874,888,902,916,930,944,958,972,988,1004,1020,1036,1052,1068,1084,1100,1116,1132,1148,1164,1180,1196,1212,1228,1244,1260,1276,1292,1308,1324,1340,1356,1372,1388,1404,1420,1436,1452,1468,1484,1500,1516,1532,1548,1564,1580,1596,1612,1628,1644,1660,1676,1692,1708,1724,1740,1756,1772,1788,1804,1820,1836,1852,1868,1884,1900,1916,1932,1948,1964,1980,1996,2012,2028,2044,2060,2076,2092,2108,2124,2140,2156,2172,2188,2204,2220,2236,2252,2268,2285,2302,2319,2336,2353,2370,2387,2404,2421,2438,2455,2472,2489,2506,2523,2540,2557,2574,2591,2608,2625,2642,2659,2676,2693,2710,2727,2744,2761,2778,2795,2812,2829,2846,2863,2880,2897,2914,2931,2948,2965,2982,2999,3016,3033,3050,3067,3084,3101,3118,3135,3152,3169,3186,3203,3220,3237,3254,3271,3288,3305,3322,3339,3356,3373,3390,3407,3424,3441,3458,3475,3492,3509,3526,3543,3560,3577,3594,3611,3628,3645,3664,3683,3702,3721,3740,3759,3778 mov $4,$0 mov $6,$0 lpb $6,1 clr $0,4 mov $0,$4 sub $6,1 sub $0,$6 lpb $0,1 add $1,3 mov $3,$0 div $0,3 lpe add $3,$1 add $5,$3 lpe mov $1,$5
69.4
1,153
0.739193
31b4e071868478ff687febf559d2db3cfba899ce
2,445
asm
Assembly
248b/plasma3/plasma.asm
42Bastian/lynx_hacking
a40edd223a4759d64f20a940ef5eb826a0fdd02d
[ "Apache-2.0" ]
12
2020-07-05T16:47:54.000Z
2022-02-12T21:21:16.000Z
248b/plasma3/plasma.asm
42Bastian/lynx_hacking
a40edd223a4759d64f20a940ef5eb826a0fdd02d
[ "Apache-2.0" ]
null
null
null
248b/plasma3/plasma.asm
42Bastian/lynx_hacking
a40edd223a4759d64f20a940ef5eb826a0fdd02d
[ "Apache-2.0" ]
1
2021-01-18T06:47:25.000Z
2021-01-18T06:47:25.000Z
*************** * Plasma 3 * 25 Bytes free! **************** include <includes/hardware.inc> * macros include <macros/help.mac> * * vars only for this program * BEGIN_ZP screen ds 2 x ds 1 y ds 1 temp ds 2 pal_off ds 1 END_ZP ;;; ROM sets this address screen0 equ $2000 IFD LNX ;; BLL loader is at $200, so move up run $200 ELSE run $400 ENDIF IFND LNX ;; Setup needed if loaded via BLL/Handy lda #8 sta $fff9 cli stz screen stz $fd94 lda #$20 sta $fd95 ENDIF Start:: lda #USE_AKKU ; == $40 sta SPRSYS lsr sta screen+1 //-> stz pal_off jsr gen_pal lda #102 sta y ldy #0 .ly lda #160 sta x .lx stz MATHE_AKKU lda x //-> lsr //-> jsr get_sin tax jsr mulAX lda y //-> jsr get_cos tax jsr mulAX lda x ldx y jsr mulAX lda x sbc #80 jsr get_sin pha lda y sbc #51 jsr get_cos plx jsr mulAX lda MATHE_AKKU lsr lsr ;;;------------------------------ ;;; plot ;;;------------------------------ // A = color sta temp asl asl asl asl sta temp+1 lda x lsr lda (screen),y bcs .lownibble and #$0f ora temp+1 bra .3 .lownibble: and #$f0 ora temp .3 sta (screen),y bcc .1 iny bne .1 inc screen+1 .1 dec x bne .lx dec y bne .ly ;;;------------------------------ endless:: ;;;------------------------------ ldx #1 .vbl jsr waitVBL dex bpl .vbl .2 jsr waitVBL inc pal_off jsr gen_pal bra endless ;;;------------------------------ mulAX:: ;;;------------------------------ sta MATHE_C ; A = C * E stx MATHE_E ; AKKU = AKKU + A stz MATHE_E+1 //->.waitm1 //-> lda SPRSYS //-> bmi .waitm1 rts ;;;------------------------------ waitVBL:: ;;;------------------------------ lda #102 .1 cmp $fd0a bne .1 .2 cmp $fd0a beq .2 rts ;;;------------------------------ gen_pal:: ;;;------------------------------ ldy #15 .1 tya clc adc pal_off asl jsr get_sin //-> lsr sta $fda0,y tya adc pal_off asl jsr get_sin sta temp tya jsr get_cos asl asl asl asl ora temp sta $fdb0,y dey bpl .1 ;;-> rts ; falling thru does not "hurt" get_cos:: clc adc #8 get_sin:: and #$1f lsr tax lda sin,x bcs .99 lsr lsr lsr lsr .99 and #$f clc rts sin: dc.b $89,$ab,$cd,$ee dc.b $fe,$ed,$cb,$a9 dc.b $76,$54,$32,$11 dc.b $11,$12,$34,$56 **************** End: size set End-Start free set 249-size echo "Size:%dsize Free:%dfree" ; fill remaining space IF free > 0 REPT free dc.b $42 ; unused space shall not be 0! ENDR ENDIF
11.013514
41
0.526789
e1d4c5247a586fff6a112a562dd7ed39dad2cbb6
2,132
asm
Assembly
libsrc/_DEVELOPMENT/input/zx/z80/in_key_translation_table.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/input/zx/z80/in_key_translation_table.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/input/zx/z80/in_key_translation_table.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; This table translates key presses into ascii codes. ; An effort has been made for this key translation table ; to emulate a PC keyboard with the 'CTRL' key represented ; by CAPS SHIFT + SYM SHIFT. SECTION rodata_clib SECTION rodata_input PUBLIC in_key_translation_table in_key_translation_table: ; unshifted defb 255,'z','x','c','v' ; CAPS SHIFT, Z, X, C, V defb 'a','s','d','f','g' ; A, S, D, F, G defb 'q','w','e','r','t' ; Q, W, E, R, T defb '1','2','3','4','5' ; 1, 2, 3, 4, 5 defb '0','9','8','7','6' ; 0, 9, 8, 7, 6 defb 'p','o','i','u','y' ; P, O, I, U, Y defb 13,'l','k','j','h' ; ENTER, L, K, J, H defb ' ',255,'m','n','b' ; SPACE, SYM SHIFT, M, N, B ; the following are CAPS SHIFTed defb 255,'Z','X','C','V' ; CAPS SHIFT, Z, X, C, V defb 'A','S','D','F','G' ; A, S, D, F, G defb 'Q','W','E','R','T' ; Q, W, E, R, T defb 7,6,128,129,8 ; 1, 2, 3, 4, 5 defb 12,8,9,11,10 ; 0, 9, 8, 7, 6 defb 'P','O','I','U','Y' ; P, O, I, U, Y defb 13,'L','K','J','H' ; ENTER, L, K, J, H defb ' ',255,'M','N','B' ; SPACE, SYM SHIFT, M, N, B ; the following are SYM SHIFTed defb 255,':',96,'?','/' ; CAPS SHIFT, Z, X, C, V defb '~','|',92,'{','}' ; A, S, D, F, G defb 131,132,133,'<','>' ; Q, W, E, R, T defb '!','@','#','$','%' ; 1, 2, 3, 4, 5 defb '_',')','(',39,'&' ; 0, 9, 8, 7, 6 defb 34,';',130,']','[' ; P, O, I, U, Y defb 13,'=','+','-','^' ; ENTER, L, K, J, H defb ' ',255,'.',',','*' ; SPACE, SYM SHIFT, M, N, B ; the following are CAPS SHIFTed and SYM SHIFTed ("CTRL" key) defb 255,26,24,3,22 ; CAPS SHIFT, Z, X, C, V defb 1,19,4,6,7 ; A, S, D, F, G defb 17,23,5,18,20 ; Q, W, E, R, T defb 27,28,29,30,31 ; 1, 2, 3, 4, 5 defb 127,255,134,'`',135 ; 0, 9, 8, 7, 6 defb 16,15,9,21,25 ; P, O, I, U, Y defb 13,12,11,10,8 ; ENTER, L, K, J, H defb ' ',255,13,14,2 ; SPACE, SYM SHIFT, M, N, B
37.403509
64
0.434334
8dd0a33628cbd43f2a71c4feed358adb047da308
4,805
asm
Assembly
assembler/tests/t_78k0/t_78k0.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
1
2022-01-17T16:06:15.000Z
2022-01-17T16:06:15.000Z
assembler/tests/t_78k0/t_78k0.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
assembler/tests/t_78k0/t_78k0.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
cpu 78070 page 0 relaxed on include reg78k0.inc saddr equ 0fe80h sfr equ 0ff90h brk ret retb reti nop ei di halt stop adjba adjbs mov d,#20 mov saddr,#30 mov sfr,#40 mov a,c mov e,a mov a,saddr mov saddr,a mov a,sfr mov sfr,a mov a,!saddr mov !saddr,r1 mov psw,#40h mov a,psw mov psw,a mov a,[de] mov [de],a mov a,[hl] mov [hl],a mov a,[hl+10] mov [hl+10],a mov a,[hl+b] mov [hl+b],a mov a,[hl+c] mov [hl+c],a xch a,d xch l,a xch a,saddr xch a,sfr xch a,!saddr xch a,[de] xch a,[hl] xch a,[hl+10] xch a,[hl+b] xch a,[hl+c] movw de,#1000 movw saddr,#2000 movw sfr,#3000 movw ax,saddr movw saddr,ax movw ax,sfr movw sfr,ax movw ax,de movw hl,ax movw ax,!saddr movw !saddr,ax xchw ax,de xchw hl,ax add a,#10 add saddr,#20 add a,c add h,a add a,saddr add a,!saddr add a,[hl] add a,[hl+10] add a,[hl+b] add a,[hl+c] addc a,#10 addc saddr,#20 addc a,c addc h,a addc a,saddr addc a,!saddr addc a,[hl] addc a,[hl+10] addc a,[hl+b] addc a,[hl+c] sub a,#10 sub saddr,#20 sub a,c sub h,a sub a,saddr sub a,!saddr sub a,[hl] sub a,[hl+10] sub a,[hl+b] sub a,[hl+c] subc a,#10 subc saddr,#20 subc a,c subc h,a subc a,saddr subc a,!saddr subc a,[hl] subc a,[hl+10] subc a,[hl+b] subc a,[hl+c] and a,#10 and saddr,#20 and a,c and h,a and a,saddr and a,!saddr and a,[hl] and a,[hl+10] and a,[hl+b] and a,[hl+c] or a,#10 or saddr,#20 or a,c or h,a or a,saddr or a,!saddr or a,[hl] or a,[hl+10] or a,[hl+b] or a,[hl+c] xor a,#10 xor saddr,#20 xor a,c xor h,a xor a,saddr xor a,!saddr xor a,[hl] xor a,[hl+10] xor a,[hl+b] xor a,[hl+c] cmp a,#10 cmp saddr,#20 cmp a,c cmp h,a cmp a,saddr cmp a,!saddr cmp a,[hl] cmp a,[hl+10] cmp a,[hl+b] cmp a,[hl+c] addw ax,#1234h subw rp0,#2345h cmpw ax,#3456h mulu x divuw c inc d inc saddr dec e dec saddr incw hl decw de ror a,1 rol a,1 rorc a,1 rolc a,1 ror4 [hl] rol4 [hl] mov1 cy,saddr.3 mov1 cy,sfr.4 mov1 cy,a.5 mov1 cy,psw.6 mov1 cy,[hl].7 mov1 saddr.3,cy mov1 sfr.4,cy mov1 a.5,cy mov1 psw.6,cy mov1 [hl].7,cy and1 cy,saddr.3 and1 cy,sfr.4 and1 cy,a.5 and1 cy,psw.6 and1 cy,[hl].7 or1 cy,saddr.3 or1 cy,sfr.4 or1 cy,a.5 or1 cy,psw.6 or1 cy,[hl].7 xor1 cy,saddr.3 xor1 cy,sfr.4 xor1 cy,a.5 xor1 cy,psw.6 xor1 cy,[hl].7 set1 saddr.3 set1 sfr.4 set1 a.5 set1 psw.6 set1 [hl].7 clr1 saddr.3 clr1 sfr.4 clr1 a.5 clr1 psw.6 clr1 [hl].7 set1 cy clr1 cy not1 cy call 1234h callf 234h callt [12h] push psw push de pop psw pop hl movw sp,#1234h movw sp,ax movw ax,sp br ax br rp0 br 1234h br pc br $pc br !pc bc pc bnc pc bz pc bnz pc bt saddr.3,pc bt sfr.4,pc bt a.5,pc bt psw.6,pc bt [hl].7,pc bf saddr.3,pc bf sfr.4,pc bf a.5,pc bf psw.6,pc bf [hl].7,pc btclr saddr.3,pc btclr sfr.4,pc btclr a.5,pc btclr psw.6,pc btclr [hl].7,pc dbnz b,pc dbnz c,pc dbnz saddr,pc sel rb0 sel rb1 sel rb2 sel rb3 db 1,2,3 dw 1,2,3 dd 1,2,3 dd 1.0,2.0,3.0 dq 1.0,2.0,3.0 dt 1.0,2.0,3.0 db 10 dup (?) db 0 end
16.455479
27
0.389178
5cba8d5b5daa379a48983ded7398bce6d5aa252c
288
asm
Assembly
libsrc/zx81/basic/zx_getstr.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/zx81/basic/zx_getstr.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/zx81/basic/zx_getstr.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; int zx_getstr(char variable, char *value) ; CALLER linkage for function pointers PUBLIC zx_getstr EXTERN zx_getstr_callee EXTERN ASMDISP_ZX_GETSTR_CALLEE .zx_getstr pop bc pop hl pop de push de push hl push bc jp zx_getstr_callee + ASMDISP_ZX_GETSTR_CALLEE
15.157895
49
0.75
7841d39838bd52e1e827b3806c49b9d102ec8c15
64,225
asm
Assembly
tmp1/c55x-sim2/foo/Debug/ezdsp5535_uart.asm
jwestmoreland/eZdsp-DBG-sim
f6eacd75d4f928dec9c751545e9e919d052e4ade
[ "MIT" ]
1
2020-08-27T11:31:13.000Z
2020-08-27T11:31:13.000Z
tmp1/c55x-sim2/foo/Debug/ezdsp5535_uart.asm
jwestmoreland/eZdsp-DBG-sim
f6eacd75d4f928dec9c751545e9e919d052e4ade
[ "MIT" ]
null
null
null
tmp1/c55x-sim2/foo/Debug/ezdsp5535_uart.asm
jwestmoreland/eZdsp-DBG-sim
f6eacd75d4f928dec9c751545e9e919d052e4ade
[ "MIT" ]
null
null
null
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.4.1 * ;* Date/Time created: Sat Oct 06 06:37:21 2018 * ;******************************************************************************* .compiler_opts --hll_source=on --mem_model:code=flat --mem_model:data=large --object_format=coff --silicon_core_3_3 --symdebug:dwarf .mmregs .cpl_on .arms_on .c54cm_off .asg AR6, FP .asg XAR6, XFP .asg DPH, MDP .model call=c55_std .model mem=large .noremark 5002 ; code respects overwrite rules ;******************************************************************************* ;* GLOBAL FILE PARAMETERS * ;* * ;* Architecture : TMS320C55x * ;* Optimizing for : Speed * ;* Memory : Large Model (23-Bit Data Pointers) * ;* Calls : Normal Library ASM calls * ;* Debug Info : Standard TI Debug Information * ;******************************************************************************* $C$DW$CU .dwtag DW_TAG_compile_unit .dwattr $C$DW$CU, DW_AT_name("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$CU, DW_AT_producer("TMS320C55x C/C++ Codegen PC v4.4.1 Copyright (c) 1996-2012 Texas Instruments Incorporated") .dwattr $C$DW$CU, DW_AT_TI_version(0x01) .dwattr $C$DW$CU, DW_AT_comp_dir("F:\eZdsp_DBG\tmp1\c55x-sim2\foo\Debug") $C$DW$1 .dwtag DW_TAG_subprogram, DW_AT_name("UART_init") .dwattr $C$DW$1, DW_AT_TI_symbol_name("_UART_init") .dwattr $C$DW$1, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$1, DW_AT_declaration .dwattr $C$DW$1, DW_AT_external $C$DW$2 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$2, DW_AT_type(*$C$DW$T$44) $C$DW$3 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$3, DW_AT_type(*$C$DW$T$38) $C$DW$4 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$4, DW_AT_type(*$C$DW$T$37) .dwendtag $C$DW$1 $C$DW$5 .dwtag DW_TAG_subprogram, DW_AT_name("UART_config") .dwattr $C$DW$5, DW_AT_TI_symbol_name("_UART_config") .dwattr $C$DW$5, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$5, DW_AT_declaration .dwattr $C$DW$5, DW_AT_external $C$DW$6 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$6, DW_AT_type(*$C$DW$T$45) $C$DW$7 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$7, DW_AT_type(*$C$DW$T$42) .dwendtag $C$DW$5 $C$DW$8 .dwtag DW_TAG_subprogram, DW_AT_name("UART_reset") .dwattr $C$DW$8, DW_AT_TI_symbol_name("_UART_reset") .dwattr $C$DW$8, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$8, DW_AT_declaration .dwattr $C$DW$8, DW_AT_external $C$DW$9 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$9, DW_AT_type(*$C$DW$T$45) .dwendtag $C$DW$8 $C$DW$10 .dwtag DW_TAG_subprogram, DW_AT_name("UART_resetOff") .dwattr $C$DW$10, DW_AT_TI_symbol_name("_UART_resetOff") .dwattr $C$DW$10, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$10, DW_AT_declaration .dwattr $C$DW$10, DW_AT_external $C$DW$11 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$11, DW_AT_type(*$C$DW$T$45) .dwendtag $C$DW$10 $C$DW$12 .dwtag DW_TAG_subprogram, DW_AT_name("UART_fgetc") .dwattr $C$DW$12, DW_AT_TI_symbol_name("_UART_fgetc") .dwattr $C$DW$12, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$12, DW_AT_declaration .dwattr $C$DW$12, DW_AT_external $C$DW$13 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$13, DW_AT_type(*$C$DW$T$45) $C$DW$14 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$14, DW_AT_type(*$C$DW$T$56) $C$DW$15 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$15, DW_AT_type(*$C$DW$T$38) .dwendtag $C$DW$12 $C$DW$16 .dwtag DW_TAG_subprogram, DW_AT_name("UART_fputc") .dwattr $C$DW$16, DW_AT_TI_symbol_name("_UART_fputc") .dwattr $C$DW$16, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$16, DW_AT_declaration .dwattr $C$DW$16, DW_AT_external $C$DW$17 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$17, DW_AT_type(*$C$DW$T$45) $C$DW$18 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$18, DW_AT_type(*$C$DW$T$59) $C$DW$19 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$19, DW_AT_type(*$C$DW$T$38) .dwendtag $C$DW$16 .global _uartObj .bss _uartObj,20,0,2 $C$DW$20 .dwtag DW_TAG_variable, DW_AT_name("uartObj") .dwattr $C$DW$20, DW_AT_TI_symbol_name("_uartObj") .dwattr $C$DW$20, DW_AT_location[DW_OP_addr _uartObj] .dwattr $C$DW$20, DW_AT_type(*$C$DW$T$43) .dwattr $C$DW$20, DW_AT_external .global _hUart .bss _hUart,2,0,2 $C$DW$21 .dwtag DW_TAG_variable, DW_AT_name("hUart") .dwattr $C$DW$21, DW_AT_TI_symbol_name("_hUart") .dwattr $C$DW$21, DW_AT_location[DW_OP_addr _hUart] .dwattr $C$DW$21, DW_AT_type(*$C$DW$T$45) .dwattr $C$DW$21, DW_AT_external ; F:\t\cc5p5\ccsv5\tools\compiler\c5500_4.4.1\bin\acp55.exe -@f:\\AppData\\Local\\Temp\\0988013 .sect ".text" .align 4 .global _EZDSP5535_UART_open $C$DW$22 .dwtag DW_TAG_subprogram, DW_AT_name("EZDSP5535_UART_open") .dwattr $C$DW$22, DW_AT_low_pc(_EZDSP5535_UART_open) .dwattr $C$DW$22, DW_AT_high_pc(0x00) .dwattr $C$DW$22, DW_AT_TI_symbol_name("_EZDSP5535_UART_open") .dwattr $C$DW$22, DW_AT_external .dwattr $C$DW$22, DW_AT_type(*$C$DW$T$46) .dwattr $C$DW$22, DW_AT_TI_begin_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$22, DW_AT_TI_begin_line(0x35) .dwattr $C$DW$22, DW_AT_TI_begin_column(0x07) .dwattr $C$DW$22, DW_AT_TI_max_frame_size(0x08) .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 54,column 1,is_stmt,address _EZDSP5535_UART_open .dwfde $C$DW$CIE, _EZDSP5535_UART_open ;******************************************************************************* ;* FUNCTION NAME: EZDSP5535_UART_open * ;* * ;* Function Uses Regs : AC0,AC0,T0,AR0,XAR0,AR1,XAR1,AR3,XAR3,SP,M40,SATA, * ;* SATD,RDM,FRCT,SMUL * ;* Stack Frame : Compact (No Frame Pointer, w/ debug) * ;* Total Frame Size : 8 words * ;* (2 return address/alignment) * ;* (6 local values) * ;* Min System Stack : 1 word * ;******************************************************************************* _EZDSP5535_UART_open: .dwcfi cfa_offset, 1 .dwcfi save_reg_to_mem, 91, -1 AADD #-7, SP .dwcfi cfa_offset, 8 $C$DW$23 .dwtag DW_TAG_variable, DW_AT_name("status") .dwattr $C$DW$23, DW_AT_TI_symbol_name("_status") .dwattr $C$DW$23, DW_AT_type(*$C$DW$T$47) .dwattr $C$DW$23, DW_AT_location[DW_OP_bregx 0x24 0] $C$DW$24 .dwtag DW_TAG_variable, DW_AT_name("Config") .dwattr $C$DW$24, DW_AT_TI_symbol_name("_Config") .dwattr $C$DW$24, DW_AT_type(*$C$DW$T$41) .dwattr $C$DW$24, DW_AT_location[DW_OP_bregx 0x24 1] .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 64,column 5,is_stmt MOV #54, *SP(#1) ; |64| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 65,column 5,is_stmt MOV #0, *SP(#2) ; |65| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 67,column 5,is_stmt MOV #0, *SP(#4) ; |67| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 68,column 5,is_stmt MOV #3, *SP(#3) ; |68| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 72,column 5,is_stmt MOV #0, *SP(#5) ; |72| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 76,column 5,is_stmt AMOV #_uartObj, XAR0 ; |76| MOV #0, AC0 ; |76| $C$DW$25 .dwtag DW_TAG_TI_branch .dwattr $C$DW$25, DW_AT_low_pc(0x00) .dwattr $C$DW$25, DW_AT_name("_UART_init") .dwattr $C$DW$25, DW_AT_TI_call CALL #_UART_init ; |76| || MOV #1, T0 ; call occurs [#_UART_init] ; |76| MOV T0, *SP(#0) ; |76| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 77,column 5,is_stmt AMOV #_uartObj, XAR3 ; |77| MOV XAR3, dbl(*(#_hUart)) .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 78,column 5,is_stmt MOV dbl(*(#_hUart)), XAR0 $C$DW$26 .dwtag DW_TAG_TI_branch .dwattr $C$DW$26, DW_AT_low_pc(0x00) .dwattr $C$DW$26, DW_AT_name("_UART_reset") .dwattr $C$DW$26, DW_AT_TI_call CALL #_UART_reset ; |78| ; call occurs [#_UART_reset] ; |78| OR *SP(#0), T0, AR1 ; |78| MOV AR1, *SP(#0) ; |78| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 79,column 5,is_stmt MOV dbl(*(#_hUart)), XAR0 AMAR *SP(#1), XAR1 $C$DW$27 .dwtag DW_TAG_TI_branch .dwattr $C$DW$27, DW_AT_low_pc(0x00) .dwattr $C$DW$27, DW_AT_name("_UART_config") .dwattr $C$DW$27, DW_AT_TI_call CALL #_UART_config ; |79| ; call occurs [#_UART_config] ; |79| OR *SP(#0), T0, AR1 ; |79| MOV AR1, *SP(#0) ; |79| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 80,column 5,is_stmt MOV dbl(*(#_hUart)), XAR0 $C$DW$28 .dwtag DW_TAG_TI_branch .dwattr $C$DW$28, DW_AT_low_pc(0x00) .dwattr $C$DW$28, DW_AT_name("_UART_resetOff") .dwattr $C$DW$28, DW_AT_TI_call CALL #_UART_resetOff ; |80| ; call occurs [#_UART_resetOff] ; |80| OR *SP(#0), T0, AR1 ; |80| MOV AR1, *SP(#0) ; |80| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 82,column 5,is_stmt AND #0x0fff, *port(#7168) ; |82| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 83,column 5,is_stmt OR #0x1000, *port(#7168) ; |83| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 85,column 2,is_stmt MOV AR1, T0 .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 86,column 1,is_stmt AADD #7, SP .dwcfi cfa_offset, 1 $C$DW$29 .dwtag DW_TAG_TI_branch .dwattr $C$DW$29, DW_AT_low_pc(0x00) .dwattr $C$DW$29, DW_AT_TI_return RET ; return occurs .dwattr $C$DW$22, DW_AT_TI_end_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$22, DW_AT_TI_end_line(0x56) .dwattr $C$DW$22, DW_AT_TI_end_column(0x01) .dwendentry .dwendtag $C$DW$22 .sect ".text" .align 4 .global _EVM5515_UART_putChar $C$DW$30 .dwtag DW_TAG_subprogram, DW_AT_name("EVM5515_UART_putChar") .dwattr $C$DW$30, DW_AT_low_pc(_EVM5515_UART_putChar) .dwattr $C$DW$30, DW_AT_high_pc(0x00) .dwattr $C$DW$30, DW_AT_TI_symbol_name("_EVM5515_UART_putChar") .dwattr $C$DW$30, DW_AT_external .dwattr $C$DW$30, DW_AT_type(*$C$DW$T$46) .dwattr $C$DW$30, DW_AT_TI_begin_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$30, DW_AT_TI_begin_line(0x5d) .dwattr $C$DW$30, DW_AT_TI_begin_column(0x07) .dwattr $C$DW$30, DW_AT_TI_max_frame_size(0x02) .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 94,column 1,is_stmt,address _EVM5515_UART_putChar .dwfde $C$DW$CIE, _EVM5515_UART_putChar $C$DW$31 .dwtag DW_TAG_formal_parameter, DW_AT_name("data") .dwattr $C$DW$31, DW_AT_TI_symbol_name("_data") .dwattr $C$DW$31, DW_AT_type(*$C$DW$T$54) .dwattr $C$DW$31, DW_AT_location[DW_OP_reg12] ;******************************************************************************* ;* FUNCTION NAME: EVM5515_UART_putChar * ;* * ;* Function Uses Regs : AC0,AC0,T0,AR0,XAR0,SP,M40,SATA,SATD,RDM,FRCT,SMUL * ;* Stack Frame : Compact (No Frame Pointer, w/ debug) * ;* Total Frame Size : 2 words * ;* (1 return address/alignment) * ;* (1 local values) * ;* Min System Stack : 1 word * ;******************************************************************************* _EVM5515_UART_putChar: .dwcfi cfa_offset, 1 .dwcfi save_reg_to_mem, 91, -1 AADD #-1, SP .dwcfi cfa_offset, 2 $C$DW$32 .dwtag DW_TAG_variable, DW_AT_name("data") .dwattr $C$DW$32, DW_AT_TI_symbol_name("_data") .dwattr $C$DW$32, DW_AT_type(*$C$DW$T$54) .dwattr $C$DW$32, DW_AT_location[DW_OP_bregx 0x24 0] MOV T0, *SP(#0) ; |94| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 95,column 2,is_stmt MOV dbl(*(#_hUart)), XAR0 $C$DW$33 .dwtag DW_TAG_TI_branch .dwattr $C$DW$33, DW_AT_low_pc(0x00) .dwattr $C$DW$33, DW_AT_name("_UART_fputc") .dwattr $C$DW$33, DW_AT_TI_call CALL #_UART_fputc ; |95| || MOV #0, AC0 ; |95| ; call occurs [#_UART_fputc] ; |95| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 97,column 5,is_stmt MOV #0, T0 .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 98,column 1,is_stmt AADD #1, SP .dwcfi cfa_offset, 1 $C$DW$34 .dwtag DW_TAG_TI_branch .dwattr $C$DW$34, DW_AT_low_pc(0x00) .dwattr $C$DW$34, DW_AT_TI_return RET ; return occurs .dwattr $C$DW$30, DW_AT_TI_end_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$30, DW_AT_TI_end_line(0x62) .dwattr $C$DW$30, DW_AT_TI_end_column(0x01) .dwendentry .dwendtag $C$DW$30 .sect ".text" .align 4 .global _EVM5515_UART_getChar $C$DW$35 .dwtag DW_TAG_subprogram, DW_AT_name("EVM5515_UART_getChar") .dwattr $C$DW$35, DW_AT_low_pc(_EVM5515_UART_getChar) .dwattr $C$DW$35, DW_AT_high_pc(0x00) .dwattr $C$DW$35, DW_AT_TI_symbol_name("_EVM5515_UART_getChar") .dwattr $C$DW$35, DW_AT_external .dwattr $C$DW$35, DW_AT_type(*$C$DW$T$46) .dwattr $C$DW$35, DW_AT_TI_begin_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$35, DW_AT_TI_begin_line(0x69) .dwattr $C$DW$35, DW_AT_TI_begin_column(0x07) .dwattr $C$DW$35, DW_AT_TI_max_frame_size(0x04) .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 106,column 1,is_stmt,address _EVM5515_UART_getChar .dwfde $C$DW$CIE, _EVM5515_UART_getChar $C$DW$36 .dwtag DW_TAG_formal_parameter, DW_AT_name("data") .dwattr $C$DW$36, DW_AT_TI_symbol_name("_data") .dwattr $C$DW$36, DW_AT_type(*$C$DW$T$64) .dwattr $C$DW$36, DW_AT_location[DW_OP_reg17] ;******************************************************************************* ;* FUNCTION NAME: EVM5515_UART_getChar * ;* * ;* Function Uses Regs : AC0,AC0,T0,AR0,XAR0,AR1,XAR1,SP,M40,SATA,SATD,RDM, * ;* FRCT,SMUL * ;* Stack Frame : Compact (No Frame Pointer, w/ debug) * ;* Total Frame Size : 4 words * ;* (2 return address/alignment) * ;* (2 local values) * ;* Min System Stack : 1 word * ;******************************************************************************* _EVM5515_UART_getChar: .dwcfi cfa_offset, 1 .dwcfi save_reg_to_mem, 91, -1 AADD #-3, SP .dwcfi cfa_offset, 4 $C$DW$37 .dwtag DW_TAG_variable, DW_AT_name("data") .dwattr $C$DW$37, DW_AT_TI_symbol_name("_data") .dwattr $C$DW$37, DW_AT_type(*$C$DW$T$64) .dwattr $C$DW$37, DW_AT_location[DW_OP_bregx 0x24 0] MOV XAR0, dbl(*SP(#0)) .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 107,column 2,is_stmt MOV dbl(*(#_hUart)), XAR0 MOV dbl(*SP(#0)), XAR1 $C$DW$38 .dwtag DW_TAG_TI_branch .dwattr $C$DW$38, DW_AT_low_pc(0x00) .dwattr $C$DW$38, DW_AT_name("_UART_fgetc") .dwattr $C$DW$38, DW_AT_TI_call CALL #_UART_fgetc ; |107| || MOV #0, AC0 ; |107| ; call occurs [#_UART_fgetc] ; |107| .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 109,column 5,is_stmt MOV #0, T0 .dwpsn file "../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c",line 110,column 1,is_stmt AADD #3, SP .dwcfi cfa_offset, 1 $C$DW$39 .dwtag DW_TAG_TI_branch .dwattr $C$DW$39, DW_AT_low_pc(0x00) .dwattr $C$DW$39, DW_AT_TI_return RET ; return occurs .dwattr $C$DW$35, DW_AT_TI_end_file("../c5535_bsl_revc/ezdsp5535_v1/lib/bsl/ezdsp5535_uart.c") .dwattr $C$DW$35, DW_AT_TI_end_line(0x6e) .dwattr $C$DW$35, DW_AT_TI_end_column(0x01) .dwendentry .dwendtag $C$DW$35 ;****************************************************************************** ;* UNDEFINED EXTERNAL REFERENCES * ;****************************************************************************** .global _UART_init .global _UART_config .global _UART_reset .global _UART_resetOff .global _UART_fgetc .global _UART_fputc ;******************************************************************************* ;* TYPE INFORMATION * ;******************************************************************************* $C$DW$T$36 .dwtag DW_TAG_enumeration_type .dwattr $C$DW$T$36, DW_AT_byte_size(0x01) $C$DW$40 .dwtag DW_TAG_enumerator, DW_AT_name("UART_POLLED"), DW_AT_const_value(0x00) $C$DW$41 .dwtag DW_TAG_enumerator, DW_AT_name("UART_INTERRUPT"), DW_AT_const_value(0x01) $C$DW$42 .dwtag DW_TAG_enumerator, DW_AT_name("UART_OPMODE_OTHER"), DW_AT_const_value(0x02) .dwendtag $C$DW$T$36 $C$DW$T$37 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartOpmode") .dwattr $C$DW$T$37, DW_AT_type(*$C$DW$T$36) .dwattr $C$DW$T$37, DW_AT_language(DW_LANG_C) $C$DW$T$23 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$23, DW_AT_byte_size(0x19) $C$DW$43 .dwtag DW_TAG_member .dwattr $C$DW$43, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$43, DW_AT_name("THR") .dwattr $C$DW$43, DW_AT_TI_symbol_name("_THR") .dwattr $C$DW$43, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$43, DW_AT_accessibility(DW_ACCESS_public) $C$DW$44 .dwtag DW_TAG_member .dwattr $C$DW$44, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$44, DW_AT_name("RSVD0") .dwattr $C$DW$44, DW_AT_TI_symbol_name("_RSVD0") .dwattr $C$DW$44, DW_AT_data_member_location[DW_OP_plus_uconst 0x1] .dwattr $C$DW$44, DW_AT_accessibility(DW_ACCESS_public) $C$DW$45 .dwtag DW_TAG_member .dwattr $C$DW$45, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$45, DW_AT_name("IER") .dwattr $C$DW$45, DW_AT_TI_symbol_name("_IER") .dwattr $C$DW$45, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$45, DW_AT_accessibility(DW_ACCESS_public) $C$DW$46 .dwtag DW_TAG_member .dwattr $C$DW$46, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$46, DW_AT_name("RSVD1") .dwattr $C$DW$46, DW_AT_TI_symbol_name("_RSVD1") .dwattr $C$DW$46, DW_AT_data_member_location[DW_OP_plus_uconst 0x3] .dwattr $C$DW$46, DW_AT_accessibility(DW_ACCESS_public) $C$DW$47 .dwtag DW_TAG_member .dwattr $C$DW$47, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$47, DW_AT_name("FCR") .dwattr $C$DW$47, DW_AT_TI_symbol_name("_FCR") .dwattr $C$DW$47, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$47, DW_AT_accessibility(DW_ACCESS_public) $C$DW$48 .dwtag DW_TAG_member .dwattr $C$DW$48, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$48, DW_AT_name("RSVD2") .dwattr $C$DW$48, DW_AT_TI_symbol_name("_RSVD2") .dwattr $C$DW$48, DW_AT_data_member_location[DW_OP_plus_uconst 0x5] .dwattr $C$DW$48, DW_AT_accessibility(DW_ACCESS_public) $C$DW$49 .dwtag DW_TAG_member .dwattr $C$DW$49, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$49, DW_AT_name("LCR") .dwattr $C$DW$49, DW_AT_TI_symbol_name("_LCR") .dwattr $C$DW$49, DW_AT_data_member_location[DW_OP_plus_uconst 0x6] .dwattr $C$DW$49, DW_AT_accessibility(DW_ACCESS_public) $C$DW$50 .dwtag DW_TAG_member .dwattr $C$DW$50, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$50, DW_AT_name("RSVD3") .dwattr $C$DW$50, DW_AT_TI_symbol_name("_RSVD3") .dwattr $C$DW$50, DW_AT_data_member_location[DW_OP_plus_uconst 0x7] .dwattr $C$DW$50, DW_AT_accessibility(DW_ACCESS_public) $C$DW$51 .dwtag DW_TAG_member .dwattr $C$DW$51, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$51, DW_AT_name("MCR") .dwattr $C$DW$51, DW_AT_TI_symbol_name("_MCR") .dwattr $C$DW$51, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$51, DW_AT_accessibility(DW_ACCESS_public) $C$DW$52 .dwtag DW_TAG_member .dwattr $C$DW$52, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$52, DW_AT_name("RSVD4") .dwattr $C$DW$52, DW_AT_TI_symbol_name("_RSVD4") .dwattr $C$DW$52, DW_AT_data_member_location[DW_OP_plus_uconst 0x9] .dwattr $C$DW$52, DW_AT_accessibility(DW_ACCESS_public) $C$DW$53 .dwtag DW_TAG_member .dwattr $C$DW$53, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$53, DW_AT_name("LSR") .dwattr $C$DW$53, DW_AT_TI_symbol_name("_LSR") .dwattr $C$DW$53, DW_AT_data_member_location[DW_OP_plus_uconst 0xa] .dwattr $C$DW$53, DW_AT_accessibility(DW_ACCESS_public) $C$DW$54 .dwtag DW_TAG_member .dwattr $C$DW$54, DW_AT_type(*$C$DW$T$21) .dwattr $C$DW$54, DW_AT_name("RSVD5") .dwattr $C$DW$54, DW_AT_TI_symbol_name("_RSVD5") .dwattr $C$DW$54, DW_AT_data_member_location[DW_OP_plus_uconst 0xb] .dwattr $C$DW$54, DW_AT_accessibility(DW_ACCESS_public) $C$DW$55 .dwtag DW_TAG_member .dwattr $C$DW$55, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$55, DW_AT_name("SCR") .dwattr $C$DW$55, DW_AT_TI_symbol_name("_SCR") .dwattr $C$DW$55, DW_AT_data_member_location[DW_OP_plus_uconst 0xe] .dwattr $C$DW$55, DW_AT_accessibility(DW_ACCESS_public) $C$DW$56 .dwtag DW_TAG_member .dwattr $C$DW$56, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$56, DW_AT_name("RSVD6") .dwattr $C$DW$56, DW_AT_TI_symbol_name("_RSVD6") .dwattr $C$DW$56, DW_AT_data_member_location[DW_OP_plus_uconst 0xf] .dwattr $C$DW$56, DW_AT_accessibility(DW_ACCESS_public) $C$DW$57 .dwtag DW_TAG_member .dwattr $C$DW$57, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$57, DW_AT_name("DLL") .dwattr $C$DW$57, DW_AT_TI_symbol_name("_DLL") .dwattr $C$DW$57, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$57, DW_AT_accessibility(DW_ACCESS_public) $C$DW$58 .dwtag DW_TAG_member .dwattr $C$DW$58, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$58, DW_AT_name("RSVD7") .dwattr $C$DW$58, DW_AT_TI_symbol_name("_RSVD7") .dwattr $C$DW$58, DW_AT_data_member_location[DW_OP_plus_uconst 0x11] .dwattr $C$DW$58, DW_AT_accessibility(DW_ACCESS_public) $C$DW$59 .dwtag DW_TAG_member .dwattr $C$DW$59, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$59, DW_AT_name("DLH") .dwattr $C$DW$59, DW_AT_TI_symbol_name("_DLH") .dwattr $C$DW$59, DW_AT_data_member_location[DW_OP_plus_uconst 0x12] .dwattr $C$DW$59, DW_AT_accessibility(DW_ACCESS_public) $C$DW$60 .dwtag DW_TAG_member .dwattr $C$DW$60, DW_AT_type(*$C$DW$T$22) .dwattr $C$DW$60, DW_AT_name("RSVD8") .dwattr $C$DW$60, DW_AT_TI_symbol_name("_RSVD8") .dwattr $C$DW$60, DW_AT_data_member_location[DW_OP_plus_uconst 0x13] .dwattr $C$DW$60, DW_AT_accessibility(DW_ACCESS_public) $C$DW$61 .dwtag DW_TAG_member .dwattr $C$DW$61, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$61, DW_AT_name("PWREMU_MGMT") .dwattr $C$DW$61, DW_AT_TI_symbol_name("_PWREMU_MGMT") .dwattr $C$DW$61, DW_AT_data_member_location[DW_OP_plus_uconst 0x18] .dwattr $C$DW$61, DW_AT_accessibility(DW_ACCESS_public) .dwendtag $C$DW$T$23 $C$DW$T$28 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartRegs") .dwattr $C$DW$T$28, DW_AT_type(*$C$DW$T$23) .dwattr $C$DW$T$28, DW_AT_language(DW_LANG_C) $C$DW$62 .dwtag DW_TAG_TI_far_type .dwattr $C$DW$62, DW_AT_type(*$C$DW$T$28) $C$DW$63 .dwtag DW_TAG_TI_ioport_type .dwattr $C$DW$63, DW_AT_type(*$C$DW$62) $C$DW$T$29 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$29, DW_AT_type(*$C$DW$63) $C$DW$T$30 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$30, DW_AT_type(*$C$DW$T$29) .dwattr $C$DW$T$30, DW_AT_address_class(0x10) $C$DW$T$31 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartRegsOvly") .dwattr $C$DW$T$31, DW_AT_type(*$C$DW$T$30) .dwattr $C$DW$T$31, DW_AT_language(DW_LANG_C) $C$DW$T$26 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$26, DW_AT_byte_size(0x48) $C$DW$64 .dwtag DW_TAG_member .dwattr $C$DW$64, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$64, DW_AT_name("EBSR") .dwattr $C$DW$64, DW_AT_TI_symbol_name("_EBSR") .dwattr $C$DW$64, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$64, DW_AT_accessibility(DW_ACCESS_public) $C$DW$65 .dwtag DW_TAG_member .dwattr $C$DW$65, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$65, DW_AT_name("RSVD0") .dwattr $C$DW$65, DW_AT_TI_symbol_name("_RSVD0") .dwattr $C$DW$65, DW_AT_data_member_location[DW_OP_plus_uconst 0x1] .dwattr $C$DW$65, DW_AT_accessibility(DW_ACCESS_public) $C$DW$66 .dwtag DW_TAG_member .dwattr $C$DW$66, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$66, DW_AT_name("PCGCR1") .dwattr $C$DW$66, DW_AT_TI_symbol_name("_PCGCR1") .dwattr $C$DW$66, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$66, DW_AT_accessibility(DW_ACCESS_public) $C$DW$67 .dwtag DW_TAG_member .dwattr $C$DW$67, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$67, DW_AT_name("PCGCR2") .dwattr $C$DW$67, DW_AT_TI_symbol_name("_PCGCR2") .dwattr $C$DW$67, DW_AT_data_member_location[DW_OP_plus_uconst 0x3] .dwattr $C$DW$67, DW_AT_accessibility(DW_ACCESS_public) $C$DW$68 .dwtag DW_TAG_member .dwattr $C$DW$68, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$68, DW_AT_name("PSRCR") .dwattr $C$DW$68, DW_AT_TI_symbol_name("_PSRCR") .dwattr $C$DW$68, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$68, DW_AT_accessibility(DW_ACCESS_public) $C$DW$69 .dwtag DW_TAG_member .dwattr $C$DW$69, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$69, DW_AT_name("PRCR") .dwattr $C$DW$69, DW_AT_TI_symbol_name("_PRCR") .dwattr $C$DW$69, DW_AT_data_member_location[DW_OP_plus_uconst 0x5] .dwattr $C$DW$69, DW_AT_accessibility(DW_ACCESS_public) $C$DW$70 .dwtag DW_TAG_member .dwattr $C$DW$70, DW_AT_type(*$C$DW$T$24) .dwattr $C$DW$70, DW_AT_name("RSVD1") .dwattr $C$DW$70, DW_AT_TI_symbol_name("_RSVD1") .dwattr $C$DW$70, DW_AT_data_member_location[DW_OP_plus_uconst 0x6] .dwattr $C$DW$70, DW_AT_accessibility(DW_ACCESS_public) $C$DW$71 .dwtag DW_TAG_member .dwattr $C$DW$71, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$71, DW_AT_name("TIAFR") .dwattr $C$DW$71, DW_AT_TI_symbol_name("_TIAFR") .dwattr $C$DW$71, DW_AT_data_member_location[DW_OP_plus_uconst 0x14] .dwattr $C$DW$71, DW_AT_accessibility(DW_ACCESS_public) $C$DW$72 .dwtag DW_TAG_member .dwattr $C$DW$72, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$72, DW_AT_name("RSVD2") .dwattr $C$DW$72, DW_AT_TI_symbol_name("_RSVD2") .dwattr $C$DW$72, DW_AT_data_member_location[DW_OP_plus_uconst 0x15] .dwattr $C$DW$72, DW_AT_accessibility(DW_ACCESS_public) $C$DW$73 .dwtag DW_TAG_member .dwattr $C$DW$73, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$73, DW_AT_name("ODSCR") .dwattr $C$DW$73, DW_AT_TI_symbol_name("_ODSCR") .dwattr $C$DW$73, DW_AT_data_member_location[DW_OP_plus_uconst 0x16] .dwattr $C$DW$73, DW_AT_accessibility(DW_ACCESS_public) $C$DW$74 .dwtag DW_TAG_member .dwattr $C$DW$74, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$74, DW_AT_name("PDINHIBR1") .dwattr $C$DW$74, DW_AT_TI_symbol_name("_PDINHIBR1") .dwattr $C$DW$74, DW_AT_data_member_location[DW_OP_plus_uconst 0x17] .dwattr $C$DW$74, DW_AT_accessibility(DW_ACCESS_public) $C$DW$75 .dwtag DW_TAG_member .dwattr $C$DW$75, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$75, DW_AT_name("PDINHIBR2") .dwattr $C$DW$75, DW_AT_TI_symbol_name("_PDINHIBR2") .dwattr $C$DW$75, DW_AT_data_member_location[DW_OP_plus_uconst 0x18] .dwattr $C$DW$75, DW_AT_accessibility(DW_ACCESS_public) $C$DW$76 .dwtag DW_TAG_member .dwattr $C$DW$76, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$76, DW_AT_name("PDINHIBR3") .dwattr $C$DW$76, DW_AT_TI_symbol_name("_PDINHIBR3") .dwattr $C$DW$76, DW_AT_data_member_location[DW_OP_plus_uconst 0x19] .dwattr $C$DW$76, DW_AT_accessibility(DW_ACCESS_public) $C$DW$77 .dwtag DW_TAG_member .dwattr $C$DW$77, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$77, DW_AT_name("DMA0CESR1") .dwattr $C$DW$77, DW_AT_TI_symbol_name("_DMA0CESR1") .dwattr $C$DW$77, DW_AT_data_member_location[DW_OP_plus_uconst 0x1a] .dwattr $C$DW$77, DW_AT_accessibility(DW_ACCESS_public) $C$DW$78 .dwtag DW_TAG_member .dwattr $C$DW$78, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$78, DW_AT_name("DMA0CESR2") .dwattr $C$DW$78, DW_AT_TI_symbol_name("_DMA0CESR2") .dwattr $C$DW$78, DW_AT_data_member_location[DW_OP_plus_uconst 0x1b] .dwattr $C$DW$78, DW_AT_accessibility(DW_ACCESS_public) $C$DW$79 .dwtag DW_TAG_member .dwattr $C$DW$79, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$79, DW_AT_name("DMA1CESR1") .dwattr $C$DW$79, DW_AT_TI_symbol_name("_DMA1CESR1") .dwattr $C$DW$79, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c] .dwattr $C$DW$79, DW_AT_accessibility(DW_ACCESS_public) $C$DW$80 .dwtag DW_TAG_member .dwattr $C$DW$80, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$80, DW_AT_name("DMA1CESR2") .dwattr $C$DW$80, DW_AT_TI_symbol_name("_DMA1CESR2") .dwattr $C$DW$80, DW_AT_data_member_location[DW_OP_plus_uconst 0x1d] .dwattr $C$DW$80, DW_AT_accessibility(DW_ACCESS_public) $C$DW$81 .dwtag DW_TAG_member .dwattr $C$DW$81, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$81, DW_AT_name("SDRAMCCR") .dwattr $C$DW$81, DW_AT_TI_symbol_name("_SDRAMCCR") .dwattr $C$DW$81, DW_AT_data_member_location[DW_OP_plus_uconst 0x1e] .dwattr $C$DW$81, DW_AT_accessibility(DW_ACCESS_public) $C$DW$82 .dwtag DW_TAG_member .dwattr $C$DW$82, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$82, DW_AT_name("CCR2") .dwattr $C$DW$82, DW_AT_TI_symbol_name("_CCR2") .dwattr $C$DW$82, DW_AT_data_member_location[DW_OP_plus_uconst 0x1f] .dwattr $C$DW$82, DW_AT_accessibility(DW_ACCESS_public) $C$DW$83 .dwtag DW_TAG_member .dwattr $C$DW$83, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$83, DW_AT_name("CGCR1") .dwattr $C$DW$83, DW_AT_TI_symbol_name("_CGCR1") .dwattr $C$DW$83, DW_AT_data_member_location[DW_OP_plus_uconst 0x20] .dwattr $C$DW$83, DW_AT_accessibility(DW_ACCESS_public) $C$DW$84 .dwtag DW_TAG_member .dwattr $C$DW$84, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$84, DW_AT_name("CGICR") .dwattr $C$DW$84, DW_AT_TI_symbol_name("_CGICR") .dwattr $C$DW$84, DW_AT_data_member_location[DW_OP_plus_uconst 0x21] .dwattr $C$DW$84, DW_AT_accessibility(DW_ACCESS_public) $C$DW$85 .dwtag DW_TAG_member .dwattr $C$DW$85, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$85, DW_AT_name("CGCR2") .dwattr $C$DW$85, DW_AT_TI_symbol_name("_CGCR2") .dwattr $C$DW$85, DW_AT_data_member_location[DW_OP_plus_uconst 0x22] .dwattr $C$DW$85, DW_AT_accessibility(DW_ACCESS_public) $C$DW$86 .dwtag DW_TAG_member .dwattr $C$DW$86, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$86, DW_AT_name("CGOCR") .dwattr $C$DW$86, DW_AT_TI_symbol_name("_CGOCR") .dwattr $C$DW$86, DW_AT_data_member_location[DW_OP_plus_uconst 0x23] .dwattr $C$DW$86, DW_AT_accessibility(DW_ACCESS_public) $C$DW$87 .dwtag DW_TAG_member .dwattr $C$DW$87, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$87, DW_AT_name("CCSSR") .dwattr $C$DW$87, DW_AT_TI_symbol_name("_CCSSR") .dwattr $C$DW$87, DW_AT_data_member_location[DW_OP_plus_uconst 0x24] .dwattr $C$DW$87, DW_AT_accessibility(DW_ACCESS_public) $C$DW$88 .dwtag DW_TAG_member .dwattr $C$DW$88, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$88, DW_AT_name("RSVD3") .dwattr $C$DW$88, DW_AT_TI_symbol_name("_RSVD3") .dwattr $C$DW$88, DW_AT_data_member_location[DW_OP_plus_uconst 0x25] .dwattr $C$DW$88, DW_AT_accessibility(DW_ACCESS_public) $C$DW$89 .dwtag DW_TAG_member .dwattr $C$DW$89, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$89, DW_AT_name("ECDR") .dwattr $C$DW$89, DW_AT_TI_symbol_name("_ECDR") .dwattr $C$DW$89, DW_AT_data_member_location[DW_OP_plus_uconst 0x26] .dwattr $C$DW$89, DW_AT_accessibility(DW_ACCESS_public) $C$DW$90 .dwtag DW_TAG_member .dwattr $C$DW$90, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$90, DW_AT_name("RSVD4") .dwattr $C$DW$90, DW_AT_TI_symbol_name("_RSVD4") .dwattr $C$DW$90, DW_AT_data_member_location[DW_OP_plus_uconst 0x27] .dwattr $C$DW$90, DW_AT_accessibility(DW_ACCESS_public) $C$DW$91 .dwtag DW_TAG_member .dwattr $C$DW$91, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$91, DW_AT_name("RAMSLPMDCNTLR1") .dwattr $C$DW$91, DW_AT_TI_symbol_name("_RAMSLPMDCNTLR1") .dwattr $C$DW$91, DW_AT_data_member_location[DW_OP_plus_uconst 0x28] .dwattr $C$DW$91, DW_AT_accessibility(DW_ACCESS_public) $C$DW$92 .dwtag DW_TAG_member .dwattr $C$DW$92, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$92, DW_AT_name("RSVD5") .dwattr $C$DW$92, DW_AT_TI_symbol_name("_RSVD5") .dwattr $C$DW$92, DW_AT_data_member_location[DW_OP_plus_uconst 0x29] .dwattr $C$DW$92, DW_AT_accessibility(DW_ACCESS_public) $C$DW$93 .dwtag DW_TAG_member .dwattr $C$DW$93, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$93, DW_AT_name("RAMSLPMDCNTLR2") .dwattr $C$DW$93, DW_AT_TI_symbol_name("_RAMSLPMDCNTLR2") .dwattr $C$DW$93, DW_AT_data_member_location[DW_OP_plus_uconst 0x2a] .dwattr $C$DW$93, DW_AT_accessibility(DW_ACCESS_public) $C$DW$94 .dwtag DW_TAG_member .dwattr $C$DW$94, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$94, DW_AT_name("RAMSLPMDCNTLR3") .dwattr $C$DW$94, DW_AT_TI_symbol_name("_RAMSLPMDCNTLR3") .dwattr $C$DW$94, DW_AT_data_member_location[DW_OP_plus_uconst 0x2b] .dwattr $C$DW$94, DW_AT_accessibility(DW_ACCESS_public) $C$DW$95 .dwtag DW_TAG_member .dwattr $C$DW$95, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$95, DW_AT_name("RAMSLPMDCNTLR4") .dwattr $C$DW$95, DW_AT_TI_symbol_name("_RAMSLPMDCNTLR4") .dwattr $C$DW$95, DW_AT_data_member_location[DW_OP_plus_uconst 0x2c] .dwattr $C$DW$95, DW_AT_accessibility(DW_ACCESS_public) $C$DW$96 .dwtag DW_TAG_member .dwattr $C$DW$96, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$96, DW_AT_name("RAMSLPMDCNTLR5") .dwattr $C$DW$96, DW_AT_TI_symbol_name("_RAMSLPMDCNTLR5") .dwattr $C$DW$96, DW_AT_data_member_location[DW_OP_plus_uconst 0x2d] .dwattr $C$DW$96, DW_AT_accessibility(DW_ACCESS_public) $C$DW$97 .dwtag DW_TAG_member .dwattr $C$DW$97, DW_AT_type(*$C$DW$T$25) .dwattr $C$DW$97, DW_AT_name("RSVD6") .dwattr $C$DW$97, DW_AT_TI_symbol_name("_RSVD6") .dwattr $C$DW$97, DW_AT_data_member_location[DW_OP_plus_uconst 0x2e] .dwattr $C$DW$97, DW_AT_accessibility(DW_ACCESS_public) $C$DW$98 .dwtag DW_TAG_member .dwattr $C$DW$98, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$98, DW_AT_name("DMAIFR") .dwattr $C$DW$98, DW_AT_TI_symbol_name("_DMAIFR") .dwattr $C$DW$98, DW_AT_data_member_location[DW_OP_plus_uconst 0x30] .dwattr $C$DW$98, DW_AT_accessibility(DW_ACCESS_public) $C$DW$99 .dwtag DW_TAG_member .dwattr $C$DW$99, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$99, DW_AT_name("DMAIER") .dwattr $C$DW$99, DW_AT_TI_symbol_name("_DMAIER") .dwattr $C$DW$99, DW_AT_data_member_location[DW_OP_plus_uconst 0x31] .dwattr $C$DW$99, DW_AT_accessibility(DW_ACCESS_public) $C$DW$100 .dwtag DW_TAG_member .dwattr $C$DW$100, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$100, DW_AT_name("USBSCR") .dwattr $C$DW$100, DW_AT_TI_symbol_name("_USBSCR") .dwattr $C$DW$100, DW_AT_data_member_location[DW_OP_plus_uconst 0x32] .dwattr $C$DW$100, DW_AT_accessibility(DW_ACCESS_public) $C$DW$101 .dwtag DW_TAG_member .dwattr $C$DW$101, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$101, DW_AT_name("ESCR") .dwattr $C$DW$101, DW_AT_TI_symbol_name("_ESCR") .dwattr $C$DW$101, DW_AT_data_member_location[DW_OP_plus_uconst 0x33] .dwattr $C$DW$101, DW_AT_accessibility(DW_ACCESS_public) $C$DW$102 .dwtag DW_TAG_member .dwattr $C$DW$102, DW_AT_type(*$C$DW$T$25) .dwattr $C$DW$102, DW_AT_name("RSVD7") .dwattr $C$DW$102, DW_AT_TI_symbol_name("_RSVD7") .dwattr $C$DW$102, DW_AT_data_member_location[DW_OP_plus_uconst 0x34] .dwattr $C$DW$102, DW_AT_accessibility(DW_ACCESS_public) $C$DW$103 .dwtag DW_TAG_member .dwattr $C$DW$103, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$103, DW_AT_name("DMA2CESR1") .dwattr $C$DW$103, DW_AT_TI_symbol_name("_DMA2CESR1") .dwattr $C$DW$103, DW_AT_data_member_location[DW_OP_plus_uconst 0x36] .dwattr $C$DW$103, DW_AT_accessibility(DW_ACCESS_public) $C$DW$104 .dwtag DW_TAG_member .dwattr $C$DW$104, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$104, DW_AT_name("DMA2CESR2") .dwattr $C$DW$104, DW_AT_TI_symbol_name("_DMA2CESR2") .dwattr $C$DW$104, DW_AT_data_member_location[DW_OP_plus_uconst 0x37] .dwattr $C$DW$104, DW_AT_accessibility(DW_ACCESS_public) $C$DW$105 .dwtag DW_TAG_member .dwattr $C$DW$105, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$105, DW_AT_name("DMA3CESR1") .dwattr $C$DW$105, DW_AT_TI_symbol_name("_DMA3CESR1") .dwattr $C$DW$105, DW_AT_data_member_location[DW_OP_plus_uconst 0x38] .dwattr $C$DW$105, DW_AT_accessibility(DW_ACCESS_public) $C$DW$106 .dwtag DW_TAG_member .dwattr $C$DW$106, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$106, DW_AT_name("DMA3CESR2") .dwattr $C$DW$106, DW_AT_TI_symbol_name("_DMA3CESR2") .dwattr $C$DW$106, DW_AT_data_member_location[DW_OP_plus_uconst 0x39] .dwattr $C$DW$106, DW_AT_accessibility(DW_ACCESS_public) $C$DW$107 .dwtag DW_TAG_member .dwattr $C$DW$107, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$107, DW_AT_name("CLKSTOP") .dwattr $C$DW$107, DW_AT_TI_symbol_name("_CLKSTOP") .dwattr $C$DW$107, DW_AT_data_member_location[DW_OP_plus_uconst 0x3a] .dwattr $C$DW$107, DW_AT_accessibility(DW_ACCESS_public) $C$DW$108 .dwtag DW_TAG_member .dwattr $C$DW$108, DW_AT_type(*$C$DW$T$22) .dwattr $C$DW$108, DW_AT_name("RSVD8") .dwattr $C$DW$108, DW_AT_TI_symbol_name("_RSVD8") .dwattr $C$DW$108, DW_AT_data_member_location[DW_OP_plus_uconst 0x3b] .dwattr $C$DW$108, DW_AT_accessibility(DW_ACCESS_public) $C$DW$109 .dwtag DW_TAG_member .dwattr $C$DW$109, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$109, DW_AT_name("DIEIDR0") .dwattr $C$DW$109, DW_AT_TI_symbol_name("_DIEIDR0") .dwattr $C$DW$109, DW_AT_data_member_location[DW_OP_plus_uconst 0x40] .dwattr $C$DW$109, DW_AT_accessibility(DW_ACCESS_public) $C$DW$110 .dwtag DW_TAG_member .dwattr $C$DW$110, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$110, DW_AT_name("DIEIDR1") .dwattr $C$DW$110, DW_AT_TI_symbol_name("_DIEIDR1") .dwattr $C$DW$110, DW_AT_data_member_location[DW_OP_plus_uconst 0x41] .dwattr $C$DW$110, DW_AT_accessibility(DW_ACCESS_public) $C$DW$111 .dwtag DW_TAG_member .dwattr $C$DW$111, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$111, DW_AT_name("DIEIDR2") .dwattr $C$DW$111, DW_AT_TI_symbol_name("_DIEIDR2") .dwattr $C$DW$111, DW_AT_data_member_location[DW_OP_plus_uconst 0x42] .dwattr $C$DW$111, DW_AT_accessibility(DW_ACCESS_public) $C$DW$112 .dwtag DW_TAG_member .dwattr $C$DW$112, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$112, DW_AT_name("DIEIDR3") .dwattr $C$DW$112, DW_AT_TI_symbol_name("_DIEIDR3") .dwattr $C$DW$112, DW_AT_data_member_location[DW_OP_plus_uconst 0x43] .dwattr $C$DW$112, DW_AT_accessibility(DW_ACCESS_public) $C$DW$113 .dwtag DW_TAG_member .dwattr $C$DW$113, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$113, DW_AT_name("DIEIDR4") .dwattr $C$DW$113, DW_AT_TI_symbol_name("_DIEIDR4") .dwattr $C$DW$113, DW_AT_data_member_location[DW_OP_plus_uconst 0x44] .dwattr $C$DW$113, DW_AT_accessibility(DW_ACCESS_public) $C$DW$114 .dwtag DW_TAG_member .dwattr $C$DW$114, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$114, DW_AT_name("DIEIDR5") .dwattr $C$DW$114, DW_AT_TI_symbol_name("_DIEIDR5") .dwattr $C$DW$114, DW_AT_data_member_location[DW_OP_plus_uconst 0x45] .dwattr $C$DW$114, DW_AT_accessibility(DW_ACCESS_public) $C$DW$115 .dwtag DW_TAG_member .dwattr $C$DW$115, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$115, DW_AT_name("DIEIDR6") .dwattr $C$DW$115, DW_AT_TI_symbol_name("_DIEIDR6") .dwattr $C$DW$115, DW_AT_data_member_location[DW_OP_plus_uconst 0x46] .dwattr $C$DW$115, DW_AT_accessibility(DW_ACCESS_public) $C$DW$116 .dwtag DW_TAG_member .dwattr $C$DW$116, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$116, DW_AT_name("DIEIDR7") .dwattr $C$DW$116, DW_AT_TI_symbol_name("_DIEIDR7") .dwattr $C$DW$116, DW_AT_data_member_location[DW_OP_plus_uconst 0x47] .dwattr $C$DW$116, DW_AT_accessibility(DW_ACCESS_public) .dwendtag $C$DW$T$26 $C$DW$T$32 .dwtag DW_TAG_typedef, DW_AT_name("CSL_SysRegs") .dwattr $C$DW$T$32, DW_AT_type(*$C$DW$T$26) .dwattr $C$DW$T$32, DW_AT_language(DW_LANG_C) $C$DW$117 .dwtag DW_TAG_TI_far_type .dwattr $C$DW$117, DW_AT_type(*$C$DW$T$32) $C$DW$118 .dwtag DW_TAG_TI_ioport_type .dwattr $C$DW$118, DW_AT_type(*$C$DW$117) $C$DW$T$33 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$33, DW_AT_type(*$C$DW$118) $C$DW$T$34 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$34, DW_AT_type(*$C$DW$T$33) .dwattr $C$DW$T$34, DW_AT_address_class(0x10) $C$DW$T$35 .dwtag DW_TAG_typedef, DW_AT_name("CSL_SysRegsOvly") .dwattr $C$DW$T$35, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$T$35, DW_AT_language(DW_LANG_C) $C$DW$T$27 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$27, DW_AT_byte_size(0x05) $C$DW$119 .dwtag DW_TAG_member .dwattr $C$DW$119, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$119, DW_AT_name("DLL") .dwattr $C$DW$119, DW_AT_TI_symbol_name("_DLL") .dwattr $C$DW$119, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$119, DW_AT_accessibility(DW_ACCESS_public) $C$DW$120 .dwtag DW_TAG_member .dwattr $C$DW$120, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$120, DW_AT_name("DLH") .dwattr $C$DW$120, DW_AT_TI_symbol_name("_DLH") .dwattr $C$DW$120, DW_AT_data_member_location[DW_OP_plus_uconst 0x1] .dwattr $C$DW$120, DW_AT_accessibility(DW_ACCESS_public) $C$DW$121 .dwtag DW_TAG_member .dwattr $C$DW$121, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$121, DW_AT_name("LCR") .dwattr $C$DW$121, DW_AT_TI_symbol_name("_LCR") .dwattr $C$DW$121, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$121, DW_AT_accessibility(DW_ACCESS_public) $C$DW$122 .dwtag DW_TAG_member .dwattr $C$DW$122, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$122, DW_AT_name("FCR") .dwattr $C$DW$122, DW_AT_TI_symbol_name("_FCR") .dwattr $C$DW$122, DW_AT_data_member_location[DW_OP_plus_uconst 0x3] .dwattr $C$DW$122, DW_AT_accessibility(DW_ACCESS_public) $C$DW$123 .dwtag DW_TAG_member .dwattr $C$DW$123, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$123, DW_AT_name("MCR") .dwattr $C$DW$123, DW_AT_TI_symbol_name("_MCR") .dwattr $C$DW$123, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$123, DW_AT_accessibility(DW_ACCESS_public) .dwendtag $C$DW$T$27 $C$DW$T$41 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartConfig") .dwattr $C$DW$T$41, DW_AT_type(*$C$DW$T$27) .dwattr $C$DW$T$41, DW_AT_language(DW_LANG_C) $C$DW$T$42 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$42, DW_AT_type(*$C$DW$T$41) .dwattr $C$DW$T$42, DW_AT_address_class(0x17) $C$DW$T$40 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$40, DW_AT_name("CSL_UartObj") .dwattr $C$DW$T$40, DW_AT_byte_size(0x14) $C$DW$124 .dwtag DW_TAG_member .dwattr $C$DW$124, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$124, DW_AT_name("insId") .dwattr $C$DW$124, DW_AT_TI_symbol_name("_insId") .dwattr $C$DW$124, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$124, DW_AT_accessibility(DW_ACCESS_public) $C$DW$125 .dwtag DW_TAG_member .dwattr $C$DW$125, DW_AT_type(*$C$DW$T$31) .dwattr $C$DW$125, DW_AT_name("uartRegs") .dwattr $C$DW$125, DW_AT_TI_symbol_name("_uartRegs") .dwattr $C$DW$125, DW_AT_data_member_location[DW_OP_plus_uconst 0x1] .dwattr $C$DW$125, DW_AT_accessibility(DW_ACCESS_public) $C$DW$126 .dwtag DW_TAG_member .dwattr $C$DW$126, DW_AT_type(*$C$DW$T$35) .dwattr $C$DW$126, DW_AT_name("sysAddr") .dwattr $C$DW$126, DW_AT_TI_symbol_name("_sysAddr") .dwattr $C$DW$126, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$126, DW_AT_accessibility(DW_ACCESS_public) $C$DW$127 .dwtag DW_TAG_member .dwattr $C$DW$127, DW_AT_type(*$C$DW$T$37) .dwattr $C$DW$127, DW_AT_name("opmode") .dwattr $C$DW$127, DW_AT_TI_symbol_name("_opmode") .dwattr $C$DW$127, DW_AT_data_member_location[DW_OP_plus_uconst 0x3] .dwattr $C$DW$127, DW_AT_accessibility(DW_ACCESS_public) $C$DW$128 .dwtag DW_TAG_member .dwattr $C$DW$128, DW_AT_type(*$C$DW$T$19) .dwattr $C$DW$128, DW_AT_name("trigLevel") .dwattr $C$DW$128, DW_AT_TI_symbol_name("_trigLevel") .dwattr $C$DW$128, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$128, DW_AT_accessibility(DW_ACCESS_public) $C$DW$129 .dwtag DW_TAG_member .dwattr $C$DW$129, DW_AT_type(*$C$DW$T$39) .dwattr $C$DW$129, DW_AT_name("UART_isrDispatchTable") .dwattr $C$DW$129, DW_AT_TI_symbol_name("_UART_isrDispatchTable") .dwattr $C$DW$129, DW_AT_data_member_location[DW_OP_plus_uconst 0x6] .dwattr $C$DW$129, DW_AT_accessibility(DW_ACCESS_public) .dwendtag $C$DW$T$40 $C$DW$T$43 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartObj") .dwattr $C$DW$T$43, DW_AT_type(*$C$DW$T$40) .dwattr $C$DW$T$43, DW_AT_language(DW_LANG_C) $C$DW$T$44 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$44, DW_AT_type(*$C$DW$T$43) .dwattr $C$DW$T$44, DW_AT_address_class(0x17) $C$DW$T$45 .dwtag DW_TAG_typedef, DW_AT_name("CSL_UartHandle") .dwattr $C$DW$T$45, DW_AT_type(*$C$DW$T$44) .dwattr $C$DW$T$45, DW_AT_language(DW_LANG_C) $C$DW$T$4 .dwtag DW_TAG_base_type .dwattr $C$DW$T$4, DW_AT_encoding(DW_ATE_boolean) .dwattr $C$DW$T$4, DW_AT_name("bool") .dwattr $C$DW$T$4, DW_AT_byte_size(0x01) $C$DW$T$5 .dwtag DW_TAG_base_type .dwattr $C$DW$T$5, DW_AT_encoding(DW_ATE_signed_char) .dwattr $C$DW$T$5, DW_AT_name("signed char") .dwattr $C$DW$T$5, DW_AT_byte_size(0x01) $C$DW$T$6 .dwtag DW_TAG_base_type .dwattr $C$DW$T$6, DW_AT_encoding(DW_ATE_unsigned_char) .dwattr $C$DW$T$6, DW_AT_name("unsigned char") .dwattr $C$DW$T$6, DW_AT_byte_size(0x01) $C$DW$T$7 .dwtag DW_TAG_base_type .dwattr $C$DW$T$7, DW_AT_encoding(DW_ATE_signed_char) .dwattr $C$DW$T$7, DW_AT_name("wchar_t") .dwattr $C$DW$T$7, DW_AT_byte_size(0x01) $C$DW$T$8 .dwtag DW_TAG_base_type .dwattr $C$DW$T$8, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$8, DW_AT_name("short") .dwattr $C$DW$T$8, DW_AT_byte_size(0x01) $C$DW$T$46 .dwtag DW_TAG_typedef, DW_AT_name("Int16") .dwattr $C$DW$T$46, DW_AT_type(*$C$DW$T$8) .dwattr $C$DW$T$46, DW_AT_language(DW_LANG_C) $C$DW$T$47 .dwtag DW_TAG_typedef, DW_AT_name("CSL_Status") .dwattr $C$DW$T$47, DW_AT_type(*$C$DW$T$46) .dwattr $C$DW$T$47, DW_AT_language(DW_LANG_C) $C$DW$T$9 .dwtag DW_TAG_base_type .dwattr $C$DW$T$9, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$9, DW_AT_name("unsigned short") .dwattr $C$DW$T$9, DW_AT_byte_size(0x01) $C$DW$T$19 .dwtag DW_TAG_typedef, DW_AT_name("Uint16") .dwattr $C$DW$T$19, DW_AT_type(*$C$DW$T$9) .dwattr $C$DW$T$19, DW_AT_language(DW_LANG_C) $C$DW$130 .dwtag DW_TAG_TI_far_type .dwattr $C$DW$130, DW_AT_type(*$C$DW$T$19) $C$DW$T$20 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$20, DW_AT_type(*$C$DW$130) $C$DW$T$21 .dwtag DW_TAG_array_type .dwattr $C$DW$T$21, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$T$21, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$21, DW_AT_byte_size(0x03) $C$DW$131 .dwtag DW_TAG_subrange_type .dwattr $C$DW$131, DW_AT_upper_bound(0x02) .dwendtag $C$DW$T$21 $C$DW$T$22 .dwtag DW_TAG_array_type .dwattr $C$DW$T$22, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$T$22, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$22, DW_AT_byte_size(0x05) $C$DW$132 .dwtag DW_TAG_subrange_type .dwattr $C$DW$132, DW_AT_upper_bound(0x04) .dwendtag $C$DW$T$22 $C$DW$T$24 .dwtag DW_TAG_array_type .dwattr $C$DW$T$24, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$T$24, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$24, DW_AT_byte_size(0x0e) $C$DW$133 .dwtag DW_TAG_subrange_type .dwattr $C$DW$133, DW_AT_upper_bound(0x0d) .dwendtag $C$DW$T$24 $C$DW$T$25 .dwtag DW_TAG_array_type .dwattr $C$DW$T$25, DW_AT_type(*$C$DW$T$20) .dwattr $C$DW$T$25, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$25, DW_AT_byte_size(0x02) $C$DW$134 .dwtag DW_TAG_subrange_type .dwattr $C$DW$134, DW_AT_upper_bound(0x01) .dwendtag $C$DW$T$25 $C$DW$T$10 .dwtag DW_TAG_base_type .dwattr $C$DW$T$10, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$10, DW_AT_name("int") .dwattr $C$DW$T$10, DW_AT_byte_size(0x01) $C$DW$T$11 .dwtag DW_TAG_base_type .dwattr $C$DW$T$11, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$11, DW_AT_name("unsigned int") .dwattr $C$DW$T$11, DW_AT_byte_size(0x01) $C$DW$T$12 .dwtag DW_TAG_base_type .dwattr $C$DW$T$12, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$12, DW_AT_name("long") .dwattr $C$DW$T$12, DW_AT_byte_size(0x02) $C$DW$T$13 .dwtag DW_TAG_base_type .dwattr $C$DW$T$13, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$13, DW_AT_name("unsigned long") .dwattr $C$DW$T$13, DW_AT_byte_size(0x02) $C$DW$T$38 .dwtag DW_TAG_typedef, DW_AT_name("Uint32") .dwattr $C$DW$T$38, DW_AT_type(*$C$DW$T$13) .dwattr $C$DW$T$38, DW_AT_language(DW_LANG_C) $C$DW$T$39 .dwtag DW_TAG_array_type .dwattr $C$DW$T$39, DW_AT_type(*$C$DW$T$38) .dwattr $C$DW$T$39, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$39, DW_AT_byte_size(0x0e) $C$DW$135 .dwtag DW_TAG_subrange_type .dwattr $C$DW$135, DW_AT_upper_bound(0x06) .dwendtag $C$DW$T$39 $C$DW$T$14 .dwtag DW_TAG_base_type .dwattr $C$DW$T$14, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$14, DW_AT_name("long long") .dwattr $C$DW$T$14, DW_AT_byte_size(0x04) .dwattr $C$DW$T$14, DW_AT_bit_size(0x28) .dwattr $C$DW$T$14, DW_AT_bit_offset(0x18) $C$DW$T$15 .dwtag DW_TAG_base_type .dwattr $C$DW$T$15, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$15, DW_AT_name("unsigned long long") .dwattr $C$DW$T$15, DW_AT_byte_size(0x04) .dwattr $C$DW$T$15, DW_AT_bit_size(0x28) .dwattr $C$DW$T$15, DW_AT_bit_offset(0x18) $C$DW$T$16 .dwtag DW_TAG_base_type .dwattr $C$DW$T$16, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$16, DW_AT_name("float") .dwattr $C$DW$T$16, DW_AT_byte_size(0x02) $C$DW$T$17 .dwtag DW_TAG_base_type .dwattr $C$DW$T$17, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$17, DW_AT_name("double") .dwattr $C$DW$T$17, DW_AT_byte_size(0x02) $C$DW$T$18 .dwtag DW_TAG_base_type .dwattr $C$DW$T$18, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$18, DW_AT_name("long double") .dwattr $C$DW$T$18, DW_AT_byte_size(0x02) $C$DW$T$54 .dwtag DW_TAG_base_type .dwattr $C$DW$T$54, DW_AT_encoding(DW_ATE_signed_char) .dwattr $C$DW$T$54, DW_AT_name("signed char") .dwattr $C$DW$T$54, DW_AT_byte_size(0x01) $C$DW$T$55 .dwtag DW_TAG_typedef, DW_AT_name("Char") .dwattr $C$DW$T$55, DW_AT_type(*$C$DW$T$54) .dwattr $C$DW$T$55, DW_AT_language(DW_LANG_C) $C$DW$136 .dwtag DW_TAG_TI_far_type .dwattr $C$DW$136, DW_AT_type(*$C$DW$T$55) $C$DW$T$59 .dwtag DW_TAG_const_type .dwattr $C$DW$T$59, DW_AT_type(*$C$DW$136) $C$DW$T$56 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$56, DW_AT_type(*$C$DW$T$55) .dwattr $C$DW$T$56, DW_AT_address_class(0x17) $C$DW$T$64 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$64, DW_AT_type(*$C$DW$T$54) .dwattr $C$DW$T$64, DW_AT_address_class(0x17) .dwattr $C$DW$CU, DW_AT_language(DW_LANG_C) ;*************************************************************** ;* DWARF CIE ENTRIES * ;*************************************************************** $C$DW$CIE .dwcie 91 .dwcfi cfa_register, 36 .dwcfi cfa_offset, 0 .dwcfi undefined, 0 .dwcfi undefined, 1 .dwcfi undefined, 2 .dwcfi undefined, 3 .dwcfi undefined, 4 .dwcfi undefined, 5 .dwcfi undefined, 6 .dwcfi undefined, 7 .dwcfi undefined, 8 .dwcfi undefined, 9 .dwcfi undefined, 10 .dwcfi undefined, 11 .dwcfi undefined, 12 .dwcfi undefined, 13 .dwcfi same_value, 14 .dwcfi same_value, 15 .dwcfi undefined, 16 .dwcfi undefined, 17 .dwcfi undefined, 18 .dwcfi undefined, 19 .dwcfi undefined, 20 .dwcfi undefined, 21 .dwcfi undefined, 22 .dwcfi undefined, 23 .dwcfi undefined, 24 .dwcfi undefined, 25 .dwcfi same_value, 26 .dwcfi same_value, 27 .dwcfi same_value, 28 .dwcfi same_value, 29 .dwcfi same_value, 30 .dwcfi same_value, 31 .dwcfi undefined, 32 .dwcfi undefined, 33 .dwcfi undefined, 34 .dwcfi undefined, 35 .dwcfi undefined, 36 .dwcfi undefined, 37 .dwcfi undefined, 38 .dwcfi undefined, 39 .dwcfi undefined, 40 .dwcfi undefined, 41 .dwcfi undefined, 42 .dwcfi undefined, 43 .dwcfi undefined, 44 .dwcfi undefined, 45 .dwcfi undefined, 46 .dwcfi undefined, 47 .dwcfi undefined, 48 .dwcfi undefined, 49 .dwcfi undefined, 50 .dwcfi undefined, 51 .dwcfi undefined, 52 .dwcfi undefined, 53 .dwcfi undefined, 54 .dwcfi undefined, 55 .dwcfi undefined, 56 .dwcfi undefined, 57 .dwcfi undefined, 58 .dwcfi undefined, 59 .dwcfi undefined, 60 .dwcfi undefined, 61 .dwcfi undefined, 62 .dwcfi undefined, 63 .dwcfi undefined, 64 .dwcfi undefined, 65 .dwcfi undefined, 66 .dwcfi undefined, 67 .dwcfi undefined, 68 .dwcfi undefined, 69 .dwcfi undefined, 70 .dwcfi undefined, 71 .dwcfi undefined, 72 .dwcfi undefined, 73 .dwcfi undefined, 74 .dwcfi undefined, 75 .dwcfi undefined, 76 .dwcfi undefined, 77 .dwcfi undefined, 78 .dwcfi undefined, 79 .dwcfi undefined, 80 .dwcfi undefined, 81 .dwcfi undefined, 82 .dwcfi undefined, 83 .dwcfi undefined, 84 .dwcfi undefined, 85 .dwcfi undefined, 86 .dwcfi undefined, 87 .dwcfi undefined, 88 .dwcfi undefined, 89 .dwcfi undefined, 90 .dwcfi undefined, 91 .dwendentry ;*************************************************************** ;* DWARF REGISTER MAP * ;*************************************************************** $C$DW$137 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC0") .dwattr $C$DW$137, DW_AT_location[DW_OP_reg0] $C$DW$138 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC0") .dwattr $C$DW$138, DW_AT_location[DW_OP_reg1] $C$DW$139 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC0_G") .dwattr $C$DW$139, DW_AT_location[DW_OP_reg2] $C$DW$140 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC1") .dwattr $C$DW$140, DW_AT_location[DW_OP_reg3] $C$DW$141 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC1") .dwattr $C$DW$141, DW_AT_location[DW_OP_reg4] $C$DW$142 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC1_G") .dwattr $C$DW$142, DW_AT_location[DW_OP_reg5] $C$DW$143 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC2") .dwattr $C$DW$143, DW_AT_location[DW_OP_reg6] $C$DW$144 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC2") .dwattr $C$DW$144, DW_AT_location[DW_OP_reg7] $C$DW$145 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC2_G") .dwattr $C$DW$145, DW_AT_location[DW_OP_reg8] $C$DW$146 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC3") .dwattr $C$DW$146, DW_AT_location[DW_OP_reg9] $C$DW$147 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC3") .dwattr $C$DW$147, DW_AT_location[DW_OP_reg10] $C$DW$148 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AC3_G") .dwattr $C$DW$148, DW_AT_location[DW_OP_reg11] $C$DW$149 .dwtag DW_TAG_TI_assign_register, DW_AT_name("T0") .dwattr $C$DW$149, DW_AT_location[DW_OP_reg12] $C$DW$150 .dwtag DW_TAG_TI_assign_register, DW_AT_name("T1") .dwattr $C$DW$150, DW_AT_location[DW_OP_reg13] $C$DW$151 .dwtag DW_TAG_TI_assign_register, DW_AT_name("T2") .dwattr $C$DW$151, DW_AT_location[DW_OP_reg14] $C$DW$152 .dwtag DW_TAG_TI_assign_register, DW_AT_name("T3") .dwattr $C$DW$152, DW_AT_location[DW_OP_reg15] $C$DW$153 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR0") .dwattr $C$DW$153, DW_AT_location[DW_OP_reg16] $C$DW$154 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR0") .dwattr $C$DW$154, DW_AT_location[DW_OP_reg17] $C$DW$155 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR1") .dwattr $C$DW$155, DW_AT_location[DW_OP_reg18] $C$DW$156 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR1") .dwattr $C$DW$156, DW_AT_location[DW_OP_reg19] $C$DW$157 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR2") .dwattr $C$DW$157, DW_AT_location[DW_OP_reg20] $C$DW$158 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR2") .dwattr $C$DW$158, DW_AT_location[DW_OP_reg21] $C$DW$159 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR3") .dwattr $C$DW$159, DW_AT_location[DW_OP_reg22] $C$DW$160 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR3") .dwattr $C$DW$160, DW_AT_location[DW_OP_reg23] $C$DW$161 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR4") .dwattr $C$DW$161, DW_AT_location[DW_OP_reg24] $C$DW$162 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR4") .dwattr $C$DW$162, DW_AT_location[DW_OP_reg25] $C$DW$163 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR5") .dwattr $C$DW$163, DW_AT_location[DW_OP_reg26] $C$DW$164 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR5") .dwattr $C$DW$164, DW_AT_location[DW_OP_reg27] $C$DW$165 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR6") .dwattr $C$DW$165, DW_AT_location[DW_OP_reg28] $C$DW$166 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR6") .dwattr $C$DW$166, DW_AT_location[DW_OP_reg29] $C$DW$167 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR7") .dwattr $C$DW$167, DW_AT_location[DW_OP_reg30] $C$DW$168 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XAR7") .dwattr $C$DW$168, DW_AT_location[DW_OP_reg31] $C$DW$169 .dwtag DW_TAG_TI_assign_register, DW_AT_name("FP") .dwattr $C$DW$169, DW_AT_location[DW_OP_regx 0x20] $C$DW$170 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XFP") .dwattr $C$DW$170, DW_AT_location[DW_OP_regx 0x21] $C$DW$171 .dwtag DW_TAG_TI_assign_register, DW_AT_name("PC") .dwattr $C$DW$171, DW_AT_location[DW_OP_regx 0x22] $C$DW$172 .dwtag DW_TAG_TI_assign_register, DW_AT_name("SP") .dwattr $C$DW$172, DW_AT_location[DW_OP_regx 0x23] $C$DW$173 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XSP") .dwattr $C$DW$173, DW_AT_location[DW_OP_regx 0x24] $C$DW$174 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BKC") .dwattr $C$DW$174, DW_AT_location[DW_OP_regx 0x25] $C$DW$175 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BK03") .dwattr $C$DW$175, DW_AT_location[DW_OP_regx 0x26] $C$DW$176 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BK47") .dwattr $C$DW$176, DW_AT_location[DW_OP_regx 0x27] $C$DW$177 .dwtag DW_TAG_TI_assign_register, DW_AT_name("ST0") .dwattr $C$DW$177, DW_AT_location[DW_OP_regx 0x28] $C$DW$178 .dwtag DW_TAG_TI_assign_register, DW_AT_name("ST1") .dwattr $C$DW$178, DW_AT_location[DW_OP_regx 0x29] $C$DW$179 .dwtag DW_TAG_TI_assign_register, DW_AT_name("ST2") .dwattr $C$DW$179, DW_AT_location[DW_OP_regx 0x2a] $C$DW$180 .dwtag DW_TAG_TI_assign_register, DW_AT_name("ST3") .dwattr $C$DW$180, DW_AT_location[DW_OP_regx 0x2b] $C$DW$181 .dwtag DW_TAG_TI_assign_register, DW_AT_name("MDP") .dwattr $C$DW$181, DW_AT_location[DW_OP_regx 0x2c] $C$DW$182 .dwtag DW_TAG_TI_assign_register, DW_AT_name("MDP05") .dwattr $C$DW$182, DW_AT_location[DW_OP_regx 0x2d] $C$DW$183 .dwtag DW_TAG_TI_assign_register, DW_AT_name("MDP67") .dwattr $C$DW$183, DW_AT_location[DW_OP_regx 0x2e] $C$DW$184 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BRC0") .dwattr $C$DW$184, DW_AT_location[DW_OP_regx 0x2f] $C$DW$185 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RSA0") .dwattr $C$DW$185, DW_AT_location[DW_OP_regx 0x30] $C$DW$186 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RSA0_H") .dwattr $C$DW$186, DW_AT_location[DW_OP_regx 0x31] $C$DW$187 .dwtag DW_TAG_TI_assign_register, DW_AT_name("REA0") .dwattr $C$DW$187, DW_AT_location[DW_OP_regx 0x32] $C$DW$188 .dwtag DW_TAG_TI_assign_register, DW_AT_name("REA0_H") .dwattr $C$DW$188, DW_AT_location[DW_OP_regx 0x33] $C$DW$189 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BRS1") .dwattr $C$DW$189, DW_AT_location[DW_OP_regx 0x34] $C$DW$190 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BRC1") .dwattr $C$DW$190, DW_AT_location[DW_OP_regx 0x35] $C$DW$191 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RSA1") .dwattr $C$DW$191, DW_AT_location[DW_OP_regx 0x36] $C$DW$192 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RSA1_H") .dwattr $C$DW$192, DW_AT_location[DW_OP_regx 0x37] $C$DW$193 .dwtag DW_TAG_TI_assign_register, DW_AT_name("REA1") .dwattr $C$DW$193, DW_AT_location[DW_OP_regx 0x38] $C$DW$194 .dwtag DW_TAG_TI_assign_register, DW_AT_name("REA1_H") .dwattr $C$DW$194, DW_AT_location[DW_OP_regx 0x39] $C$DW$195 .dwtag DW_TAG_TI_assign_register, DW_AT_name("CSR") .dwattr $C$DW$195, DW_AT_location[DW_OP_regx 0x3a] $C$DW$196 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RPTC") .dwattr $C$DW$196, DW_AT_location[DW_OP_regx 0x3b] $C$DW$197 .dwtag DW_TAG_TI_assign_register, DW_AT_name("CDP") .dwattr $C$DW$197, DW_AT_location[DW_OP_regx 0x3c] $C$DW$198 .dwtag DW_TAG_TI_assign_register, DW_AT_name("XCDP") .dwattr $C$DW$198, DW_AT_location[DW_OP_regx 0x3d] $C$DW$199 .dwtag DW_TAG_TI_assign_register, DW_AT_name("TRN0") .dwattr $C$DW$199, DW_AT_location[DW_OP_regx 0x3e] $C$DW$200 .dwtag DW_TAG_TI_assign_register, DW_AT_name("TRN1") .dwattr $C$DW$200, DW_AT_location[DW_OP_regx 0x3f] $C$DW$201 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BSA01") .dwattr $C$DW$201, DW_AT_location[DW_OP_regx 0x40] $C$DW$202 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BSA23") .dwattr $C$DW$202, DW_AT_location[DW_OP_regx 0x41] $C$DW$203 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BSA45") .dwattr $C$DW$203, DW_AT_location[DW_OP_regx 0x42] $C$DW$204 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BSA67") .dwattr $C$DW$204, DW_AT_location[DW_OP_regx 0x43] $C$DW$205 .dwtag DW_TAG_TI_assign_register, DW_AT_name("BSAC") .dwattr $C$DW$205, DW_AT_location[DW_OP_regx 0x44] $C$DW$206 .dwtag DW_TAG_TI_assign_register, DW_AT_name("CARRY") .dwattr $C$DW$206, DW_AT_location[DW_OP_regx 0x45] $C$DW$207 .dwtag DW_TAG_TI_assign_register, DW_AT_name("TC1") .dwattr $C$DW$207, DW_AT_location[DW_OP_regx 0x46] $C$DW$208 .dwtag DW_TAG_TI_assign_register, DW_AT_name("TC2") .dwattr $C$DW$208, DW_AT_location[DW_OP_regx 0x47] $C$DW$209 .dwtag DW_TAG_TI_assign_register, DW_AT_name("M40") .dwattr $C$DW$209, DW_AT_location[DW_OP_regx 0x48] $C$DW$210 .dwtag DW_TAG_TI_assign_register, DW_AT_name("SXMD") .dwattr $C$DW$210, DW_AT_location[DW_OP_regx 0x49] $C$DW$211 .dwtag DW_TAG_TI_assign_register, DW_AT_name("ARMS") .dwattr $C$DW$211, DW_AT_location[DW_OP_regx 0x4a] $C$DW$212 .dwtag DW_TAG_TI_assign_register, DW_AT_name("C54CM") .dwattr $C$DW$212, DW_AT_location[DW_OP_regx 0x4b] $C$DW$213 .dwtag DW_TAG_TI_assign_register, DW_AT_name("SATA") .dwattr $C$DW$213, DW_AT_location[DW_OP_regx 0x4c] $C$DW$214 .dwtag DW_TAG_TI_assign_register, DW_AT_name("SATD") .dwattr $C$DW$214, DW_AT_location[DW_OP_regx 0x4d] $C$DW$215 .dwtag DW_TAG_TI_assign_register, DW_AT_name("RDM") .dwattr $C$DW$215, DW_AT_location[DW_OP_regx 0x4e] $C$DW$216 .dwtag DW_TAG_TI_assign_register, DW_AT_name("FRCT") .dwattr $C$DW$216, DW_AT_location[DW_OP_regx 0x4f] $C$DW$217 .dwtag DW_TAG_TI_assign_register, DW_AT_name("SMUL") .dwattr $C$DW$217, DW_AT_location[DW_OP_regx 0x50] $C$DW$218 .dwtag DW_TAG_TI_assign_register, DW_AT_name("INTM") .dwattr $C$DW$218, DW_AT_location[DW_OP_regx 0x51] $C$DW$219 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR0LC") .dwattr $C$DW$219, DW_AT_location[DW_OP_regx 0x52] $C$DW$220 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR1LC") .dwattr $C$DW$220, DW_AT_location[DW_OP_regx 0x53] $C$DW$221 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR2LC") .dwattr $C$DW$221, DW_AT_location[DW_OP_regx 0x54] $C$DW$222 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR3LC") .dwattr $C$DW$222, DW_AT_location[DW_OP_regx 0x55] $C$DW$223 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR4LC") .dwattr $C$DW$223, DW_AT_location[DW_OP_regx 0x56] $C$DW$224 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR5LC") .dwattr $C$DW$224, DW_AT_location[DW_OP_regx 0x57] $C$DW$225 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR6LC") .dwattr $C$DW$225, DW_AT_location[DW_OP_regx 0x58] $C$DW$226 .dwtag DW_TAG_TI_assign_register, DW_AT_name("AR7LC") .dwattr $C$DW$226, DW_AT_location[DW_OP_regx 0x59] $C$DW$227 .dwtag DW_TAG_TI_assign_register, DW_AT_name("CDPLC") .dwattr $C$DW$227, DW_AT_location[DW_OP_regx 0x5a] $C$DW$228 .dwtag DW_TAG_TI_assign_register, DW_AT_name("CIE_RETA") .dwattr $C$DW$228, DW_AT_location[DW_OP_regx 0x5b] .dwendtag $C$DW$CU
45.907791
134
0.698373
c8645d14776dc76f96dd809cbdc63b12a1f61201
2,813
asm
Assembly
src/MACLib/Assembly/x86_mmx.asm
fernandotcl/monkeys-audio
5fe956c7e67c13daa80518a4cc7001e9fa185297
[ "Linux-OpenIB" ]
42
2015-06-01T07:57:12.000Z
2021-07-11T09:31:55.000Z
libs/monkey-audio/Assembly/x86_mmx.asm
gamepwoandrey/PortAMP
f92e54b8f311d67dba188b5944ba693c48a51201
[ "MIT" ]
3
2015-09-24T00:34:08.000Z
2020-07-26T19:14:08.000Z
libs/monkey-audio/Assembly/x86_mmx.asm
gamepwoandrey/PortAMP
f92e54b8f311d67dba188b5944ba693c48a51201
[ "MIT" ]
16
2015-09-04T14:10:01.000Z
2022-03-17T12:59:18.000Z
BITS 32 SECTION .text ; ; void Adapt ( short* pM, const short* pAdapt, int nDirection, int nOrder ) ; ; [esp+16] nOrder ; [esp+12] nDirection ; [esp+ 8] pAdapt ; [esp+ 4] pM ; [esp+ 0] Return Address ALIGN 16 GLOBAL Adapt_x86_mmx GLOBAL _Adapt_x86_mmx Adapt_x86_mmx: _Adapt_x86_mmx: mov eax, [esp + 4] ; pM mov ecx, [esp + 8] ; pAdapt mov edx, [esp + 16] ; nOrder shr edx, 4 cmp dword [esp + 12], byte 0 ; nDirection jge short AdaptSub AdaptAddLoop: movq mm0, [eax] paddw mm0, [ecx] movq [eax], mm0 movq mm1, [eax + 8] paddw mm1, [ecx + 8] movq [eax + 8], mm1 movq mm2, [eax + 16] paddw mm2, [ecx + 16] movq [eax + 16], mm2 movq mm3, [eax + 24] paddw mm3, [ecx + 24] movq [eax + 24], mm3 add eax, byte 32 add ecx, byte 32 dec edx jnz AdaptAddLoop emms ret ALIGN 16 AdaptSub: je short AdaptDone AdaptSubLoop: movq mm0, [eax] psubw mm0, [ecx] movq [eax], mm0 movq mm1, [eax + 8] psubw mm1, [ecx + 8] movq [eax + 8], mm1 movq mm2, [eax + 16] psubw mm2, [ecx + 16] movq [eax + 16], mm2 movq mm3, [eax + 24] psubw mm3, [ecx + 24] movq [eax + 24], mm3 add eax, byte 32 add ecx, byte 32 dec edx jnz AdaptSubLoop emms AdaptDone: ret ; ; int CalculateDotProduct ( const short* pA, const short* pB, int nOrder ) ; ; [esp+12] nOrder ; [esp+ 8] pB ; [esp+ 4] pA ; [esp+ 0] Return Address ALIGN 16 GLOBAL CalculateDotProduct_x86_mmx GLOBAL _CalculateDotProduct_x86_mmx CalculateDotProduct_x86_mmx: _CalculateDotProduct_x86_mmx: mov eax, [esp + 4] ; pA mov ecx, [esp + 8] ; pB mov edx, [esp + 12] ; nOrder shr edx, 4 pxor mm7, mm7 loopDot: movq mm0, [eax] pmaddwd mm0, [ecx] paddd mm7, mm0 movq mm1, [eax + 8] pmaddwd mm1, [ecx + 8] paddd mm7, mm1 movq mm2, [eax + 16] pmaddwd mm2, [ecx + 16] paddd mm7, mm2 movq mm3, [eax + 24] pmaddwd mm3, [ecx + 24] add eax, byte 32 add ecx, byte 32 paddd mm7, mm3 dec edx jnz loopDot movq mm6, mm7 psrlq mm7, 32 paddd mm6, mm7 movd [esp + 4], mm6 emms mov eax, [esp + 4] ret section .note.GNU-stack noalloc noexec nowrite progbits
22.325397
76
0.471383
3bd03fe75b873ca58f7e99776d496bb2dcec87e4
90
asm
Assembly
logic.asm
ovidiugabriel/logic-vm
1d8cc05262c68a897073a9bf6a7f6de53a615b76
[ "BSD-3-Clause" ]
null
null
null
logic.asm
ovidiugabriel/logic-vm
1d8cc05262c68a897073a9bf6a7f6de53a615b76
[ "BSD-3-Clause" ]
null
null
null
logic.asm
ovidiugabriel/logic-vm
1d8cc05262c68a897073a9bf6a7f6de53a615b76
[ "BSD-3-Clause" ]
null
null
null
not 0x00 0x00 mov 0x02 0x00 init 0x01 0xef init 0x03 0x01 orpos 0x01 0x04 0x03 0x03
15
25
0.744444
a555e3c80045b008fc81353d4542a287161abcc4
130
asm
Assembly
src/common/constants.asm
rainbowbismuth/gbg
4b6234ad30c9995b8d7678c6db05412043e64fa6
[ "BSD-3-Clause" ]
null
null
null
src/common/constants.asm
rainbowbismuth/gbg
4b6234ad30c9995b8d7678c6db05412043e64fa6
[ "BSD-3-Clause" ]
null
null
null
src/common/constants.asm
rainbowbismuth/gbg
4b6234ad30c9995b8d7678c6db05412043e64fa6
[ "BSD-3-Clause" ]
null
null
null
LCD_Y_VBLANK EQU 144 Work_RAM_Begin EQU $C000 Work_RAM_End EQU $CFFF Cartridge_RAM_Begin EQU $A000 Cartridge_RAM_End EQU $BFFF
14.444444
29
0.830769
657b378b9c0203b9e6c5ebb8f49edc0adea65a9d
147
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/chip/ys_msub0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/chip/ys_msub0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/chip/ys_msub0.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: ys_msub0.asm Type: file Size: 298457 Last-Modified: '2016-05-13T04:51:40Z' SHA-1: 3394406B395D3A6D04A10646AF637CA16B7BD276 Description: null
21
47
0.816327
6007ac911e0f8a9693900c2bdc1ed76ca8be6024
4,346
asm
Assembly
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_72_2590.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_72_2590.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_72_2590.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xe1d1, %rbp nop nop nop nop nop add %r12, %r12 and $0xffffffffffffffc0, %rbp movaps (%rbp), %xmm0 vpextrq $1, %xmm0, %r14 nop nop nop nop nop add %rbx, %rbx lea addresses_WC_ht+0x111d1, %r12 cmp $58358, %rdi movw $0x6162, (%r12) nop xor %r14, %r14 lea addresses_WC_ht+0x129b1, %rdi nop nop nop nop nop sub %r8, %r8 movb (%rdi), %dl nop nop nop nop nop add %rbp, %rbp lea addresses_UC_ht+0x898d, %rdi nop nop nop add $2675, %r12 mov $0x6162636465666768, %rbx movq %rbx, %xmm0 movups %xmm0, (%rdi) nop xor %rdi, %rdi lea addresses_D_ht+0x1e3e9, %rsi lea addresses_WC_ht+0x35d1, %rdi nop dec %rbp mov $17, %rcx rep movsl sub $17856, %r8 lea addresses_UC_ht+0x1cfad, %rsi lea addresses_A_ht+0x1ce41, %rdi clflush (%rsi) nop xor $29442, %rbp mov $107, %rcx rep movsb nop nop nop and $2575, %rbp lea addresses_WT_ht+0x1d647, %rsi lea addresses_WC_ht+0x58ad, %rdi nop nop nop nop nop dec %r14 mov $72, %rcx rep movsw nop nop nop sub $52682, %rsi lea addresses_UC_ht+0x1a9d1, %rbp nop nop nop nop nop add $19332, %rdi mov $0x6162636465666768, %rbx movq %rbx, (%rbp) nop nop nop add %r14, %r14 lea addresses_D_ht+0x153d1, %rsi lea addresses_D_ht+0x85d1, %rdi nop dec %r12 mov $121, %rcx rep movsw nop xor $43403, %rdi lea addresses_WC_ht+0x1ab71, %r12 nop nop nop nop and %rbx, %rbx mov $0x6162636465666768, %rdi movq %rdi, %xmm2 vmovups %ymm2, (%r12) nop nop nop cmp $4709, %r12 lea addresses_normal_ht+0x4f11, %rdi nop nop add $10491, %r14 mov $0x6162636465666768, %r8 movq %r8, (%rdi) nop nop and $20927, %rdx lea addresses_A_ht+0x121d1, %rcx xor $55623, %rbp vmovups (%rcx), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %rdi nop cmp $54785, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r8 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %r8 push %rbx push %rdi // Faulty Load lea addresses_US+0xd9d1, %r8 nop nop nop xor $30418, %r10 mov (%r8), %bx lea oracles, %rdi and $0xff, %rbx shlq $12, %rbx mov (%rdi,%rbx,1), %rbx pop %rdi pop %rbx pop %r8 pop %r14 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_US', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_US', 'same': True, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 16, 'congruent': 10, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 2, 'congruent': 11, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 5, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 16, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_UC_ht', 'same': True, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'00': 72} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
21.73
215
0.655315
3ce05939d9abab2b460f7d7efb4b21c3f07e9f1e
1,294
asm
Assembly
programs/oeis/024/A024551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/024/A024551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/024/A024551.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A024551: a(n) = floor(a(n-1)/(sqrt(5) - 2)) for n > 0 and a(0) = 1. ; 1,4,16,67,283,1198,5074,21493,91045,385672,1633732,6920599,29316127,124185106,526056550,2228411305,9439701769,39987218380,169388575288,717541519531,3039554653411,12875760133174,54542595186106,231046140877597,978727158696493,4145954775663568,17562546261350764,74396139821066623,315147105545617255,1334984562003535642,5655085353559759822,23955325976242574929,101476389258530059537,429860883010362813076,1820919921299981311840,7713540568210288060435,32675082194141133553579,138413869344774822274750,586330559573240422652578,2483736107637736512885061,10521274990124186474192821,44568836068134482409656344,188796619262662116112818196,799755313118782946860929127,3387817871737793903556534703,14351026800069958561087067938,60791925072017628147904806454,257518727088140471152706293753,1090866833424579512758729981465,4620986060786458522187626219612,19574811076570413601509234859912,82920230367068112928224565659259,351255732544842865314407497496947,1487943160546439574185854555647046,6303028374730601162057825720085130,26700056659468844222417157435987565,113103255012605978051726455464035389,479113076709892756429322979292129120 seq $0,49652 ; a(n) = (F(3*n+2) - 1)/4, where F=A000045 (the Fibonacci sequence). mul $0,3 add $0,1
184.857143
1,122
0.894127
e667eb5382ff30af71fd26447bb4423da867b492
796
asm
Assembly
oeis/293/A293143.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/293/A293143.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/293/A293143.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A293143: Number of vertex points in a Sierpinski Carpet grid subdivided into squares: a(n+1) = 8*a(n) - 8*(3^n+1), a(0) = 4. ; Submitted by Jamie Morken(s1) ; 4,16,96,688,5280,41584,330720,2639920,21101856,168762352,1349941344,10799058352,86391049632,691124145520,5528980409568,44231805012784,353854325311008,2830834258114288,22646673031792992,181173381154980016,1449387039941748384,11595096291639711856,92760770249434869216,742086161744430476848,5936689293202298384160,47493514343358950781424,379948114740093297375840,3039584917900411452380080,24316679343142286839160736,194533434744955280373646192,1556267477959093199970250464,12450139823671098470705246512 mov $1,8 mov $2,11 lpb $0 sub $0,1 mul $1,3 add $1,$2 sub $1,6 mul $2,8 lpe sub $1,8 mov $0,$1 mul $0,24 div $0,42 add $0,4
41.894737
501
0.811558
6a075d88d496d78a7f174faf65ce121ca5d3db30
442
asm
Assembly
libsrc/math/genmath/sgn.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/math/genmath/sgn.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/math/genmath/sgn.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; Z88dk Generic Floating Point Math Library ; ; set z and Z flags per fa ; ; $Id: sgn.asm,v 1.4 2016/06/21 21:16:49 dom Exp $: SECTION code_fp PUBLIC sgn PUBLIC setflgs EXTERN fa .sgn LD A,(fa+5) OR A RET Z LD A,(fa+4) DEFB $FE ;"ignore next byte" .setflgs CPL RLA SBC A,A RET NZ INC A RET
15.241379
51
0.454751
6186cabc103239c6615689e643332cbcba3e1e15
7,996
asm
Assembly
Transynther/x86/_processed/US/_st_4k_/i9-9900K_12_0xa0.log_21829_1773.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_st_4k_/i9-9900K_12_0xa0.log_21829_1773.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_st_4k_/i9-9900K_12_0xa0.log_21829_1773.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x4df4, %rsi lea addresses_A_ht+0xca74, %rdi nop nop nop nop xor %r15, %r15 mov $68, %rcx rep movsl nop nop and $56619, %rbp lea addresses_D_ht+0x4bf4, %rbx nop nop and $45213, %r9 mov $0x6162636465666768, %rbp movq %rbp, %xmm7 and $0xffffffffffffffc0, %rbx vmovntdq %ymm7, (%rbx) nop inc %rdi lea addresses_D_ht+0x1e44, %rcx nop nop nop nop add $6416, %r15 movl $0x61626364, (%rcx) inc %rbx lea addresses_D_ht+0x95f4, %rsi lea addresses_normal_ht+0x180ac, %rdi nop nop nop nop nop and %r12, %r12 mov $31, %rcx rep movsl nop nop nop nop nop sub %rsi, %rsi lea addresses_A_ht+0x1e374, %rdi nop nop nop nop inc %r15 movw $0x6162, (%rdi) nop cmp $6420, %rbx lea addresses_WT_ht+0x15f94, %rdi nop nop nop nop sub $5203, %r9 mov $0x6162636465666768, %rcx movq %rcx, %xmm2 movups %xmm2, (%rdi) nop nop nop nop inc %r15 lea addresses_A_ht+0x9064, %rsi lea addresses_D_ht+0x2274, %rdi xor $36593, %r9 mov $109, %rcx rep movsq sub %r15, %r15 lea addresses_WT_ht+0x1c4f4, %rbx nop nop nop nop nop add %rcx, %rcx mov (%rbx), %ebp nop sub $30812, %r9 lea addresses_UC_ht+0x190f4, %rsi lea addresses_A_ht+0x172f4, %rdi nop nop nop dec %rbx mov $72, %rcx rep movsq nop nop nop nop nop inc %r12 lea addresses_WT_ht+0x1b82c, %r12 and $35615, %r15 movb (%r12), %r9b nop nop nop nop add $13124, %r15 lea addresses_WT_ht+0x1a934, %rdi cmp %rbx, %rbx mov (%rdi), %r9 nop nop dec %rdi lea addresses_UC_ht+0xe634, %rbx nop nop add %r15, %r15 mov (%rbx), %edi nop nop nop add %r15, %r15 lea addresses_WC_ht+0x1e1f4, %rbx nop cmp %rdi, %rdi mov $0x6162636465666768, %r9 movq %r9, %xmm5 and $0xffffffffffffffc0, %rbx movaps %xmm5, (%rbx) nop add %rbx, %rbx lea addresses_WC_ht+0x6274, %rsi lea addresses_WC_ht+0xb5f4, %rdi clflush (%rsi) nop nop add %r15, %r15 mov $110, %rcx rep movsw nop nop xor %r9, %r9 pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r9 pop %r15 pop %r12 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r15 push %r8 push %r9 push %rbx push %rdx // Store lea addresses_D+0x1dbb8, %rdx nop nop nop nop xor %rbx, %rbx movw $0x5152, (%rdx) nop sub %r8, %r8 // Store lea addresses_D+0x1f5f4, %r15 nop nop add %r12, %r12 movb $0x51, (%r15) sub %r15, %r15 // Faulty Load lea addresses_US+0x155f4, %r15 clflush (%r15) nop nop nop nop nop inc %r14 movb (%r15), %bl lea oracles, %r15 and $0xff, %rbx shlq $12, %rbx mov (%r15,%rbx,1), %rbx pop %rdx pop %rbx pop %r9 pop %r8 pop %r15 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_D', 'AVXalign': True, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_D', 'AVXalign': False, 'size': 1}} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 9, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 4}} {'src': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 16}} {'src': {'same': False, 'congruent': 4, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}} {'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}} {'src': {'NT': True, 'same': False, 'congruent': 3, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_WC_ht', 'AVXalign': True, 'size': 16}} {'src': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}} {'51': 21829} 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 */
33.178423
2,999
0.655953
ad70d438a106fd6a19185e4a73c2f2e325b558d0
164
asm
Assembly
ffight/lcs/1p/1F.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
ffight/lcs/1p/1F.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/1p/1F.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 00A2D4 clr.b ($1f,A4) 00A2D8 clr.l ($20,A4) copyright zengfr site:http://github.com/zengfr/romhack
23.428571
54
0.719512
ad86778f3d796fd4c02da76c8df4d9af8decdebd
2,589
asm
Assembly
code/entry.asm
NEMESIS13cz/SysBench
f8ea62a7866d8df2ae726a84e26617c08c8f9be0
[ "MIT" ]
3
2018-02-26T20:09:33.000Z
2018-03-07T20:46:01.000Z
code/entry.asm
NEMESIS13cz/SysBench
f8ea62a7866d8df2ae726a84e26617c08c8f9be0
[ "MIT" ]
null
null
null
code/entry.asm
NEMESIS13cz/SysBench
f8ea62a7866d8df2ae726a84e26617c08c8f9be0
[ "MIT" ]
null
null
null
[BITS 32] section .multiboot ; multiboot header align 4 dd 0x1BADB002 ; graphical dd 0x06 dd -(0x1BADB002 + 0x06) times 5 dd 0 dd 0 dd 1920 dd 1080 dd 32 ; textmode ;dd 0x02 ;dd -(0x1BADB002 + 0x02) ;times 9 dd 0 section .text global __start__ extern __setup_kernel_entry mem_eax: dd 0 mem_ebx: dd 0 ; Entry point of the system __start__: cli mov esp, reserved_stack_space mov ebp, reserved_stack_space mov [mem_eax], eax mov [mem_ebx], ebx lidt [entry_idt64] .set_PML4T: mov eax, PDPT or eax, 3 mov ebx, PML4T mov [ebx], eax .set_PDPT: mov eax, PDT or eax, 3 mov ebx, PDPT .PDPT_loop: mov [ebx], eax add ebx, 8 add eax, 4096 cmp ebx, PDPT+32 jl .PDPT_loop .set_PDT: mov eax, PT or eax, 3 mov ebx, PDT .PDT_loop: mov [ebx], eax add ebx, 8 add eax, 4096 cmp ebx, PDT+16384 jl .PDT_loop .set_PT: mov eax, 3 mov ebx, PT .PT_loop: mov ecx, 0 cmp eax, 0xFEE00000 jl .skip_cache cmp eax, 0x100000 jge .skip_cache mov ecx, 0x10 .skip_cache: mov [ebx], eax or [ebx], ecx add ebx, 8 add eax, 4096 cmp ebx, PT+8388608 jl .PT_loop mov eax, PML4T mov cr3, eax mov eax, cr4 or eax, 0xA0 mov cr4, eax mov ecx, 0xC0000080 rdmsr or eax, 0x00000100 wrmsr mov ebx, cr0 or ebx, 0x80000000 mov cr0, ebx lgdt [entry_gdt64.gdt_pointer] jmp entry_gdt64.gdt_code:entry_long_mode [BITS 64] entry_long_mode: cli mov ax, entry_gdt64.gdt_data mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax mov rsp, reserved_stack_space mov rbp, reserved_stack_space mov eax, [mem_eax] mov ebx, [mem_ebx] mov rdi, rbx mov rsi, rax call __setup_kernel_entry cli entry_halt: hlt jmp entry_halt entry_gdt64: .gdt_null: equ $ - entry_gdt64 dw 0 dw 0 db 0 db 0 db 0 db 0 .gdt_code: equ $ - entry_gdt64 dw 0 dw 0 db 0 db 0x9A db 0x20 db 0 .gdt_data: equ $ - entry_gdt64 dw 0 dw 0 db 0 db 0x92 db 0 db 0 .gdt_pointer: dw $ - entry_gdt64 - 1 dq entry_gdt64 entry_idt64: dw 0 dd 0 section .bss align 0x1000 PML4T: ; 1 PML4 Table resb 4096 align 0x1000 PDPT: ; 1 Page Directory Pointer Table resb 4096 align 0x1000 PDT: ; 4 Page Directory Tables resb 16384 align 0x1000 PT: ; 2048 Page Tables - 4 GiB resb 8388608 align 16 times 8192 resb 0 reserved_stack_space:
14.965318
44
0.60757
3bb52e680cdd8b532a3913c04abc87a16b67c496
385
asm
Assembly
programs/oeis/115/A115299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/115/A115299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/115/A115299.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A115299: Greatest digit of n + least digit of n. Different from A088133. ; 2,4,6,8,10,12,14,16,18,1,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,11,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,11,12,13,5,6,7,8,9,10,11,12,13,14,6,7,8,9,10,11,12,13,14,15,7,8,9,10,11,12,13,14,15,16,8,9,10,11,12,13,14 mov $1,$0 add $0,1 add $1,1 lpb $1 mov $2,$0 mov $0,$1 mod $0,10 div $1,10 lpe add $0,$2
27.5
211
0.594805
98fb4c4fb84baefb4124ecaa43d0c90c0a7545bd
1,632
asm
Assembly
pwnlib/shellcraft/templates/amd64/android/execve.asm
IMULMUL/python3-pwntools
61210a68cd88e9084c72292d3119c38c44f07966
[ "MIT" ]
325
2016-01-25T08:38:06.000Z
2022-03-30T14:31:50.000Z
pwnlib/shellcraft/templates/amd64/android/execve.asm
IMULMUL/python3-pwntools
61210a68cd88e9084c72292d3119c38c44f07966
[ "MIT" ]
8
2016-08-23T10:15:27.000Z
2019-01-16T02:49:34.000Z
pwnlib/shellcraft/templates/amd64/android/execve.asm
IMULMUL/python3-pwntools
61210a68cd88e9084c72292d3119c38c44f07966
[ "MIT" ]
71
2016-07-13T10:03:52.000Z
2022-01-10T11:57:34.000Z
<% from pwnlib.shellcraft import amd64, registers from pwnlib.util.misc import force_bytes from pwnlib.abi import linux_amd64_syscall as abi %> <%docstring> Execute a different process. Attempts to perform some automatic detection of types. Otherwise, the arguments behave as normal. - If ``path`` is a string that is not a known register, it is pushed onto the stack. - If ``argv`` is an array of strings, it is pushed onto the stack, and NULL-terminated. - If ``envp`` is an dictionary of {string: string}, it is pushed onto the stack, and NULL-terminated. Example: >>> path = '/bin/sh' >>> argv = ['sh', '-c', 'echo Hello, $NAME; exit $STATUS'] >>> envp = {'NAME': 'zerocool', 'STATUS': '3'} >>> sc = shellcraft.amd64.linux.execve(path, argv, envp) >>> io = run_assembly(sc) >>> io.recvall() b'Hello, zerocool\n' >>> io.poll(True) 3 </%docstring> <%page args="path='/system/bin//sh', argv=[], envp={}"/> <% if isinstance(envp, dict): envp = [force_bytes(k) + b'=' + force_bytes(v) for (k, v) in envp.items()] args_reg = abi.register_arguments[2] env_reg = abi.register_arguments[3] %> % if isinstance(argv, (list, tuple)): ${amd64.pushstr_array(abi.register_arguments[3], argv)} <% argv = abi.register_arguments[3] %> % endif % if isinstance(envp, (list, tuple)): ${amd64.pushstr_array(abi.register_arguments[2], envp)} <% envp = abi.register_arguments[2] %> % endif % if isinstance(path, (bytes, str)) and not registers.is_register(path): ${amd64.pushstr(path)} <% path = 'rsp' %> %endif ${amd64.syscall('SYS_execve', path, argv, envp)}
31.384615
78
0.654412