|
Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment. |
|
Thread Tools |
29th Nov 2022, 11:06 pm | #1 |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
PIC14 problems with inbuilt s/w
Just looking for advice / pointer. My newly built PIC14 works fine (well after I resolved a couple of dry joints). My issue is trying to get the some of the inbuilt s/w to run. some work fine - for instance message and duck hunt but mastermind and moon landing wont play ball. Looking as the moon landing code in the manual and and on the PIC 14 they are clearly different. So I guess my question am I missing something in getting in setting up the relevant page ?
I believe I have the latest version of the hex file loaded into the PIC |
29th Nov 2022, 11:35 pm | #2 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,483
|
Re: PIC14 problems with inbuilt s/w
I don't know enough about the PIC14 to suggest anything specific about that but what springs to mind about Moon Landing is that it has to be run from address 0F52, and Mastermind has to be run from 0F1C - are those the GO addresses you are using for those programs?
|
29th Nov 2022, 11:37 pm | #3 | |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PIC14 problems with inbuilt s/w
Quote:
|
|
29th Nov 2022, 11:42 pm | #4 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,483
|
Re: PIC14 problems with inbuilt s/w
If the code isn't byte for byte the same as the listing in the manual then sadly it's unlikely to work. Which version of PIC14 firmware are you running which has these programs embedded in it, one of Karen's original versions, or George60's, or...?
|
30th Nov 2022, 1:27 am | #5 | |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,083
|
Re: PIC14 problems with inbuilt s/w
It sounds like George's PIC14 image, unless I've missed something the original doesnt have 'inbuilt s/w' other than SCIOS, and theres no 'page' to set up
As far as I'm aware, there was only one update from Karen, to fix jumps with offset 80h and the status flags, this update is (as I understand) still the current version (my own edits aside) and the image most PIC14 users have used (Karens does have redundant routines including a program selection but nothing calls it). I can probably help with Karens implementation but I never tried Georges, its very clever but for me it seemed a step too far from Karens quite realistic emulation of the MK14 David if you could post a link to where you got your PIC14 image we will know for sure Quote:
Cheers Phil Last edited by Phil__G; 30th Nov 2022 at 1:52 am. |
|
30th Nov 2022, 8:03 am | #6 |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PIC14 problems with inbuilt s/w
yes it is George's PIC14 image
I am using his updated image - in the second link (PIC-14version update) https://www.vintage-radio.net/forum/...5&postcount=55 https://www.vintage-radio.net/forum/...&postcount=138 I will try to get loaded onto MPLAB to see if I am missing something obvious. David |
30th Nov 2022, 9:00 am | #7 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,483
|
Re: PIC14 problems with inbuilt s/w
Quote:
Obviously, this applies more to binary files than to Intel Hex which contains load addresses already. |
|
30th Nov 2022, 2:49 pm | #8 |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PIC14 problems with inbuilt s/w
Loading the .asm file in to MPLAB seems to have scared the PIC14 to work - well run at least run moonlander, not completely sure why as I did not do anything else but suspect the problem maybe bounce on the pushes, however that does not explain why some programs alway seem to load correctly while other take a few attempts
|