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.


Messages - ProgrammerNerd

Pages: [1] 2 3 4
1
Casio Calculators / Re: Open Jazz jackrabbit Casio prizm port
« on: April 30, 2021, 06:37:05 pm »
I've release a new update that I would consider urgent because it fixes invalid memory access and a file handle leak. The link is the same. You can download it from here: https://github.com/ComputerNerd/Open-Jazz-Jackrabbit-Casio-Prizm-port/blob/master/openjazz.7z

If you accidentally leave a file open on the Prizm it's really bad because you have to reset your calculator or put it in USB Mass Storage Mode to resolve the issue.

From the Casio Prizm wiki (https://prizm.cemetech.net/index.php?title=Bfile_OpenFile_OS) it says:
Quote
but strange behavior (most likely a OS bug) occurs if files other than the one in the first handle slot are located in directories (other than the root).

The strange behavior part is concerning. Although nothing bad has happened to my calculator I don't want anything bad to happen to yours. That's why I strongly urge you to update to the latest version.

I know that the G3A file is hosted elsewhere. If you are hosting this game I ask that you make this update available on your website as well so that people don't accidentally download the old version. I understand if you have a version history that's fine. I just mean that this should be an option.

2
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: October 27, 2014, 11:42:29 pm »
chickendude Glad to hear that you enjoyed using my program and got your calculators back. When a calculator that I own leaves my sight when it should not, I get paranoid, someone else having it for a year would be terrible but you got it back and at least you knew them.

3
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: October 05, 2014, 10:59:55 am »
Yes now I see where the Omni part of the forum name came from. As for my questioning of what is so good about Basic it was more of me just trying to understand why people use it and I am glad you took the time to explain why. As for me saying that I would not use it for anything serious I was referring specifically to Casio BASIC which as you mentioned is too slow. I am still considering implementing an Axe JIT or interpreter for the Casio prizm. I would not flame someone for writing in a different language. Recently I am taking an interest in python. I understand that I will not get the same performance as I would get in C but it seems nice for getting things done quickly. I do think that different languages have different purposes but if it works for your purposes then there is nothing wrong with using it.

4
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: October 04, 2014, 09:37:22 am »
I am glad this ended well and I am glad that people told me that I was wrong for that post instead of just walking away felling offended.

5
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: October 04, 2014, 12:31:33 am »
Wow I did not expect that reaction. I apologize. That post was not meant to be ad hominem and I should have presented it in a more respectable manner and backed it up with a well constructed argument. First of all I when I replied to the post I did not notice that you (DJ Omnimaga) have mentioned your personal experience. That is not why I said that. The reason why I said that was because I do not doubt anyone's theoretical ability to learn even assembly. You have ran a nice website and been a part of the community for a long time further enhancing my belief in your capability. I think the issue is that people may be mislead by others into doing something wrong. I do believe that if anyone puts their mind to it they can do it and how they do it does affect the success of if they get it done. I do not think one who has trouble grasping a certain programming language is in any way inferior to those that do and understand that some people will not get it using one stagey and will have to pick another. I remember when I first started learning C it was a very long time ago so details are faded but I do recall for some concepts having to read multiple articles until I understood it. There is nothing wrong with not being able to grasp a concept. The doing it wrong part is thinking that, that one article you read is the best explanation in existence and just banging your head against the article trying to learn solely from it. Also I do admit some narrow mindness. When I wrote that post I thought that people have a similar philosophy on handling "your doing it wrong" as I do. If someone told me that I was doing something wrong I would like to learn more about why they feel that way. I would then analyze their viewpoint and consider if I should act based on what I learned. For example when I started programming I had an insistence to use the smallest variable type possible despite programming for a 32-bit CPU (only use smallest for 8 bit CPU) when it is actually bad. For example using unsigned char for a loop. Instead I should just use unsigned. I then read about this and upon discovering that I was wrong I did some tests and found out that yes I was doing it wrong and if someone would have told me that I would have tested their claim and see if they are correct and if so I would have acted upon it. Also another example, one would say that I struggled with Spanish and say that English is the only language I speak. You know why because I was doing it wrong and I knew it but did nothing. Instead even now I just write stuff about how I sucked at Spanish but what I should do is take action. Instead of just starting at a list of words I should have memorized roots and prefixes and suffixes.  If someone disagrees with the way I perceived to be better than my terrible habits and they tell me that I am still doing it wrong. I would not get angry at them. I would learn from them. What you should get out of this post is that the reason I said what I said was because I believe in you and your ability and I do not in any way think poorly of you. Also about being told that they are wrong has another advantage the person who told the other one they are wrong may learn something too. For example lets say that someone told me I should create duplicate code comments. For example they tell me that I should do
Code: [Select]
unsigned i=123;//set i to 123
I tell them why doing such is bad as it is nothing more than duplicated code and then they hear my argument and then they learn something and break a habit which they evidently feel strongly about as they were willing to correct other people and by telling the corrector why they are wrong you are doing a good service to the people by removing some confusion and deception from the world. I am very glad that people here took a stance that my post was unacceptable and in doing I was able to have the opportune to correct my mistake instead of just leaving people offended. Speaking of which I do hope this post made things only better and in no way worse

Also Ivoah the CFLAGS that are causing you errors are specific to gcc you can remove them and the program will still run.

6
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: October 02, 2014, 06:46:27 pm »
If they don't get it they are doing something wrong. Also the emulator is not all that bad.

7
Casio Calculators / Re: Casio prizm Mandelbrot explorer
« on: September 30, 2014, 05:20:22 pm »
Really I could never understand why people like BASIC so much. Yes it is nice for quickly getting something done when you don't have a PC with you but I would not use it for anything serious such as a game. Yes Prizm BASIC is too slow.

8
Casio Calculators / Re: Audio player for Casio Prizm
« on: September 19, 2014, 06:51:17 pm »
Alright tell me how it sounds.

9
Casio Calculators / Re: Audio player for Casio Prizm
« on: September 18, 2014, 11:02:47 pm »
Well sorry for the massive bump but I did a little quick work on this and was able to improve the quality simply by using a new algorithm. It is louder and of higher quality with a small side effect of a quite high pitch noise which can be easily solved with an RC low pass filter and/or faster baud rate. I have some recordings as I have a 2.5mm to 3.5mm cable if anyone wants to hear a comparison. Binary:
https://github.com/ComputerNerd/CGplayer/blob/master/CGplayer.g3a
Source: https://github.com/ComputerNerd/CGplayer/blob/master/src/main.c
And for those who don't want to bother clicking on the link here is the new algorithm it is more simple that what was originally used.
Code: [Select]
unsigned samp=gpBuffer[giBufIndex++]>>3;
if(giBufIndex>=giLength)
return;
unsigned x;
for(x=0;x<4;++x){
if(samp>7){
SCIF2.SCFTDR=255;
samp-=8;
}else{
SCIF2.SCFTDR=ptab[samp];
samp=0;
}
while((SCIF2.SCFDR.WORD >> 8)>=15);
}
Also it uses this table
Code: [Select]
static const unsigned char ptab[]={0,1,3,7,15,31,63,127};

10
News / Re: Omnimaga moves 1 generation up
« on: September 09, 2014, 07:37:21 pm »
I too have not played minecraft. I have seen it run and despite the fact that it was a fast computer that can run games of much higher quality in regards to graphics minecraft ran slow on the computer. Had I to come up with one word to describe the issue I would say Java.

11
Casio Calculators / Re: What would benefit prizm programmers and users?
« on: September 05, 2014, 07:35:40 pm »
I don't think that will be an issue (the casio prizm screen having more pixels).

12
Casio Calculators / Re: What would benefit prizm programmers and users?
« on: September 04, 2014, 11:53:37 pm »
Well that is why I considered compiling the program to ram before running. Also TI calculators have such weak hardware that I think an interpreter on the casio prizm would be faster than what you would get on say TI-83 or TI-84. Do not be surprised if I write this and Axe programs run faster. Also for editor I would have a built in editor however the users could upload programs to the calculator also. Also the editor can be made normal. Why do you think I would make a strange one? My idea was to have an axe specific buttons that the user could press to quickly write code on the calculator. For example if the user presses F1 which selects the category Conditional statments they would see commenly used conditional statment stuff so then they simply press the function key again to select what they need.

13
Casio Calculators / Re: What would benefit prizm programmers and users?
« on: September 03, 2014, 11:46:12 pm »
Ok now I understand you. I though you meant because Axe is compiled that means the source code is larger. Well what is larger is that there is a binary file. I was planning on making an Axe JIT. What I mean by that is when the program is launched it is compiled to ram or I was considering writing an interpreter. Also there will be no need to replace stuff. This will be a separate program if I do it. I do not think there is an hooks support for basic programs. Yes I will make Axe extensions but like I said before assuming no z80 assembly if an already writing for latest syntax Axe program does not run it would be a bug unless they are abusing a bug in another Axe implementation. I will not implement work around for programs that expect a bug in said compiler if there are any programs like this.

14
Casio Calculators / Re: What would benefit prizm programmers and users?
« on: September 03, 2014, 11:26:23 pm »
First of all Casio BASIC is not the same as TI basic (I have never looked at TI basic but I believe they are the same), Also the fact that a language is compiled or not does not affect the size of the source code. I do see your justification for having a Casio Axe as instantly many programs become available for the Prizm with no effort. I would consider pure axe programs that don't run to be a bug. I have also considered just making a TI emulator. It would certainly prove Casio to be the superior calculator as it can run TI programs whereas TI calculator cannot run Casio Prizm programs.

15
Casio Calculators / Re: What would benefit prizm programmers and users?
« on: September 03, 2014, 11:09:43 pm »
You know I have though of doing this. What made me lose interest in the idea is when I started reading the specs for the language I found out that the user can put z80 asm directly in the program which is specific to TI hardware. So I would pretty much end up writing a TI emulator. Or I could make it so that sh4 assembly could be entered instead and just display an error if it is z80 assembly. How many axe programs use assembly?
Edit: noticed you added xLibc this is for TI calculators, not the prizm. An Axe parser may be a more viable option to create.

Pages: [1] 2 3 4