Questions tagged [6510]

6510 is a microprocessor designed by MOS Technology, Inc. It is a modified version of the 6502 microprocessor with 8-bit IO port addition. 6510 was made famous by being used on the Commodore 64.

6510 is a microprocessor designed by MOS Technology, Inc. It is a modified version of the 6502 microprocessor with 8-bit IO port addition. 6510 was made famous by being used on the Commodore 64.

20 questions
17
votes
1 answer

How to disable screen in Commodore 64?

I know this question is very spesific question but I know there are some c64 code gurus around here. So, here is my question. When I try to disable screen using $d011 trick, upper/lower border also opens. I want to do that without opening…
user1060302
13
votes
4 answers

Stable raster on C64

Using 6510 assembly on the Commodore 64, I am trying to create a stable raster effect. Using the double IRQ principle I draw some raster lines on the screen. I pad with NOPs to match 63 cycles for every normal scanline, and to 23 cycles for every…
Kristoffer Jälén
  • 4,112
  • 3
  • 30
  • 54
12
votes
3 answers

Using xa65 assembler to create Commodore 64 .prg

I am trying to learn 6510 assembly and since I am running Debian xa65 is the assembler I want to use. I have so far written a piece of code that looks like so: *=$0801 .byte $0c, $08, $0a, $00, $9e, $20 .byte $34, $30, $39, $36, $00, $00 .byte…
Waxhead
  • 500
  • 3
  • 16
6
votes
1 answer

Better way to dynamically update tile data on Commodore 64

I'm planning to use software sprites in multicolor char mode for my new C64 project. My idea is to use superimpose 'bullet' sprite data to tile data. I think I can have tileset data at address 'TILESET', sprite data at address 'SPRITE'. And I can…
wizofwor
  • 917
  • 8
  • 25
5
votes
1 answer

CBM Program Studio Assembler syntax

I'm trying to learn CBM Program Studio. But I can't get macros work for me. Withouth the macro the codes was ok. But when I add the macro part it gives "No Matching End Definition" on line 7. Any idea? *=$c000 ; sys 49152 ; set…
wizofwor
  • 917
  • 8
  • 25
4
votes
2 answers

Compare keystrokes - Assembly CCS64

I want to compare keystrokes in assembly (CCS64). If I type in the same key in a row I want to do something example: A A = do this but if I type this: A B = do something else Suggestions?
Oakin
  • 143
  • 2
  • 15
4
votes
3 answers

Emulator Framework

Are there any good open source frameworks for developing computer system emulators? I am particularly interested in something written in Python or Java that can reduce the effort involved in developing emulators for 8-bit processors (e.g. 6502,…
Brandon E Taylor
  • 24,881
  • 6
  • 47
  • 71
3
votes
1 answer

C64 Assembly - 6502/6510 - displaying a series of three bitmaps one after the other, and then moving into character mode

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 secs. Wipe it from memory. Display another bitmap.…
Smokeyparkin
  • 103
  • 6
3
votes
1 answer

commodore 64 smooth scroller on line 1 - is jumping around on the screen if interrupt set on line #0

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 scroller runs on line 1 of the screen. I have set up…
Nick Developer
  • 277
  • 1
  • 4
  • 15
3
votes
2 answers

Enemy bullets targeting player on a C64

I'm scanning the internet and old C64 books for the question without finding an answer, so in the end I just had to post it here. I love the good old times of C64 coding and while I'm not currently programming a game on this platform I would like to…
2
votes
1 answer

How to setup TomHarte CPU tests

I am currently testing my 6510 and I decided to use the TomHarte tests for better accuracy. I have a couple of questions regarding this topic; Do we need to read the binaries of the .json files? If we were to do that how will the function reading…
cdunku
  • 31
  • 3
2
votes
1 answer

Interrupt that loads Bitmap and plays a SID file is NOT returning to main program - (6510 ASM, CBM Prog Studio)

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 that's it. I want to be able to move on to the next…
2
votes
1 answer

PET CBM C64 MOS6510 Assembly Print out letter on screen with calculated screen address?

I'm new to assembler programming for the C64 and I have a question about the procedure for saving and loading memory areas. I am concerned with the following: lda #$01 sta $0400 Puts the letter A to the top left on the screen ldx #$00 lda #$01 sta…
DiscMix
  • 31
  • 2
2
votes
1 answer

Alternative to sinus function for sprite movement

Working on some C64 intro ideas. I move sprites based on pre-generated sinus tables using below code and a sinus table. subroutine ldx counter cmx #100 jmp + ldx #00 stx counter + lda sprite_sinus,x …
wizofwor
  • 917
  • 8
  • 25
1
vote
2 answers

6510 Assembly using CBM Studio - Page Boundary with Branching Errors

I am getting the error page boundary crossed when I run my program. Nowhere in the CBM prg studio app for Windows 10 help does it explain how I can either increase this boundary, or what I need to do in order to avoid these errors. It is happening…
Smokeyparkin
  • 103
  • 6
1
2