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.


Topics - Mighty Moose

Pages: [1]
1
Casio Calculators / Install script for PrizmSDK [*nix]
« on: September 12, 2012, 11:30:38 pm »
Hi everyone!

This is a little shell script I wrote to automate the installation of the Prizm SDK (binutils, gcc, mkg3a, and libfxcg) onto your computer.  Plop this into any directory and run it with 'sudo sh ./install_prizm_sdk.sh'. Run 'export PATH=$PATH:/usr/local/cross/bin' or modify your PATH in a suitable manner after it has completed installation, and enjoy!  Currently, this script installs gcc/binutils to /usr/local/cross/bin and the PrizmSDK (libfxcg) to /home/{username}/PrizmSDK by default, but this is able to be easily modified.  Please read the comments in the script itself for further (but not exhaustive) information on what development libraries and utility programs you may need to retrieve to successfully install the SDK and other ways to modify or customize this script.

Questions? Comments? Snide Remarks?
Feel free to reply here, pm me, or email me.

Cheers and happy programming! :thumbsup:
MM

2
TI-Nspire / nCHIP8
« on: May 17, 2012, 12:24:19 am »
Well, I was going to post about this when I had this complete, but it appears hoffa beat me to the punch <_<

Anyways, I have a (mostly :P) complete CHIP8 interpreter written in C.  I started this last Friday and really haven't touched it since (mostly because I've been out of town).  Ironically, the only problem I'm really having is working with the Nspire's screen, so if someone could look at my code and see what I'm doing wrong/give me some pointers* in the right direction, that would be great.

I am using the setPixel routine from the ndless example source code.  chip->LCD is a 2,048 (64x32) byte array with each element presumably holding a 1 if the pixel is set and a 0 if it is reset.
Code: [Select]
if (chip->drawflag)
{
for(int row = 0; row < 32; row++)
{
for(int col = 0; col < 64; col++)
{
/*ignore the comments if you must
                                                        for(int rowoffs = 0; rowoffs < 8; rowoffs++){
for(int coloffs = 0; coloffs < 8; coloffs++){
setPixel(col + coloffs, row + rowoffs, (0x0F * (chip->LCD[32*row + col])) ^ 0x0F);
}
}*/
setPixel(col, row, (0x0F * (chip->LCD[32*row + col])) ^ 0x0F);

}
}
}

Now, I think this is all fine and dandy, but I get something that looks like garbled junk when trying to run SPACEINVADERS (see attached pic).

???

Can anyone help?  Thanks in advance.

MM

*Pun so totally intended.

3
So I got my "new" used TI-Nspire today after waiting for it to ship to me from Amazon for like a week. ;D

Unfortunately, it only came with the 84+ keypad, and it won't even boot (or turn on, for that matter, it appears). :mad: :'(

For the record, yes, it has fresh batteries in it, I have already tried connecting it to a computer (unsuccessfully - although the computer seems to think something is connected?), and I have also pressed the reset button, still to no avail.

Does anyone with Nspire expertise (Critor?) have any idea what could be wrong with it or what I can do to fix it?

(I can post pictures upon request)

Thanks in advance!

     Cheers,
     MM

4
ASM / [Question] The edit buffer
« on: June 15, 2011, 11:58:19 am »
Okay, so I know that the TIOS uses the edit buffer for things like the program editor, etc.  My question is this:  Is there a way to set up the edit buffer without opening the promptEdit/program editor?  Thanks in advance :thumbsup:.

5
The Axe Parser Project / ERR:?
« on: February 09, 2011, 10:35:28 pm »
I got this after compiling and running an axe program.  Any ideas what it is?

6
General Calculator Help / USB8X/USB Link problems
« on: October 21, 2010, 05:36:59 pm »
Like the title says, I'm having problems with the USB linking - not quite sure why, although I think maybe because of MSD8X and USB8X. 
Here's what I know:
 -the port itself works fine (it links [when it wants to], and will not have any problems for a while, but every so often it does not want to link to anything [e.g. other calcs, computer, etc.])
 -MSD8X seems to trigger the problem - when I first plug in a flash drive, the whole system freezes (keys don't work, lcd freezes); then, after a few seconds, the calc returns to normal - I can navigate through menus and such.  But running the MSD8X app causes something to go wrong - A blinking cursor appears in the upper left hand corner, the apps menu does not get erased, and navigating to other menus pastes them to the "background".  Pressing clear does nothing to erase the "background" - the only way to fix it is to shut off the calc and turn it back on.  Afterwards, USB linking with other calcs and what not does not work.
 -setting the calc in self-test mode seems to fix the linking problem.

This app should work - I tested it on my 84+ - it works fine.  Also, the calc I am running this on (84+SE, OS 2.43, and Boot Code 1.00, with both MSD8X and USBDRV8X on it) has the extra ram pages.  What is going on?  Is there any way I can fix it?  Any help would be appreciated. TIA

7
Other Calculators / OS 2.21 From Calc to Computer
« on: October 08, 2010, 10:43:42 pm »
I recently acquired a very ancient TI-84+SE calculator with OS 2.21 still installed.  Is there any way I can get the OS from calculator to computer?
Thx.

8
Other Calculators / TIOS String Displaying - Tokens
« on: October 06, 2010, 07:44:23 pm »
How does the TIOS know what tokens are correct to display in a string?

(ex.
Say I have the string in the memory:
Code: [Select]
T >DMS H Pic1 E Abs( G A M EHow the does the TIOS correctly display the difference between 1- and 2-byte tokens?
Does it just put a 00 in the first byte or are there certain numbers? (I've been playing around with Calcsys).)

On a somewhat related note:
Why is calcsys displaying what is in the screenshot for the specified token?

Let me know if I need to clarify. Thx.

9
Miscellaneous / Why won't they work?
« on: August 10, 2010, 10:35:24 am »
I'm having problems running certain programs on my computer, such as ti-coder and latenite and such.  The most common error seems to be "The application failed to initialize properly (0xc0000135). click ok to terminate application".  This is very confuzzling and frustrating!

Can someone help me out?

10
TI Z80 / An On-Calc Basic IDE?
« on: July 22, 2010, 12:14:03 pm »
Would anyone be interested in this?  I have put a little work into it (it is currently a Basic+Celtic prgm <2000 bytes) and would like to know if I should continue.



(Btw, this has no relation to AxeAid, just a mere coincidence.)

11
General Calculator Help / WabbitEmu Skins?
« on: July 05, 2010, 10:56:28 am »
This may sound like a very stupid question to ask, but where are the skins for WabbitEmu?  I always get the same error message at the beginning saying that there is no skin file.  I've had a heck of a time trying to find them.  Could someone please help?

12
Other Calculators / Project ideas?
« on: July 03, 2010, 11:35:00 pm »
I am thinking about taking on a project, however, I don't have a very good idea of what I want to do yet.  I will probably do something in Basic or possibly in ASM or Axe (these would take longer, as I would be learning as I go).  Any suggestions/comments/thoughts/ideas(/hatemail) would be nice 8).

13
ASM / One small question
« on: June 24, 2010, 09:04:38 pm »
Does anyone know of a site with good bcall documentation (things like function, inputs, outputs, etc.)?

14
Introduce Yourself! / Hello peoples!
« on: June 24, 2010, 08:34:02 pm »
Hi!
I've been following several of the threads on omnimaga for the past few weeks and figured it was high time to get an account.  I'm new to forum stuff, so maybe I will need some guidance.
I figured out how to program TI-Basic ever since I got my g-calc (ti-84+), and I am pretty well-versed in it.  I'm currently learning ASM using Hot Dog's Guide and attempting (rather unsuccessfully) to learn Axe.
You can call me Mighty Moose, M&M, or whatever else you think of.  I'll respond to it somehow.

Pages: [1]