File tree Expand file tree Collapse file tree 8 files changed +137
-6
lines changed Expand file tree Collapse file tree 8 files changed +137
-6
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,11 @@ extern "C" void op_rcl(RECDATA *pRecData) XASM("op_rcl");
48
48
extern "C " void op_rcr(RECDATA *pRecData) XASM(" op_rcr ");
49
49
extern "C " void op_cpuid(RECDATA *pRecData) XASM(" op_cpuid ");
50
50
extern "C " void op_bswap(RECDATA *pRecData) XASM(" op_bswap ");
51
+ extern "C " void op_bt(RECDATA *pRecData) XASM(" op_bt ");
51
52
extern "C " void op_bsf(RECDATA *pRecData) XASM(" op_bsf ");
53
+ extern "C " void op_bsr(RECDATA *pRecData) XASM(" op_bsr ");
54
+ extern "C " void op_bts(RECDATA *pRecData) XASM(" op_bts ");
55
+ extern "C " void op_btr(RECDATA *pRecData) XASM(" op_btr ");
56
+ extern "C " void op_btc(RECDATA *pRecData) XASM(" op_btc ");
57
+
52
58
#endif // ASM_H
Original file line number Diff line number Diff line change @@ -256,3 +256,45 @@ op_bsf:
256
256
__ENTER
257
257
bsf rax , rcx
258
258
__LEAVE
259
+ #################################
260
+ # BSR
261
+ #################################
262
+ .globl op_bsr
263
+ op_bsr:
264
+ __ENTER
265
+ bsr rax , rcx
266
+ __LEAVE
267
+ #################################
268
+ # BT
269
+ #################################
270
+ .globl op_bt
271
+ op_bt:
272
+ __ENTER
273
+ bt rax , rcx
274
+ __LEAVE
275
+ #################################
276
+ # BTS
277
+ #################################
278
+ .globl op_bts
279
+ op_bts:
280
+ __ENTER
281
+ bts rax , rcx
282
+ __LEAVE
283
+ #################################
284
+ # BTR
285
+ #################################
286
+ .globl op_btr
287
+ op_btr:
288
+ __ENTER
289
+ btr rax , rcx
290
+ __LEAVE
291
+ #################################
292
+ # BTC
293
+ #################################
294
+ .globl op_btc
295
+ op_btc:
296
+ __ENTER
297
+ btc rax , rcx
298
+ __LEAVE
299
+ ;################################
300
+ ;################################
Original file line number Diff line number Diff line change @@ -258,4 +258,46 @@ op_bsf PROC
258
258
bsf eax , ecx
259
259
__LEAVE
260
260
op_bsf ENDP
261
+ ;################################
262
+ ; BSR
263
+ ;################################
264
+ op_bsr PROC
265
+ __ENTER
266
+ bsr eax , ecx
267
+ __LEAVE
268
+ op_bsr ENDP
269
+ ;################################
270
+ ; BT
271
+ ;################################
272
+ op_bt PROC
273
+ __ENTER
274
+ bt eax , ecx
275
+ __LEAVE
276
+ op_bt ENDP
277
+ ;################################
278
+ ; BTS
279
+ ;################################
280
+ op_bts PROC
281
+ __ENTER
282
+ bts eax , ecx
283
+ __LEAVE
284
+ op_bts ENDP
285
+ ;################################
286
+ ; BTR
287
+ ;################################
288
+ op_btr PROC
289
+ __ENTER
290
+ btr eax , ecx
291
+ __LEAVE
292
+ op_btr ENDP
293
+ ;################################
294
+ ; BTC
295
+ ;################################
296
+ op_btc PROC
297
+ __ENTER
298
+ btc eax , ecx
299
+ __LEAVE
300
+ op_btc ENDP
301
+ ;################################
302
+ ;################################
261
303
END
Original file line number Diff line number Diff line change @@ -261,7 +261,48 @@ op_bsf PROC
261
261
bsf rax , rcx
262
262
__LEAVE
263
263
op_bsf ENDP
264
-
264
+ ;################################
265
+ ; BSR
266
+ ;################################
267
+ op_bsr PROC
268
+ __ENTER
269
+ bsr rax , rcx
270
+ __LEAVE
271
+ op_bsr ENDP
272
+ ;################################
273
+ ; BT
274
+ ;################################
275
+ op_bt PROC
276
+ __ENTER
277
+ bt rax , rcx
278
+ __LEAVE
279
+ op_bt ENDP
280
+ ;################################
281
+ ; BTS
282
+ ;################################
283
+ op_bts PROC
284
+ __ENTER
285
+ bts rax , rcx
286
+ __LEAVE
287
+ op_bts ENDP
288
+ ;################################
289
+ ; BTR
290
+ ;################################
291
+ op_btr PROC
292
+ __ENTER
293
+ btr rax , rcx
294
+ __LEAVE
295
+ op_btr ENDP
296
+ ;################################
297
+ ; BTC
298
+ ;################################
299
+ op_btc PROC
300
+ __ENTER
301
+ btc rax , rcx
302
+ __LEAVE
303
+ op_btc ENDP
304
+ ;################################
305
+ ;################################
265
306
_TEXT ENDS
266
307
267
308
END
Original file line number Diff line number Diff line change 29
29
30
30
cd winloader_source
31
31
32
- cl.exe /c winloader.cpp /D_USING_V110_SDK71_
32
+ cl.exe /c winloader.cpp /D_USING_V110_SDK71_ /GS- /Oi-
33
33
Rc.exe /v %RES_FILE% .rc
34
- link.exe winloader.obj %RES_FILE% .res user32.lib kernel32.lib shell32.lib /SUBSYSTEM:WINDOWS,5.01 /ENTRY:entry /OUT:%SOURCE_PATH% \build\loader\%GUIEXE%
34
+ link.exe winloader.obj %RES_FILE% .res user32.lib kernel32.lib shell32.lib /NODEFAULTLIB /SAFESEH:NO / SUBSYSTEM:WINDOWS,5.01 /ENTRY:entry /OUT:%SOURCE_PATH% \build\loader\%GUIEXE%
35
35
del /s winloader.obj
36
36
del /s %RES_FILE% .res
37
37
Original file line number Diff line number Diff line change 29
29
30
30
cd winloader_source
31
31
32
- cl.exe /c winloader.cpp
32
+ cl.exe /c winloader.cpp /D_USING_V110_SDK71_ /GS- /Oi-
33
33
Rc.exe /v %RES_FILE% .rc
34
- link.exe winloader.obj %RES_FILE% .res user32.lib kernel32.lib shell32.lib /SUBSYSTEM:WINDOWS /ENTRY:entry /OUT:%SOURCE_PATH% \build\loader\%GUIEXE%
34
+ link.exe winloader.obj %RES_FILE% .res user32.lib kernel32.lib shell32.lib /NODEFAULTLIB /SAFESEH:NO / SUBSYSTEM:WINDOWS,5.01 /ENTRY:entry /OUT:%SOURCE_PATH% \build\loader\%GUIEXE%
35
35
del /s winloader.obj
36
36
del /s %RES_FILE% .res
37
37
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ GuiMainWindow::GuiMainWindow(QWidget *parent) :
30
30
setWindowTitle (QString (" %1 v%2" ).arg (X_APPLICATIONNAME).arg (X_APPLICATIONVERSION));
31
31
32
32
QFont font=ui->lineEditOpcode ->font ();
33
- font.setPointSizeF (font.pointSizeF ()*2 );
33
+ font.setPointSizeF (font.pointSizeF ()*1.5 );
34
34
font.setBold (true );
35
35
ui->lineEditOpcode ->setFont (font);
36
36
You can’t perform that action at this time.
0 commit comments