Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Vulcans never bluff. -- Spock, "The Doomsday Machine", stardate 4202.1


devel / comp.os.cpm / Re: Z280 timer

SubjectAuthor
* Z280 timerRobert
+* Re: Z280 timerTilmann Reh
|`* Re: Z280 timerTilmann Reh
| `- Re: Z280 timerRobert
`- Re: Z280 timerFritz

1
Z280 timer

<uaqskk$828n$1@solani.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4391&group=comp.os.cpm#4391

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: rf.baumg...@t-online.de (Robert)
Newsgroups: comp.os.cpm
Subject: Z280 timer
Date: Mon, 7 Aug 2023 15:47:00 +0200
Message-ID: <uaqskk$828n$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 7 Aug 2023 13:47:00 -0000 (UTC)
Injection-Info: solani.org;
logging-data="264471"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:5g35zo5bUsoLD8iUbIJ7Ghqtfig=
X-User-ID: eJwFwQkBwDAIA0BLQEvC5FAe/xJ25weK4oXj+voOPAEeYZdmZ1RRQuoluUMiaPZsW8dj9PsBIikRPg==
Content-Language: en-US
 by: Robert - Mon, 7 Aug 2023 13:47 UTC

Hi,

I try to use the internal counter/timer 1 of the Z280 as the baudrate
generator for the internal uart. So far the timer 1 is not running.
I see the output of the counter/timer 1 is set to one, but the output
doesn't toggle.

My timer code is below

ld hl, 14 ; timer constant
ld c, $ea ; counter 1 time constant
outw
ld a, $88 ; counter continuous, output enabled,
; timer
out ($e8), a ; counter 1 configuration
ld a, $c0 ; enable, software gate set
out ($e9), a ;

I can read the all the counter/timer registers and they ar set to the
correct values. When I read the count-time register, it is always set
to 14, never changing. I even tried to use the counter/
timer 1 as a counter, with a an square wave signal at the input of the
counter, but this is also not working.

I bought five Z280 from utsource years ago. Two of them show a very
weird behavior. Address and control pins toggle, but the Z280 program is
not running as it should. The other three Z280 run, but the
counter/timer 1 does not work at all.
Maybe I bought an batch of Z280

Is there a undocumented bit in one of the registers of the Z280, which
has to be set, in order to get the counter/timer working, or has anybody
succeeded using the counter/timer 1 of the Z280.

Regards,
Robert

Re: Z280 timer

<uasnj9$39c3e$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4397&group=comp.os.cpm#4397

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usenet20...@autometer.de (Tilmann Reh)
Newsgroups: comp.os.cpm
Subject: Re: Z280 timer
Date: Tue, 8 Aug 2023 08:33:59 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uasnj9$39c3e$1@dont-email.me>
References: <uaqskk$828n$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Aug 2023 06:33:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b8fcf5937bd4577dbebe4dd78c5847c4";
logging-data="3453038"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wAd5qndFabPBh+OKbyfYiWlFtnD4KD5c="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.13.0
Cancel-Lock: sha1:MjJjsvLwgh0YegTOjUQXiW7uWzM=
Content-Language: en-US
In-Reply-To: <uaqskk$828n$1@solani.org>
 by: Tilmann Reh - Tue, 8 Aug 2023 06:33 UTC

Am 07.08.2023 um 15:47 schrieb Robert:
> I try to use the internal counter/timer 1 of the Z280 as the baudrate
> generator for the internal uart. So far the timer 1 is not running.
> I see the output of the counter/timer 1 is set to one, but the output
> doesn't toggle.
>
> My timer code is below
>
> ld hl, 14 ; timer constant
> ld c, $ea ; counter 1 time constant
> outw
> ld a, $88 ; counter continuous, output enabled,
> ; timer
> out ($e8), a ; counter 1 configuration
> ld a, $c0 ; enable, software gate set
> out ($e9), a ;

When I used the Z280 decades ago, I set the CS1 register to E0h, not C0h.

Don't have the manual at hand to look up what that means...

Tilmann

Re: Z280 timer

<kjf2g5FicjiU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4402&group=comp.os.cpm#4402

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: freiwied...@hotmail.de (Fritz)
Newsgroups: comp.os.cpm
Subject: Re: Z280 timer
Date: Tue, 8 Aug 2023 16:41:09 +0200
Lines: 17
Message-ID: <kjf2g5FicjiU1@mid.individual.net>
References: <uaqskk$828n$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net bYl0BW4BnELplMgo67qAyA18Zh0x/S6V/jEKM0AZDuJ1AlXrAw
Cancel-Lock: sha1:aZBqyI4uAan+CQgwROSKP9vx6wM= sha256:p/12QKm9GnJsbjzBOkUtwtfCnZeUCLPVW0QVrvgoGjQ=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Content-Language: de-DE
In-Reply-To: <uaqskk$828n$1@solani.org>
 by: Fritz - Tue, 8 Aug 2023 14:41 UTC

Am 07.08.2023 um 15:47 schrieb Robert:
>
> Hi,
>
> I try to use the internal counter/timer 1 of the Z280 as the baudrate
> generator for the internal uart. So far the timer 1 is not running.
> I see the output of the counter/timer 1 is set to one, but the output
> doesn't toggle.

I can't help but there is a manual:

https://oldcomputers-ddns.org/public/pub/rechner/zilog/z280/manual/index.html

--
-- Fritz

Re: Z280 timer

<uatllp$3ellq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4403&group=comp.os.cpm#4403

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usenet20...@autometer.de (Tilmann Reh)
Newsgroups: comp.os.cpm
Subject: Re: Z280 timer
Date: Tue, 8 Aug 2023 17:07:20 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uatllp$3ellq$1@dont-email.me>
References: <uaqskk$828n$1@solani.org> <uasnj9$39c3e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Aug 2023 15:06:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b8fcf5937bd4577dbebe4dd78c5847c4";
logging-data="3626682"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1809tvuWP3J7/b718ZJBb3GXK2u8ChPmTA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.13.0
Cancel-Lock: sha1:GUurqnXLjKySK1BOrB4tFxS5wvk=
Content-Language: en-US
In-Reply-To: <uasnj9$39c3e$1@dont-email.me>
 by: Tilmann Reh - Tue, 8 Aug 2023 15:07 UTC

Am 08.08.2023 um 08:33 schrieb Tilmann Reh:
> When I used the Z280 decades ago, I set the CS1 register to E0h, not C0h.
>
> Don't have the manual at hand to look up what that means...

Following the manual linked by Fritz, that makes the difference.

Bit 5 is the Trigger Bit ("TG"), which needs to be set from 0 to 1 to
start the counter/timer. See page 9-7 of the manual, last paragraph.

Tilmann

Re: Z280 timer

<uavp52$3rcg$1@solani.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4414&group=comp.os.cpm#4414

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: rf.baumg...@t-online.de (Robert)
Newsgroups: comp.os.cpm
Subject: Re: Z280 timer
Date: Wed, 9 Aug 2023 12:18:10 +0200
Message-ID: <uavp52$3rcg$1@solani.org>
References: <uaqskk$828n$1@solani.org> <uasnj9$39c3e$1@dont-email.me>
<uatllp$3ellq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 9 Aug 2023 10:18:10 -0000 (UTC)
Injection-Info: solani.org;
logging-data="126352"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:RLKNvGCeSR/w4TMbGPQzmrcCDf8=
In-Reply-To: <uatllp$3ellq$1@dont-email.me>
Content-Language: en-US
X-User-ID: eJwNx8cBwDAIBLCVDD7aOJSw/wiOfpKrpG1QUcjKHl5yBnop++/hAp2vPIMGal0ZE253IsERDxSnEM8=
 by: Robert - Wed, 9 Aug 2023 10:18 UTC

On 8/8/23 17:07, Tilmann Reh wrote:
> Am 08.08.2023 um 08:33 schrieb Tilmann Reh:
>> When I used the Z280 decades ago, I set the CS1 register to E0h, not C0h.
>>
>> Don't have the manual at hand to look up what that means...
>
> Following the manual linked by Fritz, that makes the difference.
>
> Bit 5 is the Trigger Bit ("TG"), which needs to be set from 0 to 1 to
> start the counter/timer. See page 9-7 of the manual, last paragraph.
>
> Tilmann

@ Fritz and Tilmann

Thanks for the help
The timer 1 is now working

Robert

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor