Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
68 views

In upper-case mode, the C64 PRINT ASC("A") prints 65 - the ASCII/PETSCII code. But POKE 1024,65 prints the shifted A character. PRINT CHR$(65), however, prints the proper 'A' character. With ...
KungPhoo's user avatar
  • 948
3 votes
0 answers
112 views

I'm writing a Chrome Dino demake on the c64 but the code won't work. Sprite 0 won't move and there are some garbage pixels on top of the screen. A demake is a video game remake that adapts a modern ...
Karolina Sadowska's user avatar
0 votes
1 answer
95 views

I have the following code and would like to know what kind of code it is: P30;1;1q #0;2;4;5;6 #1;2;6;93;1 #2;2;55;3;8 #3;2;91;82;4 #1~~]{o!4?~~!4?~~!4bBB!4?w{MFBBF]{o???[}bbr}!4?{}EBBBE}{_???...
Marcus Herold's user avatar
0 votes
1 answer
197 views

I'm trying to study mnemonics logic, and tried this simple test with C64 asm, made with VSCode and Kick Asm. Basically i'm trying to print from upper left corner sequence chars from 0 to 9 and then ...
Black.Jack's user avatar
  • 1,957
2 votes
0 answers
99 views

I use CC65 to write some program for a C64. The program compiles to like 5k of machine code. Since it starts at $0840, it overlaps with the character ram at $3000. Is there any "pragma" or ...
KungPhoo's user avatar
  • 948
1 vote
0 answers
179 views

I'm struggling a bit to find relevant documentation on this subject when it comes to using just assembly. All I've found is either irrelevant or for BASIC. My goal is to be able to send and receive ...
SkyeG06's user avatar
  • 15
-1 votes
1 answer
138 views

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 "...
Mo Catz's user avatar
0 votes
1 answer
218 views

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 ...
Cri33e's user avatar
  • 1
1 vote
4 answers
1k views

I want to write a very simple basic program in commodore 64 that enters other basic commands. Here's an example: 10 print"list"+chr$(13) This prints list but doesn't hit enter. My ...
Pitto's user avatar
  • 8,699
1 vote
1 answer
566 views

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 ...
user2297996's user avatar
  • 1,624
1 vote
1 answer
576 views

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; ...
Shaun Bebbers's user avatar
0 votes
2 answers
423 views

I have this code: jsr cls ldx #$00 ;loads 0 into x stx tmp ; stores x in tmp ldx #<scr1 ldy #>scr1 printToScreen stx zpb+0 sty zpb+...
user2297996's user avatar
  • 1,624
1 vote
1 answer
188 views

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 ...
Simon's user avatar
  • 577
3 votes
1 answer
375 views

I have a pretty big question here that I am finding really difficult to answer with just a couple of reference books, the internet, and yours truly. I just want to display a bitmap. Wait a couple ...
Smokeyparkin's user avatar
0 votes
1 answer
834 views

getting somewhere with this but by looking at the Screen Display section of my c64 Reference book, the characters I am typing in below are printing to screen correctly, but when recalled to be printed ...
Smokeyparkin's user avatar
2 votes
1 answer
1k views

I have found a few BASIC and KERNAL functions and memory addresses related to getting a key press/line, but how can I simply wait for a key press, and get its code? I want to pause execution, and ...
circl's user avatar
  • 121
0 votes
4 answers
508 views

I’ve just come to working on a c64 in the retro gaming area. I’m wondering why on the c65 a character is 8 bytes but anything else like modern web development, say in php, a character is only 1byte Is ...
Glen Elkins's user avatar
1 vote
1 answer
109 views

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 ...
Marcus C.'s user avatar
  • 237
2 votes
1 answer
349 views

What dialect of 6502 Assembly is this and how do I compile it without translating it into a different 6502 dialect? *=$0900 jmp Start SCRN_START=$0400 Print=$ffd2 Basin=$ffcf incasm "...
Rob O'Doherty's user avatar
9 votes
2 answers
2k views

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,...
Woodrow Barlow's user avatar
6 votes
1 answer
662 views

I recently bought a c64 mini and been trying to code some assembly using Turbo Macro Pro v1.2. While working on the hello world program I found a tutorial where an auto run BASIC header was used. I ...
Dacobi's user avatar
  • 437
1 vote
2 answers
175 views

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 ...
simun9's user avatar
  • 21
3 votes
1 answer
671 views

I have this horizontal smooth scrolling text on line 1 on the screen. the smooth scrolling effect is made using the $d016 hardware scrolling effect by iterating on the 7 lowest bits of $d016). The ...
Nick Developer's user avatar
5 votes
2 answers
681 views

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 ...
Canned Man's user avatar
4 votes
3 answers
4k views

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 "...
alvalongo's user avatar
  • 606