( Ignore the HELP post icon, there were no appropriate ones )
Does anyone else have a programmable calculator? I used to waste many boring maths and science lessons making games for my Casio fx-9750 plus. I think my best game was a horse betting one where you choose one of four horses with varying odds of winning, bet money on it, then either gain or lose money if the horse won or lost respectively.
[img]http://www.productwiki.com/upload/images/casio_fx_9750g.jpg[/img]
So do you have a programmable calculator, and if yes what sort of programs did you make on it?
Where can I easily get one? Is it expensive? Also if I could I would make a video player thing so I can watch...videos...on the go.
[QUOTE=Nick99;17994044]Where can I easily get one? Is it expensive? Also if I could I would make a video player thing so I can watch...videos...on the go.[/QUOTE]
Well my one only uses a very simple form of BASIC, and the output was only ever text on the screen or graphs etc. It wouldn't be able to play videos or anything like that sadly :(
Quick, I must buy integrated Intel stuff with my dad's employee discount and make a color screen graphics calculator!
[QUOTE=Nick99;17994044]Where can I easily get one? Is it expensive? Also if I could I would make a video player thing so I can watch...videos...on the go.[/QUOTE]
...it's a calculator.
I have a TI-nspire, it has some really basic programming functions, but for some mysterious reason they have much less programming functions that the older models such as the TI-84.
I don't have one myself, but I've seen some pretty cool programs made for them. A friend of mine adapted a raycasting engine I made to his calculator's language about a year ago.
You can find some awesome games here;
[url]http://www.ticalc.org/pub/[/url]
[QUOTE=Shanethe13;17994877]A friend of mine adapted a raycasting engine of mine to his calculator's language about a year ago.[/QUOTE]
On a 20MHz processor? :/
[QUOTE=Ortzinator;17994987]On a 20MHz processor? :/[/QUOTE]
Raycasting takes barely any processing power at all. You may be thinking of raytracing. Here's an example of what I mean, programmed for, what do you know- a TI calculator:
[url]http://www.benryves.com/journal/3038214[/url]
[QUOTE=Shanethe13;17995272]Raycasting takes barely any processing power at all. You may be thinking of raytracing. Here's an example of what I mean, programmed for, what do you know- a TI calculator:
[url]http://www.benryves.com/journal/3038214[/url][/QUOTE]
That is awesome.
[QUOTE=Shanethe13;17995272]Raycasting takes barely any processing power at all. You may be thinking of raytracing. Here's an example of what I mean, programmed for, what do you know- a TI calculator:
[url]http://www.benryves.com/journal/3038214[/url][/QUOTE]
They need to divide the distance traced by the distance from the camera to the rendering plane at that angle :/
And I've just decided to buy a TI calculator, looks much more powerful than mine
Yes! Casio basic.
I remember programming snake during those long boring statistics lessons xD
I have a TI Voyage 200 or whatever it is called. Would be ace to write games on it, donno how though.
[QUOTE=Ortzinator;17994987]On a 20MHz processor? :/[/QUOTE]
Sure, why the hell not?
I've seen real-time raytracing demos for Amiga with Motorola 68020 processor. 16 MHz.
I had that exact calculator in high school. I use to waste a shit load of my time making games for it in maths class.
I made blackjack, a slot machine game with awesome graphics that would roll the numbers when you pulled the handle. I also started making a top down RPG game, but all I only ever got the player walking around on 1 screen and entering 2 houses (a shop and your mothers house).
I have that exact calculator, and I made a bouncy-ball game :D
It's pretty easy. I may put up the code for it later.
[editline]05:38PM[/editline]
[QUOTE=r4nk_;18003968]I had that exact calculator in high school. I use to waste a shit load of my time making games for it in maths class.
I made blackjack, a slot machine game with awesome graphics that would roll the numbers when you pulled the handle. I also started making a top down RPG game, but all I only ever got the player walking around on 1 screen and entering 2 houses (a shop and your mothers house).[/QUOTE]
How the hell did you make those.
It's near impossible to make anything on that calculator cause of the lack of functionality.
Code, maybe?
[img]http://lib.store.yahoo.net/lib/calculatorsource/cs-classpad300.jpg[/img]
Now look at this motherfucker.
It's damn powerful, and uses symbolic math, so you can solve a bunch of equations and stuff like that on it.
It even has a SDK that lets you write C applications on a PC, and then run them on the calculator.
Some guy even ported Lua to it, so you can directly write and execute code from the calculator, without having to use a PC.
I made a bunch of game using that, the two latest ones are using a simple Lua game engine I made, which is particularly efficient for shoot'em ups.
[img]http://kilburn.ftp.free.fr/ClassPad/spcapt1.PNG[/img][img]http://kilburn.ftp.free.fr/ClassPad/spcapt2.PNG[/img][img]http://kilburn.ftp.free.fr/ClassPad/spcapt3.PNG[/img]
This one runs at 5-6 fps, not so bad for a calculator, plus it's kinda slowed down by Lua, it would be probably twice faster if I coded it in C++.
[img]http://kilburn.ftp.free.fr/ClassPad/alcapt4.PNG[/img] [img]http://kilburn.ftp.free.fr/ClassPad/alcapt5.PNG[/img] [img]http://kilburn.ftp.free.fr/ClassPad/alcapt6.PNG[/img]
This last one is a bit more special as you can see. :v:
[QUOTE=_Kilburn;18004325]win[/QUOTE]
holy shit.
I have a TI-84+ and it is a great time waster to write stuff on it. Also another nice function is just writing class notes as a program and "editing" them. You can see formulas, concepts etc... and if you have a paranoid school just write a fake "RAM Cleared" program to fool the teachers.
[QUOTE=_Kilburn;18004325]jesus fuck[/QUOTE]
Wow way to take it to the next level
[editline]07:24PM[/editline]
[QUOTE=Deco Da Man;18004259]
How the hell did you make those.
It's near impossible to make anything on that calculator cause of the lack of functionality.
Code, maybe?[/QUOTE]
lack of functionality? what are you talking about. You can draw lines, small text and large text what else do you need :v:
I'll see if I can find my calculator, I hope it hasn't run out of batteries or I havn't reset it though.
[QUOTE=r4nk_;18004997]
lack of functionality? what are you talking about. You can draw lines, small text and large text what else do you need :v:
I'll see if I can find my calculator, I hope it hasn't run out of batteries or I havn't reset it though.[/QUOTE]
Can't do that with calculator shown in the original post :(
I have that model, and it sucks.
The most you can do is draw lines and basic text.
I tried to make one of the 2D pixel rule thingies, but you can't even get the value of a PxlTest, meaning you need to create your own 64x128 matrix, which uses a fuckton of memory and I only have a 32KB one.
[QUOTE=Deco Da Man;18005195]Can't do that with calculator shown in the original post :(
I have that model, and it sucks.[/QUOTE]
Cant do what with that calculator? That is the exact calculator I have
[QUOTE=r4nk_;18005414]Cant do what with that calculator? That is the exact calculator I have[/QUOTE]
[img]http://www.productwiki.com/upload/images/casio_fx_9750g.jpg[/img]
This one?
Let me find mine and I will compare the exact model number, but it looks identical
[editline]08:22PM[/editline]
Oh wait mines a CFX-9850GB PLUS
[editline]08:23PM[/editline]
It says COLOUR POWER GRAPHICS below the screen instead of just POWER CALCULATOR
[editline]08:24PM[/editline]
[img]http://world.casio.com/edu/product/common/colseup/images/up_cfx9850gb_p_we.jpg[/img]
[QUOTE=r4nk_;18005446]calculator[/QUOTE]
I just checked and that's the one I have.
It may be good, but it's no where near good enough to have good games made on it.
I made games on the lower model fine, so why not?
[QUOTE=Deco Da Man;18005588]I just checked and that's the one I have.
It may be good, but it's no where near good enough to have good games made on it.[/QUOTE]
Yeah its really slow, you can't make games like _Kilburn's by any means. Some of my mates had black calculators that were [I]wayyyy[/I] faster.
Anyway, I'll start writing out my slots machine game
[editline]09:47PM[/editline]
Here's the slots game:
[code]
Cls
ClrText
Text 20,40,"SLOTS!"
Text 30,20,"BY JOHN HANNAGAN"
Text 40,20,"ANY KEY TO START"
Do
Getkey->L
LpWhile L=0
Lbl4
2->J
20->M
Lbl 2
ClrText
Cls
ViewWindow -6,6,1,-3,3,1
F-Line -1.5,2.3,1,2.3
F-Line -1.5,1.5,1,1.5
F-Line -1.5,2.3,-1.5,1.5
F-Line 1,2.3,1,1.5
F-Line 0.2,2.3,0.2,1.5
F-Line -0.8,2.3,-0.8,1.5
F-Line -1.7,2.6,1.2,2.6
F-Line 1.3,2.6,1.3,-1
F-Line -1.8,2.6,-1.8,-1
F-Line -1.8,-1,1.3,-1
F-Line 1.3,1,1.6,1
F-Line 1.3,1.2,1.6,1.2
F-Line 1.6,1.2,1.7,2.2
F-Line 2,2.3,1.5,2.3
F-Line 1.9,2.4,1.6,2.4
Text 35,52,"SLOTS"
Text 48,5,"1) PULL"
Text 54,5,"2) HELP"
Text 10,5,"F1) EASY"
Text 16,5,"F2) MED"
Text 22,5,"F3) HARD"
Lbl 3
Text 48,60,"CASH:"
Text 48,80," "
Text 48,80,M
Do
Getkey->L
LpWhile L=0
M>=J And L=72=>Goto 1
L=62=>Goto 5
L=79=>2->J
L=69=>5->J
L=59=>10->J
M<=1=>Goto Q
M<J=>Goto 3
Goto 3
Lbl 1
M-J->M
(Int (6Ran#))->A
(Int (6Ran#))->B
(Int (6Ran#))->C
Text 10,50,A
Text 10,60,B
Text 10,70,C
A=B Or C=B And A!=C=>Goto r
A=B And C=A=>Goto (theta)
Goto 3
Lbl 5
Cls
ClrText
Text 2,2,"TWO OF A NUMBER WILL"
Text 8,2,"GIVE 4 DOLLARS FOR 00"
Text 14,2,"6 FOR 11, 8 FOR 22, 10 FOR 33"
Text 20,2,"12 FOR 44 AND 16 FOR 55"
Text 26,2,"THREE OF A NUMBER GIVES:"
Text 32,2,"10 FOR 000, 20 FOR 111, 30 FOR"
Text 38,2,"222,40 FOR 333, 50 FOR 444"
Text 44,2,"AND DOUBLE YOUR CASH FOR 555"
Do
Getkey->L
LpWhile L=0
Cls
ClrText
Goto 2
Lbl r
B=0=>M+4->M
B=1=>M+6->M
B=2=>M+8->M
B=3=>M+10->M
B=4=>M+12->M
B=5=>M+16->M
Goto 3
Lbl (theta)
B=0=>M+10->M
B=1=>M+20->M
B=2=>M+30->M
B=3=>M+40->M
B=4=>M+50->M
B=5=>(Mx2)->M
Goto 3
Lbl Q
ClrText
Cls
Text 20,40,"BANKRUPT!"
Text 52,5,"1) START AGAIN"
Do
Getkey->L
LpWhile L=0
Goto 4[/code]
And here's a key to translate some things in the code to the symbol they actually look like in the calculators code: [url]http://filebox.me/files/tej5r6pum_key.GIF[/url]
Oh and the numbers don't spin, my mistake. That was how I remembered it :v:
[B]edit:[/B]
Oh and the code is released under the Blynx6 license which basically says that if you use this code you must sign up to a programming forum and claim you wrote it yourself.
I have a TI-86+ Silver Edition. Play zDoom on it during finals was fun. I think it could use a better raycasting engine though. I can't really make my own games because I suck at coding them on the calculator.
[QUOTE=Shanethe13;17995272]Raycasting takes barely any processing power at all. You may be thinking of raytracing. Here's an example of what I mean, programmed for, what do you know- a TI calculator:
[url]http://www.benryves.com/journal/3038214[/url][/QUOTE]
Cool.
I mean raycasting. I did a raycaster in GMod and it was really slow, but I guess I just did it crappily.
I did a lot of programming on my HP48 in high school and college. At one point my computer was out of commission (dead motherboard) for over a week, so I implemented SHA-1 in assembly on the calculator.
The HP48 has a pretty nice piece of software called Jazz which is an RPL compiler/decompiler, assembler/disassembler, and interactive debugger all running on the calculator itself. Combined with a write-protected memory card for backups (when doing assembly programming it's pretty easy to corrupt things to the point of needing a full memory reset) you can do some pretty advanced programming even without a PC available (e.g. in class).
Sorry, you need to Log In to post a reply to this thread.