This is the first of two articles that deal with Art Studio. This month’s article includes a BASIC loader program that will allow the user to get rid of the annoying LENSLOK protection. It should work with any version of the Art Studio machine code, whether configured for keyboard or joystick. It replaces the present BASIC program “studio” and works as follows:
Line 120 decrypts the LENSLOK machine code. This machine code is encrypted to make it hard to read. Fortunately, both a decrypter and an encrypter are included in the first part of the code. They are themselves not encrypted. This line of BASIC simply calls the decrypter. Once the code is decrypted, it is easier to make the POKEs from BASIC which follow. These could have been made in encrypted form, once the encrypt/decrypt scheme was understood, but I preferred to do it this way.
Line 130 makes the POKEs necessary to defeat LENSLOK. No pushing of ENTER is required at RUN time.
Line 140 removes the printing of the LENSLOK screens. If you would like to see them flash by on your monitor, just omit this line or insert a REM after the line number. This line could have been combined with line 130, of course, but it is written separately so that it can be omitted if desired.
Line 150 starts the decrypted and modified machine code for Art Studio.
100 CLEAR 25999
110 LOAD "studio_mc"CODE 26000
120 RANDOMIZE USR 26028
130 POKE 26784,0: POKE 26785,0: POKE 26842,0: POKE 26843,0:
POKE 27270,0: POKE 27271,0: POKE 27300,30
140 POKE 26383,201: POKE 26395,201: POKE 27280,0: POKE 27527,0
150 RANDOMIZE USR 26049
1000 CLEAR 25999
1010 LOAD "studio_mc"CODE 26000
1025 INPUT "Do you wish to save the configur-ed program to tape
(y or n) ? "; LINE a$
1027 IF a$<>"y" AND a$<>"n" THEN GO TO 1025
1029 IF a$="n" THEN GO TO 120
1030 CLS : PRINT "Place a blank cassette tape in"'"your
cassette player."
1040 INPUT "Press ENTER to continue "; LINE a$
1050 SAVE "studiol" LINE 100
1060 SAVE "studio_mc"CODE 26000,30672
1080 PRINT '"Rewind the tape and press PLAY"'"for verification"
1090 VERIFY "": VERIFY ""CODE
1100 CLS : PRINT "Installation complete"
1110 PRINT '"To load your configured program,"
1120 PRINT "reset your Spectrum, then enter"'"LOAD 'studiol'.
1140 STOP
1150 GO TO 120
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.