Posted: 25th Sep 2003 4:50
wow! So basicly You are creating a new graphics library ??? omg, you ara amazing. You could make a fine language.
Posted: 25th Sep 2003 6:37
yeah ... ill maybe make a 'DarkbasicLike' ... much basic.. but
Posted: 26th Sep 2003 1:17
You get my e-mail???
Posted: 26th Sep 2003 3:48
yeah i answered you
Posted: 26th Sep 2003 6:02
responded back
Posted: 27th Sep 2003 2:10
responded back too
Posted: 27th Sep 2003 16:46
I must be dog stupid (blonde) but how does this program work? Does it turn another program in to db?
Posted: 27th Sep 2003 20:08
in fact yes

try this one:
+ Code Snippet
input "Source File Name=",Source$
open to read 1,Source$
open to write 2,"Rebuild.dba"

write string 2,"open to write 1,"FINAL.TXT""
write string 2,"Read Byte1"
write string 2,"while Byte1<>999"
write string 2,"  write byte 1,Byte1"
write string 2,"  read Byte1"
write string 2,"endwhile"
write string 2,"close file 1"
write string 2," "
write string 2," "
write string 2," "
write byte 2,asc("D")
write byte 2,asc("a")
write byte 2,asc("t")
write byte 2,asc("a")
write byte 2,asc(" ")

nb=0
for i=1 to file size(Source$)
   nb=nb+1

   read byte 1,Byte
   FirstCar=int(Byte/100)
   SecondCar=int((Byte-(int(Byte/100)*100))/10)
   ThirdCar=int(Byte-(int((Byte-(int(Byte/100)*100))/10)*10))-(int(Byte/100)*100)
   FirstCar=asc(str$(FirstCar))
   SecondCar=asc(str$(SecondCar))
   ThirdCar=asc(str$(ThirdCar))
   if (firstCar<>48)
      Write Byte 2,FirstCar
      Write Byte 2,SecondCar
      Write Byte 2,ThirdCar
      if nb<>30 then Write Byte 2,asc(",")
   else
      if (firstCar=48) and (SecondCar<>48)
         Write Byte 2,SecondCar
         Write Byte 2,ThirdCar
         if nb<>30 then Write Byte 2,asc(",")
      else
         if (firstCar=48) and (SecondCar=48)
            Write Byte 2,ThirdCar
            if nb<>30 then Write Byte 2,asc(",")
         endif
      endif
   endif

   if nb=30
      write byte 2,13
      write byte 2,10
      write byte 2,asc("D")
      write byte 2,asc("a")
      write byte 2,asc("t")
      write byte 2,asc("a")
      write byte 2,asc(" ")
      nb=0
   endif

next i
write byte 2,asc("9")
write byte 2,asc("9")
write byte 2,asc("9")
close file 1
close file 2


....it take any file... (not too big file..) and it will make you a .dba who will construct the SAME file...

an example of.... program it can make :
+ Code Snippet
open to write 1,"face.zip"
Read Byte1
while Byte1<>999
  write byte 1,Byte1
  read Byte1
endwhile
close file 1



Data 80,75,3,4,20,0,0,0,8,0,144,102,19,47,225,173,214,204,147,1,0,0,64,29,1,0,8,0,0,0
Data 68,82,65,87,46,69,88,69,237,210,63,107,83,81,24,192,225,55,49,183,221,122,5,119,201,212,15,160,56,42
Data 5,33,33,160,67,145,26,210,16,69,237,32,184,169,80,23,7,201,162,70,226,87,176,4,58,23,205,144,46,105
Data 33,208,186,56,184,249,17,2,78,138,224,159,229,122,46,41,10,14,238,202,243,28,206,253,157,220,115,224,38,228
Data 94,221,92,171,188,140,74,212,211,44,138,113,158,22,201,110,126,54,93,43,105,236,230,193,127,45,207,203,191,120
Data 49,79,198,226,78,190,88,229,241,107,63,63,121,25,182,226,109,60,74,51,139,205,248,145,94,146,219,241,38,206
Data 165,110,69,45,150,211,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Data 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Data 0,0,0,0,0,0,0,0,248,139,73,196,240,195,240,112,28,123,103,222,157,158,223,141,253,229,152,94,136,131
Data 203,209,42,178,39,23,199,113,191,118,156,69,12,106,163,78,12,178,81,55,214,175,183,167,17,59,235,49,218,136
Data 157,107,49,106,199,252,74,220,188,209,233,31,85,251,199,213,254,247,216,62,154,103,49,175,198,199,215,211,94,156
Data 47,38,241,106,120,184,31,143,91,131,218,234,179,172,209,104,54,203,51,159,102,47,210,67,15,122,81,238,164,175
Data 144,182,22,27,159,103,147,181,202,215,213,110,156,90,234,68,214,139,193,183,193,202,70,60,175,61,205,26,205,86
Data 121,224,75,249,185,88,234,198,159,231,138,149,118,244,47,181,35,182,223,207,102,191,127,223,131,135,183,238,220,171
Data 215,235,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,250,239,246,39,80,75,1,2,20,11,20,0,0
Data 0,8,0,144,102,19,47,225,173,214,204,147,1,0,0,64,29,1,0,8,0,0,0,0,0,0,0,0,0,32
Data 0,0,0,0,0,0,0,68,82,65,87,46,69,88,69,80,75,5,6,0,0,0,0,1,0,1,0,54,0,0
Data 0,185,1,0,0,0,0,999


this one was an Assembly program that i did.....
Posted: 17th Oct 2003 5:44
Yuck get out of the 16-bit world man! There's a whole new instruction set for the 32-bit architecture.
Posted: 17th Oct 2003 5:48
In fact, this only works for DOS. Try doing this as a Windows Executable, you'll find a nice surprise. It's a lot more complicated in Windows; therefore, you should use Direct X. That's the purpose of applications like this--is to remove that layer of complexity. This was wrapped around Direct X. Direct X is wrapped around assembly/C++/machine language--YUCK.
Posted: 26th Oct 2003 8:35
actually knowing ASM is an invaluable programming skill.
although Pascal/Fortran/C might offer you a higher level to a language, they don't always have what you require. Nor do they give you 100% access to your systems resources without having to rely on other people code.

ASM unlike the Higher level languages isn't limited to individal processor types or binary types or language setup structures.
Infact is it possible one of the most open-ended and powerful language there is. Allowing any user total access to no matter what system they are utilising.

As for making your own Graphics APi, very ambitious but I do have faith that you can get something good working.
Be sure to checkout Quake and Quake2's source, they might be in C but they have particularly good Software Rendering engines. But no means fast by todays standards, but still fairly good to see how it was done a few years back.
MGL or MesaGL is another good opensource system ... what you want to do is focus on making the API with drivers to particular cards, and making the generics for them. nvidia and its community are oftenly nice to help out people with such things, ati you might hit a few brick walls but there is alot of info about thier cards.

(^_^) good luck mate
Posted: 31st Oct 2003 23:03
Data 224,97,201,48,40,136,130,40,24,130,87,241,208,67,188,180,179,4,182,150,80,112,111,169,94,212,131,172,228,80


...and i was sure that would be a red haired girl