[Canon X-07] Assembler

Je recherche. Tout et Rien, mais pas de petites annonces ici (pour les PA, c'est dans "Je donne, j'échange, j'achète et je vends")

Modérateur : Politburo

Répondre
rlucia
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 17
Inscription : 20 mars 2013 15:16

[Canon X-07] Assembler

Message par rlucia » 15 oct. 2013 22:14

Hello all,

Excuse me for writing in English but it's much better than mon française...

I would like to have an assembler for my machine. At http://gtello.pagesperso-orange.fr/cx07_e.htm the author makes reference to one named AS-VSN 3.0 by J. Outhier. Would anyone have it? And be so kind to let me copy it? At http://www.hebdogiciel.fr/CANONX07.htm there are a couple of dissassemblers but no assembler.

On a related note, has anyone done Assembly programming on the X-07? In case I am not lucky I was also thinking of using one for, say, ZX Spectrum and transfer the binary over to the X-07. Has anyone tried this?

Kind regards,
Lucia

Avatar de l’utilisateur
febed01
Fonctionne à 1200 bauds
Fonctionne à 1200 bauds
Messages : 407
Inscription : 21 juin 2009 22:13

Re: [Canon X-07] Assembler

Message par febed01 » 15 oct. 2013 22:57

Hello,
On the Hebdogiciel page you mention, you may want to try "L'as des as" which is also an assembler.
10 PRINT "One program a day keeps Alzheimer away..." : GOTO 10

rlucia
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 17
Inscription : 20 mars 2013 15:16

Re: [Canon X-07] Assembler

Message par rlucia » 16 oct. 2013 00:06

febed01 a écrit :Hello,
On the Hebdogiciel page you mention, you may want to try "L'as des as" which is also an assembler.
Thanks a lot, febed01!

And I think I've found the J. Outhier assembler at http://www.silicium.org/oldskool/calc/x ... rammes.htm

The mnemonics must be kept as BASIC instructions, preceded with REM, which is a memory hog. But it's great to have it.

However, if anyone has more help, or can confirm it, do not hesitate to reply

Airbug.one
Fonctionne à 300 bauds
Fonctionne à 300 bauds
Messages : 191
Inscription : 08 oct. 2003 20:40
Localisation : Toulouse
Contact :

Re: [Canon X-07] Assembler

Message par Airbug.one » 16 oct. 2013 14:29

Hello,
I confirm, the "Assembleur Micro Systemes" link on the page is the assembler program published on the "Micro Systemes" magazine.
The "only" problem is that you will have to learn french to read the article . 8)
If i have time this weekend i could translate the explanation i wrote at this time.
The assembler works on a 4Kb canon X07 and must be implemented at a specific memory adress.
Jean-Philippe
JPI : CASIO PB-1000 - Canon X-O7

rlucia
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 17
Inscription : 20 mars 2013 15:16

Re: [Canon X-07] Assembler

Message par rlucia » 16 oct. 2013 19:05

Airbug.one a écrit :Hello,
I confirm, the "Assembleur Micro Systemes" link on the page is the assembler program published on the "Micro Systemes" magazine.
The "only" problem is that you will have to learn french to read the article . 8)
If i have time this weekend i could translate the explanation i wrote at this time.
The assembler works on a 4Kb canon X07 and must be implemented at a specific memory adress.
Jean-Philippe
Thanks a lot for your help. I can more or less read the article, and it would be great to have your translation of readme2.txt.

Regards,

Airbug.one
Fonctionne à 300 bauds
Fonctionne à 300 bauds
Messages : 191
Inscription : 08 oct. 2003 20:40
Localisation : Toulouse
Contact :

Re: [Canon X-07] Assembler

Message par Airbug.one » 16 oct. 2013 22:52

You are lucky, i needed a boring task while waiting for the sand seller (una expression que no se puede traducir literalmente asi en ingles y tampoco en espanol).
Aqui es la traducion de los dos readme ficheros en ingles. Ten cuidado, utilizar el assembler con el Canon X07 necessita conocer muy bien las differentes direcciones de la memoria y las maneras de organizarla.


Readme1_eng.txt

Code : Tout sélectionner

Assembler for Canon X07 + memory card 4 Kb
Printed in Microsystemes revue January 1985
Author : J. Outhier

Warning, this program is planned for a Canon X07 equipped with a 4 Kb memory extension. If it is equippped with other memory card, it will probably necessary to identify precisemy the program storing adress so that it won't interfere with the memory managing datas.

The code sources is given in the file code.asm.txt
The auto charging program is chargeur2.txt
The manual implementing file is Chargeur.txt

The provided files are:
Chargeur.txt
------------
loader to enter in the X07 that allow entering the bytes codes by hand. The bytes codes are given in the code.asm.txt file with the control code at the end of the line.

chargeur2.txt
-------------
Automatic loader within a single file (if one can load it within the Canon by a serial link).

code.asm.txt
------------
List of the program source codes with control code at the end of each line.

Readme2.txt
-----------
Various draft personnal notes concerning the assembled program.
Readme2_eng.txt

Code : Tout sélectionner

INFORMATION ASSEMBLER MICROSYSTEMES CANON X-07

(Various personnal informations more or less organised when analysing the assembler program)


- Is made to be used with a Canon X-07 equipped with a 4 Kb memory card.
- The prrogram must be installed within very specific memory adresses and might not work with a different configuration.

- Works wit a Canon X-07 equiped with a 4Kb memory RAM card. 

- Works also with a Canon X-07 equipped with a 4 Kb RAM Card AND a 8 Kb internal memory chip (14940 free bytes at start).

- Some Canon X-07 exists with 8 Kb or 6 Kb more ???
  if an internal memory chip is used, the memory switch must be switched in order to inverse the adress zone between the chip and the memory card.

- The program uses the memory between &H2010 and &H2FF7 [8208 - 12279] I.E. 4071 bytes.

- It is supposed to be installed in a memory card.

- BUT the memory card adress is between &H3FFF and &H1FFF ????
  It then seems to be between both memory zones ?
  In fact it has been installed on an X-07 with others RAM cards thus the confusion.

  It is possible to use the program with an X-07 equipped with more memory BUT the program MUST
  be installed within the specified memory adresses otherwize it won't work.

  Then some problem occurrs with the DIR command but everything else works.

  May be it would be possible to hack the program by adding a fictive file into the memory in order to simulate the 4Kb used ?

  Enough memory must be reserved by using the FSET command so that the RAM file zone starts at &H2004 (PEEK &H2010 and PEEK &H211).

  Since &H2004, the file is stored the following manner:
  [name:6] [type:1] [length:2] [reserve:5] [content]
  the real content then starts at &H2012
  The program codes starts at &H2010 : Why are the 2 last bytes of the reserved zone set at 00 ?
  May be in order to creat a stabilized signal for the audio link. But it then should have been longer !

  The last program code stops at &H2FF7 : just the end of the RAM file zone.

  The charger waits for the 76 (&H4C) code then only loads the program code.
  The heading of the file is not modified.

- The assembling of an assembler listing code seems to produce an executable file in &H1C00.

- The RAM file storing zone is the higher zone.
- It is defined by FSET command.
- By default 13 bytes from &H3FFF to &H3FF8
-> the end zone is at &H3FF7

RAMEND  - &H212
	RAM file
RAMSTRT - &H210
	Zone for assembler
MEMSIZ  - &H1DF
	Variables (used)
FRETOP  - &H204
	Variables (free)
STKTOP  - &H1DD
	Pile
STREND  - &H326
	Tables
ARYTAB  - &H324
	Variables
VARTAB  - &H322
	actif BASIC program
TXTTAB  - &H0B2
 
In the RAM file zone, program are stored from low to high adresses
(from RAMSTRT up to RAMEND)

First heading 14 bytes then the program data
Name     - 6
Type     - 1
Length   - 2
Reserved - 5 

The assembler zone is 6 bytes by default.
The 4 higher bytes are the copy of the file key word (last date and extinction time)
the 2 others are ????

It is possible to deliminate this zone by the "clear a,b" instruction
a = size of string variables (default 50)
b = Assembler start adress zone

WARNING ! This zone is reduced to 6 bytes at each FSET command !


My 3 X-07:
X-07 deleted face : 0 chip, switch downward - 6748 Bytes free
                   with card XM-100 [4Ko]   - 10844 Bytes Free
X-07 [215944] 06 chip Toshiba TC 5565PL-15, switch upward - 14940 Bytes free
X-07 [305886] 08 chip Toshiba TC 5565PL-15, switch upward - 14940 Bytes free
JPI : CASIO PB-1000 - Canon X-O7

rlucia
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 17
Inscription : 20 mars 2013 15:16

Re: [Canon X-07] Assembler

Message par rlucia » 20 oct. 2013 18:57

Gracias! Tu español no es malo :)

Yay for boring weekend tasks... I will try to understand the readme and then the memory maps. I have (only!) two XM-101, 8 KB cards. You don't want to sell some X-07 hardware, do you?

Lucia

Répondre

Revenir vers « Recherche informations / technique / etc ... [pas de petites annonces ici] »