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 > How Does ESCOS Work?
2008-03-05 02:53
Codey

Registered: Oct 2005
Posts: 79
How Does ESCOS Work?

I always assumed ESCOS used the FLD trick to create perfect timing on each scan line, allowing sprites to move freely but not allowing characters to be drawn. Now, I'm pretty sure this isn't how it's done. Does it still use a combination of $D011 and $D016 to turn off all the borders?
2008-03-05 06:26
JackAsser

Registered: Jun 2002
Posts: 1989
* You open the upper and lower border using $d011 but at the same time disable all badlines (chars). See this forum thread how this is done: Screen with no Badlines

* Then on each line you remove the sideborder using $d016.

* Then apply multiplexing of the sprites on lines where appropriate and/or stretch them using inc$d017/dec$d017.
2008-03-05 07:38
HCL

Registered: Feb 2003
Posts: 716
Exactly.. and to fill up the whole screen width, you have to expand the sprites with $d01d = #$ff.

The original ESCOS was also y-expanded with $d017 = #$ff, but no fancy stretch-stuff or fiddeling.. Only pure multiplexing by settnig new sprite y-position every now and then..
2008-03-05 09:09
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
and use $D018 to quickly change sprite-pointers, afair...
2008-03-05 11:24
HCL

Registered: Feb 2003
Posts: 716
Quote: and use $D018 to quickly change sprite-pointers, afair...

Daaarn, there you spoiled all teh phun :(((. but well, that's in fact a good idea :).
2008-03-05 12:12
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: Daaarn, there you spoiled all teh phun :(((. but well, that's in fact a good idea :).

So Codey, you have the general algorithm, we expect results within a week. Or perhaps simply extract the nice ESCOS part in Totally Stoned II by HCL. =) If you like you may also steal my ESCOS part in the S:T Lars 2006 invite. Then if you are really lazy you can use that ESCOS generator that converts a bitmap to ESCOS and pack it with a viewer! :D
2008-03-05 12:16
WVL

Registered: Mar 2002
Posts: 886
hurrah for lazyness :D
2008-03-05 12:17
Mace

Registered: May 2002
Posts: 1799
I'm even more lazy and watch you guys do it.
2008-03-05 20:51
MagerValp

Registered: Dec 2001
Posts: 1055
Or type in the source from Datormagazin :) That's what I based my all-border hires chess scroller on in Bunny...
2021-07-29 09:15
Bacchus

Registered: Jan 2002
Posts: 154
Mager

Was that my code or? Have a refer nice to the article?

/Bacchus
2021-07-29 12:30
MagerValp

Registered: Dec 2001
Posts: 1055
You may or may not be surprised to learn that I don't quite remember which issue I was talking about in a forum post from 2008 referencing a demo part from 2003 based on a magazine article from the 1980s.
 
... 2 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - 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
iAN CooG/HVSC
Alakran_64
Didi/Laxity
Krill/Plush
icon/The Silents, Sp..
Grue/Extend
K-reator/CMS/F4CG
MAT64
bugjam
centaur2/TREX
kbs/Pht/Lxt
Guests online: 48
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (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 Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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