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.

DarkBASIC Discussion / What language was DarkBASIC written in? C++? Asm? Machine Language?

Author
Message
Computer Nerd
20
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 19th Jan 2006 02:50
I've always pondered this can someone answer my question?

Everyone's a noob at one time but some people are noob's forever they are called: spammers.
Game Developer will be out when pigs can fly and before you take that the wrong way look at my avatar.
Milkman
19
Years of Service
User Offline
Joined: 30th Nov 2005
Location: United States
Posted: 19th Jan 2006 03:00
c++ i think... and btw, "asm" and "machine code" both refer to assembly i beleive.

"Genius is 1% inspiration and 99% perspiration"
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 19th Jan 2006 03:55 Edited at: 19th Jan 2006 05:33
Machine code is binary code

001001011001

And if you opem an application already compiled to it (.exe) , you`l see it like this : (binary part)



my posts have been read or opened
times !
re faze
20
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 19th Jan 2006 03:55 Edited at: 19th Jan 2006 04:03
nope, asm is short opcodes, and machine language is "101000110110011"

Quote: "0010012011001

And if you opem an application already compiled to it (.exe) , you`l see it like this :

"


um binary has 1 and 0 not 2 and youll actually see MZ????????THIS PROGRAM CANNOT BE RUN IN DOS MODE??

Milkman
19
Years of Service
User Offline
Joined: 30th Nov 2005
Location: United States
Posted: 19th Jan 2006 04:10 Edited at: 19th Jan 2006 04:10
i know machine language is technically "01010110" (binary) and such, but you cannot program in that more often than not, when people say "machine code" they mean assembly language, which is the lowest level language that you can program in.

just imagine a simple peice of executable code to access the memory in "machine code" (binary)

lol

"Genius is 1% inspiration and 99% perspiration"
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 19th Jan 2006 04:18
sorry , but machine code is machine code , assembly is assembly...

my posts have been read or opened
times !
re faze
20
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 19th Jan 2006 04:22
yea and if people cannot program machine code directly where did the first code come from?

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 19th Jan 2006 05:28
I think that people actually possibly ccoded binary at oooold times..



But fist code was totaly different in construction that the ones now...

my posts have been read or opened
times !
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 19th Jan 2006 11:13
John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 19th Jan 2006 11:36
It was written in DarkBasic Professional

Hehe, no it was written in Visual C++ 6 and DirectX 8.1

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 19th Jan 2006 14:32
Well, for your dear computer everything is binary. Executables, data, everything stored in your compy is binary. But that's just a number system and not machine code. Machine code is a set of instructions (numbers that happen to be stored in binary form in your computer), that the CPU can understand. When you want to "write in machine language" it wouldn't matter much what number system you use, as they're all interchangable. Assembly languages are mnemonic representation of CPU instructions, so instread of writing 197 (or in hex C5, or in binary 11000101) you write CMP (which again stands for compare Z-Page on an 6502 CPU).
Bottom line: machine language is not binary, it is in stored in binary form.


Play Nice! Play Basic! Version 1.089
Computer Nerd
20
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 19th Jan 2006 15:33
Question is answered thank you John Y best of luck with Omega Basic.

l00kz h3r3 pplz vistez de game developer w3bs1te likez t0d8y @ http://gamedeveloper1.tripod.com 0r likez visitez da game d3v3l0per thread nowz ppl.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 24th Jan 2006 06:26
I thought DBC was written in Delphi...?


I'm going to eat you!
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 24th Jan 2006 09:28 Edited at: 24th Jan 2006 09:30
Quote: "I thought DBC was written in Delphi...?"


hm...i never thouth it was...i always guessed it was in c++ , though , about a few months back , i thouth everything 3d is written in c++...

Quote: "It was written in DarkBasic Professional

Hehe, no it was written in Visual C++ 6 and DirectX 8.1"


well fps creator is/was written in DarkBasic Professional..(i think at least)

my posts have been read or opened
times !
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 24th Jan 2006 16:45
And Windows was coded in Visual Basic.

Support us! Click! Image! Visit! Site!
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 25th Jan 2006 06:31
I'm almost dead positive that DBC was written in Delphi, and DBP was written in C++. Ask this in Geek Culture, you'll all see...


I'm going to eat you!
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 25th Jan 2006 07:42
Nope, it's Play Basic that's written in Delphi. Both DBC and DBP are written with c++. I don't think anyone at TGC knows Delphi.

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 25th Jan 2006 08:50
Quote: " I don't think anyone at TGC knows Delphi.
"



you can not know that... becouse people ussualy know more than one language , ok , not fully , but it is VERY possible that they do..

Quote: "And Windows was coded in Visual Basic."


i`m not sure what that`s suppost to mean , if that means that he dissagre with what i said that Fpsc was made in Dbpro , then how come you can download fpsc`s source code for Dark Basic professional ?

my posts have been read or opened
times !
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 25th Jan 2006 15:35
Quote: "And Windows was coded in Visual Basic."

It was meant as a joke.

Maybe what you're thinking of that was written in Delphi was DarkEDIT and also the default IDE for DBP. I'm more than certain they were both written with Delphi. But the DBC and DBP compilers were written with C++.

BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 25th Jan 2006 20:53
Something important was written in Delphi. I have no other explanation for my obsession with it.


I'm going to eat you!
Red Ocktober
21
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 25th Jan 2006 21:07 Edited at: 25th Jan 2006 21:11
maybe because it's one of the best higher level development tools out there, bar none...
... if programming in Pascal doesn't bother you

furthermore... don't believe what any of these guys are telling you... DarkBASIC was developed using 3DRAD!!!

(Lee, Rich... don't kill me... )


--Mike
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 25th Jan 2006 23:34 Edited at: 25th Jan 2006 23:37
*smiling* Imagine how cooked those dear old guys were when they started programming all the languages using just 1s and 0s ... *sigh*... God bless their souls...

HelloWorld Tommorrow
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 26th Jan 2006 00:36
Weren't both DBC and DBPro written in plain old C?

Tempest - P2P UDP Multiplayer Plugin - 70%
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 26th Jan 2006 19:49
Quote: " Weren't both DBC and DBPro written in plain old C?"


DUHHHHHHHHHHHH. DBC was written in Windows Word, and DBPro was made in Paint (and is ultimately a three-year-old drawing).

Support us! Click! Image! Visit! Site!
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 27th Jan 2006 00:25
Quote: "DBPro was made in Paint"




Hippopotomonstrosesquippedaliophobia-Fear of long words
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 27th Jan 2006 09:11
Quote: "DBC was written in Windows Word, and DBPro was made in Paint "


I didn`t knew dbc was better

my posts have been read or opened
times !
Hobgoblin Lord
19
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 27th Jan 2006 11:38
Quote: "I didn`t knew dbc was better "


Although Word has the capability to publish better material than paint that does not mean what was written (in this case DBclassic) would be a superior work mearly a work that "could" contain more. It all goes to the writer (Shaksphere had a quill and parchment, JK Rowlings probabaly has Word..something or other, yet the works are so far apart it is to laugh {so I will, Ha!}) NOI.
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 27th Jan 2006 23:39
Indeed, Paint supports pixel shaders.

Support us! Click! Image! Visit! Site!
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 27th Jan 2006 23:40 Edited at: 27th Jan 2006 23:44
Sorry you need to go download art faktorrey then. It should do it for you and Blankydude oops its Pilchard Gravy.

[Edited for clarity]

Tempest - P2P UDP Multiplayer Plugin - 70%
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 29th Jan 2006 12:52 Edited at: 29th Jan 2006 12:52
Ive written dbp on gameboy

[/center]
!!!
19
Years of Service
User Offline
Joined: 29th Jan 2006
Location:
Posted: 29th Jan 2006 19:37
binary: 1010
decimal: 10
hexidecimal: A

machine code is HEX and binary, but ASM assembles into them.

ever seen a .COM or .BIN file? those are binary files.
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 29th Jan 2006 19:46
Quote: "Ive written dbp on gameboy
"


cool , giv' me , i have gameboy...



(how fun would it be to code 3d stuff on gameboy , huh ?)

Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 30th Jan 2006 03:51
DarkBASIC was programmed in Guppy Basic...It's a paradox...

BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 30th Jan 2006 07:36 Edited at: 30th Jan 2006 07:38
I've got a special letter from them right here to clear everything up.



I'm going to eat you!

Attachments

Login to view attachments
!!!
19
Years of Service
User Offline
Joined: 29th Jan 2006
Location:
Posted: 30th Jan 2006 16:33
lol .
BK9923
19
Years of Service
User Offline
Joined: 31st Jan 2006
Location:
Posted: 31st Jan 2006 21:04
its written in Delphi and visual c++

"C:\Program Files\Dark Basic Software\Dark Basic\extras\YourOwnCommands"
if you look there you can write your own commands, also dark basic uses some C++ coading such as "suspend for key"
it uses dll's loaded by a base compiler, and a variable system that changes commands like "print "" " to "cout << "";" which creates a simple c++ 3d compiler that takes advantage of direct x commands
if someone can prove me wrong thats fine if they can show me evidence i will agree with them, but untill then this is what i think

They're only zombies when jesus come (play madness interactive and you will also see why)
Image All
19
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 7th Feb 2006 15:44
DarkBASIC Professional...version 1.0 Alpha. ()

Attachments

Login to view attachments
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 10th Feb 2006 02:46
My computers teacher made us draw our company logos in MS Word (I'm not kidding. I have the dumbest computers teacher ever )

Why make sense when you could make brownies?
DSG
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Hampshire, England
Posted: 10th Feb 2006 17:59 Edited at: 10th Feb 2006 18:00
@BK9923

The Delphi stuff in the extras folder is just there to provide a template for developers wishing to write DLLs for DBC using Delphi.

Why a folder for Delphi? Well, Guy Savoie, the mind behind DarkEDIT and the official DBPro IDE wrote his programs in Delphi. Guy worked closely with the guys at TGC (then called DarkBASIC Software Ltd) and as such a lot of his stuff made it into their official software distributions.

As one of the original DB classic beta testers, I can assure you that DBC was written entirely in C++.

Danny Gregory
BSc Computer Science - UG
University of Southampton
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 11th Feb 2006 15:08
Quote: "It was written in DarkBasic Professional "

very witty

I am a Christian and I know that God loves me. That is what makes my life so great!
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 11th Feb 2006 17:27
Well i forget where I heard this from but I thought that dark basic's IDE was written in delphi, and the rest was written in c++ dx 8.1


Check out Penguin in the Projects Section!!!
http://www.prodigyarts.5gigs.com
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 16th Feb 2006 05:21
Quote: "DarkBASIC Professional...version 1.0 Alpha. ( )"


Good one.

BK9923
Even though the awesomely cool DSG has informed us of the sad truth (not Delphi), that's what they did for the actual exe and the bytecodes.
...
Yay!


I'm going to eat you!
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 20th Feb 2006 02:45
No, DB Pro was made in an exe.



--------------
Uncle Sam
Mr Scarab
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location: Kent, UK
Posted: 22nd Feb 2006 23:39
There are 10 types of people in the world.
Those that understand binary, and those that don't!!!!!!!!!!

Translation: Feng=more money, Shui=than sense.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 23rd Feb 2006 00:25
:-P And I have heard that about 20 times already(not in binary)

Login to post a reply

Server time is: 2025-05-23 15:12:58
Your offset time is: 2025-05-23 15:12:58