Search found 16 matches

by mysecretgarden
Sun Mar 03, 2024 6:06 am
Forum: Programming
Topic: Screen Management
Replies: 3
Views: 1275

Screen Management

Hi everyone! I have a question. I want to design the screen for a video game. Starting from the decimal address 7680 (initial part of the screen), and having 22 columns x 23 rows, I would have a total of 506 bytes to write. Now if for example I used: LDX [screenData] STA $1E00,X and I made a cycle, ...
by mysecretgarden
Mon Jun 24, 2013 1:14 pm
Forum: Programming
Topic: CBM Program Studio.
Replies: 3
Views: 1040

Thank you for your reply! but I have another question, there is a good locations address to locate the ML program?
by mysecretgarden
Mon Jun 24, 2013 6:31 am
Forum: Programming
Topic: CBM Program Studio.
Replies: 3
Views: 1040

CBM Program Studio.

Hi! I've downloaded for test, the CMB Program Studio. I've tried to compile a simple ASM program for the Vic20 (unexpanded). The program should print an 'A' char into the screen, but don't work where is my mistake? the version of Cbm program studio is 2.6.0. *=$1001 LDA #$01 STA $1E00 BRK from basic...
by mysecretgarden
Tue Jun 18, 2013 2:46 am
Forum: Emulation and Cross Development
Topic: Lowercase char set when using CC65 compiler
Replies: 1
Views: 1458

Lowercase char set when using CC65 compiler

Hi! I've a strange behaviour when I run an application written with CC65 compiler. I've noticed that, when the application end, all the font in the screen, are in lowercase. At the first moment, I think was a bug of my "application", but this happen also in this situation: #include <stdio....
by mysecretgarden
Fri Jun 14, 2013 5:43 pm
Forum: Emulation and Cross Development
Topic: CC65 Question.
Replies: 6
Views: 2122

Re: CC65 Question.

For example, if I want to include #include <myfunction.h> I need to write the myfunction file, with the functions signatures, and teh myfunction.c with the code implementation. The compiler return me an error, because don't find the files myfunction.h and myfunction.c... I'm sorry to write this, bu...
by mysecretgarden
Fri Jun 14, 2013 8:49 am
Forum: Emulation and Cross Development
Topic: CC65 Question.
Replies: 6
Views: 2122

pallas wrote:try:

#include "myfunction.h"
wow!! Great!!!!

Thanks!!
by mysecretgarden
Fri Jun 14, 2013 8:34 am
Forum: Emulation and Cross Development
Topic: CC65 Question.
Replies: 6
Views: 2122

CC65 Question.

Hi to everyone! I want to write my owm function to use with the CC65 compiler. For example, if I want to include #include <myfunction.h> I need to write the myfunction file, with the functions signatures, and teh myfunction.c with the code implementation. The compiler return me an error, because don...
by mysecretgarden
Fri Jun 14, 2013 8:00 am
Forum: Programming
Topic: How to clear Screen and other things.
Replies: 8
Views: 1693

pallas wrote:you're welcome, and nice to see someone nearby working on the vic :-)

Nice to meet you!!! ;)
by mysecretgarden
Fri Jun 14, 2013 7:40 am
Forum: Programming
Topic: How to clear Screen and other things.
Replies: 8
Views: 1693

here is a good deal of info on the main functions available: http://www.cc65.org/doc/funcref.html remember you can printf() or cprintf() the petscii chars, like the "reversed heart", as you'd do in basic: printf("\x93 ...... "); // clear the screeen than print something Thanks!!!!
by mysecretgarden
Fri Jun 14, 2013 7:38 am
Forum: Programming
Topic: How to clear Screen and other things.
Replies: 8
Views: 1693

hawk wrote:From C you should be able to call clrscr() which calls the commodore ROM functiom I think.

You need to include <conio.h>
Thanks!!!!
by mysecretgarden
Fri Jun 14, 2013 6:36 am
Forum: Programming
Topic: How to clear Screen and other things.
Replies: 8
Views: 1693

How to clear Screen and other things.

Hi! It's a long time, that don't visit this forum, but now I decided to start programming the vic20 with the CC65 compiler.

I need a basic information, how I can clear the screen in C?
Maybe i need to use some poke addres??

Thanks!
by mysecretgarden
Mon Sep 22, 2008 8:41 am
Forum: Hardware and Tech
Topic: VIC 20 To PC Monitor.
Replies: 8
Views: 5699

At least if you have a TV card in your PC you should be able to connect your VIC-20 to that one and then display the captured image on the monitor. I've read about a guy who does so, having a secondary PC entirely for video capture. A bit impractical perhaps, but it works. I believe there are stand...
by mysecretgarden
Mon Sep 22, 2008 7:46 am
Forum: Hardware and Tech
Topic: VIC 20 To PC Monitor.
Replies: 8
Views: 5699

VIC 20 To PC Monitor.

There is a way to connect a vic 20 with a standard pc monitor?

Thanks!!
by mysecretgarden
Mon Sep 22, 2008 7:22 am
Forum: Programming
Topic: http://www.kdef.com is offline?
Replies: 6
Views: 2724

nippur72 wrote:Image
sorry, but I was offline, check now...
by mysecretgarden
Mon Sep 22, 2008 4:49 am
Forum: Programming
Topic: http://www.kdef.com is offline?
Replies: 6
Views: 2724

nippur72 wrote:I have no info but I still have 2.04 version for Win32 if you want it.
I'm very happy if you could send me the complier by email!
Thanks...