Skip to content
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

Include HAL headers for custom chips #47

Open
mlund opened this issue Aug 23, 2023 · 0 comments
Open

Include HAL headers for custom chips #47

mlund opened this issue Aug 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mlund
Copy link
Collaborator

mlund commented Aug 23, 2023

The MEGA65 project doesn't seem to provide any structured HAL headers for interacting with custom chips like VIC-IV, the hypervisor etc. KickC does include good headers, but these are not directly transferrable to CC65 and LLVM. There are also headers generated from iomap.txt that simply create defines for all symbols (flat).

Although this is not strictly "libc" stuff, it seems meaningful to include such headers here as most C/C++/Rust based project would benefit from both. My idea is to re-use C64 headers (sid, vic2) from CC65 and create a similar-styled HAL based on the current KickC headers. Ping @lydon42.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant