c64 Questions
5
Solved
I did some of my own research and found out that SID-chips had only few hardware supported synthesizing features. Including three audio oscillators with four possible waveforms (sawtooth, triangle,...
5
Solved
Using 6510 assembly on the Commodore 64, I am trying to create a stable raster effect. Using the double IRQ principle I draw some raster lines on the screen. I pad with NOPs to match 63 cycles for ...
8
Solved
Trying to generate a series of random numbers on my Commodore 64 (C64) using JSR $E09A and retrieving the number from $63 and $64. (which according to all the documentation I've seen is the same ro...
6
Solved
Good news, my c64 ist still running after lots of years spending time on my attic..
But what I always wanted to know is:
How can I automatically load & run a program from a floppy disk that is...
2
Solved
I'm trying to learn how to write disk files using kernal routines following this Codebase64 Tutorial.
I have copied my routine, written in Acme Crossassembler, below. It failed to open file and gi...
6
Solved
I've seen cool C64 demos showing sprites in the border area of the screen. It shouldn't be possible; I think they managed to fool the graphics chip somehow. How exactly did they do it?
2
Solved
1
Solved
Trying to learn how to use the ca65 assembler, I've been battling with making include guards work. Googling and reading the ca65 Users Guide didn't help. Here's a minimal example that produces the ...
9
Solved
I have this curiosity for 25 years and I would love to understand the trick.
In the Commodore 64 the border was not addressable by the 6569 VIC. All you could do was to draw pixels in the central...
Tremulant asked 17/11, 2009 at 16:51
1
Solved
I recently bought a c64 mini and been trying to code some assembly using Turbo Macro Pro v1.2.
While working on the hello world program I found a tutorial where an auto run BASIC header was used.
...
2
Solved
I'm trying to implement game controls using kernel routines in Commodore 64.
Below code works with one exception. Each key stroke counted as single input. e.g.: There is no effect if you keep hold...
3
Solved
So, I'd like to write larger functions in Commodore 64 BASIC. So far, from what I'm seeing from other sources (such as various C64 wikis, as well as the user's manual for the C64 itself,) function ...
1
Solved
I want to include and play .sid files (music for C64 chiptunes) in a cc65 program. Usually sid-files contain a play routine that starts at $1000, how do I link this to my cc65-program?
At the momen...
1
Solved
I'm planning to use software sprites in multicolor char mode for my new C64 project. My idea is to use superimpose 'bullet' sprite data to tile data.
I think I can have tileset data at address 'TI...
2
Solved
I know that it's possible to remove top and bottom borders in C64 using assembly, and I've found example codes for that. But I can't find any example code for removing the side borders (which was i...
3
Solved
I am trying to learn 6510 assembly and since I am running Debian xa65 is the assembler I want to use.
I have so far written a piece of code that looks like so:
*=$0801
.byte $0c, $08, $0a, $00, $...
1
Solved
I have a code like below, and it works fine. It clears the screen, puts some color in color memory of first 12 characters on screen, and prints a text on the screen.
jsr $e544
ldx #$00
lda #3
l...
1
Solved
I'm writing a little hobby c64 textual adventure and I've stopped in one very concrete moment. Namely, I don't know how to quote anything inside quote.
How to do that inside commodore 64 basic v....
3
Solved
In Commodore 64 BASIC V2, PRINT'ing a true boolean expression outputs -1:
READY.
A=(5=5)
READY.
PRINT A
-1
Why -1 and not 1?
2
Solved
I'm starting out with 6502 Assembly right now and have a problem wrapping my head around loops that need to deal with numbers bigger than 8 bit.
Specifically, I want to loop through some memory lo...
4
Solved
Which tools do you use for cross-development for C64 on OSX?
Which assembler, text editor or IDE, gfx, sprite, charset editors?
Or do you simply prefer Windows environment via parallels desktop o...
2
Solved
I've run into a few issues while playing around with asm on an emulated C64 machine.
What I want to do is to check if the key "N" on the keyboard is being pressed, then the program should wait fo...
16
Solved
How do emulators work? When I see NES/SNES or C64 emulators, it astounds me.
Do you have to emulate the processor of those machines by interpreting its particular assembly instructions...
8
Solved
I picked up a copy of the book 10 PRINT CHR$(205.5+RND(1)); : GOTO 10
http://www.amazon.com/10-PRINT-CHR-205-5-RND/dp/0262018462
This book discusses the art produced by the single line of Commo...
1
Solved
I know this question is very spesific question but I know there are some c64 code gurus around here. So, here is my question.
When I try to disable screen using $d011 trick, upper/lower border als...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.