GrimeZ80 assembly errors
Posted: Wed May 08, 2019 7:18 pm
Hi Keith,
This evening I was playing around with your GrimeZ80 source and while trying to assemble the binaries (using VASM), a couple of the systems were having issues. I first used the code from github, but then also tried the "UpdatedSource" code found in the archive from your download page.
BuildGMB and BuildGBC throw errors:
The "ldi" also happens for lines 112, 114, and 116, but there's also the "***maximum number of errors reached!***" message.
Any ideas?
This evening I was playing around with your GrimeZ80 source and while trying to assemble the binaries (using VASM), a couple of the systems were having issues. I first used the code from github, but then also tried the "UpdatedSource" code found in the archive from your download page.
BuildGMB and BuildGBC throw errors:
Code: Select all
$ vasmz80 GrimeZ80.asm -chklabels -nocase -Dvasm=1 -Fbin -o grime.bin -L grime.txt
error 2002 in line 42 of "../SrcGB/GB_V1_VDPMemory.asm": Opcode not supported by z80 (stop)
included from line 1 of "read"
called from line 12 of "../SrcALL/V1_VdpMemory.asm"
included from line 1 of "read"
called from line 1986 of "GrimeZ80.asm"
> stop
error 2002 in line 76 of "../SrcGB/GB_V1_VDPMemory.asm": Opcode not supported by z80 (ldi)
included from line 1 of "read"
called from line 12 of "../SrcALL/V1_VdpMemory.asm"
included from line 1 of "read"
called from line 1986 of "GrimeZ80.asm"
> ldi (hl),a
Any ideas?