News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

converting javascript to asm

Started by Siekmanski, September 17, 2014, 11:22:26 PM

Previous topic - Next topic

Gunther

Hi Marinus,

Quote from: Siekmanski on September 19, 2014, 06:14:09 AM
I know what you mean, i'm also not that sharp anymore.
My short time memory ( hope this is english  :biggrin:) is very bad after my motorcycle accident 2 years ago where i knocked my head to a lantern post.
So programming is a good exercise for me, although i'm slow these days.

I'm sad to hear that. I hope you'll have a full recovery in the next time and you'll find back to the old strength.

Gunther
You have to know the facts before you can distort them.

Siekmanski

Creative coders use backward thinking techniques as a strategy.

hutch--

True confessions, a few years ago I had ridden my pushbike down the road to get a few things and on the way back tried to use a drivway to get from the road onto the footpath, messed it up and flipped the bike upside down and landed on my head. Broke the cycle helmet and ended up with concussion. Worse still I had to wheel the bike home a couple of kilometres and while there was little damage to the bike, I had to buy a new helmet and replace the tube in the front tire. As far as I know the footpath did not feel a thing.  :biggrin:

avcaballero

Quote from: Siekmanski on September 19, 2014, 06:14:09 AM
I know what you mean, i'm also not that sharp anymore.
My short time memory ( hope this is english  :biggrin:) is very bad after my motorcycle accident 2 years ago where i knocked my head to a lantern post.
So programming is a good exercise for me, although i'm slow these days.
Well, Marinus I'd say that your memory is very sharp yet  :t. Programming is a good entertainment for me too, but i have few time also: job, family, live,... Game of Thrones :biggrin:,... But the most truth is that I haven't got the same enthusiasm as when I was younger. Nevertheless I keep on programming in my free time. And would be nice to make here a demo compo or something like this.

Kind regards

Siekmanski

Yeah, bikes can be dangerous........

Alfonso, by demo compo you mean sinus scrollers, 3d objects and music etc.?
Creative coders use backward thinking techniques as a strategy.

avcaballero


guga

The de3moscene is the best one. I have several examples of the demos from ages.

It is amazing what some people can do. For instance, not to mentiopn the beauty of the apps, the size compression is really extraordinary. I have seen files with 3 or 5 Mb be compacted to a tiny few kbs. How they managed to do it ? I have absolutely no idea.

The graphics are something extremely pretty, specially if you consider some files made back in the 1999 where DX was absolutely nothing. Or some commodore examples that really are amazing.

Take a look at this i´m uploading. Simplistic graphics, but really awesome.

It was common that many of the programmers that wins the contest (if i remember well, it was a time when they payed U$ 10.000 for the 1st prize) were hired to gaming companies.


Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

guga

#22
Also take a look at this 2nd file i uploaded. I succeed to decode it years ago, and convert to Rosasm. I made a recent update of this demo and also uploaded on rosasm board.
The src is embedded inside the app.

The text is made with an Ascii Generator routine. And the letters are made with the function "BuildLetters" embeded to the app. The font used is Times. I changed the original code to allow a fine tune of the fonts and letters.

The links below are the ones i found at the time, to draw the text glyphs

http://gamedev.stackexchange.com/questions/3528/how-do-i-convert-directxs-x-from-binary-encoding-to-text-encoding-and-back
http://www.webestools.com/ascii-text-generator-ascii-art-code-online-txt2ascii-text2ascii-maker-free-text-to-ascii-converter.html

Btw, Marinus, if you want to see how it managed to code the audio. Take a look at the src. Open it in RosAsm, look for the "TITLE AUDIO" section and see the function "BuildMusic". I don´t know how they created the music data, but i succeed to decode the functions that make it work, specially some that are related to the musical note scale.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

dedndave

used to use a compaq portable where i worked
it had a pretty cool banner logo, considering it was monochrome graphics   :P

the text came on with a "sparkler" effect

dedndave


guga

Quotei know - i'm an old fart
:greensml: :greensml: :greensml:

I remember the compaq series.Although i didn´t had one. At the time it was to expensive here for me to buy. Back at those times, some friends of mine had old Tk85 etc

My 1st computer was an old MSX from gradiente (Z80 processor). We plug it onto the TV screen, and the programs i did in basic (qbasic or gbasic, if i recall well) and store it on old audio tapes recorders (K7).

Concerning the commodore and the old times, what really amazes me, is that regarding the demo scenes, it wasn´t really necessary the usage of all of the actual technology. With the hardware we had at the time, people still did amazing things relatively fast.

When i was 13th or 14th years old (In the mid´s 80's), i had a friend whose father gave him an Amiga. The graphics was awesome and was yet, used on TV broadcasting.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

dedndave

#26
that was when i worked at Edge Computer Corp.
before that, i worked at Sperry Flight Systems, and we had a TI terminal with laser printer and acoustic modem - lol
we used PDP-11's for test machines
before that, i worked for Rockwell - they had a little AIM-65 - i wasn't into it, much - it was a toy
although, we did make S-100 bus Z-80 computers for test purposes
before that, i worked at General Instruments - they made IC's (games, calculators, memories)
before that, i worked at Flow Technology, Inc - they used a General Instruments calculator chip - what a joke
before that, i worked at Courrier Terminal Systems - they made smart terminals that used intel 4004 and 8008's
before that, i was in the army   :biggrin:

Siekmanski

I started coding in assembly on the Amiga 500 in the late 80's.
Saw some Demos and Intros and just wanted to be a coder.....
Creative coders use backward thinking techniques as a strategy.

jj2007

Quote from: dedndave on September 20, 2014, 04:56:52 AM
we used PDP-11's for test machines

Around 1982 I wrote a FORTRAN IV program on a PDP-11, simulating some complex thermodynamic process. The printout was about 3-4 metres long, huge for my standards. And yes, compile time was just about right for a coffee break :badgrin:
Later, I bought a ZX Spectrum, and around 1986, the time had come to buy The Real Thing: an Atari ST with a whopping one MEGA!! byte of RAM but no harddisk yet. GfaBasic and 68k assembler became my friends ;-)

hutch--

I split my early history, 1st computer I took any notice of was a Z80 in about 1980 and from memory it was an Osbourne. You laid it on its side, removed the top cover which was also the keyboard and it had a small monochrome screen that showed when you removed the keyboard/cover. I remember dabbling with basic from an early floppy disk but took the view that it was not worth the effort playing with it. My HP 11c calculator was both more powerful and faster. (I still own it and the original batteries still work.)

Started back with a 286 running MS-DOS 5.0 in 1990, jumped into the deep end with Asm, Basic and C in parallel on a 486 a month or so later and have been going ever since. Never touched anything else than x86 from then onwards and was never interested. Started with win32 from NT4 on the promise of FLAT memory model with no segment/offset addressing and have never looked back.