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 - Munchor

Pages: 1 ... 418 419 [420] 421 422 ... 424
6286
TI Z80 / Re: Formulum: Texas Instruments Version
« on: October 19, 2010, 07:39:58 pm »
Python!

Um, I mean, so... you trying to make a Python program with an Nspire-style interface for formula solving?

No, a NSpire Program for formula solving, similar to Formulum(the idea)

6287
TI-BASIC / Re: Optimization Tips
« on: October 19, 2010, 07:15:52 pm »
Today, I connect my calculator (NSpire Touchpad with most recent OS) with a friend's calculator: TI NSpire, totally different OS.
I made "Sent OS" and she has Touchpad OS now, no idea it was possible.

If it is the latest one:

www.education.ti.com

If not: PM me.

6288
TI-BASIC / Re: Optimization Tips
« on: October 19, 2010, 07:03:49 pm »
Btw, is it illegal to distribute the 2.54MP OS (the one used by the Nspire, not the normal 84+ one)?

For texas pressing the button Program will be illegal some day

About that? No idea. Some OSs like 1.1 are illegal yeah

6289
What blocks are unneeded?  I copied the levels directly from the original Block Dude/Trapped games, so I want to keep them as original as possible.  Also, speed is not a major concern with this seeing that I already have to slow it down a ton (and if I needed more speed, I could set the Nspire to run at 150 Mhz).

Also, yes Ndless is needed to run this program.
What blocks are unneeded?  I copied the levels directly from the original Block Dude/Trapped games, so I want to keep them as original as possible.  Also, speed is not a major concern with this seeing that I already have to slow it down a ton (and if I needed more speed, I could set the Nspire to run at 150 Mhz).

Also, yes Ndless is needed to run this program.

Some corner blocks not needed. If speed is not a problem, then it's OK :)

6290
Ok, to run that program we obviously need NdLess??

Btw, you have some unneeded blocks in your maps (saw them on GIF images). Delete them for faster game :)

6291
TI Z80 / Re: Jump!
« on: October 19, 2010, 06:21:37 pm »
Actually, the box jumping kind of reminds me of The Impossible Game
Psst, don't tell anyone, but the sprites are the same.  Mine backflips instead of frontflipping, though. :P

loooooool

The game looks nice :) Very Good Job really

6292
TI Z80 / Formulum: Texas Instruments Version
« on: October 19, 2010, 06:01:49 pm »
Hey, I'm a Python programmer, and I've made quite a good program in Python:

http://code.google.com/p/formulum/

It's really hard to do something like this in Python :S:

Code: [Select]
import wx
import math

class MainFrame(wx.Frame):
   
    def __init__(self, parent,id):
        wx.Frame.__init__(self, parent,id, 'Formulum', size=(415,135))
        panel=wx.Panel(self)
     
       
        ChooseFormulaButtonImage=wx.Image("chooseformulabutton.bmp", wx.BITMAP_TYPE_BMP).ConvertToBitmap()
        self.ChooseFormulaButton=wx.BitmapButton(panel, -1, ChooseFormulaButtonImage, pos=(10,10))
        self.Bind(wx.EVT_BUTTON, self.ChooseFormula, self.ChooseFormulaButton)
       
        AboutButtonImage=wx.Image("aboutbutton.bmp", wx.BITMAP_TYPE_BMP).ConvertToBitmap()
        self.AboutButton=wx.BitmapButton(panel, -1, AboutButtonImage, pos=(200,10))
        self.Bind(wx.EVT_BUTTON, self.About, self.AboutButton)
       
        ExitButtonImage=wx.Image("exitbutton.bmp", wx.BITMAP_TYPE_BMP).ConvertToBitmap()
        self.ExitButton=wx.BitmapButton(panel, -1, ExitButtonImage, pos=(200,50))
        self.Bind(wx.EVT_BUTTON, self.Close, self.ExitButton)
       
        HelpButtonImage=wx.Image("helpbutton.bmp", wx.BITMAP_TYPE_BMP).ConvertToBitmap()
        self.HelpButton=wx.BitmapButton(panel, -1, HelpButtonImage, pos=(10,50))
        self.Bind(wx.EVT_BUTTON, self.Help, self.HelpButton)
   
    def ChooseFormula(self, event):
        ChoiceBox=wx.SingleChoiceDialog(None, "Which formula do you want to use?", "Formulum", ['Circle Area', 'Square Area', 'Rectangle Area', 'Parallelogram Area', 'Trapezium Area', 'Cube Surface Area', 'Spherical Surface Area', 'Sphere Volume', 'Cylinder Volume', 'Quadrangular Prism Volume','Cone Volume', 'Cube Surface Area', 'Parallelepiped Volume', 'Parallelepiped Surface Area','Quadrangular Pyramid Volume', 'Quadrangular Pyramid Surface Area'])
        if ChoiceBox.ShowModal()==wx.ID_OK:
            Answer=ChoiceBox.GetStringSelection()
        if Answer == "Circle Area":
            RadiumInput=wx.TextEntryDialog(None, "Enter the radium:", 'Circle Area', 'Enter radium...')
            if RadiumInput.ShowModal()==wx.ID_OK:
                Radium=float(RadiumInput.GetValue())
                circlearea=(Radium**2)*math.pi
                box = wx.MessageDialog(None, "The area of the circle which radium is " + str(Radium)+ " is:\n\n " + str(circlearea), 'Circle Area', wx.OK)
                varanswer1 = box.ShowModal()
                box.Destroy()
        if Answer == "Square Area":
            SideInput=wx.TextEntryDialog(None, "Enter the side:", 'Square Area', 'Enter side...')
            if SideInput.ShowModal()==wx.ID_OK:
                Side=float(SideInput.GetValue())
                squarearea=Side*Side
                box = wx.MessageDialog(None, "The area of the square which side is " + str(Side)+ " is:\n\n " + str(squarearea), 'Square Area', wx.OK)
                varanswer2 = box.ShowModal()
                box.Destroy()
        if Answer == "Rectangle Area":
            LengthInput=wx.TextEntryDialog(None, "Enter the length: ", 'Rectangle Area', 'Enter lenth...')
            WidthInput=wx.TextEntryDialog(None, "Enter the width: ", 'Rectangle Area', 'Enter width...')
            if LengthInput.ShowModal()==wx.ID_OK and WidthInput.ShowModal()==wx.ID_OK:
                Length=float(LengthInput.GetValue())
                Width=float(WidthInput.GetValue())
                rectanglearea= Length * Width
                box = wx.MessageDialog(None, "The area of the rectangle is:\n\n " + str(rectanglearea), 'Rectangle Area', wx.OK)
                varanswer3 = box.ShowModal()
                box.Destroy()
        if Answer == "Parallelogram Area":
            BaseInput=wx.TextEntryDialog(None, "Enter the length of the base: ", 'Parallelogram Area', 'Enter base lenght...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height: ", 'Parallelogram Area', 'Enter height...')
            if BaseInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                Base = float(BaseInput.GetValue())
                Height=float(HeightInput.GetValue())
                parallelogramarea = Base * Height
                box = wx.MessageDialog(None, "The area of the parallelogram is:\n\n " + str(parallelogramarea), 'Parallelogram Area', wx.OK)
                varanswer4 = box.ShowModal()
                box.Destroy()
        if Answer=="Trapezium Area":
            LargerBaseInput=wx.TextEntryDialog(None, "Enter the length of the larger base:", 'Trapezium Area', 'Enter length...')
            SmallerBaseInput=wx.TextEntryDialog(None, "Enter the length of the smaller base:", 'Trapezium Area', 'Enter length...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Trapezium Area', 'Enter heigth...')
            if LargerBaseInput.ShowModal()==wx.ID_OK and SmallerBaseInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                LargerBase=float(LargerBaseInput.GetValue())
                SmallerBase=float(SmallerBaseInput.GetValue())
                Height=float(HeightInput.GetValue())
                trapeziumarea = ((LargerBase + SmallerBase) / 2) * Height
                box = wx.MessageDialog(None, "The area of the trapezium is:\n\n " + str(trapeziumarea), 'Trapezium Area', wx.OK)
                varanswer5 = box.ShowModal()
                box.Destroy()
        if Answer == "Spherical Surface Area":
            RadiumInput=wx.TextEntryDialog(None, "Enter the radium:", 'Spherical Surface Area', 'Enter radium...')
            if RadiumInput.ShowModal()==wx.ID_OK:
                Radium=float(RadiumInput.GetValue())
                sphericalsurfacearea = (4 * math.pi * (Radium ** 2))
                box = wx.MessageDialog(None, "The spherical surface area is:\n\n " + str(sphericalsurfacearea), 'Spherical Surface Area', wx.OK)
                varanswer6 = box.ShowModal()
                box.Destroy()
        if Answer == "Sphere Volume":
            RadiumInput=wx.TextEntryDialog(None, "Enter the radium:", 'Sphere Volume', 'Enter radium...')
            if RadiumInput.ShowModal()==wx.ID_OK:
                Radium=float(RadiumInput.GetValue()) 
                spherevolume= 4 * math.pi * (Radium) ** 3/3
                box = wx.MessageDialog(None, "The volume of the sphere is:\n\n " + str(spherevolume), 'Sphere Volume', wx.OK)
                varanswer7 = box.ShowModal()
                box.Destroy() 
        if Answer=="Cylinder Volume":
            RadiumInput=wx.TextEntryDialog(None, "Enter the radium:", 'Cylinder Volume', 'Enter radium...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Cylinder Volume', 'Enter height...')
            if RadiumInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                Radium=float(RadiumInput.GetValue())
                Height=float(HeightInput.GetValue())
                cylindervolume = ((math.pi * (Radium ** 2)) * Height)
                box = wx.MessageDialog(None, "The cylinder volume is:\n\n " + str(cylindervolume), 'Cylinder Volume', wx.OK)
                varanswer7 = box.ShowModal()
                box.Destroy()
        if Answer=="Quadrangular Prism Volume":
            SideOfBaseInput=wx.TextEntryDialog(None, "Enter the side of base: ", 'Quadrangular Prism Volume', 'Enter side of base...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height: ", 'Quandrangular Prism Volume', 'Enter height...')
            if HeightInput.ShowModal()==wx.ID_OK and SideOfBaseInput.ShowModal()==wx.ID_OK:
                SideOfBase=float(SideOfBaseInput.GetValue())
                Height=float(HeightInput.GetValue())
                quadrangularprismvolume = (SideOfBase**2)*Height
                box = wx.MessageDialog(None, "The quadrangular prism volume is:\n\n " + str(quadrangularprismvolume), 'Quadrangular Prism Volume', wx.OK)
                varanswer8 = box.ShowModal()
                box.Destroy()
        if Answer=="Cone Volume":
            RadiumInput=wx.TextEntryDialog(None, "Enter the radium:", 'Cylinder Volume', 'Enter radium...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Cylinder Volume', 'Enter height...')
            if RadiumInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                Radium=float(RadiumInput.GetValue())
                Height=float(HeightInput.GetValue())
                conevolume = (((math.pi * (Radium ** 2)) * Height) / 3) 
                box = wx.MessageDialog(None, "The cone volume is:\n\n " + str(conevolume), 'Cone Volume', wx.OK)
                varanswer9 = box.ShowModal()
                box.Destroy()
        if Answer=="Cube Volume":
            EdgeInput=wx.TextEntryDialog(None, "Enter the edge:", 'Cube Volume', 'Enter edge...')
            if EdgeInput.ShowModal()==wx.ID_OK:
                Edge=float(EdgeInput.GetValue())
                cubevolume = Edge**3
                box = wx.MessageDialog(None, "The cube volume is:\n\n " + str(cubevolume), 'Cube Volume', wx.OK)
                varanswer10 = box.ShowModal()
                box.Destroy()
        if Answer=="Cube Surface Area":
            EdgeInput=wx.TextEntryDialog(None, "Enter the edge:", 'Cube Surface Area', 'Enter edge...')
            if EdgeInput.ShowModal()==wx.ID_OK:
                Edge=float(EdgeInput.GetValue())
                cubesurfacearea = 6 * (Edge**2)
                box = wx.MessageDialog(None, "The cube surface area is:\n\n " + str(cubesurfacearea), 'Cube Surface Area', wx.OK)
                varanswer11 = box.ShowModal()
                box.Destroy()
        if Answer=="Parallelepiped Volume":
            LengthInput=wx.TextEntryDialog(None, "Enter the length:", 'Cube Volume', 'Enter length...')
            WidthInput=wx.TextEntryDialog(None, "Enter the width:", 'Cube Volume', 'Enter width...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Cube Volume', 'Enter heigth...')
            if LengthInput.ShowModal()==wx.ID_OK and WidthInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                Length=float(LengthInput.GetValue())
                Width=float(WidthInput.GetValue())
                Height=float(HeightInput.GetValue())
                parallelepipedvolume = Length*Width*Height
                box = wx.MessageDialog(None, "The Parallelepiped Volume is:\n\n " + str(parallelepipedvolume), 'Parallelepiped Volume', wx.OK)
                varanswer12 = box.ShowModal()
                box.Destroy()
        if Answer=="Parallelepiped Surface Area":
            LengthInput=wx.TextEntryDialog(None, "Enter the length:", 'Parallelepiped Surface Area', 'Enter length...')
            WidthInput=wx.TextEntryDialog(None, "Enter the width:", 'Parallelepiped Surface Area', 'Enter width...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Parallelepiped Surface Area', 'Enter heigth...')
            if LengthInput.ShowModal()==wx.ID_OK and WidthInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                Length=float(LengthInput.GetValue())
                Width=float(WidthInput.GetValue())
                Height=float(HeightInput.GetValue())
                parallelepipedsurfacearea = ((Length + Width + Length + Width)*Height) + ((Length*Width)*2)
                box = wx.MessageDialog(None, "The parallelepiped surface area is:\n\n " + str(parallelepipedsurfacearea), 'Parallelepiped Surface Area', wx.OK)
                varanswer13 = box.ShowModal()
                box.Destroy()
        if Answer=="Quadrangular Pyramid Volume":
            SideOfBaseInput=wx.TextEntryDialog(None, "Enter the side of base:", 'Quadrangular Pyramid Volume', 'Enter side of base...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Quadrangular Pyramid Volume', 'Enter height...')
            if SideOfBaseInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                SideOfBase=float(SideOfBaseInput.GetValue())
                Height=float(HeightInput.GetValue())
                quadrangularpyramidvolume = ((SideOfBase ** 2) * Height) / 3
                box = wx.MessageDialog(None, "The Quadrangular Pyramid Volume is:\n\n " + str(quadrangularpyramidvolume), 'Quadrangular Pyramid Volume', wx.OK)
                varanswer14 = box.ShowModal()
                box.Destroy()   
        if Answer=="Quadrangular Pyramid Surface Area":
            SideOfBaseInput=wx.TextEntryDialog(None, "Enter the side of base:", 'Quadrangular Pyramid Surface Area', 'Enter side of base...')
            HeightInput=wx.TextEntryDialog(None, "Enter the height:", 'Quadrangular Pyramid Surface Area', 'Enter height...')
            if SideOfBaseInput.ShowModal()==wx.ID_OK and HeightInput.ShowModal()==wx.ID_OK:
                SideOfBase=float(SideOfBaseInput.GetValue())
                Height=float(HeightInput.GetValue())
                quadrangularpyramidsurfacearea = (SideOfBase*4*Height) * (2 *(SideOfBase**2))
                box = wx.MessageDialog(None, "The Quadrangular Pyramid Surface Area is:\n\n " + str(quadrangularpyramidvolume), 'Quadrangular Pyramid Surface Area', wx.OK)
                varanswer15 = box.ShowModal()
                box.Destroy()
    def About(self, event):
        aboutbox = wx.MessageDialog(None, 'Formulum v2.0 - by David Gomes', 'About Formulum', wx.OK)
        aboutanswer = aboutbox.ShowModal()
        aboutbox.Destroy()
       
    def Close(self, event):
        exitbox = wx.MessageDialog(None, 'Do you really want to leave?', 'Exit', wx.YES_NO)
        if exitbox.ShowModal()==wx.ID_YES:
            exitbox.Destroy()
            self.Destroy();
        else:
            exitbox.Destroy()
       
    def Help(self, event):
        helpbox = wx.MessageDialog(None, 'Press Choose Formula to calculate areas and volumes\n\nPress About to see Info\n\nScoutDavid', 'Help', wx.OK)
        helpanswer = helpbox.ShowModal()
        helpbox.Destroy()   
       
if __name__=='__main__':
    app=wx.PySimpleApp()
    frame=MainFrame(parent=None, id= -1)
    frame.Show()
    app.MainLoop()

So, check the program:

http://code.google.com/p/formulum/downloads/detail?name=Formulum2.1.zip&can=2&q=#makechanges

I'll make something that looks alike it to TI Nspire.

I'll be posting some progresses here tomorrow if I can:)

For now, just try Formulum


David

6293
TI-BASIC / Re: Optimization Tips
« on: October 19, 2010, 05:49:38 pm »
Well like this par example

Code: [Select]
Define LibPub helloname()=
Prgm
:RequestStr "Your name:",name
:RequestStr "Your location:",location
:RequestStr "Your calculator:",calculator
:Text "Name: "&name
:Text "Location: "&location
:Text "Calculator: "&calculator
:EndPrgm

Other things I don't see (which doesn't mean allot ;) )

Thanks much!

6294
Miscellaneous / Re: Simpsons, South Park,Family Guy
« on: October 19, 2010, 04:17:59 pm »
I just watched a really horrible Simpsons episode. It was episode 2116 on religion. The Simpsons is too conservative and it's not funny enough. It's humor is all focused on Homer's stupidity. What are you guys' favorite and least favorite Simpsons, South Park, and Family Guy episodes? My favorite Simpsons episode isn't much better than my least favorite South Park episode. I have watched about 3 Family Guy episodes and my favorite one  is the one with the chicken that Peter beat up that I watched 4 years ago.
Family Guy.

The simspon's are great, it's not comedy to LAUGH LAUGH LAUGH like S.P. and F.G. it is to critizice american society :)

6295
General Calculator Help / Re: MirageOS Nspire Touchpad
« on: October 19, 2010, 04:14:56 pm »
also, Mirage has some rather... difficulties in running BASIC programs... DCS does not



Really? O.o Is it slower or something? I haven't seen any slowdown, though...

What I like about MirageOS is its ASM interrupts, though.

And as for ScoutDavid, did you get it on?

No, I didn't. I found other OSs and trying to compare them:

Dorrs, Mirage,  etc.

Which one is best?

6296
General Calculator Help / MirageOS Nspire Touchpad
« on: October 18, 2010, 08:54:10 am »
Hey everyone, to get MirageOS in my Ti Nspire Touchpad, I need ndless?

THanks

6297
tiDE / Re: TI Emulate
« on: October 18, 2010, 08:42:14 am »
the problem with wabbit is that u have to press backspace, assign it a name, and press backspace again quick...

Yup, if he makes it work minimally, I'll be so happy: 'cos I'll be able to program ti83/84.

6298
tiDE / Re: TI Emulate
« on: October 18, 2010, 08:37:57 am »
I hope it is better at capturing still screenshot unlike wabbitemu...

I hope it works unlike wabbitemu

6299
tiDE / Re: TI Emulate
« on: October 18, 2010, 08:37:01 am »
it runs 83/84 series, right?

If it does it's just what I'm needing...

6300
tiDE / Re: TI Emulate
« on: October 18, 2010, 08:28:40 am »
Hello,
I worked a bunch on TI Emulate last night, which, for those of you who don't know, is a .NET based z80 emulation library geared towards calculators that I will be using in tiDE.  I'd like to thank calc84maniac for his excessive help on the matter, it was quite useful.  I support roughly 30 opcodes at the moment, and two ports.  All registers as well as the CPU bus are properly emulated.

Can't wait for you to post it here.

.NET? VB, C#?

Pages: 1 ... 418 419 [420] 421 422 ... 424