Changes

Jump to: navigation, search

B-ASIC

14 bytes added, 17:30, 26 September 2006
headline format
'''B-Asic''' is a set of RSX commands allowing to use the Amstrad CPC Plus features from [[BASIC]]. It was written by [[Longshot]] of [[Logon System]].
= INTRODUCTION = Introduction ==
'''B-ASIC''' is a set of RSX instructions to manage the extra features of the '''CPC PLUS'''
Since release 3.0 B-ASIC runs only on CPC range with 128 Kb memory
A set of new powerful instructions will come in future versions.
= HISTORICS = Historics ==
* V3.1 xx/xx/1993 B-ASIC doesn't use any byte of BASIC main memory
* V3.2 25/02/2006 Bug fix on table calculation for path in interrupt | Correct a firmware bug (ei before real interrupt handler end)
* V3.3 27/02/2006 Forgotten to copy BASIC code from bank 2 to 5 | New instruction : SPRWHERE
= INSTRUCTIONS = Instructions ==
----
== COLOURS INSTRUCTIONS SET = Colours Instructions Set ===
----
'''INKF,pen,colour'''
* Example : FOR I=0 TO 15:INKFRVB,0,I,0,0:NEXT I
----
== SPRITES INSTRUCTIONS SET = Sprites Instructions Set ===
----
'''SPROFF,SpriteNumber'''
* Example : 10 VARX%=0: VARY%=0 : SPRWHERE,1,@VARX%,@VARY%: PRINT VARX%,VARY%
----
== OTHERS INSTRUCTIONS SET = Others Instructions Set ===
----
'''POKEASIC,Address,val1,...,valx'''
----
= ERROR MESSAGES = Error Messages ==
'''Bad arguments number'''
* Bad number of arguments used in the instruction