Page 4 of 5

Re: Welcome! Please add your programs.

Posted: Mon Jan 06, 2020 8:52 pm
by 20questions
it's less of a game, more of a utility, but this is my morse code helper, programmed by me to help others learn morse code at a pace they're comfortable with. I'm still getting used to commodore basic so bear with me, feel free to send me any bugs so i can work them out. for those that need one, here is a sheet to help http://experimentexchange.com/wp-conten ... de-pic.jpg

You never know, one day we might get hit by an EMP or lightning might cut off communications.

enjoy and give feedback

hope the file works ok

for the unexpanded vic 20

Re: Welcome! Please add your programs.

Posted: Tue Jan 07, 2020 2:06 pm
by 20questions
do you like it?

Re: Welcome! Please add your programs.

Posted: Tue Jan 07, 2020 10:35 pm
by chysn
Eh, what the heck. My son is a huge esoteric programming language fan, and wants to learn an assembly language before he goes off to college next fall. So I wrote a Brainfuck interpreter as a sort of demo for him. There was already a Brainfuck interpreter for VIC-20, but mine is way better, in that it uses 16-bit addressing and it can optionally execute code directly from screen RAM.

https://github.com/Chysn/vicbf

Re: Welcome! Please add your programs.

Posted: Sun Mar 29, 2020 9:50 am
by Miklós
Hello
Here are 3 BASIC prg. which in the late '80s I was teasing.
You need VIC 20 + 16k ram.
My "coloring" program is my first program.
A kind of "mastermid".
The first version exists on VIC 20, somewhere on tape.
This is a redesigned version of c64.

Original, please translate it.
<language:Magyar, HU, Hungarian>
Hello
Itt van 3 BASIC prg. amit a 80-as évek végén itram.
VIC 20 +16k ram kell hozzá.
A "szinező" prg.-re az első saját programom.
Egyfajta "mastermid" .
Az első verzió VIC 20-on létezik, valahol megvan kazettán.
Ez a c64-es átdolgozott változat.

Re: Welcome! Please add your programs.

Posted: Sun Apr 19, 2020 1:56 pm
by RetroBasic
Hello,

I'm new here and new to the Vic 20. I'm a bit of a text adventure nut. I've contributed a few maps to CASA (solutionarchive.com)
I've read in various mags and web sites that Greg Hassett text adventures were converted from TRS80 to other systems "... like Vic 20 ...".
Well maybe I'm looking in the wrong places!
So in a moment of madness (or more like a weekend of madness), I typed it in from the Captain 80 Book of Basic Adventures.
This book contains TRS80 listings but the Basic is sooo similar that I only needed to remove a few Pokes and rewrite some lines that were longer than 88 characters. In the interest of trying to keep it as close to the original as possible, I've not altered any logic, input, or output to suit the Vic.
I know it's not up to the amazing work you guys do, but hey you have to start somewhere!
(requires 16K)

Si

Re: Welcome! Please add your programs.

Posted: Sun Apr 19, 2020 2:04 pm
by Mike
Hi, Simon,
RetroBasic wrote:I'm new here and new to the Vic 20.
welcome to Denial! :mrgreen:

Cheers,

Michael

Re: Welcome! Please add your programs.

Posted: Fri Apr 24, 2020 5:44 am
by orion70
Welcome and thanks for your effort! A text adventure is always worth playing :D

Re: Welcome! Please add your programs.

Posted: Thu Aug 19, 2021 4:41 pm
by javierglez
I've been browsing the code samples for CC65 here https://github.com/cc65/wiki/wiki/Appli ... -assembler

As a tutorial I've modified the 2048 puzzle game for the VIC 20.

The original repository is here https://github.com/nanoflite/2048-cc65. I guess I should request a branch and upload the code modified by me, but I'm not really familiar.

It requires 16kb because of the compiler overhead whileas there's a C16 version running in 3 kb which I guess could run on a stock VIC but for me the point was learn cc65 not the game on itself.

Furthermore I know there's some other versions out there. Anyway here it is the prg in case anyone likes this puzzle.

My WIP PacMan

Posted: Wed Jul 06, 2022 9:36 am
by charles92027
Back in the day I cut my teeth writing different versions of PacMan on the Vic 20. Recently I downloaded the emulator and starting working on this. It still needs some work, but it's coming along. Please comment.

Re: My WIP PacMan

Posted: Sat Jul 09, 2022 12:21 pm
by Mike
charles92027 wrote:[...] PacMan [...] still needs some work, but it's coming along. Please comment.
You should at least add a detection for "PacMan got eaten" and "All pills are eaten -> next level". ;) Also, sometimes the scoring seems to 'drop'/'forget' pills.

That being said, continuing a journal in an own (game specific) WIP thread surely is in order. :)

Re: My WIP PacMan

Posted: Sat Jul 09, 2022 7:02 pm
by charles92027
Mike wrote: Sat Jul 09, 2022 12:21 pm
charles92027 wrote:[...] PacMan [...] still needs some work, but it's coming along. Please comment.
You should at least add a detection for "PacMan got eaten" and "All pills are eaten -> next level". ;) Also, sometimes the scoring seems to 'drop'/'forget' pills.

That being said, continuing a journal in an own (game specific) WIP thread surely is in order. :)
Thanks Mike, I’ll start a WIP thread. The dropping pills seems to be a problem with the order that pac man and the ghosts clear themselves before moving.
In my todo list is death of Pac-Man, changing the level when it clears, a start screen and sound.
Back in the day I didn’t write in ML, so figuring out relatively easy things, like displaying the score, have been particularly fun.

Re: Welcome! Please add your programs.

Posted: Thu Jun 27, 2024 3:52 pm
by fishhack66
Hi, folks. Long-time reader, first-time poster. I'm also a long-time VIC-20 owner - it was my very first machine back in '82, and it's still operational. Once K-Mart had them down to $99 I could make it work on summer job money (that, and an electric guitar...it was a great year!). The last thing I did with it was in the early Teens, when I bought a MegaCart. Anyway, my retro computing hobby has been all over the place - different systems/processors (but all 8-bit stuff), old software preservation, relearning 6502 assembly language, and recently I built my own 6802-based machine from scratch (I do miss the more flexible index registers in the 6502, though).

Anyway, now everything is coming full circle, and my interest in my old VIC-20 has been rekindled. Specifically, I look forward to learning more about graphics and pushing the VIC chip, and also hardware interfacing.

But who doesn't love games (am I right???). So, with my introduction, I've attached a game of Swedish Whist, a trick-taking card game. I found this on a FLEX/OS-9 disk image from a Swedish source, dated from 1980 and written in TSC Extended BASIC. I modded and adapted it, added some color and bells and whistles as a first little project, mainly just to become reacquainted with the VIC's music generation and graphics characters. Listing and PRG file included. I hope you enjoy it. But beware: you may find yourself shouting "Stupid Lars!" at the screen more often than you'd think!

Thanks for the read,
Dave/Fishhack66
swedish-whist-16k.zip
(13.54 KiB) Downloaded 76 times

Re: Welcome! Please add your programs.

Posted: Thu Jun 27, 2024 8:19 pm
by mathom
Nice game! Having to “play to lose” takes a little getting used to.

Re: Welcome! Please add your programs.

Posted: Thu Jun 27, 2024 9:06 pm
by Orangeman96
Too funny, and welcome! I too got my VIC-20 at a K-Mart (in Philly, mind you) for $88.00 back in 1983, if memory serves--with some First Holy Communion gift money. (Since you have been "lurking" for some time, you probably have a good idea of who is "naughty" and who is "nice." :P ) -OGM

Re: Welcome! Please add your programs.

Posted: Mon Sep 02, 2024 4:29 am
by boraxman
This is a basic "demo" called "Smile Bounce". Lame name, but this is my first foray into assembly for the 6502. I had a Vic 20 when I was a teenager for a brief period (still have one, but it need repair), but never was able to fully utilise it, stuck with only basic.

This program displays a bouncing face, a movable cross hair, twinkling stars and some music. Its' designed for the PAL version, as it expands the screen size to something which is perhaps too large for NTSC. This was more an exercise in toying with the Vic20 internals. Shifting the screenmap, using interrupts, resizing the screen, graphics, self modifying code, music and a 'trick' where the .PRG loads binary data right where the screenmap is.

Source is attached. The ZIP file contains the source, the graphics, and a .prg ready to run.
smilebounce2.png
smilebounce2.png (11.49 KiB) Viewed 1297 times