Plasma
|
 |
« Reply #45 on: October 31, 2004, 01:16:56 AM » |
|
Nice.
|
|
|
Logged
|
|
|
|
marzecTM
|
 |
« Reply #46 on: October 31, 2004, 04:01:16 AM » |
|
and here an example with sdl and gl, in order to get rid of this crappy glut lib http://ratatoskr.bad-logic.com/temp/sdltest.rarmy code is crappy, it's 7:58 over here and i did that shit at 4:00am so... don't blame me. i already translated sdl.h, sdl_keyboard.h sdl_mouse.h and sdl_video.h, i guess based on that we could do some sort of wrapper to emulate the old qb commands like screen line etc. i will continuing porting as v1c gets beyond that 2000 symbols barrier. btw, the code is so ugly to a) show that fb can not only handle clean code b) better notice bugs that only show up when the code is badly written hehe....
|
|
|
Logged
|
quote="NecrosIhsan"]  [/quote]
|
|
|
|
barok
|
 |
« Reply #48 on: October 31, 2004, 11:12:03 AM » |
|
...that's done with freebasic? Wow... that's so awesome... it's actually fast... and is that a high resolution i see?
|
|
|
Logged
|
Jumping Jahoolipers!
|
|
|
Blitz
|
 |
« Reply #49 on: October 31, 2004, 11:15:24 AM » |
|
Yepp, it's done with freebasic. It uses opengl of course. But that's the thing, you can link any win32 lib that you use in C to freebasic. It's as functional as any other real compiler, not just a toy. Notice how the opengl and win gui example uses callbacks. Never seen that in basic before  Can you tell it's not qb code? I can't, except for cdecl and codeptr
|
|
|
Logged
|
oship me and i will give you lots of guurrls and beeea
|
|
|
barok
|
 |
« Reply #50 on: October 31, 2004, 11:22:51 AM » |
|
one last question: will traditional libraries be compatible with fb? (cosmox, rellib, gslib, etc. etc.)
|
|
|
Logged
|
Jumping Jahoolipers!
|
|
|
Blitz
|
 |
« Reply #51 on: October 31, 2004, 11:23:37 AM » |
|
Nope, becuase they're written for real mode dos and not windows.
|
|
|
Logged
|
oship me and i will give you lots of guurrls and beeea
|
|
|
barok
|
 |
« Reply #52 on: October 31, 2004, 11:26:56 AM » |
|
I thought so. Oh well... but then again, the ability to use any C library makes up for it though.
|
|
|
Logged
|
Jumping Jahoolipers!
|
|
|
adosorken
|
 |
« Reply #53 on: October 31, 2004, 11:29:11 AM » |
|
It's 1024x768 in 16 bit color according to the sourcecode. Very impressive for...let's face it...BASIC.  Now let's see who the first person will be to run with this and make a game, eh?  Hey victor and Blitz...is the syntax finalized? If so, I'll start developing with this thing right away.  EDIT: By the way guys...masm32 is free...it's what I was using for OBDS. http://www.masm32.com/ Microsoft doesn't develop this though. 
|
|
|
Logged
|
I'd knock on wood, but my desk is particle board.
|
|
|
Blitz
|
 |
« Reply #54 on: October 31, 2004, 12:22:38 PM » |
|
Just to make things clear, this is v1ctors project. I just beta testa and stuff.
Anyways, as far as i know. There are still lots of bugs to be sorted out. As it's just 2 months old and compilers are complex. Also, the symbol table can't handle more then 2000 symbols at the moment since the compiler is still in vbdos. And just gl.bi is over 800 symbols. But once it has compiled itself this limitation will be gone. If you want to help out with testing and stuff, ask v1ctor.
|
|
|
Logged
|
oship me and i will give you lots of guurrls and beeea
|
|
|
Jofers
|
 |
« Reply #55 on: October 31, 2004, 01:03:43 PM » |
|
Hmm... I don't think I could be much help in testing. But I can document it, and I can make a nice website. I figures if you make a documentation in a nice xml format, it wouldn't be difficult to get a nice thorough online reference like php or perldoc. But I suppose that should wait for the release, and the completion of the base library.
|
|
|
Logged
|
|
|
|
VonGodric
|
 |
« Reply #56 on: October 31, 2004, 03:50:55 PM » |
|
Hello again, if you guys need a beta tester then I'm ready :wink:
|
|
|
Logged
|
url]http://fbide.sourceforge.net/[/url]
|
|
|
Sterling Christensen
|
 |
« Reply #57 on: October 31, 2004, 04:31:29 PM » |
|
i guess based on that we could do some sort of wrapper to emulate the old qb commands like screen line etc. That's what I've just started working on in C, I aim to support equivalents to stuff like DRAW, VIEW, WINDOW, and LINE STEP(x1, y1)-STEP(w, h) etc. But for DRAW, I'll need to know what kind of string format freebasic uses.
|
|
|
Logged
|
|
|
|
ToohTooh
|
 |
« Reply #58 on: November 01, 2004, 07:30:22 AM » |
|
Hello, v3cz0r...In http://forum.qbasicnews.com/viewtopic.php?p=81269#81269, wildcard referenced you as Victor. When even this was enough for me to recall your name, I went on to read and accessed your page: The name v1ctor and DOT com DOT br... Oh, oldies... Weren't you the one who came up with pointers to functions, and a lot of cool stuff?.. They still survive somewhere in www.qb45.com, I suppose. I bow to your QB passion, and experience...
|
|
|
Logged
|
Don't interrupt me while I'm interrupting." - Winston S. Churchill
|
|
|
adosorken
|
 |
« Reply #59 on: November 01, 2004, 07:38:37 AM » |
|
If VBDOS can only handle 2000 symbols, then why not just move on to a more modern version of VB for the thing? If you need a decent frontend, let me know...I don't know if it will be possible to finish OBDS, so if you'd like, I can retrofit its editor so you can have a good frontend for your compiler.  VBDOS....well, sucks.
|
|
|
Logged
|
I'd knock on wood, but my desk is particle board.
|
|
|
|