Search found 68 matches
- Sun Oct 13, 2019 8:40 pm
- Forum: Programming
- Topic: Porting PLATOTERM to the VIC-20
- Replies: 14
- Views: 5688
Re: Porting PLATOTERM to the VIC-20
Couldn't resist. Here's a quick 64x32 text routine with full 7-bit ascii. load"miniascii.prg",8,1 sys10240 to run some test code where you can type text and move cursor (destructively). Also checks return and clear/home keys test.png Memory map: $1000-$10ff screen matrix $1100-$1fff bitmap...
- Sun Oct 13, 2019 12:05 pm
- Forum: Programming
- Topic: Porting PLATOTERM to the VIC-20
- Replies: 14
- Views: 5688
Re: Porting PLATOTERM to the VIC-20
Interesting project! I would go for 192x160 display and 3x5 font on VIC 20. ALL CAPS and text-on-every-line get a little messy, but when the text is mostly a mix of uppercase and lowercase letters then it's still... somewhat readable. Fitting a few more lowercase letters like c, s, and z to a 2x4 bo...
- Mon Oct 07, 2019 1:15 pm
- Forum: Programming
- Topic: Bunny Basic example program
- Replies: 1
- Views: 2754
Re: Bunny Basic example program
Another Bunny Basic example program, a simple breakout clone. Unexpanded VIC 20. Load Bunny Basic interpreter first: LOAD"BUNNYUNEXP20",8,1 POKE56,24:NEW Then load Breakdown and start with a RUN. 1 sys6144,2:end 2 clr:gosub900 3 pokew,32:y=y+n:w=y*22:w=w+x:a=peek(w):ifa>32thengoto90 4 w=w+...
- Sat Oct 05, 2019 12:19 pm
- Forum: Games
- Topic: Silverstone Basic game for Vic20 (Finnish: Mopoilua)
- Replies: 4
- Views: 3181
Re: Silverstone Basic game for Vic20 (Finnish: Mopoilua)
I remember this one. Charming!
- Sat Oct 05, 2019 12:01 pm
- Forum: Programming
- Topic: Bunny Basic example program
- Replies: 1
- Views: 2754
Bunny Basic example program
Bunny Basic is a fast, very limited, integer-only basic interpreter. It's partially compatible with CBM BASIC V2, so the code should look immediately familiar and you can also "slow-run" most Bunny Basic programs in CBM BASIC V2. There's some additional features in Bunny Basic though, such...
- Sun Apr 21, 2019 8:32 pm
- Forum: Announcement Board
- Topic: VIC-20 Software Releases of 2019
- Replies: 18
- Views: 29506
Re: VIC-20 Software Releases of 2019
Bunny Basic Bunny Basic is a relatively fast, limited instruction set, integer-only basic interpreter for Commodore 64 and Commodore VIC 20. It's partially compatible with CBM BASIC V2, but there's quite a few restrictions. However, you can run most Bunny Basic code in CBM BASIC V2 interpreter, it ...
- Thu Jan 03, 2019 9:16 pm
- Forum: Programming
- Topic: Making a random number in Assembly
- Replies: 50
- Views: 36866
Re: Making a random number in Assembly
For example in 0.5K or 1K minigames and such, sometimes all you need is the smallest random number routine. Here's a handy one: Random subroutine lda #$01 asl bcc .1 eor #$4d .1 sta Random+1 eor $9124 rts It's just a simple 8-bit PRNG, but the output value is shuffled with timer bits. Why? 8-bit PRN...
Re: Spikes
Haha, very nice. Good work!
- Sat Feb 17, 2018 11:38 am
- Forum: Games
- Topic: WIP: Manic Miner port
- Replies: 96
- Views: 81784
Re: WIP: Manic Miner port
Very nice! Better than original. Maybe try call the voice frequency adjust routine 2-16 times more often (set up a timer interrupt) to make the tones stable - it would steal only a few dozen cycles :) (If you need stable raster waits, you can always 1) wait for the previous line 2) then temporarily ...
- Sat Jan 20, 2018 7:03 am
- Forum: Programming
- Topic: Dragonwing 2
- Replies: 2
- Views: 2729
Dragonwing 2
The best way to halt a project for a year is to talk about it in public, but here's some sketches of Dragonwing 2 :) 1 multicolor pixel smooth scrolling works! (Look closely at the tileset character pairs and you'll get it). Unlike the first Dragonwing, this one will be PAL/NTSC-compatible. And 8-16...
- Wed Dec 20, 2017 7:13 am
- Forum: Programming
- Topic: 10-Bit Oscillator Frequency Resolution
- Replies: 24
- Views: 19574
Re: 10-Bit Oscillator Frequency Resolution
Very nice! :D 10 bit test Hello please check this music that I wrote to try your corrections. and tell me if it's okay. For the songs already written I have to change the value of the note too that in your table is different. from those used in 8-bit for Pal thanks greetings Armando 10bit-pr.prg.zip
- Mon Dec 18, 2017 2:37 pm
- Forum: Programming
- Topic: 10-Bit Oscillator Frequency Resolution
- Replies: 24
- Views: 19574
Re: 10-Bit Oscillator Frequency Resolution
You're using it wrong... Your program only sets the high 7 bits of frequency, so there's no difference from normal VIC frequency resolution. You need to include also the low 3 bits in the data for each note - the small values 0-7 in the frequency table at start of this thread - and write them to the...
- Sun Dec 03, 2017 1:11 am
- Forum: Programming
- Topic: Sid Vicious - VIC 20 SID emulation
- Replies: 65
- Views: 32500
Re: Sid Vicious - VIC 20 SID emulation
Original files here (+ I also mirrored Kananga's VicSidConv):Kananga wrote:See this thread.MadCommodore wrote:Anyone have the files still?
https://www.dropbox.com/sh/7m0d1nfrwujt ... EAdUa?dl=0
Or http://bit.ly/eightbitshed -> go to Sid Vicious folder
- Mon Sep 18, 2017 4:23 am
- Forum: Programming
- Topic: 4ty - 40x25 interlaced text mode on unexpanded VIC 20
- Replies: 15
- Views: 4899
Re: 4ty - 40x25 interlaced text mode on unexpanded VIC 20
For NinjaTerm I would use a full screen bitmap with 8x16 chars, but arranged and wrapped around in a way so that you can scroll the screen very fast. Odd lines can be scrolled up by just changing the value of screen y-position and wiping the top line (8-high). Even lines can be then scrolled up by r...
- Fri Jun 09, 2017 10:15 pm
- Forum: Programming
- Topic: 10-Bit Oscillator Frequency Resolution
- Replies: 24
- Views: 19574
10-Bit Oscillator Frequency Resolution
One of the most annoying things about VIC 20 is that the music all too often plays horribly out of tune. This program improves the frequency accuracy of square voices 1-3 from 7 bits (0-127) to 10 bits (0-1023). Fantastic! :D Download: http://www.cncd.fi/aeeben/download/10-bit-ofr.zip To init: jsr $...