This is a static version of site. Features like login and search do not work.
Rex Forum

A site to discuss the Rex MicroPDA and related stuff
Log in Register FAQ Links Memberlist Search Rex Forum Forum Index

Rex Forum Forum Index -> Addins -> rex 6000 programming
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
rex 6000 programming
PostPosted: Mon Apr 04, 2005 11:10 pm Reply with quote
Nelo
Member
 
Joined: 02 Apr 2005
Posts: 2




I downloaded the "battle" game and it came with the source code file battle.c does anyone know how compile it into a rex file?
View user's profile Send private message
: rex 6000 programming
PostPosted: Wed Apr 13, 2005 6:06 am Reply with quote
JonSpence
Member
 
Joined: 27 Oct 2004
Posts: 3




First you will need to download a ddk.
I use RexDK which you can download from this helpfull rex user
http://www.rexstuff.com/
You will need to edit the make.bat file in each project directory so that the Paths are right, try on
CalDemo or the sample project.

It is easier to use a command window (MSDos prompt) so that you can see if there are any compelation errors.

Now the autor of battle obviously used a different DDK as lines 390 and 391 give problems.
Move the lines that definition weak and strong to just below armorlist

Ie move these to global definitions and the file will compile but you still will not have an addin. You need a battle.bmp file and battle.txt is used to name the addin. Look at how it's done in other projects.
I also recoment that you download the emulator if you intend any true development. Also don't forget to check the size of your code
dir *.bin
anything over 8190 bytes will NOT work.
You can get around this using library calls check other peoples source for how.
Jon
View user's profile Send private message
rex 6000 programming
Rex Forum Forum Index -> Addins
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin
Protected by Anti-Spam ACP