Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 02:42:56 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 2 [3] 4   Go Down
  Print  
Author Topic: FXTerm - VT100 terminal emulator for Casio fx cg -  (Read 4256 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
christop
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 13 April, 2013, 04:04:55
Date Registered: 26 February, 2011, 19:58:44
Location: Arizona, USA
Posts: 87

Total Post Ratings: +20

View Profile
« Reply #30 on: 09 March, 2012, 17:15:25 »
0

Yep, I'm referring to Punix. I don't mention much about the VT100 emulator, but here's the Punix thread: http://www.omnimaga.org/index.php?topic=6795
Logged

Christopher Williams
flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 21:54:36
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1497


Total Post Ratings: +74

View Profile WWW
« Reply #31 on: 18 April, 2012, 16:20:05 »
0

If you try fxterm with Casio serial cable, you may find, that stream PC->fxterm goes OK, but fxterm->PC doesn't. The problem is in DTR signal on COM port, which must be set ON. The cable (probably) uses it to get power.
I used following (and very dirty workaround):
Linux is running in vmware (which run on windows), it has serial port, which is configured as named pipe (\\.\pipe\seriak), vmware end is server,other end is an application.
On windows run proxy - attached application, which forwards data between pipe and real COM1 port. The proxy ensures, that DTR signal is ON, so it works.

This is very dirty solution, proxy is very dirty software, but at least it works for testing:-)
I hope there is a way to configure Linux to set DTR signal ON, I did a very quick research, but found nothing:-(
Martin

Can you connect with the USB cable?
Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 10:08:17
Date Registered: 04 January, 2011, 18:41:18
Posts: 161


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #32 on: 18 April, 2012, 16:32:49 »
0

Can you connect with the USB cable?
No.
1. I do not know how to communicate on USB (do we know such syscalls ?)
2. The device (calculator) must emulate usb->serial convertor so linux machine will make console for it. This would probably require low level programming of USB controller on the calculator. Do you know how ? I do not :-(
Logged
flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 21:54:36
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1497


Total Post Ratings: +74

View Profile WWW
« Reply #33 on: 18 April, 2012, 16:38:34 »
0

I do not know how, unfortunately.

So, I have to have a way to connect to my computer with the COMM cable?
Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 10:08:17
Date Registered: 04 January, 2011, 18:41:18
Posts: 161


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #34 on: 18 April, 2012, 17:51:37 »
0

So, I have to have a way to connect to my computer with the COMM cable?
Yes.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 02:42:10
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #35 on: 18 April, 2012, 20:41:45 »
0

I think I have this cable, because it came with my FX-9850G, but when I tried to connect my 9850G a few years ago, it was not detected.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 21:54:36
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1497


Total Post Ratings: +74

View Profile WWW
« Reply #36 on: 18 April, 2012, 23:19:02 »
0

this cables work



Oh, wow never saw one of those before.
Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 10:08:17
Date Registered: 04 January, 2011, 18:41:18
Posts: 161


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #37 on: 27 August, 2012, 11:40:04 »
0

I released new version at my page http://martin.poupe.org/casio/
News: 4 embedded fonts, menu for communication parameters.
Source code included.
The simulator variant uses windows pipe instead of COM port - I used it to communicate with Linux running in VMWare
« Last Edit: 27 August, 2012, 11:42:27 by MPoupe » Logged
christop
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 13 April, 2013, 04:04:55
Date Registered: 26 February, 2011, 19:58:44
Location: Arizona, USA
Posts: 87

Total Post Ratings: +20

View Profile
« Reply #38 on: 27 August, 2012, 23:29:47 »
0

Nice state machine! I've been thinking about adding character tables as you did for a few different states (ground, ESC, CSI, etc), but I worried about how much space those will take. Mine currently tests each character (eg, ch == 0x18 || ch == 0x1a || ...). But now I'm thinking the size of character tables shouldn't matter that much; it'll add probably a couple kilobytes or so in ROM but should execute a little faster (which I think matters more than ROM usage).

I'm amused at the way you defined your fonts in source code with defines like _X_X_X (I defined my fonts in the binary PBM image format and automatically convert them to C source code when the software is built).

I'm still jealous of the hardware UART and the higher resolution color screen on the Casio. All I've got is a proprietary serial protocol (TI D-BUS) and a crappy low-resolution monochrome screen. Undecided
Logged

Christopher Williams
helder7
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 23 April, 2013, 23:51:41
Date Registered: 24 December, 2011, 01:08:51
Posts: 183


Total Post Ratings: +32

View Profile
« Reply #39 on: 28 August, 2012, 13:06:26 »
0

Nice see a update Smiley

Unfortunately, I will not be able to test this new update, I have no cable. I tested the initial version with a cable borrowed.

is possibel to make a homemade cable? Official cables are expensive and rare, they cost 37€ + taxes.
Logged

Casiopeia | Casio Wiki | eAct Maker [New!] | fxMouse [Control pc with fx9860!]
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 10:08:17
Date Registered: 04 January, 2011, 18:41:18
Posts: 161


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #40 on: 28 August, 2012, 14:57:04 »
0

Unfortunately, I will not be able to test this new update, I have no cable. I tested the initial version with a cable borrowed.
is possibel to make a homemade cable? Official cables are expensive and rare, they cost 37€ + taxes.
You can test it partially without nay cable. Run fxTerm on any COMM settings and select local echo. You will be able to write letters on the screen.
BTW: I never tried it ;-)
Cable: do you have USB->RS232 convertor? I think it contains USB->uart (TTL) converter and TTL->RS232 (max232) converter. If you remove the second convertor and replace connector by 2.5 mm jack, it should work.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 02:42:10
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #41 on: 28 August, 2012, 16:14:04 »
0

Glad to see this software updated. Also I wish TI cables worked with Casio calcs, because there are some tutorials on Google (or ticalc.org) on how to build $5 link cables.
« Last Edit: 28 August, 2012, 16:15:54 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
helder7
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 23 April, 2013, 23:51:41
Date Registered: 24 December, 2011, 01:08:51
Posts: 183


Total Post Ratings: +32

View Profile
« Reply #42 on: 28 August, 2012, 16:33:04 »
0

this ti cables 2,5 mm to usb works?

Logged

Casiopeia | Casio Wiki | eAct Maker [New!] | fxMouse [Control pc with fx9860!]
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 10:08:17
Date Registered: 04 January, 2011, 18:41:18
Posts: 161


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #43 on: 28 August, 2012, 16:54:20 »
0

this ti cables 2,5 mm to usb works?
I do not know the schematics, but I think no. I mean this: http://pinouts.ru/Converters/usb_serial_adapter_pinout.shtml
Imagine you remove MAX213 and wire signals (TXD and RXD) from FT232AM to the calculator.
Logged
Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:12:50
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4548


Total Post Ratings: +394

View Profile WWW
« Reply #44 on: 28 August, 2012, 16:59:45 »
0

I think an Arduino would work, it have a build-in USB-to-TTL converter, so you would plug the 2.5mm jack to pins 0 and 1 and it would work. I didn't tested it though, as I don't have any cable to cut in half.

EDIT: It's doable, you don't even have to load a program in the Arduino, I would need to know whether the tip or the ring is TX or RX. The sleeve is most likely the ground.
« Last Edit: 28 August, 2012, 17:31:15 by Juju » Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
Pages: 1 2 [3] 4   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.304 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.