Closed mlund closed 1 year ago
Thank you for this! Where is lpoke and lpeek defined? Seems those are missing for clang.
Thank you for this! Where is lpoke and lpeek defined? Seems those are missing for clang.
Hi Robert, I think they got renamed in cc65 in 87ae766a4458dc9d54daa570ac6b6bcb04a3ae0e to dma_peek
and dma_poke
is that right? Perhaps to make room for separate asm implementations now called lpeek
and lpoke
(?). The two directories started to deviate at that point and I'm not entirely sure if lpeek/poke
and dma_peek/poke
should both be present. There's also lpeek_debounced()
.
Update: On non-cc65 compilers, lpeek and lpoke will use dma_peek and dma_poke. Will leave the asm implementation on llvm for another PR.
Unify source directories for all compilers. This should make it easier to maintain the library and have common tests.
Some notes:
*.c
files and*.h
files are now insrc/
andinclude/
, respectively. Differences are handled with#ifdef
s.src/cc65/
,src/clang/
, etc.memory
in main code.src/kickc
.Makefile
renamed toMakefile_cc65
and build instructions updatedCloses #18. Closes #22.