Questions tagged [commodore-64]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
289 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 ...
8
votes
2answers
1k 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
145 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 ...
15
votes
2answers
799 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. ...
18
votes
2answers
908 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 ...
16
votes
5answers
789 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
1k 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
2k 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 ...
11
votes
3answers
4k 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
349 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,$...
10
votes
3answers
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
763 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 ...
7
votes
3answers
323 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
1answer
2k 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... ...
8
votes
2answers
844 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 $...
10
votes
1answer
546 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
1k 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 ...
35
votes
7answers
12k 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 ...
3
votes
1answer
1k 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 ...
17
votes
2answers
689 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
245 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 ...
3
votes
3answers
2k 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. ...
5
votes
2answers
696 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 ...
7
votes
3answers
3k 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, ...
10
votes
3answers
671 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 ...
13
votes
1answer
2k 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 ...
15
votes
2answers
4k 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 ...
6
votes
3answers
2k 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 ...
11
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% ...
23
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,...
7
votes
2answers
11k 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 ...
3
votes
2answers
837 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 ...
7
votes
1answer
465 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 ...
9
votes
2answers
553 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 ...
11
votes
1answer
576 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
768 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 ...
20
votes
1answer
2k 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 ...
1
vote
3answers
566 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 ...
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 ...
24
votes
2answers
2k 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 ...
11
votes
4answers
1k 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 ...
16
votes
6answers
2k 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?
11
votes
2answers
642 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 ...
7
votes
2answers
1k 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 ...
30
votes
2answers
4k 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 ...
10
votes
1answer
1k 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 ...
3
votes
2answers
500 views

C64, basic v2, DATA strange behavior

I have the following code line: 0DATA"-+-+-" Here "\" and "/" are the ASC codes 205 and 206. I get a syntax error: ?SYNTAX ERROR IN 0 READY. As I can remember, there was same special in the ...
18
votes
3answers
1k views

Obscure uses of the Commodore 8050/1541 disk drive

When I was working for a foundry consultancy, we did the following Download routines to add delays when writing certain tracks. This was a security feature. When the program started, it would try ...
12
votes
1answer
448 views

Sprites not rendering correctly before $2000

I am currently testing out some stuff in assembly with C64Studio and Vice and I noticed something with odd sprites. My code starts at $1000 and my sprites at $2000 but when I try to lower the first ...