Page 1 of 10

Compukit UK101 core

Posted: Wed Aug 11, 2021 5:21 pm
by danielb
Hi all,

This is a Mister core based on Grant Searle's UK101 project. It is a reconstruction of a kit computer from the late 1970s, which was based on a 6502 processor.

The original project is here: http://searle.x10host.com/uk101FPGA/ind ... reDownload

I also used a VGA interface by someone who goes by the name of Cray Ze Ape, which is available here:

https://github.com/douggilliland/MultiC ... A_CraZeApe

I am a total noob at FPGA programming, so this very simple computer seemed to be a good starting point. I included some enhancements which Grant added to his own project, such as the 64x32 display, and I expanded the RAM to 32K. Saving and loading of Basic programs can be done via the UART, at 9600 baud. This is exactly the way that Grant wrote it. Ideally, I would like to save and load via the ADC, but I don't yet know what this entails.

The manual for the system is available here: http://uk101.sourceforge.net/docs/pdf/manual.pdf. If you want to save or load anything, you will need it :)

I am publishing the core here, because there doesn't seem to be a core based on this computer.

I will share the (probably quite inept) source code after I've cleaned it up a bit over the weekend. Since I am such a noob, I would very much appreciate any feedback, but please be gentle...

Hope you enjoy it,

Daniel

Re: Compukit UK101 core

Posted: Wed Aug 11, 2021 6:07 pm
by kathleen
Hello Daniel,

Thank you for the core and for the manual which helps a lot to understand this computer kit.
I've just tested it on my mister (128mb) and it runs fine. Typed a couple of lines and ran as it should, congratulation for your work, it is always a great pleasure to discover unknown computers.

To me, It would be really nice if the ADC could be used for loading and saving basic programs in addition to the UART. At least it will be easier for those who have the ADC add-on card.

Re: Compukit UK101 core

Posted: Wed Aug 11, 2021 6:24 pm
by tontonkaloun
Thank you for this new core

Re: Compukit UK101 core

Posted: Wed Aug 11, 2021 9:08 pm
by EeDee
Thanks, nice to see it. Hope it can be developed a little more

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 10:01 am
by Ripper61
I had a friend who bought and built his own UK101 back in 1979-80. On his recommendation I bought myself a Nascom 2 instead.

It looks like someone is working on creating a FPGA version of the Nascom https://www.youtube.com/watch?v=_JwadOlg9jQ

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 10:30 am
by danielb
Ripper61 wrote: Thu Aug 12, 2021 10:01 am I had a friend who bought and built his own UK101 back in 1979-80. On his recommendation I bought myself a Nascom 2 instead.

It looks like someone is working on creating a FPGA version of the Nascom https://www.youtube.com/watch?v=_JwadOlg9jQ
This was a bit before my time. I bought my first computer in the early 80s.

D.

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 2:08 pm
by RedskullDC
Hi Danielb,

Thanks for uploading!

-----

Few years ago I ported Grant's code to the Terasic DE0-CV board, and added 64x32 screen, colour and OSI C4P mode support:

C4Pa.jpg
C4Pa.jpg (234.74 KiB) Viewed 18423 times

Source: http://www.crisis.com.au/images/OSI_Searle_Q17.zip

More info here:
https://www.osiweb.org/osiforum/viewtopic.php?f=3&t=343


Was recently thinking of porting the project across to the Mister, so your release is very timely :)

I look forward to taking a look at your source code.

Cheers,
Red

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 2:36 pm
by danielb
RedskullDC wrote: Thu Aug 12, 2021 2:08 pm Hi Danielb,

Thanks for uploading!

-----

Few years ago I ported Grant's code to the Terasic DE0-CV board, and added 64x32 screen, colour and OSI C4P mode support:

Source: http://www.crisis.com.au/images/OSI_Searle_Q17.zip

More info here:
https://www.osiweb.org/osiforum/viewtopic.php?f=3&t=343


Was recently thinking of porting the project across to the Mister, so your release is very timely :)

I look forward to taking a look at your source code.

Cheers,
Red
Hi,

I will be sharing the source as soon as I've cleaned it up. It's not quite fit for public scrutiny at the moment.

Before porting the core to Mister, I ported it to an AliExpress Cyclone IV board that I am using to learn FPGA programming. Once I had it running in that, it was relatively simple to port it to Mister.

Thanks to everyone for the feedback. I am happy to see that the core seems to be working for everyone.

As for future developments, I am looking forward to attempting to get saving and loading via ADC working. Not sure what else I can add to it ..

Daniel

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 6:25 pm
by kathleen
danielb wrote: Thu Aug 12, 2021 2:36 pm
As for future developments, I am looking forward to attempting to get saving and loading via ADC working. Not sure what else I can add to it ..

Daniel
Hello Daniel,

If you permit me to propose something as improvement, I'd say :

* Add the Scrandoubler FX option.
* Add An option at the OSD to enable or disable the pass-trough in order to hear via the audio out, the Play/record sound/signal while the tape is running.

Thanks again for your hard work.

Re: Compukit UK101 core

Posted: Thu Aug 12, 2021 7:45 pm
by danielb
kathleen wrote: Thu Aug 12, 2021 6:25 pm
danielb wrote: Thu Aug 12, 2021 2:36 pm
As for future developments, I am looking forward to attempting to get saving and loading via ADC working. Not sure what else I can add to it ..

Daniel
Hello Daniel,

If you permit me to propose something as improvement, I'd say :

* Add the Scrandoubler FX option.
* Add An option at the OSD to enable or disable the pass-trough in order to hear via the audio out, the Play/record sound/signal while the tape is running.

Thanks again for your hard work.
Hi Kathleen,

Both of those are good suggestions, and I will add them, hopefully. :)

D.

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 7:56 pm
by iainjh
danielb, thanks for releasing this! back in 'tday I used to ride my bike to east barnet Compshop to stare through the window hoping I could buy one. Thanks to you I finally have a UK101!

cheers :)

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 8:14 pm
by EeDee
Daniel you've done a great job and, if possible, looking forward to loading and saving.
Would it be possible to make screen colour changeable? My eyes are finding white on blue difficult to read :-)

Thanks again

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 8:27 pm
by danielb
EeDee wrote: Fri Aug 13, 2021 8:14 pm Daniel you've done a great job and, if possible, looking forward to loading and saving.
Would it be possible to make screen colour changeable? My eyes are finding white on blue difficult to read :-)

Thanks again
Hi,

Thanks. I'll see if I can make the screen colour selectable.

Meanwhile, here is a new version. It's functionally almost identical to the previous one. The main differences are:

- I updated the project to the latest framework.
- I fixed the OSD menu so that it shows the correct core name.

I also cleaned up the code as much as I could, and I plan to share the source tomorrow.

That's it.

D.

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 8:46 pm
by EeDee
Came across a post of yours (Danielb) in a TI 99/A thread where you stated you knew nothing about FPGA programming. What a difference a year (almost) makes. :-)
Thanks for the update

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 8:52 pm
by danielb
EeDee wrote: Fri Aug 13, 2021 8:46 pm Came across a post of yours (Danielb) in a TI 99/A thread where you stated you knew nothing about FPGA programming. What a difference a year (almost) makes. :-)
Thanks for the update
I still don't know much about it... :)

D.

Re: Compukit UK101 core

Posted: Fri Aug 13, 2021 8:59 pm
by EeDee
More than I do :-)

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 7:58 am
by danielb
Hi all,

The source code for the project is here:

https://github.com/danielb0/UK101_Mister.

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 11:59 am
by danielb
Hi all,

This is a new version with colour schemes selectable from the menu.

D.

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 3:34 pm
by EeDee
Many thanks for the colour update.
My eyes would like to thank you also :-)

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 4:35 pm
by danielb
Glad you like it :)

D.

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 6:40 pm
by Moondandy
Good effort, never even heard of this one before. Will you be adding into Main soon?

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 7:48 pm
by danielb
Moondandy wrote: Sat Aug 14, 2021 6:40 pm Good effort, never even heard of this one before. Will you be adding into Main soon?
Thanks,

I had also never heard of it before I came across Grant Searle's project.

As for adding it to Main, I've no idea how I would go about it... :?:

D.

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 7:56 pm
by EeDee
Doesn't appear to connect to UART

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 8:16 pm
by danielb
Hi,

It does for me.

Login to your Mister's Linux via the USB serial port. Run Minicom, set it to 9600 8N1 with hardware flow control. This is the default setting, except for the speed.

In the UK101, write "save". At this point, anything you type on the Mister will be mirrored in the terminal. If you type "list" it will list your program to he terminal. Type "load", then space and then return to stop the mirroring.

If you type "load", then anything you type on the terminal will appear in the UK101. You can upload a saved program or whatever. Cancel this with space and then return on the UK101.

You couldn't make this stuff up...


D.

Re: Compukit UK101 core

Posted: Sat Aug 14, 2021 9:23 pm
by EeDee
I could... Aha!
Thanks

Re: Compukit UK101 core

Posted: Sun Aug 15, 2021 12:02 pm
by Moondandy
Hopefully one of the Devs will reach out and help you get the core released officially. Are you using the latest version of the MiSTer framework, and is the core free of any copyright material i.e. BIOS files?

Re: Compukit UK101 core

Posted: Tue Aug 17, 2021 8:23 am
by danielb
Hi all,

The core has now "gone official".

Latest sources are at https://github.com/MiSTer-devel/UK101_MiSTer.

The rbf is downloaded by the update script :)

D.

Re: Compukit UK101 core

Posted: Tue Aug 17, 2021 9:41 am
by danielb
Hi all,

I managed to load and run a game on the core :)

The game is written in Basic. Machine code games can also be loaded, via the monitor (press M at the start-up screen. L loads files), but I have not tried it yet. Some games are written for enhanced UK101s (it is a kit computer after all) and so may not run on the core. The core itself is enhanced (64x32 screen, extra memory), which enables this particular game to run.

The biggest TODO for this core is to be able to load as many games as possible, as conveniently as possible, and this is what I intend to work on.

Am I allowed to post a download link for the games?

D.

Re: Compukit UK101 core

Posted: Tue Aug 17, 2021 12:59 pm
by danielb
Space Invaders on the UK101 core - this is a machine code game loaded through the Monitor program.

D

Re: Compukit UK101 core

Posted: Tue Aug 17, 2021 1:25 pm
by Alkadian
danielb wrote: Tue Aug 17, 2021 12:59 pm Space Invaders on the UK101 core - this is a machine code game loaded through the Monitor program.

D
Simply awesome, so fascinating! I can't wait to try a few games as well if/when games will become available to download. Thanks!