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=17620Hebdogiciel:
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.
I though that programs were only written in basic, that program is 99% asm code
Forgive my ignorance here but this program looks like BASIC to me - how is this different?
Genuine question.
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.
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.
Thanks for the replies and I have to point out a typo I've just noticed - this dates from 2020 not 2002 ::)