login | register
Fri 18 of May, 2012 (00:39 UTC)

V6Z80P Documentation

Similar PagesHistorys5 slideshowPrint

SDCC framework - description

Created by: valen, Last modification: Sun 03 of Oct, 2010 (16:33 UTC)

Framework contain:

  • C start up code (org 5000, ld sp,STACK, ...)
  • C functions for FLOS calls (FLOS_PrintString, ...)
  • some examples, how to use all this stuff

Quick start

  • framework itself is located in directory “Contributions/Valen/c_programs/”
  • do not rename folders, because makefiles depend on them
  • you can run a few compiled examples


Example 1

FS.EXE - File system walk. Directory viewer / app launcher.

Example 2

TEST1.EXE

Simple test all available FLOS functions.
Run this test with filename as argument (e.g. test1.exe somefile).
File must exist in current dir and have size more than $30 bytes.

tvtime-output-202932.png__FS_WALK.jpg
tvtime-output-202953.png__FS_WALK.jpg


Others examples are provided.


How to compile examples or your own programs (under WinXP)


You need:
  • install SDCC 2.9.7 or later (I suggest to download installer, because it will automatically add SDCC folders to Windows environment vars)
  • install GNU make for Win32
  • go to project dir (e.g. c_programs/src/test1)
  • run "C:\Program Files\GnuWin32\bin\make.exe"

This pack was developed by Valen.

Search


Last modif pages