Thomas Jentzsch's Profile
Reputation: 40
Excellent
- Active Posts:
- 15,196 (4.67 per day)
- Most Active In:
- Atari 2600 (5338 posts)
- Joined:
- 25-April 01
- Profile Views:
- 16,069
- Last Active:
Private- Currently:
- Offline
Latest Visitors
-
iwan-iwanowit... 
17 Mar 2010 - 4:23 -
vdub_bobby 
16 Mar 2010 - 9:03 -
kiki77 
14 Mar 2010 - 3:53 -
Rick Weis 
14 Mar 2010 - 3:42 -
cashcow06 
11 Mar 2010 - 8:55
Visit this blog
Elite-like Line Drawing
Posted 20 Dec 2009
Inspired by this blog entry, I spend spend some time with the line drawing part of Elite.
Since there is no double-buffer (like Elite), I experimented with 3 ways of line drawing:
1. Clearing the whole screen and then drawing all lines.
2. Plotting pixels with XOR, erasing the old and immediately redrawing the new line
one by one.
3. Plotting pixels with XOR, erasing all lines first and then redrawing all new lines.
The constant clearing time in variation 1 slows down the frame rate when there is not much to draw, but would increase it when there are more than ~140 pixel to plot in a frame. The problem is, that unlike in variation 2 and 3, the screen is flickering quite a lot as a whole and not all lines are displayed for the same amount of time.
Variation 2 displays all lines but the one currently redrawn. Unfortunately this leads to a lot of artefacts.
The 3rd variation is a compromise between 1 (all lines displayed the same amount of time) and 3 (less artefacts), which IMO looks best and seems to be the way Elite draws its lines too (maybe someone can confirm this?).
Attached are NTSC and PAL binaries (using E7 bank switching) plus the source code (if anyone is interested, nothing too special) displaying a single Thargon. The code tries to use the free CPU time (pretty imperfectly) which is much larger for PAL. Therefore the PAL version runs much faster.
Still both are not running very fluently even though the status display and any 3D movements and transformations are still missing. There is a little room for improvement (like self-modfying code and better CPU time utilization), but I am not very positive this would gain enough to get close enough to an acceptable frame rate.
Since there is no double-buffer (like Elite), I experimented with 3 ways of line drawing:
1. Clearing the whole screen and then drawing all lines.
2. Plotting pixels with XOR, erasing the old and immediately redrawing the new line
one by one.
3. Plotting pixels with XOR, erasing all lines first and then redrawing all new lines.
The constant clearing time in variation 1 slows down the frame rate when there is not much to draw, but would increase it when there are more than ~140 pixel to plot in a frame. The problem is, that unlike in variation 2 and 3, the screen is flickering quite a lot as a whole and not all lines are displayed for the same amount of time.
Variation 2 displays all lines but the one currently redrawn. Unfortunately this leads to a lot of artefacts.
The 3rd variation is a compromise between 1 (all lines displayed the same amount of time) and 3 (less artefacts), which IMO looks best and seems to be the way Elite draws its lines too (maybe someone can confirm this?).
Attached are NTSC and PAL binaries (using E7 bank switching) plus the source code (if anyone is interested, nothing too special) displaying a single Thargon. The code tries to use the free CPU time (pretty imperfectly) which is much larger for PAL. Therefore the PAL version runs much faster.
Still both are not running very fluently even though the status display and any 3D movements and transformations are still missing. There is a little room for improvement (like self-modfying code and better CPU time utilization), but I am not very positive this would gain enough to get close enough to an acceptable frame rate.
Yello
Posted 16 Dec 2009
I had almost forgotten how good this music is. If you like this, make sure to check out your their new album!
Time flies!
Posted 2 Nov 2009
Exactly ten years ago, I made my first Thrust post to the [stella] mailing list.
Atari 2600 Homebrew/Hacks AA store rankings
Posted 28 Oct 2009
Homebrews
Hacks
= new
- Synthcart
- Lady Bug
- Thrust+ Platinum
- Medieval Mayhem
- Star Fire
- Seawolf
- 2005 Minigame Multicart
- Skeleton+
- Conquest of Mars
- Fall Down
- Climber 5
- Marble Craze
- Go Fish!
- Strat-O-Gems Deluxe
- Gunfight
- Crazy Balloon
- Dark Mage
- Oystron
- SWOOPS!
- Testcart
- Colony 7
- Space Instigators
- Hunchy II
- A-VCS-tec Challenge
- Space Treat Deluxe
- This Planet Sucks
- Squish 'Em
- Gingerbread Man
- Elevators Amiss
- Sync
- Four-Play
- Backfire
- Toyshop Trouble
- Phantom II / Pirate
- Space Battle
- AStar
- Bee-Ball
- Jammed
- Reindeer Rescue
- BLiP Football
- Encaved
- Euchre
- INV+
- FlapPing
- Warring Worms: The Worm (Re)Turns
- Melbourne Tatty
- Poker Squares
- Ultra SCSIcide
- Vault Assault
- Rainbow Invaders
- Okie Dokie
- Crazy Valet
- Allia Quest
- Amiga Boing! Demo 2.0
- Alfred Challenge
- StickyNotes Cart
- Raster Fahndung
- Power Off!
- Mental Kombat
- Pesco
- Merlin's Walls
Juno First
Stella's Stocking
Dungeon
Incoming!
Hacks
- Adventure Plus
- Pac-Man Arcade
- Wolfenstein VCS: The Next Mission
- Venture II: The Abysmal Abyss
- Space Invaders Arcade
- Berzerk: Voice Enhanced
- Miniature Golf Plus
- Galaxian Arcade
- Return of Mario Bros.
- X3V0LuX
- Asteroids DC+
- Combat Rock
- Combat Redux
- Missile Command: Trak-Ball
- Indy 500 XE
- Mr. Roboto
Ti Sento
Posted 9 Oct 2009
I just had the "pleasure" to listen to the terrible remake of a better unnamed trash musician.
So I dug out the gorgeous original from Matia Bazar. Enjoy!
My Information
- Member Title:
- Thrust, Jammed, SWOOPS!
- Age:
- Age Unknown
- Birthday:
- January 18
- Custom Status:
- Always left from right here!
- Gender:
-
- Location:
- Düsseldorf, Germany
- Interests:
- Programming, (TV- :-) Sports, Travelling
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.qotile.net/xype/index.html
- ICQ:
-
169733345

Sign In
Register
Help
Send me a message
Find Topics
Find Posts
Display name history



Comments
iwan-iwanowitsch-goratschin
25 Dec 2009 - 8:47carmel_andrews
21 Aug 2009 - 5:28Thomas Jentzsch
20 Aug 2009 - 8:57carmel_andrews
20 Aug 2009 - 3:19iwan-iwanowitsch-goratschin
17 Jul 2008 - 4:21fdurso224
21 Mar 2008 - 4:23Anthony.....
fdurso224
15 Dec 2007 - 2:24Thomas Jentzsch
17 Sep 2007 - 1:51Random Terrain
14 May 2007 - 11:46