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: 1378
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: 1989
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: 421
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: 716
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: 11116
suddenly: unexpected boat people :)
2016-09-14 09:26
JackAsser

Registered: Jun 2002
Posts: 1989
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: 1378
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: 1627
@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: 1378
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
E$G/hOKUtO fOrcE
xIII/ATL/WOW
jmin
Grue/Extend
uctumi/PVM/HF
Dymo/G★P
tlr
d'Arc/Topaz Beerline
Sentinel/Excess/TREX
Guests online: 151
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Black Beard  (9.5)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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