Jump to content
IGNORED

One liner contest


arcadeshopper

Recommended Posts

This is a Disk Cataloger Program which allows to catalog the Disk Drive you input at the beginning:

1 IF B=0 THEN INPUT B :: GOTO 1 ELSE C=C+1 :: OPEN #1:"DSK"&STR$(B)&".",INPUT ,RELATIVE,INTERNAL :: INPUT #1,REC C:A$,A,J,K :: IF LEN(A$)=0 THEN CLOSE #1 ELSE PRINT USING "########## ### #":A$,J,A :: CLOSE #1 :: GOTO 1

  • Like 2
Link to comment
Share on other sites

Bouncing Block:
1 B=B-(Y<2)+2*(Y>48):: A=A-(X<2)+2*(X>64):: Y=Y+B :: X=X+A :: CALL MOTION(#1,12*B,12*A):: IF C=1 THEN 1 :: CALL SCREEN(2):: C=1 :: CALL SPRITE(#1,79,9,Y,X):: GOTO 1

Since this uses Call Motion, it could be that result is different in emulators or on the real machine. I tested it against Classic99 with Default 60Hz.

  • Like 5
Link to comment
Share on other sites

This is a Disk Cataloger Program which allows to catalog the Disk Drive you input at the beginning:

1 IF B=0 THEN INPUT B :: GOTO 1 ELSE C=C+1 :: OPEN #1:"DSK"&STR$(B)&".",INPUT ,RELATIVE,INTERNAL :: INPUT #1,REC C:A$,A,J,K :: IF LEN(A$)=0 THEN CLOSE #1 ELSE PRINT USING "########## ### #":A$,J,A :: CLOSE #1 :: GOTO 1

 

 

I hope you don't mind, I used your one liner as an example in a very short video on getting text files onto Real Iron the easy way...

 

https://www.youtube.com/watch?v=s9UPvRFjQDA&feature=youtu.be

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...