Omnimaga

Calculator Community => Other Calculators => Topic started by: blue_bear_94 on February 21, 2013, 08:22:07 pm

Title: Forty-eight hours of programming!
Post by: blue_bear_94 on February 21, 2013, 08:22:07 pm
Next week, I have school off (except for Monday). So while my little brother isn't home, I'll be programming from Feb. 27, 12:00 EST to Mar. 1, 1:00 EST with a one-hour break. If anyone has that period off and would like to program as well, then I'd like to hear about it.
So, I would appreciate a few fresh ideas for programming. Please note that I will (probably) be writing everything in C for the 68k series.
Title: Re: Forty-eight hours of programming!
Post by: Sorunome on February 22, 2013, 02:27:06 am
Idea: Finish one of your projects :P
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 22, 2013, 04:08:20 pm
Hmm... I had Sunrise 3. I'm going to be on the computer, so that's out.
Illusiat 12 Port? It's dead.
Decthyth?  Maybe.
Starvak 2 would require a complete rewrite, and I'm not sure on how to do it.
And last of all, Kraphyko needs heavy optimization before I can add any new features.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 22, 2013, 04:13:27 pm
why don't you do some casio dev as well? Or do you not have a casio calc?
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 22, 2013, 04:19:41 pm
Nope. Only a TI-84 + SE and a TI-89 Titanium. However, I'm planning on get a Prizm due to TI's addendum on its EULA:
Quote
You may not use the Licensed Materials on any emulator of a TI calculator unless the emulator is obtained from TI.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 22, 2013, 04:21:38 pm
Nope. Only a TI-84 + SE and a TI-89 Titanium. However, I'm planning on get a Prizm due to TI's addendum on its EULA:
Quote
You may not use the Licensed Materials on any emulator of a TI calculator unless the emulator is obtained from TI.

You should definitely get one.

Also, I find that casio menus are much more suited to math than TI, so thats a plus too.

I may be programming at that time, but I'll have to see whats going on. ;)
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 22, 2013, 04:25:07 pm
Any ideas on what to do on the Prizm, then?
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 22, 2013, 04:30:12 pm
Any ideas on what to do on the Prizm, then?

heh, program it :P

but, seriously, a good RPG is something we could use... or a finished top-down shooter. A simple FPS in C would be awesome as well. ;)
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 22, 2013, 04:31:32 pm
or a finished top-down shooter.

I could write a bullet hell, especially if there isn't already one.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 22, 2013, 04:36:05 pm
or a finished top-down shooter.

I could write a bullet hell, especially if there isn't already one.

Nope, there isnt one. And thats a great point, porting existing TI games to casio calcs would be awesome. :)
Title: Re: Forty-eight hours of programming!
Post by: Sorunome on February 23, 2013, 12:23:18 am
Or making a TI emulator for casio calcs......
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 23, 2013, 08:36:30 am
I'm getting a Casio Prizm soon. Do you know any emulators other than Casio's?
Title: Re: Re: Forty-eight hours of programming!
Post by: DJ Omnimaga on February 24, 2013, 02:52:46 pm
There are none, which is a shame considering the 84C got one before it even comes out.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 24, 2013, 03:24:30 pm
I'm getting a Casio Prizm soon. Do you know any emulators other than Casio's?

I think tari is working on one...
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 24, 2013, 05:01:36 pm
So the emulator should come with the CD which comes with the package, right?
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 24, 2013, 11:14:13 pm
So the emulator should come with the CD which comes with the package, right?

Umm, no, unfortunately.

There are a couple options.

Make a Window$ VM, install fx-cg manager 90 day trial, and whenever the trial period runs out, restore the VM to te state right after you installed it.

I don't think that's illegal, BTW, but someone please verify that.

The other option is to buy it.

But no, the CD in the package only comes with the trial version.

And it has the manual. You no longer get paper manuals. >.<
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 24, 2013, 11:16:13 pm
Well, you're essentially cracking their software, so technically that falls under warez.
Title: Re: Forty-eight hours of programming!
Post by: DJ Omnimaga on February 25, 2013, 12:06:04 am
It's illegal, but they can't do much. Plus they're not helping themselves by not providing a Buy link after the trial expires nor an online downloadable version.

Don't go loud about how you did it but that's actually the trick I used to :P. In fact maybe the advice above might have to be edited in case, because last year Casio had such posts and they lost all their advertising x.x
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 26, 2013, 06:25:28 am
Well, we don't have to worry nearly so much about that, seeing as we're self funded (and this is nowhere near as potentially illegal as many sites.)
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 26, 2013, 08:48:19 am
How to do it without a VM?
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 26, 2013, 08:52:41 am
That depends greatly on how the system it uses works. If it does some kind of internal time measurement, then cheating it will be difficult. If it just looks at the system clock, though, you can just set your computer's date back 28 years, which keeps the dates the same.
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 26, 2013, 09:33:21 am
I hope the emulator from some community member gets done soon, then...

P. S. now that I think about it, why not change the registry?
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 26, 2013, 10:29:26 am
That only works if it stores it in the registry, rather than some encrypted data file (writeback to the binary isn't unheard of) or checking the system clock. Heck, it could very well be some solution they paid for from another company and even they don't know how it works.
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 26, 2013, 11:56:06 am
But if they check the system clock, then wouldn't they need to store the date of activation somewhere?
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 26, 2013, 11:58:16 am
That doesn't have to be the registry, which I explain in my post. You can write a program very easily that stores data to a file, and later reads that data. How do you think save files work? Writing to the registry is generally harder than using your own files.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 26, 2013, 02:01:50 pm
all i know is that system restore resets the install... because i have done it myself.
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 26, 2013, 03:52:02 pm
But who would store the data to the file, when someone could delete it and get another 90 days?
Title: Re: Forty-eight hours of programming!
Post by: willrandship on February 26, 2013, 09:14:54 pm
They can store it in a hidden location, not necessarily somewhere easy to find.

Seriously, it's way easier to do this than you think.
Title: Re: Forty-eight hours of programming!
Post by: DJ Omnimaga on February 27, 2013, 12:31:12 am
That only works if it stores it in the registry, rather than some encrypted data file (writeback to the binary isn't unheard of) or checking the system clock. Heck, it could very well be some solution they paid for from another company and even they don't know how it works.

I am sure that it doesn't check the registry nor the clock. I once checked the registry at appropriate locations and never could find anything related, unless they use some strange unrelated name. Changing clock didn't work either. I just reset my virtual XP install. I thought about updating to the paid emulator at one point, until I realized it couldn't run add-ins properly.
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 27, 2013, 10:40:18 am
Well, after hours of playing around on the SDK, this is what I made. It doesn't count, though, since it's just an example.
Use the arrow keys to change coordinates.
Title: Re: Forty-eight hours of programming!
Post by: flyingfisch on February 27, 2013, 01:08:03 pm
Well, after hours of playing around on the SDK, this is what I made. It doesn't count, though, since it's just an example.
Use the arrow keys to change coordinates.

Nice, what did you use to test it with? fx-cg-cl/ui or casio's emu, or did you get a prizm already?
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 27, 2013, 04:13:26 pm
I used Casio's emu, even though I already have a Prizm.
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 28, 2013, 08:56:17 am
Bump: I decided to write a bullet hell. Should I use a dynamic array or a linked list for the enemies and projectiles?
I was thinking of a linked list, since I'll have to insert and delete entries A LOT, but doing so would require allocating memory for EACH node.
Title: Re: Forty-eight hours of programming!
Post by: Nick on February 28, 2013, 12:00:46 pm
You need the memory anyway, the only thing you lose is the bytes for linking to the next node, but I guess it's still more flexible than using a dynamic array. I would recommend a linked list, maybe doubly linked? Since deleting between two nodes can be a pretty long job if you use a singly linked list..
Title: Re: Forty-eight hours of programming!
Post by: blue_bear_94 on February 28, 2013, 04:24:40 pm
But I'd have to call malloc for each node!
Anyway, even if I #include <stdlib.h>, I can't use malloc or free, because they aren't defined...