USB Peripherals for the 84+
Posted by Michael on 16 August 2005, 17:07 GMT
A few weeks ago, the ever-famous Dan Englender released a revolutionary new flash application called usb8x. Usb8x is a driver that interfaces with the On-the-Go USB port in the TI-84 Plus and TI-84 Plus Silver Edition. It is designed to be used by other programmers to create drivers for a variety of USB peripherals. Dan has included demos for a USB mouse, keyboard, and a loopback test for the USB Silverlink. Theoretically this means that drivers can be written to support nearly any USB device (so long as it consumes 100 mA or less of bus power). Usb8x will open up an entirely new world of possibilities for graphing calculators. Congratulations to Dan on an extremely impressive achievement!
You may be thinking that ticalc.org is awfully slow in reporting this news, but due to the recent news drought, I thought I would hold off on this article until it could be as amazing as possible: I have been working on a driver that runs on top of Dan's to allow USB flash drives to connect to the calculator. Yesterday I finished FAT16 reading support and so I now present a demo video (4.4 MB), exclusively available on ticalc.org, of a movie playing off my 1 GB Lexar JumpDrive. You may recognize the clip as part of The Matrix's infamous lobby scene. There is no dithering or grayscale, although both are probably possible. There is still much more work to be done before we have utilities and file explorer-type programs at a level where general users can use their USB drives.
|
|
Reply to this article
|
The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.
|
|
Re: USB Peripherals for the 84+
|
Chris Williams
|
Ok, I can speak now. :D
I assume the video that plays on the calc had been reformatted for it before it was put on the flash drive, and so the calculator isn't decoding any sort of MPEG or WMV (or even QT) file. Am I correct? It would be another awesome feat to write an MPEG decoder for the calculator (it might be possible on 68k calcs).
Just to be a little nit-picky, the video looks like it is dithered. It would have helped to increase the brightness a little.
I wonder how many games will now require hundreds of megs of memory for data files. Imagine a Tetris game with a 200MB intro video. :)
|
Reply to this comment
|
16 August 2005, 19:00 GMT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: Re: USB Peripherals for the 84+
|
qbman
|
Nah, that 24k "limit" is nothing more than how big one part of a program can be.
All you need is a shell that can copy pieces of larger files (not to exceed 24k of course) to RAM, execute them and handle jumps and calls to other parts of the large file. It takes a bit more work, but if I'm correct, it's a lot like writing an app that uses more than one page. I know there are a few 2 page (32k)apps out there.
Now the interesting thing is that if the extra RAM available on the TI-83+SE is also available on the TI-84+ and the TI-84+SE, then it should be possible to do this very easily.
Hmm, the possibility of being able to run a 1MB program... though, considering the non-memory related limitations, I only can wonder why any executable would need to be that size. (Note that I am NOT including data in this 1MB, just executable code)
|
Reply to this comment
|
23 August 2005, 14:50 GMT
|
|
Re: USB Peripherals for the 84+
|
JcN
(Web Page)
|
Most impressive. So much for memory limitations!
I wonder if it's possible to use one or more of the following via USB (and maybe an external power source):
>>sound card
>>co-processor
>>color screen
>>GPU
>>joystick (I have no clue why, though)
>>printer
>>external hardrive
>>modem
>>a USB hub (for multiple devices)
I wonder if, theoretically, you could engineer a periferal that handled all of the computing, allowing the 84+ to serve as an FPU. You could have a pocket-sized PC!
|
Reply to this comment
|
16 August 2005, 20:35 GMT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: Re: USB Peripherals for the 84+
|
qbman
|
Or use the cheap solution to the problem: Just partition the drive. It's how it used to be done when people didn't want to change which file system they were using. Though, FAT16 is still not recommended since a 300 GB drive would need what, 150 partitions? Just imagine trying to remember which partition you saved that program to...
FAT 32 with maybe 4 partitions on a 300GB drive would be able to handle the whole amount, but an insane amount of space would be wasted...
Also, why would you want to hook up an external hard drive to a calculator? I don't believe I've ever seen a 300GB external hard drive that runs off of batteries. It seems kinda restricting...
Now, on the other hand, I've heard of people using Ipods as external hard drives. So, it *might* make sense using one of those since they are small and run off of batteries. And you get one other bonus: For the more than $100+ you spend on it, it does something other than store data, it plays music too.
|
Reply to this comment
|
23 August 2005, 15:01 GMT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: Re: Re: USB Peripherals for the 84+
|
aquanight
|
> a 300 GB drive would need what, 150 partitions?
Let's not forget that the standard partition table only supports up to four top-level partitions. (And if you break this standard the drive won't work right with ANY PC OS and thus people would hate you forever.) You could make the first three primary partitions and the fourth slot an extended partition for the remaining 147 (which technically become "logical disks", not partitions), but ... I somehow think using FAT32 would be much more efficient.
If you use FAT16, the most you can address without the extended partion trick will be 8GB (2GB is the per-partition limit).
If you use FAT32, you will have to deal with 32-bit integers which are absolutely not native to any Z80 calculator.
If you use NTFS, Linux folks will hate you. Plus it's 32-bit stuff again. Plus you have to deal with filesystem security, not to mention the transparent encryption/compression.
If you use Ext*FS or reiserfs, Windows folks will hate you and it's 32bit (or maybe even 64?!) all over again. Also, filesystem security (and maybe the immutable/appendonly /other attributes stuff?) is present as well.
FAT16 (maybe vfat for the long filenames) is probably the best bet. I know I'd just stick with USB flash drives anyway since they have as many moving parts as the calculator itself: None. (And no moving parts means no risk of total obliteration of data in the event that the hardware is accidentally sent on a 3 foot trip from your hand(s)/table/whatever to the floor.)
|
Reply to this comment
|
31 August 2005, 02:34 GMT
|
|
1 2 3 4 5 6 7 8
You can change the number of comments per page in Account Preferences.
|