Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Binary programming

Author
Message
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 13th Nov 2003 21:12
Quote: " -I think he was refering to ASCII?"

Maybe. But what has binary to do with ASCII? Nothing.

Me, I'll sit and write this love song as I all too seldom do
build a little fire this midnight. It's good to be back home with you.
Dark Coyote
21
Years of Service
User Offline
Joined: 17th Oct 2003
Location:
Posted: 13th Nov 2003 21:19
well its kinda related, theres a big table of the ASCII codes in bindary form in my computing text book, although I do have a habit of falling to sleep in non programming computing lessons so I wouldnt say my understanding was that good
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 14th Nov 2003 02:31 Edited at: 14th Nov 2003 02:32
Well yeah, the binary system is as much related to ASCII as the decimal system is. Still less than hexadecimal, though.

Me, I'll sit and write this love song as I all too seldom do
build a little fire this midnight. It's good to be back home with you.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 05:13
lets not forget octal
<squeezes forehead with pain>

-RUST-
Akira Tsunami
21
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 14th Nov 2003 07:33
i know a small bit of binary coding,but why use binary level when you can code it with HEX!!!!
example in Hex(BASIC Flavor):
CODE$=CODE$+CHR$(&HB8)+CHR$(&H0)+CHR$(&H13)+CHR$(CD)+CHR$(&H10)
Now that is the equ. of :
MOV AX,0x013
INT 0x010

Say you wanted a clone of the QB Sleep command:
CODE$=CODE$+CHR$(&HCD)+CHR$(&H16)+CHR$(&H90)
This is equ to:
INT 0x016
NOP

Cheers,and good luck
- Akira Tsunami -


Lead Programer & Project Leader Of TsunamiSoft
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 09:46


-RUST-
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 14th Nov 2003 10:41
If you are going to program in Binary, you should definately start with Hex, or Assembler. Work your way up, or down or whatever.

Pincho.
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 14th Nov 2003 11:37
It depends on what you want to learn really. Binary is the basis of all numeric systems, including Hexadecimal - which is really just an alternative representation of 4 bits (values 0-15). I never liked Hex much, binary at least has some charm, like those old morse code walkie talkies you always end up getting at christmas as a kid - you can identify with binary because it's easy to learn.

Of course, as has been said numerous times - you don't program in binary, the toughest language you'll ever use is assembly/machine code, and that's only used heavily in hacking these days. Programs like SoftIce can decompile basically anything, but you need a real knowledge of the internal workings of a PC to understand uncommented assembly. In the 16-bit days most games were written in 100% assembly, it was the only way to get the speed needed, and do cool things like cheating with colour palletes and vertical syncs, but the advances in PC hardware make it possible to write games in C++ and other languages, programming hasn't got more advanced, hardware has - so why go against the flow?.

I'd say learning C++ would be a more worthwhile effort.


Van-B


I laugh in the face of fate!
Phoenix4
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 15th Nov 2003 16:14
As I have said before PLEASE stop wasting room on my post unless your going to answer my question it's just anoying, and it's preventing people who are willing to help from posting here because there is so much other nonsense already!!

position object MyFoot,object postion x(yourAss),object position y(yourAss),object position z(yourAss)
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 15th Nov 2003 16:38


''For nonconformity, the world whips you with its displeasure''---Ralph Waldo Emerson
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 15th Nov 2003 16:47
noone is gonna help you man, get over it

Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 15th Nov 2003 16:49
"As I have said before PLEASE stop wasting room on my post unless your going to answer my question it's just anoying, and it's preventing people who are willing to help from posting here because there is so much other nonsense already!!"

Have you read anything anyone has actually posted?!?!

''For nonconformity, the world whips you with its displeasure''---Ralph Waldo Emerson
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 15th Nov 2003 16:55
Quote: "Of course, as has been said numerous times - you don't program in binary, the toughest language you'll ever use is assembly/machine code"


Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
Phoenix4
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 15th Nov 2003 17:13 Edited at: 15th Nov 2003 17:19
0100101001100101011100110111010101110011001000000100001101101000011100100110100101110011011101000010110000100000011110010110111101110101001000000110000101101100011011000010000001100001011100100110010100100000011000010010000001100010011101010110111001100011011010000010000001101111011001100010000001001101010011110101001001001111010011100101001100101100001000000100101001110101011100110111010000100000011100110110100001110101011101000010000001110100011010000110010100100000011010000110010101101100011011000010000001110101011100000010000001110101011011100110110001100101011100110111001100100000011110010110111101110101001001110111001001100101001000000110011101101111011010010110111001100111001000000111010001101111001000000100100001100101011011000111000000100000011011010110010100100001001000010010000100100001


And please, don't put one single more post on here unless it says:

"You can find help on binary programming at ..........."

Do yourselves a favor and stop wating your own time with this if you don't know. If this bothers you so much then can you make a new topic complaining about this post. That's the problem with this forum every one just critizizes instead of helping. If you can't answer my origional question which no one has YET! "Does any one know a web site where I can find help on Binary programming?"
Then just leave this post the hell alone.


I bet you even after all that, some dumb ass is still going to try putting other posts on here that have nothing to do with the topic.

position object MyFoot,object postion x(yourAss),object position y(yourAss),object position z(yourAss)
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 15th Nov 2003 17:23
lmao, that was one of the funniest posts ever!

Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 15th Nov 2003 17:26
Ok I promise not to post another thing!
Phoenix4
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 15th Nov 2003 17:30
Thank you for proving my point:

Mattman and Pincho

position object MyFoot,object postion x(yourAss),object position y(yourAss),object position z(yourAss)
Phoenix4
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 15th Nov 2003 17:32
You know what forget it.
Thanks for nothing every body
put whatever you want on here I give up.

position object MyFoot,object postion x(yourAss),object position y(yourAss),object position z(yourAss)
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 15th Nov 2003 17:48
cool! this will become the second most poinless thread in the world

Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
dbcoder2006
21
Years of Service
User Offline
Joined: 14th Nov 2003
Location:
Posted: 15th Nov 2003 18:03
Traslation of:01001010011001010111001101110101011100110010000001000011011010000111001001101001011100110111010000101100001000000111100101101111011101010010000001100001011011000110110000100000011000010111001001100101001000000110000100100000011000100111010101101110011000110110100000100000011011110110011000100000010011010100111101010010010011110100111001010011001011000010000001001010011101010111001101110100
00100000011100110110100001110101011101000010000001110100011010000110010100100000011010000110010101101100011011000010000001110101011100000010000001110101011011100110110001100101011100110111001100100000011110010110111101110101001001110111001001100101001000000110011101101111011010010110111001100111001000000111010001101111001000000100100001100101011011000111000000100000011011010110010100100001001
000010010000100100001
=
Jesus Christ, you all are a bunch of MORONS, Just shut the h*** up unless you're going to Help me!!!!
Shock
AGK Developer
22
Years of Service
User Offline
Joined: 24th Oct 2002
Location: United Kingdom
Posted: 15th Nov 2003 19:00
er, iv'e got a strange feeling that this is just someone's sick joke lol.


TMB - under construction
Sticking feathers up your butt doesn't make you a chicken.
Dark Coyote
21
Years of Service
User Offline
Joined: 17th Oct 2003
Location:
Posted: 15th Nov 2003 19:12
0111001111111000000111111
^ components inside your computer use bindary to do stuff, its bindary that lets penguins play on gameboys!
Phoenix4
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 16th Nov 2003 19:49
At least divide by zero tried to help me.

But! I have been searching on google for help but I'm sure that a thing like this is going to very hard to find help on that's why the best way to find help is to ask some one who already knows, which is why I came here in the first place.

position object MyFoot,object postion x(yourAss),object position y(yourAss),object position z(yourAss)
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 16th Nov 2003 21:44
If you really are clever enough to program in binary then you are cleverer than the people that you are asking....like me for example.

Pincho.
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 16th Nov 2003 22:42
It goes to the right for me too.
This used to happen more offten back in the day But i havent seen it happen in a while.


Very, Very annoying


I wanted to learn C++ but then I started having nightmares.
I would scream at night, "AHHHHH!!! THE SEMI-COLONS"
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 17th Nov 2003 13:00
Phoenix 4 you nonce - do a search for assembly language or machine code, that's what your looking for.

You keep bitching about us not helping, but your not listening and acting like a school kid won't make us want to help you at all.

It has been said several times that you should look for assembly through google - now do that then come back with half a clue about why we use darkbasic.


Van-B


I laugh in the face of fate!
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 17th Nov 2003 13:01
That happens when a post has no spaces in a very long line.
In this case it's one of Phoenix4's post with 1s and 0s and no space.

Me, I'll sit and write this love song as I all too seldom do
build a little fire this midnight. It's good to be back home with you.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th Nov 2003 13:54
Yeah Phoenix4 cut up you stupid long line up

I am kind of facinated by people spending large ammounts of time doing things that are largly pointless. The more time spent and the less achieved tbe better.

Programming something in binary is a pretty good example of that sort of activity. It intrested me enough to spend some time with google when I should be looking for a job, I am too easerly distracted .

Only really found one intresting link so far, some block wrote a small compiler starting with only
- an operating system;

- a simple text editor (or we could use Emacs and pretend it's a
simple text editor);

- a shell that lets us run a program with file descriptors connected
to particular files (this way the programs we write only need to
read from and write to file descriptors and do not have to know
about opening files);

- an initial program to convert hexadecimal to binary so that we can
compose our first programs in hexadecimal, using the text editor,
and then "compile" them to binary in order to run them (this
corresponds roughly to the program that you might enter into an
early computer using front panel switches).

link http://homepage.ntlworld.com/edmund.grimley-evans/bcompiler.html

dbpro : p166mmx @ 233 : 256mb : sb 128pci : sis onboard
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 18th Nov 2003 01:30
lol

[href]http://www.thegamecreators.com/[/href]
Mirrors are more fun than television. Well, that was fun, in a not-so-fun sort of way...
DivW
21
Years of Service
User Offline
Joined: 31st Jul 2003
Location: Scotland
Posted: 18th Nov 2003 01:39
Maybe P-BASIC is the stuff for this guy. It lets you program pin sockets to make LED's flash. It's about as much fun as pulling teeth. But, it's programming...and you can use as much Binary as you can fit into a 256k stamp. Have Fun!

Your soul...it tastes like chicken

Official Website Coming Soon
DivW
21
Years of Service
User Offline
Joined: 31st Jul 2003
Location: Scotland
Posted: 18th Nov 2003 01:53 Edited at: 18th Nov 2003 01:55
Hmm...just flicked though the whole thing, no-one's mentioned P-Basic. P-Basic is the bollocks language of the universe. It has around 20 commands, and they're all rubbish. It can support one command per line, so you have to make your if statements like this:




That's some basic P-Basic. P-Basic is piss easy to learn, you can master the language in seconds, but the maths will keep you going, and you can use Hexadecimal if you prefer it (%01010101 = $55). You need a stamp controler and software to use it though. You can get the software from anywhere, and maybe you can find a Virtual Stamp Controller on the Internet. That's the best i can do for you. I had a trawl through google for you but i couldn't find any Virtual Stamp controllers. Probably not what you're looking for, but you can use this language to program your own Alarm Clock, electric egg timer, all sorts of crap. If you learn to wire circuitry, you can really use this language. Wait no you can't, the language really blows. I do too much programming...gonna go to bed now, i think. (Gets up, leaving perfect ass-print on the chair)

Your soul...it tastes like chicken

Official Website Coming Soon
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 18th Nov 2003 02:27
If statements were like that for a long time. I think that the If statment has made the biggest change of all the standard basic commands.

If Then

If
Endif

If
Else
Endif

If
Else If
Else
Endif

Pincho.
DivW
21
Years of Service
User Offline
Joined: 31st Jul 2003
Location: Scotland
Posted: 18th Nov 2003 02:33
Yup...They should update the Stamp software. Make a stamp v.2 or something. Wait, it's allready on v.2 ....well a v.3 then.

Your soul...it tastes like chicken

Official Website Coming Soon
AlecM
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Concord, MA
Posted: 18th Nov 2003 04:25
haha, i just read this and laughed my ass off.

[P4 2.8C @ 3.03 with an 866mhz FSB:: MSI Neo-2LS running PAT:: 1gb Mushkin PC-3500 DDR High Perf level 2@ 2,2,2 :: ATI Radeon9800ProAIW :: 120Gb SeagateBarracuda 7,200RPM SATA HD :: Antec Plus1080AMG]
Dean
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 18th Nov 2003 06:54 Edited at: 18th Nov 2003 06:57
Binary can't make letters directly, it can only make a value 2^[number of bits] in size.

in most cases, its groups of 8 bits
[128] [64] [32] [16] [8] [4] [2] [1]

so..

11111111 = 128+64+32+16+8+4+2+1 = 256
00000001 = 0+0+0+0+0+0+0+1 = 1


another way of writing it :


the way computers get the latters ("a", "b", "c", what you're reading right now, etc) is by asssigning the different possible values (0-255) to a symbol

Edit: it seems my post came a little too late ^_^

DivW
21
Years of Service
User Offline
Joined: 31st Jul 2003
Location: Scotland
Posted: 19th Nov 2003 13:45
Isn't there a reserve in ASCII as well? I'm sure you can only use 255 of those bits. Well anyway. If you want something challenging to do, then learn Perl. I just can't get my head around it. It seems simple enough, but somehow, it just doesn't click. -Dave

Your soul...it tastes like chicken

Official Website Coming Soon
Shock
AGK Developer
22
Years of Service
User Offline
Joined: 24th Oct 2002
Location: United Kingdom
Posted: 19th Nov 2003 21:45
perl as a language is quite easy, but i dropped it awhile ago in favour for asp, which in turn i dropped for php, which is where i'm at now

if you don't know php yet, i'd recommend you just go straight to it, it's a pretty flexible language, and uses easy C style syntax.

the main problem i have with perl, is the zero presence of a debugger. sometimes i had nightmares about http 500 internal server errors.


Sticking feathers up your butt doesn't make you a chicken.

Login to post a reply

Server time is: 2024-11-24 07:54:53
Your offset time is: 2024-11-24 07:54:53