Search found 194 matches

by MrSterlingBS
Wed Mar 01, 2023 6:43 am
Forum: Programming
Topic: How to use floating point routines?
Replies: 14
Views: 2350

How to use floating point routines?

Hello,

in BASIC we write PRINT SQR(3) and get the result 1.73205081.

how can i print the sqr to screen with the ROM calls?

BR
Sven

Have Fun! ;-)
by MrSterlingBS
Wed Mar 01, 2023 2:51 am
Forum: Games
Topic: GUMBALL R.S. Moser
Replies: 5
Views: 2268

Re: GUMBALL R.S. Moser

Hi Marco,

now it should work.
here are the two files from my above posts.

If you need some help please send a PM.

BR
Sven
GumballCART.zip
(944 Bytes) Downloaded 79 times
GumballOriginal.zip
(848 Bytes) Downloaded 80 times
by MrSterlingBS
Wed Mar 01, 2023 2:44 am
Forum: Programming
Topic: Duane Later Honorary Remix Compo?
Replies: 24
Views: 5926

Re: Duane Later Honorary Remix Compo?

Hi Michael,

thanks a lot for this explanation. That will help.
I wondered why i can not share my GUMBALL code with Marco in a nother post.

Thanks again for the warm welcome.

Best regards
Sven
by MrSterlingBS
Wed Mar 01, 2023 2:37 am
Forum: Games
Topic: GUMBALL R.S. Moser
Replies: 5
Views: 2268

Re: GUMBALL R.S. Moser

Hi Marco,

i can not upload the files. I need some help from the admin, i think.
To Drag&Drop dont work.

BR
Sven
by MrSterlingBS
Tue Feb 28, 2023 7:56 am
Forum: Programming
Topic: Easy 6502 example codes
Replies: 1
Views: 472

Re: Easy 6502 example codes

Here is another code snipet from easy 6502 * = $A000 dw ProgramStart dw ProgramStart db $41,$30,$C3,$C2,$CD ;ROM Header ProgramStart: sei ; Stop interrupt ScreenInit: ldx #16 ;We're going to copy 16 registers ScreenInitAgain: dex lda VicScreenSettings,x ;Get A parameter sta $9000,x ;Store to the vid...
by MrSterlingBS
Tue Feb 28, 2023 7:24 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 27464

Re: Sprites in ML

; Important Sprite-Imation Registers ; SPRITE NUMBER ; FUNCTION 0 1 2 3 ; ----------------------------------------------------------------------------- ; Location of sprite data $02D0 $02D1 $02D2 $02D3 ; ; Position of sprite on screen (X) $02DA $02DC $02DE $02E0 ; ; Position of sprite on screen (Y)...
by MrSterlingBS
Tue Feb 28, 2023 7:19 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 27464

Re: Sprites in ML

Hi at all,

is there some progress on the topic?
I am very interested in this sub routine.

BR
Sven

Have fun!
by MrSterlingBS
Tue Feb 28, 2023 7:02 am
Forum: Announcement Board
Topic: For new users - make a post or say hello
Replies: 66
Views: 32500

Re: For new users - make a post or say hello

Hi at all,

greetings from Germany, Braunschweig.

BR
Sven

8) 8) 8) 8) 8) 8)
by MrSterlingBS
Tue Feb 28, 2023 6:14 am
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20081

Re: A sample programming session in VICMON

But i have a question.
Why can we use the data tables in the code? And why jumps the printing routine to the next data?
Is there an explanation about it?

BR Sven
by MrSterlingBS
Tue Feb 28, 2023 6:12 am
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20081

Re: A sample programming session in VICMON

Thanks a lot for the very good lession.

I read something in the KERNAL-ROM comments,...
It is also possible to jump directly to the PRINT ON SCREEN SUB ROUTINE $E742
This will save some cycles. :-)

BR Sven

Have fun!
by MrSterlingBS
Tue Feb 28, 2023 5:34 am
Forum: Games
Topic: GUMBALL R.S. Moser
Replies: 5
Views: 2268

Re: GUMBALL R.S. Moser

And here is a little better version with some upgrades. - Wait for Raster - Stop interrupt - faster keyboard inputs - use of zero page entries in stead of normal memory - faster and less memory - use of tables for very fast print on screen - more colors Use the keys k - right h - left w - up d - dow...
by MrSterlingBS
Tue Feb 28, 2023 5:22 am
Forum: Games
Topic: GUMBALL R.S. Moser
Replies: 5
Views: 2268

GUMBALL R.S. Moser

Dear Sirs, here you will find the GUMBALL maschine language game from the book Compute´s second book of VIC by R.S. Moser. This programm help me to understand the 6502 and VIC language. I hope it help somebody else. * = $1001 ; BASIC program to boot the machine language code db $0b, $10, $0a, $00, $...
by MrSterlingBS
Tue Feb 28, 2023 4:56 am
Forum: Programming
Topic: Easy 6502 example codes
Replies: 1
Views: 472

Easy 6502 example codes

Hello folks, I'm new to the forum and in the process of learning a little bit more about the 6502. Nick Morgan's page 6502 https://skilldrick.github.io/easy6502/ was a good place to start. I tried to port some programs to the VIC 20 from the http://www.6502asm.com page. Unfortunately I don't get it ...
by MrSterlingBS
Tue Feb 28, 2023 4:37 am
Forum: Programming
Topic: Duane Later Honorary Remix Compo?
Replies: 24
Views: 5926

Re: Duane Later Honorary Remix Compo?

Hello, after a lot of years,... here is my Basic Version of KC. It is faster then the original. Have fun Sven The SpeedTimer can be cleared, of course. 0 c=7812:dimb(12):l=c:n=36878:o=36877:m=102:p=32:h=160 1 k=8178:q=7746:z1=23:z2=24:z3=25:f=44:f1=45:f2=46:f3=47 2 e=1:e1=2:e2=3:sn=8157:ha=128:el=11...