Menu

Tree [b84aab] master 0_11_5 / documentation /
 History

HTTPS access


File Date Author Commit
 HOWTO 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 drafts 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 style 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 tutorial 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 Doxyfile 2012-05-07 Chris Warren-Smith Chris Warren-Smith [13cfe6] Cleanup obsolete modules; see SVN repo in sourc...
 FAQ-DEVELOP.TXT 2012-05-07 Chris Warren-Smith Chris Warren-Smith [13cfe6] Cleanup obsolete modules; see SVN repo in sourc...
 LICENSE 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 Makefile 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.BCC 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.DEV 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.DOS 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.HELIO 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.PALM 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 README.UNIX 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 bas2pdb.1 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 cutof-guide-palm.conf 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 cutof-guide-wt.conf 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 cutof-guide.conf 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 cutof.cxx 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 doxymain.txt 2012-05-07 Chris Warren-Smith Chris Warren-Smith [13cfe6] Cleanup obsolete modules; see SVN repo in sourc...
 export_csv.bas 2008-04-25 chrisws chrisws [9251f7] fixup filename
 guide.c 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 guide.texi 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 import_csv.bas 2008-05-26 chrisws chrisws [9fea74] import the reference guide from the database
 mkpdb.1 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 mkref.bas 2012-10-03 Chris Warren-Smith Chris Warren-Smith [e69ae6] DOCS added mkref.bas to generate help text from...
 pdb2bas.1 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 sbasic_ref.csv 2011-04-14 chrisws chrisws [50d005] removed the non-functional PEEK and BCOPY commands
 t2h.init 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 texi2html 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 texi2html.bas 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 texi2man.gema 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn
 txt2c.cxx 2008-03-15 chrisws chrisws [25dbe0] clean up following move from cvs to svn

Read Me

SmallBASIC
http://smallbasic.sourceforge.net

README.DEV  --- Information for developers
README.PALM --- Notes for PalmOS 
README.UNIX --- Notes for Unices
README.W32  --- Notes for Win32
LICENSE     --- GNU GENERAL PUBLIC LICENSE

-----------------------------------------------------------------------
Unix version requirements
-----------------------------------------------------------------------

    gcc 2.x.x

    Graphics:
    ---------
    kernel 2.4.x framebuffer device              (/dev/fb0 must exists)
    OR
	SVGALib 1.9.6                                 (www.svgalib.org)
    OR
	SDL library (SDL works under X or framebuffer) (www.libsdl.org)

    Sound:
    ------
    OSS compatible card/driver                  (/dev/dsp must exists)

    Mice:
    -----
    Mouse is supported on SDL and SVGALIB drivers

-----------------------------------------------------------------------
PalmOS version requirements
-----------------------------------------------------------------------

    pilrc version 2.7+

    MathLib.prc version 1.1+

    A Palm with PalmOS 3.1 or newer
    Recommended: PalmOS 3.3 with 4MB RAM

For developers:
    prc-tools version 2.0.90-1 (GNU)

    PalmOS v3.5 SDK  

-----------------------------------------------------------------------
DOS version requirements
-----------------------------------------------------------------------

	MSDOS 5.0+ with DJGPP memory manager (www.delorie.com)

For developers:
	Linux PC, with msdos-djgpp cross compiler

-----------------------------------------------------------------------
Win32 version requirements
-----------------------------------------------------------------------

	Windows 9x/ME or NT

	Sound Card

For developers:
	GUI version: Borland C++ Builder 6+
	console version: Linux PC, with mingw32 cross compiler

-----------------------------------------------------------------------
Easy installation for Unix: Default configuration
-----------------------------------------------------------------------

    Driver: framebuffer (graphics), OSS sound, no-mouse 

    Go to sync/ directory and type the following commands

    make fb
    make install

-----------------------------------------------------------------------
Easy installation for Unix: Other configurations
-----------------------------------------------------------------------

    -----------------------------------------------------------------
    svgalib (graphics), OSS sound, svgalib's mouse
    -----------------------------------------------------------------

    make svga
    make install
    ln -svf /usr/local/bin/svgasbasic /usr/local/bin/sbasic

    -----------------------------------------------------------------
    SDL (graphics), SDL sound, SDL's mouse
    -----------------------------------------------------------------

    make sdl
    make install
    ln -svf /usr/local/bin/sdlsbasic /usr/local/bin/sbasic

    -----------------------------------------------------------------
    * Not suggested * : X (graphics), OSS sound, X's mouse
    -----------------------------------------------------------------

    make x
    make install
    ln -svf /usr/local/bin/xsbasic /usr/local/bin/sbasic

    -----------------------------------------------------------------
    * Not suggested * : X (graphics), OSS sound, X's mouse
    -----------------------------------------------------------------

    make xf
    make install
    ln -svf /usr/local/bin/xsbasic /usr/local/bin/sbasic

    -----------------------------------------------------------------
    * Not suggested * : OFBIS (graphics), OSS sound, OFBIS mouse
    -----------------------------------------------------------------

    make ofb
    make install
    ln -svf /usr/local/bin/ofbsbasic /usr/local/bin/sbasic

-----------------------------------------------------------------------
Compilation for PalmOS
-----------------------------------------------------------------------

* SmallBASIC for PalmOS

    make palm

* Install SmallBASIC to Palm

    make send

    Note: pilot-link required

-----------------------------------------------------------------------
Utilities
-----------------------------------------------------------------------

Unix:
    u2d              --- convert unix text files (like the sources) to
			 win/dos
    d2u              --- convert dos text files to unix
    mksmall          --- convert all filenames to lowercase

    Unix & PalmOS:
    bas2pdb          --- convert .bas text files to .pdb
    pdb2bas          --- convert .pdb files to .bas text
    mkpdb            --- creates a pdb from BINs

Win32:
    u2d              --- convert unix text files (like the sources) to
			 win/dos
    d2u              --- convert dos text files to unix
    mksmall          --- convert all filenames to lowercase
    win32/sb         --- under development (SB/PalmOS EMU IDE)

    Win32 & PalmOS:
    bas2pdb          --- convert .bas text files to .pdb
    pdb2bas          --- convert .pdb files to .bas text
    win32/bas2pdb    --- GUI convertor (PDB to BAS and BAS to PDB)

PalmOS:
    palm/            --- a few fonts


-----------------------------------------------------------------------
Notes:
-----------------------------------------------------------------------

About Manual:
------------

a) The original manual is the doc/ref.txt (source-code version)

b) There is a copy of the manual inside the code.
Try sbasic -h for more information (PC)
Or the help-menu (PalmOS)

c) Almost, the same text is on the SmallBASIC's site (which it is 
converted to html)


About Speed:
------------

The drivers dev_xf, dev_w32, dev_w32f, dev_ndcfb, dev_dos
are using double-buffer technique. 

This technique updates the video RAM every 50ms (20fps); that means its
needs fast machines or small video resolutions.

Do not use these drivers on 200MHz CPUs.

PC version can speed-up a lot of times if the SB is compiled with
the MALLOC_LIMITED. Also, that method uses less memory but unfortunately 
cannot protected you from memory-leaks or other memory problems.

-----------------------------------------------------------------------
Bug reports
-----------------------------------------------------------------------

Try the webboard (I prefer it).
Or send mail to inachus@freemail.gr

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.