Index du forum




Un petit coup de main... Vous pouvez nous aider à mettre ce site à jour: n'hésitez pas à me contacter !!!

* Connexion   * Inscription

* FAQ
Nous sommes actuellement le 26 Mai 2022, 18:12

Index du forum » CPC Rulez » Z80 Coding

Le fuseau horaire est UTC+1 heure


maj vasm



Publier un nouveau sujet Répondre au sujet  Page 1 sur 1
 [ 12 message(s) ] 
  Aperçu avant impression Sujet précédent | Sujet suivant 
Auteur Message
Megachur
 Sujet du message : maj vasm
Message Publié : 09 Oct 2015, 05:44 
Hors-ligne
VIP
VIP
Avatar de l’utilisateur

Inscription : 12 Juin 2008, 20:29
Message(s) : 1662
Mise à jour de cet assembleur qui compile le code sur de multiple-cpu dont le z80 : http://sun.hasenbraten.de/vasm/

je ne l'ai pas encore testé et je ne sais pas s'il est capable de compiler une source asm compatible maxam ? :D


Haut
 Profil  
 
hERMOL
 Sujet du message : Re: maj vasm
Message Publié : 09 Oct 2015, 09:59 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : 20 Août 2007, 18:21
Message(s) : 4827
je ne vois pas de binaire win32, dommage ... (pour moi)

Citer :
Currently the following CPUs are officially supported by vasm:
- M680x0 family (including M6888x, M68851 and CPU32)
- ColdFire family (all models of V2, V3, V4, V4e)
- 80x86 family (IA32 8/16/32 bit, using MIT-syntax)
- PowerPC family (POWER, 40x, 6xx, 7xx, 7xxx, 860, e300)
- ARM (architecture ARMv1 to ARMv4, including THUMB mode)
- Jaguar RISC (GPU and DSP instruction sets)
- TR3200 (virtual CPU from 0x10c)

- Z80 family (Z80, 8080, GBZ80, 64180, RCM2/3/4k)
- C16x/ST10
- 6502 family
- 6800 family (6800, 68HC11)


Haut
 Profil  
 
Xavier
 Sujet du message : Re: maj vasm
Message Publié : 09 Oct 2015, 13:34 
Hors-ligne
Rulezz
Rulezz

Inscription : 21 Fév 2011, 17:53
Message(s) : 150
Salut,
Ce compilateur souffre d'un problème à la base!
Il n'est pas multiprocesseurs une fois compilé.

Contrairement à Tasm, ce compilateurs doit être compilé avec les directives de syntaxes et de multiprocesseur !

"Ca change rien!", allez-vous me dire... Bhen... oui !
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.


Haut
 Profil  
 
AsT
 Sujet du message : Re: maj vasm
Message Publié : 09 Oct 2015, 14:13 
Hors-ligne
VIP
VIP
Avatar de l’utilisateur

Inscription : 29 Août 2007, 08:04
Message(s) : 732
Localisation : Impact Hq
Ah, le cross dev....

_________________
AsT / iMP4CT

Retrouvez nous sur le forum Amstrad Plus
"Call &bb06"


Haut
 Profil  
 
majikeyric
 Sujet du message : Re: maj vasm
Message Publié : 09 Oct 2015, 15:29 
Hors-ligne
Rulez
Rulez
Avatar de l’utilisateur

Inscription : 30 Août 2015, 19:28
Message(s) : 41
Moi j'utilise vasm pour coder sur Amiga...

_________________
Rétro coder fou : Z80 : Amstrad CPC / MSX / ZX Spectrum -- 6502 : C64 / VIC20 -- 68000 : Amiga
Mon site dédié à ma passion pour la programmation : http://majikeyric.free.fr


Haut
 Profil  
 
trance007
 Sujet du message : Re: maj vasm
Message Publié : 09 Oct 2015, 18:09 
Hors-ligne
Rulezz
Rulezz

Inscription : 11 Août 2009, 21:45
Message(s) : 74
Localisation : Belgique
Xavier a écrit :
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.

Tu veux sans doute parler des mnémoniques Z80 ? :-


Haut
 Profil  
 
Xavier
 Sujet du message : Re: maj vasm
Message Publié : 10 Oct 2015, 11:37 
Hors-ligne
Rulezz
Rulezz

Inscription : 21 Fév 2011, 17:53
Message(s) : 150
trance007 a écrit :
Xavier a écrit :
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.

Tu veux sans doute parler des mnémoniques Z80 ? :-

Oui, mnémoniques (syntaxe) et op.codes Z80.
Il faut donc le compiler en exe autant de fois que l'on désire.
Code :
•CPU=6502
•CPU=6800
•CPU=arm
•CPU=c16x
•CPU=jagrisc
•CPU=m68k
•CPU=ppc
•CPU=test
•CPU=tr3200
•CPU=vidcore
•CPU=x86
•CPU=z80

 Available Syntax modules:
•SYNTAX=std
•SYNTAX=madmac
•SYNTAX=mot
•SYNTAX=oldstyle
•SYNTAX=test

Nous devons donc le compiler 10*4, soit 40 fois... 40 fichiers exécutables!
Si l'on veut avoir la configuration complète, et ainsi passer du Z80 au 6502...
Seulement quatre fois pour chaque CPU.
Sur Tasm (infos), les syntaxes sont dans des fichiers objets que l'on peut sélectionner en mode console!


Haut
 Profil  
 
Princesse Mariana
 Sujet du message : Re: maj vasm 1.7e.
Message Publié : 15 Mars 2016, 11:28 
Hors-ligne
Rulezzzzz
Rulezzzzz

Inscription : 15 Jan 2009, 11:52
Message(s) : 3050
Localisation : CPCrulez botnews
Citer :
12-Mar-2016: vasm 1.7e:
  • Ability to print the source line also in output module error messages.
  • Current PC symbol in absolute code regions was erroneously relocated to the section's base address.
  • Make sure that labels from absolute code regions are not relocated.
  • m68k: Fix for a bug introduced in last version: fmovem list,(An) and fmovem list,(d,An) were no longer recognized as valid for M68k FPUs.
  • PPC: Fixed mtvscr instruction, which uses the vB field instead of vD.
  • ARM: Accept the new SVC mnemonic as an alias for SWI.
  • ARM: Fixed macros. Previously only three characters for a macro name were allowed. Qualifiers are not allowed on ARM macros.
  • std-syntax: Permit the '$' as start character and in the middle of a label (note: a terminating '$' still defines a local label!).
  • std-syntax: A missing last macro argument no longer causes an error message, but is replaced by a default value (when defined) or an empty string.
  • std-syntax: .org directive defines the offset from the current section's start address when it appears within a section (GNU-as compatibility).
  • mot-syntax: ORG directive can be used within any normal section to define a block of code relocated to an absolute start address.
  • mot-syntax: Numeric absolute symbol expansion is supported for macro parameters of the form \<symbol> or \<$symbol> (hexadecimal value).
  • madmac-syntax: Removed the -rorg option, which is the default behaviour now.
  • oldstyle-syntax: The special macro argument \@ is replaced by an underscore, followed by a six-digit number again, as before V1.7c.
  • tos-output: Check for overflows in relocation fields.
  • aout-output: Fixed a crash since last version, when embedding absolute code regions in a section.

src/url: http://sun.hasenbraten.de/vasm/


Haut
 Profil  
 
Princesse Mariana
 Sujet du message : Re: maj vasm
Message Publié : 15 Fév 2017, 17:27 
Hors-ligne
Rulezzzzz
Rulezzzzz

Inscription : 15 Jan 2009, 11:52
Message(s) : 3050
Localisation : CPCrulez botnews
Citer :
14-Feb-2017: vasm 1.7h.
  • Implemented a dynamic line buffer. No limitations on line lengths anymore.
  • Octal escape sequences are limited to a maximum of three digits.
  • Allow assembler text output (echo, printv) in offset sections.
  • Print a warning for initialized data in a bss-type section. This already worked in the past (1.2c and later), but has been lost somewhere.
  • Some single-character labels and symbols will be rejected (depending on the syntax module).
  • -maxerrors=0 should print all errors in the source.
  • Print expressions in the listing file and the test output in decimal and hexadecimal form.
  • m68k: Immediate- and PC-relative destination addressing modes for 68851 PMOVE are not allowed. PMOVE ea,PCSR doesn't exist.
  • 6502: Perform zero-page optimization with a known label from an absolute section.
  • std-syntax: Fixed problem with parentheses in character constants.
  • oldstyle-syntax: New option -org=<address> to set the absolute base address of the program from the command line.
  • oldstyle-syntax: Implemented some listing file directives, but without any function yet: nam, subttl, page, space.
  • bin-output: Fixed output section sorting, which didn't work with some implementations of qsort().
  • elf-output: Fixed external references in stabs.
  • elf-output: Use a hash table for ELF symbols to speed up the output.
  • hunk-output: Optimization to make it faster with many sections.
  • test-output: Fixed crash when printing stabs without a value.

scr/url: http://sun.hasenbraten.de/vasm/ ;linked:


Haut
 Profil  
 
krusty_benediction
 Sujet du message : Re: maj vasm
Message Publié : 05 Mars 2017, 15:10 
Hors-ligne
Rulez
Rulez
Avatar de l’utilisateur

Inscription : 07 Jan 2017, 09:45
Message(s) : 32
Depuis 1 semaine ou 2, la version quotidienne (plus récente que 1.7h, mais à compiler soit même) accèpte plusieurs instructions par ligne avec le séparateur : (comme dans la plupart des autres assembleurs)


Haut
 Profil  
 
Princesse Mariana
 Sujet du message : Re: maj vasm
Message Publié : 18 Mai 2017, 19:03 
Hors-ligne
Rulezzzzz
Rulezzzzz

Inscription : 15 Jan 2009, 11:52
Message(s) : 3050
Localisation : CPCrulez botnews
Citer :
16-May-2017: vasm 1.8:

  • External references in ORG or RORG sections are allowed.
  • Option -depend only prints relative include file names, while the new option -dependall prints all included file names, also with absolute paths.
    [...]
  • Option -depend only prints relative include file names, while the new option -dependall prints all included file names, also with absolute paths.
  • mot-syntax: Make NREF directive work for PhxAss compatibility. Allows optimization of absolute references to base-relative.
  • std-syntax: Labels ending on '$' are only local when all preceding characters are digits.
  • madmac-syntax: Fixed .long directive (which only aligned to even bytes).
  • oldstyle-syntax: New options -i (ignore everything in the operand after a blank), -noc (no C-style constant prefixes) and -noi (no intel-style constant suffixes).
  • oldstyle-syntax: Z80 supports multiple directives or instructions per line, separated by a ':' character.
  • oldstyle-syntax: Fixed parser problem with nested repeat/endrepeat blocks.
  • output-hunk: -kick1hunks must not forbid base relative relocs and references. It was supported by some 1.3 linkers (blink for example).


Haut
 Profil  
 
Princesse Mariana
 Sujet du message : Re: maj vasm
Message Publié : 07 Oct 2019, 17:39 
Hors-ligne
Rulezzzzz
Rulezzzzz

Inscription : 15 Jan 2009, 11:52
Message(s) : 3050
Localisation : CPCrulez botnews
Citer :
04-Oct-2019: vasm 1.8g:

  • Do not print informational messages when generating dependencies.
  • New option -depfile to specify a file name for the dependency output. Code generation may happen in parallel in this case.
  • Include the compile directory in the path, when printing error messages.
  • Treat a subtraction of a label from a constant as constant, when the label is from an absolute ORG section.
  • m68k: -opt-allbra makes sure that branch-optimization is enabled.
  • z80: "ld (BC/DE/HL),abs" is an illegal addressing mode.
  • mot-syntax: SECTION directive with a single argument is interpreted as section-type when the output format is "tos". Otherwise the type defaults to CODE.
  • mot-syntax: In devpac-compatibility mode allow '@' in the middle of labels.
  • mot-syntax: -phxass compatibility mode allows dots ('.') in labels (-ldots).
  • mot-syntax: Added support for Devpac IIF directive.
  • output-hunk: Fixed LINE debug hunk output (-linedebug). Now it can deal with code from multiple sources and the line numbers for executing macros and repetitions are correct.
  • output-hunk: New option -hunkpad=<code> selects the padding code for code sections to achieve 32-bit alignment. Default to 0x4e71 (NOP) for M68k.

url/src: http://sun.hasenbraten.de/vasm/


Haut
 Profil  
 
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  Page 1 sur 1
 [ 12 message(s) ] 

Index du forum » CPC Rulez » Z80 Coding

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 6 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Aller vers :  
Powered by phpBB® Forum Software © phpBB Group
Traduit en français par Maël Soucaze.