Page 1 of 2

Request for savelij

PostPosted: 10 Oct 2011, 21:43
by justine
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:

Re: Request for savelij

PostPosted: 11 Oct 2011, 04:14
by DimkaM
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

Re: Request for savelij

PostPosted: 11 Oct 2011, 10:34
by DimkaM
Значит опять с английским накосячил. Показалось нужна возможность тестирования юзерских РОМов.

Re: Request for savelij

PostPosted: 11 Oct 2011, 15:30
by DDp
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.

Re: Request for savelij

PostPosted: 11 Oct 2011, 17:25
by savelij
Могу пока предложить быстрый и достаточно простой вариант. Заменить часть или полностью страницы с 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.

Re: Request for savelij

PostPosted: 11 Oct 2011, 17:35
by breeze
savelij wrote:В следующих версиях Evo Service я сделаю возможность выбора для сброса в Custom ROM


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

Re: Request for savelij

PostPosted: 11 Oct 2011, 19:28
by justine
О! это было бы супер!


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

THANX savelij :vodka:

Re: Request for savelij

PostPosted: 12 Oct 2011, 10:08
by breeze
TS-Labs wrote:Тебе то зачем?


Сикрет :)

Re: Request for savelij

PostPosted: 14 Oct 2011, 08:52
by MISTER_BEEP
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.

Re: Request for savelij

PostPosted: 14 Oct 2011, 14:48
by нолька
this is contradiction to CHRV's politics :(