Small Fix for DosX (Dickie Mailer)...

ZXNet echo conference «real.speccy»

From Felix Knajzev To All 16 August 2000

Greetings, All!

Subzh. For those who compile their DosXs from Oleg Grigoriev's sources (ZXASM.
we flew here recently). Fixes the wrong day of the month (after August
inclusive) in file descriptors created by Dickie himself.

1. We find the procedure in the files 'MR_*****.C':


============== here we will start the file "MR_*****.C" ================
; *** proc
RTC_GetDosTime ld a, #37
ld (IntISR_rtc), a
call _rtc_corr_time
push af
ld hl, _rtc_year
ld a, (hl)
dec hl
sub 80
jr nc, not_y2000
add a, 100
not_y2000 add a, a
ld d, a
ld a, (hl)
dec hl
inc a
add a, a
add a, a
add a, a
add a, a
add a, a
or (hl)
inc a
ld e, a
dechl
dec hl
ld b, (hl)
dec hl
ld c, (hl)
dec hl
ld a, (hl)
add a, a
add a, a
rr c
rra
rr c
rra
rr c
rra
ld l, a
ld a, b
add a, a
add a, a
add a, a
or c
ld h, a
ld a, #AF
ld (IntISR_rtc), a
pop af
ret
; *** end proc


=============== тут мы кончим файл "MR_*****.C" ================

2. Заменяем её на:

=============== тут мы начнем файл "MR_**fix.C" ==============
; *** proc
RTC_GetDosTime ld a, #37
ld (IntISR_rtc), a
call _rtc_corr_time
push af
ldhl, _rtc_year
ld a, (hl)
dec hl
sub 80
jr nc, not_y2000
add a, 100
not_y2000 ld d, a
ld a, (hl)
dec hl
inc a
add a, a
add a, a
add a, a
add a, a
add a, a
rl d
or (hl)
inc a
ld e, a
dec hl
dec hl
ld b, (hl)
dec hl
ld c, (hl)
dec hl
ld a, (hl)
add a, a
add a, a
rr c
rra
rr c
rra
rr c
rra
ld l, a
ld a, b
add a, a
add a, a
add a, a
or c
ld h, a
ld a, #AF
ld (IntISR_rtc), a
pop af
ret
; *** end proc


=============== тут мы кончим файл "MR_**fix.C" ===============

С уважением, Felix.

[I ZX]

From Oleg Grigoriev To All 17 August 2000


Let your enemies, Felix, die without sons!

16 Aug 2000 at 17:11, Felix Knajzev ═> All:

FK> Subject. For those who compile their DosXs from Oleg Grigoriev's sources (ZXASM.
FK> recently flew over here). Fixes the wrong day of the month (after August,
FK> inclusive) in the file descriptors created by Dickie himself.

I mean, is this my glitch or what? This doesn't happen. :-)

[ WBR, Oleg. ]
[ 14:08 17 August XXXV A.S. ]


From Felix Knajzev To All 18 August 2000

Greetings, Oleg!

[Thursday 17 August 2000] at [14:08:39] Oleg Grigoriev wrote a letter to Felix
Knajzev.
They discussed the topic "Little Fix for DosX (Dickie Mailer)...". Let's continue
what we started...