base:variable_speedcode_runlength
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
base:variable_speedcode_runlength [2016-04-16 11:44] – bitbreaker | base:variable_speedcode_runlength [2016-04-16 12:00] – bitbreaker | ||
---|---|---|---|
Line 38: | Line 38: | ||
lda #$08 | lda #$08 | ||
sta $dd0e | sta $dd0e | ||
+ | lda #$00 | ||
+ | sta $dd04 | ||
+ | sta $dd05 | ||
lda $dd0d | lda $dd0d | ||
lda #$81 | lda #$81 | ||
Line 51: | Line 54: | ||
sta $dd04 | sta $dd04 | ||
;this can even be ommitted if we do not run more than 255 cycles | ;this can even be ommitted if we do not run more than 255 cycles | ||
- | lda runlength_hi, | + | |
- | sta $dd05 | + | |
+ | |||
+ | tsx | ||
| | ||
lda #$09 | lda #$09 | ||
Line 82: | Line 87: | ||
!byte $00, | !byte $00, | ||
exit | exit | ||
- | tsx | ||
- | txa | ||
- | sbx #$03 | ||
txs | txs | ||
cli | cli |
base/variable_speedcode_runlength.txt · Last modified: 2022-01-14 12:45 by bitbreaker