a solution to getch()

2008-10-01 Thread Brandon
csetattr( STDIN_FILENO, TCSANOW, &newt ); ch = getchar(); tcsetattr( STDIN_FILENO, TCSANOW, &oldt ); return ch; } /*this point down was coded by Brandon Camadine*/ void mygetchs(int length,char array[],int display) { int x; array[length-1]='\0'; while(array[x]!='\0')

announce: The C Conference; San Diego, CA; August 28th

2012-05-16 Thread Brandon Philips
en now and tickets are available. Let us know what you want to see at the conference. http://www.cconf.org/pfc/ See you there. Brandon

GCC Plugin Announcement; CTraps - Lightweight dynamic analysis for concurrent code

2013-01-23 Thread Brandon Lucia
sit my website: http://brandonlucia.com Thanks! -Brandon Lucia

MIPS: Changing the PC stored from a "and link" instruction

2011-02-17 Thread Brandon H. Dwiel
mpiler expects the PC of the instruction directly after the branch to be put in the $ra register. I cannot locate where it is specified that PC+8 of an "and link" instruction is to be put in the $ra so that I may change it. -Brandon

Re: MIPS: Changing the PC stored from a "and link" instruction

2011-02-18 Thread Brandon H. Dwiel
PC of the first instruction of .cpload into $ra (the instruction after bal), then .cpload still functions correctly. -Brandon On 02/18/2011 01:43 AM, Ian Lance Taylor wrote: "Brandon H. Dwiel" writes: I would like to make the changes necessary so that the compiler expects the