From fb2deeb8f249e9d29f0856649f5cc2ca66441f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B0=D1=82=D0=BE=D0=BB=D0=B8=D0=B9=20=D0=91?= =?UTF-8?q?=D0=B5=D0=BB=D1=8F=D0=BD=D1=81=D0=BA=D0=B8=D0=B9?= Date: Fri, 6 Mar 2026 04:30:07 +1000 Subject: [PATCH] ... --- src/bios/exp/EXP.asm | 4 ++-- src/bios/exp/FUNC_SERVICE.asm | 6 +++--- src/bios/rom/ZX/ZX_FUNC.ASM | 12 ++++++------ src/bios/rom/ZX/ZX_MENU.ASM | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bios/exp/EXP.asm b/src/bios/exp/EXP.asm index 388a48d..a38426b 100644 --- a/src/bios/exp/EXP.asm +++ b/src/bios/exp/EXP.asm @@ -1083,10 +1083,10 @@ PORTS_INIT: ; set HDD1/not-HDD2 LD A,IDE.Chanel.Primary OUT (IDE.Chanel.Set),A - LD BC,#7FFD + LD BC,ZX_MEM_PORT.Pentagon LD A,#10 OUT (C),A ; BASIC_48 mode - LD B,#1F + LD B,high ZX_MEM_PORT.Scorpion LD A,1 OUT (C),A ; RAM-0 mode !!! ; очистка буферов клавиатуры и мыши в SIO diff --git a/src/bios/exp/FUNC_SERVICE.asm b/src/bios/exp/FUNC_SERVICE.asm index a766644..b513056 100644 --- a/src/bios/exp/FUNC_SERVICE.asm +++ b/src/bios/exp/FUNC_SERVICE.asm @@ -491,9 +491,9 @@ REINIT: DEC B ;[x] .Restart: DI XOR A - LD BC,#1FFD + LD BC,ZX_MEM_PORT.Scorpion OUT (C),A - LD B,#7F + LD B,high ZX_MEM_PORT.Pentagon OUT (C),A OUT (RGADR),A OUT (RGMOD),A @@ -515,7 +515,7 @@ REINIT: DEC B ; .SoftReset: DI LD A,#10 - LD BC,#1FFD + LD BC,ZX_MEM_PORT.Scorpion OUT (C),A ; 8-я страница !! ; LD A,RESET_PAGE diff --git a/src/bios/rom/ZX/ZX_FUNC.ASM b/src/bios/rom/ZX/ZX_FUNC.ASM index c6c9006..1419489 100644 --- a/src/bios/rom/ZX/ZX_FUNC.ASM +++ b/src/bios/rom/ZX/ZX_FUNC.ASM @@ -162,10 +162,10 @@ C_1601: ; OPEN CHANEL ;ВХОД: HL - список страниц ; E - 0 = 128kb, 1 = 512kb INIT_vRAM: XOR A -.set_1ffd: LD BC,#1FFD +.set_1ffd: LD BC,ZX_MEM_PORT.Scorpion OUT (C),A ; set 128 - LD B,#7F + LD B,high ZX_MEM_PORT.Pentagon LD D,%0000'0000 CALL SET_7FFD ; @@ -700,7 +700,7 @@ INIT_PAGES: LD A,SYS_PAGE LD A,#10 CALL MANAGE_ZX_PAGES.INIT_vRAM.set_1ffd ; A = 0, BC = #7FFD - LD B,#1F + LD B,high ZX_MEM_PORT.Scorpion OUT (C),A INC A ; reset ZF ; @@ -773,7 +773,7 @@ RES128_PROG: OUT (C),A ; XOR A - LD BC,#1FFD + LD BC,ZX_MEM_PORT.Scorpion OUT (C),A ; Scorp порт ;LD B,#7F ;OUT (C),A ; 128 порт @@ -798,7 +798,7 @@ RES128_PROG: ;XOR A ;OUT (C),A ; 7FFD LD A,#02 - LD B,#1F + LD B,high ZX_MEM_PORT.Scorpion OUT (C),A XOR A DEC D @@ -827,7 +827,7 @@ RES128_PROG: JR Z,.noLock48 ; SET 5,A -.noLock48: LD B,#7F +.noLock48: LD B,high ZX_MEM_PORT.Pentagon OUT (C),A LD A,E ; установка конфигурации и режима TURBO OUT (SYS_PORT.RAM),A ; CONFIG_SET diff --git a/src/bios/rom/ZX/ZX_MENU.ASM b/src/bios/rom/ZX/ZX_MENU.ASM index d786c5d..c0de839 100644 --- a/src/bios/rom/ZX/ZX_MENU.ASM +++ b/src/bios/rom/ZX/ZX_MENU.ASM @@ -397,7 +397,7 @@ GOTO_TRDOS: ;SR_48: .m48: LD A,#30 ; Стопор на PORT_128 !!! ;SR_48A: -.RUN: LD BC,#7FFD +.RUN: LD BC,ZX_MEM_PORT.Pentagon OUT (C),A LD BC,0 ; НА 0 !! PUSH BC