16th May 2020, 2:22 pm | #141 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: Recreating the Bywood Scrumpi
That book looks interesting! I guess it second hand?
|
16th May 2020, 2:25 pm | #142 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Yes I managed to find a copy in the UK as I assumed delivery from the US would be more difficult. This is the reprint from 1980 as it originally came out in 1979 so at the tail end of the SC/MP and just before the rise of the Z80 but, I assume it was written a year or two before.
|
16th May 2020, 2:29 pm | #143 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Well I cannot find why this damm thing is holding all except D5 and D4 low - that will mean the system is executing XPAL 00 so the accumulator will become the low byte of the PC (which is already advanced to the next instruction). If I force D4/5 low with the switches it executes a HALT as the D7 light comes on on each tri-state pause between steps as it should with a halt instruction - so it is just the memory issue to solve now I think and the thing will work.
|
16th May 2020, 2:47 pm | #144 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: Recreating the Bywood Scrumpi
Does it change if you swap the memory chips over?
|
16th May 2020, 2:51 pm | #145 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Nope just tried that - great minds think alike!
|
16th May 2020, 3:09 pm | #146 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
I have also just run it with no memory and switches set to 00011001 which is the SIO instruction - tapping SIN high and low in time with the slow clock allows me to display a delayed pattern of the SOUT light on and off consistent with the 9 instructions it takes to shift all 9 bits (it is a circular instruction)... with the 8 bits in the accumulator and the one bit latch... So I can set the bus to instructions and it responds! Put the memory in and no dice. Off to make myself a DIODE board with a short program on I think...
|
16th May 2020, 3:16 pm | #147 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: Recreating the Bywood Scrumpi
Did you retest the RAM in the MK14? If it's OK then perhaps I missed something when comparing the 2111 and 2112.
|
16th May 2020, 3:49 pm | #148 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Yes I have written by hand to the first few user bytes F12 onwards but SCIOS boots Ok and that uses the first 18 bytes anyway. Mystery isn't it...
|
16th May 2020, 4:28 pm | #149 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
Hello
so it is necessary to suprimer any possibility of insertion of an 8a/600 as I thought so I correct the pcb accordingly scrumpi I is sc/mp I scrumpi II sc/mp II |
16th May 2020, 4:29 pm | #150 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
I delete the strap
|
16th May 2020, 4:44 pm | #151 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
I think it would be worth doing a version of the PCB to use the SC/MP II - it seems the only extra is somewhere to allow 8 pullups. They are easier to find - it is up to you - it will always be a copy of the board with a guess on routing so some minor changes to make it flexible are not an issue. You could for example just use the 8 holes for the data bus that are already included (or perhaps have a double hole where the straps go to the RAM chips - we can provide two pads to 5v then from the corner of the Address Decode and the First IO Chip (Put one by the 2nd as well so you could use the data bus holes instead if you wanted) - you would use one connection for each of the four resistors in a line - so no other changes are needed.
|
16th May 2020, 4:59 pm | #152 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
I will create two pcbs first with the sc/mp I since the goal was to recreate this model with the maximum approach of the original and a second modular pcb to make functional tests
|
16th May 2020, 10:02 pm | #153 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
the pcb moves well
|
16th May 2020, 10:21 pm | #154 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Wow - it is coming on well. Looking forward to seeing this. I found another wiring error on my board but, still cannot make the memory work - I will have the real chips on Monday and the ISP-500 so I will be able to try more testing. I think it it is close.
|
16th May 2020, 10:45 pm | #155 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: Recreating the Bywood Scrumpi
Given the memories appear to be ok and the cpu appears to be working then I think there must be some difference I have missed between the 2112 and the 2111.
|
16th May 2020, 11:11 pm | #156 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
Well I have made some progress - I have it running a small program LDI X00:HALT:HALT:XPAL which of course loops back to the first byte of memory.
I can single step, run continuous or run until HALT - which always stops on add 3 or add 2 which I would expect... The problem I have is that I was lucky that when I powered on this time there were 1's in address 1 so I was able to use them to program the LDI, there were only 1's in D5 and D4 which the bus continuously asserts in memory 2-4 - so I was only able to write 0's into them to change them to the operand H00 and two HALT instructions - then of course I have the XPAL 00110000! So I think the issue is that the memory remains Enabled with /CE held low so the bus always shows the contents of memory - ergo I never get any 1's except where there are some in memory already I can covert into a useful instruction - limited choices... like my SIO earlier with no memory... |
17th May 2020, 9:24 am | #157 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
Hello
I’m happy for you. you have modifications on the inital schemat made a plan to check and send me the |
17th May 2020, 9:29 am | #158 |
Pentode
Join Date: Jul 2017
Location: Toulon, France
Posts: 239
|
Re: Recreating the Bywood Scrumpi
datasheet 2112 et 2111
|
17th May 2020, 10:01 am | #159 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: Recreating the Bywood Scrumpi
I can't see a problem with the details for the 2112->2111 adaptor. CE2 is out of the way as it is just held low. The oddly named 'OD' (Output disable) is coming from NRDS which is a direct signal from the uP, this appears to leave only CE1 and R/W as possible causes for the problem.
Which is the latest schematic showing how those signals are generated? (it's difficult to keep up). |
17th May 2020, 10:29 am | #160 |
Octode
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,364
|
Re: Recreating the Bywood Scrumpi
My current scribbles are here - the red shows the changes needed for the pin numbers on the PCB after the work Phil and I did on tracing the PCB (The black ones are the ones I used on the model). The only thing I have not updated is to look at the changes to the trace that Phil did around SLOW and STEP and check it corresponds - although the change of R11 and R8 has been done R11 the pullup for the reset should be to the center of the switch not the top - I will redraw soon neatly.
This is the board as it stands at the moment using my jumpers to wire up the flags etc. and here is the best shot I can get of the area around the memory adapters which shows the Orange flying lead from Pin 2/NRDS to the strapped OE on the AM9111's. The Green one is a tap for me to watch the /CE(1) line. The Brown one is a flying lead to allow me to Tap SIN to GND or 5V to inject bits for the SIO instruction. Don't forget as well my PROTECT switch is used as ON/OFF as I have a three position one that does the same - wiring shown in Grey on bottom right of circuit. |