Space Attack by Riot [web]
▄
▄▀▀▀▀▀▀▀▄ ▀▄ ▄▀▀▀▀▀▀▀▀▀▀
▀▀▀█ █▄▄▀ ▓▄▄▄█ █▄▄▄ ▀▀▀▀
▄▀▀▀▀▀▀▀▀ ▀ ▀▀▀▀▀▀▀▀▀▀▀▀█▀ ▀▀█ ▀▀█▀ ▀▄ ▄▀▀▀▀▀█ ▄▀
█ ▄▀ ▄ █ █ ▄ ▀▄ ▀▄▄▄▄ █▀▄
█ ▀▀▀▀▀ ▀▀▀▀▀ ▀ ▀▄▄▄▄▄▄▄▄▄▄
█ ▀▄
█ █
█ a 4k intro contribution for █
█ █
█ ──the─party─1997── (Aars, Denmark) █
█ █
█ code, █
█ music: franky █
█ help: nyl, zap █
█ squat █
█ █
█ █
█ ──o p t i o n s── █
█ █
█ /nosound .... skip GUS detection routine, force nosound █
█ █
█ █
█ note: the ULTRASND environment variable is NOT needed, █
█ ───── since a real hardware GUS-detection is being used! █
█ █
█ █
█ ─ r e q u i r e m e n t s ─ █
█ ────────────────────────────── █
█ █
█ ─ p133 or higher (recommended: p166) █
█ █
█ ─ about 500 kb of base-memory █
█ █
█ ─ VESA 1.2, and a FAST graphics card! █
█ █
█ ─ GUS for synthesizer sound, 256k of DRAM are enough █
█ █
█ █
█ ─ r i o t ─ h o m e p a g e ─ █
█ ────────────────────────────── █
█ █
█ www.borg-graz.ac.at/~riot █
█ █
█ ── o r : ── █
█ █
█ www.riot.org (after jan'98) █
█ █
█ █
█ ─ c o n t a c t ─ █
█ ────────────────────────────── █
█ █
█ E-mail: f.baumgartner@tirol.com █
█ █
█ My nick-name on IRC is "frank^rt" or "franky^rt". There █
█ you can also meet other riot-members on the channels █
█ #riot, #coder, #coders.ger and maybe #austria. █
█ █
█ remember: ─ no swapping █
█ ────────── ─ no illegal stuff █
█ ─ no spamming/advertising █
█ █
█ + job-offers █
█ + sponsoring █
█ + knowledge-exchange █
█ █
█ █
█ ──visit─us─here─at─the─party── █
█ █
█ the riot-crew is somewhere in hall 3 ('freak █
█ town'?), there it's more 'quiet' than in the █
█ other two halls. - with some luck you'll be █
█ able to find our tables! ;-) █
█ █
█ █
█ ─ c o p y r i g h t ─ e t c . ─ █
█ ────────────────────────────── █
█ █
█ this peace of software is copyright (c) 1997 by █
█ █
█ ───the─members─of─riot─── █
█ █
█ we are in no way responsible for any damage caused █
█ by usage or misusage of this software! █
█ █
█ you are allowed to and should even spread this program █
█ on (non-)commercial CD-ROM's without our special commitment! █
█ █
█ - of course it would be cool if you could sponsor us in some █
█ way, since YOU are making the money using OUR programs. ;-) █
█ █
█ you are NOT allowed to change/add/remove anything of/to/of te █
█ original release archive!! █
█ █
█ █
█ ─ t e c h n i c a l ─ i n f o ─ █
█ ────────────────────────────── █
█ █
█ ─ 160 bytes com-unpacker █
█ █
█ also coded by frank, it's NOT ripped from █
█ any program like lz-exe, pk-lite or whatever! █
█ █
█ unpacked program size: 4600 bytes █
█ █
█ i don't know if it's as fast as ARJ or whatever, █
█ but i think that makes no sense anyway when █
█ decoding just 4k... ;-) █
█ █
█ the compression program has been written in █
█ watcom c++ █
█ █
█ ─ fourier synthesizer █
█ █
█ basically 3o3 oriented, but without distortion █
█ █
█ the samples are precalculated at program startup █
█ and are then copied into the GUS DRAM. █
█ █
█ the synthesizer itself is based on fourier █
█ synthesis, signal type: saw-tooth. █
█ █
█ ─ sequencer █
█ █
█ this is a real sequencer, no 'tracker', which █
█ plays given variable-length sequences on up to █
█ 32 channels. each channel has its own arrangement █
█ where the sequences or effects can be defined. █
█ when playing a sequence on a specific output █
█ channel, the following effects can be used: █
█ █
█ transpose, volume, phase-shifting, █
█ set instrument, set instrument phaser, █
█ panning, delay █
█ █
█ ─ music data █
█ █
█ the music data has been defined directly within █
█ the asm-source, using TASM-macros to calculate █
█ frequency-tables, defining notes as constants █
█ and then 'play' with these constants... █
█ █
█ ─ particle system █
█ █
█ the particles are calculated new every frame, █
█ created in orthogonal space, then converted █
█ into 3d-vector data, finally rotated and █
█ displayed. █
█ █
█ total number of particles: 8192 █
█ █
█ ─ font engine █
█ █
█ basically, the font is calculated from the █
█ 8x8 system bios font. █
█ █
█ the resulting 'soft-font' is even proportional, █
█ which means the letters have variable width. █
█ █
█ warning: there is some serious math behind █
█ ──────── the font calculation routine! █
█ █
█ before i've found the new 'magic' font code, i've █
█ tried to use a discrete cosine transform (DCT) █
█ to calculate a 2d-frequency spectrum (this is █
█ also done by the JPEG picture compression algos) █
█ and then use some kind of 2d-lowpass filter. █
█ █
█ unfortunately, this didn't look that good, but █
█ i've found some slightly different way to get █
█ very nice fonts, and it works wonderful hehe... █
█ █
█ ─ writer █
█ █
█ the writer has dynamic left/centering/right █
█ routines, since there are different 8x8 bios █
█ fonts out there, and the letter-widths may █
█ change from system to system. █
█ █
█ ─ speed █
█ █
█ this program has been designed to run perfectly █
█ on a p166. in addition, it has been highly █
█ optimized for size and not for speed! █
█ █
█ you should als be just fine with a p133 and a █
█ fast video-adapter, the whole intro has been █
█ programmed on such a system. █
█ █
█ the full-screen motion-blurring takes most of █
█ the time! █
█ █
█ ─ source █
█ █
█ the complete, documented assembler source-code █
█ of the whole project is almost exactly 100k. █
█ █
█ █
█ ─ g r e e t i n g s ─ █
█ ────────────────────────────── █
█ █
█ ─ adok^hugi.............bin schon gespannt auf hugi #9!! ;) █
█ █
█ ─ brain.................wie geht's in UK ? :-) █
█ █
█ ─ gnilk^noice...........hope to meet you here at TP '97! █
█ █
█ ─ kb^tom^purge, █
█ red-13................ich platze schon fast vor spannung █
█ wegen eurem 4k!!! ;-) █
█ █
█ ─ purge.................warum ausgerechnet finnisch ??? █
█ █
█ ─ Guido de Haan.........thanks for your help, buddie! █
█ unfortunately i couldn't finish █
█ the PM synthi until now, but █
█ there's always a next time! ;-) █
█ █
█ ─ noize^k...............deinen 'humor' werde ich nie █
█ verstehen! :-) █
█ █
█ ─ neo software..........the austrian scene lives! █
█ █
█ ─ d-lee^exceed..........surprised? ;-) █
█ █
█ ─ maz...................bis zur mekka '98! █
█ █
█ ─ nix, █
█ probe^tbl.............i love that mp4-story! hehe... █
█ █
█ ─ all sysops of █
█ our dist-sites........thanks for supporting us! █
█ █
█ ─ the whole western █
█ saloon-community......for discussing about almost █
█ everything :) █
█ █
█ ─ shiva^k █
█ siriuz^k..............thanks for helping carrying our █
█ bags!! :) █
█ █
█ ─ everybody i've forgotten here! O:-) █
█ █
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
[ back to the prod ]
