Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SirCmpwn

#76
Quote from: Duke "Tape" Eiyeron on March 23, 2015, 07:58:52 PM
Noice. I wonder if fixed points are quite efficient on z80. Kristaba once did a small fixed point utility and I keep upsing it almost everywhere. It gave to FXes a signifiant speed boost for usual cases.

Fixed point is just using integers and wavy hands.
#77
Quote from: Duke "Tape" Eiyeron on March 23, 2015, 04:18:29 PM
Oh. do you have any work done to make something like a C compiler or anything-better-than-asm compiler for KOS?

EDIT : after checking once more the screenshots, I find your UI quite useful and helpful. Do you have any technical infos for doing such graphical UI server like that? I could be interrested into doing such a project for FiXos.

We have a C compiler called kcc that's forked from SDCC. We also have a traditional assembler/linker called scas that is ASxxxx compatible and used for compiling C output. C support is experimental and has known problems, but if you'd like to try it you can compile and install both kcc and scas and then use "knightos init --template=c example" to generate an example project.

We don't have a UI server, but we do have shared code for drawing some parts of the UI. You can read through it here.

EDIT:

Quote from: Cumred_Snektron on March 23, 2015, 05:01:07 PM
https://github.com/KnightOS/kcc
i should try it out too... maybe float multiply works here (it fails with SDCC <_<)

It compiles but I can't promise that it works. We don't have any means of printing floating point numbers so who knows. Here's some code I just wrote:

(edited:)

#78
I think a subforum would be valuable. If it sees a good amount of use we could adopt it as an official KnightOS thing.
#79
Juju invited me to create an account here for KnightOS stuff. Hi everyone.
Powered by EzPortal