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

Pages: [1]
Software / Announce: Simpleedit
« on: March 27, 2006, 06:28:44 am »
First release of SimpleEdit just uploaded to My Webpage .
This is a fairly basic programmers text editor for Qtopia on the Zaurus.
It uses the Scintilla editor widget (via the QScintilla wrapper) for it's underlying edit widget, and as such supports folding, search/replace & code completion.
Also has multiple tabs, splitable views, syntax highlighting, undo/redo, keyboard shortcuts, etc.

Try it out - I reckon it's not bad - better than tkcEdit anyway (has keyboard shortcuts for those of us with IR/USB keyboards anyway).<br>

I've only tried this on the SL6000 - any feedback appreciated.

[img]\" border=\"0\" class=\"linked-image\" /]

(I know we don't really need another editor for the Zaurus - I really just wanted one that did the stuff I wanted it to)

Software / Zethereal Rebuild....
« on: January 31, 2005, 07:34:06 pm »
For ages I've thought it'd be nice to have ethereal actually work on my Zaurus. What with having a "proper" ethernet connection (via a cheap Dynamode USB2Ethernet adaptor), it looked like it'd be dead handy.

Anyway, all binaries I've come across of zethereal just don't work on a stock Sharp ROM on either my SL5500 or my SL6000. So I finally took a little time out tonight to find out why.

It comes down to what I suspect is a bug in QT on those ROM's (setting the sizePolicy for a QPushButton causes the program to crash), and commenting out the one line of zethereal's startup code that does this (then jumping through all the hoops required to actually compile it) produces a binary that actually works (tested with the built-in WIFI and external ethernet on my SL6000).

My binary is a tad on the large side though (at 4M), but I can post it if anyone's interested..

6000 - Tosa / Usb Ethernet Adaptor
« on: January 19, 2005, 07:30:05 am »
Has anyone tried using a USB ethernet adaptor with the SL6000? I looked at the sl6000 kernel source and it didn't have support for the either of the two adaptor's I'm thinking of buying, so I've back-ported the drivers from a more recent 2.4 series kernel (the ax8817x and rtl8150 usb drivers).

However, it's not worth me actually buying the thing if the Z won't put out enough juice to power it up. Anyone know if it's likely to work?

If it does work, eBuyer are flogging an RTL8150 adaptor from Dynamode for like, £6 - which is a bit of a bargain really....

General Discussion / Usb Mouse Support
« on: January 11, 2005, 04:15:33 am »
For those who've not been following the discussion in the SL6000 forum about USB mouse support on the standard Sharp ROM....

I've added some code to the InputHelper applet to allow you to use a USB mouse under Qtopia on the SL6000.

Today I got a mail from Yakty in Japan (who wrote InputHelper) with some unexpected news...

It works also on SL-C750 with REX-CFU1(USB host CF Card), and SL-C3000.

I expect that as it works with the C750 via the CF USB host card, it'll also work with other Zaurus models in the same way - and working with the C3000 out of the box is a real bonus.

For a preliminary version, take a look at the thread in the SL6000 hardware forum, or wait for the next version of InputHelper (which will include the required code).

6000 - Tosa / Wierd Stuff...
« on: January 10, 2005, 05:07:59 am »
Whilst messing about adding Intellimouse scroll wheel support for the mouse driver, I made a mistake that sent the wrong codes to Qtopia. Much to my surprise, this caused a menu to pop up that let's you change the style of each app individually on the fly.

There's only two to chose from - one is the default QT style (I don't mean the default Qtopia style - this is the normal QT on the desktop style), and an OSX clone style called Hydra (that doesn't draw 100% correctly).

The other effect of selecting one of these styles is that the app immediately becomes rootless and let's you drag it's window around the screen (works on all apps, including the email app and Opera).

It's not that useful, but it's an interesting hidden feature....

(someone's now going to tell me this is common knowledge, and I've just not noticed it in the past....)

6000 - Tosa / Sl6000 Sdio?
« on: December 03, 2004, 05:48:02 am »
Looking at Toshiba's site, the SD card interface on the tc6393xb chip in the SL6000 supports SDIO cards - anyone know if Sharp actually implemented this?

6000 - Tosa / Sl6000 Hardware Accelerated Display?
« on: December 03, 2004, 04:52:41 am »
I've been looking at the kernel source for the SL6000's framebuffer driver, and I can see an API provided to access the hardware acceleration - but it's documentation is pretty much zero

The only example of it being actually used in the driver itself is the tc6393_clear_screen() function, that uses the hardware rectangle fill to clear the screen. There's a very interesting looking command set provided in the tc6393fb.h file, and an ioctl provided to pass lists of commands to the graphics hardware for processing - but the actual commands (although defined) aren't actually documented

The clear screen example in the driver is
  static u32 cmd[6];
  cmd[0] = PXAIO_COMDI_DSADR|PXAIO_COMDD_DSADR(((int)remapped_fbuf));
  cmd[4] = PXAIO_COMDI_FLGO;

Using the ioctl interface to the framebuffer, this would be:
  static u32 cmd[6];
  cmd[0] = 5;
  cmd[1] = PXAIO_COMDI_DSADR|PXAIO_COMDD_DSADR(((int)remapped_fbuf));
  cmd[5] = PXAIO_COMDI_FLGO;

and then I'm guessing that if you want to make sure it's completed before carrying on, you can use:

But the tc6393 looks like it can do blitting as well....I've no idea what the rest of the command API def's actually do though?

And glory be - Toshiba haven't released a datasheet for the chip
When I eventually get my hands on my SL6000 (my wife's hidden it 'til Christmas) I'll start trying some of the commands, see if I can work it out through trial & error.....unless someone else beats me to it of course

SDL would go much quicker with a bit of the ol' hardware accel...

Software / Wifi Monitor Applet
« on: November 29, 2004, 11:25:19 am »
I was tinkering around the other day, and cobbled together a little applet that shows wifi signal strength in the taskbar. I know that OZ ROM's have had this for ages, but I've never come across one that works in the Sharp ROM. It probably only supports Prism2 based cards at the moment (I commented out support for other cards 'coz it kept crashing Qtopia on startup - and anyway, I've only got a prism2 card anyway).

I based the code on a combination of my NetActive applet, and the wlanmon program, and it's no work of art - but if anyone's interested, I'll roll in IPK of it....

Software / IRK 2.0
« on: September 23, 2004, 04:38:13 am »
I picked up development of IRK again a little while ago (initially to mod it so I could use CMD+Cursor's to control the mouse with Yakty's cunning InputHelper plugin), and decided to do a cleanup and rework on the code (to make adding new keyboards less of a chore), and include the extra keyboards that Takeo added into my "official" release.

The result will be IRK 2.0.0 (next week sometime) - the first release will definitely work with Pocketop keyboards, and will include untested support for all the keyboards added by Tim and Takeo over the past year (but moved to the new keyboard driver architecture I've put together).

I'd appreciate it if a few people would volunteer to do a spot of testing on the keyboards I don't own (ie. Palm, Micro Innovations TKB780U, Targus and Belin F8U1500) - post here if you're up for it....

General Discussion / IRK Website Downtime
« on: August 19, 2004, 05:31:36 pm »
The IRK website will be offline for a week or so 'coz it's hosted on my machine at home and we're off to Lanzarote for a week of sun, sailing and water skiing (and the PC's will be powered down while we're away).

General Discussion / Crash And Burn
« on: May 27, 2004, 03:31:46 am »
I\'ve had my SL5500 a while now, been happy with it, tried lot\'s of ROM\'s, then settled on the Sharp 3.08 ROM (the developer early access version of the 3.10). And it\'s been a solid system for the past 8 months or so....

...until I turned it on this morning, and it had bizarrely decided to reset completely overnight, losing everything I\'ve had setup on it over the past 8 months...

General Discussion / zPocketScript
« on: May 05, 2004, 09:44:22 am »
I\'ve been developing a new scripting system for the Zaurus for a while now. I\'ve called it zPocketScript,
and I\'m kind of hoping that it\'ll be a bit more useable for on the move development and prototyping than some other languages...

I\'ve got commandline versions of the interpreter for running scripts on the Zaurus or a desktop PC, a Qtopia GUI debugger version with all the usual stuff you\'d expect of a debugger (stack trace, single step, breakpoints, variable inspections, etc) and also a remote mode, so you can debug scripts with the Zaurus that are actually running on another machine (another Zaurus or a desktop).

The language itself uses my own ECMAScript interpreter, with plugin object libraries extra functionality (the standard core object\'s are in there already for String\'s, regular expressions, Array\'s, etc). Don\'t laugh \'til you\'ve tried it - ECMAScript/JavaScript is really a quite powerful OO language.

For example, a simple HTTP connection to my website can be coded up as:

Code: [Select]
craigsServer=new Host("")

s=new Socket(Socket.PF_INET,Socket.SOCK_STREAM)




    s.writeln("GET / HTTP/1.0");



I\'ve also got some simple interface Objects for using the ZSurface library from ECMAScript as well.

It\'s reaching the point where it\'s probably at least a little useful to people, so I\'ll hopefully release (at least an initial version) in the next couple of weeks, but I\'d be interested to hear if anyone has some suggestions for useful object libraries.....the obvious one\'s I\'ve already done are File (file io), Host (simplifies DNS lookups), Socket (for network stuff).


General Discussion / IRK v0.11
« on: March 21, 2004, 06:50:36 am »
After following the thread about task switchers, I took a look at Yakty\'s Keyhelper application, and thought the functionality for swapping tasks was handy, but it didn\'t work with my Pocketop - so I\'ve updated IRK, poaching some code from the Keyhelper application to add task switching from the Pocketop/Targus IR keyboard

I\'ve provided two functions for task switching - one which simply swaps to the next task, and another that pops up a list of current tasks and lets you select from it (both taken from Keyhelper).

IRK 0.11 should be released tommorow - except I don\'t have my old IRK website anymore. Is there somewhere here I could upload the new version to?

Accessories / IRK Key Mappings
« on: February 17, 2004, 02:42:34 pm »
Someone sent me a message asking about this, but the board software has managed to delete the message....can whoever it was send me their question again?

Pages: [1]