Search found 181 matches

by MrSterlingBS
Sun May 05, 2024 9:49 am
Forum: Programming
Topic: PRINT 32-bit integer numbers
Replies: 4
Views: 84

Re: PRINT 32-bit integer numbers

This is the code so far... I used one of the multiply routines from Toby Lobster... only to play around with them. CLRSCR equ $E55F WRTF equ $E742 ; faster print MVFACC equ $dba2 FLPINT equ $D1BF STROUT equ $CB1E PRTFIX equ $DDCD ; values form 0 to 65000 X - low; A - high STACK equ $0100 *=$1201 dB ...
by MrSterlingBS
Sun May 05, 2024 7:57 am
Forum: Games
Topic: In the making: Arukanoido – an Arkanoid clone
Replies: 607
Views: 163642

Re: In the making: Arukanoido – an Arkanoid clone

:D :D :D

Super game, but very very difficult...
by MrSterlingBS
Sun May 05, 2024 7:46 am
Forum: Programming
Topic: PRINT 32-bit integer numbers
Replies: 4
Views: 84

PRINT 32-bit integer numbers

Hello,

I like to print 32bit integer numbers in assembly.
I read the example on codebase64.org but I don't get correct results. Can anyone help here?

https://codebase64.org/doku.php?id=base ... _to_string
vice-screen.png
vice-screen.png (2.18 KiB) Viewed 84 times

Thank you in advance
Sven
by MrSterlingBS
Thu May 02, 2024 3:29 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 816

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: 816

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: 816

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: 816

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: 816

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: 1796

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: 1796

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: 769

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: 25198

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: 25198

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: 25198

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: 4469

Re: Line drawing algorithm

:?: Who decides what legitimate applications are? :?: