CPCWiki forum

General Category => Programming => Topic started by: ComSoft6128 on 07:22, 15 November 22

Title: Locomotive BASIC - OCP screen decompressor by Mike Behrendt
Post by: ComSoft6128 on 07:22, 15 November 22
Type-in from February/March 1992 issue of the German 'CPC Amstrad International' magazine.

From the magazine (courtesy of CPCRulez):
"CPC464 (plus)/664/6128(plus)

As is well known, you can also save the screens in compressed form with the Advanced OCP An Studio. Unfortunately, you then no longer have the option to import these screens directly under BASIC. AMSDOS persistently refuses to do anything with these screens. So you only have the option of either saving the screens as normal as 17 kbyte memory hogs or working with our OCP screen decompressor.

First type and start the data loader (DECOMP.LDR). A file named DECOMP.OCP is now created, which can then be reloaded by the main program (DECOMP.BAS). Now start the main program. and the computer then displays the polling address. Now load a compressed screen with LOAD"screen"&4000 at address &4000 in memory. With "CALL address" or with  CONTROL  the screen is now decompressed and displayed on the screen."



With thanks to Prodatron & Eto.

Links:
https://cpcrulez.fr/applications_graphic-ocp-pic_expand_AI.htm
https://www.cpc-power.com/index.php?page=detail&num=9883
https://cpcrulez.fr/auteur-mike_behrendt.htm
https://www.cpcwiki.eu/index.php/Mickey
https://www.cpcwiki.eu/index.php/CPC_Schneider_International


Not emulated - original hardware and software.
Please note that  the aspect ratio for this YouTube video is 16:9 but the CPC monitor
has an aspect ratio of 4:3 so you may wish to adjust your viewing device accordingly.
Powered by SMFPacks Menu Editor Mod