PDA

View Full Version : quickbasic VNC client


Mike Chambers
October 13th, 2006, 01:43 AM
check this out... i spent about 6 hours or so tonight working on this program just for kicks, but it's starting to look ok and i think i'll release it really soon. :)

i need to add VESA support, because the best QB can do is 320x200 256-color but here's what it looks like running so far (mouse and keyboard input work on it, too)

http://rubbermallet.org/qbvnc.jpg

thats it running on the pentium 133 i wrote it on. :p
it's already fairly fast on that CPU, and i am trying to write ASM routines right now for faster screen writes. so it should be alright to run (i hope) on a 486 or even a 386.

100% quickbasic :biggrin:

it only supports the "raw" encoding as of know, but all servers support that.

Sharkonwheels
October 13th, 2006, 03:27 AM
Mike, you're having an absolute blast, aren't you?

Man, that's what it's all about.....


Tony

chuckcmagee
October 13th, 2006, 04:13 AM
That is impressive. Sadly, I had to go remind myself of what VNC meant. Ya,ya, remote control software like the stuff that comes with XP or my OLD friend, PCAnywhere. My old NON-friend, I would have to call from 300 miles away on weekends to make sure the server was still running, and the email portals were working. PITA.

Mike Chambers
October 13th, 2006, 11:03 AM
Mike, you're having an absolute blast, aren't you?

Man, that's what it's all about.....


Tony

lol yes i definately am

Mike Chambers
October 13th, 2006, 11:04 AM
That is impressive. Sadly, I had to go remind myself of what VNC meant. Ya,ya, remote control software like the stuff that comes with XP or my OLD friend, PCAnywhere. My old NON-friend, I would have to call from 300 miles away on weekends to make sure the server was still running, and the email portals were working. PITA.

i dont think i've ever heard of those... well i've heard of PC anywhere... but not PITA.

VNC > all :)

here's a new shot of it under VMware running in 640x480 mode instead of 320x200.... QB's 640x480 is limited to 16-colors so it looks crappy, but it works.

http://rubbermallet.org/qbvnc1.png

Sharkonwheels
October 13th, 2006, 11:16 AM
PITA was an ending comment.

Pain In The @ss.

:shock:


Tony

Mike Chambers
October 13th, 2006, 11:21 AM
PITA was an ending comment.

Pain In The @ss.

:shock:


Tony

::smacks head::

::smacks head again::

i knew that. :huh:

chuckcmagee
October 13th, 2006, 11:46 AM
Is that VMware 4.5 or something else?

Mike Chambers
October 13th, 2006, 11:58 AM
Is that VMware 4.5 or something else?

its version 5.5... i think i'm still using the latest version.

chuckcmagee
October 13th, 2006, 12:01 PM
Yes 5.5 is latest and greatest. I got real good deal on a 4.5, I'll upgrade for 99 smackers later.

Mike Chambers
October 13th, 2006, 12:14 PM
Yes 5.5 is latest and greatest. I got real good deal on a 4.5, I'll upgrade for 99 smackers later.

that's so wrong how companies can charge you money for upgrades when you've already paid full price once... especially when it costs as much as VMware. i could see like $10 or $15... but come on, $100? wow...

chuckcmagee
October 13th, 2006, 12:19 PM
Well, I DIDN'T pay full price. Got 4.5 for $45, which is not even close to full price.

Mike Chambers
October 13th, 2006, 01:01 PM
i figure it's done enough for people to try if they want...

so here is a super-mega-alpha pre-release compile i just zipped up with instructions :p

give it a shot... and it only works under real DOS. no windows command prompt support.

mbbrutman
October 13th, 2006, 04:34 PM
Impressive!

I got it to work on my 386-40. The speed is glacial, but you'll work on that.

Where did you find the description of the vnc protocol? If you give me source, I'll tell you how to speed it up.

Mike Chambers
October 13th, 2006, 04:56 PM
Impressive!

I got it to work on my 386-40. The speed is glacial, but you'll work on that.

Where did you find the description of the vnc protocol? If you give me source, I'll tell you how to speed it up.

awesome lol

yeah it should be ridiculous on a 386. on my pentium 133 in 320x200 mode it draws a whole screen in about half a second, maybe a bit less. 640x480 is just horrendous though, since i'm not using direct writes and QB has to split up the bytes all the time due to it being a 4-bit color mode. :(

and sure, i'll PM you the source. i don't really want it public yet. it's ugly right now... lots of commented out code, etc. i'll clean it up. i know theres some badly written slow parts.

beer+coding=bad

i also need to add some DES encryption routines so it'll work with password protected servers.

and yes, i used a protocol doc for it. here it is in PDF, this is what i printed out to use. http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/rfbproto.pdf

Mike Chambers
October 14th, 2006, 01:14 PM
the code was looking ugly, and i started getting lock ups... so i canned the whole thing and i've started rewriting it from scratch. this time with a nice options/connection menu screen! :D

http://rubbermallet.org/newqbvnc.png

i won't even have to write ASM routines for screen writes like i said before. when you use RRE or CoRRE encoding, it is *F*A*S*T*!!!! the screen draws were nearly instant even on my 386 DX/40.

Mike Chambers
October 16th, 2006, 09:41 AM
man the new client is looking GOOD, imho :)

i haven't been writing this one drunk like i did the last one lol.