gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Announcements And Comments > Metal Warrior 4: Agents of Metal (C64 game port)

#109967 - cadaver - Thu Nov 23, 2006 7:35 pm

Hi, I've ported my 2003 C64 game to the GBA. It runs by creating a stripped down 6510 CPU enviroment, where slightly modified C64 game code can execute. SID chip is also emulated in a simple manner, and graphics update, file access and rest of the stuff happens via "API calls".

I also did various improvements & redesign that the original C64 version couldn't have because of CPU power, memory & diskspace shortage.

The game itself is a sideview action-adventure with story.

Should work fine with flashcarts with SRAM save, or emulators like VisualBoyAdvance.

Screenshot: http://covertbitops.c64.org/mw4gba.png
Binary: http://covertbitops.c64.org/games/mw4gba.zip
Source: http://covertbitops.c64.org/games/mw4gbasrc.zip

#110793 - QuantumDoja - Fri Dec 01, 2006 4:30 pm

Well Done!!! How long did that take you?
_________________
Chris Davis

#110995 - cadaver - Sun Dec 03, 2006 1:53 pm

Hi, the original C64 game was worked on on and off during a period of roughly one and half years (2002-2003). The GBA port with all improvements & testing took maybe 3 weeks.

Last edited by cadaver on Sun Dec 03, 2006 1:59 pm; edited 1 time in total

#111051 - QuantumDoja - Sun Dec 03, 2006 8:39 pm

wow 3 weeks!! amazing...what did you write it in c/c++ or asm?
_________________
Chris Davis

#111070 - cadaver - Sun Dec 03, 2006 10:37 pm

It turned out C was fast enough even for CPU emulation & sound mixing, so I didn't have to venture to coding ARM assembly. You can check all the .C files from the source, it isn't even much code. (C64 side is of course pure assembly, and that's also where most improvements took place once the GBA side engine was in place)

#119431 - cadaver - Thu Feb 22, 2007 10:54 pm

Updated to version 1.1:

- Added autosave on level change
- Added automatic health regain up to 1/3 health after taking near-fatal damage
- Fixed actor lower part getting displayed only partially when overlapping the
bottom border
- Fixed actor animation while reloading the flamethrower & moving

Download locations have stayed the same.