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 - Legimet

#1
I haven't paid much attention to calculators in the last few years (i.e. since I started college). This is sad but not surprising.

On another note, this is my first time hearing about NumWorks. I doubt I will purchase a calculator any time soon but it looks interesting.
#2
I was never one of the more prolific posters here, but I don't think I've posted here (or worked on any of my projects) in months. For me, it has nothing to do with calculator regulations, I'm just constantly busy with college.

EDIT: Also, graphing calculators are mostly useless to me in college. As opposed to high school, in which the classes were easy and I would sometimes just play games on my calculator.
#3
I was working on this a bit during the summer and was going to post about it but then stuff happened and I stopped working on it.

Anyway, I updated it to work with Duktape 2, which greatly improves the speed. I also added support for HW-W. I'll try to find the benchmarks that I did a few months ago and post a graph of it.

EDIT: Also Duktape 2.2.0 is out, so I guess I'll update it and do a new benchmark.
#5
I don't post here very often, but I really hope it stays. I think it'll work out in the end.
#6
By the way, there's no need to define your own __nspire__ macro. nspire-gcc already defines _TINSPIRE.
#7
The palette registers are at at 0xC0000200 (0xC0000000 is the base address). These pages on Hackspire are a good reference: https://hackspire.org/index.php/Memory-mapped_I/O_ports.
You have to write one (32-bit) word at a time, and the structure is as given in the page I linked:


BitNameDescription
[31]IUnused
[30:26]R[4:0]Red palette data
[25:21]G[4:0]Green palette data
[20:16]B[4:0]Blue palette data
[15]IUnused
[14:10]R[4:0]Red palette data
[9:5]G[4:0]Green palette data
[4:0]B[4:0]Blue palette data

For classic Nspires I believe only [25:22] and [4:1] are used but you should make sure.

Oh, and I forgot to say: you should do the usual lcd_init(SCR_TYPE_INVALID); before exiting to restore the mode and free any memory that was allocated (like on classic).
#9
Quote from: p3n4 on February 05, 2017, 11:43:43 PM
Would Ndless actually work on an Emulator?
Yes, it does.
#10
Quote from: DJ Omnimaga on January 30, 2017, 03:38:57 AM
I wonder if the US constitution allows an existing president to be thrown out or forced to launch new elections before due date? Because in Canada, this happened in the past with Joe Clark (he didn't even stay 8 months).

He would have to be impeached by both houses of Congress, which is very unlikely to happen with Republican majorities. There is no constitutional procedure for holding new elections (and the constitution is very hard to change, because a constitutional amendment requires ratification by 38/50 states).
#11
The failing Trump administration has reached majority disapproval in a record 8 days! SAD!
#12
There is also a stack alignment issue with OS 3.1. If you run newlib.tns (from the Ndless samples), the float will not print correctly because of that.
#13
Also, it fixes the exclamation point !, which for several versions had a dot above it.
#14
Other / Re: junk mail, how much we love it <3
December 27, 2016, 10:03:59 PM
SpamAssassin?
#15
If you're using Debian, you might want to look at apticron, a script which sends emails about updates :)
Powered by EzPortal