My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
V09b_coderguide_eng  
veejingSX v0.9b coder guide.
Updated Feb 21, 2012 by aora...@gmail.com

veejingSX v0.9b

Copyright 2011 303bcn

This program is distributed under the terms of the GNU General Public License

Project WEB: http://code.google.com/p/veejingsx/

Project manager: mvac7(aorante) mvac303bcn@gmail.com

Design: mvac7 & neuroflip

Code: mvac7

Compile instructions

To compile the program <veejingSX_v09b.c> and its parts, is necessary to install the following software:

For the compilation of this software has been used SDCC version:

SDCC v 2.9.7 #5761 (Mar 29 2010) (MINGW32)

If you use another version, you may need to make adjustments to the code and/or the scripts that accompany it. In the event of an error in the compilation, documentation checks, changes regarding the SDCC 2.9.7.

Along with the sources include FillFile.exe tool, and the binary rom_header.bin, provided by Nerlaska Studio (http://www.nerlaska.com/). These are necessary to generate the final file format ROM. This application is designed to run on a Windows system console. For other operating systems have to find or create an equivalent. FillFile, filled with FF value, the end of a binary file to get the size of a ROM. In this case must be 32K (32768 bytes).

The binary header can be removed easily using a code initialization (startup) to ROMs (see http://msx.atlantes.org/index_en.html).

The project is composed of the next items:

  • veejingSX_v09b.c - Source that contains the main program.
  • newTypes.h - Define new data types (boolean, byte and uint).
  • scroll_v3.s/.h - Assembler program that generates the scroltext.
  • spriteAnims.s/.h - Assembler Program with functions that generate animations of sprites.
  • VDP_TMS9918.c y VDP_TMS9918_BIOS.c - C source with access to the VDP, with or without using the BIOS.
  • veejingSX_GFX.c - Graphic data. Includes tilesets, sprites and screens.
  • veejingSX_data.c - Configuration data of the effects. They turn to the RAM. Note: In future versions will be edited or loaded from disk.

To compile the project, it first has to compile all the elements, leaving the end the main program (veejingSX_v09b.c). Is included for each part of the project, a script (bat) with the sequence needed to compile each.



Collaborate

If you want to collaborate on the project (improvements, corrections, ideas, translations, etc), contact me by email address: mvac303bcn@gmail.com


Sign in to add a comment
Powered by Google Project Hosting