Quest escribió:Sinclair escribió:No, si el machine.tap lo genera y otros archivos más, el problema es que no genera el .mcs.
Edita promgen.bat y cambia esta linea:
cambia \zz\ por la unidad donde tienes instalado el ISE, y el 12.1 por la versión que tengas instalada (en mi caso es la 12.1 asi que no lo toco).
Sin duda apuntaba mal, pero ahora un error más, que supongo que será por la versión que tengo instalada (Xilinx ISE 8.2i):
Código: Seleccionar todo
C:\zxuno\firmware\roms>generamcs.bat > out.txt
ERROR:Bitstream:14 - The device part "6slx9tqg144" specified in the bitstream
file "../../cores/spectrum_v2_spartan6/test15/tld_zxuno.bit" is invalid.
This file may be corrupted and should be recreated.
FATAL_ERROR:Bitstream:basbsbitfile.c:93:1.47.24.3 - Cannot load bitfile.
Process will terminate. To resolve this error, please consult the Answers
Database and other online resources at http://support.xilinx.com. If you need
further assistance, please open a Webcase by clicking on the "WebCase" link
at http://support.xilinx.com
srec_cat: tld_zxuno_av.mcs: open: No such file or directory
C:\zxuno\firmware\roms> type out.txt
C:\zxuno\firmware\roms>cd ..
C:\zxuno\firmware>call make.bat
C:\zxuno\firmware>zx7b logo256x192.rcs logo256x192.rcs.zx7b
File logo256x192.rcs.zx7b compressed from logo256x192.rcs (6912 to 381 bytes)
C:\zxuno\firmware>sjasmplus firmware.asm
SjASMPlus Z80 Cross-Assembler v1.07 RC7 (build 02-04-2008)
Pass 1 complete (0 errors)
Pass 2 complete (0 errors)
Pass 3 complete
Errors: 0, warnings: 0, compiled: 3853 lines, work time: 0.031 seconds
C:\zxuno\firmware>fcut firmware_strings.rom 8000 -8000 strings.bin
0xD87 bytes written (3463) at offset 0x8000 (32768)
C:\zxuno\firmware>zx7b strings.bin strings.bin.zx7b
File strings.bin.zx7b compressed from strings.bin (3463 to 1541 bytes)
C:\zxuno\firmware>sjasmplus firmware.asm
SjASMPlus Z80 Cross-Assembler v1.07 RC7 (build 02-04-2008)
Pass 1 complete (0 errors)
Pass 2 complete (0 errors)
Pass 3 complete
Errors: 0, warnings: 0, compiled: 3853 lines, work time: 0.031 seconds
C:\zxuno\firmware>fcut firmware_strings.rom 0000 4000 firmware.rom
0x4000 bytes written (16384) at offset 0x0 (0)
C:\zxuno\firmware>cd roms
C:\zxuno\firmware\roms>..\sjasmplus aa000.asm
SjASMPlus Z80 Cross-Assembler v1.07 RC7 (build 02-04-2008)
Pass 1 complete (0 errors)
Pass 2 complete (0 errors)
Pass 3 complete
Errors: 0, warnings: 0, compiled: 195 lines, work time: 0.000 seconds
C:\zxuno\firmware\roms>copy /b ESXMMC.BIN+ aa000.bin+
..\firmware.rom+ 48.rom+
plus3es40zxmmc.rom+ se.rom+
leches.rom+ ManicMiner.rom+
JetSetWilly.rom+ LalaPrologue.rom+
Deathchase.rom+ Chess.rom+
Backgammon.rom+ HungryHorace.rom+
HoraceSpiders.rom+ Planetoids.rom+ S
paceRaiders.rom+ MiscoJones.rom roms_a800
0.bin
ESXMMC.BIN
aa000.bin
..\firmware.rom
48.rom
plus3es40zxmmc.rom
se.rom
leches.rom
ManicMiner.rom
JetSetWilly.rom
LalaPrologue.rom
Deathchase.rom
Chess.rom
Backgammon.rom
HungryHorace.rom
HoraceSpiders.rom
Planetoids.rom
SpaceRaiders.rom
MiscoJones.rom
1 archivo(s) copiado(s).
C:\zxuno\firmware\roms>rem call promgen -w -spi -p mcs -o tld_zxuno_es.mcs
^
C:\zxuno\firmware\roms>rem -s 4096 -u 0 ..\..\cores\spectrum_v2_sp
artan6\test14\tld_zxuno_es.bit
C:\zxuno\firmware\roms>call promgen -w -spi -p mcs -o tld_zxuno_av.mcs
-s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test15\tld_zxuno.bi
t
C:\zxuno\firmware\roms>ECHO \zz\Xilinx\12.1\ISE_DS\ISE\bin\nt64\promgen.exe -w -
spi -p mcs -o tld_zxuno_av.mcs -s 4096 -u 0 ..\..\cores\s
pectrum_v2_spartan6\test15\tld_zxuno.bit
\zz\Xilinx\12.1\ISE_DS\ISE\bin\nt64\promgen.exe -w -spi -p mcs -o tld_zxuno_av.m
cs -s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test15\t
ld_zxuno.bit
C:\zxuno\firmware\roms>E:\PROGRAMAS\Xilinx\bin\nt\promgen.exe -w -spi -p mcs -o
tld_zxuno_av.mcs -s 4096 -u 0 ..\..\cores\spectrum_v2_spa
rtan6\test15\tld_zxuno.bit
Release 8.2i - Promgen I.31
Copyright (c) 1995-2006 Xilinx, Inc. All rights reserved.
C:\zxuno\firmware\roms>rem srec_cat tld_zxuno_es.mcs -Intel ^
C:\zxuno\firmware\roms>rem roms_a8000.bin -binary -offset 0xa8000 ^
C:\zxuno\firmware\roms>rem -o prom_es.mcs -Intel ^
C:\zxuno\firmware\roms>rem -line-length=44 ^
C:\zxuno\firmware\roms>rem -line-termination=nl
C:\zxuno\firmware\roms>srec_cat tld_zxuno_av.mcs -Intel
roms_a8000.bin -binary -offset 0xa8000 -o prom_av.mcs -Int
el -line-length=44
-line-termination=nl
C:\zxuno\firmware\roms>srec_cat prom_av.mcs -Intel -o tld_zxu
no.bin -binary
C:\zxuno\firmware\roms>rem ..\fcut tld_zxuno.bin 54000 5c000 machine.bin
C:\zxuno\firmware\roms>..\fcut tld_zxuno.bin 00000 54000 machine1.bin
0x54000 bytes written (344064) at offset 0x0 (0)
C:\zxuno\firmware\roms>..\fcut tld_zxuno.bin a8000 08000 machine2.bin
0x8000 bytes written (32768) at offset 0xA8000 (688128)
C:\zxuno\firmware\roms>copy /b machine1.bin+machine2.bin machine.bin
machine1.bin
machine2.bin
1 archivo(s) copiado(s).
C:\zxuno\firmware\roms>GenRom 0 202 0 0 0 'BIOS' ..\firmware.rom firmware.tap
File generated successfully
C:\zxuno\firmware\roms>GenRom 0 0 0 0 0 'ESXDOS' ESXMMC.BIN esxdos.tap
File generated successfully
C:\zxuno\firmware\roms>GenRom 0 0 0 0 0 'Machine' machine.bin machine.tap
File generated successfully
C:\zxuno\firmware\roms>CgLeches firmware.tap firmware.wav
C:\zxuno\firmware\roms>CgLeches machine.tap machine.wav
C:\zxuno\firmware\roms>
-- Actualizado 04 Jun 2015, 10:44 --
Instalando versión 14...
Quiero generar el firmware con la configuración de teclado ES en lugar de la AV
Código: Seleccionar todo
cd ..
call make.bat
cd roms
..\sjasmplus aa000.asm
copy /b ESXMMC.BIN+ ^
aa000.bin+ ^
..\firmware.rom+ ^
48.rom+ ^
plus3es40zxmmc.rom+ ^
se.rom+ ^
leches.rom+ ^
ManicMiner.rom+ ^
JetSetWilly.rom+ ^
LalaPrologue.rom+ ^
Deathchase.rom+ ^
Chess.rom+ ^
Backgammon.rom+ ^
HungryHorace.rom+ ^
HoraceSpiders.rom+ ^
Planetoids.rom+ ^
SpaceRaiders.rom+ ^
MiscoJones.rom ^
roms_a8000.bin
rem call promgen -w -spi -p mcs -o tld_zxuno_es.mcs ^
rem -s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test14\tld_zxuno_es.bit
call promgen -w -spi -p mcs -o tld_zxuno_av.mcs ^
-s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test15\tld_zxuno.bit
rem srec_cat tld_zxuno_es.mcs -Intel ^
rem roms_a8000.bin -binary -offset 0xa8000 ^
rem -o prom_es.mcs -Intel ^
rem -line-length=44 ^
rem -line-termination=nl
srec_cat tld_zxuno_av.mcs -Intel ^
roms_a8000.bin -binary -offset 0xa8000 ^
-o prom_av.mcs -Intel ^
-line-length=44 ^
-line-termination=nl
srec_cat prom_av.mcs -Intel ^
-o tld_zxuno.bin -binary
rem ..\fcut tld_zxuno.bin 54000 5c000 machine.bin
..\fcut tld_zxuno.bin 00000 54000 machine1.bin
..\fcut tld_zxuno.bin a8000 08000 machine2.bin
copy /b machine1.bin+machine2.bin machine.bin
GenRom 0 202 0 0 0 'BIOS' ..\firmware.rom firmware.tap
GenRom 0 0 0 0 0 'ESXDOS' ESXMMC.BIN esxdos.tap
GenRom 0 0 0 0 0 'Machine' machine.bin machine.tap
CgLeches firmware.tap firmware.wav
CgLeches machine.tap machine.wav
Supongo que será tan simple como descomentar esta línea:
y comentar esta otra:
...
¿pero entonces esta otra posterior por cual la sustituyo?
-- Actualizado 04 Jun 2015, 11:20 --
Bien. Con la versión 14 genera el .mcs correctamente.
Para hacer que me coja la configuración de telcado "ES" he dejado el generamcs.bat así:
Código: Seleccionar todo
cd ..
call make.bat
cd roms
..\sjasmplus aa000.asm
copy /b ESXMMC.BIN+ ^
aa000.bin+ ^
..\firmware.rom+ ^
48.rom+ ^
plus3es40zxmmc.rom+ ^
se.rom+ ^
leches.rom+ ^
ManicMiner.rom+ ^
JetSetWilly.rom+ ^
LalaPrologue.rom+ ^
Deathchase.rom+ ^
Chess.rom+ ^
Backgammon.rom+ ^
HungryHorace.rom+ ^
HoraceSpiders.rom+ ^
Planetoids.rom+ ^
SpaceRaiders.rom+ ^
MiscoJones.rom ^
roms_a8000.bin
call promgen -w -spi -p mcs -o tld_zxuno_es.mcs ^
-s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test14\tld_zxuno_es.bit
rem call promgen -w -spi -p mcs -o tld_zxuno_av.mcs ^
rem -s 4096 -u 0 ..\..\cores\spectrum_v2_spartan6\test15\tld_zxuno.bit
srec_cat tld_zxuno_es.mcs -Intel ^
roms_a8000.bin -binary -offset 0xa8000 ^
-o prom_es.mcs -Intel ^
-line-length=44 ^
-line-termination=nl
rem srec_cat tld_zxuno_av.mcs -Intel ^
rem roms_a8000.bin -binary -offset 0xa8000 ^
rem -o prom_av.mcs -Intel ^
rem -line-length=44 ^
rem -line-termination=nl
srec_cat prom_es.mcs -Intel ^
-o tld_zxuno.bin -binary
rem ..\fcut tld_zxuno.bin 54000 5c000 machine.bin
..\fcut tld_zxuno.bin 00000 54000 machine1.bin
..\fcut tld_zxuno.bin a8000 08000 machine2.bin
copy /b machine1.bin+machine2.bin machine.bin
GenRom 0 202 0 0 0 'BIOS' ..\firmware.rom firmware.tap
GenRom 0 0 0 0 0 'ESXDOS' ESXMMC.BIN esxdos.tap
GenRom 0 0 0 0 0 'Machine' machine.bin machine.tap
CgLeches firmware.tap firmware.wav
CgLeches machine.tap machine.wav
Y la salida ahora es esta:
Código: Seleccionar todo
C:\zxuno\firmware\roms>generamcs_ES.bat > out.txt
ERROR:Bitstream:51 - Unable to read file
"../../cores/spectrum_v2_spartan6/test14/tld_zxuno_es.bit". Either the
specified directory path does not exist or the file does not have readable
permissions.
ERROR:Bitstream:53 - Missing or invalid bit files found after the -u option.
srec_cat: tld_zxuno_es.mcs: open: No such file or directory