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.

Closed Thread
 
Thread Tools
Old 14th Feb 2022, 6:01 pm   #61
Michael Haardt
Tetrode
 
Join Date: May 2021
Location: Titz, Germany.
Posts: 72
Default Re: The PICL V2 - a development of Karen's 2007 original

What is kitbug+ ? I have kitbug, built from original source, but never knew that was a newer version.

Michael
Michael Haardt is offline  
Old 15th Feb 2022, 8:44 pm   #62
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Hi Michael, KB+ is a simple 1k monitor I did for the PICLV2, its typical of the late 70s period with modify, list, display, hexload, registers display, go (run), nibl, etc. It has some new elements, some from my own monitor for the David Aitken SCMP, and some from the original Kitbug, hence Kitbug+. There's a bit of a demo in the video linked in the first post of this thread
Cheers
Phil
Phil__G is online now  
Old 15th Feb 2022, 11:53 pm   #63
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

..sorry Michael, I should have said, KB+ is pretty much tied to the PICLV2 as some routines like hexload and stand-alone auto-run are dependent on the updated pic code
Phil__G is online now  
Old 16th Feb 2022, 9:53 pm   #64
Michael Haardt
Tetrode
 
Join Date: May 2021
Location: Titz, Germany.
Posts: 72
Default Re: The PICL V2 - a development of Karen's 2007 original

That is a pity, a better monitor for real SC/MP systems would be nice.

Michael
Michael Haardt is offline  
Old 17th Feb 2022, 3:45 pm   #65
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Quote:
Originally Posted by Phil__G View Post
PS dont forget that the two halves of the 8k ram holding pages 1 & 2 are reversed... page 1 physically lives in the top half, page 2 in the lower 4k. This is only noticable when dumping the ram on a TL866 etc, in practise the PIC code straightens it out, but it could be the source of a 'Gotcha' when reworking... its like Karen inverted RAM A12 for some reason.
I noticed that early on. Using only 13 address lines produces several 8K mirrors across the 64K address space and since NIBL ROM is inserted into Page 0 ($0000..$0FFF) we are actually reclaiming Page 0 RAM by using a mirror of it in the Page 2 address space ($2000..$2FFF).

My 32K PICL Release 2 ('R2') update mirrors the 32K RAM at $8000..$FFFF and since Page 0 RAM ($0000..$0FFF) is replaced by NIBL ROM, we reclaim the use of that 4K block of RAM by using its mirror in Page 8 ($8000..$8FFF).

Mike
Attached Thumbnails
Click image for larger version

Name:	PICL R2 Memory Map.jpg
Views:	91
Size:	36.1 KB
ID:	252076  

Last edited by Michael - K8LH; 17th Feb 2022 at 4:14 pm.
Michael - K8LH is offline  
Old 20th Feb 2022, 7:43 pm   #66
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

A quick question about NIBL BASIC, please?

Does NIBL BASIC only support pages 1 through 7 (only the lower 32K of memory) as the documentation suggests?

TIA... Cheerful regards.
Attached Thumbnails
Click image for larger version

Name:	NIBL Pages.jpg
Views:	62
Size:	67.0 KB
ID:	252288  

Last edited by Michael - K8LH; 20th Feb 2022 at 7:49 pm.
Michael - K8LH is offline  
Old 20th Feb 2022, 9:55 pm   #67
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Yes thats right Mike, and it has an extra peculiarity in that if page 2 is read-only AND contains a valid NIBL program, then it automagically runs on switch-on
Phil__G is online now  
Old 22nd Feb 2022, 5:04 pm   #68
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Fascinating! I'll have to test that (copy an image including a BASIC program from flash memory into page 2 RAM memory at startup and then write protect that page before launching SC/MP + NIBL).

May I ask if you've tried to 'save' and 'load' BASIC files to/from NIBL pages and Terminal as Hex files? I'm thinking about re-tasking Reset + Sense B by replacing the current "download HEX file" function with <Load>, <Save>, and <Flash> commands (with [source] and [target] parameters). I really wouldn't mind having a <Memory Test> command, too, or the capability to burn new firmware into the PIC from a HEX file that has been downloaded into RAM memory.

Cheerful regards...

Last edited by Michael - K8LH; 22nd Feb 2022 at 5:14 pm.
Michael - K8LH is offline  
Old 22nd Feb 2022, 6:23 pm   #69
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Write protecting page 2 didn't work for me Mike, that's how I found the swapped pages, but that could easily have been that I messed up! You could of course save/load NIBL progs with Intel hex but it's half speed two hex chars for every basic char. Sense B on power up could bring up a menu with as many options as you like, my personal idea was that it should remain a PICL

Last edited by Phil__G; 22nd Feb 2022 at 6:36 pm.
Phil__G is online now  
Old 22nd Feb 2022, 8:55 pm   #70
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Phil: The NIBL "auto run" feature is working (see below). I just included a short BASIC program in the PIC "page 2 image" that's loaded into RAM at startup and I write protected 2000..27FF instead of the whole 4K page because Kitbug+ needs to be able to write the register area just below 2C00. Now that we have more than 8K RAM, I wonder if Kitbug+ could reside in another page to allow best use of the NIBL page 2 "auto run" feature?

HEX files are longer but should load much faster than loading BASIC programs as text files with long inter-character and end-of-line delays in your Terminal program. Remember, too, serial is 9600 baud on the PICL 'R2'.

Please keep in mind that the SC/MP emulator and NIBL BASIC are virtually unchanged. Enhancing the current "download HEX file" feature with additional capability shouldn't detract from the operation and/or PICL/NIBL experience and I believe it's a reasonable alternative to purchasing an expensive nvRAM chip.

Stay safe. Regards...
Attached Thumbnails
Click image for larger version

Name:	PICL Auto Run.png
Views:	61
Size:	34.1 KB
ID:	252395  

Last edited by Michael - K8LH; 22nd Feb 2022 at 9:24 pm.
Michael - K8LH is offline  
Old 23rd Feb 2022, 2:17 pm   #71
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Great progress Mike, I was going to suggest shifting KB+, in 8k it made sense to locate it just below the ceiling but with 32k it could go anywhere. Re the hex save/load I dont think the speed really matters that much, back in the day NIBL was 110 baud and 300 baud was super fast! I got around the NVRAM expense using cheap-as-chips ram and a DS1210, not as neat but works great for any of the 6264, 62256, 43256, UM61512, AS6C1008, etc - in fact on some NVRAMS you can see a DS1210 underneath!
Cheers
Phil
Attached Thumbnails
Click image for larger version

Name:	dallas_nvram.jpg
Views:	60
Size:	58.4 KB
ID:	252433   Click image for larger version

Name:	diy_nvram.jpg
Views:	50
Size:	55.8 KB
ID:	252435  

Last edited by Phil__G; 23rd Feb 2022 at 2:35 pm.
Phil__G is online now  
Old 2nd Mar 2022, 11:02 pm   #72
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

I commissioned a PICL 'R2' 32K RAM PCB that supports the use of skinny, wide, SIP, or ZIF sockets for RAM. Unfortunately, the board was ordered just before I came up with the 1-pin Serial Port mod' so there will be one more iteration of the 'R2' PCB design coming up.

regards...
Attached Thumbnails
Click image for larger version

Name:	PICL R2 #1.jpg
Views:	84
Size:	174.3 KB
ID:	252851  

Last edited by Michael - K8LH; 2nd Mar 2022 at 11:09 pm.
Michael - K8LH is offline  
Old 3rd Mar 2022, 12:03 am   #73
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Looking good Mike, I must order some 18877's in readiness!
Somehow I missed your 1-pin serial post and the KB+ demo post, caught up now
Been distracted, playing with ESP32's and making internet radios
https://www.dailymotion.com/video/x87ex4i


.

Last edited by Phil__G; 3rd Mar 2022 at 12:10 am.
Phil__G is online now  
Old 3rd Mar 2022, 3:18 am   #74
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Wow... the ESP32 Internet Radio looks really nice, Phil. Bravo!

I apologize for distracting you from your current projects.

I've attached updated PICL 'R2' Gerbers if you're interested in getting some boards. I'm still adding to the PIC firmware. And, I'll start a new thread for the 'R2' instead of messing up your 'V2' thread.

Take care. Cheerful regards...

ps: your "light show" program is delightful...
Attached Files
File Type: zip PICL R2 ZIF-3 Gerbers.zip (110.7 KB, 28 views)
File Type: zip PICL R2 ZIF-3 Drawings.zip (1.09 MB, 37 views)
Michael - K8LH is offline  
Old 5th Mar 2022, 4:05 pm   #75
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

No Mike I meant the esp32s were the distraction
Having a bit of a mojo lull at the moment, although I've started an email exchange with a Dutch SC/MP enthusiast, we're just exchanging our stories at the moment
...and I have some RCA1802 PCBs on order
Phil__G is online now  
Old 5th Mar 2022, 4:46 pm   #76
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Really neat layout Mike, do I see a cunningly concealed DS1210?
Phil__G is online now  
Old 5th Mar 2022, 8:57 pm   #77
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Quote:
Originally Posted by Phil__G View Post
Really neat layout Mike, do I see a cunningly concealed DS1210?
That DIP-8 footprint could be used for a DS1210 (I have some on order) or perhaps a 128-KiB I2C EEPROM chip.

Could I impose on you once more for some 'tech talk', please?

I'm back to working on PIC firmware to simply upgrade the PIC CPU on your 'standard' 8K RAM board.

Would you consider modifying your fantastic Kitbug+ Monitor to run in NIBL Page 4 ($4C00..$4FFF) or Page 6 ($6C00..$6FFF)? I ask because I'd like to experiment with NIBL Page 2 ($2000..$2FFF) write protected (see below) and Kitbug+ running at $2C00..$2FFF would not be able to write anything in page 2. Fortunately, Page 2 is mirrored in Page 4 and Page 6 which are not write-protected. So while Kitbug+ will still physically reside in Page 2, it will run (and be able to write) in the Page 4 or Page 6 mirror.

Cheerful regards...

Code:
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;  Write memory macro. For page 0 use only.                       ~
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WRMEM   macro   PHI,PLO         ;                                 |
        movf    PHI,W           ; target address hi               |
;       andlw   b'11110000'     ; ROM ($0xxx)?                    |
        andlw   b'11010000'     ; ROM ($0xxx) or Page 2 ($2xxx)?  | <---
        skpnz                   ; no, skip (write enabled), else  |
        return                  ; return (write protected)        |
        WRRAM   PHI,PLO,ACC     ; write RAM                       |
        return                  ;                                 |
        endm

Last edited by Michael - K8LH; 5th Mar 2022 at 9:23 pm.
Michael - K8LH is offline  
Old 5th Mar 2022, 10:25 pm   #78
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: The PICL V2 - a development of Karen's 2007 original

Hi Mike, check your email please
Attached Thumbnails
Click image for larger version

Name:	kbplus_6c00_piclv2.jpg
Views:	67
Size:	80.3 KB
ID:	253052  

Last edited by Phil__G; 5th Mar 2022 at 10:34 pm.
Phil__G is online now  
Old 6th Mar 2022, 3:34 am   #79
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Got it. Thank you. Sorry for late reply. Indeed, that code works great.

Work is progressing nicely... Only a couple snags which require some more research in the NIBL listings. One 'snag' is that NIBL clears programs in pages 1 through 7 on a cold start and while it isn't able to clear the program in the write protected page 2 it does clear the 'mirror' of the program in page 4 which effectively clears the real program in page 2. Bummer. Fortunately, modifying one byte in NIBL will limit this "search and destroy" operation to pages 1 and 2 on 8K PICL boards.

Cheerful regards, Mike
Attached Thumbnails
Click image for larger version

Name:	PICL progress 1.png
Views:	52
Size:	49.1 KB
ID:	253061  

Last edited by Michael - K8LH; 6th Mar 2022 at 3:43 am.
Michael - K8LH is offline  
Old 7th Mar 2022, 10:17 am   #80
Michael - K8LH
Triode
 
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
Default Re: The PICL V2 - a development of Karen's 2007 original

Hey Phil:

That "green screen" Tera Term image is soooo retro' and reminds me of my first monochrome monitor. My Tera Term setup now has a green screen, too (grin)...

Regards...
Michael - K8LH is offline  
Closed Thread




All times are GMT +1. The time now is 2:08 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.