February 28, 2020, 03:40:22 pm

News:

Now with 20% more walruses


The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

Recent posts

Pages1 2 3 ... 10
1
TLDR: I am currently trying to create an operating system for the ti nspire and just hit a (small) milestone, searching for testers in the future

In my current project, called simply OSExt for now (because it should extend the normal ti OS sometime in the future), I deviated from simply writing a program that I wanted to integrate with the OS to wanting to write a whole paralell OS kernel.
The whole kernel-idea started because I hated it when I tried to test a program and the calculator crashed, leaving me waiting for it to reboot, and with no clue why it even crashed in the first place.


This is a massive undertaking, and I may never finish it, but I now have a small testing-version finished, which can run a programm in userspace in its own virtual address space, where it can't do harm to the rest of the system if it goes wrong.
Now I need to implement a proper program loader, a way for the program to use files, allocate new memory, create new processes and communicate with them.
I want to use the newlib library, which is actually already used by ndless, so it shouldn't be that hard to port.
My goal is to make a complete POSIX system, so I can eventually port some open-source software to my os.

If someone wants to help me, or maybe volunteer to test it if it's more mature, I'd be happy. Because I only have an ti nspire CX CAS HW-AA, I can only test the rest in the emulator myself.
If you want to test it in firebird yourself: the github page or the .tns file


The current Roadmap:
  • implementing a way for programs to allocate memory
  • implementing a way for programs to access files, if they have the permission
  • implementing POSIX fork and exec to create new processes
  • implementing a message system and a pipe system for the programs to communicate
  • porting newlib
  • implementing a dynamic linker for shared libraries
  • making a lcd driver
  • making a keypad driver
  • making a touchpad driver
  • making a desktop environment with a file browser and the ability to execute programs and let them display to the screen
  • optimizing memory usage
long-term:
  • if I'm not dead already, implementing a usb storage driver (will certainly take much time for this one)
  • porting gcc and binutils, so I can develop the kernel on my calculator
  • if I'm somehow still alive, integrating it into nLoader to boot from it

I have this shell for debug output:


And here is my proof of going into userspace:


Here is the address space. All but the first and second entries are my kernel:

2
I want to show the battery charge to the user while my program is running, so I have to read it myself.
To test it I made a small program that reads the voltages and shows them, but it only works in firebird, not on my CX CAS HW-AA.
In firebird it shows:
VBATT: 6.0
VSYS: 6.0
B12: 3.0

on my calculator:
VBATT: 0.0
VSYS: 4.0
B12: 0.0

Is my program or my calculator broken?
Or is only VSYS used in real calculators?

At 50% my calculator now shows 3V for VSYS, so it really seems only VSYS is used.

Thanks in advance if anyone knows more, I haven't found anything about this.

Here is the hackspire entry for the ADC:
https://hackspire.org/index.php?title=Memory-mapped_I/O_ports_on_CX#C4000000_-_Analog-to-Digital_Converter_.28ADC.29

my program (download link from my omnimaga post, codewalrus doesn't seem to like zip files)
3
Site Discussion & Bug Reports / Re: No we don't have that many...
Last post by Juju - February 21, 2020, 04:03:52 am
Even the bots agree, 10/10
Quote from: dfsservices on February 21, 2020, 02:45:03 amHello I agree with "Since the last few months, there have been either an influx of bots crawling the forums, a small number of bots changing their IP address every three second while crawling CW or both. This resulted into ridiculously high numbers showing up in the online users section. To reflect our real population, a new category of user has been created¨: Other bots, which now includes the aforementioned bots. We normally average around 30 real users online within a 30 minute span."

Thanks For Sharing this news .
I am Woring with DFS Services .
More Information - ip camera
home security
security systems
security alarm
Even the bots agree, 10/10
4
Site Discussion & Bug Reports / No we don't have that many gue...
Last post by DJ Omnimaga - February 15, 2020, 08:56:25 pm
Since the last few months, there have been either an influx of bots crawling the forums, a small number of bots changing their IP address every three second while crawling CW or both. This resulted into ridiculously high numbers showing up in the online users section. To reflect our real population, a new category of user has been created¨: Other bots, which now includes the aforementioned bots. We normally average around 30 real users online within a 30 minute span.

QuoteOnline: 260 Guests, 1 User (239 Spiders)  - Most Online Today: 709 -  Most Online Ever: 2,055 (January 20, 2020, 02:54:04 pm)
Users active in past 30 minutes: DJ Omnimaga, Yandex (2), Other bots (230), Google (6), Baidu

Thankfully, this influx of bots doesn't appear to have caused any forum uptime disruption (except of course during the 1 PM database backups).
5
Other / Re: Happy Tau Day!
Last post by walterwhite21 - February 15, 2020, 12:07:42 pm
can anyone clear me that what is tau exactly.because we call tau to our uncle.
6
Hi, my newest single, Ride the 90's, is now released!

https://djomnimaga.bandcamp.com/album/single-ride-the-90s-2

It contains 4 versions of the song of the same name: Eurodance, trance, chiptune trance and happy hardcore, all inspired by the 90's.
7
Here's another Caustic 3 song, this time eurodance inspired from the 90's and chiptune music:

https://djomnimaga.bandcamp.com/track/ride-the-90s
8
Drawing & Animation / Re: DJ album artworks from the...
Last post by DJ Omnimaga - February 06, 2020, 02:57:39 am
Updated first post again, this time with this:


9
@JWinslow23



Also welcome here WillDi :3=
10
Calc Projects, Programming & Tutorials / Re: [ti-84+CE] Cookie Clicker ...
Last post by WillDi - February 05, 2020, 09:32:14 pm
Did achievements ever come out? I'm finding ways to cure boredom in math class haha.
Pages1 2 3 ... 10
Powered by EzPortal