Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Source Help

do not know where is the bug

A community discussion post from the original code:zIRON forum.

Replies

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

oh , thanks.

BTW , are you willing in the near future implementing expression , something like this

function abs1(int32 val) 
{
   eax = val;
   cdq              
   xor eax, edx 
   sub eax, edx 
}

int32 screenwidth = 1014;
eax = GetSystemMetrics (SM_CXSCREEN);
int32 cx = abs( eax - screenwidth)/2;   // this what i want

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

This is one of my important to-do list, it just is a bit of a pain in the butt atm... but i hope to work more on this asap.