CFLAGS to get assembly and c code together
export CFLAGS = -Wall -g -Wa,-a,-ad,-ahls=$@.lst
Blue Ink
Weird thing about some government forms is you cant use blue ink. There should be a list of reasons for this. Here are some of my suggestions.
And the color shall be black. Not Grey, nor green or yellow. Red is right out.
If any other color than black is used the writer shall perform tracing jobs over all blue.
The reader of this document may be color blind to any color than black.
Inline Assembly set / clear status register
/*Lock Interupts*/
uint16 srTemp;
asm volatile (”move.w %%sr, %0;” : “=r”(srTemp)::/*none*/);
asm volatile (”move.w #0×2700, %sr;”); /* Lock out interrupts */
Assembly listing from a make file
%.o: %.cpp $(HEADERS)
@$(CC) -c $(CFLAGS) -c -g -Wa,-a,-ad,-ahls=$@.lst $(INCPATH) $< -o $@
@echo Compiling $<
Visual Command Alpha 0.0.0.0.0.1
I have been playing around with this idea since I graduated in May. I learned a lot about QT from this project.
It can dynamically create an interface for a command prompt application.
It currently uses check boxes, numerical integer , and strings as inputs.
Files, doubles, and sliders will be next, along with a way to upload/download GUI interfaces to a server.
It was built using QT over the previous month. Never used Qt before so it was more of a learning experience.
Calling base function, and base constructor C++
class ParentClass{
ParentClass(){
}
void FunctionA(){
}
}
class ChildClass:ParentClass{
ChildClass():ParentClass(){
}
void FunctionA(){
ParentClass::FunctionA();
}
}
Favorite Applications
Launcy – http://sourceforge.net/projects/launchy/
Launchy is a free windows utility designed to help you forget about your start menu, your desktop icons, and your file manager. Launchy indexes and launches your applications, documents, project files, folders, and bookmarks with just a few keystrokes!
Synergy – http://sourceforge.net/projects/synergy2/
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own display.

