Search found 83 matches: casio

Searched query: casio

by jimmo
Tue Oct 08, 2019 3:00 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 1776

Re: MicroPython on Casio fx-CG50 Questions?

Worth trying here!

If nothing else, I'm curious to learn more about what it's like! (Fond memories of writing BASIC on my TI-86, must be pretty neat to be able to use MicroPython)
by TomL12953
Tue Oct 08, 2019 2:32 am
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 10
Views: 1776

MicroPython on Casio fx-CG50 Questions?

Does anyone know where I'd go to ask questions about MicroPython on the Casio fx-CG50 calculator?

TIA

Tom L
by fe2o3
Thu Jan 17, 2019 11:55 pm
Forum: Announcements and News
Topic: MicroPython in Casio's graphic calculator
Replies: 1
Views: 6542

Re: MicroPython in Casio's graphic calculator

I bought this calculator last week. No need to look for the "snake" on the package because you can upgrade an older fx-CG50's OS to the latest which includes μPy. There are only two packages you can import: math and random. That's it. There is no sys, machine, uos, or anything other useful modules. ...
by jickster
Fri Jan 04, 2019 4:04 am
Forum: Development of MicroPython
Topic: How do I make a port of MicroPython for Casio calculators?
Replies: 66
Views: 11823

Re: How do I make a port of MicroPython for Casio calculators?

The crash is in mp_obj_fun_get_name.

Try commenting out the lines therein and adding them back one at a time.

If you have a debugger, it’s easier cause you can just put a breakpoint in mp_obj_fun_get_name and see where it dies.


Sent from my iPhone using Tapatalk Pro
by Zezombye
Thu Jan 03, 2019 1:15 pm
Forum: Development of MicroPython
Topic: How do I make a port of MicroPython for Casio calculators?
Replies: 66
Views: 11823

Re: How do I make a port of MicroPython for Casio calculators?

I "solved" the shell problem (really it's more like a workaround, it still kind of prints character by character, but I have no idea how to avoid that). Basically I first reprogrammed shell_draw() to only execute in case of a new line (\n or character wrapping). This works fine, but now I also have ...
by Zezombye
Tue Dec 04, 2018 4:48 pm
Forum: Development of MicroPython
Topic: How do I make a port of MicroPython for Casio calculators?
Replies: 66
Views: 11823

Re: How do I make a port of MicroPython for Casio calculators?

Yeah, I knew about this port - in fact Casio not releasing MPy for monochrome calcs is why I'm doing this port myself :p

Shame they used the big font though, you could fit much more letters in the screen.
by Zezombye
Sun Dec 02, 2018 6:32 am
Forum: Development of MicroPython
Topic: How do I make a port of MicroPython for Casio calculators?
Replies: 66
Views: 11823

Re: How do I make a port of MicroPython for Casio calculators?

I refactored that because it was a simple way to automatically send the string "from xxx import *" to the shell. So pyexec_friendly_repl(char *text), through a bunch of ifs, ultimately calls int readline(vstr_t *line, const char *prompt, char *text), which is the following function: int readline_ind...
by jickster
Sun Dec 02, 2018 3:45 am
Forum: Development of MicroPython
Topic: How do I make a port of MicroPython for Casio calculators?
Replies: 66
Views: 11823

Re: How do I make a port of MicroPython for Casio calculators?

Why and how have you refactored the py code?

You’re sending the first line into pyexec_friendly_repl() though that function is normally void.

If this is part of a script why are you using REPL functions?



Sent from my iPhone using Tapatalk Pro