News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

The never ending BASIC program

Started by Devilmarkus, 15:07, 22 December 12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devilmarkus

Idea: anyone who replies here, copies the already existing code, and adds one line.
We will check the results then, if the program is runnable.

I begin:
10 MODE 1

(The next who replies, copies my "10 MODE 1" and adds line 20 and so on...)

Let's see, what happens!
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Brain Radioactivity

Devilmarkus

Awwwww.... Come on, remax: CLS is not really needed after a MODE 1...  :laugh:
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

We are never too cautious...
Brain Radioactivity

mr_lou


Devilmarkus

And the winner is mr_lou.
Program finished.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

EgoTrip

#6

10 MODE 1
20 CLS
25 POKE 0,&C9
30 CALL 0

mr_lou


10 MODE 1
20 CLS
25 POKE 0,&C9
29 POKE 0,1
30 CALL 0


EgoTrip

#8
10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0



Spoiler: ShowHide

RENUM 1,1


1 MODE 1
2 CLS
3 POKE 0,&C9
4 GOTO 6
5 POKE 0,1
6 CALL 0

mr_lou


10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0
31 POKE 0,1:CALL 0


EgoTrip

While this is fun and all, and going around in circles, maybe a real attempt at this should be made on the programming forum.

db6128

#11
Proposed rules: No resetting or other tricks, no messing up code with POKEs, probably no MC at all since it does say "BASIC program", no adding lines between existing ones unless there's a very good reason... etc.?

Edit: Never mind; I found the new thread.
Quote from: Devilmarkus on 13:04, 27 February 12
Quote from: ukmarkh on 11:38, 27 February 12[The owner of one of the few existing cartridges of Chase HQ 2] mentioned to me that unless someone could find a way to guarantee the code wouldn't be duplicated to anyone else, he wouldn't be interested.
Did he also say things like "My treasureeeeee" and is he a little grey guy?

AMSDOS

#12
1 mode 1:while 1:print"hello":wend
10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0
31 POKE 0,1:CALL 0





^^ You did say Never Ending.  :D
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Powered by SMFPacks Menu Editor Mod