Skip to main content
2 votes
0 answers
160 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
0 votes
1 answer
64 views

code: * = $1000 jsr init jsr mainloop init: jsr $E544 ;KERNAL clear screen routine lda #$20 ;sprite pointers $07F8 - paddle1, $07F8 - ball sta $07F8 lda #$21 sta $07F9 lda #$00 ;background ...
Karolina Sadowska's user avatar
3 votes
1 answer
140 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
4 votes
2 answers
94 views

Jim Butterfield's "Machine Language for Commodore Machines" book states at page 92 in the chapter on BASIC Memory Layout that (emphasis mine): End-of-BASIC is signaled by three zero bytes ...
Mr.C64's user avatar
  • 43.4k
0 votes
1 answer
110 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
1 vote
1 answer
419 views

I'm trying to conver this ACME asm script to Kick Assembler syntax. This is what i've made: .macro Wait (v) { ldy #v dey bne *-1 } * = $0801 .byte $0c, $...
Black.Jack's user avatar
  • 1,957
0 votes
1 answer
248 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
-4 votes
1 answer
188 views

In Kyan Pascal for the Commodore 64, I keep getting the error: Too many indices on the closing bracket of a[t] ...in the first line of my first procedure: For t := 1 to 100 do a[t] := t; Whole ...
John Guillory's user avatar
2 votes
0 answers
116 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 votes
2 answers
150 views

PRG Studio says there is an unexpected character on line 6. But, I can't figure out why. I'm programming for the c64. 1 rem setup 3 holding = "nothing" 6 playing_game = true 10 rem intro 20 ...
kai's user avatar
  • 35
1 vote
0 answers
193 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
2 votes
1 answer
176 views

I have been trying to load a bitmap to the screen and play a sid file at the same time using an IRQ interrupt. I have it working, the Bitmap displays great, and the SID file plays wonderfully, but ...
James Bradley's user avatar
-1 votes
1 answer
155 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
-1 votes
1 answer
205 views

try to understand a code In the following website is a code a scrollers with wave-like movements. In general, I also understand the code very well. What I don't quite understand IS why he uses Ypos ...
BlackStan's user avatar
0 votes
1 answer
245 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

15 30 50 per page
1
2 3 4 5
7