The board fabrication is done, I am expecting the pc boards Monday. Don't know about the part delivery schedule, however.
There are loose ends with the hurried-up design. The reset is active high, clock is divided-by-2, haven't made up my mind about RD, WR, IORQ. My goal with this board is get the processor to talk through the serial port. I'll make up the rest as I go along or design another board from what I've learned.
Bill
I found the SCC68070CAAA84 on eBay for $4.62. URL:https://www.ebay.com/itm/1pcs-SCC68070CAA84-SCC68070-16-32-Bit-Microprocessor-PLCC84-PHILIPS/263326671803 The shipping is $11 but it is ths same cost to buy 1 or more. The part seems to be a 68000 with 16 bit data bus and 24 bit address bus plus UART, timers, DMA and I2C. It is not clear whether the UART can run faster than 19.2K.
* 11/27/19
* first test program for P90CE201 on X688 pc board
*
SBUF equ $80002021 * serial port data reg
SCON equ $80002023 * serial port control reg
T0CON equ $80002035 * timer0 control reg
T1CON equ $80002045 * timer1 control reg
T2CON equ $80002055 * timer2 control reg
TH2 equ $80002050 * timer2 high reg
TL2 equ $80002051 * timer2 low reg
RCAPH2 equ $80002052 * timer2 reload reg high
RCAPL2 equ $80002053 * timer2 reload reg low
org 0
dc.l stack
dc.l start
start:
nop
* use timer2 to generate baud clock for UART
move.b #$ff,RCAPH2 * stuff 0xfffc into RCAP2
move.b #$fc,RCAPL2
move.b #0,T0CON * disable timer0
move.b #0,T1CON * disable timer1
move.b #$34,T2CON * timer2 is baud rate at 115200
* set UART to normal serial mode
move.b #$50,SCON
* serial port should be ready now
tx0:
move.b #$20,d1 *start with ' '
tx:
move.b d1,SBUF * write to serial port
move.w #$fff,d0 *delay loop
spin:
nop
dbra d0,spin
add.b #1,d1 *increment serial data
cmp #$7e,d1
bne tx
bra tx0
org $1001000
stack:
end start
10 FOR Y=-12 TO 12
20 FOR X=-39 TO 39
30 CA=X*0.0458
40 CB = Y*0.08333
50 A=CA
60 B=CB
70 FOR I=0 TO 15
80 T=A*A-B*B+CA
90 B=2*A*B+CB
100 A=T
110 IF (A*A+B*B)>4 GOTO200
120 NEXT I
130 PRINT " ";
140 GOTO 210
200 IF I>9 THEN I=I+7
205 PRINT CHR$(48+I);
210 NEXT X
220 PRINT
230 NEXT Y
Bill,
Simple S record loader, v0.3
load address is offset by $1000000 to run in RAM
auto execute at 0x1001000 after load finish
type eb followed by carriage return to run EhBasic
ready to receive S record
eb
391694 Bytes free
Enhanced 68k BASIC Version 3.52
for the Sim68k 68000 simulator
Extension commands Version 2.33
Ready