ACIA #2 address on Small Computer Monitor (config S2)

142 views
Skip to first unread message

Yoshitaka Kuwata

unread,
May 26, 2024, 7:48:40 AMMay 26
to RC2014-Z80
Hi,

I'd like to setup two ACIA on SC114.The document of SCM state the address is $A0;

> ACIA #2 at 0xA0? (eg. 68B50)

Actually the S2 rom reports the followings

Supported devices:
  = Z80 SIO (rc)     @ 80
  = Z80 SIO          @ 80
  = Z80 SIO (rc)     @ 84
  = Z80 SIO          @ 84
  = Z80 CTC          @ 88
  = Z80 CTC          @ 8C
  = ACIA             @ 80  detected
  = ACIA             @ 40
  = Bit-bang serial  @ 28  detected
  = CF Card          @ 10  detected
  = Diagnostic LEDs  @ 00
  = Status LED       @ 08  detected
Console devices:
1 = ACIA             @ 80
2 = Bit-bang serial  @ 28

I found the address $40 is set in 'Common/Generic_RC2014.asm'.
I want to change it to $A0, or $B0, as my 'rc2014 missing module' allow me to set $80 to $B0. Which file  should change.

-Yoshi



Steve Cousins

unread,
May 26, 2024, 2:50:48 PMMay 26
to RC2014-Z80
Hi Yoshi,

Thanks for the error report. I've now corrected my website.

The change can be made in the file you found, namely "Generic_RC2014.asm" in folder "SCWorkshop\SCMonitor\Source\Config\Common"

This is the section to modify:

; **********************************************************************
; Serial ACIA (68B50) #1 and #2
; These settings assume the main bus clock is 7.3728 MHz

#IFNDEF     INCLUDE_ACIA_n1
kACIA1:     .EQU 0x80           ;Base address of serial ACIA #1
#DEFINE     INCLUDE_ACIA_n1     ;Include ACIA #1 support in this build
#ENDIF

#IFNDEF     INCLUDE_ACIA_n2
kACIA2:     .EQU 0x40           ;Base address of serial ACIA #2
#DEFINE     INCLUDE_ACIA_n2     ;Include ACIA #2 support in this build
#ENDIF


Change
kACIA2:     .EQU 0x40           ;Base address of serial ACIA #2
to
kACIA2:     .EQU 0xA0           ;Base address of serial ACIA #2

Steve

Yoshitaka Kuwata

unread,
May 27, 2024, 1:58:05 AMMay 27
to RC2014-Z80
Hi, Steve.

Thank you for your instant reply.
I investigated the source code again. I found I prefer to modify 'config/config_S2_SC114.asm' , rather than generic definition.

> kACIA1:     .EQU 0x80           ;Base address of serial ACIA #1
> #DEFINE     INCLUDE_ACIA_n1     ;Include ACIA #1 support in this build

> kACIA2:     .EQU 0xA0           ;Base address of serial ACIA #2
> #DEFINE     INCLUDE_ACIA_n2     ;Include ACIA #2 support in this build
>
> followed by include statement....
>
; Common RC2014 bus modules
#INCLUDE    Config\Common\Generic_RC2014.asm

I'm going to make a new eeprom for testing and tell you the results.
Thank you again for your kind advice.

-Yoshi
2024年5月27日月曜日 3:50:48 UTC+9 Steve Cousins:

Yoshitaka Kuwata

unread,
May 28, 2024, 7:44:38 AMMay 28
to RC2014-Z80
Hi,

I succeeded in making SC114 recognize two ACIAs by using "Karl’s Serial and Storage Module".

I'm planning to use ACIA #2 for a midi interface.  I placed a 2MHz X'tal OSC as internal clock source.スクリーンショット 2024-05-28 20.32.54.png

IMG_3046s.jpg
2024年5月27日月曜日 14:58:05 UTC+9 Yoshitaka Kuwata:

Steve Cousins

unread,
May 29, 2024, 5:13:21 PMMay 29
to RC2014-Z80
That's good news. Good luck with the MIDI project.
Steve

Reply all
Reply to author
Forward
0 new messages