MIA: Sir Gawain

edited January 2009 in Games
As previously announced, here's the release of Sir Gawain, a Microhobby type-in program.

Included in the archive is the .TZX with the generated binary files and the BASIC program as printed in the magazine.

A big big big THANK YOU must go to LCD as he corrected some errors in the machine code listings which i originally (mis)typed back in 1990-something and never got around to getting them fixed. Thank you, it was very helpful!!

A few screenshots, and the archives:

gawain1.png

gawain2.png

gawain3.png

Download here: Sir Gawain
Post edited by NaMcO on
«1

Comments

  • LCDLCD
    edited December 2008
    Maybe it is a good idea to include scans of the original type-in? It looks like toe width of the Attribute data is too small by one byte.
  • edited December 2008
    The original scans are here:

    http://www.microhobby.org/numero182.htm

    I have checked the listings over and over again and didn't notice anything wrong with them, but it's easy to let a byte slip through so much code. When i have some more spare time i'll have another look... The HEX Loader seems to be ok as i have used it for many other programs.

    EDIT: Currently converting the .DAT files to Microhobby's own HEX Loader to make sure there's nothing wrong with it.
  • LCDLCD
    edited December 2008
    Excellent scan quality! As it got a checksum in Hex parts (I hope, it was all right), maybe two Hex bytes values are swapped...
  • edited December 2008
    Oi! That's my Cobra sprite!

    The cheeky monkeys!
  • edited December 2008
    Can only be that, or some print error, maybe?

    I converted all .DAT files from my HEX Loader to A$() data files as used by Microhobby's HEX Loader, dumped all code and the result was the same.

    Oh well, better luck next time, it was a long type :grin:
    Oi! That's my Cobra sprite!

    The cheeky monkeys!
    LOL! I guess i knew the guy from somewhere... now that you mention it, it's similar:

    Cobra.gif

    You drew it for Ocean? If yes, nice job!
  • LCDLCD
    edited December 2008
    NaMcO wrote: »
    Oh well, better luck next time, it was a long type :grin:

    We need a OCR to Hex and ZX Basic converter maybe, to save typing time. Right?
  • edited December 2008
    Yesiree! :-D
  • LCDLCD
    edited December 2008
    I got the idea to use FreeOCR from
    http://www.softi.co.uk/freeocr.htm
    to read the images as text (As it got no fu... spellchecker), then I will write a utility to check the text for valid Hexchars, check the chevksum and convert it to tap using my Retro-X TAP or TZX writting routine to save corrected code. Tapir can then replace the old with new code in the file.
    What do you think about this? :grin:
  • edited December 2008
    If you want to save time typing listings of Microhobby, you can use Basin for basic, and CUCM for "machine code". Before, you must get an OCR program, scan pages, and save the result as txt files. Basin and CUCM will show all the errors to correct them.
  • edited December 2008
    Sounds nicer than typing everything in. I am going to try this one soon as we already have good scans of the magazines. All i need now is a nice OCR program to test it, will work on that, thanks for the help ;)
  • LCDLCD
    edited December 2008
    zyloj wrote: »
    If you want to save time typing listings of Microhobby, you can use Basin for basic, and CUCM for "machine code". Before, you must get an OCR program, scan pages, and save the result as txt files. Basin and CUCM will show all the errors to correct them.

    Basic is error-free I think, because the source works well on Spectrum (BasIn does not show errors very different from the way Spectrum does), so it is useful for other sources that will be scanned later.
    CUCM is Command line, and not a english utility (So I cannot understand all messages, Espaniol?), but maybe NaMcO can use it better than I do :grin:

    I scanned now all the Sources with FreeOCR and will write the program (with a windows GUI).
  • LCDLCD
    edited December 2008
    Currently I'm progressing well with my HexCheck, but I noticed, the scans are only at 150 DPI, which is not enough for acceptable OCR results. 200-300 DPI would be much better. Currently I included a autocorrection (Letter "O" is handled as Zero, "L" is One, "Z" is two,...), but the OCR software cannot recognise very well between 6 and 5 (All 6 are converted to 5 in fact), and 0 is often 5 too...
    Do you have a hires scans of this, NaMcO?
  • edited December 2008
    Hi LCD, i'm sorry but the only scans i have are the ones at the archive. I had the original Microhobby, but unfortunately it got lost long time ago.
  • LCDLCD
    edited December 2008
    NaMcO wrote: »
    Hi LCD, i'm sorry but the only scans i have are the ones at the archive. I had the original Microhobby, but unfortunately it got lost long time ago.

    Okay, I was afraid, you will say something like this. So I just used Omnipage to re-OCR it a bit better and entered the first part (title picture) with my program. This was done correctly and it has no attribute problems anymore, more parts will follow soon. Btw: the first hex part should be 1495 bytes long, but you saved 1795 bytes :grin:.
    It looks like I can re-enter all the Hex data very fast with my HexChecker (Will be available soon for download).
  • edited December 2008
    Thanks, i'm glad it's starting to work. There shouldn't be a problem with the 1795 bytes (doh, stupid mistake) but one never knows... ;)

    Specially when some of the errors are gone. Good work LCD ;-)
  • LCDLCD
    edited December 2008
    I have very bad news about this. The Listing 3 is missing some lines (just displayed by my program):
    22,23,26,27,161 maybe even more...
    Will check if there was a erratum in a later issue, but now I don't wonder why this game is not working, it is not fully your fault, NaMcO :grin:.
  • edited December 2008
    LCD wrote: »
    I have very bad news about this. The Listing 3 is missing some lines (just displayed by my program):

    Don't worry about that: When a line is missing in a hex listing on MicroHobby, it means that it's full of 0's ;)

    In fact, that it's at the notice that's before the BASIC listing:
    MicroHobby wrote:
    LAS L?NEAS QUE NO APAREZCAN EN LOS LISTADOS DE C?DIGO M?QUINA DEBEN SER INTRODUCIDAS COMO CEROS

    That means, more or less (remember that my english knowledge it's a sh*t :lol: ) ...

    The lines wich don't appears on the machine code listings, must be introduced as 0's
  • LCDLCD
    edited December 2008
    Okay, I see... Thanks!
    I will fill these lines with zeros. Please forgive me as I do only speak german, english, polish and a little russian, czech and japanese :grin:.
  • edited December 2008
    LCD wrote: »
    Please forgive me as I do only speak german, english, polish and a little russian, czech and japanese :grin:.

    I'll try to do it, but I promise nothing :P ;)

    Someday, I'll speak spanish perfectly... then, I'll start with english :D
  • LCDLCD
    edited December 2008
    Benway wrote: »
    I'll try to do it, but I promise nothing :P ;)

    Someday, I'll speak spanish perfectly... then, I'll start with english :D

    English of you very good is :D. If like Master Yoda you learn 1000 years speak to, you perfectly speak english tongue...
    Sorry, I can't resist...

    Some of the hex codes in the listing are very hard to read, but I do my best...

    BTW: Every OCR Program has its own advantages and disadvantages. Omnipage cannot recognise "B" often, and "D" is changed into "0".
    FreeOCR can read them perfectly, but it has problems with other letters.
  • edited December 2008
    LCD wrote: »
    Some of the hex codes in the listing are very hard to read, but I do my best...

    My last joke (I promise) ;) : I can't believe that someone like you (who knows so many languages) have any kind of difficulty reading something as simple as the hex code ... :P

    Anyway: Good luck with the listing! ;)
  • edited December 2008
    LCD wrote: »
    Okay, I see... Thanks!
    I will fill these lines with zeros. Please forgive me as I do only speak german, english, polish and a little russian, czech and japanese :grin:.

    Yeah, it's a trick made by Microhobby so that every program fails :D:D:D

    Joke. Keep it up, it's sounding good!

    *** Keeps typing Mine Alert ***
  • LCDLCD
    edited December 2008
    Benway wrote: »
    My last joke (I promise) ;) : I can't believe that someone like you (who knows so many languages) have any kind of difficulty reading something as simple as the hex code ... :P

    Anyway: Good luck with the listing! ;)

    Sorry, I speak Binary and broken Hex...
    @NaMcO:
    I believe you that completly...
    Just generated the TAP File with Gawain1 and Gawain2 CODE files replaced, and it looks like it is working now correctly (48K and 128K modes)... Should I generate the third CODE file, or do you want the fixed version soon as possible?

    Edit: Please send me a PM with your eMail, so I can send the game to you.
  • edited December 2008
    Thank you so much. Look forward to try this. I always loved Microhobby games and used to spend hours typing those hex listings. A few months ago I even thought of suggesting a specific listing scan engine for Dunny's Basin, but after reading so many posts about how hard it is to OCR Sinclair Basic listings, I gave up the idea.

    To be able to scan, select an area and import it into a Sinclair emulator or Basin, would be an awesome thing.

    Thank you Namco. This is one of those games that wasn't added to Speccy.org's 'K y Enter' archive. Keep up the good work!
  • edited December 2008
    zxbruno wrote: »
    Thank you Namco. This is one of those games that wasn't added to Speccy.org's 'K y Enter' archive. Keep up the good work!

    You're very welcome, i love them too ;)

    Mine Alert should be ready this weekend, or so i hope, so there's another one which was missing.
  • LCDLCD
    edited December 2008
    zxbruno wrote: »
    A few months ago I even thought of suggesting a specific listing scan engine for Dunny's Basin, but after reading so many posts about how hard it is to OCR Sinclair Basic listings, I gave up the idea.

    OCR is not that hard for Hex listings, but for Basic programs it is. Thats because some magazines print the UDGs in their graphical form. This makes OCR impossible.
    Maybe I can release my HexCheck today. I tested it with Omnipage 4 SE and FreeOCR 2.5 outputs (Omnipage has less errors). ABBY Finereader should be tested too, but I'm sure, the most problems are there because of the low resolution of magazine scans. For OCR 200-300 DPI are needed, and the scans are done at 150 DPI.
    The Autocorrection engine of HexCheck works very good, even with Omnipage scans at 150 DPI most of the Hex lines did not need any manual correction, and I even improved some of the autocorrections doing the first parts of "Sir Gawain".
    The HexCheck was supposed to be a part of Retro-X, but I think, a standalone program (25 Kb, 41 Kb if uncompressed), is a better solution.

    By the way, the second screen of Sir Gawain is still extremly hard.
  • edited December 2008
    Spanish games have that characteristic - damn damn hard :-o

    Check: Army Moves 1st section, Hundra, Misterio del Nilo to name but a few - HARD :-P

    Yet, i love them all, fantastic pieces of software, generally with outstanding graphics.
  • LCDLCD
    edited December 2008
    NaMcO wrote: »
    Spanish games have that characteristic - damn damn hard :-o

    Check: Army Moves 1st section, Hundra, Misterio del Nilo to name but a few - HARD :-P

    Yet, i love them all, fantastic pieces of software, generally with outstanding graphics.

    Yes but too hard!!! Army moves first section is extremly hard!.
    I sent the finished game now to you. Will cross-check it with your version now... The HexCheck is now available for download from my website.

    NaMcO:
    Retro-X displayed much differences (swapped ED and A0) in Hex source 1, around lines 45-60 as I compared my and your version.
  • edited December 2008
    Can't thank you enough LCD, the first post is now updated with the release, hope everyone in the community enjoys this HARD :grin: and fine game from Microhobby. I will try to get past screen 3 now :-P
  • edited December 2008
    Sorry for the double post, just to state that information regarding these two games (Sir Gawain and Mine Alert) was sent to K & ENTER and another website dedicated to lost Spectrum games by Microhobby.

    I sent the webmasters links to the threads here in the forum.
Sign In or Register to comment.