I managed to get it to some-what run in QB64.
Thu Jan 13, 2022 3:03pm

I had to copy in the contents of HELPERS.BAS into XMAS2021.BAS. I also had to add a "CHDIR" to the current directory at the start of the code.

It loaded up and the sound actually works. The problem is, it doesn't read any of the sprite data that was saved as binary using BSAVE and loaded with BLOAD. So all the sprites are missing.

Also, the QB64 IDE is struggling really hard to not run at complete crap speed with the size of the source code. Which is crazy because regular old QB runs it just fine and it's only 3500 lines of code total. The program itself runs fine though (just in the smallest window possible lol)

To give you an idea how small the window actually is:

(The present displays because it's actually made using the LINE command.)

If the IDE wasn't so horrid to try and move around in, I may want to try and make a version that would compile in QB64. Basically to do that, I would just need to create a converter for the sprite binary data to plain text data in old school QB45, then update the XMAS2021 sprite load SUB to use that generated text data instead of trying to BLOAD the sprites into an array directly.

Who am I kidding.. I'll probably try and do that anyway at some point. Haha

Annnd just for fun, I tried my COBOL BASIC interpreter. I knew that wasn't going to work as it has no concept of files or graphics. Surprisingly, it doesn't crash out parsing the program and even attempts to run it. It drops right into Game Over though.

Post game over high score table:

Exit screen looks right at least:

Still cool it didn't completely blow up!

    • QB64 probably is trying to run BASIC as a language - Puckdropper, Thu Dec 30 2021 8:44am
      where the PEEK and POKEs are directly accessing the machine. Dosbox works because it emulates the whole machine. I also noticed QB64 doesn't have a definition for ClearKBBuffer (I guess that's in helpers.bas [I don't remember the name]) but QB45 did.
      • I managed to get it to some-what run in QB64.- Erik_, Thu Jan 13 2022 3:03pm
        • It almost seems like COBOL did better than QB64 - Puckdropper, Sat Jan 15 2022 6:07pm
          QB64 just seems so hard to mess with. I get nostalgia, but there's nothing wrong with making things better. I just tried to open the .mak file and got a "file not found" error and when I went back to try again I would have had to renavigate back to the folder with the files. It is amazing, thou... more
          • I think that's only because mine is... - Erik_, Mon Jan 17 2022 1:16am
            actually an QB interpretter where QB64 compiles the QB code into a binary and runs it. Also, CBI doesn't care about any errors interpretting once it does it's basic sanity pass before starting the program. Basically, anything that's not explicitly programmed for is "undefined" behavior.. whether it'... more
      • Yeah ClearKbBuffer is in helpers.bas - Erik_, Thu Dec 30 2021 2:53pm
        Might just be that QB64 doesn't read the .MAK file for includes.. or doesn't support it. Is there an option in the file menu to load a file like in QB? Maybe it just needs to be manually done?
  • Click here to receive daily updates
    "Forces act when not restrained" - Puckdropper