0 Members and 10 Guests are viewing this topic.
By the way, I added a 15MHz mode in the next version and its incredible! Why didn't I know about this when making pyoro? I could've had 8 level grayscale or something! But the downside is that if you use this mode, your games will run 3 times slower with an 83+ than with the other calculators so compatibility becomes an issue.
I've already added it, this is how it works. You will use the command "Full" found in the modes page and it stands for full speed mode. However, the command also returns a value. It will be false (zero) if the calculator does not support 15MHz and true (non-zero) if it does. So if you had a game you only wanted to be able to run on 15MHz calcs, you can do this::!If Full:Return:EndThat would quit the game if the Full command failed. If you don't care about the type of calc, then you just use it normally like this::FullThe command "Normal" returns to regular speed and doesn't return a value since it can never fail.
!If full-code1-Else-code2-End
I think the above way you just wrote is better. Having a different program for each type of calculator is more annoying in my opinion than a single, insignificantly larger program that works for every calculator. I might add a command that returns the exact type of calculator and operating system version, not just 15MHz support.
That would be very useful as well. This made me thinking, since the LCD isn't memory mapped (right? ) swapping buffers would be as simple as changing a pointer in the safeCopy routine right? Or do I not know what I am talking about?