bad instruction: swp r1, r3, [r2]

Posted by lobotony at 29/09/08 23:22

I encountered this error while porting our engine over to boost 1.36 and luabind 0.7.1 rc1. Compiling for the iphone brought this up on all of the boost cpp files and all of our lua wrapper implementations. The reason? ARM cpus understand regular 32bit code and a 16bit “thumb” variant. iPhone SDK projects default to thumb code generation. Do a “Get Info” on your device target, look at the “Build” tab and search for thumb read more »

1 comment | tags: , , | categories: iPhone / iPod

First iPhone screenshot

Posted by jomanto at 20/08/08 8:07

Yes, we finally arrived on the iPhone. The cool thing is that this is our x-platform code that is also running on PCs. Here’s a first look at our model importer test. This is well known Kenny with 22542 faces running at 30fps.

Kenny

Binding static const member variables with luabind

Posted by lobotony at 17/06/08 10:03

I just tried to bind static const member variables of a class, and was a bit puzzled why scope and/or def_readonly wouldn’t work. Silly me! turns out I don’t have to bind, just put them in the global table at the appropriate place. Here’s an interesting article that also mentions some nice macros. Since my lua states are seldom called L, I present my improved variants of said macros:read more »

no comments | categories: interesting

Typo of the day

Posted by lobotony at 17/06/08 1:21

boost::shred_ptr

3 comments | categories: retarded

The Golden Gate, BIATCH!

Posted by jomanto at 03/06/08 4:43

I finally made it to the #1 tourist attraction around San Francisco: The Golden Gate Bridge
Golden Gate BridgeGolden Gate BridgeGolden Gate Bridge
read more »

Game State Management

Posted by lobotony at 31/05/08 17:00

This paper here is the best read on games and state machines I have found in a long time. 

San Francisco Diary #1

Posted by jomanto at 27/05/08 20:37

So these are my first days in San Francisco…
I already had 2 awesome nights and got to check out the first clubs around.Our hotel is located directly in front of the Chinatown Gate and it’s a 5 minute walk to the Union Square and downtown area.read more »

lostgenius l-system is going 3d!!!1111

Posted by jomanto at 22/05/08 6:29

Wallpaper

random L-system shots

Posted by jomanto at 14/05/08 13:13

tree fractal fractal

fractal fractal

to steve

Posted by lobotony at 13/05/08 23:51
  • to destroy man months of hardly reproducible work
  • to absolutely annihilate a productive evening
  • apt-get dist-upgrade; <fuckup>; exit;

Monthly Archives