Jump to content



Photo
- - - - -

Communication program for AFX


  • Please log in to reply
8 replies to this topic

#1 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 27 December 2002 - 08:13 PM

Hi to all
I used those few free days to make a new program for AFX2.0.
Generally I made a program that receives data at 38400 baud,
so I can use my calc as a diskette at school.
I have no problems with transmitting data to the calc,
but it seems that my PC-Calc cable is powered by the PC's RTS pin
when doing Calc->PC transfer (that is RTS must be voltage HI, active 0).
I wonder if anyone else had the same problem.
To test if do the following:
1. set your PC serial communication program (e.g. Hyper Term)
COM settings to: 38400, 8bit, no partity, 1 stop bit, no flow control.
2. Run Calc's ZX945 hidden menu, and choose:
TRANS/VCCI Spec Test/Send (keys: 5 2 1)
or
COM Check/Send (keys: 5 1 1)
Both test probably should output characters on your PC.
And this doesn't work with my cable.
Please report your results.

Right now I am only able to receive data from the calc by using
rather unique programs, like: comDebug (Windmill software) and
BradN's ComRecv (from COMSEND package), those programs allow
to manually change the state of RTS line.
Or maybe someone knows how to change the default COM's RTS state?
It is important because many file transfer protocols need
(like x/y/zmodem, kermit etc.) 2 way communcation for either
upload/download.

Anyway my program right now is able to download any data <64Kb to
the calc's RAM, where can I upload it? (where is the FileSharing area?)
Roeoender
my current email: wosik AT inetia.pl (drzodrzo AT kki.net.pl is dead)

#2 Mohamed

Mohamed

    UCF Police

  • [Legends]
  • PipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • Location:Egypt, Cairo

  • Calculators:
    AFX 2.0, PV-S660, fx-570MS

Posted 28 December 2002 - 06:22 AM

Cool!
I was wondering whether you were kidnapped or something.
You know, it's hard for a company like CASIO to have such a hard competitor like your CAZIO Elektrinics. :lol:

Anyway, I'll test your program as soon as I'm back.
And my website is there for you if you want to upload anything not more than 3 MB. Mail me if you want so I give you the loggin name/password.

#3 superna

superna

    Casio Addict

  • Members
  • PipPipPip
  • 88 posts

Posted 28 December 2002 - 09:15 PM

ah roeneder
you've used brad or mine comm methods !
you've said you wouldn't use other peoples methods !
:rolleyes:

#4 superna

superna

    Casio Addict

  • Members
  • PipPipPip
  • 88 posts

Posted 28 December 2002 - 09:17 PM

for information, with my max232 equiped cable and my fxi cable, hyperterm receives characters, allways the same
for more informlation on afx comm port (really great thing !), just look at my website, my methods are really good
for example, i've creted 2 programs to send the rom and the ram with the comm port to Mastermage's program (originaly mpade for Sysxpl) names Sysxpl Receiver available on Whyp's website : www.graphx-prog.fr.st

#5 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 28 December 2002 - 09:53 PM

Ah Superna,
You are wrong :-)
I simply disassembled 0x02000 (ZX945 test menu) segment of casio's ROM.
Lots of work, but at least my routines do everything just as the CASIO do.

Moreover I have no problems with my routines I have problem on the PC side with setting RTS pin LOW in programs like HyperTerm. I have no problems with communicating with programs that are able to change the state of RTS pin.

Anyway,
Could at least 1 person do the ZX945 TRANS test I mentioned in my previous post?


Roeoender

#6 BradN

BradN

    Casio Addict

  • Members
  • PipPipPip
  • 69 posts

Posted 29 December 2002 - 05:30 AM

roeoender:

my homemade max232 cable can receive stuff in hyperterminal from the test mode just fine. I don't think my setup depends on either DTR or RTS to work.

Glad someone made use of my comrecv at least :)

Side note: I made comrecv because hyperterminal does evil things to raw data received - it's impossible to log raw data with it without losing some bytes.

#7 superna

superna

    Casio Addict

  • Members
  • PipPipPip
  • 88 posts

Posted 29 December 2002 - 03:35 PM

yea
it's true brad
the hyperterminal looses data

i didn't disassembled the menu but my method works quite good
sorry if it's not casio's way....
i'll nearly start my program sysg100 with flash and file transfert ability and i'll tell you if it works !
note that my method is similar but i don't use the fucking 09h port but the 54h and 55h port to see bytes transfer status and it works better and faster
note that i found much more speeds, juste take a look onto my website
please
just do it
for chance, it's in english !

#8 superna

superna

    Casio Addict

  • Members
  • PipPipPip
  • 88 posts

Posted 29 December 2002 - 03:40 PM

i made the test menu trans, and the calc sends H bytes :

Posted Image

#9 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 30 December 2002 - 01:24 AM

Thank you for the interest, now it is clear to me
that I (and probably all people from Poland) have
a cable that is not "normal" CASIO cable.

But Look at my next thread!
(Good to see BradN here)
Roeoender.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users