
Apple II Computer Info
#############################################################################
### FILE : ssc.example
#############################################################################
### Created : Sunday, January 14, 1996 Modified: Sunday, January 14, 1996
### File Type: "TEXT" File Creator: "LMAN"
### File Size: 3676 bytes 3 KB
#############################################################################
Path: ns-mx!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!David.Empson
Newsgroups: comp.sys.apple2
Subject: Re: memory mapped locations ($0CXXX) needed for printer, serial ports.
Date: 31 Aug 91 14:39:48 GMT
Organization: Actrix Information Exchange, Wellington, New Zealand
Lines: 91
>
> I am attempting to use my Apple II+ as a printer buffer (serial in,
> parallel out). However, my Super Serial Card manual is rather sparse on
> details, as it is strictly a users manual.
I'm assuming you are using assembly language here.
Is this a real Apple Super Serial Card, or a clone of it? Even the
clone SSCs that I've seen come with a full manual.
> It gives certain entry points, but they are blocking, not polling.
Which entry points are these? The BASIC interface is entirely
blocking (JSR $Cn00 to set up, then use COUT and RDKEY to get or send
bytes). The Pascal interface's I/O calls are also blocking, but there
is a status call, which you can ask 'are you ready for output' and 'do
you have any input available'.
To confirm that your card has the Pascal interface, check the
following bytes (assuming the card is in slot 's'):
Signature bytes: $Cs05 = $38, $Cs07 = $18, $Cs0B = $01.
The entry points for the Pascal interface are contained in a lookup
table starting at $Cs0D. Each table entry contains the low byte of
the start address of the corresponding routine. The high byte is $Cs.
$Cs0D offset to INITIALIZE routine
$Cs0E offset to READ routine
$Cs0F offset to WRITE routine
$Cs10 offset to STATUS routine
For example, if $Cs0D contains the number $44, the initialize routine
starts at $Cs44.
All the routines must be called with X containing $Cs and Y containing
$s0 (e.g. $C2 and $20 for slot 2).
Apple II Computer Technical Information : Apple II Family Hardware Info
ftp://ground.ecn.uiowa.edu/2/apple2/miscinfo/hardware : May 2001 : 470 of 572
Comentários a estes Manuais