• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

collision/H26-Apr-2018-405357

examples/H03-May-2022-4,3392,392

sprites/H24-Jul-2019-5,9864,633

tiles/H24-Jul-2019-2,0481,643

updater/H24-Jul-2019-1,3861,029

customize.asmH A D26-Apr-20183.1 KiB6350

readme.mdH A D26-Apr-2018946 63

spectrum-customize.asmH A D26-Apr-20183.1 KiB6350

spectrum-sp1.hH A D26-Apr-201825.8 KiB406243

readme.md

1The new c library contains a [more recent version of sp1](https://github.com/z88dk/z88dk/tree/master/libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_sp1) that is compatible with zsdcc.  sp1 is being updated again and that version will be included in the classic library.
2
3In order to compile the examples, "sp1.lib" must be copied to z88dk/lib/clibs and "spectrum-sp1.h" must be copied to z88dk/include/sprites and renamed to "sp1.h".
4
5The examples are inlining asm at global scope in a .c source file to declare graphics.  This should no longer be done as it is incompatible with z88dk's section model and it is not compilable with zsdcc as compiler.  Instead such asm should be placed in its own separate .asm file that is added to the compile line.  For this reason these examples can only be compiled using the classic library and sccz80 as compiler.  Once the new version of sp1 is complete the examples will be updated to get rid of the bad practice.
6