Author Topic: W-H-I-Y-L - boom shake-shake shake the-room.  (Read 4026614 times)

0 Members and 13 Guests are viewing this topic.

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: W-H-I-Y-L It aint no topic :/
Posting in potentially epic thread-page.

 

Offline T-LoW

  • 28
  • Planet Earth is blue and theres nothing left to do
    • German Freespace-Galaxy
Re: W-H-I-Y-L It aint no topic :/
Think of something epic. Think of something epic. Think of somethi-

The german Freespace-Galaxy

"There was a time before we were born. If someone asks this is where I'll be."

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L It aint no topic :/
Think of something epic. Think of something epic. Think of somethi-



I lol'd.
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L It aint no topic :/
meh, i dont like cake unless theres chocolate in it.

anyway i was toying around with some ideas dealing with memory allocation on my video board. despite only having a 32k (dual, 2x32k) frame buffer for raster data, and 16k (really 12k cause i need a line buffer and some space for program use) for backgrounds, ive come to the conclusion that i will have some nice background, forground, and text overlay options.

turns out 8k buys me a set of 128 8x8 pixel characters, with 8bpp. this will come in handy for those highly detailed backgrounds that dont really change a whole lot. to put that in perspective a the screen may display roughly 32x24 characters at any given time, so many of those 128 chars will need to get reused since there is room for 768 characters on the screen. but that was common on 2d backgrounds on almost every major 2d console. im fondly calling this mode pure 8.

i also decided for some oddball reason to support a set of 128 characters at 4bpp. these characters are still 8x8 so no real quality is gained here. it does however allow me to **** with the palettes to create animated background effects, like flickering lights and whatnot. unlike with the pure 8 mode, i now got to store an extra 3k of palette indices, as well as 1k worth of palettes. so i only have 4k to store the set. im calling this pal 4.

and then for situations when you really feel masochistic, im also doing a large number of 4 color palettes. 256 palettes in fact. this frees up some ram so i can also have 256 distinctive sprites. im kinda thinking of halving the number of pallettes and putting that ram to additional characters, but then id need a larger data type to store the character index, and that would actually increase memory usage. this will have the lowest overall quality, however it will allow for the most variation in background objects. this mode will be called pal 2, obviously.

regardless of the character mode, i need to define layers. each cell, which will hold one of those characters, needs 2 bytes of data (or 1 byte in pure 8 mode). the first is an index into the array containing the characters, and the second byte an index of the array containing palettes. thats why the palettes and the character set are closely related. the character doesn't know what its colors are, and a palette is just a list of colors. this essentially connects everything together. background layers in most 2d systems are not tied to the screen at all, in fact they contain much more pixel area than the screen can display. this allows you to offset the background so you can make the backgrounds scroll and move as you play whatever platform game or top down shooter you decide to make. if you have multiple backgrounds you can play wit perspective by scrolling at different rates, for some cool effects. this also takes the most ram, 6k, unless its pure 8 mode (where i can dump the palette index and half the size as a result).

you can also allocate all that memory to either one big background layer, or several smaller layers. seems i can support a max of 3 layers (in addition to the contents of the framebuffer) and still have backgrounds big enough to cover the entire screen. as i said above the minimum size is 32x24, but the 3 layer mode allows backgrounds that are between 32x32 and 42x24. where as using one big layer lets you do something between 32x96 and 128x24 character area. i have 5 modes actually, and each has a number of available resolutions, so im not going to cover every possibility. but i will mention that i can have text overlay with one or two additional layers. my text overlay will be limited to 32x24 chars (these will use a font stored on the "gpu"'s flash and wont use any ram) and wont move, but it will be useful for scoreboards, game time, huds, etc. the available areas to the backgrounds are smaller, but still have a fairly good area to work with.

unfortunately ive used up the entire 12k of free ram on the gpu (aka mcu, an atmega 1284 in a dip 40 package to be precise) and i haven't allocated anything for sprites. no problem, with backgrounds out of the way and the rotating buffer design of the board, i can draw those in the frame buffer pretty quickly. i dont have to wait for any interrupts or anything. when im done drawing i just bring one of the pins high, and wait for another pin to toggle, and the buffers will flip when the gpu has a nanosecond or two to spare. its even theoretically possible i could do some wireframe stuff in 3d. provided the cpu running the show is powerful enough.

should point out i haven't even wrote any code yet. let alone build the board. or prototyped anything. im still waiting on parts. and i dont want to cut any pcbs until ive tested the subsystems in a breadboard. programming it is gonna suck a lot, much of it will be in assembly, a language i am not all to familiar with. this is necessary to keep the timings correct. for example if i need to branch off my code, i will need to make sure both paths take the same number of cycles to complete. i will not have much time on the gpu to do all the stuff that i just said, sicne the thing will be pumping out pixels most of the time. il have to page in a line from the frame buffer every blanking period, where i have the most cpu time available. blending will occur in asm while im piping out pixels. im only using a quarter of the vga resolution (so my screen res is only 160x120) in my frame buffer. so i have an octal latch to hold the inputs of my dac at the last recieved value, so i can go about processing the next pixel. background pixels then frame buffer pixel, followed by forground pixels and text overlay pixels, a max of 4 pixels worth of blending.

tldr: you suck for not reading that!
« Last Edit: March 23, 2012, 10:07:46 am by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: W-H-I-Y-L It aint no topic :/
Think of something epic. Think of something epic. Think of somethi-



win
el hombre vicio...

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L It aint no topic :/
Two turns...
...
Two.
****ING.
Turns...



Why didn't I do this?
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: W-H-I-Y-L It aint no topic :/
I'm so ****ing drunk. For my own ****ing good. I need to be ****ing drunker.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: W-H-I-Y-L It aint no topic :/
Two turns...
...
Two.
****ING.
Turns...



Why didn't I do this?


because you are too freaking badass to let some bug put you on the endangered species list... OPEN FIRE, FULL AUTO, MAKE THAT SUCKER HURT!!!!!!!!!!!!!
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 
Re: W-H-I-Y-L It aint no topic :/
Nah - Pin the bastard with supressive fire...

and then nuke him from orbit :D.

 

Offline deathfun

  • 210
  • Hey man. Peace. *Car hits them* Frakking hippies
Re: W-H-I-Y-L It aint no topic :/
So I woke up this morning only to realize that my mouth was full of blood and bleeding

**** music alarms, this is how you get someone up
"No"

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L It aint no topic :/
So I woke up this morning only to realize that my mouth was full of blood and bleeding

**** music alarms, this is how you get someone up

Gyaar, that be soundin' like the scurvy. Ya best eats a lime from the galley, ye scurvy dog.

because you are too freaking badass to let some bug put you on the endangered species list... OPEN FIRE, FULL AUTO, MAKE THAT SUCKER HURT!!!!!!!!!!!!!

Oo-Rah!

Nah - Pin the bastard with suppressive fire...

and then nuke him from orbit :D.

I done something similar. Loaded the save from the start of the mission (before any moves were done), loaded my two autogunners with incendiary rounds and filled the warehouse that the buggers were in with righteous and gentlemanly ENGLISH FIRE, promptly followed by a few prox 'nades and a heavy plasma on overwatch.

4:1 kill ratio. Pretty good considering that over half the squad were just bellow mauve shirts, and Snakemen and Chrysalids have been the basis of most of my nightmares since Dekker first let me watch him play UFO waaaaaaaay back when.
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: W-H-I-Y-L It aint no topic :/
Bad Movie Night.

I have procured twelve hours of 1970-1980 Hong Kong martial arts movies.

This will be one to remember. Or to spend hours and hours vomiting and trying desperately to forget.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Klaustrophobia

  • 210
  • the REAL Nuke of HLP
    • North Carolina Tigers
Re: W-H-I-Y-L It aint no topic :/
sounds like something that should be on The Big Bang Theory.  bad movie night.


speaking of, i recorded Twilight on my DVR.  should i watch it and laugh at it, or is it not even worth that?  or, more worryingly, could it corrupt me?
I like to stare at the sun.

 
Re: W-H-I-Y-L It aint no topic :/
Delete, then burn your DVR.  It is already corrupted.
17:37:02   Quanto: I want to have sexual intercourse with every space elf in existence
17:37:11   SpardaSon21: even the males?
17:37:22   Quanto: its not gay if its an elf

[21:51] <@Droid803> I now realize
[21:51] <@Droid803> this will be SLIIIIIGHTLY awkward
[21:51] <@Droid803> as this rich psychic girl will now be tsundere for a loli.
[21:51] <@Droid803> OH WELLL.

See what you're missing in #WoD and #Fsquest?

[07:57:32] <Caiaphas> inspired by HerraTohtori i built a supermaneuverable plane in ksp
[07:57:43] <Caiaphas> i just killed my pilots with a high-g maneuver
[07:58:19] <Caiaphas> apparently people can't take 20 gees for 5 continuous seconds
[08:00:11] <Caiaphas> the plane however performed admirably, and only crashed because it no longer had any guidance systems

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L It aint no topic :/
Delete, then burn your DVR.  It is already corrupted.

I concur. I'd provide the fire, but I don't think that even the hottest flames of 'Teh Internetz' could do it without coming out of it emo.
Maybe a deuterium-tritium fusion reaction might be hot (and cool) enough to do the trick.
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: W-H-I-Y-L It aint no topic :/
Damn son you folks who are all 'Twilight is literally cancer' sound like 'girls are cooties' all grown up. It's a bad movie based on bad books; there are lots of those. Watch and laugh if you want, it's not gonna turn you into a tweenager with a sparkle dildo and Edward printed on the inside of your panties.

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: W-H-I-Y-L It aint no topic :/
There are many things I want on the inside of my panties. ;)

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L It aint no topic :/
brazilian horror movies. both really bad and gross as ****. cannot go wrong there.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: W-H-I-Y-L It aint no topic :/
brazilian horror movies. both really bad and gross as ****. cannot go wrong there.

Italians: gratuitous cruelty to people and animals. Accidentally picked up some real bones while filming in a crypt? Don't give them back, just keep them in your house! Kill real dogs on camera for your movie!

Although frankly having just watched some really bad movie about martial arts and tigers, there's a scene with a kid poking a real, live tiger with a stick. A kid. Can't be more than seven, probably about five.

The tiger turns and goes at him, knocking him over and leaping on top of the kid while some dubbed voice goes on in a tone that is not in the least appropriate to the kid's terrified face...and then we get a cut to a much older version of the character and the kid is never seen again.

I'm reasonably sure the poor kid got killed filming this movie. If not, lord knows he got permanently ****ed-up by the angry ****ing tiger they were filming him with without any safety precautions at all.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Scotty

  • 1.21 gigawatts!
  • 211
  • Guns, guns, guns.
Re: W-H-I-Y-L It aint no topic :/
Reply 20,000 is mine, seeing as I couldn't have post 1 on page 1,000. :P