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 - Max Leiter

#31
Gaming / Re: CSGO
January 01, 2016, 10:03:07 PM
Quote from: p4nix on January 01, 2016, 09:38:57 PM
Got it for sale :)
After like 500h+ of gameplay I'm finally rank 3 to be able to play competitive. Already won the first match (and lost 3 others  9_9).
I really like the game for it's tactical aspects, but there are some guys ruining fun, but that's the case with so huge communities...

Looking forward to get a pro, and as soon as I have some more time feel free to poke me so we can do a competitive match together guys :)

Greetings,
p4nix
Biggest tips I can give you:
Don't move and shoot
Dont crouch 24/7
Learn how to use the AK and when to tap/spray
Learn basic spray patterns/pulling down

Good luck :D
#32
Finished up the C tutorial for using corelib (userspace library), drawing the corelib window, and userinput :)

https://sr.ht/HzJX.png
#33
Other / Re: New member introductions: Say hello here!
December 31, 2015, 07:15:49 PM
Quote from: caleb1997 on December 31, 2015, 07:07:17 PM
Hello! I'm Caleb, and I have a account on Cemetech, and I know TI-BASIC, and am learning ez80 ASM. I have a CE and a CSE.
Welcome to codewalrus :)
#34
Having seen the many issues @ben_g has experienced using libc (none his fault, they're just things that seem like nobrainers to me because I wrote most of them), I've gone through and commented *most* C functions in libc and corelib.

Here's the corelib header file, fully documented :) : https://github.com/MaxLeiter/corelib/blob/master/corelib.h

I've decided to finally write up the KnightOS C tutorials that will be on the website. Here's a screenshot of the first one (haven't pushed it yet, plan to write the others first).
https://sr.ht/VvMS.png

Also, @ben_g threw together a pretty nice (WIP) calculator program in C
#35
Kind of unrelated to this post, but the biggest issue I had with the movie was this
[spoiler]
WHY DIDNT KYLO REN USE THE FORCE ON FINN WHEN THEY WERE FIGHTING
[/spoiler]
#36
Quote from: DJ Omnimaga on December 30, 2015, 06:24:43 AM
That is awesome. Is it useable yet? Because that would definitively be news material. A lot of people like C and the fact that KnightOS has an emulator (and I assume that other emus can be used with a KOS ROM) will probably help.

Yeah, its definitely usable (see: demos), but there's a few small things that get annoying (C89, mainly). z80e, the emulator, can load TI-OS (with a few bugs) afaik, and I've been using it for KOS for the past few months. The one big downside imo is no keyboard/skin, but that's not really a huge deal.
#37
Quote from: ben_g on December 29, 2015, 12:30:42 PM
I looked at some source files, and:
Quote from: source fragment
double tan(double x) {
    return sin(x) / cos(x);
}
Does that mean we can use floating points on KOS in C? O.O
Well, kind of. I don't really understand it, but libc doesn't provide BCD (binary-coded decimal) floats. This means that 0.1 + 0.2 = 0.300000000001, but that probably won't affect you too badly.


EDIT:
Just PR'd my filestream bindings into libc, so now you can (kind of!) modify/create/etc files!
#38
I had a better topic but accidentally reloaded the page and lost it  :(

Recently, I've been working on C bindings/the C library (libc) for KnightOS. Once I've finished the C bindings for corelib I plan to create some bindings for fx3dlib and configlib (both by @matrefeytontias).

I'm really hoping this will interest more people in KOS, mostly because a lot more people are familiar with C than z80 asm.

The compiler used is KCC, a fork of SDCC. There's a C library, libc, which has some POSIX-compliant functions where there's overlap between KOS and POSIX systems. There's also bindings for corelib, a userspace library, so hopefully some KOS C programs will start to show up.

To show off libc, here's a demo that SirCmpwn made: pong


And here's a demo I made demonstrating corelib: corelibcdemo (I'm very original when it comes to naming things)



So I guess if anyones curious about C support/has questions/errors/whatever, you can post here, ask me on IRC, or ask in #knightos on freenode

#39
Other / Re: New member introductions: Say hello here!
December 27, 2015, 11:22:49 PM
#40
Other / Re: New member introductions: Say hello here!
December 26, 2015, 10:05:52 PM
@Starbuck Johnson welcome! Looking forward to your docs on TI-OS (or is it on the physical TI-84?)
#41
Gaming / Re: (split) CodeWalrus Minecraft Server
December 23, 2015, 10:13:49 PM
Quote from: Juju on December 23, 2015, 10:13:00 PM
Pretty simple, you put a button next to a command block, you write a command in the command block like you would do in the chat and there you go. Speaking of which, how do you guys put a button directly on the block?
If its similar to back in 1.2, just hold shift
#42
Very cool you're doing this, like DJ said. Is the script opensource/available online somewhere? I'm curious as to how it works
#43
Gaming / Re: CSGO
December 22, 2015, 07:18:06 PM
#44
Gaming / Re: CSGO
December 21, 2015, 02:53:04 PM
Quote from: alexgt on December 21, 2015, 02:40:17 PM
http://steamcommunity.com/actions/WhatIsGameBan it linked to this when I clicked info on the ban xD stupid friend :P
I dont think valve has game bans though, link to profile? Either VAC or overwatch (which isnt permanent)
#45
Gaming / Re: CSGO
December 21, 2015, 02:34:18 PM
Quote from: alexgt on December 21, 2015, 02:23:38 PM
I am still wondering what my friend did to get perm ban :P
Have a link to his account? If he was VACed it will show
Powered by EzPortal