RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » adapt ECB CVDU to ROMWBW RC2014
adapt ECB CVDU to ROMWBW RC2014 [message #8252] Wed, 27 January 2021 12:03 Go to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
I've purchased a MOS8658 video chip in the hopes of getting it to provide a console for my RC2014 RCZ180_nat ROMWBW system. The CVDU is of course for ECB, not RC2014, so some modifications will be necessary to the make it work.

I've got the following at the end of Config/RCZ180_nat.asm:
CRTACT		.EQU	TRUE		; ACTIVATE CRT (VDU,CVDU,PROPIO,ETC) AT STARTUP
CVDUENABLE	.EQU	TRUE		; CVDU: ENABLE CVDU VIDEO/KBD DRIVER (CVDU.ASM)

tasm eventually emits errors like:
kbd.asm line 0182: Label not found: (KBDTRACE)
kbd.asm line 0208: Label not found: (KBDTRACE)
kbd.asm line 0234: Label not found: (KBDTRACE)
kbd.asm line 0475: Label not found: (KBD_MAPEXT)

presumably as it's wanting to pull in PS/2 keyboard libraries not in cfg_rcz180.asm. I'd like to focus first on video output, so how would I go about commenting out whatever's getting pulled in via cvdu.asm? Comment out everything 'KBD' related?
Re: adapt ECB CVDU to ROMWBW RC2014 [message #8253 is a reply to message #8252] Wed, 27 January 2021 17:59 Go to previous messageGo to next message
b1ackmai1er is currently offline  b1ackmai1er
Messages: 396
Registered: November 2017
Senior Member
hi

Try:

In hbios.asm

commenting out the #INCLUDE "kbd.asm" line

In cvdu.asm

comment out CALL KBD_INIT

change .DW KBD_STAT, .DW KBD_FLUSH, .DW KBD_READ all to .DW CALLDUMMY

Without kbd you will have to implement some other input method.

Regards Phil

Re: adapt ECB CVDU to ROMWBW RC2014 [message #8254 is a reply to message #8253] Thu, 28 January 2021 06:39 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Thank you! Eventually I'll implement the PS/2 input on a separate card (I don't think it'll fit with the video on the prototype board).
Re: adapt ECB CVDU to ROMWBW RC2014 [message #8315 is a reply to message #8254] Thu, 11 February 2021 12:56 Go to previous message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
I've got the digital part of the card built and burned a new ROM with the suggested changes. I'll either have to mod it to raise CE at address 0xE4 or find where that is in ROMWBW and make it one of the addresses supported by the proto card.

EDIT:
The base address is defined at the top of cvdu.asm. My card will decode 0x80 to 0x8F, I guess, to avoid hardware mods to the proto board.

/forum/index.php?t=getfile&id=1983&private=0

[Updated on: Thu, 11 February 2021 13:21]

Report message to a moderator

Previous Topic: RC2014 Z80 /WR and /RD mutually exclusive?
Next Topic: Nobel prize in harware goes to ...


Current Time: Mon Mar 24 21:52:03 PDT 2025

Total time taken to generate the page: 0.03580 seconds