| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Clever Routines
Post your unreleased clever routines here...
|
|
... 124 posts hidden. Click here to view all posts.... |
| |
DCMP Account closed
Registered: May 2003 Posts: 59 |
Thanks guys, for this initiative!
This can prove to be quite motivational. |
| |
Copyfault
Registered: Dec 2001 Posts: 478 |
Quote: platine, this was already done by ninja, and maybe by others too, you can see it for example here: Real the every 2nd line fli screens (tunel and julia) uses this trick to leave cycles free :)
Oswald, we shouldn't discourage Platine to tell such ideas, should we ;)? You're right, it's been done'n'used before, but nevertheless the idea is really great! Sooner or later it _will_ be added to the codebase-wiki!
Thank you guys, esp. Cruzer, Frantic and Icon, for such a brilliant creation; the codebase-wiki for c64 routines is pure cyberheaven for me;p
CF |
| |
Trash
Registered: Jan 2002 Posts: 122 |
@Platine: Now I understand what you were aiming at, and no my routine dont do just that.. |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Thanks guys. It was inspiring to set this up because of all the positive feedback.
Now go add a lot of more stuff in there! I know you have zillions of sourcecodes lying around on your harddrives!
I think we should strike our hammers while the iron is hot, so to speak. ;)
/FTC |
| |
Raf
Registered: Nov 2003 Posts: 343 |
yeah , looks like proper time to start adding stuff as first steps were done and wiki's construction/rules seem to be quite stable and useful now :)
www.vulture.c64.org |
| |
iAN CooG
Registered: May 2002 Posts: 3197 |
http://wikholm.dyndns.org/~cswiki/
already down?
edit: nevermind, now is ok |
| |
Luke
Registered: Dec 2004 Posts: 19 |
I got other idea, but don't know is it works at all c-64 version.
;crazy cycler
*=$0810
sei
ldx #$07
lda tbdet,x
sta $0400,x
dex
bpl *-7
jsr wait
wi1 lda #$34
cmp $d012
bne *-3
nop
nop
nop
nop
nop
lda $d800
lsr
lsr
lsr
lsr
tax
lda tbdec,x
lsr
sta wi5+1
bcc *+2
clc
wi5 bcc *
nop
nop
nop
nop
...........
...........
wait bit $d011
bpl *-3
bit $d011
bmi *-3
rts
tbdec .byte $00,$00,$00,$01,$00,$00
.byte $02,$03,$04,$05,$00,$00
.byte $06
tbdet .byte $01,$09,$0c,$00,$4d,$cd
.byte $5f,$5c
This is a vic-cpu synchronizer using $d800 old nybble.
Make sure $17 is in $d018 + %xxxxxx11 in $dd00 , $1b in $d011. I heard from somebody it's not working on all c-64 versions. I think it's clever routine :)
|
| |
Mace
Registered: May 2002 Posts: 1799 |
The wiki looks nice.
I'll dig up some basic routines I wrote in the past... but don't hold your breath ;-) |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
By the way.. I think, apart from effect routines and so on it could be useful for newcomers to C64 coding to have articles about what stuff need to be initialized in various ways in order to get going. You know.. setting the bits in $01, initializing the VIC, setting up interrupts of various kinds (not necessarily stable ones) and so on. Such an article would get a lot of people going in no time I think. If anyone feel obliged to start such an article, please feel free. I might start it myself some day soon if noone else does it.
However, I think that kind of article would be a perfect one for collaborative editing, rather than the single author articles that have appeared on the wiki so far.
In general I think this wiki should hold both articles for the expert as well as the complete beginner. |
| |
Fungus
Registered: Sep 2002 Posts: 686 |
lda $d00d
and $babe
adc $b00b
lda $f00d
cmp $2bad
bne $2bed
lda $b007
sta $a555
rti
$2bed
php
plp
php
plp
php
plp
rol
ror
rol
ror
brk
php
plp
php
plp
sec
rts
|
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 - Next |