• Please review our updated Terms and Rules here

quickbasic VNC client

Mike Chambers

Veteran Member
Joined
Sep 2, 2006
Messages
2,621
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)

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.
 
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.
 
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.

qbvnc1.png
 
Yes 5.5 is latest and greatest. I got real good deal on a 4.5, I'll upgrade for 99 smackers later.
 
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...
 
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.
 

Attachments

  • qbvnc.zip
    69.4 KB · Views: 1
Last edited:
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.
 
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
 
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

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.
 
Last edited:
man the new client is looking GOOD, imho :)

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