freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: General (http://qbasicnews.com/newforum/forum-6.html) +--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html) +--- Thread: freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. (/thread-4948.html) |
freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Blitz - 10-30-2004 Why use poke when you have real pointers? FB already has real pointers, C style. I don't think v1ctor will ever release a FB for dos. But since it's open source anyone can do that. It's just a matter of coding a runtime lib for dos. Shouldn't be anymore to it i think. freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Blitz - 10-30-2004 Linked list example with pointers Code: defint a-z freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - adosorken - 10-30-2004 With Windows XP now being the dominant OS and having mediocre-at-best support for DOS, I think the smart thing to do would be to abandon the old DOS-based QB and take up something like this instead. If its syntactic compatability is 100% on-par with QB, then there's no need to suffer with DOS anymore. If it were 5 years ago, I'd say great, do a DOS version as well, but as Microsoft is seeking to suffocate all DOS users, it's wiser to adapt to the changing times. I was hoping to have OBDS out by this time of the year, but oh well. :-? freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - barok - 10-30-2004 Like Adosorken said: If you can't beat'em, join'em. All i want is it to be 100% compatible with qb syntax. If that's done i'll be very happy. freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Blitz - 10-31-2004 Another freebasic example, this time a simple opengl application. For anyone who might be interested. http://freebasic.bad-logic.com/downloads/gltest.zip Code: '' freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Plasma - 10-31-2004 Nice. freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - marzecTM - 10-31-2004 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.rar my 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.... freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - VonGodric - 10-31-2004 That's really nice. To those who need sdl.dll: for win32: http://www.libsdl.org/release/SDL-1.2.7-win32.zip freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - barok - 10-31-2004 ...that's done with freebasic? Wow... that's so awesome... it's actually fast... and is that a high resolution i see? freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - Blitz - 10-31-2004 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 |