1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- ; I/O port definitions for Monroe "Monty" microcomputer
- ;
- IO$FDCTL EQU 0C0H ; Floppy external control
- IO$FDST EQU 0B0H ; Floppy status
- IO$FDCMD EQU 0B0H ; Floppy command
- IO$FDTRK EQU 0B1H ; Floppy track register
- IO$FDSEC EQU 0B2H ; Floppy sector register
- IO$FDATA EQU 0B3H ; Floppy data register
- FSBUSY EQU 1 ; FD busy
- FSDRQ EQU 2 ; Data request
- FSDLOST EQU 4 ; Data lost
- FSCRC EQU 8 ; CRC error
- FSRNF EQU 16 ; Record not found
- FSWFLT EQU 32 ; Write fault
- FSWPROT EQU 64 ; Write protect
- FSNRDY EQU 128 ; Not ready
- FDSEL EQU 00FH ; Select bits
- FDSIDE EQU 010H ; Side select
- FDMON EQU 020H ; Motor on
- FDPREC EQU 040H ; Precompensation on
- FDENAB EQU 080H ; FD 179X enable (un-reset)
- FCRZS EQU 000H ; Return to zero seek
- FCSEEK EQU 018H ; Seek
- FCSTIN EQU 038H ; Step in
- FCSTOT EQU 078H ; Step out
- FCREAD EQU 080H ; Read sector
- FCWRIT EQU 0A0H ; Write sector
- FCRADR EQU 0C0H ; Read address
- FCFMT EQU 0F4H ; Format track
- FCFINT EQU 0D0H ; Force interrupt
- FCVERF EQU 004H ; Verify option
- FCSID0 EQU 002H ; Verify side 0
- IO$DMA EQU 0ACH ; DMA control register
- IO$PMAPA EQU 0C4H ; Program map A base
- IO$PMAPB EQU 0C5H ; Program map B base
- IO$DMAPA EQU 0C6H ; DMA map A base
- IO$DMAPB EQU 0C7H ; DMA map B base
- IO$HSTRT EQU 0D8H ; Hi-res start
- IO$HCOL EQU 0D4H ; Hi-res color
- IO$SYS EQU 0C8H ; Map and system control
- IO$CRTA EQU 0B8H ; CRT register select
- IO$CRTD EQU 0B9H ; CRT data register
- IO$PIOAD EQU 0B4H ; PIO A data
- IO$PIOAC EQU 0B5H ; PIO A command
- IO$DRTAD EQU 0A0H ; DART A (printer) data
- IO$DRTAC EQU 0A1H ; DART A command
- IO$DRTBD EQU 0A2H ; DART B (keyboard) data
- IO$DRTBC EQU 0A3H ; DART B command
- IO$SIOAD EQU 0A4H ; SIO A (comm) data
- IO$SIOAC EQU 0A5H ; SIO A command
- IO$SIOBD EQU 0A6H ; SIO B (RS-232C) data
- IO$SIOBC EQU 0A7H ; SIO B command
- IO$CTC0 EQU 0A8H ; CTC CHANNEL 0 - Communications baud rate
- IO$CTC1 EQU 0A9H ; CTC CHANNEL 1 - AUX RS-232C baud rate
- IO$CTC2 EQU 0AAH ; CTC CHANNEL 2 - Printer baud rate
- IO$CTC3 EQU 0ABH ; CTC CHANNEL 3 - Real-Time Clock
|