Search found 241 matches

by funkheld
Mon Jan 20, 2020 10:34 am
Forum: Programming
Topic: Where are the addresses for the float routines in the VIC20?
Replies: 10
Views: 3128

Re: Where are the addresses for the float routines in the VIC20?

Hi good afternoon.

what does that mean please, i don't understand it as german:
convert FAC1 floating to fixed

Thank you.
greeting
by funkheld
Mon Jan 20, 2020 9:18 am
Forum: Programming
Topic: Where are the addresses for the float routines in the VIC20?
Replies: 10
Views: 3128

Re: Where are the addresses for the float routines in the VIC20?

Hello, thanks for the help.

I'm going to pick out the float commands.

Thank you.
greeting
by funkheld
Mon Jan 20, 2020 9:15 am
Forum: Programming
Topic: Accumulator Addressing
Replies: 5
Views: 2038

Re: Accumulator Addressing

Hi good afternoon.

The assembler instruction LSR shifts the eight bits of the accumulator one place to the right and not 2...3...4..

ok is :
LDA #$10
LSR



or 3 Bits:
LDA #$10
LSR
LDA #$10
LSR
LDA #$10
LSR

greeting
by funkheld
Mon Jan 20, 2020 2:52 am
Forum: Programming
Topic: Where are the addresses for the float routines in the VIC20?
Replies: 10
Views: 3128

Where are the addresses for the float routines in the VIC20?

Hi good afternoon.

Where are the addresses for the float routines in the VIC20?
I wanted to use it in ASM.

this is the c64 :
https://www.c64-wiki.de/wiki/Flie%C3%9Fkommaarithmetik

Thank you.
Greeting
by funkheld
Sun Jan 19, 2020 2:26 pm
Forum: Emulation and Cross Development
Topic: cc65 : graphic with the vic20
Replies: 7
Views: 2508

Re: cc65 : graphic with the vic20

ahhhh thank you ....
I did not think of that.

with fats 71 years you slowly get stupid in the head.

Thank you.
greeting
by funkheld
Sun Jan 19, 2020 6:22 am
Forum: Emulation and Cross Development
Topic: cc65 : graphic with the vic20
Replies: 7
Views: 2508

I can't make it in the while 1 second to stop.

Hi good afternoon. I can't make it in the while 1 second to stop. how does that work please Thank you. greeting unsigned long clocks_per_second; void my_delay(unsigned long dt) { clock_t t0=clock(); while(clock()-t0 < dt) { } } void main(void) { while (1) { clocks_per_second=75000; a=PEEK(197); if (...
by funkheld
Sun Jan 19, 2020 5:41 am
Forum: Emulation and Cross Development
Topic: cc65 : i want to leave this if if it is true.
Replies: 5
Views: 2084

Re: cc65 : i want to leave this if if it is true.

he thanks for hlep.

greeting
by funkheld
Sat Jan 18, 2020 1:55 am
Forum: Emulation and Cross Development
Topic: cc65 : i want to leave this if if it is true.
Replies: 5
Views: 2084

Re: cc65 : i want to leave this if if it is true.

Hi good afternoon.

I didn't want to take "break".

is there anything else for this?

Thank you.
greeting
by funkheld
Fri Jan 17, 2020 6:00 am
Forum: Emulation and Cross Development
Topic: cc65 : i want to leave this if if it is true.
Replies: 5
Views: 2084

cc65 : i want to leave this if if it is true.

Hi good afternoon.

i want to leave this if if it is true.
how does that work please

with break I also leave the main loop and I don't want that.

Thank you.
greeting

Code: Select all

ip=y*22+x+scradr;
if (PEEK(p)==1)
{
.......
}	
POKE(p,0);
x=x+1;
p=y*22+x+scradr;
POKE(p,32);
x=x-1;
.........
}
by funkheld
Fri Jan 17, 2020 5:27 am
Forum: Emulation and Cross Development
Topic: cc65 : graphic with the vic20
Replies: 7
Views: 2508

Re: cc65 : graphic with the vic20

hello, thanks for the help.
is wonderfull.

greeting.
by funkheld
Fri Jan 17, 2020 2:51 am
Forum: Emulation and Cross Development
Topic: cc65 : graphic with the vic20
Replies: 7
Views: 2508

I have a while loop here in cc65. the run goes too fast.

Hi good afternoon. I have a while loop here in cc65. the run goes too fast. what kind of timer can I put in there with that it doesn't go that fast. Thank you. greeting while (1) { a=PEEK(197); if (a==17) { x=x-1; if (x==255) { x=x+1; } p=y*22+x+scradr; POKE(p,0); } if (a==18) { x=x+1; if (x>=22) { ...
by funkheld
Thu Jan 16, 2020 2:55 pm
Forum: Emulation and Cross Development
Topic: generate an asm when compiling with cc65
Replies: 2
Views: 1486

Re: generate an asm when compiling with cc65

hello, thanks for the ihfo.

greeting
by funkheld
Thu Jan 16, 2020 11:21 am
Forum: Emulation and Cross Development
Topic: cc65 : graphic with the vic20
Replies: 7
Views: 2508

cc65 : graphic with the vic20

Hi good afternoon. have now programmed the vic20 with the cc65. the help here from the forum was helpful with the cfg. start of the prg: sys 8717 see vic20-32k.cfg have the memory beginning at 8717byte because the graphics start at 4352byte. draw with the "w / s / a / d /" keys. use the &q...
by funkheld
Thu Jan 16, 2020 5:48 am
Forum: Emulation and Cross Development
Topic: generate an asm when compiling with cc65
Replies: 2
Views: 1486

generate an asm when compiling with cc65

Hi good afternoon.

I want to compile a c-file with cc65.
as an output, itte would also like an asm file.
how does that work please

Thank you.
greeting
by funkheld
Tue Jan 14, 2020 12:23 pm
Forum: Emulation and Cross Development
Topic: Turbo Rascal - Vic Bitmap Mode
Replies: 38
Views: 8996

Re: Turbo Rascal - Vic Bitmap Mode

Hi good afternoon.

but you build beautiful things with the sprite.
you are a vic20 specialist.

Thank you.
greeting