• Welcome to Dark Bit Factory & Gravity.
 

What are you working on at the moment?

Started by Shockwave, October 28, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rbz

#780
@boogop: This is an interesting piece of asm code, and I've tried to convert it to C and I got this result below.
Not exactly sure if it is correctly but it seems to be working.

Quote
   short bx[16384] = {};

   short cx = 0x783F;
   char ch = 0;
   short si = 0;
   short ax = 0;
   short dx = 0;

   for(int i = 0; i < 16384; i++)
   {
      ax = -39;//65497;
      dx = (cx * ax) >> 16;
      si += dx;
      cx += si;

      ch = (cx >> 8 ) & 0xFF;
      bx[ i ] = ch;
      short b = bx[ i ];
      bx[ i ] = b >> 1;

      printf("%d    ", bx[ i ]);
   }

If you want to investigate further please open a new thread for it on a proper coding section, I'm sure people will like to try this.

I've attached part of the numbers I got and an image of those points plotted on x coordinate.
Challenge Trophies Won:

inc.

i can provide a sinus generator for windows:



it calculate your values and give a preview. the output can be exported for further usage in C or C++. I used this Gen. back in the late nineties for Playstation 1 C++ coding for Sinus Scrollers and effects / wobbler :D
currently coding in PureBasic: GLSL Shader Maker & Editor Tool for further Demo coding usage

aNdy

Continuing my learning in PureBasic, so converting to PC a Cosine game called 'Blok Copy' that has previously been released on C64, C64DTV, Atari 8bit, Commodore PET.

Main engine all functioning, just working out a way to animate the blocks which involves building sprites on the fly and then moving them.  Getting there...

Kirl

Wow, Rbz and inc, those drawings are awesome!

Cool project aNdy, i love all things retro.

Im working on nothing atm, nothing to report... Thanks for a bit of inspirational zest!  :cheers:
www.kirl.nl
Challenge Trophies Won:

Rbz

Challenge Trophies Won:

aNdy

That underwater image is beautiful. Mysterious, but very pretty.

Kirl

Sweet, would love to see those animated!  :cheers:
www.kirl.nl
Challenge Trophies Won:

Stonemonkey

I am attempting to do something along the lines of this:

https://youtu.be/Jd3-eiid-Uw

Not with any Wii hardware though, some time ago I got a USB 3D camera attachment for  my phone and recently I tried connecting it to my PC and it shows up as 2 video devices, so I'm trying to use it to track my head. Also, I use a passive 3D TV as my monitor so my plan is to attach some LEDs to a pair of 3D glasses so I can do the headtracking along with stereoscopic rendering.
I've only started this over the past day or two and have something thrown together which shows promising results along with some problems to overcome.
Unfortunately I reckon it's probably quite a unique setup and not many people will have the hardware required for this.

Raccoon

I'm currently working on a text-based multiplayer game. I don't really have anything to show right now, but I felt inspired to give it a shot after spending some time on a BBS and playing Legend of the Red Dragon, among others. I threw together a quick prototype early last year, but am now making progress with a much clearer vision of the kind of game I want to make.

I'm developing the game in PureBasic.  :)

DaZZaBoY

Trying to stay creative whilst in lockdown so I'm finishing off an ascii entry for this years Revision demoparty.

va!n

In the fight against very rare malignant blood cancer and bone marrow cancer, I currently hope that chemos, healthy eating will continue to give me a lot of strength and confidence as soon as possible !!!

Due fact of massive symptoms like exhaustion and concentration problems its not really possible for me, to do something on the computer like coding... Sometimes i try it... but after a while i have to stop and try to recover. Btw, there are still two projects i really would like to do/finish and release.
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

boogop

Sorry to hear, va!n. I've had enough friends dealing with cancer, and lost a few, that I'm really tired of it.

Not really working on anything at the moment, but I stuck some of my C# stuff out on GitHub for the lolz including a shameless plug for dbfinteractive https://github.com/boogop/DemoFX
Challenge Trophies Won:

Kirl

That sucks va!n, hope the treatment works and you'll feel better soon.

My mother passed away last year, so Im working on cleaning up the house and setting up a decent desk for myself so that I can hopefully get back behind the keys very soon.

www.kirl.nl
Challenge Trophies Won:

va!n

@boogop:
    Sorry to hear you lost a few friends by cancer.
    Btw, i looked at your DemoFx stuff... Nice idea and work!

@Kirl:
    Thanks for your words!
    I'm very sorry to hear your mother passed away.
    I think it's a good idea to setup a decent desk yourself and looking forward.
    Stay fine and best wishes...!!
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

inc.

just experimenting with this:

http://www.dbfinteractive.com/forum/index.php?topic=6843.msg84681;topicseen#new



and also wrote a tool that can load up GLSL Shader in: 720p, 1080p, 2k or 4k.
it can deal txt and png files to open









currently coding in PureBasic: GLSL Shader Maker & Editor Tool for further Demo coding usage

xp

@topic
actually i work on my comeback :)    :bananaphallus:

Stonemonkey

I am back in time to my first comp again, the mighty acorn electron, to see what I can get it to do.
Unfortunately not the actual machine and just an emulator.

Stonemonkey

A peek at what I'm working on, this is on a BBC emulator that I'm using on my phone so I can do some coding wherever I go but will be moving it over to the electron emulator on the PC to see how that handles it. A scrolling demo that just wraps around at the moment and no vsync or anything so there's some screen tearing.

https://youtube.com/shorts/ZeoV1Q8p4jE?feature=share

Optimus

I tried to code something for the oldest PC XT 8088 4.77mhz (and 10mhz at turbo speed) with CGA card

https://github.com/Optimus6128/Roto8088

Source and binary included. Did some fixes with the pseudo 80*50 textmode to make the CRTC sync compatible with CGA and VGA (not EGA yet as I don't own a card to test).

A video of it running is at this time point https://youtu.be/7N0BXLFb7uw?t=312 and there are also other demos/games I am testing with this machine.
Challenge Trophies Won:

Stonemonkey

Cool stuff, I'm planning on double buffering but at cost of halving the height of the display, got very little ram to play with, 32k total with 10k used by screen and some other used by OS. I think rotation might be a step too far for the 1MHz electron that I'm going to be putting this onto.