Printed Amstrad Addict magazine announced, check it out here!
Started by cpcitor, 20:01, 08 October 13
0 Members and 1 Guest are viewing this topic.
Quote from: Sykobee (Briggsy) on 08:41, 09 October 13Possibly a different build tool can be implemented in the future to remove dependencies on particular platforms. MSBuild sounds horrendously platform specific, so that's out of the question. Maybe with a little work Ant or Maven could be used.
Quote from: jrodriguezv on 16:09, 14 October 13Hi!First of all, thanks for your good job
Quote from: jrodriguezv on 16:09, 14 October 13Im testing this project in my laptop with Ubuntu 13.4. You need to add libboost-graph-dev as dependency in order to compile SDCC.
Quote from: jrodriguezv on 16:09, 14 October 13Can you consider add support to cpcrslib (cpcrslib - CPC libraries for z88dk and SDCC - Google Project Hosting) in your project.
makeChoose target:make displayhelpmake hello_world_using_z88dkmake hello_world_using_sdccmake cpcrslib
Quote from: Bruce Abbott on 06:26, 19 October 13I installed cpc-dev into cygwin on my Windows XP PC.
Quote from: Bruce Abbott on 06:26, 19 October 13This is my first experience with command-line linux development, and I had a few false starts trying to get all the components installed. The main problem was that sdcc wouldn't build, and I couldn't figure out why the makefile was insisting that the tools directories didn't exist.
Quote from: Bruce Abbott on 06:26, 19 October 13So I removed cpc-dev and downloaded the latest version, and then it all just worked!
Quote from: Bruce Abbott on 06:26, 19 October 13Your "Hello World" compiled fine with sdcc and ran successfully on WinAPE. Of the cpcrslib demos, "004 - Music, SFX & Keyboard" wouldn't compile, while "007 - Uncrunch" compiled but just reset the emulator. The other examples compiled and ran fine.
make >make003.log 2>&1
Quote from: Bruce Abbott on 06:26, 19 October 13Screenshots
Quote from: cpcitor on 21:55, 20 October 13First, load address should be taken from hex2bin output. It should be the correct value in virtually all cases.Regarding run address, I'm not sure it can be figured out automatically always.
Quote from: arnoldemu on 17:37, 21 October 13try this tool:http://www.cpctech.org.uk/download/fileattr.zip
Quote from: cpcitor on 21:31, 21 October 13Also, the header for disk and for tape are different. fileattr is for disk header only, right ?
defb &c3include "game_x.asm"
Quote from: cpcitor on 21:31, 21 October 13Glad that you liked the photograph of the real CPC running SDCC-compiled stuff.
set PATH=%PATH%;c:\toolscd lib\mylibcall make.batcd ..\..cd lib\arkostrackerlibcall make.batcd ..\..REM cd gfxREM call process-gfx.batREM cd ..sdasz80 -plosgff mygame_crt0.ssdcc -c --verbose -V --nostdlib --opt-code-speed --nostdinc --no-std-crt0 -mz80 -DDISC=1 -I lib/mylib -l lib/mylib/mylib.lib -I lib/arkostrackerlib -l lib/arkostrackerlib/arkostrackerlib.lib mygame.c if %ERRORLEVEL% NEQ 0 goto :errorsdldz80 -f custom.lkhex2bin mygame.ihxREM zorg only works if you use zcc to build and linkdel temp\game_x.asmdel temp\game_l.asmdel temp\game_s.asmaddhead -s 0x08100 -x 0x08100 mygame.bin mygame.binfileattr -x mygame.bin >mygame_x.asmfileattr -l mygame.bin >mygame_l.asmfileattr -s mygame.bin >mygame_s.asmaddhead -r mygame.bin mygame.binpasmo --amsdos reloc.asm bin\reloc.binfileattr -x bin\reloc.bin >temp\game_x.asmfileattr -l bin\reloc.bin >temp\game_l.asmfileattr -s bin\reloc.bin >temp\game_s.asmpasmo --amsdos discload_alt_new.asm bin\discload_alt_new.binif %ERRORLEVEL% NEQ 0 goto :errorREM disc versionaddhead -r gfx\bin\loadscr.bin gfx\bin\loadscr.binaddhead -a -t "binary" -s 49152 gfx\bin\loadscr.bin gfx\bin\loadscr.bincpcxfs -f -nD virus.dskcpcxfs virus.dsk -f -b -p bin\discload_alt_new.bin virus.bincpcxfs virus.dsk -f -b -p gfx\bin\loadscr.bin virus.bi1cpcxfs virus.dsk -f -b -p bin\reloc.bin virus.bi2pasmo --amsdos tapeload_alt.asm bin\tapeload_alt.binif %ERRORLEVEL% NEQ 0 goto :erroraddhead -r gfx\bin\loadscr.bin gfx\bin\loadscr.binaddhead -r mygame.bin mygame.binREM 2cdt -n bin\tapeload.bin -r BANGEL69 bin\cdt\bangel69_A.cdt 2cdt -n bin\tapeload_alt.bin -r "! VIRUS !" virus.cdt2cdt -m 2 gfx\bin\loadscr.bin virus.cdt2cdt -m 2 bin\reloc.bin virus.cdt:error
Page created in 0.194 seconds with 26 queries.