| Title: | Atari ST, TT, & Falcon |
| Notice: | Please read note 1.0 and its replies before posting! |
| Moderator: | FUNYET::ANDERSON |
| Created: | Mon Apr 04 1988 |
| Last Modified: | Tue May 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1433 |
| Total number of notes: | 10312 |
Hello,
Please, does anybody know the address of Centronics printer port?
I need to use it without the printer driver for test purpose.
Thanks,
Jean-claude.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 745.1 | Is this what you want | UKCSSE::RDAVIES | Live long and prosper | Wed Jan 24 1990 07:27 | 27 |
Happen to have the ST programmers reference to hand:
The parrallel port is actually found on the yamaha sound chip (PSG)!
Addresses $FF8800 relevent registers:
offset(hex) register
7 mixer control/I/O enable
E I/O port A
Data is written to to a device as follows:
select enable register (mixer)
set bit 6 to a '1' (set I/O port to output)
select I/O port A data store
write data to PSG
note once data is loaded into the register it remains there until
further data is loaded, or the system is reset, or the register is
switched to input mode.
Data is read from a device as follows:
select enable register (mixer)
set bit 6 to a '0' (set I/O port to input)
select I/O port A data store
read data from PSG
The register follows signals applied to the port, only by reading
will the data be transfered to the internal bus.
Richard
| |||||
| 745.2 | Supervisor | SUBURB::JAMESH | Left Handed People are SUPER Natural | Thu Jan 25 1990 08:06 | 5 |
Don't forget to be in Supervisor mode. It's a useful port is that.
I use it to output to a printer, a plotter and input from a keyboard
and a 4 bit F/D converter to produce a picture. Now all I need is
a 4 way switch!!
...Howard
| |||||
| 745.3 | thanks | EVTAI1::LEGER | Vous avez dit GRAPHIQUE ? | Thu Jan 25 1990 08:33 | 4 |
Thanks a lot for your help.
Jean-claude.
| |||||