|
Post by xavisan on Aug 10, 2022 16:59:29 GMT
Hi,
I working and I one process to testing all posiblities to PMAGD, but in the process to compile, is displayed this two errors, the first error is not important basically because this file position includes a REM command, but in the second steap, exists any error in .asm file,
AGD Compiler for ZX Spectrum version 0.7.10
(C) Jonathan Cauldwell May 2020
Sourcename: deleteme.agd
Unrecognised instruction on line 523:
REM CLWEVENT LOSTGAME
Unrecognised instruction on line 523:
REM CLWEVENT LOSTGAME
Output: deleteme.asm
1 archivo(s) copiado(s).
1 archivo(s) copiado(s).
leader.txt
deleteme.asm
trailer.txt
1 archivo(s) copiado(s).
SjASMPlus Z80 Cross-Assembler v1.07 RC8 (build 06-11-2008)
Pass 1 complete (0 errors)
Pass 2 complete (0 errors)
agdcode.asm(1873): error: Label not found: evnt17
Pass 3 complete
Errors: 1, warnings: 0, compiled: 4495 lines, work time: 0.032 seconds
1 archivo(s) copiado(s).
You have any idea to solve it this problem please??
Thx!!!
|
|
|
Post by oss003 on Aug 11, 2022 9:49:45 GMT
The REM command is not allowed in MPAGD, you should use a ; to remark a lineinstead of REM.
Assembler is missing the EVENT LOSTGAME because there is a REM command in front. The problem is caused in the EVENT KILLPLAYER because the last line is not an empty line. If you add an empty line as last line in EVENT LOSTGAME, the problem will probably be solved.
Greetings Kees
|
|
|
Post by xavisan on Aug 11, 2022 13:47:57 GMT
The REM command is not allowed in MPAGD, you should use a ; to remark a lineinstead of REM. Assembler is missing the EVENT LOSTGAME because there is a REM command in front. The problem is caused in the EVENT KILLPLAYER because the last line is not an empty line. If you add an empty line as last line in EVENT LOSTGAME, the problem will probably be solved. Greetings Kees Thank youuuuuu!! yesss!! including in the empty line the problem is solved. I´m very grateful to you /Xavi
|
|