avatar_roudoudou

Rasm Z80 assembler v1.7 [update 2022.04.11]

Started by roudoudou, 09:58, 22 February 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SkulleateR

just tried to compile this on my Pi400 (Raspbian 64Bit) but I get an error :




rasm.c: In function 'Assemble':
rasm.c:17771:10: error: '*debug' is a pointer; did you mean to use '->'?
    debug -> run=run;
          ^~
          ->
rasm.c:17771:17: error: 'run' undeclared (first use in this function)
    debug -> run=run;
                 ^~~
rasm.c:17771:17: note: each undeclared identifier is reported only once for each function it appears in
rasm.c:17772:10: error: '*debug' is a pointer; did you mean to use '->'?
    debug -> start=minmem;
          ^~
          ->
make: *** [makefile:102: prod] Fehler 1



Hints ???


SkulleateR

Since it has a makefile I'll do a MAKE in console  :laugh:

roudoudou

use RASM, the best assembler ever made :p

I will survive

roudoudou

https://github.com/EdouardBERGE/rasm/releases/tag/v1.5
Release v1.5
new directive DELAYED_PRINT
new directive STARTINGINDEX + REPEAT options
new directives PROCEDURE, EXTERNAL, BUILDOBJ for kind of objects export
new shortcut ENDMODULE
new autotests + debug struct info RUN+START
new external function for emulators and assembling into RAM
ROM flat output for BUILDROM directive
use _setmode only with Visual Studio 14.0 and below
use custom strnlen with BorlandC
use only declarations from rasm.h
bugfix IX/IY invalid syntaxes
bugfix INCBIN wav preamp with DMA options
bugfix ZX snapshot output + RUN bugfix
bugfix TIMESTAMP and custom charset
bugfix Borland compatibility
bugfix segfault with wrong char in DEFB/DEFM string
bugfix segfault with quote not closed in the very last directive
bugfix INTn prefix behaviour
bugfix LD reg16,(IX/IY) alias
warn about ORG inside crunched section
compute alias values before crunching sections, this fix some side effects of EQU inside crunched sections
ZX0 firmware compatible decrunch routine
Linux version compiled with GCC v9.3.0
MS-DOS version compiled with Open-Watcom 1.9
Windows version compiled with Microsoft Compiler v19
Documentation is almost up to date (except release version number ^_^ )
use RASM, the best assembler ever made :p

I will survive

roudoudou


new release :)
https://github.com/EdouardBERGE/rasm/releases/tag/v1.6

       
  • ZX0 cruncher upgraded to v2 + new Z80 decrunchers
  • do not export command line define(s)
  • bugfix ZX0 backward compression
  • bugfix automatic filetype search for main source
  • bugfix autotests with 3rd parties disabled
  • bugfix include paths search
  • bugfix IFUSED, IFDEF, IFNDEF when used with MODULE directive
  • bugfix file output with HOBETA header
  • new option to export ROM description
  • new option to export label with original case
use RASM, the best assembler ever made :p

I will survive

roudoudou


for people following latest commit, i rewrote the floating point conversion to be more accurate (directives DEFR or DEFF)
still not enough evolutions/bugfix to make a release
use RASM, the best assembler ever made :p

I will survive

roudoudou

#282
new release 1.7
https://github.com/EdouardBERGE/rasm/releases/tag/v1.7
  • bugfix snapshot v3 first chunks when memory cannot be crunched in RLE
  • bugfix negative rounding for REAL conversion
  • bugfix segfault with UTF8 char usage in strings
  • bugfix quote starting with escaped char
  • bugfix macOS support, new target install
  • bugfix label import
  • bugfix GETNOP/GETTICK LD (HL),im8 + some missing instructions added
  • bugfix breakpoints missing when exporting for snap and breakpoint file
  • bugfix undefined behaviour with EQU usage before declaration
  • new Amstrad/Microsoft conversion to 5-bytes REAL with full precision
  • new math function FILESIZE to get file size on disk
  • new math function GETSIZE to get opcode size
  • new poker option with a few cipher methods
  • new directive CIPHERMEM to cipher memory
  • new directive SNAPINIT to initialize memory with a snapshot
  • new CONFINE option in order to enforce location
  • new UTF8 support to convert legacy french or spanish char to proper Locomotive Basic values + new command line option
  • more symbol exports with "ignore case" (and faster)
  • GTILES option for INCBIN to import tiles with gray encoding
documentation NOT updated since 1.6
use RASM, the best assembler ever made :p

I will survive

Nicolas Lecoq


litwr

Quote from: roudoudou on 00:14, 12 April 22new release 1.7
I tried to compile my pasmo program and I failed.  I used
rasm -pasmo pi-cpc-cpm3.asmand got a lot of error messages.  The original pasmo works flawlessly.  I have attached files of my old pasmo project.

roudoudou

Quote from: litwr on 09:00, 06 September 22
Quote from: roudoudou on 00:14, 12 April 22new release 1.7
I tried to compile my pasmo program and I failed.  I used
rasm -pasmo pi-cpc-cpm3.asmand got a lot of error messages.  The original pasmo works flawlessly.  I have attached files of my old pasmo project.

yeah, Pasmo compatibility is to compile old Pasmo projects

i wrote the compatibility long time ago when Pasmo seemed abandonned

as Pasmo is back with active developpements, just use Pasmo if you like Pasmo syntax



use RASM, the best assembler ever made :p

I will survive

roudoudou

8 months since the 1.7 release, here is an updated documentation (with almost all last Rasm improvements)

French documentation is now on http://rasm.wikidot.com/

English documentation is now on http://rasm.wikidot.com/english-index:home

use RASM, the best assembler ever made :p

I will survive

ervin


roudoudou

new release :)

https://github.com/EdouardBERGE/rasm/releases/tag/v1.8

  • new up to date documentation on wikidot => http://rasm.wikidot.com/home:home
  • new conditional directive ELSEIFNOT
  • new math function IS_REGISTER
  • new directives CPRINIT and SNAPINIT in order to initialise RASM memory with a cartridge or a snapshot
  • new command line option to handler macro calls on multiple lines
  • MAP output improvements
  • MODULE support for EQU => Alias are now inside modules, like labels
  • CHARSET can be used with string to string conversion
  • removed ENDREPEAT and ENDREP literaly unused directives
  • bugfix WATCOM compatibility issue
  • bugfix STR endmark with CHARSET conversion
  • bugfix CONFINE directive with ENFORCE parameter usage
  • bugfix backslash usage with CHARSET defined for it
  • bugfix memory leak with map output and alias usage
  • bugfix memory overrun at memory cleanup
  • bugfix preprocessor with include filename strictly ending the line
use RASM, the best assembler ever made :p

I will survive

Powered by SMFPacks Menu Editor Mod