Home » RBC Forums » General Discussion » General Instrument CTS256A-AL2 vs. Microchip CTS256AL2
Re: DAISY256 works [message #10724 is a reply to message #10723] |
Mon, 22 April 2024 15:10   |
lynchaj
Messages: 1080 Registered: June 2016
|
Senior Member |
|
|
Hi Jay
Thankfully, we have the disassembled CTS256 source code which can be found her: https://github.com/GmEsoft/CTS256A-AL2/blob/main/CTS256A.ASM
Looking over the code, I think this is the region which determines input mode (serial or parallel) and then configures the serial port based various parameters.
We'll update the values in SCT1TB and T3DATB to account for the faster UART cycle clock and burn a new firmware boot EPROM.
Also, it looks like TI changed the serial port register locations from TMS7xx1 to TMS7xCx2 so they'll need to be updated too.
Maybe other things but most of the functionality should be unchanged. Just dropping in the TMS70C02 it boots using the legacy CTS256 firmware and gets as far as saying "O-K" so most of it seems to be fine. Although the serial ports are screwed up.
START MOV %>3A,B
LDSP ; Init stack pointer 3B-XX
MOVD %>2000,R45 ; R45 := $2000
MOVP %>AA,P0 ; P0 = IOCNT0 := 1010 1010
; Full Expansion;
; Clear INT1, INT2 and INT3 flags
MOVP %>0A,P16 ; P16 = IOCNT1 := 0000 1010
; Clear INT4 and INT5 flags
MOVP P4,B ; Read P4 = APORT
AND %>07,B ; Get Serial mode
CMP %>00,B ; Is it Parallel mode ?
; useful ?
; Jump if yes
JZ PARALL ; Start in parallel mode
AND %>7F,R10 ; Clear R10.7, indicating serial mode
MOVP P4,A ; Read P4 = APORT
AND %>08,A ; Get Selectable Serial Config flag
CMP %>00,A ; Is it set ?
; useful ?
; Jump if not
JZ SER7N2 ; Serial fixed 7N2 config
LDA @>1000 ; Read serial config from $1000
MOVP A,P17 ; Init P17 = SMODE with seria config
JMP SERSEL ; Serial selectable config
SER7N2 MOVP %>CB,P17 ; P17 = SMODE := Fixed Serial 7N2 config
SERSEL MOVP %>15,P17 ; P17 = SCTL0 := OOO1 O1O1
; Reset error flags; enable RX & TX
; A := value for SCTL1 (prescaler)
LDA @SCT1TB(B) ; Table of values for SCTL1
PUSH A
; A := value for T3DATA (timer3 reload)
LDA @T3DATB(B) ; Table of timer3 reload values T3DATA
POP B
MOVP B,P21 ; set SCTL1
MOVP A,P20 ; set T3DATA
ORP %>01,P16 ; enable T4
; proceed with RAM setup
JMP INIRAM ; Init RAM config
; Table of values for SCTL1
SCT1TB BYTE >FF,>40,>43,>40,>43,>40,>40,>40
; Table of timer3 reload values T3DATA
T3DATB BYTE >FF,>20,>57,>07,>C2,>0F,>81,>03
[Updated on: Mon, 22 April 2024 15:21] Report message to a moderator
|
|
|
 |
|
General Instrument CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Fri, 28 April 2023 03:28
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: scruss on Sat, 06 May 2023 16:46
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Sat, 06 May 2023 18:13
|
 |
|
Re: github project may have extracted the CTS256A-AL2 code
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
|
 |
|
Re: Programming the Naval algorithm as a CTSx for PIC/TMS7000 or otherwise
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Mon, 08 May 2023 04:04
|
 |
|
Re: Is the PIC/TMS7041 field programmable?
|
 |
|
Re: Is the PIC/TMS7041 field programmable?
By: lynchaj on Mon, 08 May 2023 12:50
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
By: lynchaj on Tue, 09 May 2023 04:41
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
By: scruss on Sun, 14 May 2023 09:40
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
By: scruss on Wed, 17 May 2023 07:11
|
 |
|
Re: No source of new-old CTS256A-AL2 economical micro solutions
|
 |
|
Emulating a TMS/PIC7000 (CTS256A-AL2) in a new MCU...
|
 |
|
CHAPTER 01 :: "Introduction to Hardware Emulation of the 7000 Series"
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Mon, 25 March 2024 11:23
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Wed, 27 March 2024 19:11
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Sun, 31 March 2024 08:46
|
 |
|
7000 Series Unobtainium may be OBTAINium?
|
 |
|
Re: General Instruments CTS256A-AL2 vs. Microchip CTS256AL2
By: lynchaj on Sun, 31 March 2024 17:38
|
 |
|
Tables of Various 7000 Series Device Features/Specifications
|
 |
|
Re: TMS7000 Series Devices (Manual section 2.1)
By: lynchaj on Mon, 01 April 2024 12:01
|
 |
|
Prototyping 7xxx Devices appear to support External Memory?!
|
 |
|
Re: TMS7000 Series Devices (Manual section 2.1)
By: lynchaj on Wed, 03 April 2024 03:57
|
 |
|
Re: TMS7000 Series Devices (Manual section 2.1)
By: lynchaj on Thu, 04 April 2024 04:59
|
 |
|
CTS256 resurrection from old 70xx & SP-0256* too?!
|
 |
|
Re: TMS7000 Series Devices (Manual section 2.1)
By: lynchaj on Thu, 04 April 2024 10:00
|
 |
|
70x1 Memory Access Timing: Internal -versus- External Access
|
 |
|
Re: 70x1 Memory Access Timing: Internal -versus- External Access
By: lynchaj on Fri, 05 April 2024 06:07
|
 |
|
TMS7000 Series with Custom Micro-Coded Instructions
|
 |
|
Re: TMS7000 Series with Custom Micro-Coded Instructions
By: lynchaj on Sat, 06 April 2024 16:52
|
 |
|
Daisy 256 & the Speech Processor
|
 |
|
Re: Daisy 256 & the Speech Processor
By: lynchaj on Sun, 07 April 2024 07:08
|
 |
|
Reverse-Engineering the Speech Processor ROM
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Sun, 07 April 2024 18:13
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Mon, 08 April 2024 03:46
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Tue, 09 April 2024 04:22
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Tue, 09 April 2024 09:49
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Tue, 09 April 2024 10:50
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
|
 |
|
Re: Reverse-Engineering the Speech Processor ROM
By: lynchaj on Thu, 11 April 2024 09:56
|
 |
|
Re:TMS700x Memory Interface Mode Timing Spreadsheet UPDATE
|
 |
|
Re: What TMS7000 Family Data Manual Version Am I Using?
By: lynchaj on Fri, 12 April 2024 13:54
|
 |
|
Re: What TMS7000 Family Data Manual Version Am I Using?
By: lynchaj on Fri, 19 April 2024 03:37
|
 |
|
DAISY256 works
By: lynchaj on Mon, 22 April 2024 03:36
|
 |
|
Re: DAISY256 works
By: lynchaj on Mon, 22 April 2024 12:57
|
 |
|
Re: DAISY256 works
By: lynchaj on Mon, 22 April 2024 15:10
|
 |
|
Re: DAISY256 works
By: lynchaj on Tue, 23 April 2024 03:54
|
 |
|
Re: DAISY256 works
By: lynchaj on Tue, 23 April 2024 12:02
|
 |
|
Re: DAISY256 works
|
 |
|
Re: DAISY256 works
By: lynchaj on Sat, 27 April 2024 12:12
|
 |
|
Baud Rate Tables for 70x1, 70x2, 70Cx2
|
 |
|
Re: DAISY256 works
By: lynchaj on Mon, 29 April 2024 04:16
|
 |
|
Re: DAISY256 works
By: plasmo on Mon, 29 April 2024 05:52
|
 |
|
Re: DAISY256 works
|
 |
|
Re: DAISY256 works
By: plasmo on Mon, 29 April 2024 20:25
|
 |
|
Re: DAISY256 works
By: lynchaj on Tue, 30 April 2024 04:44
|
 |
|
Re: DAISY256 works
|
 |
|
Re: DAISY256 works
By: lynchaj on Tue, 07 May 2024 04:50
|
 |
|
Re: DAISY256 works
|
 |
|
Re: DAISY256 works
By: lynchaj on Wed, 15 May 2024 03:38
|
 |
|
Re: DAISY256 works
By: scruss on Wed, 24 July 2024 15:46
|
 |
|
Re: DAISY256 works
|
 |
|
Re: DAISY256 works
By: lynchaj on Sun, 16 June 2024 11:21
|
 |
|
Re: DAISY256 works
|
Current Time: Fri Sep 26 18:20:12 PDT 2025
Total time taken to generate the page: 0.50112 seconds
|