4 ms·
>Can I write software for it? Is there a compiler or language included, or do I need to add it to the base code before compiling? At the moment you would need
by akling 8y ago
>Can I write software for it? Is there a compiler or language included, or do I need to add it to the base code before compiling?
At the moment you would need to add it to the base code before compiling. I've been working on porting GCC in increments. Last time I tried, GCC was able to build "Hello World" but somehow fell apart between assembly and linking for programs with more than a few functions. It's something I keep coming back to as it's quite draining to deal with the long build times of GNU tools for more than an evening.
>Would I be able to run it on bare metal someday (are any other drivers compatible?) or is this VM-only?
At the moment this is VM only. It could probably be made to run on bare metal relatively soon with a bit of hackery, but it's not something I've spent any time on since the VM environment is fantastic for rapid development.
- unixhero 8y agoMaybe another interpreted language could be an easier target? - Ruby - Python3 or something else? Does it support POSIX shell (yet?)? - sh? - Bash? - zsh?
- deleted 8y ago[deleted]
- mysterydip 8y agoThanks for the info. Maybe a simpler scripting or interpretive language (self-designed?) would be easier, rather than trying to bring in something complex at first. Something like a bash or BASIC that could make use of your GUI or events?
- andai 8y agoDo you know about TCC (Tiny C Compiler)? Might be easier to port that and build up from there. https://bellard.org/tcc/ https://bellard.org/tcc/