Changes

Jump to: navigation, search

B-ASIC

39 bytes added, 14:58, 26 September 2006
=== 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
Main instructions can manage colour and sprites, providing an extra bank of '''64 sprites ''' for a total of '''80 sprites'''
'''B-ASIC doesn't take any byte of the CPC Basic memory'''.
The RSX definition and code for locomative basic are not declared in main memory
By the way, the whole interruption system and RSX managment is modified when B-Asic start.
=== INSTRUCTIONS ===
'''----==COLOURS INSTRUCTIONS SET'''==
----
'''INKF,pen,colour'''
* Example : FOR I=0 TO 15:INKFRVB,0,I,0,0:NEXT I
----
'''==SPRITES INSTRUCTIONS SET'''==----
'''SPROFF,SpriteNumber'''
* SpriteNumber=[0..15]
* Example : 10 VARX%=0: VARY%=0 : SPRWHERE,1,@VARX%,@VARY%: PRINT VARX%,VARY%
----
 '''==OTHERS INSTRUCTIONS SET'''==----
'''POKEASIC,Address,val1,...,valx'''
* Address=[&4000..&7FFF] Valx=[&00..&FF]
----
=== ERROR MESSAGES ===
'''Bad arguments number'''
* Bad number of arguments used in the instruction
445
edits