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,...
Heterologous asked 11/6, 2009 at 19:13

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 ...
Cally asked 23/6, 2014 at 21:50

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...
Fate asked 5/7, 2017 at 23:59

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...
Pestana asked 3/12, 2010 at 9:43

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...
Cristionna asked 11/4, 2017 at 21:6

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?
Elwira asked 25/9, 2009 at 13:59

2

Solved

I have written a short program in 6502 assembler for the Commodore 64 using the ca65 assembler and ld65 linker. The program should render a solid square sprite somewhere near the center of the disp...
Aubyn asked 13/2, 2020 at 22:50

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 ...
Rf asked 22/10, 2019 at 18:46

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. ...
Hostetler asked 24/8, 2019 at 20:26

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...
Tanner asked 21/12, 2016 at 11:16

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 ...
Nagari asked 16/7, 2016 at 21:47

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...
Fred asked 3/12, 2016 at 16:50

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...
Marinelli asked 27/9, 2015 at 9:24

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...
Foster asked 18/2, 2015 at 15:32

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, $...
Bannock asked 31/1, 2015 at 10:37

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...
Alloway asked 19/2, 2015 at 1:20

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....
Merrymaker asked 8/12, 2014 at 0:46

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?
Poff asked 9/3, 2014 at 15:29

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...
Biathlon asked 5/2, 2014 at 4:18

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...
Citadel asked 5/4, 2013 at 12:44

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...
Cassell asked 15/9, 2013 at 10:20

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...
Meridional asked 15/1, 2009 at 22:10

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...
Downtrodden asked 28/11, 2012 at 17:59

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...
Nole asked 22/11, 2011 at 17:26

© 2022 - 2025 — McMap. All rights reserved.