For Denis Re: Spectrum, what should it be? (was Promotion...)
ZXNet echo conference «zx.spectrum»
From Oleg Tarasov → To All 10 April 1998
Somehow I’m sitting and reading...
Denis Dmitriev <Denis.D...@p5.f110.n461.z2.fidonet.org> wrote:
>Great, Tarasov!
Hello
> TO>
> TO> LD HL, PATH
> TO> LD DE,WHERE
> TO> LD C, #5 ;LOADING COMMAND (FOR EXAMPLE)
> TO> CALL #3F00
> TO>
> TO> PATH DEFM "GAME\PINBALL\BALL.EXE"
>
>And if the downloaded file (for example, .MOD) weighs , to for example,
>300Kb? How will the system proceed?
LD HL,PATH
LD DE,WHERE
LD C, #5 ;LOADING COMMAND (FOR EXAMPLE)
LD B, #1 ;LOADING CODE BY SEGMENT
#2 ;LOADING THE NEXT SEGMENT
CALL #3F00
PATH DEFW LENGTH OF LOADING SEGMENT
DEFM "GAME\PINBALL\BALL.EXE"
And if there is nothing in B, then it is loaded to the end of the memory as much as it fits
If LD B,#2 then the next segment of the current file is loaded
so you don’t need to specify the path and loading address, all this is taken
from the first run...
LD C,#5
LD B,#2
CALL #3F00
AT the output, if B is zero, then in HL the length of the last loaded
segment...
>a clock is definitely needed as a standard, especially since they are not expensive.
I agree in principle, but their placement on the board requires additional
space, and this leads tothe rise in price of the controller, and it will already
approximately cost 150-160 rubles on sale.
>With best wishes, Denis.
>
For this I say goodbye, Oleg.