Stack Exchange Network

Stack Exchange network consists of 174 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

3
votes
2answers
137 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 ...
11
votes
1answer
229 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 ...
8
votes
2answers
310 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 ...
2
votes
1answer
142 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 ...
5
votes
2answers
440 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 ...
2
votes
1answer
93 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 ...
5
votes
1answer
176 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. ...
11
votes
1answer
362 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 ...
5
votes
1answer
195 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 ...
4
votes
3answers
419 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 ...
5
votes
1answer
168 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 ...
8
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 ...
5
votes
1answer
277 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,$...
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 ; &...
5
votes
2answers
347 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 ...
3
votes
2answers
103 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 ...
1
vote
1answer
284 views

Where to buy an 8 bit computer remake? [closed]

I want to buy a remake of an 8-bit computer, e.g. the ZX-Spectrum or c64. Must haves: Modern monitor output(e.g. HDMI) Modern keyboard, no gum keys Modern storage, e.g. SD card or USB stick, etc... ...
6
votes
2answers
649 views

Is it possible to bank out Kernal in Commodore PET, VIC-20 or 264 series computers?

You can bank out Kernal ROM in C64 using $01 register. This was preferred by game/demo coders who wants to employ self tuned routines and wants to expose ram 'underneath'. You can do lda #$35 : sta $...
8
votes
1answer
225 views

VIC-II transistor count

I'm curious about the transistor count of the VIC-II, the video chip in the Commodore 64. According to http://visual6502.org/wiki/index.php?title=Chips_in_our_collection the Atari 2600 TIA chip has ...
8
votes
3answers
869 views

How to spin up 1541 drive without C64

I have a 1541 drive and I want to make it spin but I don’t have a Commodore computer. I don’t need to read data, I would just like the drive to spin. Can I manually tell it to spin using a raspberry ...
31
votes
7answers
9k views

Why did Commodore 64 cartridge games disappear?

The Commodore 64 has a cartridge slot, but by the mid-eighties, cartridge games disappeared; everything was on tape or disk. Why? One answer that suggests itself is that by that time, a larger ...
0
votes
1answer
260 views

Is it possible to make VICE load .prg files faster?

When I load a C64 .prg with the Hoxs64 emulator, my .prg loads pretty much instantly. But when I load the same .prg file with VICE (x64 app.prg) it takes quite a while (depends on memory map, but ...
15
votes
1answer
265 views

How to create a switchless multi-system 2 button Atari joystick?

All systems that use the Atari 9 pin joystick standard make use of the following pins in consistent ways, with each direction and the fire button being connected to the ground pin when pushed. 1 - up ...
2
votes
1answer
145 views

Is it possible to use the BRK instruction when ROM is banked out?

I used to use the BRK instruction when debugging on the C64. However, when I bank out ROM with... lda #$35 // Bank out kernal and basic sta $01 // $e000-$ffff ...the BRK instruction (...
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 ...
1
vote
2answers
294 views

Reading both keyboard and joystick with non-KERNAL code on C64

I'm implementing non-KERNAL joystick and keyboard controls for my Commodore 64 game. I used to use the KERNAL SCNKEY routine earlier to read keyboard and it worked well with my joystick port 2 code. ...
4
votes
2answers
287 views

How to transfer files to C64 emulator quickly

I just discovered the fun of writing small programs (Basic/asm) for an emulated C64 for me. Unfortunately, I cannot get used to the emulated C64 keybord, and would like to write the programs on the ...
3
votes
3answers
563 views

Recovering old commodore 5.25" floppy disks

I am noob to all of this, I am trying to relive my childhood. 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 (...
3
votes
2answers
207 views

Commodore VIC-20/64/128/16/Plus 4 floppy disk drive replacement

We all know that floppy disks are getting hard to find, and floppy drives are fragile to begin with (especially Commodore's 1541 drive). I know that several companies and parties have released floppy ...
11
votes
1answer
578 views

Why does the C64 have the following palette?

The Commodore 64 has the following fixed palette of 16 colours: (Your palette may vary due to tuning of screen, etc.) What was the reason for this selection of colours? Are these colours ...
14
votes
2answers
2k views

Is the s-video output on the Commodore 64 different from “normal” s-video?

I saw Commodore 64 to modern TV about how to connect the Commodore 64 to a modern TV. I don't understand all the details of the answer, so I wanted to try and ask something specific here. In short, I ...
5
votes
2answers
425 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 ...
9
votes
4answers
2k views

Who wrote the MS BASIC on the PET/C64/etc?

I'm wondering if anyone has a document that describes the history of the BASIC interpreters used in the various Commodore 8-bit machines? Ultimately I'm trying to track down how it is that the A% ...
20
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,...
3
votes
2answers
1k views

Best path to learn C64 assembly [closed]

The amount of tutorials, youtube videos, scanned books on C64 programming is overwhelming. What materials would you recommend -- and, importantly, in what order! -- to build a path to programming my ...
2
votes
2answers
396 views

How can a C64 interrupt let the KERNAL keep operating?

I am working on a loading screen, and what I wanted was a simple raster trick (just change the border colour on the bottom half of the screen), and also call the KERNAL to load some more data from a ...
5
votes
1answer
242 views

Is there a MIME type for C64 .PRG files?

I'm writing an emulator with an HTTP API that could usefully accept C64 .PRG files as the request body of a POST request. This means it has to be able to detect such files by their MIME type: POST ...
7
votes
2answers
193 views

Behaviour of $D000-$D3FF section on the C64 during bankswitching

My question is about bankswitching behaviour on the Commodore 64. I'm writing a C64 game for a 16kb cartridge with EXROM and GAME pulled low, so the available bankswitching modes are (according to ...
10
votes
1answer
334 views

Go program for the C64

Is there a program for the C64 that plays the game of Go? Progress on go engines has started later than with chess, so maybe there is no C64 Go software from the 80s, but maybe someone has recently ...
6
votes
2answers
594 views

Does anybody remember a database cartridge for the Commodore 64?

Decades ago I bought a database cartridge for my C64. IIRC it was a no-name brand being sold as close-out or from a bargain bin. It may have been the slowest program I ever bought. It wasn't too ...
16
votes
1answer
939 views

How to check the C64 graphics mode used by Maniac Mansion

I have been investigating the MS-DOS port of the C64's Maniac Mansion game. The original MS-DOS port used the C64-specific character map to draw the various backgrounds in the game. I noticed that ...
0
votes
2answers
321 views

Commodore 64 Game with Falling Character Scream

I'm trying to remember the name of a Commodore 64 game that had a character in it that would scream when it fell. I found videos of Impossible Mission, but the name doesn't seem right and the sound ...
4
votes
3answers
488 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 ...
20
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 ...
10
votes
4answers
523 views

Looking for an easy to use Commodore 64 disk/sector editor

First, let me say I understand that 'recommendation style' questions can be very subjective, but I believe there is enough value in a few good beginner resource pointers that others could benefit from ...
9
votes
3answers
537 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?
9
votes
2answers
444 views

Why does this BASIC program keep restarting?

Here is a BASIC program for the Commodore 64, which should load the LIB file from the disk, and then stop. Yes? 5 PRINT "LOADING..." 10 LOAD "LIB",8,1 20 STOP the LIB file is 102 bytes long and is ...
6
votes
2answers
943 views

C64: Strange Behaviour on Control Port 1

I wrote this little Basic program to get Joystick input from Control Port 1. I know that this method is very strange and is better for keyboard input. 20 get a$ 30 if a$="" then 20 32 b=asc(a$) 33 ...
24
votes
1answer
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 ...
8
votes
1answer
645 views

What is this extra lead in my monitor cable?

I have a breadbox Commodore 64 with a Commodore 1702 monitor. My monitor has three RCA-style inputs on the back: Audio (White) Luma (Yellow) Chroma (Red) I purchased a cable which claims to be an ...