Questions tagged [c64]

The Commodore 64, commonly called C64, C=64 (after the graphic logo on the case) or occasionally CBM 64 (for Commodore Business Machines), or VIC-64, was an 8-bit home computer introduced in January 1982 by Commodore International.

The Commodore 64, commonly called "C64," "C=64" (after the graphic logo on the case), "VIC-64," or occasionally CBM 64 (for Commodore Business Machines), is an 8-bit home computer, introduced in January 1982 by Commodore International.

The C64 uses an 8-bit MOS Technology 6510 microprocessor, has 64 kB of RAM, features a VIC-II graphic chip with 16 colors and a SID sound chip.

During the C64's lifetime, sales totalled between 12.5 and 17 million units, making it the best-selling single personal computer model of all time.

Approximately 10,000 commercial software titles were made for the Commodore 64, including development tools, office productivity applications and games.

88 questions
1
vote
1 answer

How to properly use interrupt handlers in 6502 Assembler?

I'm new to assemblers, so this question might sound dumb, but exactly what type of code should be implemented in a raster interrupt handler? So I know this handler gets called when the desired raster line is rendered. But this seems to happen only…
user2297996
  • 1,382
  • 3
  • 18
  • 28
1
vote
1 answer

Commodore C64 how to detect PAL or NTSC

Background Information I am currently developing a programming API for the Commodore C64 using KickC [in Beta] to allow me to more easily develop small programs, applications and possibly some games; it occurred to me that I may need a way to check…
Shaun Bebbers
  • 179
  • 2
  • 12
1
vote
1 answer

c64 Extended Color Mode: last character 63 = 191 to use background 2?? ($D022)

In extended colour mode: For characters 32 to 63 on background 1 (53281/$D021 value), I can add 192 to get the same on background 2 (53282/$D022 value). For characters 64 to 95 on bg1, I can add 128 to get the same on bg2 ...at least that's the…
Simon
  • 567
  • 5
  • 14
1
vote
2 answers

6510 Assembly using CBM Studio - Page Boundary with Branching Errors

I am getting the error page boundary crossed when I run my program. Nowhere in the CBM prg studio app for Windows 10 help does it explain how I can either increase this boundary, or what I need to do in order to avoid these errors. It is happening…
Smokeyparkin
  • 103
  • 6
1
vote
1 answer

Looking for old Assembler-like bot language on C64

In a discussion with a friend I was recently reminded of a fascinating idea from the days of Commodore C64. Unfortunately, googling brought no results, which might be due to the fact that I don't even know what to google for. So, I would like to ask…
Marcus C.
  • 219
  • 1
  • 3
  • 11
1
vote
2 answers

How to display alternate lines of text in 2 columns?

I have this part of code where all text lines come to the screen at once. Now I want for each lines to come on the screen from the other side (ie. first line from left, second from right etc.). Can anyone help? Start SEI …
simun9
  • 21
  • 2
1
vote
0 answers

Can't enable list even with "enable run-stop" poke

Well, I've downloaded an old non-English textual adventure, which of course, "for the sake of professionalism" have list disabled. Even after entering pokes for enabling "run-stop/restore" and for enabling "list" it continually questions for an…
perpetuum
  • 129
  • 10
1
vote
1 answer

For-loop with decimal increment !=.5 yields strange results

Original idea I have just found my old Commodore 64 computer, hooked it up, and decided to try to learn Basic again. I have just finished chapter 3, in which a simple FOR-loop is demonstrated: 10 FOR NB = 1 TO 10 STEP 1 20 PRINT NB, 30 NEXT NB This…
Canned Man
  • 734
  • 1
  • 7
  • 26
1
vote
1 answer

C64 Recognize common patterns between disk images

I have 2 disk images from the C64 for example: disk1 it's a game and it starts with some splash-screen and the music. diks2 it's a demo and contains many songs and the same music as the first disk. Is it any chance that examining the 2 images with…
powernemo
  • 89
  • 1
  • 11
1
vote
2 answers

Integrate C64 emulator with Game Center?

If I had an open source emulator for C64, Mame, Spectrum and the like, would it be possible to hack away at the code and merge it with some kind of Game Center functionality, achieving online multiplayer in the emulator? I'm not asking for the code…
SM2011
  • 287
  • 3
  • 9
0
votes
1 answer

explain what is missing from 10print

10 PRINT CHR$(205.5+RND+(1));:GOTO 10 I seem to be the only person ever to not be able to do this. i have written all kinds of BASIC but I can't do anything with this. What am i missing? I get "SYNTAX ERROR IN 10" i can't get it to work And really,…
Mo Catz
  • 1
  • 2
0
votes
1 answer

Explain a part of the code c64 6502 Assembly

try to understand a code In the following website is a code a scrollers with wave-like movements. In general, I also understand the code very well. What I don't quite understand IS why he uses Ypos and Yposh the way he uses them. So why, bits 0 -2…
BlackStan
  • 1
  • 1
0
votes
0 answers

Issues with VICE

I have recently started using VICE, specifically x64sc, and I was thinking of coding a game for it. However, I know almost nothing about what I want to do, and the manual isn't very helpful either. Some issues are particularly hard to overcome, and…
Thomas C.
  • 29
  • 5
0
votes
0 answers

C64 assembler - Trying to print 4 rows at the top and the bottom

I'm trying to print some rows of a char from the top and bottom, first row turns out as expected but next one doesn't print. I add 40 chars to "Currentline" to get the prog to print the next row, well - that was what I thought would work. It won't…
Cri33e
  • 1
  • 1
0
votes
1 answer

I think I have solved raster interrupts text/bitmap mode but I have this weird text error

Assembler: CBM prg Studio. Hi guys, Merry Christmas and happy holidays :) What is going on with the text output in my interupt? I must be missing something obvious here but please take a look at the attached picture... It is supposed to…