CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: ComSoft6128 on 09:00, 01 May 22

Title: Locomotive BASIC - DiskSpin utility by Runbow
Post by: ComSoft6128 on 09:00, 01 May 22
Running on a 6128 Plus
Looks OK to me........but I'm not a hardware guy.......anyone like to comment?

From the AMSTRAD.EU 2020 (not 2002!) 2-line contest.
" The Deulignes, it was every week small programs sent by the readers of hebdogiciel which, in two lines of code had to do anything as long as it was original, funny... In the end, a software but above all see his work published in his favorite duck.
What is Deulignes?
A deulines is quite simply a program whose source code takes two lines of Basic. A line of Basic does not exceed 255 characters, including the number and the obligatory space which follows it. You therefore have a maximum of 506 characters left to give free rein to your overflowing imagination."



Link:
https://www.cpc-power.com/index.php?page=detail&num=17620

Hebdogiciel:
https://en.wikipedia.org/wiki/Hebdogi...
https://archive.org/details/hebdogici...

Not emulated - original hardware and software.
Please note that  the aspect ratio for this YouTube video is 16:9 but the CPC monitor

has an aspect ratio of 4:3 so you may wish to adjust your viewing device accordingly.
Title: Re: Locomotive BASIC - DiskSpin utility by Runbow
Post by: Fran123 on 09:34, 01 May 22
I though that programs were only written in basic, that program is 99% asm code
Title: Re: Locomotive BASIC - DiskSpin utility by Runbow
Post by: ComSoft6128 on 09:42, 01 May 22
Forgive my ignorance here but this program looks like BASIC to me - how is this different?

Genuine question.
Title: Re: Locomotive BASIC - DiskSpin utility by Runbow
Post by: MaV on 12:37, 01 May 22
It looks like BASIC, but all the program really does is poke all the values of the asm code of a$ and b$ into &4000. Then it executes the machine code and prints the results in BASIC in an endless loop. At this point, it really begs the question why the program hasn't been converted 100% into a machine code binary.
Title: Re: Locomotive BASIC - DiskSpin utility by Runbow
Post by: pelrun on 13:09, 01 May 22
Because it was a submission to a competition where that was the required format. *It doesn't matter* that it loads a machine code routine, it still exists as 2 lines of BASIC, so it fulfills the requirements.

Arguing over trivial details of what is and isn't considered a valid entry for an event which was conducted TWENTY TWO YEARS AGO is completely silly.
Title: Re: Locomotive BASIC - DiskSpin utility by Runbow
Post by: ComSoft6128 on 13:23, 01 May 22
Thanks for the replies and I have to point out a typo I've just noticed - this dates from 2020 not 2002 ::)
Powered by SMFPacks Menu Editor Mod