| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Unexpected linecrunch
I'm sure in the past I've displayed full screen FLI just by writing a new value to $d011 every 23 cycles, and using some of the intervening time to update $d018 (ie, writing to $d011 on what vic artikel refers to as cycle 14).
However, if I have sprites zero to five enabled, and am only writing d011 every second line, it appears that I need to perform the first $d011 write for new char rows at least one cycle earlier, lest I get a linecrunch.
Any idea what's going on here?
(every two lines, I'm running something like this:
lda#efy0+ 71:sta $d007
lda#d18v0
ldx#$38+1
ldy#0
sta $d018
sty VM0+$3f8:iny
sty VM0+$3f9:iny
sty VM0+$3fa:iny
sty VM0+$3fb:iny
sty VM0+$3fc:iny
sty VM0+$3fd:nop
stx $d011
Also: not sure if it's relevant, but I stabilise the interrupt by forcing a DMA one and a half lines before the first such block of code is run, ie the first block is preceded by
sta $d011 ; trigger badline just before effct starts; this one's just to stabilise
nop:nop:nop:nop:nop:nop ;extra nops because there's no sprite DMA at the end of the above DMA
|
|
... 57 posts hidden. Click here to view all posts.... |
| |
Radiant
Registered: Sep 2004 Posts: 639 |
(A.k.a. the idiotic approach.) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: (A.k.a. the idiotic approach.)
nah, still pragmatic |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
Or "brute force and ignorance" - works too. |
| |
Digger
Registered: Mar 2005 Posts: 427 |
Seems like sideborder effect has been accidentally discovered by this code:
inc $d016
jmp *-3
|
| |
HCL
Registered: Feb 2003 Posts: 727 |
Anyone knows of a hotel in Amsterdam to sleep after the pre-party? The hotel-boat we stayed at last time was fully booked.. by c64-sceners i suppose ;). Presets:
- Walking distance from central station
- Fairly cheap but not dirty ;)
- It has to be a boat or? It's Amsterdam after all :)
<edit> FCUK, wasn't i reading the x-2016 thread!?!? </edit> |
| |
chatGPZ
Registered: Dec 2001 Posts: 11360 |
suddenly: unexpected boat people :) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: suddenly: unexpected boat people :)
Groepaz: Time to moderate the fuck out of this thread! :D |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Damn sceners, stealing our jobs, failing to integrate, living in enclaves, sleeping on concrete floors in abandoned milk factories.
Oh hang on, that's me
|
| |
Frantic
Registered: Mar 2003 Posts: 1647 |
@Christopher: Yes is was nice that you showed up at the BFP in the milk factory, migrating all the way from Australia. :) |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Can't believe that was ten years ago! Good times. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - Next |