Qbasicnews.com
July 18, 2019, 08:47:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: _which Basic produces smallest executables?  (Read 3193 times)
_Mensliber_
Member
*
Posts: 32


« on: August 16, 2004, 07:46:59 AM »

i mean just to make two or three SHELLs or PRINTs, etc
__QBtinny, i did dislike it and i can't buy the PDQ
__MicroBasic doesn't even have the minimum commands like QBasic
__TurboBasic, believe it or not, produces bigger executables than QB4.5
__Fbsl "free Basic scripting language", it's for 32bits, the tinny executables need a Dll, i want them Independent, normal executables are double size than the QBX

does anybody know about another Basic compiler for this purpose?
(i can stomach if the executables are only for 32bits)
_______////__
_____0(o_o)0
___ooO_(_)_Ooo___
Logged
Sterling Christensen
Na_th_an
*****
Posts: 1328


« Reply #1 on: August 16, 2004, 12:25:49 PM »

For jobs like that, assembler is best. A dos batch file might work better and be smaller than a qb program too, if all you need are things like PRINT and SHELL. If you want to use a basic, PowerBasic can produce pretty small executables.

Here's a DOS batch file tutorial I found with google.

These assemblers all have lots of tutorials, docs, and people that can help you learn them:

Flat Assembler: syntax is a lot like Netwide, but its documentation is easier, simpler, and more to the point. Has a PhpBB forum like qbasicnews with some helpful knowledgable people.

Netwide Assembler: This one is much more popular than Flat Assembler, may be more reliable, and has much more detailed, but harder to navigate, documentation. No official forum except the lousy one provided by sourceforge. You'll find some good tutorials in the links section.

Masm32: A distribution of Microsoft's assembler along with additional tools meant for Windows programming, but masm can still be used for dos 16 or 32 bit. There are lots of sites with tutorials and forums where you can find help with this one.
Logged
na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #2 on: August 16, 2004, 08:10:39 PM »

Try moonrock. Hello world = 216 bytes Smiley
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
_Mensliber_
Member
*
Posts: 32


« Reply #3 on: August 17, 2004, 03:03:37 AM »

i did already download the Moonrock i'll try with it, i can't understand assemblers and i have no any money for these days
__thanks to both__
Logged
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #4 on: August 17, 2004, 03:09:03 AM »

Have you tried EXE packers?
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
_Mensliber_
Member
*
Posts: 32


« Reply #5 on: August 17, 2004, 03:14:39 AM »

no, i do not know Exe packers, if they are for compacting Exes and you can run them like a normal Exe, i really would like to know them
Logged
Sterling Christensen
Na_th_an
*****
Posts: 1328


« Reply #6 on: August 17, 2004, 02:54:40 PM »

Here's a free one that has a forum: UPX

And there are a few more on this page, but a lot of them only work on Windows executables. UPX works with DOS, Windows, and Linux executables.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!