[Featured][Dev] PindurTI (Best Thread 2005)
Moderator: MaxCoderz Staff
Ah, yes, I forgot about that. I'll give it a try, but I doubt it's going to work with Wine...
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- GuillaumeH
- Regular Member
- Posts: 143
- Joined: Fri 17 Dec, 2004 8:30 pm
- Contact:
Wow, you're right... it works. Amazing.
And my PTI is running at a whopping average of 75% on my beautiful AMD Athlon64 3000+... That's just as bad as it used to be on my laptop. I'll see what I can do in the area of writing a GTK frontend for PTI...
And my PTI is running at a whopping average of 75% on my beautiful AMD Athlon64 3000+... That's just as bad as it used to be on my laptop. I'll see what I can do in the area of writing a GTK frontend for PTI...
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Okay, one evening later I got an interface with the PTI non-interactive linux build through two pipes and a simple but nicely native-Gnome-looking GUI that doesn't really do anything yet. No keypad of course, like the original. And I'm still far, FAR, from having such a lovely display emulation as the original. Or linking, or screenshotting, or...
Anyway, I plan to finish this up tomorrow (please let it be tomorrow ) to the point where I can load a ROM image and some .8?? files, pass keyboard input to PTI, and I'll give a go at getting the PTI output in a Pixbuf. After that it's open source (even though it's crappy code) for anyone who wants to extend on it's functionality.
Anyway, I plan to finish this up tomorrow (please let it be tomorrow ) to the point where I can load a ROM image and some .8?? files, pass keyboard input to PTI, and I'll give a go at getting the PTI output in a Pixbuf. After that it's open source (even though it's crappy code) for anyone who wants to extend on it's functionality.
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Hmm, I'm gonna need a bit of help here from either CoBB or Ben...
I do the following:
But my state dumps tell me that the screen is still off... Why is that? Am I too impatient with 1000 clockcycles?
I do the following:
Code: Select all
File selected: resources/TI-83.rom
Sending file...OK
Activating slot 0...OK
Running for 1000cc...OK
Pressing ON...OK
Running for 1000cc...OK
Code: Select all
Dumping state lcd physics...OK
Busy time min.: 25 cc
Busy time max.: 47 cc
Remains busy: 0 cc
Momentum up: 15%
Momentum down: 7%
Contrast factor: 5%
Op-amp factor: 15%
White base level: 5%
Black base level: 100%
Current white: -65%
Current black: 30%
Dumping state lcd software...OK
Power: off
Contrast: 18
X-Address: 0
Y-Address: 0
Z-Address: 0
Counter: Y, up
Word length: 8
Op-amps: amp1=0 amp2=0
Test mode: off
Dummy read: yes
Dumping state model...OK
Model: TI-83 1.07
Dumping state time...OK
Clock: 2008
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- Jim e
- Calc King
- Posts: 2457
- Joined: Sun 26 Dec, 2004 5:27 am
- Location: SXIOPO = Infinite lives for both players
- Contact:
YesTimendus wrote:But my state dumps tell me that the screen is still off... Why is that? Am I too impatient with 1000 clockcycles?
Thats only 1/6000th of a second. You need to press for about 1/2 a second and release and run for a bit longer.
Edit: You should probably give more boot up time than that to.
Code: Select all
Sending file...OK
Activating slot 0...OK
Resetting the calculator...OK
Running for 6000000cc...OK
Pressing ON...OK
Running for 6000000cc...OK
Releasing ON...OK
Running for 6000000cc...OK
[...]
Dumping state lcd software...OK
Power: off
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Okay, I figure I owe the rest of the board an update
It took CoBB and me about a dozen private messages and a lot of patience to find out that the linux non-interactive build that's on the PTI website is actually broken. It'll never turn the screen on. Once that was clear I tried to recompile a new version of the linux non-interactive build from the original source, but that gave me exactely the same result. So that pretty much got me nowhere. Now I'm just hoping that CoBB will come up with a brilliant idea.
But I've been using the Windows version in non-interactive mode through Wine (talking about an ugly hack ) to develop my front-end, and it's getting together. Here's a screenshot of the first "Mem cleared"
It emulates a screen, with more or less as pretty looks as the original (though I still have to properly fix an ugly signed/unsigned int error, what you're seeing here is the yucky workaround). It updates the screen 25 times a second, which is the maximum greyscale output frequency of the PTI back-end, and it has the emulator run the corresponding number of clockcycles on every update. In other words; you can see the cursor flashing at the proper speed
Interface-wise you can load a ROM image and .8?? files through a fancy file browse interface (Emulator -> Open -> "ROM image" or "Program/Group", can't take a screenshot of that for some reason, so you'll have to take my word for it), you can make the program dump it's status to the command line and you can type in keys which will be passed on to PTI. I still have to add a few more keys though to make it useful
It depends on libgtkmm and it should run nicely under Gnome and KDE.
Now the only serious problem is to get a native Linux build that works properly... Otherwise this little program doesn't really solve any problem...
It took CoBB and me about a dozen private messages and a lot of patience to find out that the linux non-interactive build that's on the PTI website is actually broken. It'll never turn the screen on. Once that was clear I tried to recompile a new version of the linux non-interactive build from the original source, but that gave me exactely the same result. So that pretty much got me nowhere. Now I'm just hoping that CoBB will come up with a brilliant idea.
But I've been using the Windows version in non-interactive mode through Wine (talking about an ugly hack ) to develop my front-end, and it's getting together. Here's a screenshot of the first "Mem cleared"
It emulates a screen, with more or less as pretty looks as the original (though I still have to properly fix an ugly signed/unsigned int error, what you're seeing here is the yucky workaround). It updates the screen 25 times a second, which is the maximum greyscale output frequency of the PTI back-end, and it has the emulator run the corresponding number of clockcycles on every update. In other words; you can see the cursor flashing at the proper speed
Interface-wise you can load a ROM image and .8?? files through a fancy file browse interface (Emulator -> Open -> "ROM image" or "Program/Group", can't take a screenshot of that for some reason, so you'll have to take my word for it), you can make the program dump it's status to the command line and you can type in keys which will be passed on to PTI. I still have to add a few more keys though to make it useful
It depends on libgtkmm and it should run nicely under Gnome and KDE.
Now the only serious problem is to get a native Linux build that works properly... Otherwise this little program doesn't really solve any problem...
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
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS