• Please review our updated Terms and Rules here

Solid State Music IO-4

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

I have my other serial card working, and now for this one with John's Monitor..

I have it Displaying correctly, But, it won't show input..

I am wondering How or which status bits do I hook up to which Data bits to make it work correctly, with John's Monitor Program ??

THANK YOU Marty
 
Hi All;

I May have the information that I need, the IO-4 can be wired up to act like the 8251 UART, and that I have done, I then have some code from ther book '8080 8085 Software Design' (Book 2) on the chapter on UARTS..

The code is alot like John's with small differences, so tomorrow I will see if this code or the information from this chapter helps..

THANK YOU Marty
 
Last edited:
Marty,

Here is a listing of a quick echo test I used for my SSM IO-4. It includes the configuration information.
Note that it is set up for "Standard" MDS I/O. Sorry for the spacing problems in the listing. I copied it in
from a text file but it dropped all of the nice spacing that I had in it. Copy it out to your text file and edit
all of the spacing back in so it will be more readable. Hope this helps.


;
; IO4TST.ASM ECHO TEST ROUTINE
; MDS "STANDARD" CONFIGURATION
;
; S1-1-2 OFF
; S1-3 ON
; S1-4-7 OFF
;
; S2-1-2 OFF
; S2-3 ON
; S2-4-7 OFF
;
; W1 4-9 D0 DAV
; W1 5-16 D7 TBMT
;
; W2 4-9 D0 DAV
; W2 5-16 D7 TBMT
;
; JUMP ON NOT ZEROS
;
; U16 74(LS)368
; U18 74(LS)368
;
; S3 ALL ON
;
; S4-1-2 OFF
; S4-3-7 ON
;
;
ORIGIN EQU 4000H ;CODE ADDRESS
HOLD EQU 3000H ;BYTE HOLD ADDRESS
;
TSTAT EQU 00H ;List status port
TDATA EQU 01H ;List data port
INMSK4 EQU 01H ;DAV - INPUT MASK
OMSK4 EQU 80H ;TBMT - OUTPUT MASK
;
START: ORG ORIGIN
;
; INPUT STATUS ROUTINE
;
ISTAT: IN TSTAT ;READ STATUS PORT
ANI INMSK4 ;INPUT STATUS BIT
JNZ ISTAT
;
; INPUT ROUTINE
;
IDATA: IN TDATA ;READ DATA PORT
STA HOLD ;STORE BYTE
;
; OUTPUT STATUS ROUTINE
;
OSTAT: IN TSTAT ;READ STATUS PORT
ANI OMSK4 ;OUTPUT STATUS BIT
JNZ OSTAT
;
; OUTPUT ROUTINE
;
ODATA: LDA HOLD ;RETRIEVE STORED BYTE
OUT TDATA ;WRITE DATA PORT
JMP ISTAT
;
END



Good luck,
Phillip
 
Back
Top