Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: Irwin
Forum: Assembly Mar 14th, 2008, 10:19 PM
Replies: 8
Views: 405
Posted By Irwin
Re: Deleting chracters

Such an useless argument...

Anyway, just AND the byte (assuming it's ANSI) by 0xDF, that should force it go to uppercase and that is faster than any of the aforementioned arguments. After doing so...
Forum: Assembly Mar 10th, 2008, 10:41 AM
Replies: 10
Views: 613
Posted By Irwin
Re: [MASM32] Working with arrays

Oh, the problems aren't in your linking flags but rather your compiler flags. Just add /GS- to your compiler flags.

Good luck :)

Also, it's fine; I also code in C(++) :P
Forum: Assembly Mar 10th, 2008, 6:51 AM
Replies: 10
Views: 613
Posted By Irwin
Re: [MASM32] Working with arrays

Post your complete source and assembler/link flags and I'll find your problem.
Forum: Assembly Mar 10th, 2008, 2:33 AM
Replies: 7
Views: 466
Posted By Irwin
Re: [x86]Instruction test setting the zero flag

Fortunately for me, the first page goes back further than 6 months :) Albeit the fact that the main benefactors of the thread probably won't see it, others who are looking into the subject probably...
Forum: Assembly Mar 10th, 2008, 2:30 AM
Replies: 10
Views: 613
Posted By Irwin
Re: [MASM32] Working with arrays

HeapAlloc is only recommended for small buffers, so for anything from 64-1024 bytes I use GlobalAlloc (then use VirtualAlloc for anything larger). Anyway, for a function like GetKeyboardState (which...
Forum: C++ Mar 9th, 2008, 7:32 AM
Replies: 17
Views: 578
Posted By Irwin
Re: Console Game Development

Stupid methodology by the previous posters, it is quite simple to just parse results from ReadConsoleInput and do all the raw handling from there.
Forum: Assembly Mar 9th, 2008, 7:29 AM
Replies: 7
Views: 466
Posted By Irwin
Re: [x86]Instruction test setting the zero flag

Arguing about the readability of things such as 'XOR REG,REG'/'TEST REG,REG' is stupid. Someone should not be complaining about how they can understand somebody elses source when it's such a simple...
Forum: Assembly Mar 9th, 2008, 7:27 AM
Replies: 5
Views: 325
Posted By Irwin
Re: Multiple program execution

Set a breakpoint on CreateMutexA/W and see if that yields any results.
Forum: Assembly Mar 9th, 2008, 7:24 AM
Replies: 10
Views: 613
Posted By Irwin
Re: [MASM32] Working with arrays

IsKeyPressed proc Key:DWORD
mov ecx, [dwKey]
movzx eax, byte [gKeys+ecx]
test eax, eax
sete al
ret
IsKeyPressed endp

InputCreate proc
push 256d
Showing results 1 to 9 of 9

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:28 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC