ARM Compiler Image now available for download

Paul-e-wogg suggested that I put my compiler on a DMG to make it easier for everyone. I don’t know why I didn’t do that in the first place, so thank you for pointing that out to me! So I dug up one of the DMGs that I had made and put it up. If there are any issues with it, please let me know so that I can fix them.

The DMG is now available on the Downloads page.

Using Angry Ant’s Behave Library in UnityScript

I have been learning how to use Unity3D recently, and I really wanted to use the Behave library without having to use C#. It took me a little while, but here is an example of doing it:

#pragma strict

 

// Where we store our new Behave Tree

var BTree : Behave.Runtime.Tree;

 

// Where we store our Behave IAgent

var Agent : BSIAgent;

 

// Where we implement all of our Behave level functions

public class BSIAgent implements Behave.Runtime.IAgent {

 

public function Tick (sender : Behave.Runtime.Tree, init : System.Boolean) {

Debug.Log(“Tick”);

return Behave.Runtime.BehaveResult.Success;

}

 

public function Reset (sender : Behave.Runtime.Tree) {

}

 

public function SelectTopPriority (sender : Behave.Runtime.Tree, IDs : int[]){

return IDs[0];

}

}

 

function Start() {

// Create a new agent

Agent = new BSIAgent();

// Create our tree

BTree = BLBasicMiner.InstantiateTree( BLBasicMiner.TreeType.Task_Systems_BasicTS,   Agent   );

// While the application is running and our tree exists

while (Application.isPlaying && minerTree != null) {

// Wait for a certain amount of time

yield new WaitForSeconds(1.0f / minerTree.Frequency);

// Tick the tree

AIUpdate();

}

}

 

function AIUpdate() {

BTree.Tick();

}

Yes, this is a bit of a hack, but I haven’t had much time to refine it. Hopefully in the future I will be able to provide a more readable version.

QEMU on Mac? Use Q!

Q is QEMU with a coca GUI on the front, and it works amazing! I’ve been testing it out the past few days, and I have yet to have a problem with it. Instead of trying to compile QEMU yourself on Mac OSX (Lion or otherwise), go to the Q Homepage and check it out.

I am using version 0.9.1d118, and that one works. I am actually running a kernel that I wrote myself on it, and no problems yet!

Dispelling the Sourcery and making it GNU

With QEMU currently on the back burner, I am taking some time to compile and install the arm GCC in a more GNU-style manner. The reason for this is due to the fact that I do not want to spend time adding the library paths for it each and every time I cross compile something using Mac’s GCC. So within the next month, at max, I will have a new link up for the build script that will install it as a GNU GCC. As an added bonus, this one will not need the GNU cp and tar.

RPi Compiler Binaries now Available

Downloads Page

The links below no longer work. Use the above link.

Finally got around to putting these up on my fileJungle Account. I would have put them up sooner, but homework has been crazy. Who knew that college would be so tough ? Duh!

I also put up my disk image just in case the bins don’t work for some reason.

RPi : Binaries

RPi : DiskImage

QEMU working on Mac OSX Lion…. Mostly.

I finally got QEMU to compile! It took me a little bit to figure out everything that it needed, but I finally got it! However, a couple of the romfiles that it needs to run never compiled. They are vgabios-cirrus.bin and pxe-e1000.rom. Guess I get to go back in and figure out what went wrong.

If anyone has any insights, please leave a comment or send me an email.

UPDATE: If you want to use QEMU on Mac, use the application called Q, which is a mac wrapper for a successful build of QEMU. Link to post on Q