Search found 31 matches

by hcs
Wed Jan 04, 2012 4:39 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

A full clear is implicit in each frame with an engine like Bell's. But that's why it isn't applicable, 1) Since it messes up the interference effect I remember 2) It'd be even slower drawing 16 huge (potentially screen-diagonal) lines each frame. I suppose we could take each set (those tracking the...
by hcs
Wed Jan 04, 2012 12:26 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Mystify isn't a well-behaved wireframe, though. There's a lot more line intersections at hard-to-predict places, very long lines running close to each other, and you need to do clears as well as sets. I'd be interested to see that ebook reader, but I wasn't able to find a link on your site, is it re...
by hcs
Wed Jan 04, 2012 9:52 am
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

The secret is that the tank demo's tiles are double buffered, and any blank tile is never written to VRAM. Yeah, I think that's the big one. Another is that each frame is buffered as much as possible in main RAM before sending to CHRRAM, mine doesn't attempt to do that and has to do a lot of work r...
by hcs
Tue Jan 03, 2012 10:32 pm
Forum: Homebrew Projects
Topic: Paint program, Brainfuck interpreter, BMP converter
Replies: 5
Views: 7118

Nice! I had a bit of fun plugging the Hello World! demo from Wikipedia. Biggest issue I had was input, the select+D-pad commands require an awkward shift of the thumbs, they might be better as start+D-pad (and run moved to start+Up or something). Oh man now I gotta do Logo with the line drawing stuf...
by hcs
Tue Jan 03, 2012 5:06 pm
Forum: NESdev
Topic: NES programming marathon
Replies: 7
Views: 2732

Maybe do it during an existing jam, like the Ludum Dare loose-rules jams or global game jam? Might be nice to get a team together for one of those and represent.
by hcs
Tue Jan 03, 2012 5:02 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Just when I was about to give up, fixed some ugly bugs (should always use bcc/bcs for unsigned compares) for both stability and speed, it's almost tolerable now. Also made some modifications to the scheme I was using for opportunistic processing, and turned off the PPU while updating to be safe and ...
by hcs
Mon Jan 02, 2012 5:52 am
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Got another 10% or so out of it with a simplified dlist buffering strategy. This way, whatever is available with the NMI hits gets used, and a BRK is used to easily tell how far it was able to execute. Still a shambling monstrosity. http://hcs64.com/files/nestify2.nes Interestingly, it is actually s...
by hcs
Fri Dec 30, 2011 9:07 am
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Cool. Do you actually plot dots, or is it tile swapping? I want to see some line vector cube, hidden surface! Add some sprites and music too. :) It's all naive Bresenham dot drawing, which is again part of the problem. I'd like to flesh it out more fully (some music would be fun), but it's already ...
by hcs
Fri Dec 30, 2011 1:51 am
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

The "lines erase each other" behavior is part of the effect I'm going for. If I wanted non-interfering lines I'd have to be a lot smarter than I am now to redraw without having the last 3 polygons still have to pull from CHRRAM to merge blocks. So unless I can draw the 4 lines of each side simultane...
by hcs
Thu Dec 29, 2011 8:02 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Nope, though Elite uses WRAM the Tank Demo does not. Though it also doesn't persist stuff across frames, which is where a lot of the unavoidable CHRRAM access comes from.
by hcs
Thu Dec 29, 2011 7:26 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Very little progress with speed, but I do have the full Mystify effect running:
http://hcs64.com/files/nestify1.nes

Pretty awful speed, gets under 1 FPS regularly. But I did what I set out to do lo those months ago.
by hcs
Thu Dec 29, 2011 2:17 pm
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Cool, I didn't realize there was source available for the Tank Demo. I'll hold off on looking at it for a while, but it should be fun to see what I've missed.
by hcs
Thu Dec 29, 2011 11:20 am
Forum: Homebrew Projects
Topic: Line plotting engine
Replies: 33
Views: 15936

Line plotting engine

I've been working on a little line plotting engine for a few days, after having abandoned it since August. Here's the current test version: http://hcs64.com/files/vectest3.nes The square is intentionally writing over the triangle, I'm trying to demonstrate that it is actually overwriting it every fr...
by hcs
Tue Jun 08, 2010 4:50 am
Forum: Homebrew Projects
Topic: My NES raycaster - ROM link inside!
Replies: 81
Views: 54644

I remember hearing about this but never quite got to check it out till now... and I must say WOW! Looks excellent! I'm only poking at it in an emulator, I can only imagine how exciting it is to see it coming from the console.
by hcs
Fri Dec 01, 2006 1:33 am
Forum: NES Music
Topic: Blip Festival 2006
Replies: 4
Views: 4120

Awesome show, I'd never even heard of Tugboat but he rocked!