Thursday, December 30, 2010

BMP 1.0.2 488 command line compile

On my dell 620, I succeeded in compiling Win32 flavor of a sample app
C:\bmpSampleCode\samples\c_basicapp>

following the steps here:

https://developer.brewmp.com/resources/primers/brew-mp-developer-primer/command-line-primer/building-application#

Thursday, June 3, 2010

ARM BPABI: Base Platform Arm Binary Interface

From ARM Linker user manual:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0206g/Babcabdi.html

6.1. Introduction

The Base Platform ABI for the ARM Architecture [BPABI] governs the format and content of executable and shared object files generated by static linkers. It supports platform-specific executable files using post linking and provides a base standard that is used to derive a platform ABI. The standard defines three platform families based on the shared object model:

  • Bare metal

  • DLL-like

  • System V release 4 (SVr4).

The linker conforms to the BPABI and so enables you to:

  • link a collection of objects and libraries into a:

    • Bare metal executable image

    • BPABI DLL or SVr4 shared object

    • BPABI or SVr4 executable file.

  • link a collection of objects against shared libraries

  • partially link a collection of objects into an object that can be used as input to a subsequent link step.

Thursday, May 20, 2010

What is the register IP in ARM assembler?

"ip" means intra procedure call scratch register (r12)

As in:

orr ip, pc, #1
bx ip

Thursday, April 15, 2010

What is SPRITE in computer graphics?

A graphic image that can move within a larger graphic. Animation software that supports sprites enables the designer to develop independent animated images that can then be combined in a larger animation. Typically, each sprite has a set of rules that define how it moves and how it behaves if it bumps into another sprite or a static object.

Monday, March 22, 2010

Question about Brew style .mod entryfunc: is it called for each process?

For a statically linked Foo.mod with FooAEEMod_New(), is FooAEEMod_New() called for each process?

Friday, December 25, 2009

Christmas 2009 Projects

  1. Our iMac is running slow because the hard drive full. TimeMachine has grinded into a halt due to lack of backup drive space. It is high time to install a NAS, which I did between thanksgiving and Christmas. After research, I bought Synology DS209 NAS with a 1GB WD green SATA drive. I have setup File station (http://soulzeng.homeunix.com:7000), iTunes share server, photo station (http://soulzeng.homeunix.com:7000) and wed server with it. So far, so good.
  2. My second project is to upgrade my home linux laptop running Fedora9. It's about 2 years old. So I upraded it to Fedora 10. Tried "preupgrade" GUI tool, but failed. Ended up using yum and command line upgrade, following RedHat instructions. It was painless.
  3. My third project is the real deal: install Virtual Machine to run Ubuntu and Windows 7 on this PC. So I followed the instruction on how to install virtualbox on fedora 10 on http://www.derekhildreth.com