-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify to single source directory #25
Conversation
fcio.c is not included in the clang/ dir anyways
This introduces 16 and 32 bit versions of POKE/PEEK in order to reduce the number of ifdefs.
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 87ae766 to 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. |
The restructures so that the root directory contains `src/` and `include/`. Compiler specific asm files are in src/cc65 and src/llvm respectively. This required updated of the builds systems as well as instructions in the README.
This to allow for other compilers like vbcc and kickc
vbcc can compile src/memory.c to no need for special dir
Possible kickc specific assembler code moves to src/kickc. Main headers seem to be compatible.
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.