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 12th Sep 2025, 9:36 pm   #41
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Thanks Ian, much appreciated

If theres any remaining doubt, I saved my KB+ source at every dev stage, before & after every command or feature was added... a full audit trail
Phil__G is online now   Reply With Quote
Old 13th Sep 2025, 3:38 am   #42
nlpe1goo
Tetrode
 
Join Date: Jul 2022
Location: Eindhoven, The Netherlands
Posts: 96
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post
Thanks Ian, much appreciated

If theres any remaining doubt, I saved my KB+ source at every dev stage, before & after every command or feature was added... a full audit trail
Hi Phil
Did you remove the bug in hexdump I found in kitbug in your own version(s)? The bug isn't that bad but won't display a dot when a character has the value 0x7F.
__________________
Greetings,

Nick de PE1GOO
nlpe1goo is offline   Reply With Quote
Old 13th Sep 2025, 9:45 am   #43
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 13,865
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

For those who don't already know, Craig has posted another interesting instalment:-

https://www.youtube.com/watch?v=ezwSMqDYGp0
SiriusHardware is offline   Reply With Quote
Old 13th Sep 2025, 10:11 am   #44
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by nlpe1goo View Post
Hi Phil
Did you remove the bug in hexdump I found in kitbug in your own version(s)? The bug isn't that bad but won't display a dot when a character has the value 0x7F.
No, but its on the to-do list Nick As bugs go, its harmless
Not sure what 'my own versions' means? KB+ isnt a version of anything
Phil__G is online now   Reply With Quote
Old 13th Sep 2025, 11:48 am   #45
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 13,865
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

For the benefit of recent arrivers and people like me with bad memories, could you give a brief summary of what KB+ is since there seems to be a degree of confusion about it?
SiriusHardware is offline   Reply With Quote
Old 13th Sep 2025, 1:56 pm   #46
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

That would be a long post likely to need longer than the forum's edit window G
I'm as baffled as yourself as to why there is confusion
The shortform story:
As you know in 1980 I built the Aitken SC/MP and added more ram and NS Kitbug in eprom. Kitbug has only three commands, two operate at the byte level - modify and type. It also has a 'Go' command which doesnt have an argument and so needs convoluted register settings before entering 'G'.
This was very limiting and I began adding to and changing Kitbug, with a formatted memory dump, inline print, serial loader and more, all integrated into what I then called KitbugPlus, since by then it had moved on from its Kitbug roots and I'd several 2716's some plain Kitbug and some with additions and so used KB and KB+ on the labels to identify them. These same routines are still in the current version with little change from 1980. Later changes included an SPO256 driver (since dropped), baudot serial for RTTY, etc. When I restarted what was now 'retro computing' as a hobby I picked up KitbugPlus from where I'd left off, and adapted it to Karens PICL (which has some I/O & memory-map peculiarities). Mike used it for his 18877. Then I was asked by Kris to port it to the MGH board. Having a full & flexible memory map this meant I could further expand KitbugPlus and thats the version we have today but I want to emphasize this wasnt/isnt some triumph of software engineering, its just the result of a sub-average enthusiast tinkering in his shed over the decades.
So KitbugPlus is my monitor for SC/MP hardware systems & emulators, currently with the following command set:
Copy<U/D>
CS
Display xxxx
Go xxxx
List xxxx
Modify xxxx
Offset xxxx yyyy
Regs
Sload xxxx
Type xxxx
Nibl

C is an 'intelligent' copy in that it can handle overlapping blocks of memory, but can also 'fill'. CS is clear screen, D is the usual tabulated memory display in hex/ascii, G runs a program from address xxxx, L lists in 'instruction-length-aware' format, M is modify, O calculates the relative jump offset to jump from address x to y, R displays the registers, S is the fast serial loader (2400 no delays), T is a byte by byte memory dump. It has inline print and you can preset register contents before 'G xxxx' if required. N command for NIBL isnt there if its not applicable.

It normally lives in page zero so it runs from reset, and includes an option for a boot menu ( KB+ / NIBLE / NIBLFP ) but on the PICL its a limited subset run from 7C00 in NVram. There are similar reduced versions for the micro-introkit etc. The full one is 1700 decimal bytes, and the same 'full' image runs on the MGH8060, MGH8060GAL and SCMPII-Max without changes and on Ron Dekker's board with a memory-map change. Theres a full document within the MGH8060GAL zip on philg.uk but thats it in an oversized nutshell
Cheers
Phil

Last edited by Phil__G; 13th Sep 2025 at 2:24 pm.
Phil__G is online now   Reply With Quote
Old 13th Sep 2025, 4:15 pm   #47
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post
Theres a full document within the MGH8060GAL zip on philg.uk but thats it in an oversized nutshell
Cheers
Phil
Whoops I checked and for some reason the KB+ overview wasnt in the MGH8060GAL zip, I've added it now. The file is called "kitbugplus_scmp.pdf"
within
https://mccrash-racing.co.uk/philg/scmp/mgh8060gal_source.zip
and it was last updated Nov '23
Cheers
Phil
Phil__G is online now   Reply With Quote
Old 13th Sep 2025, 4:19 pm   #48
HelloWorld
Tetrode
 
Join Date: Aug 2025
Location: Near Portland, Oregon, USA
Posts: 73
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post
Quote:
Originally Posted by nlpe1goo View Post
What do you think about of kitbug+?
Quote:
Originally Posted by HelloWorld View Post
I don’t know why, but I had it in my mind (incorrectly I see now) that Phil wrote that
You were right Craig, I did - some of it back in 1980 and some more recently, the PICLv2 has a subset of the full KB+ and the MGH8060GAL has the full current version.
Apologies if my confusion was confusing. I previously thought you wrote it to only run on PICL platform, I.e., it was reliant and integrated into the emulator. Then I realized it was separate from the emulator and will run on any platform, my confusion was on the platform, not the source
__________________
Hello World, It's Craig.
Retired, but with passion and a sense of urgency.
HelloWorld is offline   Reply With Quote
Old 13th Sep 2025, 4:55 pm   #49
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Part of the confusion was my fault, sorry everyone, but I think we're all deconfused now
Phil__G is online now   Reply With Quote
Old 13th Sep 2025, 10:31 pm   #50
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 13,865
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Epic post, Phil. I was expecting something along the lines of

"Kitbug+ was an enhanced alternative to Kitbug which I wrote some time ago."

I think it is fair to say we have the definitive answer now, thanks for taking the time to set that out.

Incidentally, if composing a long message which is likely to contain a high number of missed errors I sometimes compose it in Notepad and then cut and paste it into the forum's editor afterwards. It's just a shame I don't follow my own advice more often, hence the frequent last minute edits to my posts.
SiriusHardware is offline   Reply With Quote
Old 14th Sep 2025, 12:29 pm   #51
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

I do like NIBL, it has some peculiarities but you soon get used to them.
For example if you want a new line, in conventional BASIC you'd just say PRINT whereas in NIBL you have to use PRINT""
When PRINTing a mix of text and variables, each part needs it own separate PRINT though you can suppress newlines for continuity.
If you want an INPUT to have a text prompt, that needs to be done with a PRINT. Internally its uppercase-only, though you can print lower case.
Conventionally the abbreviation for PRINT is ? but in NIBL its PR. The @ for directly reading & writing memory is like conventional PEEK & POKE, and any numbers or variables over 32768 will go negative! (n-65536)

https://www.mccrash-racing.co.uk/philg/scmp/SCMPDLY.NIB

Given the resources the string handling is very flexible (in that you have to do it all yourself!) and mixing in some M/C is easy with TOP & LINK
NIBL is delightfully different, its really cute!

Phil__G is online now   Reply With Quote
Old 14th Sep 2025, 1:36 pm   #52
nlpe1goo
Tetrode
 
Join Date: Jul 2022
Location: Eindhoven, The Netherlands
Posts: 96
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post
NIBL is delightfully different, its really cute!

Yes, I like the SC/MP assembly code. After 45 years I still do remember the full instruction set of it. Yes it was my first computer ever.
But I agree NIBL is also cute it is simple but you can do a lot with it.
__________________
Greetings,

Nick de PE1GOO
nlpe1goo is offline   Reply With Quote
Old 15th Sep 2025, 12:52 pm   #53
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

I use a form of hex that I call PEX which is much faster for NIBL to handle as theres no 'add 7 if above 9' hex conversion which really slows NIBL down.
The PEX lines live in REM statements at the start of the NIBL program and can be seen in BASYS and the disassembler in the KO2019 package.
PEX looks like this:
Code:
1 REM @HLBCACELBC@CALD@HLJNJ@FMDB@ILOKLDDCHO@@@FMDB@IL
2 REM OBLDHNHO@@@FMDB@IL@BIH@BLD@AAO@AAM@AKJNJILNKD@LM
3 REM @ALDKMHO@@@FMDB@ILLM@FMDB@IHOKCO@HLDKICCLD@OCGLB
4 REM BNALALALAL@BODOFID@DODCJI@@BODD@COLBBNMD@O@BODOF
5 REM ID@DODCJI@@BODD@COLD@ICGLDFOCCCO@@@@@@@@@@@@@@@@
To load this into ram, first variable M is set to the memory destination address, P is set to the current page number,
and S to where the actual PEX characters begin. On page one its later because thats where NIBL variables etc are stored.
Code:
M=#7F80:S=#000A
P=@#1012:@#1041=P*16:IF P=1 S=#1128
Then we read through a PEX line, L is the current line (of 5 lines) , B is a pointer along the line and A points to the current PEX pair:
Code:
FOR L=0 TO 4:FOR B=0 TO 46 STEP 2:A=S+B+L*57
then two PEX characters are converted to a byte:
Code:
X=(@A) AND 15:Y=(@(A+1)) AND 15:Z=(16*X)+Y
...its poked into memory, the ram pointer is bumped and we go for the next character pair, then the next line, skipping the line numbers and 'REM 's:
Code:
@M=Z:M=M+1:NEXT B:NEXT L
Yes its slow, but not as slow as NIBL loading intel hex so I've found it really worthwhile.
In the KO2019 package, any hex output from BASYS or from the Disassembler was very slow using NIBL directly, so thats where M/C comes in,
and theres also a serial fastloader in the example above (identical code is used in basys & the disassembler).
Loading progs into the NVram projects only needs to be done once anyway, for example in the PICLv2 package theres a PEX loader to
install a subset of KitbugPlus, again it only needs to be run once when using NVram so its 'fast enough'

I've a few utils for creating PEX from binaries and from Intel hex, all easy peasy as basically its just text
Theres not much you can't achieve with NIBL & a bit of SC/MP m/c

Last edited by Phil__G; 15th Sep 2025 at 1:15 pm.
Phil__G is online now   Reply With Quote
Old 30th Sep 2025, 3:42 am   #54
HelloWorld
Tetrode
 
Join Date: Aug 2025
Location: Near Portland, Oregon, USA
Posts: 73
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

I wrote some ramless diagnostic code for my SC/MP Nibbler project and I am wondering how universal it is, but the Nibbler is the only SC/MP board that I have. Baud rate is 2400 for 4MHz scamp II. It only requires the TxD be on flag 0 (inverted) or flag 1 (not inverted), the RxD be on Sense B, and the ROM located at 0x0000. If someone has a MK14 or other SC/MP platform on their bench and time to burn an eprom and try it out, I would be interested if everything (or anything) works. To get to the command prompt, Sense A and SIN need to be at 0V at reset, or else it will enter low level infinite loops.

.asm , .lst, .hex, and users guide are at the link below.

Now I am off to port Phil’s resident monitor over to the Nibbler.


Thanks
-Craig

https://bitsofthegoldenage.org/download/sc-mp-ramless-diagnostic-utility/
__________________
Hello World, It's Craig.
Retired, but with passion and a sense of urgency.
HelloWorld is offline   Reply With Quote
Old 1st Oct 2025, 12:00 pm   #55
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Here ya go:

https://youtu.be/C5trHgr8qKU

Dont know what I'm doing as I havnet read the doc yet, will do that later
One thing I noticed, the 'map ram' scan started at 0F00, where my RAM starts at 0800 immediately after KB+ yet a manual ram test from 0800 seems ok
Most likely me, what we used to call in Post Office Telephones, "Subs Misop"

I'm most impressed with your ramless serial Craig!
Cheers - Phil

EDIT: forgot to say I took the on-reset SIN and SENSE tests out to make it go straight into the menu

.

Last edited by Phil__G; 1st Oct 2025 at 12:10 pm.
Phil__G is online now   Reply With Quote
Old 1st Oct 2025, 1:53 pm   #56
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post
One thing I noticed, the 'map ram' scan started at 0F00, where my RAM starts at 0800 immediately after KB+ yet a manual ram test from 0800 seems ok
Line 862 (in my notepad) sets the start for the ram map to 0x0F00:

Code:
        LDI     0FH             ;SET P2 TO STARTING POINT
        XPAH    P2
        LDI     00H
        XPAL    P2
MAP_TEST:
Quote:
Originally Posted by Phil__G View Post
my RAM starts at 0800 immediately after KB+
what I mean is, immediately after where KB+ would normally be. In this case theres just the diagnostic from 0000 to 07FF, the rest of the memory map is full of 0xFF

0000 to 07FF is rom (normally KB+)
0800 to 0FFF is ram normally for KB+ scratchpad, stacks, vars etc)
1000 to 1FFF is ROM (normally NIBL-E)
2000 to 2FFF is ram (NIBL-E page 2 etc)
3000 to 3FFF is rom (normally page3.sys)
4000 to 7FFF is ram (the bulk of r/w memory)
8000 to FFFF is rom (NIBL-E toolkit, NIBL-FP etc)

Last edited by Phil__G; 1st Oct 2025 at 2:14 pm.
Phil__G is online now   Reply With Quote
Old 1st Oct 2025, 2:54 pm   #57
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Just a suggestion Craig, the Map ram command tests every single byte to see if it can be written, but since its unlikely that address decoding is more granular than 256 bytes, you could just increment the pointer MSB through memory and leave the LSB alone (doesnt matter what it holds) which would print out the memory map much more quickly (presently takes 25 minutes or so). The 'T' command gives your full memory test so I just wondered if 'M' needs to be so granular? Just a thought...
Phil__G is online now   Reply With Quote
Old 1st Oct 2025, 3:45 pm   #58
Paul_G3WYW
Diode
 
Join Date: Sep 2020
Location: Thatcham, Berkshire, UK.
Posts: 7
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Been following these SC/MP threads with interest, the TeleKit was very informative.
The Scrumpi book was interesting as I have built a similar version using TIL311 Hex Displays for the ADDR and DATA lines.
Ive also built on breadboard a HEX keypad using a PIC16F628 that replaces the 8 databit switches, making it easier (and faster) to enter code . I'll write it up and post here if there is interest.

Following links to the 'Nibbler' on YouTube took me to this link
https://bitsofthegoldenage.org/download/sc-mp-ramless-diagnostic-utility/
where 'Hello World' has developed and published a RAMless diagnostic for SC/MP that only needs a Serial port connected to SB and F0 as normal and runs on a PuTTY at 1200 baud.
Paul_G3WYW is offline   Reply With Quote
Old 1st Oct 2025, 3:47 pm   #59
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,516
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

I know you love saving a few bytes Craig and diags is exactly a full 2k - here's nine redundant LDE's in the command loop:

Code:
        LDI     /PUTS-1         ;P3 IS PUT STRING
        XPAH    P3
        LDI     #PUTS-1
        XPAL    P3

        LDE
        XRI     '?'             ;IS IT ?
        JZ      CMD_ENTER       ;YES, DISPLAY COMMANDS

        XRI     'V'!'?'         ;IS IT A V?
        JZ      CMD_V           ;VERSION
        
        XRI     'A'!'V'         ;IS IT AN A?
        JZ     CMD_A            ;ADDRESS DECODER TEST
        XRI     'F'!'A'         ;IS IT AN F?
        JZ      CMD_F           ;FLAG SEQUENCE
        XRI     'M'!'F'         ;IS IT AN M?
        JZ      CMD_M           ;MAP MEMORY
        XRI     'I'!'M'         ;IS IT AN I?
        JZ      CMD_I           ;INSTRUCTION FETCH TEST        
        XRI     'R'!'I'         ;IS IT AN R?
        JZ      CMD_R           ;READ INPUTS TEST
        XRI     'S'!'R'         ;IS IT AN S?
        JZ      CMD_S           ;STICKY BIT TEST
        XRI     'T'!'S'         ;IS IT AN T?
        JZ      CMD_T           ;TEST RAM
        XRI     'W'!'T'         ;IS IT AN W?
        JZ      CMD_W           ;WRITE/READ RAM

        LDI     /CMD_MSG2       ;MESSAGE IN P2
        XPAH    P2
        LDI     #CMD_MSG2
        XPAL    P2
        XPPC    P3
        JMP     CMD_PROMPT      ; NO, TRY AGAIN


Quote:
Originally Posted by Paul_G3WYW View Post
...where 'Hello World' has developed and published a RAMless diagnostic for SC/MP that only needs a Serial port connected to SB and F0 as normal and runs on a PuTTY at 1200 baud.
thats what we're discussing now Paul.
Your keypad sounds similar to my Cosmac Elf one! Yes please post it, the more the merrier!

Last edited by Phil__G; 1st Oct 2025 at 3:56 pm.
Phil__G is online now   Reply With Quote
Old 1st Oct 2025, 4:00 pm   #60
HelloWorld
Tetrode
 
Join Date: Aug 2025
Location: Near Portland, Oregon, USA
Posts: 73
Default Re: Anyone heard of the "Nibbler" by Digi-Key around 1978?

Quote:
Originally Posted by Phil__G View Post

One thing I noticed, the 'map ram' scan started at 0F00, where my RAM starts at 0800 immediately after KB+ yet a manual ram test from 0800 seems ok


.

Thanks for taking the time to look at this Phil. Yes, I accidentally left the start of the ram test near to]he top of the ROM. I put it there to speed up the test but forgot to change it to zero
I will address that. I need to upload a new version because I added a halt test.
__________________
Hello World, It's Craig.
Retired, but with passion and a sense of urgency.
HelloWorld is offline   Reply With Quote
Reply

Thread Tools



All times are GMT. The time now is 10:41 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 - 2026, vBulletin Solutions, Inc.
Copyright ©2002 - 2026, Paul Stenning.