ZXBasic

From BorielWiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 3300 by Boriel (Talk))
(Inline assembler)
 
(16 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
{| width="90%" cellpadding="10"
 
{| width="90%" cellpadding="10"
 
|-
 
|-
| width="50%" valign="top" class="roundedborders bluehover" style="border: 1px solid rgb(85, 85, 85);" |  
+
| width="50%" valign="top" style="border: 1px solid rgb(85, 85, 85);" class="roundedborders bluehover" |  
 
=== General  ===
 
=== General  ===
  
Line 18: Line 18:
 
:How to install the ZX Basic SDK in your system, and prerequisites for doing so.
 
:How to install the ZX Basic SDK in your system, and prerequisites for doing so.
  
*[[ZX BASIC:Tools|SDK Tools]]
+
*[[ZX BASIC:Tools|SDK tools]]
  
 
:Tools available in the SDK.
 
:Tools available in the SDK.
  
*[[ZX BASIC:Zxb#Command_Line_Options|Command Line Options]]
+
*[[ZX BASIC:Zxb#Command_Line_Options|Command line options]]
  
 
:Command line options table for the compiler (zxb)
 
:Command line options table for the compiler (zxb)
  
| width="50%" valign="top" class="roundedborders redhover" style="border: 1px solid rgb(85, 85, 85);" |  
+
=== Products  ===
 +
 
 +
*[[ZX BASIC:Released_Programs|Released programs]]
 +
 
 +
:A list of third-party released programs (mostly games) for the ZX-Spectrum developed with ZX BASIC.
 +
 
 +
| width="50%" valign="top" style="border: 1px solid rgb(85, 85, 85);" class="roundedborders redhover" |  
 +
 
 
=== Download  ===
 
=== Download  ===
  
Get the latest version of ZX BASIC from the [[ZX BASIC:Archive|Archive]].  
+
Get the latest version of ZX BASIC from the [[ZX BASIC:Archive|archive]].  
  
 
=== Tutorials  ===
 
=== Tutorials  ===
  
*[[ZX BASIC:Sample Programs|Sample Programs]]
+
*[[ZX BASIC:Tutorials|Programming tutorials]]
  
:Sample programs you can try to see what ZX BASIC looks like and how fast it runs.
+
:A collection of third-party tutorials about development with ZX BASIC.
  
==== Games  ====
+
*[[ZX BASIC:Sample Programs|Sample programs]]
 +
 
 +
:Sample programs you can try to see what ZX BASIC looks like and how fast it runs.
  
 
*[[ZX BASIC:Sample Programs#Games|Game examples]]
 
*[[ZX BASIC:Sample Programs#Games|Game examples]]
Line 43: Line 52:
 
:Some little games examples.
 
:Some little games examples.
  
=== External Resources  ===
+
=== Help & Support ===
  
*[[ZX BASIC:External Resouces|External Resouces]]
+
* [http://www.boriel.com/forum/zx-basic-compiler/ Community Forum]
 +
:Have a question? Need help or comment a report a bug? Go to the [http://www.boriel.com/forum/zx-basic-compiler/ ZX BASIC forum]
  
:Other tools, IDEs, Graphic designers and projects related to ZX BASIC
+
=== External resources  ===
  
|- valign="top" class="roundedborders greenhover" style="border: 1px solid rgb(85, 85, 85);"
+
* Here you are [[ZX BASIC:External_Resources|external resources]]: other tools, IDEs, graphic designers and projects related to ZX BASIC. Have a look!
| width="50%" valign="top" class="roundedborders blackhover" style="border: 1px solid rgb(85, 85, 85);" |  
+
 
=== External Libraries ===
+
|-
 +
| width="50%" valign="top" style="border: 1px solid rgb(85, 85, 85);" class="roundedborders greenhover" |
 +
 
 +
=== Language Reference  ===
 +
 
 +
*[[ZX BASIC:Syntax|Language syntax]]
 +
 
 +
:Language Syntax is very close to the original Sinclair BASIC, but it's expanded and enhanced.
 +
 
 +
*[[ZX BASIC:Types|Data types]]
 +
 
 +
:Language data types: Instead of working always with Floating Point numbers (also available), there are also some integer types which are faster an take less memory.
 +
 
 +
*[[ZX BASIC:Identifier|Reserved words]]
 +
 
 +
:Comprehensive list (alphabetically ordered) of identifiers you shouldn't use as a ''variable name''. E.g. '''FOR''', '''PRINT'''. If you want usage instructions on a statement, also look here.
 +
 
 +
| width="50%" valign="top" style="border: 1px solid rgb(85, 85, 85);" class="roundedborders blackhover" |  
 +
 
 +
=== External libraries ===
  
 
*[[ZX BASIC:Library|Library]]
 
*[[ZX BASIC:Library|Library]]
Line 57: Line 86:
 
:Library of functions and subroutines you can use in your programs. You might find them really useful.
 
:Library of functions and subroutines you can use in your programs. You might find them really useful.
  
=== Inline Assembler ===
+
=== Inline assembler ===
  
:Embedding inline assembler in your code is pretty easy.
+
:Embedding inline assembler in your code is pretty easy. There's a [http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Tutorials tutorial] on it.
  
=== Compiler Internals ===
+
=== Compiler internals ===
  
 
:Only for true hackers: This explains how the compiler does it job, how to expand it, etc. You must be a bit crazy if you enter here...
 
:Only for true hackers: This explains how the compiler does it job, how to expand it, etc. You must be a bit crazy if you enter here...
  
<br>
+
=== Other Architectures ===
 +
 
 +
:ZX Basic was designed from the base as a Retargeable Compiler, so it should be not hard to extend it to other architectures. This is '''work in progress'''. See [[ZX_BASIC:Other architectures|Other Architectures]] for more info.
  
 
|}
 
|}

Latest revision as of 22:55, 13 November 2012


[edit] General

About the ZX BASIC SDK
A reduced list of changes/bugfixes
How to install the ZX Basic SDK in your system, and prerequisites for doing so.
Tools available in the SDK.
Command line options table for the compiler (zxb)

[edit] Products

A list of third-party released programs (mostly games) for the ZX-Spectrum developed with ZX BASIC.

[edit] Download

Get the latest version of ZX BASIC from the archive.

[edit] Tutorials

A collection of third-party tutorials about development with ZX BASIC.
Sample programs you can try to see what ZX BASIC looks like and how fast it runs.
Some little games examples.

[edit] Help & Support

Have a question? Need help or comment a report a bug? Go to the ZX BASIC forum

[edit] External resources

  • Here you are external resources: other tools, IDEs, graphic designers and projects related to ZX BASIC. Have a look!

[edit] Language Reference

Language Syntax is very close to the original Sinclair BASIC, but it's expanded and enhanced.
Language data types: Instead of working always with Floating Point numbers (also available), there are also some integer types which are faster an take less memory.
Comprehensive list (alphabetically ordered) of identifiers you shouldn't use as a variable name. E.g. FOR, PRINT. If you want usage instructions on a statement, also look here.

[edit] External libraries

Library of functions and subroutines you can use in your programs. You might find them really useful.

[edit] Inline assembler

Embedding inline assembler in your code is pretty easy. There's a tutorial on it.

[edit] Compiler internals

Only for true hackers: This explains how the compiler does it job, how to expand it, etc. You must be a bit crazy if you enter here...

[edit] Other Architectures

ZX Basic was designed from the base as a Retargeable Compiler, so it should be not hard to extend it to other architectures. This is work in progress. See Other Architectures for more info.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Translate
Google AdSense