Search found 178 matches

by MrSterlingBS
Thu May 02, 2024 3:29 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 459

Re: 3D Stars

Okay, sorry for the double post. I have found my mistake. The value 1/Z ist calculated in a range from 4-255, if we reduce it to the maxium x value of 168 the routine works fine. Additionally, a second table with 1/Z for Y should be created. :mrgreen: PROJTAB ;byte $FF,$F0 ; 255, 240 ;byte $E8,$D5,$...
by MrSterlingBS
Thu May 02, 2024 2:06 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 459

Re: 3D Stars

I still have some questions about the 65C02 processor and its instructions.

STZ $20
is the same like
LDA #$00 / STA $20

PHX = STX $FB
PLX = LDX $FB

This ist not clear to me:
BRA XXXX

CLV
BVC XXXX

or can i write
JMP XXXX

***
by MrSterlingBS
Thu May 02, 2024 1:52 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 459

Re: 3D Stars

Hi, I found a great example of the 3D Stars on the following page. https://8bitshack.org/post/starfield/ After transferring to the VIC 20 I ran into some problems. The program collapses at some point. If anyone has the time and desire to take a look at it that would be really great. Many greetings a...
by MrSterlingBS
Mon Apr 29, 2024 2:48 pm
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 459

Re: 3D Stars

I like this demo much! :mrgreen:
by MrSterlingBS
Fri Apr 26, 2024 1:11 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 459

3D Stars

Hello, i have converted the 3D Stars routine from the fridge http://www.ffd2.com/fridge/chacking/c=hacking16.txt to VIC BASIC with the MG expansion from Mike. It is so slow. :shock: Does anyone have an idea how to speed this up in BASIC? This is the original code. 10 rem starfield 15 mode16:gron16 2...
by MrSterlingBS
Fri Apr 26, 2024 1:02 am
Forum: Games
Topic: WIP: Bubble Bobble
Replies: 22
Views: 1091

Re: WIP: Bubble Bobble

Hi, i think the Commodore VIC20: Software Sprite Stack library is the best address for this. We have no in game scrolling, except when the level changes and I can do that in Assembler. ;-) Or see the book "Programing the VIC" from Compute! on page 390 and 400. I found a comparison video fr...
by MrSterlingBS
Thu Apr 25, 2024 2:23 am
Forum: Games
Topic: WIP: Bubble Bobble
Replies: 22
Views: 1091

Re: WIP: Bubble Bobble

Hi @ all,

I am very interested in implementing Bubble Bobble on the VIC. How can I support?

BR
Sven
by MrSterlingBS
Mon Apr 22, 2024 5:37 am
Forum: Other Systems
Topic: End of the Z80
Replies: 2
Views: 448

Re: End of the Z80

I have an TI-84 Plus here on my desk.

https://en.wikipedia.org/wiki/TI-84_Plus_series

The Z80 is alive!


:mrgreen:
by MrSterlingBS
Mon Apr 22, 2024 1:10 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 23989

Re: Sprites in ML

My Assembler load the program with Load"Demo",8 ant not with ,8,1.
Could that be the error?
And how do I change my basic stub to load the program with .8.1?
by MrSterlingBS
Mon Apr 22, 2024 1:04 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 23989

Re: Sprites in ML

Good morning, thanks a lot for your help. Bur, it wont run. If i run the program from my assembler compiler the same failure occurs. The data of the sprite is not correct. If i change the register $9005 from $F0 (240) to $FE (254) the start text cannot be seen. And vice versa I see the text but the ...
by MrSterlingBS
Sat Apr 20, 2024 5:42 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 23989

Re: Sprites in ML

Hello,

Is there anyone out there who can help me with my question? I can't find the error in the program or in my thought process.

Thank you
by MrSterlingBS
Sat Mar 16, 2024 1:58 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 3934

Re: Line drawing algorithm

:?: Who decides what legitimate applications are? :?:
by MrSterlingBS
Thu Feb 15, 2024 9:32 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 3934

Re: Line drawing algorithm

I use the line routine from Bitbreaker from codebase64. https://codebase64.org/doku.php?id=base:bresenham_s_line_algorithm_2 The results are very good. Line x0,y0 to x1,y1 Cycles in total xxxx per pixel yy 00,00 to 99,00 5219 per pixel 52 00,00 to 00,99 5219 per pixel 52 00,00 to 99,99 5516 per pix...
by MrSterlingBS
Tue Feb 13, 2024 3:04 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 3934

Re: Line drawing algorithm

… but the Demo is very impressive.
by MrSterlingBS
Tue Feb 13, 2024 7:11 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 3934

Line drawing algorithm

Hi,

during my search of the best line algorithm i found this website.

Code: Select all

http://www.quiss.org/boo/