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 ... 201 202 [203] 204 205 ... 424
3031
http://www.vidaextra.com/fps/ndoom-el-autentico-doom-en-una-calculadora-alucinante

Hahahaaha reading it in Spanish is cool.

"calculadora alucinante" xD

3032
Axe / Re: Program-making programs
« on: March 04, 2011, 11:01:14 am »
The first thing I have to say is to use code tags:

Code: [Select]
[code]
This is code
[/code]

3033
Nspire I/O / Re: Nspire I/O
« on: March 03, 2011, 03:23:42 pm »
A cat program for the nspires! Nice :D

I agree with DJ, multiple fonts'

3034
I have a few doubts here:

Code: [Select]
public class Main extends JApplet {
    public static void main(String[] args) {
        MyFunction(); //This won't work
    }
    public void MyFunction() {
        System.out.println("Hello World");
    }
}

This won't work, I know I need to declare MyFunction as an object, but I'm not sure of how to do it :S


Spoiler For Spoiler:

package applettouppercase;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

//////////////////////////////////////////////////////////////// ToUpperCase
public class Main extends JApplet {

    //=================================================== instance variables
    private JTextField _inField  = new JTextField(20);
    private JTextField _outField = new JTextField(20);

    //================================================================= main
    public static void main(String[] args) {
        JFrame window = new JFrame();
        window.setTitle("ToUpperCase Example");
        window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        //... JApplet works fine as content pane in a window!
        ToUpperCase myToUpperCaseFunction = new ToUpperCase();
       

        window.pack();                       // Layout components.
        window.setLocationRelativeTo(null);  // Center window.
        window.setVisible(true);
    }

    //================================================== applet constructor
    public void ToUpperCase() {
        //... Create or set attributes of components.
        _outField.setEditable(false);    // Don't let user change output.
        JButton toUpperButton = new JButton("To Uppercase");

        //... Add listener to button.
        toUpperButton.addActionListener(new UpperCaseAction());

        //... Add components directly to applet.  Don't need content pane.
        setLayout(new FlowLayout());
        add(_inField);
        add(toUpperButton);
        add(_outField);
    }

    /////////////////////////////////// inner listener class UpperCaseAction
    class UpperCaseAction implements ActionListener {
        public void actionPerformed(ActionEvent e) {
            //... Convert text in one textfield to uppercase in another.
            String data = _inField.getText();  // Get the text
            String out  = data.toUpperCase();  // Create uppercase version.
            _outField.setText(out);            // Set output field
        }
    }
}

This is my proper code (in the spoiler) and the function I need to declare as an object in the Main function is ToUpperCase().

Thanks much.
   

3035
Axe / Re: Axe: How to Execute BASIC Programs
« on: March 03, 2011, 11:14:33 am »
Okay, so earlier I was asked by aeTIos for a hex code to run BASIC programs in Axe and I have heard that this was requested by others, so here goes my rendition... I am sorry in advance if my Axeing is horrible, this is only my second routine:
Code: [Select]
"prgmHELLO"→Str1                     ;Name of the var
Str1                                 ;To get the pointer to the string in HL (Ans)
Asm(E7FDCB08CEEF9B4AFDCB088E         ;

As a word of warning, do not use "Stop" in your BASIC programs... This seems to cause a crash :(
You can use "Return" and all the other commands, though, to my knowledge.

I hope this helps!

Code: [Select]
rst 20h
set 1,(iy+8)
B_CALL (_ParseInp)
res 1,(iy+8)

I see what you did there :P

3036
TI Z80 / Re: [PROJECT] SimpleCS
« on: March 03, 2011, 10:16:49 am »
On the PC it works quite good, but not all SimpleCS has been ported :/ I'm progressing in learning C, but for the 2 next weeks I might not be able to code in C (i'm currently using a computer in a library, with a powerful shell called StrongHold, and I can't plug my USB key in with the sources and Code::Blocks), so I'll see this later. PLease don't ask for the sources, they are quite strangely organized (indented, and all that kind of stuff) :P

@DJ_O : yes, a calc version will be made, I still need to find out how to code in C for Nspires. The micro-SimpleCS version works well, except the games, which I think I'll delete.

I'm gonna create one of those tiny little userbars to tell you how far I've been getting to. Do anyone knows how to compile for Nspires? Is a special code required??

There is a topic called 'Setting up C Development for the NSpire' in Omnimaga, go for it .)

3037
TI 68K / Re: Myst 89
« on: March 03, 2011, 09:44:32 am »
The delay with keypress and movement is quite ok, if thats what you mean. :)

Perfect. :D

3038
TI 68K / Re: Myst 89
« on: March 03, 2011, 09:39:03 am »
I'm not saying it is slow, I just can't get how fast it is with the image :P But yeah speed is very important :D

3039
TI 68K / Re: Myst 89
« on: March 03, 2011, 09:35:15 am »


I'm not sure about the speed, but the navigation mechanism is great, and the pictures are also c00l!

3040
TI-BASIC / Re: Extra Detail Suite
« on: March 02, 2011, 03:02:24 pm »
OOOOhhh Like my program:





http://www.ticalc.org/archives/files/fileinfo/432/43265.html

It shows all the work :)

Never saw it (good enough) for the 83+, nice Sir!

3041
TI Z80 / Re: [PROJECT] SimpleCS
« on: March 02, 2011, 01:21:34 pm »
I'm glad to announce that SimpleCS will be ported on Nspires (but requiring Ndless :D) by 22/12/2012 the end of Spring. I've made a certain progress in learning C, and I'm now able to create half of the shell in C. For the moment, it works on PCs, but I'll try to compile it for Nspire when I'll know how to. :D I'm already thinking of a port of TI-MTB (which you don't know because it has never been published =P )...

Great! How does it work on the PC, though?

3042
Other Calculators / Re: I know a TI staff!
« on: March 02, 2011, 01:20:54 pm »
***BUMP***

So?

3043
WabbitStudio Software Suite / Re: Run in Wabbitemu
« on: March 02, 2011, 07:28:27 am »
YAYZ IT WORKED, I RAN A FILE IN WABBITEMU USING A PYTHON PROGRAM.


This looks cool, and fast :)

3044
TI Z80 / Re: Notepad
« on: March 02, 2011, 07:20:20 am »
* Scout likes.
* Scout likes much.

It seems pretty cool :D

EDIT: Tried it, it seems as cool as it sounded, but I hope there will be more functions like 'Select All', 'Copy', 'Paste', etc, but it's pretty good :D

3045
WabbitStudio Software Suite / Re: Run in Wabbitemu
« on: March 01, 2011, 04:26:59 pm »
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
I have no clue what you mean? I assume you can compile a program in axe, its just an emulator...

Yes, you can, but not remove it from the emulator and make it a file. Can you get it?

Haha of course you're able to do this. Uou can open a file in wabbit from any folder it doesn't have to be in the same one, just give the file names as arguments when you start the program.
Ex: wabbitemu C:\Users\BuckeyeDude\Desktop\rom8x.8xp
this would send the file rom8x.8xp on the desktop to wabbit. Make sure you use quotes if necessary Second, under the gpl, you're allowed to redistribute wabbit, as long as you link back to the source


Then I will redistribute wabbitemu, linking to the source.

It seems that what I need to do is run the program wabbitemu.exe with an argument which is the file, right'

Pages: 1 ... 201 202 [203] 204 205 ... 424