| |
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.... |
| |
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. |
| |
HCL
Registered: Feb 2003 Posts: 727 |
..so noone wants to talk FLI and unexpected linecrunch anymore?! ..and worst thing is, everyone will blame me and my mis-post for it :P |
| |
Peacemaker
Registered: Sep 2004 Posts: 248 |
hcl, you destroy the discussion ;) |
| |
lft
Registered: Jul 2007 Posts: 369 |
Well, back on topic then. Here's a neat idea:
If you want FLI on every other line, and consistent timing for all line pairs, then my suggestion is to do FLI on the "other" lines, i.e. when RC is 1, 3, 5 and 7. Doing FLI on line 7 will then also trigger a repeat-row effect, so the subsequent line 0 will be in display mode, with VCBASE updated for the next row but with the old row contents still in the row buffer.
Use e.g. linecrunch to get started at the top of the screen. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - Next |