Page 1 of 1

Problems with GLUK and HE GLUK

PostPosted: 03 Oct 2010, 15:57
by VELESOFT
I use GLUK and HE GLUK on real ZX Spectrum 128+2. Both programs use incorrect detection of CMOS ports. ZX Spectrum machines after read from unused (CMOS absent) ports return state of attribute port (as IN #FF). GLUK show chaotic numbers and text instead TIME and DATE...

Idea for FIX this problem:
CMOS ports must be detected after HALT instruction. In this time are on all ZX models/clones on data bus value #FF (ULA not read screen data). :v2_wink2:

Also Kempston mouse detection must be used after HALT. If on all mouse ports read value #FF then mouse controll can be disabled.

Re: Problems with GLUK and HE GLUK

PostPosted: 03 Oct 2010, 17:59
by savelij
Поправил согласно рекомендации, протестируй. Прошивка только самого HE GLUK, FAT boot временно заблокирован.

Re: Problems with GLUK and HE GLUK

PostPosted: 03 Oct 2010, 22:24
by VELESOFT
savelij wrote:Поправил согласно рекомендации, протестируй. Прошивка только самого HE GLUK, FAT boot временно заблокирован.


I test this roms on ZX Spectrum 128+2 with memory expansion to Pentagon 1024.
Key W and M = return to basic with message 0 OK, 40:2 and after press ENTER restart automatically HE GLUK. It's unfinished, or bug ?
Drive switching with keys 1-4 are ignored then I can't test boot from ramdisc.

Can be used this HE GLUK on other machines than EVO ? We (I and my friends) use GLUK with ramdisc only. In Europe is very popular DIVIDE interface with different IDE ports. My dream is possibility use HDD boot in GLUK with DIVIDE ports. Can you implement also DIVIDE IDE driver to HE GLUK source ? If you send me original driver, I will rewrite it.

My idea:
- after start GLUK can test memory size and show on screen memory size (ZX-EVO 4MB,Pentagon 1024/512/128...)
- possibility use REFORMAT RAMDISC without data erasing = increase or decrease ramdisc size (if is possible)
- format ramdisc without direct access to memory page, but use only standard tr-dos service (write sector) on #3D13. Tith this formatter will work KILLS menu with any ramdisc based tr-dos (KAY trdos, Pentagon tr-dos, PROFI tr-dos, ATM tr-dos, etc...). Actual gluk version only write to last ram page, is it true ?

Re: Problems with GLUK and HE GLUK

PostPosted: 04 Oct 2010, 15:16
by savelij
Извините, HE GLUK предназначен для работы на PentEvo и Пентагон совместимых и использует соответствующие порты. Исходные тексты будут доступны после выпуска версии 0.2.