MO5 with SDMO/SDMOTO question ...

C'est la catégorie reine de l'ordinophile, 8 bits et pas un de plus!
Single board ou bus S-100 acceptés.

Modérateurs : Papy.G, fneck, Carl

Répondre
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Hi,

this is my SDMO version:

Image Image

I know, that i have to initialise the microsd card and load the SDMOTO BOOTSTRAP LOADER using a datasette or so ... but how exactly? i can't speak french and the google translator is bad.

Thanks in advance.

Cu

Tom
Avatar de l’utilisateur
Carl
Modérateur
Messages : 13299
Inscription : 08 avr. 2007 13:21
Localisation : http://www.doledujura.fr
Contact :

Re: MO5 with SDMO/SDMOTO question ...

Message par Carl »

Daniel....it's time to promote the new SDMOTO with bootstrap loader into eprom for TOM :wink:

Carl
Avatar de l’utilisateur
LeGrapyl
Messages : 1228
Inscription : 15 déc. 2013 23:38
Localisation : 34 mais parfois 71...

Re: MO5 with SDMO/SDMOTO question ...

Message par LeGrapyl »

Hi Tom ! Maybe you should tell us what you've done so far, because there might be a controler (CS91-280) missing...and ther are 3 versions of it, 2 of which use the tape din plug and the other one is internal :

-Internal version of the controler (plugged onto the extension slot of the MO5) forbidding the use of this slot afterwards
http://dcmoto.free.fr/bricolage/cs91-280_mo5/index.html

-External verions using the Tape plug. The first one uses a modified Nanoreseau extension, and the second is a fully custom built one.
http://dcmoto.free.fr/bricolage/cs91-280/index.html

So if you don't have the controller, you don't get...the control of it :mrgreen:

@Daniel : do I get this right ???? :D
Tom la Riboulle, l'homme qui roule en boule !
Daniel
Messages : 17424
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: MO5 with SDMO/SDMOTO question ...

Message par Daniel »

Hi Tom ! Congratulations for making the SDMO interface.

This is the hardware link between the MO5 and the SD card, and it can be used without a controller, though its not practical :
- You need to load software from tape to initialize the SD card and read or write sectors
- You can access physical sectors, but you cannot emulate a standard Thomson floppy disk

With the CS91-280 controller, using SDMO is far easier :
- The initialization program with read/write routines is included in the controller EPROM and runs automatically at power up
- The controller emulates 2 disk drives with image files on the SD card

This controller may be
- internal (built in the MO5) letting the expansion slot free for another controller (ie music and joysticks).
- external (plugged to the expansion slot). In this case an expansion splitter is needed to connect another controller.

The easiest way to make the CS91-280 controller is using a Nanoreseau extension : you have just to replace the EPROM.
An external controller (nanoreseau extension or custom built) can be used on several Thomson computers. But if you have only one MO5, the internal controller is a good solution. You have to decide, its up to you.

In either case (with or without a controller) I'll help you as far as as can to make the SDMO interface working on your MO5.
Daniel
L'obstacle augmente mon ardeur.
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

Re: MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Thanks to all for your help ... :wink:

@Daniel:

It seems to be a bit difficult to use this interface without the Nanoreseau extension and there are not many possibilities to get themon ebay. I found this one (for example):

http://www.ebay.de/itm/Thomson-MO5-MO8- ... c#shpCntId

An external extension would be a good solution for the future, 'cause i'll get some more Thomson computer.

But i'll test my interface, so my question is ... what's a good possibility to test it with a "normal" MO5 without any extensions?

Thanks again.

Cu

Tom
Daniel
Messages : 17424
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: MO5 with SDMO/SDMOTO question ...

Message par Daniel »

The Nanoreseau controller you give the link to is an early model and is not common. Later models are marked 'BOITIER DE COMMUNICATION NANORESEAU (LICENCE USTL)'. No matters, it should work to make a CS91-280 controller.

In order to test the SDMO interface without the controller, you can try this demo :
http://dcmoto.free.fr/programmes/sdmoplay/index.html
However it needs the SX90-018 controller to play music. Do you have one ? It is marked 'Controleur d'extension modele 2 TO7-MO5'.
Nethertheless the demo runs without the SX90-018 and displays a picture with no sound.

The problem is to load the boot program without the controller. It can be read from tape, or typed with the MO5 keyboard. Both ways are not very convenient, this is why I didn't write much programs for a standalone SDMO interface. If you are interested, I can make a test program with a minimum number of lines to demonstrate the operation of the SD card. For instance read a text from the card and write it to the MO5 screen.
Daniel
L'obstacle augmente mon ardeur.
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

Re: MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Daniel a écrit :If you are interested, I can make a test program with a minimum number of lines to demonstrate the operation of the SD card. For instance read a text from the card and write it to the MO5 screen.
That would be great ...
Daniel
Messages : 17424
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: MO5 with SDMO/SDMOTO question ...

Message par Daniel »

Here is a sample program to test the standalone SDMO interface : hello.zip

1) Prepare the micro SD card on the PC
- copy hello.sd file to the card
- run bootaddress.exe to find the address of the file first physical sector

Image
In this example, the file physical address is 022FC200 (4 hexadecimal bytes)


2) Type and run this program on the MO5

Image Image


3) Boot on the card and run the 'hello world' program

Image Image
Warning : replace each address byte in the POKEs by your own address bytes.

Code : Tout sélectionner

10 CLEAR,&H9CFF:A=&H9F00
20 READX$:IFX$="**"THENEND
30 POKEA,VAL("&H"+X$)
40 A=A+1:GOTO20
100 DATA 20,23,40,00,00,00,00,95
101 DATA 01,48,00,00,01,AA,87,00
102 DATA 77,00,00,00,00,FF,00,69
103 DATA 40,00,00,00,FF,00,51,00
104 DATA 00,00,00,FF,00,1A,50,86
105 DATA A7,1F,8B,D6,C0,CA,40,D7
106 DATA C0,8E,00,0A,8D,61,30,1F
107 DATA 26,FA,33,8C,C5,8D,33,8D
108 DATA 2C,8D,54,8D,52,8D,50,8D
109 DATA 4E,33,8C,C4,8D,1F,8D,1D
110 DATA 25,F7,8D,19,8D,41,81,FE
111 DATA 26,FA,8E,9D,00,8D,38,A7
112 DATA 80,8C,9F,00,26,F7,8D,2F
113 DATA 8D,2D,7E,9D,00,8D,28,4C
114 DATA 26,FB,8E,00,06,A6,C0,8D
115 DATA 2E,30,1F,26,F8,8D,08,A1
116 DATA C0,27,02,43,39,4F,39,C6
117 DATA 7F,D7,C2,D1,C0,C6,36,D7
118 DATA C2,25,F4,86,FC,20,02,86
119 DATA FE,C6,7F,D7,C2,D1,C0,C6
120 DATA 36,D7,C2,49,25,F3,39,C6
121 DATA 08,34,04,D6,C0,CA,40,6A
122 DATA E4,2B,11,48,25,02,C4,BF
123 DATA D7,C0,C6,3E,D7,C2,C6,36
124 DATA D7,C2,20,E7,D7,C0,35,84
125 DATA **

10 POKE&H9F1F,&H02
20 POKE&H9F20,&H2F
30 POKE&H9F21,&HC2
40 POKE&H9F22,&H00
50 EXEC&H9F00

Code : Tout sélectionner

* Hello World program for MO5

  ORG   $9D00
DEBUT 
  LDX   #TEXTE     adresse du texte
WRITE
  LDB   ,X+        caractere a afficher 
  CMPB  #$04       test fin de chaine
  BEQ   DEBUT      fin de chaine
  SWI              appel fonction moniteur
  FCB   $02        affichage caractere
  BRA   WRITE      caractere suivant
FIN  
  SWI              appel fonction moniteur
  FCB   $00        retour au menu
TEXTE  
  FCC   'Hello World !'
  FDB   $0D0A
  FCB   $04
  END
Daniel
L'obstacle augmente mon ardeur.
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

Re: MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Thank you Daniel, i'll test it till tomorrow ...
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

Re: MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Sorry guys, i've a lot of work actually and i hope i can test the interface in a week or two ...
Avatar de l’utilisateur
TrainingForUtopia
Messages : 141
Inscription : 12 mai 2015 04:44

Re: MO5 with SDMO/SDMOTO question ...

Message par TrainingForUtopia »

Sorry, i can't get into that stuff. Don't know exactly what to do. Anyway, it's so diffcult to get a working Nanoreseau controller ... and without it, my interface is like crap.
Avatar de l’utilisateur
irios
Messages : 3398
Inscription : 04 nov. 2007 19:47
Localisation : Rochefort du Gard (30)
Contact :

Re: MO5 with SDMO/SDMOTO question ...

Message par irios »

Look at your PM :wink:
http://irioslabs.over-blog.com/

La connaissance ne vaut que si elle est partagée par tout le monde.
I2C
Répondre