boray
 
  :: boray is a member since 08/15/2006 --- this profile has been viewed 198,028 times
boray's SoundClick blog - Commodore 64 and Vic-20 programming challenge: 358 bytes of Basic V2!
Write something (anything really) in just 358 bytes of basic code. (The .prg file can be at most 360 bytes). Why 358 bytes? Well, that's 1/10 of the memory of an unexpanded vic-20. wink ;)

Read more on the Denial and Folkvagn forums.






Boing
By Anders Persson

Download:
boing.zip

Programmed on a real PAL vic-20. Runs in both unexpanded and expanded mode.

The NTSC version is tested in VICE only.



PrgInfo
By Anders Persson

Download:
prginfo.zip

That's right, it's a 358 byte version of this program:
PrgInfo

Should run on any Commodore 8-bit computer.



A program by Mike:

My entry. Around 150-160 bytes (depending on the filename used):
Code:
63996 POKE812,238:OPEN2,8,2,"FILE,S,R"
63997 PRINT"{CLR}";:IFST<>0THENPOKE812,239:CLOSE2:END
63998 GET#2,A$:PRINTA$;:IFA$<>CHR$(13)THEN63998
63999 PRINT"GOTO63997":POKE631,19:POKE632,13:POKE633,13:POKE198,3

this is (more or less) the inverse to:
Code:
OPEN2,8,2,"FILE,S,W":CMD2:LIST
PRINT#2:CLOSE2

only that the appended 'READY.' will disturb the program a little bit. Just type in a final 'GOTO63997' to cleanly end to process.

Michael
posted by boray on Thu Aug 30, 2007 @ 06:28 AM     post a comment
Digg! add to del.icio.us rss feed
boray's SoundClick page - read my blogs and leave a comment
Please register first or login here

 

©1997-2017 SoundClick Inc. All rights reserved!

All material on this site is protected by copyright law and by international treaties. You may download this material and make a reasonable number of copies of this material only for your own personal use. You may not otherwise reproduce, distribute, publicly perform, publicly display, or create derivative works of this material, unless authorized by the appropriate copyright owner(s).