SMUK HDD + open ports
ZXNet echo conference «hardware.zx»
From Roman Fheydorov → To All 15 July 2003
Peep Hi!
FirestarterHDS is tirelessly improving our HDD_mounter
but it turns out you can make it even faster.
What kind of modification on Scorp opens the ports???
Please give me the URL or email me
Thanks in advance, BugsyHDS
mailto:bugsy@ncn.ru
http://bugsy.narod.ru
icq# 234912911
From Nikolaj Amosov → To Roman Fheydorov 16 July 2003
Hello Roman!
Tuesday 15 July 2003 13:11:49 Roman Fheydorov -> All:
RF> FirestarterHDS is tirelessly improving our HDD_mounter
RF> but it turns out you can make it even faster.
And much faster - at least three times. After opening
ports, the reading speed will mainly depend on
straightness of the programmer's hands...
RF> What kind of modification on Scorp opens ports???
RF> Give pleez URL or send it to e-mail
I put two methods on e-soap - according to Kozhevnikov and according to GMX.
[REAL ZX]
From Kirill Frolov → To Nikolaj Amosov 19 July 2003
Press RESET immediately, Nikolaj Amosov!
On Wed, 16 Jul 03 20:51:43 +0400, Nikolaj Amosov wrote:
NA> And much faster - at least three times. After opening
NA> ports, the reading speed will mainly depend on
NA> directness of the programmer's hands...
The more stack space, the faster...
read_sector: ; hl=where
ld bc, ide_data_port_low
exx
ld hl, eiret
push hl
ld hl, -512*6*2
ld bc, 6*2
add hl, sp
ldde, stackdata
ld sp, hl
push hl
ex de, hl
ldir
pop hl
ld bc, 6*2*511
ldir
ld bc, ide_data_port_high
di
ret
eiret:
ei
ret
stackdata:
dw 0x3d2f, 0x3ff3, xxx
dw 0x3d2f, 0x3ff3, yyy
xxx:
exx
ld d,a
ret
yyy:
ld (hl), d
inc hl
ld (hl), a
inc hl
exx
ret
From Valerij Kozhevnikoff → To Nikolaj Amosov 25 July 2003
Hello Nikolaj!
16 Jul 03 21:51, Nikolaj Amosov -> Roman Fheydorov:
RF>> FirestarterHDS is tirelessly improving our HDD_mounter
RF>> but it turns out you can make it even faster.
NA> And much faster - at least three times. After opening
NA> ports, the reading speed will mainly depend on
NA> directness of the programmer's hands...
20 clock cycles to read a byte. There is no way to go faster.
RF>> What kind of modification on Scorp opens ports???
RF>> Give pleez URL or send it to e-mail
NA> I put two methods on e-soap - according to Kozhevnikov and according to GMX.
How are they different? There is only one meaning - hang a jar with a bit in the port below
trdosom and enable the same ports.
WBR, Jason.
/*e-mail: jason2000(scary dog)yandex.ru ICQ: 62235830*/
/np:/ *silence*
From Valerij Kozhevnikoff → To Kirill Frolov 25 July 2003
Hello, Kirill!
19 Jul 03 18:43, Kirill Frolov -> Nikolaj Amosov:
NA>> And much faster - at least three times. After opening
NA>> ports, the reading speed will mainly depend on
NA>> directness of the programmer's hands...
KF> The more stack space, the faster...
KF> read_sector: ; hl=where
KF> ld bc, ide_data_port_low
Just count the beats.
LD C,#BE
LD DE,#D8F8
;stack to fill: #3ff3,xxxx,#3ff3,yyyy i.e. 4 addresses per cycle.
;commented lines are executed in ROM
LD B,E ;4
JP #3D30 ;10
; RET ;10
; IN A,(C) ;12
; RET ;10
xxxx LD (HL),A ;8
INC HL ;6 60
LD B,D
JP #3D30
; RET
; IN A,(C)
; RET
yyyy LD (HL),A
INC HL
And in the case of open ports
LD B,E ;4
INI ;16 20
LD B,D
INI
The difference in speed is exactly three times. 58.33 kb/sec versus 175 kb/sec on
open ports.
Ruiner once posted here the results of his speed tests of different restartsshadow (by the way, does anyone still have it? Otherwise I want to remember). It worked out
something around 30 to 100 kbps, depending on the target address and
used sector length.
It’s better to solder one small circuit and use the speed to its fullest.
WBR, Jason.
/*e-mail: jason2000(scary dog)yandex.ru ICQ: 62235830*/
/np:/ *silence*