UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Reply
 
Thread Tools
Old 24th Mar 2024, 5:12 pm   #1
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Karen's most recent SC/MP

Somehow I'd missed this, probably because it isnt in the "Vintage Computers" section. The design appears to be similar in many ways to the PICL, but has 32k of memory rather than 8k, and runs genuine NIBL as a 'real' SC/MP would, ie there are no PIC pseudo-ops for serial terminal access - its 'real' NIBL as nature intended. And since we all use FTDI rather than 'real' RS232 its a two-chip, full-memory NIBL system. This sounds interesting to me
Has anyone any experience of this build? Its dated 2019 so presumably is Karen's very latest emulation (though I note some instructions aren't included)
https://www.vintage-radio.net/forum/...02#post1154702
Cheers
Phil
Phil__G is offline   Reply With Quote
Old 24th Mar 2024, 9:17 pm   #2
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karens most recent SC/MP

I don’t remember seeing this one. Karen posted most of her creations in the homebrew section, which is where I guess most of this type belong, though the moderators seem quite forgiving in the vintage computer section.

This reminds me of yet another unfinished project, an adapter to plug a pic into an MK14 replica. I stalled on that one as I wasn’t certain I could manage the software mods. Seems like Karen already did enough for it to work.
Mark1960 is offline   Reply With Quote
Old 25th Mar 2024, 12:54 am   #3
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,595
Default Re: Karens most recent SC/MP

I actually think vintage computer specific homebrew projects belong better in this section, I often nearly or completely missed Karen's projects because she did follow canon and posted them in the homebrew section. Normally when she did post them there they were fully polished and finished, whereas OrtonView was not only a work in progress but a race against time.
SiriusHardware is offline   Reply With Quote
Old 27th Mar 2024, 1:38 am   #4
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

I'm intrigued, so I'm going to make one up on vero, its only two chips.
I had a look at the pic code, inverted Flag 0 so theres no need for a
hardware inverter to the FTDI and found where to change the write-protect
from 4k to 2k for KB+ (for a later date)
NIBL will need upping to at least 300 baud as the FTDI wont do 110,
which is a shame as that would be proper retro
Interesting and yet a shame the project has not been more visible
Phil__G is offline   Reply With Quote
Old 27th Mar 2024, 3:19 am   #5
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karen's most recent SC/MP

The CH340 looks like it supports 110 baud according to the datasheet. I’m not sure if the drivers support this. Maybe check the CH340 module that you used on your 8k PICL.

RTS might also need to be inverted.
Mark1960 is offline   Reply With Quote
Old 27th Mar 2024, 6:09 am   #6
ortek_service
Octode
 
ortek_service's Avatar
 
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 1,444
Default Re: Karen's most recent SC/MP

Well the CH340 WinXP (32bit) driver, at least (that I'd managed to find for it and have been using), lets you set it to 110 baud (with 75 baud the min setting, one below this).
- Although just trying Tera Term, that only lets you go down to 110 baud.

But I've just tried a loopback-test (on a 'WEMS.CC' CH340 Module I got 5off v.cheap via Aliexpress) with both of driver & Tera Term set to 110 baud and that at least seems to work OK with typed characters only echoing-back when Tx & Rx are linked together.
ortek_service is offline   Reply With Quote
Old 27th Mar 2024, 11:07 am   #7
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

Thanks Owen, I'll give it a try - though I have changed the nibl embedded in the pic to 1200 - I'd like to try 110 just for giggles
Phil__G is offline   Reply With Quote
Old 28th Mar 2024, 5:52 pm   #8
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

Just awaiting a 10Mhz crystal... not the neatest but its just a trial.
I notice in the diagram, SenseA is grounded - possibly a mistake? NIBL doesnt use SenseA.
Attached Thumbnails
Click image for larger version

Name:	IMG_20240328_163549728_HDR.jpg
Views:	44
Size:	76.4 KB
ID:	295530   Click image for larger version

Name:	IMG_20240328_163525863.jpg
Views:	39
Size:	58.7 KB
ID:	295531  

Last edited by Phil__G; 28th Mar 2024 at 6:13 pm.
Phil__G is offline   Reply With Quote
Old 28th Mar 2024, 6:37 pm   #9
audiokit
Triode
 
Join Date: Jan 2021
Location: Hulst, Netherlands.
Posts: 47
Default Re: Karen's most recent SC/MP

I just was thinking, as it behaves like a real INS8060, would it be possible to run it in the sc/mp elektor environment?
audiokit is offline   Reply With Quote
Old 28th Mar 2024, 6:42 pm   #10
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

I would expect so Benny, other than the SOUT/SIN pins and SIO instruction...
With a pin adapter I think it should also work in the MK14
Phil__G is offline   Reply With Quote
Old 28th Mar 2024, 7:32 pm   #11
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karen's most recent SC/MP

Is it a 10MHz crystal to run at 110 baud? That wasn’t clear in Karen’s pdf, but she did say 10MHz to emulate 2MHz sc/mp and 20MHz to emulate 4MHz sc/mp.
Mark1960 is offline   Reply With Quote
Old 28th Mar 2024, 9:23 pm   #12
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,595
Default Re: Karen's most recent SC/MP

Anyone know the historic reason for 110 baud? Nearly all other baud rates from 300 upwards are upward multiples 600, 1200, 2400, 4800, 9600, 19200, etc. Even the old 75 baud (as in 1200-75) is 300/4 (or 1200/16), so both baud rates can be derived from the same clock.

I'm guessing 110 baud pre-dates computers as we know them.
SiriusHardware is offline   Reply With Quote
Old 28th Mar 2024, 9:55 pm   #13
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

I just think 110 was as fast as a mechanical teletype device could manage.
Anywho, I couldnt wait for the crystals so tried a 20Mhz and changed the embedded NIBL code to 1200 baud,
inverted Flag 0 in the pic code & it works great:
Attached Thumbnails
Click image for larger version

Name:	IMG_20240328_204640976.jpg
Views:	40
Size:	79.3 KB
ID:	295544   Click image for larger version

Name:	IMG_20240328_205625843~2.jpg
Views:	33
Size:	90.2 KB
ID:	295545  

Last edited by Phil__G; 28th Mar 2024 at 10:03 pm.
Phil__G is offline   Reply With Quote
Old 29th Mar 2024, 12:43 am   #14
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

https://youtu.be/INmYBrxteMs
Phil__G is offline   Reply With Quote
Old 29th Mar 2024, 3:13 am   #15
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

Quote:
Originally Posted by audiokit View Post
I just was thinking, as it behaves like a real INS8060, would it be possible to run it in the sc/mp elektor environment?
Quote:
Originally Posted by Phil__G View Post
I would expect so Benny, other than the SOUT/SIN pins and SIO instruction...
With a pin adapter I think it should also work in the MK14
Now I've looked at the code a bit more, I'm not sure.
There's no page restriction on LD & ST so no below-zero references to the top of page zero - say a pointer contains 0FFF and gets incremented, a real SC/MP pointer would be at 0000 whereas this emulation would increment to 1000. Consequently all the stack & variables referenced by SCIOS as negative offsets from low memory but which actually live just below 0FFF would be addressed as FFFF and below. With the partial address decoding of the MK14 that might be ok, basically the MK14 ignores A12-A15 which are the 'misbehaving' bits. Maybe.

Theres also the NIBL load and the associated write-protect to disable, I have done that if you fancy giving it a try?
Attached Files
File Type: zip SCMPemuRAW.zip (11.4 KB, 20 views)
Phil__G is offline   Reply With Quote
Old 30th Mar 2024, 1:31 pm   #16
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

I've had a look through the code from Karens 2019 post
...and found that unfortunately the DAE/DAI bug has been carried through.
I've posted updated PIC software: https://www.mccrash-racing.co.uk/phi...picl.htm#k2019
This has 2400bd NIBL with the bit7 bug fixed, the emulation has DAE etc fixed and you dont need an external
inverter on Flag0 (tx) so it connects directly to an FTDI. In due course I'll probably be adding the missing SOUT pin

This has to be the cheapest, easiest full-32k-memory NIBL machine, in two chips!

Cheers
Phil

Last edited by Phil__G; 30th Mar 2024 at 1:40 pm.
Phil__G is offline   Reply With Quote
Old 30th Mar 2024, 4:45 pm   #17
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karen's most recent SC/MP

If scios is consistent and only uses the wrap around to access ram at the top of page 0 then it might still work on a 64k ram system, but would be using ram at the top of memory instead of the top of page 0. Same goes for any memory map that has ram at FF00 to FFFF.

On an MK14 with only 12 address lines its almost sure to work, but might be some other problem not dicovered yet.
Mark1960 is offline   Reply With Quote
Old 31st Mar 2024, 8:15 pm   #18
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karen's most recent SC/MP

Looking through the datasheet for CH340 and found that the RXD input of the CH340G can be inverted by applying Vcc to RS232 input during power on reset. This means shorting pins 15 and 16 on the SOP16 would remove the need to invert the TX output for NIBL.
Mark1960 is offline   Reply With Quote
Old 1st Apr 2024, 12:28 am   #19
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,122
Default Re: Karen's most recent SC/MP

Thanks Mark, that could be useful on genuine INS8060 NIBLs, for this particular project its not necessary. I still have a few CH340Gs but for a while now I've preferred FTDIs as the handshaking actually works

Last edited by Phil__G; 1st Apr 2024 at 12:47 am.
Phil__G is offline   Reply With Quote
Old 1st Apr 2024, 1:33 am   #20
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Karen's most recent SC/MP

Did you fit the link on the ch340 module to enable rts or cts?
Mark1960 is offline   Reply With Quote
Reply




All times are GMT +1. The time now is 5:53 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.