Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cpm » Need Kaypro technical help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Need Kaypro technical help [message #86020] Mon, 17 June 2013 17:37 Go to next message
cmi is currently offline  cmi
Messages: 5
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <2566@dartvax.UUCP>
Date: Wed, 14-Nov-84 12:36:25 EST
Article-I.D.: dartvax.2566
Posted: Wed Nov 14 12:36:25 1984
Date-Received: Fri, 16-Nov-84 01:36:19 EST
Distribution: net
Organization: Dartmouth College, Hanover, NH
Lines: 17

I am looking for some help with the Kaypro 2,4,10 line of micros.
I am trying to implement interrupt-driven serial I/O routines,
and am running into troubles.  I know that the Kaypros use Z80
SIO chips, which I am familiar with, but I do not know what
I am allowed to do with the interrupt structure.  In particular,
I don't know which interrupt mode would be best to use (0,1, or 2),
and I don't know if I am going to interfere with the Kaypro BIOS.
I have tried numerous things, and it looks like the Kaypro is
doing bank-select operations.  The problem occurs when I get
an interrupt and the banks are swapped, since my interrupt handling
code does not exist in the other bank.  Can anyone provide me
with some sample code or information on how to do this?  Thanks
in advance.

Theo Pozzy
USENET - ...decvax!dartvax!cmi
CSNET - cmi@dartmouth
Re: Need Kaypro technical help [message #86022 is a reply to message #86020] Mon, 17 June 2013 17:37 Go to previous messageGo to next message
hugh is currently offline  hugh
Messages: 27
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <1512@hcrvax.UUCP>
Date: Fri, 16-Nov-84 10:49:18 EST
Article-I.D.: hcrvax.1512
Posted: Fri Nov 16 10:49:18 1984
Date-Received: Sat, 17-Nov-84 01:38:49 EST
References: <2566@dartvax.UUCP>
Distribution: net
Organization: Human Computing Resources, Toronto
Lines: 14

I have done serial I/O on the Kaypro II (pre-1984 version) using
interrupts.
- Only the first 16K of address space is bank switched.
- Remember to put your interrupt routine and the vector above 16k.
- You must use the interrupt mode that allows you to
  specify that the interrupt vector is above 16k.
- If you are using PluPerfect CPM2.2E, it is already using
  interrupts with the SIO (using the SIO channel to the keyboard
  as a timer to turn off the disk after a few seconds of inactivity!).
  It would be tricky to share the SIO interrupts with CP/M 2.2E.
- Be careful to use very little stack in your interrupt routine:
  the interrupted routine may not have left you much.  Best to
  switch to a private stack immediately on entry to your
  interrupt routine.
Re: Need Kaypro technical help [message #86087 is a reply to message #86020] Mon, 17 June 2013 17:37 Go to previous messageGo to next message
oacb2 is currently offline  oacb2
Messages: 5
Registered: June 2013
Karma: 0
Junior Member
Message-ID: <1091@ut-ngp.UUCP>
Date: Sat, 24-Nov-84 14:46:48 EST
Article-I.D.: ut-ngp.1091
Posted: Sat Nov 24 14:46:48 1984
Date-Received: Sun, 25-Nov-84 09:10:42 EST
References: <2566@dartvax.UUCP> <1512@hcrvax.UUCP>
Distribution: net
Organization: U.Texas Computation Center, Austin, Texas
Lines: 8

 >  I have done serial I/O on the Kaypro II (pre-1984 version) using
 >  interrupts.
 >  - Only the first 16K of address space is bank switched.

On the Kaypro 10 the first 32K is bank switched.
-- 

	Mike Rubenstein, OACB, UT Medical Branch, Galveston TX 77550
Re: Need Kaypro technical help [message #86094 is a reply to message #86020] Mon, 17 June 2013 17:37 Go to previous messageGo to next message
mangoe is currently offline  mangoe
Messages: 30
Registered: June 2013
Karma: 0
Member
Message-ID: <1361@umcp-cs.UUCP>
Date: Sun, 25-Nov-84 23:50:39 EST
Article-I.D.: umcp-cs.1361
Posted: Sun Nov 25 23:50:39 1984
Date-Received: Tue, 27-Nov-84 04:00:35 EST
References: <2566@dartvax.UUCP> <1512@hcrvax.UUCP>
Distribution: net
Organization: U of Maryland, Computer Science Dept., College Park, MD
Lines: 8

On the same subject, is there a book that describes (a) the Kaypro
architecture and (b) how CP/M get at it?  I have a 2x, by the way, so
don't send me info about a book which doesn't discuss it unless you have
assurances that it is essentially identical to another model except for disk
drives.

Charley Wingate    {seismo|allegra}!umcp-cs!mangoe
                   (also mangoe@maryland.ARPA)
Re: Need Kaypro technical help [message #91521 is a reply to message #86020] Wed, 26 June 2013 00:47 Go to previous message
hugh is currently offline  hugh
Messages: 27
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <1539@hcrvax.UUCP>
Date: Wed, 28-Nov-84 15:17:17 EST
Article-I.D.: hcrvax.1539
Posted: Wed Nov 28 15:17:17 1984
Date-Received: Thu, 29-Nov-84 01:38:26 EST
References: <2566@dartvax.UUCP> <1512@hcrvax.UUCP> <1361@umcp-cs.UUCP>
Distribution: net
Organization: Human Computing Resources, Toronto
Lines: 11

Anyone who wants to hack on a Kaypro should read the magazine
"Micro Cornucopia" out of Bend, Oregon.  They cover the Big
Board and derivatives (Xerox 820, Kaypro, BB II,  ...).
They also are starting to cover non-Z80 single-board machines.
They sell schematics for Kaypros (they may not yet have
schematics for the new models).  Kaypro sells the source for
the BIOS, ROMs, and Kaypro-specific utilities for about $100
(called the "Tinkerkit").

Micro Cornucopia is fun to read.  It reminds me of the old
Dr. Dobbs.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: MANX Aztec C
Next Topic: Re: Re: Is this really Mr. Pournelle? (ad naseum!)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon May 13 04:56:38 EDT 2024

Total time taken to generate the page: 0.00879 seconds