From c83985adfd6bbed968f0cf0aeb474710bb229368 Mon Sep 17 00:00:00 2001 From: tilleul Date: Wed, 19 May 2021 11:58:28 +0200 Subject: [PATCH] Delete spc_ex.md --- applesoft/spc/spc_ex.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 applesoft/spc/spc_ex.md diff --git a/applesoft/spc/spc_ex.md b/applesoft/spc/spc_ex.md deleted file mode 100644 index afa1243..0000000 --- a/applesoft/spc/spc_ex.md +++ /dev/null @@ -1,20 +0,0 @@ -# Use SPC() to print any character ! -## Introduction -You know how `SPC()` can be used to PRINT a number of space characters. For example `PRINT SPC(10)` will print 10 space characters. - -Why didn't they allow to print something else than space characters ? It would have been interesting (?) to have the ability to repeat a sequence of any character. - -Maybe like `PRINT REPT("*",10)` would print 10 asterisks. - -But Applesoft does not provide such an instruction. So are we doomed to use `PRINT "**********"`? - -Here's a technique that will allow you to repeat any character, even in `FLASH` and `INVERSE` without using additional 6502 routines. - -## Discovery -Let's see something weird ... -At the Applesoft prompt, type `FLASH`. -Then `PRINT SPC(10)`. You should now see 10 flashing space characters. -Now, press `CTRL-BREAK`. This exits the "flash" mode (do no type `NORMAL` !!). -Type `PRINT SPC(10)` again. And ... - -WOW ! WHAT IS THAT ??