Jump to content

Photo

BASIC Ten-Liners Contest 2015

ABBUC BASIC NOMAM programming

99 replies to this topic

#1 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 27, 2015 8:15 AM

"Write a game in 10 lines of BASIC!"

 

 

For the fourth time this is the motto of the programming contest on the occasion of the retro computer meeting NOMAM. In the years 2011 and 2013 the BASIC Tenliners compo was a small internal competition and the programs were made live at the meeting. In contrast, in 2014 contributions from all over the world came. And only one contribution was produced live at the meeting. Over ABBUC and AtariAge forums the incredible amount of 40 games from Australia, USA, Chile, Poland, United Kingdom and Germany rolled in.

 

This year we want to give the competition a new impetus by opening it; both in terms of legal systems, as well as with regard to authorized BASIC dialects.

 

 

Legal systems:

 

Atari 8-Bit

Commodore 64

Commodore 128

Schneider CPC

 

Authorized BASIC dialects:

Atari BASIC (A8)

Turbo BASIC XL (A8)

Altirra BASIC (A8)

OSS BASIC XE (A8)

OSS BASIC XL (A8)

Commodore BASIC V2 (C64)

Simon's BASIC (C64)

Commodore BASIC 7.0 (C128)

Locomotive BASIC 1.0 (Schneider CPC)

Locomotive BASIC 1.1 (Schneider CPC)

 

Other BASIC dialects and computer systems are approved under the condition that the contributions will be presented by the programmer on the original hardware at the NOMAM (04.11.) in Lübeck.


Even if the fun of programming and the competition should be in the foreground, but a few rules are needed.

Contributions are accepted in three different categories:

 

Category "PUR":

Program a game in 10 lines (max. 120 characters per logical line, abbreviations are allowed)

Category "EXTREM":

Program a game in 10 lines (max. 256 characters per logical line, abbreviations are allowed)

Category "LIVE":

On 04/11/15 a programming assignment is made, which must be resolved within 2 hours

 

Further rules:
- No reloading of data or program parts
- Call of machine language programs are prohibited
- POKEing is allowed (eg change the DL, PM-graphic)
- Deadline: Saturday 04/11 at 9 pm (Central European Summer Time) (Remote posts: Wednesday 04/08, 9 pm)
- Voting: Saturday 04/11 at 11.30 pm, then awarding
- Together with the program a text file should be submitted with the program description and instructions
- The programmers agree to the publication of the programs, the description and the instructions by the organizer
- Only physically Attendants may vote
- Remote contributions, however, are permitted provided they are received by Wednesday, 04/08 at 9 pm at GKANOLD-ät-GMAIL dot COM



#2 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,313 posts
  • Location:Warsaw/Poland

Posted Tue Jan 27, 2015 8:24 AM

@Bunsen: where we can send progs? Here, to atariage phorum - or via e-mail?



#3 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 27, 2015 8:36 AM

Sikor, as you like. I will check regularly AtariAge and ABBUC forums and of course also my Email account. Some people sent me their contributions per mail other attached it here. I think, both is okay. I don't know if there will be any interest at other retro systems, I will inform you...



#4 atari2600land ONLINE  

atari2600land

    Waffles:

  • 10,763 posts
  • Man's best invention. Ever.
  • Location:Salem, Oregon

Posted Tue Jan 27, 2015 8:38 AM

I forgot how to compile a Turbo Basic program to make it a disk file instead of a save state!



#5 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 27, 2015 10:05 AM

LOAD "D:TEST.BAS



#6 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 27, 2015 10:06 AM

Sorry

 

SAVE "D:TEST.BAS



#7 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Tue Jan 27, 2015 3:10 PM

Beitrag/Entry #1: Chase

Platform: Atari

Language: Turbo BASIC XL

Author: Rockford

Category: PUR

 

Attached Thumbnails

  • chase.png


#8 atari2600land ONLINE  

atari2600land

    Waffles:

  • 10,763 posts
  • Man's best invention. Ever.
  • Location:Salem, Oregon

Posted Tue Jan 27, 2015 6:13 PM

Sorry

 

SAVE "D:TEST.BAS

I got an "error - 146 not impl."



#9 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,313 posts
  • Location:Warsaw/Poland

Posted Wed Jan 28, 2015 12:52 AM

Load Turbo Basic XL with DOS, not only as XEX file. And remember - use unprotect disk (or option R/W in emulator). You can use this atr image: http://atarionline.p...asic XL 1.5.atr



#10 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Wed Jan 28, 2015 2:12 AM

And remember - use unprotect disk (or option R/W in emulator).

 

I think that's the point. R/O (read only) is standard option in Altirra. You have to change it to R/W (read/write). I remember this was my common mistake using this emulator first times.



#11 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Wed Jan 28, 2015 3:40 AM

There were some discussions with the Amstrad and the C64 community (cpcwiki.eu and forum64.de).

 

Issue 2 of "further rules" were misleading. So it will be changed to:

 

- the 10 lines of the programm can not contain self-written machine code

 

Unfortunately I am not able to edit the first post.



#12 Rybags ONLINE  

Rybags

    Quadrunner

  • 15,164 posts
  • Location:Australia

Posted Wed Jan 28, 2015 3:53 AM

Probably a good idea to publicise it at Lemon64.com as well - it's probably the biggest C64 forum.

 

I'll try and get in again, hopefully with more entries, and take advantage of TBXL this time.

C64 would be really interesting given the 80 char/line limit and somewhat simpler Basic.  But I suspect we could implement similar tricks to A8 to cram more into each line.



#13 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,313 posts
  • Location:Warsaw/Poland

Posted Wed Jan 28, 2015 3:54 AM

 

Issue 2 of "further rules" were misleading. So it will be changed to:

 

- the 10 lines of the programm can not contain self-written machine code

 

Good point. I remember, when I organized "5zł compo" at atarionline.pl - Magnus (Zenon Mikołajczyk) code all in ain assembler after REM lines ;) In 10 lines - as here (I'll must find disk with this some time and put it here for good example of this problem).



#14 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Wed Jan 28, 2015 4:24 AM

Beitrag/Entry #2: Micronoid

Platform: CPC

Language: Locomotive BASIC

Author: Markus Hohmann

Category: EXTREM

Attached Thumbnails

  • micronoid.png


#15 atari2600land ONLINE  

atari2600land

    Waffles:

  • 10,763 posts
  • Man's best invention. Ever.
  • Location:Salem, Oregon

Posted Wed Jan 28, 2015 8:04 AM

I'm using Atari800Win PLUs 4.0. It's already set to R/W.



#16 Sikor OFFLINE  

Sikor

    Stargunner

  • 1,313 posts
  • Location:Warsaw/Poland

Posted Wed Jan 28, 2015 2:00 PM

o.k. I have it (thx to Miker). 2 edition of 5zł compo, use turbobasic XL (included).

Attention! This is not entry to 10 lines compo this time! In first atr was used machine program written by Magnus - I put it as example!Attached File  5zl_compo.atr   179.64KB   160 downloads

Attached File  5zlcompoII.atr.atr   179.64KB   174 downloads



#17 Reaperman OFFLINE  

Reaperman

    Quadrunner

  • 5,671 posts
  • Location:New Orleans, LA

Posted Wed Jan 28, 2015 4:58 PM

Oh good, this is back!  I was wondering.

 

My a8 died last year, so I may request some real hardware testing over in the dev forum, but I've got a solid chunk of vacation coming up around mardi gras again that I can sit down and hopefully put something nice out.  I'm thinking something more 2-player this time, but I have to come up with a creative way to do that using little space.

 

If the Commodore/Amstrad folks really get in on it, there could be quite a few entries, indeed.  I'm pretty interested in seeing how the basics stack up against eachother.  How you guys find time to do anything at your gathering besides judge 10-liners is beyond me.  


Edited by Reaperman, Wed Jan 28, 2015 5:34 PM.


#18 Kyle22 ONLINE  

Kyle22

    River Patroller

  • 3,105 posts
  • Location:McKees Rocks (Pittsburgh), PA

Posted Wed Jan 28, 2015 9:50 PM

is X=USR(ADR("hLVd")) type thing allowed to call SIO or other OS routines allowed?



#19 kenjennings OFFLINE  

kenjennings

    Dragonstomper

  • 753 posts
  • Me + sio2pc-usb + 70 old floppies
  • Location:Florida, USA

Posted Wed Jan 28, 2015 10:00 PM

is X=USR(ADR("hLVd")) type thing allowed to call SIO or other OS routines allowed?

 

Nope.  No machine code.   That string contains machine code.



#20 pirx OFFLINE  

pirx

    Moonsweeper

  • 371 posts
  • Location:Poland

Posted Thu Jan 29, 2015 3:10 AM

You can possibly though use the dirty DOS trick - set up dosvec and call DOS. No self-written machine code.

 

A different question - screenshots only pre meeting this year?

 

Best,

 

pirx



#21 gozar OFFLINE  

gozar

    Dragonstomper

  • 789 posts
  • Location:Ohio

Posted Thu Jan 29, 2015 2:57 PM

Any limits on controllers?



#22 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Fri Jan 30, 2015 3:42 AM

 

 

A different question - screenshots only pre meeting this year?

 

 

It is up to you. Last year some people sent me their programs other posted it here. I think both is ok.



#23 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Fri Jan 30, 2015 3:43 AM

Any limits on controllers?

No. I'm thinking about using my android phone as touch controller...



#24 Bunsen OFFLINE  

Bunsen

    Dragonstomper

  • Topic Starter
  • 846 posts
  • Location:Dithmarschen/ Germany

Posted Fri Jan 30, 2015 3:45 AM

I've prepared a website with the rules and the newest entries. Too difficult to keep multiple 8 bit forums up to date...

 

http://gkanold.wix.c...!10liners/c15hi



#25 Ogien OFFLINE  

Ogien

    Space Invader

  • 39 posts

Posted Fri Jan 30, 2015 8:42 PM

Where is the source for these posted? How do we know they are 10 lines?  Plus I want to type them in for fun






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users