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.EXESimple 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.
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.