fabrizio-caruso / cross-lib Goto Github PK
View Code? Open in Web Editor NEWCROSS LIB - A universal 8-bit library and some games built with it
CROSS LIB - A universal 8-bit library and some games built with it
I also tried with 1 thread, same result.
$ ./xl build chase z88dk_targets 1 Cross-Lib
xl` helper script
Platform: cygwin
GNU MAKE command: make
Project name : chase
Project type : game
Number of threads : 1
Extra optimization :
Compiler's options :
run command : make z88dk_targets ZSDCC_MAKEFILE_THREADS_OPTS='-j 1' ZSDCC_MAKEFILE_COMPILATION_OPTS= -f games/chase/Makefile.chase
zcc.exe +ace -DFORCE_NARROW -D_DEFAULT_ASCII -Icross_lib -Icross_lib/sleep -Icross_lib/display -Icross_lib/display/graphics_mode -Icross_lib/display/alt_print -Icross_lib/include -Icross_lib/sound -Icross_lib/sound/cc65/atmos -Icross_lib/sound/cc65/c264 -Icross_lib/sound/cc65/pokey -Icross_lib/sound/cc65/sid -Icross_lib/sound/cc65/vic20 -Icross_lib/sound/cc65/gamate -Icross_lib/sound/cc65/creativision -Icross_lib/sound/cc65/pet -Icross_lib/sound/z88dk/bit_bang -Icross_lib/sound/z88dk/gb -Icross_lib/sound/z88dk/psg -Icross_lib/sound/lcc1802/comx -Icross_lib/sound/cmoc/mo5 -Icross_lib/sound/generic -Icross_lib/text -Icross_lib/input -Icross_lib/rand -Icross_lib/display/redefine_characters -Icross_lib/display/tiles -Igames/chase/generated_assets -Igames/chase
-D__ACE__ -DFULL_GAME -DBETWEEN_LEVEL -DEND_SCREEN
-DSOUNDS
-DCONIO
-clib=default
-DUDG_GRAPHICS
-DANIMATE_PLAYER
cross_lib/display/init_graphics/z88dk/udg/udg_init_graphics.c
games/chase/generated_assets/z88dk_xchase.asm
games/chase/end_screen.c
cross_lib/display/display_macros.c cross_lib/input/input_macros.c cross_lib/text/text_macros.c games/chase/move_player.c games/chase/ghost.c games/chase/level.c games/chase/character.c games/chase/game_text.c games/chase/main.c games/chase/init_images.c games/chase/strategy.c games/chase/item.c games/chase/skull.c games/chase/bullet.c games/chase/horizontal_missile.c games/chase/rocket.c
-o ace -Cz--audio -create-app
cp ace.wav ../build/Xchase_ace_exp_16k.wav
cp ace.tap ../build/Xchase_ace_exp_16k.tap
rm ace.wav
rm ace.tap
rm ace
zcc.exe +c128 -compiler=sdcc -SO3 -DFORCE_NARROW -D_DEFAULT_ASCII
-Icross_lib -Icross_lib/sleep -Icross_lib/display -Icross_lib/display/graphics_mode -Icross_lib/display/alt_print -Icross_lib/include -Icross_lib/sound -Icross_lib/sound/cc65/atmos -Icross_lib/sound/cc65/c264 -Icross_lib/sound/cc65/pokey -Icross_lib/sound/cc65/sid -Icross_lib/sound/cc65/vic20 -Icross_lib/sound/cc65/gamate -Icross_lib/sound/cc65/creativision -Icross_lib/sound/cc65/pet -Icross_lib/sound/z88dk/bit_bang -Icross_lib/sound/z88dk/gb -Icross_lib/sound/z88dk/psg -Icross_lib/sound/lcc1802/comx -Icross_lib/sound/cmoc/mo5 -Icross_lib/sound/generic -Icross_lib/text -Icross_lib/input -Icross_lib/rand -Icross_lib/display/redefine_characters -Icross_lib/display/tiles -Igames/chase/generated_assets -Igames/chase -DEXTRA_TITLE
-lndos -subtype=disk
-D__C128_Z80__ -DXSize=40
-DSOUNDS
-DFORCE_BIT_BANG
-DFULL_GAME -DEND_SCREEN -DNO_BLINKING
-DFORCE_CONIO_LIB
-DCONIO -DNO_INIT_GRAPHICS
games/chase/end_screen.c
cross_lib/display/display_macros.c cross_lib/input/input_macros.c cross_lib/text/text_macros.c games/chase/move_player.c games/chase/ghost.c games/chase/level.c games/chase/character.c games/chase/game_text.c games/chase/main.c games/chase/init_images.c games/chase/strategy.c games/chase/item.c games/chase/skull.c games/chase/bullet.c games/chase/horizontal_missile.c games/chase/rocket.c
-create-app -oa40.bin
cannot open peep rule file
copt: can't open patterns file
make: *** [games/chase/makefiles.chase/makefiles_z88dk/Makefile_z88dk_a-k:492: c128_z80_40col] Error 1
The CROSS-LIB README says there should be a script called xl
within the src
subdir of CROSS-LIB but it is missing from the latest git revision.
The README says I should be able to use make
instead but that doesn't work either. I tried renaming Makefile_common
to Makefile
but that didn't fix using make
.
vic20 target not building.
last 4 lines of ./xl chase vic20:
-o ../build/Xchase_vic20_exp_8k.prg
ld65: Warning: cross_lib/cfg//cc65/vic20-8k_GFX.cfg(17): Segment 'CODE' overflows memory area 'RAMEXP' by 3 bytes
ld65: Error: Cannot generate most of the files due to memory area overflow
make: *** [games/chase/makefiles.chase/Makefile.cc65_targets:1091: vic20_exp_8k] Error 1
I've been trying to build CROSSCHASE, but I'm finding that in my set up the compilation doesn't complete.
https://github.com/Fabrizio-Caruso/CROSS-LIB
src
directoryxl chase spectrum_test_sdcc
to compile the sdcc versionxl chase spectrum_test_sccz80
to compile the sccz80 versionI have a problem writing to my /tmp/ directory. Most of the compilation works fine (for both options), and for some other instructions you've provided, but it seems somehow the end of the xl python script it tries to access the /tmp/ directory in a different way to the way the compilers use it, and it is forbidden from writing into the directory. Probably something odd in my set up, but I haven't found out why I can't get things to complete, which is preventing me from going forward.
>:~/Z80/CROSS-LIB$ cd src
>:~/Z80/CROSS-LIB/src$ ./xl chase spectrum_test_sdcc
----------------------------
Cross-Lib `xl` helper script
----------------------------
Platform: linux2
GNU MAKE command: make
----------------------------
['./xl', 'chase', 'spectrum_test_sdcc']
Project name : chase
Project type : game
Number of threads : 4
Extra optimization :
Compiler's options :
run command : make spectrum_test_sdcc ZSDCC_MAKEFILE_THREADS_OPTS='-j 4' ZSDCC_MAKEFILE_COMPILATION_OPTS= -f games/chase/Makefile.chase
zcc +zx -v -compiler=sdcc -SO0 \
-Icross_lib -Icross_lib/sleep -Icross_lib/display -Icross_lib/display/graphics_mode -Icross_lib/display/alt_print -Icross_lib/include -Icross_lib/sound -Icross_lib/sound/cc65/atmos -Icross_lib/sound/cc65/c264 -Icross_lib/sound/cc65/pokey -Icross_lib/sound/cc65/sid -Icross_lib/sound/cc65/vic20 -Icross_lib/sound/cc65/gamate -Icross_lib/sound/cc65/creativision -Icross_lib/sound/cc65/pet -Icross_lib/sound/z88dk/bit_bang -Icross_lib/sound/z88dk/gb -Icross_lib/sound/z88dk/psg -Icross_lib/sound/lcc1802/comx -Icross_lib/sound/cmoc/mo5 -Icross_lib/sound/generic -Icross_lib/text -Icross_lib/input -Icross_lib/rand -Icross_lib/display/redefine_characters -Icross_lib/display/tiles -Igames/chase/generated_assets -Igames/chase \
-zorg=24055 \
-pragma-include:cross_lib/cfg//z88dk/zpragma_clib.inc \
-pragma-redirect:getk=getk_inkey \
-DLESS_TEXT -DANIMATE_PLAYER \
-DFORCE_NARROW -DNO_BLINKING \
-DFORCE_GHOSTS_NUMBER=8 \
-DNO_SLEEP -DNO_WALL \
-DNO_MESSAGE -DNO_HINTS -DNO_CONTROL_INSTRUCTIONS -DNO_SET_SCREEN_COLORS \
-DNO_TITLE_LINE -DNO_INITIAL_SCREEN \
-DNO_RANDOM_LEVEL \
-DSIMPLE_STRATEGY \
-D__SPECTRUM__ \
-DALT_MOVE \
-lndos -create-app \
-DCONIO \
-DUDG_GRAPHICS \
-pragma-redirect:fputc_cons=fputc_cons_generic \
-o ../build/WIP_LIGHT_spectrum_test_sdcc.prg \
cross_lib/display/init_graphics/z88dk/udg/udg_init_graphics.c \
games/chase/generated_assets/z88dk_xchase.asm \
cross_lib/display/display_macros.c cross_lib/input/input_macros.c cross_lib/text/text_macros.c games/chase/move_player.c games/chase/ghost.c games/chase/level.c games/chase/character.c games/chase/game_text.c games/chase/main.c games/chase/init_images.c games/chase/strategy.c games/chase/item.c games/chase/skull.c games/chase/bullet.c
z88dk-zpragma -zcc-opt="/tmp/tmpzccXXgnT9bf/zcc_opt.def" < "cross_lib/cfg//z88dk/zpragma_clib.inc" > /dev/null
PROCESSING cross_lib/display/init_graphics/z88dk/udg/udg_init_graphics.c
z88dk-zsdcpp -I"cross_lib" -I"cross_lib/sleep" -I"cross_lib/display" -I"cross_lib/display/graphics_mode" -I"cross_lib/display/alt_print" -I"cross_lib/include" -I"cross_lib/sound" -I"cross_lib/sound/cc65/atmos" -I"cross_lib/sound/cc65/c264" -I"cross_lib/sound/cc65/pokey" -I"cross_lib/sound/cc65/sid" -I"cross_lib/sound/cc65/vic20" -I"cross_lib/sound/cc65/gamate" -I"cross_lib/sound/cc65/creativision" -I"cross_lib/sound/cc65/pet" -I"cross_lib/sound/z88dk/bit_bang" -I"cross_lib/sound/z88dk/gb" -I"cross_lib/sound/z88dk/psg" -I"cross_lib/sound/lcc1802/comx" -I"cross_lib/sound/cmoc/mo5" -I"cross_lib/sound/generic" -I"cross_lib/text" -I"cross_lib/input" -I"cross_lib/rand" -I"cross_lib/display/redefine_characters" -I"cross_lib/display/tiles" -I"games/chase/generated_assets" -I"games/chase" -iquote"." -D__Z88DK -D__SPECTRUM -DSPECTRUM -D__SPECTRUM__ -D__Z80 -DZ80 -DLESS_TEXT -DANIMATE_PLAYER -DFORCE_NARROW -DNO_BLINKING -DFORCE_GHOSTS_NUMBER=8 -DNO_SLEEP -DNO_WALL -DNO_MESSAGE -DNO_HINTS -DNO_CONTROL_INSTRUCTIONS -DNO_SET_SCREEN_COLORS -DNO_TITLE_LINE -DNO_INITIAL_SCREEN -DNO_RANDOM_LEVEL -DSIMPLE_STRATEGY -D__SPECTRUM__ -DALT_MOVE -DCONIO -DUDG_GRAPHICS -D__SDCC -I"/home/phillip/Z80/z88dk/lib/config/../..//include/arch/zx" -isystem"/home/phillip/Z80/z88dk/lib/config/../..//include" "cross_lib/display/init_graphics/z88dk/udg/udg_init_graphics.c" "/tmp/tmpXXWnRfSf.i2"
z88dk-zpragma -zcc-opt="/tmp/tmpzccXXgnT9bf/zcc_opt.def" < "/tmp/tmpXXWnRfSf.i2" > "/tmp/tmpXXWnRfSf.i"
z88dk-zsdcc --constseg rodata_compiler -mz80 --no-optsdcc-in-asm --c1mode --emit-externs --no-c-code-in-asm --no-peep --peep-file "/home/phillip/Z80/z88dk/lib/config/../..//libsrc/_DEVELOPMENT/sdcc_peeph.0" < "/tmp/tmpXXWnRfSf.i" -o "/tmp/tmpXXWnRfSf.opt"
z88dk-copt "/home/phillip/Z80/z88dk/lib/config/../..//libsrc/_DEVELOPMENT/sdcc_opt.1" < "/tmp/tmpXXWnRfSf.op1" > "/tmp/tmpXXWnRfSf.opt"
z88dk-copt "/home/phillip/Z80/z88dk/lib/config/../..//libsrc/_DEVELOPMENT/sdcc_opt.9" < "/tmp/tmpXXWnRfSf.opt" > "/tmp/tmpXXWnRfSf.op1"
z88dk-copt "/home/phillip/Z80/z88dk/lib/config/../..//libsrc/_DEVELOPMENT/sdcc_opt.2" < "/tmp/tmpXXWnRfSf.op1" > "/tmp/tmpXXWnRfSf.asm"
cat "/tmp/tmpXXWnRfSf.asm" >> "/tmp/tmpXXWnRfSf.tmp"
cat "/tmp/tmpXXWnRfSf.tmp" >> "/tmp/tmpXXWnRfSf.asm"
z88dk-z80asm -I"/home/phillip/Z80/z88dk/lib/config/../..//lib/target/zx/def" -I"/tmp/tmpzccXXgnT9bf" -D__SDCC -s -mz80 -I"/home/phillip/Z80/z88dk/lib/config/../..//lib" "/tmp/tmpXXWnRfSf.asm"
PROCESSING games/chase/generated_assets/z88dk_xchase.asm
cat "games/chase/generated_assets/z88dk_xchase.asm" >> "/tmp/tmpXX0onSPf.asm"
cat: games/chase/generated_assets/z88dk_xchase.asm: No such file or directory
Couldn't write output file /tmp/tmpXX0onSPf.asm
make: *** [makefiles.other/chase/wip/Makefile.z88dk_wip_targets:226: spectrum_test_sdcc] Error 1
>:~/Z80/CROSS-LIB/src$
the LEVEL n
and PRESS A KEY
text color sometimes is red, some other times is white; I guess depending on the last thing print before.
Saw this video: https://www.youtube.com/watch?v=VVXqgPCUQCM
and thought refreshing the screen somewhere outside the displayable area would stop the flickering.
Thanks for making new 8-bit stuff :-)
Replacing by "cmoc_udc_tiles" manually in generated make file solved the problem.
Fabrizio,
as part of testing sdcc
v4.3.0, we're possibly going to replace the sdcc pre-processor with ucpp
, the same one currently used by scc80
.
The new sdcc pre-processor for v4.3.0 is based on gcpp-12
and it is currently not usable. For v4.2.0 (currently used by z88dk) it is based on gcpp-4
.
Moving to ucpp
for both compilers for z88dk would set up a limit of C99 as the standard compliance in the future.
Could you please build / test against your CROSS-LIB to see whether you encounter any issues with the new zsdcc
(draft r13854) or using ucpp
(C99 standard)? Using the current draft PR z88dk/z88dk#2190.
I'd be very happy to be able to pass feedback to the sdcc team, or you can raise it directly with them if you prefer.
P.
There has been a large amount of work in Z88DK for SAM in the last weeks: https://github.com/z88dk/z88dk/wiki/Platform--Sam-Coupe.md with support for graphics, high colour modes and eTracker music - can CROSS-LIB be updated for the new capabilites?
Your code can be compiled on an impressive number of old platforms.
CP/M was an early system that allowed the same binary executable to work on a number of machines sporting a 8080 or above (especially Z80) CPU.
It would be "fun" if you included CP/M in your targets.
In Laser 500, it's more natural to use cursor arrow keys instead of IJKL
.
Unfortunately Z88DK disables them by default (I will address a bugfix for that) but you can re-enable them by having the following compiler switch added to your makefile:
-pragma-define:CLIB_LASER500_SCAN_EXTRA_ROWS=1
After that, the keyboard input routine will return:
UP: 11
DOWN: 13
LEFT: 8
RIGHT: 9
that you can use in place of IJKL
Hello Fabrizio!
What is the process for building the games for the SG 1000? It doesn't look like sg1000 has any build rules inside of Makefile_common.
Package 5.32 have no "perl.exe", I had to take the previous one (5.30) to run xl script.
My EmulatorKit emulates RC2014 and SC126 if you still need emulations. The RC2014 emulation can also emulate the EF9345 and TMS9918A graphics to some extent. TMS9918A needs sprites debugging yet.
I'm trying to run the game on an Ohio Scientific Challenger 1P emulator. After the loading the game the title screen appears. After hitting the space bar I see "HIGH SCORE: 000000". What should happen next?
The current compiled version require a dll that is not present in latest cygwin. ( cyggcc_s-1.dll )
Getting source code of the tool and recompiling it solved the issue.
Nice game, I was a little disappointed this game crashed, when I loaded it on my Emulated 464 though :(
Perhaps compile program to DSK image and delete CDT before someone tries to load on their real 464 and discover it's 6128 only.
Tried working out what would of cause this kind of crash, it almost happened as soon as the game completed loading, there was nothing obvious when I ran it with 6128 settings, so I'm guessing this game is using Direct Addresses instead of CPC Firmware, Direct Addresses unfortunately vary between 464 & 6128. Only way to resolve that problem is with code to determine which CPC is being used. The most common way is a PEEK(6) which returns a different value on the old models, unfortunately I don't know if that works on the Amstrad CPC Plus range. :(
Hello,
Trying to build all projects (for c128) from current repo source and getting this error:
Cannot find definition for -clib=gencon
I'll attach the output from the build process. Everything had been building correctly just over a month ago.
Current system x64 Debian 12 Bookworm.
Thanks for any help you can provide.
Tried this on a real Atari Lynx, and emulator, but does not work.
Just tried to run Xsnake_coleco.rom (13 May 2021) and all I get is a black screen.
Hi Fabrizio,
I've noticed this issue for some time, but wanted to officially get this submitted to you. When building for a c128 target, you will need to replace:
a40.ldr with A40.LDR
a40 with A40
a80.ldr with A80.LDR
a80 with A80
Thanks again for sharing this excellent project with us!
-Ron
Laser 500 has 16 RGB colors: 8 "dark" and 8 "bright" (luminosity bit 0/1).
I suggest you avoid dark coloured sprites when you have a black background.
This is how the Laser 500 palette is defined:
setPalette( 0, 0x00, 0x00, 0x00); // black
setPalette( 1, 0x00, 0x00, 0xff); // blue
setPalette( 2, 0x00, 0x88, 0x00); // green
setPalette( 3, 0x00, 0x88, 0xff); // cyan
setPalette( 4, 0xaa, 0x00, 0x00); // red
setPalette( 5, 0xff, 0x00, 0xff); // magenta
setPalette( 6, 0x77, 0x88, 0x00); // yellow
setPalette( 7, 0x99, 0x99, 0x99); // bright grey
setPalette( 8, 0x55, 0x55, 0x55); // dark grey
setPalette( 9, 0x88, 0x88, 0xff); // bright blue
setPalette(10, 0x00, 0xff, 0x00); // bright green
setPalette(11, 0x44, 0xff, 0xff); // bright cyan
setPalette(12, 0xff, 0x44, 0x55); // bright red
setPalette(13, 0xff, 0x99, 0xff); // bright magenta
setPalette(14, 0xee, 0xff, 0x00); // bright yellow
setPalette(15, 0xff, 0xff, 0xff); // white
Hi,
Can you put a README in tools that says where we can find the source for them?
https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/docs/EnglishArticle.md
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
Section:
"xl chase gcc", which will build the game Chase in turn-based mode for the native console.
should be
"./xl chase gcc"
Extra character at the end of line 171 seems to be the issue
but still fails
./xl build chase
./xl chase
Both of these DO work
Automatically build tools from C source (whenever possible) for both Cygwin/Windows and Unix (Linux, FreeBSD).
This feature request also improves/fixes #280:
A tentative list of buildable tools could be:
Workarounds:
PATH
can reach it , e.g., by installing vice)Scripts:
.dsk
images) is no longer strictlynecessary if we use appmake
from Z88DK to build .mgt
filesTo be verified:
In MSX version the fonts are not copied to VRAM that makes this a bit weird looking :)
Hello,
Awesome project. Would it ever be possible to extend the supported platform/targets, to include the browser (webassembly + canvas)?
There exist some emulators that compile well into webassembly.. emulators for hardware you already support (c64 etc). "IF" CROSS-LIB could include these emulators (and you build them using web-assembly), "and" you define in the webpage that it should auto-load that project you just built using CROSS-LIB... then you might be able to target the web.
Quite a few "ifs" and "ands" on my part, but just asking. Cheers
SDCC is not just easier to use than Z88DK because there are readily available packages, but it also outperformed it in tests:
http://www.cpcmania.com/Docs/Programming/SDCC_vs_z88dk_Comparing_size_and_speed.htm
There no tools for linux development(maybe sources of tools helps us). If there are sources - I think better will be add links to it in readme.
make ncurses
Fails with a.exe
not found - there better add output file name option. Or poor-mans variang - just run a.out
on unixes(may be i'll try to fix makefiles to build ncurses target on *nixes).
May be its time to sepparate library and game code bases? ๐
Thank you for great library! ๐
Tried to fix this myself LoL.
On build: xl chase coco
-D_XL_NO_COLOR in build output.
So i thought i was in the right file and commented out the entry in games/chase/makefiles.chase/Makefile.cmoc_targets
next build did not have the entry, but still no color was present in game.
Things are a bit hard to follow of where exactly the config file for the target is.
Going to give newlib-6809 a look, seems a bit lighter than this,
I don't need cross development on other platforms right now, But the concept is interesting.
I started to do a little C programming using SDCC for the 8052 on some home made SBC's back in 2007
But those projects did not even require any kind of std library.
Hello,
It looks like I'm getting a linker error when compiling for the 'mc10' target:
pi@raspberrypi:~/source/CROSS-LIB/src $ ./xl build all mc10
Python 2.x configuration
Verbose Mode ON
Color terminal ON
Config file found with: ['build', 'tools', 'extend', 'run', 'clean', 'terminal']
Detecting number of threads...
Detected 4 threads...
config.ini OK
----------------------------
Cross-Lib `xl` helper script
----------------------------
Platform: linux2
Python: 2.7
GNU MAKE command: make
----------------------------
Project name : all
Target name : mc10
Project type : project
Number of threads : 4
Extra optimization :
Compiler's options :
--------------------------
z88dk_compiler_opts : -O3
zsdcc_compiler_opts : -SO3
cmoc_compiler_opts : -O2
cc65_compiler_opts : -Or -Cl
lcc1802_compiler_opts : "-Wf-volatile" -O "-Wp-D nofloats" "-Wa-D LCCNOLONG" "-Wf-mulcall"
gcc4ti99_compiler_opts: -O2
native_compiler_opts: -Wpedantic -Wall
Building 8 projects: shuriken bomber horde stinger verbix shoot snake chase
Going to run:
make mc10 USE_TOOLS=1 ZSDCC_MAKEFILE_THREADS_OPTS='-j 4' ZSDCC_MAKEFILE_COMPILATION_OPTS='-SO3 ' Z88DK_MAKEFILE_COMPILATION_OPTS='-O3' GCC4TI99_MAKEFILE_COMPILATION_OPTS='-O2' NATIVE_MAKEFILE_COMPILATION_OPTS='-Wpedantic -Wall' CMOC_MAKEFILE_COMPILATION_OPTS='-O2' CC65_MAKEFILE_COMPILATION_OPTS='-Or -Cl' LCC1802_MAKEFILE_COMPILATION_OPTS='"-Wf-volatile" -O "-Wp-D nofloats" "-Wa-D LCCNOLONG" "-Wf-mulcall"' _NATIVE_CC=gcc TOOL_CC=gcc -f games/shuriken/Makefile.shuriken
games/shuriken/makefiles/Makefile.override:6: warning: overriding recipe for target 'creativision'
Makefile_common:554: warning: ignoring old recipe for target 'creativision'
games/shuriken/makefiles/Makefile.override:28: warning: overriding recipe for target 'gamate'
Makefile_common:480: warning: ignoring old recipe for target 'gamate'
games/shuriken/makefiles/Makefile.override:44: warning: overriding recipe for target 'c16_16k'
Makefile_common:380: warning: ignoring old recipe for target 'c16_16k'
games/shuriken/makefiles/Makefile.override:70: warning: overriding recipe for target 'sg1000'
Makefile_common:1690: warning: ignoring old recipe for target 'sg1000'
cc68 -tmc10 -Icross_lib -Icross_lib/sleep -Icross_lib/display -Icross_lib/display/graphics_mode -Icross_lib/display/alt_print -Icross_lib/include -Icross_lib/sound -Icross_lib/sound/cc65/atmos -Icross_lib/sound/cc65/c264 -Icross_lib/sound/cc65/pokey -Icross_lib/sound/cc65/sid -Icross_lib/sound/cc65/vic20 -Icross_lib/sound/cc65/gamate -Icross_lib/sound/cc65/creativision -Icross_lib/sound/cc65/atari_lynx -Icross_lib/sound/cc65/pet -Icross_lib/sound/cc65/supervision -Icross_lib/sound/z88dk/bit_bang -Icross_lib/sound/z88dk/gb -Icross_lib/sound/z88dk/psg -Icross_lib/sound/lcc1802/comx -Icross_lib/sound/cmoc/mo5 -Icross_lib/sound/generic -Icross_lib/sound/gcc4ti99 -Icross_lib/text -Icross_lib/input -Icross_lib/rand -Icross_lib/display/redefine_characters -Icross_lib/display/tiles -Igames/shuriken/generated_assets -Igames/shuriken \
-D__MC10__ \
\
-DXSize=32 \
-DYSize=16 \
-D__MEMORY_MAPPED_GRAPHICS -D_XL_NO_JOYSTICK \
-D_XL_NO_COLOR -D__TARGET_SPECIFIC_ASCII \
-D__ALT_SLEEP -D__ALT_RAND \
-D__NO_INIT_GRAPHICS \
-D_XL_SLOW_DOWN_FACTOR=10*110 \
-D__DEFAULT_CLEAR_SCREEN -D__ALT_PRINT \
cross_lib/sound/generic/bit_bang_sounds.c \
cross_lib/display/display_macros.c cross_lib/input/input_macros.c cross_lib/sleep/sleep_macros.c games/shuriken/main.c \
cross_lib/rand/rand.c \
cross_lib/display/alt_print/memory_mapped_alt_print.c \
-o xbin
cross_lib/display/display_macros.c(564): Warning: Parameter 'color' is never used
/opt/cc68/lib/lib6803.a: Unknown symbol 'div16x16'.
/opt/cc68/lib/lib6803.a: Unknown symbol 'pop2'.
/opt/cc68/lib/lib6803.a: Unknown symbol 'div16x16'.
/opt/cc68/lib/lib6803.a: Unknown symbol 'pop2'.
/opt/cc68/lib/lib6803.a: Unknown symbol 'pop2'.
cc: /opt/cc68/bin/ld68 failed.
make: *** [Makefile_common:2663: mc10] Error 1
Built cc68 with current git repo source and just pulled from CROSS-LIB git repo as well.
Thanks for any help you can provide!
some target files do not get built.
If i try to xl build all coco, getting a lot of missing targets for this system, compared to c64 system.
I tried xl build all all and get better resaults.
coco did not have many programs.
Is this normal, or did i miss something.
I thought all targets would be built.
These could be useful as alternative to titles and to render some effects:
e.g.:
_XL_DRAW_LINE(X1, Y1, X2, Y2, C)
_XL_DRAW_RECT(X1, Y1, X2, Y2, C)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.