Games that were compiled from BASIC

General software. From trouble with the Banyan Tree to OCP Art Studio, post any general software chat here. Could include game challenges...
User avatar
Pobulous
Dynamite Dan
Posts: 1366
Joined: Wed Nov 15, 2017 12:51 pm

Re: Games that were compiled from BASIC

Post by Pobulous »

Alone Coder wrote: Tue Oct 26, 2021 10:48 am Call Me Psycho?
Yep - MCoder II
✓ Reviewed
User avatar
Lethargeek
Manic Miner
Posts: 744
Joined: Wed Dec 11, 2019 6:47 am

Re: Games that were compiled from BASIC

Post by Lethargeek »

Bedazzle wrote: Mon Oct 25, 2021 6:35 pm If I'm not mistaken, Heartbroken was written in compiled Basic.
i recall someone who looked into the code claimed many (all?) Shaw brothers games were compiled, though not sure if it was BASIC
+3code

Re: Games that were compiled from BASIC

Post by +3code »

Some early games by Dinamic are too compiled BASIC, as https://spectrumcomputing.co.uk/entry/7 ... rum/Yenght

I readed it was made with Colt or Mcoder, I cant remember.

EDIT: yes, I see this text in the code: "ZX COMPILER V2.0 1983 THRELFALL and HODGSON"
✓ Reviewed
User avatar
Bedazzle
Manic Miner
Posts: 305
Joined: Sun Mar 24, 2019 9:03 am

Re: Games that were compiled from BASIC

Post by Bedazzle »

Lethargeek wrote: Tue Oct 26, 2021 2:30 pm
Bedazzle wrote: Mon Oct 25, 2021 6:35 pm If I'm not mistaken, Heartbroken was written in compiled Basic.
i recall someone who looked into the code claimed many (all?) Shaw brothers games were compiled, though not sure if it was BASIC
https://zx-pk.ru/threads/26468-igry-ot- ... thers.html
User avatar
Pobulous
Dynamite Dan
Posts: 1366
Joined: Wed Nov 15, 2017 12:51 pm

Re: Games that were compiled from BASIC

Post by Pobulous »

Bedazzle wrote: Wed Oct 27, 2021 8:24 am
Lethargeek wrote: Tue Oct 26, 2021 2:30 pm i recall someone who looked into the code claimed many (all?) Shaw brothers games were compiled, though not sure if it was BASIC
https://zx-pk.ru/threads/26468-igry-ot- ... thers.html
Reading through that via Google translate it seems like they used a mix of assembly routines for sprite display and MCoderII, but also stripped out unnecessary bits of MCoderII, hence the easily spotted compiler strings are missing.
Mixing compiled code with assembly for time critical areas is a great way to speed up development, but it does reduce available memory.
User avatar
Einar Saukas
Bugaboo
Posts: 3147
Joined: Wed Nov 15, 2017 2:48 pm

Re: Games that were compiled from BASIC

Post by Einar Saukas »

TMD2003 wrote: Mon Oct 25, 2021 11:28 pm Robber (Virgin Games, 1983) explicitly states in the inlay card that it uses the Softek compiler - no indication of whether it was the integer or floating point version, though.
Or perhaps the original Softek Integer Compiler?

https://spectrumcomputing.co.uk/entry/8 ... r_Compiler
User avatar
Pobulous
Dynamite Dan
Posts: 1366
Joined: Wed Nov 15, 2017 12:51 pm

Re: Games that were compiled from BASIC

Post by Pobulous »

After watching these being reviewed on an old episode of The Spectrum Show, I thought I'd have a check and yes, all the games by Arcade Software are compiled with MCoder I or II. Therbo did particularly well in Crash for a compiled action game. Sinclair User not impressed, however.

MCoder II
https://spectrumcomputing.co.uk/entry/7 ... le_Trouble
https://spectrumcomputing.co.uk/entry/3 ... /The_Prize
https://spectrumcomputing.co.uk/entry/5 ... rum/Therbo

MCoder I
https://spectrumcomputing.co.uk/entry/1 ... _Detective
https://spectrumcomputing.co.uk/entry/2 ... m/Grid-Run
https://spectrumcomputing.co.uk/entry/2 ... or_Lattica
https://spectrumcomputing.co.uk/entry/4 ... ursed_Mine
✓ Reviewed
User avatar
WhatHoSnorkers
Manic Miner
Posts: 254
Joined: Tue Dec 10, 2019 3:22 pm

Re: Games that were compiled from BASIC

Post by WhatHoSnorkers »

Pobulous wrote: Mon Oct 25, 2021 3:41 pm According to this,
https://www.spectrumcomputing.co.uk/pag ... 04&page=92

Frank N Stein used Mcoder - original version I presume?

From the same page Nuke Lear apparently uses the Wye Valley compiler.



edited to clarify - Frank N Stein uses this compiler:
https://www.spectrumcomputing.co.uk/ent ... iler_MMIId

Confirmed that Nuke Lear uses the Wye Valley compiler
I first learned about the Wye Valley compiler from a letter from someone in Germany saying that you should buy Nuke Lear, because not only is it a good game, but it comes with the Wye Valley compiler at address so-and-so as well, saving you lots of money!
I have a little YouTube channel of nonsense
https://www.youtube.com/c/JamesOGradyWhatHoSnorkers
User avatar
MatGubbins
Dynamite Dan
Posts: 1239
Joined: Mon Nov 13, 2017 11:45 am
Location: Kent, UK

Re: Games that were compiled from BASIC

Post by MatGubbins »

https://spectrumcomputing.co.uk/entry/6 ... ue_Thunder
Blue Thunder - Richard Wilcox Software, all versions, uses the Wye Valley Compiler 2.2 - text at around EB8F/60303
It is also mentioned in CVG issue 34 Aug 1984 Page 132.
✓ Reviewed
User avatar
goodboy
Microbot
Posts: 141
Joined: Tue Jul 23, 2019 8:22 am
Location: Russia

Re: Games that were compiled from BASIC

Post by goodboy »

all game from Shaw brothers use MCoder2 (compiled basic + some code SubRoutine)
...........
and strategy games from Astros
✓ Reviewed
User avatar
Pobulous
Dynamite Dan
Posts: 1366
Joined: Wed Nov 15, 2017 12:51 pm

Re: Games that were compiled from BASIC

Post by Pobulous »

https://spectrumcomputing.co.uk/entry/3 ... um/Pioneer - MCODER I

This one looks like it's entirely written in BASIC:
https://spectrumcomputing.co.uk/entry/4 ... Super_Brat
✓ Reviewed
User avatar
PeterJ
Site Admin
Posts: 6881
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Games that were compiled from BASIC

Post by PeterJ »

I've been contacted by Tim Blacklock who wrote Rikosphere to say that:
Rikosphere was actually written in BASIC with some additional machine code sprite routines (probably from a magazine type-in) and was then compiled into machine code using the great MCODER 2
https://spectrumcomputing.co.uk/entry/4 ... Rikosphere
✓ Reviewed
catmeows
Manic Miner
Posts: 718
Joined: Tue May 28, 2019 12:02 pm
Location: Prague

Re: Games that were compiled from BASIC

Post by catmeows »

Maglaxians by Cybexlab is told to be compiled MCoder II plus sprite routine in machine code.
✓ Reviewed
Proud owner of Didaktik M
marenja
Microbot
Posts: 108
Joined: Sun Dec 26, 2021 4:15 pm

Re: Games that were compiled from BASIC

Post by marenja »

Are there any ideas how to detect games compiled from BASIC?

First of all we need a method to detect a game was compiled from BASIC with any compiler. We are just checking the fact that game was really compiled.

And second step - we need to find out which exactly compiler was used.




We can probably execute task in reverse order. We invent a method to detect some exact compiler as first step. And we check all games using that method to proove the fact game was compiled with that compiler as second step.

I used manual checks with MCoder 2. This method is probably good enough but it requires manual work.

viewtopic.php?t=10810

Druellan used search of hex strings but that method tends to have false negatives and skips files that were actualy compiled.
marenja
Microbot
Posts: 108
Joined: Sun Dec 26, 2021 4:15 pm

Re: Games that were compiled from BASIC

Post by marenja »

marenja wrote: Thu Jan 11, 2024 5:39 pm First of all we need a method to detect a game was compiled from BASIC with any compiler. We are just checking the fact that game was really compiled.
This is necessary in case game was compiled but there is no chance to detect compiler.
marenja wrote: Thu Jan 11, 2024 5:39 pm Druellan used search of hex strings but that method tends to have false negatives and skips files that were actualy compiled.
It tends to false positives too. Sad news but it can output games compiled with wrong compiler - not the one you really search - among results.
Post Reply