Search found 798 matches

by tokra
Sun May 30, 2010 6:56 am
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 5
Replies: 10
Views: 2711

** New Frontiers in VIC-Hires-Graphics, Part 5

So, we had accomplished the 208x208 resolution, but it still nagged me that 208x240 didn't have BASIC-support, which lead to this: Just a little in-between-update: Regarding the "slide-show" today i spent some time thinking about how to make the 208x240-bitmap useable from BASIC. I've don...
by tokra
Tue May 25, 2010 4:46 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 4
Replies: 14
Views: 3062

Great! And the line-drawing-routine is pretty fast in spite of the slow display. I will probably expand this to sys 24845,a,x,y - calls, this would make for shorter BASIC-programs or I'll use tokens just like MINIGRAFIK.
by tokra
Tue May 25, 2010 3:34 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 4
Replies: 14
Views: 3062

If you decide to keep this display program You could add an extra line just as with the 160x200 mode. One would have to save 26 bytes plus 4 bytes from 816 to 820. This will need another 8 rasterlines, that's why I think 208x208 is a great resolution for use with BASIC to stick with :-) Anything la...
by tokra
Tue May 25, 2010 2:45 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 4
Replies: 14
Views: 3062

Ok, here we go: Binary: http://www.tokra.de/vic/208208-24k.prg Source: http://www.tokra.de/vic/208208-24k.asm PUCRUNCH could pack a lot out of the fast copy-rotuine this time. However, in RAM this routine now uses 1664 *5 * 2 bytes = 16640 bytes, which is over 16K. This means that this now will only...
by tokra
Tue May 25, 2010 1:24 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 4
Replies: 14
Views: 3062

Re: ** New Frontiers in VIC-Hires-Graphics, Part 4

I also had considered a resolution of 184x240 pixels, but then the char map seemed to make a problem - I'd need to think that through more thoroughly. Hmm, I made some calculations: 184*160 184*80 = 1840 Byte = copy time at least 1840 * 2 * 6 = 22080 - will probably be too tight (just 72 cycles...
by tokra
Tue May 25, 2010 11:45 am
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 4
Replies: 14
Views: 3062

Re: ** New Frontiers in VIC-Hires-Graphics, Part 4

P.S.: It just occured to me you could even go one better: Put the bitmap, with char map, again complete into the upper 4K, so that you don't need to save the ZP. Then, two routines, which write 48x20 bytes with LDA #$xx:STA $xxxx into the bitmap, doing the update always at that place where the rast...
by tokra
Fri May 21, 2010 4:43 pm
Forum: Programming
Topic: fcbpaint-0.5 (168*192, 8x4 char, inline splits)
Replies: 11
Views: 5145

Re: fcbpaint-0.5 (168*192, 8x4 char, inline splits)

Wow! That is some nifty graphics-mode. Let me see if I understand how it works: - you DON'T use double height chars (8x16), but the standard chars (8x8) instead. - character-RAM is at $1000-$1fff - video-RAM is at $0000 AND $0200 using the same 504 chars twice - and so color RAM is at $9400 and $960...
by tokra
Fri May 21, 2010 1:03 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 3
Replies: 4
Views: 1592

Re: ** New Frontiers in VIC-Hires-Graphics, Part 3

Making the 160x240-mode useable to BASIC. That's quite a feat! Thanks :-) But this wasn't much harder than the 160x200 mode. Most of the effort was understanding the raster-rotuine and then the timing is just trial and error. I just calculated over the head; as is, your copying routine needs 8 cycl...
by tokra
Fri May 21, 2010 4:47 am
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 3
Replies: 4
Views: 1592

** New Frontiers in VIC-Hires-Graphics, Part 3

So, with the 160x200 mode working I thought about expanding the idea of saving and restoring bytes during graphics display which led to: Part 3: Taking it further: 160x240 I've tried something insane just now: Making the 160x240-mode useable to BASIC. The idea is the same as with the extra line, bu...
by tokra
Thu May 20, 2010 3:58 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 2
Replies: 6
Views: 1660

Also only 16 out of 20 bytes need to be saved - as the bytes from $fb-$fe are free anway. Not for example, when MINIGRAFIK runs. Also other programs might store data there which aren't aware of your interrupt routine. Okay, but this is true for the tape buffer as well. It comes down a question of t...
by tokra
Thu May 20, 2010 2:51 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 2
Replies: 6
Views: 1660

[3 days later] Okaaaaay, I have indulged in Marko Makela's raster-routine and think I'm 98% sure of what he's doing there. I've then instantly applied what I just learned and implemented the 160x200 hires-mode: Source: http://www.tokra.de/vic/raster160200.asm Binary: http://www.tokra.de/vic/raster16...
by tokra
Thu May 20, 2010 2:29 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 1
Replies: 13
Views: 3513

Does this mean that you have to mod the VIC's chipset to achieve higher resolutions? ... we remain at software-only solutions. :) What Mike meant by "unmodded" VIC probably is that some people have added a 3K expansion to their VIC by piggybacking it on the existing RAM in the machine. On...
by tokra
Thu May 20, 2010 2:20 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 2
Replies: 6
Views: 1660

Hehe :-) Exactly like I thought out during lunch break. My notes attached: 512+480 832-991 = Char: 104 - 123 = Room for 20 Chars 992-1011 = 20 Video-RAM Byte This way the cassette buffer would be used pretty nice. Will try that right now. Let's see if the VIC accepts the change of 36867 in the middl...
by tokra
Wed May 19, 2010 4:07 pm
Forum: Programming
Topic: ** New Frontiers in VIC-Hires-Graphics, Part 1
Replies: 13
Views: 3513

Here's a translation of my original reply. However I cut the "fat" out of it that doesn't apply to the graphic mode discussion. Here goes: Same time ago I pondered similar thoughts about using the lower 1K for high-res graphics, but I didn't consider *that* layout. :lol: Yes, I thought of ...
by tokra
Tue May 04, 2010 8:03 pm
Forum: Games
Topic: Pengo for VIC-20?
Replies: 26
Views: 7538

Stumbled upon this thread recently. I remember one of my favorite VIC-20 games back in 1986 was "Penco" - a Pengo clone from the german "64er Sonderheft 3/1986" (Commodore 64 paper mag special issue) A disk image of the programs of that issue can be found here and it includes Pen...

Go to advanced search