Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [commodore-64]

For questions about the different versions and products of the Commodore 64

10
votes
3answers
1k views

Why did blanking of screen on C64 SAM enable better quality speech synthesis?

There's this old piece of software still present in today's Windows called SAM that enabled C64 to speak. I remember that we could choose either screen on and worse speech quality or screen off and ...
5
votes
3answers
397 views

Can the Commodore 64 display 26 rows of text?

I seem to remember some demo, or a game, which displayed 26 rows of text (that's one more than the usual text mode resolution of 40x25). My memory of it is very hazy, but at least is corroborated by ...
8
votes
2answers
545 views

Creating Null Modem Connection between two C64s?

Trying to establish a null modem connection between 2 C64s using 1 Commodore 1660 300 Baud modem and 1 Commodore 1670 1200 Baud modem. Does anybody have detailed instructions on how to configure the ...
9
votes
1answer
669 views

Looking for a specific 6502 Assembler

I found some 6502 assembler code for a Commodore 64 program that uses meta commands like #include "foobar", define the address to be assembled to via *=$1234 and define labels without a colon. ...
5
votes
2answers
298 views

Method for adding firmware to a Commodore 64 expansion card?

The C64 expansion port can and does support multiple IO devices without conflicts. There is 0.5 KiB that is decoded for $DE00-$DFFF, using /IO1 and /IO2 on the expansion port. As long as the devices ...
12
votes
1answer
672 views

Was the Spartan by Mimic Systems a real product?

I was flipping through an old copy of RUN magazine and came across an advertisement for a product called "The Spartan" produced by Mimic Systems. I had forgotten about this product completely, but I ...
29
votes
2answers
3k views

Why did the C64 have ← and ↑ as dedicated keys?

I've always wondered why the Commmodore 64 had discrete keys dedicated for the ← and ↑ symbols. If I remember correctly, they weren't used in BASIC at all, and were not very useful for drawing, ...
10
votes
3answers
2k views

Visible resolution of C64 video output, including borders

The VIC-II in the C64 outputs 320x200 pixels inside the borders. What is the full visible resolution including the borders? To clarify, I am interested in the full screen size in units of normal ...
19
votes
5answers
3k views

How can I power a C64?

I was chatting with our neighbor and after some long talking, I found out that he has a Commodore 64. I'd love to test it, however I'm not sure how to power it. How can I power a C64?
4
votes
3answers
1k views

Recovering old Commodore 5.25" floppy disks

I picked up a Commodore 64 with about 1,500 floppy disks. Many of them are de-magnetised and there is currently only one disk I can run (been through about 100, I can see the files of 2 or 3 disks, ...
4
votes
2answers
273 views

C116 vs C64 cost

The Commodore 116 was the start of the ill-fated TED line of 8-bit computers, which sold poorly (for several reasons, particularly including lack of compatibility with the Commodore 64) until they ...
6
votes
3answers
450 views

Commodore 64 with red and white RCA cable

After discovering my old Commodore 64 in the garage, I wanted to test if it still works. The power light comes on but the video connection to a modern TV is obviously an issue, as mentioned here. Well ...
1
vote
1answer
120 views

How to add Final Cartridge III to VICE Emulator

How do I properly add Final Cartridge III to VICE Emulator? In the file menu, VICE has an item Attach cartridge image... which splits up into CRT Image but also a list of several cartridges, among ...
6
votes
3answers
716 views

Getting your Commodore VIC-20, 64 or 128 online

Back in the day, of course we used modems ("dial-up modems" in today's parlance) to get our Commodores connected to other systems. These days I know several people have concocted options to get ...
6
votes
3answers
189 views

Why do we need to acknowledge the interrupt from VIC-II?

A page on how to do raster interrupts includes the following code Irq: LDA #7 STA $D020 ; Turn screen frame yellow LDX #90 Pause: DEX BNE Pause ; Empty loop that "...
6
votes
1answer
353 views

How did the C64 interface tape drives?

How did the C64 interface tape drives? I'm aware that the external interface was basically a audio input - but how was this audio converted into digital data, and how was it loaded into RAM and ...
4
votes
2answers
311 views

When were sprites first displayed in the border area?

I assume one of the first undocumented effects on the VIC-II was the ability to display sprites in the (upper and lower) border area. I wonder how and when this was first discovered and used? Was it ...
1
vote
1answer
99 views

Is it possible to switch the interrupt source of the C64 to VIC without changing the IRQ routine?

The ROM IRQ routine at $EA31 is usually trigggered by the timer interrupt 60 times a second. Is it possible to switch the interrupt source to VIC and still use the same routine? If yes, which memory ...
13
votes
2answers
418 views

Can a Commodore 64 use two screenmodes on one scanline?

Many games, for example, Maniac Mansion, or Kissenschlacht, use two screenmodes. Oftentimes, a bitmap mode for the main screen, and a text mode for the lower part which displays scores or whatever. ...
5
votes
2answers
188 views

How to exactly sync to the raster line for a vertical raster split?

Motivated by Wilson's question Can a Commodore 64 use two screenmodes on one scanline? I tried to implement a simple example that polls the beginning of a rasterline and then switches the screen mode ...
9
votes
6answers
889 views

Is there a C64(or any other) emulation that can be run in terminal?

I was looking for a C64 type computer that can be used in the terminal. Can I code one or is there one on the interwebs?
17
votes
2answers
628 views

What's a good way to implement this “splashing water” effect on the C64?

This pillow fighting game set in Venice depicts the two opponents fighting on a wobbly gondola on a canal. It was apparently known as "Pillow Fight" in English and as "Kissenschlacht" in German, and ...
27
votes
2answers
3k views

C64: Why is POS(π) faster than POS(0)?

According to this article: german C64 Wiki article about the POS() command POS(π) is 20 % faster. Although in my experience it is ...
4
votes
2answers
271 views

Why does the Commodore 64 leave these pointers in Zeropage?

I'm trying to decide on what I can get rid of from the zero page, so that I can keep my own data there. Looking at this page, documenting what each of the zeropage locations do, I'm trying to figure ...
12
votes
2answers
598 views

Why was BASIC on the Commodore 64 one byte shy of 38KiB?

When you power up a Commodore 64 you are greeted with a friendly message telling the user it has 38911 BASIC bytes free. 38,911 is one byte shy of a 38 KiB (1,024 * 38 = 38,912). What was the reason ...
1
vote
1answer
167 views

How to read disk files using CBM specific functions in cc65 with proper error checking

TL:DR What is the reason my kernel_read() function ignoring file errors? I'm trying to understand how to work with files in cc54 using CBM specific functions. My target is Commodore 64 with 1541 ...
6
votes
2answers
332 views

Why the disparity between the screencodes and the character codes?

The Commodore 64, and possibly others, I don't know, have character codes (These map integers to characters, in the same way that ASCII does) and there are screen codes (The offset which the VIC-II ...
22
votes
1answer
4k views

Why do all the Speech Synthesizers have that same Voice?

The first time I ever played with software speech synthesis on a microcomputer (not hardware synthesis, like in TI's Speak & Spell) was around 1983, using S.A.M for the Commodore 64. A year later,...
11
votes
3answers
1k views

How do serial (user port) adapters achieve speeds above 1200bps in C64?

The information I have states that the userport' serial speed is about 1200bps, but there are some carts going up to 9600bps. I would imagine that the 1200 is the limit, so I'm wondering how is the ...
16
votes
4answers
1k views

What graphical effects can be created by changing the VIC-II settings?

I read in this answer that one could create graphics effects outside the usual specifications of the hardware by changing the settings of the machine's VIC-II at specific cycles during the video ...
22
votes
2answers
1k views

Why does waggling the joystick of a C64 cause errors loading from tape?

When loading a game from the tape drive on a C64, if you wiggle the joystick around too much the program will not load correctly. Is there an explanation for this? EDIT: Perhaps someone can try to ...
27
votes
2answers
1k views

Why does the C64's LIST command choke on REM statements with a Shift+L?

On the Commodore 64 and VIC-20, the LIST command will abort with a ?SYNTAX ERROR on any line that contains a REM statement with a Shift+L character. A minimal program triggering the error would look ...
14
votes
3answers
922 views

What is the history of DE-9 joystick ports?

The Commodore 64 and the Atari 2600 had compatible joystick ports. Commodore, Atari, and third-party companies like Wico made joysticks supporting that standard. Did this standard have a name? ...
12
votes
2answers
821 views

Does the Commodore 64 have the PHX opcode?

Code written for the Commodore 64 sometimes uses the PHX opcode, which should push X onto the stack. There also are plx, phy, ply. These were apparently added on the CMOS versions of the 6502; very ...
11
votes
4answers
814 views

C64 BASIC: How to suppress the '?' sign when using the INPUT command?

When you are getting INPUT in Commodore BASIC it always adds a question mark at the end of the string you want to show. Is there a way to suppress the question mark when using the INPUT command?
2
votes
2answers
303 views

Using C64 floating point kernal routines with 16 bit integer

How to use floating point kernal routines for 16 bit arithmetics such as: $1234*$ABCD or $1234/$ABCD ?
14
votes
1answer
277 views

C-64 Exchange News Service

I am trying to recall the name of a peripheral I use to have for my C64 in the 1980s. I believe it was called Exchange or X-Change. You hooked it up to your cable TV service and it would decode a ...
4
votes
3answers
646 views

How can I view BASIC code hidden by SYS?

I ran a validation of an old disk, and it turns out this ruined a game (won't load) and deleted my old high score list on David's Midnight Magic. I would like to edit the code to get the high score ...
9
votes
2answers
405 views

6510 I/O port initialisation

TL;DR: With what values are the I/O port registers (locations $00 and $01) on the 6510 initialised when it is powered on? I'm writing a Commodore 64 emulation. The Commodore 64 uses a 6510 ...
8
votes
2answers
667 views

Why did certain color combinations look terrible on the Commodore 64?

As I recall, on the Commodore 64's text mode, if you chose certain colour combinations, the letters would be badly obscured by some kind of interference which seemed to affect each character cell ...
3
votes
1answer
178 views

Audio from Commodore 64 to line 1/4 inch line level

I have a 1702 monitor for my C64. I use a cable that splits the video/audio from the C64 to the Red/Yellow/White thing. Something like this. The white cable is the audio. I believe this is an RCA ...
12
votes
4answers
771 views

How to use BASIC after “LOAD ”$",8 on the C64

After loading a file list from a floppy disk it is hard to program in BASIC because the file list is interpreted as BASIC lines. For example there can be 20 lines with the number 1, because 20 files ...
2
votes
1answer
114 views

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 ...
12
votes
3answers
2k views

What's a good way to implement this “fade” effect on C64

See the beginning of https://www.youtube.com/watch?v=hmfLBAtGAKk. Here's a screenshot: It basically clears characters pixel by pixel both horizontally and vertically. Use sprites for the pixel by ...
5
votes
1answer
611 views

Copying disk images to Commodore 64 floppy disks

For some time now I have been on a mission to get back into playing games on a Commodore 64. I have bought an original Commodore 64C. I got hold of a original 1541 disk drive. I also got hold of a ...
5
votes
1answer
300 views

1980's ROM used which exp(n) algorithm?

In 1980's ROM (Apple IIe, Commodore 64, VIC-20, ...) which algorithm is used to compute exp(x), and where do the coefficients below come from? (Chebyshev, Remez, Pade, ...) .byte $71,$34,$58,$3E,$...
5
votes
2answers
437 views

Open source, non-GPL SID emulator

I am looking for a SID emulator that is open source, but not GPL. In particular, I am looking for something with a license that allows me to link it to a closed-source program; and also one that ...
37
votes
4answers
17k views

Commodore 64 to modern TV

I've been thinking about getting a Commodore 64 machine. However, I realise there's obviously no video cables I have that will work. But when I looked online there are many people using S-Video to VGA ...
3
votes
2answers
125 views

How can I view an Error Info Block in a D64 image?

I've been imaging old C64 floppies using a 1541 disk drive connected to my old Pentium III via a homebrew parallel cable and the Star Commander. Given that my disks are 30+ years old, I am amazed ...
3
votes
2answers
1k views

Why do they use CLI in an IRQ routine?

I am studying an FLI routine in http://codebase64.org/doku.php?id=base:fli_displayer and I noticed that the CLI instruction is being used in this IRQ routine: irq0: pha ... cli ; &...