Search found 1188 matches

by CunningFellow
Tue Apr 16, 2013 7:39 am
Forum: Games & Demos
Topic: Asteroids - maybe not - now with movement.
Replies: 33
Views: 8830

Asteroids - maybe not - now with movement.

trying to port asteroids now. This is a static test scene being draw. With any more rocks on screen than that I run out of CPU time. I can see some areas for some marginal improvement in line_draw and set_pixel but I don't think enough to get a very well featured game. I can try split the "logic" an...
by CunningFellow
Fri Mar 29, 2013 3:12 am
Forum: Programming & Software
Topic: table sort...
Replies: 7
Views: 1674

Re: table sort...

uze6666 wrote: Was about to ask the same. :) though you'd also need at least one array of pointers to those structs in order to sort.
Depends if you are CPU bound or RAM bound. If you are short on RAM then swapping places via a single temp struct is smaller.
by CunningFellow
Thu Mar 28, 2013 10:18 pm
Forum: Programming & Software
Topic: table sort...
Replies: 7
Views: 1674

Re: table sort...

Is this a good case to use a struct?

struct team_s{
char name[10];
int points;
};

struct team_s Team[18];
by CunningFellow
Wed Mar 27, 2013 8:29 pm
Forum: Hardware
Topic: EUzebox - a SCART based Uzebox for the EU
Replies: 94
Views: 76798

Re: EUzebox - a SCART based Uzebox for the EU

The big SCART connector on your TV has RGB/Sync signals on it already so no need to convert from RGB to composite.

Kinda like a VGA connector. But dorky looking from the 80s. It probably has big hair and some shoulder pads too.
by CunningFellow
Tue Mar 19, 2013 3:45 am
Forum: Games & Demos
Topic: Asteroids
Replies: 27
Views: 9307

Re: Asteroids

I already have a 12 case optimized line draw for my LCD asteroids.

H+
H-
V+
V-
H+V+ M>0.5
H+V+ M<0.5
H+V- M>0.5
H+V- M<0.5
H-V- M>0.5
H-V- M<0.5
H-V+ M>0.5
H-V+ M<0.5

At the moment they are in C. I am going to have to make them ASM though as gcc seems to do a woeful job of optimising.
by CunningFellow
Mon Mar 18, 2013 6:52 am
Forum: Games & Demos
Topic: Asteroids
Replies: 27
Views: 9307

Re: Asteroids

Been doing some profiling on vector mode. The hard limit of how many 15 pixel lines you can get in one field is ~~70. This leaves no time for game logic, so I will have to draw=odd, logic=even as someone suggested. Still this will not be enough lines for a hectic level of Asteroids so I will have to...
by CunningFellow
Thu Mar 14, 2013 10:03 pm
Forum: Uzebox Derivatives & open source consoles
Topic: Penguin LCD (ATMEGA32)
Replies: 21
Views: 8066

Re: Penguin LCD (ATMEGA32)

I'm wondering where the idea came from that RetroWiz is more powerful than Penguin? They both have AVR8 CPU. Penguin overclocks. Retrowiz has the disadvantage of on the fly video generation. Adding an LCD to Uzebox is cool just because Uzebox is cool, but it's not the sensible way to have an LCD han...
by CunningFellow
Wed Mar 13, 2013 12:49 am
Forum: Uzebox Derivatives & open source consoles
Topic: Penguin LCD (ATMEGA32)
Replies: 21
Views: 8066

Re: Penguin LCD (ATMEGA32)

If you NEEDED to make sprite/map editors for an AVR based LCD system then wait a few weeks to play with mine.

It will have seriously more graphic performance than the penguin plus is 320x240 in colour.

Think of mine an the "microtouch" with sensible choices of pinout to improve performance.
by CunningFellow
Fri Mar 08, 2013 3:25 am
Forum: Games & Demos
Topic: Asteroids
Replies: 27
Views: 9307

Re: Asteroids

The Hackvision one is quite low res and non-vector.

It would be trivial to do that in one of the sprite/tile modes on Uzebox.

I think we hope to make a bit better looking game of asteroids than that using the vector mode on Uze.
by CunningFellow
Thu Mar 07, 2013 11:46 pm
Forum: Uzebox Code Challenge
Topic: UCC2013: Final Results!
Replies: 124
Views: 75766

Re: Uzebox Code Challenge 2013 Opens!

You can't actually "save" ram in the LCD as it is internally set for 16/18 bit colour. Also It is fairly slow to write random pixels too as you do not have access to the memory map. Sequential pixels are not so bad. You need to optimize line drawing routines to account for that. If you only want gre...