Questions tagged [commodore]

Commonly used name for Commodore Business Machines (CBM), home computer and electronics manufacturer which also housed Commodore International Limited. The Commodore brand was known for the Commodore 64, 128 and Amiga series computers.

Commodore is commonly used shorthand for Commodore Business Machines (CBM), the U.S.-based home computer manufacturer and electronics manufacturer headquartered in West Chester, Pennsylvania, which also housed Commodore's corporate parent company, Commodore International Limited. Commodore played a vital role in the development of the home–personal computer industry in the 1980s. Commodore developed and marketed the world's best-selling desktop computer, the Commodore 64 (1982). Commodore later purchased and then released the Amiga range of computers in 1985.

59 questions
60
votes
9 answers

Draw on screen border in Commodore 64

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 area, the one where the cursor moved. The border was…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
17
votes
1 answer

How to disable screen in Commodore 64?

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 also opens. I want to do that without opening…
user1060302
12
votes
3 answers

Using xa65 assembler to create Commodore 64 .prg

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, $9e, $20 .byte $34, $30, $39, $36, $00, $00 .byte…
Waxhead
  • 500
  • 3
  • 16
12
votes
2 answers

Printing a board in Commodore Basic 4.0?

I'm having trouble with printing a board of dots in Commodore Basic 6502. This is what I have to far: (it's a subroutine) 10 INPUT "Please enter a number:", X 20 DIM A$(X, X) 30 FOR I = 0 TO X 40 FOR J = 0 TO X 50 A$(I, J) = "." 60 NEXT 70 NEXT 80…
Surz
  • 984
  • 3
  • 11
  • 36
9
votes
2 answers

C64 Assembly Rendering a Sprite

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 display, but I don't see anything being rendered. This…
Woodrow Barlow
  • 8,477
  • 3
  • 48
  • 86
9
votes
3 answers

Choose For Random Strings In Commodore 64 BASIC

I have this variable declarations on my program: X="MAGENTA" Y="CYAN" Z="TAN" A="KHAKI" Now what I want is to randomly choose one of these and PRINT it. But how to do this?
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
9
votes
3 answers

Multi-line functions in Commodore 64 BASIC

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 definitions can only be one line long. That is to…
9
votes
1 answer

Interrupt behavior of a 6502 in standalone test vs. in a Commodore PET

I am building a Commodore PET on an FPGA. I've implemented my own 6502 core in Kansas Lava (code is available at https://github.com/gergoerdi/mos6502-kansas-lava), and by putting enough IO around it…
Cactus
  • 27,075
  • 9
  • 69
  • 149
6
votes
4 answers

Still a future (and a present) for 6502, VIC and SID?

As a derivative of my previous curiosity question I had a followup curiosity. Is there a future and/or an application for the 6502, the VIC and the SID chips ? I know they are still produced, and used. For example, I remember the 6502 makes a…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
5
votes
2 answers

Generating random direction in C64 Basic

I have run the ‘More Bouncing Balls’ Basic program from chapter 5 of the C64 user’s manual, with the addition from the final page of the chapter. The code is as follows: 10 PRINT CHR$(147):REM SHIFT CLR/HOME 20 POKE 53280,7 : POKE 53281,13 30…
Canned Man
  • 734
  • 1
  • 7
  • 26
5
votes
1 answer

How to print quotes inside quotes but in commodore 64 basic v.2.0

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.2.0.?
perpetuum
  • 129
  • 10
4
votes
1 answer

Using xa65 to create a Commodore 64 .prg file and disk image

I've tried looking at Using xa65 assembler to create Commodore 64 .prg but I couldn't get the examples to work. I'm using the VICE emulator. So my super basic assembly program looks like this: .byte $01, $08 lda #1 sta $0400 jmp $0801 and checking…
Peatherfed
  • 178
  • 1
  • 10
4
votes
1 answer

How to set up a CMake cross-assembling toolchain for 6502 CPU (C64)?

I'm trying to set up a, as re-usable as possible, cmake build system for a Commodore 64/6502 cross-assembler called TMPx. My questions are: How might i go about getting CMake to [try to] detect and set the tmpx or TMPx.exe executable and proper…
DhP
  • 306
  • 1
  • 11
4
votes
3 answers

ca65 assembler and ld65 linker

I'm beginning to use then ca65 assembler and ld65 linker on WIndows to create binary code for Commodore C64 computer, running on VICE emulator. I write this small "hello world" source on file "basic2.s" ;-------------------------------------- ;…
alvalongo
  • 523
  • 3
  • 11
4
votes
3 answers

How to have 9 sprites in rasterline

Is it possible to have more than 8 sprites in a rasterline on a real Commodore 64 (not on an emulator)? the sprites don't need to be different.
qwasyx
  • 43
  • 3
1
2 3 4