RS232 using MSX Joystick PortMSX Resource Center MRC MEGA Challenge - Develop an MSX2 game and win!              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 161 guests and 3 MSX friends online

You are an anonymous user.
 

RS232 using MSX Joystick Port

Hardware - RS232 using MSX Joystick Port

 Tuesday, January 22, 2008 - 21:01
 Submitted by: Danjovic
 Topic: Hardware
 
Danjovic has managed to write a bitbanged serial routine which is able to transmit data to a PC at speeds of up to 19200bps. In order to accomplish this a TTL to RS232 level shifter is needed, implemented using a transistor.

Using a small program it is possible to intercept the LPRINT hook used by MSX-BASIC to direct output to the serial port. The example program in BASIC can use the LLIST command to send the listing itself to a PC running a terminal program such as HyperTerminal. Timing values can be easily adjusted to best suit the MSX computer used and to change the transmission speed from 1200 to 19200 bits per second.

The data goes out through pin 6 of Joystick Port B. The source code as well as the schematics of the 1-transistor TTL-to-RS232 level converter can be found on the author's weblog.

Relevant Link: TTL to RS232 Converter
Relevant Link: LPRINT to Joystick Port

 
 


By Google

By PingPong on January 22 2008, 23:00
cool!
By Yukio on January 23 2008, 09:11
Yes, indeed very cool!
This seems easy to implement.

It could be something like this that was suggested to do with the Joystick Port to use serial connection . Well, I am still learning how to do parallel communication!

Basic TTL [Transistor Transistor Logic] (from Digital Electronic courses) knowledge should be cool in our today use ...


By cax on January 23 2008, 12:35
Really cool, and resembles MSX Link by tnt23. The good thing is that you don't need Yamaha and it's network module to load data.
The bad thing is that on a diskless machine you need a bootstrapping code listening on a joystick-port to be entered manually.
What will be the shortest and simplest way to bootstrap a diskless MSX via joystick port ?
By Danjovic on January 24 2008, 01:30
Well, I worked once on a bootstrap loader for Joystick port using I2C protocol altogether with a 24LC256 serial EEPROM. I as able to read 32Kbytes in 14 seconds (2,28KBytes/s).

I have also built an interface to interconnect the PC, the EEPROM and the MSX Joystick port, so I could load the EEPROM from the PC, using ICPROG. Refer to this link

But then again, I think that the best way to boot a "bare" MSX computer from a Joystick port, either using Serial, I2C or SPI or whichever protocol, is to use an expansion ROM, or maybe a hacked BIOS.


By DamageX on January 24 2008, 09:06
What would be cool is a little DOS driver for MSX like the old INTERLNK utility for MS-DOS. It could be loaded on a diskless MSX from cassette port or ROM, and then allow access to disk images or file systems on the PC, which would be connected probably via a cable to the parallel port...
By PingPong on January 24 2008, 18:51
DamageX:
Time ago i've considered a disk virtualizer that work connecting pc & msx via EAR & MIC jacks. Basically the idea is to patch the disk rom and when the msx read a sector, with a protocol the sector data are suplied from the PC via the AUDIO output. In the same manner when the msx write a disk sector the reverse apply:

Schematically:

MSX READ SECTOR->ROM PATCH->CONVERTION TO PULSE->MIC INPUT OF THE PC->OUTPUT FROM HEADPHONE FROM PC OF THE PULSE DATA WITH THE SECTOR WANTED.


Maybe with this approach the pc could be a server for the msx pratically at 0€ (Simply connect the msx mic/ear to the pc audio board and all work fine)


Unfortunately i've no time to develop this.
By Pat on January 26 2008, 13:28
With an FTDI FT232 it would straightforward to make a USB to joystick rs232 link. The driver of this USB chip creates a virtual com port on your PC. This would be equivalent to the above circuit, from a software viewpoint. ( As serial ports are getting rarer and rarer on PCs nowadays)
By konamiman on January 26 2008, 13:59
Danjovic, can you please give me your email address? Or if you prefer, write me: konamiman (at) konamiman (dot) com.
By Danjovic on January 27 2008, 18:00
Hi, Konamiman, you can contact me at danjovic at vespanet dot com dot br


By konamiman on January 29 2008, 12:11
Hi danjovic, have you received my messages? (I ask because you posted your address here after I replied your email)


 Recent news
 
MSX Info Update introdemo 
uMSX 0.2 
Disk-Manager 0.12 
RuMSX 0.41 
Nowind Update 
MSX Info Update 2008 
MSXdev'08 - Jury and main prize announced 
Passion MSX2 contest - 1st edition 
FLAX: New Flash cartridge 
Penguin Adventure review 

[ News archive ]

 Latest forum posts
 
Nowind Support / Questions
www.{moderated}.com new web
SHANGHAI games on MSX/MSX2 ?
Do you know "Lillo e le gemme"?
Need as much turbo-r info as you can give me....
Mapping Penguin Adventure
Burning video rams and "sparks" at the sound
Does someone know what game this is?
BlueMSX (and other) problems....
Refurbishing old games?

[ View MSX forum ]

 Poll
 
With whom would you like to celebrate MSX25?

Kay Nishi
Bill Gates
Hideo Kojima
Martos
Wammes Witkop
Someone else (comment!)

[ View results ]

 Latest reactions
 
FLAX: New Flash cartridge
Bazix breaks relationship with MSX Association
Disk-Manager 0.12
MSXdev'08 - Jury and main prize announced
MEGA Challenge - 09. LEDA
Passion MSX2 contest - 1st edition
RuMSX 0.41
Nowind Update
MSX Info Update 2008
MEGA challenge - 05. Night Pursuit
 Affilates
 
WOOMB.net
Play-Asia
eBay
 Sponsored Links
 

(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.