Page 3 of 10

Re: Compukit UK101 core

Posted: Mon Sep 06, 2021 8:59 pm
by danielb
    Hi,

    What resolution is your MiSTer reporting on the HDMI monitor? That is exactly what mine looks like with the scandoubler fx switched on, which is why I removed it from the menu.
    I don't really have any way to test anything other than HDMI, so thanks for letting me know about the component video.
    As for the ROM message..... :o


    Rgds, D.

    Re: Compukit UK101 core

    Posted: Mon Sep 06, 2021 9:50 pm
    by NML32
    danielb wrote: Mon Sep 06, 2021 8:59 pm
      Hi,

      What resolution is your MiSTer reporting on the HDMI monitor? That is exactly what mine looks like with the scandoubler fx switched on, which is why I removed it from the menu.
      I don't really have any way to test anything other than HDMI, so thanks for letting me know about the composite video.
      As for the ROM message..... :o


      Rgds, D.
      The MiSTer connected to my TV is reporting (Bad Text)
      494x512 31.16KHz 49.6Hz
      1920x1080 148.50MHz 60.0Hz

      My AOC HDMI monitor is reporting (Bad Text)
      494x512 31.16KHz 49.6Hz
      1920x1440 185.20MHz 60.0Hz

      My PVM monitor is reporting (Good looking Text)
      494x256 15.58KHz 49.6Hz
      1920x1440 153.12MHz 49.6Hz

      Re: Compukit UK101 core

      Posted: Mon Sep 06, 2021 10:17 pm
      by danielb
      That is double resolution. HDMI on my monitor is 494x256 at 15.58 khz. Could it be a setting in your ini file? I have yet to find out why double resolution is not working right. I was wondering whether it might be because it has rectangular pixels which take up two scanlines.

      D.

      Re: Compukit UK101 core

      Posted: Mon Sep 06, 2021 10:24 pm
      by NML32
      I changed forced_scandoubler=1 to forced_scandoubler=0 now the text looks normal.
      ; set to 1 to run scandoubler on VGA output always (depends on core).

      494x256 15.58KHz 49.6Hz
      1920x1080 148.50MHz 60Hz

      Re: Compukit UK101 core

      Posted: Mon Sep 06, 2021 10:30 pm
      by danielb
      Excellent :D

      D.

      Re: Compukit UK101 core

      Posted: Tue Sep 07, 2021 10:31 am
      by pgimeno
      Looks like the initial "Th" is overwritten by spaces, not sure why. If you enter "A" repeatedly, they sometimes flash for a frame or so.

      Re: Compukit UK101 core

      Posted: Wed Sep 15, 2021 9:19 pm
      by danielb
      Hi all,

      This is an update to show off a feature which will be appearing in the next release of the core:

      https://youtu.be/95Rqv8kpQuw

      The video is a short demo of loading a program from a text file, which I have now managed to get working. As of now, it is incomplete and untested, the code is a mess, and I obliterated the original UART capabilities. You may notice that the initial "1" of the first line is missing. All of this will need to be fixed before the release.

      Getting it to work was excruciating, frustrating and very time-consuming, but interesting. I got very intimate with SignalTap. The code is basically a hybrid of the similar code for the Apple 1 (thanks Alanswx) and Grant Searle's original UART code.

      Enjoy the video :)

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 15, 2021 9:24 pm
      by NML32
      Nice progress. :)

      Re: Compukit UK101 core

      Posted: Wed Sep 15, 2021 9:24 pm
      by EeDee
      Nice! :-)

      Re: Compukit UK101 core

      Posted: Thu Sep 16, 2021 5:48 pm
      by danielb
      Hi all,

      I fixed some bugs and loading games now works, more or less, from the text files. Asteroids and the Invaders game appear to work. These are the most complex games I have, apart from SuperInvaders.

      SuperInvaders loads, but does not run properly. The reason for this is probably that it can no longer detect a baud rate from the UART. Hopefully this will be fixed when I resurrect the original UART code to allow the user to switch between UART and loading from file.

      I was lucky to find a comparatively simple core to work on. A more sophisticated one would have been totally out of my league :shock:

      D.

      Re: Compukit UK101 core

      Posted: Thu Sep 16, 2021 8:11 pm
      by EeDee
      danielb wrote: Thu Sep 16, 2021 5:48 pm
      I was lucky to find a comparatively simple core to work on. A more sophisticated one would have been totally out of my league :shock:

      D.
      Good work!
      You'll be moving on to something a little more sophisticated I'm hoping :-)

      Re: Compukit UK101 core

      Posted: Thu Sep 16, 2021 8:42 pm
      by danielb
      EeDee wrote: Thu Sep 16, 2021 8:11 pm
      danielb wrote: Thu Sep 16, 2021 5:48 pm
      I was lucky to find a comparatively simple core to work on. A more sophisticated one would have been totally out of my league :shock:

      D.
      Good work!
      You'll be moving on to something a little more sophisticated I'm hoping :-)
      Let's get this one out of the way first :D

      Re: Compukit UK101 core

      Posted: Sat Sep 18, 2021 9:21 am
      by danielb
      Hi again,

      Here's another video, showing the current state of development. Super Invaders loads and runs after selecting UART mode. You can change its speed by changing the baud rate, and make it stop by choosing file mode.

      Fun stuff... :lol:

      https://www.youtube.com/watch?v=pg40ekV ... oadUser100

      It will still be a few days till I release this, as there's still plenty to do and I won't have much time to work on it in the near future.

      D.

      Re: Compukit UK101 core

      Posted: Sat Sep 18, 2021 6:15 pm
      by EeDee
      Thanks for all the effort you're putting into this. Looking forward to trying it :-)

      Re: Compukit UK101 core

      Posted: Sat Sep 18, 2021 6:24 pm
      by danielb
      EeDee wrote: Sat Sep 18, 2021 6:15 pm Thanks for all the effort you're putting into this. Looking forward to trying it :-)
      It keeps me off the streets...

      D.

      Re: Compukit UK101 core

      Posted: Tue Sep 28, 2021 7:43 am
      by danielb
      Hi all,

      Attached is another pre-release version.

      Load games from text files.
      Limitations: 1) There is at present a size limit of approx. 20K for the text files. All of the games that I know of are smaller than this. 2) Text file extension must be .txt, so rename files if you want them to be recognized.

      Known Bugs: Reset sometimes fails to properly initialise everything, leading to failed loads from file. If this happens, reload the core. When this is fixed, I will release the core to the main repository.

      Easter egg: Try "POKE 54272,1"

      UART loading works too. This is barely tested.
      To run Super Invaders, load it up and then change the "load from:" option to UART, so that the game can detect the baud rate. This is demonstrated in the previously linked YouTube video.

      D.

      Re: Compukit UK101 core

      Posted: Tue Sep 28, 2021 10:10 pm
      by EeDee
      I'll give it a try.
      Thanks

      Re: Compukit UK101 core

      Posted: Tue Sep 28, 2021 11:34 pm
      by EeDee
      I've followed your video and have tried a few different text files but the result is the same:
      Screenshot_20210929-001047.png
      Screenshot_20210929-001047.png (884.36 KiB) Viewed 4081 times
      What have I missed?

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 6:17 am
      by danielb
      Hi,

      Could you send me some examples of files that didn't work for you?

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 10:16 am
      by EeDee
      danielb wrote: Wed Sep 29, 2021 6:17 am Hi,

      Could you send me some examples of files that didn't work for you?

      D.
      examples.zip
      (5.27 KiB) Downloaded 130 times

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 10:33 am
      by danielb
      Hi, the files have Unix-style "LF" line endings. They need to be changed to Windows-style CR/LF.
      Also, the files have "OK" with no line number on the last line. This creates a syntax error while loading.

      Thanks for testing the core.

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 10:42 am
      by EeDee
      Ah I See! Need to check for carefully next time.
      Thanks for that and for the work you've done

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 10:48 am
      by danielb
      I think the "OK" at the end means that the files were saved via the UART, right?

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 2:30 pm
      by danielb
      Galactic Hitchhiker

      This game is, according to this site: https://intfiction.org/t/early-british- ... ures/46425 possibly the earliest surviving British text adventure game. More details can be found here: http://8bitag.com/info/galactic.html and here: https://stardot.org.uk/forums/viewtopic ... 073#p61073.

      I downloaded the file from the stardot forum, and altered it very slightly (added padding at the end, the code is identical).

      The game seems to work well on the core. To run it, select the MonUK02 monitor, and set the terminal width to 46 characters. Then reset and select "Monitor" then press L and load the file. There is a walkthrough here: https://www.youtube.com/watch?v=oA36YiR ... l=benkid77 of it being played on an emulator.

      I am attaching both the game itself, and also a new pre-release version of the core. The only difference between this version and the previous one, is that I have increased the maximum text file size to well beyond the size of this file.

      The original name of the file, BTW, was ghpart1. I have no idea if there was a part2...

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 3:09 pm
      by EeDee
      danielb wrote: Wed Sep 29, 2021 10:48 am I think the "OK" at the end means that the files were saved via the UART, right?
      To be honest I don't know

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 3:11 pm
      by EeDee
      danielb wrote: Wed Sep 29, 2021 2:30 pm Galactic Hitchhiker

      This game is, according to this site: https://intfiction.org/t/early-british- ... ures/46425 possibly the earliest surviving British text adventure game. More details can be found here: http://8bitag.com/info/galactic.html and here: https://stardot.org.uk/forums/viewtopic ... 073#p61073.

      I downloaded the file from the stardot forum, and altered it very slightly (added padding at the end, the code is identical).

      The game seems to work well on the core. To run it, select the MonUK02 monitor, and set the terminal width to 46 characters. Then reset and select "Monitor" then press L and load the file. There is a walkthrough here: https://www.youtube.com/watch?v=oA36YiR ... l=benkid77 of it being played on an emulator.

      I am attaching both the game itself, and also a new pre-release version of the core. The only difference between this version and the previous one, is that I have increased the maximum text file size to well beyond the size of this file.

      The original name of the file, BTW, was ghpart1. I have no idea if there was a part2...

      D.
      I've come across this I think but not tried it.
      Thanks

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 3:16 pm
      by danielb
      EeDee wrote: Wed Sep 29, 2021 3:11 pm
      danielb wrote: Wed Sep 29, 2021 2:30 pm Galactic Hitchhiker

      This game is, according to this site: https://intfiction.org/t/early-british- ... ures/46425 possibly the earliest surviving British text adventure game. More details can be found here: http://8bitag.com/info/galactic.html and here: https://stardot.org.uk/forums/viewtopic ... 073#p61073.

      I downloaded the file from the stardot forum, and altered it very slightly (added padding at the end, the code is identical).

      The game seems to work well on the core. To run it, select the MonUK02 monitor, and set the terminal width to 46 characters. Then reset and select "Monitor" then press L and load the file. There is a walkthrough here: https://www.youtube.com/watch?v=oA36YiR ... l=benkid77 of it being played on an emulator.

      I am attaching both the game itself, and also a new pre-release version of the core. The only difference between this version and the previous one, is that I have increased the maximum text file size to well beyond the size of this file.

      The original name of the file, BTW, was ghpart1. I have no idea if there was a part2...

      D.
      I've come across this I think but not tried it.
      Thanks
      I'd never heard of it before I stumbled upon that YouTube video, but I couldn't resist getting it working on the core :)

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 4:53 pm
      by EeDee
      Think I read somewhere that a part2 hasn't surfaced
      Tried your adapted part1 and all is working. I've not yet tried anything else but will do very soon

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 5:25 pm
      by danielb
      I played it right through, following the walkthrough. Some of it is quite funny, but I imagine it would be pretty tedious without the walkthrough :shock:

      D.

      Re: Compukit UK101 core

      Posted: Wed Sep 29, 2021 8:10 pm
      by EeDee
      danielb wrote: Wed Sep 29, 2021 5:25 pm I played it right through, following the walkthrough. Some of it is quite funny, but I imagine it would be pretty tedious without the walkthrough :shock:

      D.
      Yes :-)