Native Linux frontend to PindurTI

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Native Linux frontend to PindurTI

Post by Timendus »

As announced in the PindurTI topic, I've written a simple frontend to the native Linux build of PindurTI. Unfortunately that turns out to be broken in the sense that it doesn't want to turn it's screen on. So I've added the option to use my frontend with the Windows version of PindurTI through Wine. Far from ideal, but I suppose it runs slightly faster than using the original GUI through Wine, and it keeps you from having to use "send" to get ROMs and files in it.

Feel free to use the source for whichever end or to expand on this little project (as long as you release your changes according to the GPL, obviously). I don't really plan to work on this much, at least not untill I find a way to get the native Linux build of PindurTI working. In which case I might consider writing a link port for it ;)

What it does:
- Give you a running calculator
- With a nice emulated display
- And keyboard
- Easy way to load ROM and other files
- Select either Windows or Linux PindurTI build as backend

What it doesn't do:
- Linking :(
- Taking screenshots (it isn't in the interfacing protocol)

Download:
PindurTI frontend.tar.gz

Screenshots:
Image Image Image

Readme:

Code: Select all

About this software

	PindurTI frontend is a simple little application that provides a graphical
	user interface for Linux users on top of the native Linux build of PindurTI.
	It interfaces with the backend by use of the protocol defined here:

	http://wikiti.denglend.net/index.php?title=Emulators:PindurTI#Scripting

Installation

	This software depends on the package gtkmm. So if you don't have it, please
	install it before you try to run or compile this software. If you use the
	Windows version of PindurTI as a backend, you'll also need Wine installed.
	
	Next, the PindurTI frontend requires a backend, obviously. Because PindurTI
	is not my software, you'll have to download it seperately from the PindurTI
	website:
	
	http://www.hszk.bme.hu/~pg429/pindurti/
	
	Note that the linux non-interactive build presented there is currently
	broken (as of july 2007), and you'll need the pindurti.exe (Windows) version.
	Put whichever binary you download in the "resources" directory of PindurTI
	frontend (without renaming it), together with any calculator ROMs you might
	have.
	
	Now you can try to run "./pti_frontend" from the PindurTI frontend directory,
	or compile it with "make". Through the graphical interface you can select a
	backend, load a ROM into it and use the calculator.
	
	If the calculator refuses to turn the screen on, it could either be that you
	failed to download a version of PindurTI to the "resources" directory, or
	you are using the faulty linux build from the PindurTI website.

Keys
	
	A little remark about the keyboard layout: it follows the PindurTI keyboard
	layout as much as possible, but it doesn't have warp mode, a debugger window
	or reset. You can reset the calculator through the menu: "Emulator > Reset
	calculator". The calculator doesn't respond to mouse clicks, you'll have to
	press F6 for the on key.

Copyright and licensing

	Copyright (C) 2007, Tim Franssen
	
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.

Contact

	You can contact me at mail@timendus.com with any questions or to notify
	me of updates you have released of this software.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Re: Native Linux frontend to PindurTI

Post by CoBB »

Timendus wrote:- Linking :(
- Taking screenshots (it isn't in the interfacing protocol)
Screenshots should be rather simple, since all you need is the gif writer code that’s quite self-sustaining, and feed it the screen data you get through the command interface.
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

well, good job regardless!
Image Image Image
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Good stuff Timendus. Its a shame the linux build doesnt want to co-operate as this would be insanely useful to anyone using that platform (who doesnt want to use wine).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

tr1p1ea wrote: (who doesnt want to use wine).
Or who can't due to a different processor. :)

(I may be getting my hands on a PowerMac G4 in a few weeks, and of course I wouldn't be able to use Wine on it due to the different architecture.)
ImageImage
Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Oh no, we'd better tell TD-Linux to hurry up and finish his Linux version of Wabbitemu. :P
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

As you may have noticed on the Revsoft forum, I'm trying to help "you lot" with the Linux version for Wabbitemu on Spencer's invitation. As long as I can spare the time. We should stop seeing eachother as competition and instead try to make the best tools available for assembly programming.

Personally I'm just working on getting my C/C++ skills up, and to be perfectly honest I don't really care with which project, as long as it's small enough to keep track of things, and I like to promote the use of Linux among TI programmers ;)

@CoBB: You're right, though I understand that the GIF writer code is all still in the non-interactive build? It would be kinda double to have it twice. Anyway, screenshotting isn't really a priority of mine, I'd rather have X calculator screens linked with each other and with my real calculator through the LTP port :)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

Timendus wrote:@CoBB: You're right, though I understand that the GIF writer code is all still in the non-interactive build? It would be kinda double to have it twice. Anyway, screenshotting isn't really a priority of mine, I'd rather have X calculator screens linked with each other and with my real calculator through the LTP port :)
Activating the software hub is a bit problematic, since all the linked calculators must be run at the same time. Well, it’s probably not that hard. But adding a real port is a different business, since it’s not platform independent like the rest, and I don’t really know how timing could be handled.
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Timendus wrote:As you may have noticed on the Revsoft forum, I'm trying to help "you lot" with the Linux version for Wabbitemu on Spencer's invitation. As long as I can spare the time. We should stop seeing eachother as competition and instead try to make the best tools available for assembly programming.
What? I was just kidding. Plus I'm not even really involved in the development, I'll just occasionally test stuff. Very occasionally.
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

threefingeredguy wrote:What? I was just kidding.
I thought so, I just wanted to point out that I'm not trying to compete anyone out of the market :)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Amazing, I actually did some work on this project :) It's really just to automate another project, but whatever ;)

These patches will make the pti frontend shut up by default instead of flooding the console. You can re-enable the output by appending the switch --verbose. Also, after the optional switch, you can now first specify a ROM image to be loaded and booted from, and after that a series of files to be sent to the calculator. So combinations like this should work:

Code: Select all

./pti_frontend --verbose resources/TI-83.rom resources/ion.83g
Also, for the sake of simplicity, I added a new binary. Enjoy.
http://timendus.student.utwente.nl/docs ... hes.tar.gz
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
JoostinOnline
Regular Member
Posts: 133
Joined: Wed 11 Jul, 2007 10:42 pm
Location: Behind You

Post by JoostinOnline »

:o You double posted! :o
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

JoostinOnline wrote::o You double posted! :o
It has been a few months between posts, and you replied with a dumb comment :wink: ..

Looking good, wish to see more progress on Clap/Bell >.>
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Lol, funny noob :)

Sorry, Clap and Bell aren't priority projects at the moment because they don't integrate well with my other work. Neither is this project, by the way. I'll probably get back to them as soon as I'm doing network related stuff at school or work again.

Edit: Woops, stupid mistake... segfault on no arguments :mrgreen: Updated patches and binary.
(This smiley should be used more often imho --------------^)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
Demon
Regular Member
Posts: 85
Joined: Wed 31 Jan, 2007 12:11 am
Location: (806), Texas
Contact:

Post by Demon »

I can't wait for this to get finished.
I wonder who will cross the finish line first? WabbitEmu for Linux or PTI for Linux?
"Python has dynamic typing, and dynamic binding, which means that not only does it make a great secretary, it is also pretty damn kinky." --Henry the Adequate

<My Artwork>
Post Reply