From 37952576407592daead342b9d84be8359865a664 Mon Sep 17 00:00:00 2001 From: antoniovillena Date: Sun, 15 May 2016 19:29:06 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20rootear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firmware/firmware.asm | 9 ++++++--- firmware/generamcs.bat | 43 +++++++++++++++++++++--------------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/firmware/firmware.asm b/firmware/firmware.asm index 951eedd..9256058 100644 --- a/firmware/firmware.asm +++ b/firmware/firmware.asm @@ -3283,7 +3283,10 @@ conti1 adc a, a ; 0 0 0 MODE1 /DISCONT MODE0 /I2KB /DISNMI ccf conti2 adc a, a ; 0 0 MODE1 /DISCONT MODE0 /I2KB /DISNMI DIVEN add a, a ; 0 MODE1 /DISCONT MODE0 /I2KB /DISNMI DIVEN 0 - xor %10101100 -$80 ;sinlock ; LOCK MODE1 DISCONT MODE0 I2KB DISNMI DIVEN 0 + xor d + and %01111111 + xor d + xor %10101100 ; LOCK MODE1 DISCONT MODE0 I2KB DISNMI DIVEN 0 ld (alto conti9+1), a wreg master_conf, 1 and $02 @@ -4155,7 +4158,7 @@ decbhl dec hl block $7e00-$ cad0 defb 'Core: ',0 cad1 defm 'http://zxuno.speccy.org', 0 - defm 'ZX-Uno BIOS v0.327', 0 + defm 'ZX-Uno BIOS v0.328', 0 defm 'Copyleft ', 127, ' 2016 ZX-Uno Team', 0 defm 'Processor: Z80 3.5MHz', 0 defm 'Memory: 512K Ok', 0 @@ -4190,7 +4193,7 @@ cad8 defm $10, ' ', $10, ' ', $10, 0 cad9 defb $14, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11 defb $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $18, $11 defb $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $15, 0 - defb ' BIOS v0.327 ', $7f, '2016 ZX-Uno Team', 0 + defb ' BIOS v0.328 ', $7f, '2016 ZX-Uno Team', 0 cad10 defb 'Hardware tests', 0 defb $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11, $11 defb $11, $11, $11, $11, 0 diff --git a/firmware/generamcs.bat b/firmware/generamcs.bat index a3b58a0..2409949 100644 --- a/firmware/generamcs.bat +++ b/firmware/generamcs.bat @@ -2,11 +2,11 @@ echo define version %1 > version.asm call make.bat Bit2Bin ..\cores\Spectrum\tld_zxuno.%2.bit tmp.bin fpad 400000 00 FLASH.ZX1 -fpoke FLASH.ZX1 00000 file:header.bin ^ - 04000 file:esxdos.rom ^ - 07000 40xFF ^ - 07044 g0203020202 ^ - 08000 file:..\firmware.rom ^ +fpoke FLASH.ZX1 00000 file:header.bin ^ + 04000 file:rom_binaries\esxdos.rom ^ + 07000 40xFF ^ + 07044 g0203020202 ^ + 08000 file:firmware.rom ^ 58000 file:tmp.bin fcut tmp.bin 0 53f00 sd_binaries\SPECTRUM.%3 GenRom 0 sm1ta Machine tmp.bin core_taps\SPECTRUM.TAP @@ -27,26 +27,27 @@ call :CreateRom 0 "ZX Spectrum 48K Cargando Leches" leches dn lh call :CreateRom 1 "ZX +3e DivMMC" plus3en40divmmc t 0 call :CreateRom 5 "SE Basic IV 4.0 Anya" se d h call :CreateRom 7 "ZX Spectrum 48K" 48 dn lh17 -call :CreateRom 8 "Jet Pac (1983)" JetPac 0 lh17 -call :CreateRom 9 "Pssst (1983)" Pssst 0 lh17 -call :CreateRom 10 "Cookie (1983)" Cookie 0 lh17 -call :CreateRom 11 "Tranz Am (1983)" TranzAm 0 lh17 -call :CreateRom 12 "Master Chess (1983)" MasterChess 0 lh17 -call :CreateRom 13 "Backgammon (1983)" Backgammon 0 lh17 -call :CreateRom 14 "Hungry Horace (1983)" HungryHorace 0 lh17 -call :CreateRom 15 "Horace & the Spiders (1983)" HoraceSpiders 0 lh17 -call :CreateRom 16 "Planetoids (1983)" Planetoids 0 lh17 -call :CreateRom 17 "Space Raiders (1983)" SpaceRaiders 0 lh17 -call :CreateRom 18 "Deathchase (1983)" Deathchase 0 lh17 -call :CreateRom 19 "Manic Miner (1983)" ManicMiner 0 lh17 -call :CreateRom 20 "Misco Jones (2013)" MiscoJones 0 lh17 -call :CreateRom 21 "Jet Set Willy (1984)" JetSetWilly 0 lh17 -call :CreateRom 22 "Lala Prologue (2010)" LalaPrologue 0 lh17 +AddItem ROM 8 rom_taps\rooted.tap +call :CreateRom 9 "Jet Pac (1983)" JetPac 0 lh17 +call :CreateRom 10 "Pssst (1983)" Pssst 0 lh17 +call :CreateRom 11 "Cookie (1983)" Cookie 0 lh17 +call :CreateRom 12 "Tranz Am (1983)" TranzAm 0 lh17 +call :CreateRom 13 "Master Chess (1983)" MasterChess 0 lh17 +call :CreateRom 14 "Backgammon (1983)" Backgammon 0 lh17 +call :CreateRom 15 "Hungry Horace (1983)" HungryHorace 0 lh17 +call :CreateRom 16 "Horace & the Spiders (1983)" HoraceSpiders 0 lh17 +call :CreateRom 17 "Planetoids (1983)" Planetoids 0 lh17 +call :CreateRom 18 "Space Raiders (1983)" SpaceRaiders 0 lh17 +call :CreateRom 19 "Deathchase (1983)" Deathchase 0 lh17 +call :CreateRom 20 "Manic Miner (1983)" ManicMiner 0 lh17 +call :CreateRom 21 "Misco Jones (2013)" MiscoJones 0 lh17 +call :CreateRom 22 "Jet Set Willy (1984)" JetSetWilly 0 lh17 +call :CreateRom 23 "Lala Prologue (2010)" LalaPrologue 0 lh17 srec_cat FLASH.ZX1 -binary ^ -o prom.%2.mcs -Intel ^ -line-length=44 ^ -line-termination=nl -del tmp.bin tmp0.bin tmp1.bin tmp2.bin +del tmp.bin move /y FLASH.ZX1 sd_binaries\FLASH.%3 goto :eof