Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Unexpected linecrunch
2016-09-06 08:58
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....
 
2016-09-13 12:33
Radiant

Registered: Sep 2004
Posts: 639
(A.k.a. the idiotic approach.)
2016-09-13 12:45
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: (A.k.a. the idiotic approach.)

nah, still pragmatic
2016-09-13 13:30
Conjuror

Registered: Aug 2004
Posts: 168
Or "brute force and ignorance" - works too.
2016-09-13 18:08
Digger

Registered: Mar 2005
Posts: 427
Seems like sideborder effect has been accidentally discovered by this code:
inc $d016
jmp *-3
2016-09-14 05:57
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>
2016-09-14 09:02
chatGPZ

Registered: Dec 2001
Posts: 11360
suddenly: unexpected boat people :)
2016-09-14 09:26
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: suddenly: unexpected boat people :)

Groepaz: Time to moderate the fuck out of this thread! :D
2016-09-14 09:33
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…
2016-09-14 09:41
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. :)
2016-09-14 10:51
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Martin Piper
Rodrigo Yeow../Hokut..
Alakran_64
Dr. Doom/RAD
Guests online: 85
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.046 sec.