Search found 4 matches

by doppelheathen
Sat Sep 10, 2011 1:35 am
Forum: Programming
Topic: That BRK instruction...
Replies: 12
Views: 16518

I lean towards treating BRK as an implied instruction that triggers an interrupt that was meant to be used for debugging and, therefore, most likely not intended to be returned from.
by doppelheathen
Wed Mar 23, 2011 5:57 pm
Forum: Programming
Topic: Does it matter which assembler to use to build a NES rom?
Replies: 3
Views: 2889

I've had a lot of success using asm6 for NES programming, and it lends itself well to other 6502 platforms as well.
by doppelheathen
Fri Oct 17, 2008 9:58 pm
Forum: Nostalgia
Topic: commodore 64 garbage collection routine
Replies: 2
Views: 4869

<smacks forehead>

I had a feeling I was gonna feel stupid not having figured it out sooner or later. In my rush to understand garbage collection I had forgotten all about arrays. Thanks a lot!
by doppelheathen
Fri Oct 17, 2008 6:02 pm
Forum: Nostalgia
Topic: commodore 64 garbage collection routine
Replies: 2
Views: 4869

commodore 64 garbage collection routine

I'm not really sure where to post this.

I'm trying to figure out how the garbage collection works on the commodore 64 CBM BASIC ROM, and I'm officially stuck on a snippet of code. I can't seem to figure out what it's trying to accomplish.


;$b56e:
lda $58
ldx $59 ;get current highest string ...