RASM by Flower Corp.
[nfo]
|
||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 64% |
|||||||
alltime top: #7902 |
|
|||||||
|
||||||||
added on the 2017-08-11 13:22:16 by roudoudou |
popularity helper
comments
A good idea to distribute source. Why fuck to bother? xD
How it reated to ZX Enhanced?
How it reated to ZX Enhanced?
@goblinish: "let's check all platforms that look like they have a z80 inside?"
@roud: no gameboy support? :p
@roud: no gameboy support? :p
@roudoudou: it's a hybrid of 8080 and z80.
documentation is king :)
nice :) can't see from the docs how to declare a local label inside a macro?
ah cool, thanks :)
PulkoMandy. for spg format is good idea to suppport banks.
More demotools for the Z80!
any win32 build?
lol:
Code:
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 192 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 192 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 192 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 212 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 212 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 212 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 295 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 295 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 632 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 632 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 671 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 671 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 836 missing prototype for _fileno
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 836 Missing prototype for '_fileno'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 899 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 899 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 1094 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 1094 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 1108 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 1135 missing prototype for strnlen
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\minilib.h: 1135 Missing prototype for 'strnlen'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\lz4.h: 792 shift by 32 is undefined
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\lz4.h: 792 shift by 32 is undefined
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\lz4.h: 881 overflow in constant expression
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\lz4.h: 921 assignment of pointer to unsigned char to pointer to unsigned char
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 3189 missing prototype for _vsnprintf
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 3189 Missing prototype for '_vsnprintf'
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 3287 reference to 'volatile int' elided
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 3287 Statement has no effect
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 3500 inconsistent linkage for 'matches_calc' previously declared at c:\lcc\projects\rasm\exomizer.h 3274
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 4886 missing prototype for strdup
Warning c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 4886 Missing prototype for 'strdup'
Error c:\lcc\projects\rasm\rasm.c: c:\lcc\projects\rasm\exomizer.h: 4886 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 1550 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 1550 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 1559 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 1559 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 2167 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 2167 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 2167 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 2204 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 2204 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 2204 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 2467 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 2467 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 2491 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 2491 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 2519 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 2519 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 2618 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 2618 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 2618 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 2761 overflow in constant expression
Warning c:\lcc\projects\rasm\rasm.c: 5585 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5585 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5585 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5590 missing prototype for _snprintf
Warning c:\lcc\projects\rasm\rasm.c: 5590 Missing prototype for '_snprintf'
Warning c:\lcc\projects\rasm\rasm.c: 5636 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5636 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5636 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5719 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5719 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5719 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5722 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5722 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5722 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5725 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5725 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5725 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5728 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5728 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5728 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5731 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5731 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5731 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5734 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5734 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5734 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5737 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5737 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5737 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5740 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5740 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5740 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5743 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5743 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5743 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 5746 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 5746 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 5746 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 7234 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 7234 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 7234 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 7236 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 7236 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 7236 operands of = have illegal types 'pointer to char' and 'int'
Warning c:\lcc\projects\rasm\rasm.c: 7387 missing prototype for _strdup
Warning c:\lcc\projects\rasm\rasm.c: 7387 Missing prototype for '_strdup'
Error c:\lcc\projects\rasm\rasm.c: 7387 too many errors
"Error c:\lcc\projects\rasm\rasm.c: 7387 too many errors"
An error about having too many errors can't be good, right? :)
An error about having too many errors can't be good, right? :)
lcc
Should I instal alter compilators?
cl.exe available with Visual Studio, DLL's and link.exe
Should I instal alter compilators?
cl.exe available with Visual Studio, DLL's and link.exe
crap(
Code:
C:\MinGWStudio\MinGW\bin>cc rasm_v059.c -O2 -lm -lrt
rasm_v059.c: In function 'PopAllExpression':
rasm_v059.c:2760:5: warning: this decimal constant is unsigned only in ISO C90 [
enabled by default]
rasm_v059.c:2760:5: warning: this decimal constant is unsigned only in ISO C90 [
enabled by default]
c:/mingwstudio/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
: cannot find -lrt
collect2.exe: error: ld returned 1 exit status
C:\MinGWStudio\MinGW\bin>strip a.out
strip: 'a.out': No such file
C:\MinGWStudio\MinGW\bin>mv a.out rasm
"mv" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
C:\MinGWStudio\MinGW\bin>pause
Для продолжения нажмите любую клавишу . . .
Quote:
C:\MinGWStudio\MinGW\bin>rem cc rasm_v059.c -O2 -lm -lrt
C:\MinGWStudio\MinGW\bin>cc rasm_v059.c -O2 -lm
rasm_v059.c: In function 'PopAllExpression':
rasm_v059.c:2760:5: warning: this decimal constant is unsigned only in ISO C90 [
enabled by default]
rasm_v059.c:2760:5: warning: this decimal constant is unsigned only in ISO C90 [
enabled by default]
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x35bb): undefined reference to `strnlen'
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x3c47): undefined reference to `strnlen'
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x3d68): undefined reference to `strnlen'
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x41e6): undefined reference to `strnlen'
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x46a3): undefined reference to `strnlen'
c:\Temp\ccAROZYq.o:rasm_v059.c:(.text+0x46c7): more undefined references to `str
nlen' follow
c:/mingwstudio/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
: c:\Temp\ccAROZYq.o: bad reloc address 0x40 in section `.data'
c:/mingwstudio/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe
: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
C:\MinGWStudio\MinGW\bin>strip a.out
strip: 'a.out': No such file
C:\MinGWStudio\MinGW\bin>mv a.out rasm
Jesus, I have to teach C compilers instead of examine rasm(
lol, works when compiled from (tada) Open Watcom C 1.9 :))
not tested it btw
not tested it btw
also builds fine on Windows using mingw-w64 (gcc 4.9.3) when omitting -lrt
Makefiles or it didn't happen ;)
Kudos for the serious effort.
docs say there is [can't type] symbol for modulo. So what to do on non-french keyboards? :)
docs say there is [can't type] symbol for modulo. So what to do on non-french keyboards? :)
OMG le Roudoudou is back! \(•◡•)/
A few hours today to switch to rasm: very easy to switch from sjasm+. What I do appreciate the most until now: building cpr, exporting symbols to winape emulator. bank and {bank} seem to be a powerful way to code thru several rom banks. Great tool! thanks! I'm sure I'll find other useful features from now on.
Donc un mod pour la sega master system ?
Oh yes, I leave native-dev for cross-dev!!
*The* reason i started coding for CPC again
New-comers: don't focus on the first comments of this thread. The compiler is pretty stable now and each iterations bring more awesome-ness... way to go, Roudoudou! :D thanks for your time on this.
+ Open source
- Not tailored to run on CPC
Cochon :O
- Not tailored to run on CPC
Cochon :O
submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, click here !
- DAMN fast assembling
- integrated crunched sections (LZ48/LZ49/LZ4/ZX7/Exomizer) + load&crunch on the fly
- cartridge generation, amsdos header
- ORG checking, unlimited memory workspaces where labels are shared
- ALL undocumented instructions
- conditionnal macro, unlimited & embeded loops with local labels, switch/case
- floating point engine, mathematical functions, ...
- MAXAM compatibility option
- English & French documentation
- Uninterrupted support
official thread for new releases http://www.cpcwiki.eu/forum/programming/rasm-z80-assembler-in-beta/