02-17-2011, 07:50 PM
slenkar Wrote:works perfectly now, thanks :oOk, if you happen to use ZX Spectrum BASIC, PRINT works exactly as original PRINT except it's a different faster routine (not the one in the ROM, which is slower). It accepts AT, INK, PAPER, INVERSE, FLASH, BRIGHT, and OVER. Note INK 8 and PAPER 8 also work as expected. And unlike in ZX Basic, everything also affects PLOT,DRAW & CIRCLE routines.
do you have a list of arguments that 'print' accepts?
the wiki page for 'print' hasnt been done yet
OVER is extended as follows:
- OVER 0: Print "as is", overwriting screen background
- OVER 1: Print XORing with screen background (as original ZX Spectrum)
- OVER 2: Print ORing with screen background
- OVER 3: Print ANDing with screen background
TAB and , (the COMMA) work as in the original PRINT. The End Of Line character (') must be replaced with CHR$(13), because ZX Basic uses ' as an alias of REM
Also there are BOLD and ITALIC.
Try:
Code:
PRINT BOLD 1; "HELLO "; BOLD 0; ITALIC 1; "WORLD"
slenkar Wrote:check out my game!I tried, but when clicked a download, it shows an HTTP error??? Try uploading in this post? Can you? (I can give you permission if not).
<!-- m --><a class="postlink" href="http://www.mediafire.com/?71xtf8habqbcgdy">http://www.mediafire.com/?71xtf8habqbcgdy</a><!-- m -->
Update:Ok, just downloaded! (not sure what happened before!). Hey! This looks promising! :-)