BareMetalTic80
BareMetalTic80 copied to clipboard
input support
hello,
I don't know if it's better to create issues here or on the TIC-80 repository, since the integration, but here is my issue anyway.
I've built myself the baremetaltic80 from https://github.com/msx80/TIC-80/blob/baremetal/build/baremetalpi/README.md
it works, except for inputs I have some issues:
-
The keyboard keys repeats too fast, it was not usable for 2 of my keyboards, while with a third one it was working perfectly! (all were generic usb keyboards). I don't know what I could do to help you track the problem.
-
the mouse cursor is invisible, making it difficult to use. I suppose it's because tic80 is using the system's mouse instead of its own.
Hi there, i've made some improvements that are not yet in the TIC80 repo, you can find it in the pulito branch, following this updated build procedure:
https://github.com/msx80/TIC-80/blob/pulito/build/baremetalpi/README.md
I've switched to software interrupt for USB, not sure if it will fix your issue but since it's a different system, chances are good. Also there's mouse support with timed cursor disappearance (fade away if you don't move for some time)
@farvardin have you tested the new version perhaps? it's committed in the main TIC-80 repo now. I would love some feedback :)
Sorry, I wanted to compile it again but I didn't take the time to look at the build procedure (well, I've had a quick look at it, but that's all). I don't know when I could compile it, but if you provide updated binaries in the "releases" tab, I'll try it for sure!
I've looked at the updated version on https://github.com/nesbox/TIC-80/tree/master/build/baremetalpi
I'm on the same system as before, however, I have some problem while running the command cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DBAREMETALPI=1 ..
Looking for pthread.h
-- Looking for pthread.h - not found
-- Could NOT find Threads (missing: Threads_FOUND)
CMake Error at 3rd-party/curl/CMakeLists.txt:48 (project):
The CMAKE_C_COMPILER:
arm-none-eabi-gcc
is not a full path and was not found in the PATH.
but I've already set up the path:
which arm-none-eabi-gcc
returns: /opt/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc
And I've installed a few dev lib related to pthread such as libzthread-dev libpthread-workqueue-dev
Hi there, i've taken a look, it seems that the recent switch to the Curl library instead of sdl-net broke the build for baremetal. I'll see if i can fix it.
Sorry for late reply :)
i've opened an issue here on Tic80