Closed andriodious closed 4 years ago
"/" is actually ":" i suggest that you ignore them locally: add them to ".git/info/exclude". same format as ".ignore". e.g. ignore "s/" and remove your local Test/SDCC/s/ and Test/ZXSP/original/s/ you can ignore everything what is not used for building and remove it locally. files used for building are all "simple".
i'll rename the test cases which are not related to sdcc, so you can leave them in if you like.
Thankyou, just one more file to change please and I will close this issue.
Documentation: ' zasm.toc' to 'zasm.toc'
Much appreciated, and for your quick turnaround of issues. This is great!
done. :-)
hi, would you mind compiling version 4.4.0 on your RasPi, testing Examples/test.asm (also included in overall test with -T) and sending me the binary? TIA
pi@raspberrypi:~/zasm/zasm $ cat README.md
## zasm
#### zasm - Z80, 8080 and Z180 assembler
You also need to checkout https://github.com/megatokio/Libraries. (uppercase 'L')
Project *zasm* already contains a symlink to '../Libraries'.
#### Features
_zasm_ accepts source code using **8080** and **Z80 syntax** and can **convert 8080 syntax to Z80**.
_zasm_ supports various historically used syntax variants and the syntax emitted by sdcc.
_zasm_ can generate binary files or Intel Hex or Motorola S19 files.
_zasm_ can generate various specialized files for **Sinclair** and **Jupiter Ace** and **.tzx tape** files.
_zasm_ can include the generated code and **accumulated cpu cycles** in the list output file.
_zasm_ can run **automated tests** on the generated code.
_zasm_ supports
- **character set conversion**, e.g. for the ZX80 and ZX81 and proper decoding of utf-8 in text literals.
- multiple code segments
- including and compiling of c source with sdcc.
- **automatic label resolving** from libraries
- automatic **compression** using ZX7
- well known illegal instructions
- multiple instructions per line using '\\' separator
the source can start with a BOM and with a shebang '#!' in line 1.
the source (text literals) must either to be 7-bit clean or utf-8 encoded.
#### New in version 4.4
Run automated tests on the generated code.
#### Web links
Project web page: [k1.spdns.de](https://k1.spdns.de/Develop/Projects/zasm/Distributions/).
There you can download Binaries for OSX and Linux and some older versions for other OSes
and there you find the [Documentation](https://k1.spdns.de/Develop/Projects/zasm/Documentation/)
and an [online assembler](https://k1.spdns.de/cgi-bin/zasm.cgi).
pi@raspberrypi:~/zasm/zasm $ make clean
rm tmp/*.o zasm
rm: cannot remove 'zasm': No such file or directory
Makefile:49: recipe for target 'clean' failed
make: *** [clean] Error 1
pi@raspberrypi:~/zasm/zasm $ make
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/cstrings.o Libraries/cstrings/cstrings.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/exceptions.o Libraries/kio/exceptions.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/FD.o Libraries/unix/FD.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/tempmem.o Libraries/cstrings/tempmem.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/files.o Libraries/unix/files.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/z180_clock_cycles.o Libraries/Z80/goodies/z180_clock_cycles.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/z80_clock_cycles.o Libraries/Z80/goodies/z80_clock_cycles.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/z80_major_opcode.o Libraries/Z80/goodies/z80_major_opcode.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/z80_opcode_length.o Libraries/Z80/goodies/z80_opcode_length.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/kio.o Libraries/kio/kio.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/WavFile.o Libraries/audio/WavFile.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/audio.o Libraries/audio/audio.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/Value.o Source/Value.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/Source.o Source/Source.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/Z80.o Source/Z80.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/Macro.o Source/Macro.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/Z80Header.o Source/Z80Header.cpp
g++ -c -pipe -Os -Wall -W -fPIE -DNDEBUG -DRELEASE -Wno-multichar -std=c++11 -I. -ISource -ILibraries -o tmp/assemble8080.o Source/assemble8080.cpp
In file included from Source/Z80Assembler.h:24:0,
from Source/assemble8080.cpp:20:
Source/Segment.h:267:2: error: multiple fields in union ‘IoList::<anonymous union>’ initialized
{
^
Source/Segment.h:267:2: error: multiple fields in union ‘IoList::<anonymous union>’ initialized
Source/Segment.h:267:2: error: multiple fields in union ‘IoList::<anonymous union>’ initialized
Makefile:65: recipe for target 'tmp/assemble8080.o' failed
make: *** [tmp/assemble8080.o] Error 1
pi@raspberrypi:~/zasm/zasm $
Please can you change the following filenames to resolve two more OneDrive issues:
Filenames with: 1) Leading spaces e.g. ' NOTE-original.txt' 2) Containing '/' e.g. 'Serial I/O test.asm'
These are fine with Linux but Microsoft won't listen :(