Qbasicnews.com

QBasic => QB Discussion & Programming Help => Topic started by: NovaProgramming on February 20, 2003, 02:57:24 PM



Title: A neato project Idea (can it be done?!)
Post by: NovaProgramming on February 20, 2003, 02:57:24 PM
Hey guys, I don't think that this is possible, but if it is I would appreciate some help with it.  I was just wondering if it was possible to create sort of an on-line qbasic thingy.... You know, that you could go onto the site and program a qbasic program without having qbasic on your system!?

I m always willing to show off the the many people who find it 'fascinating' that I can program my own games, but now all the time you can't even find CPROMPT on any XP comps hardly anymore, and even if you can QBASIC no longer comes standard with it...

So, if anyone knows if it is even remotely possible to do this, you could respond to this forum or EMAIL ME
Nova@edgeemu.com
It might be awhile before I have the oppurtunity to get back to you but if the chance arrises I would be glad to take it.  Thank you much.

-Nova


Title: A neato project Idea (can it be done?!)
Post by: na_th_an on February 20, 2003, 03:42:08 PM
Wasn't this post already in the projects section ? :D:D:D:D:D:D

My two pence: This is possible, but extremely hard. You'll have to set up a dedicated server under Windows 2000 or XP (which is like a suicide) with a extremely hard to beat firewall and some dedicated apps to manage connections...

Too hard for me to even think about the possibilities :)


Title: A neato project Idea (can it be done?!)
Post by: Agamemnus on February 20, 2003, 03:52:47 PM
Actually it is QUITE easy.

All you need is an extra computer, an internet connection, and VNC. VNC allows you to both see and edit what is on the screen of the other computer. It is a Java program. You can actually make programs with it on another computer!

You need to know that computer's IP to access it, and a password that you make.



Jsimpson has a project thread in qb45.com about it.


Title: A neato project Idea (can it be done?!)
Post by: na_th_an on February 20, 2003, 08:11:38 PM
But you need a fast server. Imagine your computer being attacked by 100 people from all over the work using a DOS program (QB) to compile... If one of them make the computer crash, goodbye server.

Is not that easy.


Title: A neato project Idea (can it be done?!)
Post by: Agamemnus on February 20, 2003, 11:21:25 PM
well you can get *small* groups to work together.

Otherwise you can code various backup programs.....


Title: A neato project Idea (can it be done?!)
Post by: westie on February 21, 2003, 08:35:11 AM
a password to access the server? a block to stop overcrowding?

it would be good if you could go on it and work on the same file at the same time with another person


Title: A neato project Idea (can it be done?!)
Post by: na_th_an on February 21, 2003, 09:07:33 AM
You've lost the point. The real problem is that it is a MSDOS program. QB crashes -> the whole server crashes. If you think it is possible, go for it. But I don't think it is.


Title: A neato project Idea (can it be done?!)
Post by: Agamemnus on February 21, 2003, 10:34:28 AM
It's still fine if you know what you're doing.

I haven't crashed QB/DOs in 10 years of QB programming.

eDIT: I mean QB AND DOS AND WINDOWS HEHEHE!!!


Title: A neato project Idea (can it be done?!)
Post by: na_th_an on February 21, 2003, 12:33:26 PM
QB crashes if you use Sound Blaster stuff, memory access, memcopy routines, and huge projects with 200K+ EXE sizes. Maybe you are the best coder in the world having QB not crashing in 10 years, but building such a server assumes that someone could log in and use it, not being such a good coder as you are. Anyway, if you know how to do it, do it.

Now try to run 15 QBs in your computer in 15 DOS boxes. Run a different game in each one. And tell me what happens. Can you handle each different game accessing to Sound Blaster? Can you handle all the keyboard stuff? How many RAM will they eat?

Also, how fast should be an internet connection to transfer pictures and sound in REAL TIME to the end-user PC... And at 30 fps or something like that to make games playable, and that for each one of the 15 users.

The average QB game needs a PII-400 to work at full speed. Imagine 15 QB games at the same time.

Maybe you didn't read the project completely. It is impossible, at least you do a dummy server which run text console programs which input and output text.

In my college we have a BIG computer with 4 RISC processors at 600Mhz each one, running SUN OS (Unix) and connected to the outside with a 9Mbps+ optic fiber connection. I live at 200 metres from school, and when I connect to my account in that computer thru' telnet the connection is laggy. And I am talking about console input/output in a small window... Imagine a complete featured DOS program wiht sound and hi-res graphics......

IT IS IMPOSSIBLE MAN -- I-M-P-O-S-S-I-B-L-E


Title: A neato project Idea (can it be done?!)
Post by: Agamemnus on February 21, 2003, 12:48:20 PM
Well... to actually show the code, it IS possible!!! Say 4 people max.. He probably just needs only one other person. If there was just ONE screen and everyone was looking at it...

    Say a 320x200x256 resolution. it wouldn't take that much processing to send it out. It's like a GIF.. otherwise a JPG.

I played with jsimpson's server... went fine. I wrestled for the cursor with him for a bit. [shared cursor]

:)

I have DSL so I'm not sure what 56K looks like. But the image is not bad if compressed to JPG.

 :bounce:

---------------------------------
  About the UNIX Server
---------------------------------

Yeah, my university handles everything through a bunch of UNIX computers that can be all accessed through the internet or the monitors connected to them. But they are rather slow, partly due to the fact that there aren't enough computers/processing power.

So what you need is more power. :)


Title: A neato project Idea (can it be done?!)
Post by: NovaProgramming on February 21, 2003, 02:59:35 PM
WOW guys jeez I didn't think that it would trigger such a response so fast.  However, that one idea about having an extra computer with the java program might work because the purpose that I was trying to achieve (initially) is that I can access the qbasic screen to be able to program at any time I want.  Thanks for your input but i got to go so bye!

-Nova


Title: A neato project Idea (can it be done?!)
Post by: TheBigBasicQ on September 15, 2003, 10:20:34 AM
Why so many negative responses? I think it is very well possible it will involve rewriting the whole QB compiler from scratch in Java. And add it to the user's machine as a plugin. But I think the user who is intrested in QB would rather download VMWare or setup a separate DOS partition.( Am i too sounding a bit -ve ? )  :roll:


Title: A neato project Idea (can it be done?!)
Post by: oracle on September 15, 2003, 07:21:10 PM
Would it be feasable to set up a linux server using DOSEMU?

Though I don't know why you'd want to have 15 people programming entirely online. You'd use it as a sort of "CVS" (unix people know what I'm talking about), and then you'd have chat running with some other guy and you could both look at the program in real time, and then you'd edit the program online if there were any bugs.

I wouldn't program online because I "could", and many other people would feel the same way. But I think that a "CVS" program for QBasic would be really good.


Title: A neato project Idea (can it be done?!)
Post by: TheBigBasicQ on September 16, 2003, 07:40:31 AM
Quote from: "oracle"
Would it be feasable to set up a linux server using DOSEMU?

Though I don't know why you'd want to have 15 people programming entirely online. You'd use it as a sort of "CVS" (unix people know what I'm talking about), and then you'd have chat running with some other guy and you could both look at the program in real time, and then you'd edit the program online if there were any bugs.

I wouldn't program online because I "could", and many other people would feel the same way. But I think that a "CVS" program for QBasic would be really good.


Really speaking most people still have dial ups so I dont think it would be too popular. And you will require a really fast server to pull this off if u decide to.  :king:


Title: A neato project Idea (can it be done?!)
Post by: red_Marvin on September 16, 2003, 09:34:57 AM
QB VM in java? hard=yes but I think it's possible technically


Title: A neato project Idea (can it be done?!)
Post by: relsoft on September 17, 2003, 05:07:51 AM
Quote from: "red_Marvin"
QB VM in java? hard=yes but I think it's possible technically


uhhhh... Toshi is making one. ;*)