Request for savelij

ZX evolution software and hardware

Postby justine » 10 Oct 2011, 21:43

savelij would you consider the following for the Evo rom please ?

I see the rom has 3 spare 64k sections just filled with xFF .
Would you modify your code so that in the services menu where you select Gluk or Profrom etc you add an option called "Custom Rom" .
My idea being that users such as myself and others could make their own 16k test rom and select it from the Evo Reset menu using key "G" then on reset the users rom would be executed.
You would have to tell us where the code should go by giving us an example of build.bat that included this 16K rom so we could build our own ZX EVO rom 512k. Incase a user selects that option and resets the Evo with nothing in that area then the default ZX EVO rom 16k area could be filled with NOP x00 instead of xFF.

Could you do this PLEASE ?
I would buy you beer and vodka :vodka:
User avatar
justine
 
Posts: 101
Joined: 06 Jul 2011, 00:50
Location: Scotland
Group: Registered users

Postby DimkaM » 11 Oct 2011, 04:14

Excuse me for interfering with the dialogue justine and savelij.
justine wrote:You would have to tell us where the code should go by giving us an example of build.bat that included this 16K rom so we could build our own ZX EVO rom 512k
http://code.google.com/p/pentevo/source/browse/rom
or
http://pentevo.googlecode.com/svn/rom/

My advice: Use a RAM. RAM much easier programmed. Compiles as Hobeta. After starting the program she has moved himself into Bank0.
Code: Select all
   DEVICE ZXSPECTRUM128
startprog   
   org #0000
   jp init+#8000

   org #0038
   ei
   ret

   org #0200
init
   di
   ld a, 1; open shadow ports
    out (#BF), a
    LD BC, #3FF7; connect the RAM in bank zero
    LD A, #40
    OUT (C), A
    LD hl, #8000; copies itself to a Bank0
    ld de, #0000
    ld bc, endprog-startprog
    LDIR
    LD SP, #4000
    xor a; shadow close ports
    out (#BF), a
    jp mainprog ; jump in to Bank0
mainprog .....

endprog
   SAVEBIN "test.bin",startprog,endprog-startprog
   
   ORG #8000
   incbin "test.bin"
   SAVEHOB  "test.$c","test.C",#8000,#4000
this is sample for Sjasm
ZX-Evo rev B, ZX-Evo rev C, ZXNetUsb rev A, ZXNetUsb rev С
http://nedoos.ru/ http://ti6.zxevo.ru/
DimkaM
 
Posts: 1387
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby DimkaM » 11 Oct 2011, 10:34

Значит опять с английским накосячил. Показалось нужна возможность тестирования юзерских РОМов.
ZX-Evo rev B, ZX-Evo rev C, ZXNetUsb rev A, ZXNetUsb rev С
http://nedoos.ru/ http://ti6.zxevo.ru/
DimkaM
 
Posts: 1387
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby DDp » 11 Oct 2011, 15:30

TS-Labs wrote:Микруха пзу стирабельна секциями по 128 кб.

Микруха пзу стирабельна секциями по 64 кб!
TS-Labs wrote:Его можно невозбранно перепрограммировать не травмируя остальные части.

Куски по 64К можно и сейчас невозбранно ситрать и перепрограммировать не травмируя остальные части!

На сколько я понял, justine хочет что-бы по сбросу передавалось управление на "пользовательскую" страницу ПЗУ.

Как программировать flash-rom смотреть даташит на M29F040/AM29F040.
Бит разрешения строба записи flash-rom в порту #BF.

------------

How to erase blocks and write flash-rom see datasheet on M29F040/AM29F040.
Bit1 of port #BF - enable write to Flash-ROM.
D356 47C0 35F8 F55E 8A52 A88F F3F8 B003 03EB 3D7F
DDp
 
Posts: 103
Joined: 27 Oct 2007, 11:29
Group: Registered users

Postby savelij » 11 Oct 2011, 17:25

Могу пока предложить быстрый и достаточно простой вариант. Заменить часть или полностью страницы с Gluk и пересобрать прошивку с нужными 16Кб страницами вот таким bat файлом (можно взять готовый отсюда http://code.google.com/p/pentevo/source ... d_full.bat ):

copy /B /Y page3\2006.rom+page1\dos6_12e_patch.rom+page2\basic128.rom+page0\glukpen.rom+profrom\profrom.rom+ff_64k.rom+ff_64k.rom+ff_64k.rom+page3\basic48.rom+page1\evo-dos_virt.rom+page5\rst8service.rom+page4\addons.rom+page3\basic48.rom+page1\evo-dos_emu3d13.rom+page2\basic128.rom+page0\services.rom zxevo.rom

Для подстановки своих страниц можно заменить файлы:

2006.rom = Basic 48
dos6_12e_patch.rom = TR-DOS
basic128.rom = Basic 128
glukpen.rom = Service

Сброс в выбранный Gluk всегда происходит с адреса 0 Service страницы. В следующих версиях Evo Service я сделаю возможность выбора для сброса в Custom ROM и отдельное обновление для него чтобы не перепрограммировать весь rom.
savelij
 
Posts: 568
Joined: 10 Jun 2008, 17:35
Group: Registered users

Postby breeze » 11 Oct 2011, 17:35

savelij wrote:В следующих версиях Evo Service я сделаю возможность выбора для сброса в Custom ROM


О! это было бы супер! :)
User avatar
breeze
 
Posts: 764
Joined: 07 Feb 2009, 17:19
Location: Оттуда
Group: Registered users

Postby justine » 11 Oct 2011, 19:28

О! это было бы супер!


I agree this would be a brilliant feature to add to the ZX EVO :ura:

THANX savelij :vodka:
User avatar
justine
 
Posts: 101
Joined: 06 Jul 2011, 00:50
Location: Scotland
Group: Registered users

Postby breeze » 12 Oct 2011, 10:08

TS-Labs wrote:Тебе то зачем?


Сикрет :)
User avatar
breeze
 
Posts: 764
Joined: 07 Feb 2009, 17:19
Location: Оттуда
Group: Registered users

Postby MISTER_BEEP » 14 Oct 2011, 08:52

It would be good anyway to have 2 configurations possibility to chose in some menu:
- the last compatible with Pentagon http://mister_beep.republika.pl/last_ZX ... ig_EVA.zip
- and the newest config (for updating whenever it's required).
And it would end all problems.
ZX Spectrum 48K music-centre: http://tinyurl.com/63st9vu
ZX Spectrum Evolution Rev. B (зелёная) + 2 x 2Gb SD cards + FDD + TSFM + NeoGS.
User avatar
MISTER_BEEP
 
Posts: 153
Joined: 04 Feb 2011, 16:43
Location: Eastern Bloc
Group: Registered users

Postby нолька » 14 Oct 2011, 14:48

this is contradiction to CHRV's politics :(
я проснулся среди ночи и понял, что всё...
всё идет по плану
User avatar
нолька
рОвный
 
Posts: 264
Joined: 08 Apr 2007, 21:12
Group: Registered users

Next

Return to Пентева - софт и железо

Who is online

Users browsing this forum: No registered users and 1 guest

cron