Author Topic: Rasm Z80 assembler v0.119 [update 2020.01.08]  (Read 37307 times)

0 Members and 1 Guest are viewing this topic.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 756
  • Country: fr
    • urban exploration
  • Liked: 1023
  • Likes Given: 637
Re: Rasm Z80 assembler v0.119 [update 2020.01.08]
« Reply #225 on: 16:12, 08 January 20 »
update v0.119
- bugfix ASSERT with extra-parameters
- local labels are also reference for proximity label inside their respective scope
- struct may be indexed (work in progress concerning init and filler)
- RUN directive also set execution adress for SAVE directive and may be used multiple times
- new option -wu in order to make warnings for every unused var, alias or label
use RASM, the best assembler ever made :p

I will survive

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.535
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 696
  • Likes Given: 1809
Re: Rasm Z80 assembler v0.119 [update 2020.01.08]
« Reply #226 on: 22:08, 08 January 20 »
This great assembler runs with MS-DOS? Oh, then ... it would be really great to have a CP/M Plus version too.  :) ;D :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline cpcitor

  • The user previously known as FindYWay
  • CPC6128
  • ****
  • Posts: 257
  • Country: fr
  • My heart still runs on traditional CPC.
    • My code for the CPC.
  • Liked: 119
  • Likes Given: 284
Re: Rasm Z80 assembler v0.119 [update 2020.01.08]
« Reply #227 on: 17:18, 12 January 20 »
update v0.119

* rasm_v0119_srcbis.zip (185.86 kB - downloaded 10 times.)

Hey, RASM is open-source (MIT expat license).
Great!  This means it can be compiled on more exotic architectures (use it on ARM machines like Pi, smartphone, etc).
I might incorporate it in https://github.com/cpcitor/cpc-dev-tool-chain

Wow, one 600kbytes / 17klines source code file. Compiled in 7 seconds on my fast i7, mkay.

Other libraries "repacked" in one big .h file.
Roudoudou, what is the purpose of that? Simplifying compilation steps?

Notice that usual one-file libraries do have a common pattern to make them compatible with multi-file source: after the interface declaration (normal .h structure) append the implementation (normally in several .c) enclosed with #ifdef LIB_FOO_IMPLEMENTATION / #ENDIF . With this you can #include the single-file-lib from several source, and only one will do #define LIB_FOO_IMPLEMENTATION before.

For one example, miniaudio used in RetroVirtualMachine and to which I contributed a little, see https://github.com/dr-soft/miniaudio#user-content-building

Anyway, thanks a lot for sharing the source!

Back to my question, what is the purpose of repacking the external dependencies?
Had a CPC since 1985, currently software dev professional, including embedded systems.

I made the first CPC cross-dev environment that auto-installs C compiler and tools: cpc-dev-tool-chain: a portable toolchain for C/ASM development targetting CPC.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 756
  • Country: fr
    • urban exploration
  • Liked: 1023
  • Likes Given: 637
Re: Rasm Z80 assembler v0.119 [update 2020.01.08]
« Reply #228 on: 21:39, 12 January 20 »
Hey, RASM is open-source (MIT expat license).
Great!  This means it can be compiled on more exotic architectures (use it on ARM machines like Pi, smartphone, etc).
I might incorporate it in https://github.com/cpcitor/cpc-dev-tool-chain
Wow, one 600kbytes / 17klines source code file. Compiled in 7 seconds on my fast i7, mkay.
Back to my question, what is the purpose of repacking the external dependencies?
Hi
Rasm is already running on PowerPC and MorphOS (thanks Philippe R.) so i guess it should run properly on ARM (use the hidden option -autotest  ;D )

The non-standard package is for:
- execution speed
- easy for me to navigate in the source code
- easy to compile, avoid external dependencies version problems
- the project was not supposed to be public (just wanted to finish my demo on time)

use RASM, the best assembler ever made :p

I will survive