14th Feb 2022, 6:01 pm | #61 |
Tetrode
Join Date: May 2021
Location: Titz, Germany.
Posts: 72
|
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 |
15th Feb 2022, 8:44 pm | #62 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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 |
15th Feb 2022, 11:53 pm | #63 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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
|
16th Feb 2022, 9:53 pm | #64 |
Tetrode
Join Date: May 2021
Location: Titz, Germany.
Posts: 72
|
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 |
17th Feb 2022, 3:45 pm | #65 | |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
Re: The PICL V2 - a development of Karen's 2007 original
Quote:
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 Last edited by Michael - K8LH; 17th Feb 2022 at 4:14 pm. |
|
20th Feb 2022, 7:43 pm | #66 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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. Last edited by Michael - K8LH; 20th Feb 2022 at 7:49 pm. |
20th Feb 2022, 9:55 pm | #67 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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
|
22nd Feb 2022, 5:04 pm | #68 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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. |
22nd Feb 2022, 6:23 pm | #69 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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. |
22nd Feb 2022, 8:55 pm | #70 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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... Last edited by Michael - K8LH; 22nd Feb 2022 at 9:24 pm. |
23rd Feb 2022, 2:17 pm | #71 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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 Last edited by Phil__G; 23rd Feb 2022 at 2:35 pm. |
2nd Mar 2022, 11:02 pm | #72 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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... Last edited by Michael - K8LH; 2nd Mar 2022 at 11:09 pm. |
3rd Mar 2022, 12:03 am | #73 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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. |
3rd Mar 2022, 3:18 am | #74 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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... |
5th Mar 2022, 4:05 pm | #75 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
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 |
5th Mar 2022, 4:46 pm | #76 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
Re: The PICL V2 - a development of Karen's 2007 original
Really neat layout Mike, do I see a cunningly concealed DS1210?
|
5th Mar 2022, 8:57 pm | #77 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
Re: The PICL V2 - a development of Karen's 2007 original
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. |
5th Mar 2022, 10:25 pm | #78 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
|
Re: The PICL V2 - a development of Karen's 2007 original
Hi Mike, check your email please
Last edited by Phil__G; 5th Mar 2022 at 10:34 pm. |
6th Mar 2022, 3:34 am | #79 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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 Last edited by Michael - K8LH; 6th Mar 2022 at 3:43 am. |
7th Mar 2022, 10:17 am | #80 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
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... |