Compukit UK101 core
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 97 times
Re: Compukit UK101 core
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?
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
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.
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.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
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.
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.
- Attachments
-
- opening screen.jpg (62.22 KiB) Viewed 17139 times
-
- maze.jpg (61.41 KiB) Viewed 17139 times
-
- loading.jpg (118.14 KiB) Viewed 17139 times
- Alkadian
- Top Contributor
- Posts: 721
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 289 times
- Been thanked: 116 times
Re: Compukit UK101 core
Simply awesome, so fascinating! I can't wait to try a few games as well if/when games will become available to download. Thanks!
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
I don't think there were ever many games for this system. Everybody's friend Google will find them for you.
D.
- Alkadian
- Top Contributor
- Posts: 721
- Joined: Thu May 28, 2020 9:55 am
- Has thanked: 289 times
- Been thanked: 116 times
Re: Compukit UK101 core
Perfect, I will proceed on this basis thendanielb wrote: ↑Tue Aug 17, 2021 2:13 pmI don't think there were ever many games for this system. Everybody's friend Google will find them for you.
D.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi all,
I just pushed a new version of the core.
This version allows the screen size to be switched between 64x32 characters and 48x16, which was the original size on the UK101, apparently.
It also allows the ROM monitor to be switched between Cegmon, and MonUK02, or NewMon, which is older and more original.
This ROM is much more compatible with the available games, e.g. 8K Super Invaders now runs, as does Le Passe-Temps. This ROM is not compatible with the 64x32 screen size, so selecting it locks that mode out. The one drawback (for me) is that the text with this ROM is too far to the right. With Cegmon, I was able to patch it to move the text to the left, but I am unable to find info on how to do this with MonUK02. In any case, the text is not cut off at the right, so I released it like this. I will hopefully fix this at some point.
After switching ROMS, do a cold reset. After switching screen sizes, the system will continue to run, but doing a cold or warm reset will set the proper values for the edges of the screen, which have to be read from the ROM.
Please let me know if you find any issues.
Rgds,
D.
I just pushed a new version of the core.
This version allows the screen size to be switched between 64x32 characters and 48x16, which was the original size on the UK101, apparently.
It also allows the ROM monitor to be switched between Cegmon, and MonUK02, or NewMon, which is older and more original.
This ROM is much more compatible with the available games, e.g. 8K Super Invaders now runs, as does Le Passe-Temps. This ROM is not compatible with the 64x32 screen size, so selecting it locks that mode out. The one drawback (for me) is that the text with this ROM is too far to the right. With Cegmon, I was able to patch it to move the text to the left, but I am unable to find info on how to do this with MonUK02. In any case, the text is not cut off at the right, so I released it like this. I will hopefully fix this at some point.
After switching ROMS, do a cold reset. After switching screen sizes, the system will continue to run, but doing a cold or warm reset will set the proper values for the edges of the screen, which have to be read from the ROM.
Please let me know if you find any issues.
Rgds,
D.
- Attachments
-
- Cegmon48x16.jpg (66.32 KiB) Viewed 5087 times
-
- superinvaders.jpg (78.2 KiB) Viewed 5088 times
-
- lepassetemps.jpg (109.92 KiB) Viewed 5088 times
- pgimeno
- Top Contributor
- Posts: 669
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 246 times
- Been thanked: 208 times
Re: Compukit UK101 core
Hi danielb,
Would it be possible to use the system's scaler? It looks like this core is doing its own scaling rather than letting the system do it, which results in non-uniform pixel columns, which also go into the snapshots, and that also makes the Aspect Ratio option from the menu or the integer scaling options from the INI not work.
Would it be possible to use the system's scaler? It looks like this core is doing its own scaling rather than letting the system do it, which results in non-uniform pixel columns, which also go into the snapshots, and that also makes the Aspect Ratio option from the menu or the integer scaling options from the INI not work.
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi,
I'd be happy to do this, if you can point me in the direction of some documentation on how it is done.
Lack of documentation is a SERIOUS hurdle to writing a core. I have been looking in other cores to see how they are written but this is not always enough.
As I said before, this is my noob project, so some documentation would be a big help.
D.
I'd be happy to do this, if you can point me in the direction of some documentation on how it is done.
Lack of documentation is a SERIOUS hurdle to writing a core. I have been looking in other cores to see how they are written but this is not always enough.
As I said before, this is my noob project, so some documentation would be a big help.
D.
- pgimeno
- Top Contributor
- Posts: 669
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 246 times
- Been thanked: 208 times
Re: Compukit UK101 core
I hear you. I'm currently working on a software project, but when I get back to the FPGA world I have some tutorials to watch because there isn't any documentation that I could find. Anyway, for this specific problem, this thread may help:danielb wrote: ↑Sat Aug 21, 2021 11:57 am Hi,
I'd be happy to do this, if you can point me in the direction of some documentation on how it is done.
Lack of documentation is a SERIOUS hurdle to writing a core. I have been looking in other cores to see how they are written but this is not always enough.
As I said before, this is my noob project, so some documentation would be a big help.
D.
viewtopic.php?t=419
There's also this series by alanswx that I have in my to-watch list:
https://www.youtube.com/watch?v=81GN5DLCFOk
and accompanying repository: https://github.com/alanswx/Tutorials_MiSTer
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
Re: Compukit UK101 core
Is there a way to slow down Super Invaders. The game seems to run very fast.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi,
I found this on another forum, apparently written by Grant himself:
"Additionally, the speed of the space invaders is actually controlled by sending characters to the serial port ( ! ). As my FPGA currently runs at 9600BAUD instead of 300BAUD it runs too fast. You will need to change the VHDL to use 300 baud (already commented with appropriate values in the VHDL clock divider code) then make sure the serial terminal is set to 300 baud when doing the "LOAD" from within BASIC. Once you have made that speed change, it runs exactly the same as the original ."
I'll see what I can do about it
D.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Thanks.pgimeno wrote: ↑Sat Aug 21, 2021 1:07 pmI hear you. I'm currently working on a software project, but when I get back to the FPGA world I have some tutorials to watch because there isn't any documentation that I could find. Anyway, for this specific problem, this thread may help:danielb wrote: ↑Sat Aug 21, 2021 11:57 am Hi,
I'd be happy to do this, if you can point me in the direction of some documentation on how it is done.
Lack of documentation is a SERIOUS hurdle to writing a core. I have been looking in other cores to see how they are written but this is not always enough.
As I said before, this is my noob project, so some documentation would be a big help.
D.
viewtopic.php?t=419
There's also this series by alanswx that I have in my to-watch list:
https://www.youtube.com/watch?v=81GN5DLCFOk
and accompanying repository: https://github.com/alanswx/Tutorials_MiSTer
D.
- RedskullDC
- Posts: 29
- Joined: Fri Jul 03, 2020 2:10 pm
- Has thanked: 4 times
- Been thanked: 25 times
Re: Compukit UK101 core
Hi Danielb,
http://uk101.sourceforge.net/docs/config.html
Half way down the page, has details on patching MONUK02.
Regards,
Leslie
Not sure if this will be of use to you?danielb wrote: ↑Sat Aug 21, 2021 10:59 am ....
The one drawback (for me) is that the text with this ROM is too far to the right. With Cegmon, I was able to patch it to move the text to the left, but I am unable to find info on how to do this with MonUK02. In any case, the text is not cut off at the right, so I released it like this. I will hopefully fix this at some point.
http://uk101.sourceforge.net/docs/config.html
Half way down the page, has details on patching MONUK02.
Regards,
Leslie
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Thanks.I'll see if I can use it
Meanwhile, I'm on holiday for a couple of days, when I get back on Wednesday, I'll be releasing a version with selectable baud rate. It actually does fix the speed of Super Invaders.
This is proving to be a weird and interesting system, with some really bizarre quirks
D
Meanwhile, I'm on holiday for a couple of days, when I get back on Wednesday, I'll be releasing a version with selectable baud rate. It actually does fix the speed of Super Invaders.
This is proving to be a weird and interesting system, with some really bizarre quirks
D
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi all,
I pushed the new version with selectable baud rate. Load Super Invaders at 9600 baud as usual, then change to 300 to make the game run at its proper speed.
D.
I pushed the new version with selectable baud rate. Load Super Invaders at 9600 baud as usual, then change to 300 to make the game run at its proper speed.
D.
Re: Compukit UK101 core
Re: Compukit UK101 core
I had a question about the Super Invader graphics from the YT video I posted.
Jac Goudsmit • 4 hours ago (edited)
Is there something wrong with the character set or the emulation? I've never seen this game on the UK101/Superboard before but if looks like the graphics are displayed wrong, like there's an off-by-one error in the emulation of the character ROM or something, so that it shows one pixel from the wrong character on each line or something.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
I'll take a look at it.
Meanwhile, I am trying, with limited success so far, to implement loading text files from the OSD instead of from the UART.
Since all available software software for the system seems to be in the form of text files, this makes more sense than loading tapes via the ADC.
D.
Meanwhile, I am trying, with limited success so far, to implement loading text files from the OSD instead of from the UART.
Since all available software software for the system seems to be in the form of text files, this makes more sense than loading tapes via the ADC.
D.
- pgimeno
- Top Contributor
- Posts: 669
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 246 times
- Been thanked: 208 times
Re: Compukit UK101 core
I've tried to set up the comm port without using minicom, but I was unsuccessful. At best, if I open minicom and quit with Ctrl-A Q [Yes], it works (until the next reboot), but I couldn't configure it properly from the command line from zero. It seems like minicom sets some parameter of the device that stty is unable to set. I even compared the output of stty with that after closing minicom without reset, and got identical results but it still didn't work.
Any idea how to make it work without opening minicom? Here's the script I've been trying to get working:
Any idea how to make it work without opening minicom? Here's the script I've been trying to get working:
Code: Select all
#!/bin/sh
stty -F /dev/ttyS1 9600 cs8 -parenb -cstopb # 9600 8 N 1
ascii-xfr -sdv /media/fat/games/UK101/"$1" > /dev/ttyS1
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hardware flow control needs to be on. This is set as default by Minicom, but may not be set in your script. I also tried the same thing you did but never worked out how to configure it.
D.
D.
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi all,NML32 wrote: ↑Fri Aug 27, 2021 8:50 amI had a question about the Super Invader graphics from the YT video I posted.
Jac Goudsmit • 4 hours ago (edited)
Is there something wrong with the character set or the emulation? I've never seen this game on the UK101/Superboard before but if looks like the graphics are displayed wrong, like there's an off-by-one error in the emulation of the character ROM or something, so that it shows one pixel from the wrong character on each line or something.
I am posting here a development version with greatly improved graphic resolution and more memory. I am not sure whether I should release it, because the glitchy graphics are still there.
There seem to me to be two possibilities: either the character set itself it corrupted, or the VGA rendering doesn't work properly. I am leaning towards the first possibility, because the problem only manifests itself in certain graphic characters; text display is always fine. I will make some enquiries online and see if I can fix the problem.
Eventually I would like to redo the display the "MiSTer way", but that will take some time.
D.
- Attachments
-
- UK101_20210828.zip
- (744.89 KiB) Downloaded 123 times
-
- Core Developer
- Posts: 227
- Joined: Thu Jun 04, 2020 1:43 pm
- Has thanked: 41 times
- Been thanked: 64 times
Re: Compukit UK101 core
Hi all,
Another update...
I have solved the graphic glitches. I worked out how to do things "the MiSTer way", dumped the VGA interface, and I am now feeding Grant Searle's original video through the Mister scaler etc.
The result is perfect graphics. At the moment only at 48x16 characters.
Needless to say, I am rather chuffed... It will take a while till I can release this, since not all details are working, and parts of the menu needs redoing, so I am just posting some pictures for now.
Thanks everyone for the feedback. I probably wouldn't even have noticed the problems without it.
D.
Another update...
I have solved the graphic glitches. I worked out how to do things "the MiSTer way", dumped the VGA interface, and I am now feeding Grant Searle's original video through the Mister scaler etc.
The result is perfect graphics. At the moment only at 48x16 characters.
Needless to say, I am rather chuffed... It will take a while till I can release this, since not all details are working, and parts of the menu needs redoing, so I am just posting some pictures for now.
Thanks everyone for the feedback. I probably wouldn't even have noticed the problems without it.
D.
- Attachments
-
- pic3.jpg (73.25 KiB) Viewed 5192 times
-
- pic2.jpg (69.88 KiB) Viewed 5192 times
-
- pic1.jpg (81.28 KiB) Viewed 5192 times
- pgimeno
- Top Contributor
- Posts: 669
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 246 times
- Been thanked: 208 times
Re: Compukit UK101 core
That was it, thanks! This sets the correct parameters to not depend on minicom:
Code: Select all
#!/bin/sh
stty -F /dev/ttyS1 9600 cs8 -parenb -cstopb crtscts # 9600 8 N 1 Hardware flow control
ascii-xfr -sdv /media/fat/games/UK101/"$1" > /dev/ttyS1
Edit: And thanks for the MiSTer scaler update! I'm looking forward to the release.
Converters I've written: Floppy DIM/FDI/FDD/HDM to D88, D88 to XDF, Tape SVI 318/328 CAS to WAV